IoT WebSocket Connection Management Algorithm for Early Warning Earthquake Alert Applications

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.

[1]  Veljko M. Milutinovic,et al.  Web Performance Evaluation for Internet of Things Applications , 2016, IEEE Access.

[2]  Lijing Zhang,et al.  Research and development of real-time monitoring system based on WebSocket technology , 2013, Proceedings 2013 International Conference on Mechatronic Sciences, Electric Engineering and Computer (MEC).

[3]  Young-Woo Kwon,et al.  An Assessment of Internet of Things Protocols for Resource-Constrained Applications , 2016, 2016 IEEE 40th Annual Computer Software and Applications Conference (COMPSAC).

[4]  Iacopo Carreras,et al.  Providing generic support for IoT and M2M for mobile devices , 2015, The 2015 IEEE RIVF International Conference on Computing & Communication Technologies - Research, Innovation, and Vision for Future (RIVF).

[5]  German Carro Fernandez,et al.  From RGB led laboratory to servomotor control with websockets and IoT as educational tool , 2015 .

[6]  Yuya Tarutani,et al.  IEEE1888 over WebSocket for Communicating across a Network Boundary , 2016, 2016 IEEE 40th Annual Computer Software and Applications Conference (COMPSAC).

[7]  Eniman Y. Syamsudin,et al.  Design and implementation of modular home automation based on wireless network, REST API, and WebSocket , 2015, 2015 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS).

[8]  Peter Braun,et al.  Assessment of REST and WebSocket in regards to their energy consumption for mobile applications , 2015, 2015 IEEE 8th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS).