KR101792939B1 - Transaction Management Method for M2M/IoT systems - Google Patents

Transaction Management Method for M2M/IoT systems Download PDF

Info

Publication number
KR101792939B1
KR101792939B1 KR1020160037551A KR20160037551A KR101792939B1 KR 101792939 B1 KR101792939 B1 KR 101792939B1 KR 1020160037551 A KR1020160037551 A KR 1020160037551A KR 20160037551 A KR20160037551 A KR 20160037551A KR 101792939 B1 KR101792939 B1 KR 101792939B1
Authority
KR
South Korea
Prior art keywords
transaction
resource
state
request message
entity
Prior art date
Application number
KR1020160037551A
Other languages
Korean (ko)
Other versions
KR20170111662A (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 KR1020160037551A priority Critical patent/KR101792939B1/en
Publication of KR20170111662A publication Critical patent/KR20170111662A/en
Application granted granted Critical
Publication of KR101792939B1 publication Critical patent/KR101792939B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1865Transactional file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F17/30227
    • G06F17/30345

Abstract

M2M/IoT 시스템을 위한 트랜잭션 관리 방법이 제공된다. 본 발명의 실시예에 따른 트랜잭션 관리 방법은, 트랜잭션 커맨드를 포함한 요청 메시지를 수신하면, 요청 메시지의 타겟 리소스의 하위에 트랜잭션 리소스를 생성하여, 트랜잭션에 대한 정보를 관리한다. 이에 의해, CRUD 오퍼레이션에 문제가 발생하여도 이전상태로 바로 복구하는 것이 가능하게 된다.A transaction management method for an M2M / IoT system is provided. A transaction management method according to an embodiment of the present invention generates a transaction resource under a target resource of a request message and manages information on a transaction upon receiving a request message including a transaction command. Thereby, even if a problem occurs in the CRUD operation, it is possible to recover to the previous state immediately.

Description

M2M/IoT 시스템을 위한 트랜잭션 관리 방법{Transaction Management Method for M2M/IoT systems}Transaction management method for M2M / IoT system {Transaction Management Method for M2M / IoT systems}

본 발명은 M2M/IoT(Machine to Machine/Internet of Things) 기술에 관한 것으로, 더욱 상세하게는 M2M/IoT 시스템에서 트랜잭션을 관리하는 방법에 관한 것이다.The present invention relates to a M2M / IoT (Machine to Machine / Internet of Things) technology, and more particularly, to a method for managing transactions in an M2M / IoT system.

사물에 부착된 통신 장치를 이용하여 사물이 네트워크에 연결되거나 사물간에 통신 네트워크를 구성하여 정보를 공유하는 개념 및 기술을 지칭하는 용어로 IoT(Internet of Things : 사물 인터넷), M2M(Machine to Machine) 및 사물지능통신 등이 있다.IoT (Internet of Things), M2M (Machine to Machine), etc. are used to refer to concepts and technologies for connecting objects to a network or establishing a communication network between objects using communication devices attached to objects, And object intelligence communication.

이러한 네트워크 환경에서는 사람 대 사람, 사람 대 사물 뿐만 아니라 사물 대 사물 간의 통신 네트워크가 가능해져 모든 객체 간의 정보 공유가 가능해지며 이는 미래 유비쿼터스 정보 서비스 사회로 진화하기 위한 필수적인 기술 요소라 할 수 있을 것이다.In this network environment, communication network between object and object as well as person-to-person and person-to-object communication becomes possible and information sharing among all objects becomes possible, which is an essential technical element for evolving into the future ubiquitous information service society.

하지만, M2M/IoT 시스템에서는 트랜잭션을 관리하기 위한 메커니즘이 없다. 따라서, 수신된 CRUD(Create, Retrieve, Update, Delete) 오퍼레이션의 결과가 바로 수행되었는데 문제가 발생한 경우, 이전상태로 복구하는 것이 불가능하다.However, there is no mechanism for managing transactions in M2M / IoT systems. Therefore, the result of the received CRUD (Create, Retrieve, Update, Delete) operation is immediately performed. However, if a problem occurs, it is impossible to recover to the previous state.

또한, 다수의 기기가 관여하는 오퍼레이션의 경우 해당 CRUD 메시지의 전달에 대해서 모든 수행이 보장되어야 의미 있는 결과가 얻어지는 경우가 있는데, 만약 일부에 대해 수행이 이루어지지 않는 경우 이를 후속 처리하기 위한 방안이 없다.Also, in the case of an operation involving a plurality of devices, a certain result can be obtained if all the operations are performed for the transmission of the corresponding CRUD message. If a part is not performed, there is no way to process the CRUD message .

이를 테면, 도 1에 도시된 바와 같이 다수의 개체들[CSE(Common Ssrvice Entity), AE(Application Entity)]에 대해 Update 요청을 하였는데, 도 2에 도시된 바와 같이 일부만 트랜잭션에 성공하고 나머지는 실패한 경우로, 후속 대처 방안이 필요하다.For example, as shown in FIG. 1, an update request is made to a plurality of entities (CSE (Common Security Entity), AE (Application Entity)). As shown in FIG. 2, In case, follow-up measures are needed.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, 트랜잭션 리소스를 생성하여 트랜잭션을 관리하는 트랜잭션 관리 방법을 제공함에 있다.It is an object of the present invention to provide a transaction management method for managing a transaction by creating a transaction resource.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 트랜잭션 관리 방법은, 제1 트랜잭션 커맨드를 포함한 제1 요청 메시지를 수신하는 단계; 상기 제1 요청 메시지의 타겟 리소스의 하위에 트랜잭션 리소스를 생성하는 단계; 및 상기 트랜잭션 리소스에 상기 트랜잭션에 대한 정보를 관리하는 제1 관리 단계;를 포함한다.According to an aspect of the present invention, there is provided a transaction management method including: receiving a first request message including a first transaction command; Generating a transaction resource under a target resource of the first request message; And a first management step of managing information on the transaction in the transaction resource.

그리고, 상기 제1 트랜잭션 리소스는, 트랜잭션 오퍼레이션, 트랜잭션 콘텐트, 트랜잭션 상태 및 트랜잭션 ID 중 적어도 하나를 속성으로 포함할 수 있다.The first transaction resource may include at least one of a transaction operation, a transaction content, a transaction state, and a transaction ID as an attribute.

또한, 상기 트랜잭션 오퍼레이션은, Create 오퍼레이션, Retrieve 오퍼레이션, Update 오퍼레이션 및 Delete 오퍼레이션 중 적어도 하나를 포함할 수 있다.Also, the transaction operation may include at least one of a Create operation, a Retrieve operation, an Update operation, and a Delete operation.

그리고, 본 발명의 실시예에 따른 트랜잭션 관리 방법은, 제2 트랜잭션 커맨드를 포함한 제2 요청 메시지를 수신하는 단계; 및 상기 제2 트랜잭션 커맨드에 수록된 트랜잭션 상태를 기초로, 상기 트랜잭션 리소스를 관리하는 제2 관리 단계;를 포함할 수 있다.A transaction management method according to an embodiment of the present invention includes: receiving a second request message including a second transaction command; And a second management step of managing the transaction resource based on a transaction state recorded in the second transaction command.

또한, 상기 제2 관리 단계는, 상기 트랜잭션 상태가 제1 상태이면, 상기 트랜잭션 리소스를 상기 타겟 리소스에 반영하는 단계; 상기 트랜잭션 리소스를 삭제하는 단계;를 포함할 수 있다.The second management step may include reflecting the transaction resource to the target resource if the transaction state is a first state; And deleting the transaction resource.

그리고, 상기 제2 관리 단계는, 상기 트랜잭션 상태가 제2 상태이면, 상기 트랜잭션 리소스를 삭제하는 단계;를 포함할 수 있다.The second management step may include deleting the transaction resource if the transaction state is the second state.

또한, 상기 제1 요청 메시지에 대한 제1 응답 메시지를 전송하면, 상기 트랜잭션 상태가 제1 상태로 수록된 제2 트랜잭션 커맨드를 포함한 제2 요청 메시지가 수신되고, 상기 제1 요청 메시지에 대한 제1 응답 메시지를 전송하지 않으면, 상기 트랜잭션 상태가 제1 상태로 수록된 제2 트랜잭션 커맨드를 포함한 제2 요청 메시지가 수신될 수 있다.In addition, if a first response message for the first request message is transmitted, a second request message including a second transaction command containing the transaction state in the first state is received, and a first response message for the first request message If the message is not transmitted, a second request message containing the second transaction command containing the transaction state in the first state may be received.

한편, 본 발명의 다른 실시예에 따른, 디바이스는, 제1 트랜잭션 커맨드를 포함한 제1 요청 메시지를 수신하는 개체; 상기 제1 요청 메시지의 타겟 리소스의 하위에 생성되는 트랜잭션 리소스;를 포함하고, 상기 개체는, 상기 트랜잭션 리소스에 상기 트랜잭션에 대한 정보를 관리한다.Meanwhile, according to another embodiment of the present invention, a device includes: an entity receiving a first request message including a first transaction command; And a transaction resource generated under a target resource of the first request message, wherein the entity manages information on the transaction in the transaction resource.

이상 설명한 바와 같이, 본 발명의 실시예들에 따르면, 트랜잭션 리소스를 생성하여 트랜잭션을 관리함으로써, CRUD 오퍼레이션에 문제가 발생하여도 이전상태로 바로 복구하는 것이 가능하게 된다.As described above, according to the embodiments of the present invention, it is possible to directly restore the CRUD operation to the previous state even if a problem occurs in the CRUD operation by managing the transaction by creating the transaction resource.

또한, 본 발명의 실시예들에 따르면, 다수의 기기가 관여하는 오퍼레이션에서 일부에 대해 수행이 이루어지지 않는 경우에 대해, 원하는 정책에 따라 후속 처리가 가능해진다.Further, according to the embodiments of the present invention, a subsequent process can be performed according to a desired policy when a part is not performed in an operation involving a plurality of devices.

도 1 및 도 2는, 다수의 기기가 관여하는 오퍼레이션을 일부에서만 수행한 문제 상황을 나타낸 도면,
도 3은 본 발명의 일 실시예에 따른 M2M/IoT 시스템을 위한 트랜잭션 관리 방법의 설명에 제공되는 개념도,
도 4는 트랜잭션 시작 과정을 나타낸 도면,
도 5는 TR 리소스 구조,
도 6은 TR 리소스의 속성들에 대한 설명,
도 7은 업데이트 응답에 따른 후속 절차의 설명에 제공되는 도면,
도 8은 본 발명의 다른 실시예에 따른 M2M/IoT 시스템을 위한 트랜잭션 관리 방법의 설명에 제공되는 개념도, 그리고,
도 9는 본 발명의 또 다른 실시예에 따른 M2M/IoT 시스템을 위한 트랜잭션 관리 방법의 설명에 제공되는 개념도이다.
1 and 2 are diagrams showing a problem situation in which only a part of operations involved in a plurality of devices are performed,
3 is a conceptual diagram provided in the description of a transaction management method for an M2M / IoT system according to an embodiment of the present invention,
4 is a diagram showing a transaction start process,
5 illustrates a TR resource structure,
6 illustrates a description of the properties of the TR resource,
FIG. 7 is a block diagram illustrating the process flow according to an embodiment of the present invention,
8 is a conceptual diagram provided in the description of a transaction management method for an M2M / IoT system according to another embodiment of the present invention,
9 is a conceptual diagram provided in a description of a transaction management method for an M2M / IoT system according to another embodiment of the present invention.

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

도 3은 본 발명의 일 실시예에 따른 M2M/IoT 시스템을 위한 트랜잭션 관리 방법의 설명에 제공되는 개념도이다. 본 발명의 실시예에 따른 트랜잭션 관리 방법은, 트랜잭션에 대한 관리와 상태 추적을 위해 트랜잭션 명령을 해석하여 해당 트랜잭션에 대한 상태를 관리하는 리소스를 추가로 운용한다.3 is a conceptual diagram provided in the description of a transaction management method for an M2M / IoT system according to an embodiment of the present invention. A transaction management method according to an embodiment of the present invention further analyzes a transaction command and manages a state of a corresponding transaction in order to manage a transaction and track the status of the transaction.

도 3에는 디바이스-1에 포함된 개체인 AE(Application Entity)(110)와 디바이스-2에 포함된 개체인 AE(210) 간에 업데이트 오퍼레이션을 수행하는 상황을 나타내었다.FIG. 3 shows a situation where an update operation is performed between an AE (Application Entity) 110 included in the device-1 and an AE 210 included in the device-2.

M2M/IoT 시스템에서의 트랜잭션 관리를 위해, 본 발명의 실시예에서는 트랜잭션 커맨드(Transaction Command)를 제시한다. 트랜잭션 커맨드는 업데이트 요청 메시지에 포함되는 커맨드이다.For transaction management in the M2M / IoT system, a transaction command is presented in the embodiment of the present invention. The transaction command is a command included in the update request message.

구체적으로, 트랜잭션 커맨드에는, 도 3에 도시된 바와 같이, 트랜잭션 상태(또는 트랜잭션 타입)을 나타내는 Begin, Revoke, Commit이 수록된다. 또한, 도 3에 표시하지는 않았지만, 트랜잭션 커맨드에는 트랜잭션 ID가 더 포함될 수도 있다.Specifically, the transaction command includes Begin, Revoke, and Commit indicating the transaction state (or transaction type) as shown in FIG. In addition, although not shown in FIG. 3, the transaction command may further include a transaction ID.

AE(110)로부터 트랜잭션 커맨드가 포함된 업데이트 요청 메시지를 수신한 AE(210)는 업데이트 요청 메시지의 타겟 리소스의 하위에 자식 리소스를 생성하여 트랜잭션 관리를 수행한다.Upon receipt of the update request message including the transaction command from the AE 110, the AE 210 generates a child resource under the target resource of the update request message and performs transaction management.

구체적으로, 도 4에 도시된 바와 같이, AE(110)로부터 트랜잭션 상태가 "Begin"으로 수록된 트랜잭션 커맨드가 포함된 업데이트 요청 메시지를 수신한 AE(210)는, 업데이트 요청 메시지의 타겟 리소스인 CON(tainer)(220)의 하위에 자식 리소스 TR(ansaction)(230)을 생성한다.Specifically, as shown in FIG. 4, the AE 210 receiving the update request message including the transaction command having the transaction status of "Begin" from the AE 110 receives the update request message CON ( (child) resource 230 (TRANCE).

AE(210)는 TR(230)에 트랜잭션을 위한 정보들을 저장하고 관리한다. 도 5에 TR(230)의 구조를 나타내었다.The AE 210 stores and manages information for the transaction in the TR 230. FIG. 5 shows the structure of the TR 230.

도 5에 도시된 바와 같이, TR(230)은, 트랜잭션 오퍼레이션(transactionOperation), 트랜잭션 콘텐트(transactionContent), 트랜잭션 상태(transactionStatus) 및 트랜잭션 ID(transactionID)가 속성들로 포함된 리소스이다.As shown in FIG. 5, the TR 230 is a resource including a transaction operation (transactionOperation), a transaction content (transactionContent), a transaction status (transactionStatus), and a transaction ID (transactionID)

트랜잭션 오퍼레이션(transactionOperation)은 트랜잭션 커맨드가 포함된 요청 메시지의 CRUD(Create, Retrieve, Update, Delete) 오퍼레이션 타입을 나타내는 속성이다. 도 4의 경우 트랜잭션 오퍼레이션(transactionOperation)은 업데이트(Update)가 된다.A transaction operation (transactionOperation) is an attribute indicating a CRUD (Create, Retrieve, Update, Delete) operation type of a request message including a transaction command. In the case of FIG. 4, the transaction operation (transactionOperation) is updated.

트랜잭션 콘텐트(transactionContent)는 요청 메시지의 콘텐츠를 나타내는 속성이다. 도 4의 경우 트랜잭션 콘텐트(transactionContent)는 업데이트할 내용이 된다.The transaction content (transactionContent) is an attribute indicating the content of the request message. In the case of FIG. 4, the transaction content (transactionContent) becomes contents to be updated.

트랜잭션 상태(transactionStatus)는 TR(230)의 상위 리소스, 즉, 요청 메시지의 타겟 리소스에 대한 상태로, Begin 및 도 3 및 그에 대한 설명 부분에서 언급한 Revoke과 Commit을 말한다.The transaction status (transactionStatus) refers to the upper resource of the TR 230, that is, the state for the target resource of the request message, Begin, and Revoke and Commit mentioned in the description of FIG.

트랜잭션 ID(transactionID)는 트랜잭션을 식별하기 위한 ID이다.The transaction ID (transactionID) is an ID for identifying a transaction.

도 6에는 TR(230)을 구성하는 속성들에 대한 설명을 정리하였다.FIG. 6 shows a description of the attributes of the TR 230.

한편, AE(110)로부터 업데이트 요청 메시지를 수신한 AE(210)가 요청에 따른 업데이트가 가능한 경우, 도 4에 도시된 바와 같이, 업데이트 응답 메시지를 AE(110)에 반환한다.On the other hand, when the AE 210 receiving the update request message from the AE 110 can update according to the request, the AE 110 returns an update response message as shown in FIG.

AE(210)가 요청에 따른 업데이트를 수행할 수 없는 경우, AE(110)에 응답 메시지를 반환하지 않는다. 고장, 연결 단절 등의 경우에는 응답 메시지 전송이 불가능하다.The AE 210 does not return a response message to the AE 110 if the AE 210 can not perform the update according to the request. In the case of failure, connection disconnection, etc., the response message can not be transmitted.

AE(110)는 AE(210)로부터의 업데이트 응답 메시지의 수신 여부를 기초로 업데이트와 관련한 후속 트랜잭션 절차를 수행하는데, 이 과정에 대해 도 7을 참조하여 상세히 설명한다.The AE 110 performs a subsequent transaction procedure related to the update based on whether or not an update response message is received from the AE 210. This process will be described in detail with reference to FIG.

AE(210)로부터 업데이트 응답 메시지를 수신한 경우, AE(110)에서 AE(210)으로 전송되는 업데이트 요청 메시지에 포함되는 트랜잭션 커맨드의 트랜잭션 상태는 "Commit"이다.When the update response message is received from the AE 210, the transaction state of the transaction command included in the update request message transmitted from the AE 110 to the AE 210 is "Commit ".

이를 수신한 AE(210)는, 도 7의 중앙에 도시된 바와 같이, TR(230)의 트랜잭션 콘텐트(transactionContent)로 타겟 리소스인 CON(220)을 업데이트하고, TR(230)을 삭제한다.The AE 210 receiving this updates the CON 220 as the target resource with the transaction content (transactionContent) of the TR 230 and deletes the TR 230 as shown in the center of FIG.

한편, AE(210)로부터 업데이트 응답 메시지를 수신하지 못한 경우, AE(110)에서 AE(210)으로 전송되는 업데이트 요청 메시지에 수록되는 트랜잭션 커맨드의 트랜잭션 상태는 "Revoke"이다.On the other hand, if the update response message is not received from the AE 210, the transaction state of the transaction command included in the update request message transmitted from the AE 110 to the AE 210 is "Revoke ".

이를 수신한 AE(210)는, 도 7의 하부에 도시된 바와 같이, CON(220)에 대한 업데이트 없이, TR(230)을 삭제한다.The AE 210 that received this deletes the TR 230 without updating the CON 220, as shown in the lower portion of FIG.

다음, AE(110)의 요청을 수행한 AE(210)는 수행 결과를 수록한 응답 메시지를 AE(110)에 반환하며, 이 과정은 도 3의 하부에 도시되어 있다.Next, the AE 210 that has performed the request of the AE 110 returns a response message containing the execution result to the AE 110, which process is shown in the lower part of FIG.

도 8은 본 발명의 다른 실시예에 따른 M2M/IoT 시스템을 위한 트랜잭션 관리 방법의 설명에 제공되는 개념도이다. 도 8에서는 하나의 AE가 다수의 디바이스들에 포함된 개체들과 통신하는 상황을 상정하였다.8 is a conceptual diagram provided in a description of a transaction management method for an M2M / IoT system according to another embodiment of the present invention. In FIG. 8, it is assumed that one AE communicates with entities included in a plurality of devices.

구체적으로, AE(310)가, 1) 디바이스-1에 포함된 개체인 CSE(Common Service Entity)(410), 2) 디바이스-2에 포함된 개체인 AE(420), 3) 디바이스-3에 포함된 개체인 CSE(430), 4) 디바이스-4에 포함된 개체인 AE(440)와 통신한다.Specifically, the AE 310 includes a CSE (Common Service Entity) 410 that is an entity included in the device-1, 2) an AE 420 that is an entity included in the device-2, CSE 430, which is an embedded entity, and 4) an AE 440, which is an entity included in Device-4.

