KR20180106934A - Methods for processing group resources in M2M system And Apparatuses thereof - Google Patents

Methods for processing group resources in M2M system And Apparatuses thereof Download PDF

Info

Publication number
KR20180106934A
KR20180106934A KR1020180030158A KR20180030158A KR20180106934A KR 20180106934 A KR20180106934 A KR 20180106934A KR 1020180030158 A KR1020180030158 A KR 1020180030158A KR 20180030158 A KR20180030158 A KR 20180030158A KR 20180106934 A KR20180106934 A KR 20180106934A
Authority
KR
South Korea
Prior art keywords
information
group resource
status code
response status
identification information
Prior art date
Application number
KR1020180030158A
Other languages
Korean (ko)
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 주식회사 케이티
Publication of KR20180106934A publication Critical patent/KR20180106934A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/32
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure relates to a technology for processing group resources in a machine-to-machine communication (M2M) system, and more particularly, to a technique for preventing errors from being generated in advance by processing group resources more accurately in generation and update of group resources. According to an embodiment, a method of processing group resources in an M2M system includes steps of: receiving a request message requesting a group resource processing operation; determining whether each member is accessible based on at least one piece of member identification information included in a group resource; generating response status code information based on at least one piece of information included in the result of determining whether each member is accessible and the request message; and transmitting a response message including the response status code information for the request message.

Description

M2M 시스템에서 그룹 자원의 처리 방법과 그 장치{Methods for processing group resources in M2M system And Apparatuses thereof}[0001] The present invention relates to a method and an apparatus for processing a group resource in an M2M system,

본 개시는 M2M(Machine to Machine communication) 시스템에서 그룹 자원을 처리하는 기술에 관한 것으로, 그룹 자원의 생성 및 갱신에 있어서 보다 정확하게 그룹 자원을 처리하여 오류 발생을 사전에 예방하는 기술에 관한 것이다. The present disclosure relates to a technology for processing group resources in a machine-to-machine communication (M2M) system, and more particularly, to a technology for preventing group errors from being generated in advance by processing group resources more accurately in generating and updating group resources.

사물 통신(M2M, "Machine to machine communication" 또는 MTC, "Machine type communication" 또는 스마트 디바이스 통신, "Smart Device communication" 또는 "Machine oriented communication" 또는 사물 인터넷, "Internet of Things")은 사람이 통신 과정에 개입하지 않고 통신이 이루어지는 방식의 모든 통신 방식을 지칭한다. "Machine to Machine Communication" or MTC, "Machine Type Communication" or "Smart Device Communication" or "Machine oriented communication" or "Internet of Things" In which communication is performed without intervening in the network.

사물통신은 통상적으로 사람이 직접적으로 통신과 응용 제어를 수행하지 않기 때문에, 사물 간에 메시지를 교환하기 위해서 송수신 방법과 절차와 필요하다. 또한, M2M 장치 간의 원활한 메시지 교환을 위한 프로토콜이 필요하다. Since object communication does not normally perform communication and application control directly by a person, transmission and reception methods and procedures are required to exchange messages between objects. There is also a need for a protocol for smooth message exchange between M2M devices.

특히, IoT 기기의 대중화에 따라서 다수의 사물 통신 장치가 가정 및 직장 내에서 사용되고 있으며, 동일 또는 유사한 기능을 수행하는 사물 통신 장치가 일정 목적을 위해서 다수 전개되는 상황이 존재한다. 예를 들어, 각 조명 장치에 사물 통신 모듈이 포함되고, 가정 내에 다수의 조명 장치가 사물 통신 장치로 기능을 수행할 수 있다. Particularly, in accordance with popularization of IoT devices, a plurality of object communication devices are used in the home and office, and a plurality of object communication devices performing the same or similar functions are deployed for a certain purpose. For example, each lighting device may include an object communication module, and multiple lighting devices within the home may function as the object communication device.

이를 위해서는 동일 또는 유사한 기능을 수행하는 사물 통신 장치를 하나의 그룹으로 관리하고, 그룹 제어를 통해서 그룹 내에 포함되는 사물 통신 장치를 한 번에 제어할 필요성이 있다. To this end, it is necessary to manage the object communication apparatuses performing the same or similar functions as a group, and control the object communication apparatuses included in the group at a time through group control.

그러나, 사물 통신 장치가 증가되면서 각 사물 통신 장치의 프로토콜 차이점 또는 고장 발생 또는 네트워크 연결 등 다양한 문제가 발생할 수 있다. 현재에는 사물 통신에서의 그룹 자원 관리 측면에서 이러한 문제점이 발생하는 경우에 그룹을 통한 다수의 사물 통신 장치의 제어가 불가능하고, 제어를 시도하는 경우에 사후적으로 이러한 문제점을 확인할 수 있다. However, as the number of object communication devices increases, various problems may arise, such as differences in protocol of each object communication device, occurrence of a failure, or network connection. At present, when such a problem occurs in terms of group resource management in object communication, it is impossible to control a plurality of object communication apparatuses through a group, and such a problem can be confirmed in the event of attempting control.

전술한 배경에서 안출된 본 실시예는 M2M 환경에서 그룹 자원을 생성 또는 업데이트 하는 과정에서 그룹 자원에 포함되는 개별 M2M 장치의 문제 발생 여부 및 접속 가능 여부를 사전에 확인하여 그룹 자원에 신뢰성을 향상시키기 위한 장치 및 방법을 제안하고자 한다. In the present embodiment, which is devised from the background described above, in the process of creating or updating a group resource in an M2M environment, it is checked whether an individual M2M device included in a group resource has a problem or not, And an apparatus and method for the same.

전술한 과제를 해결하기 위한 일 실시예는 M2M(Machine to Machine communication) 장치가 그룹 자원을 처리하는 방법에 있어서, 그룹 자원의 처리 동작을 요청하는 요청 메시지를 수신하는 단계와 그룹 자원에 포함되는 하나 이상의 멤버 식별정보에 기초하여 각 멤버의 접속 가능 여부를 확인하는 단계와 접속 가능 여부 결과 및 요청 메시지에 포함되는 정보 중 적어도 하나에 기초하여 응답 상태 코드 정보를 생성하는 단계 및 요청 메시지에 대한 응답 상태 코드 정보를 포함하는 응답 메시지를 전송하는 단계를 포함하는 방법을 제공한다.According to an embodiment of the present invention, there is provided a method of processing a group resource by a machine-to-machine communication (M2M) device, the method comprising: receiving a request message requesting a group resource processing operation; Generating response state code information based on at least one of information on the connection availability result and the request message based on the above-described member identification information, determining whether or not each member is connectable, And transmitting a response message including the code information.

또한, 일 실시예는 그룹 자원을 처리하는 M2M(Machine to Machine communication) 장치에 있어서, 그룹 자원의 처리 동작을 요청하는 요청 메시지를 수신하는 수신부와 그룹 자원에 포함되는 하나 이상의 멤버 식별정보에 기초하여 각 멤버의 접속 가능 여부를 확인하고, 접속 가능 여부 결과 및 요청 메시지에 포함되는 정보 중 적어도 하나에 기초하여 응답 상태 코드 정보를 생성하는 제어부 및 요청 메시지에 대한 응답 상태 코드 정보를 포함하는 응답 메시지를 전송하는 송신부를 포함하는 M2M 장치를 제공한다. According to an embodiment of the present invention, there is provided a machine-to-machine communication (M2M) apparatus for processing a group resource, the apparatus comprising: a receiver for receiving a request message for requesting a group resource processing operation; A control unit for checking whether or not each member is connectable and generating response status code information based on at least one of the connection availability result and information included in the request message, and a response message including response status code information for the request message And a transmitter for transmitting the M2M device.

이상에서 설명한 본 실시예는 그룹 자원의 생성 또는 업데이트와 같은 그룹 자원 처리 동작 시에 그룹 자원 내의 각 M2M 장치의 문제점 여부를 사전에 확인하여 사전 문제점 해결 동작이 가능하도록 하는 효과를 제공한다. The present embodiment described above provides an effect of enabling a problem solving operation in advance by confirming in advance whether or not each M2M device in a group resource has a problem in group resource processing operation such as generation or update of a group resource.

또한, 본 실시예는 문제점의 사후적 발견 또는 사후적 발생을 사전에 예방함으로써, M2M 시스템 전체에 대한 사용자 신뢰성을 향상시키는 효과를 제공한다. In addition, this embodiment provides an effect of improving the user reliability of the entire M2M system by preventing the post-event detection or the post-event occurrence in advance.

도 1은 M2M 시스템을 상위 레벨의 기능적 관점에서 도시한 도면이다.
도 2는 일 실시예에 따른 M2M 시스템 구성도를 보다 구체적으로 도시한 도면이다.
도 3은 M2M 시스템에서 요청 메시지 전송과 이에 따른 응답 정보를 수신하는 절차를 예시적으로 도시한 도면이다.
도 4는 일 실시예에 따른 공통 서비스 개체의 기능적 구조를 도시한 도면이다.
도 5는 일 실시예에 따른 그룹 자원을 이용한 M2M 장치의 정보 획득 사용예를 설명하기 위한 도면이다.
도 6은 종래 그룹 자원의 구성을 예시적으로 도시한 도면이다.
도 7 및 도 8은 종래 그룹 자원의 속성정보를 설명하기 위한 도면이다.
도 9는 종래 그룹 자원의 처리 동작 상 발생할 수 있는 문제점을 설명하기 위한 도면이다.
도 10은 일 실시예에 따른 M2M 장치의 그룹 자원 처리 동작을 설명하기 위한 도면이다.
도 11은 다른 실시예에 따른 M2M 장치의 그룹 자원 처리 동작을 설명하기 위한 도면이다.
도 12 및 도 13은 일 실시예에 따른 M2M 장치의 요청 메시지 처리 동작을 설명하기 위한 도면이다.
도 14는 일 실시예에 따른 성공 처리를 지시하는 응답 상태 코드의 종류를 예시적으로 설명하기 위한 도면이다.
도 15는 일 실시예에 따른 실패 처리를 지시하는 응답 상태 코드의 종류를 예시적으로 설명하기 위한 도면이다.
도 16은 일 실시예에 따른 그룹 자원의 구성을 예시적으로 도시한 도면이다.
도 17은 일 실시예에 따른 그룹 자원의 속성정보를 설명하기 위한 도면이다.
도 18은 일 실시예에 따른 그룹 자원의 자원 특정 속성을 설명하기 위한 도면이다.
도 19는 종래 기술에 따른 그룹 자원의 Primitive Content의 문제점을 설명하기 위한 도면이다.
도 20은 일 실시예에 따른 그룹 자원의 Primitive Content를 예시적으로 나타내는 도면이다.
도 21은 일 실시예에 따른 consistencyStrategy 속성정보에 포함되는 값들을 설명하기 위한 도면이다.
도 22는 일 실시예에 따른 M2M 장치를 설명하기 위한 도면이다.
BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a diagram illustrating the M2M system from a high level functional view.
FIG. 2 is a view showing a more detailed structure of the M2M system according to one embodiment.
FIG. 3 is an exemplary diagram illustrating a procedure for transmitting a request message and receiving response information in the M2M system.
FIG. 4 is a diagram illustrating a functional structure of a common service entity according to an embodiment.
FIG. 5 is a view for explaining an example of using information of an M2M device using group resources according to an embodiment.
6 is a diagram exemplarily showing a configuration of a conventional group resource.
FIGS. 7 and 8 are diagrams for explaining attribute information of a conventional group resource.
FIG. 9 is a diagram for explaining a problem that may occur in the conventional group resource processing operation.
10 is a view for explaining a group resource processing operation of the M2M apparatus according to an embodiment.
11 is a view for explaining a group resource processing operation of the M2M apparatus according to another embodiment.
12 and 13 are diagrams for explaining a request message processing operation of the M2M apparatus according to an embodiment.
FIG. 14 is a diagram for explaining a type of a response status code indicating a success process according to an embodiment.
15 is a diagram for explaining a type of a response status code indicating failure processing according to an embodiment.
FIG. 16 is a diagram illustrating a configuration of a group resource according to an exemplary embodiment.
17 is a diagram for explaining attribute information of a group resource according to an embodiment.
18 is a diagram for explaining resource specific attributes of a group resource according to an embodiment.
19 is a view for explaining a problem of primitive content of group resources according to the related art.
20 is a diagram illustrating exemplary primitive content of a group resource according to an exemplary embodiment of the present invention.
FIG. 21 is a view for explaining values included in consistencyStrategy attribute information according to an embodiment.
22 is a view for explaining an M2M device according to an embodiment.

이하, 본 발명의 일부 실시 예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조 부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail with reference to exemplary drawings. It should be noted that, in adding reference numerals to the constituent elements of the drawings, the same constituent elements are denoted by the same reference symbols as possible even if they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In describing the components of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are intended to distinguish the constituent elements from other constituent elements, and the terms do not limit the nature, order or order of the constituent elements. When a component is described as being "connected", "coupled", or "connected" to another component, the component may be directly connected or connected to the other component, Quot; may be "connected," "coupled," or "connected. &Quot;

본 발명의 실시예들은 사물 통신을 중심으로 설명한다. 사물 통신은 M2M(Machine to Machine communication), MTC(Machine Type Communication), IoT(Internet of Things), 스마트 장치 통신(Smart Device Communication, SDC), 또는 사물 지향 통신(Machine Oriented Communication) 등으로 다양하게 불려질 수 있다. 최근 oneM2M에서 사물통신과 관련된 많은 기술적 사항을 제시하고 있다. 사물 통신은 사람이 통신 과정에 개입하지 않고 통신이 이루어지는 다양한 통신을 지칭한다. 사물 통신은 에너지(energy) 분야, 엔터프라이즈(enterprise) 분야, 헬스케어(Healthcare) 분야, 공공 서비스(Public Services) 분야, 주거(Residential) 분야, 소매(Retail) 분야, 운송(Transportation)분야, 그리고 기타 분야 등으로 나뉘어진다. 본 발명은 상기 분야를 포함하며, 그 외의 분야에도 적용 가능하다.Embodiments of the present invention will be described with reference to object communication. Object communication is variously called M2M (Machine to Machine communication), MTC (Machine Type Communication), IoT (Internet of Things), Smart Device Communication (SDC), or Machine Oriented Communication . OneM2M has recently introduced many technical issues related to object communication. Object communication refers to various communication in which communication is performed without a person intervening in the communication process. In the field of telecommunication, there are various fields such as energy field, enterprise field, healthcare field, public service field, residential field, retail field, transportation field, and others Field, and so on. The present invention includes the above-mentioned fields, and is applicable to other fields.

도 1은 일 실시예에 따른 M2M 시스템을 상위 레벨의 기능적 관점에서 도시한 도면이다. 1 is a diagram illustrating a high-level functional view of an M2M system according to an embodiment.

애플리케이션 개체(Application Entity, AE)(110)는 종단간(end-to-end) M2M 솔루션을 위한 응용 서비스 로직을 제공한다. 일 예로 차량 등의 집단적인 추적 애플리케이션(fleet tracking application), 원격 혈당 감시 애플리케이션(remote blood sugar monitoring application), 또는 원격 전력 검침과 제어 애플리케이션(remote power metering and controlling application) 등이 될 수 있다. An application entity (AE) 110 provides application service logic for an end-to-end M2M solution. For example, a fleet tracking application such as a vehicle, a remote blood sugar monitoring application, or a remote power metering and controlling application.

공통 서비스 개체(Common Services Entity, CSE)(120)는 에너지(energy) 분야, 엔터프라이즈(enterprise) 분야, 헬스케어(Healthcare) 분야, 공공 서비스(Public Services) 분야, 주거(Residential) 분야, 소매(Retail) 분야, 운송(Transportation)분야, 그리고 기타 분야 등에서 공통적으로 필요한 집합적인 서비스 기능이다.The Common Services Entity (CSE) 120 may be used for various services such as an energy field, an enterprise field, a healthcare field, a public service field, a residential field, ), Transportation (transportation), and other fields.

이러한 서비스 기능은 참조점(Reference Points) Mca, Mcc를 통해 다른 기능으로 드러나며, 참조점 Mcn를 이용하여 기반 네트워크 서비스를 이용한다. 공통 서비스 개체의 일 예로는 데이터 관리(Data Management), 디바이스 관리(Device Management), M2M 구독 관리(M2M Subscription Management), 위치 서비스(Location Service) 등이 될 수 있다. CSE에 의해 제공되는 서브기능(subfunction)은 논리적으로 CSF(Common service function)으로 이해될 수 있다. oneM2M 노드의 CSE내에 CSF 중 일부는 필수적(mandatory)이 되며 일부는 선택적(optional)이 될 수 있다. 마찬가지로 CSF 내의 서브기능들 역시 필수적 또는 선택적이 될 수 있다. This service function is exposed as a different function through reference points Mca, Mcc, and uses the base network service using the reference point Mcn. One example of the common service entity may be data management, device management, M2M subscription management, location service, and the like. The subfunctions provided by the CSE can be logically understood as a CSF (Common Service Function). Some of the CSFs within the CSE of oneM2M node are mandatory and some may be optional. Similarly, the subfunctions in the CSF may also be mandatory or optional.

기반 네트워크 서비스 기능(Underlying Network Services Function, NSF)(130)은 공통 서비스 개체에게 서비스를 제공한다. 서비스의 예로는 디바이스 관리, 위치 서비스(location services)와 디바이스 트리거링(device triggering)을 포함한다. An underlying network services function (NSF) 130 provides services to the common service entity. Examples of services include device management, location services and device triggering.

참조점(Reference Points)은 공통 서비스 개체(CSE)에서 지원되는 것으로 Mca 참조점은 애플리케이션 개체와 공통 서비스 개체 간의 사물통신을 제공하기 위한 참조점이다. Mcc 참조점은 두 공통 서비스 개체 간의 통신 사물통신을 제공하기 위한 참조점이다. Mcn 참조점은 공통 서비스 개체와 하나의 네트워크 서비스 개체간의 사물통신을 제공하기 위한 참조점이다.Reference Points are supported in a common service entity (CSE), and the Mca reference point is a reference point for providing object communication between an application entity and a common service entity. The Mcc reference point is a reference point for providing communications between the two common service entities. The Mcn reference point is a reference point for providing object communication between a common service entity and one network service entity.

보다 상세히, Mca 참조점은 하나의 애플리케이션 개체(AE)가 공통 서비스 개체에 의해 지원되는 서비스를 사용할 수 있도록 한다. Mca 참조점을 통해 제공되는 서비스들은 공통 서비스 개체가 제공하는 기능에 의존적이며, 애플리케이션 개체와 공통 서비스 개체는 동일한 물리적 개체에 존재하거나 다른 물리적 개체에 따로 존재할 수 있다. Mcc 참조점은 필요한 기능을 제공하는 다른 공통 서비스 개체의 서비스를 사용하고자 하는 공통 서비스 개체에게 그러한 사용을 가능하게 한다. Mcc 참조점을 통해 제공되는 서비스들은 공통 서비스 개체가 제공하는 기능에 의존적이다. Mcc 참조점은 서로 다른 M2M 노드 간에 지원될 수 있다. Mcn 참조점은 필요한 기능을 제공하는 기반 네트워크의 서비스 개체를 사용하고자 하는 공통 서비스 개체에게 그러한 사용을 가능하게 하며, 이는 전송과 연결 이외의 서비스를 제공한다. Mcn 참조점의 인스턴스(instance)는 기반 네트워크에서 제공되는 서비스에 의존적으로 구현된다. 두 개의 물리적 M2M 노드 간의 정보 교환은 기본 서비스를 제공하는 기반 네트워크의 전송(transport) 및 연결(connectivity) 서비스를 사용할 수 있다.More specifically, the Mca reference point allows one application entity (AE) to use the services supported by the common service entity. The services provided through the Mca reference point are dependent on the functionality provided by the common service entity, and the application entity and the common service entity may reside in the same physical entity or in different physical entities. The Mcc reference point enables such use by a common service entity that wishes to use the services of other common service entities that provide the necessary functionality. The services provided through the Mcc reference point are dependent on the functionality provided by the common service entity. Mcc reference points can be supported between different M2M nodes. The Mcn reference point enables such use by a common service entity that wishes to use the service object of the underlying network providing the necessary functionality, which provides services other than transport and connection. The instance of the Mcn reference point is implemented dependent on the service provided in the underlying network. Information exchange between two physical M2M nodes can use the transport and connectivity services of the underlying network to provide basic services.

