期刊文献+

基于WebSocket的实时Web应用解决方案 被引量:23

WebSocket Based Real Time Web Application Solution
下载PDF
导出
摘要 由于用户对Web信息实时性要求的提高,实时Web应用开始被广泛关注,基于各种服务器推送技术的实时Web应用解决方案被提出并广泛应用。然而这些解决方案都存在系统资源消耗大等方面的问题,有待进一步的改进和完善。该文介绍了当前较为广泛应用的两种基于HTTP协议的实时Web应用方案,即基于Ajax的长轮询方式和基于Iftame的流方式,并分析了这两种方案存在的不足。在对HTML5标准中的WebSocket协议进行深入分析的基础上,该文提出了一种基于WebSocket协议的实时Web解决方案,目的是大幅提升实时服务性能,并更高效地利用网络负载和服务器端的处理能力。 Due to the improving demands on instantaneity of web information, real-time web applications is beginning to cause wide- spread interest, and a lot of real-time web applications based on server-push technology has been proposed and used widely. Though these solution are effective, all those solutions suffer from problems such as great resource consumption; there is much space for improvement. This paper introduces two popular HTTP protocol based real-time web application solutions, that is, tong polling based on Ajax and streaming based on Iframe, and analysis their weaknesses. With an in-depth study on WebSocket protocol in HTML5 standard, this paper proposes a WebSocket protocol based real-time web application solution, aiming at improving the service instantaneity on a large scale, and more efficiendy using the network capacity and processing power of the server
作者 温照松 易仁伟 姚寒冰 WENG Zhao-song,YI Ren-wei,YAO Han-bin (1 .Wuhan Construction Project Trading Center,Wuhan 430023,China;2.Wuhan Uinversity of Technology,Wuhan 430063,China)
出处 《电脑知识与技术》 2012年第6期3826-3828,共3页 Computer Knowledge and Technology
基金 武汉理工大学自主创新研究基金资助(2011-IV-081)
关键词 服务器推送技术 实时Web应用 HTML5 WebSocket协议 HTTP协议 server-push real-time application HTMLS WebSocket protocol HTTP protocol
  • 相关文献

参考文献8

  • 1Clinton Wong.HrITp Pocket Reference-Hypertext Transfer Protocol[M].Beijing:O' Reilly Media2006.
  • 2IETF.The WebSocket Protocol[EB/OL]. http://grenache.tools.ietf.org/html/rfc6955.
  • 3IETF.The WebSocket protocol draft-ietf-hybi-thewebscketpr[EB/OL].http://s.ietf.rg/htm/draft-ietf-hybi-thewebs~cket- protocol- 10.
  • 4W3C.HTML5 differences from HTML4[EB/OL]. http://www.w3.org/TR/html5-diff.
  • 5周婷.Comet:基于HTTP长连接的服务器推技术[EB/OL].http://www.ibm.com/developerworks/cn/web/wa-lo-comet/#resources/.
  • 6Victoria Pimentel,Bradford G.Nickerson.WebSocket for Communication and Display of Real-Time data[J].lEEE Internet Computing,2012: 1-12.
  • 7黄晓安,何亮.使用HTML5WebSocket构建实时Web应用[EB/OL].http://www.ibm.com/developerworks/cn/web/1112_huangxa_web-socket/.
  • 8Peter Lubbers.HTML$ Programing--Using the HTML5 WebSocket API[M].Apress,2010.

同被引文献119

引证文献23

二级引证文献168

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部