KR102040136B1 - Realtiem Event Processing Rule Management System for IFTTT Service - Google Patents

Realtiem Event Processing Rule Management System for IFTTT Service Download PDF

Info

Publication number
KR102040136B1
KR102040136B1 KR1020180011466A KR20180011466A KR102040136B1 KR 102040136 B1 KR102040136 B1 KR 102040136B1 KR 1020180011466 A KR1020180011466 A KR 1020180011466A KR 20180011466 A KR20180011466 A KR 20180011466A KR 102040136 B1 KR102040136 B1 KR 102040136B1
Authority
KR
South Korea
Prior art keywords
data
event
event processing
service
action
Prior art date
Application number
KR1020180011466A
Other languages
Korean (ko)
Other versions
KR20190092091A (en
Inventor
김계영
이현동
조대수
문대진
Original Assignee
동서대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 동서대학교 산학협력단 filed Critical 동서대학교 산학협력단
Priority to KR1020180011466A priority Critical patent/KR102040136B1/en
Publication of KR20190092091A publication Critical patent/KR20190092091A/en
Application granted granted Critical
Publication of KR102040136B1 publication Critical patent/KR102040136B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/32
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/16
    • H04L67/2823
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

본 발명은 IFTTT서비스를 위한 실시간 이벤트 처리 규칙 관리시스템을 제공한다. 이와 같은 본 발명에 따른 IFTTT서비스를 위한 실시간 이벤트 처리 규칙 관리시스템은 별도의 실시간 이벤트 처리가 가능한 구조를 가진 규칙 관리 시스템을 통해 사물 인터넷을 지원하는 다양한 장치로부터 실시간으로 들어오는 수많은 데이터를 즉각적으로 처리할 수 있으며, 또한 전력량, 온도 값, 위치 정보와 같은 정형화된 데이터뿐만 아니라 CCTV, 마이크 등을 통해 실시간으로 들어오는 영상이나 이미지 및 소리 등과 같은 비정형화된 데이터를 포함한 다양한 사물 인터넷 기반의 장치로부터 발생하는 데이터에 대하여도 실시간으로 처리할 수 있도록 사물 인터넷을 지원하는 장치들로부터 실시간으로 입력되는 원본데이터를 수집하여 EPL 문법으로 변환한 원본데이터와 관리자로부터 정의된 조건과 조건에 따른 액션을 수행하도록 설정한 액션데이터를 조합한 규칙을 생성하거나 수정하고, 생성되거나 수정된 규칙을 데이터베이스에 저장한 후, 실시간 이벤트 처리 모듈을 통해 다양한 도메인으로부터 실시간으로 발생하는 이벤트에 대하여 데이터베이스에 저장된 규칙과 비교하는 것이 아니라 실시간 이벤트 처리 모듈에서 해당 이벤트에 따른 규칙을 직접 관리하여 이벤트에 대한 트리거를 실시간으로 발생시켜 응답할 수 있는 기술적 특징을 갖는다.The present invention provides a real time event processing rule management system for the IFTTT service. The real-time event processing rule management system for the IFTTT service according to the present invention can immediately process a large number of data coming in real time from various devices supporting the Internet of Things through a rule management system having a structure capable of processing separate real-time events. And data generated from various IoT-based devices, including unstructured data such as video, images, and sound coming in real time through CCTV, microphones, as well as standardized data such as power, temperature, and location information. Action that is set to collect original data inputted in real time from devices supporting the Internet of Things so that it can be processed in real time with respect to the original data converted into EPL grammar and to perform actions according to conditions and conditions defined by the administrator day Create or modify a combination of rules, store the created or modified rules in a database, and then use the real-time event processing module to compare real-time events from the various domains to the rules stored in the database rather than to the rules stored in the database The processing module directly manages a rule according to the corresponding event to generate a trigger for the event in real time, and has a technical feature to respond.

Description

IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템{Realtiem Event Processing Rule Management System for IFTTT Service}Real-Time Event Processing Rule Management System for IFTTT Service

본 발명은 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템에 관한 것으로, 좀 더 구체적으로는 최근 4차 산업에 있어 중요한 핵심에 해당하는 사물들간의 정보교환 즉 사물인터넷(Internet of Things, IoT)을 통하여 사람의 개입 없이 실시간으로 발생하는 이벤트에 대하여 사물들이 구동할 수 있도록 IFTTT 서비스를 이용하여 서비스를 수행하는 사물들에게 있는 발생하는 원본데이터로부터 조건이 되는 다양한 트리거를 생성하고, 생성된 트리거에 대응하는 액션을 수행할 수 있도록 설정함으로써, 사물인터넷을 내장한 서비스장치로부터 발생하는 기초데이터를 기반으로 관리자가 특정 조건에 부합하는 액션을 통해 생성한 이벤트 처리 규칙에 따라 사물들간에 실시간으로 지속적으로 발생하는 이벤트에 대하여 신속하게 처리할 수 있도록 하는 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템에 관한 것이다.The present invention relates to a real-time event processing rule management system for the IFTTT service, and more specifically, through information exchange, that is, the Internet of Things (IoT), between objects corresponding to the core of the 4th industry. By using IFTTT service to generate various triggers that are conditional from the generated original data in objects performing service using IFTTT service so that things can be driven in real time without human intervention. By setting the action to be performed, based on the basic data generated from the service device with the IoT embedded, the administrator continuously generates the real time between the objects according to the event processing rule generated through the action that meets a specific condition. IFTT for fast response to events A real time event processing rule management system for a T service.

최근 경제적인 불황을 극복하기 위한 새로운 4차 산업에 관한 관심이 높아지면서 4차 산업에 있어 가장 이슈가 되는 사물 인터넷에 대한 기술이 점점 더 발달하면서 사물 인터넷을 활용한 다양한 서비스들에 대한 기술이 제시되고 있다. 이러한 사물 인터넷를 이용한 서비스의 핵심은 사용자들에게 실시간으로 사물 인터넷을 이용한 다양한 장치에서 발생하는 데이터를 분석하여 그에 맞는 자동화된 서비스를 제공하는 것이라고 할 수 있다.Recently, as the interest in the new 4th industry to overcome the economic recession has increased, the technology of the IoT, which is the most important issue in the 4th industry, has been developed more and more, and the technology of various services using the IoT is presented. It is becoming. The core of the service using the Internet of Things can be said to provide users with an automated service by analyzing data generated from various devices using the Internet of Things in real time.

이러한 사물 인터넷과 같은 장치로부터 발생하는 데이터를 분석하고, 분석된 정보를 기반으로 특정 규칙을 생성하는 종래의 인공지능을 활용한 수단으로서 전문가시스템에 관한 연구가 많이 이루어졌다.There have been many studies on expert systems as a means of utilizing the conventional artificial intelligence that analyzes data generated from such devices as the Internet of Things and generates specific rules based on the analyzed information.

종래의 공개특허번호 제10-2011-0035582호 개인정보유출 확신도 도출을 위한 규칙 기반 전문가시스템 구조는 일반적으로 개인정보유출과 연관된 다양한 로그정보들은 개인정보 관리자에 의해서 분석되어, 의심 대상이 되는 IP 주소에 대해 정보유출에 관여한 정도를 도출하게 된다. 이러한 개인정보 관리자가 수행하는 분석절차는 전문가의 축적된 지식이라고 할 수 있으며, 이는 규칙 형태로 정의되어 분석절차의 자동화에 활용될 수 있는 보편적으로 활용 가능한 보안 시스템들의 로그정보들을 기반으로 확신도를 도출하기 위한 규칙기반 전문가 시스템의 설계 및 구현에 관한 것이다.In the conventional rule-based expert system structure for deriving confidence of personal information leakage, various log information related to personal information leakage is analyzed by the personal information manager, and thus the IP that is suspected. The degree of involvement in information leakage about the address is derived. The analysis procedure performed by the personal information manager is the accumulated knowledge of the experts, which is defined in the form of rules and based on the log information of universally available security systems that can be used to automate the analysis procedure. Design and implementation of a rule-based expert system for derivation.

하지만 이러한 전문가시스템 구조는 개인정보 유출과 관련된 서비스를 구동하는 대상에 대하여 관련된 규칙을 생성하게 되어 그 서비스를 제공하는 범위가 한정되어 있어 조금만 데이터가 변경하여도 그에 따른 규칙을 지속적으로 생성해야 하는 문제가 있다.However, this expert system structure creates a related rule for the object that drives the service related to the leakage of personal information, so the scope of providing the service is limited. Therefore, even if a little data changes, the rule must be continuously generated. There is.

종래의 등록특허번호 제10-1688812호 소유자 인증 서버 기반의 IoT 기기 인가관리 방법 및 시스템은 IoT 기기가 소유자 인증 서버에 미등록된 경우에, 소유자 단말기의 요청에 기초하여 IoT 기기가 소유자 인증 서버에 등록 요청 메시지를 전송하고, 소유자 인증 서버가 IoT 기기를 검증하고 인증서를 발급하며 호스팅 자원을 등록함으로써, 소유자 인증 서버에 IoT 기기를 등록하고, 소유자 인증 서버가 IoT 기기 및 사용자 단말기에 대한 접근 통제 정책을 설정한다.According to the conventional method and system for IoT device authorization management based on the owner patent server No. 10-1688812, when the IoT device is not registered in the owner authentication server, the IoT device is registered in the owner authentication server based on a request of the owner terminal. By sending a request message, the owner authentication server validates the IoT device, issues a certificate, and registers a hosting resource, which registers the IoT device with the owner authentication server, and the owner authentication server enforces access control policies for the IoT device and user terminals. Set it.

하지만 종래의 특허는 사물 인터넷을 구동하는 기기에 대하여 이를 서버에 등록하기 위하여 일정한 규칙에 따라 IoT기기를 검증하고, 인가하는 것으로 검증 및 인가에 대한 규칙만을 생성하고 있어 실질적인 사물 인터넷을 이용한 서비스에 대한 규칙을 제공하지 못하는 한계가 있다. However, the conventional patent is to verify and authorize an IoT device according to a predetermined rule in order to register it to a server for a device that runs the IoT, and generates only a rule for verification and authorization. There is a limit to not providing a rule.

이와 관련 사물 인터넷을 이용한 자동화된 서비스와 관련하여 데이터에 대한 실시간 처리에 있어 IFTTT(If This Then That) 서비스가 있다. IFTTT 서비스는 인터넷과 컴퓨터에 존재하는 여러 별개의 서비스와 어플들을 임의로 연동시켜주는 서비스를 말한다. 이러한 IFTTT 서비스를 이용하면 사용자들은 서비스를 받는 조건이 되는 트리거와 액션을 조합한 새로운 규칙을 만들 수 있다.In this regard, there is an IFTTT (If This Then That) service for real-time processing of data related to an automated service using the Internet of Things. IFTTT service refers to a service that arbitrarily links various separate services and applications existing on the Internet and a computer. Using this IFTTT service, users can create new rules that combine triggers and actions that are the conditions under which they receive services.

하지만 새롭게 제시되고 있는 IFTTT(If This Then That) 서비스의 경우에도 실질적으로 서비스를 제공하기 위해서는 다양한 서비스에 대응하는 일반적인 규칙을 정의하고, 정의된 규칙에 따라 수행할 수 있는 시스템이 부재한 문제점이 있다.However, even in the case of newly proposed IFTTT (If This Then That) service, there is a problem in that there is no system that can define general rules corresponding to various services and perform them according to the defined rules in order to provide services. .

대한민국 공개특허공보 공개번호 제10-2011-0035582호 “개인정보유출 확신도 도출을 위한 규칙 기반 전문가시스템 구조”Korean Laid-Open Patent Publication No. 10-2011-0035582 “Rule-based Expert System Structure for Deriving Confidence of Personal Information Leakage” 대한민국 등록특허공보 등록번호 제10-1688812호 “소유자 인증 서버 기반의 IoT 기기 인가관리 방법 및 시스템”Republic of Korea Patent Publication No. 10-1688812 "Oot device authorization management method and system based on the owner authentication server"

따라서 본 발명은 이와 같은 종래 기술의 문제점을 개선하고자, IFTTT 서비스의 가능성과 사물 인터넷의 컨셉에 맞게 다양한 서비스 대상이 되는 도메인에서 서비스하는 사물 인터넷을 지원하는 장치들로부터 실시간으로 입력되는 원본데이터를 수집하여 EPL 문법으로 변환한 원본데이터와 관리자로부터 정의된 조건과 조건에 따른 액션을 수행하도록 설정한 액션데이터를 조합한 규칙을 생성하거나 수정하고, 생성되거나 수정된 규칙을 데이터베이스에 저장한 후, 실시간 이벤트 처리 모듈을 통해 다양한 도메인으로부터 실시간으로 발생하는 이벤트에 대하여 데이터베이스에 저장된 규칙과 비교하는 것이 아니라 실시간 이벤트 처리 모듈에서 해당 이벤트에 따른 규칙을 직접 관리하여 이벤트에 대한 트리거를 실시간으로 발생시켜 응답할 수 있도록 하는 새로운 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템을 제공하는 것을 목적으로 한다.Accordingly, the present invention collects original data input in real time from devices supporting the Internet of Things serving in various service target domains in accordance with the possibility of the IFTTT service and the concept of the Internet of Things in order to improve the problems of the prior art. After creating or modifying a rule that combines the original data converted into EPL syntax and action data set to perform actions according to the conditions and conditions defined by the administrator, and saves the created or modified rules in the database, the real-time event Through the processing module, events generated in real time from various domains are not compared with the rules stored in the database. Instead, the rules for the corresponding events can be managed directly in the real-time event processing module to generate and respond to triggers in real time.Aims to provide a real-time event processing rule management system for the new IFTTT service.

상술한 목적을 달성하기 위한 본 발명의 특징에 의하면, 본 발명은 사물인터넷을 내장한 장치들을 이용하여 사용자에게 서비스를 제공하고 있는 서비스단말기(110);와 상기 서비스단말기(110)로부터 각 장치들에서 발생하는 원본데이터(Raw Data)를 수신하고, 수신한 원본데이터 또는 상기 원본데이터와 관리자가 장치별 조건과 해당 조건에 따른 액션을 설정한 액션데이터(Action Data)를 조합한 이벤트데이터를 서버(130)에 전송하는 클라이언트(120);와 상기 클라이언트(120)로부터 전송된 이벤트데이터를 EPL포맷으로 변환하여 이벤트처리 규칙을 생성하여 데이터베이스에 저장하고, 상기 클라이언트(120)로부터 새로운 원본데이터를 수신하면 상기 이벤트처리 규칙과 비교하여 조건을 만족하면 이벤트를 발생시키는 트리거에 의해 외부장치(140)에 일정한 액션을 수행하도록 액션데이터를 전송하는 서버(130); 및 상기 서버(130)로부터 전송된 액션데이터에 따라 해당 장치의 기능에 따라 특정한 처리를 수행하는 외부장치(140);를 포함하는 구성으로 이루어지는 것을 특징으로 하는 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템을 제공한다.According to a feature of the present invention for achieving the above object, the present invention provides a service terminal 110 for providing a service to a user by using a device with a built-in Internet of Things; and each device from the service terminal 110 Receive the raw data (Raw Data) generated from the, the source data or event data that combines the original data and the action data (Action Data) that the administrator set the action according to the device conditions and the corresponding conditions (server) 130 to transmit to the client; and converts the event data transmitted from the client 120 to the EPL format to generate an event processing rule to store in the database, when receiving new original data from the client 120 Compared to the event processing rule, if a condition is satisfied, a predetermined action is applied to the external device 140 by a trigger that generates an event. A server 130 transmitting action data to perform; And an external device 140 for performing a specific process according to the function of the corresponding device according to the action data transmitted from the server 130. Real-time event processing rule management system for the IFTTT service, characterized in that the configuration comprising a. To provide.

이와 같은 본 발명에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 상기 서비스단말기(110)는 홈오토메이션서비스를 구성하는 다양한 제품으로부터 발생하는 기초데이터를 수집하여 상기 클라이언트(120)에 전송하는 홈서버(111);와 헬스케어서비스를 제공하는 다양한 신체의 측정장치로부터 발생하는 기초데이터를 수집하여 상기 클라이언트(120)에 전송하는 휴대단말기(112); 및 스마트팩토리서비스를 구성하는 다양한 계측장비로부터 발생하는 기초데이터를 수집하여 상기 클라이언트(120)에 전송하는 팩토리서버(113);를 포함하는 구성으로 이루어지는 것을 특징으로 한다.The service terminal 110 of the real-time event processing rule management system for the IFTTT service according to the present invention collects the basic data generated from various products constituting the home automation service and transmits it to the client 120 (111); and a mobile terminal 112 for collecting the basic data generated from the measuring device of the various body providing the health care service to the client 120; And a factory server 113 which collects basic data generated from various measuring devices constituting the smart factory service and transmits the collected basic data to the client 120.

이와 같은 본 발명에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 상기 클라이언트(120)는 상기 서비스단말기(110)로부터 전송된 각 서비스별 원본데이터를 수신하는 데이터수신기(121);와 관리자로부터 특정조건에 대한 내용과 해당 조건을 만족하는 경우에 발생하는 액션을 설정받아 특정조건 및 액션에 관한 액션데이터를 생성하는 액션데이터설정기(122);와 상기 데이터수신기(121) 또는 액션데이터설정기(122)로부터 전송받은 원본데이터와 액션데이터를 조합한 이벤트데이터를 생성하는 이벤트생성기(123);와 상기 데이터수신기(121)를 통해 수신한 원본데이터 또는 상기 이벤트생성기(123)로부터 생성된 이벤트데이터를 상기 서버(130)에 전송하는 데이터전송기(124);를 포함하는 구성으로 이루어지는 것을 특징으로 한다.The client 120 of the real-time event processing rule management system for the IFTTT service according to the present invention is a data receiver 121 for receiving the original data for each service transmitted from the service terminal 110; and from the administrator An action data setter 122 configured to receive the contents of the condition and the action occurring when the condition is satisfied and generate action data regarding a specific condition and the action; and the data receiver 121 or the action data setter ( An event generator 123 for generating event data combining original data and action data received from 122; and original data received through the data receiver 121 or event data generated from the event generator 123; And a data transmitter 124 for transmitting to the server 130.

이와 같은 본 발명에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 상기 서버(130)는 상기 클라이언트(120)로부터 전송된 원본데이터 또는 이벤트데이터를 EPL포맷의 이벤트처리 규칙으로 변환하는 룰매너저모듈(131);과 상기 룰매너저모듈(131)로부터 EPL포맷으로 변환된 이벤트데이터가 전송되면 이벤트처리 규칙을 생성하거나 수정하여 데이터베이스(133)에 저장하고, EPL포맷으로 변환된 원본데이터가 전송되면 이벤트처리 규칙과 비교하여 특정조건이 만족되면 이벤트처리 규칙에 따른 트리거에 따라 지정된 처리를 수행할 수 있도록 지시하는 액션데이터를 서버(130)에 접속된 장치에 전송하는 이벤트처리모듈(132); 및 상기 이벤트처리모듈(132)로부터 변환된 이벤트처리 규칙을 저장하는 데이터베이스(133);을 더 포함하는 구성으로 이루어지는 것을 특징으로 한다.The server 130 of the real-time event processing rule management system for the IFTTT service according to the present invention is a rule manager module for converting the original data or event data transmitted from the client 120 into an event processing rule of the EPL format. When the event data converted from the rule manager module 131 is transmitted to the EPL format, the event processing rule is generated or modified and stored in the database 133, and the original data converted into the EPL format is transmitted. An event processing module 132 for transmitting action data to a device connected to the server 130 instructing to perform a specified process according to a trigger according to the event processing rule when a specific condition is satisfied in comparison with the event processing rule; And a database 133 for storing the event processing rule converted from the event processing module 132.

이와 같은 본 발명에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 룰매너저모듈(131)의 EPL포맷은 어느 서비스단말기(110)로부터 전송되었는지 나타내는 도메인(Domain), 각 도메인에 포함되는 개체(Entity), 이벤트의 처리 시간 조건을 의미하는 타임(Time), 각 개체(Entity)의 조건 값을 나타내는 상태(Condition), 사용자가 설정한 이벤트처리 규칙에 따른 액션(Action)으로 이루어지는 것을 특징으로 한다.The EPL format of the rule manager module 131 of the real-time event processing rule management system for the IFTTT service according to the present invention is a domain indicating which service terminal 110 is transmitted, and an entity included in each domain ( Entity), a time representing a processing time condition of an event, a condition representing a condition value of each entity, and an action according to an event processing rule set by a user. .

이와 같은 본 발명에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 이벤트처리모듈(132)에서 이벤트처리 규칙의 트리거는 데이터의 순서를 나타내는 인덱스(Index), 이벤트처리 규칙의 순서를 나타내는 규칙아이디(RuleID), 상기 서비스단말기(110)를 통해 서비스를 제공받는 사용자 또는 장치의 명칭인 주체(Who), 상기 EPL포맷의 도메인(Domain)에 대응하는 이벤트(Event), 개체(Entity)에 대응하는 속성(Attribute), 타임(Time)에 대응하는 간격(Interval), 상태(Condition)에 대응하는 조건(Condition)으로 이루어지고, 상기 트리거에 따라 지정된 이벤트처리 규칙의 처리는 액션(Action)에 대응하는 것을 특징으로 한다.In the event processing module 132 of the real-time event processing rule management system for the IFTTT service according to the present invention, the trigger of the event processing rule is an index indicating the order of data, a rule ID indicating the order of the event processing rule ( RuleID), a subject that is a name of a user or a device receiving a service through the service terminal 110, an event corresponding to a domain of the EPL format, and an attribute corresponding to an entity. (Attribute), an interval corresponding to a time, and a condition corresponding to a condition, and the processing of an event processing rule specified according to the trigger corresponds to an action. It features.

본 발명에 의한 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템에 의하면, 종래의 사물 인터넷을 지원하는 장치들로부터 실시간으로 들어오는 원본 데이터를 처리함에 있어, 데이터베이스 기반의 데이터 처리방식을 수행하게 되어 원본데이터를 분석하고, 데이터베이스에 저장된 조건과 비교한 후 이에 대한 액션을 수행하여 처리상의 지연의 문제점을 별도의 실시간 이벤트 처리가 가능한 구조를 가진 규칙 관리 시스템을 통해 사물 인터넷을 지원하는 다양한 장치로부터 실시간으로 들어오는 수많은 데이터를 즉각적으로 처리할 수 있으며, 또한 전력량, 온도 값, 위치 정보와 같은 정형화된 데이터뿐만 아니라 CCTV, 마이크 등을 통해 실시간으로 들어오는 영상이나 이미지 및 소리 등과 같은 비정형화된 데이터를 포함한 다양한 사물 인터넷 기반의 장치로부터 발생하는 데이터에 대하여도 실시간으로 처리할 수 있는 장점이 있다.According to the real-time event processing rule management system for the IFTTT service according to the present invention, in processing the original data coming in real time from the devices that support the conventional Internet of Things, the database-based data processing method is performed to perform the original data It analyzes, compares with the conditions stored in the database, and then performs actions on them. The data can be processed immediately, and the Internet of Things can contain not only standardized data such as power, temperature, and location information, but also unstructured data such as video, images, and sound coming in real time through CCTV and microphones. There is an advantage that can be processed in real time with respect to the data generated from the base device.

도 1은 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 구성도;
도 2는 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서비스단말기 중 홈서버에 대한 구성도;
도 3은 본 발명의 실시예에 따른 FTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서비스단말기 중 휴대단말기에 대한 구성도;
도 4는 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서비스단말기 중 팩토리서버에 대한 구성도;
도 5는 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 클라이언트에 대한 구성도;
도 6은 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서버에 대한 구성도;
도 7은 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 데이터베이스에 대한 저장되는 규칙포맷의 예시도;이다.
1 is a block diagram of a real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention;
2 is a block diagram of a home server in a service terminal of a real-time event processing rule management system for an IFTTT service according to an embodiment of the present invention;
3 is a block diagram of a mobile terminal of a service terminal of a real-time event processing rule management system for FTTT service according to an embodiment of the present invention;
4 is a configuration diagram of a factory server in the service terminal of the real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention;
5 is a block diagram of a client of a real time event processing rule management system for an IFTTT service according to an embodiment of the present invention;
6 is a block diagram of a server of a real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention;
7 is an exemplary diagram of stored rule formats for a database of a real time event processing rule management system for an IFTTT service.

본 발명을 충분히 이해하기 위해서 본 발명의 바람직한 실시예를 첨부된 도 1 내지 도 7에 의거하여 상세히 설명한다. 본 발명의 실시예는 여러 가지 형태로 변형될 수 있으며, 본 발명의 범위가 아래에서 상세히 설명하는 실시예로 한정되는 것으로 해석되어서는 안 된다. 본 실시예는 당업계에서 통상적인 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위하여 제공 되는 것이다. 따라서 도면에서의 요소의 형상 등은 보다 명확한 설명을 강조하기 위해서 과장되어 표현될 수 있다. 각 도면에서 동일한 부재는 동일한 참조부호로 도시한 경우가 있음을 유의하여야 한다. 한편, 도면과 상세한 설명에서 사물 인터넷, 클라이언트, 서버 및 데이터베이스 등 이 분야의 종사자들이 용이하게 알 수 있는 구성 및 작용에 대한 도시 및 언급은 간략히 하거나 생략하였다. 특히, 도면의 도시 및 상세한 설명에 있어서 본 발명의 기술적 특징과 직접적으로 연관되지 않는 요소의 구체적인 기술적 구성 및 작용에 대한 상세한 설명 및 도시는 생략하고, 본 발명과 관련되는 기술적 구성만을 간략하게 도시하거나 설명하였다. 하기에서 본 발명을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 수 있다.In order to fully understand the present invention, preferred embodiments of the present invention will be described in detail with reference to FIGS. Embodiment of the present invention may be modified in various forms, the scope of the invention should not be construed as limited to the embodiments described in detail below. This embodiment is provided to more completely explain the present invention to those skilled in the art. Therefore, the shape of the elements in the drawings and the like may be exaggerated to emphasize a more clear description. It should be noted that the same members in each drawing are sometimes shown with the same reference numerals. Meanwhile, in the drawings and the detailed description, the illustration and the description of the configuration and operation that can be easily understood by those skilled in the art such as the Internet of Things, a client, a server, and a database are briefly or omitted. In particular, in the drawings and detailed description of the drawings, detailed descriptions and illustrations of specific technical configurations and operations of elements not directly related to technical features of the present invention will be omitted, and only the technical configurations related to the present invention will be briefly shown. Explained. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description may be omitted.

도 1은 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 구성도이다.1 is a block diagram of a real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 이벤트 처리 규칙 관리 시스템(100)은 서비스단말기(110), 클라이언트(120), 서버(130) 및 외부장치(140)를 포함하는 구성으로 이루어진다. 이벤트 처리 규칙 관리 시스템(100)은 실시간으로 전송되는 서비스단말기(110)로부터 전송되는 원본데이터로부터 관리자가 설정한 특정한 액션을 수행할 수 있도록 이벤트 처리 규칙을 생성하고 생성된 규칙에 따라 일정한 액션을 수행하여 처리한다.As shown in FIG. 1, the event processing rule management system 100 is configured to include a service terminal 110, a client 120, a server 130, and an external device 140. The event processing rule management system 100 generates an event processing rule to perform a specific action set by an administrator from the original data transmitted from the service terminal 110 transmitted in real time, and performs a predetermined action according to the generated rule. To be treated.

서비스단말기(110)는 홈서버(111), 휴대단말기(112) 및 팩토리서버(113)를 포함하는 구성으로 이루어진다. 서비스단말기(110)는 사물인터넷을 내장한 장치들을 이용하여 사용자에게 다양한 서비스를 제공하고 있는 것으로, 다양한 서비스를 제공하기 위하여 복수 개로 이루어질 수 있다.The service terminal 110 is configured to include a home server 111, a mobile terminal 112, and a factory server 113. The service terminal 110 provides various services to the user by using devices in which the IoT is embedded, and may be provided in plurality in order to provide various services.

도 2는 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서비스단말기 중 홈서버에 대한 구성도이다.2 is a block diagram of a home server in a service terminal of a real-time event processing rule management system for an IFTTT service according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 홈서버(111)는 홈오토메이션서비스를 구성하는 다양한 제품으로부터 발생하는 기초데이터를 수집하여 상기 클라이언트(120)에 전송한다. 홈서버(111)는 가정 내에서 사용자에게 서비스를 제공하는 있는 사물인터넷이 내장된 다양한 제품을 모니터링하거나 제어하는 장치이다. As shown in FIG. 2, the home server 111 collects basic data generated from various products constituting the home automation service and transmits the basic data to the client 120. The home server 111 is a device for monitoring or controlling various products in which the IoT is provided to provide a service to a user in a home.

홈서버(111)는 가정내에 보일러을 작동시키거나, TV의 전원을 제어하거나, 가정내 전등을 제어하는 등 사용자가 접속하여 가정에 생활에 필요한 다양한 제품을 모니터링하여 필요에 따라 제어할 수 있다. 홈서버(111)는 모니터링이나 제어의 대상이 되는 다양한 가전제품들로부터 이벤트발생과 관련된 기초데이터를 수집하게 되고, 이를 상기 클라이언트(120)에 전송한다.The home server 111 may operate a boiler in the home, control the power of the TV, or control the lights in the home, such as to monitor a variety of products necessary for life in the home and control as needed. The home server 111 collects basic data related to event generation from various home appliances that are to be monitored or controlled, and transmits the basic data to the client 120.

도 3은 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서비스단말기 중 휴대단말기에 대한 구성도이다.3 is a block diagram of a mobile terminal of a service terminal of a real-time event processing rule management system for an IFTTT service according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 휴대단말기(112)는 헬스케어서비스를 제공하는 다양한 신체의 측정장치로부터 발생하는 기초데이터를 수집하여 상기 클라이언트(120)에 전송한다. 휴대단말기(112)는 사용자들이 운동을 하거나 활동 중에 자신의 건강과 관련된 신체상의 변화를 지속적으로 확인할 수 있도록 다양한 신체에 대한 측정장치에 사물인터넷이 가능한 기능이 포함된다. As shown in FIG. 3, the mobile terminal 112 collects basic data generated from various measurement devices of a body that provides a healthcare service and transmits the basic data to the client 120. The mobile terminal 112 includes a function of enabling the IoT on a measuring device for various bodies so that users can continuously check physical changes related to their health during exercise or activity.

이에 휴대단말기(112)는 일반적으로 사용자들이 휴대할 수 있고, 상기의 신체의 내부 또는 외부에 부착된 측정장치와 근거리통신을 통해 측정장치로부터 발생하는 기초데이터를 수집하게 되고, 이를 상기 클라이언트(120)에 전송한다.In this regard, the mobile terminal 112 is generally portable by users, and collects basic data generated from the measuring device through short-range communication with a measuring device attached to the inside or outside of the body, and the client 120. To be sent).

도 4는 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서비스단말기 중 팩토리서버에 대한 구성도이다.4 is a configuration diagram of a factory server in the service terminal of the real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention.

도 4에 도시된 바와 같이, 팩토리서버(113)는 스마트팩토리서비스를 구성하는 다양한 계측장비로부터 발생하는 기초데이터를 수집하여 상기 클라이언트(120)에 전송한다. 팩토리서버(113)는 공장에서의 자동화시스템과 관련하여 제품을 제조하는 공정에서 생산설비나 이동수단의 제어를 위해 다양한 계측장비들을 통해 실시간 모니터링이 이루어진다.As shown in FIG. 4, the factory server 113 collects basic data generated from various measurement devices constituting the smart factory service and transmits the basic data to the client 120. Factory server 113 is a real-time monitoring through a variety of measuring equipment for the control of the production equipment or transportation means in the process of manufacturing a product in relation to the automation system in the factory.

팩토리서버(113)는 계측장비들로부터 전송되는 계측장비별 기초데이터를 수집하여 상기 클라이언트(120)에 전송한다.The factory server 113 collects basic data for each measurement device transmitted from the measurement devices and transmits the basic data to the client 120.

서비스단말기(110)는 홈서버(111), 휴대단말기(112) 및 팩토리서버(113)와 같이 사용자에게 서비스되는 기술분야에 따라 해당하는 서비스를 제공하기 위하여 구동되는 사물인터넷이 내장된 장치들에 대하여 개별적 또는 집합적으로 모니터링하여 기초데이터를 수집하고, 통신이 가능한 장치를 포함할 수 있다.The service terminal 110 may be provided with devices in which the IoT is driven to provide a corresponding service according to a technical field serviced to a user, such as a home server 111, a portable terminal 112, and a factory server 113. The basic data may be monitored individually or collectively to collect basic data, and may include a device capable of communicating.

도 5는 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 클라이언트에 대한 구성도이다.5 is a block diagram of a client of a real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 클라이언트(120)는 데이터수신기(121), 액션데이터설정기(122), 이벤트생성기(123) 및 데이터전송기(124)를 포함하는 구성으로 이루어진다. 클라이언트(120)는 상기 서비스단말기(110)로부터 각 장치들에서 발생하는 원본데이터(Raw Data)를 수신하고, 수신한 원본데이터 또는 상기 원본데이터와 관리자가 장치별 조건과 해당 조건에 따른 액션을 설정한 액션데이터(Action Data)를 조합한 이벤트데이터를 서버(130)에 전송한다.As shown in FIG. 5, the client 120 is configured to include a data receiver 121, an action data setter 122, an event generator 123, and a data transmitter 124. Client 120 receives the raw data (Raw Data) generated in each device from the service terminal 110, and the received original data or the original data and the administrator set the conditions for each device and the action according to the conditions The event data in which one action data is combined is transmitted to the server 130.

데이터수신기(121)는 상기 서비스단말기(110)로부터 전송된 각 서비스별 원본데이터를 수신한다. 데이터수신기(121)에서 수신되는 원본데이터는 각 서비스별로 설정된 데이터포맷으로 전송될 수 있다.The data receiver 121 receives original data for each service transmitted from the service terminal 110. The original data received by the data receiver 121 may be transmitted in a data format set for each service.

액션데이터설정기(122)는 관리자로부터 특정조건에 대한 내용과 해당 조건을 만족하는 경우에 발생하는 액션을 설정받아 특정조건 및 액션에 관한 액션데이터를 생성한다. 액션데이터설정기(122)는 관리자가 상기 서비스단말기(110)에 연결된 다양한 제품이나 측정장치, 생산설비 및 계측장비로부터 전송된 원본데이터를 통해 특정 이벤트발생에 관한 특정조건을 만족하는 경우에 어떤 액션을 취할 것인지에 대한 액션데이터를 생성한다. The action data setter 122 receives the contents of a specific condition from the administrator and an action generated when the condition is satisfied, and generates action data about the specific condition and the action. Action data setter 122 is a certain action when the administrator meets a specific condition related to the occurrence of a specific event through the original data transmitted from the various products or measuring devices, production equipment and measurement equipment connected to the service terminal 110 Create action data about whether to take

예를 들어 헬스케어를 받고 있는 노인의 휴대단말기(112)로부터 측정장치의 측정된 데이터에서 심박수가 1분 동안 120회가 넘으면 액션으로 휴대단말기(112)를 통해 등록된 병원이나 응급센터를 전화가 가도록 설정하거나 가정 내의 설치된 다른 확성장치나 전화선 등을 통해 주위에 알리거나 담당하시는 구청의 관리사에게 연락을 취하게 하도록 설정할 수 있다. 이와 같이, 액션데이터설정기(122)는 이벤트 처리 규칙 관리 시스템(100)에서 관리자가 서비스 규칙을 처음 생성하거나 수정하여 시스템을 초기화할 때 필요한 액션을 설정하는 것으로 규칙이 완료되면 액션데이터를 생성할 필요가 없다.For example, if the heart rate exceeds 120 times in one minute from the measured data of the measuring device from the mobile terminal 112 of an elderly person who is receiving health care, the phone calls the registered hospital or emergency center through the mobile terminal 112 as an action. It can be set up to go to your home, or to notify you through other loudspeakers or telephone lines in your home, or to contact the administrator at your ward office. As such, the action data setter 122 sets an action required when an administrator initializes the system by first creating or modifying a service rule in the event processing rule management system 100. no need.

이벤트생성기(123)는 상기 데이터수신기(121) 또는 액션데이터설정기(122)로부터 전송받은 원본데이터와 액션데이터를 조합한 이벤트데이터를 생성한다. 이벤트생성기(123)는 상기 데이터수신기(121)에서 수신한 각 서비스단말기(110)에 연결된 제품, 장치, 설비 및 장비를 통해 획득한 기초데이터와 기초데이터를 통해 생성된 특정조건과 액션에 관한 상기 액센데이터설정기(122)에서 생성한 액션데이터를 조합한다. 이벤트생성기(123)는 액션데이터설정기(122)로부터 액션데이터가 생성된 경우에 원본데이터와 조합을 위해 이용되는 것으로, 액션데이터가 없는 경우에는 별도도 이벤트데이트를 생성하지 않을 수 있다.The event generator 123 generates event data combining the original data and the action data received from the data receiver 121 or the action data setter 122. The event generator 123 may be configured for the specific conditions and actions generated through the basic data and the basic data acquired through the products, devices, facilities, and equipment connected to each service terminal 110 received from the data receiver 121. The action data generated by the accen data setter 122 is combined. The event generator 123 is used for combining with the original data when the action data is generated from the action data setter 122. If the event data is not present, the event generator 123 may not generate event data separately.

데이터전송기(124)는 상기 데이터수신기(121)를 통해 수신한 원본데이터 또는 상기 이벤트생성기(123)로부터 생성된 이벤트데이터를 상기 서버(130)에 전송한다. 데이터전송기(124)는 사물인터넷에서 실시간으로 지속적으로 발생하는 원본데이터 또는 이벤트데이터를 전송하기 위해서 고속의 전송이 필요하다.The data transmitter 124 transmits the original data received through the data receiver 121 or the event data generated from the event generator 123 to the server 130. The data transmitter 124 needs a high speed transmission in order to transmit original data or event data continuously occurring in real time in the IoT.

도 6은 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 서버에 대한 구성도이다.6 is a block diagram of a server of a real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 서버(130)는 룰매너저모듈(131), 이벤트처리모듈(132) 및 데이터베이스(133)를 포함하는 구성으로 이루어진다. 서버(130)는 상기 클라이언트(120)로부터 전송된 이벤트데이터를 EPL포맷으로 변환하여 이벤트처리 규칙을 생성하여 데이터베이스에 저장하고, 상기 클라이언트(120)로부터 새로운 원본데이터를 수신하면 상기 이벤트처리 규칙과 비교하여 조건을 만족하면 이벤트를 발생시키는 트리거에 의해 외부장치(140)에 일정한 액션을 수행하도록 액션데이터를 전송한다.As shown in FIG. 6, the server 130 includes a rule manager module 131, an event processing module 132, and a database 133. The server 130 converts the event data transmitted from the client 120 into the EPL format, generates an event processing rule, stores the event processing rule in a database, and compares the event data with the event processing rule when new original data is received from the client 120. When the condition is satisfied, the action data is transmitted to perform a certain action to the external device 140 by the trigger for generating the event.

룰매너저모듈(131)은 상기 클라이언트(120)로부터 전송된 원본데이터 또는 이벤트데이터를 EPL포맷의 이벤트처리 규칙으로 변환한다. 룰매너저모듈(131)은 상기 클라이언트(120)로부터 원본데이터가 전송되면 각 서비스단말기(110)에 연결된 제품, 측정장치, 생산설비 및 계측장비로 구분하여 EPL포맷에 따라 데이터를 변환하고, 이벤트데이터가 전송되면 이벤트데이터로부터 EPL포맷으로 변환하여 조건과 액션을 부가한 이벤트처리 규칙을 생성하거나 수정한다.The rule manager module 131 converts original data or event data transmitted from the client 120 into an event processing rule of an EPL format. When the rule manager module 131 transmits the original data from the client 120, the rule manager module 131 converts the data according to the EPL format by dividing it into a product, a measuring device, a production facility, and a measurement device connected to each service terminal 110, and eventing. When data is transmitted, it converts from event data into EPL format to create or modify event handling rules with conditions and actions.

상기 룰매너저모듈(131)의 EPL포맷은 어느 서비스단말기(110)로부터 전송되었는지 나타내는 도메인(Domain) 즉, 서비스단말기(110)의 종류과 각 도메인에 포함되는 개체(Entity) 다시말해 서비스단말기(110)에 연결된 제품, 측정장치, 생산설비 및 계측장비의 측정 대상, 예를 들어, 위치, 심박수, 걸음수, 회전율, 모터속도, 온도, 습도, 전력량 등과 같은 측정 대상과 측정 시간 즉 이벤트의 시간 조건을 의미하는 타임(Time)과 각 개체(Entity)의 조건 값을 나타내는 상태(Condition) 예를 들어, 심박수가 120회보다 높거나 걸음수가 200보 이하와 같은 조건 및 상기 조건에 따라 사용자가 설정한 이벤트처리 규칙에 따른 액션(Action)으로 이루어진다.The EPL format of the rule manager module 131 is a domain indicating which service terminal 110 is transmitted, that is, a type of the service terminal 110 and an entity included in each domain, that is, a service terminal 110. ), The measuring object such as position, heart rate, steps, turnover, motor speed, temperature, humidity, power, etc. Condition indicating the time and condition value of each entity.For example, the heart rate is higher than 120 times or the pace is 200 steps or less, and the condition set by the user It consists of actions according to event handling rules.

이벤트처리모듈(132)은 상기 룰매너저모듈(131)로부터 EPL포맷으로 변환된 이벤트데이터가 전송되면 이벤트처리 규칙을 생성하거나 수정하여 데이터베이스(133)에 저장하고, EPL포맷으로 변환된 원본데이터가 전송되면 이벤트처리 규칙과 비교하여 특정조건이 만족되면 이벤트처리 규칙에 따른 트리거에 따라 지정된 처리를 수행할 수 있도록 지시하는 액션데이터를 서버(130)에 접속된 장치에 전송한다.When the event data converted from the rule manager module 131 is converted into the EPL format, the event processing module 132 generates or modifies an event processing rule and stores it in the database 133, and the original data converted into the EPL format is stored. When transmitted, when the specific condition is satisfied, the action data is transmitted to the device connected to the server 130 instructing to perform the designated processing according to the trigger according to the event processing rule.

상기 이벤트처리모듈(132)에서 이벤트처리 규칙의 트리거는, 데이터의 순서를 나타내는 인덱스(Index), 이벤트처리 규칙의 순서를 나타내는 규칙아이디(RuleID), 상기 서비스단말기(110)를 통해 서비스를 제공받는 사용자 또는 장치의 명칭인 주체(Who), 상기 EPL포맷의 도메인(Domain)에 대응하는 이벤트(Event), 개체(Entity)에 대응하는 속성(Attribute), 타임(Time)에 대응하는 간격(Interval), 상태(Condition)에 대응하는 조건(Condition)으로 이루어진다.The trigger of the event processing rule in the event processing module 132, the index (Index) indicating the order of the data, the rule ID (RuleID) indicating the order of the event processing rule, receives the service through the service terminal 110 Who, which is the name of a user or device, an event corresponding to a domain of the EPL format, an attribute corresponding to an entity, and an interval corresponding to a time. It is composed of a condition corresponding to a condition.

또한 상기 트리거에 따라 지정된 이벤트처리 규칙의 처리는 액션(Action)에 대응한다.In addition, processing of the event processing rule specified according to the trigger corresponds to an action.

도 7은 본 발명의 실시예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템의 데이터베이스에 대한 저장되는 규칙포맷의 예시도이다.7 is an exemplary diagram of stored rule formats for a database of a real time event processing rule management system for an IFTTT service according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 데이터베이스(133)는 상기 이벤트처리모듈(132)로부터 변환된 이벤트처리 규칙을 저장한다. 데이터베이스(133)는 상기 이벤트처리모듈(132)로부터 전송된 이벤트처리 규칙에 대한 데이터 인덱스(Index)와 규칙의 순서에 따라 규칙아이디(RuleID)를 자동으로 부여하고, 장치에 접속하여 서비스를 제공받는 사용자 또는 장치의 명칭(Who), 도메인에 해당하는 사용된 장치명(Event)과 개체에 해당하는 장치의 속성(Attribute), 상기 속성의 상태에 해당하는 값(Values)과 등호(Eq)와 타임에 해당하는 타임(Time) 및 상기 속성의 상태에 따라 수행하는 액션(Action)이 저장된다.As shown in FIG. 7, the database 133 stores the event processing rule converted from the event processing module 132. The database 133 automatically grants a rule ID according to the data index and the order of the rule transmitted from the event processing module 132 and receives the service by accessing the device. The name of the user or device (Who), the device name (Event) used for the domain, the attribute of the device corresponding to the object, the values (Eq) and the time (Eq) corresponding to the state of the attribute. An action performed according to a corresponding time and a state of the attribute is stored.