도 8에서는 AE(310)가 개체들(410, 420, 430, 440)에 업데이트 요청 메시지를 전송하고, 업데이트 응답 반환 여부에 따라 후속 처리하는 2가지 정책을 제시하였다.In FIG. 8, the AE 310 transmits an update request message to the entities 410, 420, 430, and 440, and presents two policies for processing subsequent requests according to whether an update response is returned.

첫 번째 정책(Policy 1)은, 모든 개체들(410, 420, 430, 440)로부터 업데이트 응답 메시지를 수신하지 못하면, AE(310)가 개체들(410, 420, 430, 440) 모두에 대해 트랜잭션 상태가 "Revoke"로 수록된 트랜잭션 커맨드를 포함한 업데이트 요청 메시지를 전송하는 것이다. 이에, 개체들(410, 420, 430, 440) 모두가 업데이트를 수행하지 않는다.The first policy (Policy 1) indicates that if the update response message is not received from all of the entities 410, 420, 430, 440, then the AE 310 sends a response to all of the entities 410, 420, 430, 440 And an update request message including a transaction command whose status is recorded as "Revoke ". Accordingly, not all the entities 410, 420, 430, and 440 perform the update.

두 번째 정책(Policy 2)은, 업데이트 응답 메시지를 전송한 개체들(410, 430)에 대해서는 트랜잭션 상태가 "Commit"으로 수록된 트랜잭션 커맨드를 포함한 업데이트 요청 메시지를 전송하고, 업데이트 응답 메시지를 전송하지 않은 개체들(420, 440)에 대해서는 트랜잭션 상태가 "Revoke"로 수록된 트랜잭션 커맨드를 포함한 요청 메시지를 전송하여 업데이트를 수행하지 않도록 하는 것이다.The second policy (Policy 2) is to send an update request message including the transaction command with the transaction status of "Commit" to the entity 410, 430 that transmitted the update response message, For the entities 420 and 440, a request message including a transaction command having a transaction status of "Revoke" is transmitted so as not to perform the update.

