摘要
报警处理是车联网系统中的重要功能.传统车联网系统一般采用AJAX轮询的方式定时拉取报警信息,既不能保证报警实时性和准确性,也给服务器造成压力.本文设计了一种基于Websocket,Redis等技术的报警实时推送系统,并对推送性能做了测试和分析.结果表明:使用Websocket推送方式处理报警信息,既提高了报警的实时性和准确性,又提高了推送的吞吐量,降低网络流量.
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.
作者
李先懿
郭正光
LI Xian-Yi;GUO Zheng-Guang(Shanghai Shihang Network Technology Co.Ltd.,Shanghai 201702,China)
出处
《计算机系统应用》
2020年第3期127-131,共5页
Computer Systems & Applications