본 명세서에서는 공통 서비스 개체를 CSE로 기재할 수 있으며, 네트워크 서비스 개체를 NSE (Network Service Entity)로 기재할 수 있다. 또한, 본 명세서에서의 M2M 장치는 CSE 또는 AE를 의미하거나, CSE 또는 AE를 포함하는 장치를 의미하며, M2M 시스템을 구성하는 디바이스 또는 단말을 의미한다. In this specification, a common service entity can be described as a CSE, and a network service entity can be described as a network service entity (NSE). In this specification, the M2M device means CSE or AE, means a device including CSE or AE, and means a device or terminal constituting the M2M system.

도 2는 일 실시예에 따른 M2M 시스템 구성도를 보다 구체적으로 도시한 도면이다. FIG. 2 is a view showing a more detailed structure of the M2M system according to one embodiment.

도 2를 참조하면, 기반노드(Infrastructure Node, 250)는 M2M 통신을 제공하는데 필수적인 서버 기능을 수행한다. 기반노드(250)는 기반노드 응용개체(AE, 252)와 기반노드 공통서비스개체(CSE, 254)로 구성된다. 기반노드 공통서비스 개체(254)는 다양한 자원을 이용하여 구성된다. 252와 254는 Mca 참조점을 통하여 구분하고, 사물통신에 필요한 메시지, 특히 스케줄러 자원의 생성 (create), 삭제 (delete), 갱신 (update), 조회 (retrieve), 통지 (notify)하기 위한 요청메시지와 응답메시지의 구성과 처리에 사용한다.Referring to FIG. 2, an infrastructure node 250 performs a server function necessary to provide M2M communication. The originating node 250 is comprised of an originating node application entity (AE) 252 and an originating node common service entity (CSE) 254. Based node common service entity 254 is configured using various resources. 252 and 254 are divided through an Mca reference point and a message for communication of objects, particularly a request message for creating, deleting, updating, retrieving, and notifying the scheduler resource And for constructing and processing response messages.

중계노드(200)는 응용서비스노드(220)와 기반노드(250)의 M2M 통신 또는 Internet of Things, 사물통신 기능을 중계한다. 중계노드(200)는 중계노드 응용개체(202)와 중계노드 공통서비스개체(204)로 구성된다. 중계노드 공통서비스개체 (204)는 다양한 자원을 이용하여 구성된다. 202와 204는 Mca 참조점을 통하여 구분하며, 254와 204는 Mcc참조점을 이용하여 구분하고, 사물통신에 필요한 메시지, 특히 스케줄러 자원의 생성 (create), 삭제 (delete), 갱신 (update), 조회(retrieve), 통지 (notify)하기 위한 요청메시지와 응답메시지의 구성과 처리에 사용한다.The relay node 200 relays the M2M communication or the Internet of Things communication between the application service node 220 and the base node 250. The relay node 200 includes a relay node application entity 202 and a relay node common service entity 204. The relay node common service entity 204 is configured using various resources. 202 and 204 are divided through Mca reference points and 254 and 204 are classified using Mcc reference points and messages necessary for object communication, in particular, create, delete, update, Used to construct and process request and response messages to retrieve and notify.

응용서비스노드(210)는 응용개체(212)와 중계노드 공통서비스개체(214)로 구성할 수 있다. 응용개체(212)는 기기의 목적상 요구되는 응용 기능을 처리한다. 응용서비스노드(210)의 공통서비스개체(214)는 다양한 자원을 이용하여 구성한다. 212와 214는 Mca 참조점을 통하여 구분하며, 214와 254는 Mcc참조점을 이용하여 구분하고, 사물통신에 필요한 메시지, 특히 스케줄러 자원의 생성(create), 삭제 (delete), 갱신 (update), 조회 (retrieve), 통지 (notify)하기 위한 요청메시지와 응답 메시지의 구성과 처리에 사용한다. 한편, 응용서비스노드(220)는 중계노드(200)를 통하여 기반노드(250)와 사물통신 기능을 수행할 수도 있다. 210과 220의 차이점은 노드를 구성하는 통신 인터페이스가 다른 것이 특징이다. 예를 들어, 220은 블루투스, ZigBee, Zwave, WiFi등의 초근거리 통신이 가능한 인터페이스를 이용하여 200을 통하여 100과 통신한다. 이에 반해, 210은 3G, LTE, 5G, Ethernet, Gigabit Ethernet, ADSL등의 통신 인터페이스를 이용하여 250과 통신한다.The application service node 210 may include an application entity 212 and a relay node common service entity 214. The application entity 212 processes the application functions required for the purpose of the device. The common service entity 214 of the application service node 210 is configured using various resources. 212 and 214 are divided through Mca reference points and 214 and 254 are classified using Mcc reference points and messages necessary for object communication, in particular, create, delete, update, Used to construct and process request and response messages to retrieve and notify. Meanwhile, the application service node 220 may perform the object communication function with the base node 250 through the relay node 200. The difference between 210 and 220 is that the communication interfaces constituting the node are different. For example, the 220 communicates with 200 through 200 using an interface capable of a near-field communication such as Bluetooth, ZigBee, Zwave, and WiFi. On the other hand, the 210 communicates with 250 using a communication interface such as 3G, LTE, 5G, Ethernet, Gigabit Ethernet, ADSL and the like.

