IoT WebSocket Connection Management Algorithm for Early Warning Earthquake Alert Applications

Ajinkya Mulay,Hideya Ochiai,Hiroshi Esaki
DOI: https://doi.org/10.1145/3147234.3148094
2017-12-05
Abstract:IoT devices are increasingly being used in various applications and their field is diversifying owing to their small size. Most of the IoT architecture takes client and server model -- IoT devices are connected to a server on the Cloud. Real time communication, especially from the server to client, is necessary when we consider the earthquake alert applications. WebSocket protocol, which has been successfully used in browsers for bi-directional communication, can be applied to such communication. However, we have to carefully manage the loss of connection between the client and server. In this paper, we propose a WebSocket connection management algorithm for IoT, called reconnection with dynamic ping-pong algorithm (RDPPA), focusing on improving and adapting the WebSocket protocol for connecting IoT devices. We implemented the algorithm and carried out experiments for evaluating message delivery latency and the amount of traffic overhead.
What problem does this paper attempt to address?