本文已被:浏览 1713次 下载 2784次
Received:July 26, 2019 Revised:August 29, 2019
Received:July 26, 2019 Revised:August 29, 2019
中文摘要: 报警处理是车联网系统中的重要功能.传统车联网系统一般采用AJAX轮询的方式定时拉取报警信息,既不能保证报警实时性和准确性,也给服务器造成压力.本文设计了一种基于Websocket,Redis等技术的报警实时推送系统,并对推送性能做了测试和分析.结果表明:使用Websocket推送方式处理报警信息,既提高了报警的实时性和准确性,又提高了推送的吞吐量,降低网络流量.
Abstract:Alarm processing is fundamental function in Telematics System. AJAX pulling is common method in traditional system. But AJAX pulling is not real-time communication, and the server suffers unnecessary requests. In this study, we design a telematics alarm pushing system based on Websocket and Redis. Then, we test this system. The results show that Websocket is an ideal technology for alarm pushing. It improves network throughput, reduces latency and network traffic.
keywords: Websocket Redis telematics system alarm pushing real-time
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
李先懿,郭正光.基于Websocket的车联网报警推送系统.计算机系统应用,2020,29(3):127-131
LI Xian-Yi,GUO Zheng-Guang.Telematics Alarm Pushing System Based on Websocket Protocal.COMPUTER SYSTEMS APPLICATIONS,2020,29(3):127-131
李先懿,郭正光.基于Websocket的车联网报警推送系统.计算机系统应用,2020,29(3):127-131
LI Xian-Yi,GUO Zheng-Guang.Telematics Alarm Pushing System Based on Websocket Protocal.COMPUTER SYSTEMS APPLICATIONS,2020,29(3):127-131