외부장치(140)는 상기 서버(130)로부터 전송된 액션데이터에 따라 해당 장치의 기능에 따라 특정한 처리를 수행한다. 예를 들어 건강이 좋지 않은 독거노인의 헬스케어서비스에서 건강상의 문제가 특정 조건에 해당하는 경우 이를 가정에 설치된 외부장치(140)인 확성장치를 통해 외부에 알릴 수 있도록 경고음을 발생하거나 노인분의 휴대폰과 같은 외부장치(140)를 통해 구청의 독거노인을 담당하는 직원에게 전화 또는 비상문자가 발송하도록 하는 등의 처리를 수행한다.The external device 140 performs specific processing according to the function of the device according to the action data transmitted from the server 130. For example, if a health problem corresponds to a specific condition in a health care service of an elderly person living in poor health, a warning sound may be generated to notify the outside through an amplification device, which is an external device 140 installed in a home, or a mobile phone of an elderly person. Through such an external device 140, such as to handle the telephone or emergency letters sent to the employee in charge of the elderly living alone in the ward office.

상술한 바와 같은, 본 발명의 실시 예에 따른 IFTTT 서비스를 위한 실시간 이벤트 처리 규칙 관리 시스템을 상기한 설명 및 도면에 따라 도시하였지만, 이는 예를 들어 설명한 것에 불과하며 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능하다는 것을 이 분야의 통상적인 기술자들은 잘 이해할 수 있을 것이다.As described above, the real-time event processing rule management system for the IFTTT service according to an embodiment of the present invention is shown according to the above description and drawings, but this is only an example and is not limited to the scope of the present invention. It will be apparent to those skilled in the art that various changes and modifications can be made therein.

