• Title/Summary/Keyword: MQTT

Search Result 128, Processing Time 0.024 seconds

Design and Implementation of RPL-based Distributed MQTT Broker Architecture (RPL 기반 분산 MQTT 브로커 구조 설계 및 구현)

  • An, Hyunseong;Sa, Woojin;Kim, Seungku
    • Journal of Korea Multimedia Society
    • /
    • v.21 no.9
    • /
    • pp.1090-1098
    • /
    • 2018
  • MQTT is a lightweight messaging protocol that can be used for low power IoT devices. The MQTT basically uses single MQTT broker to indirectly share message information between publishers and subscribers. This approach has a weakness in regard to traffic overflow, connection fault, security, etc. In this paper, we propose a distributed MQTT broker architecture that solves the problems in single MQTT broker structure. The distributed MQTT broker architecture is expected to support new application services that cannot be supported by a conventional MQTT architecture. We have designed and implemented a distributed MQTT broker architecture based on the RPL protocol that has been widely used for IoT network. The experiment results show that the proposed MQTT broker architecture represents better publishing/subscribing latency and network stability than the conventional MQTT broker architecture.

Design and Implementation of MQTT Message Server for a massive connection processing in IoT Environment (IoT 환경에서 대량 접속처리를 위한 MQTT 메시지 서버 설계 및 구현)

  • Cha, Woosuk;Yoo, Eunkuk;Kim, Yeongjun;Kim, Jinsoon
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2018.10a
    • /
    • pp.936-938
    • /
    • 2018
  • 본 논문은 IoT 환경에서 MQTT 대량 브로커와 대량 클라이언트간 효율적인 접속을 지원하기 위해 대량 접속처리 기능을 제공하는 CA(Connectionb Agent)를 포함한 MQTT 메시지 서버를 설계, 구현하였다. MTQQ 프로토콜은 MQTT 브로커와 MQTT 클라이언트로 구성되며, 각 MQTT 클라이언트는 MQTT 브로커의 중재를 받아 Pub/Sub 방식으로 메시지를 상호 전송한다. 이를 위해 MQTT 프로토콜은 MQTT 브로커와 MQTT 클라이언트 간 접속기능만을 제공한다. 실험결과에서 MQTT 메시지 서버는 초당 평균 12,500 건의 클라이언트 접속요청을 처리하였고, 20만건의 접속요청 처리에 16초가 소요되었다.

A Study on System for Traffic Measurement of MQTT Broker (MQTT Broker의 트래픽 측정을 위한 시스템에 관한 연구)

  • Kim, Sung-Jin;Oh, Chang-Heon
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2017.05a
    • /
    • pp.637-638
    • /
    • 2017
  • The MQTT broker has problems such as packet loss and delay due to degraded network performance according to traffic. However, the MQTT broker does not support a separate interface for traffic measurement, so it can not cope with network degradation. In this paper, we propose a system for traffic measurement of MQTT broker. The proposed system uses the jnetpcap library to measure all traffic to and from the MQTT broker.

  • PDF

Subscriber Assignment Method in SDN based MQTT Cluster for IoT platform (IoT 플랫폼을 위한 SDN 기반 MQTT 클러스터에서 서브스크라이버 배정 방안)

  • Kang, Gwi-Yeong;Seok, Seung-Joon
    • KNOM Review
    • /
    • v.22 no.1
    • /
    • pp.30-41
    • /
    • 2019
  • MQTT protocol is one of open Publish / Subscribe systems for IoT information transmission. In this paper, we are proposing an algorithm to assign a subscriber, which dynamically participate in MQTT clustering system, to an appropriate broker. In MQTT systems with a centralized broker, there are losses of connectivity and messages between subscribers and brokers. In this paper, we addressed this issue for developing scalable open IoT systems and consider clustering MQTT brokers on the SDN infrastructure. In particular, this paper focuses on the problem of allocating subscribers to brokers in accordance with sharing brokers' topics to reduce brokers' load and communication cost in SDN based MQTT cluster. The Experimental results show that the proposed algorithm will reduce the load and the cost as compared to existing methods.

A Study on MQTT based on Priority Topic for IIoT (IIoT용 우선순위 토픽 기반 MQTT에 관련한 연구)

  • Oh, Se-Chun;Kim, Young-Gon
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.19 no.5
    • /
    • pp.63-71
    • /
    • 2019
  • Recently, there has been a lot of research on the construction of smart factory in the 4th Industrial Revolution era. Among the various technologies involved in the deployment of smart factory, one of the key technologies is the IoT protocol sector that handles the transmission and reception of data. In this regard, the MQTT protocol is generally used most commonly, but the existing MQTT technology lacks the concept of priorities of messages, so it is somewhat insufficient to be applied to an industrial field requiring real-time property. Priority handling of urgent messages is critical, especially in emergency situations, such as the emergency shutdown of the entire relevant facility following the failure of a particular facility. To improve this, research on priority-based MQTT is being conducted somewhat, but these studies have problems with actual field use because they are a variant of the MQTT standard. Therefore, this study conducts and verifies studies related to MQTT, which can prioritize messages while adhering to existing MQTT standards.

