摘要
为了改善传统B/S系统基于请求/响应的交互方式,构建了全双工的实时Web系统,对Web Socket产生的背景进行介绍,对其原理及API进行解析,并结合实例对Web Socket的性能进行分析,针对轮询不能满足高实时性需求的问题,研究了其在即时通信和服务器推送方面的优势,为未来的高实时性Web应用提供了可行性参考。
In order to improve the interactive mode of the traditional B/S system based on the request/response, a full duplex real-time Web system is built in this paper. The background, principle and API of WebSocket were introduced and analyzed. Combined with practical cases, the performance of WebSocket was analyzed. As the polling cannot meet the requirement of high real time, the advantages of WebSocket in instant messaging and server push were investigated to provide the feasible reference to the high real-time Web applications in the future.
出处
《移动通信》
2017年第12期44-48,共5页
Mobile Communications