KR102077582B1 - Methods for processing a request message in M2M system and Apparatuses thereof - Google Patents

Methods for processing a request message in M2M system and Apparatuses thereof Download PDF

Info

Publication number
KR102077582B1
KR102077582B1 KR1020180070116A KR20180070116A KR102077582B1 KR 102077582 B1 KR102077582 B1 KR 102077582B1 KR 1020180070116 A KR1020180070116 A KR 1020180070116A KR 20180070116 A KR20180070116 A KR 20180070116A KR 102077582 B1 KR102077582 B1 KR 102077582B1
Authority
KR
South Korea
Prior art keywords
response
mode
request message
blocking
request
Prior art date
Application number
KR1020180070116A
Other languages
Korean (ko)
Other versions
KR20180138183A (en
Inventor
김상언
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to PCT/KR2018/006944 priority Critical patent/WO2018236137A1/en
Priority to US16/625,635 priority patent/US11290860B2/en
Publication of KR20180138183A publication Critical patent/KR20180138183A/en
Application granted granted Critical
Publication of KR102077582B1 publication Critical patent/KR102077582B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • H04L51/12
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking

Abstract

본 실시예는 M2M(Machine to Machine Communication) 기술에 관한 것으로, 발신자가 보낸 요청 메시지를 수신자가 처리하기 위한 방법 및 그 장치에 관한 것이다. 일 실시예는 M2M(Machine to Machine communication) 장치가 요청 메시지를 처리하는 방법에 있어서, 응답 유형 파라미터 정보를 포함하는 요청 메시지를 타 M2M 장치로부터 수신하는 단계와 응답 유형 파라미터 정보를 확인하고, 응답 유형 파라미터 정보에 따라 응답 모드를 결정하는 단계 및 결정된 응답 모드에 따라 구분되어 설정되는 응답 상태 코드를 포함하는 응답 메시지를 전송하는 단계를 포함하는 방법 및 장치를 제공한다.The present embodiment relates to a Machine to Machine Communication (M2M) technology, and a method and apparatus for processing a request message sent by a sender. In one embodiment, a machine to machine communication (M2M) device processes a request message, the method comprising receiving a request message including response type parameter information from another M2M device and checking the response type parameter information, A method and apparatus are provided, comprising: determining a response mode according to parameter information; and transmitting a response message including a response status code set separately according to the determined response mode.

Description

M2M 시스템에서 요청 메시지를 처리하는 방법 및 그 장치{Methods for processing a request message in M2M system and Apparatuses thereof}Method and processing a request message in M2M system and Apparatuses

본 실시예는 M2M(Machine to Machine Communication) 기술에 관한 것으로, 발신자가 보낸 요청 메시지를 수신자가 처리하기 위한 방법 및 그 장치에 관한 것이다.The present embodiment relates to a Machine to Machine Communication (M2M) technology, and a method and apparatus for processing a request message sent by a sender.

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

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

특히, IoT 기기의 대중화에 따라서 다수의 사물 통신 장치가 가정 및 직장 내에서 사용되고 있으며, 동일 또는 유사한 기능을 수행하는 사물 통신 장치가 일정 목적을 위해서 다수 전개되는 상황이 존재한다. In particular, according to the popularization of IoT devices, a plurality of things communication devices are used in homes and workplaces, and there are situations in which a plurality of things communication devices that perform the same or similar functions are deployed for a certain purpose.

이러한 상황에서 다수의 사물 통신 장치는 서로 다른 기능과 메시지 처리 능력이 설정될 수 있으며, 이러한 차이점은 사물통신에서 장애가 될 수 있다. 예를 들어, 특정 M2M 장치가 다른 메시지 처리 능력을 가지는 M2M 장치로 특정 방식의 메시지 처리를 요청하는 경우에 요청 메시지를 수신한 M2M 장치는 해당 방식에 대한 처리 절차가 설정되지 않을 수 있다. In such a situation, a plurality of things communication devices may have different functions and message processing capabilities, and this difference may be an obstacle in the things communication. For example, when a specific M2M device requests a specific type of message processing to an M2M device having different message processing capability, the M2M device receiving the request message may not set a processing procedure for the corresponding type.

따라서, M2M 시스템을 구성하는 M2M 장치 간에 원활한 메시지 처리를 위한 통일된 프로토콜이 요구되며, 서로 다른 처리 기능으로 설정된 M2M 장치 간에도 오류의 발생을 방지하면서 메시지가 처리되도록 하는 구체적인 기술이 요구되고 있는 실정이다. Therefore, a unified protocol for smooth message processing between M2M devices constituting the M2M system is required, and a specific technology for processing a message while preventing an error from occurring between M2M devices configured with different processing functions is required. .

전술한 배경에서 안출된 일 실시예는 M2M 장치가 다른 M2M 장치로부터 요청 메시지를 수신한 경우, 해당 요청 메시지를 처리하기 위한 모드에 대한 정보를 다른 M2M 장치로 지시하는 구체적인 방법 및 장치를 제안하고자 한다. In the above-described embodiment, when an M2M device receives a request message from another M2M device, a specific method and device for indicating a mode for processing the request message to another M2M device is proposed. .

또한, 일 실시예는 플렉스 블록킹 응답 유형 파라미터로 설정된 요청 메시지에 대해서 M2M 장치가 선택한 응답 모드에 대한 정보를 추가적인 시스템 부하없이 발원자에게 전달하여 요청 메시지에 대한 응답 메시지가 원활하게 전달되도록 하기 위한 구체적인 방법 및 장치를 제안하고자 한다. In addition, an embodiment provides a method for smoothly delivering a response message for a request message by delivering information on a response mode selected by the M2M device to the originator without additional system load for the request message set as the flex blocking response type parameter. A method and apparatus are proposed.

전술한 과제를 해결하기 위한 일 실시예는 M2M(Machine to Machine communication) 장치가 요청 메시지를 처리하는 방법에 있어서, 응답 유형 파라미터 정보를 포함하는 요청 메시지를 타 M2M 장치로부터 수신하는 단계와 응답 유형 파라미터 정보를 확인하고, 응답 유형 파라미터 정보에 따라 응답 모드를 결정하는 단계 및 결정된 응답 모드에 따라 구분되어 설정되는 응답 상태 코드를 포함하는 응답 메시지를 전송하는 단계를 포함하는 방법을 제공한다.According to an embodiment of the present invention, there is provided a method of processing a request message by a machine to machine communication (M2M) device, the method comprising: receiving a request message including response type parameter information from another M2M device and response type parameter; Checking the information, and determining the response mode according to the response type parameter information and transmitting a response message including a response status code set separately according to the determined response mode.

또한, 일 실시예는 요청 메시지를 처리하는 M2M(Machine to Machine communication) 장치에 있어서, 응답 유형 파라미터 정보를 포함하는 요청 메시지를 타 M2M 장치로부터 수신하는 수신부와 응답 유형 파라미터 정보를 확인하고, 응답 유형 파라미터 정보에 따라 응답 모드를 결정하는 제어부 및 결정된 응답 모드에 따라 구분되어 설정되는 응답 상태 코드를 포함하는 응답 메시지를 전송하는 송신부를 포함하는 M2M 장치를 제공한다. In addition, an embodiment of the present invention relates to a machine to machine communication (M2M) apparatus for processing a request message, comprising: receiving a request message including response type parameter information from another M2M device and confirming response type parameter information, An M2M device includes a control unit for determining a response mode according to parameter information and a transmitter for transmitting a response message including response status codes set separately according to the determined response mode.

본 개시는 M2M 장치가 다른 M2M 장치로부터 요청 메시지를 수신한 경우, 해당 요청 메시지를 처리하기 위한 모드에 대한 정보를 다른 M2M 장치로 지시하여 서로 다른 응답 모드를 지원하는 M2M 장치 간에도 원활하게 데이터 송수신이 진행되도록 하는 효과를 제공한다. When the M2M device receives a request message from another M2M device, the present disclosure instructs another M2M device information about a mode for processing the request message to smoothly transmit and receive data even between M2M devices supporting different response modes. It provides the effect of making progress.

도 1은 M2M 시스템을 상위 레벨의 기능적 관점에서 도시한 도면이다.
도 2는 일 실시예에 따른 M2M 시스템 구성도를 보다 구체적으로 도시한 도면이다.
도 3은 M2M 시스템에서 요청 메시지 전송과 이에 따른 응답 정보를 수신하는 절차를 예시적으로 도시한 도면이다.
도 4는 일 실시예에 따른 공통 서비스 개체의 기능적 구조를 도시한 도면이다.
도 5 내지 도 9는 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 블록킹 모드로 설정된 경우에 요청 파라미터 별 요청 메시지 처리 동작을 설명하기 위한 도면이다.
도 10은 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 동기식 넌블록킹 모드로 설정된 경우에 요청 메시지를 처리하는 방법을 설명하기 위한 도면이다.
도 11은 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 비동기식 넌블록킹 모드로 설정된 경우에 요청 메시지를 처리하는 방법을 설명하기 위한 도면이다. .
도 12는 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 플렉스 블록킹 모드로 설정된 경우에 요청 메시지를 처리함에 있어서 발생되는 문제점을 설명하기 위한 도면이다.
도 13은 일 실시예에 따른 M2M 장치가 요청 메시지를 처리하는 동작을 설명하기 위한 도면이다.
도 14는 일 실시예에 따른 응답 상태 코드를 예시적으로 나타낸 도면이다.
도 15는 일 실시예에 따른 M2M 장치가 응답 모드를 결정하는 동작을 설명하기 위한 도면이다.
도 16은 일 실시예에 따른 응답 모드 결정에 따른 응답 모드 별 요청 메시지 처리 절차를 설명하기 위한 도면이다.
도 17은 일 실시예에 따른 M2M 장치의 구조를 도시한 도면이다.
1 is a diagram illustrating an M2M system from a high level functional point of view.
2 is a diagram illustrating in more detail an M2M system configuration according to an embodiment.
3 is a diagram exemplarily illustrating a procedure of transmitting a request message and corresponding response information in an M2M system.
4 illustrates a functional structure of a common service entity according to an embodiment.
5 to 9 are diagrams for describing a request message processing operation for each request parameter when the response type parameter of the request message is set to the blocking mode.
FIG. 10 is a diagram for describing a method of processing a request message when the response type parameter of the request message is set to the synchronous non-blocking mode according to an embodiment.
FIG. 11 is a diagram for describing a method of processing a request message when the response type parameter of the request message is set to the asynchronous non-blocking mode according to an embodiment. .
FIG. 12 is a diagram illustrating a problem occurring in processing a request message when the response type parameter of the request message is set to the flex blocking mode. FIG.
FIG. 13 is a diagram for describing an operation of processing a request message by an M2M device according to one embodiment; FIG.
14 is a diagram illustrating a response status code according to an embodiment.
15 is a diagram for describing an operation of determining, by an M2M device, a response mode, according to an exemplary embodiment.
16 is a diagram for describing a procedure of processing a request message for each response mode according to a response mode determination, according to an embodiment.
17 is a diagram illustrating a structure of an M2M device according to one embodiment.

이하, 본 발명의 일부 실시 예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조 부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are used as much as possible even though they are shown in different drawings. In addition, in describing the present invention, if it is determined that the detailed description of the related well-known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In addition, in describing the component of this invention, terms, such as 1st, 2nd, A, B, (a), (b), can be used. These terms are only for distinguishing the components from other components, and the nature, order or order of the components are not limited by the terms. If a component is described as being "connected", "coupled" or "connected" to another component, that component may be directly connected or connected to that other component, but there is another component between each component. It will be understood that may be "connected", "coupled" or "connected".

본 발명의 실시예들은 사물 통신을 중심으로 설명한다. 사물 통신은 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 based on the communication of things. IoT can be variously referred to as Machine to Machine communication (M2M), Machine Type Communication (MTC), Internet of Things (IoT), Smart Device Communication (SDC), or Machine Oriented Communication. Can be. Recently, oneM2M presents many technical matters related to IoT. The thing communication refers to various communication in which a communication is made without a person intervening in a communication process. IoT is the energy sector, the enterprise sector, the healthcare sector, the public services sector, the residential sector, the retail sector, the transportation sector, and others. It is divided into fields. The present invention includes the above fields, and can be applied to other fields.

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

애플리케이션 개체(Application Entity, AE)(110)는 종단간(end-to-end) M2M 솔루션을 위한 응용 서비스 로직을 제공한다. 일 예로 차량 등의 집단적인 추적 애플리케이션(fleet tracking application), 원격 혈당 감시 애플리케이션(remote blood sugar monitoring application), 또는 원격 전력 검침과 제어 애플리케이션(remote power metering and controlling application) 등이 될 수 있다. Application Entity (AE) 110 provides application service logic for an end-to-end M2M solution. For example, it may be a collective 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)분야, 그리고 기타 분야 등에서 공통적으로 필요한 집합적인 서비스 기능이다.Common Services Entity (CSE) 120 includes energy, enterprise, healthcare, public services, residential, retail ) Collective service functions that are commonly required in the field of 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 to other functions through Reference Points Mca and Mcc, and uses the base network service using the reference point Mcn. An example of a 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 Common Service Functions (CSFs). Some of the CSFs in the CSE of oneM2M node become mandatory and some may be optional. Similarly, sub-functions within the CSF may be mandatory or optional.

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