이상과 같이, 본 명세서와 도면에는 본 발명의 바람직한 실시예에 대하여 개시하였으며, 비록 특정 용어들이 사용되었으나, 이는 단지 본 발명의 기술 내용을 쉽게 설명하고 발명의 이해를 돕기 위한 일반적인 의미에서 사용된 것이지, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시예 외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다.As described above, the present specification and drawings have been described with respect to preferred embodiments of the present invention, although specific terms are used, it is only used in a general sense to easily explain the technical contents of the present invention and to help the understanding of the present invention. It is not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention can be carried out in addition to the embodiments disclosed herein.

100 : 이벤트 처리 규칙 관리 시스템 110 : 서비스단말기
111 : 홈서버 112 : 휴대단말기
113 : 팩토리서버 120 : 클라이언트
121 : 데이터수신기 122 : 액션데이터설정기
123 : 이벤트생성기 124 : 데이터전송기
130 : 서버 131 : 룰매너저모듈
132 : 이벤트처리모듈 133 : 데이터베이스
140 : 외부장치
100: event processing rule management system 110: service terminal
111: home server 112: mobile terminal
113: Factory server 120: Client
121: data receiver 122: action data setter
123: event generator 124: data transmitter
130: server 131: rule manager module
132: event processing module 133: database
140: external device

