摘 要
隨著經(jīng)濟(jì)的發(fā)展和通信技術(shù)的提高,物流作為一種先進(jìn)的組織方式和管理技術(shù),被廣泛認(rèn)為是企業(yè)在降低消耗和提高勞動(dòng)生產(chǎn)率以外的重要的利潤(rùn)源泉,在國(guó)民經(jīng)濟(jì)和社會(huì)發(fā)展中發(fā)揮著重要作用。本文在物流企業(yè)的正常運(yùn)營(yíng)中,基于GIS的信息系統(tǒng)已經(jīng)成為不可或缺的管理工具。在對(duì)WebGIS技術(shù)和物流企業(yè)需求進(jìn)行分析的基礎(chǔ)上,結(jié)合不同企業(yè)的業(yè)務(wù)流程的具體特點(diǎn),設(shè)計(jì)了一套擴(kuò)展性較強(qiáng)的基于WebGIS的物流信息系統(tǒng)。
系統(tǒng)的主要功能是將企業(yè)管理人員與運(yùn)輸車輛之間通過(guò)服務(wù)器連接起來(lái),實(shí)現(xiàn)物流系統(tǒng)的監(jiān)控和管理。系統(tǒng)采用B/S架構(gòu),服務(wù)器端通過(guò)網(wǎng)絡(luò)與車輛終端通信,向車輛發(fā)送控制信息并獲取車輛的當(dāng)前狀態(tài)。同時(shí)它還和Web客戶端進(jìn)行交互,向客戶端提供地圖服務(wù),并執(zhí)行Web客戶端的請(qǐng)求。Web客戶端采用Ajax技術(shù)與服務(wù)器端進(jìn)行通信,通過(guò)動(dòng)態(tài)地圖監(jiān)控車輛。它還實(shí)現(xiàn)了發(fā)送貨物、編輯線路、發(fā)送消息等功能。考慮到可擴(kuò)展性,系統(tǒng)重點(diǎn)實(shí)現(xiàn)了服務(wù)器端進(jìn)行消息中轉(zhuǎn)的消息隊(duì)列,建立了Web客戶端到車輛終端之間的消息通路,并可以隨時(shí)更新消息隊(duì)列中消息處理方式。本系統(tǒng)實(shí)現(xiàn)了物流系統(tǒng)的主要功能,極大提高了企業(yè)的管理水平。
本文首先進(jìn)行了系統(tǒng)的需求獲取和業(yè)務(wù)分析。然后,采用分層的方法對(duì)系統(tǒng)進(jìn)行設(shè)計(jì),敘述了消息隊(duì)列框架的詳細(xì)設(shè)計(jì)與實(shí)現(xiàn),并敘述了服務(wù)器端和客戶端功能模塊的設(shè)計(jì)和實(shí)現(xiàn)。并通過(guò)對(duì)系統(tǒng)的測(cè)試,對(duì)其功能和性能進(jìn)行評(píng)估。最后,進(jìn)行了總結(jié),介紹了系統(tǒng)的特點(diǎn)和不足之處,指出了下一步的工作方向。
關(guān)鍵詞:物流;WebGIS;消息隊(duì)列
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