참조점(Reference Points)은 공통 서비스 개체(CSE)에서 지원되는 것으로 Mca 참조점은 애플리케이션 개체와 공통 서비스 개체 간의 사물통신을 제공하기 위한 참조점이다. Mcc 참조점은 두 공통 서비스 개체 간의 통신 사물통신을 제공하기 위한 참조점이다. Mcn 참조점은 공통 서비스 개체와 하나의 네트워크 서비스 개체간의 사물통신을 제공하기 위한 참조점이다.Reference Points are supported by Common Service Entities (CSEs), and Mca Reference Points are reference points for providing communication between application entities and Common Service Entities. The Mcc reference point is a reference point for providing communication thing communication between two common service entities. Mcn reference point is a reference point for providing the communication between the 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. Services provided through the Mca reference point depend on the functionality provided by the common service entity, and the application entity and the common service entity can exist in the same physical entity or in separate physical entities. The Mcc reference point makes such use available to common service entities that wish to use services of other common service entities that provide the necessary functionality. The services provided through the Mcc reference point depend on the functionality provided by the common service entity. Mcc reference points may be supported between different M2M nodes. The Mcn reference point enables such use for common service entities that wish to use service entities in the underlying network that provide the necessary functionality, which provides services other than transport and connectivity. An instance of the Mcn reference point is implemented dependent on the services provided by the underlying network. Information exchange between two physical M2M nodes may use transport and connectivity services of an underlying network that provides basic services.

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

도 2는 일 실시예에 따른 M2M 시스템 구성도를 보다 구체적으로 도시한 도면이다. 2 is a diagram illustrating in more detail an M2M system configuration according to an 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 essential for providing M2M communication. The base node 250 is composed of a base node application object (AE) 252 and a base node common service object (CSE) 254. The base node common service entity 254 is configured using various resources. 252 and 254 are distinguished through Mca reference points, and are required for MSOs, especially request messages for creating, deleting, updating, retrieving, and notifying scheduler resources. It is used to construct and process 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 M2M communication or Internet of Things, IoT communication functions of the application service node 220 and the base node 250. The relay node 200 includes a relay node application object 202 and a relay node common service object 204. The relay node common service entity 204 is configured using various resources. 202 and 204 are distinguished using Mca reference points, 254 and 204 are distinguished using Mcc reference points, and messages necessary for MOT communication, especially scheduler resource creation, deletion, 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 be composed of an application object 212 and a relay node common service object 214. The application object 212 handles application functions required for the purpose of the device. The common service object 214 of the application service node 210 is configured using various resources. 212 and 214 are distinguished by Mca reference points, 214 and 254 are distinguished by Mcc reference points, and messages necessary for MOT, in particular, create, delete, update, and Used to construct and process request and reply messages to retrieve and notify. On the other hand, the application service node 220 may perform a thing communication function with the base node 250 through the relay node (200). The difference between 210 and 220 is that the communication interface constituting the node is different. For example, 220 communicates with 100 through 200 using an interface capable of ultra short-range communication such as Bluetooth, ZigBee, Zwave, and WiFi. In contrast, the 210 communicates with the 250 using a communication interface such as 3G, LTE, 5G, Ethernet, Gigabit Ethernet, or ADSL.

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

도 2에서 설명한 바와 같이, M2M 시스템은 기반노드, 중계노드, 응용 서비스 노드 및 응용전용 노드 중 적어도 하나 이상의 노드로 구성될 수 있으며, 각 노드는 CSE 또는 AE를 포함하여 구성될 수 있다. CSE와 AE는 각각의 참조점을 통해서 타 CSE 또는 AE와 통신을 수행할 수 있다. As described in FIG. 2, the M2M system may be configured with at least one or more of a base node, a relay node, an application service node, and an application-only node, and each node may be configured to include a CSE or an AE. The CSE and the AE may 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 M2M devices, and may be CSE or AE as described above. In addition, sender 300 and receiver 310 may be nodes or servers or devices that include 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 parameter, the To parameter, the Request Identifier parameter, and the Operation parameter are included as essential parameters. The From parameter contains information about the originator sending the message, and the To parameter contains information about the receiver receiving the message. The Request Identifier parameter contains unique identification information for identifying the corresponding request message. In addition, the Operation parameter includes information for identifying the operation requested in the request message. The operation parameter may be set to any 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, an optional parameter of Response Type can block the receiver's handling, blockingRequest, non-blockingRequestSynch, non-BlockingRequestAsynch, and flexBlocking. Can be specified.

수신자(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 may check whether the sender 300 that has sent the request message has the authority for the request. If it is determined that the sender 300 has the authority for the request, the sender 300 processes the request message after checking 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 creation and a subscription function is set to instruct the sender 300 when a change, addition, or deletion of specific data occurs, the receiver 310 receives subscription information. When an event such as a change, addition, or deletion occurs in the data corresponding to the subscription information, the caller 300 may be notified to the sender 300.

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

도 4는 본 발명의 일 실시예에 의한 공통 서비스 개체를 구성하는 도면이다. 도 4에서는 식별 정보의 처리 기능을 포함한다.4 is a diagram for configuring a common service entity according to an embodiment of the present invention. 4 includes a processing function of 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 entity can be summarized as shown in FIG. 4 by addressing & identification, application and service layer management, data management & storage, location, Security, Communication Management / Delivery Handling, Registration, Service Session Management, Device Management, Subscription / Notification, Connection Management (Connectivity Management), Discovery (Discovery), Service Charging / Accounting, Network Service Exposure / Service Execution and Triggering, Group Management.

물론, 상기 기능 이외에도 시맨틱스(Semantics), 데이터 분석(Data Analytics), 어플리케이션 인에이블먼트(Application Enablement), 네트워크 서비스 기능 관리(Network Service Function Management)등도 포함할 수 있다. Of course, in addition to the above functions, it may also include semantics, data analytics, application enablement, network service function management, and the like.

각각의 기능에 대해 살펴보면 다음과 같다.Each function is 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 the AEs and CSEs of ADN, ASN, MN, and IN, including the configuration, troubleshooting, upgrade capabilities, 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 different CSEs, AEs, and NSEs. The CMDH is responsible for storing the communication request at what time and with which communication connection to communicate (CSE-CSE communication), when it is needed and when it is authorized, and when delivery of the communication is postponed. CMDH is performed according to the provisioned policies and delivery handling parameters specific to each request for communication. In communication using the underlying network data transmission service, the underlying network may support the same forwarding handling function. In this case, the CMDH can use the underlying network and can act as a front end to access the same forwarding handling capabilities 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 entities. The DMR CSF provides data storage space and the ability to coordinate it. It also includes the ability to collect and combine large amounts of data, convert the data into a specific format, or store the data for analysis and semantic processing. "Data" may refer to raw data that is transparently extracted from an M2M device or may mean data that has been processed or calculated or combined by an M2M entity. Collecting large amounts of data constitutes what is known as big data storage.

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

DIS(디스커버리) CSF는 주어진 범위와 주제 내에서 허락된 권한(M2M 서비스 구독에서 허락된 것을 포함)과 주어진 범위 내에서 오리지네이터(Originator)로부터의 요청에 해당하는 정보와 리소스를 검색하는 것을 책임진다. 오리지네이터는 어플리케이션 또는 다른 CSE가 될 수 있다. 검색의 범위는 하나의 CSE가 되거나 다수의 CSE가 될 수 있다. 디스커버리 결과는 오리지네이터에게 리턴된다.DIS The CSF is responsible for retrieving information and resources that correspond to the permissions granted within a given scope and subject matter (including those granted by M2M service subscriptions) and requests from the originator within a given scope. Lose. The originator can be an application or another CSE. The scope of the search can be one CSE or multiple CSEs. The discovery result is returned to the originator.

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

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

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

REG(Registration)는 어플리케이션 또는 다른 CSE가 CSE에 등록하도록 핸들링하는 것을 담당하는데, 이는 CSE에서 제공되는 서비스를 사용하려는 개체의 등록을 허락하기 위함이다. REG CSF는 CSE에 대한 디바이스의 등록 뿐만 아니라 디바이스의 특성/속성의 등록도 핸들링한다.REG (Registration) is responsible for handling the application or other CSE to register with the CSE, to allow the registration of the entity to use the services provided by the CSE. The REG CSF handles the registration of the device's properties / properties as well as the device's registration with the CSE.

SEC(Security)는 주의를 요하는(센서티브) 데이터 핸들링 기능, 보안 운영 기능, 보안 결합 설정 기능, 권한 부여와 액세스 제어 기능, 식별 보호 기능을 제공한다. SEC CSF가 제공하는 센서티브 데이터 핸들링 기능은 저장과 조작 과정에서 보안이 필요한 로컬 크리덴셜을 보호하는 기능을 제공한다. 센서티브 데이터 핸들링 기능 역시 보안 알고리즘을 사용한다. 이 기능은 다양한 암호기법이 분리된 보안 환경을 지원한다. 보안 운영 기능은 다음의 기능을 제공하는데, 먼저 센서티브 데이터 핸들링 기능에 의해 지원되도록 전용된 보안 환경의 생성과 운영 기능을 제공한다. 또한 보안 환경에서 보호되는 루트 크리덴셜의 포스트 프로비저닝을 지원하며, M2M 서비스와 M2M 어플리케이션 서비스와 관련된 구독의 프로비저닝과 운영을 지원한다. 보안 결합 설정 기능은 M2M 노드들 간의 보안 결합을 설정하여 기밀성, 통합성, 인증, 권한 부여가 가능하도록 한다. 권한 부여와 액세스 제어 기능은 프로비전된 보안 정책과 할당된 롤에 따라 권한 부여된 개체로의 서비스와 데이터 접근을 제어한다. 개체의 유일한 식별자가 권한 부여에 사용되며, 식별 보호 기능은 개체 또는 사용자와 결합된 실제 식별 정보와 링크되지 않도록 임시의 식별자로 기능하는 익명을 제공할 수 있다.Security (SEC) provides sensitive data handling, security operations, security associations, authorization and access control, and identity protection. Sensitive data handling provided by the SEC CSF provides protection for local credentials that require security during storage and manipulation. Sensitive data handling also uses security algorithms. This feature supports a secure environment with various cryptographic techniques. The security operations function provides the following functions: first, it creates and operates the security environment dedicated to be supported by the sensitive data handling function. 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 configuration feature establishes a security association between M2M nodes to enable confidentiality, integration, authentication, and authorization. Authorization and access control controls service and data access to authorized objects according to provisioned security policies and assigned roles. The unique identifier of the entity is used for authorization, and identity protection can provide anonymity to act as a temporary identifier so that it is not linked to the actual identifying 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 the charging function of the service layer. It supports different charging models including online charging and offline charging. The SCA CSF secures billable events, stores information, and generates billing records and billing information. The SCA CSF can interact with the charging 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 the charging information for charging.

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와도 통신한다.Service Session Management (SSM) CSF manages M2M service sessions, which 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. The management of M2M service sessions includes session state management, session authentication and establishment, management of underlying network connections and services associated with the session, coordination of session expansion of the CSE's multi-hop cse, exchange of information between session ends, and session termination. Include. The SSM CSF uses the CMDH CSF in the local CSE to send and receive messages to / from the next hop CSE or application within a given M2M service session. The SSM CSF uses the SEC CSF for session management related to the security credentials and authentication of session participants. 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 keep subscriptions and tracks changes in resources (eg, deletion of resources). Subscriptions to resources are initiated by the M2M AE or CSE, and access rights are granted by the hosting CSE. During an active subscription, the hosting CSE sends a notification to the address the resource subscriber wants to receive when a change in the subscribed resource occurs.

도 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) 등이 있다.Meanwhile, an identifier applicable to the present embodiments will be described as follows. M2M identifiers include M2M Service Provider Identifier (M2M-SP-ID), Application Instance Identifier (App-Inst-ID), Application Identifier (App-ID), CSE Identifier (CSE-ID), M2M-Node-ID (M2M Node Identifier / Device Identifier), M2M Service Subscription Identifier (M2M-Sub-ID), and Request Identifier (M2M-Request-ID).

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

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

또한, 본 명세서에서의 발신자, 발원자, 오리지네이터 등은 메시지를 전송하는 M2M 장치를 의미하는 것이며, 수신자, 리시버, 호스팅 CSE 등은 메시지를 수신하는 M2M 장치를 의미할 수 있다. 다만, 수신자도 응답 메시지를 전송할 수 있고, 발신자도 응답 메시지를 수신할 수 있다. 따라서, 특정 절차에서 요청 메시지를 최초로 전송하는 M2M 장치를 발신자 또는 Originator 또는 발원자로 기재하여 설명하고, 전송된 요청 메시지를 수신하는 M2M 장치를 수신자 또는 Receiver 또는 Hosting CSE로 기재하여 설명한다. 물론, 전술한 바와 같이, 발신자와 수신자 모두 메시지를 송수신할 수 있다. In addition, the sender, originator, originator, etc. in the present specification means an M2M device for transmitting a message, the receiver, receiver, hosting CSE, etc. may mean an M2M device for receiving the message. However, the receiver can also send a response message, and the sender can also receive the response message. Therefore, the M2M device that initially transmits a request message in a specific procedure will be described as a sender or originator or originator, and the M2M device that receives the transmitted request message will be described as a receiver, a receiver, or a Hosting CSE. Of course, as described above, both the sender and the receiver can send and receive messages.