응용전용노드(230, 240)는 공통서비스개체를 가지지 않고, 응용개체(242)만을 가지고 사물통신을 하는 경우를 대상으로 한다. 230은 3G, LTE, Ethernet, Gigabit Ethernet, ADSL등의 통신 인터페이스를 이용하여 250과 통신하는 경우이고, 240은 블루투스, ZigBee, Zwave, WiFi등의 초근거리 통신이 가능한 인터페이스를 이용하여 200을 통하여 250과 통신한다.The application dedicated nodes 230 and 240 do not have a common service entity but do object communication using only the application entity 242. [ 230 is used to communicate with 250 using a communication interface such as 3G, LTE, Ethernet, Gigabit Ethernet, ADSL and the like, and 240 is used to communicate with 250 through 200 using an interface capable of Bluetooth communication, ZigBee, Zwave, WiFi, Lt; / RTI >

도 2에서 설명한 바와 같이, M2M 시스템은 기반노드, 중계노드, 응용 서비스 노드 및 응용전용 노드 중 적어도 하나 이상의 노드로 구성될 수 있으며, 각 노드는 CSE 또는 AE를 포함하여 구성될 수 있다. CSE와 AE는 각각의 참조점을 통해서 타 CSE 또는 AE와 통신을 수행할 수 있다. As described in FIG. 2, the M2M system may be configured as at least one of an infrastructure node, a relay node, an application service node, and an application dedicated node, and each node may be configured to include a CSE or an AE. CSE and AE can communicate with other CSEs or AEs through their respective reference points.

도 3을 참조하면, 발신자(Originator, 300)는 요청 메시지를 수신자(Receiver, 310)로 전송한다(S320). 발신자(300)와 수신자(310)는 각각 M2M 장치일 수 있으며, 전술한 바와 같이 CSE 또는 AE일 수 있다. 또한, 발신자(300)와 수신자(310)는 CSE 또는 AE를 포함하는 노드 또는 서버 또는 장치일 수 있다.Referring to FIG. 3, the originator 300 transmits a request message to a receiver 310 (S320). The sender 300 and the receiver 310 may each be an M2M device and may be CSE or AE as described above. Also, the sender 300 and the recipient 310 may be nodes or servers or devices, including CSE or AE.

요청 메시지는 하나 이상의 파라미터를 포함할 수 있다. 예를 들어, 요청 메시지에는 필수적인 파라미터와 선택적인 파라미터가 포함될 수 있다. 예를 들어, 송신 (From) 측 파라미터, 수신측 (To) 파라미터, 요청 식별 정보 (Request Identifier) 파라미터 및 동작 (Operation) 파라미터는 필수적인 파라미터로 포함된다. From 파라미터는 메시지를 전송하는 발신자에 대한 정보를 포함하고, To 파라미터는 메시지를 수신하는 수신자에 대한 정보를 포함한다. Request Identifier 파라미터는 해당 요청 메시지를 식별하기 위한 유일한 식별 정보를 포함한다. 또한, Operation 파라미터는 요청 메시지에서 요청하는 동작을 구분하기 위한 정보를 포함한다. 동작 파라미터는 생성(Create), 조회(Retrieve), 갱신(Update), 삭제(Delete), 통지(Notify) 중 어느 하나로 설정될 수 있다. 또한, 요청 메시지의 다양한 동작을 제어하기 위하여 선택적인 파라미터를 부가할 수 있다. 예를 들어 응답 유형 (Response Type)의 선택적인 파라미터는 수신자의 처리 방식을 블록킹 (blockingRequest) 방식, 동기화된 넌블럭킹 (nonBlockingRequestSynch) 방식, 비동기화된 넌블럭킹 (nonBlockingRequestAsynch) 방식, 수신자 맞춤형 (flexBlocking) 방식으로 지정할 수 있다.The request message may include one or more parameters. For example, the request message may include mandatory and optional parameters. For example, the From side parameter, the To parameter, the Request Identifier parameter and the Operation parameter are included as mandatory parameters. The From parameter includes information about the sender sending the message, and the To parameter includes information about the recipient receiving the message. The Request Identifier parameter contains unique identification information for identifying the request message. In addition, the operation parameter includes information for distinguishing the requested operation from the request message. The operation parameter may be set to one of Create, Retrieve, Update, Delete, and Notify. In addition, optional parameters may be added to control various operations of the request message. For example, the optional parameters of the response type include a blocking processing method, a non-blocking blocking request method, a non-blocking blocking method, a non-blocking blocking method, a flexBlocking method, .

수신자(310)는 요청 메시지가 수신되면, 해당 요청 메시지를 처리하기 위한 동작을 수행한다(S330). 예를 들어, 수신자(310)는 요청메시지(Request Message)를 송신한 발신자(300)가 해당 요청에 대한 권한을 가지고 있는지를 확인할 수 있다. 발신자(300)가 요청에 대한 권한을 가지고 있다고 판단되는 경우, 요청의 대상이 되는 리소스(requested resource)의 존재 여부를 확인한 후 요청 메시지를 처리한다. 또는, 수신자(310)는 요청 메시지의 동작 파라미터에 따라 해당하는 동작을 수행할 수 있다. 예를 들어, 동작 파라미터가 생성으로 설정되고, 특정 데이터의 변경, 추가, 삭제 등이 발생할 경우에 이를 발신자(300)측으로 알려주도록 지시하는 구독 기능이 설정되는 경우에 수신자(310)는 구독 정보를 생성하고, 해당 구독 정보에 해당하는 데이터에 변경, 추가, 삭제 등의 이벤트가 발생하는 경우에 이를 발신자(300) 측으로 통지할 수 있다. When the request message is received, the receiver 310 performs an operation for processing the request message (S330). For example, the receiver 310 can check whether the sender 300 having transmitted the request message has the right to the request. When it is determined that the sender 300 has the authority for the request, the request message is processed after confirming whether the requested resource exists. Alternatively, the receiver 310 may perform a corresponding operation according to the operation parameter of the request message. For example, when an operation parameter is set to be generated and a subscription function for instructing the sender 300 to inform the sender 300 of a change, addition, deletion, or the like of specific data occurs, the receiver 310 transmits the subscription information And notifies the sender 300 of the occurrence of an event such as change, addition, deletion, etc. in the data corresponding to the subscription information.

수신자(310)는 요청 동작에 따른 처리 결과 정보를 생성하여 이를 응답메시지에 포함하여 발신자(300)로 전송한다(S340). S340 단계는 S330 단계 이전에 수행될 수도 있다. 즉, 수신자(310)는 요청 메시지를 수신하면, 이에 대한 단순 수신을 나타내는 ACK 응답 메시지를 생성하여 발신자(300)측으로 전송하고, 이후 S330 단계를 수행하여 요청 메시지를 처리할 수도 있다.The receiver 310 generates processing result information according to the request operation and includes it in a response message and transmits it to the sender 300 (S340). The step S340 may be performed before the step S330. That is, when the receiver 310 receives the request message, it generates an ACK response message indicating simple reception of the ACK response message, and transmits the ACK response message to the sender 300, and then performs a step S330 to process the request message.

도 4는 본 발명의 일 실시예에 의한 공통 서비스 개체를 구성하는 도면이다. 도 4에서는 식별 정보의 처리 기능을 포함한다.4 is a diagram illustrating a common service entity according to an exemplary embodiment of the present invention. Fig. 4 includes a function of processing identification information.

공통 서비스 개체가 제공하는 기능을 도 4와 같이 정리하면 식별(Addressing & Identification), 애플리케이션/서비스 계층 관리(Application and Service Layer Management), 데이터 관리 및 저장(Data Management & Repository), 위치(Location), 보안(Security), 통신 관리/전달 핸들링(Communication Management / Delivery Handling), 등록(Registration), 서비스 세션 관리(Service Session Management), 디바이스 관리(Device Management), 구독/알림(Subscription/Notification), 연결 관리(Connectivity Management), 탐색(Discovery), 서비스 과금/정산(Service Charging/Accounting), 네트워크 서비스 표출/서비스 실행 및 트리거링(Network Service Exposure / Service execution and triggering ), 그룹 관리(Group Management) 등이 있다. The functions provided by the common service object can be summarized as shown in FIG. 4, and can be classified into Addressing & Identification, Application and Service Layer Management, Data Management & Repository, Location, Security, Communication Management / Delivery Handling, Registration, Service Session Management, Device Management, Subscription / Notification, Connection Management Service Charging / Accounting, Network Service Exposure / Service Execution and Triggering, Group Management, and so on.

각각의 기능에 대해 살펴보면 다음과 같다.Each of the functions will be described as follows.

ASM(Application and Service Layer Management)는 ADN, ASN, MN, IN의 AE와 CSE를 관리하는 것을 담당하며, 이는 CSE의 설정(configure), 장애처리(troubleshoot), 업그레이드 기능과 AE의 업그레이드를 포함한다.Application and Service Layer Management (ASM) is responsible for managing AEs and CSEs for ADN, ASN, MN, and IN, including configuration, troubleshoot, upgrading, and upgrading of AEs. .

CMDH(Communication Management and Delivery Handling)는 다른 CSE, AE, NSE간의 통신을 책임진다. CMDH는 어느 시각에 어떤 통신 연결을 이용하여 통신을 전달할 것인지(CSE-CSE간 통신), 언제 필요하고 언제 허가되는지, 그리고 통신의 전달이 이후로 미루어질 때 통신 요청을 저장하는 것을 책임진다. CMDH는 통신에 대한 각 요청에 특화된 프로비전된 정책과 전달 핸들링 파라미터에 따라 수행된다. 기반 네트워크 데이터 전송 서비스를 이용한 통신에서 기반 네트워크는 동일한 전달 핸들링 기능을 지원할 수 있다. 이 경우 CMDH는 기반 네트워크를 사용할 수 있으며, 기반 네트워크에 동일한 전달 핸들링 기능을 액세스하는 프런트엔드로 동작할 수 있다.Communication Management and Delivery Handling (CMDH) is responsible for communication between other CSEs, AEs, and NSEs. CMDH is responsible for storing the communication requests at which time to communicate using which communication connection (CSE-CSE communication), when it is needed and when it is allowed, and when the transmission of the communication is postponed. CMDH is performed according to the provisioning policy and delivery handling parameters specific to each request for communication. Based network data transmission service, the underlying network can support the same forwarding handling function. In this case, the CMDH can use the underlying network and can act as a front end accessing the same forwarding handling function to the underlying network.

DMR(Data Management and Repository)은 M2M 애플리케이션이 다른 개체와 데이터를 교환할 수 있도록 한다. DMR CSF는 데이터 저장 공간을 제공하고 이를 조정하는 기능을 제공한다. 또한 대량의 데이터를 수집하고 결합하거나, 데이터를 특정한 포맷으로 변환하거나, 또는 데이터를 분석하고 의미를 처리하기 위해 저장하는 기능을 포함한다. "데이터"라는 것은 M2M 디바이스로부터 투명하게 추출되는 가공되지 않은 원시 데이터(raw data)를 의미하거나 M2M 개체에 의해 계산 또는 결합되어 처리된 데이터를 의미할 수 있다. 대량의 데이터를 수집하는 것은 빅데이터 저장 기능으로 알려진 것을 구성한다.Data Management and Repository (DMR) allows M2M applications to exchange data with other objects. The DMR CSF provides the ability to provide and coordinate data storage. It also includes the ability to collect and combine large amounts of data, convert data to a specific format, or store data for analysis and semantic processing. "Data" means raw raw data that is transparently extracted from an M2M device, or may refer to data processed or combined and processed by an M2M entity. Collecting large amounts of data constitutes what is known as Big Data Storage.

DMG(Device Management) CSF는 MN과 디바이스 노드 및 M2M 국부통신망에 있는 디바이스들의 디바이스 기능의 관리를 담당한다. 다음의 기능을 하나 이상 제공하는 디바이스 관리를 가능하게 한다. 애플리케이션 소프트웨어의 설치 및 세팅, 설정 세팅 및 프로비저닝, 펌웨어 업데이트, 로깅과 모니터링과 분석, 국부통신망의 토폴로지 관리, 그리고 국부통신망 관리 내의 디바이스를 포함한다. DMG (Device Management) The CSF is responsible for managing the device functions of devices in the MN, device nodes, and M2M local network. It enables device management to provide one or more of the following functions: Installation and configuration of application software, configuration settings and provisioning, firmware update, logging and monitoring and analysis, topology management of local networks, and devices in local network management.

DIS(탐색) CSF는 주어진 범위와 주제 내에서 허락된 권한(M2M 서비스 구독에서 허락된 것을 포함)과 주어진 범위 내에서 발신자(Originator)의 요청에 해당하는 정보와 리소스를 검색하는 것을 책임진다. 발신자는 애플리케이션 또는 다른 CSE가 될 수 있다. 검색의 범위는 하나의 CSE가 되거나 다수의 CSE가 될 수 있다. 탐색 결과는 발신자에게 전달된다.The DIS (Search) CSF is responsible for retrieving information and resources granted in the given scope and subject (including those allowed in the M2M service subscription) and within the given scope for the Originator's request. The sender can be an application or another CSE. The scope of the search may be one CSE or multiple CSEs. The search results are delivered to the caller.

GMG(Group Management)는 요청과 관련된 그룹을 핸들링한다. 요청은 그룹과 그룹의 멤버십의 관리를 위해 전송되며 또한 그룹에 의해 지원되는 벌크 오퍼레이션도 담당한다. 그룹에 멤버를 추가 또는 삭제할 경우, 멤버가 그룹의 목적에 순응하는지를 확인할 필요가 있다. 벌크 오퍼레이션은 읽기, 쓰기, 구독하기, 알리기, 디바이스 관리 등을 포함한다. 요청 또는 구독은 그룹을 통하여 이루어지고, 그룹이 이러한 요청과 알림을 결합하는 것을 책임진다. 그룹의 멤버는 리소스에 대한 접근 권한에 대해 동일한 역할을 가진다. 이 경우, 접근 제어는 그룹에 의해 이루어진다. 기반 네트워크가 브로드캐스팅과 멀티캐스팅 기능을 제공할 경우, GMG CSF는 이러한 기능을 이용해야 한다.Group Management (GMG) handles the group associated with the request. Requests are sent for the management of group and group membership, and are also responsible for the bulk operations supported by the group. When adding or deleting members to a group, you need to make sure that the members conform to the purpose of the group. Bulk operations include read, write, subscribe, notify, and device management. The request or subscription is made through the group, and the group is responsible for combining these requests and notifications. Members of a group have the same role in access rights to resources. In this case, access control is done by the group. If the underlying network provides broadcasting and multicasting capabilities, the GMG CSF should use these functions.

LOC(Location) CSF는 위치 기반 서비스를 위해 M2M 노드(예를 들어 ASN, MN)의 지리적 위치 정보를 M2M AE가 습득할 수 있도록 한다. 동일한 또는 상이한 M2M 노드 내에 존재하는 M2M AE로부터 이러한 위치 정보가 요청될 수 있다. LOC (Location) The CSF enables the M2M AE to acquire the geographical location information of M2M nodes (eg ASN, MN) for location based services. This location information may be requested from an M2M AE that is in the same or a different M2M node.

NSE(Network Service Exposure) CSF는 M2M 애플리케이션을 대신하여 M2M 시스템으로부터의 서비스 요청에 대한 사용 가능하거나 지원 가능한 방식을 Mcn 참조점을 통하여 네트워크 서비스 기능을 액세스 하기 위해 기반 네트워크와의 통신을 관리한다. NSE CSF는 다른 CSF와 AF를 기반 네트워크에서 지원되는 특정한 기술과 메커니즘으로부터 은폐한다. 기반 네트워크로부터 제공되는 네트워크 서비스 기능은 디바이스 트리거링, 스몰 데이터 전송, 위치 알림, 폴리시 룰 셋팅, 위치 질의, IMS 서비스, 디바이스 관리 등을 포함하지만 이에 한정되지는 않는다. 이러한 기능들은 일반적인 전송 서비스를 포함하지 않는다 NSE (Network Service Exposure) The CSF manages communication with the underlying network to access network service functions through the Mcn reference point on an available or supportable way for service requests from the M2M system on behalf of the M2M application. The NSE CSF conceals other CSFs and AFs from specific technologies and mechanisms supported in the underlying network. The network service functions provided from the underlying network include, but are not limited to, device triggering, small data transfer, location notification, policy rule setting, location query, IMS service, device management and the like. These functions do not include common transport services

REG(Registration)는 애플리케이션 또는 다른 CSE가 CSE에 등록하도록 핸들링하는 것을 담당하는데, 이는 CSE에서 제공되는 서비스를 사용하려는 개체의 등록을 허락하기 위함이다. REG CSF는 CSE에 대한 디바이스의 등록 뿐만 아니라 디바이스의 특성/속성의 등록도 핸들링한다.REG (Registration) is responsible for handling applications or other CSEs to register with the CSE, which allows the registration of entities that want to use the services provided by the CSE. The REG CSF handles not only device registration for the CSE, but also device property / attribute registration.

SEC(Security)는 주의를 요하는 민감한 데이터 핸들링 기능, 보안 운영 기능, 보안 결합 설정 기능, 권한 부여와 액세스 제어 기능, 식별 보호 기능을 제공한다. SEC CSF가 제공하는 민감한 데이터 핸들링 기능은 저장과 조작 과정에서 보안이 필요한 로컬 크리덴셜을 보호하는 기능을 제공한다. 민감한 데이터 핸들링 기능 역시 보안 알고리즘을 사용한다. 이 기능은 다양한 암호기법이 분리된 보안 환경을 지원한다. 보안 운영 기능은 다음의 기능을 제공하는데, 먼저 민감한 데이터 핸들링 기능에 의해 지원되도록 전용된 보안 환경의 생성과 운영 기능을 제공한다. 또한 보안 환경에서 보호되는 루트 크리덴셜의 포스트 프로비저닝을 지원하며, M2M 서비스와 M2M 애플리케이션 서비스와 관련된 구독의 프로비저닝과 운영을 지원한다. 보안 결합 설정 기능은 M2M 노드들 간의 보안 결합을 설정하여 기밀성, 통합성, 인증, 권한 부여가 가능하도록 한다. 권한 부여와 액세스 제어 기능은 프로비전된 보안 정책과 할당된 롤에 따라 권한 부여된 개체로의 서비스와 데이터 접근을 제어한다. 개체의 유일한 식별자가 권한 부여에 사용되며, 식별 보호 기능은 개체 또는 사용자와 결합된 실제 식별 정보와 링크되지 않도록 임시의 식별자로 기능하는 익명을 제공할 수 있다.SEC (Security) provides sensitive data handling, security operation, security association setting, authorization and access control, and identification protection. The sensitive data handling functionality provided by the SEC CSF provides the ability to protect local credentials that require security during storage and manipulation. Sensitive data handling also uses security algorithms. This feature supports separate security environments with different cryptographic techniques. The security operations function provides the following functions, first providing the creation and operation functions of a dedicated security environment to be supported by sensitive data handling functions. It also supports post provisioning of root credentials protected in a secure environment and supports the provisioning and operation of subscriptions related to M2M services and M2M application services. The security association setting function establishes a security association between M2M nodes to enable confidentiality, integrity, authentication, and authorization. Authorization and access control functions control the access of services and data to authorized entities according to the provisioned security policies and assigned roles. The unique identifier of the entity is used for authorization, and the identity protection function can provide anonymity that serves as a temporary identifier so that it is not linked to the actual identity information associated with the entity or user.

SCA(Service Charging and Accounting)는 서비스 계층의 과금 기능을 제공한다. 온라인 과금과 오프라인 과금을 포함하는 상이한 과금 모델들을 지원한다. SCA CSF는 과금 가능한 이벤트를 확보하고, 정보를 저장하며, 과금 기록과 과금 정보를 생성한다. SCA CSF는 기반 네트워크의 과금 시스템과 상호작용 할 수 있다. 그러나 SCA CSF는 최종 서비스 레벨의 과금 정보를 생성하고 기록할 책임을 가진다. 기반 노드 또는 서비스 계층 과금 서버의 SCA CSF는 과금을 위한 과금 정보를 핸들링하는 것을 책임진다.Service Charging and Accounting (SCA) provides billing for the service layer. Supports different billing models, including online and offline billing. The SCA CSF acquires billable events, stores information, and generates billing records and billing information. The SCA CSF can interact with the billing system of the underlying network. However, the SCA CSF is responsible for generating and recording billing information at the final service level. The SCA CSF of the base node or service layer charging server is responsible for handling billing information for billing.

SSM(Service Session Management) CSF는 단대단 서비스 계층 연결인 M2M 서비스 세션을 관리한다. SSM CSF는 M2M 애플리케이션들 간의, 또는 M2M 애플리케이션과 CSE 간의, 또는 CSE들 간의 M2M 서비스 세션을 관리한다. M2M 서비스 세션의 관리는 세션 상태의 관리, 세션 인증과 설립, 세션과 관련된 기반 네트워크 연결 및 서비스의 관리, CSE의 멀티 홉인 cse의 세션 확장의 조정, 세션 종단간의 정보의 교환, 그리고 세션의 종료를 포함한다. 주어진 M2M 서비스 세션내에서 다음 홉의 CSE 또는 애플리케이션으로/부터의 메시지 송수신을 위해 SSM CSF는 로컬 CSE 내의 CMDH CSF를 이용한다. SSM CSF는 세션 참가자의 보안 크리덴셜과 인증과 관련된 세션 관리를 위해 SEC CSF를 이용한다. SSM CSF는 세션에 특화된 과금 이벤트를 생성하며 로컬 CSE 내의 SCA CSF와도 통신한다.SSM (Service Session Management) The CSF manages M2M service sessions that are end-to-end service layer connections. The SSM CSF manages M2M service sessions between M2M applications, or between M2M applications and CSEs, or between CSEs. Management of the M2M service session includes management of the session state, establishment and authentication of the session, management of the underlying network connection and service related to the session, coordination of the session expansion of the CSE multi-hop cse, . Within a given M2M service session, the SSM CSF uses the CMDH CSF in the local CSE to send / receive messages to / from the next hop CSE or application. The SSM CSF uses the SEC CSF for session credentials for session participants and for session management related to authentication. The SSM CSF generates session-specific billing events and also communicates with the SCA CSF in the local CSE.

SUB(Subscription and Notification)는 구독을 유지하는 알림을 제공하며, 리소스의 변화(예를 들어 리소스의 삭제)를 추적한다. 리소스의 구독은 M2M AE 또는 CSE에 의해 시작되며, 호스팅 CSE에 의해 접근 권한이 허락된다. 활성화된 구독 중에 호스팅 CSE는 구독된 리소스의 변화가 발생하는 경우 리소스 구독자가 수신하길 원하는 주소로 알림을 전송한다.Subscription and Notification (SUB) provides notifications to maintain subscriptions and tracks changes in resources (for example, deletion of resources). The subscription of the resource is initiated by the M2M AE or CSE and is authorized by the hosting CSE. During an active subscription, the hosting CSE sends a notification to the address that the resource subscriber wants to receive in the event of a change in the subscribed resource.

도 4 및 그에 대한 설명은 공통 서비스 개체를 구현하는 실시예들이며 본 발명이 이에 한정되지는 않는다. 4 and the description thereof are embodiments for implementing a common service entity, and the present invention is not limited thereto.

한편, 본 실시예들에 적용될 수 있는 식별자(identifier)를 살펴보면 다음과 같다. M2M 식별자로는 M2M-SP-ID(M2M Service Provider Identifier), App-Inst-ID(Application Instance Identifier), App-ID(Application Identifier), CSE-ID(CSE Identifier), M2M-Node-ID(M2M Node Identifier/Device Identifier), M2M-Sub-ID(M2M Service Subscription Identifier), M2M-Request-ID(Request Identifier) 등이 있다.An identifier that can be applied to the present embodiments will be described as follows. The M2M identifier includes an M2M Service Provider Identifier (M2M-SP-ID), an App-Inst-ID (Application Instance Identifier), an App-ID (Application Identifier), a CSE-ID (CSE Identifier), an M2M- A Node Identifier / Device Identifier, an M2M Service Subscription Identifier (M2M-Sub-ID), and an M2M-Request-ID (Request Identifier).

oneM2M은 시스템을 구현하기 위해 충족시켜야 할 요구사항으로 전반적인 시스템 요구사항(Overall System Requirements), 관리 요구사항(Management Requirements), 데이터 모델과 의미 요구사항(Data Model & Semantics Requirements), 보안 요구사항(Security Requirements), 과금 요구사항(Charging Requirements), 운영 요구사항(Operational Requirements)을 제시하고 있다.oneM2M is a requirement that must be fulfilled to implement the system. It includes overall system requirements, management requirements, data model & semantics requirements, security requirements Requirements, Charging Requirements, and Operational Requirements.

본 명세서에서는 M2M 시스템 기술, 특히 oneM2M 서비스 플랫폼 기술을 중심으로 설명한다. 그러나 이러한 설명이 M2M 서비스 플랫폼 기술에만 한정되는 것은 아니며, 기기간 통신, 즉 사물 통신을 제공하는 모든 시스템 및 구조와 이들 시스템에서 발생하는 통신 동작에 적용 가능하다.This document focuses on M2M system technology, especially oneM2M service platform technology. However, this description is not limited to the M2M service platform technology, but is applicable to all systems and structures that provide inter-device communication, i.e., object communication, and communication operations occurring in these systems.

또한, 본 명세서에서의 M2M 장치는 전술한 AE, CSE, NSE 등 다양한 노드를 의미하는 명칭으로 기재하여 설명하며, 이해의 편의를 위하여 호스팅 CSE를 중심으로 설명을 진행하나 이에 한정되는 것은 아니다. 즉, M2M 장치는 M2M 시스템을 구성하는 일 구성 장치를 의미하며, 요청 메시지를 수신하여 이에 대한 처리를 수행하고 응답 메시지를 전송하는 다양한 노드, 장치, 개체 등을 의미한다. The M2M device in this specification describes the various nodes such as AE, CSE, NSE, and the like, and for the sake of convenience, the description will be made with reference to the hosting CSE. However, the present invention is not limited thereto. That is, the M2M device refers to a constituent device that constitutes the M2M system, and refers to various nodes, devices, and entities that receive a request message, perform processing thereon, and transmit a response message.

또한, 아래에서 설명하는 멤버는 그룹 자원에 포함되는 AE를 의미할 수 있으며, M2M 장치를 의미할 수 있다. 따라서, 멤버는 그룹 자원의 생성 목적 및 타켓에 따라 다양하게 설정될 수 있으며, 해당 M2M 시스템에 포함되는 다양한 개체가 될 수 있다. In addition, the member described below may mean an AE included in the group resource, and may mean an M2M device. Accordingly, the member can be variously set according to the purpose of generating the group resource and the target, and can be various objects included in the corresponding M2M system.

본 개시는 M2M 시스템에서 그룹 자원을 오류 없이 처리 및 제어하고, 그룹 자원에 포함되는 멤버들의 접속 가능 여부를 사전에 인지하여 사후적으로 발생할 수 있는 오류를 예방하는 것을 목적으로 한다. The present disclosure aims at processing and controlling group resources without error in the M2M system and recognizing whether or not the members included in the group resources can be connected in advance to prevent errors that may occur afterwards.

IoT 또는 M2M 시스템은 유사한 종류의 기기로 구성될 수 있다. 예를 들어, 스마트 미터기를 이용한 M2M 시스템의 경우 다수의 스마트 미터기로부터 획득되는 데이터를 수신할 수 있다. 아울러, M2M 시스템은 M2M 응용 프로그램이 기본 네트워크와 독립적인 방식으로 M2M 응용 프로그램에 의해 지정된 지역의 M2M 장치 및 M2M 게이트웨이 그룹의 M2M 응용 프로그램에 데이터를 전송하도록 요청할 수 있다. The IoT or M2M system may be composed of similar types of equipment. For example, in an M2M system using a smart meter, it is possible to receive data obtained from a plurality of smart meters. In addition, the M2M system can request that the M2M application program transmit data to the M2M application in the M2M application and the M2M application in the M2M gateway group specified by the M2M application in a manner independent of the underlying network.

도 5는 일 실시예에 따른 그룹 자원을 이용한 M2M 장치의 정보 획득 사용예를 설명하기 위한 도면이다. FIG. 5 is a view for explaining an example of using information of an M2M device using group resources according to an embodiment.

도 5를 참조하면, A1, A2의 절차와 같이 데이터 센터(550)가 스마트 미터기(501)로 직접 데이터를 요청하고, 스마트 미터기(501)로부터 센싱된 데이터를 획득할 수 있다. 스마트 미터기(501) 및 데이터 센터(550)는 모두 M2M 시스템을 구성하는 M2M 장치를 의미한다. Referring to FIG. 5, the data center 550 may request data directly from the smart meter 501 and obtain the sensed data from the smart meter 501, such as the procedure of A1, A2. The smart meter 501 and the data center 550 are all M2M devices constituting the M2M system.

또는, B11, B12, B21, B22의 절차와 같이 데이터 센터(550)가 스마트 미터기(501)에 직접 데이터 요청 및 데이터 수신 동작을 수행하지 않고, 데이터 병합 포인트 개체(510)로 데이터를 요청하고 데이터 병합 포인트 개체(510)로부터 데이터를 수신할 수도 있다. 이는 전술한 기본 네트워크와는 독립적으로 구성되는 지역의 M2M 시스템으로부터 데이터를 획득하는 절차에 적용될 수 있다. Alternatively, the data center 550 may request data to the data merge point entity 510 without performing data request and data reception operations directly to the smart meter 501, such as the procedures of B11, B12, B21, And may receive data from the merge point entity 510. This can be applied to a procedure for acquiring data from an M2M system in a region that is configured independently of the basic network described above.

예를 들어, 데이터 병합 포인트 개체(510)는 다수의 스마트 미터기(502, 503, 504)로부터 데이터를 요청, 수집 및 저장할 수 있으며, 데이터 센터(550)의 요청에 의해서 전달 받거나 저장된 데이터를 전송할 수 있다. For example, the data merge point object 510 may request, collect and store data from a plurality of smart meters 502, 503, and 504 and may receive data from the data center 550 at the request of the data center 550, have.

이와 같이, 동일 또는 유사한 종류의 M2M 장치가 다수 존재하는 경우에 개별 M2M 장치에 데이터 센터가 직접 데이터를 요청하는 것과 달리, 데이터를 수집 및 저장하는 M2M 장치(예를 들어, 호스팅 CSE)를 활용하는 것이 효율적일 수 있다.As such, unlike an individual M2M device in which a plurality of M2M devices of the same or a similar type exist, the data center directly requests data, but utilizes an M2M device (e.g., a hosting CSE) to collect and store data It can be efficient.

이를 위해서는 동일 또는 유사한 타입의 데이터를 M2M 장치가 그룹 자원으로 집단적으로 생성 및 관리할 필요가 있다. To do this, it is necessary to collectively create and manage the same or similar type of data as group resources by the M2M device.

따라서, 그룹 자원은 M2M 장치가 필요에 따라 다수의 데이터를 그룹화하여 관리하기 위한 자원으로 그룹 자원은 세부 속성정보 및 부속자원을 포함하여 구성될 수 있다. Accordingly, the group resource is a resource for grouping and managing a plurality of data as needed by the M2M device, and the group resource may be configured to include detailed attribute information and an attached resource.

도 6은 종래 그룹 자원의 구성을 예시적으로 도시한 도면이다. 6 is a diagram exemplarily showing a configuration of a conventional group resource.

도 6을 참조하면, 종래 M2M 시스템에서 M2M 장치는 그룹 자원에 속성정보 및 부속자원을 구성하여 관리하였다. Referring to FIG. 6, in the conventional M2M system, the M2M device manages and manages attribute information and ancillary resources in group resources.

예를 들어, 그룹 자원은 9개의 고유 속성정보와 4개의 부속자원을 포함할 수 있다. 이외에도 그룹 자원은 M2M 시스템에서 개별 자원이 공통적으로 포함하는 보편적인 속성정보, 공통적인 속성정보 및 부속자원 정보를 더 포함할 수 있다.For example, a group resource may contain nine unique attribute information and four attached resources. In addition, the group resource may further include general attribute information, common attribute information, and attached resource information that are commonly included in individual resources in the M2M system.

일 예로, 보편적인 속성정보는 resourceType, resourceID, resourceName, parantID, expirationTime, creationTime, lastModifiedTime로 구성될 수 있다. As an example, universal attribute information may be composed of resourceType, resourceID, resourceName, parantID, expirationTime, creationTime, and lastModifiedTime.

다른 예로, 공통적인 속성정보는 labels, accessControlPolicyIDs, announceTo, announcedAttribute, dynamicAuthorizationConsultationIDs, creator로 구성될 수 있다. In another example, common attribute information may be comprised of labels, accessControlPolicyIDs, announceTo, announcedAttribute, dynamicAuthorizationConsultationIDs, and creator.

또 다른 예로, 그룹 자원 고유 속성정보는 도 6과 같이 memberType, currentNrOfMembers, maxNrOfMembers, memberIDs, membersAccessControlPolicyIDs, memberTypeValidated, consistencyStrategy, groupName, semanticSupportIndicator로 구성될 수 있다. As another example, the group resource unique attribute information may be composed of memberType, currentNrOfMembers, maxNrOfMembers, memberIDs, membersAccessControlPolicyIDs, memberTypeValidated, consistencyStrategy, groupName, and semanticSupportIndicator as shown in FIG.

또 다른 예로, 그룹 자원 부속자원 정보는 <semanticDescriptor>, <subscription>, <fanOutPoint>, <semanticFanOutPoint>로 구성될 수 있다. As another example, the group resource sub resource information may be composed of <semanticDescriptor>, <subscription>, <fanOutPoint>, and <semanticFanOutPoint>.

도 7 및 도 8은 종래 그룹 자원의 속성정보를 설명하기 위한 도면이다. FIGS. 7 and 8 are diagrams for explaining attribute information of a conventional group resource.

종래 그룹 자원의 속성정보는 도 7 및 도 8에 나타난 바와 같이 각각 데이터 형태, 읽기 및 쓰기 권한, 필수적 포함 및 선택적 포함 여부가 결정될 수 있다. 일부 예를 들어 설명하면, 멤버 타입 정보(memberType)는 그룹 내의 각 멤버의 자원 타입이 동일한지 다른지를 나타내는 속성정보이다. 현재 멤버 개수 정보(currentNrOfMembers)는 그룹 내의 멤버의 개수에 대한 정보를 나타내는 속성정보이다. 유사하게 멤버 식별 정보(memberIDs)는 그룹 내에 포함되는 멤버(또는 멤버 자원)에 대한 식별자의 리스트를 나타내는 속성정보이다. 개별적인 속성정보의 의미는 도 7 및 도 8과 OneM2M TS문서 TS-0004 문서를 참조할 수 있다. As shown in FIG. 7 and FIG. 8, the attribute information of the conventional group resource can be determined as a data type, a read and a write right, a mandatory inclusion and an optional inclusion. In some examples, the member type information (memberType) is attribute information indicating whether or not the resource types of the respective members in the group are the same or different. The current member number information (currentNrOfMembers) is attribute information indicating information on the number of members in the group. Similarly, the member identification information memberIDs is attribute information indicating a list of identifiers for the members (or member resources) included in the group. The meaning of the individual attribute information can be referenced in Figs. 7 and 8 and the OneM2M TS document TS-0004 document.

이와 같이, M2M 장치는 데이터를 관리하기 위해서 그룹 자원을 활용할 수 있다. 그룹 자원을 활용하기 위해서는 그룹 자원을 생성하고, 생성된 그룹 자원을 요청 또는 필요에 따라 업데이트할 필요가 있다. 다만, 종래에는 그룹 자원을 생성 또는 업데이트함에 있어서 오류가 발생할 가능성이 존재하는 문제점이 있었다. 또한, 종래에는 그룹 자원을 생성 또는 업데이트하는 과정에서 발생되는 문제점을 저장 및 관리할 수 없어서 이후 그룹 자원을 활용하는데에 문제점이 발생하였다. 구체적으로 문제점을 이하 도 9를 참조하여 설명한다. As such, the M2M device can utilize group resources to manage data. In order to utilize the group resources, it is necessary to create the group resources and update the generated group resources as required or as needed. However, conventionally, there is a possibility that an error may occur in generating or updating a group resource. In addition, in the related art, it is not possible to store and manage problems occurring in the process of creating or updating a group resource. A specific problem will be described with reference to FIG.

이하에서는 그룹 자원의 생성 동작에 대한 처리를 중심으로 설명하나, 업데이트 동작에 대한 처리에도 동일하게 적용될 수 있다. Hereinafter, the process of generating a group resource will be mainly described, but the same process can be applied to a process for an update operation.

도 9는 종래 그룹 자원의 처리 동작 상 발생할 수 있는 문제점을 설명하기 위한 도면이다.  FIG. 9 is a diagram for explaining a problem that may occur in the conventional group resource processing operation.

도 9를 참조하면, M2M 장치는 그룹 자원을 생성을 요청받는 요청 메시지를 수신하면, 그룹 자원에 포함될 멤버 식별정보가 중복되는지 중복성 검사를 수행한다(S900). 검사 결과 중복되는 멤버 식별정보가 있는 경우에는 중복되는 멤버 식별정보를 삭제하고(S905), 중복되는 멤버 식별정보가 없는 경우에는 멤버 개수 정보를 비교한다(S910). Referring to FIG. 9, upon receiving a request message for requesting to generate a group resource, the M2M device performs redundancy checking to determine whether the member identification information to be included in the group resource is duplicated (S900). If there is duplicate member identification information, duplicate member identification information is deleted (S905). If there is no duplicate member identification information, the member number information is compared (S910).

예를 들어, S910 단계에서는 현재 멤버 개수 정보가 최대 멤버 개수 정보 미만인지 판단할 수 있다. 판단결과 현재 멤버 개수 정보가 최대 멤버 개수 정보 이상이면 처리 실패를 지시하는 응답 상태 코드(6010)를 생성하여 발신자에게 응답 메시지를 전송한다(S915). 이와 달리, 현재 멤버 개수 정보가 최대 멤버 개수 정보 미만인 경우에는 멤버 타입 정보를 체크하여 그룹 자원 내의 각 멤버 자원의 타입이 상호 동일한지 다른지를 판단한다(S920). For example, in step S910, it is possible to determine whether the current member count information is less than the maximum member count information. If it is determined that the current member count information is greater than or equal to the maximum member count information, a response status code 6010 indicating a process failure is generated and a response message is transmitted to the caller (S915). If the current member count information is less than the maximum member count information, the member type information is checked to determine whether the types of the member resources in the group resource are the same or not (S920).

S920 단계의 판단 결과에 따라 각 멤버 자원의 타입이 상호 다른 경우에는 모든 멤버 식별정보를 체크한다(S925). 다만, 종래에는 S925 단계 이후에 M2M 장치가 별도의 그룹 자원을 생성을 위한 동작을 수행하지 않음으로써, 그룹 자원이 성공적으로 처리될 수 없는 문제가 있었다. If the type of each member resource is different according to the determination result in step S920, all the member identification information is checked (S925). However, conventionally, there has been a problem that the group resource can not be successfully processed because the M2M device does not perform an operation for generating another group resource after step S925.

이와 달리 S920 단계의 판단 결과에 따라 각 멤버 자원의 타입이 모두 동일한 경우에는 그룹 자원이 가상 자원인지 체크한다(S930). 그룹 자원이 가상자원이 아닌 경우에는 각 멤버 식별정보에 대한 멤버 자원을 조회한다(S945). S945 단계는 필요에 따라 생략될 수 있다. Otherwise, if the type of each member resource is all the same according to the determination result in step S920, it is checked whether the group resource is a virtual resource (S930). If the group resource is not a virtual resource, the member resource for each member identification information is inquired (S945). Step S945 may be omitted as necessary.

이와 달리, 그룹 자원이 가상자원인 경우에는 상위자원에 부속 가상자원의 생성이 허락되는지 체크하고(S940), 허용되는 경우에 S945 단계를 진행한다. 다만, 종래에는 S940 단계에서 가상 자원이 허락되지 않는 경우에 M2M 장치에 대한 별도의 동작이 정의되지 않아서 M2M 장치가 오류를 발생시키는 문제점이 있었다. Alternatively, if the group resource is a virtual resource, it is checked whether generation of the attached virtual resource is permitted to the upper resource (S940), and if yes, the process proceeds to S945. However, conventionally, when the virtual resource is not allowed in step S940, a separate operation for the M2M device is not defined, which causes the M2M device to generate an error.

한편, S945 단계 이후에 해당 M2M 장치가 권한이 있는지 체크하고(S950), 권한이 없으면 처리 실패를 지시하는 응답 상태 코드를 설정하여 응답 메시지를 전송한다(S955). 만약, M2M 장치가 권한이 있는 경우에는 그룹 자원 내에 포함되는 개별 멤버 식별정보에 대한 접속 가능 여부를 체크한다(S960). 그룹 자원 내에 포함될 모든 멤버에 대한 접속이 가능한 것으로 판단되면, memberTypeValidated 속성정보의 값을 TURE로 설정한다(S970). 다만, S970 단계 이후에 M2M 장치의 동작이 명확하게 개시되지 않는 문제점이 있었다. In step S950, it is determined whether the corresponding M2M device is authorized in step S945 or not. If the M2M device is not authorized, a response status code indicating a process failure is set and a response message is transmitted in step S955. If the M2M device is authorized, it is checked whether the individual member identification information included in the group resource can be accessed (S960). If it is determined that access to all members to be included in the group resource is possible, the value of the memberTypeValidated attribute information is set to TURE (S970). However, after step S970, the operation of the M2M device is not clearly disclosed.

M2M 장치는 그룹 자원 내에 포함될 멤버 중 적어도 하나의 멤버에 대한 접속이 불가능한 것으로 판단되면, memberTypeValidated 속성정보의 값을 FALSE로 설정하고(S965), consistencyStrategy 속성정보를 체크한다(S975). consistencyStrategy 속성정보는 3가지 값으로 설정될 수 있으며, 각 설정 값에 따라 S980, S985, S990 단계를 처리할 수 있다. If it is determined that the connection to at least one of the members to be included in the group resource is impossible, the M2M device sets the value of the memberTypeValidated attribute information to FALSE (S965) and checks the consistencyStrategy attribute information (S975). The consistencyStrategy attribute information can be set to three values, and S980, S985, and S990 can be processed according to each set value.

예를 들어, consistencyStrategy 속성정보가 ABANDON_MEMBER로 설정되면, 접속이 불가능한 멤버 식별정보를 제거하고(S980), S970 단계를 수행한다. consistencyStrategy 속성정보가 SET_MIX로 설정되면, 멤버 타입 속성정보를 MIXED로 설정하고(S985), S970 단계를 수행한다. consistencyStrategy 속성정보가 ABANDON_GROUP으로 설정되면, 그룹 자원의 처리 동작을 중단한다(S990). For example, if the consistencyStrategy attribute information is set to ABANDON_MEMBER, the member identification information that can not be connected is deleted (S980), and the step S970 is performed. If the consistencyStrategy attribute information is set to SET_MIX, the member type attribute information is set to MIXED (S985), and step S970 is performed. When the consistencyStrategy attribute information is set to ABANDON_GROUP, the group resource processing operation is interrupted (S990).

여기서, 종래에는 S985 단계의 멤버 타입 정보를 변경 설정하는 경우에 접속 불가능한 멤버에 대한 정보를 별도로 관리하지 않아서, 문제가 있는 멤버를 그룹 자원에 유지시키는 문제점이 있었으며, S990 단계 이후에 발신자에게 처리 결과를 전달 또는 응답 상태 코드를 생성하는 절차가 없어서 발신자는 그룹 자원 처리 요청에 대한 결과를 알지 못하는 문제점이 있었다. Conventionally, in the case of changing and setting the member type information in step S985, there is a problem in that information on members that can not be connected is not separately managed, and there is a problem that the member having a problem is kept in the group resource. In step S990, The sender does not know the result of the group resource processing request because there is no procedure for generating the forwarding or response status code.

즉, 종래에는 memberIDs가 단일 종류인 경우, consistencyStrategy가 SET_MIXED이면 처리하는 절차가 존재하지 않아서 오류가 발생한다. 또한, memberIDs 가 단일 종류 또는 복합적인 경우, 네트워크 접속이 안되는 경우 처리하는 절차가 존재하지 않아서 오류가 발생한다. 또한, consistencyStrategy가 SET_MIXED인 경우, 암묵적으로 처리하여 에러 발생 문제가 발생하였다. In other words, conventionally, when the memberIDs are of a single type, if the consistencyStrategy is SET_MIXED, there is no procedure to process and an error occurs. Also, if the memberIDs are a single type or a complex type, an error occurs because there is no procedure for processing when the network connection is not established. Also, when the consistencyStrategy is SET_MIXED, an error occurs due to the implicit processing.

이와 같이, 종래 그룹 자원 처리 절차에서는 다양한 문제점이 존재하여 오류가 발생하였으며, 접속이 불가능한 멤버가 존재하는지, 어떤 멤버인지 등에 대한 관리가 전혀 이루어지지 않아서 그룹 자원 전체에 대한 제어 동작을 명령하는 경우에 사후적으로 문제가 발생하였다. As described above, in the conventional group resource processing procedure, when there are various problems and an error occurs, and there is no management about whether there is a member that can not be connected, which member is not, and so on, There was a problem afterwards.

이러한 문제점을 해결하기 위해서 안출된 본 개시는 그룹 자원의 처리 동작을 변경 및 보완하여 오류 발생을 방지하고 그룹 자원 내의 멤버에 대한 상황을 명확하게 관리할 수 있는 방법을 제안하고자 한다. In order to solve this problem, the present disclosure is directed to a method for preventing the occurrence of an error by changing and supplementing a processing operation of a group resource and clearly managing the status of members in the group resource.

도 10은 일 실시예에 따른 M2M 장치의 그룹 자원 처리 동작을 설명하기 위한 도면이다. 10 is a view for explaining a group resource processing operation of the M2M apparatus according to an embodiment.

도 10을 참조하면, M2M(Machine to Machine communication) 장치는 그룹 자원을 처리하기 위해서 그룹 자원의 처리 동작을 요청하는 요청 메시지를 수신하는 단계를 수행할 수 있다(S1000). 예를 들어, M2M 장치는 다른 M2M 장치 또는 다른 M2M 시스템의 노드로부터 그룹 자원의 생성 또는 업데이트를 요청하는 요청 메시지를 수신할 수 있다. 도 3을 참조하여 설명한 바와 같이 요청 메시지는 다양한 파라미터를 포함할 수 있다. 또한, 요청 메시지는 그룹 자원 생성에 필요한 파라미터와 속성정보를 포함할 수 있다. Referring to FIG. 10, a Machine to Machine communication (M2M) apparatus may perform a step of receiving a request message requesting a group resource processing operation to process a group resource (S1000). For example, the M2M device may receive a request message requesting the creation or update of group resources from another M2M device or a node of another M2M system. As described with reference to FIG. 3, the request message may include various parameters. In addition, the request message may include parameters and attribute information necessary for generating a group resource.

예를 들어, 요청 메시지는 멤버 타입 정보, 현재 멤버 개수 정보, 최대 멤버 개수 정보, 상기 하나 이상의 멤버 식별정보, 일관성 전략 정보 및 시행 지시 정보 중 적어도 하나의 정보를 포함할 수 있다. For example, the request message may include at least one of member type information, current member count information, maximum member count information, at least one member identification information, consistency strategy information, and execution instruction information.

이후, M2M 장치는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보에 기초하여 각 멤버의 접속 가능 여부를 확인하는 단계를 수행할 수 있다(S1010). M2M 장치는 요청 메시지에 포함되는 파라미터 및 속성정보 등을 이용하여 그룹 자원에 대한 요청된 처리 동작을 수행한다. Then, the M2M device can perform the step of checking whether or not each member can be connected based on the one or more member identification information included in the group resource (S1010). The M2M device performs a requested processing operation on the group resource using parameters and attribute information included in the request message.

예를 들어, M2M 장치는 그룹 자원에 포함될 멤버 각각에 대한 접속 가능 여부를 확인할 수 있다. 접속 가능 여부를 확인을 위해서 M2M 장치는 각 멤버의 멤버 식별정보를 이용하여 해당 멤버 식별정보의 자원에 접속이 가능한지 확인할 수 있다. For example, the M2M device can check whether or not each member to be included in the group resource can be connected. In order to confirm whether or not the connection is possible, the M2M device can confirm whether or not the resource of the corresponding member identification information can be accessed by using the member identification information of each member.

접속 결과에 따라 그룹 자원에 포함될 모든 멤버가 모두 접속이 가능할 수도 있고, 일부 멤버가 네트워크 문제, 멤버 장치의 전력 문제, 멤버 장치의 고장 문제 등 다양한 원인에 의해서 일시적 또는 영구적으로 접속이 불가능할 수도 있다. Depending on the connection result, all the members to be included in the group resource may be accessible, or some members may be temporarily or permanently disconnected due to various reasons such as a network problem, a power problem of the member device, and a failure of the member device.

M2M 장치는 접속 가능 여부 결과 및 요청 메시지에 포함되는 정보 중 적어도 하나에 기초하여 응답 상태 코드 정보를 생성하는 단계를 수행할 수 있다(S1020). M2M 장치는 S1010 단계에서 판단한 결과인 접속 가능 여부 결과에 따라 요청 처리 동작을 수행하고 응답 상태 코드 정보를 생성할 수 있다. The M2M device may perform the step of generating response status code information based on at least one of the connection availability result and the information included in the request message (S1020). The M2M device may perform the request processing operation and generate the response status code information according to the connection availability result that is determined in step S1010.

일 예로, M2M 장치는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 각각에 대해서 모두 접속 가능한 것으로 판단되면, 그룹 자원의 처리 동작 종류에 따라 그룹 자원을 생성 또는 업데이트하고, 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성할 수 있다. 예를 들어, 요청 메시지가 그룹 자원의 생성을 요청하는 경우에 M2M 장치는 해당 그룹 자원에 포함될 멤버 식별정보를 그룹 자원 속성정보에 포함하여 그룹 자원을 생성하고, 요청 메시지에 대한 처리 성공을 지시하는 응답 상태 코드(예를 들어, 2000)를 생성할 수 있다. 요청 메시지가 그룹 자원의 업데이트를 요청하는 경우에 해당 요청 메시지에 의해서 지시된 바에 따라 그룹 자원에 포함되는 멤버를 업데이트하고, 처리 성공을 지시하는 응답 상태 코드를 생성할 수 있다. For example, if it is determined that all of the one or more member identification information included in the group resource can be accessed, the M2M device generates or updates the group resource according to the type of processing operation of the group resource, And the identifier can be generated. For example, when the request message requests the generation of the group resource, the M2M device generates the group resource by including the member identification information to be included in the corresponding group resource in the group resource attribute information, and instructs the processing success of the request message A response status code (for example, 2000) can be generated. When the request message requests updating of the group resource, the member included in the group resource is updated according to the instruction indicated by the request message, and a response status code indicating the success of the process is generated.

다른 예로, M2M 장치는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 그룹 자원의 속성정보에 접속 불가능한 멤버 식별정보가 포함되도록 처리하고, 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성할 수 있다. 예를 들어, M2M 장치는 그룹 자원에 포함될 일부 멤버에 대한 접속이 불가능한 경우에 접속이 그룹 자원에 포함될 멤버를 포함하여 그룹 자원을 생성하되, 접속이 불가능한 멤버 식별정보를 별도의 속성정보에 저장하여 그룹 자원을 생성할 수 있다. 일 예로, 불가능한 멤버 식별정보를 저장하는 속성정보는 unreachableMemberIDs일 수 있다. 이와 별도로 접속이 가능한 멤버 식별정보는 memberIDs 속성정보에 저장하여 그룹 자원을 생성할 수 있다. 즉, M2M 장치는 접속 가능 여부에 따라 그룹 자원에 포함될 멤버 식별정보를 구분하여 별도의 속성정보에 저장하여 요청 처리 동작을 수행할 수 있다. 이 경우에 그룹 자원에 대한 요청 처리 동작이 수행되었으므로 응답 상태 코드는 처리 성공을 지시하는 코드로 생성할 수 있다. 다만, 필요에 따라 모든 멤버가 접속 가능한 경우의 처리 성공을 지시하는 응답 상태 코드 및 일부 멤버가 접속 불가능한 경우의 처리 성공을 지시하는 응답 상태 코드는 서로 다르게 설정될 수 있다. As another example, if the M2M device determines that at least one of the member identification information included in the group resource is inaccessible, the M2M device processes the attribute information of the group resource to include the member identification information that can not be accessed, The code can be generated by setting it as an identifier indicating success in processing. For example, when the connection to some members to be included in the group resource is impossible, the M2M device generates the group resource including the member to be included in the group resource, and stores the member identification information in the separate attribute information Group resources can be created. As an example, attribute information for storing impossible member identification information may be unreachableMemberIDs. The member identification information that can be separately accessed can be stored in the member ID attribute information to generate the group resource. That is, the M2M device can distinguish member identification information to be included in the group resource according to connection availability, store the member identification information in separate attribute information, and perform a request processing operation. In this case, since the request processing operation for the group resource has been performed, the response status code can be generated by a code indicating the success of the processing. However, a response status code indicating success in processing when all the members are connectable and a response status code indicating a success in processing in the case where some members can not be connected may be set to be different from each other as needed.

또 다른 예로, M2M 장치는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 요청 메시지에 포함되는 일관성 전략 정보를 더 이용하여 일관성 전략 정보에 설정된 값에 기초하여 처리 동작을 수행하고 응답 상태 코드를 생성할 수 있다. As another example, if it is determined that at least one member identification information among the one or more member identification information included in the group resource is inaccessible, the M2M apparatus further uses the consistency strategy information included in the request message to set the value To perform a processing operation and generate a response status code.

일관성 전략 정보를 사용하는 일 예로, 일관성 전략 정보가 멤버 제외로 설정된 경우, M2M 장치는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 접속 불가능한 상태로 판단된 멤버 식별정보를 제외한 나머지 멤버 식별정보만이 포함되도록 그룹 자원을 생성 또는 업데이트하고, 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성할 수 있다. 이 경우에도 전술한 처리 성공을 지시하는 응답 상태 코드와는 다르게 설정할 수 있다. For example, when consistency strategy information is set as member exclusion, only the remaining member identification information other than the member identification information determined to be inaccessible among the at least one member identification information included in the group resource is used as the consistency strategy information And generate and update the group resource so that the response status code is set to an identifier indicating the success of the processing. In this case, it is possible to set it differently from the response status code indicating the success of the above-described processing.

일관성 전략 정보를 사용하는 다른 예로, 일관성 전략 정보가 그룹 제외로 설정된 경우, M2M 장치는 응답 상태 코드를 처리 실패를 지시하는 식별자로 설정하여 생성할 수 있다. 이 경우에 그룹 자원의 처리 동작이 실패되어 그룹 자원의 생성 또는 업데이트가 이루어지지 않을 수 있다. As another example of using consistency strategy information, when consistency strategy information is set to group exclusion, the M2M device can generate a response status code by setting it as an identifier indicating failure of processing. In this case, the processing operation of the group resource may fail to generate or update the group resource.

일관성 전략 정보를 사용하는 또 다른 예로, 일관성 전략 정보가 혼합(또는 복합)으로 설정된 경우, M2M 장치는 요청 메시지에 포함되는 멤버 타입 정보를 확인하는 단계를 더 수행할 수 있다. 확인된 멤버 타입 정보의 값에 따라 처리 성공을 지시하는 응답 상태 코드를 구분하여 설정할 수 있다. 즉, 멤버 타입 정보가 단일인 경우와 멤버 타입 정보가 혼합인 경우에 그룹 자원에 대한 처리 동작을 완료하더라도 서로 다른 응답 상태 코드를 설정하여 생성함으로써, 발신자가 이를 구분하여 인지하도록 할 수 있다. As another example of using the consistency strategy information, when the consistency strategy information is set to a mixed (or composite), the M2M device can further perform the step of confirming the member type information included in the request message. A response status code indicating the success of the process can be distinguished and set according to the value of the confirmed member type information. That is, even when the processing of the group resource is completed in the case where the member type information is single and the member type information is mixed, different response status codes are set and generated, so that the caller can distinguish the same.

일관성 전략 정보를 사용하는 또 다른 예로, 일관성 전략 정보가 혼합으로 설정된 경우, M2M 장치는 요청 메시지에 포함되는 시행 지시 정보의 값에 따라 응답 상태 코드를 처리 성공 또는 처리 실패를 지시하는 식별자로 구분하여 설정할 수 있다. 예를 들어, M2M 장치는 일관성 전략 정보가 혼합으로 설정되는 경우에 시행 지시 정보를 나타내는 Enforcement 속성정보가 TURE로 설정된 경우에 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하고, Enforcement 속성정보가 FALSE로 설정된 경우에 응답 상태 코드를 처리 실패를 지시하는 식별자로 설정할 수 있다. As another example of using consistency strategy information, when the consistency strategy information is set to be mixed, the M2M device classifies the response status code into an identifier indicating success or failure of processing according to the value of the execution instruction information included in the request message Can be set. For example, when the consistency strategy information is set to be mixed, the M2M device sets the response status code to an identifier indicating success in processing when the Enforcement attribute information indicating the execution direction information is set to TURE, and when the Enforcement attribute information is FALSE The response status code may be set to an identifier indicating failure in processing.

이상에서 설명한 처리 성공을 지시하는 응답 상태 코드는 전술한 처리 동작 별로 서로 다르게 설정될 수 있다. 동일하게 처리 실패를 지시하는 응답 상태 코드는 전술한 처리 동작 별로 서로 다르게 설정될 수 있다. 이를 통해서, 발신자는 응답 메시지의 응답 상태 코드를 통해서 다양한 그룹 자원 처리 상황에 대해서 확인할 수 있고, 잘못된 경우에 이를 바로 잡기 위한 추가 동작을 시행할 수도 있다. The response status codes indicating the above-described process success can be set differently for each of the above-described process operations. The response status codes indicating the same process failure can be set differently for each of the above-described process operations. Through this, the sender can confirm various group resource processing situations through the response status code of the response message, and can perform an additional operation to correct the wrong group resource.

M2M 장치는 요청 메시지에 대한 응답 상태 코드 정보를 포함하는 응답 메시지를 전송하는 단계를 수행할 수 있다(S1030). M2M 장치는 요청 메시지에 의해서 지시된 요청 동작이 처리 성공 또는 처리 실패가 최종적으로 결정된 경우에 해당 결과를 지시하는 응답 상태 코드를 포함하는 응답 메시지를 발신자로 전송한다. The M2M device may perform a step of transmitting a response message including response status code information for the request message (S1030). The M2M device sends a response message containing the response status code indicating the result of the request operation indicated by the request message to the sender when the process success or the process failure is finally determined.

전술한 바와 같이, 응답 상태 코드는 각 처리 동작 결과에 따라 상호 구분되게 설정됨으로써, 발신자는 처리 결과를 보다 세분화하여 확인할 수 있다. 한편, 응답 메시지는 요청 메시지와 동일한 요청 식별자를 포함하며, 응답 상태 코드를 포함할 수 있다. As described above, the response status codes are set to be distinguished from each other according to the result of each processing operation, so that the sender can confirm the processing result in more detail. Meanwhile, the response message includes the same request identifier as the request message, and may include a response status code.

전술한 동작을 통해서 생성 또는 업데이트된 그룹 자원은 속성정보로 현재 멤버 개수 정보, 접속 가능한 멤버 식별정보 및 접속 불가능한 멤버 식별정보를 포함할 수 있다. 전술한 바와 같이, 본 실시예에서의 그룹 자원은 unreachableMemberIDs 속성정보를 포함하여 구성함으로써, 설정 값에 따라 추후 재접속 시도 동작을 수행할 수도 있고, 발신자가 접속 불가능한 멤버의 존재 여부 및 접속 불가능한 멤버의 식별정보를 확인할 수도 있다. The group resource created or updated through the above-described operation may include current member count information, connectable member identification information and non-connectable member identification information as attribute information. As described above, the group resource in this embodiment includes the unreachableMemberIDs attribute information, so that it can perform the reconnection attempt operation later according to the set value, and can determine whether the caller can not connect, You can also check the information.

이 경우 memberIDs 속성정보는 접속이 가능한 멤버의 식별정보만을 포함할 수 있다. 또한, 현재 멤버 개수 정보를 나타내는 속성정보(currentNrOfMembers)는 접속 가능한 멤버 식별정보의 개수에 연동되어 설정될 수 있다. 즉, 접속이 불가능한 멤버의 개수는 제외하고 접속 가능한 멤버 식별정보의 개수 값으로 설정될 수 있다. In this case, the memberIDs attribute information may include only the identification information of the connectable members. In addition, the attribute information (currentNrOfMembers) indicating the current member number information may be set in conjunction with the number of connectable member identification information. That is, the number of members that can not be connected can be set as the number of connectable member identification information.

이상에서 설명한 바와 같이, 본 개시에 따른 M2M 장치는 그룹 자원에 포함될 멤버 각각에 대한 접속 가능 여부를 확인하고, 접속 가능 여부에 따라 속성정보를 추가적으로 생성하여 관리한다. 또한, 시행 지시 정보를 나타내는 Enforcement 속성정보를 더 활용하여 M2M 장치의 동작 오류를 방지할 수 있다. 한편, 전술한 M2M 장치의 각 동작은 필요에 따라 삭제 및 순서가 변경될 수 있으며, 각 단계의 세부 단계 또는 각 단계 사이에 추가 단계가 포함될 수 있다. 자세한 전체 동작은 도 12 및 도 13을 참조하여 재차 설명한다. As described above, the M2M apparatus according to the present invention confirms whether or not the connection to each member to be included in the group resource is possible, and further generates and manages attribute information according to whether or not the connection is available. In addition, an operation error of the M2M device can be prevented by further utilizing the Enforcement attribute information indicating the execution direction information. On the other hand, each operation of the above-described M2M device can be deleted and reordered as necessary, and the detailed steps of each step or an additional step may be included between each step. The detailed overall operation will be described again with reference to Figs. 12 and 13. Fig.

도 11은 다른 실시예에 따른 M2M 장치의 그룹 자원 처리 동작을 설명하기 위한 도면이다. 11 is a view for explaining a group resource processing operation of the M2M apparatus according to another embodiment.

도 11을 참조하면, M2M 장치는 접속 가능 여부를 확인하는 단계 이전에 현재 멤버 개수 정보 및 최대 멤버 개수 정보를 비교하는 단계를 더 수행할 수 있다(S1100). 예를 들어, M2M 장치는 현재 멤버 개수가 최대 멤버 개수를 초과하는 경우에 그룹 자원의 처리 동작을 중단할 수 있다. 이 경우에 응답 상태 코드는 처리 실패를 지시하는 식별자로 설정되어 생성된다. Referring to FIG. 11, the M2M device may further perform a step of comparing current member number information and maximum member number information before confirming whether or not connection is possible (S1100). For example, the M2M device may stop the processing operation of the group resource when the current number of members exceeds the maximum number of members. In this case, the response status code is generated with the identifier indicating the processing failure.

만약, 현재 멤버 개수가 최대 멤버 개수 이하인 경우에 S1010 내지 S1030 단계를 통해서 요청 메시지에 대한 처리 동작이 수행될 수 있다. If the current number of members is equal to or less than the maximum number of members, a processing operation for the request message may be performed through steps S1010 to S1030.

이하에서는 도 10 및 도 11을 포함하는 요청 메시지 처리 절차를 전반적으로 설명한다. Hereinafter, a request message processing procedure including FIGS. 10 and 11 will be described in general.

도 12 및 도 13은 일 실시예에 따른 M2M 장치의 요청 메시지 처리 동작을 설명하기 위한 도면이다. 12 and 13 are diagrams for explaining a request message processing operation of the M2M apparatus according to an embodiment.

도 12를 참조하면, M2M 장치는 요청 메시지의 수신에 따라 그룹 자원에 포함될 멤버 식별정보의 중복 여부를 확인한다(S1200). M2M 장치는 중복되는 멤버 식별정보가 존재하는 경우에 이를 제거하고(S1205), 그룹 자원의 현재 멤버 개수와 최대 멤버 개수를 비교한다(S1210). 중복되는 멤버 식별정보가 존재하지 않는 경우에 S1210 단계를 수행한다. Referring to FIG. 12, upon receipt of the request message, the M2M device checks whether the member identification information to be included in the group resource is duplicated (S1200). If there is duplicate member identification information, the M2M apparatus removes the duplicated member identification information (S1205), and compares the current number of members and the maximum number of members of the group resource (S1210). If duplicate member identification information does not exist, step S1210 is performed.

M2M 장치는 최대 멤버 개수를 초과하여 현재 멤버 개수가 설정된 경우에 요청 메시지에 대한 처리를 중단하고, 처리 실패를 지시하는 응답 상태 코드를 설정한다(S1215). 이 경우 응답 상태 코드는 최대 멤버 개수를 초과하였음을 지시하는 값으로 설정될 수 있다. When the number of the current members exceeds the maximum number of members, the M2M device stops the process of the request message and sets a response status code indicating the process failure (S1215). In this case, the response status code may be set to a value indicating that the maximum number of members has been exceeded.

M2M 장치는 현재 멤버 개수가 최대 멤버 개수를 초과하지 않는 경우에 그룹 자원의 가상 자원 여부를 체크하고(S1220), 가상 자원인 경우에 가상 자원이 허용되는지 판단한다(S1225). 가상 자원이 허용되지 않는 경우에 M2M 장치는 요청 메시지에 대한 처리를 중단하고, 처리 실패를 지시하는 응답 상태 코드를 설정한다(S1230). 이 경우 응답 상태 코드는 가상 자원이 허용되지 않음을 지시하는 값으로 설정될 수 있다. If the current number of members does not exceed the maximum number of members, the M2M device checks whether the virtual resource of the group resource is a virtual resource (S1220). If it is a virtual resource, it determines whether the virtual resource is allowed (S1225). If the virtual resource is not allowed, the M2M device stops processing the request message and sets a response status code indicating the processing failure (S1230). In this case, the response status code may be set to a value indicating that the virtual resource is not allowed.

M2M 장치는 S1220 단계의 판단 결과 가상 자원이 아니거나, S1225 단계의 판단 결과 가상 자원이 허용되는 경우에 그룹 자원에 포함될 각 멤버 식별정보에 대한 접속 가능 여부를 판단한다(S1240). If it is determined in step S1220 that the virtual resource is not a virtual resource, or if the virtual resource is permitted as a result of the determination in step S1225, the M2M apparatus determines whether or not connection is possible for each member identification information to be included in the group resource (S1240).

M2M 장치는 각 멤버 식별정보에 대한 접속 가능 여부를 판단한 결과 그룹 자원에 포함되는 멤버 식별정보가 모두 접속이 가능하다고 판단되면, M2M 장치의 권한이 존재하는지 판단하고(S1245), 권한이 존재하면 그룹 자원의 memberTypeValidated 속성정보의 값을 TRUE로 설정하고(S1250), 응답 상태 코드를 처리 성공을 지시하는 식별자(예를 들어, 2000)로 설정하여 생성한다(S1255). 응답 상태 코드는 응답 메시지에 포함되어 발신자에게로 전송될 수 있다. 만약, M2M 장치의 권한이 없다고 판단되면, M2M 장치는 권한이 없음을 이유로 하는 처리 실패를 지시하는 식별자를 응답 상태 코드로 설정하여 생성한다(S1260).If it is determined that all the member identification information included in the group resource can be accessed as a result of the determination as to whether or not connection is possible with respect to each member identification information, the M2M apparatus determines whether the authority of the M2M apparatus exists (S1245) The value of the memberTypeValidated attribute information of the resource is set to TRUE (S1250), and the response status code is set to an identifier (e.g., 2000) indicating successful processing (S1255). The response status code may be included in the response message and sent to the sender. If it is determined that the M2M device does not have the authority, the M2M device sets an identifier indicating the failure of the process for the reason that the M2M device is not authorized as a response status code (S1260).

이와 달리, M2M 장치는 각 멤버 식별정보에 대한 접속 가능 여부를 판단한 결과 그룹 자원에 포함되는 멤버 식별정보 중 적어도 하나가 접속 불가능한 것으로 판단되면, 그룹 자원의 memberTypeValidated 속성정보의 값을 FALSE로 설정한다(S1265).Alternatively, if it is determined that at least one of the member identification information included in the group resource can not be accessed as a result of the determination of connection availability for each member identification information, the M2M apparatus sets the value of the memberTypeValidated attribute information of the group resource to FALSE S1265).

