KR101792331B1 - Method and System for Transaction in the M2M/IoT Platform - Google Patents

Method and System for Transaction in the M2M/IoT Platform Download PDF

Info

Publication number
KR101792331B1
KR101792331B1 KR1020150098695A KR20150098695A KR101792331B1 KR 101792331 B1 KR101792331 B1 KR 101792331B1 KR 1020150098695 A KR1020150098695 A KR 1020150098695A KR 20150098695 A KR20150098695 A KR 20150098695A KR 101792331 B1 KR101792331 B1 KR 101792331B1
Authority
KR
South Korea
Prior art keywords
nodes
message
transaction
status report
update
Prior art date
Application number
KR1020150098695A
Other languages
Korean (ko)
Other versions
KR20170007053A (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 KR1020150098695A priority Critical patent/KR101792331B1/en
Publication of KR20170007053A publication Critical patent/KR20170007053A/en
Application granted granted Critical
Publication of KR101792331B1 publication Critical patent/KR101792331B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

M2M/IoT 플랫폼에서 트랜잭션 지원 방법 및 시스템이 제공된다. 본 발명의 실시예에 따른 트랜잭션 지원 방법은, 하위 노드에 트랜잭션 커맨드 메시지를 전송하고, 하위 노드로부터 트랜잭션 상태 보고 메시지를 수신하여, 이를 참조로 하위 노드에 선택적인 후속 처리 메시지를 전송한다. 이에 의해, M2M/IoT 플랫폼에서 트랜잭션 지원으로, 신뢰성 있는 데이터 처리, 설정 및 제어가 가능해진다.A transaction support method and system is provided on the M2M / IoT platform. A transaction support method according to an exemplary embodiment of the present invention transmits a transaction command message to a child node, receives a transaction status report message from a child node, and transmits an optional subsequent processing message to a child node with reference to the transaction status report message. This enables reliable data processing, setup and control with transaction support on the M2M / IoT platform.

Description

M2M/IoT 플랫폼에서 트랜잭션 방법 및 시스템{Method and System for Transaction in the M2M/IoT Platform}[0001] The present invention relates to a transaction method and system for a M2M / IoT platform,

본 발명은 M2M/IoT 플랫폼에 관한 것으로, 더욱 상세하게는 M2M/IoT 플랫폼에서 트랜잭션을 지원하는 방법 및 시스템에 관한 것이다.
The present invention relates to an M2M / IoT platform, and more particularly to a method and system for supporting transactions in an M2M / IoT platform.

정보통신기술의 발달은 개인용 컴퓨터나 노트북 컴퓨터와 같은 컴퓨터를 중심으로 이루어진 네트워킹 및 인터넷 환경을 컴퓨터를 포함한 스마트폰, 휴대용 멀티미디어 기기와 같이 이동이 가능한 소형의 기기를 중심으로 변화시키고 있다.The development of information and communication technology is changing the networking and internet environment centered on computers such as personal computers and notebook computers with small devices that can be moved such as smart phones and portable multimedia devices including computers.

그러나, 연산, 통신 및 네트워킹 기능이 가능한 소형 장치들은 정보화 기기뿐만 아니라 계량기, 온도계와 같은 일반적인 사물에도 부착될 수가 있다. 사물에 부착된 이러한 소형 장치들은 사물의 정보를 자동으로 획득하게 해주거나 사물 간의 통신 네트워크를 통해 정보의 상호 공유가 가능해진다.However, small devices capable of arithmetic, communication, and networking functions can be attached to general objects such as meters and thermometers as well as information devices. These small devices attached to objects can automatically acquire information of objects or mutually share information through communication networks between objects.

이와 같이 사물에 부착된 통신 장치를 이용하여 사물이 네트워크에 연결되거나 사물간에 통신 네트워크를 구성하여 정보를 공유하는 개념 및 기술을 지칭하는 용어로 IoT(Internet of Things : 사물 인터넷), M2M(Machine to Machine) 및 사물지능통신 등이 있다.The term "Internet of Things", "M2M" (machine-to-machine communication) is 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. Machine and intelligent 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 플랫폼 시스템에서는 여러 기기들에 대한 설정 및 제어에 대해, 해당 과정에 대한 신뢰성 보장이 되지 않는다. 즉, 등록된 기기들에 대해서 일련의 메시지 전달 후 오류 발생에 대한 대책이 마련되어 있지 않은 실정이다.
However, in the current M2M / IoT platform system, there is no guarantee of reliability for the setting and control of various devices. That is, there is no countermeasure for the error occurrence after a series of messages are transmitted to the registered devices.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, 신뢰성 있는 데이터 처리, 설정 및 제어를 위한 방안으로, M2M/IoT 플랫폼에서의 트랜잭션 지원 방법 및 시스템을 제공함에 있다.
It is an object of the present invention to provide a method and system for supporting transaction in M2M / IoT platform as a method for reliable data processing, setting and control.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 트랜잭션 지원 방법은, 상위 노드가, 하위 노드에 트랜잭션 커맨드 메시지(Transaction Command Message)를 전송하는 제1 전송단계; 상기 상위 노드가, 상기 하위 노드로부터 트랜잭션 상태 보고 메시지(Transaction Status Report Message)를 수신하는 단계; 및 상기 트랜잭션 상태 보고 메시지를 참조하여, 상기 상위 노드가 상기 하위 노드에 선택적인 후속 처리 메시지를 전송하는 제2 전송단계;를 포함한다.According to an aspect of the present invention, there is provided a transaction support method including: a first transmission step in which an upper node transmits a transaction command message to a lower node; The upper node receiving a Transaction Status Report Message from the lower node; And a second transmission step of referring to the transaction status report message and the upper node transmitting an optional subsequent process message to the lower node.

그리고, 상기 트랜잭션 커맨드 메시지는, 상기 하위 노드의 리소스 업데이트 메시지이고, 트랜잭션 상태 보고 메시지는, 상기 하위 노드의 리소스 업데이트 성공 여부가 수록된 메시지일 수 있다.The transaction command message may be a resource update message of the lower node, and the transaction status report message may be a message indicating whether the resource update of the lower node is successful.

또한, 상기 하위 노드는, 상기 상위 노드로부터 상기 트랜잭션 커맨드 메시지를 수신하면, 대상 리소스를 복사한 후 업데이트를 수행하며, 상기 제2 전송단계는, 상기 리소스 업데이트가 성공이면, 최종 Commit 메시지를 전송하고, 상기 하위 노드는, 상기 최종 Commit 메시지를 수신하면, 복사한 대상 리소스를 삭제할 수 있다.In addition, when the lower node receives the transaction command message from the upper node, the lower node performs an update after copying the target resource, and the second transmission step transmits a final commit message if the resource update is successful , The lower node can delete the copied target resource upon receiving the final commit message.

그리고, 상기 제2 전송단계는, 상기 리소스 업데이트가 실패이면, Rollback 메시지를 전송하고, 상기 하위 노드는, 상기 Rollback 메시지를 수신하면, 업데이트 하였던 대상 리소스를 복사한 대상 리소스로 복원할 수 있다.In the second transmission step, if the resource update is failed, a Rollback message is transmitted. When the lower node receives the Rollback message, the lower node can restore the updated target resource to the copied resource.

또한, 상기 제1 전송 단계는, 다수의 하위 노드들에 트랜잭션 커맨드 메시지들을 전송하고, 상기 수신 단계는, 다수의 하위 노드들로부터 트랜잭션 상태 보고 메시지들을 수신하며, 상기 제2 전송 단계는, 트랜잭션 상태 보고 메시지들 중 적어도 하나를 참조하여, 상기 하위 노드들 중 적어도 하나에 선택적인 후속 처리 메시지를 전송할 수 있다.The first transmission step also transmits transaction command messages to a plurality of lower nodes, and the receiving step receives transaction status report messages from a plurality of lower nodes, And may transmit an optional subsequent processing message to at least one of the child nodes with reference to at least one of the report messages.

한편, 본 발명의 다른 실시예에 따른, 트랜잭션 지원 방법은, 하위 노드가, 상위 노드로부터 트랜잭션 커맨드 메시지(Transaction Command Message)를 수신하는 제1 수신단계; 상기 하위 노드가, 상기 상위 노드에 트랜잭션 상태 보고 메시지(Transaction Status Report Message)를 전송하는 단계; 및 상기 하위 노드가, 상기 트랜잭션 상태 보고 메시지를 참조로 상기 상위 노드가 결정한 후속 처리 메시지를 상기 상위 노드로부터 수신하는 제2 수신단계;를 포함한다.
According to another aspect of the present invention, there is provided a transaction support method including: a first receiving step of a lower node receiving a transaction command message from an upper node; The lower node transmits a Transaction Status Report Message to the upper node; And a second receiving step of receiving, from the superordinate node, a subsequent process message determined by the superordinate node with reference to the transaction status report message.

이상 설명한 바와 같이, 본 발명의 실시예들에 따르면, M2M/IoT 플랫폼에서 트랜잭션 지원으로, 신뢰성 있는 데이터 처리, 설정 및 제어가 가능해진다. 특히, 본 발명의 실시예들에 따르면, M2M/IoT 기기들에 대한 일련의 처리과정에서 원하는 결과를 얻지 못한 경우 일련의 처리과정이 시작되기 전단계의 상태로 Rollback 하는 기능을 지원하고, 원하는 결과를 얻은 경우 최종 Commit 하는 기능을 지원하여, M2M/IoT 플랫폼 시스템의 신뢰성을 보장할 수 있게 된다.
As described above, according to the embodiments of the present invention, reliable data processing, setting, and control can be performed with transaction support in the M2M / IoT platform. In particular, according to embodiments of the present invention, if a desired result is not obtained in a series of processes for M2M / IoT devices, a function of rolling back to a state before a series of processes is supported, When it is obtained, it supports the function of final commit to guarantee the reliability of the M2M / IoT platform system.

도 1은 본 발명이 적용가능한 M2M/IoT 시스템을 도시한 도면,
도 2는 하위 노드의 리소스 구조 및 리소스 업데이트 방법을 개념적으로 나타낸 도면,
도 3 내지 도 6은, 하위 노드의 리소스 업데이트 과정에 대한 구체적인 설명에 제공되는 도면들, 그리고,
도 7은 M2M/IoT 시스템에서 트랜잭션 처리에 대한 관리를 위한 정책들을 예시한 도면이다.
1 is a diagram illustrating an M2M / IoT system to which the present invention is applicable,
2 is a conceptual diagram illustrating a resource structure of a child node and a resource update method;
3 to 6 are diagrams provided in a specific description of a process of updating a resource of a lower node,
7 is a diagram illustrating policies for management of transaction processing in the M2M / IoT system.

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

본 발명의 실시예에서는, M2M/IoT 플랫폼에서 신뢰성 있는 데이터 처리를 위한 트랜잭션 지원 시스템을 제시한다. 이를 위해, 본 발명의 실시예에 따른 트랜잭션 지원 시스템은, Commit 기능과 Rollback 기능을 지원하여, 기기들의 설정과 제어에 대한 신뢰성을 보장한다.The embodiment of the present invention proposes a transaction support system for reliable data processing in the M2M / IoT platform. To this end, the transaction support system according to the embodiment of the present invention supports the commit function and the rollback function, thereby assuring the reliability of the setting and control of the devices.

도 1은 본 발명이 적용가능한 M2M/IoT 시스템을 도시한 도면이다. 도시된 M2M/IoT 시스템은 IN(Infrastructure Node : 인프라 노드)이 MN(Middle Node : 중간 노드)들 및 ASN(Application Service Node : 어플리케이션 서비스 노드)들과 상호 통신가능하도록 연결되어 구축된다.1 is a diagram showing an M2M / IoT system to which the present invention is applicable. The illustrated M2M / IOT system is constructed by connecting an Infrastructure Node (IN) to be able to communicate with Middle Node (MN) and Application Service Node (ASN).

IN은 서버에 해당하는 노드, MN은 게이트웨이에 해당하는 노드, ASN은 엔드-포인트에 해당하는 노드로 이해하여도 무방하지만, 반드시 이에 따라야 하는 것은 아니다.It can be understood that IN is a node corresponding to a server, MN is a node corresponding to a gateway, and ASN is a node corresponding to an end-point.

도 1에서는 IN과 MN들 및 ASN들 간의 트랜잭션 메시지 처리 과정이 나타나 있다. 구체적으로, 도 1에는,FIG. 1 shows a process of processing a transaction message between IN, MNs and ASNs. Specifically, in Fig. 1,

1) IN이 MN들과 ASN들에 트랜잭션 커맨드 메시지(Transaction Command Message)를 전송하면,1) If IN sends a Transaction Command Message to MNs and ASNs,