또한, 본 명세서에서의 M2M 장치는 전술한 AE, CSE, NSE 등을 포함하는 다양한 노드를 의미하는 명칭으로 기재하여 설명하며, 이해의 편의를 위하여 호스팅 CSE를 중심으로 설명을 진행하나 이에 한정되는 것은 아니다. 즉, M2M 장치는 M2M 시스템을 구성하는 일 구성 장치를 의미하며, 요청 메시지를 수신하여 이에 대한 처리를 수행하고 응답 메시지를 전송하는 다양한 노드, 장치, 개체 등을 의미한다. In addition, the M2M device in the present specification will be described by describing the various nodes including the aforementioned AE, CSE, NSE, etc., and for the sake of understanding, the description will be made based on the hosting CSE. no. That is, the M2M device refers to a component device constituting the M2M system, and refers to various nodes, devices, entities, etc. that receive a request message, perform processing on the request message, and transmit a response message.

발신자는 수신자 측에 특정 동작을 요청하기 위한 요청 메시지를 전송할 수 있다. 전술한 도 3과 같이 발신자는 요청 메시지를 전송할 때, 필수적 파라미터와 선택적 파라미터를 요청 메시지에 포함시킬 수 있다. 예를 들어, 송신측 파라미터와 수신측 파라미터, 동작 파라미터와 요청 식별 파라미터는 필수적으로 포함된다. 또한, 선택적으로 응답 유형 파라미터가 포함될 수 있다. The sender can send a request message for requesting a specific action on the receiver side. As described above with reference to FIG. 3, when the sender transmits the request message, the sender may include the essential parameters and optional parameters in the request message. For example, the sender parameter, the receiver parameter, the operation parameter and the request identification parameter are essentially included. In addition, a response type parameter may optionally be included.

즉, 수신측 M2M 장치는 아래 표 1과 같이 4가지 값 중 어느 하나의 값으로 설정된 응답 유형 파라미터를 포함하는 요청 메시지를 수신할 수 있다. That is, the receiving side M2M device may receive a request message including a response type parameter set to any one of four values as shown in Table 1 below.

응답유형 파라미터 값Response Type Parameter Value 지시 응답 유형Instruction response type 1One nonBlockingRequestSynchnonBlockingRequestSynch 22 nonBlockingRequestAsynchnonBlockingRequestAsynch 33 blockingRequestblockingRequest 44 flexBlockingflexBlocking

이 외에도, 요청 메시지에는 필요에 따라 컨텐츠 정보가 포함될 수도 있다. In addition, the request message may include content information as necessary.

수신측 M2M 장치는 요청 메시지가 수신되면, 요청 메시지의 응답 유형 파라미터가 존재하는지 확인한다. 만약, 응답 유형 파라미터가 존재하지 않는 경우에 해당 요청 메시지에 대한 응답 모드는 블록킹 모드로 결정할 수 있다. When the requesting M2M device receives the request message, the receiving side M2M device checks whether the response type parameter of the request message exists. If the response type parameter does not exist, the response mode for the corresponding request message may be determined as the blocking mode.

이와 달리, 수신측 M2M 장치는 요청 메시지에 응답 유형 파라미터가 존재하는 경우, 해당 응답 유형 파라미터 값에 따라 응답 메시지를 발신자로 전송할 수 있다. 예를 들어, 응답 메시지는 응답 상태 코드 파라미터와 요청 식별 파라미터를 포함할 수 있다. 요청 식별 파라미터는 요청 메시지의 요청 식별 파라미터와 동일한 값으로 요청 메시지에 대한 응답 메시지임을 나타낼 수 있다. In contrast, when the response type parameter exists in the request message, the receiving side M2M device may transmit the response message to the sender according to the response type parameter value. For example, the response message may include a response status code parameter and a request identification parameter. The request identification parameter may indicate that it is a response message to the request message with the same value as the request identification parameter of the request message.

구체적으로, 응답 상태 코드는 아래 표 2와 같이 설정될 수 있다. 예를 들어, 요청 메시지가 응답 유형(Response Type) 파라미터를 포함하고 있는 경우, 응답 유형 파라미터의 값이 동기화된 넌블록킹(nonBlockingRequestSynch) 또는 비동기화된 넌블록킹(nonBlockingRequestAsynch)일 때, M2M 장치는 해당 요청 메시지에 대한 처리 동작을 완료하기 전에 발신자에게 해당 요청 메시지를 정상적으로 수신하여 처리하고 있다는 것을 알리기 위해서 아래 표 2의 응답 상태 코드를 포함하는 응답 메시지를 전송할 수 있다. 한 응답 상태 코드 값이다.Specifically, the response status code may be set as shown in Table 2 below. For example, if the request message includes a Response Type parameter, the M2M device may request that request when the value of the Response Type parameter is either synchronized nonblockingRequestSynch or nonblockingRequestAsynch. In order to inform the sender that the request message is normally received and processed before completing the processing of the message, the response message including the response status codes shown in Table 2 below may be transmitted. One response status code value.

응답 상태 코드Response status code 지시 정보Instruction information 10001000 ACCEPTEDACCEPTED

이하에서는 요청 메시지의 동작 파라미터에 따른 발신자와 수신자의 동작 처리 과정을 보다 상세하게 도면을 참조하여 설명한다. 이하에서 설명하는 도면들은 수신측에서 처리에 성공한 것을 가정한 것으로, 수신측에서 처리가 실패한 경우에는 처리 실패를 지시하는 에러 코드를 포함하여 응답 메시지가 전송될 수 있다. 아울러, 위에서 설명한 필수적 파라미터 등은 이하에서는 필요에 따라 생략할 수 있다. 다만, 필수적 파라미터는 이해의 편의를 위해서 생략된 것으로 요청 메시지 또는 응답 메시지에 필수적으로 포함된다. Hereinafter, the operation of the sender and the receiver according to the operation parameters of the request message will be described in detail with reference to the drawings. The drawings to be described below assume that the processing is successful at the receiving side. When the processing fails at the receiving side, a response message including an error code indicating the processing failure may be transmitted. In addition, the essential parameters described above may be omitted below as necessary. However, essential parameters are omitted for convenience of understanding and are included in the request message or the response message.

도 5 내지 도 9는 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 블록킹 모드로 설정된 경우에 요청 파라미터 별 요청 메시지 처리 동작을 설명하기 위한 도면이다. 5 through 9 are diagrams for describing an operation of processing a request message for each request parameter when the response type parameter of the request message is set to the blocking mode.

아래에서의 도 5 내지 도 9의 요청 메시지는 응답 유형 파라미터를 포함하지 않거나, 블록킹 모드를 지시하는 값이 포함된 경우를 가정하여 설명한다. 즉, 요청 메시지를 수신자가 블록킹 모드 방식으로 처리하는 경우를 설명한다. The following request message of FIGS. 5 to 9 will be described on the assumption that a response type parameter is not included or a value indicating a blocking mode is included. That is, the case where the receiver processes the request message in the blocking mode method will be described.

도 5를 참조하면, 발신자(300)는 블록킹(blockingRequest) 모드에 의한 자원 생성(Create) 동작을 요청하는 요청 메시지를 전송할 수 있다(S510). 예를 들어, 요청 메시지는 전술한 동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 필수적으로 포함하며, 생성하고자 하는 자원 타입 파라미터와 컨텐츠 정보를 포함할 수 있다. 여기서, 동작 파라미터는 생성을 나타내는 값으로 설정된다. Referring to FIG. 5, the sender 300 may transmit a request message for requesting a resource creation operation in a blockingRequest mode (S510). For example, the request message may essentially include the above-described operating parameters, receiving parameters, transmitting parameters, and request identification parameters, and may include resource type parameters and content information to be generated. Here, the operation parameter is set to a value indicating generation.

수신자(310)는 요청 메시지를 수신하면, 요청된 동작 파라미터의 동작을 수행하여 자원을 생성하고, 그 결과를 지시하는 응답 상태 코드 파라미터와 요청 식별 파라미터를 포함하는 응답 메시지를 발신자(300)로 전송한다(S520). 응답 메시지의 요청 식별 파라미터는 요청 메시지의 요청 식별 파라미터와 동일한 값으로 설정될 수 있다. When the receiver 310 receives the request message, the receiver 310 generates a resource by performing an operation of the requested operation parameter, and transmits a response message including the response status code parameter and the request identification parameter indicating the result to the sender 300. (S520). The request identification parameter of the response message may be set to the same value as the request identification parameter of the request message.

또한, 수신자(310)는 생성 요청에 대한 처리가 성공한 경우에 이를 지시하는 응답 상태 코드의 값(예를 들어, 2001)을 설정하여 응답 메시지에 포함하여 전송할 수 있다. In addition, the receiver 310 may set a value (eg, 2001) of a response status code indicating this when the processing for the generation request is successful, and transmit the message in the response message.

도 6을 참조하면, 발신자(300)는 블록킹(blockingRequest) 모드에 의한 자원 조회(Retrieve) 동작을 요청하는 요청 메시지를 전송할 수 있다(S610). 예를 들어, 요청 메시지는 전술한 동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 필수적으로 포함할 수 있다. 여기서, 동작 파라미터는 조회를 나타내는 값으로 설정된다. Referring to FIG. 6, the sender 300 may transmit a request message for requesting a resource retrieval operation in a blockingRequest mode (S610). For example, the request message may essentially include the above-described operating parameters, receiving parameters, sending parameters and request identification parameters. Here, the operation parameter is set to a value representing the inquiry.

수신자(310)는 요청 메시지를 수신하면, 요청된 동작 파라미터의 동작을 수행하여 조회 동작을 수행하고, 그 결과를 지시하는 응답 상태 코드 파라미터와 요청 식별 파라미터를 포함하는 응답 메시지를 발신자(300)로 전송한다(S620). 응답 메시지의 요청 식별 파라미터는 요청 메시지의 요청 식별 파라미터와 동일한 값으로 설정될 수 있다. When the receiver 310 receives the request message, the receiver 310 performs an inquiry operation by performing the operation of the requested operation parameter, and sends a response message including the response status code parameter and the request identification parameter indicating the result to the sender 300. It transmits (S620). The request identification parameter of the response message may be set to the same value as the request identification parameter of the request message.

또한, 수신자(310)는 조회 요청에 대한 처리가 성공한 경우에 이를 지시하는 응답 상태 코드의 값(예를 들어, 2000)을 설정하여 응답 메시지에 포함하여 전송할 수 있다. In addition, the receiver 310 may set a value (for example, 2000) of a response status code indicating this when the processing of the inquiry request is successful, and may include it in the response message and transmit it.

도 7을 참조하면, 발신자(300)는 블록킹(blockingRequest) 모드에 의한 자원 수정(Update) 동작을 요청하는 요청 메시지를 전송할 수 있다(S710). 예를 들어, 요청 메시지는 전술한 동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 필수적으로 포함하며, 컨텐츠 정보를 포함할 수 있다.할 수 있다. 여기서, 동작 파라미터는 수정을 나타내는 값으로 설정된다. Referring to FIG. 7, the sender 300 may transmit a request message for requesting a resource update operation by a blocking request mode (S710). For example, the request message may essentially include the above-described operating parameter, receiving parameter, transmitting parameter, and request identification parameter, and may include content information. Here, the operating parameter is set to a value indicating modification.

수신자(310)는 요청 메시지를 수신하면, 요청된 동작 파라미터의 동작을 수행하여 수정 동작을 수행하고, 그 결과를 지시하는 응답 상태 코드 파라미터와 요청 식별 파라미터 및 컨텐츠 정보를 포함하는 응답 메시지를 발신자(300)로 전송한다(S720). 응답 메시지의 요청 식별 파라미터는 요청 메시지의 요청 식별 파라미터와 동일한 값으로 설정될 수 있다. When the receiver 310 receives the request message, the receiver 310 performs an operation of modifying the requested operation parameter, and sends a response message including a response status code parameter, a request identification parameter, and content information indicating the result. 300) (S720). The request identification parameter of the response message may be set to the same value as the request identification parameter of the request message.

또한, 수신자(310)는 수정 요청에 대한 처리가 성공한 경우에 이를 지시하는 응답 상태 코드의 값(예를 들어, 2004)을 설정하여 응답 메시지에 포함하고, 수정된 자원에 대한 정보를 컨텐츠 정보에 포함하여 전송할 수 있다. In addition, the receiver 310 sets a value of the response status code (for example, 2004) indicating that the processing of the modification request is successful, and includes it in the response message, and includes information about the modified resource in the content information. Can be transmitted.

도 8을 참조하면, 발신자(300)는 블록킹(blockingRequest) 모드에 의한 자원 삭제(Delete) 동작을 요청하는 요청 메시지를 전송할 수 있다(S810). 예를 들어, 요청 메시지는 전술한 동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 필수적으로 포함할 수 있다. 여기서, 동작 파라미터는 삭제를 나타내는 값으로 설정된다. Referring to FIG. 8, the sender 300 may transmit a request message for requesting a resource delete operation in a blocking request mode (S810). For example, the request message may essentially include the above-described operating parameters, receiving parameters, sending parameters and request identification parameters. Here, the operation parameter is set to a value indicating deletion.

