计算机技术与发展
計算機技術與髮展
계산궤기술여발전
Computer Technology and Development
2015年
9期
164-168
,共5页
泵站远程监控%Ajax轮询%WebSocket%服务器推送
泵站遠程鑑控%Ajax輪詢%WebSocket%服務器推送
빙참원정감공%Ajax륜순%WebSocket%복무기추송
remote monitoring of pumping station%Ajax polling%WebSocket%server push
B/S架构可以直观地展示泵站内设备运行状态的相关数据,大大提高了系统管理水平和运行人员的工作效率。数据实时推送成为了泵站远程监控的一项重要技术。通过对现有的实时Web应用技术进行研究,发现Ajax轮询会造成系统消息延迟,大量使用会增加服务器和客户端间的通信开销。基于长连接的Comet技术可以实现服务器push,但是单台服务器只能维护少量长连接请求,不容易扩展。针对这种情况,提出了一种基于WebSocket协议的实时Web应用技术方案,并将其应用于泵站远程监控系统中。实验结果表明,该方案能够有效降低通信开销,提升服务器性能。
B/S架構可以直觀地展示泵站內設備運行狀態的相關數據,大大提高瞭繫統管理水平和運行人員的工作效率。數據實時推送成為瞭泵站遠程鑑控的一項重要技術。通過對現有的實時Web應用技術進行研究,髮現Ajax輪詢會造成繫統消息延遲,大量使用會增加服務器和客戶耑間的通信開銷。基于長連接的Comet技術可以實現服務器push,但是單檯服務器隻能維護少量長連接請求,不容易擴展。針對這種情況,提齣瞭一種基于WebSocket協議的實時Web應用技術方案,併將其應用于泵站遠程鑑控繫統中。實驗結果錶明,該方案能夠有效降低通信開銷,提升服務器性能。
B/S가구가이직관지전시빙참내설비운행상태적상관수거,대대제고료계통관리수평화운행인원적공작효솔。수거실시추송성위료빙참원정감공적일항중요기술。통과대현유적실시Web응용기술진행연구,발현Ajax륜순회조성계통소식연지,대량사용회증가복무기화객호단간적통신개소。기우장련접적Comet기술가이실현복무기push,단시단태복무기지능유호소량장련접청구,불용역확전。침대저충정황,제출료일충기우WebSocket협의적실시Web응용기술방안,병장기응용우빙참원정감공계통중。실험결과표명,해방안능구유효강저통신개소,제승복무기성능。
The B/S architecture can intuitively display related data of the running state of the equipment in pumping station,which not on-ly improves the quality of system management,but also rise the efficiency of personnel working. Real-time data publication has become a key technology in the remote monitoring of pumping station. The study on the existing technology of real-time Web applications found that Ajax polling could cause the system message delay,and could increase the overhead of communicating between the server and the cli-ent by heavy use. Comet based on long connection can solve server push,but a single server can only maintain a few long connection re-quest,and it’ s not easy to extend. In view of this,propose a real-time Web application technology scheme based on the WebSocket pro-tocol,which has been used to the remote monitoring of pumping station. Experimental results show that this scheme can effectively reduce the overhead of communicating between the server and the client,and increase the system performance.