2) MN들과 ASN들이 IN에 트랜잭션 상태 보고 메시지(Transaction Status Report Message)를 반환하고,2) MNs and ASNs return a Transaction Status Report Message to IN,

3) 반환된 메시지를 참조로 IN이 MN들과 ASN들에 최종 Commit 메시지(Final Commit Message) 또는 Rollback 메시지(Rollback Message)를 선택적으로 전송하는 과정이 나타나 있다.3) Referring to the returned message, IN shows a process of selectively sending a final commit message or a rollback message to MNs and ASNs.

도 1에서 트랜잭션 커맨드는 리소스 업데이트(UPDATE) 인 것을 상정하였다. 도 2에는 하위 노드(MN, ASN)의 리소스 구조를 나타내었다. 또한, 도 2에는 "container1"에 수록된 리소스의 업데이트 방법이 개념적으로 나타나 있다.In FIG. 1, it is assumed that the transaction command is a resource update (UPDATE). FIG. 2 shows the resource structure of the lower nodes MN and ASN. FIG. 2 conceptually shows a method of updating a resource contained in "container1".

도 2에 도시된 바와 같이, "container1"에 수록된 리소스의 업데이트를 위해서는, 먼저 리소스의 복사에 해당하는 SNAPSHOT이 선행되어야 하며, 이후, 리소스가 업데이트될 수도 있고, 원래 대로 Rollback 될 수도 있다.As shown in Fig. 2, in order to update a resource recorded in "container1", a SNAPSHOT corresponding to a copy of a resource must be preceded, and then the resource may be updated or rolled back originally.