도 9에는 CURD 오퍼레이션에 따른 트랜잭션 관리 방법을 나타내었다. 도 9에 도시된 바와 같이, 전송 디바이스의 개체가 수신 디바이스의 개체에 트랜잭션 상태로 "Begin"이 수록된 트랜잭션 메시지를 포함한 CURU 요청 메시지를 전송하면, 수신 디바이스의 개체는 타겟 리소스의 하부에 TR 리소스를 생성한다.FIG. 9 shows a transaction management method according to the CURD operation. As shown in FIG. 9, when an object of the transmitting device transmits a CURU request message including a transaction message containing "Begin " in a transaction state to an object of the receiving device, the object of the receiving device transmits a TR resource .

다음, 전송 디바이스의 개체는, CURU 응답 메시지를 전송한 수신 디바이스의 개체에 대해서는 트랜잭션 상태로 "Commit" 또는 "Revoke"가 수록된 트랜잭션 메시지를 포함한 CURU 요청을 전송하고, CURU 응답 메시지를 전송하지 않은 수신 디바이스의 개체에 대해서는 트랜잭션 상태로 "Revoke"가 수록된 트랜잭션 메시지를 포함한 CURU 요청을 전송한다.Next, the object of the transmitting device transmits a CURU request including a transaction message containing "Commit " or" Revoke "in the transaction state to an object of the receiving device that has transmitted the CURU response message, For a device entity, it sends a CURU request containing a transaction message containing "Revoke" in the transaction state.

지금까지, M2M/IoT 시스템을 위한 트랜잭션 관리 방법에 대해 바람직한 실시예를 들어 상세히 설명하였다.Up to now, a preferred embodiment of a transaction management method for an M2M / IoT system has been described in detail.

위 실시예에서 업데이트가 불가능한 개체는 업데이트 응답을 전송하지 않는 것으로 구현하였는데, 예시적인 구현으로 변형이 가능하다. 이를 테면, 업데이트가 불가능함을 안내하는 정보를 수록한 응답 메시지를 반환하도록 구현하는 것도 가능하다.In the above embodiment, the object which can not be updated is implemented as not transmitting the update response, but the modification is possible in the exemplary implementation. In other words, it is also possible to implement a response message containing information for notifying that updating is not possible.

또한, 위 실시예에서 제시한 Update 오퍼레이션은 예시적인 것에 불과하다. Create 오퍼레이션, Retrieve 오퍼레이션, Delete 오퍼레이션의 경우에도 본 발명의 기술적 사상이 적용될 수 있음은 물론이다.In addition, the Update operation presented in the above embodiment is merely an example. It goes without saying that the technical idea of the present invention can also be applied to a Create operation, a Retrieve operation, and a Delete operation.

한편, 본 실시예에 따른 장치와 방법의 기능을 수행하게 하는 컴퓨터 프로그램을 수록한 컴퓨터로 읽을 수 있는 기록매체에도 본 발명의 기술적 사상이 적용될 수 있음은 물론이다. 또한, 본 발명의 다양한 실시예에 따른 기술적 사상은 컴퓨터로 읽을 수 있는 기록매체에 기록된 컴퓨터로 읽을 수 있는 코드 형태로 구현될 수도 있다. 컴퓨터로 읽을 수 있는 기록매체는 컴퓨터에 의해 읽을 수 있고 데이터를 저장할 수 있는 어떤 데이터 저장 장치이더라도 가능하다. 예를 들어, 컴퓨터로 읽을 수 있는 기록매체는 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.

110, 210 : AE(Application Entity)
220 : CON(tainer)
230 : TR(ansaction)
110, 210: Application Entity (AE)
220: CON (tainer)
230: TR (ansaction)

Claims (8)

개체가, 제1 트랜잭션 커맨드를 포함한 제1 요청 메시지를 수신하는 단계;
상기 개체가, 상기 제1 요청 메시지의 타겟 리소스의 하위에 트랜잭션 리소스를 생성하는 단계;
상기 개체가, 상기 트랜잭션 리소스에 트랜잭션에 대한 정보를 관리하는 제1 관리 단계;
상기 개체가, 제2 트랜잭션 커맨드를 포함한 제2 요청 메시지를 수신하는 단계; 및
상기 개체가, 상기 제2 트랜잭션 커맨드에 수록된 트랜잭션 상태를 기초로, 상기 트랜잭션 리소스를 관리하는 제2 관리 단계;를 포함하고,
상기 제2 관리 단계는,
상기 트랜잭션 상태가 제1 상태이면, 상기 개체가 상기 트랜잭션 리소스를 상기 타겟 리소스에 반영하는 단계;
상기 개체가, 상기 트랜잭션 리소스를 삭제하는 단계; 및
상기 트랜잭션 상태가 제2 상태이면, 상기 개체가 상기 트랜잭션 리소스를 삭제하는 단계;를 포함하는 것을 특징으로 하는 트랜잭션 관리 방법.
The entity receiving a first request message including a first transaction command;
The entity creating a transaction resource under a target resource of the first request message;
A first management step of the entity managing information on a transaction in the transaction resource;
Receiving, by the entity, a second request message including a second transaction command; And
And a second management step of the entity managing the transaction resource based on a transaction state recorded in the second transaction command,
Wherein the second management step comprises:
If the transaction state is a first state, the entity reflects the transaction resource to the target resource;
The entity deleting the transaction resource; And
And if the transaction state is a second state, deleting the transaction resource by the entity.
청구항 1에 있어서,
상기 트랜잭션 리소스는,
트랜잭션 오퍼레이션, 트랜잭션 콘텐트, 트랜잭션 상태 및 트랜잭션 ID 중 적어도 하나를 속성으로 포함하는 것을 특징으로 하는 트랜잭션 관리 방법.
The method according to claim 1,
Wherein the transaction resource comprises:
Wherein the attribute includes at least one of a transaction operation, a transaction content, a transaction state, and a transaction ID.
청구항 2에 있어서,
상기 트랜잭션 오퍼레이션은,
Create 오퍼레이션, Retrieve 오퍼레이션, Update 오퍼레이션 및 Delete 오퍼레이션 중 적어도 하나를 포함하는 것을 특징으로 하는 트랜잭션 관리 방법.
The method of claim 2,
The transaction operation includes:
A Create operation, a Retrieve operation, an Update operation, and a Delete operation.
삭제delete 삭제delete 삭제delete 청구항 1에 있어서,
상기 제1 요청 메시지에 대한 제1 응답 메시지를 전송하면, 상기 트랜잭션 상태가 제1 상태로 수록된 제2 트랜잭션 커맨드를 포함한 제2 요청 메시지가 수신되고,
상기 제1 요청 메시지에 대한 제1 응답 메시지를 전송하지 않으면, 상기 트랜잭션 상태가 제1 상태로 수록된 제2 트랜잭션 커맨드를 포함한 제2 요청 메시지가 수신되는 것을 특징으로 하는 트랜잭션 관리 방법.
The method according to claim 1,
A second request message including a second transaction command in which the transaction state is recorded in a first state is received when the first response message for the first request message is transmitted,
If a first response message for the first request message is not transmitted, a second request message including a second transaction command containing the transaction state in the first state is received.
제1 트랜잭션 커맨드를 포함한 제1 요청 메시지를 수신하는 개체;
상기 제1 요청 메시지의 타겟 리소스의 하위에 생성되는 트랜잭션 리소스;를 포함하고,
상기 개체는,
상기 트랜잭션 리소스에 트랜잭션에 대한 정보를 관리하며,
제2 트랜잭션 커맨드를 포함한 제2 요청 메시지를 수신하면, 상기 제2 트랜잭션 커맨드에 수록된 트랜잭션 상태를 기초로 상기 트랜잭션 리소스를 관리하고,
상기 트랜잭션 상태가 제1 상태이면, 상기 개체가 상기 트랜잭션 리소스를 상기 타겟 리소스에 반영하고, 상기 트랜잭션 리소스를 삭제하며,
상기 트랜잭션 상태가 제2 상태이면, 상기 개체가 상기 트랜잭션 리소스를 삭제하는 것을 특징으로 하는 디바이스.
An entity for receiving a first request message including a first transaction command;
And a transaction resource generated under a target resource of the first request message,
The apparatus of claim 1,
Managing information about a transaction in the transaction resource,
When receiving a second request message including a second transaction command, manages the transaction resource based on a transaction state recorded in the second transaction command,
If the transaction state is a first state, the entity reflects the transaction resource to the target resource, deletes the transaction resource,
And if the transaction state is a second state, the entity deletes the transaction resource.
KR1020160037551A 2016-03-29 2016-03-29 Transaction Management Method for M2M/IoT systems KR101792939B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160037551A KR101792939B1 (en) 2016-03-29 2016-03-29 Transaction Management Method for M2M/IoT systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160037551A KR101792939B1 (en) 2016-03-29 2016-03-29 Transaction Management Method for M2M/IoT systems

