Design of IoT Gateway based Event-Driven Architecture for Intelligent Buildings.

IoT 게이트웨이 기반 지능형 건물의 이벤트 중심 아키텍쳐 설계

  • Published : 2016.10.27

Abstract

The growth of mobile devices in Internet of Things (IoT) leads to a number of intelligent buildings related IoT applications. For instance, home automation controlling system uses client system such web apps on smartphone or web service to access the home server by sending control commands. The home server receives the command, then controls for instance the light system. The gateway based RESTful technology responsible for handling clients' requests attests an internet latency in case a large number of clients' requests submit toward the gateway increases. In this paper, we propose the design tasks of the IoT gateway for handling concurrency events. In the procedure of designing tasks, concurrency is best understood by employing multiple levels of abstraction. The way that is eminently to accomplish concurrency is to build an object-oriented environment with support for messages passing between concurrent objects. We also investigate the performance of event-driven architecture for building IoT gateway using node.js on one side and communication protocol based message-oriented middleware known as XMPP to handle communications of intelligent building control devices connected to the gateway through a centralized hub. The Node.JS is 40% faster than the traditional web server side features thread-based approach. The use of Node.js server-side handles a large number of clients' requests, then therefore, reduces delay in performing predefined actions automatically in intelligent building IoT environment.

모바일 기기는 사물 인터넷으로 성장하여 지능형 건물과 관련된 많은 IoT 응용 프로그램으로 연계 된다. 예를 들어 주택 자동화 제어 시스템은 스마트 폰으로 제어 명령을 보냄으로써, 홈 서버에 액세스를 하는 클라이언트 구조의 웹 어플리케이션을 요구한다. 홈 서버는 광 통신 시스템으로 명령어를 수신 받고 컨트롤 한다. 게이트웨이 기반 REST 기술은 클라이언트에서 요청하는 명령어를 처리 및 증명해야 한다. 이러한 이유는 클라이언트 요청에 의해 다수의 게이트웨이 증가로 인한 인터넷이 지연 되기 때문이다. 본 논문에서는 동시성 이벤트를 처리하기 위한 IoT 게이트웨이 시스템 설계를 하고자 한다. 본 시스템을 통하여 동시성 최고의 다중 추상화 레벨을 확인 할 수 있다. 동시성을 확인하는 방법은 개체 간의 데이터 통신을 지원하는 객체 지향 시스템을 구축하는 것이다. 또한 IoT 게이트웨이 기반으로 양방향통신 방법 중 한쪽 통신 방향 프로토콜에 Node.js를 사용하여 이벤트 중심, 지능형 건물의 설계를 위한 아키텍쳐의 성능을 XMPP라는 미들웨어를 사용하여 확인하고자 한다. Node.js는 지능형 건물 제어장치가 중앙 집중화 형식의 허브를 통하여 통신이 될 수 있도록 하는 역할을 가지고 있다. Node.js는 스레드 기반의 접근 방식이 특징이며, 기존의 시스템보다 40% 이상 빠르다. Node.js를 서버 측에서 사용하기 위해 다수의 클라이언트 들로부터 요청을 한다. 따라서, IoT 환경에서 지능형 건축물의 작업수행 시간을 감소 시킨다.

Keywords