이하에서, 도 1에 제시된 과정에 의해, 하위 노드(MN, ASN)에서 리소스 업데이트가 수행되는 구체적인 과정에 대해, 도 3 내지 도 6을 참조하여, 보다 상세히 설명한다.Hereinafter, a specific process in which the resource update is performed in the lower node (MN, ASN) by the process shown in FIG. 1 will be described in detail with reference to FIG. 3 to FIG.

IN으로부터 수신되는 트랜잭션 커맨드 메시지에는, 커맨드(UPDATE), 대상 리소스 및 데이터가 포함된다. 도 1에서 커맨드는 UPDATE로 상정한 바 있다. 그리고, 데이터는 대상 리소스의 데이터를 대체할 새로운 데이터이다.The transaction command message received from the IN includes a command (UPDATE), a target resource, and data. In Fig. 1, the command has been assumed to be UPDATE. The data is new data to replace the data of the target resource.

대상 리소스는 업데이트할 리소스를 특정/지정하는 정보로 URI로 특정 가능/지정하다. 도 2에서 대상 리소스는 "container1"로 상정하였는데, 이를 URI로 표현하면, "CSEBase/remoteCSE/AE/container1"이다.The target resource is information specifying / specifying the resource to be updated, and can be specified / specified by URI. In Fig. 2, the target resource is assumed to be "container1 ", and expressed as a URI is" CSEBase / remoteCSE / AE / container1 ".

IN으로부터 리소스 업데이트를 수신한 하위 노드는, 도 3에 도시된 바와 같이, 해당 리소스를 복사(SNAPSHOT)하여, "container1"의 복사본(백업본)을 생성한다.The child node receiving the resource update from the IN copies the corresponding resource (SNAPSHOT) as shown in FIG. 3, and generates a copy (backup copy) of "container1".

다음, 하위 노드는, 도 4에 도시된 바와 같이, IN으로부터 수신한 트랜잭션 커맨드 메시지에 포함된 데이터로 대상 리소스는 "container1"를 업데이트 한다. 업데이트는 성공할 수도 있고 실패할 수도 있다. 업데이트 실패는, IN과 하위 노드 간의 링크 상의 문제나 하위 노드의 내부적인 오류에 의해 발생한다.Next, the child node updates "container1" with the data included in the transaction command message received from the IN, as shown in Fig. The update may or may not succeed. An update failure is caused by a problem on the link between IN and the lower node or an internal error of the lower node.

이후, 하위 노드는 IN에 트랜잭션 상태 보고 메시지를 반환한다. 하위 노드로부터 IN으로 반환되는 트랜잭션 상태 보고 메시지에는, 업데이트에 성공하였는지 아니면 실패하였는지 여부에 대한 정보가 수록된다.The child node then returns a transaction status report message to the IN. The transaction status report message returned from IN to the IN contains information about whether the update succeeded or failed.

