首页> 中文期刊>计算机应用与软件 >基于Web-Socket协议的推送数据技术在监控系统中的应用研究

基于Web-Socket协议的推送数据技术在监控系统中的应用研究

     

摘要

SaaS (software as a service) has become a new software architecture.Under SaaS architecture,browser becomes an application entrance port,the requirement of adopting a full-duplex communication mode between browser and server increases day by day.Based on analysing the http-based protocol AJAX polling technique,an implementation approach adopting Web-Socket protocol to build a full-duplex communication has been proposed and described in this paper for the disadvantage on the technique of AJAX polling and the long polling which will increase calculating resource load of server in aspect of obtaining updated data of server.A kind of technical solution plan for software architecture has been designed,which can actively push-sending data information on both terminals of communication in B/S architecture pattern.The software architecture solution has been put in actual application in a monitoring system for data exchanging,of which the two designs of the “core algorithm for pushing sending message from server” and the “algorithm for task status manager” are described in details in the article.%软件即服务SaaS已成为一种新的软件构架.在SaaS构架下,浏览器成为应用的入口,浏览器与服务器之间采用全双工通信的需求日趋增多.在分析基于HTTP协议的AJAX轮询技术的基础上,针对AJAX轮询和AJAX长轮询技术在获取服务器更新数据方面会增加服务器计算资源负载的不足,提出和描述了采用Web-Socket协议建立全双工通信的实现方法,设计了在B/S构架模式中通信两端可主动推送数据信息的一种软件构架技术解决方案.该软件构架方案已在数据交换监控系统中得到实际应用,其中“服务器推送信息核心算法”和“任务状态管理器算法”的设计被予以详细描述.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号