이와 같이, M2M 장치는 중복 여부, 가상 자원 여부, 접속 가능 여부를 순차적으로 판단하여 그룹 자원의 처리 동작을 수행하고, 각 단계에서의 처리 성공 또는 처리 실패 여부에 대해서 각기 다른 응답 상태 코드를 설정함으로써, 발신자에게 그룹 자원의 처리 형태 및 이유를 보다 명확하게 알려줄 수 있다. As described above, the M2M device sequentially processes the group resource by determining whether the resource is redundant, whether it is virtual or not, and whether or not connection is possible, and sets a different response status code for success or failure of the process at each step , The sender can be more clearly informed of the processing type and reason of the group resource.

이하, S1265 단계 이후의 절차를 도 13을 참조하여 계속 설명한다. Hereinafter, the procedure after step S1265 will be described with reference to FIG.

그룹 자원의 memberTypeValidated 속성정보의 값을 FALSE로 설정한 후, M2M 장치는 요청 메시지에 포함되는 해당 그룹 자원에 대한 consistencyStrategy 속성정보를 체크한다(S1300). 예를 들어, consistencyStrategy 속성정보는 ABANDON_MEMBER, ABANDON_GROUP, MIXED의 3 가지 중 하나로 설정될 수 있다. 필요에 따라 consistencyStrategy 속성정보는 추가적으로 정의될 수도 있다. After setting the value of the memberTypeValidated attribute information of the group resource to FALSE, the M2M device checks the consistencyStrategy attribute information of the corresponding group resource included in the request message (S1300). For example, the consistencyStrategy attribute information can be set to one of three types: ABANDON_MEMBER, ABANDON_GROUP, and MIXED. The consistencyStrategy attribute information may be additionally defined as needed.

일 예로, M2M 장치는 consistencyStrategy 속성정보가 ABANDON_GROUP으로 설정되면, 그룹 자원의 처리 동작을 중단하고(S1305), 그룹 자원에 대한 요청 처리가 실패하였음을 지시하는 응답 상태 코드를 설정하여 생성한다(S1310).For example, when the consistency strategy attribute information is set to ABANDON_GROUP, the M2M device discontinues the group resource processing operation (S1305), generates and sets a response status code indicating that the request processing for the group resource fails (S1310) .

다른 예로, M2M 장치는 consistencyStrategy 속성정보가 ABANDON_MEMBER로 설정되면, 접속이 불가능한 멤버 식별정보를 제거하고(S1315), 접속이 가능한 멤버 식별정보만을 포함하여 그룹 자원을 처리하고 그룹 자원 처리 요청이 성공하였음을 지시하는 응답 상태 코드를 설정하여 생성한다(S1320). 다만, 이 경우의 응답 상태 코드는 S1255 단계의 응답 상태 코드와는 구분되어 설정될 수 있다. 이를 통해서 발신자는 요청 메시지에 따른 그룹 자원 처리가 성공적으로 이루어졌지만, 두 가지 경우를 구분하여 확인할 수 있고, 필요에 따라 후속 조치를 요청할 수도 있다. As another example, if the consistency strategy attribute information is set to ABANDON_MEMBER, the M2M device removes the non-connectable member identification information (S1315), processes the group resource including only connectable member identification information, and determines that the group resource process request is successful And sets the response status code to be instructed (S1320). However, the response status code in this case can be set separately from the response status code in step S1255. Through this, the sender successfully processes the group resource according to the request message, but can distinguish between the two cases, and may request follow-up action if necessary.

또 다른 예로, M2M 장치는 consistencyStrategy 속성정보가 SET_MIX로 설정되면, 요청 메시지의 그룹 자원에 대한 member Type 속성정보를 체크한다(S1325). member Type 속성정보는 그룹 자원에 포함될 각 멤버들의 자원 타입이 동일한 단일 타입인지 서로 다른 타입이 혼재되어 있는 혼재 타입인지에 대한 정보를 포함하고 있다. As another example, if the consistency strategy attribute information is set to SET_MIX, the M2M apparatus checks the member type attribute information of the group resource of the request message (S1325). The member type attribute information includes information on whether each member to be included in the group resource has a single type having the same resource type or a mixed type having different types.

M2M 장치는 member Type 속성정보가 단일(single)로 설정된 경우에 접속 불가능한 멤버 식별정보를 위한 접속 가능 여부를 체크하고(S1330), 접속 불가능한 멤버 식별정보가 접속 가능한 것으로 판단되면, memberTypeValidated 속성정보의 값을 TRUE로 설정한다(S1345). 이후, M2M 장치는 요청 메시지에 따른 그룹 자원 처리 동작이 성공되었음을 지시하는 식별자를 응답 상태 코드로 설정하여 생성한다(S1350). 이 경우에는 일시적으로 접속이 불가능하였던 멤버 자원이 접속 가능해지도록 변경된 경우고 발신자가 요청한 멤버 전체가 접속 가능한 상태로 확인되어 그룹 자원에 대한 처리가 성공하였으므로, S1255와 동일한 응답 상태 코드가 설정될 수 있다. When the member type attribute information is set to single, the M2M device checks whether or not the connection is available for non-connectable member identification information (S1330). If it is determined that connectable member identification information is connectable, the value of the memberTypeValidated attribute information Is set to TRUE (S1345). Thereafter, the M2M device sets an identifier indicating that the group resource processing operation according to the request message is successful as a response status code (S1350). In this case, if the member resource that has been temporarily unavailable is changed to be connectable, the entire member requested by the high caller is confirmed to be connectable, and the process for the group resource is successful, so that the same response status code as S1255 can be set .

한편, M2M 장치는 접속 불가능한 멤버 식별정보가 여전히 접속 불가능한 것으로 판단되면, 요청 메시지에 포함되는 그룹 자원에 대한 Enforcement 속성정보의 값을 체크한다(S1335). Enforcement 속성정보는 접속 불가능한 멤버가 존재하는 경우에도 요청된 그룹 자원에 대한 처리 동작을 시행할 것인지, 시행하지 않을 것인지를 지시하는 정보를 포함한다. On the other hand, if it is determined that the non-connectable member identification information is still unreachable, the M2M device checks the value of the enforcement attribute information for the group resource included in the request message (S1335). The Enforcement attribute information includes information indicating whether or not to perform a processing operation on the requested group resource even when an unavailable member exists.

일 예로, Enforcement 속성정보가 TRUE로 설정된 경우에 M2M 장치는 접속 불가능한 멤버가 존재하더라도 그룹 자원에 대한 처리 동작을 시행하고, 처리 동작이 성공적으로 이루어졌음을 지시하는 식별자로 응답 상태 코드를 설정하여 생성한다(S1320). 다만, 이 경우에는 전술한 바와 같이 그룹 자원의 unreachableMemberIDs 속성정보에 접속이 불가능한 멤버 식별정보를 저장하고, memberIDs 속성정보에는 접속이 가능한 멤버 식별정보만 저장하여 별도로 관리할 수 있다. 또한, currentNrOfMembers 속성정보에는 memberIDs 속성정보에 포함된 멤버 식별정보의 개수만 카운트하여 해당 값을 저장할 수 있다. For example, when the Enforcement attribute information is set to TRUE, the M2M apparatus performs a processing operation on the group resource even if an unavailable member exists, sets a response status code as an identifier indicating that the processing operation has been successfully performed, (S1320). However, in this case, as described above, the member identification information that can not be connected to the unreachableMemberIDs attribute information of the group resource is stored, and only the member identification information that can be connected to the memberIDs attribute information is stored and managed separately. In the currentNrOfMembers attribute information, only the number of the member identification information included in the memberIDs attribute information can be counted and the corresponding value can be stored.

다른 예로, Enforcement 속성정보가 FALSE로 설정된 경우에 M2M 장치는 요청 메시지에 따른 그룹 자원 처리 동작이 실패하였음을 지시하는 응답 상태 코드를 설정하여 생성한다(S1340). 필요에 따라 M2M 장치는 접속 불가능한 멤버에 대한 접속 가능 여부를 재차 체크하는 S1330 단계의 동작을 수행할 수도 있다. As another example, when the Enforcement attribute information is set to FALSE, the M2M device generates and sets a response status code indicating that the group resource processing operation according to the request message fails (S1340). If necessary, the M2M device may perform the operation of step S1330 to again check whether or not connection to the non-connectable member is possible.

한편, M2M 장치는 member Type 속성정보가 혼합(mixed)로 설정된 경우에 접속 불가능한 멤버 식별정보를 위한 접속 가능 여부를 체크하고(S1355), 접속 불가능한 멤버 식별정보가 접속 가능한 것으로 판단되면, memberTypeValidated 속성정보의 값을 TRUE로 설정한다(S1360). 이후, M2M 장치는 요청 메시지에 따른 그룹 자원 처리 동작이 성공되었음을 지시하는 식별자를 응답 상태 코드로 설정하여 생성한다(S1360). 이 경우에는 일시적으로 접속이 불가능하였던 멤버 자원이 접속 가능해지도록 변경된 경우고 발신자가 요청한 멤버 전체가 접속 가능한 상태로 확인되어 그룹 자원에 대한 처리가 성공하였으므로, S1255 및 S1350과 동일한 응답 상태 코드가 설정될 수 있다. On the other hand, if the member type attribute information is set to be mixed, the M2M device checks whether or not the connection is available for non-connectable member identification information (S1355). If it is determined that the non-connectable member identification information is connectable, Is set to TRUE (S1360). Thereafter, the M2M device sets an identifier indicating that the group resource processing operation according to the request message is successful as a response status code (S1360). In this case, if the member resource that was temporarily unavailable is changed to be connectable, the entire member requested by the high caller is confirmed to be connectable, and the processing of the group resource is successful. Therefore, the same response status code as S1255 and S1350 is set .

한편, M2M 장치는 접속 불가능한 멤버 식별정보가 여전히 접속 불가능한 것으로 판단되면, 요청 메시지에 포함되는 그룹 자원에 대한 Enforcement 속성정보의 값을 체크한다(S1370). Enforcement 속성정보는 접속 불가능한 멤버가 존재하는 경우에도 요청된 그룹 자원에 대한 처리 동작을 시행할 것인지, 시행하지 않을 것인지를 지시하는 정보를 포함한다. On the other hand, if it is determined that the non-connectable member identification information is still unreachable, the M2M device checks the value of the enforcement attribute information for the group resource included in the request message (S1370). The Enforcement attribute information includes information indicating whether or not to perform a processing operation on the requested group resource even when an unavailable member exists.

일 예로, Enforcement 속성정보가 TRUE로 설정된 경우에 M2M 장치는 접속 불가능한 멤버가 존재하더라도 그룹 자원에 대한 처리 동작을 시행하고, 처리 동작이 혼합 타입으로 성공적으로 이루어졌음을 지시하는 식별자로 응답 상태 코드를 설정하여 생성한다(S1375). 다만, 이 경우에는 전술한 바와 같이 그룹 자원의 unreachableMemberIDs 속성정보에 접속이 불가능한 멤버 식별정보를 저장하고, memberIDs 속성정보에는 접속이 가능한 멤버 식별정보만 저장하여 별도로 관리할 수 있다. 또한, currentNrOfMembers 속성정보에는 memberIDs 속성정보에 포함된 멤버 식별정보의 개수만 카운트하여 해당 값을 저장할 수 있다. For example, when the Enforcement attribute information is set to TRUE, the M2M device performs a processing operation on the group resource even if a non-connectable member exists, and sets the response status code as an identifier indicating that the processing operation has been successfully performed as a mixed type (S1375). However, in this case, as described above, the member identification information that can not be connected to the unreachableMemberIDs attribute information of the group resource is stored, and only the member identification information that can be connected to the memberIDs attribute information is stored and managed separately. In the currentNrOfMembers attribute information, only the number of the member identification information included in the memberIDs attribute information can be counted and the corresponding value can be stored.

다른 예로, Enforcement 속성정보가 FALSE로 설정된 경우에 M2M 장치는 요청 메시지에 따른 그룹 자원 처리 동작이 실패하였음을 지시하는 응답 상태 코드를 설정하여 생성한다(S1380). 이 경우의 응답 상태 코드는 S1340의 응답 상태 코드와 동일한 값으로 설정될 수 있다. 필요에 따라 M2M 장치는 접속 불가능한 멤버에 대한 접속 가능 여부를 재차 체크하는 S1355 단계의 동작을 수행할 수도 있다. As another example, when the Enforcement attribute information is set to FALSE, the M2M device generates and sets a response status code indicating that the group resource processing operation according to the request message fails (S1380). The response status code in this case can be set to the same value as the response status code in S1340. If necessary, the M2M device may perform the operation of step S1355 to again check whether or not connection to the non-connectable member is possible.

이상에서 설명한 바와 같이, 발신자는 그룹 자원 처리 요청에 따른 다양한 상황을 서로 다른 응답 상태 코드를 통해서 확인할 수 있고, 수신자는 그룹 자원에 unreachableMemberIDs와 Enforcement 속성정보를 이용하여 그룹 자원의 보다 명확한 관리가 가능하다. 또한, 발신자는 그룹 자원의 unreachableMemberIDs와 Enforcement 속성정보를 이용하여 별도의 추가적인 조치를 통해서 추후 그룹 자원의 제어에서 예상 가능한 문제점을 사전에 파악하여 문제의 발생을 예방할 수 있다. As described above, the sender can confirm various situations according to the group resource processing request through different response status codes, and the receiver can more clearly manage the group resources by using the unreachableMemberIDs and the Enforcement attribute information on the group resources . In addition, the sender can prevent the occurrence of problems by preliminarily grasping possible problems in the control of the group resources through additional measures by using the unreachableMemberIDs and the Enforcement attribute information of the group resources.

도 14는 일 실시예에 따른 성공 처리를 지시하는 응답 상태 코드의 종류를 예시적으로 설명하기 위한 도면이다. FIG. 14 is a diagram for explaining a type of a response status code indicating a success process according to an embodiment.

도 14를 참조하면, 도 12 및 도 13의 상황에서 다양한 요청 메시지 처리 성공 종류가 존재할 수 있다. 따라서, 종래 응답 상태 코드에 처리 성공 종류에 따른 응답 상태 코드를 추가할 필요가 있다. Referring to FIG. 14, there may be various types of successful request message processing successes in the contexts of FIGS. 12 and 13. Therefore, it is necessary to add a response status code according to the kind of processing success to the conventional response status code.

예를 들어, 종래에는 요청 메시지에 대한 처리가 성공한 경우에 2000번의 응답 상태 코드가 설정될 수 있었으며, 생성, 삭제 및 업데이트에 따라 각각 2001, 2002, 2004가 설정될 수 있었다. 이에 추가적으로, 본 개시에서는 S1320 단계를 위한 SUCCESSFUL_OPERATION_GROUP_RESOURCE를 지시하는 응답 상태 코드가 추가될 수 있다. 또한, 본 개시에서는 S1375 단계를 위한 SUCCESSFUL_MIXED_GROUP_RESOURCE를 지시하는 응답 상태 코드가 추가될 수 있다. 각 상태 코드는 20XX로 발신자와 수신자 사이의 설정에 의해서 코드 값이 결정될 수 있으며, 두 가지 추가되는 코드 값은 상호 다르게 설정된다. For example, in the past, 2000 response status codes could be set when the processing of the request message was successful, and 2001, 2002, 2004 could be set according to generation, deletion, and update, respectively. Additionally, in the present disclosure, a response status code indicating SUCCESSFUL_OPERATION_GROUP_RESOURCE for step S1320 may be added. Also, in the present disclosure, a response status code indicating SUCCESSFUL_MIXED_GROUP_RESOURCE for step S1375 may be added. Each status code is 20XX, the code value can be determined by the setting between the sender and the receiver, and the two additional code values are set differently.

도 15는 일 실시예에 따른 실패 처리를 지시하는 응답 상태 코드의 종류를 예시적으로 설명하기 위한 도면이다. 15 is a diagram for explaining a type of a response status code indicating failure processing according to an embodiment.

도 15를 참조하면, 도 14와 마찬가지로 요청 메시지에 대한 처리를 실패한 경우에도 응답 상태 코드를 다르게 설정할 수 있다. 예를 들어, 기존의 처리 실패에 대한 응답 상태 코드에 52XX로 설정되는 응답 상태 코드 3 가지가 도 12 및 도 13의 처리 유형에 따라 추가적으로 설정될 수 있다. 3가지의 추가되는 응답 상태 코드는 서로 다른 코드 값으로 설정된다. Referring to FIG. 15, as in FIG. 14, the response status code can be set differently even if the processing of the request message fails. For example, three response status codes, which are set to 52XX in response status codes for existing processing failures, can additionally be set according to the processing types in FIGS. 12 and 13. [ The three additional response status codes are set to different code values.

도 14 및 도 15와 같이 응답 상태 코드가 추가됨으로써, 발신자는 요청 메시지에 대한 처리 실패 또는 처리 성공의 종류를 보다 다양하게 확인할 수 있어서, 이후 추가 요청 또는 제어에 활용할 수 있다. As shown in FIGS. 14 and 15, by adding the response status code, the sender can more variously confirm the type of the processing failure or the processing success of the request message, and can be utilized for additional requests or control thereafter.

도 16은 일 실시예에 따른 그룹 자원의 구성을 예시적으로 도시한 도면이다. FIG. 16 is a diagram illustrating a configuration of a group resource according to an exemplary embodiment.

도 16을 참조하면, 전술한 요청 메시지 처리 동작을 효율적으로 활용하기 위해서는 종래 그룹 자원에 추가적인 속성정보를 정의할 필요가 있다. Referring to FIG. 16, it is necessary to define additional attribute information for a conventional group resource in order to efficiently utilize the above-described request message processing operation.

예를 들어, 그룹 자원은 현재 멤버 개수 정보, 접속 가능한 멤버 식별정보 및 접속 불가능한 멤버 식별정보 각각에 대한 속성정보를 포함할 수 있으며, 현재 멤버 개수 정보는 접속 가능한 멤버 식별정보의 개수에 연동되어 설정될 수 있다. 또한, 시행 지시 정보에 대한 속성정보를 포함할 수 있다. For example, the group resource may include current member count information, connectable member identification information, and non-connectable member identification information, and the current member count information may be set in association with the number of connectable member identification information . Also, it may include attribute information on the execution direction information.

전술한 바와 같이, 접속 불가능한 멤버 식별정보는 unreachableMemberIDs 속성정보(1600)에 포함되고, 시행 지시 정보는 Enforcement 속성정보(1610)에 포함될 수 있다. unreachableMemberIDs 속성정보(1600)에는 요청 메시지를 수신한 M2M 장치가 접속이 일시적으로 또는 영구적으로 불가능한 경우에 해당 멤버에 대한 식별정보를 리스트 형식으로 저장할 수 있다. 또한, Enforcement 속성정보(1610)는 발신자가 그룹 자원에 포함될 멤버 중 일부에 접속이 불가능한 경우에 그룹 자원 처리를 시행할지를 지시하는 정보가 포함될 수 있다. 예를 들어, Enforcement 속성정보(1610)는 TRUE 또는 FALSE로 설정될 수 있다. As described above, the unconnectable member identification information is included in the unreachableMemberIDs attribute information 1600, and the enforcement indication information may be included in the Enforcement attribute information 1610. [ The unreachableMemberIDs attribute information 1600 may store the identification information of the corresponding member in a list format when the M2M device receiving the request message temporarily or permanently disables the connection. In addition, the Enforcement attribute information 1610 may include information indicating whether to perform group resource processing when a caller can not access some of the members to be included in the group resource. For example, the Enforcement property information 1610 may be set to TRUE or FALSE.

한편, M2M 장치는 currentNrOfMembers 속성정보에 접속 가능한 멤버에 대한 식별정보를 저장하는 memberIDs 속성정보에 포함된 멤버 식별정보의 개수만 카운트하여 해당 값을 저장할 수 있다. On the other hand, the M2M device can store the corresponding value by counting only the number of member identification information included in the memberIDs attribute information that stores the identification information on the members connectable to the currentNrOfMembers attribute information.

이 외에도 그룹 자원은 도 16에 도시된 바와 같이 종래 속성정보는 부속자원을 포함할 수 있다. In addition, as shown in FIG. 16, the group resource may include an attached resource in the conventional attribute information.

도 17은 일 실시예에 따른 그룹 자원의 속성정보를 설명하기 위한 도면이고, 도 18은 일 실시예에 따른 그룹 자원의 자원 특정 속성을 설명하기 위한 도면이다. FIG. 17 is a view for explaining attribute information of a group resource according to an embodiment, and FIG. 18 is a view for explaining resource specific attributes of a group resource according to an embodiment.

도 17 및 도 18을 참조하면, 그룹 자원에 포함되는 각 속성정보는 해당 속성정보에 포함될 정보가 구체적으로 설정될 수 있고, 요청 메시지에 해당 속성정보가 포함될 수 있으며, 데이터 타입과 디폴트 값이 결정될 수 있다. 17 and 18, the information to be included in the attribute information of each attribute information included in the group resource can be specifically set, the attribute information can be included in the request message, and the data type and the default value are determined .

이하에서는, 전술한 동작을 통해서 저장 및 관리되는 그룹 자원에 대한 Primitive Content의 예를 도면을 참조하여 설명한다. Hereinafter, an example of primitive content for group resources stored and managed through the above-described operation will be described with reference to the drawings.

도 19는 종래 기술에 따른 그룹 자원의 Primitive Content의 문제점을 설명하기 위한 도면이다. 19 is a view for explaining a problem of primitive content of group resources according to the related art.

도 19을 참조하면, 그룹 자원의 Primitive Content는 다양한 속성정보를 포함하여 구성될 수 있다. 예를 들어, pc는 Primitive Content를 의미하며, m2m:grp는 M2M 시스템에서의 그룹 자원을 의미한다. ri는 ResourceID, rn은 Resource Name, pi는 Parent ID, et는 Expiration Time, ct는 Creation Time, lt는 Last Modified Time을 각각 의미한다. 각 속성정보의 값은 예를 들어 기재한 것이다. Referring to FIG. 19, the primitive content of the group resource may include various attribute information. For example, pc means Primitive Content and m2m: grp means group resource in M2M system. ri is Resource ID, rn is Resource Name, pi is Parent ID, et is Expiration Time, ct is Creation Time, and lt is Last Modified Time. The value of each attribute information is described for example.

또한, mt는 Member Type, cnm은 Current Number of Members, mnm은 Max Number of Members, mid는 Member IDs, csy는 Consistency Strategy, fopt는 <fanOutPoint>를 의미하며, 각 속성정보 또는 부속자원을 지시한다. Mt is the Member Type, cnm is the Current Number of Members, mnm is the Max Number of Members, mid is the Member IDs, csy is the Consistency Strategy, and fopt is <fanOutPoint>.

예를 들어, cnm 정보는 그룹 자원에 포함되는 그룹 멤버의 개수를 의미하며 5개의 CSE 컨테이너를 하나의 그룹으로 생성하라는 것을 의미한다. mnm은 최대 그룹 자원 내의 그룹 멤버를 의미하며, 6으로 설정되는 경우를 예를 들었다. 또한, csy는 1로 설정되어 ABANDON_MEMBER로 설정된다. 그러나, 발신자의 그룹 자원 생성 요청 메시지에 따라 수신단이 그룹 자원을 생성하는 경우에 CSE1~3의 컨테이너는 수신단의 요청에 응답하고 수신단과 연결이 가능한 리처블 멤버이나, CSE4와 CSE5는 배터리 문제 또는 접속 에러와 같이 수신단과 접속이 불가능한 언리처블 멤버일 수 있다. 종래 기술에 따르면, 수신단은 접속 불가능한 언리처블 멤버가 포함되어 있더라도 CSE1부터 5까지 5개의 컨테이너를 하나의 그룹으로 생성하고, 생성 성공을 지시하는 응답 상태 코드를 설정하여 응답 메시지로 발신자로 보낼 수 있었다. For example, the cnm information means the number of group members included in the group resource, which means that five CSE containers are created as one group. mnm means a group member in the maximum group resource, and is set to 6, for example. Also, csy is set to 1 and is set to ABANDON_MEMBER. However, when the receiving end generates group resources according to the sender's group resource creation request message, the containers of CSE1 to CSE3 respond to the request of the receiving end and can be connected to the receiving end, or CSE4 and CSE5, It can be an unrecooked member that can not be connected to the receiving end like an error. According to the related art, the receiving end generates five groups of containers, CSE1 to CSE5, even if unrecognized unreachable members are included, sets a response status code indicating success of generation, and sends the response message to the sender there was.

이 경우, 발신자는 CSE 4와 5가 언리처블 멤버라는 정보를 확인할 수 없으며, 5개의 그룹 멤버가 정상적으로 그룹 자원으로 생성되었다고 오판할 우려가 있다. 또한, 수신단도 접속 불가능한 멤버에 대한 접속을 과도하게 반복하거나, 접속 불가능한 상태임을 확인할 방법이 없어서 불필요한 무선시스템 오버로드 발생 및 정상적인 요청 처리에 문제가 발생할 수 있었다. In this case, the sender can not confirm the information that CSE 4 and 5 are unrecognized members, and there is a possibility that the five group members are mistakenly created as a group resource normally. In addition, there is no way for the receiving end to excessively repeat the connection to the non-connectable member or to check that the connection is impossible, which may cause a problem in unnecessary wireless system overload occurrence and normal request processing.

한편, 본 실시예를 적용하지 않는 종래 기술에서는 발신자가 fanout을 요청하는 경우에 이를 처리하기 위한 절차에서도 문제가 발생할 수 있었다. 예를 들어, 발신자가 수신단으로 Group Request Target Members 파라미터를 이용하여 fanout을 요청할 수 있다. 그러나, 수신단이 접속 불가능한 멤버를 별도로 관리하지 않는 종래 기술에서는 Group Request Target Members 파라미터가 지시하는 fanout 대상 멤버를 수신단이 알 수 없어서, 발신자의 요청을 처리하지 못하거나, 접속 가능한 멤버를 포함한 모든 그룹 자원 멤버에 fanout을 처리하는 문제점이 있었다. Meanwhile, in the prior art not applying the present embodiment, when a sender requests a fanout, a problem may arise in a procedure for processing the fanout. For example, a sender can request a fanout to the receiving end using the Group Request Target Members parameter. However, in the prior art in which the receiving end does not separately manage the inaccessible member, the receiving end does not know the fanout target member pointed by the Group Request Target Members parameter and thus fails to process the request of the sender, There was a problem of handling fanout members.

도 20은 일 실시예에 따른 그룹 자원의 Primitive Content를 예시적으로 나타내는 도면이다. 20 is a diagram illustrating exemplary primitive content of a group resource according to an exemplary embodiment of the present invention.

도 20을 참조하면, 전술한 문제점을 본 실시예를 통해서 해결할 수 있음을 보여준다. 예를 들어, 그룹 자원의 멤버에 대한 접속 가능 여부를 M2M 장치가 확인하고, 접속이 불가능한 멤버가 존재하는 경우에 이를 unreachableMemberIDs 속성정보에 별도로 저장 및 관리할 수 있다. 즉, "CSE4/contaner"와 "CSE5/contaner" 그룹 자원 멤버는 접속이 불가능한 상태임을 별도의 속성정보를 통해서 관리할 수 있다. Referring to FIG. 20, it is shown that the above-described problem can be solved through the present embodiment. For example, the M2M device can check whether or not a connection to a member of the group resource is available, and if there is a member that can not be connected, it can be separately stored and managed in the unreachableMemberIDs attribute information. That is, "CSE4 / contaner" and "CSE5 / contaner" group resource members can manage connection state through separate attribute information.

이 경우에 mid 속성정보에는 접속이 가능한 멤버의 식별정보 만이 리스트 형식으로 관리될 수 있다. 또한, 필요에 따라 cnm 속성정보는 접속이 가능한 멤버 식별정보의 개수로 변경되어 저장 및 관리될 수 있다. In this case, only the identification information of the members that can be connected to the mid attribute information can be managed in a list format. Also, the cnm attribute information may be stored and managed by changing the number of connectable member identification information as needed.

이를 통해서, M2M 장치와 발신자는 그룹 자원에 대한 정확한 정보를 확인 및 관리할 수 있어서, 에러 발생 및 예상되지 않는 제어 불가 상황을 미연에 방지할 수 있다. Through this, the M2M device and the caller can confirm and manage accurate information on the group resource, thereby preventing an error occurrence and an unexpected uncontrollable situation.

또한, 수신단이 unreachableMemberIDs를 별도의 속성정보로 관리하고, 그룹 자원이 생성되는 경우에 접속 불가능한 멤버가 있다는 것을 응답 상태 코드에 표시하여 발신자로 전달함으로써, 발신자도 Group Request Target Members 파라미터를 이용하여 접속 불가능한 멤버에 대한 표적 동작 요청이 가능하다. Further, the receiving end manages the unreachableMemberIDs as separate attribute information, and when the group resource is generated, it is indicated in the response status code that there is a member that can not be accessed, and the result is transmitted to the caller. A target action request for a member is possible.

한편, 전술한 그룹 자원의 속성정보 중 consistencyStrategy(csy)가 종래와는 다르게 설정될 수도 있다. Meanwhile, the consistencyStrategy (csy) among the attribute information of the group resource may be set differently from the conventional one.

도 21은 일 실시예에 따른 consistencyStrategy 속성정보에 포함되는 값들을 설명하기 위한 도면이다. FIG. 21 is a view for explaining values included in consistencyStrategy attribute information according to an embodiment.

도 21을 참조하여 예를 들면, 전술한 바와 같이 발신자의 그룹 자원 처리 요청 메시지에 멤버 타입(mt) 정보과 현재 멤버 개수(cnm) 및 csy 정보가 상호 일치하지 않을 수 있다. 예를 들어, 발신자가 그룹 자원 생성을 요청한 CSE 1 내지 5는 모두 컨테이너 자원인데 csy가 3으로 설정되어 혼합(mixed) 타입으로 설정되어 그룹 자원에 대한 생성을 요청하는 요청 메시지가 수신될 수도 있다. Referring to FIG. 21, for example, the member type (mt) information and the current member count (cnm) and csy information may not coincide with each other in the sender's group resource processing request message. For example, CSEs 1 to 5, which are requested by the sender to create a group resource, are all container resources, and csy is set to 3, which is set as a mixed type, and a request message for requesting generation of a group resource may be received.

이 경우, 수신단은 csy가 잘못된 것인지 그룹 자원을 요청한 대상 멤버들이 잘못된 것인지 판단하기 어렵다. 따라서, 수신단이 어떻게 그룹 자원을 생성해야 하는지가 문제될 수 있다. 또한, 발신자도 그룹 자원에 포함되는 멤버들이 모두 접속 가능한지 알 수 없는 상태에서 서로 다른 타입의 멤버를 그룹으로 생성하도록 요청하였으나, 실제 접속 가능한 멤버에 대해서만 생성된 그룹 자원의 멤버들이 동일 타입일 수 있다. 이 경우, csy는 혼합(mixed) 타입이 아니므로 처리 상 문제가 발생할 수 있다. In this case, it is difficult for the receiving end to determine whether the csy is erroneous or the target members requesting the group resource are wrong. Thus, how the receiving end should create the group resource can be a problem. In addition, the caller requests to create groups of different types of members in a state where all the members included in the group resource can not be connected, but members of group resources created only for the actually connectable members may be the same type . In this case, since csy is not a mixed type, a processing problem may occur.

이를 해결하기 위해서, 본 개시에서는 csy에 추가적인 값을 설정할 수 있도록 정의한다. 예를 들어, csy 정보 4에 HOSTING_CSE_DECISION를 할당하여 발신자의 그룹 자원 처리와 관련된 요청에서 불일치 오류가 있는 경우에 수신단이 결정하여 처리하도록 할 수 있다. 즉, HOSTING_CSE_DECISION가 csy에 의해서 지시되는 경우에 수신단은 발신자의 요청 메시지에서 충돌되는 부분에 대해서 수신단 자체적으로 결정하여 처리할 수 있다. In order to solve this problem, the present disclosure defines that additional values can be set in csy. For example, HOSTING_CSE_DECISION may be assigned to csy information 4 to allow the receiving end to determine and process a mismatch error in a request related to the group resource processing of the sender. That is, when the HOSTING_CSE_DECISION is indicated by csy, the receiving end can determine and process the collided part in the sender's request message itself.

이 경우, 해당 처리 결과를 발신자로 알려주기 위한 별도의 응답 상태 코드가 설정될 수도 있다. In this case, a separate response status code may be set to inform the caller of the processing result.

이상에서는 발신자가 그룹 자원의 처리를 요청하는 일 예로 그룹 자원의 생성을 요청하는 경우를 중심으로 설명하였다. 그러나, 처음에 설명한 바와 같이, 그룹 자원의 생성 및 업데이트, 조회, 삭제, 공지를 포함한 모든 그룹 자원 처리 동작에 본 실시예들이 적용될 수 있다. In the above, the case where the caller requests the group resource processing is described as an example of requesting the group resource processing. However, as described at the beginning, the embodiments can be applied to all group resource processing operations including generation and update of group resources, inquiry, deletion, and notification.

아래에서는 요청 메시지가 그룹 자원 업데이트를 요청하는 경우에 대해서 간단히 다시 설명하며, 이상에서 설명한 동작은 생성 또는 업데이트에 동일하게 적용될 수 있다. Hereinafter, the case where the request message requests the update of the group resource is briefly described again, and the operations described above can be equally applied to generation or update.

예를 들어, 그룹 자원 업데이트를 요청하는 요청 메시지가 수신되는 경우에 대해서 전술한 접속 불가능한 멤버가 발생한 경우에 수신단에서는 속성정보 및 파라미터의 내용을 수정하여 관리할 수 있다. 즉, 업데이트 동작을 통해서 특정 그룹 자원에 대한 멤버의 추가 또는 변경이 요청된 경우에 수신단의 M2M 장치는 추가 또는 수정이 요청된 멤버에 대한 접속 가능 여부를 확인하고, 접속이 불가능한 멤버에 대해서는 unreachableMemberIDs 속성정보에 별도로 저장하여 관리한다. 또한, 이에 대한 처리 결과를 지시하는 응답 상태 코드를 설정하여 발신자로 전송할 수 있다. For example, in a case where a request message for requesting update of a group resource is received, if the above-mentioned non-connectable member occurs, the receiving end can modify and manage the attribute information and the contents of the parameter. That is, when the addition or change of a member to a specific group resource is requested through an update operation, the M2M device of the receiving end confirms whether or not the member to which addition or modification is requested is connectable, and the unreachableMemberIDs attribute Information is separately stored and managed. In addition, a response status code indicating the processing result for this can be set and transmitted to the caller.

이와 같이, 요청 메시지가 업데이트를 지시하는 경우에도 전술한 그룹 자원의 추가 속성정보를 이용하여 동일한 형태로 관리가 가능하다.In this way, even when the request message indicates update, it can be managed in the same form using the additional attribute information of the group resource.

한편, unreachableMemberIDs 속성정보에 포함되는 식별(ID) 정보는 수시로 변경될 수도 있다. 따라서, M2M 장치에서 unreachableMemberIDs의 식별 정보를 유지할 수 있는 방법이 필요할 수 있다. Meanwhile, the identification (ID) information included in the unreachableMemberIDs attribute information may be changed from time to time. Thus, a method may be needed to maintain the identity of the unreachableMemberIDs in the M2M device.

이를 위해서, 다음과 같은 방법이 사용될 수 있다. For this, the following method can be used.

그룹 자원의 멤버 식별정보들은 CSEBase, AE 또는 remoteCSE 하위에 존재하는 멤버 자원 ID 목록이다(A memberIDs for <group> resource is a list of member resource IDs which exist under CSEBase, AE or remoteCSE.). <remoteCSE> 및 <AE> 자원은 requestReachability 속성정보를 갖는다(The <remoteCSE> and <AE> resources have specified requestReachability attribute).The member identification information of a group resource is a list of member resource IDs that exist in the CSEBase, AE, or remoteCSE subclass (A memberIDs for <group> resource is a list of member IDs which exist under CSEBase, AE or remoteCSE. The <remoteCSE> and <AE> resources have requestReachability attribute information (The <remoteCSE> and <AE> resources have specified requestReachability attribute).

따라서 memberID 속성정보에 대한 자원은 스템 리소스를 그룹 자원의 Hosting CSE에 대한 <remoteCSE> 또는 <AE> 자원의 접속 가능성 정보를 제공할 수 있다(Therefore any resource for memberIDs can provide the reachability information of its <remoteCSE> or <AE> resource form the stem resource to Hosting CSE of <group> resource).Therefore, the resource for the memberID attribute information can provide the stem resource as connectability information of the <remoteCSE> or <AE> resource for the Hosting CSE of the group resource (for any resource for memberIDs can provide the reachability information of <remoteCSE > or <AE> resource form the stem resource to Hosting CSE of <group> resource).

그룹 자원의 Hosting CSE는 구독을 통해서 접속 가능성 정보를 얻을 수 있다. 즉, 그룹 자원의 Hostong CSE는 각 memberID의 <remoteCSE> 또는 <AE> 자원을 구독한다(A Hosting CSE of <group> resource get reachability information by subscription i.e. the Hostong CSE of <group> resource subscribes <remoteCSE> or <AE> resource of each memberIDs).The Hosting CSE of the group resource can obtain accessibility information through subscription. That is, the Hostong CSE of the group resource subscribes to the <remoteCSE> or <AE> resources of each memberID (A Hosting CSE of <group> resource get reachability information by subscription ie the Hostong CSE of <group> resource subscribes <remoteCSE> or <AE> resource of each memberIDs).

한편, 구독(subscription) 자원의 notificationURI 속성정보는 그룹 자원이다(The notificationURI attribute of the <subscription> resource is <group> resource). 그룹 자원의 CSE 호스팅은 접속 가능성 정보를 업데이트 할 구독 결과 알림에서 접속 가능성 정보를 추출할 수 있다(Hosting CSE of <group> resource extracts reachability information form the notification of subscription result which will be updated information of reachability). Meanwhile, the notificationURI attribute information of the subscription resource is a group resource (the notification resource attribute of the <subscription> resource is <group> resource). The CSE hosting of the group resource can extract the connectivity information from the subscription result notification that will update the connectivity information (Hosting CSE of <group> resource extracts reachability information which will be updated information of reachability).

이를 통해서, unreachableMemberIDs 속성정보 내의 리스트가 수시로 변경되는 경우에도 대응할 수 있다. This makes it possible to cope with the case where the list in the unreachableMemberIDs attribute information is changed occasionally.

이상에서 설명한 바와 같이, 본 실시예에 따르면 M2M 장치는 그룹 자원을 처리함에 있어서 새롭게 추가된 속성정보를 이용하여 오류 발생 가능성을 없애서 안정적인 M2M 시스템 동작이 가능하도록 하는 효과를 제공한다. As described above, according to the present embodiment, the M2M device provides the effect of enabling stable M2M system operation by eliminating the possibility of error occurrence by using newly added attribute information in processing group resources.

이하에서는 도 1 내지 도 21을 참조하여 설명한 본 실시예를 모두 실시할 수 있는 M2M 장치의 구성을 도면을 참조하여 다시 한 번 설명한다. Hereinafter, the configuration of the M2M device capable of performing all of the embodiments described with reference to Figs. 1 to 21 will be described once again with reference to the drawings.

도 22는 일 실시예에 따른 M2M 장치를 설명하기 위한 도면이다. 22 is a view for explaining an M2M device according to an embodiment.

도 22를 참조하면, M2M 장치(2200)는 그룹 자원의 처리 동작을 요청하는 요청 메시지를 수신하는 수신부(2230)와 그룹 자원에 포함되는 하나 이상의 멤버 식별정보에 기초하여 각 멤버의 접속 가능 여부를 확인하고, 접속 가능 여부 결과 및 요청 메시지에 포함되는 정보 중 적어도 하나에 기초하여 응답 상태 코드 정보를 생성하는 제어부(2210) 및 요청 메시지에 대한 응답 상태 코드 정보를 포함하는 응답 메시지를 전송하는 송신부(2220)를 포함할 수 있다. 22, the M2M apparatus 2200 includes a receiving unit 2230 that receives a request message for requesting a processing operation of a group resource, and a receiving unit 2230 that determines whether or not each member can be connected based on at least one member identification information included in the group resource A control unit 2210 for generating response status code information based on at least one of the connection availability result and information included in the request message, and a transmission unit for transmitting a response message including response status code information for the request message 2220).

예를 들어,수신부(2230)는 다른 M2M 장치 또는 다른 M2M 시스템의 노드로부터 그룹 자원의 생성 또는 업데이트를 요청하는 요청 메시지를 수신할 수 있다. 요청 메시지는 멤버 타입 정보, 현재 멤버 개수 정보, 최대 멤버 개수 정보, 상기 하나 이상의 멤버 식별정보, 일관성 전략 정보 및 시행 지시 정보 중 적어도 하나의 정보를 포함할 수 있다. For example, the receiving unit 2230 may receive a request message requesting generation or update of a group resource from another M2M device or a node of another M2M system. The request message may include at least one of member type information, current member count information, maximum member count information, at least one member identification information, consistency strategy information, and execution instruction information.

제어부(2210)는 요청 메시지에 포함되는 파라미터 및 속성정보 등을 이용하여 그룹 자원에 대한 요청된 처리 동작을 수행한다. The control unit 2210 performs a requested processing operation on the group resource using parameters and attribute information included in the request message.

예를 들어, 제어부(2210)는 그룹 자원에 포함될 멤버 각각에 대한 접속 가능 여부를 확인할 수 있다. 접속 가능 여부를 확인을 위해서 제어부(2210)는 각 멤버의 멤버 식별정보를 이용하여 해당 멤버 식별정보의 자원에 접속이 가능한지 확인할 수 있다. For example, the control unit 2210 can confirm whether or not the connection to each of the members to be included in the group resource is possible. In order to confirm whether or not the connection can be made, the control unit 2210 can confirm whether or not the resource of the corresponding member identification information can be accessed by using the member identification information of each member.

제어부(2210)는 접속 가능 여부 결과에 따라 요청 처리 동작을 수행하고 응답 상태 코드 정보를 생성할 수 있다. The control unit 2210 may perform the request processing operation according to the connection availability result and generate the response status code information.

일 예로, 제어부(2210)는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 각각에 대해서 모두 접속 가능한 것으로 판단되면, 그룹 자원의 처리 동작 종류에 따라 그룹 자원을 생성 또는 업데이트하고, 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성할 수 있다. For example, if it is determined that all of the one or more member identification information included in the group resource can be accessed, the control unit 2210 generates or updates the group resource according to the group operation type of the group resource, As an identifier for instructing the user.

다른 예로, 제어부(2210)는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 그룹 자원의 속성정보에 접속 불가능한 멤버 식별정보가 포함되도록 처리하고, 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성할 수 있다. 예를 들어, M2M 장치는 그룹 자원에 포함될 일부 멤버에 대한 접속이 불가능한 경우에 접속이 그룹 자원에 포함될 멤버를 포함하여 그룹 자원을 생성하되, 접속이 불가능한 멤버 식별정보를 별도의 속성정보에 저장하여 그룹 자원을 생성할 수 있다. In another example, when the control unit 2210 determines that at least one member identification information of the at least one member identification information included in the group resource is inaccessible, the control unit 2210 processes the attribute information of the group resource so that the member identification information, The response status code can be generated by setting it as an identifier indicating success in processing. For example, when the connection to some members to be included in the group resource is impossible, the M2M device generates the group resource including the member to be included in the group resource, and stores the member identification information in the separate attribute information Group resources can be created.

또 다른 예로, 제어부(2210)는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 요청 메시지에 포함되는 일관성 전략 정보를 더 이용하여 일관성 전략 정보에 설정된 값에 기초하여 처리 동작을 수행하고 응답 상태 코드를 생성할 수 있다. As another example, if it is determined that at least one member identification information among the one or more member identification information included in the group resource is inaccessible, the control unit 2210 further uses the consistency strategy information included in the request message, Perform processing operations based on the set values, and generate response status codes.

일 예로, 일관성 전략 정보가 멤버 제외로 설정된 경우, 제어부(2210)는 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 접속 불가능한 상태로 판단된 멤버 식별정보를 제외한 나머지 멤버 식별정보만이 포함되도록 그룹 자원을 생성 또는 업데이트하고, 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성할 수 있다. For example, when the consistency strategy information is set as the member excluded, the control unit 2210 determines that the group resource includes only the remaining member identification information excluding the member identification information that is determined to be inaccessible among the at least one member identification information included in the group resource And sets the response status code to an identifier indicating the success of the processing.

다른 예로, 일관성 전략 정보가 그룹 제외로 설정된 경우, 제어부(2210)는 응답 상태 코드를 처리 실패를 지시하는 식별자로 설정하여 생성할 수 있다.As another example, when the consistency strategy information is set to group excluded, the control unit 2210 can generate a response status code by setting the response status code as an identifier indicating failure in processing.

또 다른 예로, 일관성 전략 정보가 혼합(또는 복합)으로 설정된 경우, 제어부(2210)는 요청 메시지에 포함되는 멤버 타입 정보를 더 확인하고, 확인된 멤버 타입 정보의 값에 따라 처리 성공을 지시하는 응답 상태 코드를 구분하여 설정할 수 있다. As another example, when the consistency strategy information is set to a mixed (or composite), the control unit 2210 further confirms the member type information included in the request message, and in response to the value of the confirmed member type information, Status codes can be set separately.

또 다른 예로, 일관성 전략 정보가 혼합으로 설정된 경우, 제어부(2210)는 요청 메시지에 포함되는 시행 지시 정보의 값에 따라 응답 상태 코드를 처리 성공 또는 처리 실패를 지시하는 식별자로 구분하여 설정할 수 있다. As another example, when the consistency strategy information is set to be mixed, the control unit 2210 can set the response status code by dividing the response status code into an identifier indicating success or failure of processing according to the value of the execution direction information included in the request message.

한편, 송신부(2220)는 요청 메시지에 의해서 지시된 요청 동작이 처리 성공 또는 처리 실패가 최종적으로 결정된 경우에 해당 결과를 지시하는 응답 상태 코드를 포함하는 응답 메시지를 발신자로 전송한다. Meanwhile, the transmitter 2220 transmits a response message including a response status code indicating a result of the request operation, which is indicated by the request message, to the sender when the process success or the process failure is finally determined.

전술한 바와 같이, 응답 상태 코드는 각 처리 동작 결과에 따라 상호 구분되게 설정됨으로써, 발신자는 처리 결과를 보다 세분화하여 확인할 수 있다. 한편, 응답 메시지는 요청 메시지와 동일한 요청 식별자를 포함하며, 응답 상태 코드를 포함할 수 있다. As described above, the response status codes are set to be distinguished from each other according to the result of each processing operation, so that the sender can confirm the processing result in more detail. Meanwhile, the response message includes the same request identifier as the request message, and may include a response status code.

이 외에도 제어부(2210)는 본 실시예에 따른 그룹 자원을 처리하는 동작에 필요한 M2M 장치의 동작을 전반적으로 제어한다. 또한, 송신부(2220) 및 수신부(2230)는 다른 M2M 장치, 노드 및 어플리케이션 등과 본 실시예에 따른 데이터, 정보 및 신호를 송수신할 수 있다. In addition, the control unit 2210 generally controls the operation of the M2M device necessary for the operation of processing the group resources according to the present embodiment. The transmitting unit 2220 and the receiving unit 2230 can exchange data, information, and signals according to the present embodiment with other M2M devices, nodes, applications, and the like.

전술한 실시예에서 언급한 표준내용 또는 표준문서들은 명세서의 설명을 간략하게 하기 위해 생략한 것으로 본 명세서의 일부를 구성한다. 따라서, 위 표준내용 및 표준문서들의 일부의 내용을 본 명세서에 추가하거나 청구범위에 기재하는 것은 본 발명의 범위에 해당하는 것으로 해석되어야 한다. The standard content or standard documents referred to in the above-mentioned embodiments constitute a part of this specification, for the sake of simplicity of description of the specification. Therefore, it is to be understood that the content of the above standard content and portions of the standard documents are added to or contained in the scope of the present invention.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

Claims (21)

M2M(Machine to Machine communication) 장치가 그룹 자원을 처리하는 방법에 있어서,
그룹 자원의 처리 동작을 요청하는 요청 메시지를 수신하는 단계;
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보에 기초하여 각 멤버의 접속 가능 여부를 확인하는 단계;
상기 접속 가능 여부 확인 결과 및 상기 요청 메시지에 포함되는 정보 중 적어도 하나에 기초하여 상기 응답 상태 코드 정보를 생성하는 단계; 및
상기 요청 메시지에 대한 상기 응답 상태 코드 정보를 포함하는 응답 메시지를 전송하는 단계를 포함하는 방법.
A method of processing a group resource by a machine-to-machine communication (M2M)
Receiving a request message requesting a group resource processing operation;
Confirming whether or not each member is connectable based on at least one member identification information included in the group resource;
Generating the response status code information based on at least one of the connection confirmation result and the information included in the request message; And
And sending a response message including the response status code information for the request message.
제 1 항에 있어서,
상기 요청 메시지는,
멤버 타입 정보, 현재 멤버 개수 정보, 최대 멤버 개수 정보, 상기 하나 이상의 멤버 식별정보, 일관성 전략 정보 및 시행 지시 정보 중 적어도 하나의 정보를 포함하는 것을 특징으로 하는 방법.
The method according to claim 1,
The request message includes:
Member type information, current member count information, maximum member count information, at least one member identification information, consistency strategy information, and execution instruction information.
제 2 항에 있어서,
상기 접속 가능 여부를 확인하는 단계 이전에,
상기 현재 멤버 개수 정보 및 상기 최대 멤버 개수 정보를 비교하는 단계를 더 포함하되,
상기 현재 멤버 개수가 상기 최대 멤버 개수를 초과하는 경우에 상기 그룹 자원의 처리 동작을 중단하는 것을 특징으로 하는 방법.
3. The method of claim 2,
Before the step of confirming the connection availability,
Comparing the current member count information and the maximum member count information,
And stops the processing of the group resource when the current number of members exceeds the maximum number of members.
제 1 항에 있어서,
상기 그룹 자원은,
현재 멤버 개수 정보, 접속 가능한 멤버 식별정보 및 접속 불가능한 멤버 식별정보 각각에 대한 속성정보를 포함하며,
상기 현재 멤버 개수 정보는, 상기 접속 가능한 멤버 식별정보의 개수에 연동되어 설정되는 것을 특징으로 하는 방법.
The method according to claim 1,
Wherein the group resource comprises:
The current member count information, the connectable member identification information, and the non-connectable member identification information,
Wherein the current member number information is set in association with the number of connectable member identification information.
제 1 항에 있어서,
상기 응답 상태 코드 정보를 생성하는 단계는,
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 각각에 대해서 모두 접속 가능한 것으로 판단되면, 상기 그룹 자원의 처리 동작 종류에 따라 상기 그룹 자원을 생성 또는 업데이트하고,
상기 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 방법.
The method according to claim 1,
The step of generating the response status code information comprises:
And if it is determined that all of the one or more member identification information included in the group resource can be accessed, generating or updating the group resource according to a type of the group resource operation,
And setting the response status code as an identifier indicating a success of the processing.
제 1 항에 있어서,
상기 응답 상태 코드 정보를 생성하는 단계는,
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 상기 그룹 자원의 속성정보에 상기 접속 불가능한 멤버 식별정보가 포함되도록 처리하고,
상기 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 방법.
The method according to claim 1,
The step of generating the response status code information comprises:
If the at least one member identification information of the at least one member identification information included in the group resource is determined to be inaccessible, processing is performed so that the inaccessible member identification information is included in the attribute information of the group resource,
And setting the response status code as an identifier indicating a success of the processing.
제 1 항에 있어서,
상기 응답 상태 코드 정보를 생성하는 단계는,
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 상기 요청 메시지에 포함되는 일관성 전략 정보에 설정된 값에 기초하여 상기 응답 상태 코드 정보를 생성하는 것을 특징으로 하는 방법.
The method according to claim 1,
The step of generating the response status code information comprises:
And generating the response status code information based on the value set in the consistency strategy information included in the request message if at least one member identification information included in the group resource is determined to be inaccessible Lt; / RTI &gt;
제 7 항에 있어서,
상기 응답 상태 코드 정보를 생성하는 단계는,
상기 일관성 전략 정보가 멤버 제외로 설정된 경우, 상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 상기 접속 불가능한 상태로 판단된 멤버 식별정보를 제외한 나머지 멤버 식별정보만이 포함되도록 상기 그룹 자원을 처리하고,
상기 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 방법.
8. The method of claim 7,
The step of generating the response status code information comprises:
Processing the group resource so that only the remaining member identification information other than the member identification information that is determined to be inaccessible among the at least one member identification information included in the group resource is included when the consistency strategy information is set as member exclusion,
And setting the response status code as an identifier indicating a success of the processing.
제 7 항에 있어서,
상기 응답 상태 코드 정보를 생성하는 단계는,
상기 일관성 전략 정보가 그룹 제외로 설정된 경우, 상기 응답 상태 코드를 처리 실패를 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 방법.
8. The method of claim 7,
The step of generating the response status code information comprises:
And generating the response status code as an identifier indicating failure in processing if the consistency strategy information is set to group excluded.
제 7 항에 있어서,
상기 응답 상태 코드 정보를 생성하는 단계는,
상기 일관성 전략 정보가 혼합으로 설정된 경우, 상기 요청 메시지에 포함되는 멤버 타입 정보에 확인하는 단계를 더 포함하되,
상기 멤버 타입 정보의 값에 따라 처리 성공을 지시하는 상기 응답 상태 코드를 구분하여 설정하는 것을 특징으로 하는 방법.
8. The method of claim 7,
The step of generating the response status code information comprises:
Further comprising the step of confirming the member type information included in the request message when the consistency strategy information is set to be mixed,
Wherein the response status code indicating the success of the process is identified and set according to the value of the member type information.
제 7 항에 있어서,
상기 응답 상태 코드 정보를 생성하는 단계는,
상기 일관성 전략 정보가 혼합으로 설정된 경우, 상기 요청 메시지에 포함되는 시행 지시 정보의 값에 따라 상기 응답 상태 코드를 처리 성공 또는 처리 실패를 지시하는 식별자로 구분하여 설정하는 것을 특징으로 하는 방법.
8. The method of claim 7,
The step of generating the response status code information comprises:
If the consistency strategy information is set to be mixed, the response status code is divided into identifiers indicating success or failure of processing according to the value of the execution indication information included in the request message.
그룹 자원을 처리하는 M2M(Machine to Machine communication) 장치에 있어서,
그룹 자원의 처리 동작을 요청하는 요청 메시지를 수신하는 수신부;
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보에 기초하여 각 멤버의 접속 가능 여부를 확인하고,
상기 접속 가능 여부 확인 결과 및 상기 요청 메시지에 포함되는 정보 중 적어도 하나에 기초하여 상기 응답 상태 코드 정보를 생성하는 제어부; 및
상기 요청 메시지에 대한 상기 응답 상태 코드 정보를 포함하는 응답 메시지를 전송하는 송신부를 포함하는 M2M 장치.
1. A machine-to-machine communication (M2M) apparatus for processing group resources,
A receiving unit for receiving a request message requesting a group resource processing operation;
Confirms whether or not each member can be connected based on one or more member identification information included in the group resource,
A control unit for generating the response status code information based on at least one of the connection confirmation result and the information included in the request message; And
And a transmitter for transmitting a response message including the response status code information for the request message.
제 12 항에 있어서,
상기 제어부는,
상기 요청 메시지에 포함되는 현재 멤버 개수 정보 및 최대 멤버 개수 정보를 비교하고, 상기 현재 멤버 개수가 상기 최대 멤버 개수를 초과하는 경우에 상기 그룹 자원의 처리 동작을 중단하는 것을 특징으로 하는 M2M 장치.
13. The method of claim 12,
Wherein,
Compares the current member number information and the maximum member number information included in the request message, and stops the group resource processing operation when the current member number exceeds the maximum number of members.
제 12 항에 있어서,
상기 그룹 자원은,
현재 멤버 개수 정보, 접속 가능한 멤버 식별정보 및 접속 불가능한 멤버 식별정보 각각에 대한 속성정보를 포함하며,
상기 현재 멤버 개수 정보는, 상기 접속 가능한 멤버 식별정보의 개수에 연동되어 설정되는 것을 특징으로 하는 M2M 장치.
13. The method of claim 12,
Wherein the group resource comprises:
The current member count information, the connectable member identification information, and the non-connectable member identification information,
Wherein the current member number information is set in conjunction with the number of connectable member identification information.
제 12 항에 있어서,
상기 제어부는,
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 각각에 대해서 모두 접속 가능한 것으로 판단되면, 상기 그룹 자원의 처리 동작 종류에 따라 상기 그룹 자원을 생성 또는 업데이트하고,
상기 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 M2M 장치.
13. The method of claim 12,
Wherein,
And if it is determined that all of the one or more member identification information included in the group resource can be accessed, generating or updating the group resource according to a type of the group resource operation,
And generates the response status code by setting the response status code as an identifier indicating success of the process.
제 12 항에 있어서,
상기 제어부는,
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 상기 그룹 자원의 속성정보에 상기 접속 불가능한 멤버 식별정보가 포함되도록 처리하고,
상기 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 M2M 장치.
13. The method of claim 12,
Wherein,
If the at least one member identification information of the at least one member identification information included in the group resource is determined to be inaccessible, processing is performed so that the inaccessible member identification information is included in the attribute information of the group resource,
And generates the response status code by setting the response status code as an identifier indicating success of the process.
제 12 항에 있어서,
상기 제어부는,
상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 적어도 하나의 멤버 식별정보가 접속 불가능한 상태로 판단되면, 상기 요청 메시지에 포함되는 일관성 전략 정보에 설정된 값에 기초하여 상기 응답 상태 코드 정보를 생성하는 것을 특징으로 하는 M2M 장치.
13. The method of claim 12,
Wherein,
And generating the response status code information based on the value set in the consistency strategy information included in the request message if at least one member identification information included in the group resource is determined to be inaccessible M2M device characterized by.
제 17 항에 있어서,
상기 제어부는,
상기 일관성 전략 정보가 멤버 제외로 설정된 경우, 상기 그룹 자원에 포함되는 하나 이상의 멤버 식별정보 중 상기 접속 불가능한 상태로 판단된 멤버 식별정보를 제외한 나머지 멤버 식별정보만이 포함되도록 상기 그룹 자원을 처리하고,
상기 응답 상태 코드를 처리 성공을 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 M2M 장치.
18. The method of claim 17,
Wherein,
Processing the group resource so that only the remaining member identification information other than the member identification information that is determined to be inaccessible among the at least one member identification information included in the group resource is included when the consistency strategy information is set as member exclusion,
And generates the response status code by setting the response status code as an identifier indicating success of the process.
제 17 항에 있어서,
상기 제어부는,
상기 일관성 전략 정보가 그룹 제외로 설정된 경우, 상기 응답 상태 코드를 처리 실패를 지시하는 식별자로 설정하여 생성하는 것을 특징으로 하는 M2M 장치.
18. The method of claim 17,
Wherein,
And generates the response status code by setting the response status code as an identifier indicating failure in processing when the consistency strategy information is set as the group exclusion.
제 17 항에 있어서,
상기 제어부는,
상기 일관성 전략 정보가 혼합으로 설정된 경우, 상기 요청 메시지에 포함되는 멤버 타입 정보에 확인하고,
상기 멤버 타입 정보의 값에 따라 처리 성공을 지시하는 상기 응답 상태 코드를 구분하여 설정하는 것을 특징으로 하는 M2M 장치.
18. The method of claim 17,
Wherein,
If the consistency strategy information is set to be mixed, confirms the member type information included in the request message,
And sets the response status code indicating the success of the processing according to the value of the member type information.
제 17 항에 있어서,
상기 제어부는,
상기 일관성 전략 정보가 혼합으로 설정된 경우, 상기 요청 메시지에 포함되는 시행 지시 정보의 값에 따라 상기 응답 상태 코드를 처리 성공 또는 처리 실패를 지시하는 식별자로 구분하여 설정하는 것을 특징으로 하는 M2M 장치.
18. The method of claim 17,
Wherein,
When the consistency strategy information is set to be mixed, the response status code is divided into identifiers indicating success or failure of processing according to values of the execution indication information included in the request message.
KR1020180030158A 2017-03-16 2018-03-15 Methods for processing group resources in M2M system And Apparatuses thereof KR20180106934A (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
KR20170033390 2017-03-16
KR1020170033390 2017-03-16
KR20170044987 2017-04-06
KR1020170044987 2017-04-06
KR20170059490 2017-05-12
KR1020170059490 2017-05-12

Publications (1)

Publication Number Publication Date
KR20180106934A true KR20180106934A (en) 2018-10-01

Family

ID=63877043

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180030158A KR20180106934A (en) 2017-03-16 2018-03-15 Methods for processing group resources in M2M system And Apparatuses thereof

Country Status (1)

Country Link
KR (1) KR20180106934A (en)

Similar Documents

Publication Publication Date Title
JP6240312B2 (en) Method and apparatus for subscription and notification in an M2M communication system
KR102182167B1 (en) Method for modifying m2m service setting and apparatus therefor
CN105723788A (en) Method for subscription and notification in m2m communication system and device therefor
KR20150063906A (en) Methods and apparatuses for searching available device on M2M environment
EP3163798B1 (en) Method for processing request messages in wireless communication system, and device for same
US11095747B2 (en) Method and apparatus for receiving response information in M2M system
US11671514B2 (en) Service layer message templates in a communications network
KR20200009153A (en) Service layer registration
US11533597B2 (en) Method for processing message in M2M system and device therefor
US11290860B2 (en) Method for processing request message in M2M system and device therefor
KR20150067037A (en) The methods and apparatuses of optimization for criteria of subscription in M2M Systems
KR20190002340A (en) Methods for processing a request message in M2M system and Apparatuses thereof
KR20180106934A (en) Methods for processing group resources in M2M system And Apparatuses thereof
KR20150067041A (en) Method and apparatus of controlling registration in M2M system for load balancing
KR20150014345A (en) The method for ensuring operation of multiple nodes
KR102092100B1 (en) Methods for processing M2M communication via public IP And Apparatuses thereof
CN106130874B (en) enterprise integrated information processing method fusing multiple communication modes
KR20190004233A (en) Methods for transmitting a message in M2M system and Apparatuses thereof
KR102077582B1 (en) Methods for processing a request message in M2M system and Apparatuses thereof
KR20170053130A (en) Methods for controlling contact in Machine to Machine communication secure element and Apparatuses thereof
KR20180107752A (en) Methods for processing a request message in M2M system And Apparatuses thereof
KR20160073927A (en) The methods for controlling replacement of devices in M2M system and Apparatuses thereof
KR20200003555A (en) Method and apparatus for processing notification message in event of nitification failture in m2m system
US20240056321A1 (en) Dynamic membership for an application group in a mobile communication system
KR20200028073A (en) Method for non-blocking process in an M2M communication system