Wireless Personal Communications

, Volume 91, Issue 4, pp 1765–1777 | Cite as

Design and Implementation of a Reliable Message Transmission System Based on MQTT Protocol in IoT

Article

Abstract

Internet of Things is one of most important IT trend and it is getting more popular in home automation fast. A message transmission system is important component in an IoT device for collecting data or send commands. Push protocol is light-weight and high productivity protocol than polling protocol, which is used in IoT devices widely. However, this push message like MQTT protocol is just guarantees of delivery of each message and vulnerable to maintain (the) ordering between messages. Ordering messages and re-sending messages which lost while transmitting are key issue for a reliable message communication system in IoT environment such as home security automation. In this paper, we designed and implemented a reliable message transmission system using MQTT protocol to maintain ordering between messages for the work environment. This (system) consists of MQTT protocol, reliable message transmission server and client module. The reliable message transmission server module expands a message topic to a new message topic after combining the order flag and SEQ. The order flag is the value which determines whether to maintain ordering between the message or not. SEQ is the sequence number for each message and is managed by reliable message transmission system server module and is stored into a database in the server. The reliable message transmission system client module checks message’s sequence before processing the messages and requests the previous message if there are missed messages to retain the messages ordering. For simulation, we implemented the reliable message transmission system with mosquitto MQTT message broker and the simulation showed that this proposed system could enhance the message transmission for IoT environment.

Keywords

IoT Push protocol MQTT Reliable messenger system Messages ordering 

Notes

Acknowledgments

This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2014R1A1A2058888).

References

  1. 1.
    Gartner. (2015). Top 10 technology trends signal the digital mesh. Access Dec 22, 2015, http://www.gartner.com/smarterwithgartner/top-ten-technology-trends-signal-the-digital-mesh/.
  2. 2.
    Cisco. (2015). Cisco visual networking index: Global mobile data traffic forecast update, 2014–2019. White paper.Google Scholar
  3. 3.
    Wikipedia. Internet of Things. Access Dec 22, 2015, https://en.wikipedia.org/wiki/Internet_of_Things.
  4. 4.
    Lee, E.-J., Kim, C.-H., & Jung, I. Y. (2014). An intelligent green service in internet of things. Journal of Convergence, 4–8.Google Scholar
  5. 5.
    LG U plus. LGU@home. Access Dec 22, 2015, http://www.uplus.co.kr/ent/iot/IotSubMain.hpi?mid=6785.
  6. 6.
    Internet of things. Big list of companies, products, devices and software by sector. Access Dec 22, 2015, http://startup88.com/internet-of-things/2013/10/28/internet-of-things-big-list-of-companies-products-devices-and-software-by-sectorsiddharth-khare-edited/1254.
  7. 7.
    Raspberrypi. Raspberrypi products. Access on Dec 22, 2015, https://www.raspberrypi.org.
  8. 8.
    Vanus, J., Smolon, M., Martinek, R., Koziorek, J., Zidek, J., & Bilik, P. (2015). Testing of the voice communication in smart home care. Human-Centric Computing and Information Sciences, 5, 1–22.CrossRefGoogle Scholar
  9. 9.
    IETF. XMPP specification. Access Dec 22, 2015, http://tools.ietf.org/html/rfc6120.
  10. 10.
    CoAP Technology. Access Dec 22, 2015, http://coap.technology/.
  11. 11.
    IBM MQTT Protocol Specification. Access Dec 22, 2015, http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html.
  12. 12.
    Lee, S., Jung, I., Kim, H., & Ju, H. (2013). The design of integrated mobile SNS gateway structure. In 2013 15th Asia-Pacific network operations and management symposium (APNOMS) (pp. 1–3).Google Scholar
  13. 13.
    Schiper, A., & Raynal, M. (1996). From group communication to transactions in distributed systems. Communications of the ACM, 39, 84–87.CrossRefGoogle Scholar
  14. 14.
    Nah, F. F.-H. (2004). A study on tolerable waiting time: How long are web users willing to wait? Behaviour & Information Technology, 23, 153–163.CrossRefGoogle Scholar
  15. 15.
    Yasmine-Derdour, Bouabdellah-Kechar, & Mohammed Fayçal-Khelfi. Using mobile data collectors to enhance energy efficiency and reliability in delay tolerant wireless sensor networks. Journal of Information Processing Systems. doi: 10.3745/JIPS.03.0032.

Copyright information

© Springer Science+Business Media New York 2016

Authors and Affiliations

  1. 1.Department of Computer Science, Graduate SchoolKorea National Open UniversitySeoulSouth Korea
  2. 2.National Center of Excellence in SoftwareChungnam National UniversityDaejeonSouth Korea

Personalised recommendations