Claims (6)

홈오토메이션서비스를 구성하는 다양한 제품으로부터 발생하는 기초데이터를 수집하여 클라이언트(120)에 전송하는 홈서버(111); 헬스케어서비스를 제공하는 신체의 측정장치로부터 발생하는 기초데이터를 수집하여 클라이언트(120)에 전송하는 휴대단말기(112); 및 스마트팩토리서비스를 구성하는 계측장비로부터 발생하는 기초데이터를 수집하여 클라이언트(120)에 전송하는 팩토리서버(113);를 포함하는 구성으로 이루어지고, 사물인터넷을 내장한 장치들을 이용하여 사용자에게 서비스를 제공하고 있는 서비스단말기(110);
상기 서비스단말기(110)로부터 전송된 각 서비스별 원본데이터를 수신하는 데이터수신기(121); 관리자로부터 특정조건에 대한 내용과 해당 조건을 만족하는 경우에 발생하는 액션을 설정받아 특정조건 및 액션에 관한 액션데이터를 생성하는 액션데이터설정기(122); 상기 데이터수신기(121) 또는 액션데이터설정기(122)로부터 전송받은 원본데이터와 액션데이터를 조합한 이벤트데이터를 생성하는 이벤트생성기(123); 및 상기 데이터수신기(121)를 통해 수신한 원본데이터 또는 상기 이벤트생성기(123)로부터 생성된 이벤트데이터를 서버(130)에 전송하는 데이터전송기(124);를 포함하는 구성으로 이루어지고, 상기 서비스단말기(110)로부터 각 장치들에서 발생하는 원본데이터(Raw Data)를 수신하고, 수신한 원본데이터 또는 상기 원본데이터와 관리자가 장치별 조건과 해당 조건에 따른 액션을 설정한 액션데이터(Action Data)를 조합한 이벤트데이터를 서버(130)에 전송하는 클라이언트(120);
클라이언트(120)로부터 전송된 원본데이터 또는 이벤트데이터를 EPL포맷의 이벤트처리 규칙으로 변환하는 룰매너저모듈(131); 상기 룰매너저모듈(131)로부터 EPL포맷으로 변환된 이벤트데이터가 전송되면 이벤트처리 규칙을 생성하거나 수정하여 데이터베이스(133)에 저장하고, EPL포맷으로 변환된 원본데이터가 전송되면 이벤트처리 규칙과 비교하여 특정조건이 만족되면 이벤트처리 규칙에 따른 트리거에 따라 지정된 처리를 수행할 수 있도록 지시하는 액션데이터를 서버(130)에 접속된 장치에 전송하는 이벤트처리모듈(132); 및 상기 이벤트처리모듈(132)로부터 변환된 이벤트처리 규칙을 저장하는 데이터베이스(133);를 포함하는 구성으로 이루어지고, 클라이언트(120)로부터 전송된 이벤트데이터를 EPL포맷으로 변환하여 이벤트처리 규칙을 생성하여 데이터베이스에 저장하고, 클라이언트(120)로부터 새로운 원본데이터를 수신하면 상기 이벤트처리 규칙과 비교하여 조건을 만족하면 이벤트를 발생시키는 트리거에 의해 외부장치(140)에 일정한 액션을 수행하도록 액션데이터를 전송하는 서버(130); 및
상기 서버(130)로부터 전송된 액션데이터에 따라 해당 장치의 기능에 따라 특정한 처리를 수행하는 외부장치(140);를 포함하는 구성으로 이루어진 것을 특징으로 하는 IFTTT서비스를 위한 실시간 이벤트 처리 규칙 관리시스템.
A home server 111 for collecting basic data generated from various products constituting the home automation service and transmitting the collected data to the client 120; A mobile terminal 112 for collecting basic data generated from a measurement device of a body providing a healthcare service and transmitting the collected data to the client 120; And a factory server 113 which collects basic data generated from the measurement equipment constituting the smart factory service and transmits the collected data to the client 120. The service is provided to a user by using devices incorporating the Internet of Things. Providing a service terminal 110;
A data receiver 121 for receiving original data for each service transmitted from the service terminal 110; An action data setter 122 that receives the contents of the specific condition from the administrator and the action occurring when the condition is satisfied, and generates action data regarding the specific condition and the action; An event generator 123 for generating event data combining original data and action data received from the data receiver 121 or the action data setter 122; And a data transmitter 124 for transmitting the original data received through the data receiver 121 or the event data generated from the event generator 123 to the server 130. Receive original data (Raw Data) generated in each device from (110), and receives the received original data or Action Data that the administrator sets the conditions for each device and the action according to the conditions Client 120 for transmitting the combined event data to the server 130;
A rule manager module 131 for converting original data or event data transmitted from the client 120 into an event processing rule in an EPL format; When the event data converted into the EPL format is transmitted from the rule manager module 131, the event processing rule is generated or modified and stored in the database 133. The event processing module 132 for transmitting the action data to the device connected to the server 130 instructing to perform the specified processing according to the trigger according to the event processing rule when the specific condition is satisfied; And a database 133 for storing the event processing rule converted from the event processing module 132. The event processing rule is generated by converting the event data transmitted from the client 120 into the EPL format. Storing the data in a database, and transmitting the action data to perform a certain action to the external device 140 by a trigger that generates an event when the condition is satisfied when the condition is satisfied when the new original data is received from the client 120. Server 130; And
Real-time event processing rule management system for the IFTTT service, characterized in that consisting of; an external device for performing a specific process according to the function of the device according to the action data transmitted from the server (130).
삭제delete 삭제delete 삭제delete 제 1 항에 있어서,
상기 룰매너저모듈(131)의 EPL포맷은,
어느 서비스단말기(110)로부터 전송되었는지 나타내는 도메인(Domain), 각 도메인에 포함되는 개체(Entity), 이벤트의 처리 시간 조건을 의미하는 타임(Time), 각 개체(Entity)의 조건 값을 나타내는 상태(Condition), 사용자가 설정한 이벤트처리 규칙에 따른 액션(Action)으로 이루어지는 것을 특징으로 하는 IFTTT서비스를 위한 실시간 이벤트 처리 규칙 관리시스템.
The method of claim 1,
The EPL format of the rule manager module 131 is
Domain indicating which service terminal 110 is transmitted from, entity included in each domain, time indicating processing time condition of event, status indicating condition value of each entity ( Condition), real-time event processing rule management system for the IFTTT service, characterized in that the action (action) according to the event processing rules set by the user.
제 1 항에 있어서,
상기 이벤트처리모듈(132)에서,
이벤트처리 규칙의 트리거는, 데이터의 순서를 나타내는 인덱스(Index), 이벤트처리 규칙의 순서를 나타내는 규칙아이디(RuleID), 상기 서비스단말기(110)를 통해 서비스를 제공받는 사용자 또는 장치의 명칭인 주체(Who), 상기 EPL포맷의 도메인(Domain)에 대응하는 이벤트(Event), 개체(Entity)에 대응하는 속성(Attribute), 타임(Time)에 대응하는 간격(Interval), 상태(Condition)에 대응하는 조건(Condition)으로 이루어지고,
상기 트리거에 따라 지정된 이벤트처리 규칙의 처리는 액션(Action)에 대응하는 것을 특징으로 하는 IFTTT서비스를 위한 실시간 이벤트 처리 규칙 관리시스템.
The method of claim 1,
In the event processing module 132,
The trigger of an event processing rule may include an index indicating an order of data, a rule ID indicating an order of an event processing rule, and a subject which is a name of a user or a device that receives a service through the service terminal 110. Who, Event corresponding to Domain of EPL Format, Attribute corresponding to Entity, Interval corresponding to Time, Condition corresponding to Time Conditional,
The processing of the event processing rule specified according to the trigger corresponds to the action (Action), the real-time event processing rule management system for the IFTTT service.
KR1020180011466A 2018-01-30 2018-01-30 Realtiem Event Processing Rule Management System for IFTTT Service KR102040136B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180011466A KR102040136B1 (en) 2018-01-30 2018-01-30 Realtiem Event Processing Rule Management System for IFTTT Service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180011466A KR102040136B1 (en) 2018-01-30 2018-01-30 Realtiem Event Processing Rule Management System for IFTTT Service

