On modelling and validation of the MQTT IoT protocol for M2M communication
Journal article, Peer reviewed
Published version
Åpne
Permanent lenke
http://hdl.handle.net/11250/2589945Utgivelsesdato
2018Metadata
Vis full innførselSamlinger
Originalversjon
Tena, A. R., Kristensen, L. M., & Rutle, A. (2018). On modelling and validation of the MQTT IoT protocol for M2M communication. CEUR Workshop Proceedings, 2138 99-118. Retrieved from http://ceur-ws.org/Vol-2138/paper5.pdfSammendrag
Machine to Machine (M2M) communication and Internet of Things (IoT) are becoming still more pervasive with the increase of communicating devices used in cyber-physical environments. A prominent approach to communication between distributed devices in highly dynamic IoT environments is the use of publish-subscribe protocols such as the Message Queuing Telemetry Transport (MQTT) protocol. MQTT is designed to be light-weight while still being resilient to connectivity loss, component failures, and loss of packets. We have developed a formal model of the MQTT protocol logic covering all three quality of service levels provided by MQTT (at most once, at least once, and exactly once). For the initial verification of the protocol model, we show how an incremental model checking approach can be used to reduce the effect of the state explosion problem. This is done by exploiting that the MQTT protocol operates in phases comprised of connect, subscribe, publish, unsubscribe, and disconnect.