KR20230055656A - Operation execution method using subscription/notification in data platform - Google Patents

Operation execution method using subscription/notification in data platform Download PDF

Info

Publication number
KR20230055656A
KR20230055656A KR1020210139294A KR20210139294A KR20230055656A KR 20230055656 A KR20230055656 A KR 20230055656A KR 1020210139294 A KR1020210139294 A KR 1020210139294A KR 20210139294 A KR20210139294 A KR 20210139294A KR 20230055656 A KR20230055656 A KR 20230055656A
Authority
KR
South Korea
Prior art keywords
operation execution
iot device
data platform
service application
execution request
Prior art date
Application number
KR1020210139294A
Other languages
Korean (ko)
Other versions
KR102547108B1 (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 KR1020210139294A priority Critical patent/KR102547108B1/en
Priority to PCT/KR2021/014589 priority patent/WO2023068392A1/en
Publication of KR20230055656A publication Critical patent/KR20230055656A/en
Application granted granted Critical
Publication of KR102547108B1 publication Critical patent/KR102547108B1/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An operation execution method using subscription/notification in a data platform is provided. The operation execution method according to an embodiment of the present invention, when receiving an operation execution request for the status information of an IoT device stored in a storage from a service application, notifies the IoT device of the received operation execution request. Accordingly, the operation execution method makes the IoT device perform the operation execution request for the status information of the IoT device by the service application by using the subscription/notification technique, thereby preventing errors due to simultaneous operation execution requests for the status information of the IoT device.

Description

데이터 플랫폼에서 구독/통지를 이용한 오퍼레이션 실행 방법{Operation execution method using subscription/notification in data platform}Operation execution method using subscription/notification in data platform}

본 발명은 M2M(Machine to Machine)/IoT(Internet of Things) 관련 기술에 관한 것으로, 더욱 상세하게는 데이터 플랫폼에서 IoT 디바이스의 상태 정보를 오퍼레이션 실행 요청하고 수행하는 방법에 관한 것이다.The present invention relates to a machine to machine (M2M) / Internet of Things (IoT) related technology, and more particularly, to a method for requesting and performing operation execution of state information of an IoT device in a data platform.

데이터 플랫폼은 IoT 디바이스에서 수집된 데이터들을 저장하는 한편, IoT 디바이스의 상태 정보들도 저장한다. 서비스 애플리케이션은 데이터 플랫폼에 수집된 IoT 디바이스의 데이터들을 획득하여 처리/분석하고, 그 결과를 토대로 IoT 디바이스를 제어하기 위해 데이터 플랫폼에 저장된 IoT 디바이스의 상태 정보를 변경한다.The data platform stores data collected from IoT devices, while also storing status information of IoT devices. The service application acquires and processes/analyzes IoT device data collected in the data platform, and changes state information of the IoT device stored in the data platform to control the IoT device based on the result.

IoT 디바이스의 데이터와 상태 정보는 데이터 플랫폼에서 IoT 디바이스에 할당된 저장소(이를 테면, 엔티티, 리소스 등)에 저장되는데, 상태 정보의 경우 속성 값으로 저장된다. IoT 디바이스의 상태를 나타내는 이 속성 값은 상태 마다 하나이다.Data and state information of the IoT device are stored in a storage (eg, entity, resource, etc.) allocated to the IoT device in the data platform, and state information is stored as an attribute value. The value of this attribute representing the state of the IoT device is one per state.

도 1에는 데이터 플랫폼(20)의 엔티티A에 IoT 디바이스(30)에서 수집된 데이터들이 저장되고, IoT 디바이스(30)의 GPS 상태(ON/OFF)가 속성1로 저장되는 것을 상정하였다. 한편, 도 1에 도시된 바와 같이, IoT 디바이스(30)는 최신 상태를 반영하기 위해 엔티티A의 속성1을 변경 요청할 수 있고, 서비스 애플리케이션(10)도 디바이스(30)를 제어하기 위해 엔티티A의 속성1을 변경 요청할 수 있다.1, it is assumed that data collected from the IoT device 30 is stored in entity A of the data platform 20, and the GPS state (ON/OFF) of the IoT device 30 is stored as attribute 1. Meanwhile, as shown in FIG. 1, the IoT device 30 may request to change attribute 1 of entity A to reflect the latest state, and the service application 10 may also request a change of entity A to control the device 30. Attribute 1 can be requested to be changed.

