摘 要
隨著經濟的發展和通信技術的提高,物流作為一種先進的組織方式和管理技術,被廣泛認為是企業在降低消耗和提高勞動生產率以外的重要的利潤源泉,在國民經濟和社會發展中發揮著重要作用。本文在物流企業的正常運營中,基于GIS的信息系統已經成為不可或缺的管理工具。在對WebGIS技術和物流企業需求進行分析的基礎上,結合不同企業的業務流程的具體特點,設計了一套擴展性較強的基于WebGIS的物流信息系統。
系統的主要功能是將企業管理人員與運輸車輛之間通過服務器連接起來,實現物流系統的監控和管理。系統采用B/S架構,服務器端通過網絡與車輛終端通信,向車輛發送控制信息并獲取車輛的當前狀態。同時它還和Web客戶端進行交互,向客戶端提供地圖服務,并執行Web客戶端的請求。Web客戶端采用Ajax技術與服務器端進行通信,通過動態地圖監控車輛。它還實現了發送貨物、編輯線路、發送消息等功能。考慮到可擴展性,系統重點實現了服務器端進行消息中轉的消息隊列,建立了Web客戶端到車輛終端之間的消息通路,并可以隨時更新消息隊列中消息處理方式。本系統實現了物流系統的主要功能,極大提高了企業的管理水平。
本文首先進行了系統的需求獲取和業務分析。然后,采用分層的方法對系統進行設計,敘述了消息隊列框架的詳細設計與實現,并敘述了服務器端和客戶端功能模塊的設計和實現。并通過對系統的測試,對其功能和性能進行評估。最后,進行了總結,介紹了系統的特點和不足之處,指出了下一步的工作方向。
關鍵詞:物流;WebGIS;消息隊列
Design and Implementation of WebGIS-Based Logistics Information System
Abstract
With development of economy and improvement of communication technology, as an advanced mode of organization and management skill, logistics is widely considered to be the major source of profits in the enterprise besides reducing consumption and raising labor productivity. It plays an important role in the national economy and social development. The GIS-based information system has become an indispensable management tool in the regular business of logistics enterprise. Based on the analysis of the WebGIS technology and requirements of logistics enterprise, a WebGIS-based logistics information system with high expansibility is designed, according to specific business processes of various logistics enterprises.
The major function of the system is to make manager communicated with vehicles via the server, and to realize monitoring and management of logistics system. The B/S architecture is adopted in the system. The server communicates with vehicles through network, sending them control data and receiving status data from them. At the same time, server interacts with Web clients, providing web map service and executing client requests. Web client communicates with server with Ajax technology, monitoring vehicles by watching dynamic maps. It also implements functions such as sending cargo, editing route, sending message, etc. Aiming at high expansibility of the system, message queue kept in server is seriously implemented. It means that a message channel between the Web client and vehicles is established, and the handling methods of the messages in message queue can be updated at any time. The system meets primary requirements and enhances management quality of customer.
Firstly, in this thesis the requirement elicitation and the business analysis are completed. Then system is designed into multi-layer architecture. The particular design and implementation of message queue framework are described. Design and implementation of the functional modules of server and client are presented. Function and capability of the system are eva luated through test. At last, system traits and deficiencies are summarized, and next tasks are pointed out.
Keywords:Logistics; WebGIS; Message Queue