Method for switching of a device, m2m platform and network system
AssigneeHuawei Technologies Co., Ltd.
InventorsQi LIN, Yongjing ZHANG
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention disclose a method for switching of a device, an M2M platform and a network system. The method includes: a machine-to-machine M2M platform receives a re-registration message including a position of a device in a network service capability layer NSCL resource tree before registration and a position of the device in the resource tree of the NSCL after registration; the M2M platform generates mapping relationship between the position of the device in the resource tree of the NSCL before registration and the position of the device in the resource tree of the NSCL after registration. By way of the present invention, the problem in the prior art can be solved in a manner of re-registration.
Claims21
A method for switching of a device, comprising:
- receiving, by a machine-to-machine (M2M) platform, a re-registration message, wherein the re-registration message comprises a position of the device in a resource tree of a network service capability layer (NSCL) before registration and a position of the device in the resource tree of the NSCL after registration;
- and
- generating, by the M2M platform, a mapping relationship between the position of the device in the resource tree of the NSCL before registration and the position of the device in the resource tree of the NSCL after registration.
A method for switching of a device, comprising:
- receiving, by a gateway service capability layer (GSCL) module, a device triggering message sent by a device in a machine-to-machine (M2M) system, wherein the device triggering message comprises an identity of the device and an identity of a network service capability layer (NSCL) to which the device belongs before registration;
- and
- constructing, by the GSCL module, a re-registration message according to the device triggering message, and sending the re-registration message to an M2M platform, wherein the re-registration message comprises a position of the device in a resource tree of the NSCL before registration and a position of the device in the resource tree of the NSCL after registration, so that the M2M platform generates a mapping relationship between the position of the device in the resource tree of the NSCL before registration and the position of the device in the resource tree of the NSCL after registration.
A method for accessing a resource, comprising:
- receiving, by a machine-to-machine (M2M) platform, a resource accessing request of a network application server, wherein the resource accessing request comprises information on a position of a device in a resource tree of a network service capability layer (NSCL);
- according to a mapping relationship of the device in the M2M platform, determining that the position of the device in the resource tree of the NSCL is a position of the device in the resource tree of the NSCL before registration and acquiring a position of the device in the resource tree of the NSCL after registration corresponding to the position of the device in the resource tree of the NSCL before registration;
- and
- sending a redirection message to the network application server, so that the network application server accesses the M2M platform according to information on the position of the device in the resource tree of the NSCL after registration.
A machine-to-machine (M2M) platform, comprising:
- a message acquisition unit, configured to receive a re-registration message, wherein the re-registration message comprises a position of a device in a resource tree of a network service capability layer (NSCL) before registration and a position of the device in the resource tree of the NSCL after registration;
- and
- a mapping relationship generation unit, configured to generate a mapping relationship between the position of the device in the resource tree of the NSCL before registration and the position of the device in the resource tree of the NSCL after registration.
A machine-to-machine (M2M) platform, comprising:
- a request receiving unit, configured to receive a resource accessing request of a network application server, wherein the resource accessing request comprises information on a position of a device in a resource tree of a network service capability layer (NSCL);
- a redirection position acquisition unit, configured to determine, according to a stored mapping relationship of the device, that the position of the device in the resource tree of the NSCL is a position of the device in the resource tree of the NSCL before registration and acquire a position of the device in the resource tree of the NSCL after registration corresponding to the position of the device in the resource tree of the NSCL before registration;
- and
- a redirection sending unit, configured to send a redirection message to the network application server, so that the network application server accesses the M2M platform according to information on the position of the device in the resource tree of the NSCL after registration.
Dependencies are inferred from the claim text.