DOI QR코드

DOI QR Code

Design and Implementation of Realtime Things Control System Using MQTT and WebSocket in IoT Environment

IoT환경에서 MQTT와 WebSocket을 활용한 실시간 사물제어 시스템 설계 및 구현

  • 서준오 (호남대학교 컴퓨터공학과) ;
  • 김철원 (호남대학교 컴퓨터공학과)
  • Received : 2018.03.15
  • Accepted : 2018.06.15
  • Published : 2018.06.30

Abstract

This Paper presents the real time things control method through Web browser that has no limited by time and place. To design and realize the system that not only makes it possible to communicate with other protocols but also reinforces the advantages of each protocol, the real time communication environment, based on the WebSocket technology of HTML5 whose international standardization has recently been completed, is realized. Also, the message communication environment in the low electricity and limited communication environment is realized using MQTT(Message Queue Telemetry Transport) protocol which is in the spotlight as the optimum protocol in the IoT environment. And by designing intuitive and simple hardware and realizing the responsive web interface which is not limited by the user's contact devices, the interactive system in which the user receives real time data from the hardware and reversely the user controls the things is designed and realized.

본 논문은 웹 브라우저를 통해 시간과 장소에 구애받지 않는 실시간 사물 제어 방안의 핵심 요소 4가지를 제시한다. 그리고 서로 다른 프로토콜(Protocol)과의 통신이 가능하게 함은 물론 각 프로토콜의 장점을 살릴 수 있는 시스템을 설계 구현하기 위해 최근 국제표준화가 완료된 HTML5의 웹 소켓(Web Socket)기술과 IoT 환경에서 최적의 프로토콜로 주목받고 있는 MQTT(Message Queue Telemetry Transport) 프로토콜을 사용해 저전력, 제한된 통신환경에서 메시지 통신 환경을 구현한다. 그리고 직관적이고 간단한 하드웨어를 설계해보고 사용자의 접속 장치에 구애받지 않는 반응형 웹(Response Web) 인터페이스를 구현해 하드웨어로부터 실시간 데이터를 전달받고 역으로 사용자가 사물을 제어할 수 있는 양방향 시스템을 설계 구현한다.

Keywords

References

  1. M. Kim and W. Jung, "Internet of Things (IoT) market-related value chain and component status," Information and Communication Broadcasting Policy, vol. 26, no. 8, May 2014, pp. 22-27.
  2. Y. Son, "The Things Internet Ecosysystem," Week Technology Trends, vol. 1714, no. 3, Sept. 2015, pp. 13-21.
  3. W. Kim, "Open Source Hardware Design Using 3D Printer -Experimental Study on Engineering Design Characteristics of 3D Printing," J. of Korea Design Knowledge, vol. 26, no. 12, June 2013, pp. 115-116.
  4. J. Kim, "Study on SW Education and STEAM Education using Arduino for Technology Subject," J. of Technology Education, vol. 15, no. 1, 2015, pp. 25-28.
  5. J. Kim, "A Smart Home Prototype Implementation Using Raspberry Pi," J. of the Korea Institute of Electronic Communication Sciences, vol. 10, no. 10, Oct. 2015, pp. 1140-1144.
  6. K. Kim, K. Kang, K. Han, S. Jang, and C. Yun, "The Developement of Smart TV and Smart Home Platform based on HTML5," J. of the Korea Institute of Electronic Communication Sciences, vol. 9, no. 9, Sept. 2014, pp. 994-997.
  7. K. An, T. Lee, K. Kim, and M. Hong, "A Study on the Improvement Scheme of Real-time Booking System which is Based on the HTML5 WebSocket," J. of the Korean Institute of Information Scientists and Engineers, vol. 2013, no. 6, 2013, pp. 92-97.
  8. J. Hun and C. Park, "Design and Implementation of MQTT Based Real-time HVAC Control Systems," J. of the Korea Institute of Electronic Communication Sciences, vol. 19, no 5, May. 2015, pp. 1164-1168.
  9. S. Shim and H. Kim, "IoT and MQTT Technology," J. of the Korean Institute of Information Security and Cryptology, vol. 24, no. 6, 2014, pp. 39-43.
  10. U. Park, S. Park, and D. Kim, "Design of Message Push System Using WebSocket Based on Hybrid App," J. of the Korean Institute of Internet Information, vol. 2014, no. 5, 2014, pp. 189-194.