期刊文献+

基于WebSocket的在线围棋对弈软件设计 被引量:2

Design of Web I-go Game Software Based on WebSocket
下载PDF
导出
摘要 将HTML5和Spring4框架相结合,以在线围棋对弈为例研究了Web实时应用开发技术:采用WebSocket实现了客户浏览器与Web服务器的消息通信;通过HTML5的Canva绘制了围棋画面;基于SockJS连接和STOMP协议,实现了发布/订阅的双向消息传输;针对棋桌选择和对弈界面所涉及的交互过程,讨论了消息主题设计、消息发送及消息内容显示处理的具体方法.该应用开发模式对于Web实时协作应用设计具有较大参考价值. For I-go game software design,the technology is described for real-time application of HTML5 and Spring4 framework. WebSocket is used for the message communication between the client browser and the Web server,and the HTML5 Canva is used for drawing the chess board. With the establishment of SockJS connection and STOMP protocol communication, two-way message transmission based on publishing / subscribing mode is used. For the interactions involved in table choosing and game playing, the message topic designing, message sending and displaying methods are discussed. This research has great reference value for the design of real time Web application.
作者 丁振凡
出处 《吉首大学学报(自然科学版)》 CAS 2017年第4期27-33,共7页 Journal of Jishou University(Natural Sciences Edition)
关键词 HTML5 Spring4 围棋对弈 WebSocket CANVAS SockJS HTML5 Spring4 I-go play WebSocket canvas SockJS
  • 相关文献

参考文献7

二级参考文献50

  • 1刘杰.浅谈HTML5技术[J].科技创新导报,2012,9(10). 被引量:3
  • 2范云芝,陈树平.利用Socket实现基于Web的远程监测系统[J].陕西工学院学报,2005,21(1):53-55. 被引量:7
  • 3The HTML5 Test. http:Hwww.HTML5test.com/index.html.
  • 4HTML5.维基百科.http://zh.wikipedia.org/zh-cn/HTML_5.2012.
  • 5LUBBERS P,GRECO F. HTMI5 Web Sockets: A quantum leap in scalability for the web[J]. Jay View,2010.21( 1 ) : 3-7.
  • 6PETER L, BRIAN A, FRANK S. Pro HTML5 programming powerful APIs for richer application development [ M ]. New York : Apress,2011.
  • 7HOY M B. HTML5 :a new standard for the Web[J]. Medical Reference Services Quarterly,2011,30( 1 ) :50-55.
  • 8叶碧碧.基于CRM的机车智能维护技术研究[D].南宁:广西大学机械工程学院,2012.
  • 9张曼琳,顾容,徐梦.基于AjaX技术的高校在线考试系统的设计与实现[J].中国教育信息化,2012(5):44-48.
  • 10丁振凡.AJAX技术在网络考试分析中的应用[J].华东交通大学学报,2007,24(5):74-76. 被引量:5

共引文献90

同被引文献30

引证文献2

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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