DOI QR코드

DOI QR Code

Method for Message Processing According to Priority in MQTT Broker

MQTT Broker에서 우선순위에 따른 메시지 처리를 위한 방법에 관한 연구

  • Kim, Sung-jin (Department of Electrical, Electronics & Communication Engineering, Korea University of Technology and Education(KOREATECH)) ;
  • Oh, Chang-heon (Department of Electrical, Electronics & Communication Engineering, Korea University of Technology and Education(KOREATECH))
  • Received : 2017.05.30
  • Accepted : 2017.06.12
  • Published : 2017.07.31

Abstract

Recently, IoT has been studying a lightweight protocol to satisfy device communication in a limited network environment. MQTT is a typical lightweight protocol. It supports small fixed headers to minimize overhead, and adopts publish/subscribe structure to guarantee real-time performance. However, MQTT does not support prioritization of important data and can not provide QoS in a specific IoT service. In this paper, we propose a message processing method to consider the priority of various IoT services in MQTT. In the proposed method, the priority flag is added to the fixed header of the MQTT in the node to transmit the message, and the broker confirms the priority of the corresponding message and processes it preferentially. Through experiment and evaluation, we confirmed the reduction of end-to-end delay between nodes according to priority.

최근 IoT는 제한된 네트워크 환경에서의 디바이스 통신을 충족시키기 위해 경량화 프로토콜에 대한 연구가 진행중이다. MQTT는 대표적인 경량화 프로토콜이며, 오버헤드를 최소화하기 위해 작은 고정 헤더를 지원하고, publish/subscribe구조를 채택함으로써 실시간성을 보장한다. 하지만 MQTT는 중요 데이터에 대한 우선순위 처리를 지원하지 않아 특정 IoT 서비스에서의 QoS를 제공할 수 없다. 본 논문에서는 MQTT에서 다양한 IoT 서비스의 우선 순위를 고려하기 위한 메시지 처리 방법을 제안한다. 제안하는 방법은 노드에서 MQTT의 고정헤더에 우선순위 플래그를 추가하여 메시지를 전송하며, broker에서는 해당 메시지에 대한 우선순위를 확인하여 우선적으로 처리한다. 실험 및 평가를 통해 우선순위에 따라 노드간의 종단 간 지연의 감소를 확인하였다.

Keywords

References

  1. C. S. Pyo, H. Y. Kang, N. S. Kim, and H. C. Bang, "IoT (M2M) technology trends and prospects," The Korean Institute of Communications and Information Sciences, vol. 30, no. 8, pp. 3-10, Jul. 2013.
  2. C. Perera, C. H. Liu, S. Jayawardena, and M. Chen, "A survey on internet of things from industrial market perspective," IEEE Access, vol. 2, pp. 1660-1679, Nov. 2014. https://doi.org/10.1109/ACCESS.2015.2389854
  3. Y. H. Jang, J. S. Shim, and S. C. Park, "Analysis standardized of IoT-based low-power‧light-weight protocol," Journal of the Korea Institute of Information and Communication Engineering, vol. 20, no. 10, pp. 1895- 1902, Oct. 2016. https://doi.org/10.6109/jkiice.2016.20.10.1895
  4. A. A. Fuqaha, M. Guizani, M. Mohammadi, M. Aledhari, and M. Ayyash, "Internet of things : a survey on enabling technologies, protocols, and applications," IEEE COMMUNICATION SURVEYS & TUTORIALS, vol. 17, no. 4, pp. 2347-2376, Jun. 2015. https://doi.org/10.1109/COMST.2015.2444095
  5. OASIS Standard, MQTT version 3.1.1[Internet], Available: http://docs.oasisopen.org/mqtt/mqtt/v3.1.1/csprd02/mqtt-v3.1.1-csprd02.html.
  6. A. A. Fuqaha, A. Khreishah, M. Guizani, A. Rayes, and M. Mohammadi, "Toward better horizontal integration among IoT services," IEEE Communications Magazine, vol. 53, no. 9, pp. 72-79, Sep. 2015.
  7. D. Soni, and A. Makwana, "A survey on MQTT: a protocol of internet of things(IoT)," in Proceeding of the International Conference on Telecommunication, Power Analysis and Computing Techniques, Chennai: IN, 2017.
  8. Y. J. Park, D. S. Lim, D. K. Min, and S. A. Kim, "Reserach on design of DDS-based conventional railway signal data specification for real-time railway safety monitoring and control," Journal of the Korea Institute of Information and Communication Engineering, vol. 20, no. 4, pp. 739-746, Apr. 2016. https://doi.org/10.6109/jkiice.2016.20.4.739
  9. A. Ludovici, E. Garcia, X. Gimeno, and A. C. Auge, "Adding QoS support for timeliness to the observe extension of CoAP," in Proceeding of the 8th Internation Conference on Wireless and Mobile Computing, Networking and Communication, Barcelona: ES, pp. 195-202, 2012.
  10. O. J. Kwon, H. S. Jang, and J. M. Lee, "A bypass scheme for INVITE messages with priority in SIP proxies," Journal of the Korea Society for Simulation, vol. 19, no. 4, pp. 51-58, Dec. 2010.
  11. P. S. Jeong, and Y. H. Cho, "A study on MAC protocol with dynamic priority adjustment in WBAN," Journal of the Korea Institute of Information and Communication Engineering, vol. 18, no. 7, pp. 1589-1598, Jul. 2014. https://doi.org/10.6109/jkiice.2014.18.7.1589
  12. T. Tachibana, T. Furuichi, and H. Mineno, "Implementing and evaluationg priority control mechanism for heterogeneous remote moniroting IoT system," in Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems: Computing Networking and Services, Hiroshima: JP, pp. 239-244, 2016.
  13. eclipse paho, paho[Internet], Available: http://eclipse.org- /paho/.
  14. Mosquitto, Mosquitto[Internet], Available: http://mosquitto-.org/.

Cited by

  1. IIoT용 우선순위 토픽 기반 MQTT에 관련한 연구 vol.19, pp.5, 2019, https://doi.org/10.7236/jiibc.2019.19.5.63