업데이트 성공의 경우, IN은 하위 노드에 최종 Commit 메시지를 전송한다. 그러면, 하위 노드는, 도 5에 도시된 바와 같이, SNAPSHOT 되어진 복사본을 삭제한다.If the update succeeds, IN sends the final commit message to the child node. The child node then deletes the SNAPSHOT copied copy, as shown in FIG.

반면, 업데이트 실패의 경우, IN은 하위 노드에 Rollback 메시지를 전송한다. 그러면, 하위 노드는, 도 6에 도시된 바와 같이, 업데이트를 시도하였던 리소스를 SNAPSHOT 되어진 복사본(백업본)으로 복원시킨다.On the other hand, if the update fails, IN sends a Rollback message to the child node. Then, the child node restores the SNAPSHOT copied copy (backup copy) of the resource that has attempted to update, as shown in FIG.

지금까지, M2M/IoT 플랫폼에서 신뢰성 있는 데이터 처리를 위한 트랜잭션 지원 방법에 대해 바람직한 실시예를 들어 상세히 설명하였다.Up to now, a preferred embodiment of a transaction support method for reliable data processing in the M2M / IoT platform has been described in detail.

위 실시예에 따르면, M2M/IoT 기기들에 해당하는 노드들에 대한 리소스 업데이트 과정에서 원하는 결과를 얻지 못한 경우(즉, 업데이트에 실패한 경우) 업데이트 시작 전단계의 상태로 Rollback 하는 기능을 지원하고, 원하는 결과를 얻은 경우(즉, 업데이트에 성공한 경우), 업데이트 완료 상태를 최종 Commit 하는 기능을 지원하여, M2M/IoT 플랫폼 시스템의 신뢰성을 보장할 수 있게 된다.According to the embodiment, when the desired result is not obtained in the resource update process for the nodes corresponding to the M2M / IOT devices (i.e., the update fails), the function of rolling back to the state before the update start is supported, When the result is obtained (that is, when the update is successful), the function of finalizing the update completion state is supported, thereby ensuring the reliability of the M2M / IoT platform system.

위 실시예에서, IN은 하위 노드의 업데이트 성공/실패 여부에 따라, 개별적으로 Commit/Rollback 처리하는 것을 상정하였다. 하지만, 하위 노드들이 서로 연관되어 있을 수 있다는 점에서, 하위 노드의 Commit/Rollback이 자신은 물론 다른 하위 노드의 업데이트 성공/실패 여부에도 의존하도록 정책을 운용할 수 있다.In the above embodiment, it has been assumed that IN performs Commit / Rollback processing individually according to the success / failure of update of the lower node. However, since the child nodes may be related to each other, it is possible to operate the policy so that the commit / rollback of the child node depends on the success / failure of updating itself and other child nodes.

예를 들어, 도 7의 정책1(Policy1)에 제시된 바와 같이, 하위 노드들 중 어느 하나 만이라도 업데이트 실패(Fail)인 경우에는, 모든 하위 노드들에 대해 Rollback 처리되도록 구현하는 것이 가능하다.For example, as shown in Policy 1 (Policy 1) of FIG. 7, when only one of the lower nodes is failed to update, it is possible to implement rollback processing for all the lower nodes.

다른 예로, 도 7의 정책2(Policy2)에 제시된 바와 같이, MN은 자신은 물론 다른 MN의 업데이트도 성공해야 Commit 처리되고, ASN도 자신은 물론 다른 ASN의 업데이트도 성공해야 Commit 처리되는 것으로 구현 가능하다.As another example, as shown in Policy 2 (Policy 2) in FIG. 7, the MN needs to successfully update not only itself but also other MNs, and the ASN can also be implemented as being committed to itself and successively updating other ASNs Do.

도 7에는, 정책2(Policy2)를 따르는 경우, 모든 MN이 업데이트에 성공(Success) 하여 MN들 모두가 Commit 처리되었지만, ASN들 중 하나는 업데이트에 실패(FaiL) 하여 ASN들 모두가 Rollback 처리되었음을 나타내었다.In FIG. 7, in the case of following policy 2 (Policy 2), all of the MNs are committed and all of the MNs are committed, but one of the ASNs fails to update (FaiL) Respectively.

도 7에서 제시한 정책들은 예시적인 것들에 불과하며, 운용할 정책의 개수에 대한 제한도 없다. M2M/IoT 시스템에서 트랜잭션 처리에 대한 관리를 위한 이 정책들은 적어도 하나의 노드(전체/일부 노드)에 대한 업데이트 실패시, 적어도 하나의 노드(전체/일부 노드)에 대해 Rollback 처리하는 방식으로, 제한 없이 다양하게 설정될 수 있다.The policies presented in FIG. 7 are exemplary only, and there is no limit to the number of policies to operate. These policies for management of transaction processing in M2M / IoT systems are restricted to at least one node (all / some nodes) in the event of an update failure on at least one node (all / some nodes) Can be set variously.

또한, 위 실시예들에서, 하위 노드들인 M2M/IoT 기기들의 리소스 업데이트를 상정하였는데, 업데이트는 커맨드의 일종에 해당한다. 다른 종류의 커맨드에 대해서도, 위에서 제시한 트랜잭션 지원이 적용될 수 있음은 물론이다.Further, in the above embodiments, the resource update of the M2M / IoT devices which are the lower nodes is assumed, and the update corresponds to a kind of command. It goes without saying that the above-described transaction support can be applied to other types of commands.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.
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.

IN : Infrastructure Node(인프라 노드)
MN : Middle Node(중간 노드)
ASN : Application Service Node(어플리케이션 서비스 노드)
Transaction Command Message : 트랜잭션 커맨드 메시지
Transaction Status Report Message : 트랜잭션 상태 보고 메시지
Final Commit Message : 최종 Commit 메시지
Rollback Message : Rollback 메시지
IN: Infrastructure Node
MN: Middle Node (intermediate node)
ASN: Application Service Node (Application Service Node)
Transaction Command Message: Transaction command message
Transaction Status Report Message: Transaction status report message
Final Commit Message: The final Commit message
Rollback Message: Rollback Message

Claims (6)

상위 노드가, 다수의 하위 노드들에 트랜잭션 커맨드 메시지(Transaction Command Message)들을 전송하는 제1 전송단계;
상기 상위 노드가, 상기 하위 노드들로부터 트랜잭션 상태 보고 메시지(Transaction Status Report Message)들을 수신하는 단계; 및
상기 트랜잭션 상태 보고 메시지들을 참조하여, 상기 상위 노드가 상기 하위 노드들에 선택적인 후속 처리 메시지를 전송하는 제2 전송단계;를 포함하고,
상기 제2 전송 단계는,
제1 타입의 하위 노드들로부터 수신한 트랜잭션 상태 보고 메시지들을 참조하여, 제1 타입의 하위 노드들에 선택적인 후속 처리 메시지를 전송하고,
제2 타입의 하위 노드들로부터 수신한 트랜잭션 상태 보고 메시지들을 참조하여, 제2 타입의 하위 노드들에 선택적인 후속 처리 메시지를 전송하는 것을 특징으로 하는 트랜잭션 지원 방법.
A first transmission step in which an upper node transmits transaction command messages to a plurality of lower nodes;
The upper node receiving transaction status report messages from the lower nodes; And
And a second transmission step of referring to the transaction status report messages, wherein the upper node transmits an optional subsequent processing message to the lower nodes,
Wherein the second transmission step comprises:
Referring to the transaction status report messages received from the lower level nodes of the first type, transmitting an optional subsequent process message to the lower level nodes of the first type,
And transmitting an optional subsequent process message to the lower level nodes of the second type with reference to the transaction status report messages received from the lower level nodes of the second type.
청구항 1에 있어서,
상기 트랜잭션 커맨드 메시지들은, 상기 하위 노드들의 리소스 업데이트 메시지들이고,
트랜잭션 상태 보고 메시지들은, 상기 하위 노드들의 리소스 업데이트 성공 여부가 수록된 메시지들인 것을 특징으로 하는 트랜잭션 지원 방법.
The method according to claim 1,
Wherein the transaction command messages are resource update messages of the lower nodes,
Wherein the transaction status report messages include messages indicating whether the resource update of the lower nodes is successful.
청구항 2에 있어서,
상기 하위 노드들은, 상기 상위 노드로부터 상기 트랜잭션 커맨드 메시지를 수신하면, 대상 리소스를 복사한 후 업데이트를 수행하며,
상기 제2 전송단계는, 상기 리소스 업데이트가 성공이면, 최종 Commit 메시지를 전송하고,
상기 하위 노드들은, 상기 최종 Commit 메시지를 수신하면, 복사한 대상 리소스를 삭제하는 것을 특징으로 하는 트랜잭션 지원 방법.
The method of claim 2,
Wherein the lower nodes, when receiving the transaction command message from the upper node, perform an update after copying the target resource,
Wherein if the resource update is successful, the second transmission step transmits a final commit message,
And the lower nodes delete the copied target resource upon receiving the final commit message.
청구항 3에 있어서,
상기 제2 전송단계는, 상기 리소스 업데이트가 실패이면, Rollback 메시지를 전송하고,
상기 하위 노드들은, 상기 Rollback 메시지를 수신하면, 업데이트 하였던 대상 리소스를 복사한 대상 리소스로 복원하는 것을 특징으로 하는 트랜잭션 지원 방법.
The method of claim 3,
The second transmission step may include transmitting a rollback message if the resource update is unsuccessful,
And the lower nodes, when receiving the Rollback message, restore the updated target resource to the copied target resource.
삭제delete 하위 노드들이, 상위 노드로부터 트랜잭션 커맨드 메시지(Transaction Command Message)들을 수신하는 제1 수신단계;
상기 하위 노드들이, 상기 상위 노드에 트랜잭션 상태 보고 메시지(Transaction Status Report Message)들을 전송하는 단계; 및
상기 하위 노드들이, 상기 트랜잭션 상태 보고 메시지들을 참조로 상기 상위 노드가 결정한 후속 처리 메시지들을 상기 상위 노드로부터 수신하는 제2 수신단계;를 포함하고,
상기 상위 노드는,
제1 타입의 하위 노드들로부터 수신한 트랜잭션 상태 보고 메시지들을 참조하여, 제1 타입의 하위 노드들에 선택적인 후속 처리 메시지를 전송하고,
제2 타입의 하위 노드들로부터 수신한 트랜잭션 상태 보고 메시지들을 참조하여, 제2 타입의 하위 노드들에 선택적인 후속 처리 메시지를 전송하는 것을 특징으로 하는 트랜잭션 지원 방법.
A first receiving step in which the lower nodes receive transaction command messages from an upper node;
Transmitting, by the lower nodes, transaction status report messages to the upper node; And
And a second receiving step of the lower nodes receiving, from the upper node, subsequent processing messages determined by the upper node with reference to the transaction status report messages,
The superordinate node,
Referring to the transaction status report messages received from the lower level nodes of the first type, transmitting an optional subsequent process message to the lower level nodes of the first type,
And transmitting an optional subsequent process message to the lower level nodes of the second type with reference to the transaction status report messages received from the lower level nodes of the second type.
KR1020150098695A 2015-07-10 2015-07-10 Method and System for Transaction in the M2M/IoT Platform KR101792331B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150098695A KR101792331B1 (en) 2015-07-10 2015-07-10 Method and System for Transaction in the M2M/IoT Platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150098695A KR101792331B1 (en) 2015-07-10 2015-07-10 Method and System for Transaction in the M2M/IoT Platform

Publications (2)

Publication Number Publication Date
KR20170007053A KR20170007053A (en) 2017-01-18
KR101792331B1 true KR101792331B1 (en) 2017-11-01

Family

ID=57991954

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150098695A KR101792331B1 (en) 2015-07-10 2015-07-10 Method and System for Transaction in the M2M/IoT Platform

Country Status (1)

Country Link
KR (1) KR101792331B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102567658B1 (en) * 2021-04-14 2023-08-16 주식회사 카카오뱅크 Method and System for developing business components in isolation using multi-transactions

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136976A (en) * 2011-02-24 2011-07-27 华为技术有限公司 Machine transaction control method, device and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136976A (en) * 2011-02-24 2011-07-27 华为技术有限公司 Machine transaction control method, device and system

Also Published As

Publication number Publication date
KR20170007053A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN110956474B (en) Electronic invoice system based on block chain
EP3479546B1 (en) Data management microservice in a microservice domain
US8379645B2 (en) Link data transmission method, node and system
CN104219316A (en) Method and device for processing call request in distributed system
CN112955874A (en) System and method for self-healing in decentralized model building using machine learning of blockchains
JP6431197B2 (en) Snapshot processing methods and associated devices
JPWO2017169281A1 (en) Location registration area list update method
WO2021136233A1 (en) Service upgrading method, device and system
CN112714158A (en) Transaction processing method, relay network, cross-link gateway, system, medium, and device
CN111708668B (en) Cluster fault processing method and device and electronic equipment
KR101792331B1 (en) Method and System for Transaction in the M2M/IoT Platform
CN107306289B (en) Load balancing method and device based on cloud computing
Alshareef et al. Robust cloud management of MANET checkpoint sessions
CN107211236A (en) The link resource management of service layer
CN113391759B (en) Communication method and equipment
CN108848156B (en) Access gateway processing method, device and storage medium
KR101672724B1 (en) Middle-tier, data processing system including the same, and method of database transferring
CN107431636B (en) Control of ad hoc network functions
Vasconcelos et al. Dynamic and coordinated software reconfiguration in distributed data stream systems
JP2017034610A (en) Call processing device, session recovery method and call processing server program
US10769586B2 (en) Implementation of rolling key to identify systems inventories
CN112422598A (en) Resource scheduling method, intelligent front-end equipment, intelligent gateway and distributed system
CN113271229B (en) Equipment control method and device, storage equipment, safety equipment, switch, router and server
CN114996200B (en) RDMA-based data transmission method, device, equipment and storage medium
CN101895980B (en) Method and device for task synchronization

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