수신자(310)는 요청 메시지를 수신하면, 요청된 동작 파라미터의 동작을 수행하여 자원을 삭제하고, 그 결과를 지시하는 응답 상태 코드 파라미터와 요청 식별 파라미터 및 컨텐츠 정보를 포함하는 응답 메시지를 발신자(300)로 전송한다(S820). 응답 메시지의 요청 식별 파라미터는 요청 메시지의 요청 식별 파라미터와 동일한 값으로 설정될 수 있다. When the receiver 310 receives the request message, the receiver 310 performs an operation of the requested operation parameter to delete a resource, and sends a response message including a response status code parameter, a request identification parameter, and content information indicating the result. (S820). The request identification parameter of the response message may be set to the same value as the request identification parameter of the request message.

또한, 수신자(310)는 삭제 요청에 대한 처리가 성공한 경우에 이를 지시하는 응답 상태 코드의 값(예를 들어, 2002)을 설정하여 응답 메시지에 포함하여 전송할 수 있다. In addition, the receiver 310 may set a value (for example, 2002) of a response status code indicating this when the processing for the deletion request is successful, and may include the response message in a response message.

도 9를 참조하면, 발신자(300)는 블록킹(blockingRequest) 모드에 의한 자원 통지(Notify) 동작을 요청하는 요청 메시지를 전송할 수 있다(S910). 예를 들어, 요청 메시지는 전술한 동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 필수적으로 포함하며, 통지하는 컨텐츠 정보를 포함할 수 있다. 여기서, 동작 파라미터는 통지(또는 알림)를 나타내는 값으로 설정된다. Referring to FIG. 9, the sender 300 may transmit a request message for requesting a resource notification operation in a blocking request mode (S910). For example, the request message may essentially include the above-described operating parameter, receiving parameter, transmitting parameter, and request identification parameter, and may include content information for notifying. Here, the operation parameter is set to a value indicating a notification (or a notification).

수신자(310)는 요청 메시지를 수신하면, 요청된 동작 파라미터에 따른 통지 컨텐츠를 수신하고, 정상 수신 여부 또는 해당 통지 자원에 대한 정상 처리(예를 들어, 자원 생성)에 대한 결과를 지시하는 응답 상태 코드 파라미터와 요청 식별 파라미터를 포함하는 응답 메시지를 발신자(300)로 전송한다(S920). 응답 메시지의 요청 식별 파라미터는 요청 메시지의 요청 식별 파라미터와 동일한 값으로 설정될 수 있다. When the receiver 310 receives the request message, the receiver 310 receives the notification content according to the requested operation parameter, and indicates a response state indicating whether the reception is normal or the result of normal processing (for example, resource generation) for the corresponding notification resource. The response message including the code parameter and the request identification parameter is transmitted to the sender 300 (S920). The request identification parameter of the response message may be set to the same value as the request identification parameter of the request message.

또한, 수신자(310)는 통지 요청 메시지에 대한 정상 수신 또는 정상 자원 생성 시에 이를 지시하는 응답 상태 코드의 값(예를 들어, 2000)을 설정하여 응답 메시지에 포함하여 전송할 수 있다. In addition, the receiver 310 may set a value (eg, 2000) of a response status code indicating this upon normal reception or normal resource generation for the notification request message, and may include it in the response message and transmit it.

이상에서 설명한 바와 같이 요청 메시지에 응답 유형 파라미터가 존재하지 않거나, 응답 유형 파라미터 값이 블록킹 모드를 지시하는 값으로 설정된 경우에 수신자는 응답 메시지에 해당하는 동작에 대한 응답 상태 코드를 포함하여 발신자로 전송함으로써, 발신자가 해당 동작의 정상 수행 여부를 명확하게 인지할 수 있다. As described above, when the response type parameter does not exist in the request message or when the response type parameter value is set to a value indicating the blocking mode, the receiver transmits to the sender including a response status code for the action corresponding to the response message. As a result, the caller can clearly recognize whether the operation is normally performed.

한편, 응답 유형 파라미터는 전술한 바와 같이, 블록킹 모드 뿐만 아니라 동기식 넌블록킹 모드, 비동기식 넌블록킹 모드 또는 플렉스 블록킹 모드로 설정될 수도 있다ㅏ. 아래에서는 응답 유형 파라미터가 블록킹 모드가 아닌 다른 모드로 설정된 경우의 요청 메시지 처리 방법에 대해서 설명한다. Meanwhile, as described above, the response type parameter may be set not only to the blocking mode but also to the synchronous nonblocking mode, the asynchronous nonblocking mode, or the flex blocking mode. The following describes a request message processing method when the response type parameter is set to a mode other than the blocking mode.

도 10은 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 동기식 넌블록킹 모드로 설정된 경우에 요청 메시지를 처리하는 방법을 설명하기 위한 도면이다. FIG. 10 is a diagram for describing a method of processing a request message when a response type parameter of a request message is set to a synchronous nonblocking mode according to an embodiment.

도 10을 참조하면, 발신자(300)는 필수적 파라미터와 응답 유형 파라미터를 포함하는 요청 메시지를 수신자(310)에게 전송할 수 있다(S1010). 이 경우에 요청 메시지에 포함되는 응답 유형 파라미터는 동기식 넌블록킹 모드로 설정될 수 있다. 즉, 응답 유형 파라미터는 동기식 넌블록킹(nonBlockingRequestSynch) 모드를 지시하는 값으로 설정될 수 있다. Referring to FIG. 10, the sender 300 may transmit a request message including an essential parameter and a response type parameter to the receiver 310 (S1010). In this case, the response type parameter included in the request message may be set to the synchronous nonblocking mode. That is, the response type parameter may be set to a value indicating a synchronous nonBlockingRequestSynch mode.

동기식 넌블록킹 모드는 발신자(300)가 요청 메시지를 보낸 후 다른 처리를 수행하도록 하기 위한 모드로 수신자(310)의 처리 완료 시점까지 발신자(300)는 시분할 방식에 의한 다중 처리를 수행할 수 있다. 즉, 발신자(300)가 요청 메시지를 보내고, 수신자(310)는 해당 요청 메시지를 처리하며, 발신자(300)가 추후 처리 결과를 별도의 요청 메시지를 통해서 확인하는 방법이 동기식 넌블록킹 방식이다.In the synchronous non-blocking mode, the sender 300 performs a different process after the sender 300 sends a request message. The sender 300 may perform multiple processing by a time division method until the receiver 310 finishes processing. That is, the sender 300 sends a request message, the receiver 310 processes the request message, and the method for the sender 300 to check a later processing result through a separate request message is a synchronous non-blocking method.

구체적으로, S1010 단계의 요청 메시지를 수신한 수신자(310)는 해당 요청 메시지에 대한 정상 수신 여부를 지시하는 응답 상태 코드를 포함하는 응답 메시지를 발신자(300)에게 전송한다(S1020). S1020 단계에서 전송되는 응답 메시지에 포함되는 요청 식별 파라미터는 S1010 단계의 요청 식별 파라미터 값과 동일하게 설정된다. S1020 단계의 응답 메시지에 포함되는 응답 상태 코드는 S1010 단계의 요청 메시지를 수신자(310)가 정상적으로 수신하였는지를 나타내는 정보로 Accepted를 지시하는 값으로 설정된다. 만약, 수신자(310)가 S1010단계의 요청 메시지를 정상적으로 수신하지 못한 경우에 수신자(310)는 Error를 지시하는 응답 상태 코드가 포함된 응답 메시지를 전송하거나, S1020 단계의 메시지를 전송하지 않는다. In detail, the receiver 310 receiving the request message in step S1010 transmits a response message including a response status code indicating whether the corresponding request message is normally received to the sender 300 (S1020). The request identification parameter included in the response message transmitted in step S1020 is set equal to the request identification parameter value in step S1010. The response status code included in the response message of step S1020 is set to a value indicating Accepted as information indicating whether the receiver 310 normally receives the request message of step S1010. If the receiver 310 does not normally receive the request message in step S1010, the receiver 310 transmits a response message including a response status code indicating an error or does not transmit the message in step S1020.

이를 통해서, 발신자(300)는 요청 메시지가 정상적으로 수신자(310)에게 도달되어 처리가 수행될 것인지 확인할 수 있다. Through this, the sender 300 may check whether the request message is normally reached to the receiver 310 to be processed.

이후, 발신자(300)는 일정 시간 간격 이후에 S1010 단계에서 요청한 처리 동작에 대한 결과를 조회하기 위한 요청 메시지를 전송한다(S1030). S1030 단계의 요청 메시지는 조회를 위한 것이므로, 동작 파라미터가 조회를 지시하는 값으로 설정될 수 있다. S1030 단계의 요청 식별 파라미터는 S1010 및 S1020과 동일하게 설정될 수도 있고, 구분되어 다른 값으로 설정될 수도 있다. Thereafter, the sender 300 transmits a request message for inquiring the result of the processing operation requested in step S1010 after a predetermined time interval (S1030). Since the request message of step S1030 is for inquiry, the operation parameter may be set to a value indicating the inquiry. The request identification parameter of step S1030 may be set in the same manner as S1010 and S1020, or may be separately set to a different value.

수신자(310)는 S1030 단계의 요청 메시지를 수신하면, 해당 조회 동작을 수행하여 조회된 컨텐츠 정보와 응답 상태 코드를 포함하는 응답 메시지를 발신자(300)로 전송할 수 있다(S1040). When the receiver 310 receives the request message in step S1030, the receiver 310 may transmit a response message including the inquired content information and the response status code to the sender 300 by performing the corresponding inquiry operation (S1040).

이러한 일련의 동작을 통해서 발신자(300)의 요청에 대한 응답을 처리하는 동작을 동기식 넌블록킹 모드이다. Through such a series of operations, the operation of processing a response to the request of the caller 300 is a synchronous non-blocking mode.

도 11은 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 비동기식 넌블록킹 모드로 설정된 경우에 요청 메시지를 처리하는 방법을 설명하기 위한 도면이다.FIG. 11 is a diagram for describing a method of processing a request message when the response type parameter of the request message is set to the asynchronous non-blocking mode according to an embodiment.

도 11을 참조하면, 발신자(300)는 필수적 파라미터와 응답 유형 파라미터를 포함하는 요청 메시지를 수신자(310)에게 전송할 수 있다(S1110). 이 경우에 요청 메시지에 포함되는 응답 유형 파라미터는 비동기식 넌블록킹 모드로 설정될 수 있다. 즉, 응답 유형 파라미터는 비동기식 넌블록킹(nonBlockingRequestAsynch) 모드를 지시하는 값으로 설정될 수 있다. Referring to FIG. 11, the sender 300 may transmit a request message including an essential parameter and a response type parameter to the receiver 310 (S1110). In this case, the response type parameter included in the request message may be set to an asynchronous nonblocking mode. That is, the response type parameter may be set to a value indicating an asynchronous nonBlockingRequestAsynch mode.

비동기식 넌블록킹 모드도 발신자(300)가 요청 메시지를 보낸 후 다른 처리를 수행하도록 하기 위한 모드로 수신자(310)의 처리 완료 시점까지 발신자(300)는 시분할 방식에 의한 다중 처리를 수행할 수 있다. 다만, 비동기식 넌블록킹 모드는 발신자(300)가 요청 메시지를 보낸 후 처리 결과를 직접 조회하는 동기식 넌블록킹 모드와 달리 수신자(310)가 해당 요청 메시지를 처리한 결과에 대해서 발신자(300)로 직접 통지하는 방식이다. In the asynchronous non-blocking mode, the sender 300 may perform other processing after the sender 300 sends a request message, and thus the sender 300 may perform multiple processing by a time division method until the receiver 310 completes processing. However, in the asynchronous non-blocking mode, unlike the synchronous non-blocking mode in which the sender 300 directly checks the processing result after sending the request message, the receiver 310 directly notifies the sender 300 about the result of processing the request message. That's the way it is.

구체적으로, S1110 단계의 요청 메시지를 수신한 수신자(310)는 해당 요청 메시지에 대한 정상 수신 여부를 지시하는 응답 상태 코드를 포함하는 응답 메시지를 발신자(300)에게 전송한다(S1120). S1120 단계에서 전송되는 응답 메시지에 포함되는 요청 식별 파라미터는 S1110 단계의 요청 식별 파라미터 값과 동일하게 설정된다. S1120 단계의 응답 메시지에 포함되는 응답 상태 코드는 S1110 단계의 요청 메시지를 수신자(310)가 정상적으로 수신하였는지를 나타내는 정보로 Accepted를 지시하는 값으로 설정된다. 만약, 수신자(310)가 S1110단계의 요청 메시지를 정상적으로 수신하지 못한 경우에 수신자(310)는 Error를 지시하는 응답 상태 코드가 포함된 응답 메시지를 전송하거나, S1120 단계의 메시지를 전송하지 않는다. 즉, S1120 단계에서의 응답 상태 코드의 값과 S1020 단계에서의 응답 상태 코드의 값은 동일한 값으로 설정된다. In detail, the receiver 310 receiving the request message in step S1110 transmits a response message including a response status code indicating whether the corresponding request message is normally received to the sender 300 (S1120). The request identification parameter included in the response message transmitted in step S1120 is set equal to the request identification parameter value in step S1110. The response status code included in the response message of step S1120 is set to a value indicating Accepted as information indicating whether the receiver 310 normally receives the request message of step S1110. If the receiver 310 does not normally receive the request message in step S1110, the receiver 310 transmits a response message including a response status code indicating an error or does not transmit the message in step S1120. That is, the value of the response status code in step S1120 and the value of the response status code in step S1020 are set to the same value.

이를 통해서, 발신자(300)는 요청 메시지가 정상적으로 수신자(310)에게 도달되어 처리가 수행될 것인지 확인할 수 있다. Through this, the sender 300 may check whether the request message is normally reached to the receiver 310 to be processed.

이후, 수신자(310)는 S1110 단계에서의 요청 메시지에 따른 요청 동작을 수행하고, 요청 동작에 대한 처리가 완료되면, 발신자(300)로 해당 요청 처리 동작에 대한 완료 및 처리 결과 컨텐츠를 알리기 위한 통지 메시지를 전송한다(S1130). Thereafter, the receiver 310 performs a request operation according to the request message in step S1110, and when the processing for the request operation is completed, a notification for notifying the sender 300 of the completion of the request processing operation and the result of processing the content. The message is transmitted (S1130).

S1130 단계의 요청 메시지는 처리 동작에 대한 알림을 위한 것이므로, 동작 파라미터가 통지를 지시하는 값으로 설정될 수 있다. S1130 단계의 요청 식별 파라미터는 S1110 및 S1120과 동일하게 설정될 수도 있고, 구분되어 다른 값으로 설정될 수도 있다. Since the request message of step S1130 is for notification of the processing operation, the operation parameter may be set to a value indicating the notification. The request identification parameter of step S1130 may be set to be the same as S1110 and S1120, or may be separately set to a different value.

발신자(300)는 S1130 단계의 통지를 지시하는 요청 메시지가 정상적으로 수신되면, 이에 대한 정상 수신을 지시하는 응답 상태 코드를 포함하는 응답 메시지를 수신자(310)에게 전송한다(S1140). 여기서, 응답 상태 코드는 S1130 단계의 요청 메시지에 대한 정상 수신을 지시하는 값으로 설정되며, S1120 단계의 응답 메시지에 포함되는 응답 상태 코드와 동일한 값으로 설정될 수 있다. 한편, S1140 단계의 요청 식별 파라미터 값은 S1130 단계와 동일하게 설정된다. When the sender 300 normally receives the request message indicating the notification of step S1130, the sender 300 transmits a response message including the response status code indicating the normal reception thereof to the receiver 310 (S1140). Here, the response status code may be set to a value indicating normal reception of the request message in step S1130, and may be set to the same value as the response status code included in the response message in step S1120. On the other hand, the request identification parameter value of step S1140 is set the same as step S1130.

수신자(310)는 S1030 단계의 요청 메시지를 수신하면, 해당 조회 동작을 수행하여 조회된 컨텐츠 정보와 응답 상태 코드를 포함하는 응답 메시지를 발신자(300)로 전송할 수 있다(S1040). When the receiver 310 receives the request message in step S1030, the receiver 310 may transmit a response message including the inquired content information and the response status code to the sender 300 by performing the corresponding inquiry operation (S1040).

이러한 일련의 동작을 통해서 발신자(300)의 요청에 대한 응답을 처리하는 동작을 비동기식 넌블록킹 모드이다. The operation of processing a response to the request of the sender 300 through the series of operations is an asynchronous non-blocking mode.

도 10과 도 11에서 설명한 바와 같이, 발신자가 요청 메시지에 응답 유형 파라미터를 포함하되, 응답 유형 파라미터가 동기식 넌블록킹(nonBlockingRequestSynch) 또는 비동기식 넌블록킹(nonBlockingRequestAsynch)으로 설정되는 경우, 수신자는 응답 메시지에 동기식 넌블록킹(nonBlockingRequestSynch) 또는 비동기식 넌블록킹(nonBlockingRequestAsynch)을 구분하지 않고 동일한 응답 상태 코드로 Accepted를 지시하는 정보를 포함하여 응답 메시지를 전송한다. 이는 발신자와 수신자가 어떠한 응답 모드를 통해서 해당 요청 메시지를 처리할 것인지를 응답 유형 파라미터를 통해서 상호 인지하기 때문에 가능하다.As described in Figures 10 and 11, when the sender includes a response type parameter in the request message, but the response type parameter is set to synchronous nonblockingRequestSynch or asynchronous nonblockingRequestAsynch, the receiver is synchronous to the response message. The response message is transmitted with information indicating Accepted using the same response status code without distinguishing between non-blocking (nonBlockingRequestSynch) or asynchronous non-blocking (nonBlockingRequestAsynch). This is possible because the sender and receiver mutually know through the response type parameter which response mode to process the request message through.

그러나, 이와 같은 동작은, 발신자가 요청 메시지에 응답 유형 파라미터를 수신자 맞춤형으로 설정한 플렉스 블록킹(flexBlocking) 모드로 설정하여 보내는 경우에 문제가 발생할 수 있다. 즉, 발신자는 수신자가 어떠한 응답 모드를 선택하여 해당 요청 메시지를 처리할 것인지를 알 수 없다. 따라서, 이후 처리 동작이 어떻게 진행될 것인지에 대한 모호성이 발생하며, 이러한 모호성은 M2M 시스템 전체의 동작에 문제가 발생되도록 만들 수 있다. However, such an operation may cause a problem when the sender sets and sends the request message to the flexBlocking mode in which the response type parameter is set to be recipient-specific. That is, the sender does not know which response mode the receiver will select to process the request message. Thus, ambiguity arises about how the processing operation will proceed later, and such ambiguity may cause problems in the operation of the entire M2M system.

도 12는 일 실시예에 따른 요청 메시지의 응답 유형 파라미터가 플렉스 블록킹 모드로 설정된 경우에 요청 메시지를 처리함에 있어서 발생되는 문제점을 설명하기 위한 도면이다.  FIG. 12 is a diagram illustrating a problem occurring in processing a request message when the response type parameter of the request message is set to the flex blocking mode. FIG.

도 12를 참조하면, 발신자(300)는 필수적 파라미터와 응답 유형 파라미터를 포함하는 요청 메시지를 수신자(310)에게 전송할 수 있다(S1210). 이 경우에 요청 메시지에 포함되는 응답 유형 파라미터는 플렉스 블록킹 모드로 설정될 수 있다. 즉, 응답 유형 파라미터는 플렉스 블록킹(flexBlocking) 모드를 지시하는 값으로 설정될 수 있다. Referring to FIG. 12, the sender 300 may transmit a request message including an essential parameter and a response type parameter to the receiver 310 (S1210). In this case, the response type parameter included in the request message may be set to the flex blocking mode. That is, the response type parameter may be set to a value indicating the flex blocking mode.

플렉스 블록킹 모드의 경우에 해당 요청 메시지를 전술한 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나로 선택하여 처리하되, 해당 선택 동작을 수신자(310)가 설정된 기능 및 정책에 따라서 결정하도록 하는 것이다. 따라서, 발신자(300)는 수신자(310)가 어떠한 응답 모드를 결정하는지에 대해서 알 수가 없는 문제가 있다. In the case of the flex blocking mode, the request message is selected from among the above-described blocking mode, synchronous non-blocking mode, and asynchronous non-blocking mode, and the selected message is processed by the receiver 310 according to the set function and policy. will be. Therefore, there is a problem that the sender 300 may not know what response mode the receiver 310 determines.

구체적으로, 수신자(310)는 요청 메시지가 수신되면, 응답 유형 파라미터를 확인하고, 응답 유형 파라미터가 플렉스 블록킹으로 설정된 경우에 해당 요청 메시지를 처리하기 위한 응답 모드를 수신자(310)의 정책을 참조하여 결정한다(S1220). Specifically, when the request message is received, the receiver 310 checks the response type parameter, and when the response type parameter is set to flex blocking, refers to the policy of the receiver 310 as a response mode for processing the request message. Determine (S1220).

수신자(310)는 S1210 단계의 요청 메시지에 대한 정상 수신 여부를 지시하기 위한 응답 메시지를 발신자(300)로 전송한다(S1230). 이 경우에 S1230 단계의 응답 메시지에 포함되는 응답 상태 코드는 전술한 도 10 및 도 11에서의 요청 메시지 수신에 대한 정상 수신을 지시하는 응답 상태 코드와 동일한 값으로 지정된다. 즉, 응답 상태 코드는 Accepted를 지시하는 값으로 설정된다. S1230 단계의 요청 식별 파라미터와 S1210 단계의 요청 식별 파라미터는 동일한 값으로 설정된다. 한편, S1230 단계는 S1220 단계 이전에 수행될 수도 있다. 즉, S1230 단계의 응답 메시지에 응답 모드를 알려주기 위한 파라미터가 존재하지 않으므로, S1220 단계 이전에 전송되더라도 문제가 없었다. The receiver 310 transmits a response message to the sender 300 to indicate whether the request message of step S1210 is normally received (S1230). In this case, the response status code included in the response message of step S1230 is set to the same value as the response status code indicating normal reception of the request message reception in FIGS. 10 and 11 described above. That is, the response status code is set to a value indicating Accepted. The request identification parameter of step S1230 and the request identification parameter of step S1210 are set to the same value. Meanwhile, step S1230 may be performed before step S1220. That is, since the parameter for indicating the response mode does not exist in the response message of step S1230, there is no problem even if transmitted before the step S1220.

발신자(300)는 S1230 단계의 응답 메시지를 수신하여 S1210 단계의 요청 메시지가 정상적으로 전달되었음을 확인할 수 있다(S1240). 다만, 수신자(310)가 어떠한 응답 모드를 통해서 해당 요청 메시지를 처리할 것인지에 대해서 확인할 수가 없다. 예를 들어, 발신자(300)는 해당 요청 메시지가 동기식 넌블록킹 모드를 통해서 처리되기 때문에 도 10에서와 같이 추가적인 조회 요청 메시지를 전송해야 하는지 또는 해당 요청 메시지가 비동기식 넌블록킹 모드를 통해서 처리되기 때문에 도 11과 같이 통지 요청 메시지를 수신하기 이해서 대기하면 되는 것인지 알 수가 없다. 즉, 발신자(300)는 결정된 응답 모드에 따른 동작 수행이 필요하나, 어떠한 동작을 수행해야 되는지 모호성이 발생된다. The sender 300 may receive the response message of step S1230 and confirm that the request message of step S1210 is normally transmitted (S1240). However, it is not possible to check whether the receiver 310 processes the request message through the response mode. For example, the sender 300 may need to send an additional inquiry request message as shown in FIG. 10 because the request message is processed through the synchronous nonblocking mode or because the request message is processed through the asynchronous nonblocking mode. As shown in 11, it is not possible to wait until receiving the notification request message. That is, the caller 300 needs to perform an operation according to the determined response mode, but ambiguity arises as to which operation should be performed.

이러한 문제점을 해결하기 위해서, 본 실시예에서는 발신자가 응답 유형 파라미터의 값으로 플렉스 블록킹(flexBlocking)을 지시하는 경우에, 수신자가 결정하는 응답 모드에 따라서 발신자가 수신자의 처리 결과를 알 수 있도록 응답 상태 코드 정보를 설정하는 방법을 제안한다. 또한, M2M 시스템 전체의 부하 상승이 없도록 해당 응답 모드 정보를 전달하는 방법을 제안하고자 한다. In order to solve this problem, in the present embodiment, when the sender instructs flexBlocking with the value of the response type parameter, the response state is such that the caller can know the processing result of the receiver according to the response mode determined by the receiver. We propose a method of setting code information. In addition, the present invention proposes a method of transmitting corresponding response mode information so that there is no load increase of the entire M2M system.

도 13은 일 실시예에 따른 M2M 장치가 요청 메시지를 처리하는 동작을 설명하기 위한 도면이다. FIG. 13 is a diagram for describing an operation of processing a request message by an M2M device according to one embodiment; FIG.

도 13을 참조하면, M2M(Machine to Machine communication) 장치는 요청 메시지를 처리하기 위해서 응답 유형 파라미터 정보를 포함하는 요청 메시지를 타 M2M 장치로부터 수신하는 단계를 수행한다(S1300). Referring to FIG. 13, a machine to machine communication (M2M) device receives a request message including response type parameter information from another M2M device to process a request message (S1300).

예를 들어, 요청 메시지는 동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 포함할 수 있다. 이러한 파라미터는 위에서 설명한 필수적 파라미터이며, 동작 파라미터의 종류에 따라 컨텐츠 정보, 자원 타입 정보 등을 더 포함할 수 있다. For example, the request message may include an operation parameter, a receiving side parameter, a transmitting side parameter and a request identification parameter. These parameters are essential parameters described above, and may further include content information, resource type information, etc. according to the type of operation parameter.

전술한 바와 같이, 응답 유형 파라미터는 존재하지 않거나, 존재하는 경우에 블록킹 모드, 동기식 넌블록킹 모드, 비동기식 넌블록킹 모드 및 플렉스 블록킹 모드 중 어느 하나를 지시하는 정보로 설정될 수 있다. As described above, the response type parameter may be nonexistent or, if present, may be set to information indicating any one of a blocking mode, a synchronous nonblocking mode, an asynchronous nonblocking mode, and a flex blocking mode.

M2M 장치는 응답 유형 파라미터 정보를 확인하고, 응답 유형 파라미터 정보에 따라 응답 모드를 결정하는 단계를 수행한다(S1310). 예를 들어, 응답 유형 파라미터가 요청 메시지에 포함되지 않거나, 블록킹 모드를 지사하는 값으로 설정된 경우에 M2M 장치는 응답 모드를 블록킹 모드로 결정한다. 이와 달리 응답 유형 파라미터가 동기식 넌블록킹 모드를 지시하는 값으로 설정되거나, 비동기식 넌블록킹 모드를 지시하는 값으로 설정되면, M2M 장치는 각각 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드로 응답 모드를 결정한다. The M2M device checks the response type parameter information and determines the response mode according to the response type parameter information (S1310). For example, when the response type parameter is not included in the request message or is set to a value indicating the blocking mode, the M2M device determines the response mode as the blocking mode. In contrast, when the response type parameter is set to a value indicating a synchronous nonblocking mode or a value indicating a synchronous nonblocking mode, the M2M device determines the response mode as a synchronous nonblocking mode and an asynchronous nonblocking mode, respectively.

한편, 응답 유형 파라미터가 플렉스 블록킹을 지시하는 값으로 설정된 경우에 M2M 장치는 정책(policy)와 기능, 한계, 요청 메시지에 알림 타켓 정보가 포함되는지 여부 등의 M2M 장치 전반적 환경을 고려하여 응답 모드를 결정한다. On the other hand, when the response type parameter is set to a value indicating flex blocking, the M2M device selects the response mode in consideration of the overall environment of the M2M device such as policy, function, limit, and whether the target information is included in the request message. Decide

예를 들어, M2M 장치는 응답 유형 파라미터가 플렉스 블록킹을 지시하는 값으로 설정된 경우에 요청 메시지에 알림 타켓 정보(Notification target information)가 존재하는지 확인하여 이에 따라 응답 모드를 결정할 수 있다. For example, when the response type parameter is set to a value indicating flex blocking, the M2M device may determine whether the notification target information exists in the request message and determine the response mode accordingly.

일 예로, M2M 장치는 요청 메시지에 알림 타켓 정보가 포함되는 경우, 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나로 응답 모드를 결정할 수 있다. For example, when the M2M device includes the notification target information in the request message, the M2M device may determine the response mode as one of a blocking mode, a synchronous nonblocking mode, and an asynchronous nonblocking mode.

다른 예로, M2M 장치는 요청 메시지에 알림 타켓 정보가 포함되지 않는 경우, 블록킹 모드 및 동기식 넌블록킹 모드 중 어느 하나로 응답 모드를 결정할 수 있다. As another example, when the notification target information is not included in the request message, the M2M device may determine the response mode as one of a blocking mode and a synchronous nonblocking mode.

M2M 장치는 결정된 응답 모드에 따라 구분되어 설정되는 응답 상태 코드를 포함하는 응답 메시지를 전송하는 단계를 수행한다(S1320). 예를 들어, M2M 장치는 요청 메시지에 대한 정상 수신 여부를 지시하는 응답 상태 코드를 발신자에게 전송한다. 다만, 도 12와 같은 문제점이 발생하지 않도록 응답 상태 코드는 S1310 단계에서 결정된 응답 모드에 따라 서로 다른 값으로 설정될 수 있다. The M2M device performs a step of transmitting a response message including a response status code set separately according to the determined response mode (S1320). For example, the M2M device transmits a response status code to the sender indicating whether the request message is normally received. However, the response status code may be set to different values according to the response mode determined in step S1310 so that the problem as shown in FIG. 12 does not occur.

예를 들어, 도 14를 참조하면, 응답 상태 코드는 결정된 응답 모드에 따라 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 각각이 서로 다른 값을 갖도록 설정될 수 있다. For example, referring to FIG. 14, the response status code may be set such that each of the blocking mode, the synchronous nonblocking mode, and the asynchronous nonblocking mode has a different value according to the determined response mode.

일 예로, M2M 장치가 응답 모드를 블록킹 모드로 결정한 경우에 응답 상태 코드는 1000으로 설정되어 응답 메시지에 포함될 수 있다. For example, when the M2M device determines the response mode as the blocking mode, the response status code may be set to 1000 and included in the response message.

다른 예로, M2M 장치가 응답 모드를 동기식 넌블록킹 모드로 결정한 경우에 응답 상태 코드는 1001로 설정되어 응답 메시지에 포함될 수 있다. As another example, when the M2M device determines that the response mode is the synchronous nonblocking mode, the response status code may be set to 1001 and included in the response message.

또 다른 예로, M2M 장치가 응답 모드를 비동기식 넌블록킹 모드로 결정한 경우에 응답 상태 코드는 1002로 설정되어 응답 메시지에 포함될 수 있다. As another example, when the M2M device determines that the response mode is an asynchronous nonblocking mode, the response status code may be set to 1002 and included in the response message.

따라서, 이러한 방법을 통하여 M2M 장치가 결정한 응답 모드에 대해서 발신자는 응답 메시지 수신을 통해서 확인할 수 있으므로, 이후 동작에 대한 모호성을 방지할 수 있다. 또한, 별도의 파라미터가 아닌 기존 응답 상태 코드를 구분하는 방법을 사용함으로써 시스템 전체의 신호 부하를 증가시키지 않을 수 있다. Therefore, the caller can confirm the response mode determined by the M2M device through the response message through this method, thereby preventing ambiguity on subsequent operations. In addition, by using a method of distinguishing existing response status codes instead of separate parameters, the signal load of the entire system may not be increased.

한편, 응답 메시지는 요청 메시지의 요청 식별 파라미터에 포함된 식별자와 동일한 값으로 설정된 요청 식별 파라미터를 포함할 수 있다. Meanwhile, the response message may include a request identification parameter set to the same value as an identifier included in the request identification parameter of the request message.

이하에서는 도면을 참조하여 M2M 장치가 응답 모드를 결정하는 방법을 다시 한 번 설명한다. Hereinafter, a method of determining the response mode by the M2M device will be described once again with reference to the accompanying drawings.

도 15는 일 실시예에 따른 M2M 장치가 응답 모드를 결정하는 동작을 설명하기 위한 도면이다. 15 is a diagram for describing an operation of determining, by an M2M device, a response mode, according to an exemplary embodiment.

도 15를 참조하면, M2M 장치는 요청 메시지를 수신하여 응답 유형 파라미터를 확인할 수 있다(S1500). 전술한 바와 같이 응답 유형 파라미터는 존재하지 않거나, 블록킹, 동기식 넌블록킹, 비동기식 넌블록킹 및 플렉스 블록킹 중 어느 하나를 지시하는 정보를 포함할 수 있다. Referring to FIG. 15, the M2M device may check a response type parameter by receiving a request message (S1500). As described above, the response type parameter may not exist or may include information indicating any one of blocking, synchronous nonblocking, asynchronous nonblocking, and flex blocking.

만약, 응답 유형 파라미터가 플렉스 블록킹을 지시하는 값으로 설정된 경우에 M2M 장치는 요청 메시지에 알림(통지) 타켓 정보가 존재하는지 판단한다(S1510). 요청 메시지에 알림 타켓에 대한 정보가 포함되는 경우에 M2M 장치는 통지 정책 기반의 응답 모드 결정 동작을 수행한다(S1520). 예를 들어, M2M 장치에 통지 정책 기반의 응답 모드 결정에 대한 우선 순위 또는 통지 정책 기반의 응답 모드 결정 알고리즘이 미리 설정될 수 있으며, M2M 장치는 해당 우선순위 또는 알고리즘을 이용하여 응답 모드를 선택할 수 있다. M2M 장치는 통지 정책 기반으로 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나의 응답 모드를 결정할 수 있다. If the response type parameter is set to a value indicating flex blocking, the M2M device determines whether notification (notification) target information exists in the request message (S1510). When the information on the notification target is included in the request message, the M2M device performs a response mode determination operation based on the notification policy (S1520). For example, the priority for notification policy based response mode determination or notification policy based response mode determination algorithm may be preset in the M2M device, and the M2M device may select the response mode using the corresponding priority or algorithm. have. The M2M device may determine the response mode of any one of a blocking mode, a synchronous nonblocking mode, and an asynchronous nonblocking mode based on the notification policy.

일 예로, M2M 장치는 비동기식 넌블록킹 모드를 응답 모드로 결정하고, 해당 절차에 따라 요청 메시지 처리 동작을 수행할 수 있다(S1530). For example, the M2M device may determine the asynchronous non-blocking mode as the response mode, and perform a request message processing operation according to the corresponding procedure (S1530).

다른 예로, M2M 장치는 동기식 넌블록킹 모드를 응답 모드로 결정하고, 해당 절차에 따라 요청 메시지 처리 동작을 수행할 수 있다(S1540). As another example, the M2M device may determine the synchronous nonblocking mode as a response mode and perform a request message processing operation according to the corresponding procedure (S1540).

또 다른 예로, M2M 장치는 블록킹 모드를 응답 모드로 결정하고, 해당 절차에 따라 요청 메시지 처리 동작을 수행할 수 있다(S1550). As another example, the M2M device may determine the blocking mode as the response mode, and perform a request message processing operation according to the corresponding procedure (S1550).

이와 달리, S1510 단계에서 M2M 장치는 알림 타켓 정보가 존재하지 않는 것으로 판단할 수 있다. 이 경우 M2M 장치는 미통지 정책 기반의 응답 모드 결정 동작을 수행할 수 있다(S1525). 미통지 정책 기반의 응답 모드 결정 알고리즘은 응답 모드로 블록킹 모드 및 동기식 넌블록킹 모드 중 어느 하나로 결정을 수행하도록 설정될 수 있다. 즉, 미통지 정책 기반의 응답 모드 결정 시에는 비동기식 넌블록킹 모드는 선택될 수 없다. Unlike this, in step S1510, the M2M device may determine that the notification target information does not exist. In this case, the M2M device may perform a response mode determination operation based on a non notification policy (S1525). The non notification policy based response mode determination algorithm may be set to perform the determination in either the blocking mode or the synchronous nonblocking mode as the response mode. That is, the asynchronous nonblocking mode cannot be selected when determining the response mode based on the notification policy.

일 예로, M2M 장치는 동기식 넌블록킹 모드를 응답 모드로 결정하고, 해당 절차에 따라 요청 메시지 처리 동작을 수행할 수 있다(S1540). For example, the M2M device may determine the synchronous nonblocking mode as a response mode and perform a request message processing operation according to a corresponding procedure (S1540).

다른 예로, M2M 장치는 블록킹 모드를 응답 모드로 결정하고, 해당 절차에 따라 요청 메시지 처리 동작을 수행할 수 있다(S1550). As another example, the M2M device may determine the blocking mode as the response mode, and perform a request message processing operation according to the corresponding procedure (S1550).

M2M 장치는 이러한 절차를 통해서 결정된 응답 모드에 따라 도 14에서 표시된 응답 상태 코드를 결정하여 응답 메시지에 포함하여 발신자로 전송할 수 있다. The M2M device may determine the response status code shown in FIG. 14 according to the response mode determined through this procedure, and include the response status code in the response message and transmit it to the sender.

일 예로, M2M 장치는 블록킹 방식으로 응답 모드를 결정하면, 응답 상태 코드를 요청 메시지의 동작 파라미터에 따라 전술한 도 5 내지 도 9 중 어느 하나로 결정하고, 응답 메시지를 해당 절차를 통해서 처리할 수 있다. For example, when the M2M device determines the response mode in a blocking manner, the M2M device may determine the response status code as any one of FIGS. 5 to 9 according to an operation parameter of the request message, and process the response message through a corresponding procedure. .

다른 예로, M2M 장치는 동기식 넌블록킹(nonBlockingRequestSynch) 방식에 따라 메시지를 처리하기로 결정하면, 해당 응답 모드에 따라 미리 설정된 응답 상태 코드를 포함하여 응답 메시지를 전송한다. As another example, when the M2M device determines to process a message according to a synchronous nonBlockingRequestSynch method, the M2M device transmits a response message including a response status code preset according to a corresponding response mode.

또 다른 예로, M2M 장치는 비동기식 넌블록킹(nonBlockingRequestAsynch) 모드에 따라 요청 메시지를 처리하기로 결정하면, 비동기식 넌블록킹 모드에 매핑되는 응답 상태 코드를 포함하여 응답 메시지를 전송할 수 있다. As another example, when the M2M device decides to process the request message according to the asynchronous nonblockingRequestAsynch mode, the M2M device may transmit a response message including a response status code mapped to the asynchronous nonblocking mode.

이 외에도, M2M 장치는 동기식 넌블록킹(nonBlockingRequestSynch) 방식과 비동기식 넌블록킹(nonBlockingRequestAsynch) 방식을 구별하여 응답 상태 코드를 할당하여 응답 메시지를 전송할 수 있다.In addition, the M2M device may transmit a response message by assigning a response status code by distinguishing between a synchronous nonblocking request synch method and a non-blocking nonblocking request sync method.

발신자는 응답 메시지의 응답 상태 코드를 확인하여 M2M 장치가 선택한 응답 모드를 인지하고, 이후의 절차를 수행할 수 있다. The sender may check the response status code of the response message to recognize the response mode selected by the M2M device, and may perform a subsequent procedure.

도 16은 일 실시예에 따른 응답 모드 결정에 따른 응답 모드 별 요청 메시지 처리 절차를 설명하기 위한 도면이다. 16 is a diagram for describing a procedure of processing a request message for each response mode according to a response mode determination, according to an embodiment.

도 16을 참조하면, 수신자(310)는 발신자(300)가 전송한 요청 메시지를 수신할 수 있다. 전술한 바와 같이 요청 메시지는 필수적 파라미터와 선택적 파라미터를 포함할 수 있다. 또한, 요청 메시지에 포함되는 응답 유형 파라미터는 플렉스 블록킹을 지시하는 값으로 설정될 수 있다(S1610). Referring to FIG. 16, the receiver 310 may receive a request message sent by the sender 300. As described above, the request message may include an essential parameter and an optional parameter. In addition, the response type parameter included in the request message may be set to a value indicating flex blocking (S1610).

수신자(310)는 정책, 알림 타켓 정보의 존재 여부에 기초하여 응답 모드를 결정할 수 있다(S1620). 이후, 수신자(310)는 결정된 응답 모드에 매핑되어 설정된 응답 상태 코드를 포함하는 응답 메시지를 발신자(300)로 전송한다(S1630).The receiver 310 may determine a response mode based on the presence of policy and notification target information (S1620). Thereafter, the receiver 310 transmits a response message including the response status code set mapped to the determined response mode to the sender 300 (S1630).

보다 상세하게 구분하면, 아래와 같이 응답 모드에 따라 이후 절차가 다르게 수행될 수 있다. In more detail, the following procedure may be performed differently according to the response mode as follows.

일 예로, 수신자(310)가 블록킹 모드를 응답 모드로 결정하면, 요청 메시지의 동작 파라미터에 따라 다양한 메시지가 전송될 수 있다. 예를 들어, S1630 단계 이후에 해당 요청 메시지 처리 결과 정보를 포함하는 응답 메시지가 전송될 수 있다(S1640). For example, when the receiver 310 determines the blocking mode as the response mode, various messages may be transmitted according to operating parameters of the request message. For example, after operation S1630, a response message including corresponding request message processing result information may be transmitted (S1640).

다른 예로, 수신자(310)가 동기식 넌볼록킹 모드를 결정하는 경우, 수신자(310)는 S1630 단계 이후에 요청 메시지를 처리하고, 발신자(300)는 S1630 단계의 응답 메시지를 통해서 해당 응답 모드를 인지하여 요청 메시지 처리 결과를 조회하기 위한 조회 요청 메시지를 전송한다(S1641). 수신자(310)는 S1641 단계의 요청 메시지에 대한 응답 메시지에 요청 처리 결과 정보를 포함하여 발신자(300)로 전송한다(S1642). As another example, when the receiver 310 determines the synchronous non-locking mode, the receiver 310 processes the request message after step S1630, and the sender 300 recognizes the response mode through the response message of step S1630. In step S1641, an inquiry request message for inquiring a request message processing result is transmitted. The receiver 310 includes the request processing result information in the response message to the request message of step S1641 and transmits it to the sender 300 (S1642).

또 다른 예로, 수신자(310)가 비동기식 넌블록킹 모드를 결정하는 경우, 수신자(310)는 S1630 단계 이후에 요청 메시지를 처리하고, 발신자(300)는 S1630 단계의 응답 메시지를 통해서 해당 응답 모드를 인지하여 수신자(310)의 S1645 단계의 요청 메시지를 기다린다. 수신자(310)는 요청 메시지에 대한 요청 처리 결과가 나오면, 이를 통지하는 통지 요청 메시지를 발신자(320)에게 전송한다(S1645). 발신자(300)는 S1645 단계의 요청 메시지의 정상 수신 여부를 지시하는 응답 상태 코드를 포함하는 응답 메시지를 수신자(310)로 전송한다(S1646). As another example, when the receiver 310 determines the asynchronous nonblocking mode, the receiver 310 processes the request message after step S1630, and the sender 300 recognizes the corresponding response mode through the response message of step S1630. Wait for the request message of step S1645 of the receiver 310. The receiver 310 transmits a notification request message for notifying the sender 320 when a request processing result for the request message is output (S1645). The sender 300 transmits a response message including a response status code indicating whether the request message of step S1645 is normally received to the receiver 310 (S1646).

이상에서의 동작을 통해서, 응답 유형 파라미터가 플렉스 블록킹으로 설정된 경우에도 발신자는 동작의 모호성 없이 해당 응답 모드에 따른 동작을 수행할 수 있다. 이하에서는 도 1 내지 도 16을 참조하여 설명한 본 실시예를 모두 실시할 수 있는 M2M 장치의 구성을 도면을 참조하여 다시 한 번 설명한다. Through the above operation, even when the response type parameter is set to flex blocking, the caller may perform the operation according to the corresponding response mode without ambiguity of the operation. Hereinafter, a configuration of an M2M device capable of implementing all of the embodiments described with reference to FIGS. 1 to 16 will be described once again with reference to the drawings.

도 17은 일 실시예에 따른 M2M 장치의 구조를 도시한 도면이다. 17 is a diagram illustrating a structure of an M2M device according to one embodiment.

도 17을 참조하면, M2M(Machine to Machine communication) 장치(1700)는 응답 유형 파라미터 정보를 포함하는 요청 메시지를 타 M2M 장치로부터 수신하는 수신부(1730)와 응답 유형 파라미터 정보를 확인하고, 응답 유형 파라미터 정보에 따라 응답 모드를 결정하는 제어부(1710) 및 결정된 응답 모드에 따라 구분되어 설정되는 응답 상태 코드를 포함하는 응답 메시지를 전송하는 송신부(1720)를 포함할 수 있다. Referring to FIG. 17, the machine to machine communication (M2M) device 1700 checks the reception unit 1730 and response type parameter information for receiving a request message including response type parameter information from another M2M device, and responds to the response type parameter. The controller 1710 may determine a response mode according to the information, and a transmitter 1720 may transmit a response message including a response status code set separately according to the determined response mode.

예를 들어, 요청 메시지는 동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 포함할 수 있다. 이러한 파라미터는 위에서 설명한 필수적 파라미터이며, 동작 파라미터의 종류에 따라 컨텐츠 정보, 자원 타입 정보 등을 더 포함할 수 있다. 전술한 바와 같이, 응답 유형 파라미터는 존재하지 않거나, 존재하는 경우에 블록킹 모드, 동기식 넌블록킹 모드, 비동기식 넌블록킹 모드 및 플렉스 블록킹 모드 중 어느 하나를 지시하는 정보로 설정될 수 있다. For example, the request message may include an operation parameter, a receiving side parameter, a transmitting side parameter and a request identification parameter. These parameters are essential parameters described above, and may further include content information, resource type information, etc. according to the type of operation parameter. As described above, the response type parameter may be nonexistent or, if present, may be set to information indicating any one of a blocking mode, a synchronous nonblocking mode, an asynchronous nonblocking mode, and a flex blocking mode.

도한, 응답 유형 파라미터가 요청 메시지에 포함되지 않거나, 블록킹 모드를 지사하는 값으로 설정된 경우에 제어부(1710)는 응답 모드를 블록킹 모드로 결정한다. 이와 달리 응답 유형 파라미터가 동기식 넌블록킹 모드를 지시하는 값으로 설정되거나, 비동기식 넌블록킹 모드를 지시하는 값으로 설정되면, 제어부(1710)는 각각 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드로 응답 모드를 결정한다. Also, when the response type parameter is not included in the request message or is set to a value indicating the blocking mode, the controller 1710 determines the response mode as the blocking mode. Alternatively, if the response type parameter is set to a value indicating a synchronous nonblocking mode or a value indicating a synchronous nonblocking mode, the controller 1710 determines the response mode as a synchronous nonblocking mode and an asynchronous nonblocking mode, respectively. do.

한편, 응답 유형 파라미터가 플렉스 블록킹을 지시하는 값으로 설정된 경우에 제어부(1710)는 정책(policy)와 기능, 한계, 요청 메시지에 알림 타켓 정보가 포함되는지 여부 등의 M2M 장치(1700) 전반적 환경을 고려하여 응답 모드를 결정한다. Meanwhile, when the response type parameter is set to a value indicating flex blocking, the controller 1710 may control the overall environment of the M2M device 1700 such as policy, function, limit, and whether the notification target information is included in the request message. Consider the response mode.

예를 들어, 제어부(1710)는 응답 유형 파라미터가 플렉스 블록킹을 지시하는 값으로 설정된 경우에 요청 메시지에 알림 타켓 정보(Notification target information)가 존재하는지 확인하여 이에 따라 응답 모드를 결정할 수 있다. For example, when the response type parameter is set to a value indicating flex blocking, the controller 1710 may determine whether the notification target information exists in the request message and determine the response mode accordingly.

일 예로, 제어부(1710)는 요청 메시지에 알림 타켓 정보가 포함되는 경우, 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나로 응답 모드를 결정할 수 있다. As an example, when the notification message information is included in the request message, the controller 1710 may determine the response mode as one of a blocking mode, a synchronous nonblocking mode, and an asynchronous nonblocking mode.

다른 예로, 제어부(1710)는 요청 메시지에 알림 타켓 정보가 포함되지 않는 경우, 블록킹 모드 및 동기식 넌블록킹 모드 중 어느 하나로 응답 모드를 결정할 수 있다. As another example, when the notification target information is not included in the request message, the controller 1710 may determine the response mode as one of a blocking mode and a synchronous nonblocking mode.

한편, 송신부(1720)는 요청 메시지에 대한 정상 수신 여부를 지시하는 응답 상태 코드를 발신자에게 전송한다. 응답 상태 코드는 결정된 응답 모드에 따라 구분되는 값으로 설정될 수 있다. Meanwhile, the transmitter 1720 transmits a response status code indicating whether the request message is normally received to the sender. The response status code may be set to a value distinguished according to the determined response mode.

일 예로, 제어부(1710)가 응답 모드를 블록킹 모드로 결정한 경우에 응답 상태 코드는 1000으로 설정되어 응답 메시지에 포함될 수 있다. For example, when the controller 1710 determines that the response mode is the blocking mode, the response status code may be set to 1000 and included in the response message.

다른 예로, 제어부(1710)가 응답 모드를 동기식 넌블록킹 모드로 결정한 경우에 응답 상태 코드는 1001로 설정되어 응답 메시지에 포함될 수 있다. As another example, when the controller 1710 determines that the response mode is the synchronous nonblocking mode, the response status code may be set to 1001 and included in the response message.

또 다른 예로, 제어부(1710)가 응답 모드를 비동기식 넌블록킹 모드로 결정한 경우에 응답 상태 코드는 1002로 설정되어 응답 메시지에 포함될 수 있다. As another example, when the controller 1710 determines that the response mode is an asynchronous non-blocking mode, the response status code may be set to 1002 and included in the response message.

이 외에도, 제어부(1710)는 본 실시예에 따른 응답 유형 파라미터가 플렉스 블록킹으로 설정된 경우에 응답 모드를 결정하고, 응답 모드에 따라 응답 상태 코드를 구분하여 결정하는 데에 따른 전반적인 M2M 장치(1700)의 동작을 제어한다. In addition, the controller 1710 determines the response mode when the response type parameter according to the present embodiment is set to flex blocking, and divides the response status codes according to the response mode to determine the overall M2M device 1700. To control the operation.

또한, 송신부(1720) 및 수신부(1730)는 발신자, 타 M2M 장치, M2M 시스템을 구성하는 다른 노드 및 사용자 단말기 중 적어도 하나와 본 실시예를 수행하는 데에 필요한 메시지, 신호 및 데이터를 송수신하는 데에 사용된다. In addition, the transmitter 1720 and the receiver 1730 may be used to transmit and receive messages, signals, and data necessary to perform the present embodiment with at least one of a sender, another M2M device, another node constituting the M2M system, and a user terminal. Used for

본 명세서에서의 "시스템", "프로세서", "컨트롤러", "컴포넌트", "모듈", "인터페이스", "모델", "유닛" 등의 용어는 일반적으로 컴퓨터 관련 엔티티 하드웨어, 하드웨어와 소프트웨어의 조합, 소프트웨어 또는 실행 중인 소프트웨어를 의미할 수 있다. 예를 들어, 전술한 구성요소는 프로세서에 의해서 구동되는 프로세스, 프로세서, 컨트롤러, 제어 프로세서, 개체, 실행 스레드, 프로그램 및/또는 컴퓨터일 수 있지만 이에 국한되지 않는다. 예를 들어, 컨트롤러 또는 프로세서에서 실행 중인 애플리케이션과 컨트롤러 또는 프로세서가 모두 구성 요소가 될 수 있습니다. 하나 이상의 구성 요소가 프로세스 및/또는 실행 스레드 내에 있을 수 있으며 구성 요소는 한 시스템에 위치하거나 두 대 이상의 시스템에 배포될 수 있다.The terms "system", "processor", "controller", "component", "module", "interface", "model", "unit" and the like generally refer to computer-related entity hardware, hardware and software. It can mean a combination, software or running software. For example, the foregoing components may be, but are not limited to, a process driven by a processor, a processor, a controller, a control processor, an object, an execution thread, a program, and / or a computer. For example, both an application running on a controller or processor and a controller or processor can be components. One or more components may be within a process and / or thread of execution and a component may be located on one system or deployed on more than one system.

