KR20180060629A - Data Update Notification Method - Google Patents

Data Update Notification Method Download PDF

Info

Publication number
KR20180060629A
KR20180060629A KR1020160160346A KR20160160346A KR20180060629A KR 20180060629 A KR20180060629 A KR 20180060629A KR 1020160160346 A KR1020160160346 A KR 1020160160346A KR 20160160346 A KR20160160346 A KR 20160160346A KR 20180060629 A KR20180060629 A KR 20180060629A
Authority
KR
South Korea
Prior art keywords
data
resource
subscription
contentinstance
notification
Prior art date
Application number
KR1020160160346A
Other languages
Korean (ko)
Other versions
KR102165192B1 (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 KR1020160160346A priority Critical patent/KR102165192B1/en
Priority to PCT/KR2017/003181 priority patent/WO2018101548A1/en
Publication of KR20180060629A publication Critical patent/KR20180060629A/en
Application granted granted Critical
Publication of KR102165192B1 publication Critical patent/KR102165192B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • 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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

A content instant data update notification method is provided. According to an embodiment of the present invention, the notification method comprises the steps of: monitoring a data change of a content instance by a platform when new data are continuously stored as another content instance in the platform; and notifying data update when the change is detected. Accordingly, an overload can be minimized by receiving a notification only when new data having a different value from that of the existing data are generated.

Description

데이터 업데이트 통지 방법{Data Update Notification Method}Data Update Notification Method [0002]

본 발명은 subscription/notification 방법에 관한 것으로, 더욱 상세하게는 subscription/notification 메커니즘에서 데이터 관련 통지를 수행하는 방법에 관한 것이다.The present invention relates to a subscription / notification method, and more particularly, to a method for performing data related notifications in a subscription / notification mechanism.

oneM2M은 디바이스/어플리케이션 간 데이터를 공유하기 위해 일반적으로 <container> 및 <contentInstance> 자원을 사용한다.oneM2M typically uses <container> and <contentInstance> resources to share data between devices / applications.

container는 contentInstance를 저장하는 저장소이며, 실제 데이터는 contentInstance에 저장한다. 또한 container는 신규 데이터를 추가할 때 과거 데이터를 변경하기 않고 기존 데이터는 보관하고 신규 데이터를 추가로 저장하는 기능을 제공한다.The container is the repository that stores the contentInstance, and the actual data is stored in the contentInstance. The container also provides the ability to store existing data and store additional data when adding new data, without modifying historical data.

따라서 신규 데이터가 생성되면 container의 기존 contentInstance를 수정하는 것이 아니라 새로운 contentInstance를 생성한다. contentInstance에는 creationTime 및 stateTag 속성이 있어서 데이터 생성 순서를 판단할 수 있다.Therefore, when new data is created, it creates a new contentInstance instead of modifying the existing contentInstance of the container. The contentInstance has creationTime and stateTag attributes to determine the data generation order.

위와 같은 특성에 기인하여 container는 subscription 대상이나 contentInstance는 그렇지 않다. container의 경우 현재 contentInstance의 개수 등의 저장소 속성 정보가 변경될 수 있으나 contentInstance는 데이터 내용을 갱신하지 않고 새로운 contentInstance를 계속 저장소에 추가 저장하기 때문이다.Due to the above characteristics, the container is a subscription target and the contentInstance is not. In case of a container, the storage attribute information such as the number of the current contentInstance may be changed, but the contentInstance continuously stores the new contentInstance in the storage without updating the data contents.

현재 oneM2M의 subscription 매커니즘으로 <container> 자원에 subscription을 생성(설정)하는 경우, <contentInstance> 자원에 적용할 수 있는 이벤트 타입은 도 1에서 노란색으로 표시된 이벤트 타입으로 한정되며 이는 곧 <contentInstance> 자원의 생성 또는 삭제뿐이다. 다시 말해 신규 데이터가 생성되었다는 것은 알 수 있으나 이 신규 데이터가 기존 데이터와 비교하여 같은 값인지 다른 값인지 등의 비교는 불가능하다.Currently, when one subscription mechanism in oneM2M creates (sets) a subscription on a <container> resource, the event type applicable to the <contentInstance> resource is limited to the event type shown in yellow in Figure 1, which means that the <contentInstance> Creation or deletion. In other words, it can be known that new data has been generated, but it is impossible to compare whether the new data is the same value or another value compared with the existing data.

상기 이벤트 타입을 보면 모두 1개 자원에 대한 모니터링을 수행하도록 정의되어 있다. subscription 대상 자원 갱신 또는 이 자원의 자녀 자원의 생성/삭제만 모니터링할 수 있으며 기존 자원과 신규 생성되는 자원 간의 비교를 통한 모니터링은 oneM2M 플랫폼에서 제공하지 않는다.All of the above event types are defined to perform monitoring for one resource. It is possible to monitor only the subscription target resource update or child resource creation / deletion of this resource, and monitoring through comparison between existing resource and newly created resource is not provided by oneM2M platform.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, ContentInstance의 Data Update를 Notification 하는 방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to overcome the above problems, and it is an object of the present invention to provide a method of notifying Data Update of ContentInstance.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 통지 방법은, 플랫폼이 기존 ContentInstance로부터 신규 ContentInstance의 데이터 변경을 모니터링하고, 변경 감지시 데이터 업데이트를 통지한다.According to an embodiment of the present invention for achieving the above object, a notification method of a platform monitors a data change of a new ContentInstance from an existing ContentInstance, and notifies a data update when a change is detected.

이상 설명한 바와 같이, 본 발명의 실시예들에 따르면, 평소에는 어플리케이션이 신규 데이터 생성에 대한 notification 및 비교 연산을 수행하지 않고, 기존 데이터와 다른 값의 신규 데이터가 생성된 경우만 통지 받음으로써 오버로드를 최소화할 수 있다.As described above, according to the embodiments of the present invention, when an application does not normally perform notifications and comparison operations for generating new data and only when new data having a value different from that of existing data is generated, Can be minimized.

또한 subscription 생성 시 여러 어플리케이션을 notification 수신자로 할 수 있으므로 수신자가 많아질수록 전체 시스템 상 불필요한 메시지 전송으로 인한 네트워크 사용량을 줄이고 상기 어플리케이션들의 오버로드를 notification을 수신하는 어플리케이션 수만큼 더 줄일 수 있는 장점이 있다.In addition, since a plurality of applications can be used as notification recipients when a subscription is created, the network usage due to unnecessary message transmission on the entire system can be reduced and the overload of the applications can be further reduced by the number of applications receiving notification as the number of recipients increases .

도 1은 oneM2M의 subscription 매커니즘에서의 이벤트 타입,
도 2는 냉장고 온도 정보의 subscription/notification 예제,
도 3은 eventNotificationCriteria conditions을 나타낸 표, 그리고,
도 4는 데이터 변경 이벤트를 나타낸 도면이다.
Figure 1 shows the event type in oneM2M's subscription mechanism,
2 shows an example of subscription / notification of refrigerator temperature information,
FIG. 3 is a table showing eventNotificationCriteria conditions,
4 is a diagram showing a data change event.

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

subscription/notification 매커니즘은 특정한 이벤트가 발생할 경우 이를 notification(통지) 받기 위해 사전에 subscription(구독)을 설정하는 기법이다.The subscription / notification mechanism is a mechanism to set up a subscription (subscription) in advance to receive a notification when a specific event occurs.

본 발명의 실시예에서, 이벤트는 새로운 정보의 생성, 기존 정보의 삭제 또는 기존 정보의 갱신 등을 포함할 수 있다. 도 2는 사용자가 oneM2M 플랫폼에 온도 데이터의 저장소에 subscription을 생성하고, 냉장고에서 주기적으로 현재 온도 정보를 저장하는 상황에서 온도 정보에 변화가 있을 경우 이를 subscription을 생성했던 어플리케이션으로 알려주는 예제를 나타낸다.In an embodiment of the invention, an event may include the creation of new information, the deletion of existing information, or the updating of existing information. 2 shows an example in which, when a user creates a subscription in a storage of temperature data on a oneM2M platform and periodically stores current temperature information in the refrigerator, when there is a change in temperature information, the application informs the application that created the subscription.

<subscription> 자원의 eventNotificationCriteria 속성의 eventType 값이 C. Creation of direct child of the subscribed-to resource인 경우에 사용할 수 있다.Can be used when the eventType value of the eventNotificationCriteria attribute of the <subscription> resource is C. Creation of direct child of the subscribed-to resource.

<container>/<contenInstance> 부모/자녀 자원, <timeSeries>/<timeSeriesInstance> 부모/자녀 자원 그리고 <flexContainer>/<flexContainer> 부모/자녀 자원에 적용할 수 있다. 이는 어플리케이션이 <subscription> 자원의 eventNotification 속성에 instanceDataChange와 같은 조건으로 설정할 수 있고 설정된 경우 플랫폼은 subscribed-to 자원의 신규 생성된 자녀 자원의 특정 속성 값과 종래 자원의 동일 속성값에 대한 비교 연산을 수행할 수 있다. 여기서 종래 자원은 종래 생성된 자원 중 마지막에 생성된 자원을 가리킬 수 있다.<container> / <contenInstance> parent / child resources, <timeSeries> / <timeSeriesInstance> parent / child resources and <flexContainer> / <flexContainer> parent / child resources. This allows the application to set the eventNotification attribute of the <subscription> resource to the same condition as instanceDataChange, and if set, the platform performs a comparison operation on the attribute value of the newly created child resource of the subscribed-to resource and the same attribute value of the conventional resource can do. Here, the conventional resource may indicate a resource generated last in the conventional generated resources.

저장소, 예를 들면, container, timeSeries, flexContainer(부모)에 따라 도 3에 제시된 표와 같은 방법을 적용할 수 있다. 도 3은 eventNotificationCriteria conditions을 나타낸 표이다.Depending on the repository, for example container, timeSeries, flexContainer (parent), the same method as the table shown in Fig. 3 can be applied. 3 is a table showing eventNotificationCriteria conditions.

<container> 자원에 subscription을 생성(설정)한 경우, 자녀 자원 중 <contentInstance> 자원에 대해 모니터링을 수행할 수 있다. 이 때 비교 연산을 하는 속성은 실제 데이터를 저장하는 content 속성이다.<container> If you created (set) a subscription on a resource, you can perform monitoring on the <contentInstance> resource of the child resources. In this case, the attribute that performs the comparison operation is the content attribute that stores the actual data.

추가적으로 contentInfo 값이 함께 설정되어 있는 경우 해당 설정값과 동일한 값을 가지는 신규 <contentInstance> 자원 생성에 대해 모니터하여 비교 연산을 수행할 수 있다.In addition, if the contentInfo value is set together, a comparison operation can be performed by monitoring for the creation of a new <contentInstance> resource having the same value as the corresponding setting value.

추가적으로 contentInfoCheck 값이 함께 설정되어 있는 경우 플랫폼이 신규 생성된 <contentInstance> 자원에 설정된 contentInfo 값으로 이를 해석하여 추출된 데이터를 기반으로 비교 연산을 수행할 수 있다. 그렇지 않은 경우 JSON, base64와 같은 포맷 및 인코딩이 적용된 content 속성값 그대로 비교 연산을 수행할 수 있다.In addition, when the contentInfoCheck value is set together, the platform can interpret the content information with the contentInfo value set in the newly created <contentInstance> resource, and perform the comparison operation based on the extracted data. Otherwise, you can perform comparison operations with the same content attribute values as the JSON and base64 formats and encoding applied.

<timeSeries> 자원에 subscription을 생성한 경우 자녀 자원인 <timeSeriesInstance> 자원에 대해 상기 방법을 적용할 수 있다. 다만 <timeSeriesInstance>는 contentInfo를 속성으로 가지지 않으므로 상기 contentInfo 및 contentInfoCheck는 적용되지 않는다.<timeSeries> If you have created a subscription on a resource, you can apply the above method to the <timeSeriesInstance> resource, which is a child resource. However, since <timeSeriesInstance> does not have contentInfo as an attribute, the contentInfo and contentInfoCheck are not applied.

<flexContainer> 부모 자원에 subscription을 생성한 경우, <flexContainer> 자녀 자원 타입을 특정하기 위해 containerDefinition을 함께 설정할 수 있다. <flexContainer>는 플랫폼/서비스 제공자가 기본 자원 타입을 확장 정의하여 사용하고 이 확장 타입의 정보를 containerDefinition으로 저장하므로 특정 타입의 <flexContainer> 자원에 대해 모니터링 및 비교 연산을 수행하기 위해 이 값을 가질 수 있다. 이 값이 설정된 경우 해당 값과 동일한 타입의 신규 <flexContainer> 자녀 자원에 대해서 특정 속성 값들에 대한 모니터링 및 비교 연산을 수행할 수 있다.<flexContainer> If you created a subscription on the parent resource, you can also set the containerDefinition to specify the <flexContainer> child resource type. <flexContainer> can have this value to perform monitoring and comparison operations on a specific type of <flexContainer> resource, as the platform / service provider uses the default resource type by extending it and storing the information of this extension type as containerDefinition have. When this value is set, monitoring and comparison operations for specific attribute values can be performed on the new <flexContainer> child resource of the same type as the corresponding value.

상기 subscription 설정에 의해 신규 데이터 값의 변화를 확인한 플랫폼은 이를 notification으로 전송할 수 있다. 이 때 notification 메시지의 정보는 예를 들어, 데이터 값의 변화가 생겼다는 지시 정보, 신규 데이터 값 및 기존 데이터 값 중 적어도 하나를 포함할 수 있다.The platform which confirmed the change of the new data value by the subscription setting can transmit it to the notification. At this time, the information of the notification message may include at least one of, for example, indication information that a change in the data value has occurred, a new data value, and an existing data value.

어플리케이션 로직을 플랫폼에서 모니터링하여 데이터 변경을 도 4와 같이 판단할 수 있다면 어플리케이션은 신규 데이터 생성 시 notification을 수신하여 이전에 수신한 데이터와 비교하는 동작을 스스로 하는 대신, 평소에는 신규 데이터 생성에 대한 notification 및 비교 연산을 수행하지 않고, 기존 데이터와 다른 값의 신규 데이터가 생성된 경우만 통지 받음으로써 오버로드를 최소화할 수 있다.If the application logic can be monitored on the platform and the data change can be judged as shown in FIG. 4, the application receives notifications when generating new data, and instead of performing the operation of comparing the received data with previously received data, And the overload can be minimized by notifying only when new data having a value different from that of the existing data is generated without performing a comparison operation.

또한 subscription 생성 시 여러 어플리케이션을 notification 수신자로 할 수 있으므로 수신자가 많아질수록 전체 시스템 상 불필요한 메시지 전송으로 인한 네트워크 사용량을 줄이고 상기 어플리케이션들의 오버로드를 notification을 수신하는 어플리케이션 수만큼 더 줄일 수 있는 장점이 있다.In addition, since a plurality of applications can be used as notification recipients when a subscription is created, the network usage due to unnecessary message transmission on the entire system can be reduced and the overload of the applications can be further reduced by the number of applications receiving notification as the number of recipients increases .

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

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the present invention.

subscription/notification
<container>/<contentInstance>
<timeSeries>/<timeSeriesInstance>
<flexContainer>/<flexContainer>
subscription / notification
<container> / <contentInstance>
<timeSeries> / <timeSeriesInstance>
<flexContainer> / <flexContainer>

Claims (1)

기존 ContentInstance로부터 신규 ContentInstance의 데이터 변경을 모니터링하는 단계;
변경 감지시 데이터 업데이트를 통지하는 단계;를 포함하는 통지 방법.
Monitoring a data change of a new ContentInstance from an existing ContentInstance;
And notifying the data update when the change is detected.
KR1020160160346A 2016-11-29 2016-11-29 Data Update Notification Method KR102165192B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020160160346A KR102165192B1 (en) 2016-11-29 2016-11-29 Data Update Notification Method
PCT/KR2017/003181 WO2018101548A1 (en) 2016-11-29 2017-03-24 Data update notification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160160346A KR102165192B1 (en) 2016-11-29 2016-11-29 Data Update Notification Method

Publications (2)

Publication Number Publication Date
KR20180060629A true KR20180060629A (en) 2018-06-07
KR102165192B1 KR102165192B1 (en) 2020-10-13

Family

ID=62242820

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160160346A KR102165192B1 (en) 2016-11-29 2016-11-29 Data Update Notification Method

Country Status (2)

Country Link
KR (1) KR102165192B1 (en)
WO (1) WO2018101548A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022107931A1 (en) * 2020-11-20 2022-05-27 한국전자기술연구원 Data storage method for preventing data redundancy, and data platform using same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016068442A1 (en) * 2014-10-27 2016-05-06 엘지전자 주식회사 Method for guaranteeing operation of control message in wireless communication system and device for same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140109747A (en) * 2013-03-06 2014-09-16 주식회사 케이티 A method and apparatus of assuring data transmission in M2M multi-hop environments
KR20150067037A (en) * 2013-12-06 2015-06-17 주식회사 케이티 The methods and apparatuses of optimization for criteria of subscription in M2M Systems
KR102415664B1 (en) * 2015-02-06 2022-07-01 엘지전자 주식회사 Method for processing notification reception stop request in wireless communication system and apparatus therefor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016068442A1 (en) * 2014-10-27 2016-05-06 엘지전자 주식회사 Method for guaranteeing operation of control message in wireless communication system and device for same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
송재승 등, 'oneM2M 어플리케이션 개발자 가이드 표준 해설서,' 한국정보통신기술협회 (TTA), TTA-15099-SD, 2015.11.30.* *

Also Published As

Publication number Publication date
WO2018101548A1 (en) 2018-06-07
KR102165192B1 (en) 2020-10-13

Similar Documents

Publication Publication Date Title
US11588858B2 (en) Monitoring a privacy rating for an application or website
US10860727B2 (en) Mass encryption management
US9825956B2 (en) Systems and methods for access permission revocation and reinstatement
US10652037B2 (en) Notifying affected users of feature changes in a software application
CN111934920B (en) Monitoring alarm method, device, equipment and storage medium
US11695638B2 (en) Network capacity planning systems and methods
US20160334770A1 (en) Apparatus and method for using configurable rules linking triggers with actions to support notifications associated with industrial process control and automation system
US11641314B2 (en) Service level objective platform
US10673928B2 (en) Syslog advertisements
US10466688B2 (en) Apparatus and method for providing event context with notifications related to industrial process control and automation system
US10678621B2 (en) System error codes for edge encryption
KR20180060629A (en) Data Update Notification Method
US20190190951A1 (en) Honeypot adaptive security system
KR102423755B1 (en) Server and method for controlling packet transmission
KR102653510B1 (en) Method and electronic device for providing a push noitification
CN114510282B (en) Method, device, equipment and storage medium for running automation application
US11943321B2 (en) Techniques for cross-platform communication process flow object posting
US10416832B2 (en) Display device, display method, and recording medium having display program stored thereon
US20190087206A1 (en) Contextual security training
Gjære et al. Notification Support Infrastructure for Self-Adapting Composite Services
JP2010218072A (en) Upper processor, data processing system, lower processor, computer program and data processing method
WO2018138553A1 (en) Methods, apparatuses and products for automated network management

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant