KR20130135009A - Managing apparatus and method for machine-to-machine communications - Google Patents

Managing apparatus and method for machine-to-machine communications Download PDF

Info

Publication number
KR20130135009A
KR20130135009A KR1020120121701A KR20120121701A KR20130135009A KR 20130135009 A KR20130135009 A KR 20130135009A KR 1020120121701 A KR1020120121701 A KR 1020120121701A KR 20120121701 A KR20120121701 A KR 20120121701A KR 20130135009 A KR20130135009 A KR 20130135009A
Authority
KR
South Korea
Prior art keywords
resource
transaction
information
master
supported
Prior art date
Application number
KR1020120121701A
Other languages
Korean (ko)
Other versions
KR102034736B1 (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 CN201380003515.0A priority Critical patent/CN103947157B/en
Priority to US13/905,887 priority patent/US20130324121A1/en
Priority to PCT/KR2013/004740 priority patent/WO2013180476A1/en
Publication of KR20130135009A publication Critical patent/KR20130135009A/en
Application granted granted Critical
Publication of KR102034736B1 publication Critical patent/KR102034736B1/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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

A management apparatus for M2M communication and a method are disclosed. The present invention periodically synchronizes information, manages machine-to-machine (M2M) communication through an interface which accesses resources, and abstracts a device through a device master template and a resource master template. According to the present invention, the scalability problem of a system and the heterogeneity problem of the interface, which can approach to the resources, can be solved. The load of network service capability layer (NSCL) is minimized without reducing the service quality. [Reference numerals] (AA) Registration request of device #A

Description

M2M 통신용 관리 장치 및 방법{Managing apparatus and method for Machine-to-Machine communications}[0001] The present invention relates to a management apparatus and method for M2M communication,

본 발명은 M2M 통신용 관리 장치 및 방법에 관한 것으로, 더욱 상세하게는 기 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 디바이스를 추상화하고, 자원(resource)에 접근할 수 있는 인터페이스(interface)를 통해 M2M 통신(Machine-to-Machine communications)을 관리하며, 주기적으로 정보를 동기화하는 장치 및 방법에 관한 것이다.The present invention relates to a management apparatus and method for an M2M communication, and more particularly, to a management apparatus and method for an M2M communication. More particularly, the present invention abstracts a device through a device master template and a resource master template, To machine-to-machine communications (M2M) communication through an accessible interface, and to an apparatus and method for periodically synchronizing information.

사물과 장비 사이의 통신 서비스 활성화를 위해 국제 표준화 단체인 유럽 전기 통신 표준 협회(european telecommunications standards institute : ETSI)에서 ETSI M2M(Machine-to-Machine) 표준을 제정하고 있다. ETSI M2M 표준은 네트워크 어플리케이션(network application : NA), 디바이스 어플리케이션(device application : DA), 네트워크 서비스 캐퍼빌러티 레이어(network service capability layer : NSCL), 서비스 캐퍼빌러티 레이어(service capability layer : SCL) 등과 같은 개념을 정의하고 자원(resource)에 접근하는 URI(uniform resource identifier)를 REST(representational state transfer) 기반으로 표준화하여 서비스 개발의 편의성을 높이고 있다.ETSI has established the ETSI Machine-to-Machine (M2M) standard in the European telecommunications standards institute (ETSI), an international standardization organization, to facilitate communication services between objects and equipment. The ETSI M2M standard consists of a network application (NA), a device application (DA), a network service capability layer (NSCL), a service capability layer (SCL) It defines the same concept and improves the convenience of service development by standardizing URI (uniform resource identifier) that accesses resources based on representational state transfer (REST).

ETSI M2M 표준에는 표준을 따르지 않는 레거시 디바이스(legacy device)가 네크워크 서비스 캐퍼빌러티 레이어(NSCL)에 연결될 수 있다고 정의되어 있으나, 그 구체적인 방법에 대해서는 정의되어 있지 않다. 그러나, 현실 환경에서 다수의 디바이스는 레거시 디바이스(legacy device)이고, 이러한 레거시 디바이스(legacy device)가 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 연결될 때 다음과 같은 문제가 발생된다. 첫 번째 문제는 시스템의 확장성(scalability)에 대한 것으로, 하나의 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 다수의 디바이스가 연결되면 성능 저하가 발생될 수 있다. 두 번째 문제는 자원(resource)에 접근할 수 있는 인터페이스(interface)의 이종성(heterogeneity)에 대한 것으로, 같은 종류의 디바이스라고 해도 제조사나 모델마다 접근 인터페이스가 상이할 수 있다. 여기서, 이종성(heterogeneity) 문제는 형식(form)과 내용(semantics) 측면 모두에서 발생될 수 있다. 형식(form) 측면에서 보면 통신 프로토콜이 서로 상이할 수 있고, 내용(semantics) 측면에서 보면 페이로드(payload)에 담기는 내용을 작성하는 언어(namespace, taxonomy, grammar 등)가 서로 상이할 수 있다.The ETSI M2M standard defines that a legacy device that does not conform to the standard can be connected to the Network Service Capability Layer (NSCL), but its specific method is not defined. However, in a real environment, many devices are legacy devices, and the following problems arise when such legacy devices are connected to the network service capability layer (NSCL). The first problem is the scalability of the system, which can lead to performance degradation when multiple devices are connected to a single network serviceability layer (NSCL). The second problem relates to the heterogeneity of interfaces that can access resources. Even the same type of device, the access interface may be different for each manufacturer or model. Here, the heterogeneity problem can occur in both form and semantics. In terms of form, communication protocols may be different from each other, and in terms of contents (semantics), the languages (namespace, taxonomy, grammar, etc.) .

또한, 네트워크 서비스 캐퍼빌러티 레이어(NSCL)는 디바이스와 네트워크 어플리케이션(NA) 간의 원활한 통신을 위하여 읽기/쓰기 버퍼를 포함할 수 있다. 버퍼를 활용할 경우, 네트워크 어플리케이션(NA)이 디바이스로 보내려는 데이터나 디바이스가 네트워크 어플리케이션(NA)으로 보내는 데이터는 우선 이 버퍼에 저장된다. 이러한 방법에 의하면, 데이터의 가용성을 높이거나 중복 요청을 줄이는 효과를 얻을 수 있다. ETSI M2M 표준에 정의된 컨테이너(container) 관련 URI나 NIP(network interworking proxy) 등이 이 버퍼에 접근하는데 이용될 수 있다.In addition, the Network Service Capability Layer (NSCL) may include a read / write buffer for smooth communication between the device and the network application (NA). When a buffer is utilized, the data that the network application (NA) sends to the device or the data that the device sends to the network application (NA) is first stored in this buffer. With this method, it is possible to increase the availability of data or to reduce redundancy requests. Container-related URIs or network interworking proxies (NIP) defined in the ETSI M2M standard can be used to access this buffer.

이러한 읽기/쓰기 버퍼를 이용하는 경우, 동기화 효율성은 전체 시스템 성능에 큰 영향을 미치게 된다. 하나의 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 다수의 네트워크 어플리케이션(NA)과 다수의 디바이스가 연결되는 상황에서, 동기화가 지나치게 높은 빈도로 일어난다면 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 구축된 시스템의 부하를 증가시키게 되고, 결과적으로 시스템 구축 비용을 증가시키게 된다. 이에 반면, 동기화가 지나치게 낮은 빈도로 일어난다면 시스템의 부하는 낮게 되지만 네트워크 어플리케이션(NA)이 원하는 메시지 전달 속도 등과 같은 요구 조건을 충족시키지 못할 수 있다. 따라서, 사용되는 패킷의 길이가 짧고 패킷의 개수는 많은 점, 디바이스의 사양이 다양한 점 등과 같은 M2M 통신이 가지는 특징을 고려하면서 효율적으로 동기화를 할 수 있는 방법이 필요하다.When using these read / write buffers, synchronization efficiency will have a significant impact on overall system performance. If synchronization occurs at an excessively high frequency in a situation where a plurality of network applications (NA) and a plurality of devices are connected to one network service capability layer (NSCL), the network service capability layer (NSCL) , Which results in an increase in system construction cost. On the other hand, if synchronization occurs at an excessively low frequency, the load on the system will be low, but the network application (NA) may not meet requirements such as desired message delivery rate and the like. Therefore, there is a need for a method capable of efficiently performing synchronization while considering characteristics of M2M communication such as a short packet length, a large number of packets, and a variety of device specifications.

KR 10-0998753 (주식회사 케이티) 2010. 11. 30. 특허문헌 1은 긴급 상황 알림 기능이 구비된 M2M 모듈, M2M 모듈과 선택적으로 연결되는 M2M 디바이스 및 그 구동 방법으로서, 특허문헌 1에는 연결된 M2M 디바이스에서 제공 가능한 데이터 포맷을 확인하고, 데이터 포맷을 가진 긴급 상황 알림 정보를 획득하기 위한 동작을 M2M 디바이스에 요구하여 M2M 디바이스로부터 긴급 상황 알림 정보를 수신하며, 긴급 상황 알림 정보를 필요한 조치를 취하도록 기능하는 서비스 서버에게 M2M 디바이스로부터 획득한 긴급 상황 알림 정보를 전송하는 내용이 개시되어 있다.Patent Document 1 discloses an M2M module having an emergency notification function, an M2M device selectively connected to the M2M module, and a driving method thereof. In Patent Document 1, The M2M device requests the M2M device to acquire the emergency notification information having the data format, receives the emergency notification information from the M2M device, and sets the emergency notification information to take necessary actions And the emergency notification information acquired from the M2M device to the service server. KR 10-1048854 (주식회사 케이티) 2011. 7. 6. 특허문헌 2는 M2M 어플리케이션의 가입자 트래픽 데이터에 대한 서비스 제어 방법 및 그 시스템으로서, 특허문헌 2에는 선택적으로 연결되는 디바이스의 종류에 따른 인식정보와 디바이스에서 구동되는 어플리케이션의 성향정보를 확인하여 M2M 제어 서버로 전달하고, M2M 모듈로부터 수신되는 어플리케이션의 성향정보를 토대로 파악되는 가입자의 서비스 품질 기준정보에 기초하여 송수신되는 가입자 트래픽 데이터가 제한된 범위를 초과하지 않도록 제어하는 내용이 개시되어 있다.Patent Document 2 discloses a service control method and system for subscriber traffic data of an M2M application, and Patent Document 2 discloses a service control method for a subscriber traffic data of an M2M application, Based on the service quality reference information of the subscriber based on the trend information of the application received from the M2M module, the subscriber traffic data transmitted and received exceeds the limited range The contents of which are controlled so as not to be displayed.

본 발명이 이루고자 하는 기술적 과제는, 기 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 디바이스를 추상화하고, 자원(resource)에 접근할 수 있는 인터페이스(interface)를 통해 M2M 통신(Machine-to-Machine communications)을 관리하며, 주기적으로 정보를 동기화하는 M2M 통신용 관리 장치 및 방법을 제공하는 데 있다.An object of the present invention is to provide an interface for abstracting a device and accessing resources through a device master template and a resource master template, To-machine communication (M2M) communication through a communication network, and to periodically synchronize information.

본 발명이 이루고자 하는 기술적 과제는, 기 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 디바이스를 추상화하고, 자원(resource)에 접근할 수 있는 인터페이스(interface)를 통해 M2M 통신(Machine-to-Machine communications)을 관리하며, 주기적으로 정보를 동기화하는 M2M 통신용 관리 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공하는 데 있다.An object of the present invention is to provide an interface for abstracting a device and accessing resources through a device master template and a resource master template, The present invention provides a computer-readable recording medium on which a program for executing a management method for M2M communication, which manages M2M communication (Machine-to-Machine communications) through a network and periodically synchronizes information,

상기의 기술적 과제를 달성하기 위한 본 발명에 따른 M2M 통신용 관리 장치는, 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 저장하고 있는 저장부; 및 디바이스로부터 등록 요청 메시지를 수신하면, 상기 저장부에 기 저장되어 있는 상기 디바이스 마스터 템플릿(device master template)과 상기 저장부에 기 저장되어 있는 상기 자원 마스터 템플릿(resource master template)을 통해 상기 디바이스를 등록하는 등록부;를 포함한다.According to an aspect of the present invention, there is provided a management apparatus for an M2M communication system including a storage unit for storing a device master template and a resource master template; And a control unit for receiving the device master template stored in the storage unit and the resource master template stored in the storage unit upon receiving a registration request message from the device, And a registering unit for registering.

상기의 기술적 과제를 달성하기 위한 본 발명에 따른 M2M 통신용 관리 방법은, 디바이스로부터 등록 요청 메시지를 수신하는 단계; 및 기 저장되어 있는 디바이스 마스터 템플릿(device master template)과 기 저장되어 있는 자원 마스터 템플릿(resource master template)을 통해 상기 디바이스를 등록하는 단계;를 포함한다.According to another aspect of the present invention, there is provided a management method for an M2M communication, the method comprising: receiving a registration request message from a device; And registering the device through a device master template stored in advance and a resource master template stored in advance.

상기의 기술적 과제를 달성하기 위한 본 발명에 따른 컴퓨터로 읽을 수 있는 매체는 상기한 방법 중 어느 하나를 컴퓨터에서 실행시키기 위한 프로그램을 기록한다.According to another aspect of the present invention, there is provided a computer readable medium storing a program for causing a computer to execute any one of the above methods.

본 발명에 따른 M2M 통신용 관리 장치 및 방법에 의하면, 기 생성하여 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 디바이스는 M2M 통신(Machine-to-Machine communications) 서비스의 이용을 할 수 있다. 이에 따라, 새로운 디바이스가 출현하면, 새로운 디바이스에 대응되는 디바이스 마스터 엔트리(device master entry)와 자원 마스터 엔트리(resource master entry)를 생성하여 추가함으로써, 새로운 디바이스도 M2M 통신(Machine-to-Machine communications) 서비스를 이용할 수 있다. 따라서, 시스템의 확장성(scalability) 문제를 해결할 수 있다.According to the management apparatus and method for an M2M communication according to the present invention, a device performs a machine-to-machine communications (M2M) communication through a device master template and a resource master template, Services can be used. Accordingly, when a new device emerges, a device master entry and a resource master entry corresponding to a new device are created and added, so that a new device can be also used for machine-to-machine communications (M2M) Services are available. Therefore, the scalability problem of the system can be solved.

또한, 디바이스 통신 정보, 자원 내용(resource content)의 표현 형식 정보 및 자원 내용(resource content)의 표현에 사용되는 어휘 정보가 디바이스별로 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 디바이스를 추상화하고 자원(resource)에 접근할 수 있는 인터페이스(interface)를 제공할 수 있다. 이에 따라, 동일한 디바이스라고 하더라도 제조사나 모델마다 인터페이스(interface)가 상이할 수 있지만, 본 발명에 따른 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 이용하면 인터페이스(interface)가 서로 상이한 디바이스도 M2M 통신(Machine-to-Machine communications) 서비스를 이용할 수 있다. 따라서, 자원(resource)에 접근할 수 있는 인터페이스(interface)의 이종성(heterogeneity) 문제를 해결할 수 있다.In addition, a device master template and a resource master template, in which device communication information, expression format information of a resource content, and lexical information used for expressing resource content are stored for each device, A master template can be used to abstract the device and provide an interface to access the resource. Accordingly, even if the same device is used, an interface may be different for each manufacturer or model. However, if a device master template and a resource master template according to the present invention are used, Devices that are different from each other can also use the M2M (Machine-to-Machine communications) service. Therefore, it is possible to solve the heterogeneity problem of an interface that can access a resource.

또한, 네트워크 어플리케이션(NA)의 요구사항과 디바이스가 지원하는 트랜잭션 정보(TSD)를 이용하여 선택된 트랜잭션(transaction)만을 수행하여 동기화함으로써, 서비스 품질을 저해시키지 않고 네트워크 서비스 캐퍼빌러티 레이어(NSCL)의 부하를 최소화하면서 동기화를 수행할 수 있다. 이에 따라, 연결되는 디바이스의 개수가 증가함에 따라 발생되는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)의 성능 요구를 줄일 수 있어, M2M 통신(Machine-to-Machine communications) 서비스에 필요한 인프라 구축 비용을 절감할 수 있다.In addition, by synchronizing only the transactions selected using the requirements of the network application (NA) and the transaction information (TSD) supported by the device, the network service capability layer (NSCL) Synchronization can be performed with minimal load. Accordingly, the performance requirement of the network service capability layer (NSCL) generated as the number of connected devices increases can be reduced, and the infrastructure construction cost required for the M2M communication (machine-to-machine communications) service can be reduced .

도 1은 본 발명의 바람직한 실시예에 따른 M2M 통신용 관리 장치를 설명하기 위한 블록도,
도 2는 본 발명의 바람직한 실시예에 따른 M2M 통신용 관리 장치의 구성을 보다 자세히 나타낸 블록도,
도 3은 본 발명의 바람직한 실시예에 따른 디바이스 마스터 엔트리의 일례를 나타낸 도면,
도 4는 본 발명의 바람직한 실시예에 따른 자원 마스터 엔트리의 일례를 나타낸 도면,
도 5는 본 발명의 바람직한 실시예에 따른 디바이스의 등록 동작을 설명하기 위한 도면,
도 6은 본 발명의 바람직한 실시예에 따른 가상 디바이스 인스턴스의 일례를 설명하기 위한 도면,
도 7은 본 발명의 바람직한 실시예에 따른 자원 청크 인스턴스의 일례를 설명하기 위한 도면,
도 8은 본 발명의 바람직한 실시예에 따른 동기화부의 구성을 보다 자세히 나타낸 블록도,
도 9는 본 발명의 바람직한 실시예에 따른 네트워크 어플리케이션의 요구사항의 일례를 설명하기 위한 도면,
도 10은 본 발명의 바람직한 실시예에 따른 디바이스에 대한 통합 주기의 일례를 설명하기 위한 도면,
도 11 및 도 12는 본 발명의 바람직한 실시예에 따른 트랜잭션 관리 동작을 설명하기 위한 도면,
도 13은 본 발명의 바람직한 실시예에 따른 디바이스 지원 트랜잭션 정보의 일례를 설명하기 위한 도면,
도 14는 본 발명의 바람직한 실시예에 따른 작업 요구 목록 정보를 구성하는 원소의 일례를 설명하기 위한 도면,
도 15는 본 발명의 바람직한 실시예에 따른 작업 요구 목록 정보의 일례를 설명하기 위한 도면,
도 16은 본 발명의 바람직한 실시예에 따른 디바이스 지원 트랜잭션 정보 중 푸시 이득 계산의 대상이 되는 트랜잭션의 일례를 설명하기 위한 도면,
도 17은 본 발명의 바람직한 실시예에 따른 디바이스 지원 트랜잭션 정보에 속한 트랜잭션에 대한 처리량 지표의 일례를 설명하기 위한 도면,
도 18은 본 발명의 바람직한 실시예에 따른 트랜잭션 선택 동작의 일례를 설명하기 위한 도면,
도 19는 본 발명의 바람직한 실시예에 따른 M2M 통신용 관리 방법을 설명하기 위한 흐름도, 그리고,
도 20은 본 발명의 바람직한 실시예에 따른 동기화 방법을 보다 자세히 설명하기 위한 흐름도이다.
1 is a block diagram illustrating a management apparatus for an M2M communication according to a preferred embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of a management apparatus for M2M communication according to a preferred embodiment of the present invention,
3 is a diagram illustrating an example of a device master entry according to a preferred embodiment of the present invention,
4 is a diagram illustrating an example of a resource master entry according to a preferred embodiment of the present invention;
5 is a diagram for explaining a registering operation of a device according to a preferred embodiment of the present invention;
6 is a view for explaining an example of a virtual device instance according to a preferred embodiment of the present invention,
FIG. 7 is a view for explaining an example of a resource chunk instance according to a preferred embodiment of the present invention;
8 is a block diagram illustrating a configuration of a synchronization unit according to a preferred embodiment of the present invention,
9 is a view for explaining an example of requirements of a network application according to a preferred embodiment of the present invention;
10 is a view for explaining an example of an integration cycle for a device according to a preferred embodiment of the present invention;
11 and 12 are diagrams for explaining a transaction management operation according to a preferred embodiment of the present invention;
13 is a view for explaining an example of device-supported transaction information according to a preferred embodiment of the present invention;
14 is a view for explaining an example of elements constituting job request list information according to a preferred embodiment of the present invention;
15 is a view for explaining an example of job request list information according to a preferred embodiment of the present invention;
16 is a view for explaining an example of a transaction subject to push gain calculation among device-supported transaction information according to a preferred embodiment of the present invention;
17 is a view for explaining an example of a throughput index for a transaction belonging to device supported transaction information according to a preferred embodiment of the present invention;
18 is a view for explaining an example of a transaction selection operation according to a preferred embodiment of the present invention,
19 is a flowchart illustrating a method for managing M2M communication according to a preferred embodiment of the present invention,
20 is a flowchart for explaining a synchronization method according to a preferred embodiment of the present invention in more detail.

이하에서 첨부한 도면을 참조하여 본 발명에 따른 M2M 통신용 관리 장치 및 방법의 바람직한 실시예에 대해 상세하게 설명한다.Hereinafter, a preferred embodiment of a management apparatus and method for M2M communication according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 바람직한 실시예에 따른 M2M 통신용 관리 장치를 설명하기 위한 블록도이다.1 is a block diagram illustrating a management apparatus for a M2M communication according to a preferred embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 M2M 통신용 관리 장치(100)는 통신망(300)을 통해 복수의 디바이스(200-1 내지 200-n)와 연결될 수 있다.Referring to FIG. 1, a management apparatus 100 for a M2M communication according to the present invention may be connected to a plurality of devices 200-1 through 200-n through a communication network 300. FIG.

M2M 통신용 관리 장치(100)는 M2M 통신(Machine-to-Machine communications)에 이용되는 장치로서, 디바이스의 등록(registration), 디바이스를 위한 자원(resource) 접근 인터페이스(interface) 등을 제공한다. M2M 통신용 관리 장치(100)는 유럽 전기 통신 표준 협회(ETSI)에서 제정한 M2M(Machine-to-Machine) 표준에 정의된 "네트워크 서비스 캐퍼빌러티 레이어(NSCL)"과 "네트워크 어플리케이션(NA)"에 대응된다.The M2M communication management apparatus 100 is a device used for M2M communication (Machine-to-Machine communication), and provides a registration of a device, a resource access interface for a device, and the like. The management device 100 for M2M communication is provided with a network service capability layer (NSCL) and a network application (NA) defined in the machine-to-machine (M2M) standard established by the European Telecommunications Standards Institute (ETSI) .

여기서, 네트워크 서비스 캐퍼빌러티 레이어(NSCL)는 일종의 서비스 플랫폼으로서, 통신 및 자원 접근을 제공한다. 그리고, 네트워크 어플리케이션(NA)은 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 등록된 M2M(Machine-to-Machine) 응용으로서, 네트워크 서비스 캐퍼빌러티 레이어(NSCL) 및 다른 서비스 캐퍼빌러티 레이어(SCL)를 활용하여 사용자에게 서비스를 제공한다. 즉, 네트워크 서비스 캐퍼빌러티 레이어(NSCL)를 통해 디바이스의 등록(registration)이 이루어지고 네트워크 어플리케이션(NA)과 디바이스 어플리케이션(DA) 사이의 데이터 송수신이 이루어진다. 그리고, 네트워크 서비스 캐퍼빌러티 레이어(NSCL)를 통해 네트워크 어플리케이션(NA)이나 디바이스 어플리케이션(DA)의 요구에 따라 데이터 동기화가 이루어진다.Here, the Network Service Capability Layer (NSCL) is a kind of service platform, providing communication and resource access. The network application NA is a machine-to-machine (M2M) application registered in the network service capability layer NSCL, and includes a network service capability layer NSCL and another service capability layer SCL. To provide services to users. That is, the registration of the device is performed through the network service capability layer (NSCL), and data transmission / reception is performed between the network application (NA) and the device application (DA). Then, data synchronization is performed according to the requirements of the network application (NA) or the device application (DA) through the network service capability layer (NSCL).

또한, 네트워크 어플리케이션(NA)의 내부에는 자원(resource)들이 선언되어 있다. 선언된 자원(declared resource)들은 네트워크 어플리케이션(NA)이 동작할 때 접근하는 자원(resource)이 무엇인지에 대한 내용을 나타낸다. 예컨대, 선언된 자원(declared resource)들은 네트워크 어플리케이션(NA)의 명세서나 소스코드에 기술되어 있다. 즉, 네트워크 어플리케이션(NA)을 작성할 때 자원(resource)은 접근 가능한 변수 또는 객체로 취급될 수 있는데, 나중에 네트워크 어플리케이션(NA)이 실행되어 실제 디바이스들과 연결될 때 변수 또는 객체에 디바이스의 자원(resource)들이 연결되어 네트워크 어플리케이션(NA)은 작업을 수행하게 된다. 이와 같은 변수 또는 객체가 네트워크 어플리케이션(NA)에서 선언된 자원(declared resource)을 나타낸다.In addition, resources are declared in the network application (NA). The declared resources describe what resources are to be accessed when the network application (NA) is operating. For example, declared resources are described in the specification or source code of the network application (NA). In other words, when creating a network application, a resource can be treated as an accessible variable or object. When a network application (NA) is executed and connected to actual devices at a later time, ) Are connected and the network application (NA) performs the work. Such a variable or object represents a declared resource in a network application (NA).

디바이스(200-1 내지 200-n)는 M2M 통신(Machine-to-Machine communications)을 요청하는 장치로서, 온도 조절 장치, 냉방기, 난방기, 텔레비전 등이 있다. 디바이스(200-1 내지 200-n)는 ETSI M2M 표준을 따르는 표준 디바이스(standard device)이거나 ETSI M2M 표준을 따르지 않는 소유 디바이스(proprietary device)일 수 있다. 디바이스(200-1 내지 200-n) 는 유럽 전기 통신 표준 협회(ETSI)에서 제정한 M2M(Machine-to-Machine) 표준에 정의된 "디바이스 어플리케이션(DA)"에 대응된다.The devices 200-1 to 200-n are devices for requesting M2M communication (machine-to-machine communications), such as a temperature controller, a radiator, a radiator, and a television. The devices 200-1 through 200-n may be standard devices conforming to the ETSI M2M standard or may be proprietary devices not conforming to the ETSI M2M standard. The devices 200-1 through 200-n correspond to the "device application DA" defined in the Machine-to-Machine (M2M) standard established by the European Telecommunications Standards Institute (ETSI).

디바이스(200-1 내지 200-n)는 M2M 통신(Machine-to-Machine communications)을 하기 위해 자신의 등록을 M2M 통신용 관리 장치(100)에 요청한다.The devices 200-1 to 200-n request the M2M communication management apparatus 100 to register their own devices for machine-to-machine communications.

통신망(300)은 구내 정보 통신망(local area network : LAN), 도시권 통신망(metropolitan area network : MAN), 광역 통신망(wide area network : WAN), 인터넷 등을 포함하는 데이터 통신망뿐만 아니라 방송망, 전화망 등을 포함할 수 있고, 유선과 무선을 가리지 않으며, 어떠한 통신 방식을 사용하더라도 무방하다.The communication network 300 may include a data communication network including a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN) It does not matter whether it is wired or wireless, and any communication method can be used.

도 2는 본 발명의 바람직한 실시예에 따른 M2M 통신용 관리 장치의 구성을 보다 자세히 나타낸 블록도이다.2 is a block diagram illustrating the configuration of a management apparatus for M2M communication according to a preferred embodiment of the present invention in more detail.

도 2를 참조하면, M2M 통신용 관리 장치(100)는 저장부(110), 등록부(130) 및 동기화부(150)를 포함한다.2, the management device 100 for a M2M communication includes a storage unit 110, a registration unit 130, and a synchronization unit 150.

저장부(110)는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 저장하고 있다. 또한, 저장부(110)는 읽기/쓰기 버퍼(read/write buffer)와 같은 데이터 저장공간을 구비할 수 있다. 읽기/쓰기 버퍼는 네트워크 어플리케이션(NA)과 디바이스 사이의 원활한 통신을 위해 이용된다.The storage unit 110 stores a device master template and a resource master template. Also, the storage unit 110 may have a data storage space such as a read / write buffer. The read / write buffer is used for smooth communication between the network application (NA) and the device.

여기서, 디바이스 마스터 템플릿(device master template)은 복수의 디바이스 마스터 엔트리(device master entry)로 구성된다. 디바이스 마스터 엔트리(device master entry)는 디바이스 제조사 식별 정보, 디바이스 식별 정보, 디바이스 통신 정보 및 디바이스 자원 정보를 포함한다.Here, the device master template is composed of a plurality of device master entries. The device master entry includes device manufacturer identification information, device identification information, device communication information, and device resource information.

디바이스 제조사 식별 정보는 디바이스의 제조사를 식별할 수 있는 고유 코드로서, 제조사 명칭, GTIN(global trade item number) 코드 등이 있다. 디바이스 식별 정보는 디바이스를 식별할 수 있는 고유 코드로서, 디바이스의 일련 번호(serial number), 디바이스의 구동 코드(activation code) 등이 있다. 디바이스 통신 정보는 M2M 통신용 관리 장치(100)가 디바이스에 접근하기 위한 주소 정보, 경로 정보 등을 말한다.The device manufacturer identification information is a unique code that can identify the manufacturer of the device, and includes a manufacturer name, a GTIN (global trade item number) code, and the like. The device identification information is a unique code capable of identifying the device, and includes a serial number of the device, an activation code of the device, and the like. The device communication information refers to address information and route information for the M2M communication management apparatus 100 to access the device.

디바이스 자원 정보는 디바이스에서 지원하는 자원(resource)에 대한 정보로서, 자원(resource)의 종류(type), 제어 가능 여부 및 디바이스 내부에서 식별 가능한 고유한 자원(resource) 식별 정보를 포함한다. 여기서, 자원(resource)의 종류(type)는 아래에서 설명할 해당 자원 마스터 엔트리(resource master entry)에 정의된 어휘를 사용한다.The device resource information is information about a resource supported by the device, and includes a type of a resource, a controllability, and unique resource identifying information that can be identified in the device. Here, the type of the resource uses the vocabulary defined in the resource master entry described below.

도 3은 본 발명의 바람직한 실시예에 따른 디바이스 마스터 엔트리의 일례를 나타낸 도면이다.3 is a diagram illustrating an example of a device master entry according to a preferred embodiment of the present invention.

예컨대, 온도와 습도의 측정이 가능한 냉난방기에 대응되는 디바이스 마스터 엔트리(device master entry)는 아래와 같다.For example, a device master entry corresponding to an air conditioner capable of measuring temperature and humidity is as follows.

도 3을 참조하면, 디바이스 제조사 식별 정보는 태그 "manufacturer"를 통해 제조사를 식별할 수 있는 고유 코드인 제조사 명칭 "A-Company"로 구성된다. 디바이스 식별 정보는 태그 "serial-number-pool 및 serial-number"를 통해 디바이스를 식별할 수 있는 고유 코드인 일련 번호 "102-8364-02934, 107-8364-63456, 795-5846-11634 등"으로 구성된다. 디바이스 통신 정보는 태그 "communication, protocol 등"을 통해 디바이스에 접근하기 위한 정보인 프로토콜 유형 "IPv4" 등으로 구성된다.Referring to Fig. 3, the device manufacturer identification information is composed of a manufacturer name "A-Company ", which is a unique code capable of identifying a manufacturer through a tag" manufacturer ". The device identification information includes serial numbers "102-8364-02934, 107-8364-63456, 795-5846-11634, etc.", which are unique codes capable of identifying the device through the tag "serial-number-pool and serial-number" . The device communication information is composed of a protocol type "IPv4" which is information for accessing the device through a tag "communication, protocol,

디바이스 자원 정보는 태그 "resources 및 resource"를 통해 디바이스에서 지원하는 자원(resource)에 대한 정보인 "온도 및 습도"로 구성된다. 여기서, 디바이스 자원 정보는 각 자원(resource) 별로 속성(attribute) "type"을 통해 자원(resource)의 종류(type)인 "temperature 또는 humidity"가 표현되고, 속성(attribute) "assignable"을 통해 제어 가능 여부인 "yes 또는 no"가 표현되며, 속성(attribute) "id 및 name"을 통해 디바이스 내부에서 식별 가능한 고유한 자원(resource) 식별 정보인 "1-Measured Temperature, 2-Measured Humidity 또는 3-Target Temperature"가 표현된다. The device resource information is composed of "temperature and humidity" which is information about a resource supported by the device through the tag "resources and resource ". Here, the device resource information is expressed by "temperature or humidity" which is a type of resource through an attribute "type" for each resource and is controlled through an attribute "assignable" Quot; 1-Measured Temperature, 2-Measured Humidity, or 3-Measured Humidity, which is unique resource identification information identifiable within the device through the attribute "id & Target Temperature "is expressed.

그리고, 자원 마스터 템플릿(resource master template)은 복수의 자원 마스터 엔트리(resource master entry)로 구성된다. 자원 마스터 엔트리(resource master entry)는 자원 내용(resource content)의 표현 형식 정보 및 자원 내용(resource content)의 표현에 사용되는 어휘 정보를 포함한다. 여기서, 자원 내용(resource content)는 디바이스에서 측정/관측/제어 가능한 자원(resource)의 내용(content)을 나타낸다. 자원(resource)은 ETSI M2M 표준에 정의된 RESTful URI 구조에서 "<container>"에 대응된다. 예컨대, 온도 센서가 구비된 냉방기의 경우, 냉방기의 자원 내용(resource content)에는 온도 측정 값(측정 가능한 내용), 목표 온도 값(제어 가능한 내용) 등이 있다.The resource master template is composed of a plurality of resource master entries. A resource master entry includes expression format information of a resource content and lexical information used for expressing a resource content. Here, a resource content represents a content of a resource that can be measured / observed / controlled in the device. The resource corresponds to "<container>" in the RESTful URI structure defined in the ETSI M2M standard. For example, in the case of a cooler provided with a temperature sensor, the resource content of the cooler includes a temperature measurement value (measurable content) and a target temperature value (controllable content).

자원 내용(resource content)의 표현 형식(representation format) 정보는 XML(extensible markup language), JSON(javascript object notation) 등과 같은 표준화된 표현 언어에 대한 정보를 말한다. 예컨대, DTD(document type definition)로 XML 표현 형식을 정의할 수 있다.Representation format information of resource content refers to information about a standardized expression language such as extensible markup language (XML), JavaScript object notation (JSON), and the like. For example, an XML representation format can be defined with a document type definition (DTD).

자원 내용(resource content)의 표현에 사용되는 어휘(taxonomy 및/또는 namespace) 정보는 자원 내용(resource content)을 표현하기 위한 다양한 용어 중 해당 자원 내용(resource content)의 표현에 사용되도록 설정된 용어에 대한 정보를 말한다.The taxonomy and / or namespace information used to represent the resource content may be used to describe the resource content among the various terms used to represent the resource content. Information.

도 4는 본 발명의 바람직한 실시예에 따른 자원 마스터 엔트리의 일례를 나타낸 도면이다.4 is a diagram illustrating an example of a resource master entry according to a preferred embodiment of the present invention.

도 4를 참조하면, 자원 마스터 엔트리(resource master entry)는 자원 내용(resource content)의 표현 형식(representation format) 정보와 자원 내용(resource content)의 표현에 사용되는 어휘(taxonomy 및/또는 namespace) 정보로 이루어진다.4, a resource master entry includes a representation format information of a resource content, a taxonomy and / or namespace information used for representing a resource content, .

자원 내용(resource content)의 표현 형식(representation format) 정보에는 DTD(document type definition) 언어를 통해 자원 내용(resource content)의 표현 형식(representation format)인 "type, value 및 unit"이 정의되어 있다.The "representation format" information of the resource content defines "type, value and unit" which is a representation format of the resource content through a DTD (document type definition) language.

자원 내용(resource content)의 표현에 사용되는 어휘(taxonomy 및/또는 namespace) 정보에는 DTD(document type definition) 언어를 통해 표현된 형식에서 자원 내용(resource content)의 표현에 사용되는 어휘(taxonomy 및/또는 namespace)가 지정되어 있는 부분인 "PCDATA"가 정의되어 있다. 예컨대, 온도 값을 위한 자원 마스터 엔트리(resource master entry)는 필드 "type"에 "temperature"로, 필드 "value"에 "숫자 값"으로, 필드 "unit"에 "celsius"로 이루어질 수 있다. 습도 값을 위한 자원 마스터 엔트리(resource master entry)는 필드 "type"에 "humidity"로, 필드 "value"에 "숫자 값"으로, 필드 "unit"에 "percent"로 이루어질 수 있다.The taxonomy and / or namespace information used to represent the resource content includes a vocabulary used to represent the resource content in a format expressed in a document type definition (DTD) Or namespace "PCDATA" is defined. For example, a resource master entry for a temperature value may be made up of "temperature" in the field "type", "numeric value" in the field "value", and "celsius" in the field "unit" The resource master entry for the humidity value can be made up of "humidity" in the field "type", "numeric value" in the field "value", and "percent" in the field "unit"

등록부(130)는 제1디바이스(200-1)로부터 등록 요청 메시지를 수신하면, 저장부(110)에 기 저장되어 있는 디바이스 마스터 템플릿(device master template)과 저장부(110)에 기 저장되어 있는 자원 마스터 템플릿(resource master template)을 통해 제1디바이스(200-1)를 등록한다. 여기서, 등록 요청 메시지는 디바이스 제조사 식별 정보, 디바이스 식별 정보 등을 포함한다. 즉, 등록부(130)는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 제1디바이스(200-1)에 대응되는 가상 디바이스 인스턴스(virtualized device instance)와 자원 청크 인스턴스(resource chunk instance)를 생성하여 저장부(110)에 저장함으로써, 제1디바이스(200-1)를 등록한다.Upon receiving the registration request message from the first device 200-1, the registration unit 130 registers the device master template previously stored in the storage unit 110 and the device master template stored in the storage unit 110 And registers the first device 200-1 through a resource master template. Here, the registration request message includes device manufacturer identification information, device identification information, and the like. That is, the registering unit 130 registers a virtual device instance and a resource chunk instance corresponding to the first device 200-1 through a device master template and a resource master template, resource chunk instance) to be stored in the storage unit 110, thereby registering the first device 200-1.

보다 자세하게는, 등록부(130)는 제1디바이스(200-1)로부터 수신한 등록 요청 메시지에 포함된 디바이스 제조사 식별 정보, 디바이스 식별 정보 등을 이용하여 저장부(110)에 저장되어 있는 디바이스 마스터 템플릿(device master template)에서 제1디바이스(200-1)에 대응되는 디바이스 마스터 엔트리(device master entry)를 검색한다. 그리고, 등록부(130)는 제1디바이스(200-1)에 대응되는 디바이스 마스터 엔트리(device master entry)를 통해 제1디바이스(200-1)에 대응되는 가상 디바이스 인스턴스(virtualized device instance)를 생성한다. 여기서, 가상 디바이스 인스턴스(virtualized device instance)는 디바이스 마스터 엔트리(device master entry) 식별 정보, 디바이스 식별 정보, 디바이스 통신 정보, 자원 청크 인스턴스(resource chunk instance) 식별 정보 등을 포함한다.More specifically, the registering unit 130 registers the device master template stored in the storage unit 110 using device manufacturer identification information, device identification information, and the like included in the registration request message received from the first device 200-1. and searches for a device master entry corresponding to the first device 200-1 in the device master template. The registering unit 130 generates a virtualized device instance corresponding to the first device 200-1 through a device master entry corresponding to the first device 200-1 . Here, the virtualized device instance includes device master entry identification information, device identification information, device communication information, resource chunk instance identification information, and the like.

아울러, 등록부(130)는 제1디바이스(200-1)에 대응되는 디바이스 마스터 엔트리(device master entry)에 포함된 디바이스 자원 정보를 통해 저장부(110)에 기 저장되어 있는 자원 마스터 템플릿(resource master template)에서 해당하는 자원 마스터 엔트리(resource master entry)를 검색한다. 그리고, 등록부(130)는 검색된 자원 마스터 엔트리(resource master entry)를 통해 적어도 하나의 자원 청크 인스턴스(resource chunk instance)를 생성한다. 여기서, 생성되는 자원 청크 인스턴스(resource chunk instance)의 개수는 검색된 자원 마스터 엔트리(resource master entry)의 개수와 동일하다. 자원 청크 인스턴스(resource chunk instance)는 서로 동일한 자원 마스터 엔트리(resource master entry)로부터 생성된 적어도 하나의 자원 내용(resource content)을 포함한다.In addition, the registering unit 130 may register the resource master template (resource master) stored in the storage unit 110 through the device resource information included in the device master entry corresponding to the first device 200-1 template to retrieve the corresponding resource master entry. Then, the registering unit 130 generates at least one resource chunk instance through the searched resource master entry. Here, the number of generated resource chunk instances is the same as the number of resource master entries searched. A resource chunk instance includes at least one resource content generated from the same resource master entry.

이때, 등록부(130)는 제1디바이스(200-1)의 자원 청크 인스턴스(resource chunk instance)에 포함된 자원 내용(resource content)을 자원 내용 헤드 데이터(resource content head data)와 자원 내용 바디 데이터(resource content body data)로 구분하여 저장부(110)에 저장할 수 있다. 여기서, 자원 내용 헤드 데이터(resource content head data)는 자원 내용(resource content)의 메타 데이터(meta data)를 나타낸다. 예컨대, 메타 데이터(meta data)는 자원 내용(resource content) 식별 정보, 자원(resource)의 종류(type) 등을 포함할 수 있다. 자원 내용 바디 데이터(resource content body data)는 실제 데이터를 나타낸다.The registering unit 130 registers the resource content included in the resource chunk instance of the first device 200-1 as resource content head data and resource content body data resource content body data), and store them in the storage unit 110. Here, the resource content head data represents meta data of a resource content. For example, the meta data may include resource content identification information, a resource type, and the like. The resource content body data represents actual data.

즉, 등록부(130)는 자원 내용 헤드 데이터(resource content head data)와 자원 내용 바디 데이터(resource content body data)를 서로 독립적으로 저장하여 구분할 수 있다. 예컨대, 등록부(130)는 관계형 DBMS(relational DBMS)에 디바이스 마스터 템플릿(device master template), 자원 마스터 템플릿(resource master template), 가상 디바이스 인스턴스(virtualized device instance) 및 자원 청크 인스턴스(resource chunk instance)의 자원 내용 헤드 데이터(resource content head data)를 저장하고, NoSQL DBMS에 자원 청크 인스턴스(resource chunk instance)의 자원 내용 바디 데이터(resource content body data)를 저장할 수 있다.That is, the registering unit 130 can independently store and separate resource content head data and resource content body data. For example, the registering unit 130 registers a device master template, a resource master template, a virtualized device instance, and a resource chunk instance in a relational DBMS. It is possible to store resource content head data and store resource content body data of a resource chunk instance in the NoSQL DBMS.

또한, 등록부(130)는 제1디바이스(200-1)에 대응되는 가상 디바이스 인스턴스(virtualized device instance)와 제1디바이스(200-1)의 자원 청크 인스턴스(resource chunk instance)를 저장부(110)에 저장한다.The registering unit 130 stores a virtualized device instance corresponding to the first device 200-1 and a resource chunk instance of the first device 200-1 in the storage unit 110, .

도 5는 본 발명의 바람직한 실시예에 따른 디바이스의 등록 동작을 설명하기 위한 도면이다.5 is a diagram for explaining a registering operation of a device according to a preferred embodiment of the present invention.

도 5를 참조하면, 디바이스 #A가 M2M 통신용 관리 장치(100)에 등록 요청을 하면, 등록부(130)는 디바이스 #A로부터 수신한 등록 요청 메시지에 포함된 디바이스 제조사 식별 정보, 디바이스 식별 정보 등을 이용하여 저장부(110)에 기 저장되어 있는 디바이스 마스터 템플릿(DM)에서 디바이스 #A에 대응되는 디바이스 마스터 엔트리(DME_1 내지 DME_J 중 하나)를 검색하고, 검색된 디바이스 마스터 엔트리를 통해 디바이스 #A에 대응되는 가상 디바이스 인스턴스(VD_A)를 생성하여 저장부(110)에 저장한다.5, when the device #A requests the M2M communication management apparatus 100 to register, the registration unit 130 registers the device manufacturer identification information, device identification information, and the like included in the registration request message received from the device #A (One of DME_1 to DME_J) corresponding to the device #A in the device master template DM stored in the storage unit 110 using the retrieved device master entry and corresponds to the device #A through the searched device master entry And stores the generated virtual device instance VD_A in the storage unit 110.

도 6은 본 발명의 바람직한 실시예에 따른 가상 디바이스 인스턴스의 일례를 설명하기 위한 도면이다.6 is a view for explaining an example of a virtual device instance according to a preferred embodiment of the present invention.

예컨대, 디바이스 #A가 온도와 습도의 측정이 가능한 냉난방기이고, 디바이스 #A의 제조사는 "A-Company"이며, 디바이스 #A의 일련 번호(serial number)는 "107-8364-63456"이고, IP 주소 "10.1.1.2"에서 디바이스 #A의 등록이 요청된 경우에 생성된 디바이스 #A에 대응되는 가상 디바이스 인스턴스(virtualized device instance)는 아래와 같다.For example, the device #A is an air conditioner capable of measuring temperature and humidity, the manufacturer of the device #A is "A-Company", the serial number of the device #A is "107-8364-63456" The virtual device instance corresponding to the device #A generated when the registration of the device #A is requested at the address "10.1.1.2 " is as follows.

도 6을 참조하면, 디바이스 마스터 엔트리(device master entry) 식별 정보는 태그 "device-master-entry-number"를 통해 디바이스 #A에 대응되는 가상 디바이스 인스턴스(virtualized device instance)를 생성하는 데 이용된 디바이스 마스터 엔트리(device master entry)의 식별 정보인 "11"로 구성된다.Referring to FIG. 6, the device master entry identification information is a device used to generate a virtualized device instance corresponding to the device #A via the "device-master-entry-number & And "11" which is the identification information of the master entry (device master entry).

디바이스 식별 정보는 태그 "serial-number"를 통해 디바이스 #A의 식별 정보인 "107-8364-63456"로 구성된다.The device identification information is composed of " 107-8364-63456 " which is identification information of the device #A via the tag "serial-number ".

디바이스 통신 정보는 태그 "communication, ipv4 등"을 통해 디바이스 #A의 통신 정보인 "10.1.1.2"로 구성된다.The device communication information is composed of "10.1.1.2 " which is communication information of the device #A via the tag" communication, ipv4,

자원 청크 인스턴스(resource chunk instance) 식별 정보는 태그 "resource-chunks 및 resource-chunk"를 통해 디바이스 #A에서 지원하는 자원(resource)에 대해 생성된 자원 청크 인스턴스(resource chunk instance)의 식별 정보인 "11111, 12222 및 13333"로 구성된다.The resource chunk instance identification information includes identification information of a resource chunk instance generated for the resource supported by the device #A through the tag "resource-chunks and resource-chunk & 11111, 12222 and 13333 ".

다시 도 5를 참조하면, 디바이스 #A에 대응되는 가상 디바이스 인스턴스(VD_A)를 생성하는 것과 동시에, 등록부(130)는 디바이스 #A에 대응되는 디바이스 마스터 엔트리에 포함된 디바이스 자원 정보를 통해 저장부(110)에 기 저장되어 있는 자원 마스터 템플릿(RM)에서 해당하는 자원 마스터 엔트리(RME_1 내지 REM_K 중 적어도 하나)를 검색하고, 검색된 자원 마스터 엔트리를 통해 디바이스 #A의 자원 청크 인스턴스(RC_A_1 내지 RC_A_m)를 생성하여 저장부(110)에 저장한다.Referring again to FIG. 5, the virtual device instance VD_A corresponding to the device #A is generated, and the registering unit 130 registers the virtual device instance VD_A corresponding to the device # (At least one of RME_1 to REM_K) corresponding to the resource master template RM stored in the storage unit 110 and stores the resource chunk instances RC_A_1 to RC_A_m of the device #A in the retrieved resource master entry And stores it in the storage unit 110.

도 7은 본 발명의 바람직한 실시예에 따른 자원 청크 인스턴스의 일례를 설명하기 위한 도면이다.7 is a view for explaining an example of a resource chunk instance according to a preferred embodiment of the present invention.

예컨대, 자원 내용(resource content)을 "온도 측정 값"으로 하는 자원 마스터 엔트리(resource master entry)를 통해 생성된 자원 청크 인스턴스(resource chunk instance)는 아래와 같은 자원 내용(resource content)으로 이루어진다.For example, a resource chunk instance generated through a resource master entry having a resource content as a "temperature measurement value " is made up of the following resource content.

도 7를 참조하면, 자원 내용(resource content)은 태그 "type"을 통해 자원(resource)의 종류(type)인 "temperature"가, 태그 "value"를 통해 측정 값인 "35.5"가, 태그 "unit"을 통해 값의 단위인 "celsius"가 표현된다.Referring to FIG. 7, in the resource content, " temperature ", which is the type of resource, is detected through the tag " type ", "35.5" ", The unit of the value" celsius "is expressed.

이와 같이, 등록부(130)는 등록을 요청한 디바이스(200-1 내지 200-n) 각각에 대응되는 가상 디바이스 인스턴스(virtualized device instance)와 자원 청크 인스턴스(resource chunk instance)를 생성하여 저장함으로써, 등록을 요청한 디바이스(200-1 내지 200-n)를 등록한다.In this manner, the registering unit 130 generates and stores a virtualized device instance and a resource chunk instance corresponding to each of the devices 200-1 to 200-n that have requested registration, And registers the requested devices 200-1 to 200-n.

동기화부(150)는 제1디바이스(200-1)와 메시지를 주고 받으며 저장부(110)에 저장된 제1디바이스(200-1)의 자원 청크 인스턴스(resource chunk instance)와 제1디바이스(200-1)의 자원 청크 인스턴스(resource chunk instance)에 대응되는 제1디바이스(200-1) 내의 정보를 동기화한다. 즉, 동기화부(150)는 제1디바이스(200-1)에 대응되는 가상 디바이스 인스턴스(virtualized device instance)의 상태가 변경되면 제1디바이스(200-1)에도 반영하고, 제1디바이스(200-1)의 상태가 변경되면 제1디바이스(200-1)에 대응되는 가상 디바이스 인스턴스(virtualized device instance)에도 반영한다.The synchronization unit 150 transmits a message to and receives a message from the first device 200-1 and stores the resource chunk instance of the first device 200-1 stored in the storage unit 110 and the resource chunk instance of the first device 200- 1 in the first device 200-1 corresponding to the resource chunk instance of the first device 200-1. That is, when the status of the virtualized device instance corresponding to the first device 200-1 is changed, the synchronization unit 150 also reflects the status of the virtual device instance to the first device 200-1, 1 is also changed, the virtual device instance corresponding to the first device 200-1 is also reflected.

도 8은 본 발명의 바람직한 실시예에 따른 동기화부의 구성을 보다 자세히 나타낸 블록도이다.8 is a block diagram showing the configuration of a synchronization unit according to a preferred embodiment of the present invention in more detail.

도 8을 참조하면, 동기화부(150)는 요구사항 관리부(151), 트랜잭션 관리부(153), 트랜잭션 선택부(155) 및 트랜잭션 실행부(157)를 포함한다.Referring to FIG. 8, the synchronization unit 150 includes a requirement management unit 151, a transaction management unit 153, a transaction selection unit 155, and a transaction execution unit 157.

요구사항 관리부(151)는 복수의 네트워크 어플리케이션(NA) 각각에서 특정 디바이스로 향하는 주기적인 읽기/쓰기에 대한 요구사항을 관리한다. 즉, 요구사항 관리부(151)는 네트워크 어플리케이션(NA)의 요구사항이 특정 디바이스에 어떻게 반영되는지에 대한 정보를 파악하고 유지한다. 또한, 요구사항 관리부(151)는 필요한 경우 트랜잭션 관리부(153) 및 트랜잭션 선택부(155)에 작업을 요청한다.The requirement management unit 151 manages requirements for periodic reading / writing from each of a plurality of network applications (NA) to a specific device. That is, the requirement management unit 151 grasps and maintains information on how the requirements of the network application (NA) are reflected in the specific device. In addition, the requirement management unit 151 requests the transaction management unit 153 and the transaction selection unit 155 to perform a job if necessary.

보다 자세하게 설명하면, 요구사항 관리부(151)는 새로운 네트워크 어플리케이션(NA)이 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 등록되거나 기 등록된 네트워크 어플리케이션(NA)이 변경되면, 네트워크 어플리케이션(NA)에서 선언된 각각의 자원(resource)에 대하여 읽기/쓰기 주기(read/write period)를 계산하고 업데이트한다.More specifically, when the new network application (NA) is registered in the network service capability layer (NSCL) or the already registered network application (NA) is changed, the requirement management section (151) And a read / write period is calculated and updated for each resource.

여기서, 읽기/쓰기 주기는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)상의 네트워크 어플리케이션(NA) 등록정보에서 추출될 수 있다. 예컨대, 네트워크 어플리케이션(NA) 등록정보에는 네트워크 어플리케이션(NA)을 정의한 명세서, 네트워크 어플리케이션(NA) 소스코드 등이 있다. 또한, 읽기/쓰기 주기는 네트워크 어플리케이션(NA)의 요청을 모니터링한 통계정보를 기반으로 결정될 수 있다. 예컨대, 특정 자원(resource)에 대한 읽기 요청의 시간 간격의 평균, 이동 평균(moving average), 상위값 평균 등을 주기로 결정할 수 있다.Here, the read / write cycle can be extracted from the network application (NA) properties on the network service capability layer (NSCL). For example, the network application (NA) registration information includes a specification defining a network application (NA), a network application (NA) source code, and the like. In addition, the read / write cycle may be determined based on statistical information that monitors the request of the network application (NA). For example, an average of a time interval of a read request for a specific resource, a moving average, an average of upper values, and the like may be determined periodically.

한편, 특정한 하나의 자원(resource)의 주기를 결정하는데 복수개의 기준값이 존재하면, 가장 작은 기준값을 해당 자원(resource)의 주기로 결정한다. 예컨대, 네트워크 어플리케이션(NA) 등록정보에 의하면 특정 자원(resource)에 대한 읽기 주기로 5초 또는 3초를 요구하고, 통계정보에 의하면 읽기 주기가 10초인 경우, 해당 자원(resource)의 읽기 주기는 3초로 결정된다.On the other hand, if there are a plurality of reference values to determine the period of a specific resource, the smallest reference value is determined as the period of the corresponding resource. For example, according to the network application (NA) registration information, 5 or 3 seconds are required as a read period for a specific resource. According to the statistical information, if the read period is 10 seconds, the read period of the resource is 3 Seconds.

정리하면, 요구사항 관리부(151)는 다음의 [수학식 1]을 통해 네트워크 어플리케이션(NA)에 선언된 자원 X에 대한 읽기/쓰기 주기를 계산한다.In short, the requirement management unit 151 calculates a read / write cycle for the resource X declared in the network application (NA) through the following equation (1).

Figure pat00001
Figure pat00001

도 9는 본 발명의 바람직한 실시예에 따른 네트워크 어플리케이션의 요구사항의 일례를 설명하기 위한 도면이다.9 is a diagram for explaining an example of requirements of a network application according to a preferred embodiment of the present invention.

네트워크 서비스 캐퍼빌러티 레이어(NSCL) 상에서 실행되는 2개의 네트워크 어플리케이션(NA)인 NA1과 NA2가 있으며, NA1은 3개의 자원(A, B, C)을 선언하고 NA2는 4개의 자원(A, B, C, D)을 선언하고 있다고 가정하면, 요구사항 관리부(151)는 도 9에 도시된 바와 같이 각 NA가 선언하는 자원 및 해당 자원에 대한 읽기/쓰기 주기(NARP, NAWP)에 대한 정보를 추출하여 유지할 수 있다.There are two network applications (NA) NA1 and NA2 running on the network service capability layer (NSCL), NA1 declares three resources (A, B, C) and NA2 declares four resources , C, and D), the requirement management unit 151 acquires information about the resource declared by each NA and the read / write cycles (NARP, NAWP) for the resource, as shown in FIG. 9 Can be extracted and maintained.

그리고, 요구사항 관리부(151)는 네트워크 어플리케이션(NA)이 신규로 실행되어 디바이스와 연결되거나, 디바이스와 연결되어 기 실행중인 네트워크 어플리케이션(NA)의 자원(resource)에 대한 읽기 주기(NARP) 또는 쓰기 주기(NAWP)가 변화되거나, 디바이스와 연결되어 기 실행중인 네트워크 어플리케이션(NA)이 종료되면, 읽기 주기(NARP) 및 쓰기 주기(NAWP)를 이용하여 디바이스의 각각의 자원(resource)에 대하여 통합 읽기/쓰기 주기(merged read/write period)를 계산하고 업데이트한다.The requirement management unit 151 is a unit for managing a read period (NARP) or write (NARP) of a resource of a network application (NA) When the period NAWP changes or the network application NA connected to the device is terminated, the integrated read (NARP) and write cycle (NAWP) are used for each resource of the device / Calculate and update the merged read / write period.

여기서, 통합 읽기 주기(merged read period : MRP) 및 통합 쓰기 주기(merged write period : MWP)는 디바이스의 자원(resource)에 대하여 계산된다. 이에 반면, 읽기 주기(NARP) 및 쓰기 주기(NAWP)는 네트워크 어플리케이션(NA)에 선언된 자원(declared resource)에 대하여 각각 계산된다.Here, a merged read period (MRP) and a merged write period (MWP) are calculated for a device resource. On the other hand, the read period (NARP) and the write period (NAWP) are each calculated for a declared resource in the network application (NA).

예컨대, 특정 디바이스의 자원 Y의 통합 읽기 주기(MRP)는 현재 실행중인 모든 네트워크 어플리케이션(NA)이 선언한 자원(resource)들 중 자원 Y로 연결되는 자원(resource)들의 읽기 주기(NARP)의 최소값으로 결정된다. 통합 쓰기 주기(MWP)도 이와 같은 방법으로 결정된다. 여기서, 현재 실행중인 모든 네트워크 어플리케이션(NA)이란 새롭게 실행되는 네트워크 어플리케이션(NA)과 기 실행중인 네트워크 어플리케이션(NA) 모두를 말한다.For example, the integrated read cycle (MRP) of a resource Y of a specific device is a minimum value of a read cycle (NARP) of resources connected to a resource Y among resources declared by all currently running network applications (NA) . The integrated write cycle (MWP) is also determined in this manner. Here, all currently executed network applications (NA) refer to both a newly executed network application (NA) and a currently executed network application (NA).

정리하면, 요구사항 관리부(151)는 다음의 [수학식 2]를 통해 특정 디바이스의 자원 Y에 대한 통합 읽기/쓰기 주기를 계산한다.In summary, the requirement management unit 151 calculates an integrated read / write cycle for resource Y of a specific device through the following equation (2).

Figure pat00002
Figure pat00002

도 10은 본 발명의 바람직한 실시예에 따른 디바이스에 대한 통합 주기의 일례를 설명하기 위한 도면이다.FIG. 10 is a diagram for explaining an example of the integration period for a device according to a preferred embodiment of the present invention.

디바이스 D1이 2개의 자원(R1, R2)을 가지고 있고, NA1이 실행되어 NA1의 자원 B 및 C가 디바이스 D1의 자원 R1 및 R2에 각각 연결되며, NA2가 실행되어 NA2의 자원 A 및 C가 디바이스 D1의 자원 R1 및 R2에 각각 연결되어 있다고 가정하면, 요구사항 관리부(151)는 도 10에 도시된 바와 같이 디바이스 D1에 대한 통합 읽기/쓰기 주기(MRP, MWP)에 대한 정보를 계산하여 유지할 수 있다.The device D1 has two resources R1 and R2 and the NA1 is executed so that the resources B and C of NA1 are respectively connected to the resources R1 and R2 of the device D1 and the NA2 is executed, The requirements management unit 151 can calculate and maintain information about the integrated read / write cycles MRP and MWP for the device D1 as shown in FIG. 10 have.

또한, 요구사항 관리부(151)는 새롭게 계산한 통합 읽기/쓰기 주기가 기존의 통합 읽기/쓰기 주기와 다르면, 트랜잭션 관리부(153) 및 트랜잭션 선택부(155)에 작업을 요청한다. 즉, 요구사항 관리부(151)는 추가, 변경, 삭제 등의 요구사항 변경이 발생되면 트랜잭션 관리부(153) 및 트랜잭션 선택부(155)에 작업을 요청한다. 예컨대, 요구사항 관리부(151)는 네트워크 어플리케이션(NA)에서 디바이스로 향하는 주기적인 읽기/쓰기에 대한 요구사항을 트랜잭션 관리부(153)나 트랜잭션 선택부(155)에 제공하면서 작업을 요청할 수 있다.If the newly calculated integrated read / write cycle is different from the existing integrated read / write cycle, the requirement management unit 151 requests the transaction management unit 153 and the transaction selection unit 155 to perform a task. That is, the requirement management unit 151 requests the transaction management unit 153 and the transaction selection unit 155 to perform a job change when a requirement such as addition, change, deletion, or the like occurs. For example, the requirement management unit 151 may request a job while providing a request for periodic reading / writing from the network application (NA) to the device to the transaction management unit 153 or the transaction selection unit 155.

트랜잭션 관리부(153)는 디바이스가 지원하는 트랜잭션(transaction)을 파악하고 관리한다. 즉, 트랜잭션 관리부(153)는 디바이스가 지원하는 메시지 형식이나 통신 방식을 파악하고 업데이트한다.The transaction management unit 153 identifies and manages transactions supported by the device. That is, the transaction management unit 153 identifies and updates the message format and communication method supported by the device.

다시 말하면, 트랜잭션 관리부(153)는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 등록된 디바이스가 변경(신규 등록, 변경, 삭제 등)되거나, 요구사항 관리부(151)의 작업 요청이 있으면, 네트워크 서비스 캐퍼빌러티 레이어(NSCL)와 디바이스 사이에 일어날 수 있는 트랜잭션(transaction)의 종류를 파악하고 업데이트한다.In other words, if the device registered in the network service capability layer NSCL is changed (newly registered, changed, deleted, or the like) or if there is a work request of the requirement management unit 151, It identifies and updates the types of transactions that can occur between the pervious layer (NSCL) and the device.

여기서, 트랜잭션(transaction)은 송신자가 수신자에게 메시지를 한번 송신하는 것 또는 송신자가 수신자에게 메시지를 한번 송신하여 이에 대한 응답 메시지를 받는 것을 말한다. 그리고, 디바이스의 등록이나 변경은 물리적으로 디바이스가 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 연결되는 것뿐만 아니라 디바이스 식별 정보가 변경되는 것도 포함한다. 예컨대, 디바이스 제조사가 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 연결될 수 있는 신제품을 출시하거나 기존 제품의 사양을 변경하는 경우에 디바이스 식별 정보가 변경될 수 있다.Here, a transaction refers to a sender sending a message once to a receiver, or a sender sending a message to a receiver once and receiving a response message therefor. Also, registering or changing a device includes not only physically connecting the device to the network service capability layer (NSCL) but also changing the device identification information. For example, the device identification information may change when a device manufacturer releases a new product that can be connected to the Network Service Capability Layer (NSCL) or changes specifications of an existing product.

이때, 디바이스와 네트워크 서비스 캐퍼빌러티 레이어(NSCL) 사이에 일어나는 트랜잭션(transaction)은 디바이스에서 읽거나 디바이스에 쓸 자원(resource)이 무엇인 지와 디바이스와 네트워크 서비스 캐퍼빌러티 레이어(NSCL) 중 어느 쪽에서 먼저 메시지를 보내는 지를 기준으로 분류할 수 있다. 예컨대, 디바이스에서 읽을 자원(resource)이 A이고, 디바이스에 쓸 자원(resource)이 B이며, 디바이스 쪽에서 먼저 메시지를 보내는 트랜잭션(transaction)은 다음의 두 단계로 이루어진다.At this time, the transaction that takes place between the device and the network serviceability layer (NSCL) depends on what resources the device reads or writes to the device, and whether the device and the network serviceability layer (NSCL) You can classify messages based on whether they send messages first. For example, the resource to read from the device is A, the resource to be written to the device is B, and the transaction to send the message first on the device side is made in the following two steps.

단계 1) 디바이스가 A값을 담고, B에 설정할 값을 요청하는 메시지를 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 전송Step 1) The device sends a message to the Network Service Capability Layer (NSCL) containing the value A and requesting the value to set to B

단계 2) 디바이스가 보낸 메시지를 받은 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 B에 설정할 값을 담은 메시지를 디바이스에 응답Step 2) The network service capability layer (NSCL) receiving the message from the device responds to the device with a message containing the value to be set in B

즉, 디바이스가 가진 자원(resource)이 무엇인지 알면, 디바이스에서 읽을 자원(resource), 디바이스에 쓸 자원(resource), 및 먼저 보내는 측이 누구인지를 임의로 설정하여 가능한 모든 형태의 트랜잭션(transaction)을 파악할 수 있다. 디바이스가 지원하는 트랙잭션(transaction)은 파악된 모든 형태의 트랜잭션(transaction) 중 일부일 수 있다.In other words, if you know what resources a device has, you can set the resource to read from the device, the resource to write to the device, and any type of transaction, . A transaction supported by a device can be part of any type of transaction identified.

정리하면, 트랜잭션 관리부(153)는 모든 형태의 트랜잭션(transaction) 중 디바이스가 지원하는 트랜잭션만으로 이루어진 디바이스 지원 트랜잭션 정보(transaction supported by device : TSD)를 계산한다. 이때, 디바이스 지원 트랜잭션 정보(TSD)를 보관하고 유지하는 방식은 다양한 방식에 의해 구현될 수 있다. 예컨대, 디바이스 지원 트랜잭션 정보(TSD)의 모든 원소를 저장하거나, 디바이스 지원 트랜잭션 정보(TSD)가 가지는 몇 가지 규칙만 저장하거나, 가능한 모든 트랜잭션(transaction) 중 디바이스 지원 트랜잭션 정보(TSD)에 포함되지 않은 트랜잭션(transaction)만 저장할 수 있다.In summary, the transaction management unit 153 calculates a transaction supported by device (TSD) consisting of only transactions supported by the device among all types of transactions. At this time, the method of storing and maintaining the device supported transaction information (TSD) can be implemented by various methods. For example, it is possible to store all the elements of the device support transaction information (TSD), to store only some rules of the device support transaction information (TSD), to store only some rules of the device support transaction information Only transactions can be stored.

도 11 및 도 12는 본 발명의 바람직한 실시예에 따른 트랜잭션 관리 동작을 설명하기 위한 도면이다.11 and 12 are views for explaining a transaction management operation according to a preferred embodiment of the present invention.

트랜잭션 관리부(153)는 도 11에 도시된 바와 같이 가능한 모든 형태의 트랜잭션(transaction)을 획득할 수 있다. 여기서, 'transaction element'의 'push attribute'는 디바이스 푸시(device push)인지 아닌지를 나타낸다. 'read element'는 디바이스에서 읽어 올 자원(resource)을 나타낸다. 'write element'는 디바이스에 쓸 자원(resource)을 나타낸다.The transaction management unit 153 can acquire all possible types of transactions as shown in FIG. Here, 'push attribute' of 'transaction element' indicates whether it is device push or not. 'read element' indicates the resource to read from the device. The 'write element' indicates the resource to write to the device.

예컨대, 마지막 트랜잭션(transaction)은 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 디바이스로부터 R1 및 R2 값을 읽어보고, 동시에 디바이스에 R1 및 R2 값을 할당하는 일을 수행하며, 메시지를 처음 보내는 쪽은 디바이스라는 것을 나타낸다.For example, in the last transaction, the network service capability layer (NSCL) reads R1 and R2 values from the device and simultaneously assigns R1 and R2 values to the device, Lt; / RTI &gt;

이 트랜잭션(transaction)의 동작을 보다 자세히 살펴보면, 디바이스 D1의 R1 및 R2 값이 현재 각각 5 및 7이라면, 디바이스 D1은 도 12의 (a)에 도시된 바와 같은 메시지를 네트워크 서비스 캐퍼빌러티 레이어(NSCL)로 송신한다. 여기서, 'request element'는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)로부터 받아오려는 자원을 나타낸다. 'read element'는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 디바이스 D1로부터 읽고자 하는 자원들의 값을 나타낸다. 이후, 이 메시지를 받은 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 디바이스 D1의 R1 및 R2 값을 각각 10 및 11로 설정하려 한다면, 도 12의 (b)에 도시된 바와 같은 메시지로 응답할 수 있다. 여기서, 'write element'는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 디바이스 D1에 쓰고자 하는 자원들의 값을 나타낸다.If the R1 and R2 values of the device D1 are currently 5 and 7, respectively, the device D1 transmits a message as shown in FIG. 12 (a) to the network serviceability layer NSCL). Here, 'request element' represents a resource to be received from the network service capability layer (NSCL). The 'read element' indicates the value of the resource that the network serviceability layer (NSCL) is to read from the device D1. Thereafter, if the network service capability layer (NSCL) receiving this message tries to set the values of R1 and R2 of the device D1 to 10 and 11, respectively, it can respond with a message as shown in FIG. 12 (b) . Here, 'write element' represents the value of the resource that the network service capability layer (NSCL) intends to write to device D1.

도 13은 본 발명의 바람직한 실시예에 따른 디바이스 지원 트랜잭션 정보의 일례를 설명하기 위한 도면이다.13 is a view for explaining an example of device-supported transaction information according to a preferred embodiment of the present invention.

트랜잭션 관리부(153)는 디바이스 D1의 데이터시트(datasheet) 등을 이용하여 디바이스 D1이 지원하는 트랜잭션(transaction)의 종류를 파악하여 도 13에 도시된 바와 같이 가능한 모든 형태의 트랜잭션(transaction) 중 디바이스 D1에서 지원하는 트랜잭션(transaction)만으로 이루어진 디바이스 지원 트랜잭션 정보(TSD)를 추출하여 유지할 수 있다.The transaction management unit 153 determines the type of transaction supported by the device D1 by using the data sheet of the device D1 or the like and obtains the type of transaction supported by the device D1 The device-supported transaction information (TSD) composed of only transactions supported by the device-supported transaction information (TSD) can be extracted and maintained.

또한, 트랜잭션 관리부(153)는 트랜잭션(transaction)의 종류에 변동이 있으면 트랜잭션 선택부(155)에 작업을 요청한다. 즉, 트랜잭션 관리부(153)는 디바이스 지원 트랜잭션 정보(TSD)가 변경되면 변동 사실을 트랜잭션 선택부(155)에 통보한다. 예컨대, 트랜잭션 관리부(153)는 변경된 디바이스 지원 트랜잭션 정보(TSD)를 트랜잭션 선택부(155)에 제공하여 변동 사실을 통보할 수 있다.In addition, if there is a change in the type of transaction, the transaction management unit 153 requests the transaction selection unit 155 to perform a task. That is, the transaction management unit 153 notifies the transaction selection unit 155 of the change when the device-supported transaction information TSD is changed. For example, the transaction management unit 153 may provide the changed device support transaction information (TSD) to the transaction selection unit 155 to notify the change.

트랜잭션 선택부(155)는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)과 디바이스 사이의 트랜잭션(transaction)의 종류와 빈도를 결정한다. 즉, 트랜잭션 선택부(155)는 자원(resource)별 통신 요구 빈도와 디바이스별 통신 방식의 특징을 주요 변수로 하고, 그리디 알고리즘(greedy algorithm)을 사용하여 트랜잭션(transaction)의 종류와 빈도를 결정한다.The transaction selection unit 155 determines the type and frequency of a transaction between the network service capability layer (NSCL) and the device. That is, the transaction selecting unit 155 determines the type and frequency of a transaction using a greedy algorithm, taking the characteristics of the communication request frequency and the device-specific communication method as resource as resource, do.

다시 말하면, 트랜잭션 선택부(155)는 요구사항 관리부(151)나 트랜잭션 선택부(155)의 작업 요청이 있으면, 해당 디바이스 각각에 대하여 디바이스 지원 트랜잭션 정보(TSD) 중 실제 수행할 트랜잭션(transaction)을 선택하고, 선택된 각 트랜잭션(transaction)의 수행 주기를 결정한다. 본 발명에서는 이 문제를 가중 집합 커버(weighted set cover) 문제로 보고, 그리디 알고리즘(greedy algorithm)을 사용하여 해결한다. 이때, 통합 읽기 주기(MRP), 통합 쓰기 주기(MWP), 디바이스 지원 트랜잭션 정보(TSD) 등이 주요 변수로 사용된다.In other words, if there is a job request from the requirement management unit 151 or the transaction selection unit 155, the transaction selection unit 155 selects a transaction to be actually performed among the device support transaction information (TSD) And determines the execution cycle of each selected transaction. In the present invention, this problem is regarded as a weighted set cover problem and solved by using a greedy algorithm. At this time, the main variable is the integrated read cycle (MRP), the integrated write cycle (MWP), and the device supported transaction information (TSD).

보다 자세히 설명하면, 트랜잭션 선택부(155)는 요구사항 관리부(151)에서 제공하는 데이터를 이용하여 작업 요구 목록 정보(TaskSet)를 추출한다. 여기서, 작업 요구 목록 정보(TaskSet)는 요구되는 동기화 작업들로 이루어진 집합으로서, 가중 집합 커버(weighted set cover) 문제에서 커버하고자 하는 집합을 말한다.More specifically, the transaction selection unit 155 extracts job request list information (TaskSet) using data provided by the requirement management unit 151. [ Here, the task request list information (TaskSet) is a set of required synchronization tasks, and refers to a set to be covered by a weighted set cover problem.

각 자원(resource)별 통합 읽기 주기(MRP)와 통합 쓰기 주기(MWP) 각각의 정보가 작업 요구 목록 정보(TaskSet)의 원소가 된다. 각 원소의 내용은 디바이스 내에서 자원 식별 정보(resource ID), 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에서 디바이스로 읽기인지 쓰기인지 구분하기 위한 표시(operation flag), 통합 읽기 주기 또는 통합 쓰기 주기 등을 포함한다. 원소의 내용은 다양한 형식으로 표현할 수 있다.The information of the integrated read cycle (MRP) and the integrated write cycle (MWP) for each resource becomes an element of the task request list information (TaskSet). The contents of each element are identified by a resource ID in the device, an operation flag, an integrated read cycle, or an integrated write cycle to identify whether the device is reading from or writing to the device in the network service capability layer (NSCL) . The content of an element can be expressed in various formats.

도 14는 본 발명의 바람직한 실시예에 따른 작업 요구 목록 정보를 구성하는 원소의 일례를 설명하기 위한 도면이다.14 is a view for explaining an example of elements constituting job request list information according to a preferred embodiment of the present invention.

예컨대, 자원 A의 통합 읽기 주기가 5초인 원소는 도 14에 도시된 바와 같이 트리플(triple)로 구성될 수 있다.For example, an element whose integrated read period of the resource A is 5 seconds may be configured as a triple as shown in FIG.

도 15는 본 발명의 바람직한 실시예에 따른 작업 요구 목록 정보의 일례를 설명하기 위한 도면이다.15 is a view for explaining an example of job request list information according to a preferred embodiment of the present invention.

트랜잭션 선택부(155)는 요구사항 관리부(151)에서 제공하는 데이터를 이용하여 도 15에 도시된 바와 같은 작업 요구 목록 정보(TaskSet)을 추출하여 유지한다.The transaction selection unit 155 extracts and maintains job request list information (TaskSet) as shown in FIG. 15 using data provided by the requirement management unit 151.

그리고, 트랜잭션 선택부(155)는 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction) 중 디바이스에서 네트워크 서비스 캐퍼빌러티 레이어(NSCL)로 보내는 메시지로 시작하는 트랜잭션(transaction)에 대해 다음의 [수학식 3]을 통해 푸시 이득(push gain)을 계산한다. 본 발명에서 디바이스 푸시(device push)는 트랜잭션(transaction)이 디바이스에서 네트워크 서비스 캐퍼빌러티 레이어(NSCL)로 보내는 메시지로 시작되는 경우를 말한다. 일반적으로 디바이스 푸시(device push) 방식의 트랜잭션(transaction)은 디바이스 푸시(device push)가 아닌 방식에 비해 같은 양의 읽기 또는 쓰기 작업에 들어가는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)의 네트워크/컴퓨팅 자원의 양이 적다.The transaction selector 155 selects a transaction to be started from a message sent from the device to the network service capability layer NSCL in each transaction belonging to the device supported transaction information TSD, The push gain is calculated through Equation (3). In the present invention, device push refers to the case where a transaction begins with a message sent from the device to the network service capability layer (NSCL). In general, device push transactions are not limited to network push / load (NSCL) of network / computing resources Little amount.

여기서, 소모되는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)의 자원은 주고받는 메시지의 수, 네트워크 대역폭 소비량, NSCL 프로세스의 CPU 시간 등을 통해 측정될 수 있다. 또한, 통신 프로토콜의 종류, NSCL 쓰레드(thread)의 구조 등과 같은 상세 구현 사항에 따라 소모되는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)의 자원의 측정 방식은 달라질 수 있다. 예컨대, UDP 프로토콜 기반으로 동작하고 주고 받는 메시지의 수를 자원 소모 척도로 이용하면, 디바이스의 자원(resource) 하나를 읽는 트랜잭션(transaction)의 경우, 디바이스 푸시(device push) 방식으로 하면 디바이스가 네트워크 서비스 캐퍼빌러티 레이어(NSCL)로 메시지를 한번만 전송하면 되므로 총 메시지 수는 1개가 되어 푸시 이득(push gain)은 1로 계산되고, 디바이스 푸시(device push) 방식으로 하지 않으면 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에서 자원(resource)을 요청하여 응답받는 과정에서 메시지 2개가 쓰이게 되어 푸시 이득(push gain)은 2로 계산된다. 즉, 어떤 기준으로 어떻게 푸시 이득(push gain)을 계산할 지는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 실제 구축되는 방식에 맞추어 결정하면 된다. 물론, 각각의 디바이스 푸시(device push) 방식의 트랜잭션(transaction)에 대한 푸시 이득(push gain)을 계산하지 않고 모든 디바이스 푸시(device push) 방식의 트랜잭션(transaction)에 대해 일괄적으로 동일한 값의 푸시 이득(push gain)을 설정할 수도 있다. 정리하면, 푸시 이득(push gain)의 구체적인 계산은 다양한 방식으로 이루어질 수 있다.Here, the resources of the consumed network service capability layer (NSCL) can be measured through the number of messages exchanged, the network bandwidth consumption, and the CPU time of the NSCL process. In addition, the measurement method of resources of the Network Service Capability Layer (NSCL) consumed may vary depending on the detailed implementation such as the type of communication protocol and the structure of the NSCL thread. For example, if the number of messages exchanged and operated on the basis of the UDP protocol is used as a resource consumption measure, if the device reads a resource of a device and uses a device push method, Since the message is transmitted only once by the capability layer (NSCL), the total number of messages is 1, the push gain is calculated as 1, and if not by the device push method, the network service capability layer In NSCL, two messages are used in the process of requesting resources and the push gain is calculated as 2. In other words, how the push gain is calculated based on what criteria can be determined by how the network serviceability layer (NSCL) is actually constructed. Of course, it is not necessary to calculate the push gain for each device push transaction, but to push all of the device push method transactions in batch A push gain can also be set. In summary, the specific calculation of the push gain can be done in a variety of ways.

도 16은 본 발명의 바람직한 실시예에 따른 디바이스 지원 트랜잭션 정보 중 푸시 이득 계산의 대상이 되는 트랜잭션의 일례를 설명하기 위한 도면이다.16 is a view for explaining an example of a transaction subject to push gain calculation among device-supported transaction information according to a preferred embodiment of the present invention.

트랜잭션 선택부(155)는 디바이스 D1의 디바이스 지원 트랜잭션 정보(TSD)에 속하는 트랜잭션(transaction) 중 도 16에 도시된 바와 같은 디바이스 푸시(device push)가 되는 트랜잭션(transaction)에 대하여 푸시 이득(push gain)을 계산한다. 이 트랜잭션(transaction)에 대한 푸시 이득(push gain)은 2로 가정한다.The transaction selecting unit 155 selects a push gain for a transaction that becomes a device push as shown in FIG. 16 among transactions belonging to the device supported transaction information (TSD) ). The push gain for this transaction is assumed to be 2.

그리고, 트랜잭션 선택부(155)는 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대하여 처리량 지표(throughput index)를 계산한다. 여기서, 처리량 지표(throughput index)는 트랜잭션(transaction)이 얼마나 많은 사용자 요구를 처리할 수 있는가를 나타내는 지표이다. 즉, 트랜잭션 선택부(155)는 다음의 [수학식 4]를 통해 디바이스 지원 트랜잭션 정보(TSD)에 속한 트랜잭션 X에 대한 처리량 지표(throughput index)를 계산할 수 있다.The transaction selection unit 155 calculates a throughput index for each transaction belonging to the device supported transaction information (TSD). Here, a throughput index is an index indicating how many user requests a transaction can handle. That is, the transaction selecting unit 155 may calculate a throughput index for the transaction X belonging to the device supported transaction information (TSD) through the following Equation (4).

Figure pat00004
Figure pat00004

즉, 처리량 지표(throughput index)는 작업 요구 목록 정보(TaskSet)의 원소들 중에서 트랜잭션 X에 의해 수행될 수 있는 것들의 수행 빈도에 비례하는 값으로 결정되며, 트랜잭션 X가 디바이스 푸시(device push) 방식인 경우 마지막에 푸시 이득(push gain)을 곱해준다. 작업 요구 목록 정보(TaskSet)가 변할 경우 이에 따라 처리량 지표(throughput index)도 변하게 된다.That is, the throughput index is determined to be a value proportional to the frequency of execution of those that can be performed by the transaction X among the elements of the task request list information (TaskSet), and the transaction X is a device push , And finally multiply by the push gain. When the task request list information (TaskSet) changes, the throughput index also changes accordingly.

도 17은 본 발명의 바람직한 실시예에 따른 디바이스 지원 트랜잭션 정보에 속한 트랜잭션에 대한 처리량 지표의 일례를 설명하기 위한 도면이다.17 is a view for explaining an example of a throughput index for a transaction belonging to device supported transaction information according to a preferred embodiment of the present invention.

트랜잭션 선택부(155)는 디바이스 D1의 디바이스 지원 트랜잭션 정보(TSD)에 속하는 트랜잭션(transaction) 각각에 대하여 도 17에 도시된 바와 같이 처리량 지표(throughput index)를 계산한다.The transaction selection unit 155 calculates a throughput index as shown in FIG. 17 for each transaction belonging to the device supported transaction information (TSD) of the device D1.

그리고, 트랜잭션 선택부(155)는 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대하여 통합 동작 주기(merged action period : MAP)를 계산한다. 여기서, 통합 동작 주기(MAP)는 네트워크 어플리케이션(NA)의 요구사항을 맞추기 위한 각 트랜잭션(transaction)의 동작 주기를 말한다. 즉, 트랜잭션 선택부(155)는 다음의 [수학식 5]를 통해 디바이스 지원 트랜잭션 정보(TSD)에 속한 트랜잭션 X에 대한 통합 동작 주기(MAP)를 계산할 수 있다.The transaction selection unit 155 calculates a merged action period (MAP) for each transaction belonging to the device supported transaction information (TSD). Here, the integrated operation period (MAP) refers to the operation cycle of each transaction to meet the requirements of the network application (NA). That is, the transaction selection unit 155 can calculate the integrated operation period (MAP) for the transaction X belonging to the device supported transaction information (TSD) through the following equation (5).

Figure pat00005
Figure pat00005

작업 요구 목록 정보(TaskSet)가 변할 경우 이에 따라 통합 동작 주기(MAP)도 변하게 된다.When the task request list information (TaskSet) changes, the integrated operation period (MAP) also changes accordingly.

그리고, 트랜잭션 선택부(155)는 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대한 처리량 지표(throughput index)와 통합 동작 주기(MAP)를 기반으로 작업 요구 목록 정보(TaskSet)를 이용하여 그리디 알고리즘(greedy algorithm)을 수행하여, 네트워크 어플리케이션(NA)의 요구사항을 만족시킬 수 있는 트랜잭션(transaction)을 선택하고, 해당 트랜잭션(transaction)의 통합 동작 주기(MAP)를 설정한다. 그리디 알고리즘(greedy algorithm)은 작업 요구 목록 정보(TaskSet)를 디바이스 지원 트랜잭션 정보(TSD)의 원소들로 커버하기 위한 집합 커버(set cover) 문제에 대한 휴리스틱(heuristic)이다. 이때, 디바이스 지원 트랜잭션 정보(TSD)의 원소들 각각은 작업 요구 목록 정보(TaskSet)의 부분 집합으로 볼 수 있다. 본 발명에 따른 그리디 알고리즘(greedy algorithm)은 다음의 [표 1]과 같다.The transaction selection unit 155 uses the task request list information (TaskSet) based on the throughput index and the integrated operation cycle (MAP) for each transaction belonging to the device supported transaction information (TSD) A greedy algorithm is executed to select a transaction that can satisfy the requirements of the network application NA and to set an integrated operation cycle MAP of the corresponding transaction. The greedy algorithm is a heuristic for the set cover problem to cover job request list information (TaskSet) with elements of device supported transaction information (TSD). At this time, each element of the device support transaction information (TSD) can be regarded as a subset of the task request list information (TaskSet). The greedy algorithm according to the present invention is shown in Table 1 below.


Input : TaskSet, TSD

Input: TaskSet, TSD

Output : Set of Tuples(선택된 트랜잭션, 통합 동작 주기)

Output: Set of Tuples (selected transaction, integration cycle)

Repeat while TaskSet is not empty
X = The transaction in TSD with maximum throughput index
(If tie exists, select transaction with minimum of related resources)
T = The merged action period of X
Output = Output ∪ {(X, T)}
TaskSet = TaskSet - {tasks covered by transaction X}
End Repeat

Repeat while TaskSet is not empty
X = The transaction in TSD with maximum throughput index
(If tie exists, select transaction with minimum of related resources)
T = The merged action period of X
Output = Output ∪ {(X, T)}
TaskSet = TaskSet - {tasks covered by transaction X}
End Repeat

여기서, 트랜잭션(transaction)에 관련된 자원들(related resources)은 해당 트랜잭션(transaction)에서 읽거나 쓰는 자원(resource)들을 말한다.Here, related resources related to a transaction refer to resources that are read or written in the corresponding transaction.

정리하면, 트랜잭션 선택부(155)는 투플(tuple)의 집합을 파악하고 업데이트 한다.In summary, the transaction selection unit 155 identifies and updates the set of tuples.

도 18은 본 발명의 바람직한 실시예에 따른 트랜잭션 선택 동작의 일례를 설명하기 위한 도면이다.18 is a view for explaining an example of a transaction selection operation according to a preferred embodiment of the present invention.

그리디 알고리즘(greedy algorithm)의 반복 루틴 최초 실행 시 처리량 지표(throughput index)가 최대인 트랜잭션 X는 도 18의 (a)에 도시된 트랜잭션이다. 트랜잭션 X의 통합 동작 주기(MAP)는 도 18의 (b)에 도시된 바와 같이 4이다. 1회 반복 루틴 실행 후 Output은 도 18의 (c)에 도시된 바와 같다. 1회 반복 루틴 실행 후 작업 요구 목록 정보(TaskSet)는 트랜잭션 X에서 처리되는 작업들이 제거되어 도 18의 (d)에 도시된 바와 같이 변하게 된다. 이후, 반복 루틴이 종료되면 Output은 도 18의 (e)에 도시된 바와 같다.A transaction X with the maximum throughput index at the first execution of the iteration routine of the greedy algorithm is the transaction shown in Figure 18 (a). The integrated operation cycle (MAP) of transaction X is 4 as shown in FIG. 18 (b). After the execution of the one-time loop routine, the output is as shown in Fig. 18 (c). After the execution of the one-time loop routine, the task request list information (TaskSet) is changed as shown in FIG. 18 (d) in which the tasks to be processed in the transaction X are removed. Thereafter, when the iterative routine ends, the output is as shown in (e) of FIG.

그리고, 트랜잭션 선택부(155)는 필요한 경우 트랜잭션 실행부(157)에 수행할 트랜잭션(transaction)이 변경된 사실을 통보한다. 즉, 트랜잭션 선택부(155)는 투플(tuple) 집합의 내용이 변경되면 투플(tuple) 집합을 트랜잭션 실행부(157)에 제공한다.If necessary, the transaction selecting unit 155 notifies the transaction executing unit 157 of the fact that a transaction to be performed has been changed. That is, the transaction selecting unit 155 provides a tuple set to the transaction executing unit 157 when the contents of the tuple set are changed.

트랜잭션 실행부(157)는 트랜잭션 선택부(155)에 의해 선택된 트랜잭션(transaction)을 수행하여 동기화한다. 즉, 트랜잭션 실행부(157)는 트랜잭션 선택부(155)로부터 제공받은 투플(tuple) 집합을 기반으로 동기화를 수행한다. 다시 말하면, 트랜잭션 실행부(157)는 디바이스 푸시(device push) 방식이 아닌 트랜잭션(transaction)은 네트워크 서비스 캐퍼빌러티 레이어(NSCL)가 주기적으로 수행하고, 디바이스 푸시(device push) 방식인 트랜잭션(transaction)은 디바이스가 해당 트랜잭션(transaction)을 시작하는 메시지를 주기적으로 보내도록 디바이스에 요청한다.The transaction execution unit 157 performs a transaction selected by the transaction selection unit 155 and synchronizes with the selected transaction. That is, the transaction execution unit 157 performs synchronization based on a set of tuples supplied from the transaction selection unit 155. In other words, the transaction executing unit 157 periodically performs a transaction, which is not a device push method, by a network service capability layer (NSCL), and performs a device push ) Requests the device to periodically send a message to start the transaction.

한편, 본 발명의 바람직한 실시예에 따른 디바이스 마스터 엔트리(device master entry), 자원 마스터 엔트리(resource master entry), 가상 디바이스 인스턴스(virtualized device instance), 자원 청크 인스턴스(resource chunk instance), 디바이스 지원 트랜잭션 정보(TSD), 작업 요구 목록 정보(TaskSet) 등의 일례는 JSON(javascript object notation), XML(extensible markup language), DTD(document type definition) 등을 통해 표현되는 것으로 설명하였으나, 본 발명은 이에 한정되지 않고 실시예에 따라 다양한 형식으로 표현될 수 있다.Meanwhile, a device master entry, a resource master entry, a virtualized device instance, a resource chunk instance, a device-supported transaction information (TSD), task request list information (TaskSet), etc. are expressed through JSON (JavaScript object notation), XML (extensible markup language), DTD (document type definition), etc. However, the present invention is not limited thereto But can be expressed in various formats according to embodiments.

도 19는 본 발명의 바람직한 실시예에 따른 M2M 통신용 관리 방법을 설명하기 위한 흐름도이다.FIG. 19 is a flowchart illustrating a method for managing M2M communication according to a preferred embodiment of the present invention.

제1디바이스(200-1)는 제1디바이스(200-1)의 등록을 M2M 통신용 관리 장치(100)에 요청한다(S810). 이때, 제1디바이스(200-1)는 제1디바이스(200-1)의 제조사 식별 정보, 제1디바이스(200-1)의 식별 정보 등이 포함된 등록 요청 메시지를 M2M 통신용 관리 장치(100)로 전송한다.The first device 200-1 requests the M2M communication management apparatus 100 to register the first device 200-1 (S810). At this time, the first device 200-1 transmits a registration request message including the manufacturer identification information of the first device 200-1, the identification information of the first device 200-1, and the like to the management device 100 for M2M communication, Lt; / RTI &gt;

그러면, M2M 통신용 관리 장치(100)는 기 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 제1디바이스(200-1)를 등록한다. 즉, M2M 통신용 관리 장치(100)는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 제1디바이스(200-1)에 대응되는 가상 디바이스 인스턴스(virtualized device instance)와 자원 청크 인스턴스(resource chunk instance)를 생성하여 저장함으로써, 제1디바이스(200-1)를 등록한다.Then, the M2M communication management apparatus 100 registers the first device 200-1 through a device master template and a resource master template, which are stored in advance. That is, the M2M communication management apparatus 100 manages the virtual device instance corresponding to the first device 200-1 and the virtual device instance corresponding to the resource 300 through the resource master template and the device master template, The first device 200-1 is registered by creating and storing a resource chunk instance.

보다 자세하게는, M2M 통신용 관리 장치(100)는 기 저장되어 있는 디바이스 마스터 템플릿(device master template)을 이용하여 제1디바이스(200-1)의 가상 디바이스 인스턴스(virtualized device instance)를 생성하여 저장한다(S830). 즉, M2M 통신용 관리 장치(100)는 제1디바이스(200-1)로부터 수신한 등록 요청 메시지에 포함된 디바이스 제조사 식별 정보, 디바이스 식별 정보 등을 이용하여 기 저장되어 있는 디바이스 마스터 템플릿(device master template)에서 제1디바이스(200-1)에 대응되는 디바이스 마스터 엔트리(device master entry)를 검색하고, 검색된 디바이스 마스터 엔트리(device master entry)를 통해 제1디바이스(200-1)에 대응되는 가상 디바이스 인스턴스(virtualized device instance)를 생성하여 저장한다.More specifically, the M2M communication management apparatus 100 generates and stores a virtualized device instance of the first device 200-1 using a previously stored device master template (step &lt; RTI ID = 0.0 &gt; S830). That is, the M2M communication management apparatus 100 uses the device manufacturer identification information, the device identification information, and the like included in the registration request message received from the first device 200-1 to generate a device master template Searches for a device master entry corresponding to the first device 200-1 in the first device 200-1 and searches for a virtual device instance corresponding to the first device 200-1 through the searched device master entry, (virtualized device instance) is generated and stored.

그리고, M2M 통신용 관리 장치(100)는 기 저장되어 있는 자원 마스터 템플릿(resource master template)을 이용하여 제1디바이스(200-1)의 자원 청크 인스턴스(resource chunk instance)를 생성하여 저장한다(S850). 즉, M2M 통신용 관리 장치(100)는 제1디바이스(200-1)에 대응되는 디바이스 마스터 엔트리에 포함된 디바이스 자원 정보를 통해 기 저장되어 있는 자원 마스터 템플릿(resource master template)에서 해당하는 자원 마스터 엔트리(resource master entry)를 검색하고, 검색된 자원 마스터 엔트리(resource master entry)를 통해 제1디바이스(200-1)의 자원 청크 인스턴스(resource chunk instance)를 생성하여 저장한다.The M2M communication management apparatus 100 generates and stores a resource chunk instance of the first device 200-1 using the resource master template stored in step S850, . That is, the M2M communication management apparatus 100 transmits the resource master entry corresponding to the resource master template stored in the resource master template through the device resource information included in the device master entry corresponding to the first device 200-1 (resource master entry) of the first device 200-1 and generates and stores a resource chunk instance of the first device 200-1 through the searched resource master entry.

이후, M2M 통신용 관리 장치(100)는 제1디바이스(200-1)와 메시지를 서로 주고 받으며 서로 정보를 동기화한다(S870).Thereafter, the management device 100 for M2M communication exchanges messages with the first device 200-1 and synchronizes information with each other (S870).

한편, 가상 디바이스 인스턴스(virtualized device instance) 생성 단계(S830)의 수행 이후에 자원 청크 인스턴스(resource chunk instance) 생성 단계(S850)가 수행되는 것으로 설명하였으나, 이에 한정되지 않고 실시예에 따라 자원 청크 인스턴스(resource chunk instance) 생성 단계(S850)가 가상 디바이스 인스턴스(virtualized device instance) 생성 단계(S830)보다 먼저 수행되거나, 가상 디바이스 인스턴스(virtualized device instance) 생성 단계(S830)와 자원 청크 인스턴스(resource chunk instance) 생성 단계(S850) 동시에 수행될 수도 있다.Meanwhile, although it has been described that the resource chunk instance generation step S850 is performed after the generation of the virtualized device instance S830, the resource chunk instance generation step S850 is performed. However, the resource chunk instance generation step S850 is performed before the virtualized device instance generation step S830 or the virtualized device instance generation step S830 and the resource chunk instance ) Generating step S850.

도 20은 본 발명의 바람직한 실시예에 따른 동기화 방법을 보다 자세히 설명하기 위한 흐름도이다.20 is a flowchart for explaining a synchronization method according to a preferred embodiment of the present invention in more detail.

M2M 통신용 관리 장치(100)는 네트워크 어플리케이션(NA)의 요구사항을 관리한다(S871). 즉, M2M 통신용 관리 장치(100)는 복수의 네트워크 어플리케이션(NA) 각각에서 특정 디바이스로 향하는 주기적인 읽기/쓰기에 대한 요구사항을 관리한다. 보다 자세히 설명하면, M2M 통신용 관리 장치(100)는 새로운 네트워크 어플리케이션(NA)이 네트워크 서비스 캐퍼빌러티 레이어(NSCL)에 등록되거나 기 등록된 네트워크 어플리케이션(NA)이 변경되면, 네트워크 어플리케이션(NA)에서 선언된 각각의 자원(resource)에 대하여 읽기/쓰기 주기(read/write period)를 계산하고 업데이트한다. 그리고, M2M 통신용 관리 장치(100)는 네트워크 어플리케이션(NA)이 신규로 실행되어 디바이스와 연결되거나, 디바이스와 연결되어 기 실행중인 네트워크 어플리케이션(NA)의 자원(resource)에 대한 읽기 주기(NARP) 또는 쓰기 주기(NAWP)가 변화되거나, 디바이스와 연결되어 기 실행중인 네트워크 어플리케이션(NA)이 종료되면, 읽기 주기(NARP) 및 쓰기 주기(NAWP)를 이용하여 디바이스의 각각의 자원(resource)에 대하여 통합 읽기/쓰기 주기(merged read/write period)를 계산하고 업데이트한다.The management apparatus 100 for M2M communication manages the requirements of the network application (NA) (S871). That is, the management device 100 for M2M communication manages requirements for periodic reading / writing from each of a plurality of network applications (NA) to a specific device. More specifically, when the new network application (NA) is registered in the network service capability layer (NSCL) or the network application (NA) that has already been registered is changed, the management apparatus for M2M (100) Calculate and update the read / write period for each declared resource. The management apparatus 100 for M2M communication is configured to perform a read period NARP of a resource of a network application NA that is newly executed and connected to the device or connected to the device, When the NAWP is changed or the network application NA is terminated after being connected to the device, it is possible to integrate each resource of the device using the read period NARP and the write period NAWP. Calculates and updates the merged read / write period.

그런 다음, M2M 통신용 관리 장치(100)는 디바이스 지원 트랜잭션 정보(TSD)를 관리한다(S873). 즉, M2M 통신용 관리 장치(100)는 디바이스가 지원하는 트랜잭션(transaction)을 파악하고 관리한다. 보다 자세히 설명하면, M2M 통신용 관리 장치(100)는 모든 형태의 트랜잭션(transaction) 중 디바이스가 지원하는 트랜잭션만으로 이루어진 디바이스 지원 트랜잭션 정보(TSD)를 디바이스별로 계산한다.Then, the M2M communication management apparatus 100 manages the device support transaction information (TSD) (S873). That is, the M2M communication management apparatus 100 recognizes and manages transactions supported by the device. More specifically, the M2M communication management device 100 calculates device-supported transaction information (TSD) for each device, which is composed of only transactions supported by the devices in all types of transactions.

이후, M2M 통신용 관리 장치(100)는 요구사항과 디바이스 지원 트랜잭션 정보(TSD)를 기초로 트랜잭션(transaction)을 선택한다(S875). 즉, M2M 통신용 관리 장치(100)는 자원(resource)별 통신 요구 빈도와 디바이스별 통신 방식의 특징을 주요 변수로 하고, 그리디 알고리즘(greedy algorithm)을 사용하여 트랜잭션(transaction)의 종류와 빈도를 결정한다. 보다 자세히 설명하면, M2M 통신용 관리 장치(100)는 네트워크 어플리케이션(NA)의 요구사항을 이용하여 작업 요구 목록 정보(TaskSet)를 추출한다. 그리고, M2M 통신용 관리 장치(100)는 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction) 중 디바이스에서 네트워크 서비스 캐퍼빌러티 레이어(NSCL)로 보내는 메시지로 시작하는 트랜잭션(transaction)에 대해 푸시 이득(push gain)을 계산한다. 그리고, M2M 통신용 관리 장치(100)는 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대하여 처리량 지표(throughput index)와 통합 동작 주기(MAP)를 계산한다. 그리고, M2M 통신용 관리 장치(100)는 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대한 처리량 지표(throughput index)와 통합 동작 주기(MAP)를 기반으로 작업 요구 목록 정보(TaskSet)를 이용하여 그리디 알고리즘(greedy algorithm)을 수행하여, 네트워크 어플리케이션(NA)의 요구사항을 만족시킬 수 있는 트랜잭션(transaction)을 선택하고, 해당 트랜잭션(transaction)의 통합 동작 주기(MAP)를 설정한다.Then, the M2M communication management apparatus 100 selects a transaction based on the requirement and the device supporting transaction information (TSD) (S875). That is, the management device 100 for M2M communication uses the characteristics of the communication request frequency and the device-specific communication method as resources as the main variables, and uses the greedy algorithm to determine the type and frequency of transactions . More specifically, the M2M communication management apparatus 100 extracts task request list information (TaskSet) using the requirements of the network application (NA). The M2M communication management apparatus 100 transmits a push gain to a transaction starting with a message sent from the device to the network service capability layer (NSCL) in each transaction belonging to the device support transaction information (TSD) (push gain). Then, the M2M communication management apparatus 100 calculates a throughput index and an integrated operation period (MAP) for each transaction belonging to the device supported transaction information (TSD). The management apparatus 100 for M2M communication transmits task request list information (TaskSet) based on a throughput index and an integrated operation cycle (MAP) for each transaction belonging to the device support transaction information (TSD) A greedy algorithm is used to select a transaction that can satisfy the requirements of the network application and set an integrated operation cycle MAP of the corresponding transaction.

마지막으로, M2M 통신용 관리 장치(100)는 선택된 트랜잭션(transaction)을 수행하여 디바이스와 서로 정보를 동기화한다(S877).Finally, the M2M communication management apparatus 100 performs a selected transaction to synchronize information with the device (S877).

이와 같이, 기 생성하여 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 디바이스는 M2M 통신(Machine-to-Machine communications) 서비스의 이용을 할 수 있다. 이에 따라, 새로운 디바이스가 출현하면, 새로운 디바이스에 대응되는 디바이스 마스터 엔트리(device master entry)와 자원 마스터 엔트리(resource master entry)를 생성하여 추가함으로써, 새로운 디바이스도 M2M 통신(Machine-to-Machine communications) 서비스를 이용할 수 있다. 따라서, 시스템의 확장성(scalability) 문제를 해결할 수 있다.In this way, the device can use the M2M communication (Machine-to-Machine communication) service through the device master template and the resource master template stored and stored. Accordingly, when a new device emerges, a device master entry and a resource master entry corresponding to a new device are created and added, so that a new device can be also used for machine-to-machine communications (M2M) Services are available. Therefore, the scalability problem of the system can be solved.

또한, 디바이스 통신 정보, 자원 내용(resource content)의 표현 형식 정보 및 자원 내용(resource content)의 표현에 사용되는 어휘 정보가 디바이스별로 저장되어 있는 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 통해 디바이스를 추상화하고 자원(resource)에 접근할 수 있는 인터페이스(interface)를 제공할 수 있다. 이에 따라, 동일한 디바이스라고 하더라도 제조사나 모델마다 인터페이스(interface)가 상이할 수 있지만, 본 발명에 따른 디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 이용하면 인터페이스(interface)가 서로 상이한 디바이스도 M2M 통신(Machine-to-Machine communications) 서비스를 이용할 수 있다. 따라서, 자원(resource)에 접근할 수 있는 인터페이스(interface)의 이종성(heterogeneity) 문제를 해결할 수 있다.In addition, a device master template and a resource master template, in which device communication information, expression format information of a resource content, and lexical information used for expressing resource content are stored for each device, A master template can be used to abstract the device and provide an interface to access the resource. Accordingly, even if the same device is used, an interface may be different for each manufacturer or model. However, if a device master template and a resource master template according to the present invention are used, Devices that are different from each other can also use the M2M (Machine-to-Machine communications) service. Therefore, it is possible to solve the heterogeneity problem of an interface that can access a resource.

또한, 네트워크 어플리케이션(NA)의 요구사항과 디바이스가 지원하는 트랜잭션 정보(TSD)를 이용하여 선택된 트랜잭션(transaction)만을 수행하여 동기화함으로써, 서비스 품질을 저해시키지 않고 네트워크 서비스 캐퍼빌러티 레이어(NSCL)의 부하를 최소화하면서 동기화를 수행할 수 있다. 이에 따라, 연결되는 디바이스의 개수가 증가함에 따라 발생되는 네트워크 서비스 캐퍼빌러티 레이어(NSCL)의 성능 요구를 줄일 수 있어, M2M 통신(Machine-to-Machine communications) 서비스에 필요한 인프라 구축 비용을 절감할 수 있다.In addition, by synchronizing only the transactions selected using the requirements of the network application (NA) and the transaction information (TSD) supported by the device, the network service capability layer (NSCL) Synchronization can be performed with minimal load. Accordingly, the performance requirement of the network service capability layer (NSCL) generated as the number of connected devices increases can be reduced, and the infrastructure construction cost required for the M2M communication (machine-to-machine communications) service can be reduced .

본 발명은 또한 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 장치에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 롬(ROM), 램(RAM), CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 유무선 통신망으로 연결된 컴퓨터 장치에 분산되어 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The present invention can also be embodied as computer-readable codes on a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer apparatus is stored. Examples of the computer-readable recording medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like in the form of a carrier wave . In addition, the computer-readable recording medium may be distributed to computer devices connected to a wired / wireless communication network, and a computer-readable code may be stored and executed in a distributed manner.

이상에서 본 발명의 바람직한 실시예에 대하여 상세하게 설명하였지만 본 발명은 상술한 특정의 바람직한 실시예에 한정되지 아니하며, 다음의 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.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 may be made and equivalents may be substituted without departing from the scope of the appended claims.

100 : M2M 통신용 관리 장치,
200-1 내지 200-n : 디바이스,
300 : 통신망
100: management device for M2M communication,
200-1 to 200-n: devices,
300: Network

Claims (15)

디바이스 마스터 템플릿(device master template)과 자원 마스터 템플릿(resource master template)을 저장하고 있는 저장부; 및
디바이스로부터 등록 요청 메시지를 수신하면, 상기 저장부에 기 저장되어 있는 상기 디바이스 마스터 템플릿(device master template)과 상기 저장부에 기 저장되어 있는 상기 자원 마스터 템플릿(resource master template)을 통해 상기 디바이스를 등록하는 등록부;를 포함하는 것을 특징으로 하는 M2M 통신용 관리 장치.
A storage unit for storing a device master template and a resource master template; And
Upon receipt of a registration request message from the device, registers the device through a device master template previously stored in the storage unit and the resource master template stored in the storage unit, And a registering unit for registering the M2M communication apparatus.
제 1항에 있어서,
상기 디바이스 마스터 템플릿(device master template)은 디바이스 제조사 식별 정보, 디바이스 식별 정보, 디바이스 통신 정보 및 디바이스 자원 정보를 포함하는 디바이스 마스터 엔트리(device master entry)로 구성되고,
상기 자원 마스터 템플릿(resource master template)은 자원 내용(resource content)의 표현 형식 정보 및 상기 자원 내용(resource content)의 표현에 사용되는 어휘 정보를 포함하는 자원 마스터 엔트리(resource master entry)로 구성되는 것을 특징으로 하는 M2M 통신용 관리 장치.
The method according to claim 1,
Wherein the device master template comprises a device master entry including device manufacturer identification information, device identification information, device communication information, and device resource information,
Wherein the resource master template comprises a resource master entry including expression format information of a resource content and lexical information used for expressing the resource content Management device for M2M communication.
제 1항에 있어서,
상기 등록부는 상기 디바이스 마스터 템플릿(device master template)과 상기 자원 마스터 템플릿(resource master template)을 통해 상기 디바이스에 대응되는 가상 디바이스 인스턴스(virtualized device instance)와 자원 청크 인스턴스(resource chunk instance)를 생성하여 상기 저장부에 저장함으로써, 상기 디바이스를 등록하는 것을 특징으로 하는 M2M 통신용 관리 장치.
The method according to claim 1,
The register generates a virtualized device instance and a resource chunk instance corresponding to the device through the device master template and the resource master template, And registers the device in the storage unit.
제 3항에 있어서,
상기 등록부는 상기 등록 요청 메시지를 통해 상기 저장부에 저장되어 있는 상기 디바이스 마스터 템플릿(device master template)에서 상기 디바이스에 대응되는 디바이스 마스터 엔트리(device master entry)를 검색하고, 검색된 상기 디바이스에 대응되는 상기 디바이스 마스터 엔트리(device master entry)를 통해 상기 저장부에 저장되어 있는 상기 자원 마스터 템플릿(resource master template)에서 상기 디바이스가 지원하는 자원 마스터 엔트리(resource master entry)를 검색하며, 검색된 상기 디바이스에 대응되는 상기 디바이스 마스터 엔트리(device master entry)와 검색된 상기 디바이스가 지원하는 자원 마스터 엔트리(resource master entry)를 이용하여 상기 디바이스에 대응되는 상기 가상 디바이스 인스턴스(virtualized device instance)와 상기 자원 청크 인스턴스(resource chunk instance)를 생성하는 것을 특징으로 하는 M2M 통신용 관리 장치.
The method of claim 3,
The registration unit searches the device master template corresponding to the device from the device master template stored in the storage unit through the registration request message, A resource master entry supported by the device is retrieved from the resource master template stored in the storage unit through a device master entry, A virtualized device instance corresponding to the device and a resource chunk instance corresponding to the device using a device master entry and a resource master entry supported by the discovered device, ) M2M communication management apparatus characterized in that.
제 3항에 있어서,
상기 디바이스와 메시지를 주고 받으며 상기 저장부에 저장된 상기 자원 청크 인스턴스(resource chunk instance)와 상기 자원 청크 인스턴스(resource chunk instance)에 대응되는 상기 디바이스 내의 정보를 동기화하는 동기화부를 더 포함하는 것을 특징으로 하는 M2M 통신용 관리 장치.
The method of claim 3,
Further comprising a synchronization unit for exchanging a message with the device and for synchronizing information in the device corresponding to the resource chunk instance and the resource chunk instance stored in the storage unit, Management device for M2M communication.
제 5항에 있어서,
상기 동기화부는,
네트워크 어플리케이션(NA)에서 디바이스로 향하는 주기적인 읽기 또는 쓰기에 대한 요구사항을 관리하는 요구사항 관리부;
디바이스가 지원하는 트랜잭션(transaction)을 파악하여 디바이스 지원 트랜잭션 정보(TSD)를 획득하는 트랜잭션 관리부;
상기 요구사항과 상기 디바이스 지원 트랜잭션 정보(TSD)를 이용하여 상기 디바이스 지원 트랜잭션 정보(TSD)에서 트랜잭션(transaction)을 선택하고, 상기 선택된 트랜잭션(transaction)의 통합 동작 주기(MAP)를 설정하는 트랜잭션 선택부; 및
상기 선택된 트랜잭션(transaction)을 수행하여 정보를 동기화하는 트랜잭션 실행부;를 포함하는 것을 특징으로 하는 M2M 통신용 관리 장치.
6. The method of claim 5,
Wherein the synchronization unit comprises:
A requirement manager for managing requirements for periodic reading or writing from the network application (NA) to the device;
A transaction management unit for acquiring device supported transaction information (TSD) by recognizing a transaction supported by the device;
Selecting a transaction from the device supported transaction information (TSD) using the requirement and the device supported transaction information (TSD), and selecting a transaction to set an integrated operation cycle (MAP) of the selected transaction part; And
And a transaction execution unit for synchronizing information by performing the selected transaction.
제 6항에 있어서,
상기 트랜잭션 선택부는 상기 요구사항을 이용하여 작업 요구 목록 정보(TaskSet)를 추출하고, 상기 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대해 처리량 지표(throughput index)와 통합 동작 주기(MAP)를 계산하며, 상기 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대한 처리량 지표(throughput index)와 통합 동작 주기(MAP)를 기반으로 상기 작업 요구 목록 정보(TaskSet)를 이용하여 상기 디바이스 지원 트랜잭션 정보(TSD)에서 트랜잭션(transaction)을 선택하고 상기 선택된 트랜잭션(transaction)의 통합 동작 주기(MAP)를 설정하는 것을 특징으로 하는 M2M 통신용 관리 장치.
The method according to claim 6,
The transaction selection unit extracts the task request list information (TaskSet) using the request, and for each transaction belonging to the device supported transaction information (TSD), a throughput index and an integrated operation cycle MAP ) Using the task request list information (TaskSet) based on a throughput index and an integrated operation cycle (MAP) for each transaction belonging to the device supported transaction information (TSD) Selects a transaction from the device supported transaction information (TSD) and sets an integrated operation cycle (MAP) of the selected transaction.
디바이스로부터 등록 요청 메시지를 수신하는 단계; 및
기 저장되어 있는 디바이스 마스터 템플릿(device master template)과 기 저장되어 있는 자원 마스터 템플릿(resource master template)을 통해 상기 디바이스를 등록하는 단계;를 포함하는 것을 특징으로 하는 M2M 통신용 관리 장치.
Receiving a registration request message from a device; And
And registering the device through a device master template stored in advance and a resource master template stored in the device master template.
제 8항에 있어서,
상기 디바이스 마스터 템플릿(device master template)은 디바이스 제조사 식별 정보, 디바이스 식별 정보, 디바이스 통신 정보 및 디바이스 자원 정보를 포함하는 디바이스 마스터 엔트리(device master entry)로 구성되고,
상기 자원 마스터 템플릿(resource master template)은 자원 내용(resource content)의 표현 형식 정보 및 상기 자원 내용(resource content)의 표현에 사용되는 어휘 정보를 포함하는 자원 마스터 엔트리(resource master entry)로 구성되는 것을 특징으로 하는 M2M 통신용 관리 방법.
9. The method of claim 8,
Wherein the device master template comprises a device master entry including device manufacturer identification information, device identification information, device communication information, and device resource information,
Wherein the resource master template comprises a resource master entry including expression format information of a resource content and lexical information used for expressing the resource content A management method for M2M communication characterized by.
제 8항에 있어서,
상기 등록 단계에서, 상기 디바이스 마스터 템플릿(device master template)과 상기 자원 마스터 템플릿(resource master template)을 통해 상기 디바이스에 대응되는 가상 디바이스 인스턴스(virtualized device instance)와 자원 청크 인스턴스(resource chunk instance)를 생성하여 저장함으로써, 상기 디바이스를 등록하는 것을 특징으로 하는 M2M 통신용 관리 방법.
9. The method of claim 8,
In the registering step, a virtualized device instance and a resource chunk instance corresponding to the device are generated through the device master template and the resource master template And the device is registered by registering the device.
제 10항에 있어서,
상기 등록 단계는,
상기 등록 요청 메시지를 통해 기 저장되어 있는 상기 디바이스 마스터 템플릿(device master template)에서 상기 디바이스에 대응되는 디바이스 마스터 엔트리(device master entry)를 검색하는 단계;
검색된 상기 디바이스에 대응되는 상기 디바이스 마스터 엔트리(device master entry)를 통해 기 저장되어 있는 상기 자원 마스터 템플릿(resource master template)에서 상기 디바이스가 지원하는 자원 마스터 엔트리(resource master entry)를 검색하는 단계; 및
검색된 상기 디바이스에 대응되는 상기 디바이스 마스터 엔트리(device master entry)와 검색된 상기 디바이스가 지원하는 자원 마스터 엔트리(resource master entry)를 이용하여 상기 디바이스에 대응되는 상기 가상 디바이스 인스턴스(virtualized device instance)와 상기 자원 청크 인스턴스(resource chunk instance)를 생성하는 단계;를 포함하는 것을 특징으로 하는 M2M 통신용 관리 방법.
11. The method of claim 10,
Wherein the registering step comprises:
Retrieving a device master entry corresponding to the device from the device master template previously stored through the registration request message;
Retrieving a resource master entry supported by the device from the resource master template previously stored through the device master entry corresponding to the searched device; And
A virtualized device instance corresponding to the device and a resource master entry corresponding to the discovered device using a device master entry corresponding to the searched device and a resource master entry supported by the searched device, And generating a resource chunk instance based on the generated resource chunk instance.
제 10항에 있어서,
상기 디바이스와 메시지를 주고 받으며, 상기 자원 청크 인스턴스(resource chunk instance)와 상기 자원 청크 인스턴스(resource chunk instance)에 대응되는 상기 디바이스 내의 정보를 동기화하는 단계를 더 포함하는 것을 특징으로 하는 M2M 통신용 관리 방법.
11. The method of claim 10,
Further comprising the step of synchronizing the information in the device with the resource chunk instance and the resource chunk instance by exchanging messages with the device, .
제 12항에 있어서,
상기 동기화 단계는,
네트워크 어플리케이션(NA)에서 디바이스로 향하는 주기적인 읽기 또는 쓰기에 대한 요구사항을 관리하는 단계;
디바이스가 지원하는 트랜잭션(transaction)을 파악하여 디바이스 지원 트랜잭션 정보(TSD)를 획득하는 단계;
상기 요구사항과 상기 디바이스 지원 트랜잭션 정보(TSD)를 이용하여 상기 디바이스 지원 트랜잭션 정보(TSD)에서 트랜잭션(transaction)을 선택하고, 상기 선택된 트랜잭션(transaction)의 통합 동작 주기(MAP)를 설정하는 단계;
상기 선택된 트랜잭션(transaction)을 수행하여 정보를 동기화하는 단계;를 포함하는 것을 특징으로 하는 M2M 통신용 관리 방법.
13. The method of claim 12,
The synchronization step comprises:
Managing requirements for periodic reading or writing from the network application (NA) to the device;
Acquiring device supported transaction information (TSD) by identifying a transaction supported by the device;
Selecting a transaction from the device supported transaction information (TSD) using the requirement and the device supported transaction information (TSD) and setting an integrated operation period (MAP) of the selected transaction;
And synchronizing the information by performing the selected transaction.
제 13항에 있어서,
상기 트랜잭션 선택 단계는,
상기 요구사항을 이용하여 작업 요구 목록 정보(TaskSet)를 추출하는 단계;
상기 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대해 처리량 지표(throughput index)와 통합 동작 주기(MAP)를 계산하는 단계; 및
상기 디바이스 지원 트랜잭션 정보(TSD)에 속한 각 트랜잭션(transaction)에 대한 처리량 지표(throughput index)와 통합 동작 주기(MAP)를 기반으로 상기 작업 요구 목록 정보(TaskSet)를 이용하여 상기 디바이스 지원 트랜잭션 정보(TSD)에서 트랜잭션(transaction)을 선택하고 상기 선택된 트랜잭션(transaction)의 통합 동작 주기(MAP)를 설정하는 단계;를 포함하는 것을 특징으로 하는 M2M 통신용 관리 방법.
14. The method of claim 13,
Wherein the transaction selection step comprises:
Extracting a task request list (TaskSet) using the requirements;
Calculating a throughput index and an integrated operation period (MAP) for each transaction belonging to the device supported transaction information (TSD); And
Based on the throughput index and the MAP of each transaction belonging to the device supported transaction information (TSD), the device supported transaction information ( Selecting a transaction in the TSD and setting an integrated operation period (MAP) of the selected transaction.
제 8항 내지 제 14항 중 어느 한 항에 기재된 M2M 통신용 관리 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.A computer-readable recording medium having recorded thereon a program for causing a computer to execute the management method for M2M communication according to any one of claims 8 to 14.
KR1020120121701A 2012-05-30 2012-10-31 Managing apparatus and method for Machine-to-Machine communications KR102034736B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201380003515.0A CN103947157B (en) 2012-05-30 2013-05-30 M2m communication device and method
US13/905,887 US20130324121A1 (en) 2012-05-30 2013-05-30 Apparatus and method for machine-to-machine communications
PCT/KR2013/004740 WO2013180476A1 (en) 2012-05-30 2013-05-30 Apparatus and method for m2m communications

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020120057648 2012-05-30
KR20120057648 2012-05-30

Publications (2)

Publication Number Publication Date
KR20130135009A true KR20130135009A (en) 2013-12-10
KR102034736B1 KR102034736B1 (en) 2019-10-22

Family

ID=49982537

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120121701A KR102034736B1 (en) 2012-05-30 2012-10-31 Managing apparatus and method for Machine-to-Machine communications

Country Status (2)

Country Link
KR (1) KR102034736B1 (en)
CN (1) CN103947157B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016003034A1 (en) * 2014-06-30 2016-01-07 엘지전자 주식회사 Method and device for forwarding message in wireless communication system
KR20190047520A (en) * 2017-10-27 2019-05-08 에스케이텔레콤 주식회사 Server for Providing IoT Platform Service Using Device Descriptor and Method Therefor
KR20190063150A (en) * 2017-11-29 2019-06-07 전자부품연구원 Multiple IoT Interworking System and Method
CN111201764A (en) * 2017-10-19 2020-05-26 Sk电信有限公司 Method and server device for providing platform service of internet of things

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10990449B2 (en) 2014-10-31 2021-04-27 Convida Wireless, Llc Managing application relationships in machine-to-machine systems
CN105653374B (en) 2014-11-12 2020-04-28 华为技术有限公司 Method, device and system for executing distributed transaction resources
TWI568224B (en) * 2015-04-29 2017-01-21 財團法人資訊工業策進會 Heterogeneous network system, network apparatus, and rendezvous path selection method thereof
CN106330510B (en) * 2015-06-30 2019-07-19 华为技术有限公司 A kind of update method of virtual resource, apparatus and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010485A1 (en) * 2003-07-11 2005-01-13 Quadratic Systems Corporation Integrated system and method for selectively populating and managing multiple, site-specific, interactive, user stations
US20060050862A1 (en) * 2001-05-22 2006-03-09 Shen Fong F Automation of customer premises equipment provisioning in a telecommunications network
US7796023B2 (en) * 2000-09-06 2010-09-14 Babak Rezvani Systems and methods for the automatic registration of devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437586C (en) * 2005-10-21 2008-11-26 中国科学院计算技术研究所 A resource allocation method and system for shared memory
CN101299674B (en) * 2007-04-30 2011-05-11 中国移动通信集团公司 Method, system and management platform for implementing terminal identification
US8407769B2 (en) * 2008-02-22 2013-03-26 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for wireless device registration
KR100998753B1 (en) * 2008-12-02 2010-12-07 주식회사 케이티 Machine-to-machine module for noticing a state of emergency, device selectively connected with the machine-to-machine module and driving method thereof
CN102202270B (en) * 2010-03-24 2016-03-30 中兴通讯股份有限公司 Based on method for message transmission and the interworking function entity of machine type communication
CN102244666A (en) * 2010-05-10 2011-11-16 中兴通讯股份有限公司 Message processing method for machine-to-machine/man (M2M) platform and M2M platform system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7796023B2 (en) * 2000-09-06 2010-09-14 Babak Rezvani Systems and methods for the automatic registration of devices
US20060050862A1 (en) * 2001-05-22 2006-03-09 Shen Fong F Automation of customer premises equipment provisioning in a telecommunications network
US20050010485A1 (en) * 2003-07-11 2005-01-13 Quadratic Systems Corporation Integrated system and method for selectively populating and managing multiple, site-specific, interactive, user stations

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KR 10-0998753 (주식회사 케이티) 2010. 11. 30. 특허문헌 1은 긴급 상황 알림 기능이 구비된 M2M 모듈, M2M 모듈과 선택적으로 연결되는 M2M 디바이스 및 그 구동 방법으로서, 특허문헌 1에는 연결된 M2M 디바이스에서 제공 가능한 데이터 포맷을 확인하고, 데이터 포맷을 가진 긴급 상황 알림 정보를 획득하기 위한 동작을 M2M 디바이스에 요구하여 M2M 디바이스로부터 긴급 상황 알림 정보를 수신하며, 긴급 상황 알림 정보를 필요한 조치를 취하도록 기능하는 서비스 서버에게 M2M 디바이스로부터 획득한 긴급 상황 알림 정보를 전송하는 내용이 개시되어 있다.
KR 10-1048854 (주식회사 케이티) 2011. 7. 6. 특허문헌 2는 M2M 어플리케이션의 가입자 트래픽 데이터에 대한 서비스 제어 방법 및 그 시스템으로서, 특허문헌 2에는 선택적으로 연결되는 디바이스의 종류에 따른 인식정보와 디바이스에서 구동되는 어플리케이션의 성향정보를 확인하여 M2M 제어 서버로 전달하고, M2M 모듈로부터 수신되는 어플리케이션의 성향정보를 토대로 파악되는 가입자의 서비스 품질 기준정보에 기초하여 송수신되는 가입자 트래픽 데이터가 제한된 범위를 초과하지 않도록 제어하는 내용이 개시되어 있다.

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016003034A1 (en) * 2014-06-30 2016-01-07 엘지전자 주식회사 Method and device for forwarding message in wireless communication system
US10530722B2 (en) 2014-06-30 2020-01-07 Lg Electronics Inc. Method and device for forwarding message in wireless communication system
CN111201764A (en) * 2017-10-19 2020-05-26 Sk电信有限公司 Method and server device for providing platform service of internet of things
US11172028B2 (en) 2017-10-19 2021-11-09 Sk Telecom Co., Ltd. Method and server device for providing internet of things platform service
KR20190047520A (en) * 2017-10-27 2019-05-08 에스케이텔레콤 주식회사 Server for Providing IoT Platform Service Using Device Descriptor and Method Therefor
KR20190063150A (en) * 2017-11-29 2019-06-07 전자부품연구원 Multiple IoT Interworking System and Method

Also Published As

Publication number Publication date
CN103947157B (en) 2017-07-28
CN103947157A (en) 2014-07-23
KR102034736B1 (en) 2019-10-22

Similar Documents

Publication Publication Date Title
KR102034736B1 (en) Managing apparatus and method for Machine-to-Machine communications
US20130324121A1 (en) Apparatus and method for machine-to-machine communications
US11940999B2 (en) Metadata-driven computing system
US8832130B2 (en) System and method for implementing on demand cloud database
KR102415845B1 (en) Internet of Things Resource Subscription Methods, Devices, and Systems
US10241839B2 (en) Method and system for generating a virtual device resource accessible by an application
WO2017114182A1 (en) Interface data displaying method and device
CN102780724B (en) A kind of sending method of category information, system and equipment
US8812577B2 (en) Mobile middleware supporting context monitoring and context monitoring method using the same
WO2019154353A1 (en) System running parameter query method, matching method and apparatus, and node device
JP2008532119A5 (en)
CN110502546A (en) A kind of data processing method and device
CN109933585B (en) Data query method and data query system
KR20170134348A (en) M2M data processing method, device, and system
CN102263830A (en) Apparatus, and associated method, for facilitating background processing of push content
JP5652480B2 (en) Database update notification method
CN115640110B (en) Distributed cloud computing system scheduling method and device
US11567930B2 (en) Adaptive data retrieval with runtime authorization
JP5844895B2 (en) Distributed data search system, distributed data search method, and management computer
US20090125803A1 (en) Method, system, client and server for managing xml document
US20090165011A1 (en) Resource management method, information processing system, information processing apparatus, and program
KR101720316B1 (en) Method and apparatus for providing information for sensor network
KR102407941B1 (en) User interface generation method of electronic device calling function or procedure of external device based on remote procedure call(rpc), program and electronic device thereof
CN107347024A (en) A kind of method and apparatus for storing Operation Log
KR20210128096A (en) Apparatus and method for interworking among internet of things platforms

Legal Events

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