Publications (2)

Publication Number Publication Date
KR20190092091A KR20190092091A (en) 2019-08-07
KR102040136B1 true KR102040136B1 (en) 2019-11-27

Family

ID=67621728

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180011466A KR102040136B1 (en) 2018-01-30 2018-01-30 Realtiem Event Processing Rule Management System for IFTTT Service

Country Status (1)

Country Link
KR (1) KR102040136B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113574482B (en) * 2019-08-30 2023-12-08 Oppo广东移动通信有限公司 Rule checking method and device and computer equipment
KR102252200B1 (en) * 2019-09-02 2021-05-14 주식회사 엘지유플러스 Device management server and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101588595B1 (en) 2015-11-16 2016-02-12 주식회사 에이웍스 AN INTEGRATED REMOTE CONTROLLER SUPPORTING INTERNET OF THINGS(IoT) AND THE CONTROL METHOD THEREOF
US20160241660A1 (en) 2014-08-26 2016-08-18 Hoang Nhu Sensors and systems for iot and ifttt applications and related methods
US20170076111A1 (en) 2015-09-11 2017-03-16 Stephen E. Overman Systems and Methods For Socializing Machines Using Autonomous Software Agents

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110035582A (en) 2009-09-30 2011-04-06 성신여자대학교 산학협력단 Structure of rule-base expert system for privacy violation certainty estimation
WO2016080558A1 (en) * 2014-11-17 2016-05-26 엘지전자 주식회사 Iot management device for carrying out condition modification mode and method for controlling same
KR20170089146A (en) * 2016-01-26 2017-08-03 전자부품연구원 Method for building a driving scenarios of internet of things equipment
KR101688812B1 (en) 2016-04-18 2016-12-22 (주)케이사인 Method and system of authorizing/managing iot device based on owner's authorization server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160241660A1 (en) 2014-08-26 2016-08-18 Hoang Nhu Sensors and systems for iot and ifttt applications and related methods
US20170076111A1 (en) 2015-09-11 2017-03-16 Stephen E. Overman Systems and Methods For Socializing Machines Using Autonomous Software Agents
KR101588595B1 (en) 2015-11-16 2016-02-12 주식회사 에이웍스 AN INTEGRATED REMOTE CONTROLLER SUPPORTING INTERNET OF THINGS(IoT) AND THE CONTROL METHOD THEREOF

