Font Size: a A A

Research And Implementation Of Real Time Communication Of Emergency Grain Scheduling System Based On Web

Posted on:2018-07-30Degree:MasterType:Thesis
Country:ChinaCandidate:M Y LiangFull Text:PDF
GTID:2348330518994519Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
In the emergency grain scheduling system, the bidirectional real-time communication function between the emergency vehicle and the command platform system plays a key role. At present, the most commonly used real?time Web communication technology is based on the HTTP protocol Ajax long polling. However, due to the connection of the HTTP protocol is not persistent, it is necessary for the client and the server to connect multiple requests, there are problems of data transmission delay and waste of network resources.Firstly, this paper analyzes the current mature Web communication technology, compares the characteristics of each scheme and some existing problems. Implement principle and key technologies in-depth study of WebSocket protocol, the emergency dispatch system of refined grain real?time communication design goals, to achieve real-time communication function using WebSocket technology, improve the real-time emergency communication.In this paper, the Nodejs technology is studied to solve the problem of server performance when the emergency communication system is highly concurrent. By comparing the technology based on the Nodejs server and the working principle of HTTP protocol based on server performance advantages, the use of Nodejs technology to solve the problem of high concurrent requests; for real-time view the history of news emergency data real time communication system, this paper makes a deep research on the Html5 storage technology, using Html5 local network requests instead of the traditional storage mode, improve the real-time data acquisition.At last, this paper presents a WebSocket+Nodejs+IndexedDB based technical scheme, and develops a real-time Web communication system.This system has passed the function and the performance test, has achieved the system design request.
Keywords/Search Tags:real-time communication, WebSocket, Nodejs Html5 local storage
PDF Full Text Request
Related items