期刊文献+

基于HTML5 WebSocket的Web实时通信机制的研究与实现 被引量:14

Study and implementation of Web real-time communication mechanism based on HTML5 WebSocket
下载PDF
导出
摘要 随着互联网技术的不断发展,Web技术在各个领域得到了不同程度的运用,人们对于Web应用的实时性提出了更高的要求,HTML5 WebSocket协议因此得到了广泛的关注。通过对基于HTTP的传统Web实时通信方案进行分析,针对其中的不足与缺点,深入介绍了基于HTML5 WebSocket协议的实时通信机制以及相对于传统方案的优势,并通过使用Node.js的Express框架和HTML5 WebSocket协议的第三方应用程序编程接口Socket.io类库实现了一个基于WebSocket协议的Web应用。经实验表明,所描述的研究能成功地在客户端和服务器端完成基于HTML5 WebSocket协议的实时通信过程并建立连接。 With the development of Internet technology,Web technology has been applied in various fields,and people put forward higher requirements to the real-time of Web application. So HTML5 WebSocket protocol gets a lot of attention. Through the analysis of the traditional Web real-time communication scheme based on HTTP,for the deficiencies and disadvantages of HTTP,this paper introduces the real- time communication mechanism based on the HTML5 WebSocket protocol and the advantages compared with the traditional solutions. By using the Express framework of Node. js and third party application programming interface Socket. io library of HTML5 WebSocket protocol,it implements a Web application based on We Bsocket protocol. The experiment shows that it can successfully complete the process of real-time communication based on the HTML5 WebSocket protocol and establish a connection between the client and server.
机构地区 华侨大学工学院
出处 《微型机与应用》 2016年第10期88-91,共4页 Microcomputer & Its Applications
基金 华侨大学研究生科研创新能力培育计划项目(1400222001)
关键词 WEB应用 WebSocket 实时通信 Socket.io Web application WebSocket real-time communication Socket.io
  • 相关文献

参考文献10

二级参考文献64

  • 1袁劲松,马旭东.基于阻塞与非阻塞I/O网络模型的Java语言实现[J].计算机系统应用,2008,17(9):98-101. 被引量:10
  • 2马宗振.互动反馈系统的教学功能和应用设计[J].中小学信息技术教育,2007(2):11-14. 被引量:7
  • 3成富.实战Comet应用程序开发[EB/OL].IBMDeveloperWorks中国.http://www.ibm.com/developerworks/cn/web/wa-lo-w2fpak-comet/,2008-07-15.
  • 4HTTP-Hypertext Transfer Protocol[EB/OL].http://www.w3.org/Protoeols/,2010.
  • 5周婷.基于HTTP长连接的“服务器推”技术.[EB/OL].http://www.ibm.com/developerworks/cn/web/wa-lo-comet/.2007.
  • 6M. Bhide, P.Deolasee, A. Katkar, A. Panchbudhe, K. Ra-mamritham, and P. Shenoy. Adaptive push-pull: Disseminat-ing dynamic web data. IEEE Trans. Comput.,2002,51(6):652-668.
  • 7Netscape. An exploration of dynamic documents[EB/OL], http://wp.netscape.com/assist/netsites/pushpull.html, 1996.
  • 8A. Russell. Comet: Low latency data for the browser[EB/OL].http://alex.dojotoolkit.org/?p=5d5.
  • 9Dionysios G. Synodinos. HTML 5 Web Sockets vs. Comet and Ajax,2008.
  • 10W3C.The WebSocket API [EB/OL].http://dev.w3.org/htmlS/websockets/,2010.

共引文献188

同被引文献83

引证文献14

二级引证文献19

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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