Publications (2)

Publication Number Publication Date
KR20170111662A KR20170111662A (en) 2017-10-12
KR101792939B1 true KR101792939B1 (en) 2017-11-01

Family

ID=60140396

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160037551A KR101792939B1 (en) 2016-03-29 2016-03-29 Transaction Management Method for M2M/IoT systems

Country Status (1)

Country Link
KR (1) KR101792939B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180846B1 (en) 2005-06-29 2012-05-15 Emc Corporation Method and apparatus for obtaining agent status in a network management application
KR101605967B1 (en) 2014-10-08 2016-03-24 한국과학기술원 Sevice method and system for managing transaction using application property

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180846B1 (en) 2005-06-29 2012-05-15 Emc Corporation Method and apparatus for obtaining agent status in a network management application
KR101605967B1 (en) 2014-10-08 2016-03-24 한국과학기술원 Sevice method and system for managing transaction using application property

Also Published As

Publication number Publication date
KR20170111662A (en) 2017-10-12

Similar Documents

Publication Publication Date Title
CN107507005B (en) Off-link data access method and system based on alliance chain
US20200159952A1 (en) Processing event messages for data objects in a message queue to determine data to redact
KR101054994B1 (en) Persistence Management Methods, Devices, and Computer-readable Media
KR101923245B1 (en) Transparent failover
US20170193034A1 (en) Object data updating method and apparatus in an object storage system
US10326828B2 (en) Method, apparatus, and system for executing distributed transaction resources
US10812486B2 (en) Utilizing smart data tags to track and control secure enterprise data
US8935560B2 (en) System and method of file locking in a network file system federated namespace
US7958200B2 (en) Methods, computer program products, and apparatuses for providing remote client access to exported file systems
US20180189315A1 (en) Method and device for calling a distributed file system
US9723064B1 (en) Hybrid quorum policies for durable consensus in distributed systems
US20120265831A1 (en) System and Method for Transmitting and Filtering Instant Messaging Information
EP2318914B1 (en) Method and apparatus for audit logging and role based security using one-way proxy architecture
KR101792939B1 (en) Transaction Management Method for M2M/IoT systems
US9348847B2 (en) Data access control apparatus and data access control method
KR20140068440A (en) SE Applet Management Method According to Application Uninstalling, Mobile Device and Service Management Server using the same
US11205049B2 (en) Method for managing semantic information on M2M/IoT platform
CN113157461B (en) Method and device for transmitting message in task list execution process
US11294774B2 (en) Method for managing backup data on first, second, or third virtual machine management platform
CN109120692B (en) Method and apparatus for processing requests
CN106851648B (en) Method, device and system for sharing access information of wireless access point
CN108345431B (en) Data reading method and device
US9311346B2 (en) Agent communication bulletin board
KR101792331B1 (en) Method and System for Transaction in the M2M/IoT Platform
CN113765871A (en) Fortress management method and device

Legal Events

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