문제는 도 2에 도시된 바와 같이 서비스 애플리케이션(10)가 엔티티A의 속성1을 조회하여 OFF임을 확인하고 속성1을 변경 요청하였는데, 서비스 애플리케이션(10)의 조회와 변경 요청 사이에 IoT 디바이스(30)가 엔티티A의 속성1을 변경 요청한 경우이다. 이 경우, 서비스 애플리케이션(10)의 변경 요청에 의해 엔티티A의 속성1은 다시 원래대로 되고, 디바이스(30)는 엔티티A의 속성1이 다시 변경되었음을 통보 받게 된다.The problem is that, as shown in FIG. 2, the service application 10 inquires attribute 1 of entity A, confirms that it is OFF, and requests to change attribute 1. ) requests to change attribute 1 of entity A. In this case, according to the change request of the service application 10, the entity A's attribute 1 is returned to its original state, and the device 30 is notified that the entity A's attribute 1 has been changed again.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, 하나의 IoT 디바이스의 상태 정보에 대해 동시 오퍼레이션 실행 요청에 의한 오류를 방지하기 위한 방안으로, 구독/통지 기법을 이용하여 IoT 디바이스만이 데이터 플랫폼에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 수행하는 방법을 제공함에 있다.The present invention has been made to solve the above problems, and an object of the present invention is a method for preventing errors due to concurrent operation execution requests for state information of one IoT device, using a subscription/notification technique. Thus, only the IoT device provides a method for performing an operation execution request for the state information of the IoT device stored in the data platform.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 오퍼레이션 실행 방법은, 데이터 플랫폼이, 서비스 애플리케이션으로부터 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 수신하는 단계; 및 데이터 플랫폼이, 수신한 오퍼레이션 실행 요청을 IoT 디바이스에 통지하는 단계;를 포함한다.According to an embodiment of the present invention for achieving the above object, an operation execution method includes: receiving, by a data platform, an operation execution request for state information of an IoT device stored in a storage from a service application; and notifying, by the data platform, the received operation execution request to the IoT device.

본 발명의 실시예에 따른 오퍼레이션 실행 방법은, IoT 디바이스가, 통지된 오퍼레이션 실행 요청을 수행하는 단계;를 포함할 수 있다.An operation execution method according to an embodiment of the present invention may include performing, by an IoT device, a notified operation execution request.

그리고, 본 발명의 실시예에 따른 오퍼레이션 실행 방법은, 데이터 플랫폼이, 오퍼레이션 실행을 서비스 애플리케이션에 통지하는 단계;를 더 포함할 수 있다.Further, the operation execution method according to an embodiment of the present invention may further include notifying, by the data platform, of the operation execution to the service application.

본 발명의 실시예에 따른 오퍼레이션 실행 방법은, IoT 디바이스가, 통지된 오퍼레이션 실행을 거부하는 단계; 데이터 플랫폼이, 오퍼레이션 실행 거부를 서비스 애플리케이션에 통지하는 단계;를 더 포함할 수 있다.An operation execution method according to an embodiment of the present invention includes, by an IoT device, rejecting the notified operation execution; The data platform may further include notifying the service application of the refusal to execute the operation.

그리고, 오퍼레이션 실행 거부 통지 단계는, 오퍼레이션 실행 요청에 수록되어 있는, 오퍼레이션 실행 실패 통지 주소로 오퍼레이션 실행 거부를 통지할 수 있다.In the operation execution refusal notifying step, the operation execution refusal may be notified to an operation execution failure notification address included in the operation execution request.

본 발명의 실시예에 따른 오퍼레이션 실행 방법은, 서비스 애플리케이션이, 데이터 플랫폼 시스템의 저장소에서 IoT 디바이스의 상태 정보의 업데이트를 구독하는 단계;를 더 포함할 수 있다.The operation execution method according to an embodiment of the present invention may further include subscribing, by the service application, to updates of state information of IoT devices in a storage of a data platform system.

본 발명의 실시예에 따른 오퍼레이션 실행 방법은, IoT 디바이스가, 데이터 플랫폼 시스템의 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 구독하는 단계;를 더 포함할 수 있다.The operation execution method according to an embodiment of the present invention may further include, by the IoT device, subscribing to an operation execution request for state information of the IoT device stored in a storage of a data platform system.

IoT 디바이스는, 자신의 상태를 데이터 플랫폼 시스템의 저장소에 저장하고, 서비스 애플리케이션은, 데이터 플랫폼 시스템의 저장소를 통해 IoT 디바이스의 상태를 파악할 수 있다.The IoT device stores its state in the storage of the data platform system, and the service application can grasp the state of the IoT device through the storage of the data platform system.

서비스 애플리케이션은, 데이터 플랫폼 시스템의 저장소에서 IoT 디바이스의 상태를 오퍼레이션하여 IoT 디바이스의 상태를 제어할 수 있다.The service application may control the state of the IoT device by operating the state of the IoT device in the storage of the data platform system.

한편, 본 발명의 다른 실시예에 따른, 데이터 플랫폼은, 서비스 애플리케이션 및 IoT 디바이스와 통신하는 통신부; 통신부를 통해 서비스 애플리케이션으로부터 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 수신하면, 수신한 오퍼레이션 실행 요청을 통신부를 통해 IoT 디바이스에 통지하는 프로세서;를 포함한다.On the other hand, according to another embodiment of the present invention, the data platform, the communication unit for communicating with the service application and the IoT device; and a processor for notifying the IoT device of the received operation execution request through the communication unit when receiving an operation execution request for the state information of the IoT device stored in the storage from the service application through the communication unit.

한편, 본 발명의 다른 실시예에 따른, 오퍼레이션 실행 방법은, 서비스 애플리케이션이, 데이터 플랫폼의 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 데이터 플랫폼에 전송하는 단계; 및 데이터 플랫폼이, 수신한 오퍼레이션 실행 요청을 IoT 디바이스에 통지하는 단계;를 포함한다.On the other hand, according to another embodiment of the present invention, the operation execution method, the service application, transmitting an operation execution request for the state information of the IoT device stored in the storage of the data platform to the data platform; and notifying, by the data platform, the received operation execution request to the IoT device.

한편, 본 발명의 다른 실시예에 따른, IoT 시스템은, 데이터 플랫폼의 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 데이터 플랫폼에 전송하는 서비스 애플리케이션이 실행되는 사용자 단말; 및 서비스 애플리케이션으로부터 수신한 오퍼레이션 실행 요청을 IoT 디바이스에 통지하는 데이터 플랫폼;을 포함한다.On the other hand, according to another embodiment of the present invention, the IoT system, a user terminal running a service application for transmitting an operation execution request for the state information of the IoT device stored in the storage of the data platform to the data platform; and a data platform for notifying the IoT device of the operation execution request received from the service application.

이상 설명한 바와 같이, 본 발명의 실시예들에 따르면, 구독/통지 기법을 이용하여 서비스 애플리케이션에 의한 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청도 IoT 디바이스가 수행하도록 함으로써, IoT 디바이스의 상태 정보에 대한 동시 오퍼레이션 실행 요청에 의한 오류를 방지할 수 있게 된다.As described above, according to the embodiments of the present invention, by using the subscription / notification technique to perform the operation execution request for the state information of the IoT device by the service application, the IoT device performs a request for the state information of the IoT device. Errors caused by simultaneous operation execution requests can be prevented.

도 1은 종래의 데이터 플랫폼에 저장된 디바이스 상태 정보 변경 방법의 설명에 제공되는 도면,
도 2는 종래의 기술의 문제점을 나타낸 도면,
도 3은 본 발명이 적용 가능한 IoT 시스템의 구성도,
도 4는 본 발명의 일 실시예에 따른 오퍼레이션 실행 요청/수행 방법의 설명에 제공되는 순서도,
도 5는 데이터 플랫폼(200)에서 구독/통지를 통해 오퍼레이션 실행 요청을 처리하는 과정의 설명에 제공되는 흐름도,
도 6은, 도 3에 도시된 데이터 플랫폼의 블럭도,
도 7은, 도 3에 도시된 서비스 애플리케이션이 실행되는 사용자 단말의 블럭도이다.
1 is a diagram provided to explain a method of changing device state information stored in a conventional data platform;
2 is a view showing problems of the prior art;
3 is a configuration diagram of an IoT system to which the present invention can be applied;
4 is a flowchart provided for explanation of an operation execution request/performation method according to an embodiment of the present invention;
5 is a flowchart provided to explain a process of processing an operation execution request through subscription / notification in the data platform 200;
6 is a block diagram of the data platform shown in FIG. 3;
7 is a block diagram of a user terminal in which the service application shown in FIG. 3 is executed.

이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, the present invention will be described in more detail with reference to the drawings.

본 발명의 실시예에서는 데이터 플랫폼에서 구독/통지를 이용한 오퍼레이션 실행 방법을 제시한다. 구독/통지 기법을 이용하여 서비스 애플리케이션에 의한 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청도 IoT 디바이스가 수행하도록 하는 것이다.An embodiment of the present invention proposes an operation execution method using subscription/notification in a data platform. Using the subscription/notification technique, the service application requests operation execution on the state information of the IoT device to be performed by the IoT device.

도 3은 본 발명이 적용 가능한 IoT 시스템의 구성도이다. 본 발명이 적용 가능한 IoT 시스템은, 도시된 바와 같이, 서비스 애플리케이션(100), 데이터 플랫폼(200), IoT 디바이스(300)를 포함하여 구성된다.3 is a configuration diagram of an IoT system to which the present invention can be applied. As shown, the IoT system to which the present invention can be applied is composed of a service application 100, a data platform 200, and an IoT device 300.

IoT 디바이스(300)는 센서와 액츄에이터를 포함하며, 사물에 설치 또는 탑재되는 디바이스이다. 실제로 IoT 시스템에는 다수의 IoT 디바이스(300)가 연결되지만 도시와 설명의 편의를 위해 1개만 도시하였다.The IoT device 300 includes a sensor and an actuator, and is a device installed or mounted on an object. In fact, a plurality of IoT devices 300 are connected to the IoT system, but only one is shown for convenience of illustration and description.

데이터 플랫폼(200)은 IoT 디바이스(300)에서 생성되는 데이터와 IoT 디바이스(300)의 상태 정보를 나타내는 속성들을 저장하기 위한 저장소를 구비한다. 실제로 IoT 디바이스(300)는 다수 개이고, 데이터 플랫폼(200)의 저장소는 IoT 디바이스(300) 마다 구분되어 생성된다.The data platform 200 includes a storage for storing data generated by the IoT device 300 and attributes representing state information of the IoT device 300 . In fact, there are a plurality of IoT devices 300, and the storage of the data platform 200 is generated separately for each IoT device 300.

또한, 하나의 IoT 디바이스(300)에 대해 다수의 상태 정보가 있을 수 있다. 단, 하지만, 본 발명의 실시예에서는 이해와 설명의 편의를 위해, IoT 디바이스(300)의 상태 정보로써 IoT 디바이스(300)의 GPS 상태(ON/OFF) 만이 속성1로 저장되어 있는 것을 상정한다.In addition, there may be a plurality of state information for one IoT device 300. However, in the embodiment of the present invention, it is assumed that only the GPS state (ON/OFF) of the IoT device 300 is stored as attribute 1 as state information of the IoT device 300 for convenience of understanding and description. .

데이터 플랫폼(200)의 종류에 대한 제한은 없다. NGSI-LD 데이터 플랫폼, oneM2M 데이터 플랫폼, LwM2M 데이터 플랫폼 등은 물론 그 밖의 다른 종류의 데이터 플랫폼으로 구현가능하다. 플랫폼의 종류에 따라, 저장소를 나타내는 엔티티는 리소스를 의미할 수 있다.There is no limitation on the type of data platform 200. NGSI-LD data platform, oneM2M data platform, LwM2M data platform, etc. as well as other types of data platform can be implemented. Depending on the type of platform, an entity representing a repository may represent a resource.

서비스 애플리케이션(300)은 데이터 플랫폼(200)의 엔티티A를 통해 IoT 디바이스(300)의 데이터들을 획득하여 처리/분석하고, 그 결과를 토대로 IoT 디바이스(300)를 제어한다.The service application 300 acquires data of the IoT device 300 through entity A of the data platform 200, processes/analyzes, and controls the IoT device 300 based on the result.

IoT 디바이스(300)를 제어하기 위해, 서비스 애플리케이션(300)은 데이터 플랫폼(200)의 엔티티A에 저장된 IoT 디바이스(300)의 GPS 상태 정보, 즉, 속성1에 대한 오퍼레이션 실행을 요청할 수 있다. 여기서 오퍼레이션이란 CRUD(Create Rtreive Update Delete)을 의미한다.To control the IoT device 300, the service application 300 may request execution of an operation on the GPS state information of the IoT device 300 stored in entity A of the data platform 200, that is, attribute 1. The operation here means CRUD (Create Rtreive Update Delete).

데이터 플랫폼(200)에서 서비스 애플리케이션(300)의 오퍼레이션 실행 요청을 수행하는 과정에 대해, 이하에서 도 4를 참조하여 상세히 설명한다. 도 4는 본 발명의 일 실시예에 따른 오퍼레이션 실행 요청/수행 방법의 설명에 제공되는 순서도이다.A process of performing an operation execution request of the service application 300 in the data platform 200 will be described in detail with reference to FIG. 4 below. 4 is a flowchart provided to describe a method of requesting/performing an operation execution according to an embodiment of the present invention.

먼저, 서비스 애플리케이션(100)은 데이터 플랫폼(200)의 엔티티A에 저장되어 있는 IoT 디바이스(300)의 상태 정보인 속성1에 대한 업데이트를 구독한다(S410). 이는, 엔티티A에 저장되어 있는 속성 1이 업데이트 된 경우, 데이터 플랫폼(200)이 그 사실을 서비스 애플리케이션(100)에게 통지해 줄 것을 요청하는 것이다.First, the service application 100 subscribes to updates on property 1, which is state information of the IoT device 300 stored in entity A of the data platform 200 (S410). This is to request that the data platform 200 notify the service application 100 of the fact when attribute 1 stored in entity A is updated.

한편, IoT 디바이스(300)는 데이터 플랫폼(200)의 엔티티A에 저장되어 있는 IoT 디바이스(300)의 상태 정보에 대한 오퍼레이션 실행 요청을 구독한다(S420). 이는, 엔티티A에 저장되어 있는 속성1에 대한 오퍼레이션 실행 요청이 있을 경우, 데이터 플랫폼(200)이 그 사실을 IoT 디바이스(300)에게 통지해 줄 것을 요청하는 것이다.Meanwhile, the IoT device 300 subscribes to an operation execution request for state information of the IoT device 300 stored in entity A of the data platform 200 (S420). This is to request that the data platform 200 notify the IoT device 300 of the fact when there is an operation execution request for attribute 1 stored in entity A.

이후, 서비스 애플리케이션(100)이 데이터 플랫폼(200)의 엔티티A에 저장된 IoT 디바이스(300)의 상태 정보에 대한 오퍼레이션 실행 요청을 데이터 플랫폼(200)에 전송한다(S430). 이를 테면, IoT 디바이스(300)의 GPS 모듈을 ON 시키기 위해, 데이터 플랫폼(200)의 엔티티A에 저장된 속성1에 대한 업데이트 요청이 전송되는 것이다.Thereafter, the service application 100 transmits an operation execution request for state information of the IoT device 300 stored in entity A of the data platform 200 to the data platform 200 (S430). For example, in order to turn on the GPS module of the IoT device 300, an update request for attribute 1 stored in entity A of the data platform 200 is transmitted.

오퍼레이션 실행 요청에는, 1) 오퍼레이션 실행 대상이 되는 저장소(이를 테면, 엔티티A), 2) 오퍼레이션 종류(이를 테면, Update), 3) 상태 정보(이를 테면, 속성1의 속성 값), 4) 오퍼레이션 실행 실패 통지 주소 등이 포함된다.The operation execution request includes 1) the repository to which the operation is executed (eg, Entity A), 2) the type of operation (eg, Update), 3) state information (eg, the attribute value of attribute 1), 4) the operation An execution failure notification address and the like are included.

데이터 플랫폼(200)은 S430단계에서 수신한 오퍼레이션 실행 요청을 수행하지 않는다. 대신, 데이터 플랫폼(200)은 오퍼레이션 실행 요청을 IoT 디바이스(300)에게 통지한다(S440).The data platform 200 does not perform the operation execution request received in step S430. Instead, the data platform 200 notifies the operation execution request to the IoT device 300 (S440).

그러면, IoT 디바이스(300)는 S440단계에서 통지된 오퍼레이션 실행 요청을 수행하며(S450), 이에 의해 데이터 플랫폼(200)의 엔티티A에 저장된 IoT 디바이스(300)의 상태 정보가 업데이트된다(S460).Then, the IoT device 300 performs the operation execution request notified in step S440 (S450), whereby the state information of the IoT device 300 stored in entity A of the data platform 200 is updated (S460).

이는, IoT 디바이스(300)가 자신의 GPS 모듈을 턴-온하고, 데이터 플랫폼(200)의 엔티티A에 저장된 속성1의 값을 ON으로 업데이트하는 것을 의미한다.This means that the IoT device 300 turns on its own GPS module and updates the value of attribute 1 stored in entity A of the data platform 200 to ON.

이에, 데이터 플랫폼(200)은 엔티티A에 저장되어 있는 IoT 디바이스(300)의 상태 정보가 업데이트 되었음을 서비스 애플리케이션(100)에게 통지한다(S470).Accordingly, the data platform 200 notifies the service application 100 that the state information of the IoT device 300 stored in entity A has been updated (S470).

한편, IoT 디바이스(300)는 S440단계에서 통지된 오퍼레이션 실행 요청을 수행하지 않고 거부할 수도 있다. 이 경우, 데이터 플랫폼(200)은 오퍼레이션 실행이 거부되었음을 서비스 애플리케이션(100)에 통지하여 준다.Meanwhile, the IoT device 300 may reject the operation execution request notified in step S440 without performing it. In this case, the data platform 200 notifies the service application 100 that the execution of the operation has been rejected.

오퍼레이션 실행 거부 통지는, 오퍼레이션 실행 요청에 수록되어 있는 오퍼레이션 실행 실패 통지 주소로 행해진다.Operation execution rejection notification is performed to the operation execution failure notification address recorded in the operation execution request.

도 5는 데이터 플랫폼(200)에서 구독/통지를 통해 오퍼레이션 실행 요청을 처리하는 과정의 설명에 제공되는 흐름도이다.5 is a flowchart provided to explain a process of processing an operation execution request through subscription/notification in the data platform 200 .

서비스 애플리케이션(100)으로부터 IoT 디바이스(300)의 상태 정보에 대한 오퍼레이션 실행 요청을 수신하면(S510-Y), 데이터 플랫폼(200)은 IoT 디바이스(300)의 상태 정보가 저장된 엔티티가 오퍼레이션 실행 요청 구독/통지가 허용된 특정 엔티티인지 확인한다(S520).When receiving an operation execution request for the state information of the IoT device 300 from the service application 100 (S510-Y), the data platform 200 has the entity in which the state information of the IoT device 300 is stored subscribes to the operation execution request. / Confirm whether a specific entity for which notification is permitted (S520).

S520단계에서 특정 엔티티가 아닌 것으로 확인되면(S520-N), 데이터 플랫폼(200)은 S510단계에서 수신한 오퍼레이션 실행 요청을 자신이 직접 실행한다(S570).If it is determined that the entity is not a specific entity in step S520 (S520-N), the data platform 200 directly executes the operation execution request received in step S510 (S570).

반면, S520단계에서 특정 엔티티인 것으로 확인되면(S520-Y), 데이터 플랫폼(200)은 IoT 디바이스(300)가 오퍼레이션 실행 요청을 구독하였는지 확인한다(S530).On the other hand, if it is confirmed as a specific entity in step S520 (S520-Y), the data platform 200 checks whether the IoT device 300 has subscribed to the operation execution request (S530).

S530단계에서 오퍼레이션 실행 요청이 구독되지 않은 것으로 확인되면(S530-N), 데이터 플랫폼(200)은 오퍼레이션 실행 요청을 실행하지 않고 해당 사실을 서비스 애플리케이션(100)에 통지한다(S580).If it is confirmed that the operation execution request is not subscribed in step S530 (S530-N), the data platform 200 notifies the service application 100 of the fact without executing the operation execution request (S580).

반면, S530단계에서 오퍼레이션 실행 요청이 구독된 것으로 확인되면(S530-Y), 데이터 플랫폼(200)은 S510단계에서 수신한 오퍼레이션 실행 요청을 수행하지 않고 IoT 디바이스(300)에게 통지한다(S540).On the other hand, if it is confirmed that the operation execution request is subscribed in step S530 (S530-Y), the data platform 200 notifies the IoT device 300 without performing the operation execution request received in step S510 (S540).

IoT 디바이스(300)에 의해 오퍼레이션 실행 요청이 수행되어 IoT 디바이스(300)의 상태 정보가 업데이트되면(S550-Y), 데이터 플랫폼(200)은 서비스 애플리케이션(100)에 IoT 디바이스(300)의 상태 정보 대한 업데이트 사실을 통지한다(S560).When the operation execution request is performed by the IoT device 300 and the status information of the IoT device 300 is updated (S550-Y), the data platform 200 sends the service application 100 the status information of the IoT device 300. It notifies the update fact about (S560).

반면, IoT 디바이스(300)에 의해 오퍼레이션 실행 요청이 거부되면(S550-N), 데이터 플랫폼(200)은 오퍼레이션 실행 거부 사실을 서비스 애플리케이션(100)에 통지한다(S590).On the other hand, if the operation execution request is rejected by the IoT device 300 (S550-N), the data platform 200 notifies the operation execution rejection fact to the service application 100 (S590).

도 6은, 도 3에 도시된 데이터 플랫폼(200)의 블럭도이다. 도시된 바와 같이, 데이터 플랫폼(200)은, 통신부(210), 프로세서(220) 및 저장부(230)를 포함하는 서버 시스템으로 구현가능하다.FIG. 6 is a block diagram of the data platform 200 shown in FIG. 3 . As shown, the data platform 200 may be implemented as a server system including a communication unit 210 , a processor 220 and a storage unit 230 .

통신부(210)는 서비스 애플리케이션(100) 및 IoT 디바이스(300)과 통신하기 위한 수단이다. 프로세서(220)는 도 4에 도시된 절차들 중 데이터 플랫폼(200)이 수행하는 절차, 즉, 도 5에 도시된 절차들을 수행하여, 오퍼레이션 실행 요청을 구독/통지를 이용하여 처리한다. 저장부(230)는 프로세서(220)가 기능하고 동작함에 있어 필요한 저장공간을 제공하며, 저장소인 엔티티가 생성되는 것이기도 하다.The communication unit 210 is a means for communicating with the service application 100 and the IoT device 300 . The processor 220 processes an operation execution request using subscription/notification by performing the procedures performed by the data platform 200 among the procedures illustrated in FIG. 4 , that is, the procedures illustrated in FIG. 5 . The storage unit 230 provides a storage space necessary for the processor 220 to function and operate, and also creates an entity that is a storage unit.

도 7은, 도 3에 도시된 서비스 애플리케이션(100)이 실행되는 사용자 단말의 블럭도이다. 사용자 단말은, 도시된 바와 같이, 통신부(110), 출력부(120), 프로세서(130), 입력부(140) 및 저장부(150)를 포함하여 구성된다.7 is a block diagram of a user terminal in which the service application 100 shown in FIG. 3 is executed. As shown, the user terminal includes a communication unit 110, an output unit 120, a processor 130, an input unit 140, and a storage unit 150.

통신부(110)는 데이터 플랫폼(200)과 통신하기 위한 통신 수단이다. 프로세서(130)는 서비스 애플리케이션(100)을 실행하여, 도 4에 도시된 절차들 중 서비스 애플리케이션(100)에 의해 수행되는 절차들을 수행한다.The communication unit 110 is a communication means for communicating with the data platform 200 . The processor 130 executes the service application 100 and performs procedures performed by the service application 100 among procedures shown in FIG. 4 .

출력부(120)는 프로세서(130)의 실행 화면이 표시되는 디스플레이이고, 입력부(140)는 사용자 명령/설정을 입력받아 프로세서(130)로 전달한다. 저장부(150)는 프로세서(130)가 동작하고 기능함에 있어 필요한 저장공간을 제공한다.The output unit 120 is a display on which an execution screen of the processor 130 is displayed, and the input unit 140 receives user commands/settings and transmits them to the processor 130 . The storage unit 150 provides a necessary storage space for the processor 130 to operate and function.

지금까지, 데이터 플랫폼에서 구독/통지를 이용한 오퍼레이션 실행 방법에 대해 바람직한 실시예를 들어 상세히 설명하였다.So far, a method for executing an operation using subscription/notification in a data platform has been described in detail with a preferred embodiment.