Design and Implementation of MQTT Based Real-time HVAC Control Systems (MQTT 기반 실시간 공조제어 시스템 설계 및 구현)

  • Jung, Hun;Park, Chong-Won
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.19 no.5
    • /
    • pp.1163-1172
    • /
    • 2015
  • In this paper, an MQTT based protocol is designed and implemented for control, management and monitoring of HVAC in a cloud platform in real time. The MQTT protocol is a two-way messaging protocol, and has the generality, flexibility, light weighted, quickness with reliability and security. In the implemented system, performance and reliability of the communication protocol is considered for data acquisition and control between the CCU and the cloud server. Control and monitoring for the cloud server is performed in real time in conjunction with CCU and the MQTT server.

Secure MQTT Protocol based on Attribute-Based Encryption Scheme (속성 기반 암호화 기법을 활용한 보안 MQTT 프로토콜)

  • Kim, Nam Ho;Hong, Choong Seon
    • Journal of KIISE
    • /
    • v.45 no.3
    • /
    • pp.195-199
    • /
    • 2018
  • Recently, with increasing scale of internet of Things (IoT), a large amount of data are generated and various services using such data are emerging. Therefore, a protocol suitable for IoT environment that can efficiently process / transmit big data is needed. MQTT is a lightweight messaging protocol for IoT environment. Although MQTT protocol can use TLS to provide security, it has a problem in that handshake and packet overhead will increase when TLS is used. Therefore, this paper proposed as Secure_MQTT protocol. It can provide stronger security by using lightweight encryption algorithm for MQTT protocol.

Method for Message Processing According to Priority in MQTT Broker (MQTT Broker에서 우선순위에 따른 메시지 처리를 위한 방법에 관한 연구)

  • Kim, Sung-jin;Oh, Chang-heon
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.21 no.7
    • /
    • pp.1320-1326
    • /
    • 2017
  • 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.

A Real Time Location Based IoT Messaging System using MQTT (MQTT 활용 실시간 위치 기반 IoT 메시징 시스템)

  • Jung, In-Hwan
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.18 no.4
    • /
    • pp.27-36
    • /
    • 2018
  • In this paper, we design and implement a real time IoT messaging system that can collect location information of moving vehicles and pedestrians in real time using MQTT protocol and provides location based information service in administrative area. We implemented MQTT based IoT device for vehicle location information collection and communication and MQTT based smartphone application for pedestrian location information service. IoT clients can send messages to the server in administrative units by using the MQTT Topic which is equal to administrative names. The SLIMS (Seoul Location based IoT Messaging System) implemented in this study is able to analyze the real time traffic volume of pedestrians and vehicles by tracking clients. It also can deliver messages to clients based on coordinate range. SLIMS can be used as a real-time location-based information service for large-scale IoT devices such as real-time flow population and vehicle traffic analysis and location-based message delivery.

Modified MQTT-SN Protocol for End-to-End Security in a Constrained Embedded Environment (자원제약적 임베디드 환경에서 종단간 보안을 지원하는 수정된 MQTT-SN)

  • Nam, Hye-min;Park, Chang-seop
    • Journal of the Korea Institute of Information Security & Cryptology
    • /
    • v.30 no.5
    • /
    • pp.859-870
    • /
    • 2020
  • The MQTT-SN (Message Queuing Telemetry Transport-Sensor Network) protocol is a message transmission protocol used in a sensor-based Internet of Things (IoT) environment. This MQTT-SN protocol is a publish-subscribe model with a broker in the middle of message transmission, and each IoT device sends and receives messages through an intermediary when delivering messages. However, the MQTT-SN protocol does not provide security-related functions such as message security, mutual authentication, access control, and broker security. Accordingly, various security problems have recently occurred, and a situation in which security is required has emerged. In this paper, we review the security requirements of MQTT-SN once again, and propose a modified protocol that improves security while satisfying the constraints in the environment where the resource of IoT to which this protocol is applied is limited. Unlike the existing protocol, the security field and authentication server have been added to satisfy the security requirements. In addition, the proposed protocol is actually implemented and tested, and the proposed protocol is evaluated for practical use in terms of energy consumption.