Skip to main content

A Formal Modeling Approach for QOS in MQTT Protocol

  • Conference paper
  • First Online:
Data Communication and Networks

Abstract

With the rising demand for IoT devices, communication protocols like MQTT, CoAP, and many more, have become an integral part of the system to ensure safe and reliable data transfer. Using lightweight communication protocols such as the Message Queuing Telemetry Transport (MQTT) protocol makes it much easier to establish communication between distributed devices as it easily recovers from connectivity loss, component failures, and loss of packets. The pivotal contribution of this paper is the method of approach to formally model, analyze, and verify the Quality of Service (QoS) levels of the MQTT protocol. A complete analysis of the Quality of Service levels is performed to confirm that it behaves correctly as specified when used in communication between different components. Formal modeling has been done using PROMELA language and the model verification is done using a system verification tool called SPIN Model Checker.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. M. Diwan, M. DSouza, A framework for modeling and verifying IoT communication protocols, in International Symposium on Dependable Software Engineering: Theories, Tools, and Applications (Springer, 2017), pp. 266–280

    Google Scholar 

  2. P. Anudeep, N.K. Prakash, Intelligent passenger information system using IoT for smart cities, in Smart Innovations in Communication and Computational Sciences (Springer, 2019), pp. 67–76

    Google Scholar 

  3. S.L. Narayan, E. Kavinkartik, E. Prabhu, IoT based food inventory tracking system, in International Symposium on Signal Processing and Intelligent Recognition Systems (Springer, 2018), pp. 41–52

    Google Scholar 

  4. S. Chouali, A. Boukerche, A. Mostefaoui, Towards a formal analysis of MQTT protocol in the context of communicating vehicles, in Proceedings of the 15th ACM International Symposium on Mobility Management and Wireless Access (ACM, 2017), pp. 129–136

    Google Scholar 

  5. B. Jayaraman, J.M. Kannimoola, K. Achuthan, Sybil attack detection in vehicular networks, in Security and Privacy in Internet of Things (IoTs) (CRC Press, 2016), pp. 55–72

    Google Scholar 

  6. N. Mannilthodi, J.M. Kannimoola, Secure IoT: an improbable reality, in IoTBDS (2017), pp. 338–343

    Google Scholar 

  7. A.R. Tena, L.M. Kristensen, A. Rutle, On Modelling and Validation of the MQTT IoT Protocol for M2M Communication (2018)

    Google Scholar 

  8. B. Aziz, A formal model and analysis of an IoT protocol. Ad Hoc Netw. 36, 49–57 (2016)

    Article  Google Scholar 

  9. A. Banks, R. Gupta, MQTT Version 3.1. 1. OASIS standard 29, 89 (2014)

    Google Scholar 

  10. A.J. Vattakunnel, N.S. Kumar, G.S. Kumar, Modelling and verification of CoAP over routing layer using SPIN model checker. Procedia Comput. Sci. 93, 299–308 (2016)

    Article  Google Scholar 

  11. G.J. Holzmann, The SPIN Model Checker: Primer and Reference Manual, vol. 1003 (Addison-Wesley, Reading, 2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Revathi Narayankutty .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Archana, E., Rajeev, A., Kuruvila, A., Narayankutty, R., Kannimoola, J.M. (2020). A Formal Modeling Approach for QOS in MQTT Protocol. In: Jain, L., Tsihrintzis, G., Balas, V., Sharma, D. (eds) Data Communication and Networks. Advances in Intelligent Systems and Computing, vol 1049. Springer, Singapore. https://doi.org/10.1007/978-981-15-0132-6_4

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-0132-6_4

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-0131-9

  • Online ISBN: 978-981-15-0132-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics