| 摘 要: 物联网(IoT)Web管理系统中,不同应用场景对数据的时效性要求存在显著差异,而现有单一通信方案难以同时满足低延迟交互和资源优化的需求。针对这一问题,提出了一种基于 HTTP轮询、服务器推送事件(SSE)和 WebSocket的混合通信架构。该架构根据业务对时效性的不同要求,动态选择最适合的实时通信方式,综合考虑时效等关联因素,有效解决了IoT Web管理系统中的差异化通信需求,为大规模IoT 设备的 Web管理提供了可扩展的技术解决方案。 |
| 关键词: IoT HTTP轮询 服务器推送事件 WebSocket 混合通信架构 实时通信 |
|
中图分类号: TP391
文献标识码: A
|
|
| Research and Application of IoT Web Management Systems Using HTTP Polling, SSE, and WebSocket |
|
LONG Jubing, LUO Zhongwei
|
(Neusoft Corporation, Shenyang 110179, China)
longjubing@neusoft.com; luozhw@neusoft.com
|
| Abstract: In Internet of Things (IoT) Web management systems, different application scenarios have significantly different requirements for data timeliness, while existing single communication schemes struggle to simultaneously meet the demands for low-latency interaction and resource optimization. To address this issue, this paper proposes a hybrid communication architecture based on HTTP polling, Serve-r Sent Events ( SSE), and WebSocket. This architecture dynamically selects the most appropriate rea-l time communication method according to different business requirements for timeliness, comprehensively considers timeliness and other related factors, effectively resolves the differentiated communication needs in IoT Web management systems, and provides a scalable technical solution for the web management of large-scale IoT devices. |
| Keywords: IoT HTTP polling Server Sent Events WebSocket hybrid communication architecture real-time communication |