Method and apparatus for receiving response information in M2M system
AssigneeSamsung Electronics Co., Ltd.
InventorSangeon Kim
Life of this patent
Estimating the term…
Abstract
Provided is a procedure for receiving response information in response to a request message in an M2M system. Such a procedure may include transmitting a request message; determining a response type parameter corresponding to the request message; and receiving response information according to the response type parameter, wherein one of blocking, synchronous non-blocking (nonBlockingRequestSynch) and asynchronous non-blocking (nonBlockingRequestAsynch) is set as the response type parameter.
Claims7
A method for receiving, by a Machine-to-Machine communication (M2M) device, response information, the method comprising:
- transmitting a request message to a receiving end;
- checking a response type parameter being set to one of synchronous non-blocking (nonBlockingRequestSynch) and asynchronous non-blocking (nonBlockingRequestAsynch) corresponding to the request message;
- receiving response information in case that the response type parameter is set to one of synchronous non-blocking (nonBlockingRequestSynch) and asynchronous non-blocking (nonBlockingRequestAsynch);
- and
- waiting to receive the response information
- wherein the receiving comprising:
- in case that the response type parameter is set to synchronous non-blocking:
- transmitting a retrieval request message;
- receiving a retrieval response message in response to the retrieval request message;
- performing an operation of processing an error to terminate the processing of the request message in case that a response status code parameter included in the retrieval response message indicates an error processing;
- and
- performing an operation of processing the error to terminate the processing of the request message in case that the response status code parameter indicates a success processing and a content parameter is not included in the retrieval response message, and in case that the response type parameter is set to asynchronous non-blocking:
- receiving a notification request message including notification information;
- generating a notification response message in response to the notification request message;
- and
- transmitting the notification response message,
- wherein the retrieval response message comprises at least one of the response status code parameter, a request identification parameter, and the content parameter, and
- wherein the notification response message comprises at least one of the response status code parameter and the request identification parameter, and the request identification parameter is set to be the same as a request identification parameter of the notification request message, and
- wherein the request identification parameter comprises information on operation, target, originator, request ID, meta information, content, request status, and operation result attributes.
A Machine-to-Machine communication (M2M) device for receiving response information, the M2M device comprising:
- a transmitter configured to transmit a request message to a receiving end;
- a controller configured to check a response type parameter being set to one of blocking, synchronous non-blocking (nonBlockingRequestSynch) or asynchronous non-blocking (nonBlockingRequestAsynch) corresponding to the request message, perform an operation of receiving response information in case that the response type parameter is set to synchronous non-blocking (nonBlockingRequestSynch) or asynchronous non-blocking (nonBlockingRequestAsynch), and perform an operation of waiting to receive the response information in a case where there is no response type parameter;
- and
- a receiver configured to receive the response information,
- wherein in case that the response type parameter is set to synchronous non-blocking, the transmitter transmits a retrieval request message, the receiver receives a retrieval response message in response to the retrieval request message, and the controller perform an operation of processing an error to terminate the processing of the request message in case that a response status code parameter included in the retrieval response message indicates an error processing;
- and perform an operation of processing the error to terminate the processing of the request message in case that the response status code parameter indicates a success processing and a content parameter is not included in the retrieval response message, and
- wherein in case that the response type parameter is set to asynchronous non-blocking, the receiver receives a notification request message including notification information, the controller generates a notification response message in response to the notification request message and extracts the response information from the notification request message, and the transmitter transmits the notification response message,
- wherein the retrieval response message comprises at least one of the response status code parameter, a request identification parameter, and the content parameter, and wherein the request identification parameter comprises information on operation, target, originator, request ID, meta information, content, request status, and operation result attributes, and
- wherein the notification response message comprises at least one of the response status code parameter and the request identification parameter, and the request identification parameter is set to be the same as a request identification parameter of the notification request message, and
- wherein the request identification parameter comprises information on operation, target, originator, request ID, meta information, content, request status, and operation result attributes.
Dependencies are inferred from the claim text.