국립부경대학교 | 미래 인터넷 및 빅데이터 응용 연구실
Board
Paper

Board

Paper

작성자,작성일,첨부파일,조회수로 작성된 표
[KCI 논문] Retained Message Delivery Scheme utilizing Reinforcement Learning in MQTT-based IoT Networks
작성일 2025-06-28 조회수 3
첨부파일 Retained Message Delivery Scheme utilizing Reinforcement Learning in MQTT-based IoT Networks.pdf


MQTT 기반 IoT 네트워크에서 강화학습을 활용한 Retained 메시지 전송 방법

Retained Message Delivery Scheme utilizing Reinforcement Learning in MQTT-based IoT Networks


경연웅 /Yeunwoong Kyung 1 ,  김태국 /KIM, TAEKOOK 2 ,  김영준 /Youngjun Kim 3



사물인터넷융복합논문지

약어 : JKIOTS

2024, vol.10, no.2, pp. 131-135 (5 pages)

DOI : 10.20465/KIOTS.2024.10.2.131

발행기관 : 한국사물인터넷학회






Cite This Article


MLA Style

경연웅, 김태국, and 김영준. "MQTT 기반 IoT 네트워크에서 강화학습을 활용한 Retained 메시지 전송 방법." 사물인터넷융복합논문지 10.2 (2024): 131-135.

Kyung, Yeunwoong, Tae-Kook Kim, and Youngjun Kim. "Retained Message Delivery Scheme utilizing Reinforcement Learning in MQTT-based IoT Networks." Journal of Internet of Things and Convergence 10.2 (2024): 131-135.

APA Style

경연웅, 김태국, & 김영준. (2024). MQTT 기반 IoT 네트워크에서 강화학습을 활용한 Retained 메시지 전송 방법사물인터넷융복합논문지 10(2), 131-135.

Kyung, Y., Kim, T. K., & Kim, Y. (2024). Retained Message Delivery Scheme utilizing Reinforcement Learning in MQTT-based IoT Networks. Journal of Internet of Things and Convergence, 10(2), 131-135.

ISO 690 Style

경연웅; 김태국; 김영준. MQTT 기반 IoT 네트워크에서 강화학습을 활용한 Retained 메시지 전송 방법사물인터넷융복합논문지, 2024, 10.2: 131-135.

KYUNG, Yeunwoong; KIM, Tae-Kook; KIM, Youngjun. Retained Message Delivery Scheme utilizing Reinforcement Learning in MQTT-based IoT Networks. Journal of Internet of Things and Convergence, 2024, 10.2: 131-135.




초록 (Abstract)

MQTT 프로토콜에서 Publisher로부터 발행되는 메시지의 retained flag가 세팅되어 있으면 해당 메시지는Broker에 Retained 메시지로 저장되고, 새로운 Subscriber가 subscribe를 수행할 때 Broker는 Retained 메시지를바로 전송하게 된다. 이를 통해 새로운 Subscriber는 Publisher의 새로운 메시지 발행을 기다리지 않고 Retained 메시지를 통해 현재 상태에 대한 업데이트를 수행할 수 있다. 하지만 Publisher로부터 새로운 메시지가 자주 발행되는경우에는 retained 메시지를 보내는 것이 트래픽의 오버헤드가 될 수 있고, 해당 상황은 새로운 Subscriber들의subscribe가 자주 수행되는 경우 더욱 큰 오버헤드로 고려될 수 있다. 그러므로 본 연구에서는 이러한 문제를 해결하기위해 발행되는 메시지의 특성을 고려하여 Broker의 Retained 메시지 전송 방법을 제안하고자 한다. 본 연구에서는Broker 입장에서 새로운 Subscriber로의 전송 및 대기 액션을 고려하여 강화학습을 기반으로 모델링하였고, Q learning 알고리즘을 통해 최적의 전송 방법을 결정하였다. 성능 분석을 통해 제안하는 방법이 기존 방법 대비 개선된성능을 보이는 것을 확인하였다.


In the MQTT protocol, if the retained flag of a message published by a publisher is set, the message is stored in the broker as a retained message. When a new subscriber performs a subscribe, the broker immediately sends the retained message. This allows the new subscriber to perform updates on the current state via the retained message without waiting for new messages from the publisher. However, sending retained messages can become a traffic overhead if new messages are frequently published by the publisher. This situation could be considered an overhead when new subscribers frequently subscribe. Therefore, in this paper, we propose a retained message delivery scheme by considering the characteristics of the published messages. We model the delivery and waiting actions to new subscribers from the perspective of the broker using reinforcement learning, and determine the optimal policy through Q learning algorithm. Through performance analysis, we confirm that the proposed method shows improved performance compared to existing methods




키워드 (keyword)

MQTT, Retained 메시지, 강화학습, Q learning, 최적 정책

MQTT, Retained Message, Reinforcement Learning, Q Learning, Optimal Policy



논문 파일 첨부 (pdf file):

Retained Message Delivery Scheme utilizing Reinforcement Learning in MQTT-based IoT Networks.pdf


다음 [KCI 논문] A Study on the Elevator System Using Real-time Object Detection Technology YOLOv5
이전 [KCI 논문] Information-providing Application Based on Web Crawling