한편, 본 실시예에 따른 장치와 방법의 기능을 수행하게 하는 컴퓨터 프로그램을 수록한 컴퓨터로 읽을 수 있는 기록매체에도 본 발명의 기술적 사상이 적용될 수 있음은 물론이다. 또한, 본 발명의 다양한 실시예에 따른 기술적 사상은 컴퓨터로 읽을 수 있는 기록매체에 기록된 컴퓨터로 읽을 수 있는 코드 형태로 구현될 수도 있다. 컴퓨터로 읽을 수 있는 기록매체는 컴퓨터에 의해 읽을 수 있고 데이터를 저장할 수 있는 어떤 데이터 저장 장치이더라도 가능하다. 예를 들어, 컴퓨터로 읽을 수 있는 기록매체는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광디스크, 하드 디스크 드라이브, 등이 될 수 있음은 물론이다. 또한, 컴퓨터로 읽을 수 있는 기록매체에 저장된 컴퓨터로 읽을 수 있는 코드 또는 프로그램은 컴퓨터간에 연결된 네트워크를 통해 전송될 수도 있다.Meanwhile, it goes without saying that the technical spirit of the present invention can also be applied to a computer-readable recording medium containing a computer program for performing the functions of the apparatus and method according to the present embodiment. In addition, technical ideas according to various embodiments of the present invention may be implemented in the form of computer readable codes recorded on a computer readable recording medium. The computer-readable recording medium may be any data storage device that can be read by a computer and store data. For example, the computer-readable recording medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical disk, hard disk drive, and the like. In addition, computer readable codes or programs stored on a computer readable recording medium may be transmitted through a network connected between computers.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, although the preferred embodiments of the present invention have been shown and described above, the present invention is not limited to the specific embodiments described above, and the technical field to which the present invention belongs without departing from the gist of the present invention claimed in the claims. Of course, various modifications are possible by those skilled in the art, and these modifications should not be individually understood from the technical spirit or perspective of the present invention.

100 : 서비스 애플리케이션
200 : 데이터 플랫폼
300 : IoT 디바이스
엔티티A
속성1
100: service application
200: data platform
300: IoT device
Entity A
attribute 1

Claims (12)

데이터 플랫폼이, 서비스 애플리케이션으로부터 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 수신하는 단계; 및
데이터 플랫폼이, 수신한 오퍼레이션 실행 요청을 IoT 디바이스에 통지하는 단계;를 포함하는 것을 특징으로 하는 오퍼레이션 실행 방법.
Receiving, by the data platform, an operation execution request for state information of an IoT device stored in a storage from a service application; and
An operation execution method comprising the steps of notifying, by the data platform, the received operation execution request to the IoT device.
청구항 1에 있어서,
IoT 디바이스가, 통지된 오퍼레이션 실행 요청을 수행하는 단계;를 포함하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 1,
An operation execution method comprising the steps of performing, by the IoT device, the notified operation execution request.
청구항 2에 있어서,
데이터 플랫폼이, 오퍼레이션 실행을 서비스 애플리케이션에 통지하는 단계;를 더 포함하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 2,
The operation execution method further comprising notifying, by the data platform, the operation execution to the service application.
청구항 2에 있어서,
IoT 디바이스가, 통지된 오퍼레이션 실행을 거부하는 단계;
데이터 플랫폼이, 오퍼레이션 실행 거부를 서비스 애플리케이션에 통지하는 단계;를 더 포함하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 2,
rejecting, by the IoT device, execution of the notified operation;
The operation execution method further comprising notifying, by the data platform, the operation execution refusal to the service application.
청구항 4에 있어서,
오퍼레이션 실행 거부 통지 단계는,
오퍼레이션 실행 요청에 수록되어 있는, 오퍼레이션 실행 실패 통지 주소로 오퍼레이션 실행 거부를 통지하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 4,
Operation execution refusal notification step,
An operation execution method characterized by notifying operation execution rejection to an operation execution failure notification address contained in an operation execution request.
청구항 3에 있어서,
서비스 애플리케이션이, 데이터 플랫폼 시스템의 저장소에서 IoT 디바이스의 상태 정보의 업데이트를 구독하는 단계;를 더 포함하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 3,
Subscribing, by the service application, to updates of state information of the IoT device in the storage of the data platform system; operation execution method characterized in that it further comprises.
청구항 1에 있어서,
IoT 디바이스가, 데이터 플랫폼 시스템의 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 구독하는 단계;를 더 포함하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 1,
Subscribing, by the IoT device, to an operation execution request for state information of the IoT device stored in a storage of the data platform system; further comprising: an operation execution method.
청구항 1에 있어서,
IoT 디바이스는,
자신의 상태를 데이터 플랫폼 시스템의 저장소에 저장하고,
서비스 애플리케이션은,
데이터 플랫폼 시스템의 저장소를 통해 IoT 디바이스의 상태를 파악하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 1,
IoT devices,
save their state to the storage of the data platform system,
service application,
An operation execution method characterized in that the state of the IoT device is grasped through the storage of the data platform system.
청구항 5에 있어서,
서비스 애플리케이션은,
데이터 플랫폼 시스템의 저장소에서 IoT 디바이스의 상태를 오퍼레이션하여 IoT 디바이스의 상태를 제어하는 것을 특징으로 하는 오퍼레이션 실행 방법.
The method of claim 5,
service application,
An operation execution method characterized by controlling the state of the IoT device by operating the state of the IoT device in the storage of the data platform system.
서비스 애플리케이션 및 IoT 디바이스와 통신하는 통신부;
통신부를 통해 서비스 애플리케이션으로부터 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 수신하면, 수신한 오퍼레이션 실행 요청을 통신부를 통해 IoT 디바이스에 통지하는 프로세서;를 포함하는 것을 특징으로 하는 데이터 플랫폼.
A communication unit that communicates with the service application and IoT device;
A processor that notifies the IoT device of the received operation execution request through the communication unit when receiving an operation execution request for the state information of the IoT device stored in the storage from the service application through the communication unit; Data platform comprising a.
서비스 애플리케이션이, 데이터 플랫폼의 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 데이터 플랫폼에 전송하는 단계; 및
데이터 플랫폼이, 수신한 오퍼레이션 실행 요청을 IoT 디바이스에 통지하는 단계;를 포함하는 것을 특징으로 하는 오퍼레이션 실행 방법.
Transmitting, by the service application, an operation execution request for state information of the IoT device stored in the storage of the data platform to the data platform; and
An operation execution method comprising the steps of notifying, by the data platform, the received operation execution request to the IoT device.
데이터 플랫폼의 저장소에 저장된 IoT 디바이스의 상태 정보에 대한 오퍼레이션 실행 요청을 데이터 플랫폼에 전송하는 서비스 애플리케이션이 실행되는 사용자 단말; 및
서비스 애플리케이션으로부터 수신한 오퍼레이션 실행 요청을 IoT 디바이스에 통지하는 데이터 플랫폼;을 포함하는 것을 특징으로 하는 IoT 시스템.
A user terminal running a service application that transmits an operation execution request for state information of an IoT device stored in a storage of the data platform to the data platform; and
IoT system comprising a; data platform for notifying the IoT device of the operation execution request received from the service application.
KR1020210139294A 2021-10-19 2021-10-19 Operation execution method using subscription/notification in data platform KR102547108B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210139294A KR102547108B1 (en) 2021-10-19 2021-10-19 Operation execution method using subscription/notification in data platform
PCT/KR2021/014589 WO2023068392A1 (en) 2021-10-19 2021-10-19 Method for executing operation by using subscription/notification on data platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210139294A KR102547108B1 (en) 2021-10-19 2021-10-19 Operation execution method using subscription/notification in data platform

Publications (2)

Publication Number Publication Date
KR20230055656A true KR20230055656A (en) 2023-04-26
KR102547108B1 KR102547108B1 (en) 2023-06-23

Family

ID=86058172

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210139294A KR102547108B1 (en) 2021-10-19 2021-10-19 Operation execution method using subscription/notification in data platform

Country Status (2)

Country Link
KR (1) KR102547108B1 (en)
WO (1) WO2023068392A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101768365B1 (en) * 2016-03-29 2017-08-17 전자부품연구원 Notification Failure Management Method and System for Subscription-Notification in M2M/IoT System

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140103658A (en) * 2013-02-19 2014-08-27 주식회사 케이티 A method and apparatus of transmitting and receiving notification applying filter criteria of subscriber in M2M environment
US10051068B2 (en) * 2013-11-14 2018-08-14 Qualcomm Incorporated Mechanisms to route IoT notifications according to user activity and/or proximity detection
JP2018536228A (en) * 2015-10-29 2018-12-06 ウォルマート アポロ,エルエルシー Retail subscription in the Internet of Things environment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101768365B1 (en) * 2016-03-29 2017-08-17 전자부품연구원 Notification Failure Management Method and System for Subscription-Notification in M2M/IoT System

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Fermin Galan, "FIWARE NGSI: Managing Context Information at large scale", Orion Context Broder dev team(2016.12.05.)* *

Also Published As

Publication number Publication date
KR102547108B1 (en) 2023-06-23
WO2023068392A1 (en) 2023-04-27

Similar Documents

Publication Publication Date Title
US8281382B1 (en) Dynamic throttling systems and services
US7937432B2 (en) State transition management according to a workflow management policy
US11023148B2 (en) Predictive forecasting and data growth trend in cloud services
US7886053B1 (en) Self-management of access control policy
WO2013110078A1 (en) Access control
CN101968735B (en) Information processing apparatus and control method thereof
US9838270B2 (en) Management apparatus and management method for management apparatus
CN102523102A (en) Unified policy over heterogenous device types
CN107766343B (en) Data storage method and device and storage server
US10223458B1 (en) Automatic magazine generator for web content
EP4080377A1 (en) Method to implement multi-tenant/shared redis cluster using envoy
WO2018194703A1 (en) Surfacing task-related applications in a heterogeneous tab environment
US11244063B2 (en) Row-level and column-level policy service
US10936192B2 (en) System and method for event driven storage management
US9817616B2 (en) Serverless image processing system with a plurality of apparatus groups and image formation apparatus for mediating communication between apparatus groups
US20100138913A1 (en) Message administration system
KR102547108B1 (en) Operation execution method using subscription/notification in data platform
US20130215458A1 (en) Information processing apparatus, non-transitory computer readable medium storing program, information processing method, and information processing system
US9191445B2 (en) Systems and methods for managing emulation sessions
CN112487218A (en) Content processing method, system, device, computing equipment and storage medium
US20220334884A1 (en) Method to implement multi-tenant/shared redis cluster using envoy
US11853560B2 (en) Conditional role decision based on source environments
KR102482916B1 (en) Method on ML Inferencing Dataset Preparation for IoT Platform
KR102260656B1 (en) Real Time Notification Message Delivery Method in M2M System
WO2023230797A1 (en) Cross-system test method and apparatus

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant