期刊文献+

HTML5 WebSocket握手协议的研究与实现 被引量:44

STUDY AND IMPLEMENTATION OF HTML5 WEBSOCKET HANDSHAKE PROTOCOL
下载PDF
导出
摘要 Web Socket规范是作为HTML5的一部分提出的,其目标是在客户端浏览器和Web服务器之间实现全双工通信。目前主流浏览器已经提供了Web Socket客户端API,但是服务器端并没有标准的API。对Web Socket应用背景进行分析,重点描述WebSocket握手协议机制并在Linux平台环境下使用Ruby编程语言实现一个简单的Web Socket服务器。实验证明所描述的研究能够在服务器端成功完成Web Socket的握手过程并建立通信连接。 WebSocket specification is proposed as a part of the HTMLS, its aim is to realise a full-duplex communication between client browser and Web server. Nowadays, most popular browsers have already provided WebSocket API at client side, but there is no standard API on server site. In this paper we analyse the background of Web applications, elaborately describe the WebSocket handshake protocol mechanism, and implement a simple WebSocket server by using Ruby programming language under Linux platform environment. Experiment proves that the study described in this paper can successfully complete a WebSocket handshake process and establish communication connection on server site.
出处 《计算机应用与软件》 CSCD 2015年第1期128-131,178,共5页 Computer Applications and Software
关键词 HTML5 WebSocket 握手协议 LINUX RUBY HTML5 WebSocket Handshake protocol Linux Ruby
  • 相关文献

参考文献9

二级参考文献30

  • 1HTTP-Hypertext Transfer Protocol[EB/OL].http://www.w3.org/Protoeols/,2010.
  • 2周婷.基于HTTP长连接的“服务器推”技术.[EB/OL].http://www.ibm.com/developerworks/cn/web/wa-lo-comet/.2007.
  • 3M. 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.
  • 4Netscape. An exploration of dynamic documents[EB/OL], http://wp.netscape.com/assist/netsites/pushpull.html, 1996.
  • 5A. Russell. Comet: Low latency data for the browser[EB/OL].http://alex.dojotoolkit.org/?p=5d5.
  • 6Dionysios G. Synodinos. HTML 5 Web Sockets vs. Comet and Ajax,2008.
  • 7W3C.The WebSocket API [EB/OL].http://dev.w3.org/htmlS/websockets/,2010.
  • 8CometD Bayeux Ajax Push [EB/OL].http://www.cometd.com/,2010.
  • 9W3C.The .WebSocket API [EB/OL] ].http://dev.w3.org/html5/ websockets/, 2011.
  • 10黄晓安,何亮,许宁.使用HTML5 Web Socket构建实时Web应用.http://www.ibm.com/developerworks/cn/web/1112_huangxa_websock—et/.2011.

共引文献81

同被引文献278

引证文献44

二级引证文献135

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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