Also Published As

Publication number Publication date
KR20190092091A (en) 2019-08-07

Similar Documents

Publication Publication Date Title
US10044857B2 (en) System and method for initiating an emergency response
US10978066B2 (en) Analyzing information to provide topic avoidance alerts
US10347373B2 (en) Intelligent integration, analysis, and presentation of notifications in mobile health systems
US20200186378A1 (en) Smart hub system
JP7265995B2 (en) Scalable system and method for monitoring and concierge services
US10354465B2 (en) Cognitive intercom assistant
CN109495533A (en) A kind of intelligent things network management system and method
US20080294020A1 (en) System and method for physlological data readings, transmission and presentation
US11146599B1 (en) Data stream processing to facilitate conferencing based on protocols
US9990826B1 (en) System for monitoring offender during correctional supervisory program
CN104954352A (en) Security system access detection
JP2016012364A (en) Method and system for remote management of security system
US10678941B2 (en) Privacy focused network sensor device object recognition
KR102066225B1 (en) Smart health care apparatus, system and method using artificial intelligence
KR102040136B1 (en) Realtiem Event Processing Rule Management System for IFTTT Service
US20200142770A1 (en) Internet of things appliance diagnostics
CN108985038A (en) A kind of login method and system, terminal of application program
US11720146B1 (en) Controlled-environment facility resident wearables and systems and methods for use
US11783948B2 (en) Cognitive evaluation determined from social interactions
CN105989218B (en) Informationized processing method and device
Plattner et al. A multi-sensory approach to acquire and process health and lifestyle information
US11477616B2 (en) Safety detection controller
CN112422479A (en) Equipment binding method, device and system
CAO et al. An os for internet of everything: Early experience from a smart home prototype
US20210352424A1 (en) Confirming Accessory Functionality

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant