首页 | 本学科首页   官方微博 | 高级检索  
     

基于WebSocket消息机制的光谱协同分析系统
引用本文:李晓龙,潘景昌,张夏旭,汪惺惺,王光沛,赖翃宇. 基于WebSocket消息机制的光谱协同分析系统[J]. 计算机系统应用, 2013, 22(6): 153-156
作者姓名:李晓龙  潘景昌  张夏旭  汪惺惺  王光沛  赖翃宇
作者单位:山东大学(威海)机电与信息工程学院, 威海 264209;山东大学(威海)机电与信息工程学院, 威海 264209;山东大学(威海)机电与信息工程学院, 威海 264209;山东大学(威海)机电与信息工程学院, 威海 264209;山东大学(威海)机电与信息工程学院, 威海 264209;山东大学(威海)机电与信息工程学院, 威海 264209
基金项目:国家自然科学基金(11078013)
摘    要:基于HTML5 WebSocket消息传送机制和Canvas画布绘图技术, 设计并实现了一个天体光谱分析的协同工作平台. 通过在客户端与服务器之间建立TCP连接, 真正的实现了服务器端到客户端的主动消息推送, 从而取代以往客户端向服务器请求的轮询机制, 降低网络占用率和数据传输量. 多客户端异地用户可同时在线交流, 同步载入并协同讨论分析天体光谱, 标记并分析相关谱线特征. 其中针对绘图笔迹的传输方式做出优化, 大大提高了多客户端异地同步绘图效率.

关 键 词:HTML5  WebSocket  Canvas  协同  消息推送  光谱分析
收稿时间:2012-11-01
修稿时间:2012-12-03

Spectral Collaboration Analysis System Based on WebSocket Message Mechanism
LI Xiao-Long,PAN Jing-Chang,ZHANG Xia-Xu,WANG Xing-Xing,WANG Guang-Pei and LAI Hong-Yu. Spectral Collaboration Analysis System Based on WebSocket Message Mechanism[J]. Computer Systems& Applications, 2013, 22(6): 153-156
Authors:LI Xiao-Long  PAN Jing-Chang  ZHANG Xia-Xu  WANG Xing-Xing  WANG Guang-Pei  LAI Hong-Yu
Affiliation:School of Mechanical, Electrical & Information Engineering, Shandong University, Weihai 264209, China;School of Mechanical, Electrical & Information Engineering, Shandong University, Weihai 264209, China;School of Mechanical, Electrical & Information Engineering, Shandong University, Weihai 264209, China;School of Mechanical, Electrical & Information Engineering, Shandong University, Weihai 264209, China;School of Mechanical, Electrical & Information Engineering, Shandong University, Weihai 264209, China;School of Mechanical, Electrical & Information Engineering, Shandong University, Weihai 264209, China
Abstract:This paper designed and implemented a working and research collaboration platform to analyse astronomical spectral based on HTML5 WebSocket message pushing mechanism and Canvas drawing technology. It realized the initiative message push from the server to the client by establishing a TCP connection between the client and the server, so as to replace the old polling mechanism requesting from the client to the server, and reduced the network occupancy rate and data transmission. Users from multiple clients in different regions can communication on line at the same time, discuss and analyse the synchronously loaded celestial spectrum, mark and analyzes relevant spectral characteristics collaboratively. In addition, we made optimization to the transmission way for drawing handwrite and greatly improved the synchronization efficiency of drawing of multiple clients in different regions.
Keywords:html5  websocket  canvas  collaboration  message notification  spectral analysis
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号