전술한 실시예에서 언급한 표준내용 또는 표준문서들은 명세서의 설명을 간략하게 하기 위해 생략한 것으로 본 명세서의 일부를 구성한다. 따라서, 위 표준내용 및 표준문서들의 일부의 내용을 본 명세서에 추가하거나 청구범위에 기재하는 것은 본 발명의 범위에 해당하는 것으로 해석되어야 한다. The standard contents or standard documents mentioned in the above embodiments are omitted to simplify the description of the specification and form a part of the present specification. Accordingly, the addition of the contents of the above standard and part of the standard documents to the specification or the description in the claims should be interpreted as falling within the scope of the present invention.

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

Claims (16)

M2M(Machine to Machine communication) 장치가 요청 메시지를 처리하는 방법에 있어서,
응답 유형 파라미터 정보를 포함하는 요청 메시지를 타 M2M 장치로부터 수신하는 단계;
상기 응답 유형 파라미터 정보를 확인하고, 상기 응답 유형 파라미터 정보에 따라 응답 모드를 결정하는 단계; 및
상기 결정된 응답 모드에 따라 구분되어 설정되는 응답 상태 코드를 포함하는 응답 메시지를 전송하는 단계를 포함하되,
상기 응답 유형 파라미터 정보는,
상기 타 M2M 장치가 상기 요청 메시지에 대한 상기 응답 모드를 결정하는 경우, 블록킹 요청, 동기식 넌블록킹 및 비동기식 넌블록킹 중 어느 하나의 값으로 설정되고,
상기 요청 메시지를 수신하는 상기 M2M 장치가 상기 응답 모드를 결정하는 경우, 플렉스 블록킹을 지시하는 값으로 설정되며,
상기 응답 모드를 결정하는 단계는,
상기 응답 유형 파라미터 정보가 블록킹 요청, 동기식 넌블록킹 및 비동기식 넌블록킹 중 어느 하나의 값으로 설정되면, 상기 설정된 값에 지시하는 모드로 상기 응답 모드를 결정하고,
상기 응답 유형 파라미터 정보가 플렉스 블록킹을 지시하는 값으로 설정되면, 상기 M2M 장치의기능에 따라 상기 응답 모드를 결정하는 방법.
A method of processing a request message by a machine to machine communication (M2M) device,
Receiving a request message including response type parameter information from another M2M device;
Checking the response type parameter information and determining a response mode according to the response type parameter information; And
And transmitting a response message including a response status code set separately according to the determined response mode.
The response type parameter information is
When the other M2M device determines the response mode for the request message, it is set to a value of any one of a blocking request, synchronous nonblocking and asynchronous nonblocking,
When the M2M device receiving the request message determines the response mode, the M2M device is set to a value indicating flex blocking.
Determining the response mode,
When the response type parameter information is set to one of a blocking request, synchronous nonblocking, and asynchronous nonblocking, the response mode is determined as a mode indicating the set value.
If the response type parameter information is set to a value indicating flex blocking, determining the response mode according to the function of the M2M device.
제 1 항에 있어서,
상기 요청 메시지는,
동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 더 포함하되,
상기 응답 메시지는 상기 요청 식별 파라미터에 포함된 식별자와 동일한 식별자를 포함하는 것을 특징으로 하는 방법.
The method of claim 1,
The request message is,
Further including an operating parameter, a receiving side parameter, a transmitting side parameter and a request identification parameter,
And the response message includes an identifier identical to the identifier included in the request identification parameter.
제 1 항에 있어서,
상기 응답 모드는,
블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나로 결정되는 것을 특징으로 하는 방법.
The method of claim 1,
The response mode is,
And is determined by any one of a blocking mode, a synchronous nonblocking mode, and an asynchronous nonblocking mode.
삭제delete 제 1 항에 있어서,
상기 응답 모드를 결정하는 단계는,
상기 요청 메시지에 알림 타켓 정보(Notification target information)의 포함 여부를 더 확인하여 상기 응답 모드를 결정하는 것을 특징으로 하는 방법.
The method of claim 1,
Determining the response mode,
And determining whether the response mode is included in the request message by further checking whether notification target information is included in the request message.
제 5 항에 있어서,
상기 응답 모드를 결정하는 단계는,
상기 요청 메시지에 상기 알림 타켓 정보가 포함되는 경우, 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나로 상기 응답 모드를 결정하는 것을 특징으로 하는 방법.
The method of claim 5, wherein
Determining the response mode,
And when the notification target information is included in the request message, determining the response mode as any one of a blocking mode, a synchronous nonblocking mode, and an asynchronous nonblocking mode.
제 5 항에 있어서,
상기 응답 모드를 결정하는 단계는,
상기 요청 메시지에 상기 알림 타켓 정보가 포함되지 않는 경우, 블록킹 모드 및 동기식 넌블록킹 모드 중 어느 하나로 상기 응답 모드를 결정하는 것을 특징으로 하는 방법.
The method of claim 5, wherein
Determining the response mode,
And when the notification target information is not included in the request message, determining the response mode as one of a blocking mode and a synchronous nonblocking mode.
제 1 항에 있어서,
상기 응답 상태 코드는,
상기 결정된 응답 모드에 따라 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 각각이 서로 다른 값을 갖도록 설정되는 것을 특징으로 하는 방법.
The method of claim 1,
The response status code is,
And the blocking mode, the synchronous nonblocking mode, and the asynchronous nonblocking mode are set to have different values according to the determined response mode.
요청 메시지를 처리하는 M2M(Machine to Machine communication) 장치에 있어서,
응답 유형 파라미터 정보를 포함하는 요청 메시지를 타 M2M 장치로부터 수신하는 수신부;
상기 응답 유형 파라미터 정보를 확인하고, 상기 응답 유형 파라미터 정보에 따라 응답 모드를 결정하는 제어부; 및
상기 결정된 응답 모드에 따라 구분되어 설정되는 응답 상태 코드를 포함하는 응답 메시지를 전송하는 송신부를 포함하되,
상기 응답 유형 파라미터 정보는,
상기 타 M2M 장치가 상기 요청 메시지에 대한 상기 응답 모드를 결정하는 경우, 블록킹 요청, 동기식 넌블록킹 및 비동기식 넌블록킹 중 어느 하나의 값으로 설정되고,
상기 요청 메시지를 수신하는 상기 M2M 장치가 상기 응답 모드를 결정하는 경우, 플렉스 블록킹을 지시하는 값으로 설정되며,
상기 제어부는,
상기 응답 유형 파라미터 정보가 블록킹 요청, 동기식 넌블록킹 및 비동기식 넌블록킹 중 어느 하나의 값으로 설정되면, 상기 설정된 값에 지시하는 모드로 상기 응답 모드를 결정하고,
상기 응답 유형 파라미터 정보가 플렉스 블록킹을 지시하는 값으로 설정되면, 상기 M2M 장치의기능에 따라 상기 응답 모드를 결정하는 M2M 장치.
In a machine to machine communication (M2M) device for processing a request message,
A receiving unit which receives a request message including response type parameter information from another M2M device;
A controller which checks the response type parameter information and determines a response mode according to the response type parameter information; And
Including a transmitter for transmitting a response message including a response status code is set according to the determined response mode,
The response type parameter information is
When the other M2M device determines the response mode for the request message, it is set to a value of any one of a blocking request, synchronous nonblocking and asynchronous nonblocking,
When the M2M device receiving the request message determines the response mode, the M2M device is set to a value indicating flex blocking.
The control unit,
When the response type parameter information is set to one of a blocking request, synchronous nonblocking, and asynchronous nonblocking, the response mode is determined as a mode indicating the set value.
And setting the response mode according to the function of the M2M device when the response type parameter information is set to a value indicating flex blocking.
제 9 항에 있어서,
상기 요청 메시지는,
동작 파라미터, 수신측 파라미터, 송신측 파라미터 및 요청 식별 파라미터를 더 포함하되,
상기 응답 메시지는 상기 요청 식별 파라미터에 포함된 식별자와 동일한 식별자를 포함하는 것을 특징으로 하는 M2M 장치.
The method of claim 9,
The request message is,
Further including an operating parameter, a receiving side parameter, a transmitting side parameter and a request identification parameter,
The response message M2M device characterized in that it comprises the same identifier as the identifier included in the request identification parameter.
제 9 항에 있어서,
상기 응답 모드는,
블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나로 결정되는 것을 특징으로 하는 M2M 장치.
The method of claim 9,
The response mode is,
M2M device, characterized in that determined by any one of a blocking mode, a synchronous non-blocking mode and an asynchronous non-blocking mode.
삭제delete 제 9 항에 있어서,
상기 제어부는,
상기 요청 메시지에 알림 타켓 정보(Notification target information)의 포함 여부를 더 확인하여 상기 응답 모드를 결정하는 것을 특징으로 하는 M2M 장치.
The method of claim 9,
The control unit,
The M2M device, characterized in that further determining whether the notification target information (Notification target information) in the request message to determine the response mode.
제 13 항에 있어서,
상기 제어부는,
상기 요청 메시지에 상기 알림 타켓 정보가 포함되는 경우, 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 중 어느 하나로 상기 응답 모드를 결정하는 것을 특징으로 하는 M2M 장치.
The method of claim 13,
The control unit,
M2M device, characterized in that for determining the response mode to any one of a blocking mode, a synchronous non-blocking mode and an asynchronous non-blocking mode when the notification target information is included in the request message.
제 13 항에 있어서,
상기 제어부는,
상기 요청 메시지에 상기 알림 타켓 정보가 포함되지 않는 경우, 블록킹 모드 및 동기식 넌블록킹 모드 중 어느 하나로 상기 응답 모드를 결정하는 것을 특징으로 하는 M2M 장치.
The method of claim 13,
The control unit,
When the request message does not include the notification target information, M2M device characterized in that for determining the response mode to any one of a blocking mode and a synchronous non-blocking mode.
제 9 항에 있어서,
상기 응답 상태 코드는,
상기 결정된 응답 모드에 따라 블록킹 모드, 동기식 넌블록킹 모드 및 비동기식 넌블록킹 모드 각각이 서로 다른 값을 갖도록 설정되는 것을 특징으로 하는 M2M 장치.
The method of claim 9,
The response status code is,
M2M device, characterized in that each of the blocking mode, the synchronous non-blocking mode and the asynchronous non-blocking mode is set to have a different value according to the determined response mode.
KR1020180070116A 2017-06-20 2018-06-19 Methods for processing a request message in M2M system and Apparatuses thereof KR102077582B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2018/006944 WO2018236137A1 (en) 2017-06-20 2018-06-20 Method for processing request message in m2m system and device therefor
US16/625,635 US11290860B2 (en) 2017-06-20 2018-06-20 Method for processing request message in M2M system and device therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170078225 2017-06-20
KR20170078225 2017-06-20

Publications (2)

Publication Number Publication Date
KR20180138183A KR20180138183A (en) 2018-12-28
KR102077582B1 true KR102077582B1 (en) 2020-02-17

Family

ID=65008496

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180070116A KR102077582B1 (en) 2017-06-20 2018-06-19 Methods for processing a request message in M2M system and Apparatuses thereof

Country Status (1)

Country Link
KR (1) KR102077582B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101931858B1 (en) * 2015-07-09 2018-12-24 주식회사 케이티 Methods for receiving response information in M2M system and Apparatuses thereof

Also Published As

Publication number Publication date
KR20180138183A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
US10206090B2 (en) Method and device for searching for available device in M2M environment
US10952036B2 (en) Method for regrouping multiple groups and device
CN107667550B (en) Method for processing request through polling channel in wireless communication system and apparatus therefor
KR20160082967A (en) Method for subscription and notification in m2m communication system and device therefor
EP3163798B1 (en) Method for processing request messages in wireless communication system, and device for same
WO2015188440A1 (en) Resource subscription processing method and device
US11617063B2 (en) Method, apparatus, and system for changing association relationship between MCPTT user and MCPTT group
KR20170033267A (en) Method for processing request message in wireless communication system and apparatus therefor
KR102051839B1 (en) Methods for processing a message in M2M system and Apparatuses thereof
CN111095904A (en) Service layer message template in a communication network
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
KR20150067044A (en) Methods and apparatuses for optimizing common service execution based on node resources
KR102077582B1 (en) Methods for processing a request message in M2M system and Apparatuses thereof
KR20190002340A (en) Methods for processing a request message in M2M system and Apparatuses thereof
US10187866B2 (en) Registering, deregistering and standby processing methods and systems for terminal peripheral
KR20150067041A (en) Method and apparatus of controlling registration in M2M system for load balancing
KR102092100B1 (en) Methods for processing M2M communication via public IP And Apparatuses thereof
KR20150014345A (en) The method for ensuring operation of multiple nodes
KR20190004233A (en) Methods for transmitting a message in M2M system and Apparatuses thereof
KR20170053130A (en) Methods for controlling contact in Machine to Machine communication secure element and Apparatuses thereof
KR20150066401A (en) Data handling technique in the M2M Environment
KR20180107752A (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
KR20160056815A (en) Method for controlling connection between devices in M2M system and Apparatus thereof

Legal Events

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