基于GoAhead 服务器的创新型websocket 推送技术研究 与实现
Research and Implementation of Innovative Websocket Push Technology Based on GoAhead Server
GoAhead服务器作为一款为嵌入式平台web服务器,广泛应用于Linux、VxWorks和Reworks等多种嵌入式平台。由于传统 技术不支持服务器主动向客户端推送消息和异步消息处理功能,导致客户端不能实时显示服务器状态。本文旨在研究基于 GoAhead 服务器的创新型 websocket 推送技术,通过深入剖析 GoAhead 服务器架构,结合 websocket 协议的优势,实现了 基于 GoAhead 服务器的推送功能与异步消息处理功能,经测试,该研究使得服务器状态变化能迅速反馈至客户端,极大提 升了数据交互的实时性。
The GoAhead server, as a web server for embedded platforms, is widely used in various embedded platforms such as Linux, VxWorks, and Reworks. Due to the fact that traditional technologies do not support the server’s ability to actively push messages to clients and the function of asynchronous message processing, the client is unable to display the server status in real time. This paper aims to study the innovative WebSocket pushing technology based on the GoAhead server. By deeply analyzing the architecture of the GoAhead server and combining the advantages of the WebSocket protocol, the pushing function and asynchronous message processing function based on the GoAhead server are finally successfully implemented. Through testing, this research enables the changes in the server status to be quickly reflected on the client side, greatly improving the real-time performance of data interaction.
| [1] |
SALUNKEPG, |
| [2] |
孙留存, 苏卫江, 库斯达, |
| [3] |
程耀, 谢华, 万思宇, |
| [4] |
刘雪梅, 王卫军. 基于嵌入式的步进电机远程控制技术[J]. 自动化与仪器仪表, 2021,(07): 76-79. |
| [5] |
章立宗, 孙洲, 王华慧, |
| [6] |
张帝, 周宾斌, 孙畅子. 基于嵌入式Linux的智能点餐系统的设计与实现[J/OL]. 企业科技与发展, 1-5[2025—04—16]. |
| [7] |
胡洋洋. 基于WebSocket的服务器推送技术的研究与实现[D]. 南京邮电大学, 2018. |
红果园军工项目(M17GY500160)
/
| 〈 |
|
〉 |