To meet the real-time requirements on vehicle real-time positioning applications,according to the analyses of traditional B/S mode on its deficiency of adopting the work mode of “request-response”,we propose to achieve the real-time data push on server-side using open source technology framework of server push Pushlet,therefore design and implement a Web vehicle real-time positioning system in real sense.This system makes use of Pushlet technology to push the server-side vehicle location data,which comes from GPS car positioning instrument,to the browser directly,and then uses the electronic map to display the real-time location.By testing and comparing with traditional polling mode,it is found that the Pushlet push mode has he characteristics of less number of requests,less delay,and moderate communication traffic,it provides a solution for the Web real-time location applications.%为满足车辆实时定位应用对实时性的要求,分析传统 B/S 方式只能“请求-应答”传送数据的不足,提出利用开源服务器推送技术框架 Pushlet,实现服务器端数据实时推送,从而设计并实现一个真正意义上的 Web 车辆实时定位系统。该系统利用 Push-let 技术将 GPS 车载定位仪发送到服务器端的数据直接推送到浏览器,然后利用电子地图进行实时位置的展现。通过测试并与传统轮询方式对比,发现 Pushlet 推送方式具有请求次数少、延时小、通信流量适中的特点,为 Web 实时定位应用提供了一种解决方案。
展开▼