主权项 |
1. A registering method for a terminal peripheral, comprising:
pre-allocating, by a Machine-to-Machine/Man (M2M) gateway, a terminal peripheral group identifier of a terminal peripheral group to a terminal peripheral configured into the terminal peripheral group by an M2M user, and setting, by the M2M gateway, an initial state of the terminal peripheral, wherein the terminal peripheral group identifier is used for identifying the terminal peripheral group to which the terminal peripheral belongs; acquiring, by the M2M gateway, a terminal peripheral identifier of the terminal peripheral initiating a registering request, and determining, by the M2M gateway, the terminal peripheral group identifier pre-allocated to the terminal peripheral according to the terminal peripheral identifier; and sending, by the M2M gateway, the terminal peripheral identifier and the terminal peripheral group identifier to an M2M application through an M2M service platform, wherein the terminal peripheral identifier and the terminal peripheral group identifier are used for the M2M application to locally create or update group configuration information corresponding to the terminal peripheral group after the M2M application certificates and authorizes the terminal peripheral. |