WO2015085474A1 - 一种注册方法和相关节点以及注册系统 - Google Patents

一种注册方法和相关节点以及注册系统 Download PDF

Info

Publication number
WO2015085474A1
WO2015085474A1 PCT/CN2013/088918 CN2013088918W WO2015085474A1 WO 2015085474 A1 WO2015085474 A1 WO 2015085474A1 CN 2013088918 W CN2013088918 W CN 2013088918W WO 2015085474 A1 WO2015085474 A1 WO 2015085474A1
Authority
WO
WIPO (PCT)
Prior art keywords
application node
side application
terminal
network
node
Prior art date
Application number
PCT/CN2013/088918
Other languages
English (en)
French (fr)
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/CN2013/088918 priority Critical patent/WO2015085474A1/zh
Priority to CN201380071160.9A priority patent/CN104938001B/zh
Publication of WO2015085474A1 publication Critical patent/WO2015085474A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a registration method, a related node, and a registration system. Background technique
  • Machine-to-Machine (M2M) communication refers to the application of various communication networks (communication networks, Internet, industry networks) and information-aware, processing technologies to realize data communication between machines and machines, machines and people.
  • M2M communication extends the communication scope of existing information communication networks.
  • the service user Before each service user uses the service provided by the service provider, the service user first needs to sign the service with the service provider, and after the contract is successful, the service user needs to register to use the service provided by the service provider.
  • the usual signing method is that the service user acts as an application node (Application Node) and the service provider as an infrastructure node (API), and agrees on the services that the service users can use and the charges for each service.
  • Business users can initiate the registration process before they can use the various services provided by the service provider. That is, contracting in the prior art is a prerequisite for all processes to begin.
  • each service user must sign a contract before using the service provider's service, so when there are multiple service users, it is necessary to separately Service providers sign up, when the number of business users is very large, this will cause the service provider to be very busy because of the need to sign a separate contract with each business user, and may be down due to the continuous large number of contracted work, and After signing a contract with each business user, the service provider also needs to store the subscription data in the subscription database, which also leads to frequent read and write operations on the subscription database, and the contracted database is also reduced due to the large amount of stored subscription data. The efficiency of read and write operations.
  • Embodiments of the present invention provide a registration method, a related node, and a registration system, which enable a service user to complete registration without requiring a contract.
  • an embodiment of the present invention provides a registration method, including:
  • the network side general service entity CSE receives the terminal side application node registration information sent by the terminal side application node, and the terminal side application node registration information includes the verification information generated by the terminal side application node according to the key, and the network side application node An identity code ID, an identity code of the terminal-side application node, where the network-side application node is an application node that manages the terminal-side application node;
  • the network side general service entity obtains a verification result according to the terminal side application node registration information, where the verification result includes that the terminal side application node is managed by a network side application node that is contracted with a network side general service entity, or the terminal side The application node is not managed by the network side application node that is contracted with the network side general service entity;
  • the network side general service entity creates a terminal side application node resource for the terminal side application node, or sends the verification result to A general service entity of the intermediate node, so that the general service entity of the intermediate node creates a terminal side application node resource for the terminal side application node.
  • the method before the network side general service entity CSE receives the terminal side application node registration information sent by the terminal side application node, the method further includes:
  • the network side general service entity receives the network side application node registration information sent by the network side application node, where the network side application node registration information includes the identity identification code of the network side application node, and the network side general service entity according to the network
  • the side application node registration information creates a network side application node resource for the network side application node.
  • the network side general service entity receives a network side application node sent by the network side application node Before registering information, it also includes:
  • the network side general service entity and the network side application node sign up to generate subscription data.
  • the network side general service entity receives the sending by the terminal side application node After the terminal side application node registration information, the method further includes:
  • the network side general service entity is triggered to obtain the verification result according to the terminal side application node registration information.
  • the network side general service entity according to the The terminal side application node registration information obtains the verification result, including:
  • the network side general service entity sends the terminal side application node registration information to the network side application node, so that the network side application node determines, according to the verification information, whether the terminal side application node is used by the network side.
  • the application node manages and generates verification results;
  • the network side general service entity receives the verification result sent by the network side application node.
  • the network side general service Before the entity obtains the verification result according to the terminal side application node registration information, the method further includes:
  • the network side general service entity receives application management information sent by the network side application node, where the application management information includes an identity identification code of the terminal side application node managed by the network side application node.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information, and includes:
  • the network side general service entity sends the verification information and the sending end And sending, by the network side application node, the terminal side application node that sends the terminal side application node registration information, according to the verification information, to the network side application node. Whether the network side application node manages and generates a verification result; the network side general service entity receives the verification result sent by the network side application node.
  • the method further includes:
  • the network side general service entity receives application management information sent by the network side application node, where the application management information includes an identity identification code of the terminal side application node managed by the network side application node, and corresponding to each terminal side application node. Key.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information, including:
  • the network side general service entity is configured according to the verification information included in the terminal side application node registration information. Determining whether the terminal-side application node that sends the terminal-side application node registration information is managed by the network-side application node, and if the terminal-side application node that sends the terminal-side application node registration information is managed by the network-side application node, generating the first verification As a result, the terminal side application node that is the terminal end application node registration information is managed by the network side application node, and the terminal side application node that sends the terminal side application node registration information is not by the network side.
  • the application node management generates a second verification result, where the second verification result is that the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node;
  • the network-side general service entity If the identity identification code of the terminal-side application node of the application terminal registration information is not included in the application management information, the network-side general service entity generates a second verification result, where the second verification result is The terminal side application node that transmits the terminal side application node registration information is not managed by the network side application node.
  • the network side general service entity receives the terminal side application node registration information sent by the terminal side application node, and includes:
  • the network side general service entity receives the terminal side application node registration information sent by the general service entity of the intermediate node, and the general service entity of the intermediate node receives the terminal side application node registration information from the terminal side application node and forwards the information. Giving the network side a general business entity.
  • the network side general service entity creates a terminal side application node resource for the terminal side application node, or sends the verification result to the intermediate node general service entity, Also includes:
  • the network side general service entity sends application configuration information to the terminal side application node, where the application configuration information is sent by the network side application node to the network side general service entity, and the application configuration information is the network.
  • the configuration content generated by the side application node for the terminal side application node it manages.
  • the sending, by the network side general service entity, the application configuration information to the terminal side application node includes:
  • the network side general service entity sends the application configuration information to the general service entity of the intermediate node, and the general service entity of the intermediate node receives the application configuration information from the network side general service entity and forwards the application configuration information to The terminal side application node.
  • the embodiment of the present invention further provides another registration method, including:
  • the terminal side application node generates verification information according to the key
  • the terminal-side application node sends the terminal-side application node registration information to the network-side general service entity or the general-purpose service entity of the intermediate node, where the terminal-side application node registration information includes the verification information, and the identifier of the network-side application node.
  • the terminal-side application node registration information includes the verification information, and the identifier of the network-side application node.
  • a code ID an identity code of the terminal side application node.
  • the terminal side application node sends a terminal side application section to a network side general service entity or a general service entity of the intermediate node. After clicking the registration information, it also includes:
  • the terminal side application node is managed by the network side application node, and the terminal side application node receives the network side.
  • Application configuration information sent by the general service entity where the application configuration information is a configuration content generated by the network side application node for the terminal side application node managed by the network side application node;
  • the terminal side application node configures the configuration content of the terminal side application node according to the application configuration information.
  • the terminal side application node receives the application configuration information sent by the network side general service entity, including:
  • the embodiment of the present invention further provides another registration method, including:
  • the general service entity of the intermediate node receives the terminal side application node registration information sent by the terminal side application node, and the terminal side application node registration information includes the verification information generated by the terminal side application node according to the key, and the network side application node An identity code ID, an identity code of the terminal side application node;
  • the general service entity of the intermediate node forwards the terminal side application node registration information to the network side general service entity, so that the network side general service entity obtains the verification result according to the terminal side application node registration information;
  • the general service entity of the intermediate node creates a terminal side application node resource for the terminal side application node.
  • the method further includes: The general service entity sends application configuration information to the terminal side application node, where the application configuration information is configuration content generated by the network side application node for the terminal side application node managed by the network side application node, so that the terminal side application node is configured according to the The application configuration information configures configuration content of the terminal side application node.
  • the general service entity of the intermediate node after receiving the terminal side application node registration information sent by the terminal side application node, the general service entity of the intermediate node further includes:
  • the general service entity of the intermediate node detects whether the network side application node resource corresponding to the network side application node included in the registration information of the terminal side application node is stored on the general service entity of the intermediate node;
  • the general-purpose service entity of the intermediate node stores the network-side application node resource corresponding to the network-side application node included in the registration information of the terminal-side application node, triggering the execution of the general-purpose service entity of the intermediate node to the terminal side
  • the application node registration information is forwarded to the network side general service entity.
  • the method further includes:
  • the general-purpose service entity of the intermediate node If the general-purpose service entity of the intermediate node does not store the network-side application node resource corresponding to the network-side application node included in the terminal-side application node registration information, the general-purpose service entity of the intermediate node sends the general-purpose service to the network side The entity sends the network side application node resource acquisition request information, where the network side application node resource acquisition request information includes the verification information, the identity identification code of the network side application node, and the identity identification code of the terminal side application node;
  • the general service entity of the intermediate node receives the network side application node corresponding to the network side general service entity Network side application node resources.
  • the common service entity receiving terminal of the intermediate node After the terminal-side application node registration information sent by the side application node, the method further includes:
  • the general service entity of the intermediate node detects whether the identity code of the terminal side application node managed by the network side application node included in the registration information of the terminal side application node is stored on the general service entity of the intermediate node;
  • the general service entity of the intermediate node determines whether the identity code of the terminal side application node included in the terminal side application node registration information includes the identity of the terminal side application node managed by the network side application node. In the code;
  • the general service entity that triggers the execution of the intermediate node forwards the terminal side application node registration information to the network side general service entity.
  • the embodiment of the present invention further provides a network side general service entity, including:
  • the registration information receiving module is configured to receive the terminal side application node registration information sent by the terminal side application node, where the terminal side application node registration information includes the verification information generated by the terminal side application node according to the key, and the network side application node An identity code ID, an identity code of the terminal-side application node, where the network-side application node is an application node that manages the terminal-side application node;
  • a verification result obtaining module configured to obtain a verification result according to the terminal side application node registration information received by the registration information receiving module, where the verification result includes that the terminal side application node is a network side that is contracted with a network side general service entity
  • the application node management, or the terminal side application node is not managed by the network side application node that is contracted with the network side general service entity;
  • a resource creation module configured to create a terminal-side application node resource for the terminal-side application node when the verification result obtained by the verification result obtaining module is that the terminal-side application node is managed by the network-side application node;
  • the verification result sending module configured to: when the verification result obtained by the verification result obtaining module is that the terminal side application node is managed by the network side application node, send the verification result to the general service of the intermediate node An entity, so that the general service entity of the intermediate node creates a terminal side application node resource for the terminal side application node.
  • the registration information receiving module is further configured to receive network side application node registration information sent by the network side application node, where the network side application node registration information includes an identity identification code of the network side application node;
  • the resource creation module is further configured to create a network side application node resource for the network side application node according to the network side application node registration information received by the registration information receiving module.
  • the network side general service entity further includes:
  • the signing module is configured to sign the contract with the network side application node to generate the subscription data before the registration information receiving module receives the network side application node registration information sent by the network side application node.
  • the network side general service entity further includes:
  • a resource creation judging module configured to: after the registration information receiving module receives the terminal side application node registration information sent by the terminal side application node, according to the terminal side application node registration information, The identifier of the network-side application node determines whether the network-side application node resource has been created for the network-side application node; if the network-side application node resource has been created for the network-side application node, the verification result acquisition module is triggered to be executed.
  • the verification result obtaining module includes: Registering information, so that the network side application node determines, according to the verification information, whether the terminal side application node is managed by the network side application node and generates a verification result;
  • the verification result receiving submodule is configured to receive the verification result sent by the network side application node.
  • the network side general service Entity also includes:
  • a management information receiving module configured to receive application management information sent by the network side application node, where the application management information includes the network side, before the verification result obtaining module obtains the verification result according to the terminal side application node registration information The identity code of the terminal-side application node managed by the application node.
  • the verification result obtaining module includes:
  • An identity identification code determining sub-module configured to determine whether an identity identification code of the terminal-side application node of the application node registration information of the sending terminal side is included in the application management information;
  • An identity code forwarding sub-module configured to register the verification information and the sending terminal-side application node when the identity identification code of the terminal-side application node of the sending terminal-side application node registration information is included in the application management information
  • the identifier of the terminal-side application node of the information is sent to the network-side application node, so that the network-side application node determines, according to the verification information, whether the terminal-side application node that sends the terminal-side application node registration information is used by the network.
  • the side application node manages and generates the verification result;
  • the verification result receiving submodule is configured to receive the verification result sent by the network side application node.
  • the network side general service entity further includes: a management information receiving module, configured to receive application management information sent by the network side application node, where the application management information includes the network side, before the verification result obtaining module obtains the verification result according to the terminal side application node registration information The identity code of the terminal-side application node managed by the application node and the key corresponding to each terminal-side application node.
  • the verification result obtaining module includes:
  • an identity identification code determining sub-module configured to determine, according to the terminal-side application node registration information, whether an identity identification code of the terminal-side application node that sends the terminal-side application node registration information is included in the application management information;
  • a node determining sub-module configured to: according to the verification information included in the registration information of the terminal-side application node, when the identity identification code of the terminal-side application node of the application information of the application terminal is included in the application management information Determining whether the terminal-side application node that sends the terminal-side application node registration information is managed by the network-side application node,
  • a verification result generation sub-module configured to generate a first verification result when the terminal-side application node that sends the terminal-side application node registration information is managed by the network-side application node, where the first verification result is a sending terminal-side application node
  • the terminal side application node of the registration information is managed by the network side application node, and when the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node, generating a second verification result, where the The second verification result is that the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node;
  • the verification result generation submodule is further configured to generate a second verification result when the identity identification code of the terminal side application node of the application terminal registration information of the sending terminal side is not included in the application management information,
  • the second verification result is that the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node.
  • the registration information receiving module is specifically configured to receive the terminal side application node registration information sent by the general service entity of the intermediate node, where the general service entity of the intermediate node is applied from the terminal side After receiving the terminal side application node registration information, the node forwards the information to the network side general service entity.
  • the network side general service entity further includes: An application configuration sending module, configured to create a terminal side application node resource for the terminal side application node, or after the verification result sending module sends the verification result to the general service entity of the intermediate node, The terminal-side application node sends the application configuration information, where the application configuration information is sent by the network-side application node to the network-side general service entity, where the application configuration information is the terminal side managed by the network-side application node The configuration content generated by the application node.
  • the application configuration sending module is specifically configured to send the application configuration information to the intermediate node a general service entity, the general service entity of the intermediate node forwards the application configuration information to the terminal side application node after receiving the application configuration information from the network side general service entity.
  • the embodiment of the present invention further provides a terminal-side application node, including:
  • a verification information generating module configured to generate verification information according to the key
  • a registration information sending module configured to send, to the network side general service entity or the general service entity of the intermediate node, the terminal side application node registration information, where the terminal side application node registration information includes the verification information, the identity of the network side application node The identifier code ID and the identity code of the terminal side application node.
  • the terminal side application node further includes:
  • a configuration information receiving module configured to: after the registration information sending module sends the terminal side application node registration information to the network side general service entity or the general service entity of the intermediate node, if the network side general service entity is based on the terminal side application node
  • the verification result obtained by the registration information is that the terminal side application node is managed by the network side application node, and receives application configuration information sent by the network side general service entity, where the application configuration information is the network side application node pair.
  • a configuration module configured to configure, according to the application configuration information, configuration content of the terminal-side application node.
  • the configuration information receiving module is configured to receive the application configuration from a general service entity of the intermediate node.
  • Information the general service entity of the intermediate node is in the general business from the network side
  • the body forwards the information to the terminal side application node.
  • the embodiment of the present invention further provides a general service entity of the intermediate node, including: a registration information receiving module, configured to receive terminal side application node registration information sent by the terminal side application node, and the terminal side application node registration information The verification information generated by the terminal-side application node according to the key, the identity identification code ID of the network-side application node, and the identity identification code of the terminal-side application node;
  • a registration information receiving module configured to receive terminal side application node registration information sent by the terminal side application node, and the terminal side application node registration information The verification information generated by the terminal-side application node according to the key, the identity identification code ID of the network-side application node, and the identity identification code of the terminal-side application node;
  • a registration information forwarding module configured to forward the terminal side application node registration information to the network side general service entity, so that the network side general service entity obtains the verification result according to the terminal side application node registration information
  • a node resource creation module configured to create a terminal side application node resource for the terminal side application node when the risk certificate result is that the terminal side application node is managed by the network side application node.
  • the common service entity of the intermediate node further includes:
  • a configuration information sending module configured to send, by the node resource creation module, a terminal side application node resource to the terminal side application node, and send application configuration information to the terminal side application node, where the application configuration information is the network side
  • the configuration content generated by the application node for the terminal-side application node is configured to enable the terminal-side application node to configure the configuration content of the terminal-side application node according to the application configuration information.
  • the common service entity of the intermediate node further includes:
  • a node resource judging module configured to: after the registration information receiving module receives the terminal side application node registration information sent by the terminal side application node, detecting whether the terminal side application node registration information is saved in the common service entity of the intermediate node The network side application node resource corresponding to the network side application node is included; if the network side application node resource corresponding to the network side application node included in the registration information of the terminal side application node is saved on the general service entity of the intermediate node, triggering The registration information forwarding module is executed.
  • the common service entity of the intermediate node further includes:
  • a node resource requesting module configured to: when the general service entity of the intermediate node does not save the network side application node resource corresponding to the network side application node included in the registration information of the terminal side application node And transmitting the network side application node resource acquisition request information to the network side general service entity, where the network side application node resource acquisition request information includes the verification information, the identity identification code of the network side application node, and the The identity code of the application node of the terminal side;
  • a node resource receiving module configured to: when the network side common service entity stores the network side application node resource corresponding to the network side application node, receive the network side application node corresponding to the network side general service entity Network side application node resources.
  • the common service entity of the intermediate node is further Includes:
  • An identity code detecting module configured to: after receiving the terminal side application node registration information sent by the terminal side application node, the registration information receiving module detects whether the terminal side application node registration information is saved on the general service entity of the intermediate node The identity identification code of the terminal side application node managed by the network side application node included in the network side;
  • the identity code determining module is configured to: when the identity code of the terminal side application node managed by the network side application node included in the registration information of the terminal side application node is stored on the general service entity of the intermediate node, Whether the identity identification code of the terminal side application node included in the terminal side application node registration information is included in the identity identification code of the terminal side application node managed by the network side application node; if yes, triggering execution of the registration information forwarding module .
  • a seventh aspect of the present invention provides a registration system, including:
  • the embodiments of the present invention have the following advantages:
  • the terminal side application node first generates the verification information according to the key, and then the terminal side application node sends the terminal side application node registration information to the network side general service entity or the intermediate node general service entity, and the network side general service entity may The terminal side application node registration information is received, and then the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the network side general service entity is the terminal.
  • the side application node creates the terminal side application node resource, or sends the verification result to the general service entity of the intermediate node, and the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node according to the verification result.
  • the terminal side application node does not need to be integrated with the network side.
  • the general-purpose service entity of the network-side general service entity or the intermediate node can create the terminal-side application node resource for the terminal-side application node, and the terminal-side application node can use the service provided by the network-side general service entity, when the terminal side
  • the system-wide general service entity can reduce the system busy caused by signing a contract with each terminal-side application node separately, and there is no need to perform frequent read and write operations on the subscription database.
  • FIG. 1 is a schematic block diagram of a registration method according to an embodiment of the present invention.
  • FIG. 2 is a schematic block diagram of another registration method according to an embodiment of the present invention
  • FIG. 3 is a schematic block diagram of another registration method according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a registration system according to an embodiment of the present invention
  • FIG. 5-a is a schematic diagram of an application scenario of the registration method provided in the embodiment of the present invention
  • FIG. 5-b is a schematic diagram of another application scenario of the registration method provided in the embodiment of the present invention
  • FIG. 5 is a schematic diagram of another application scenario of the registration method provided in the embodiment of the present invention
  • FIG. 5-d is a schematic diagram of another application scenario of the registration method provided in the embodiment of the present invention
  • FIG. 5 is a schematic diagram of another application scenario of the registration method provided in the embodiment of the present invention
  • FIG. 5-g is another application of the registration method provided in the embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a network side general service entity according to an embodiment of the present invention
  • 6-b is a schematic structural diagram of another network side general service entity according to an embodiment of the present invention.
  • 6-c is a schematic structural diagram of another network side general service entity according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another network side general service entity according to an embodiment of the present invention.
  • FIG. 6-f is a schematic structural diagram of another verification result obtaining module according to an embodiment of the present invention.
  • FIG. 6-g is a schematic structural diagram of another verification result obtaining module according to an embodiment of the present invention.
  • 6-h is a schematic structural diagram of another network side general service entity according to an embodiment of the present invention.
  • Figure 7-a is a schematic structural diagram of a terminal-side application node according to an embodiment of the present invention
  • Figure 7-b is a schematic structural diagram of another terminal-side application node according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a general service entity of another intermediate node according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a general service entity of another intermediate node according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a general service entity of another intermediate node according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a general service entity of another intermediate node according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a registration system according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another network side general service entity according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another terminal side application node according to an embodiment of the present invention
  • FIG. 12 is a schematic structural diagram of another general service entity of an intermediate node according to an embodiment of the present invention. detailed description
  • the embodiment of the invention provides a registration method and a related node and a registration system, which can enable a service user to complete registration without signing a contract.
  • a registration method and a related node and a registration system which can enable a service user to complete registration without signing a contract.
  • the service user usually implements the registration process based on the terminal side application node and the network side application node
  • the service provider usually implements the registration verification of the terminal side application node based on the network side general service entity
  • the network side The general service entity is connected to the terminal side application node and the network side application node respectively.
  • an intermediate node may be deployed between the network side general service entity and the terminal side application node, and the intermediate node functions similarly to the network side general service entity and
  • the gateway between the application nodes on the terminal side, the application node on the terminal side can be registered to the general service entity on the network side, and the application node on the terminal side can also be registered on the general service entity of the intermediate node.
  • a service user is a power meter used by a resident user and a power plant that provides power service to a resident user, and a power plant usually provides power service for a large number of resident users, and the electricity meter of the resident user needs Regularly report the electricity consumption data to the power plant.
  • the power plant charges the residential users according to the electricity consumption data reported by each electricity meter.
  • the data storage and forwarding service needs to be used between the power plant and the electricity meter, and the power plant and the electricity meter can
  • the power plant is equivalent to the network side application node, and each power meter is the terminal side application node.
  • the power meter reports the power data based on the network side general service entity, and the power plant obtains each based on the network side general service entity.
  • the electricity data reported by the meter is a power meter used by a resident user and a power plant that provides power service to a resident user, and a power plant usually provides power service for a large number of resident users, and the electricity meter of the resident
  • An embodiment of the registration method of the present invention is applicable to a network side general service entity, and the method may include: a network side general service entity (CSE) receiving terminal side should The terminal side application node registration information sent by the node, where the terminal side application node registration information includes the verification information generated by the terminal side application node according to the key, the ID code of the network side application node (IDentity, ID), and the terminal side application node.
  • CSE network side general service entity
  • the identification code of the network side is an application node that manages the application node of the terminal side; the general service entity of the network side obtains the verification result according to the registration information of the application node of the terminal side, wherein the verification result includes that the application node of the terminal side is the network side The application node management, or the terminal-side application node is not managed by the network-side application node; if the verification result is that the terminal-side application node is managed by the network-side application node, the network-side general service entity creates the terminal-side application node resource for the terminal-side application node, Or sending the verification result to the general service entity of the intermediate node, so that the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node.
  • An embodiment of the registration method of the present invention may specifically include the following steps:
  • the network side general service entity receives the terminal side application node registration information sent by the terminal side application node.
  • the terminal side application node registration information includes: authentication information generated by the terminal side application node according to the key, an identity identification code of the network side application node, and an identity identification code of the terminal side application node.
  • the network side application node is an application node that manages the terminal side application node.
  • one network-side application node can manage multiple terminal-side application nodes.
  • both the network-side application node and the terminal-side application node need to store and forward data based on the same platform.
  • the platform used by the network side application node and the terminal side application node is implemented by the network side general service entity, the network side application node is contracted with the network side general service entity, and the network side general service entity generates the subscription data.
  • the subscription data can be stored in the subscription database.
  • the network side application node needs to sign the contract with the network side general service entity, and the terminal side application node also needs to sign the network side common service entity.
  • one network side application node usually manages multiple terminal side application nodes, when the number of terminal side application nodes is too large, this may cause the network side general service entity to be associated with each terminal side application node.
  • Separate signing is very busy, and may be down due to continuous large number of contracting work, and the network side general business entity needs to store the contract data in the contract database after signing with each terminal side application node, and will also result in signing the contract.
  • Frequent read and write operations of the database, and the contracted database also reduces the efficiency of read and write operations due to the large amount of stored subscription data.
  • only the terminal side application node can sign the data storage forwarding provided by the network side general entity.
  • the service that is, the subscription of the terminal-side application node is the premise of the start of all processes. It means that the terminal-side application node can only register after signing with the network-side general service entity.
  • the terminal side application node does not need to sign the contract with the network side general service entity to initiate the registration process, because the network side general service entity does not perform with the terminal side application node.
  • the network side general service entity does not retain any information of the terminal side application node, and the network side general service entity has no judgment on the legitimacy of the terminal side application node, so that the terminal side application node can successfully register to the network side general service.
  • the terminal-side application node needs to carry at least the following content when generating the terminal-side application node registration information: The authentication information generated by the terminal-side application node according to the key, and the identity of the network-side application node Code, the identity code of the application node on the terminal side.
  • the network-side application node when the terminal-side application node accepts the management of the network-side application node, the network-side application node can generally assign a key to the terminal-side application node, and the network-side application node uses the key to verify whether a terminal-side application node is When the network-side application node manages multiple terminal-side application nodes, the network-side application node assigns a key to each terminal-side application node, and the network-side application node can set all terminal-side application nodes to one terminal. In the management list, the key corresponding to each terminal-side application node is stored in the terminal management list.
  • the terminal-side application node can generate the verification information according to the key.
  • the verification information needs to be sent.
  • the network-side application node can verify whether the terminal-side application node is managed by itself according to the verification information. If the information is passed, the application node on the terminal side is legal. If the authentication information fails, the application node on the terminal side is not legal.
  • the terminal-side application node needs to carry the identity identification code of the terminal-side application node and the identity identification code of the network-side application node of the terminal-side application node in the terminal-side application node registration information.
  • the side-side general service entity can only know which network-side application node of the terminal-side application node that sends the terminal-side application node information is managed by the network-side application node by using the identity code of the network-side application node carried in the terminal-side application node registration information. .
  • the method may further include the following steps:
  • the network side general service entity receives the network side application node registration information sent by the network side application node, where the network side application node registration information includes the identity code of the network side application node; A2.
  • the network side general service entity creates a network side application node resource for the network side application node according to the network side application node registration information.
  • the network side application node when the network side application node manages the terminal side application node, the network side application node first registers with the network side general service entity, and the network side application node sends the network side application node registration information to the network side general service entity, wherein
  • the network side application node registration information includes the network side application node's identity identification code.
  • the network side general service entity can receive the network side application node registration information, and then the network side general service entity in step A2 registers according to the network side application node.
  • the information is used to create a network-side application node resource for the network-side application node, where the network-side application node resource may include a creation time, a Uniform Resource Locator (URI), an attribute, and the like.
  • URI Uniform Resource Locator
  • the network side application node resources created by the network side general service entity are also different.
  • the network side application node resource created by the network side general service entity may be The identification code of the water plant, the registration time of the water plant, and the period of the water meter reading the water meter data are created on the common business entity on the network side.
  • the step A1 may further include the following steps:
  • the network side general service entity and the network side application node sign up to generate subscription data.
  • the network side application node Before the network side application node registers with the network side general service entity, the network side application node also needs to sign the network side general service entity, and the network side general service entity and the network side application node sign the contract to generate the subscription data, and the network side is universal.
  • the service entity can store the subscription data in the subscription database. In different specific application scenarios, the subscription data generated by the network-side general service entity is also different.
  • the contract data generated by the network side general service entity can be used for the specific service content used by the water plant and the charge of each service, and only the network side application node and the network side general business entity sign the contract.
  • the network side application node can use the data storage and forwarding service provided by the network side general service entity.
  • the network side application node may be contracted with the network side general service entity, but the terminal side application node may directly initiate the registration process without signing a contract with the network side general service entity.
  • the terminal side application node may directly connect with the network side general service entity, so the terminal side application node may send the terminal side application node registration information.
  • the terminal-side application entity can be connected to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node and the network-side general service entity are connected, that is, the terminal-side application node passes through the intermediate node.
  • the general service entity and the network side general service entity are connected. Therefore, the network side general service entity receives the terminal side application node registration information sent by the terminal side application node, and the network side general service entity receives the terminal sent by the general service entity of the intermediate node.
  • the side application node registration information is forwarded to the network side general service entity after receiving the terminal side application node registration information from the terminal side application node.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the verification result includes that the terminal side application node is managed by the network side application node that is contracted with the network side general service entity, or the terminal side application node is not managed by the network side application node that is contracted with the network side general service entity.
  • the network side general service entity may obtain the verification information of the terminal side application node, the identity identification code of the terminal side application node, and the network side.
  • the identity code of the application node The network side general service entity obtains the verification result according to the terminal side application node registration information, and the verification result refers to the result of the feedback after the terminal side application node registration information sent by the terminal side application node is verified.
  • the verification result in the embodiment of the present invention includes two possibilities: the first is that the terminal-side application node is managed by the network-side application node that is contracted with the network-side general service entity, and the second is that the terminal-side application node is not used by the network-side application node.
  • the network side general service entity obtains the verification result to verify the validity of the terminal side application node.
  • the verification result is that the terminal side application node is managed by the network side application node, the terminal side application node is legal, and the verification result is When the terminal-side application node is not the application node on the network side, the terminal-side application node is illegal.
  • the embodiment of the present invention may further include the following steps:
  • the network side general service entity determines whether the network side application node resource has been created for the network side application node according to the identity identification code of the network side application node included in the terminal side application node registration information;
  • the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the network side general service entity may extract the identity identification code of the network side application node from the terminal side application node registration information, and the network side general service in step B1.
  • the entity determines, according to the extracted identity code of the network side application node, whether the network side application node resource has been created for the network side application node, that is, the network side general service entity first determines whether the network side application node has been registered to the network side general service.
  • the network-side general service entity creates a network-side application node resource for the network-side application node, and creates a network-side application for the network-side application node.
  • the node resource is triggered to execute step 102.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the network side general service entity first performs legality verification on the network side application node carried in the terminal side application node registration information, and the network side application node carried in the terminal side application node registration information is legal. Then, the validity of the terminal-side application node is verified. If the network-side application node carried in the application information of the terminal-side application node is not legal, the process proceeds to the terminal side without performing step 102 and subsequent steps. Node feedback registration failed.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information, and includes:
  • the network side general service entity sends the terminal side application node registration information to the network side application node, so that the network side application node determines, according to the verification information, whether the terminal side application node is managed by the network side application node and generates a risk certificate result;
  • the network side general service entity receives the verification result sent by the network side application node.
  • the network side general service entity After the network side general service entity receives the terminal side application node registration information, the network side general service entity forwards the network side application node to the network side application node, that is, in the embodiment described herein, the network side application node is opposite to the terminal side. The validity of the application node is verified, and the verification result is fed back to the network side application general business entity by the network side application node.
  • the embodiment of the present invention may further include: D1, the network side general service entity receiving network The application management information sent by the side application node, where the application management information includes an identity identification code of the terminal side application node managed by the network side application node. That is, the network side application node may send the identity identification code of all the terminal side application nodes managed by the network side application node to the network side general service entity, and the network side general service entity may determine to initiate according to the application management information. Whether the registered terminal-side application node is legal. Specifically, the step D1 may send the application management information to the network side general service entity when the network side application node and the network side general service entity sign the contract, and store the application management information in the subscription database by the network side general service entity.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information, and includes:
  • the network side general service entity determines whether the identity identification code of the terminal application node of the application node registration information of the sending terminal side is included in the application management information;
  • the network-side general service entity verifies the information and the identity of the terminal-side application node that sends the terminal-side application node registration information.
  • the code is sent to the network side application node, so that the network side application node determines, according to the verification information, whether the terminal side application node that sends the terminal side application node registration information is managed by the network side application node and generates a verification result;
  • the network side general service entity receives the verification result sent by the network side application node.
  • the network side general service entity if the network side general service entity stores the application management information, the network side general service entity first determines the identity identification code of the terminal side application node, and if the identity identification code is not in the application management information, then the terminal The application information of the terminal application node fails to be registered. Otherwise, the application node on the network side is triggered to verify the validity of the application node on the terminal side.
  • the embodiment of the present invention may further include:
  • the network side general service entity receives application management information sent by the network side application node, where the application management information includes an identity identification code of the terminal side application node managed by the network side application node and a key corresponding to each terminal side application node.
  • step D5 The difference between the step D5 and the step D5 is that the application management information sent by the network side application node further includes the key corresponding to all the terminal side application nodes managed by the network side application node, and the network side general service entity receives the same. After the key corresponding to the application node of the terminal side, the network-side general service entity can verify the validity of the terminal-side application node by itself.
  • step 102 is a network side general service entity according to The terminal side application node registration information obtains the verification result, including:
  • the network side general service entity determines, according to the terminal side application node registration information, whether the identity identification code of the terminal side application node that sends the terminal side application node registration information is included in the application management information, and then performs steps D7 and D8 respectively;
  • the network-side general service entity determines the sending terminal-side application node according to the verification information included in the terminal-side application node registration information. Whether the terminal side application node of the registration information is managed by the network side application node, and if the terminal side application node that sends the terminal side application node registration information is managed by the network side application node, the first verification result is generated, and the first verification result is the sending terminal side.
  • the terminal-side application node that applies the node registration information is managed by the network-side application node.
  • the terminal-side application node that sends the terminal-side application node registration information is not managed by the network-side application node, the second verification result is generated, and the second verification result is sent.
  • the terminal side application node of the terminal side application node registration information is not managed by the network side application node;
  • the network-side general service entity If the identity code of the terminal-side application node that sends the terminal-side application node registration information is not included in the application management information, the network-side general service entity generates a second verification result, and the second verification result is the sending terminal-side application node registration.
  • the terminal side application node of the information is not managed by the network side application node.
  • step 103 if the verification result is that the terminal side application node is managed by the network side application node, step 104 is performed respectively.
  • Step 104 that is, step 103 and step 104 respectively correspond to different implementation manners.
  • the network side general service entity may report the registration failure to the terminal side application node. .
  • the network side general service entity creates the terminal side application node resource for the terminal side application node.
  • the terminal-side application node if the verification result is that the terminal-side application node is managed by the network-side application node, the terminal-side application node is authenticated, and the terminal-side application node is legal, and the terminal-side application node is registered to the network side.
  • the network side general service entity creates a terminal side application node resource for the terminal side application node.
  • the terminal-side application node resources created by the network-side general service entity are also different in different specific application scenarios.
  • the terminal-side application node resource created by the network-side general service entity may be an identity code for creating a water meter on a network-side general service entity, a registration time of the water meter, and a period for reporting the data by the water meter.
  • the verification result is that the terminal side application node is managed by the network side application node
  • the verification result is sent to the general service entity of the intermediate node, so that the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node.
  • the terminal-side application node passes the verification, and the terminal-side application node is legal, and the terminal-side application node registers with the intermediate node.
  • the network side general service entity sends the verification result to the general service entity of the intermediate node, and the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node.
  • the terminal-side application node resources created by the common service entity of the intermediate node are different in different specific application scenarios.
  • the general service entity of the intermediate node may be an identity code of a water meter, a registration time of a water meter, a period of reporting data by a water meter, and the like, on a general service entity of the intermediate node.
  • the embodiment of the present invention may further include the following steps:
  • the network-side general service entity sends the application configuration information to the terminal-side application node, where the application configuration information is sent by the network-side application node to the network-side general service entity, and the application configuration information is the terminal side managed by the network-side application node.
  • the configuration content generated by the application node is generated by the application node.
  • the network-side general service entity can send the application configuration information to the terminal-side application node, and the terminal-side application node
  • the configuration content of the application can be configured according to the application configuration information, where the application configuration information is sent by the network side application node to the network side general service entity, and specifically specifies how the terminal side application node managed by the terminal side should be configured.
  • the application configuration information generated by the network side application node is different in different specific application scenarios.
  • the application configuration information generated by the application node on the network side is It may be the sleep time of the water meter, the format of the data reported by the water meter, the update message of the notification broadcast, and the like.
  • the network side general service entity sends the application configuration information to the terminal side application node, which may include:
  • the network side general service entity sends the application configuration information to the general service entity of the intermediate node,
  • the general service entity of the inter-node forwards the application configuration information to the terminal-side application node after receiving the application configuration information from the network-side general service entity.
  • the network side general service entity can receive the terminal side application node registration information, and then the network side general service entity obtains the verification result according to the terminal side application node registration information, and the verification result is the terminal side application node.
  • the network side general service entity creates the terminal side application node resource for the terminal side application node, or sends the verification result to the intermediate node general service entity, and the intermediate node general service entity is the terminal side according to the verification result.
  • the application node creates a terminal-side application node resource.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the system can be reduced because the network side general service entity needs to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • the method may include: the terminal-side application node generates verification information according to the key; and the terminal-side application node is universal to the network-side general service entity or the intermediate node.
  • the service entity sends the terminal side application node registration information, where the terminal side application node registration information includes the verification information, the identity code ID of the network side application node, and the identity identification code of the terminal side application node.
  • the registration method provided by another embodiment of the present invention may specifically include the following steps:
  • the terminal side application node generates verification information according to the key.
  • the network side application node is an application node that manages the terminal side application node.
  • one network-side application node can manage multiple terminal-side application nodes.
  • both the network-side application node and the terminal-side application node need to store and forward data based on the same platform.
  • the platform used by the network side application node and the terminal side application node is implemented by the network side general service entity, the network side application node is contracted with the network side general service entity, and the network side general service entity generates the subscription data.
  • the subscription data can be stored in the subscription database.
  • the network side application node needs to sign the contract with the network side general service entity, and the terminal side application node also needs to sign the network side common service entity. It can be understood that, since one network side application node usually manages multiple terminal side application nodes, when the number of terminal side application nodes is too large, this may cause the network side general service entity to be associated with each terminal side application node. Separate signing is very busy, and may be down due to continuous large number of contracting work, and the network side general business entity needs to store the contract data in the contract database after signing with each terminal side application node, and will also result in signing the contract.
  • the terminal side application node does not need to sign the contract with the network side general service entity to initiate the registration process, because the network side general service entity does not perform with the terminal side application node.
  • the network side general service entity does not retain any information of the terminal side application node, and the network side general service entity has no judgment on the legitimacy of the terminal side application node, so that the terminal side application node can successfully register to the network side general service.
  • the network-side application node can generally assign a key to the terminal-side application node, and the network-side application node verifies by using the key. Whether a terminal-side application node is managed by itself.
  • the network-side application node manages multiple terminal-side application nodes, the network-side application node assigns a key to each terminal-side application node, and the network-side application node can all the terminals.
  • Side application node is set at A terminal management list, and storing each terminal node key corresponding to the application side in the terminal management list. The terminal-side application node can verify the information according to the key.
  • the verification information needs to be sent, and the network-side application node can verify, according to the verification information, whether the terminal-side application node is managed by itself, if the verification information If the authentication information is not passed, the application node on the terminal side is not legal.
  • the terminal side application node sends the terminal side application node registration information to the network side general service entity or the general service entity of the intermediate node.
  • the terminal side application node registration information includes the verification information, the identity identifier code of the network side application node, and the identity identification code of the terminal side application node.
  • the terminal side application node needs to carry the identity identification code of the terminal side application node and the network of the terminal side application node in addition to carrying the verification information in the generated terminal side application node registration information.
  • the identification code of the application node of the side is used.
  • the network side general service entity can only know the terminal side of the application node information of the sending terminal side because only the identity code of the network side application node carried in the registration information of the terminal side is used. Which network side application node is used by the application node to manage.
  • the terminal side application node may be directly connected to the network side general service entity, so the terminal side application node may send the terminal side application node registration information to the network side general service entity, and
  • the terminal side application node may also be connected to the general service entity of the intermediate node, and the general service entity of the intermediate node and the network side general service entity are connected, that is, the terminal side application node passes the intermediate service entity of the intermediate node and the network side general service entity.
  • the second terminal side application node sends the terminal side application node registration information to the network side general service entity, and the second terminal side application node sends the terminal to the intermediate node general service entity.
  • the side application node registration information is forwarded to the network side general service entity after receiving the terminal side application node registration information from the terminal side application node.
  • the method may further include:
  • the terminal side application node if the network side general service entity obtains the verification result obtained by the terminal side application node registration information, the terminal side application node is managed by the network side application node, and the terminal side application node receives the application configuration information sent by the network side general service entity, where
  • the application configuration information is a configuration content generated by the network side application node for the terminal side application node managed by the network side application node;
  • the terminal side application node configures the configuration content of the terminal side application node according to the application configuration information.
  • the network-side general service entity can send the application configuration information to the terminal-side application node, and the terminal-side application node
  • the configuration content of the application can be configured according to the application configuration information, where the application configuration information is sent by the network side application node to the network side general service entity, and specifically specifies how the terminal side application node managed by the terminal side should be configured.
  • the application configuration information generated by the network side application node is different in different specific application scenarios.
  • the application configuration information generated by the application node on the network side is It may be the sleep time of the water meter, the format of the data reported by the water meter, the update message of the notification broadcast, and the like.
  • the terminal F1 terminal side application node receives the network side general industry.
  • the application configuration information sent by the entity may be that the terminal side application node receives the application configuration information from the general service entity of the intermediate node, and the general service entity of the intermediate node forwards the application configuration information to the terminal after receiving the application configuration information from the network side general service entity.
  • Side application node receives the application configuration information from the general service entity of the intermediate node, and the general service entity of the intermediate node forwards the application configuration information to the terminal after receiving the application configuration information from the network side general service entity.
  • the terminal side application node first generates the verification information according to the key, and then the terminal side application node sends the terminal side application node registration information to the network side general service entity or the general service entity of the intermediate node, and the network side
  • the general service entity can receive the terminal side application node registration information, and then the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the verification result is that the terminal side application node is managed by the network side application node, the network side is universal.
  • the service entity creates a terminal-side application node resource for the terminal-side application node, or sends a verification result to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node creates a terminal-side application node resource for the terminal-side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the network side general service entity can reduce the system busy due to the need to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • An embodiment of the registration method of the present invention is applicable to a general service entity of an intermediate node, where the method may include: receiving, by the general service entity of the intermediate node, terminal side application node registration information sent by the terminal side application node, where the terminal side application
  • the node registration information includes the authentication information generated by the terminal side application node according to the key, the identity code ID of the network side application node, and the identity identification code of the terminal side application node; the general service entity of the intermediate node forwards the terminal side application node registration information to The network side general service entity, so that the network side general service entity obtains the verification result according to the terminal side application node registration information; if the risk certificate result is that the terminal side application node is managed by the network side application node, the intermediate node general service entity is the terminal side application.
  • the node creates a terminal-side application node resource.
  • An embodiment of the registration method of the present invention may specifically include the following steps:
  • the general service entity of the intermediate node receives the terminal side application node registration information sent by the terminal side application node.
  • the terminal side application node registration information includes the verification information generated by the terminal side application node according to the key, the identity identification code ID of the network side application node, and the identity identification code of the terminal side application node.
  • the network side application node is an application section for managing the terminal side application node. Point.
  • one network-side application node can manage multiple terminal-side application nodes.
  • both the network-side application node and the terminal-side application node need to store and forward data based on the same platform.
  • the platform used by the network side application node and the terminal side application node is implemented by the network side general service entity, the network side application node is contracted with the network side general service entity, and the network side general service entity generates the subscription data.
  • the subscription data can be stored in the subscription database.
  • the network side application node needs to sign the contract with the network side general service entity, and the terminal side application node also needs to sign the network side common service entity.
  • the terminal-side application node can subscribe to the data storage and forwarding services provided by the network-side general entity, that is, the subscription of the terminal-side application node is a prerequisite for starting all processes, and of course, the terminal-side application node only Registration can only be made after signing with the network side general business entity.
  • the terminal side application node does not need to sign the contract with the network side general service entity to initiate the registration process, because the network side general service entity does not perform with the terminal side application node.
  • the network side general service entity does not retain any information of the terminal side application node, and the network side general service entity has no judgment on the legitimacy of the terminal side application node, so that the terminal side application node can successfully register to the network side general service.
  • the terminal-side application node needs to carry at least the following content when generating the terminal-side application node registration information: The authentication information generated by the terminal-side application node according to the key, and the identity of the network-side application node Code, the identity code of the application node on the terminal side.
  • the network-side application node when the terminal-side application node accepts the management of the network-side application node, the network-side application node can generally assign a key to the terminal-side application node, and the network-side application node uses the key to verify whether a terminal-side application node is
  • the network-side application node manages multiple terminal-side application nodes
  • the network-side application node assigns a key to each terminal-side application node
  • the network-side application node can set all terminal-side application nodes to one terminal.
  • Manage the list and at the terminal The key corresponding to each terminal-side application node is stored in the management list.
  • the terminal-side application node can verify the information according to the key.
  • the authentication information needs to be sent, and the network-side application node can verify, according to the verification information, whether the terminal-side application node is managed by itself, if the verification information If the authentication information is not passed, the application node on the terminal side is not legal.
  • the terminal side application node needs to carry the identity identification code of the terminal side application node and the identity identification code of the network side application node of the terminal side application node, because the network side application node registration information of the terminal side application node registration information is generated.
  • the side-side general service entity can only know which network-side application node of the terminal-side application node that sends the terminal-side application node information is managed by the network-side application node by using the identity code of the network-side application node carried in the terminal-side application node registration information. .
  • the terminal-side application node may be connected to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node is connected to the network-side general service entity, that is, the terminal-side application node is connected to the general-purpose service entity of the intermediate node and the network-side general service entity. Therefore, the general service entity of the intermediate node in step 301 receives the terminal side application node registration information sent by the terminal side application node.
  • the general service entity of the intermediate node forwards the terminal side application node registration information to the network side general service entity, so that the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the general service entity of the intermediate node after the general service entity of the intermediate node receives the terminal side application node registration information, the general service entity of the intermediate node forwards the terminal side application node registration information to the network side general service entity.
  • the network side general service entity may obtain the verification information of the terminal side application node, the identity identification code of the terminal side application node, and the network side.
  • the identity code of the application node The network side general service entity obtains the verification result according to the terminal side application node registration information, and the verification result refers to the result of the feedback after the terminal side application node registration information sent by the terminal side application node is verified.
  • the verification result in the embodiment of the present invention includes two possibilities: First, the terminal side application node is managed by the network side application node, and second, the terminal side application node is not managed by the network side application node.
  • the network side general service entity obtains the verification result to verify the validity of the terminal side application node.
  • the verification result is that the terminal side application node is managed by the network side application node, the terminal side application node is legal, and the verification result is When the terminal-side application node is not the network-side application node, the terminal-side application node is invalid. of.
  • the general service entity of the intermediate node of step 301 may further include the following steps:
  • the general service entity of the intermediate node detects whether the network side application node resource corresponding to the network side application node included in the registration information of the terminal side application node is stored on the general service entity of the intermediate node;
  • the general service entity of the intermediate node in step 302 is triggered to register the terminal side application node registration information. Forward to the network side general business entity.
  • the network side general service entity after the network side general service entity creates the network side application node resource for the network side application node, the network side general service entity sends the information for creating the resource of the network side application node to the general service entity of the intermediate node.
  • the general-purpose service entity of the intermediate node After receiving the terminal-side application node registration information sent by the terminal-side application node, the general-purpose service entity of the intermediate node first detects whether the network corresponding to the network-side application node included in the registration information of the terminal-side application node is stored on the general service entity of the intermediate node. The side application node resource, if yes, triggers step 302 to execute.
  • the embodiment of the present invention may further include the following steps:
  • the general-purpose service entity of the intermediate node does not store the network-side application node resource corresponding to the network-side application node included in the terminal-side application node registration information, the general-purpose service entity of the intermediate node sends the network-side application node to the network-side general service entity.
  • the resource acquisition request information where the network side application node resource acquisition request information includes the verification information, the identity identification code of the network side application node, and the identity identification code of the terminal side application node;
  • the general service entity of the intermediate node receives the network side application node resource corresponding to the network side application node sent by the network side general service entity.
  • the general service entity of the intermediate node requests the network from the network side general service entity.
  • the side application node resource sends the network side application node resource to the general service entity of the intermediate node by the network side general service entity.
  • the general service of the intermediate node in step 301 After receiving the terminal-side application node registration information sent by the terminal-side application node, the entity may further include the following steps:
  • the general service entity of the intermediate node detects whether the identity code of the terminal side application node managed by the network side application node included in the terminal side application node registration information is stored on the general service entity of the intermediate node;
  • the general service entity of the intermediate node determines whether the identity code of the terminal side application node included in the terminal side application node registration information is included in the identity code of the terminal side application node managed by the network side application node;
  • step 302 The general service entity of the intermediate node forwards the terminal side application node registration information to the network side general service entity.
  • step HI to H2 the general service entity of the intermediate node determines whether the terminal-side application node is legal. If yes, step H3 triggers step 302 to execute.
  • the general service entity of the intermediate node can report the registration failure to the terminal side application node when the QoS and H2 requirements are not met.
  • the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node.
  • the terminal-side application node passes the verification, and the terminal-side application node is legal, and the terminal-side application node registers with the intermediate node.
  • the network side general service entity sends the verification result to the general service entity of the intermediate node, and the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node.
  • the terminal-side application node resources created by the common service entity of the intermediate node are different in different specific application scenarios.
  • the general service entity of the intermediate node may be an identity code of a water meter, a registration time of a water meter, a period of reporting data by a water meter, and the like, on a general service entity of the intermediate node.
  • the method may further include the following steps:
  • the application node sends application configuration information, where the application configuration information is a configuration content generated by the network side application node for the terminal side application node managed by the network side application node, so that the terminal side application node performs the configuration content of the terminal side application node according to the application configuration information.
  • Match Set is a configuration content generated by the network side application node for the terminal side application node managed by the network side application node, so that the terminal side application node performs the configuration content of the terminal side application node according to the application configuration information.
  • the general service entity of the intermediate node may send the application configuration information to the terminal side application node, and the terminal side application node according to the application configuration information
  • the configuration content of the configuration may be configured, where the application configuration information is sent by the network side application node to the network side general service entity, and the network side general service entity is forwarded to the general service entity of the intermediate node, and the terminal side application of the management is specified. How the node should be configured.
  • the application configuration information generated by the network side application node is different in different specific application scenarios.
  • the application configuration information generated by the application node on the network side is It may be the sleep time of the water meter, the format of the data reported by the water meter, the update message of the notification broadcast, and the like.
  • the terminal side application node first generates the verification information according to the key, and then the terminal side application node sends the terminal side application node registration information to the general service entity of the intermediate node, and the general service entity of the intermediate node can receive the information. Applying the node registration information to the terminal side, and then forwarding the information to the network side general service entity. The network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the network-side general service entity creates a terminal-side application node resource for the terminal-side application node, or sends a verification result to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node creates a terminal-side application node resource for the terminal-side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the service user usually implements the registration process based on the terminal side application node and the network side application node
  • the service provider usually implements the registration verification of the terminal side application node based on the network side general service entity
  • the general service entity is connected to the terminal side application node and the network side application node, and the network side general service entity and the terminal side application node may also be deployed.
  • An intermediate node, the function of the intermediate node is similar to the gateway between the network side general service entity and the terminal side application node, the terminal side application node can be registered to the network side general service entity, and the terminal side application node can also be registered to the intermediate node.
  • On the general business entity For example, as shown in FIG.
  • the system architecture of the registration system in the embodiment of the present invention may include: a network-side general service entity, a terminal-side application node, and a network-side application node.
  • the three nodes are connected by the solid line, and the registration system may also include: a network side general service entity, a terminal side application node, a network side application node, and an intermediate node (Intermediate Node), as shown in FIG.
  • Figure 4 includes three reference points: X, Y, and Z.
  • the X reference point connects the application node to the CSE
  • the Y reference point connects the CSE to the CSE
  • the Z reference point connects the CSE to the underlying network.
  • the leftmost column is a terminal side application node, and each terminal side application node includes an application (A, Application), or further includes a Common Service Entity (CSE).
  • A, Application Application
  • CSE Common Service Entity
  • the service user is a water meter used by a resident user and a water plant that supplies water to a resident user, and then a water plant
  • a water plant that supplies water to a resident user
  • water is provided to a plurality of resident users, and the water meter of the resident user needs to regularly report the water consumption data to the water plant, and the water plant charges the resident user according to the water consumption data reported by each water meter.
  • the water plant and the water meter can be realized by the service provided by the network side CSE, the water plant is equivalent to the network side application node, and each water meter is the terminal side application node.
  • the water meter is based on the water consumption data reported by the network side general business entity, and the water plant obtains the water consumption data reported by each water meter based on the network side general business entity.
  • the water meter AF1 is the terminal side application node in the foregoing embodiment
  • the network side CSE is the network side general service entity in the foregoing embodiment
  • the water plant AF is the network side application in the foregoing embodiment.
  • the node, the gateway CSE is a general service entity of the intermediate node in the foregoing embodiment, and is specifically described as follows:
  • FIG. 5-a it is a schematic diagram of an application scenario of the registration method provided in the embodiment of the present invention.
  • the water plant AF contracts with the platform service provider (that is, the network side CSE shown in the figure).
  • the contract data is stored in the contract database.
  • Water meter The ID and key of the water plant in the AF1 are saved.
  • the list of the water meter ID and the corresponding key Kr in the water plant AF mainly include the following steps:
  • the water plant AF is registered on the network side CSE and provides the ID to identify it. It can also be provided. Signing ID;
  • the network side CSE uses the ID provided by the water plant AF to find the corresponding contract information in the contract database. If there is corresponding information, prepare to create resources for the water plant AF. If not, return an error; 3. Network side CSE creation AF resources;
  • the network side CSE responds that the AF resource is successfully created, that is, the registration is successful.
  • the network side CSE stores this configuration information.
  • the network side CSE sends the configuration information to the water plant AF feedback successfully
  • Water meter AF1 uses the key to generate verification information.
  • the water meter AF1 is registered on the network side CSE and needs to carry the water plant ID, its own ID and verification information.
  • the CSE detects whether the water plant has been registered on the platform through the water plant AF ID provided by AF1, and then performs steps 10a and 10b according to whether the water plant AF is registered to the platform;
  • the network side CSE notifies the water meter that the AF1 registration fails;
  • the network side CSE sends the ID and verification information of the water meter AF1 to the water plant AF;
  • Water plant AF uses the corresponding key to verify whether the water meter's verification information is legal, that is, whether the water meter AF1 is a slave device managed by the water plant AF;
  • the water plant AF response network side CSE if yes, contains a success indication; otherwise, the transmission failure indication;
  • the network side CSE creates the water meter AF1 resource and associates it with the water plant AF resource, so as to transfer the information between the two, and deliver the configuration information to the water meter AF1; otherwise, the water meter AF1 resource is not created, and Send a failure message to the water meter AF1, and explain the reason for the failure;
  • the network side CSE response water meter is successfully created, and the configuration information is sent to the water meter AF1. Otherwise, the AF1 resource creation fails.
  • Water meter AF1 is configured according to the configuration information delivered.
  • the water meter AF1 is used to verify the legality of the water meter AF1, and then, as shown in FIG. 5-b, the registration method provided in the embodiment of the present invention.
  • Another The application scenario diagram is different from that of Figure 5-a. The validity of the water meter AF1 is verified by the network side CSE.
  • the water plant AF contracts with the platform service provider (the network side CSE shown in the figure) and stores the contract data in the contract database.
  • the water meter's ID and key Krl are saved in the water meter AF1
  • the water meter ID is saved in the water plant AF
  • the corresponding key Kr is saved
  • the water plant AF sends the list of the water meter ID and the corresponding key to the network side CSE
  • the network side CSE stores the list of the water meter ID and the corresponding key together with the subscription data in the subscription database, and mainly includes the following steps:
  • the water plant AF is registered on the network side CSE, and provides the ID to identify it, in addition, can also provide the contract ID;
  • the network side CSE uses the ID provided by the water plant AF to find the corresponding contract information in the contract database. If there is corresponding information, prepare to create resources for the water plant AF. If not, return an error; 3. Network side CSE creation AF resources;
  • the network side CSE responds that the AF resource is successfully created, that is, the registration is successful.
  • the network side CSE stores this configuration information.
  • the network side CSE sends the configuration information to the water plant AF feedback successfully
  • Water meter AF1 uses the key to generate verification information.
  • the water meter AF1 is registered on the network side CSE and needs to carry the water plant ID, its own ID and verification information.
  • the CSE detects whether the water plant has been registered on the platform through the water plant AF ID provided by AF1, and then performs steps 10a and 10b according to whether the water plant AF is registered to the platform;
  • the network side CSE notifies the water meter that the AF1 registration fails;
  • the network side CSE verifies whether the verification information of the water meter AF1 is legal according to the water meter ID list and the corresponding key issued by the water plant, that is, whether the water meter AF1 is a slave device managed by the water plant AF;
  • the network side CSE creates the water meter AF1 resource and associates it with the water plant AF resource, so as to transfer the information between the two, and deliver the configuration information to the water meter AF1; otherwise, the water meter AF1 resource is not created. And sending a failure message to the water meter AF1, and indicating the reason for the failure; 12.
  • the network side CSE response water meter AF1 resource is successfully created, and the configuration information is sent to the water meter AF1. Otherwise, the creation of the AF1 resource in the response water meter fails;
  • Water meter AF1 is configured according to the configuration information delivered.
  • FIG. 5 -c is a schematic diagram of another application scenario of the registration method provided in the embodiment of the present invention.
  • the registration system includes water plant AF, water meter AF1, and network side.
  • the registration system also includes: Gateway CSE.
  • the water plant AF contracts with the platform service provider (the network side CSE shown in the figure) and stores the contract data in the contract database.
  • the water meter ID and key Krl in the water meter AF1 the list of the water meter ID and the corresponding key Kr in the water plant AF, mainly include the following steps:
  • the water plant AF is registered on the network side CSE and provides the ID to identify it.
  • the contract ID can also be provided.
  • the network side uses the ID provided by the water plant AF to find the corresponding contract information in the contract database. If there is corresponding information, prepare to create resources for the water plant AF. If not, return an error;
  • Network side CSE creates AF resources
  • the network side CSE responds that the AF resource is successfully created, that is, the registration is successful.
  • the network side CSE stores this configuration information.
  • the network side CSE sends the configuration information to the water plant AF feedback successfully
  • Water meter AF1 uses the key to generate verification information.
  • the water meter AF1 is registered on the gateway CSE and needs to carry the water plant ID, its own ID and verification information.
  • the gateway CSE sends the verification information to the platform, carrying the water plant AF ID, the water meter AF1 ID and the verification information;
  • the network side CSE detects whether there is a water plant AF resource on the platform, and performs steps 11a and 12a according to the detection result, or performs steps lib and lib;
  • the gateway CSE responds to the water meter AF1 registration failure; Llb, if yes, the network side CSE sends the verification information to the water plant AF, carrying the water meter AFl ID and the horse complete certificate information;
  • the water plant AF uses the key verification to verify the correctness of the information, and then verifies the legality of the water meter. 13.
  • the water plant AF responds to the network side CSE, and the response includes successful verification or verification failure; 14.
  • the network side CSE response gives Gateway CSE;
  • the network side CSE creates the water meter AF1 resource and associates it with the water plant AF resource, so as to transfer the information between the two, and deliver the configuration information to the water meter AF1; otherwise, the AF1 resource is not created and sent The failure message is given to the water meter AF1, and the reason for the failure is also indicated;
  • the gateway CSE responds to the water meter AF1. If the network side CSE creates the water meter AF1 resource, the configuration information is sent to AF1. If the network side CSE does not create the water meter AF1 resource, the failure message is sent to the water meter AF1.
  • Gateway CSE notifies the network side CSE water meter AF1 is associated with the water plant AF resource, carrying the water plant AF ID and water meter AFl ID;
  • the CSE marks the water meter in the AF resource of the water plant. AF1 is registered and associated with the water meter AF1 registered gateway CSE ID;
  • the CSE informs the water plant that AF, AFl has been linked to the water plant AF.
  • FIG. 5-c Another application scenario diagram of the registration method provided in the embodiment of the present invention is different from FIG. 5-c in that the water meter AF1 verifies the validity of the water meter AF1, but the network side CSE participates and the gateway CSE does not participate.
  • the water plant AF contracts with the platform service provider (the network side CSE shown in the figure) and stores the contract data in the contract database.
  • the water meter ID and key Krl in the water meter AF1 the list of the water meter ID and the corresponding key Kr in the water plant AF, mainly include the following steps:
  • the water plant AF is registered on the network side CSE and provides the ID to identify it.
  • the contract ID can also be provided.
  • the network side CSE uses the ID provided by the water plant AF to find the corresponding contract information in the contract database. If there is corresponding information, prepare to create resources for the water plant AF. If not, return an error; 3. Network side CSE creation AF resources;
  • the network side CSE responds that the AF resource is successfully created, that is, the registration is successful. 5.
  • the network side CSE stores this configuration information.
  • the network side CSE sends the configuration information to the water plant AF feedback successfully
  • Water meter AF1 uses the key to generate verification information.
  • the water meter AF1 is registered on the gateway CSE and needs to carry the water plant ID, its own ID and verification information.
  • the gateway CSE sends the verification information to the platform, carrying the water plant AF ID, the water meter AFl ID and the verification information;
  • the network side CSE detects whether there is a water plant AF resource on the platform, and performs steps 11a and 12a according to the detection result, or performs steps lib and lib;
  • the network side CSE verifies that the ID of the water meter AF1 is in the water meter ID list, and executes 12b-l and 12b-2 according to the verification result.
  • the network side CSE responds to the gateway CSE failure and the reason for the failure; 3b-1, the gateway CSE responds to the water meter AF1 failure and the reason for the failure;
  • the network side CSE sends the verification information to the water plant AF, carrying the water meter AFl ID and the verification information;
  • water plant AF uses the key verification to verify the correctness of the information, and then verify the legality of the water meter;
  • the network side CSE creates the water meter AF1 resource and associates it with the water plant AF resource, so as to transfer the information between the two, and deliver the configuration information to the water meter AF1; otherwise, the AF1 resource is not created and sent.
  • the failure message is given to the water meter AF1, and the reason for the failure is also indicated;
  • the gateway CSE responds to the water meter AF1. If the network side CSE creates the water meter AF1 resource, the configuration information is sent to the AF1. If the network side CSE does not create the water meter AF1 resource, the failure message is sent to the water meter AF1.
  • the gateway CSE notifies the network side CSE water meter AF1 to be associated with the water plant AF resource, carrying the water plant AF ID and water meter AF1 ID;
  • Network side CSE marks the water meter in the AF resource of the water plant.
  • AF1 is registered and associated with the water meter AF1 registered gateway CSE ID;
  • the CSE informs the water plant that AF, AF1 has been linked to the water plant AF.
  • FIG. 5-d A schematic diagram of another application scenario of the registration method provided in the embodiment of the present invention is different from that of FIG. 5-d.
  • the watermark AF1 is used to verify the validity of the water meter AF1, but the network side CSE participates and the gateway CSE participates.
  • the water plant AF contracts with the platform service provider (the network side CSE shown in the figure) and stores the contract data in the contract database.
  • the water meter ID and key Krl in the water meter AF1 the list of the water meter ID and the corresponding key Kr in the water plant AF, mainly include the following steps:
  • the water plant AF is registered on the network side CSE and provides the ID to identify it.
  • the contract ID can also be provided.
  • the network side uses the ID provided by the water plant AF to find the corresponding contract information in the contract database. If there is corresponding information, prepare to create resources for the water plant AF. If not, return an error;
  • Network side CSE creates AF resources
  • the network side CSE responds that the AF resource is successfully created, that is, the registration is successful.
  • the network side CSE stores this configuration information.
  • the network side CSE sends the configuration information to the water plant AF feedback successfully
  • Water meter AF1 uses the key to generate verification information.
  • the water meter AF1 is registered on the gateway CSE and needs to carry the water plant ID, its own ID and verification information.
  • Gateway CSE detects whether the AF resource exists in the water plant, if there is a list of whether the AF1 is in the water meter ID list;
  • the gateway CSE sends a failure message to the water meter AF1, carrying the reason for the failure;
  • the gateway CSE sends the authentication information to the network side CSE, carrying the AF ID, the AF1 ID, and the verification information;
  • the network side CSE sends the verification information to the water plant AF, carries the AF1 ID and the verification information; 12a.
  • the water plant AF verifies the legality of the water meter AF1 according to the AFl ID and the verification information; 13a, the water plant AF response network side CSE, the response: failure or success;
  • the gateway CSE creates an AF1 resource for the water meter AF1, and sends configuration information to the water meter AF1; if it fails, it is not created;
  • gateway CSE response water meter AFl response: success and configuration information; or failure and failure reasons;
  • the gateway CSE sends a request for acquiring the AF source to the network side CSE, carrying the AF ID, the AF1 ID, and the verification information;
  • network side CSE detects whether the AF resource exists, if it exists, detects whether AF1 is in the water meter ID list;
  • the network side CSE sends a failure message to the gateway CSE, carrying the reason for the failure;
  • the gateway CSE sends a failure message to the water meter AFl;
  • the network side CSE sends the verification information to the water plant AF, carries the AFl ID and the verification information;
  • water plant AF verifies the legality of this water meter AF1 according to AFl ID and verification information; 14b-2, water plant AF response network side CSE, response: failure or success;
  • the network side CSE creates a declaration of the AF resource to the gateway CSE and issues a configuration information and a water meter ID list. If it fails, it is not created;
  • the gateway CSE creates an AF resource declaration and stores the configuration information and the water meter ID list, creates the AF1 resource, and delivers the configuration information; the failure is not created;
  • the gateway CSE responds to the water meter AFl , the registration is successful, and the configuration information is delivered, or the registration failure and the reason for the failure are answered;
  • the gateway notifies the network side CSE water meter AF1 is associated with the water plant AF resource, carrying the water plant ID, water meter ID and gateway CSE1 ID;
  • network side CSE marks the water meter in the AF resource AF1 has been registered, and associated with the water meter AF1 registered gateway CSE ID;
  • Network side CSE notification AF is associated with AF.
  • the water meter AF is used to verify the legality of the water meter AF1, and the network side CSE participates and the gateway CSE participates.
  • FIG. 5-f Ben Another application scenario diagram of the registration method provided in the embodiment of the present invention is different from that of FIG. 5-e in that the water meter AF1 is used to verify the legality of the water meter AF1, but the gateway CSE does not participate.
  • the water plant AF contracts with the platform service provider (the network side CSE shown in the figure) and stores the contract data in the contract database.
  • the water meter's ID and key Krl are saved in the water meter AF1
  • the water meter ID is saved in the water plant AF
  • the corresponding key Kr is saved
  • the water plant AF sends the list of the water meter ID and the corresponding key to the network side CSE
  • the network side CSE stores the list of the water meter ID and the corresponding key together with the subscription data in the subscription database, and mainly includes the following steps:
  • the water plant AF is registered on the network side CSE and provides the ID to identify it.
  • the contract ID can also be provided.
  • the network side CSE uses the ID provided by the water plant AF to find the corresponding contract information in the contract database. If there is corresponding information, prepare to create resources for the water plant AF. If not, return an error; 3. Network side CSE creation AF resources;
  • the network side CSE responds that the AF resource is successfully created, that is, the registration is successful.
  • the network side CSE stores this configuration information.
  • the network side CSE sends the configuration information to the water plant AF feedback successfully
  • Water meter AF1 uses the key to generate verification information.
  • the water meter AF1 is registered on the gateway CSE and needs to carry the water plant ID, its own ID and verification information.
  • the gateway CSE sends the verification information to the platform, carrying the water plant AF ID, the water meter AF1 ID and the verification information;
  • the network side CSE detects whether there is a water plant AF resource on the platform, and performs steps 11a and 12a according to the detection result, or performs steps lib and lib;
  • the network side CSE verifies that the water meter AF1 ID is in the water meter ID list? If it exists, verify that the verification information is correct;
  • gateway CSE creates AFl resources
  • the gateway CSE response to the water meter AFl registration success and configuration information; failure and failure reasons;
  • Gateway CSE notifies the network side CSE water meter AF1 is associated with the water plant AF resource, carrying the water plant AF ID, water meter AFl ID and gateway CSE ID;
  • the CSE marks the water meter in the AF resource of the water plant. AF1 is registered and associated with the water meter AF1 registered gateway CSE ID;
  • Network side CSE informs water plant AF, water meter AFl has been linked to water plant AF.
  • FIG. 5-f the water meter AF and the network side CSE verify the legality of the water meter AF1, but the gateway CSE participates, and then, as shown in FIG. 5-g, Another application scenario diagram of the registration method provided in the embodiment of the present invention is different from that of FIG. 5-f in that the validity of the water meter AF1 is verified by the network side CSE, but the gateway CSE does not participate.
  • the water plant AF contracts with the platform service provider (the network side CSE shown in the figure) and stores the contract data in the contract database.
  • the water meter's ID and key Krl are saved in the water meter AF1
  • the water meter ID is saved in the water plant AF
  • the corresponding key Kr is saved
  • the water plant AF sends the list of the water meter ID and the corresponding key to the network side CSE
  • the network side CSE stores the list of the water meter ID and the corresponding key together with the subscription data in the subscription database, and mainly includes the following steps:
  • the water plant AF is registered on the network side CSE and provides the ID to identify it.
  • the contract ID can also be provided.
  • the network side uses the ID provided by the water plant AF to find the corresponding contract information in the contract database. If there is corresponding information, prepare to create resources for the water plant AF. If not, return an error;
  • Network side CSE creates AF resources
  • the network side CSE responds that the AF resource is successfully created, that is, the registration is successful.
  • the network side CSE stores this configuration information.
  • the network side CSE sends the configuration information to the water plant AF feedback successfully
  • Water meter AF1 uses the key to generate verification information.
  • the water meter AF1 is registered on the gateway CSE and needs to carry the water plant ID, its own ID and verification information.
  • the gateway CSE sends the verification information to the network side CSE, carrying the water plant AF ID, the water meter AFl ID and the risk certificate information; 10c. If AF1 is not in the water meter ID list, the gateway CSE sends a failure message to the water meter AF1, carrying the reason for the failure;
  • the gateway CSE sends the authentication information to the network side CSE, carrying the AF ID, the AF1 ID, and the verification information;
  • the network side CSE replies to the gateway CSE, if it is correct, it succeeds, otherwise it fails; 13a, success, the gateway CSE creates the water meter AF1 resource, and sends the configuration information, otherwise the resource is not created;
  • gateway CSE response water meter AF1 response: failure and failure reason or success and configuration information
  • the gateway CSE sends a request for acquiring the AF resource of the water plant to the network side CSE, carrying the AF ID, the AF1 ID, and the verification information;
  • network side CSE detects whether the AF resource exists in the water plant. If there is a detection water meter, AF1 is in the water meter ID list, if it exists, verify that the verification information is correct;
  • the network side CSE responds successfully and creates a water plant AF resource declaration on the gateway CSE and issues a configuration information and a water meter ID list; otherwise, the response fails and the failure reason;
  • Gateway CSE creates a water plant AF resource declaration and stores a list of configuration information and water meter IDs, creates a water meter AF1 resource, and delivers configuration information; failure is not created;
  • the gateway CSE responds to the water meter AF1, and the response registration is successful, and the configuration information is delivered. If the response registration fails, the reason for the failure is sent;
  • Gateway CSE notifies the network side CSE water meter AF1 is associated with the water plant AF resource, carrying the water plant AF ID, water meter AF1 ID and gateway CSE ID;
  • Network side CSE marks the water meter in the AF resource of the water plant. AF1 is registered and associated with the water meter AF1 registered gateway CSE1ID;
  • Network side CSE informs water plant AF, water meter AF1 has been linked to water plant AF.
  • the terminal device in the Internet of Things is huge, and the terminal device belonging to a group does not need to sign a contract with the service platform provider alone, and only the signing of the group and the service platform is required.
  • the terminal side application node first generates verification information according to the key, and then the terminal side application node sends the terminal side application section to the general service entity of the intermediate node.
  • Point registration information the general service entity of the intermediate node can receive the registration information of the terminal side application node, and then forward the information to the network side general service entity, and the network side general service entity obtains the verification result according to the terminal side application node registration information, and the verification result is the terminal.
  • the network side general service entity creates the terminal side application node resource for the terminal side application node, or sends the verification result to the intermediate node general service entity, and the intermediate node general service entity according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • a network side general service entity 600 may include: a registration information receiving module 601, a verification result obtaining module 602, a resource creating module 603, or a verification result sending module 604. among them,
  • the registration information receiving module 601 is configured to receive the terminal side application node registration information sent by the terminal side application node, where the terminal side application node registration information includes the risk information generated by the terminal side application node according to the key, and the network side An identity code of the application node, an identity code of the terminal-side application node, where the network-side application node is an application node that manages the terminal-side application node;
  • the verification result obtaining module 602 is configured to obtain a verification result according to the terminal side application node registration information received by the registration information receiving module, where the verification result includes that the terminal side application node is a network that is contracted with a network side general service entity.
  • the side application node management, or the terminal side application node is not managed by the network side application node that is contracted with the network side general service entity;
  • the resource creation module 603 is configured to create a terminal-side application node resource for the terminal-side application node when the verification result obtained by the verification result obtaining module is that the terminal-side application node is managed by the network-side application node. ;
  • the verification result sending module 604 is configured to: when the verification result obtained by the verification result obtaining module is that the terminal side application node is managed by the network side application node, send the verification result to the intermediate node And a service entity, so that the general service entity of the intermediate node creates a terminal-side application node resource for the terminal-side application node.
  • the registration information receiving module 601 is further configured to receive network side application node registration information sent by the network side application node, where the network side application node registration information includes the network side application node Identification code;
  • the resource creation module 603 is further configured to create a network side application node resource for the network side application node according to the network side application node registration information received by the registration information receiving module.
  • the network side general service entity 600 may further include:
  • the signing module 605 is configured to sign the contract with the network side application node to generate the subscription data before the registration information receiving module receives the network side application node registration information sent by the network side application node.
  • the network side general service entity 600 may further include:
  • the resource creation judging module 606 is configured to: after the registration information receiving module receives the terminal side application node registration information sent by the terminal side application node, according to the identity identifier of the network side application node included in the terminal side application node registration information Determining whether the network side application node resource has been created for the network side application node; if the network side application node resource has been created for the network side application node, the verification result obtaining module is triggered to be executed.
  • the verification result obtaining module 602 includes:
  • a registration information forwarding sub-module 6021 configured to send the terminal-side application node registration information to the network-side application node, so that the network-side application node determines, according to the verification information, whether the terminal-side application node is configured by the The network side application node manages and generates a verification result;
  • the verification result receiving sub-module 6022 is configured to receive the verification result sent by the network side application node.
  • the network side general service entity 600 may further include:
  • the management information receiving module 607 is configured to: before the verification result obtaining module obtains the verification result according to the terminal side application node registration information, receive application management information sent by the network side application node, where the application management information includes the network The identity code of the terminal-side application node managed by the side application node.
  • the management information receiving module 607 is configured to receive the application management information sent by the network side application node before the verification result obtaining module obtains the verification result according to the terminal side application node registration information.
  • the application management information includes an identity identification code of the terminal side application node managed by the network side application node and a key corresponding to each terminal side application node.
  • the verification result obtaining module 602 includes:
  • the identity code determining sub-module 6023 is configured to determine whether an identity code of the terminal-side application node that sends the terminal-side application node registration information is included in the application management information;
  • the identity code forwarding sub-module 6024 is configured to: when the identity identification code of the terminal-side application node of the sending terminal-side application node registration information is included in the application management information, the verification information and the sending terminal-side application node The identifier of the terminal-side application node of the registration information is sent to the network-side application node, so that the network-side application node determines, according to the verification information, whether the terminal-side application node that sends the terminal-side application node registration information is The network side application node manages and generates a verification result;
  • the verification result receiving submodule 6022 is configured to receive the verification result sent by the network side application node.
  • the verification result obtaining module 602 includes:
  • the identity code determination sub-module 6023 is configured to determine, according to the terminal-side application node registration information, whether an identity identification code of the terminal-side application node that sends the terminal-side application node registration information is included in the application management information;
  • a node judging sub-module 6025 configured to: when the identity identification code of the terminal-side application node of the sending terminal-side application node registration information is included in the application management information, according to the verification included in the terminal-side application node registration information Information determining the terminal side of the application node registration information on the transmitting terminal side Whether the application node is managed by the network side application node,
  • the verification result generation sub-module 6026 is configured to generate a first verification result when the terminal-side application node that sends the terminal-side application node registration information is managed by the network-side application node, where the first verification result is a sending terminal-side application.
  • the terminal side application node of the node registration information is managed by the network side application node, and when the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node, generating a second verification result,
  • the second verification result is that the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node;
  • the verification result generation sub-module 6026 is further configured to generate a second verification result when the identity identification code of the terminal-side application node of the application terminal registration information of the sending terminal is not included in the application management information,
  • the second verification result is that the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node.
  • the registration information receiving module 601 is specifically configured to receive terminal side application node registration information sent by a general service entity of the intermediate node, where the general service entity of the intermediate node is applied from the terminal side. After receiving the terminal side application node registration information, the node forwards the information to the network side general service entity.
  • the network side general service entity 600 may further include:
  • An application configuration sending module 608, configured to create a terminal side application node resource for the terminal side application node, or after the verification result sending module sends the verification result to the general service entity of the intermediate node,
  • the terminal side application node sends the application configuration information, where the application configuration information is sent by the network side application node to the network side general service entity, and the application configuration information is the terminal that the network side application node manages.
  • the application configuration sending module 608 is specifically configured to send the application configuration information to a general service entity of the intermediate node, where the general service entity of the intermediate node is from the network side. After receiving the application configuration information, the general service entity forwards the information to the terminal side application node.
  • the registration information receiving module can receive the terminal side application node registration information, and then the verification result obtaining module obtains the verification result according to the terminal side application node registration information, and the verification result is that the terminal side application node is Network side application node management, resources
  • the creation module creates a terminal-side application node resource for the terminal-side application node, or the verification result sending module sends the verification result to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node creates the terminal-side application node resource for the terminal-side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the system can be reduced because the network side general service entity needs to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • a terminal-side application node 700 provided by the embodiment of the present invention may include: a verification information generating module 701 and a registration information sending module 702, where
  • the verification information generating module 701 is configured to generate verification information according to the key
  • the registration information sending module 702 is configured to send, to the network side general service entity or the general service entity of the intermediate node, the terminal side application node registration information, where the terminal side application node registration information includes the horse full certificate information, the network side application An identity code ID of the node, and an identity code of the terminal side application node.
  • the terminal-side application node 700 may further include:
  • the configuration information receiving module 703 is configured to: after the registration information sending module sends the terminal side application node registration information to the network side general service entity or the general service entity of the intermediate node, if the network side general service entity is configured according to the terminal side application
  • the verification result obtained by the node registration information is that the terminal side application node is managed by the network side application node, and receives application configuration information sent by the network side general service entity, where the application configuration information is the network side application node.
  • the configuration module 704 is configured to configure configuration content of the terminal-side application node according to the application configuration information.
  • the configuration information receiving module is specifically configured to receive the application configuration information from a general service entity of the intermediate node, where the general service entity of the intermediate node is universal from the network side. After receiving the application configuration information, the service entity forwards the information to the terminal side application node.
  • the verification information generating module first generates a key based on the key. And the registration information sending module sends the terminal side application node registration information to the general service entity of the network side general service entity or the intermediate node, and the network side general service entity can receive the terminal side application node registration information, and then the network side general service The entity obtains the verification result according to the terminal side application node registration information.
  • the network side general service entity creates the terminal side application node resource for the terminal side application node, or sends the verification result.
  • the general service entity of the intermediate node creates a terminal side application node resource for the terminal side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • a general service entity 800 of an intermediate node may include: a registration information receiving module 801, a registration information forwarding module 802, and a node resource creation module 803, where
  • the registration information receiving module 801 is configured to receive the terminal side application node registration information sent by the terminal side application node, where the terminal side application node registration information includes the risk information generated by the terminal side application node according to the key, and the network side An identity code ID of the application node, and an identity code of the terminal side application node;
  • a registration information forwarding module 802 configured to forward the terminal side application node registration information to the network side general service entity, so that the network side general service entity obtains the verification result according to the terminal side application node registration information;
  • the node resource creation module 803 is configured to create a terminal side application node resource for the terminal side application node when the verification result is that the terminal side application node is managed by the network side application node.
  • the general service entity 800 of the intermediate node may further include: a configuration information sending module 804, configured to send, by the node resource creation module, a terminal side application node resource to the terminal side application node, and send application configuration information to the terminal side application node, where the application configuration information is the network
  • the general service entity 800 of the intermediate node may further include:
  • the node resource judging module 805 is configured to: after the registration information receiving module receives the terminal side application node registration information sent by the terminal side application node, detecting whether the terminal side application node registration information is saved on the general service entity of the intermediate node The network side application node resource corresponding to the network side application node included in the network side; if the general service entity of the intermediate node stores the network side application node resource corresponding to the network side application node included in the terminal side application node registration information, Trigger execution of the registration information forwarding module.
  • the general service entity 800 of the intermediate node may further include:
  • the node resource requesting module 806 is configured to: when the network side application node resource corresponding to the network side application node included in the terminal side application node registration information is not saved on the general service entity of the intermediate node, The service entity sends the network side application node resource acquisition request information, where the network side application node resource acquisition request information includes the verification information, the identity identification code of the network side application node, and the identity identification code of the terminal side application node;
  • the node resource receiving module 807 is configured to: when the network side common service entity saves the network side application node resource corresponding to the network side application node, receive the network side application node sent by the network side general service entity Corresponding network side application node resources.
  • the general service entity 800 of the intermediate node may further include:
  • the identity code detection module 808 is configured to: after the registration information receiving module receives the terminal side application node registration information sent by the terminal side application node, check whether the terminal side application node registration is saved on the general service entity of the intermediate node.
  • the identity code determining module 808 is configured to determine, when the identity code of the terminal side application node managed by the network side application node included in the terminal side application node registration information is stored on the general service entity of the intermediate node, Whether the identity identification code of the terminal-side application node included in the terminal-side application node registration information is included in the identity identification code of the terminal-side application node managed by the network-side application node; if yes, triggering execution of the registration information forwarding Module.
  • the terminal side application node first generates the verification information according to the key, and then the terminal side application node sends the terminal side application node registration information to the general service entity of the intermediate node, and the general service entity of the intermediate node can receive the information.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the network-side general service entity creates a terminal-side application node resource for the terminal-side application node, or sends a verification result to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node creates a terminal-side application node resource for the terminal-side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the system can be reduced because the network side general service entity needs to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • a registration system 900 may include: a network side general service entity 600 as shown in any one of the foregoing embodiments of FIG. 6-a to 6-h, as shown in the foregoing figure.
  • the terminal side application node first generates the verification information according to the key, and then the terminal side application node sends the terminal side application node registration information to the network side general service entity or the intermediate node general service entity, and the network side general service entity may The terminal side application node registration information is received, and then the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the network side general service entity is the terminal.
  • the side application node creates the terminal side application node resource, or sends the verification result to the general service entity of the intermediate node, and the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the network side general service entity can reduce the system busy due to the need to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a program, and the program executes some or all of the steps described in the foregoing method embodiments.
  • the network-side general service entity 1000 includes:
  • the input device 1001, the output device 1002, the processor 1003, and the memory 1004 (wherein the number of processors 1003 in the network side general service entity 1000 may be one or more, and one processor in FIG. 10 is taken as an example).
  • the input device 1001, the output device 1002, the processor 1003, and the memory 1004 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • the processor 1003 is configured to perform the following steps:
  • the terminal-side application node registration information includes the verification information generated by the terminal-side application node according to the key, the identity identification code ID of the network-side application node, and the An application identifier of the terminal-side application node, where the network-side application node is an application node that manages the terminal-side application node;
  • the verification result includes that the terminal side application node is managed by a network side application node that is contracted with a network side general service entity, or the terminal side application node is not connected to the network side.
  • the network side application node management of the general service entity contracting if the verification result is that the terminal side application node is managed by the network side application node, the terminal side application node resource is created for the terminal side application node, or the sending station.
  • the verification result is sent to the general service entity of the intermediate node, so that the general service entity of the intermediate node creates the terminal side application node resource for the terminal side application node.
  • the processor 1003 is further configured to perform the following steps:
  • the network-side application node registration information Before receiving the terminal-side application node registration information sent by the terminal-side application node, receiving the network-side application node registration information sent by the network-side application node, where the network-side application node registration information includes the identity identification code of the network-side application node;
  • the processor 1003 is further configured to perform the following steps:
  • the processor 1003 Before receiving the network side application node registration information sent by the network side application node, signing with the network side application node to generate subscription data.
  • the processor 1003 is further configured to: after receiving the terminal side application node registration information sent by the terminal side application node, according to the network side application node included in the terminal side application node registration information The identity identification code determines whether a network side application node resource has been created for the network side application node;
  • the triggering execution is performed according to the terminal side application node registration information.
  • the processor 1003 is specifically configured to: send the terminal side application node registration information to the network side application node, so that the network side application node determines according to the verification information. Whether the terminal side application node is managed by the network side application node and generates a risk certificate result;
  • the processor 1003 is further configured to perform the following steps:
  • the processor 1003 is specifically configured to: determine whether an identity code of the terminal side application node that sends the terminal side application node registration information is included in the application management information;
  • the network side application node determines, according to the verification information, whether the terminal side application node that sends the terminal side application node registration information is managed by the network side application node and generates a verification result;
  • the processor 1003 is further configured to perform the following steps:
  • the processor 1003 is specifically configured to perform the following steps: determining, according to the terminal side application node registration information, the sending terminal side application node registration information Whether the identity code of the terminal side application node is included in the application management information;
  • the identity identification code of the terminal side application node of the application terminal registration information is included in the application management information, determine, according to the verification information included in the terminal side application node registration information, the application terminal registration of the sending terminal side Whether the terminal side application node of the information is managed by the network side application node, and if the terminal side application node that sends the terminal side application node registration information is managed by the network side application node, generating a first verification result, the first verification The result is that the terminal-side application node that sends the terminal-side application node registration information is managed by the network-side application node, and if the terminal-side application node that sends the terminal-side application node registration information is not managed by the network-side application node, the second is generated. a result of the verification that the second verification result is that the terminal side application node that sends the terminal side application node registration information is not managed by the network side application node;
  • the identity identification code of the terminal-side application node of the application terminal registration information is not included in the application management information, generating a second verification result, where the second verification result is the application information of the application terminal of the sending terminal.
  • the processor 1003 is specifically configured to: receive terminal-side application node registration information sent by a general service entity of the intermediate node, where the general-purpose service entity of the intermediate node uses the terminal-side application node After receiving the terminal side application node registration information, the terminal side forwards the information to the network side general service entity.
  • the processor 1003 is further configured to perform the following steps:
  • the application configuration information is sent to the terminal side application node, where the application configuration information is used by the network.
  • the side application node is sent to the network side general service entity, and the application configuration information is configuration content generated by the network side application node for the terminal side application node managed by the network side application node.
  • the processor 1003 is specifically configured to: send the application configuration information to a general service entity of the intermediate node, where a general service entity of the intermediate node is universal from the network side After receiving the application configuration information, the service entity forwards the information to the terminal side application node.
  • the network side general service entity can receive the terminal side application node registration information, and then the network side general service entity according to the terminal side application node registration letter.
  • the verification result is obtained.
  • the network side general service entity creates a terminal side application node resource for the terminal side application node, or sends the verification result to the intermediate node general service entity.
  • the general service entity of the intermediate node creates a terminal-side application node resource for the terminal-side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the system can be reduced because the network side general service entity needs to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • the terminal-side application node 1100 includes:
  • the input device 1101, the output device 1102, the processor 1103, and the memory 1104 (wherein the number of processors 1103 in the terminal side application node 1100 may be one or more, and one processor in Fig. 11 is taken as an example).
  • the input device 1101, the output device 1102, the processor 1103, and the memory 1104 may be connected by a bus or other means, wherein FIG. 11 is exemplified by a bus connection.
  • the processor 1103 is configured to perform the following steps:
  • the terminal side application node registration information includes the verification information, the identity identification code ID of the network side application node, and the terminal The identity code of the side application node.
  • the processor 1103 is further configured to perform the following steps:
  • the verification result obtained by the network side general service entity according to the terminal side application node registration information is the terminal side application.
  • the node is managed by the network side application node, and receives application configuration information sent by the network side general service entity, where the application configuration information is configuration content generated by the network side application node for the terminal side application node managed by the network side application node;
  • the processor 1103 is specifically configured to perform the following steps: the terminal side application node receives the application configuration letter from a general service entity of an intermediate node. And the general service entity of the intermediate node forwards the application configuration information to the terminal side application node after receiving the application configuration information from the network side general service entity.
  • the terminal side application node first generates the verification information according to the key, and then the terminal side application node sends the terminal side application node registration information to the network side general service entity or the general service entity of the intermediate node, and the network side
  • the general service entity can receive the terminal side application node registration information, and then the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the verification result is that the terminal side application node is managed by the network side application node, the network side is universal.
  • the service entity creates a terminal-side application node resource for the terminal-side application node, or sends a verification result to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node creates a terminal-side application node resource for the terminal-side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the network side general service entity can reduce the system busy due to the need to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • the general service entity 1200 of the intermediate node includes:
  • the input device 1201, the output device 1202, the processor 1203, and the memory 1204 (wherein the number of processors 1203 in the general service entity 1200 of the intermediate node may be one or more, and one processor in FIG. 12 is taken as an example).
  • the input device 1201, the output device 1202, the processor 1203, and the memory 1204 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • the processor 1203 is configured to perform the following steps:
  • terminal-side application node registration information includes the verification information generated by the terminal-side application node according to the key, the identity identification code ID of the network-side application node, and the An identity code of the terminal side application node;
  • the terminal side application node resource is created for the terminal side application node.
  • the processor 1203 is further configured to: after creating a terminal-side application node resource for the terminal-side application node, send application configuration information to the terminal-side application node, where the application configuration The information is configured by the network-side application node to be configured by the terminal-side application node that is managed by the network-side application node, so that the terminal-side application node configures the configuration content of the terminal-side application node according to the application configuration information.
  • the processor 1203 is further configured to: after receiving the terminal-side application node registration information sent by the terminal-side application node, detecting whether the terminal is saved on the general service entity of the intermediate node The network side application node resource corresponding to the network side application node included in the side application node registration information;
  • the common-side service entity of the intermediate node stores the network-side application node resource corresponding to the network-side application node that is included in the terminal-side application node registration information, the execution of the terminal-side application node registration information is forwarded to the network side.
  • General business entity
  • the processor 1203 is further configured to perform the following steps:
  • the network side application node resource corresponding to the network side application node included in the registration information of the terminal side application node is not stored on the general service entity of the intermediate node, the network side application node resource is sent to the network side general service entity.
  • the request information, the network side application node resource acquisition request information includes the verification information, the identity identification code of the network side application node, and the identity identification code of the terminal side application node;
  • the processor 1203 is further configured to: after receiving the terminal-side application node registration information sent by the terminal-side application node, detecting whether the terminal is saved on the general service entity of the intermediate node The identity identification code of the terminal side application node managed by the network side application node included in the side application node registration information;
  • the terminal side application node first generates the verification information according to the key, and then the terminal side application node sends the terminal side application node registration information to the general service entity of the intermediate node, and the general service entity of the intermediate node can receive the information. Applying the node registration information to the terminal side, and then forwarding the information to the network side general service entity.
  • the network side general service entity obtains the verification result according to the terminal side application node registration information.
  • the network-side general service entity creates a terminal-side application node resource for the terminal-side application node, or sends a verification result to the general-purpose service entity of the intermediate node, and the general-purpose service entity of the intermediate node creates a terminal-side application node resource for the terminal-side application node according to the verification result.
  • the terminal side application node does not need to be contracted with the network side general service entity, and the network side general service entity or the intermediate node general service entity can create the terminal side application node resource for the terminal side application node, and further the terminal side application.
  • the node can use the service provided by the network side general service entity.
  • the system can be reduced because the network side general service entity needs to sign the contract with each terminal side application node separately. There is no need to perform frequent read and write operations on the contracted database.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be The physical unit, that is, can be located in one place, or can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Further, in the drawings of the apparatus embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection therebetween, and specifically, one or more communication buses or signal lines can be realized. Those of ordinary skill in the art can understand and implement without any creative effort.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, through dedicated hardware, including an application specific integrated circuit, a dedicated CPU, a dedicated memory, Special components and so on.
  • functions performed by computer programs can be easily implemented with the corresponding hardware.
  • the specific hardware structure used to implement the same function can be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc.
  • software program implementation is a better implementation in more cases.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a readable storage medium such as a floppy disk of a computer.
  • U disk mobile hard disk
  • read-only memory ROM, Read-Only Memory
  • RAM random access memory
  • CD CD
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

 一种注册方法和相关节点以及注册系统。其中一种方法可包括:网络侧通用业务实体接收终端侧应用节点发送的终端侧应用节点注册信息;网络侧通用业务实体根据终端侧应用节点注册信息获取验证结果,验证结果包括终端侧应用节点是由与网络侧通用业务实体签约的网络侧应用节点管理,终端侧应用节点不是由与网络侧通用业务实体签约的网络侧应用节点管理;若验证结果为终端侧应用节点是由网络侧应用节点管理,网络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源,或者发送验证结果给中间节点的通用业务实体,以使中间节点的通用业务实体为终端侧应用节点创建终端侧应用节点资源。

Description

一种注册方法和相关节点以及注册系统
技术领域
本发明实施例涉及通信领域,尤其涉及一种注册方法和相关节点以及注册 系统。 背景技术
机器间 (Machine-to-Machine, M2M )通信是指应用各种通信网络(通信 网、 互联网、 行业网络)和信息感知、 处理的技术, 实现机器与机器、 机器与 人之间进行数据通信和交互的一系列技术及技术组合的总称。 M2M通信延伸 了现有信息通信网络的通信范畴, 通过部署具有感知处理能力的 M2M终端, 通过网络设施实现信息传输、 协同和处理, 使得基于 M2M终端的各种应用可 以方便的获取所需的各种信息, 提升工作效率、 降低人力成本、 带来很多灵活 新颖的业务模式。
每个业务使用者在使用业务提供商提供的业务之前,首先都需要业务使用 者与业务提供商进行签约,并且在签约成功后业务使用者还需要进行注册才能 使用使用业务提供商提供的服务。通常的签约方式是业务使用者作为应用节点 ( Application Node )和业务提供商作为基础设施节点( Infrastructure Node )进 行签约, 约定业务使用者可以使用的服务以及每项服务的收费等, 只有签约成 功后业务使用者才能发起注册流程, 然后才能使用业务提供商提供的各种服 务, 也就是说, 现有技术中签约是所有流程开始的前提。
但是本发明的发明人在实现本发明的过程中发现:现有技术中每个业务使 用者在使用业务提供商的业务之前都必须进行签约,那么当有多个业务使用者 时都需要分別与业务提供商进行签约, 当业务使用者的数量非常庞大时, 这会 造成业务提供商因必须与每个业务使用者的单独签约而非常繁忙,并可能因为 持续的大量签约工作而宕机,并且业务提供商在与每个业务使用者签约后还需 要将签约数据存储到签约数据库中, 还会导致对签约数据库的频繁读写操作, 并且签约数据库中也因存储的签约数据量很大而降低了读写操作的效率。
可以理解的是, 如果业务使用者不需要与业务提供商之间进行签约的话, 就可以解决如上存在的诸多问题,但是按照现有技术的实现方式, 只有签约成 功后业务使用者才能发起注册流程,而无法实现业务使用者不需要与业务提供 商进行签约的情况下完成注册流程, 因此, 非常有必要对业务使用者在不需要 与业务提供商进行签约的情况下如何完成注册进行深入的研究。 发明内容
本发明实施例提供了一种注册方法和相关节点以及注册系统,能够实现业 务使用者在不需要签约的情况下完成注册。
第一方面, 本发明实施例提供一种注册方法, 包括:
网络侧通用业务实体 CSE接收终端侧应用节点发送的终端侧应用节点注 册信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成 的验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的 身份标识码,所述网络侧应用节点为对所述终端侧应用节点进行管理的应用节 点;
所述网络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结 果,所述验证结果包括所述终端侧应用节点是由与网络侧通用业务实体签约的 网络侧应用节点管理,或终端侧应用节点不是由与网络侧通用业务实体签约的 网络侧应用节点管理;
若所述验证结果为所述终端侧应用节点是由所述网络侧应用节点管理,所 述网络侧通用业务实体为所述终端侧应用节点创建终端侧应用节点资源,或者 发送所述验证结果给中间节点的通用业务实体,以使所述中间节点的通用业务 实体为所述终端侧应用节点创建终端侧应用节点资源。
结合第一方面,在第一方面的第一种可能的实现方式中, 所述网络侧通用 业务实体 CSE接收终端侧应用节点发送的终端侧应用节点注册信息之前, 还 包括:
网络侧通用业务实体接收网络侧应用节点发送的网络侧应用节点注册信 息, 所述网络侧应用节点注册信息包括所述网络侧应用节点的身份标识码; 所述网络侧通用业务实体根据所述网络侧应用节点注册信息为所述网络 侧应用节点创建网络侧应用节点资源。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现 方式中,所述网络侧通用业务实体接收网络侧应用节点发送的网络侧应用节点 注册信息之前, 还包括:
所述网络侧通用业务实体和所述网络侧应用节点签约, 生成签约数据。 结合第一方面或第一方面的第一种可能或第二种可能的实现方式,在第一 方面的第三种可能的实现方式中,所述网络侧通用业务实体接收终端侧应用节 点发送的终端侧应用节点注册信息之后, 还包括:
所述网络侧通用业务实体根据所述终端侧应用节点注册信息中包括的网 络侧应用节点的身份标识码判断是否已经为所述网络侧应用节点创建网络侧 应用节点资源;
若已经为所述网络侧应用节点创建网络侧应用节点资源,触发执行所述网 络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结果。
结合第一方面或第一方面的第一种可能或第二种可能或第三方面的实现 方式,在第一方面的第四种可能的实现方式中, 所述网络侧通用业务实体根据 所述终端侧应用节点注册信息获取验证结果, 包括:
所述网络侧通用业务实体向所述网络侧应用节点发送所述终端侧应用节 点注册信息,以使所述网络侧应用节点根据所述验证信息判断所述终端侧应用 节点是否由所述网络侧应用节点管理并生成验证结果;
所述网络侧通用业务实体接收所述网络侧应用节点发送的验证结果。 结合第一方面或第一方面的第一种可能或第二种可能或第三方面或第四 方面的实现方式,在第一方面的第五种可能的实现方式中, 所述网络侧通用业 务实体根据所述终端侧应用节点注册信息获取验证结果之前, 还包括:
所述网络侧通用业务实体接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码。
结合第一方面的第五方面的实现方式,在第一方面的第六种可能的实现方 式中,所述网络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结 果, 包括:
所述网络侧通用业务实体判断发送终端侧应用节点注册信息的终端侧应 用节点的身份标识码是否包括在所述应用管理信息中;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在所述应用管理信息中,所述网络侧通用业务实体将所述验证信息和发送终 端侧应用节点注册信息的终端侧应用节点的身份标识码发送给所述网络侧应 用节点,以使所述网络侧应用节点根据所述验证信息判断发送终端侧应用节点 注册信息的终端侧应用节点是否由所述网络侧应用节点管理并生成验证结果; 所述网络侧通用业务实体接收所述网络侧应用节点发送的验证结果。 结合第一方面或第一方面的第一种可能或第二种可能或第三方面或第四 方面或第五方面或第六方面的实现方式,在第一方面的第七种可能的实现方式 中,所述网络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结果 之前, 还包括:
所述网络侧通用业务实体接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码以及各个终端侧应用节点对应的密钥。
结合第一方面的第七方面的实现方式,在第一方面的第八种可能的实现方 式中,所述网络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结 果, 包括:
所述网络侧通用业务实体根据所述终端侧应用节点注册信息判断发送终 端侧应用节点注册信息的终端侧应用节点的身份标识码是否包括在所述应用 管理信息中;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在所述应用管理信息中,则所述网络侧通用业务实体根据所述终端侧应用节 点注册信息中包括的验证信息判断发送终端侧应用节点注册信息的终端侧应 用节点是否由所述网络侧应用节点管理,若发送终端侧应用节点注册信息的终 端侧应用节点是由所述网络侧应用节点管理, 生成第一验证结果, 所述第一验 证结果为发送终端侧应用节点注册信息的终端侧应用节点是由所述网络侧应 用节点管理,若发送终端侧应用节点注册信息的终端侧应用节点不是由所述网 络侧应用节点管理, 生成第二验证结果, 所述第二验证结果为发送终端侧应用 节点注册信息的终端侧应用节点不是由所述网络侧应用节点管理;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码没 有包括在所述应用管理信息中, 则所述网络侧通用业务实体生成第二验证结 果,所述第二验证结果为发送终端侧应用节点注册信息的终端侧应用节点不是 由所述网络侧应用节点管理。 结合第一方面或第一方面的第一种可能或第二种可能或第三方面或第四 方面或第五方面或第六方面或第七方面或第八方面的实现方式,在第一方面的 第九种可能的实现方式中,所述网络侧通用业务实体接收终端侧应用节点发送 的终端侧应用节点注册信息, 包括:
所述网络侧通用业务实体接收中间节点的通用业务实体发送的终端侧应 用节点注册信息,所述中间节点的通用业务实体从所述终端侧应用节点接收到 所述终端侧应用节点注册信息之后转发给所述网络侧通用业务实体。
结合第一方面或第一方面的第一种可能或第二种可能或第三方面或第四 方面或第五方面或第六方面或第七方面或第八方面或第九方面的实现方式,在 第一方面的第十种可能的实现方式中,所述网络侧通用业务实体为所述终端侧 应用节点创建终端侧应用节点资源,或者发送所述验证结果给中间节点的通用 业务实体之后, 还包括:
所述网络侧通用业务实体向所述终端侧应用节点发送应用配置信息,所述 应用配置信息由所述网络侧应用节点发送给所述网络侧通用业务实体,所述应 用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的配置 内容。
结合第一方面的第十方面的实现方式,在第一方面的第十一种可能的实现 方式中, 所述网络侧通用业务实体向所述终端侧应用节点发送应用配置信息, 包括:
所述网络侧通用业务实体将所述应用配置信息发送给所述中间节点的通 用业务实体,所述中间节点的通用业务实体从所述网络侧通用业务实体接收到 所述应用配置信息之后转发给所述终端侧应用节点。
第二方面, 本发明实施例还提供另一种注册方法, 包括:
终端侧应用节点根据密钥生成验证信息;
所述终端侧应用节点向网络侧通用业务实体或者中间节点的通用业务实 体发送终端侧应用节点注册信息,所述终端侧应用节点注册信息包括所述验证 信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身份标 识码。
结合第二方面,在第二方面的第一种可能的实现方式中, 所述终端侧应用 节点向网络侧通用业务实体或者中间节点的通用业务实体发送终端侧应用节 点注册信息之后, 还包括:
若所述网络侧通用业务实体根据所述终端侧应用节点注册信息获取到的 险证结果为所述终端侧应用节点由所述网络侧应用节点管理,所述终端侧应用 节点接收所述网络侧通用业务实体发送的应用配置信息,所述应用配置信息为 所述网络侧应用节点对其所管理的终端侧应用节点生成的配置内容;
所述终端侧应用节点根据所述应用配置信息对所述终端侧应用节点的配 置内容进行配置。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现 方式中,所述终端侧应用节点接收所述网络侧通用业务实体发送的应用配置信 息, 包括:
所述终端侧应用节点从中间节点的通用业务实体接收到所述应用配置信 息,所述中间节点的通用业务实体在从所述网络侧通用业务实体接收到所述应 用配置信息之后转发给所述终端侧应用节点。
第三方面, 本发明实施例还提供另一种注册方法, 包括:
中间节点的通用业务实体接收终端侧应用节点发送的终端侧应用节点注 册信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成 的验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的 身份标识码;
所述中间节点的通用业务实体将所述终端侧应用节点注册信息转发给网 络侧通用业务实体,以使所述网络侧通用业务实体根据所述终端侧应用节点注 册信息获取验证结果;
若所述验证结果为所述终端侧应用节点由所述网络侧应用节点管理,所述 中间节点的通用业务实体为所述终端侧应用节点创建终端侧应用节点资源。
结合第三方面,在第三方面的第一种可能的实现方式中, 所述中间节点的 通用业务实体为所述终端侧应用节点创建终端侧应用节点资源之后, 还包括: 所述中间节点的通用业务实体向所述终端侧应用节点发送应用配置信息, 所述应用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成 的配置内容,以使所述终端侧应用节点根据所述应用配置信息对所述终端侧应 用节点的配置内容进行配置。
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种 可能的实现方式中,所述中间节点的通用业务实体接收终端侧应用节点发送的 终端侧应用节点注册信息之后, 还包括:
所述中间节点的通用业务实体检测所述中间节点的通用业务实体上是否 保存有所述终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧 应用节点资源;
若所述中间节点的通用业务实体上保存有所述终端侧应用节点注册信息 中包括的网络侧应用节点对应的网络侧应用节点资源,触发执行所述中间节点 的通用业务实体将所述终端侧应用节点注册信息转发给网络侧通用业务实体。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现 方式中, 所述方法还包括:
若所述中间节点的通用业务实体上没有保存所述终端侧应用节点注册信 息中包括的网络侧应用节点对应的网络侧应用节点资源,所述中间节点的通用 业务实体向所述网络侧通用业务实体发送网络侧应用节点资源获取请求信息, 所述网络侧应用节点资源获取请求信息包括所述验证信息、所述网络侧应用节 点的身份标识码、 所述终端侧应用节点的身份标识码;
若所述网络侧通用业务实体上保存有所述网络侧应用节点对应的网络侧 应用节点资源,所述中间节点的通用业务实体接收所述网络侧通用业务实体发 送的所述网络侧应用节点对应的网络侧应用节点资源。
结合第三方面或第三方面的第一种可能或第二种可能或第三方面的实现 方式,在第三方面的第四种可能的实现方式中, 所述中间节点的通用业务实体 接收终端侧应用节点发送的终端侧应用节点注册信息之后, 还包括:
所述中间节点的通用业务实体检测所述中间节点的通用业务实体上是否 保存有所述终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端 侧应用节点的身份标识码;
若有,所述中间节点的通用业务实体判断所述终端侧应用节点注册信息中 包括的终端侧应用节点的身份标识码是否包括在所述网络侧应用节点所管理 的终端侧应用节点的身份标识码中;
若是,触发执行所述中间节点的通用业务实体将所述终端侧应用节点注册 信息转发给网络侧通用业务实体。
第四方面, 本发明实施例还提供一种网络侧通用业务实体, 包括: 注册信息接收模块,用于接收终端侧应用节点发送的终端侧应用节点注册 信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成的 验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身 份标识码, 所述网络侧应用节点为对所述终端侧应用节点进行管理的应用节 点;
验证结果获取模块,用于根据所述注册信息接收模块接收到的终端侧应用 节点注册信息获取验证结果,所述验证结果包括所述终端侧应用节点是由与网 络侧通用业务实体签约的网络侧应用节点管理,或终端侧应用节点不是由与网 络侧通用业务实体签约的网络侧应用节点管理;
资源创建模块,用于当所述验证结果获取模块获取到的验证结果为所述终 端侧应用节点是由所述网络侧应用节点管理时,为所述终端侧应用节点创建终 端侧应用节点资源;
或者,验证结果发送模块, 用于当所述验证结果获取模块获取到的验证结 果为所述终端侧应用节点是由所述网络侧应用节点管理时,发送所述验证结果 给中间节点的通用业务实体,以使所述中间节点的通用业务实体为所述终端侧 应用节点创建终端侧应用节点资源。
结合第四方面, 在第四方面的第一种可能的实现方式中,
所述注册信息接收模块,还用于接收网络侧应用节点发送的网络侧应用节 点注册信息,所述网络侧应用节点注册信息包括所述网络侧应用节点的身份标 识码;
所述资源创建模块,还用于根据所述注册信息接收模块接收到的网络侧应 用节点注册信息为所述网络侧应用节点创建网络侧应用节点资源。
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现 方式中, 所述网络侧通用业务实体, 还包括:
签约模块,用于所述注册信息接收模块接收网络侧应用节点发送的网络侧 应用节点注册信息之前, 和所述网络侧应用节点签约, 生成签约数据。
结合第四方面或第四方面的第一种可能或第二种可能的实现方式,在第四 方面的第三种可能的实现方式中, 所述网络侧通用业务实体, 还包括:
资源创建判断模块,用于所述注册信息接收模块接收到终端侧应用节点发 送的终端侧应用节点注册信息之后,根据所述终端侧应用节点注册信息中包括 的网络侧应用节点的身份标识码判断是否已经为所述网络侧应用节点创建网 络侧应用节点资源; 若已经为所述网络侧应用节点创建网络侧应用节点资源, 触发执行所述验证结果获取模块。
结合第四方面或第四方面的第一种可能或第二种可能或第三方面的实现 方式,在第四方面的第四种可能的实现方式中,所述验证结果获取模块, 包括: 点注册信息,以使所述网络侧应用节点根据所述验证信息判断所述终端侧应用 节点是否由所述网络侧应用节点管理并生成验证结果;
验证结果接收子模块, 用于接收所述网络侧应用节点发送的验证结果。 结合第四方面或第四方面的第一种可能或第二种可能或第三方面或第四 方面的实现方式,在第四方面的第五种可能的实现方式中, 所述网络侧通用业 务实体, 还包括:
管理信息接收模块,用于所述验证结果获取模块根据所述终端侧应用节点 注册信息获取验证结果之前, 接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码。
结合第四方面的第五方面的实现方式,在第四方面的第六种可能的实现方 式中, 所述验证结果获取模块, 包括:
身份标识码判断子模块,用于判断发送终端侧应用节点注册信息的终端侧 应用节点的身份标识码是否包括在所述应用管理信息中;
身份标识码转发子模块,用于当所述发送终端侧应用节点注册信息的终端 侧应用节点的身份标识码包括在所述应用管理信息中时,将所述验证信息和发 送终端侧应用节点注册信息的终端侧应用节点的身份标识码发送给所述网络 侧应用节点,以使所述网络侧应用节点根据所述验证信息判断发送终端侧应用 节点注册信息的终端侧应用节点是否由所述网络侧应用节点管理并生成验证 结果;
验证结果接收子模块, 用于接收所述网络侧应用节点发送的验证结果。 结合第四方面或第四方面的第一种可能或第二种可能或第三方面或第四 方面或第五方面或第六方面的实现方式,在第四方面的第七种可能的实现方式 中, 所述网络侧通用业务实体, 还包括: 管理信息接收模块,用于所述验证结果获取模块根据所述终端侧应用节点 注册信息获取验证结果之前, 接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码以及各个终端侧应用节点对应的密钥。
结合第四方面的第七方面的实现方式,在第四方面的第八种可能的实现方 式中, 所述验证结果获取模块, 包括:
身份标识码判断子模块,用于根据所述终端侧应用节点注册信息判断发送 终端侧应用节点注册信息的终端侧应用节点的身份标识码是否包括在所述应 用管理信息中;
节点判断子模块,用于当所述发送终端侧应用节点注册信息的终端侧应用 节点的身份标识码包括在所述应用管理信息中时,根据所述终端侧应用节点注 册信息中包括的验证信息判断发送终端侧应用节点注册信息的终端侧应用节 点是否由所述网络侧应用节点管理,
验证结果生成子模块,用于当发送终端侧应用节点注册信息的终端侧应用 节点是由所述网络侧应用节点管理时, 生成第一验证结果, 所述第一验证结果 为发送终端侧应用节点注册信息的终端侧应用节点是由所述网络侧应用节点 管理,当发送终端侧应用节点注册信息的终端侧应用节点不是由所述网络侧应 用节点管理时, 生成第二验证结果, 所述第二验证结果为发送终端侧应用节点 注册信息的终端侧应用节点不是由所述网络侧应用节点管理;
所述验证结果生成子模块,还用于当所述发送终端侧应用节点注册信息的 终端侧应用节点的身份标识码没有包括在所述应用管理信息中时,生成第二验 证结果,所述第二验证结果为发送终端侧应用节点注册信息的终端侧应用节点 不是由所述网络侧应用节点管理。
结合第四方面或第四方面的第一种可能或第二种可能或第三方面或第四 方面或第五方面或第六方面或第七方面或第八方面的实现方式,在第四方面的 第九种可能的实现方式中, 所述注册信息接收模块, 具体用于接收中间节点的 通用业务实体发送的终端侧应用节点注册信息,所述中间节点的通用业务实体 从所述终端侧应用节点接收到所述终端侧应用节点注册信息之后转发给所述 网络侧通用业务实体。
结合第四方面或第四方面的第一种可能或第二种可能或第三方面或第四 方面或第五方面或第六方面或第七方面或第八方面或第九方面的实现方式,在 第四方面的第十种可能的实现方式中, 所述网络侧通用业务实体, 还包括: 应用配置发送模块,用于所述资源创建模块为所述终端侧应用节点创建终 端侧应用节点资源,或者所述验证结果发送模块发送所述验证结果给中间节点 的通用业务实体之后, 向所述终端侧应用节点发送应用配置信息, 所述应用配 置信息由所述网络侧应用节点发送给所述网络侧通用业务实体,所述应用配置 信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的配置内容。
结合第四方面的第十方面的实现方式,在第四方面的第十一种可能的实现 方式中, 所述应用配置发送模块, 具体用于将所述应用配置信息发送给所述中 间节点的通用业务实体,所述中间节点的通用业务实体从所述网络侧通用业务 实体接收到所述应用配置信息之后转发给所述终端侧应用节点。
第五方面, 本发明实施例还提供一种终端侧应用节点, 包括:
验证信息生成模块, 用于根据密钥生成验证信息;
注册信息发送模块,用于向网络侧通用业务实体或者中间节点的通用业务 实体发送终端侧应用节点注册信息,所述终端侧应用节点注册信息包括所述验 证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身份 标识码。
结合第五方面,在第五方面的第一种可能的实现方式中, 所述终端侧应用 节点, 还包括:
配置信息接收模块,用于所述注册信息发送模块向网络侧通用业务实体或 者中间节点的通用业务实体发送终端侧应用节点注册信息之后,若所述网络侧 通用业务实体根据所述终端侧应用节点注册信息获取到的验证结果为所述终 端侧应用节点由所述网络侧应用节点管理,接收所述网络侧通用业务实体发送 的应用配置信息,所述应用配置信息为所述网络侧应用节点对其所管理的终端 侧应用节点生成的配置内容;
配置模块,用于根据所述应用配置信息对所述终端侧应用节点的配置内容 进行配置。
结合第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现 方式中, 所述配置信息接收模块, 具体用于从中间节点的通用业务实体接收到 所述应用配置信息,所述中间节点的通用业务实体在从所述网络侧通用业务实 体接收到所述应用配置信息之后转发给所述终端侧应用节点。
第六方面, 本发明实施例还提供一种中间节点的通用业务实体, 包括: 注册信息接收模块,用于接收终端侧应用节点发送的终端侧应用节点注册 信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成的 验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身 份标识码;
注册信息转发模块,用于将所述终端侧应用节点注册信息转发给网络侧通 用业务实体,以使所述网络侧通用业务实体根据所述终端侧应用节点注册信息 获取验证结果;
节点资源创建模块,用于当所述险证结果为所述终端侧应用节点由所述网 络侧应用节点管理时, 为所述终端侧应用节点创建终端侧应用节点资源。
结合第六方面,在第六方面的第一种可能的实现方式中, 所述中间节点的 通用业务实体, 还包括:
配置信息发送模块,用于所述节点资源创建模块为所述终端侧应用节点创 建终端侧应用节点资源之后, 向所述终端侧应用节点发送应用配置信息, 所述 应用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的配 置内容,以使所述终端侧应用节点根据所述应用配置信息对所述终端侧应用节 点的配置内容进行配置。
结合第六方面或第六方面的第一种可能的实现方式,在第六方面的第二种 可能的实现方式中, 所述中间节点的通用业务实体, 还包括:
节点资源判断模块,用于所述注册信息接收模块接收终端侧应用节点发送 的终端侧应用节点注册信息之后,检测所述中间节点的通用业务实体上是否保 存有所述终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧应 用节点资源;若所述中间节点的通用业务实体上保存有所述终端侧应用节点注 册信息中包括的网络侧应用节点对应的网络侧应用节点资源,触发执行所述注 册信息转发模块。
结合第六方面的第二种可能的实现方式,在第六方面的第三种可能的实现 方式中, 所述中间节点的通用业务实体, 还包括:
节点资源请求模块,用于当所述中间节点的通用业务实体上没有保存所述 终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧应用节点资 源时, 向所述网络侧通用业务实体发送网络侧应用节点资源获取请求信息, 所 述网络侧应用节点资源获取请求信息包括所述验证信息、所述网络侧应用节点 的身份标识码、 所述终端侧应用节点的身份标识码;
节点资源接收模块,用于当所述网络侧通用业务实体上保存有所述网络侧 应用节点对应的网络侧应用节点资源时,接收所述网络侧通用业务实体发送的 所述网络侧应用节点对应的网络侧应用节点资源。
结合第六方面或第六方面的第一种可能或第二种可能或第六方面的实现 方式,在第六方面的第四种可能的实现方式中,所述中间节点的通用业务实体, 还包括:
身份标识码检测模块,用于所述注册信息接收模块接收终端侧应用节点发 送的终端侧应用节点注册信息之后,检测所述中间节点的通用业务实体上是否 保存有所述终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端 侧应用节点的身份标识码;
身份标识码判断模块,用于当所述中间节点的通用业务实体上保存有所述 终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端侧应用节点 的身份标识码时,判断所述终端侧应用节点注册信息中包括的终端侧应用节点 的身份标识码是否包括在所述网络侧应用节点所管理的终端侧应用节点的身 份标识码中; 若是, 触发执行所述注册信息转发模块。
第七方面, 本发明实施例还提供的一种注册系统, 包括:
如第四方面中任一项所述的网络侧通用业务实体、如第五方面中任一项所 述的终端侧应用节点、 如第六方面中任一项所述的中间节点的通用业务实体。
从以上技术方案可以看出, 本发明实施例具有以下优点:
本发明实施例中, 终端侧应用节点首先根据密钥生成验证信息, 然后终端 侧应用节点向网络侧通用业务实体或中间节点的通用业务实体发送终端侧应 用节点注册信息, 网络侧通用业务实体可以接收到终端侧应用节点注册信息, 然后网络侧通用业务实体根据终端侧应用节点注册信息获取验证结果,当验证 结果为终端侧应用节点是由网络侧应用节点管理时,网络侧通用业务实体为终 端侧应用节点创建终端侧应用节点资源,或者发送验证结果给中间节点的通用 业务实体,中间节点的通用业务实体根据验证结果为终端侧应用节点创建终端 侧应用节点资源。本发明实施例中终端侧应用节点不需要与网络侧通用业务实 体进行签约,网络侧通用业务实体或中间节点的通用业务实体就可以为终端侧 应用节点创建终端侧应用节点资源,进而终端侧应用节点就可以使用网络侧通 用业务实体提供的业务, 当终端侧应用节点的数量很多时, 可以减少网络侧通 用业务实体因需要单独与每个终端侧应用节点进行签约而导致的系统繁忙,也 就无需对签约数据库进行频繁的读写操作。 附图说明
图 1为本发明实施例提供的一种注册方法的流程方框示意图;
图 2为本发明实施例提供的另一种注册方法的流程方框示意图; 图 3为本发明实施例提供的另一种注册方法的流程方框示意图; 图 4为本发明实施例中注册系统的系统架构示意图;
图 5-a为本发明实施例中提供的注册方法的一种应用场景示意图; 图 5-b为本发明实施例中提供的注册方法的另一种应用场景示意图; 图 5-c为本发明实施例中提供的注册方法的另一种应用场景示意图; 图 5-d为本发明实施例中提供的注册方法的另一种应用场景示意图; 图 5-e为本发明实施例中提供的注册方法的另一种应用场景示意图; 图 5-f为本发明实施例中提供的注册方法的另一种应用场景示意图; 图 5-g为本发明实施例中提供的注册方法的另一种应用场景示意图; 图 6-a 为本发明实施例提供的一种网络侧通用业务实体的组成结构示意 图;
图 6-b为本发明实施例提供的另一种网络侧通用业务实体的组成结构示意 图;
图 6-c为本发明实施例提供的另一种网络侧通用业务实体的组成结构示意 图;
图 6-d为本发明实施例提供的一种验证结果获取模块的组成结构示意图; 图 6- e为本发明实施例提供的另一种网络侧通用业务实体的组成结构示意 图;
图 6-f 为本发明实施例提供的另一种验证结果获取模块的组成结构示意 图;
图 6-g 为本发明实施例提供的另一种验证结果获取模块的组成结构示意 图;
图 6-h为本发明实施例提供的另一种网络侧通用业务实体的组成结构示意 图;
图 7-a为本发明实施例提供的一种终端侧应用节点的组成结构示意图; 图 7-b为本发明实施例提供的另一种终端侧应用节点的组成结构示意图; 图 8-a为本发明实施例提供的一种中间节点的通用业务实体的组成结构示 意图;
图 8-b为本发明实施例提供的另一种中间节点的通用业务实体的组成结构 示意图;
图 8-c为本发明实施例提供的另一种中间节点的通用业务实体的组成结构 示意图;
图 8-d为本发明实施例提供的另一种中间节点的通用业务实体的组成结构 示意图;
图 8-e为本发明实施例提供的另一种中间节点的通用业务实体的组成结构 示意图;
图 9为本发明实施例提供的一种注册系统的组成结构示意图;
图 10为本发明实施例提供的另一种网络侧通用业务实体的组成结构示意 图;
图 11为本发明实施例提供的另一种终端侧应用节点的组成结构示意图; 图 12为本发明实施例提供的另一种中间节点的通用业务实体的组成结构 示意图。 具体实施方式
本发明实施例提供了一种注册方法和相关节点以及注册系统,能够实现业 务使用者在不需要签约的情况下完成注册。 为使得本发明的发明目的、 特征、优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。 基于本发明中的实施例, 本领域的技术人员所获得的所有其他实施例,都属于 本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语 "第一"、 "第二"等是 用于区別类似的对象, 而不必用于描述特定的顺序或先后次序。应该理解这样 使用的术语在适当情况下可以互换,这仅仅是描述本发明的实施例中对相同属 性的对象在描述时所采用的区分方式。 此外, "包括" 和 "具有" 以及他们的 任何变形, 意图在于覆盖不排他的包含, 以便包含一系列单元的过程、 方法、 系统、产品或设备不必限于那些单元, 而是可包括没有清楚地列出的或对于这 些过程、 方法、 产品或设备固有的其它单元。
本发明实施例中,业务使用者通常基于终端侧应用节点和网络侧应用节点 来实现其注册过程,业务提供商通常基于网络侧通用业务实体来实现其对终端 侧应用节点的注册验证, 网络侧通用业务实体分別和终端侧应用节点、 网络侧 应用节点连接, 另外, 网络侧通用业务实体和终端侧应用节点之间还可以部署 一个中间节点,该中间节点的功能类似于网络侧通用业务实体和终端侧应用节 点之间的网关, 终端侧应用节点可以注册到网络侧通用业务实体上, 终端侧应 用节点也可以注册到中间节点的通用业务实体上。
例如,在电力智能抄表的应用场景中, 业务使用者就是居民用户使用的电 表和向居民用户提供电力服务的电厂,则一个电厂通常为很多个居民用户提供 电力服务, 则居民用户的电表需要定期的向电厂汇报使用的电量数据, 电厂根 据每个电表上报的电量数据对居民用户收费,在这种应用场景下, 电厂和电表 之间就需要使用数据存储转发业务,则电厂和电表就可以通过网络侧通用业务 实体提供的服务来实现, 电厂相当于网络侧应用节点,每个电表就是终端侧应 用节点, 电表基于网络侧通用业务实体上报电量数据, 电厂基于网络侧通用业 务实体获取每个电表上报的电量数据。
以下分別进行详细说明。
本发明注册方法的一个实施例, 可应用于网络侧通用业务实体中, 该方法 可包括: 网络侧通用业务实体( Common Services Entity, CSE )接收终端侧应 用节点发送的终端侧应用节点注册信息, 其中, 终端侧应用节点注册信息包括 终端侧应用节点根据密钥生成的验证信息、 网络侧应用节点的身份标识码 ( IDentity, ID )、 终端侧应用节点的身份标识码, 网络侧应用节点为对终端侧 应用节点进行管理的应用节点;网络侧通用业务实体根据终端侧应用节点注册 信息获取验证结果, 其中,验证结果包括终端侧应用节点是由网络侧应用节点 管理, 或终端侧应用节点不是由网络侧应用节点管理; 若验证结果为终端侧应 用节点是由网络侧应用节点管理,网络侧通用业务实体为终端侧应用节点创建 终端侧应用节点资源, 或者发送验证结果给中间节点的通用业务实体, 以使中 间节点的通用业务实体为终端侧应用节点创建终端侧应用节点资源。
本发明注册方法的一个实施例,请参阅图 1所示,具体可以包括如下步骤:
101、 网络侧通用业务实体接收终端侧应用节点发送的终端侧应用节点注 册信息。
其中, 终端侧应用节点注册信息包括: 终端侧应用节点根据密钥生成的验 证信息、 网络侧应用节点的身份标识码、 终端侧应用节点的身份标识码。
本发明实施例中,网络侧应用节点为对终端侧应用节点进行管理的应用节 点。通常一个网络侧应用节点可以管理多个终端侧应用节点, 网络侧应用节点 在管理终端侧应用节点时,网络侧应用节点和终端侧应用节点都需要基于同一 个平台来进行数据的存储转发,本发明实施例中网络侧应用节点和终端侧应用 节点使用的平台^^于网络侧通用业务实体来实现的,网络侧应用节点与网络 侧通用业务实体进行签约, 网络侧通用业务实体生成签约数据, 并可以将签约 数据存储到签约数据库中,现有技术中除了网络侧应用节点需要与网络侧通用 业务实体进行签约之外,还需要终端侧应用节点也与网络侧通用业务实体进行 签约。
可以理解的是, 由于一个网络侧应用节点通常管理有多个终端侧应用节 点, 当终端侧应用节点的数量^艮多时, 这会造成网络侧通用业务实体因必须与 每个终端侧应用节点的单独签约而非常繁忙,并可能因为持续的大量签约工作 而宕机,并且网络侧通用业务实体在与每个终端侧应用节点签约后还需要将签 约数据存储到签约数据库中,还会导致对签约数据库的频繁读写操作, 并且签 约数据库中也因存储的签约数据量很大而降低了读写操作的效率。现有技术中 只有终端侧应用节点签约之后,才能享用网络侧通用实体提供的数据存储转发 等业务, 也就是说, 终端侧应用节点的签约是所有流程开始的前提, 意思当然 终端侧应用节点只有与网络侧通用业务实体签约后才能进行注册。
本发明与现有技术的不同之处在于,本发明实施例中终端侧应用节点不需 要与网络侧通用业务实体进行签约就可以发起注册流程,由于网络侧通用业务 实体没有与终端侧应用节点进行签约,网络侧通用业务实体中就没有留存终端 侧应用节点的任何信息,网络侧通用业务实体对终端侧应用节点的合法性无从 判断,为了能够使终端侧应用节点能够成功注册到网络侧通用业务实体或中间 节点的通用业务实体上,故需要终端侧应用节点在生成终端侧应用节点注册信 息时至少要携带以下内容: 终端侧应用节点根据密钥生成的验证信息、 网络侧 应用节点的身份标识码、 终端侧应用节点的身份标识码。
具体的, 终端侧应用节点在接受网络侧应用节点的管理时, 网络侧应用节 点通常可以为终端侧应用节点分配一个密钥,网络侧应用节点通过该密钥来验 证一个终端侧应用节点是否由自己管理,当网络侧应用节点管理有多个终端侧 应用节点时, 网络侧应用节点分別为每个终端侧应用节点分配一个密钥, 网络 侧应用节点可以将所有终端侧应用节点设置在一个终端管理列表中,并在终端 管理列表中存储每一个终端侧应用节点对应的密钥。
终端侧应用节点根据密钥可以生成验证信息,在终端侧应用节点发起注册 流程时, 需要发送该验证信息, 网络侧应用节点可以根据该验证信息来验证终 端侧应用节点是否由自己管理, 若验证信息通过, 则说明终端侧应用节点是合 法的, 若验证信息没有通过, 则说明终端侧应用节点不是合法的。 终端侧应用 节点在生成的终端侧应用节点注册信息中除了携带验证信息,还需要携带终端 侧应用节点的身份标识码,以及管理该终端侧应用节点的网络侧应用节点的身 份标识码,因为网络侧通用业务实体只有通过终端侧应用节点注册信息中携带 的网络侧应用节点的身份标识码,网络侧通用业务实体才能获知发送终端侧应 用节点信息的终端侧应用节点由哪个网络侧应用节点来管理。
需要说明的是,在本发明的一些实施例中, 步骤 101网络侧通用业务实体 CSE接收终端侧应用节点发送的终端侧应用节点注册信息之前,还可以包括如 下步骤:
A1、 网络侧通用业务实体接收网络侧应用节点发送的网络侧应用节点注 册信息, 其中, 网络侧应用节点注册信息包括网络侧应用节点的身份标识码; A2、 网络侧通用业务实体根据网络侧应用节点注册信息为网络侧应用节 点创建网络侧应用节点资源。
也就是说, 网络侧应用节点在管理终端侧应用节点时, 网络侧应用节点首 先要注册到网络侧通用业务实体上 ,网络侧应用节点向网络侧通用业务实体发 送网络侧应用节点注册信息,其中网络侧应用节点注册信息包括网络侧应用节 点的身份标识码, 步骤 A1中网络侧通用业务实体就可以接收到网络侧应用节 点注册信息, 然后步骤 A2中网络侧通用业务实体根据网络侧应用节点注册信 息为网络侧应用节点创建网络侧应用节点资源,其中网络侧应用节点资源可以 包含创建时间、 统一资源定位符(Uniform Resource Locator, URI )、 属性等。 其中在不同的具体应用场景中,网络侧通用业务实体创建的网络侧应用节点资 源也是不同的, 例如在网络侧应用节点为水厂时, 网络侧通用业务实体创建的 网络侧应用节点资源就可以是在网络侧通用业务实体上创建水厂的身份标识 码、 水厂的注册时间、 水厂读取水表数据的周期等。
需要说明的是, 在本发明的另一些实施例中, 步骤 A1网络侧通用业务实 体接收网络侧应用节点发送的网络侧应用节点注册信息之前,还可以包括如下 步骤:
A3、 网络侧通用业务实体和网络侧应用节点签约, 生成签约数据。
其中,在网络侧应用节点注册到网络侧通用业务实体之前, 网络侧应用节 点还需要与网络侧通用业务实体进行签约,网络侧通用业务实体和网络侧应用 节点签约, 生成签约数据, 网络侧通用业务实体可以将签约数据存储到签约数 据库中,在不同的具体应用场景中, 网络侧通用业务实体生成的签约数据也是 不同的。
例如在网络侧应用节点为水厂时,网络侧通用业务实体生成的签约数据就 可以水厂使用的具体服务内容以及每项服务的收费等,只有网络侧应用节点和 网络侧通用业务实体进行签约,网络侧应用节点才能使用网络侧通用业务实体 提供的数据存储转发业务。 需要说明的是, 在本发明的一些实施例中, 网络侧 应用节点可以和网络侧通用业务实体签约,但是终端侧应用节点不需要与网络 侧通用业务实体进行签约就可以直接发起注册流程。
需要说明的是,在本发明的一些实施例中, 终端侧应用节点可以直接和网 络侧通用业务实体连接,故终端侧应用节点可以将终端侧应用节点注册信息发 送给网络侧通用业务实体,另外终端侧应用节点还可以和中间节点的通用业务 实体连接, 中间节点的通用业务实体和网络侧通用业务实体连接, 也就是说, 终端侧应用节点通过中间节点的通用业务实体和网络侧通用业务实体连接,故 步骤 101 网络侧通用业务实体接收终端侧应用节点发送的终端侧应用节点注 册信息, 包括: 网络侧通用业务实体接收中间节点的通用业务实体发送的终端 侧应用节点注册信息,中间节点的通用业务实体从终端侧应用节点接收到终端 侧应用节点注册信息之后转发给网络侧通用业务实体。
102、 网络侧通用业务实体根据终端侧应用节点注册信息获取验证结果。 其中,验证结果包括终端侧应用节点是由与网络侧通用业务实体签约的网 络侧应用节点管理,或终端侧应用节点不是由与网络侧通用业务实体签约的网 络侧应用节点管理。
在本发明实施例中,网络侧通用业务实体在接收到终端侧应用节点注册信 息之后, 网络侧通用业务实体可以获取到终端侧应用节点的验证信息、终端侧 应用节点的身份标识码、 网络侧应用节点的身份标识码。 网络侧通用业务实体 根据该终端侧应用节点注册信息获取验证结果,验证结果指的是对终端侧应用 节点发送的终端侧应用节点注册信息进行验证后反馈的结果。
本发明实施例中验证结果包括有两种可能性:第一是终端侧应用节点是由 与网络侧通用业务实体签约的网络侧应用节点管理,第二是终端侧应用节点不 是由与网络侧通用业务实体签约的网络侧应用节点管理。网络侧通用业务实体 获取验证结果, 以实现对终端侧应用节点的合法性进行验证, 当验证结果为终 端侧应用节点是由网络侧应用节点管理时终端侧应用节点就是合法的,当验证 结果为终端侧应用节点不是由网络侧应用节点时终端侧应用节点就是不合法 的。
需要说明的是,在本发明的一些实施例中, 步骤 101网络侧通用业务实体 接收终端侧应用节点发送的终端侧应用节点注册信息之后,本发明实施例还可 以包括如下步骤:
B1、 网络侧通用业务实体根据终端侧应用节点注册信息中包括的网络侧 应用节点的身份标识码判断是否已经为网络侧应用节点创建网络侧应用节点 资源;
B2、 若已经为网络侧应用节点创建网络侧应用节点资源, 触发执行步骤 102网络侧通用业务实体根据终端侧应用节点注册信息获取验证结果。
其中, 网络侧通用业务实体在接收到终端侧应用节点注册信息之后, 网络 侧通用业务实体可以从终端侧应用节点注册信息中提取到网络侧应用节点的 身份标识码, 步骤 B1中网络侧通用业务实体根据提取到的网络侧应用节点的 身份标识码判断是否已经为该网络侧应用节点创建有网络侧应用节点资源,即 网络侧通用业务实体先判断网络侧应用节点是否已经注册到网络侧通用业务 实体上, 因为只有网络侧应用节点已经注册到网络侧通用业务实体上, 网络侧 通用业务实体才会为该网络侧应用节点创建网络侧应用节点资源,当已经为网 络侧应用节点创建网络侧应用节点资源,触发执行步骤 102网络侧通用业务实 体根据终端侧应用节点注册信息获取验证结果。
也就是说,本发明实施例中网络侧通用业务实体先对终端侧应用节点注册 信息中携带的网络侧应用节点进行合法性验证,若终端侧应用节点注册信息中 携带的网络侧应用节点是合法性的, 再对终端侧应用节点的合法性进行验证, 若终端侧应用节点注册信息中携带的网络侧应用节点是不合法性的,则不再执 行步骤 102以及后续步骤, 直接向终端侧应用节点反馈注册失败。
需要说明的是,在本发明的一些实施例中, 步骤 102网络侧通用业务实体 根据终端侧应用节点注册信息获取验证结果, 包括:
Cl、 网络侧通用业务实体向网络侧应用节点发送终端侧应用节点注册信 息,以使网络侧应用节点根据验证信息判断终端侧应用节点是否由网络侧应用 节点管理并生成险证结果;
C2、 网络侧通用业务实体接收网络侧应用节点发送的验证结果。
其中, 网络侧通用业务实体在接收到终端侧应用节点注册信息后, 网络侧 通用业务实体转发给网络侧应用节点, 也就是说, 此处描述的实施例中, 由网 络侧应用节点对终端侧应用节点的合法性进行验证, 并反馈验证结果, 由网络 侧应用节点发送给网络侧额通用业务实体。
需要说明的是,在本发明的一些实施例中, 步骤 101网络侧通用业务实体 根据终端侧应用节点注册信息获取验证结果之前, 本发明实施例还可以包括: Dl、 网络侧通用业务实体接收网络侧应用节点发送的应用管理信息, 其 中, 应用管理信息包括网络侧应用节点所管理的终端侧应用节点的身份标识 码。 也就是说,网络侧应用节点可以将由该网络侧应用节点管理的所有终端侧 应用节点的身份标识码发送给网络侧通用业务实体,则网络侧通用业务实体就 可以根据该应用管理信息来判断发起注册的终端侧应用节点是否合法的。具体 的, 步骤 D1可以在网络侧应用节点和网络侧通用业务实体签约时将应用管理 信息发送给网络侧通用业务实体,并由网络侧通用业务实体将应用管理信息存 储到签约数据库中。
基于包括步骤 D1的本发明实施例中, 步骤 102网络侧通用业务实体根据 终端侧应用节点注册信息获取验证结果, 包括:
D2、 网络侧通用业务实体判断发送终端侧应用节点注册信息的终端侧应 用节点的身份标识码是否包括在应用管理信息中;
D3、 若发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在应用管理信息中,网络侧通用业务实体将验证信息和发送终端侧应用节点 注册信息的终端侧应用节点的身份标识码发送给网络侧应用节点,以使网络侧 应用节点根据验证信息判断发送终端侧应用节点注册信息的终端侧应用节点 是否由网络侧应用节点管理并生成验证结果;
D4、 网络侧通用业务实体接收网络侧应用节点发送的验证结果。
也就是说, 若网络侧通用业务实体存储由应用管理信息, 则网络侧通用业 务实体首先对终端侧应用节点的身份标识码进行判断,若该身份标识码没有在 应用管理信息中, 则向终端侧应用节点信息反馈注册失败, 否则触发网络侧应 用节点对终端侧应用节点的合法性进行验证。
需要说明的是,在本发明的一些实施例中, 步骤 101网络侧通用业务实体 根据终端侧应用节点注册信息获取验证结果之前, 本发明实施例还可以包括:
D5、 网络侧通用业务实体接收网络侧应用节点发送的应用管理信息, 其 中,应用管理信息包括网络侧应用节点所管理的终端侧应用节点的身份标识码 以及各个终端侧应用节点对应的密钥。
其中, 相比于步骤 D1 , 步骤 D5的区別在于网络侧应用节点发送的应用 管理信息还包括网络侧应用节点所管理的所有终端侧应用节点对应的密钥,则 网络侧通用业务实体在接收到所有终端侧应用节点对应的密钥之后,网络侧通 用业务实体就可以自行对终端侧应用节点的合法性进行验证了。
基于包括步骤 D5的本发明实施例中, 步骤 102网络侧通用业务实体根据 终端侧应用节点注册信息获取验证结果, 包括:
D6、 网络侧通用业务实体根据终端侧应用节点注册信息判断发送终端侧 应用节点注册信息的终端侧应用节点的身份标识码是否包括在应用管理信息 中, 然后分別执行步骤 D7和 D8;
D7、 若发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在应用管理信息中,则网络侧通用业务实体根据终端侧应用节点注册信息中 包括的验证信息判断发送终端侧应用节点注册信息的终端侧应用节点是否由 网络侧应用节点管理,若发送终端侧应用节点注册信息的终端侧应用节点是由 网络侧应用节点管理, 生成第一验证结果, 第一验证结果为发送终端侧应用节 点注册信息的终端侧应用节点是由网络侧应用节点管理,若发送终端侧应用节 点注册信息的终端侧应用节点不是由网络侧应用节点管理, 生成第二验证结 果,第二验证结果为发送终端侧应用节点注册信息的终端侧应用节点不是由网 络侧应用节点管理;
D8、 若发送终端侧应用节点注册信息的终端侧应用节点的身份标识码没 有包括在应用管理信息中, 则网络侧通用业务实体生成第二验证结果, 第二验 证结果为发送终端侧应用节点注册信息的终端侧应用节点不是由网络侧应用 节点管理。
需要说明的是,在本发明实施例中, 步骤 102网络侧通用业务实体在获取 到验证结果之后,对于验证结果为终端侧应用节点是由网络侧应用节点管理的 情况, 则分別执行步骤 103和步骤 104, 即步骤 103和步骤 104分別对应于不 同的实现方式,对于验证结果为终端侧应用节点不是由网络侧应用节点管理的 情况, 则网络侧通用业务实体可以向终端侧应用节点反馈注册失败。
103、 若验证结果为终端侧应用节点是由网络侧应用节点管理, 网络侧通 用业务实体为终端侧应用节点创建终端侧应用节点资源。
在本发明实施例中,若验证结果为终端侧应用节点是由网络侧应用节点管 理, 则说明终端侧应用节点通过了验证, 终端侧应用节点是合法的, 当终端侧 应用节点注册到网络侧通用业务实体上时,网络侧通用业务实体为终端侧应用 节点创建终端侧应用节点资源。
其中在不同的具体应用场景中,网络侧通用业务实体创建的终端侧应用节 点资源也是不同的,例如在网络侧应用节点为水厂、终端侧应用节点为水表时, 网络侧通用业务实体创建的终端侧应用节点资源就可以是在网络侧通用业务 实体上创建水表的身份标识码、 水表的注册时间、 水表上报数据的周期等。
104、 若验证结果为终端侧应用节点是由网络侧应用节点管理, 发送验证 结果给中间节点的通用业务实体,以使中间节点的通用业务实体为终端侧应用 节点创建终端侧应用节点资源。
在本发明实施例中,若验证结果为终端侧应用节点是由网络侧应用节点管 理, 则说明终端侧应用节点通过了验证, 终端侧应用节点是合法的, 当终端侧 应用节点注册到中间节点的通用业务实体上时,网络侧通用业务实体将验证结 果发送给中间节点的通用业务实体,由中间节点的通用业务实体为终端侧应用 节点创建终端侧应用节点资源。其中在不同的具体应用场景中, 中间节点的通 用业务实体创建的终端侧应用节点资源也是不同的,例如在网络侧应用节点为 水厂、终端侧应用节点为水表时, 中间节点的通用业务实体创建的终端侧应用 节点资源就可以是在中间节点的通用业务实体上创建水表的身份标识码、水表 的注册时间、 水表上报数据的周期等。
需要说明的是,在本发明的一些实施例中,步骤 103或步骤 104执行之后, 本发明实施例还可以包括如下步骤:
El、 网络侧通用业务实体向终端侧应用节点发送应用配置信息, 其中, 应 用配置信息由网络侧应用节点发送给网络侧通用业务实体,应用配置信息为网 络侧应用节点对其所管理的终端侧应用节点生成的配置内容。
也就是说,在网络侧通用业务实体或中间节点的通用业务实体为终端侧应 用节点创建终端侧应用节点资源之后,网络侧通用业务实体可以向终端侧应用 节点发送应用配置信息,终端侧应用节点根据该应用配置信息就可以对自己的 配置内容进行配置,其中应用配置信息由网络侧应用节点发送给网络侧通用业 务实体, 具体指明其管理的终端侧应用节点应该如何配置。其中在不同的具体 应用场景中, 网络侧应用节点生成的应用配置信息也是不同的, 例如在网络侧 应用节点为水厂、终端侧应用节点为水表时, 网络侧应用节点生成的应用配置 信息就可以是水表的休眠时间、水表上报数据的格式、通知广播的更新消息等。
在本发明的另一些实施例中, 步骤 E1网络侧通用业务实体向所述终端侧 应用节点发送应用配置信息, 具体可以包括:
网络侧通用业务实体将应用配置信息发送给中间节点的通用业务实体,中 间节点的通用业务实体从网络侧通用业务实体接收到应用配置信息之后转发 给终端侧应用节点。
通过如上实施例对本发明的描述可知,网络侧通用业务实体可以接收到终 端侧应用节点注册信息,然后网络侧通用业务实体根据终端侧应用节点注册信 息获取验证结果, 当验证结果为终端侧应用节点是由网络侧应用节点管理时, 网络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源,或者发送验 证结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证结果为 终端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节点不 需要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的通用 业务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧应用 节点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的数量很 多时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进行签 约而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
本发明注册方法的另一个实施例, 可应用于终端侧应用节点中, 该方法可 包括: 终端侧应用节点根据密钥生成验证信息; 终端侧应用节点向网络侧通用 业务实体或者中间节点的通用业务实体发送终端侧应用节点注册信息, 其中, 终端侧应用节点注册信息包括验证信息、 网络侧应用节点的身份标识码 ID、 终端侧应用节点的身份标识码。
请参阅图 2所示, 本发明另一个实施例提供的注册方法, 具体可以包括如 下步骤:
201、 终端侧应用节点根据密钥生成验证信息。
本发明实施例中,网络侧应用节点为对终端侧应用节点进行管理的应用节 点。通常一个网络侧应用节点可以管理多个终端侧应用节点, 网络侧应用节点 在管理终端侧应用节点时,网络侧应用节点和终端侧应用节点都需要基于同一 个平台来进行数据的存储转发,本发明实施例中网络侧应用节点和终端侧应用 节点使用的平台^^于网络侧通用业务实体来实现的,网络侧应用节点与网络 侧通用业务实体进行签约, 网络侧通用业务实体生成签约数据, 并可以将签约 数据存储到签约数据库中,现有技术中除了网络侧应用节点需要与网络侧通用 业务实体进行签约之外,还需要终端侧应用节点也与网络侧通用业务实体进行 签约。 可以理解的是, 由于一个网络侧应用节点通常管理有多个终端侧应用节 点, 当终端侧应用节点的数量^艮多时, 这会造成网络侧通用业务实体因必须与 每个终端侧应用节点的单独签约而非常繁忙,并可能因为持续的大量签约工作 而宕机,并且网络侧通用业务实体在与每个终端侧应用节点签约后还需要将签 约数据存储到签约数据库中,还会导致对签约数据库的频繁读写操作, 并且签 约数据库中也因存储的签约数据量很大而降低了读写操作的效率。现有技术中 只有终端侧应用节点签约之后,才能享用网络侧通用实体提供的数据存储转发 等业务, 也就是说, 终端侧应用节点的签约是所有流程开始的前提, 意思当然 终端侧应用节点只有与网络侧通用业务实体签约后才能进行注册。
本发明与现有技术的不同之处在于,本发明实施例中终端侧应用节点不需 要与网络侧通用业务实体进行签约就可以发起注册流程,由于网络侧通用业务 实体没有与终端侧应用节点进行签约,网络侧通用业务实体中就没有留存终端 侧应用节点的任何信息,网络侧通用业务实体对终端侧应用节点的合法性无从 判断,为了能够使终端侧应用节点能够成功注册到网络侧通用业务实体或中间 节点的通用业务实体上, 终端侧应用节点在接受网络侧应用节点的管理时, 网 络侧应用节点通常可以为终端侧应用节点分配一个密钥,网络侧应用节点通过 该密钥来验证一个终端侧应用节点是否由自己管理,当网络侧应用节点管理有 多个终端侧应用节点时,网络侧应用节点分別为每个终端侧应用节点分配一个 密钥, 网络侧应用节点可以将所有终端侧应用节点设置在一个终端管理列表 中, 并在终端管理列表中存储每一个终端侧应用节点对应的密钥。终端侧应用 节点根据密钥可以验证信息, 在终端侧应用节点发起注册流程时, 需要发送该 验证信息,网络侧应用节点可以根据该验证信息来验证终端侧应用节点是否由 自己管理, 若验证信息通过, 则说明终端侧应用节点是合法的, 若验证信息没 有通过, 则说明终端侧应用节点不是合法的。
202、 终端侧应用节点向网络侧通用业务实体或者中间节点的通用业务实 体发送终端侧应用节点注册信息。
其中, 终端侧应用节点注册信息包括验证信息、 网络侧应用节点的身份标 识码 ID、 终端侧应用节点的身份标识码。
终端侧应用节点在生成的终端侧应用节点注册信息中除了携带验证信息, 还需要携带终端侧应用节点的身份标识码,以及管理该终端侧应用节点的网络 侧应用节点的身份标识码,因为网络侧通用业务实体只有通过终端侧应用节点 注册信息中携带的网络侧应用节点的身份标识码,网络侧通用业务实体才能获 知发送终端侧应用节点信息的终端侧应用节点由哪个网络侧应用节点来管理。
需要说明的是,在本发明的一些实施例中, 终端侧应用节点可以直接和网 络侧通用业务实体连接,故终端侧应用节点可以将终端侧应用节点注册信息发 送给网络侧通用业务实体,另外终端侧应用节点还可以和中间节点的通用业务 实体连接, 中间节点的通用业务实体和网络侧通用业务实体连接, 也就是说, 终端侧应用节点通过中间节点的通用业务实体和网络侧通用业务实体连接,故 步骤 202中包括有两种实现方式,第一种终端侧应用节点向网络侧通用业务实 体发送终端侧应用节点注册信息,第二种终端侧应用节点向中间节点的通用业 务实体发送终端侧应用节点注册信息,中间节点的通用业务实体从终端侧应用 节点接收到终端侧应用节点注册信息之后转发给网络侧通用业务实体。
需要说明的是,在本发明的一些实施例中, 步骤 202终端侧应用节点向网 络侧通用业务实体或者中间节点的通用业务实体发送终端侧应用节点注册信 息之后, 还可以包括:
F1、若网络侧通用业务实体根据终端侧应用节点注册信息获取到的验证结 果为终端侧应用节点由网络侧应用节点管理,终端侧应用节点接收网络侧通用 业务实体发送的应用配置信息, 其中,应用配置信息为网络侧应用节点对其所 管理的终端侧应用节点生成的配置内容;
F2、终端侧应用节点根据应用配置信息对所述终端侧应用节点的配置内容 进行配置。
也就是说,在网络侧通用业务实体或中间节点的通用业务实体为终端侧应 用节点创建终端侧应用节点资源之后,网络侧通用业务实体可以向终端侧应用 节点发送应用配置信息,终端侧应用节点根据该应用配置信息就可以对自己的 配置内容进行配置,其中应用配置信息由网络侧应用节点发送给网络侧通用业 务实体, 具体指明其管理的终端侧应用节点应该如何配置。其中在不同的具体 应用场景中, 网络侧应用节点生成的应用配置信息也是不同的, 例如在网络侧 应用节点为水厂、终端侧应用节点为水表时, 网络侧应用节点生成的应用配置 信息就可以是水表的休眠时间、水表上报数据的格式、通知广播的更新消息等。
在本发明的另一些实施例中, 步骤 F1终端侧应用节点接收网络侧通用业 务实体发送的应用配置信息,具体可以为终端侧应用节点从中间节点的通用业 务实体接收到应用配置信息,中间节点的通用业务实体在从网络侧通用业务实 体接收到应用配置信息之后转发给终端侧应用节点。
通过如上实施例对本发明的描述可知,终端侧应用节点首先根据密钥生成 验证信息,然后终端侧应用节点向网络侧通用业务实体或中间节点的通用业务 实体发送终端侧应用节点注册信息,网络侧通用业务实体可以接收到终端侧应 用节点注册信息,然后网络侧通用业务实体根据终端侧应用节点注册信息获取 验证结果, 当验证结果为终端侧应用节点是由网络侧应用节点管理时, 网络侧 通用业务实体为终端侧应用节点创建终端侧应用节点资源,或者发送验证结果 给中间节点的通用业务实体,中间节点的通用业务实体根据验证结果为终端侧 应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节点不需要与 网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的通用业务实 体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧应用节点就 可以使用网络侧通用业务实体提供的业务, 当终端侧应用节点的数量很多时, 可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进行签约而 导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
本发明注册方法的一个实施例, 可应用于中间节点的通用业务实体中, 该 方法可包括:中间节点的通用业务实体接收终端侧应用节点发送的终端侧应用 节点注册信息, 其中, 终端侧应用节点注册信息包括终端侧应用节点根据密钥 生成的验证信息、 网络侧应用节点的身份标识码 ID、 终端侧应用节点的身份 标识码;中间节点的通用业务实体将终端侧应用节点注册信息转发给网络侧通 用业务实体,以使网络侧通用业务实体根据终端侧应用节点注册信息获取验证 结果; 若险证结果为终端侧应用节点由网络侧应用节点管理, 中间节点的通用 业务实体为终端侧应用节点创建终端侧应用节点资源。
本发明注册方法的一个实施例,请参阅图 3所示,具体可以包括如下步骤:
301、 中间节点的通用业务实体接收终端侧应用节点发送的终端侧应用节 点注册信息。
其中,终端侧应用节点注册信息包括终端侧应用节点根据密钥生成的验证 信息、 网络侧应用节点的身份标识码 ID、 终端侧应用节点的身份标识码。
本发明实施例中,网络侧应用节点为对终端侧应用节点进行管理的应用节 点。通常一个网络侧应用节点可以管理多个终端侧应用节点, 网络侧应用节点 在管理终端侧应用节点时,网络侧应用节点和终端侧应用节点都需要基于同一 个平台来进行数据的存储转发,本发明实施例中网络侧应用节点和终端侧应用 节点使用的平台^^于网络侧通用业务实体来实现的,网络侧应用节点与网络 侧通用业务实体进行签约, 网络侧通用业务实体生成签约数据, 并可以将签约 数据存储到签约数据库中,现有技术中除了网络侧应用节点需要与网络侧通用 业务实体进行签约之外,还需要终端侧应用节点也与网络侧通用业务实体进行 签约。
可以理解的是, 由于一个网络侧应用节点通常管理有多个终端侧应用节 点, 当终端侧应用节点的数量^艮多时, 这会造成网络侧通用业务实体因必须与 每个终端侧应用节点的单独签约而非常繁忙,并可能因为持续的大量签约工作 而宕机,并且网络侧通用业务实体在与每个终端侧应用节点签约后还需要将签 约数据存储到签约数据库中,还会导致对签约数据库的频繁读写操作, 并且签 约数据库中也因存储的签约数据量很大而降低了读写操作的效率。现有技术中 只有终端侧应用节点签约之后,才能享用网络侧通用实体提供的数据存储转发 等业务, 也就是说, 终端侧应用节点的签约是所有流程开始的前提, 意思当然 终端侧应用节点只有与网络侧通用业务实体签约后才能进行注册。
本发明与现有技术的不同之处在于,本发明实施例中终端侧应用节点不需 要与网络侧通用业务实体进行签约就可以发起注册流程,由于网络侧通用业务 实体没有与终端侧应用节点进行签约,网络侧通用业务实体中就没有留存终端 侧应用节点的任何信息,网络侧通用业务实体对终端侧应用节点的合法性无从 判断,为了能够使终端侧应用节点能够成功注册到网络侧通用业务实体或中间 节点的通用业务实体上,故需要终端侧应用节点在生成终端侧应用节点注册信 息时至少要携带以下内容: 终端侧应用节点根据密钥生成的验证信息、 网络侧 应用节点的身份标识码、 终端侧应用节点的身份标识码。
具体的, 终端侧应用节点在接受网络侧应用节点的管理时, 网络侧应用节 点通常可以为终端侧应用节点分配一个密钥,网络侧应用节点通过该密钥来验 证一个终端侧应用节点是否由自己管理,当网络侧应用节点管理有多个终端侧 应用节点时, 网络侧应用节点分別为每个终端侧应用节点分配一个密钥, 网络 侧应用节点可以将所有终端侧应用节点设置在一个终端管理列表中,并在终端 管理列表中存储每一个终端侧应用节点对应的密钥。终端侧应用节点根据密钥 可以验证信息, 在终端侧应用节点发起注册流程时, 需要发送该验证信息, 网 络侧应用节点可以根据该验证信息来验证终端侧应用节点是否由自己管理,若 验证信息通过, 则说明终端侧应用节点是合法的, 若验证信息没有通过, 则说 明终端侧应用节点不是合法的。终端侧应用节点在生成的终端侧应用节点注册 信息中除了携带验证信息,还需要携带终端侧应用节点的身份标识码, 以及管 理该终端侧应用节点的网络侧应用节点的身份标识码,因为网络侧通用业务实 体只有通过终端侧应用节点注册信息中携带的网络侧应用节点的身份标识码, 网络侧通用业务实体才能获知发送终端侧应用节点信息的终端侧应用节点由 哪个网络侧应用节点来管理。
终端侧应用节点可以和中间节点的通用业务实体连接,中间节点的通用业 务实体和网络侧通用业务实体连接,也就是说, 终端侧应用节点通过中间节点 的通用业务实体和网络侧通用业务实体连接,故步骤 301中间节点的通用业务 实体接收终端侧应用节点发送的终端侧应用节点注册信息。
302、 中间节点的通用业务实体将终端侧应用节点注册信息转发给网络侧 通用业务实体,以使网络侧通用业务实体根据终端侧应用节点注册信息获取验 证结果。
在本发明实施例中,中间节点的通用业务实体接收到终端侧应用节点注册 信息之后,中间节点的通用业务实体将终端侧应用节点注册信息转发给网络侧 通用业务实体。
在本发明实施例中,网络侧通用业务实体在接收到终端侧应用节点注册信 息之后, 网络侧通用业务实体可以获取到终端侧应用节点的验证信息、终端侧 应用节点的身份标识码、 网络侧应用节点的身份标识码。 网络侧通用业务实体 根据该终端侧应用节点注册信息获取验证结果,验证结果指的是对终端侧应用 节点发送的终端侧应用节点注册信息进行验证后反馈的结果。本发明实施例中 验证结果包括有两种可能性: 第一是终端侧应用节点是由网络侧应用节点管 理, 第二是终端侧应用节点不是由网络侧应用节点管理。 网络侧通用业务实体 获取验证结果, 以实现对终端侧应用节点的合法性进行验证, 当验证结果为终 端侧应用节点是由网络侧应用节点管理时终端侧应用节点就是合法的,当验证 结果为终端侧应用节点不是由网络侧应用节点时终端侧应用节点就是不合法 的。
需要说明的是,步骤 301中间节点的通用业务实体接收终端侧应用节点发 送的终端侧应用节点注册信息之后, 还可以包括如下步骤:
G1、 中间节点的通用业务实体检测中间节点的通用业务实体上是否保存 有终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧应用节点 资源;
G2、 若中间节点的通用业务实体上保存有终端侧应用节点注册信息中包 括的网络侧应用节点对应的网络侧应用节点资源,触发执行步骤 302中间节点 的通用业务实体将终端侧应用节点注册信息转发给网络侧通用业务实体。
其中, 本发明实施例中, 网络侧通用业务实体为网络侧应用节点创建网络 侧应用节点资源之后,网络侧通用业务实体将为网络侧应用节点创建资源的信 息发送给中间节点的通用业务实体。中间节点的通用业务实体在接收终端侧应 用节点发送的终端侧应用节点注册信息之后,首先检测中间节点的通用业务实 体上是否保存有终端侧应用节点注册信息中包括的网络侧应用节点对应的网 络侧应用节点资源, 若是, 触发步骤 302执行。
在本发明的另一些实施例中, 步骤 G1执行过后, 本发明实施例还可以包 括如下步骤:
G3、 若中间节点的通用业务实体上没有保存终端侧应用节点注册信息中 包括的网络侧应用节点对应的网络侧应用节点资源,中间节点的通用业务实体 向网络侧通用业务实体发送网络侧应用节点资源获取请求信息, 其中, 网络侧 应用节点资源获取请求信息包括验证信息、 网络侧应用节点的身份标识码、终 端侧应用节点的身份标识码;
G4、 若网络侧通用业务实体上保存有网络侧应用节点对应的网络侧应用 节点资源,中间节点的通用业务实体接收网络侧通用业务实体发送的网络侧应 用节点对应的网络侧应用节点资源。
也就是说,当中间节点的通用业务实体上没有保存终端侧应用节点注册信 息中包括的网络侧应用节点对应的网络侧应用节点资源时,中间节点的通用业 务实体向网络侧通用业务实体请求网络侧应用节点资源,由网络侧通用业务实 体向中间节点的通用业务实体发送网络侧应用节点资源。
需要说明的是,在本发明的一些实施例中, 步骤 301中间节点的通用业务 实体接收终端侧应用节点发送的终端侧应用节点注册信息之后 ,还可以包括如 下步骤:
HI、 中间节点的通用业务实体检测中间节点的通用业务实体上是否保存 有终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端侧应用节 点的身份标识码;
H2、 若有, 中间节点的通用业务实体判断终端侧应用节点注册信息中包 括的终端侧应用节点的身份标识码是否包括在网络侧应用节点所管理的终端 侧应用节点的身份标识码中;
H3、 若是, 触发执行步骤 302 中间节点的通用业务实体将终端侧应用节 点注册信息转发给网络侧通用业务实体。
也就是说, 步骤 HI至 H2中由中间节点的通用业务实体来判断终端侧应 用节点是否合法, 若是, 步骤 H3才会触发步骤 302执行。 通过中间节点的通 用业务实体可以实现对终端侧应用节点进行合法性判断, 当不能够满足 HI和 H2的要求时, 中间节点的通用业务实体向终端侧应用节点反馈注册失败。
303、 若验证结果为终端侧应用节点由网络侧应用节点管理, 中间节点的 通用业务实体为终端侧应用节点创建终端侧应用节点资源。
在本发明实施例中,若验证结果为终端侧应用节点是由网络侧应用节点管 理, 则说明终端侧应用节点通过了验证, 终端侧应用节点是合法的, 当终端侧 应用节点注册到中间节点的通用业务实体上时,网络侧通用业务实体将验证结 果发送给中间节点的通用业务实体,由中间节点的通用业务实体为终端侧应用 节点创建终端侧应用节点资源。其中在不同的具体应用场景中, 中间节点的通 用业务实体创建的终端侧应用节点资源也是不同的,例如在网络侧应用节点为 水厂、终端侧应用节点为水表时, 中间节点的通用业务实体创建的终端侧应用 节点资源就可以是在中间节点的通用业务实体上创建水表的身份标识码、水表 的注册时间、 水表上报数据的周期等。
需要说明的是,在本发明的一些实施例中, 步骤 303中间节点的通用业务 实体为终端侧应用节点创建终端侧应用节点资源之后, 还可以包括如下步骤: 中间节点的通用业务实体向终端侧应用节点发送应用配置信息, 其中,应 用配置信息为网络侧应用节点对其所管理的终端侧应用节点生成的配置内容, 以使终端侧应用节点根据应用配置信息对终端侧应用节点的配置内容进行配 置。
也就是说,在中间节点的通用业务实体为终端侧应用节点创建终端侧应用 节点资源之后,中间节点的通用业务实体可以向终端侧应用节点发送应用配置 信息, 终端侧应用节点根据该应用配置信息就可以对自己的配置内容进行配 置, 其中应用配置信息由网络侧应用节点发送给网络侧通用业务实体, 网络侧 通用业务实体再转发给中间节点的通用业务实体,具体指明其管理的终端侧应 用节点应该如何配置。其中在不同的具体应用场景中, 网络侧应用节点生成的 应用配置信息也是不同的, 例如在网络侧应用节点为水厂、终端侧应用节点为 水表时, 网络侧应用节点生成的应用配置信息就可以是水表的休眠时间、水表 上报数据的格式、 通知广播的更新消息等。
通过如上实施例对本发明的描述可知,终端侧应用节点首先根据密钥生成 验证信息,然后终端侧应用节点向中间节点的通用业务实体发送终端侧应用节 点注册信息, 中间节点的通用业务实体可以接收到终端侧应用节点注册信息, 然后转发给网络侧通用业务实体,网络侧通用业务实体根据终端侧应用节点注 册信息获取验证结果,当验证结果为终端侧应用节点是由网络侧应用节点管理 时, 网络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源, 或者发 送验证结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证结 果为终端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节 点不需要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的 通用业务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧 应用节点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的数 量很多时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进 行签约而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。 为便于更好的理解和实施本发明实施例的上述方案,下面举例相应的应用 场景来进行具体说明。
本发明实施例中,业务使用者通常基于终端侧应用节点和网络侧应用节点 来实现其注册过程,业务提供商通常基于网络侧通用业务实体来实现其对终端 侧应用节点的注册验证, 网络侧通用业务实体分別和终端侧应用节点、 网络侧 应用节点连接, 另外, 网络侧通用业务实体和终端侧应用节点之间还可以部署 一个中间节点,该中间节点的功能类似于网络侧通用业务实体和终端侧应用节 点之间的网关, 终端侧应用节点可以注册到网络侧通用业务实体上, 终端侧应 用节点也可以注册到中间节点的通用业务实体上。举例说明本发明实施例提供 的注册系统,请参阅如图 4所示, 为本发明实施例中注册系统的系统架构示意 图, 可以包括: 网络侧通用业务实体、 终端侧应用节点、 网络侧应用节点, 如 图 4中实线所圏住的三个节点, 另外注册系统也可以包括: 网络侧通用业务实 体、 终端侧应用节点、 网络侧应用节点、 和中间节点( Intermediate Node ), 如 图 4中虚线所圏住的四个节点。 图 4中包括三种参考点: X、 Y和 Z, X参考 点连接应用节点和 CSE、 Y参考点连接 CSE与 CSE、 Z参考点连接 CSE与底 层网络。 如图 4中, 最左边一列为终端侧应用节点, 每个终端侧应用节点包括 应用 (A, Application ), 或者还包括通用业务实体(CSE, Common Services Entity )。
接下来介绍本发明实施例提供的注册方法应用的详细例子, 例如,在智能 抄水表的应用场景中,业务使用者就是居民用户使用的水表和向居民用户提供 水的水厂, 则一个水厂通常为^艮多个居民用户提供水, 则居民用户的水表需要 定期的向水厂汇报使用的用水量数据,水厂根据每个水表上报的用水量数据对 居民用户收费,在这种应用场景下, 水厂和水表之间就需要使用数据存储转发 业务, 则水厂和水表就可以通过网络侧 CSE提供的服务来实现, 水厂相当于 网络侧应用节点,每个水表就是终端侧应用节点, 水表基于网络侧通用业务实 体上报用水量数据,水厂基于网络侧通用业务实体获取每个水表上报的用水量 数据。
下面结合具体的应用场景进行说明, 其中水表 AF1 为前述实施例中的终 端侧应用节点, 网络侧 CSE为前述实施例中的网络侧通用业务实体, 水厂 AF 为前述实施例中的网络侧应用节点, 网关 CSE为前述实施例中的中间节点的 通用业务实体, 具体描述如下:
请参阅如图 5-a所示, 为本发明实施例中提供的注册方法的一种应用场景 示意图, 首先, 水厂 AF与平台业务提供商(即图中所示的网络侧 CSE )签约, 并将签约数据存储在签约数据库中。 水表 AF1中保存水厂的 ID和密钥 Krl , 水厂 AF中保存水表 ID的列表和相应的密钥 Kr, 主要包括如下步骤:
1、 水厂 AF注册到网络侧 CSE上, 并提供标识它的 ID, 另外也可以提供 签约 ID;
2、 网络侧 CSE使用水厂 AF提供的 ID, 到签约数据库中查找相应的签约 信息, 如果有对应的信息, 准备为水厂 AF创建资源, 如果没有则, 返回错误; 3、 网络侧 CSE创建 AF资源;
4、 网络侧 CSE应答 AF资源创建成功, 即注册成功;
5、 水厂 AF将其管理的水表 AF n ( n=l,2,3…… N ) 的配置信息发送到网 络侧 CSE上;
6、 网络侧 CSE存储此配置信息;
7、 网络侧 CSE向水厂 AF反馈创建配置信息成功;
8、 水表 AF1使用密钥生成验证信息, 水表 AF1注册到网络侧 CSE上, 需携带水厂的 ID、 自己的 ID和验证信息;
9、 网络侧 CSE通过 AF1提供的水厂 AF ID检测此水厂是否已注册到此 平台上, 然后根据水厂 AF是否注册到平台, 执行步骤 10a和 10b;
10a、如果没有注册, 即没有此水厂, 则网络侧 CSE通知水表 AF1注册失 败;
10b、 如果已经注册, 网络侧 CSE发送水表 AF1的 ID和验证信息到水厂 AF处;
11、水厂 AF使用对应的密钥验证此水表 AF1的验证信息是否合法, 即验 证水表 AF1是否是水厂 AF管理的从属设备;
12、 水厂 AF应答网络侧 CSE, 如果是, 则包含成功指示; 否则, 发送失 败指示;
13、 如果成功, 网络侧 CSE则创建水表 AF1资源, 并与水厂 AF资源进 行关联, 以便后续两者之间的信息传递, 并下发配置信息给水表 AF1; 否则不 创建水表 AF1资源, 且发送失败消息给水表 AF1 , 同时说明失败原因;
14、网络侧 CSE应答水表 AF1资源创建成功,并下发配置信息给水表 AF1 , 否则应答水表 AF1资源创建失败;
15、 如果创建了水表 AF1资源, 则通知水厂 AF , 水表 AF1已与其关联。
16、 水表 AF1根据下发的配置信息进行配置。
需要说明的是, 图 5-a所示的实施例中由水厂 AF来验证水表 AF1的合法 性, 接下来请参阅如图 5-b所示, 为本发明实施例中提供的注册方法的另一种 应用场景示意图, 与图 5-a不同的是, 由网络侧 CSE来验证水表 AF1的合法 性。
首先, 水厂 AF与平台业务提供商(即图中所示的网络侧 CSE )签约, 并 将签约数据存储在签约数据库中。 水表 AF1中保存水厂的 ID和密钥 Krl , 水 厂 AF中保存水表 ID的列表和相应的密钥 Kr ,并且水厂 AF将水表 ID的列表 和相应的密钥发送给网络侧 CSE,网络侧 CSE将水表 ID的列表和相应的密钥 一并与签约数据存储在签约数据库中, 主要包括如下步骤:
I、 水厂 AF注册到网络侧 CSE上, 并提供标识它的 ID, 另外也可以提供 签约 ID;
2、 网络侧 CSE使用水厂 AF提供的 ID, 到签约数据库中查找相应的签约 信息, 如果有对应的信息, 准备为水厂 AF创建资源, 如果没有则, 返回错误; 3、 网络侧 CSE创建 AF资源;
4、 网络侧 CSE应答 AF资源创建成功, 即注册成功;
5、 水厂 AF将其管理的水表 AF n ( n=l,2,3…… N ) 的配置信息发送到网 络侧 CSE上;
6、 网络侧 CSE存储此配置信息;
7、 网络侧 CSE向水厂 AF反馈创建配置信息成功;
8、 水表 AF1使用密钥生成验证信息, 水表 AF1注册到网络侧 CSE上, 需携带水厂的 ID、 自己的 ID和验证信息;
9、 网络侧 CSE通过 AF1提供的水厂 AF ID检测此水厂是否已注册到此 平台上, 然后根据水厂 AF是否注册到平台, 执行步骤 10a和 10b;
10a、如果没有注册, 即没有此水厂, 则网络侧 CSE通知水表 AF1注册失 败;
10b、 如果已经注册, 网络侧 CSE根据水厂下发的水表 ID列表和相应的 密钥验证此水表 AF1 的验证信息是否合法, 即验证水表 AF1是否是水厂 AF 管理的从属设备;
II、 如果验证合法, 网络侧 CSE则创建水表 AF1资源, 并与水厂 AF资 源进行关联, 以便后续两者之间的信息传递, 并下发配置信息给水表 AF1 ; 否 则不创建水表 AF1资源, 且发送失败消息给水表 AF1 , 同时说明失败原因; 12、网络侧 CSE应答水表 AF1资源创建成功,并下发配置信息给水表 AF1 , 否则应答水表 AF1资源创建失败;
13、 如果创建了水表 AF1资源, 则通知水厂 AF, 水表 AF1已与其关联;
14、 水表 AF1根据下发的配置信息进行配置。
需要说明的是, 图 5-a和图 5-b所示的实施例中只有水厂 AF、 水表 AF1、 网络侧 CSE三个节点就可实现对水表 AF1的注册, 接下来请参阅如图 5-c所 示, 为本发明实施例中提供的注册方法的另一种应用场景示意图, 与图 5-a、 图 5-b不同的是, 注册系统除了包括水厂 AF、 水表 AF1、 网络侧 CSE之外, 注册系统还包括: 网关 CSE。
首先, 水厂 AF与平台业务提供商(即图中所示的网络侧 CSE )签约, 并 将签约数据存储在签约数据库中。 水表 AF1中保存水厂的 ID和密钥 Krl , 水 厂 AF中保存水表 ID的列表和相应的密钥 Kr, 主要包括如下步骤:
1、 水厂 AF注册到网络侧 CSE上, 并提供标识它的 ID, 另外也可以提供 签约 ID;
2、 网络侧 CSE使用水厂 AF提供的 ID, 到签约数据库中查找相应的签约 信息, 如果有对应的信息, 准备为水厂 AF创建资源, 如果没有则, 返回错误;
3、 网络侧 CSE创建 AF资源;
4、 网络侧 CSE应答 AF资源创建成功, 即注册成功;
5、 水厂 AF将其管理的水表 AF n ( n=l,2,3…… N ) 的配置信息发送到网 络侧 CSE上;
6、 网络侧 CSE存储此配置信息;
7、 网络侧 CSE向水厂 AF反馈创建配置信息成功;
8、 水表 AF1使用密钥生成验证信息, 水表 AF1注册到网关 CSE上, 需 携带水厂的 ID、 自己的 ID和验证信息;
9、 网关 CSE发送验证信息给平台, 携带水厂 AF ID、 水表 AF1 ID和验 证信息;
10、 网络侧 CSE检测在平台上是否有水厂 AF资源,根据检测结果执行步 骤 11a和 12a, 或执行步骤 lib和 lib;
lla、 如果没有, 网络侧 CSE应答网关 CSE验证失败, 失败原因是水厂 AF资源不存在;
12a、 网关 CSE应答水表 AF1注册失败; llb、 如果有, 网络侧 CSE则发送验证信息给水厂 AF, 携带水表 AFl ID 和马全证信息;
12b、 水厂 AF使用密钥验证验证信息的正确性, 进而验证水表的合法性; 13、 水厂 AF应答给网络侧 CSE, 应答的内容包括验证成功或验证失败; 14、 网络侧 CSE应答给网关 CSE;
15、 如果成功, 网络侧 CSE则创建水表 AF1资源, 并与水厂 AF资源进 行关联, 以便后续两者之间的信息传递, 并下发配置信息给水表 AF1; 否则不 创建 AF1资源, 且发送失败消息给水表 AF1 , 同时说明失败原因;
16、 网络侧 CSE应答网关 CSE;
17、 网关 CSE应答水表 AF1 , 如果网络侧 CSE创建水表 AF1资源, 下发 配置信息给 AF1 , 如果网络侧 CSE不创建水表 AF1资源, 下发失败消息给水 表 AF1 ;
18、 网关 CSE通知网络侧 CSE水表 AF1关联到水厂 AF资源, 携带水厂 AF ID和水表 AFl ID;
19、网络侧 CSE在水厂 AF资源中标记水表 AF1已注册,并关联水表 AF1 注册的网关 CSE ID;
20、 网络侧 CSE通知水厂 AF, AFl已关联到水厂 AF。
需要说明的是, 图 5-c所示的实施例中由水厂 AF来验证水表 AF1的合法 性, 且网络侧 CSE和网关 CSE不参与, 接下来请参阅如图 5-d所示, 为本发 明实施例中提供的注册方法的另一种应用场景示意图, 与图 5-c不同的是, 由 水厂 AF来验证水表 AF1的合法性,但是网络侧 CSE参与且网关 CSE不参与。
首先, 水厂 AF与平台业务提供商(即图中所示的网络侧 CSE )签约, 并 将签约数据存储在签约数据库中。 水表 AF1中保存水厂的 ID和密钥 Krl , 水 厂 AF中保存水表 ID的列表和相应的密钥 Kr, 主要包括如下步骤:
1、 水厂 AF注册到网络侧 CSE上, 并提供标识它的 ID, 另外也可以提供 签约 ID;
2、 网络侧 CSE使用水厂 AF提供的 ID, 到签约数据库中查找相应的签约 信息, 如果有对应的信息, 准备为水厂 AF创建资源, 如果没有则, 返回错误; 3、 网络侧 CSE创建 AF资源;
4、 网络侧 CSE应答 AF资源创建成功, 即注册成功; 5、 水厂 AF将其管理的水表 AF n ( n=l,2,3…… N ) 的配置信息发送到网 络侧 CSE上;
6、 网络侧 CSE存储此配置信息;
7、 网络侧 CSE向水厂 AF反馈创建配置信息成功;
8、 水表 AF1使用密钥生成验证信息, 水表 AF1注册到网关 CSE上, 需 携带水厂的 ID、 自己的 ID和验证信息;
9、 网关 CSE发送验证信息给平台, 携带水厂 AF ID、 水表 AFl ID和验 证信息;
10、 网络侧 CSE检测在平台上是否有水厂 AF资源,根据检测结果执行步 骤 11a和 12a, 或执行步骤 lib和 lib;
lla、 如果没有, 网络侧 CSE应答网关 CSE验证失败, 失败原因是水厂 AF资源不存在;
12a、 网关 CSE应答水表 AF1注册失败;
lib, 如果有, 网络侧 CSE验证水表 AF1的 ID是否在水表 ID列表中, 根据验证结果分別执行 12b-l和 12b-2。
12b-l、如果不存在列表中,网络侧 CSE向网关 CSE应答失败和失败原因; 3b- 1 , 网关 CSE向水表 AFl应答失败和失败原因;
12b-2、 如果存在列表中, 网络侧 CSE向水厂 AF发送验证信息, 携带水 表 AFl ID和验证信息;
13b-2、水厂 AF使用密钥验证验证信息的正确性,进而验证水表的合法性;
14b-2、 水厂 AF应答给网络侧 CSE;
15b-2、 网络侧 CSE应答给网关 CSE;
16、 如果成功, 网络侧 CSE则创建水表 AF1资源, 并与水厂 AF资源进 行关联, 以便后续两者之间的信息传递, 并下发配置信息给水表 AF1; 否则不 创建 AF1资源, 且发送失败消息给水表 AF1 , 同时说明失败原因;
17、 网络侧 CSE应答网关 CSE;
18、 网关 CSE应答水表 AF1 , 如果网络侧 CSE创建水表 AF1资源, 下发 配置信息给 AF1 , 如果网络侧 CSE不创建水表 AF1资源, 下发失败消息给水 表 AF1 ;
19、 网关 CSE通知网络侧 CSE水表 AF1关联到水厂 AF资源, 携带水厂 AF ID和水表 AF1 ID;
20、网络侧 CSE在水厂 AF资源中标记水表 AF1已注册,并关联水表 AF1 注册的网关 CSE ID;
21、 网络侧 CSE通知水厂 AF, AF1已关联到水厂 AF。
需要说明的是, 图 5-d所示的实施例中由水厂 AF来验证水表 AF1的合法 性, 且网络侧 CSE参与、 网关 CSE不参与, 接下来请参阅如图 5-e所示, 为 本发明实施例中提供的注册方法的另一种应用场景示意图,与图 5-d不同的是, 由水厂 AF来验证水表 AF1的合法性,但是网络侧 CSE参与且网关 CSE参与。
首先, 水厂 AF与平台业务提供商(即图中所示的网络侧 CSE )签约, 并 将签约数据存储在签约数据库中。 水表 AF1中保存水厂的 ID和密钥 Krl , 水 厂 AF中保存水表 ID的列表和相应的密钥 Kr, 主要包括如下步骤:
1、 水厂 AF注册到网络侧 CSE上, 并提供标识它的 ID, 另外也可以提供 签约 ID;
2、 网络侧 CSE使用水厂 AF提供的 ID, 到签约数据库中查找相应的签约 信息, 如果有对应的信息, 准备为水厂 AF创建资源, 如果没有则, 返回错误;
3、 网络侧 CSE创建 AF资源;
4、 网络侧 CSE应答 AF资源创建成功, 即注册成功;
5、 水厂 AF将其管理的水表 AF n ( n=l,2,3…… N ) 的配置信息发送到网 络侧 CSE上;
6、 网络侧 CSE存储此配置信息;
7、 网络侧 CSE向水厂 AF反馈创建配置信息成功;
8、 水表 AF1使用密钥生成验证信息, 水表 AF1注册到网关 CSE上, 需 携带水厂的 ID、 自己的 ID和验证信息;
9、网关 CSE检测水厂 AF资源是否存在,如果存在检测 AF1是否水表 ID 列表中;
10c、如果 AF1不在水表 ID列表中,网关 CSE则发送失败消息给水表 AF1 , 携带失败原因;
10a、如果 AF1在水表 ID列表中,网关 CSE在发送验证信息给网络侧 CSE, 携带 AF ID、 AF1 ID和验证信息;
lla、 网络侧 CSE发送验证信息给水厂 AF, 携带 AF1 ID和验证信息; 12a、 水厂 AF根据 AFl ID和验证信息验证此水表 AFl的合法性; 13a、 水厂 AF应答网络侧 CSE, 应答: 失败或者成功;
14a、 网络侧 CSE应答网关 CSE, 应答: 失败或者成功;
15a、 如果验证成功, 网关 CSE为水表 AF1创建 AF1资源, 并下发配置 信息给水表 AF1 ; 失败则不创建;
16a、 网关 CSE应答水表 AFl , 应答: 成功及配置信息; 或者失败及失败 原因;
10b、 如果网关 CSE上不存在水厂 AF资源, 网关 CSE则发送获取 AF 源的请求给网络侧 CSE, 携带 AF ID、 AFl ID和验证信息;
lib, 网络侧 CSE检测 AF资源是否存在, 如果存在, 检测 AF1是否在水 表 ID列表中;
12b-l、 如果不在列表中, 则网络侧 CSE发送失败消息给网关 CSE, 携带 失败原因;
13b-l、 网关 CSE发送失败消息给水表 AFl;
12b-2、 网络侧 CSE发送验证信息给水厂 AF, 携带 AFl ID和验证信息;
13b-2、 水厂 AF根据 AFl ID和验证信息验证此水表 AF1的合法性; 14b-2、 水厂 AF应答网络侧 CSE, 应答: 失败或者成功;
15b-2、 如果险证成功, 网络侧 CSE向网关 CSE创建 AF资源的声明并下 发配置信息和水表 ID列表, 失败则不创建;
16b-2、成功: 网关 CSE创建 AF资源声明并且存储配置信息和水表 ID列 表, 创建 AF1资源, 下发配置信息; 失败不创建;
17b-2、 网关 CSE应答水表 AFl , 应答注册成功, 并下发配置信息, 或应 答注册失败和失败原因;
18b-2、网关通知网络侧 CSE水表 AF1关联到水厂 AF资源,携带水厂 ID、 水表 ID和网关 CSE1 ID;
19b-2、 网络侧 CSE在 AF资源中标记水表 AF1已注册, 并关联水表 AF1 注册的网关 CSE ID;
20b-2、 网络侧 CSE通知 AF, AFl已关联到 AF。
需要说明的是, 图 5-e所示的实施例中由水厂 AF来验证水表 AF1的合法 性, 且网络侧 CSE参与、 网关 CSE参与, 接下来请参阅如图 5-f所示, 为本 发明实施例中提供的注册方法的另一种应用场景示意图, 与图 5-e不同的是, 由水厂 AF来验证水表 AF1的合法性, 但是网关 CSE不参与。
首先, 水厂 AF与平台业务提供商(即图中所示的网络侧 CSE )签约, 并 将签约数据存储在签约数据库中。 水表 AF1中保存水厂的 ID和密钥 Krl , 水 厂 AF中保存水表 ID的列表和相应的密钥 Kr ,并且水厂 AF将水表 ID的列表 和相应的密钥发送给网络侧 CSE,网络侧 CSE将水表 ID的列表和相应的密钥 一并与签约数据存储在签约数据库中, 主要包括如下步骤:
1、 水厂 AF注册到网络侧 CSE上, 并提供标识它的 ID, 另外也可以提供 签约 ID;
2、 网络侧 CSE使用水厂 AF提供的 ID, 到签约数据库中查找相应的签约 信息, 如果有对应的信息, 准备为水厂 AF创建资源, 如果没有则, 返回错误; 3、 网络侧 CSE创建 AF资源;
4、 网络侧 CSE应答 AF资源创建成功, 即注册成功;
5、 水厂 AF将其管理的水表 AF n ( n=l,2,3…… N ) 的配置信息发送到网 络侧 CSE上;
6、 网络侧 CSE存储此配置信息;
7、 网络侧 CSE向水厂 AF反馈创建配置信息成功;
8、 水表 AF1使用密钥生成验证信息, 水表 AF1注册到网关 CSE上, 需 携带水厂的 ID、 自己的 ID和验证信息;
9、 网关 CSE发送验证信息给平台, 携带水厂 AF ID、 水表 AF1 ID和验 证信息;
10、 网络侧 CSE检测在平台上是否有水厂 AF资源,根据检测结果执行步 骤 11a和 12a, 或执行步骤 lib和 lib;
lla、 如果没有, 网络侧 CSE应答网关 CSE验证失败, 失败原因是水厂 AF资源不存在;
12a、 网关 CSE应答水表 AF1注册失败;
lib, 如果有, 网络侧 CSE验证水表 AF1的 ID是否在水表 ID列表中? 如果存在, 验证验证信息是否正确;
12b、 如果水表 AF1存在水表 ID列表中, 且验证信息正确, 则应答成功, 并下发配置信息; 否则应答失败及失败原因; 13、 成功, 网关 CSE则创建 AFl资源;
14、 网关 CSE应答给水表 AFl: 注册成功和配置信息; 失败及失败原因;
15、 网关 CSE通知网络侧 CSE水表 AF1关联到水厂 AF资源, 携带水厂 AF ID、 水表 AFl ID和网关 CSE ID;
16、网络侧 CSE在水厂 AF资源中标记水表 AF1已注册,并关联水表 AF1 注册的网关 CSE ID;
17、 网络侧 CSE通知水厂 AF, 水表 AFl已关联到水厂 AF。
需要说明的是, 图 5-f所示的实施例中由水厂 AF和网络侧 CSE来验证水 表 AF1的合法性, 但网关 CSE参与, 接下来请参阅如图 5-g所示, 为本发明 实施例中提供的注册方法的另一种应用场景示意图, 与图 5-f不同的是, 由网 络侧 CSE来验证水表 AF1的合法性, 但是网关 CSE不参与。
首先, 水厂 AF与平台业务提供商(即图中所示的网络侧 CSE )签约, 并 将签约数据存储在签约数据库中。 水表 AF1中保存水厂的 ID和密钥 Krl , 水 厂 AF中保存水表 ID的列表和相应的密钥 Kr,并且水厂 AF将水表 ID的列表 和相应的密钥发送给网络侧 CSE,网络侧 CSE将水表 ID的列表和相应的密钥 一并与签约数据存储在签约数据库中, 主要包括如下步骤:
1、 水厂 AF注册到网络侧 CSE上, 并提供标识它的 ID, 另外也可以提供 签约 ID;
2、 网络侧 CSE使用水厂 AF提供的 ID, 到签约数据库中查找相应的签约 信息, 如果有对应的信息, 准备为水厂 AF创建资源, 如果没有则, 返回错误;
3、 网络侧 CSE创建 AF资源;
4、 网络侧 CSE应答 AF资源创建成功, 即注册成功;
5、 水厂 AF将其管理的水表 AF n ( n=l,2,3…… N ) 的配置信息发送到网 络侧 CSE上;
6、 网络侧 CSE存储此配置信息;
7、 网络侧 CSE向水厂 AF反馈创建配置信息成功;
8、 水表 AF1使用密钥生成验证信息, 水表 AF1注册到网关 CSE上, 需 携带水厂的 ID、 自己的 ID和验证信息;
9、 网关 CSE发送验证信息给网络侧 CSE, 携带水厂 AF ID、 水表 AFl ID 和险证信息; 10c、如果 AF1不在水表 ID列表中,网关 CSE则发送失败消息给水表 AF1 , 携带失败原因;
10a、如果 AF1在水表 ID列表中,网关 CSE在发送验证信息给网络侧 CSE, 携带 AF ID、 AF1 ID和验证信息;
lla、 网络侧 CSE验证验证信息是否正确;
12a、 网络侧 CSE向网关 CSE应答, 如果正确, 则成功, 否则失败; 13a、 成功, 网关 CSE创建水表 AF1资源, 并下发配置信息, 否则不创建 资源;
14a、 网关 CSE应答水表 AF1 , 应答: 失败及失败原因或者成功及配置信 息;
10b、 如果网关 CSE上不存在水厂 AF资源, 网关 CSE则发送获取水厂 AF资源的请求给网络侧 CSE, 携带 AF ID、 AF1 ID和验证信息;
lib, 网络侧 CSE检测水厂 AF资源是否存在, 如果存在检测水表 AF1是 否在水表 ID列表中, 如果存在, 则验证验证信息是否正确;
12b、验证成功, 网络侧 CSE则应答成功并在网关 CSE上创建水厂 AF资 源声明并下发配置信息和水表 ID列表; 否则应答失败及失败原因;
13b、 成功: 网关 CSE创建水厂 AF资源声明并且存储配置信息和水表 ID 列表, 创建水表 AF1资源, 下发配置信息; 失败不创建;
14b、 网关 CSE应答水表 AF1 , 应答注册成功, 并下发配置信息, 若应答 注册失败, 发送失败原因;
15、 网关 CSE通知网络侧 CSE水表 AF1关联到水厂 AF资源, 携带水厂 AF ID、 水表 AF1 ID和网关 CSE ID;
16、网络侧 CSE在水厂 AF资源中标记水表 AF1已注册,并关联水表 AF1 注册的网关 CSE1ID;
17、 网络侧 CSE通知水厂 AF, 水表 AF1已关联到水厂 AF。
通过应用场景的介绍可知, 本发明实施例中, 物联网中的终端设备庞大, 同属于一个集团的终端设备不需要单独与业务平台提供商签约,只需集团与业 务平台的签约, 会精筒签约数据库的容量和签约数据查找的速度。
通过如上实施例对本发明的描述可知,终端侧应用节点首先根据密钥生成 验证信息,然后终端侧应用节点向中间节点的通用业务实体发送终端侧应用节 点注册信息, 中间节点的通用业务实体可以接收到终端侧应用节点注册信息, 然后转发给网络侧通用业务实体,网络侧通用业务实体根据终端侧应用节点注 册信息获取验证结果,当验证结果为终端侧应用节点是由网络侧应用节点管理 时, 网络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源, 或者发 送验证结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证结 果为终端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节 点不需要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的 通用业务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧 应用节点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的数 量很多时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进 行签约而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
需要说明的是, 对于前述的各方法实施例, 为了筒单描述, 故将其都表述 为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描述 的动作顺序的限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均 属于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。
为便于更好的实施本发明实施例的上述方案, 下面还提供用于实施上 述方案的相关装置。
请参阅图 6-a所示, 本发明实施例提供的一种网络侧通用业务实体 600, 可以包括: 注册信息接收模块 601、验证结果获取模块 602、 资源创建模块 603 或者验证结果发送模块 604, 其中,
注册信息接收模块 601 , 用于接收终端侧应用节点发送的终端侧应用节点 注册信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生 成的险证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点 的身份标识码,所述网络侧应用节点为对所述终端侧应用节点进行管理的应用 节点;
验证结果获取模块 602, 用于根据所述注册信息接收模块接收到的终端侧 应用节点注册信息获取验证结果,所述验证结果包括所述终端侧应用节点是由 与网络侧通用业务实体签约的网络侧应用节点管理,或终端侧应用节点不是由 与网络侧通用业务实体签约的网络侧应用节点管理; 资源创建模块 603 , 用于当所述验证结果获取模块获取到的验证结果为所 述终端侧应用节点是由所述网络侧应用节点管理时,为所述终端侧应用节点创 建终端侧应用节点资源;
或者, 验证结果发送模块 604, 用于当所述验证结果获取模块获取到的验 证结果为所述终端侧应用节点是由所述网络侧应用节点管理时,发送所述验证 结果给中间节点的通用业务实体,以使所述中间节点的通用业务实体为所述终 端侧应用节点创建终端侧应用节点资源。
在本发明的一些实施例中, 所述注册信息接收模块 601 , 还用于接收网络 侧应用节点发送的网络侧应用节点注册信息,所述网络侧应用节点注册信息包 括所述网络侧应用节点的身份标识码;
所述资源创建模块 603 , 还用于根据所述注册信息接收模块接收到的网络 侧应用节点注册信息为所述网络侧应用节点创建网络侧应用节点资源。
请参阅如图 6-b 所示, 在本发明的一些实施例中, 网络侧通用业务实体 600, 还可以包括:
签约模块 605 , 用于所述注册信息接收模块接收网络侧应用节点发送的网 络侧应用节点注册信息之前, 和所述网络侧应用节点签约, 生成签约数据。
请参阅如图 6-c所示, 在本发明的一些实施例中, 相比于如图 6-b所示的 网络侧通用业务实体 600, 网络侧通用业务实体 600, 还可以包括:
资源创建判断模块 606, 用于所述注册信息接收模块接收到终端侧应用节 点发送的终端侧应用节点注册信息之后,根据所述终端侧应用节点注册信息中 包括的网络侧应用节点的身份标识码判断是否已经为所述网络侧应用节点创 建网络侧应用节点资源;若已经为所述网络侧应用节点创建网络侧应用节点资 源, 触发执行所述验证结果获取模块。
请参阅如图 6-d所示,在本发明的一些实施例中,验证结果获取模块 602, 包括:
注册信息转发子模块 6021 , 用于向所述网络侧应用节点发送所述终端侧 应用节点注册信息,以使所述网络侧应用节点根据所述验证信息判断所述终端 侧应用节点是否由所述网络侧应用节点管理并生成验证结果;
验证结果接收子模块 6022, 用于接收所述网络侧应用节点发送的验证结 果。 请参阅如图 6-e所示, 在本发明的一些实施例中, 相比于如图 6-a所示的 网络侧通用业务实体 600, 网络侧通用业务实体 600, 还可以包括:
管理信息接收模块 607, 用于所述验证结果获取模块根据所述终端侧应用 节点注册信息获取验证结果之前,接收所述网络侧应用节点发送的应用管理信 息,所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身 份标识码。
在本发明的另一些实施例中, 管理信息接收模块 607, 用于所述验证结果 获取模块根据所述终端侧应用节点注册信息获取验证结果之前,接收所述网络 侧应用节点发送的应用管理信息,所述应用管理信息包括所述网络侧应用节点 所管理的终端侧应用节点的身份标识码以及各个终端侧应用节点对应的密钥。
请参阅如图 6-f所示, 在本发明的一些实施例中, 验证结果获取模块 602, 包括:
身份标识码判断子模块 6023 , 用于判断发送终端侧应用节点注册信息的 终端侧应用节点的身份标识码是否包括在所述应用管理信息中;
身份标识码转发子模块 6024, 用于当所述发送终端侧应用节点注册信息 的终端侧应用节点的身份标识码包括在所述应用管理信息中时,将所述验证信 息和发送终端侧应用节点注册信息的终端侧应用节点的身份标识码发送给所 述网络侧应用节点,以使所述网络侧应用节点根据所述验证信息判断发送终端 侧应用节点注册信息的终端侧应用节点是否由所述网络侧应用节点管理并生 成验证结果;
验证结果接收子模块 6022, 用于接收所述网络侧应用节点发送的验证结 果。
请参阅如图 6-g所示,在本发明的一些实施例中,验证结果获取模块 602, 包括:
身份标识码判断子模块 6023 , 用于根据所述终端侧应用节点注册信息判 断发送终端侧应用节点注册信息的终端侧应用节点的身份标识码是否包括在 所述应用管理信息中;
节点判断子模块 6025 , 用于当所述发送终端侧应用节点注册信息的终端 侧应用节点的身份标识码包括在所述应用管理信息中时,根据所述终端侧应用 节点注册信息中包括的验证信息判断发送终端侧应用节点注册信息的终端侧 应用节点是否由所述网络侧应用节点管理,
验证结果生成子模块 6026, 用于当发送终端侧应用节点注册信息的终端 侧应用节点是由所述网络侧应用节点管理时, 生成第一验证结果, 所述第一验 证结果为发送终端侧应用节点注册信息的终端侧应用节点是由所述网络侧应 用节点管理,当发送终端侧应用节点注册信息的终端侧应用节点不是由所述网 络侧应用节点管理时, 生成第二验证结果, 所述第二验证结果为发送终端侧应 用节点注册信息的终端侧应用节点不是由所述网络侧应用节点管理;
所述验证结果生成子模块 6026, 还用于当所述发送终端侧应用节点注册 信息的终端侧应用节点的身份标识码没有包括在所述应用管理信息中时,生成 第二验证结果,所述第二验证结果为发送终端侧应用节点注册信息的终端侧应 用节点不是由所述网络侧应用节点管理。
在本发明的一些实施例中, 所述注册信息接收模块 601 , 具体用于接收中 间节点的通用业务实体发送的终端侧应用节点注册信息,所述中间节点的通用 业务实体从所述终端侧应用节点接收到所述终端侧应用节点注册信息之后转 发给所述网络侧通用业务实体。
请参阅如图 6-h所示, 在本发明的一些实施例中, 相比于如图 6-a所示的 网络侧通用业务实体 600, 网络侧通用业务实体 600, 还可以包括:
应用配置发送模块 608 , 用于所述资源创建模块为所述终端侧应用节点创 建终端侧应用节点资源,或者所述验证结果发送模块发送所述验证结果给中间 节点的通用业务实体之后, 向所述终端侧应用节点发送应用配置信息, 所述应 用配置信息由所述网络侧应用节点发送给所述网络侧通用业务实体,所述应用 配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的配置内 谷。
在本发明的一些实施例中, 所述应用配置发送模块 608 , 具体用于将所述 应用配置信息发送给所述中间节点的通用业务实体,所述中间节点的通用业务 实体从所述网络侧通用业务实体接收到所述应用配置信息之后转发给所述终 端侧应用节点。
通过如上实施例对本发明的描述可知,注册信息接收模块可以接收到终端 侧应用节点注册信息,然后验证结果获取模块根据终端侧应用节点注册信息获 取验证结果, 当验证结果为终端侧应用节点是由网络侧应用节点管理时, 资源 创建模块为终端侧应用节点创建终端侧应用节点资源,或者验证结果发送模块 发送验证结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证 结果为终端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用 节点不需要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点 的通用业务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端 侧应用节点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的 数量很多时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点 进行签约而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
请参阅图 7-a所示, 本发明实施例提供的一种终端侧应用节点 700, 可以 包括: 验证信息生成模块 701、 注册信息发送模块 702, 其中,
验证信息生成模块 701 , 用于根据密钥生成验证信息;
注册信息发送模块 702, 用于向网络侧通用业务实体或者中间节点的通用 业务实体发送终端侧应用节点注册信息,所述终端侧应用节点注册信息包括所 述马全证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的 身份标识码。
请参阅如图 7-b所示, 在本发明的一些实施例中, 相比于如图 7-a所示的 终端侧应用节点 700 , 终端侧应用节点 700 , 还可以包括:
配置信息接收模块 703, 用于所述注册信息发送模块向网络侧通用业务实 体或者中间节点的通用业务实体发送终端侧应用节点注册信息之后,若所述网 络侧通用业务实体根据所述终端侧应用节点注册信息获取到的验证结果为所 述终端侧应用节点由所述网络侧应用节点管理,接收所述网络侧通用业务实体 发送的应用配置信息,所述应用配置信息为所述网络侧应用节点对其所管理的 终端侧应用节点生成的配置内容;
配置模块 704, 用于根据所述应用配置信息对所述终端侧应用节点的配置 内容进行配置。
具体的, 在本发明的一些实施例中, 配置信息接收模块, 具体用于从中间 节点的通用业务实体接收到所述应用配置信息,所述中间节点的通用业务实体 在从所述网络侧通用业务实体接收到所述应用配置信息之后转发给所述终端 侧应用节点。
通过如上实施例对本发明的描述可知,验证信息生成模块首先根据密钥生 成验证信息,然后注册信息发送模块向网络侧通用业务实体或中间节点的通用 业务实体发送终端侧应用节点注册信息,网络侧通用业务实体可以接收到终端 侧应用节点注册信息,然后网络侧通用业务实体根据终端侧应用节点注册信息 获取验证结果, 当验证结果为终端侧应用节点是由网络侧应用节点管理时, 网 络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源,或者发送验证 结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证结果为终 端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节点不需 要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的通用业 务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧应用节 点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的数量很多 时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进行签约 而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
请参阅图 8-a所示, 本发明实施例提供的一种中间节点的通用业务实体 800, 可以包括: 注册信息接收模块 801、 注册信息转发模块 802、 节点资源创 建模块 803 , 其中,
注册信息接收模块 801 , 用于接收终端侧应用节点发送的终端侧应用节点 注册信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生 成的险证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点 的身份标识码;
注册信息转发模块 802, 用于将所述终端侧应用节点注册信息转发给网络 侧通用业务实体,以使所述网络侧通用业务实体根据所述终端侧应用节点注册 信息获取验证结果;
节点资源创建模块 803 , 用于当所述验证结果为所述终端侧应用节点由所 述网络侧应用节点管理时, 为所述终端侧应用节点创建终端侧应用节点资源。
请参阅如图 8-b所示, 在本发明的一些实施例中, 相比于如图 8-a所示的 中间节点的通用业务实体 800, 中间节点的通用业务实体 800, 还可以包括: 配置信息发送模块 804, 用于所述节点资源创建模块为所述终端侧应用节 点创建终端侧应用节点资源之后, 向所述终端侧应用节点发送应用配置信息, 所述应用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成 的配置内容,以使所述终端侧应用节点根据所述应用配置信息对所述终端侧应 用节点的配置内容进行配置。
请参阅如图 8-c所示, 在本发明的一些实施例中, 相比于如图 8-a所示的 中间节点的通用业务实体 800, 中间节点的通用业务实体 800, 还可以包括: 节点资源判断模块 805 , 用于所述注册信息接收模块接收终端侧应用节点 发送的终端侧应用节点注册信息之后,检测所述中间节点的通用业务实体上是 否保存有所述终端侧应用节点注册信息中包括的网络侧应用节点对应的网络 侧应用节点资源;若所述中间节点的通用业务实体上保存有所述终端侧应用节 点注册信息中包括的网络侧应用节点对应的网络侧应用节点资源,触发执行所 述注册信息转发模块。
请参阅如图 8-d所示, 在本发明的一些实施例中, 相比于如图 8-c所示的 中间节点的通用业务实体 800, 中间节点的通用业务实体 800, 还可以包括: 节点资源请求模块 806, 用于当所述中间节点的通用业务实体上没有保存 所述终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧应用节 点资源时, 向所述网络侧通用业务实体发送网络侧应用节点资源获取请求信 息, 所述网络侧应用节点资源获取请求信息包括所述验证信息、所述网络侧应 用节点的身份标识码、 所述终端侧应用节点的身份标识码;
节点资源接收模块 807, 用于当所述网络侧通用业务实体上保存有所述网 络侧应用节点对应的网络侧应用节点资源时,接收所述网络侧通用业务实体发 送的所述网络侧应用节点对应的网络侧应用节点资源。
请参阅如图 8-e所示, 在本发明的一些实施例中, 相比于如图 8-a所示的 中间节点的通用业务实体 800, 中间节点的通用业务实体 800, 还可以包括: 身份标识码检测模块 808, 用于所述注册信息接收模块接收终端侧应用节 点发送的终端侧应用节点注册信息之后,检测所述中间节点的通用业务实体上 是否保存有所述终端侧应用节点注册信息中包括的网络侧应用节点所管理的 终端侧应用节点的身份标识码;
身份标识码判断模块 808, 用于当所述中间节点的通用业务实体上保存有 所述终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端侧应用 节点的身份标识码时,判断所述终端侧应用节点注册信息中包括的终端侧应用 节点的身份标识码是否包括在所述网络侧应用节点所管理的终端侧应用节点 的身份标识码中; 若是, 触发执行所述注册信息转发模块。 通过如上实施例对本发明的描述可知,终端侧应用节点首先根据密钥生成 验证信息,然后终端侧应用节点向中间节点的通用业务实体发送终端侧应用节 点注册信息, 中间节点的通用业务实体可以接收到终端侧应用节点注册信息, 然后转发给网络侧通用业务实体,网络侧通用业务实体根据终端侧应用节点注 册信息获取验证结果,当验证结果为终端侧应用节点是由网络侧应用节点管理 时, 网络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源, 或者发 送验证结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证结 果为终端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节 点不需要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的 通用业务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧 应用节点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的数 量很多时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进 行签约而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
请参阅图 9所示, 本发明实施例提供的一种注册系统 900, 可以包括: 如 前述图 6-a至 6-h中任一个实施例所示的网络侧通用业务实体 600、 如前述图 7-a至 7-b中任一个实施例所示的终端侧应用节点 700、 如前述图 8-a至 8-e中 任一个实施例所示的中间节点的通用业务实体 800。
本发明实施例中, 终端侧应用节点首先根据密钥生成验证信息, 然后终端 侧应用节点向网络侧通用业务实体或中间节点的通用业务实体发送终端侧应 用节点注册信息, 网络侧通用业务实体可以接收到终端侧应用节点注册信息, 然后网络侧通用业务实体根据终端侧应用节点注册信息获取验证结果,当验证 结果为终端侧应用节点是由网络侧应用节点管理时,网络侧通用业务实体为终 端侧应用节点创建终端侧应用节点资源,或者发送验证结果给中间节点的通用 业务实体,中间节点的通用业务实体根据验证结果为终端侧应用节点创建终端 侧应用节点资源。本发明实施例中终端侧应用节点不需要与网络侧通用业务实 体进行签约,网络侧通用业务实体或中间节点的通用业务实体就可以为终端侧 应用节点创建终端侧应用节点资源,进而终端侧应用节点就可以使用网络侧通 用业务实体提供的业务, 当终端侧应用节点的数量很多时, 可以减少网络侧通 用业务实体因需要单独与每个终端侧应用节点进行签约而导致的系统繁忙,也 就无需对签约数据库进行频繁的读写操作。 本发明实施例还提供一种计算机存储介质, 其中, 该计算机存储介质存储 有程序, 该程序执行包括上述方法实施例中记载的部分或全部步骤。
接下来介绍本发明实施例提供的另一种网络侧通用业务实体, 请参阅图 10所示, 网络侧通用业务实体 1000包括:
输入装置 1001、 输出装置 1002、 处理器 1003和存储器 1004 (其中网络侧 通用业务实体 1000中的处理器 1003的数量可以一个或多个, 图 10中以一个 处理器为例)。 在本发明的一些实施例中, 输入装置 1001、 输出装置 1002、 处 理器 1003和存储器 1004可通过总线或其它方式连接, 其中, 图 10中以通过 总线连接为例。
其中, 处理器 1003 , 用于执行如下步骤:
接收终端侧应用节点发送的终端侧应用节点注册信息,所述终端侧应用节 点注册信息包括所述终端侧应用节点根据密钥生成的验证信息、所述网络侧应 用节点的身份标识码 ID、 所述终端侧应用节点的身份标识码, 所述网络侧应 用节点为对所述终端侧应用节点进行管理的应用节点;
根据所述终端侧应用节点注册信息获取验证结果,所述验证结果包括所述 终端侧应用节点是由与网络侧通用业务实体签约的网络侧应用节点管理,或终 端侧应用节点不是由与网络侧通用业务实体签约的网络侧应用节点管理; 若所述验证结果为所述终端侧应用节点是由所述网络侧应用节点管理,为 所述终端侧应用节点创建终端侧应用节点资源,或者发送所述验证结果给中间 节点的通用业务实体,以使所述中间节点的通用业务实体为所述终端侧应用节 点创建终端侧应用节点资源。
在本发明的一些实施例中, 处理器 1003还用于执行以下步骤:
接收终端侧应用节点发送的终端侧应用节点注册信息之前,接收网络侧应 用节点发送的网络侧应用节点注册信息,所述网络侧应用节点注册信息包括所 述网络侧应用节点的身份标识码;
根据所述网络侧应用节点注册信息为所述网络侧应用节点创建网络侧应 用节点资源。
在本发明的一些实施例中, 处理器 1003还用于执行以下步骤:
接收网络侧应用节点发送的网络侧应用节点注册信息之前,和所述网络侧 应用节点签约, 生成签约数据。 在本发明的一些实施例中, 处理器 1003还用于执行以下步骤: 接收终端侧应用节点发送的终端侧应用节点注册信息之后,根据所述终端 侧应用节点注册信息中包括的网络侧应用节点的身份标识码判断是否已经为 所述网络侧应用节点创建网络侧应用节点资源;
若已经为所述网络侧应用节点创建网络侧应用节点资源,触发执行根据所 述终端侧应用节点注册信息获取 3全证结果。
在本发明的一些实施例中, 处理器 1003具体用于执行以下步骤: 向所述网络侧应用节点发送所述终端侧应用节点注册信息 ,以使所述网络 侧应用节点根据所述验证信息判断所述终端侧应用节点是否由所述网络侧应 用节点管理并生成险证结果;
接收所述网络侧应用节点发送的验证结果。
在本发明的一些实施例中, 处理器 1003还用于执行以下步骤:
根据所述终端侧应用节点注册信息获取验证结果之前,接收所述网络侧应 用节点发送的应用管理信息,所述应用管理信息包括所述网络侧应用节点所管 理的终端侧应用节点的身份标识码。
在本发明的一些实施例中, 处理器 1003具体用于执行以下步骤: 判断发送终端侧应用节点注册信息的终端侧应用节点的身份标识码是否 包括在所述应用管理信息中;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在所述应用管理信息中,将所述验证信息和发送终端侧应用节点注册信息的 终端侧应用节点的身份标识码发送给所述网络侧应用节点,以使所述网络侧应 用节点根据所述验证信息判断发送终端侧应用节点注册信息的终端侧应用节 点是否由所述网络侧应用节点管理并生成验证结果;
接收所述网络侧应用节点发送的验证结果。
在本发明的一些实施例中, 处理器 1003还用于执行以下步骤:
根据所述终端侧应用节点注册信息获取验证结果之前,接收所述网络侧应 用节点发送的应用管理信息,所述应用管理信息包括所述网络侧应用节点所管 理的终端侧应用节点的身份标识码以及各个终端侧应用节点对应的密钥。
在本发明的一些实施例中, 处理器 1003具体用于执行以下步骤: 根据所述终端侧应用节点注册信息判断发送终端侧应用节点注册信息的 终端侧应用节点的身份标识码是否包括在所述应用管理信息中;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在所述应用管理信息中,则根据所述终端侧应用节点注册信息中包括的验证 信息判断发送终端侧应用节点注册信息的终端侧应用节点是否由所述网络侧 应用节点管理,若发送终端侧应用节点注册信息的终端侧应用节点是由所述网 络侧应用节点管理, 生成第一验证结果, 所述第一验证结果为发送终端侧应用 节点注册信息的终端侧应用节点是由所述网络侧应用节点管理,若发送终端侧 应用节点注册信息的终端侧应用节点不是由所述网络侧应用节点管理,生成第 二验证结果,所述第二验证结果为发送终端侧应用节点注册信息的终端侧应用 节点不是由所述网络侧应用节点管理;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码没 有包括在所述应用管理信息中, 则生成第二验证结果, 所述第二验证结果为发 送终端侧应用节点注册信息的终端侧应用节点不是由所述网络侧应用节点管 理。
在本发明的一些实施例中, 处理器 1003具体用于执行以下步骤: 接收中间节点的通用业务实体发送的终端侧应用节点注册信息,所述中间 节点的通用业务实体从所述终端侧应用节点接收到所述终端侧应用节点注册 信息之后转发给所述网络侧通用业务实体。
在本发明的一些实施例中, 处理器 1003还用于执行以下步骤:
为所述终端侧应用节点创建终端侧应用节点资源,或者发送所述验证结果 给中间节点的通用业务实体之后, 向所述终端侧应用节点发送应用配置信息, 所述应用配置信息由所述网络侧应用节点发送给所述网络侧通用业务实体,所 述应用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的 配置内容。
在本发明的一些实施例中, 处理器 1003具体用于执行以下步骤: 将所述应用配置信息发送给所述中间节点的通用业务实体,所述中间节点 的通用业务实体从所述网络侧通用业务实体接收到所述应用配置信息之后转 发给所述终端侧应用节点。
通过如上实施例对本发明的描述可知,网络侧通用业务实体可以接收到终 端侧应用节点注册信息,然后网络侧通用业务实体根据终端侧应用节点注册信 息获取验证结果, 当验证结果为终端侧应用节点是由网络侧应用节点管理时, 网络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源,或者发送验 证结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证结果为 终端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节点不 需要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的通用 业务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧应用 节点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的数量很 多时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进行签 约而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
接下来介绍本发明实施例提供的另一种终端侧应用节点, 请参阅图 11所 示, 终端侧应用节点 1100包括:
输入装置 1101、 输出装置 1102、 处理器 1103和存储器 1104 (其中终端侧 应用节点 1100中的处理器 1103的数量可以一个或多个, 图 11中以一个处理 器为例)。 在本发明的一些实施例中, 输入装置 1101、 输出装置 1102、 处理器 1103和存储器 1104可通过总线或其它方式连接, 其中, 图 11 中以通过总线 连接为例。
其中, 处理器 1103, 用于执行如下步骤:
根据密钥生成验证信息;
向网络侧通用业务实体或者中间节点的通用业务实体发送终端侧应用节 点注册信息, 所述终端侧应用节点注册信息包括所述验证信息、所述网络侧应 用节点的身份标识码 ID、 所述终端侧应用节点的身份标识码。
在本发明的一些实施例中, 处理器 1103还用于执行以下步骤:
向网络侧通用业务实体或者中间节点的通用业务实体发送终端侧应用节 点注册信息之后,若所述网络侧通用业务实体根据所述终端侧应用节点注册信 息获取到的验证结果为所述终端侧应用节点由所述网络侧应用节点管理,接收 所述网络侧通用业务实体发送的应用配置信息,所述应用配置信息为所述网络 侧应用节点对其所管理的终端侧应用节点生成的配置内容;
根据所述应用配置信息对所述终端侧应用节点的配置内容进行配置。 在本发明的一些实施例中, 处理器 1103具体用于执行以下步骤: 所述终端侧应用节点从中间节点的通用业务实体接收到所述应用配置信 息,所述中间节点的通用业务实体在从所述网络侧通用业务实体接收到所述应 用配置信息之后转发给所述终端侧应用节点。
通过如上实施例对本发明的描述可知,终端侧应用节点首先根据密钥生成 验证信息,然后终端侧应用节点向网络侧通用业务实体或中间节点的通用业务 实体发送终端侧应用节点注册信息,网络侧通用业务实体可以接收到终端侧应 用节点注册信息,然后网络侧通用业务实体根据终端侧应用节点注册信息获取 验证结果, 当验证结果为终端侧应用节点是由网络侧应用节点管理时, 网络侧 通用业务实体为终端侧应用节点创建终端侧应用节点资源,或者发送验证结果 给中间节点的通用业务实体,中间节点的通用业务实体根据验证结果为终端侧 应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节点不需要与 网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的通用业务实 体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧应用节点就 可以使用网络侧通用业务实体提供的业务, 当终端侧应用节点的数量很多时, 可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进行签约而 导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
接下来介绍本发明实施例提供的另一种中间节点的通用业务实体,请参阅 图 12所示, 中间节点的通用业务实体 1200包括:
输入装置 1201、 输出装置 1202、 处理器 1203和存储器 1204 (其中中间节 点的通用业务实体 1200中的处理器 1203的数量可以一个或多个, 图 12中以 一个处理器为例)。在本发明的一些实施例中,输入装置 1201、输出装置 1202、 处理器 1203和存储器 1204可通过总线或其它方式连接, 其中, 图 12中以通 过总线连接为例。
其中, 处理器 1203, 用于执行如下步骤:
接收终端侧应用节点发送的终端侧应用节点注册信息,所述终端侧应用节 点注册信息包括所述终端侧应用节点根据密钥生成的验证信息、所述网络侧应 用节点的身份标识码 ID、 所述终端侧应用节点的身份标识码;
将所述终端侧应用节点注册信息转发给网络侧通用业务实体,以使所述网 络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结果;
若所述验证结果为所述终端侧应用节点由所述网络侧应用节点管理,为所 述终端侧应用节点创建终端侧应用节点资源。 在本发明的一些实施例中, 处理器 1203还用于执行以下步骤: 为所述终 端侧应用节点创建终端侧应用节点资源之后,向所述终端侧应用节点发送应用 配置信息,所述应用配置信息为所述网络侧应用节点对其所管理的终端侧应用 节点生成的配置内容,以使所述终端侧应用节点根据所述应用配置信息对所述 终端侧应用节点的配置内容进行配置。
在本发明的一些实施例中, 处理器 1203还用于执行以下步骤: 接收终端 侧应用节点发送的终端侧应用节点注册信息之后,检测所述中间节点的通用业 务实体上是否保存有所述终端侧应用节点注册信息中包括的网络侧应用节点 对应的网络侧应用节点资源;
若所述中间节点的通用业务实体上保存有所述终端侧应用节点注册信息 中包括的网络侧应用节点对应的网络侧应用节点资源,触发执行将所述终端侧 应用节点注册信息转发给网络侧通用业务实体。
在本发明的一些实施例中, 处理器 1203还用于执行以下步骤:
若所述中间节点的通用业务实体上没有保存所述终端侧应用节点注册信 息中包括的网络侧应用节点对应的网络侧应用节点资源,向所述网络侧通用业 务实体发送网络侧应用节点资源获取请求信息,所述网络侧应用节点资源获取 请求信息包括所述验证信息、所述网络侧应用节点的身份标识码、所述终端侧 应用节点的身份标识码;
若所述网络侧通用业务实体上保存有所述网络侧应用节点对应的网络侧 应用节点资源 ,接收所述网络侧通用业务实体发送的所述网络侧应用节点对应 的网络侧应用节点资源。
在本发明的一些实施例中, 处理器 1203还用于执行以下步骤: 接收终端 侧应用节点发送的终端侧应用节点注册信息之后,检测所述中间节点的通用业 务实体上是否保存有所述终端侧应用节点注册信息中包括的网络侧应用节点 所管理的终端侧应用节点的身份标识码;
若有,判断所述终端侧应用节点注册信息中包括的终端侧应用节点的身份 标识码是否包括在所述网络侧应用节点所管理的终端侧应用节点的身份标识 码中;
若是,触发执行将所述终端侧应用节点注册信息转发给网络侧通用业务实 体。 通过如上实施例对本发明的描述可知,终端侧应用节点首先根据密钥生成 验证信息,然后终端侧应用节点向中间节点的通用业务实体发送终端侧应用节 点注册信息, 中间节点的通用业务实体可以接收到终端侧应用节点注册信息, 然后转发给网络侧通用业务实体,网络侧通用业务实体根据终端侧应用节点注 册信息获取验证结果,当验证结果为终端侧应用节点是由网络侧应用节点管理 时, 网络侧通用业务实体为终端侧应用节点创建终端侧应用节点资源, 或者发 送验证结果给中间节点的通用业务实体,中间节点的通用业务实体根据验证结 果为终端侧应用节点创建终端侧应用节点资源。本发明实施例中终端侧应用节 点不需要与网络侧通用业务实体进行签约,网络侧通用业务实体或中间节点的 通用业务实体就可以为终端侧应用节点创建终端侧应用节点资源,进而终端侧 应用节点就可以使用网络侧通用业务实体提供的业务,当终端侧应用节点的数 量很多时,可以减少网络侧通用业务实体因需要单独与每个终端侧应用节点进 行签约而导致的系统繁忙, 也就无需对签约数据库进行频繁的读写操作。
另外需说明的是, 以上所描述的装置实施例仅仅是示意性的, 其中所述作 为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的 部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布 到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现 本实施例方案的目的。 另外, 本发明提供的装置实施例附图中, 模块之间的连 接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信 号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发 明可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括 专用集成电路、 专用 CPU、 专用存储器、 专用元器件等来实现。 一般情况下, 凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现, 而且, 用来 实现同一功能的具体硬件结构也可以是多种多样的, 例如模拟电路、数字电路 或专用电路等。但是,对本发明而言更多情况下软件程序实现是更佳的实施方 式。基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的 部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储 介质中, 如计算机的软盘, U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory ), 随机存取存储器(RAM, Random Access Memory )、 磁碟或者光盘 等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或 者网络设备等)执行本发明各个实施例所述的方法。
综上所述, 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽 管参照上述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理 解: 其依然可以对上述各实施例所记载的技术方案进行修改, 或者对其中部分 技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱 离本发明各实施例技术方案的精神和范围。
+

Claims

权 利 要 求
1、 一种注册方法, 其特征在于, 包括:
网络侧通用业务实体 CSE接收终端侧应用节点发送的终端侧应用节点注 册信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成 的验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的 身份标识码,所述网络侧应用节点为对所述终端侧应用节点进行管理的应用节 点;
所述网络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结 果,所述验证结果包括所述终端侧应用节点是由与网络侧通用业务实体签约的 网络侧应用节点管理,或终端侧应用节点不是由与网络侧通用业务实体签约的 网络侧应用节点管理;
若所述验证结果为所述终端侧应用节点是由所述网络侧应用节点管理,所 述网络侧通用业务实体为所述终端侧应用节点创建终端侧应用节点资源,或者 发送所述验证结果给中间节点的通用业务实体,以使所述中间节点的通用业务 实体为所述终端侧应用节点创建终端侧应用节点资源。
2、 根据权利要求 1所述的方法, 其特征在于, 所述网络侧通用业务实体 CSE接收终端侧应用节点发送的终端侧应用节点注册信息之前, 还包括: 网络侧通用业务实体接收网络侧应用节点发送的网络侧应用节点注册信 息, 所述网络侧应用节点注册信息包括所述网络侧应用节点的身份标识码; 所述网络侧通用业务实体根据所述网络侧应用节点注册信息为所述网络 侧应用节点创建网络侧应用节点资源。
3、 根据权利要求 2所述的方法, 其特征在于, 所述网络侧通用业务实体 接收网络侧应用节点发送的网络侧应用节点注册信息之前, 还包括:
所述网络侧通用业务实体和所述网络侧应用节点签约, 生成签约数据。
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述网络侧 通用业务实体接收终端侧应用节点发送的终端侧应用节点注册信息之后,还包 括:
所述网络侧通用业务实体根据所述终端侧应用节点注册信息中包括的网 络侧应用节点的身份标识码判断是否已经为所述网络侧应用节点创建网络侧 应用节点资源; 若已经为所述网络侧应用节点创建网络侧应用节点资源,触发执行所述网 络侧通用业务实体根据所述终端侧应用节点注册信息获取验证结果。
5、 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述网络侧 通用业务实体根据所述终端侧应用节点注册信息获取验证结果, 包括:
所述网络侧通用业务实体向所述网络侧应用节点发送所述终端侧应用节 点注册信息,以使所述网络侧应用节点根据所述验证信息判断所述终端侧应用 节点是否由所述网络侧应用节点管理并生成验证结果;
所述网络侧通用业务实体接收所述网络侧应用节点发送的验证结果。
6、 根据权利要求 1至 5中任一项所述的方法, 其特征在于, 所述网络侧 通用业务实体根据所述终端侧应用节点注册信息获取验证结果之前, 还包括: 所述网络侧通用业务实体接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码。
7、 根据权利要求 6所述的方法, 其特征在于, 所述网络侧通用业务实体 根据所述终端侧应用节点注册信息获取验证结果, 包括:
所述网络侧通用业务实体判断发送终端侧应用节点注册信息的终端侧应 用节点的身份标识码是否包括在所述应用管理信息中;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在所述应用管理信息中,所述网络侧通用业务实体将所述验证信息和发送终 端侧应用节点注册信息的终端侧应用节点的身份标识码发送给所述网络侧应 用节点,以使所述网络侧应用节点根据所述验证信息判断发送终端侧应用节点 注册信息的终端侧应用节点是否由所述网络侧应用节点管理并生成验证结果; 所述网络侧通用业务实体接收所述网络侧应用节点发送的验证结果。
8、 根据权利要求 1至 7中任一项所述的方法, 其特征在于, 所述网络侧 通用业务实体根据所述终端侧应用节点注册信息获取验证结果之前, 还包括: 所述网络侧通用业务实体接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码以及各个终端侧应用节点对应的密钥。
9、 根据权利要求 8所述的方法, 其特征在于, 所述网络侧通用业务实体 根据所述终端侧应用节点注册信息获取验证结果, 包括: 所述网络侧通用业务实体根据所述终端侧应用节点注册信息判断发送终 端侧应用节点注册信息的终端侧应用节点的身份标识码是否包括在所述应用 管理信息中;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码包 括在所述应用管理信息中,则所述网络侧通用业务实体根据所述终端侧应用节 点注册信息中包括的验证信息判断发送终端侧应用节点注册信息的终端侧应 用节点是否由所述网络侧应用节点管理,若发送终端侧应用节点注册信息的终 端侧应用节点是由所述网络侧应用节点管理, 生成第一验证结果, 所述第一验 证结果为发送终端侧应用节点注册信息的终端侧应用节点是由所述网络侧应 用节点管理,若发送终端侧应用节点注册信息的终端侧应用节点不是由所述网 络侧应用节点管理, 生成第二验证结果, 所述第二验证结果为发送终端侧应用 节点注册信息的终端侧应用节点不是由所述网络侧应用节点管理;
若所述发送终端侧应用节点注册信息的终端侧应用节点的身份标识码没 有包括在所述应用管理信息中, 则所述网络侧通用业务实体生成第二验证结 果,所述第二验证结果为发送终端侧应用节点注册信息的终端侧应用节点不是 由所述网络侧应用节点管理。
10、 根据权利要求 1至 9中任一项所述的方法, 其特征在于, 所述网络侧 通用业务实体接收终端侧应用节点发送的终端侧应用节点注册信息, 包括: 所述网络侧通用业务实体接收中间节点的通用业务实体发送的终端侧应 用节点注册信息,所述中间节点的通用业务实体从所述终端侧应用节点接收到 所述终端侧应用节点注册信息之后转发给所述网络侧通用业务实体。
11、 根据权利要求 1至 10中任一项所述的方法, 其特征在于, 所述网络 侧通用业务实体为所述终端侧应用节点创建终端侧应用节点资源,或者发送所 述验证结果给中间节点的通用业务实体之后, 还包括:
所述网络侧通用业务实体向所述终端侧应用节点发送应用配置信息,所述 应用配置信息由所述网络侧应用节点发送给所述网络侧通用业务实体,所述应 用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的配置 内容。
12、 根据权利要求 11所述的方法, 其特征在于, 所述网络侧通用业务实 体向所述终端侧应用节点发送应用配置信息, 包括: 所述网络侧通用业务实体将所述应用配置信息发送给所述中间节点的通 用业务实体,所述中间节点的通用业务实体从所述网络侧通用业务实体接收到 所述应用配置信息之后转发给所述终端侧应用节点。
13、 一种注册方法, 其特征在于, 包括:
终端侧应用节点根据密钥生成验证信息;
所述终端侧应用节点向网络侧通用业务实体或者中间节点的通用业务实 体发送终端侧应用节点注册信息,所述终端侧应用节点注册信息包括所述验证 信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身份标 识码。
14、 根据权利要求 13所述的方法, 其特征在于, 所述终端侧应用节点向 网络侧通用业务实体或者中间节点的通用业务实体发送终端侧应用节点注册 信息之后, 还包括:
若所述网络侧通用业务实体根据所述终端侧应用节点注册信息获取到的 险证结果为所述终端侧应用节点由所述网络侧应用节点管理,所述终端侧应用 节点接收所述网络侧通用业务实体发送的应用配置信息,所述应用配置信息为 所述网络侧应用节点对其所管理的终端侧应用节点生成的配置内容;
所述终端侧应用节点根据所述应用配置信息对所述终端侧应用节点的配 置内容进行配置。
15、 根据权利要求 14所述的方法, 其特征在于, 所述终端侧应用节点接 收所述网络侧通用业务实体发送的应用配置信息, 包括:
所述终端侧应用节点从中间节点的通用业务实体接收到所述应用配置信 息,所述中间节点的通用业务实体在从所述网络侧通用业务实体接收到所述应 用配置信息之后转发给所述终端侧应用节点。
16、 一种注册方法, 其特征在于, 包括:
中间节点的通用业务实体接收终端侧应用节点发送的终端侧应用节点注 册信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成 的验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的 身份标识码;
所述中间节点的通用业务实体将所述终端侧应用节点注册信息转发给网 络侧通用业务实体,以使所述网络侧通用业务实体根据所述终端侧应用节点注 册信息获取验证结果;
若所述验证结果为所述终端侧应用节点由所述网络侧应用节点管理,所述 中间节点的通用业务实体为所述终端侧应用节点创建终端侧应用节点资源。
17、 根据权利要求 16所述的方法, 其特征在于, 所述中间节点的通用业 务实体为所述终端侧应用节点创建终端侧应用节点资源之后, 还包括:
所述中间节点的通用业务实体向所述终端侧应用节点发送应用配置信息, 所述应用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成 的配置内容,以使所述终端侧应用节点根据所述应用配置信息对所述终端侧应 用节点的配置内容进行配置。
18、 根据权利要求 16或 17所述的方法, 其特征在于, 所述中间节点的通 用业务实体接收终端侧应用节点发送的终端侧应用节点注册信息之后, 还包 括:
所述中间节点的通用业务实体检测所述中间节点的通用业务实体上是否 保存有所述终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧 应用节点资源;
若所述中间节点的通用业务实体上保存有所述终端侧应用节点注册信息 中包括的网络侧应用节点对应的网络侧应用节点资源,触发执行所述中间节点 的通用业务实体将所述终端侧应用节点注册信息转发给网络侧通用业务实体。
19、 根据权利要求 18所述的方法, 其特征在于, 所述方法还包括: 若所述中间节点的通用业务实体上没有保存所述终端侧应用节点注册信 息中包括的网络侧应用节点对应的网络侧应用节点资源,所述中间节点的通用 业务实体向所述网络侧通用业务实体发送网络侧应用节点资源获取请求信息, 所述网络侧应用节点资源获取请求信息包括所述验证信息、所述网络侧应用节 点的身份标识码、 所述终端侧应用节点的身份标识码;
若所述网络侧通用业务实体上保存有所述网络侧应用节点对应的网络侧 应用节点资源,所述中间节点的通用业务实体接收所述网络侧通用业务实体发 送的所述网络侧应用节点对应的网络侧应用节点资源。
20、 根据权利要求 16至 19中任一项所述的方法, 其特征在于, 所述中间 节点的通用业务实体接收终端侧应用节点发送的终端侧应用节点注册信息之 后, 还包括: 所述中间节点的通用业务实体检测所述中间节点的通用业务实体上是否 保存有所述终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端 侧应用节点的身份标识码;
若有,所述中间节点的通用业务实体判断所述终端侧应用节点注册信息中 包括的终端侧应用节点的身份标识码是否包括在所述网络侧应用节点所管理 的终端侧应用节点的身份标识码中;
若是,触发执行所述中间节点的通用业务实体将所述终端侧应用节点注册 信息转发给网络侧通用业务实体。
21、 一种网络侧通用业务实体 CSE, 其特征在于, 包括:
注册信息接收模块,用于接收终端侧应用节点发送的终端侧应用节点注册 信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成的 验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身 份标识码, 所述网络侧应用节点为对所述终端侧应用节点进行管理的应用节 点;
验证结果获取模块,用于根据所述注册信息接收模块接收到的终端侧应用 节点注册信息获取验证结果,所述验证结果包括所述终端侧应用节点是由与网 络侧通用业务实体签约的网络侧应用节点管理,或终端侧应用节点不是由与网 络侧通用业务实体签约的网络侧应用节点管理;
资源创建模块,用于当所述验证结果获取模块获取到的验证结果为所述终 端侧应用节点是由所述网络侧应用节点管理时,为所述终端侧应用节点创建终 端侧应用节点资源;
或者,验证结果发送模块, 用于当所述验证结果获取模块获取到的验证结 果为所述终端侧应用节点是由所述网络侧应用节点管理时,发送所述验证结果 给中间节点的通用业务实体,以使所述中间节点的通用业务实体为所述终端侧 应用节点创建终端侧应用节点资源。
22、 根据权利要求 21所述的网络侧通用业务实体, 其特征在于, 所述注册信息接收模块,还用于接收网络侧应用节点发送的网络侧应用节 点注册信息,所述网络侧应用节点注册信息包括所述网络侧应用节点的身份标 识码;
所述资源创建模块,还用于根据所述注册信息接收模块接收到的网络侧应 用节点注册信息为所述网络侧应用节点创建网络侧应用节点资源。
23、 根据权利要求 22所述的网络侧通用业务实体, 其特征在于, 所述网 络侧通用业务实体, 还包括:
签约模块,用于所述注册信息接收模块接收网络侧应用节点发送的网络侧 应用节点注册信息之前, 和所述网络侧应用节点签约, 生成签约数据。
24、根据权利要求 21至 23中任一项所述的网络侧通用业务实体, 其特征 在于, 所述网络侧通用业务实体, 还包括:
资源创建判断模块,用于所述注册信息接收模块接收到终端侧应用节点发 送的终端侧应用节点注册信息之后,根据所述终端侧应用节点注册信息中包括 的网络侧应用节点的身份标识码判断是否已经为所述网络侧应用节点创建网 络侧应用节点资源; 若已经为所述网络侧应用节点创建网络侧应用节点资源, 触发执行所述验证结果获取模块。
25、根据权利要求 21至 24中任一项所述的网络侧通用业务实体, 其特征 在于, 所述验证结果获取模块, 包括: 点注册信息,以使所述网络侧应用节点根据所述验证信息判断所述终端侧应用 节点是否由所述网络侧应用节点管理并生成验证结果;
验证结果接收子模块, 用于接收所述网络侧应用节点发送的验证结果。
26、根据权利要求 21至 25中任一项所述的网络侧通用业务实体, 其特征 在于, 所述网络侧通用业务实体, 还包括:
管理信息接收模块,用于所述验证结果获取模块根据所述终端侧应用节点 注册信息获取验证结果之前, 接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码。
27、 根据权利要求 26所述的网络侧通用业务实体, 其特征在于, 所述验 证结果获取模块, 包括:
身份标识码判断子模块,用于判断发送终端侧应用节点注册信息的终端侧 应用节点的身份标识码是否包括在所述应用管理信息中;
身份标识码转发子模块,用于当所述发送终端侧应用节点注册信息的终端 侧应用节点的身份标识码包括在所述应用管理信息中时,将所述验证信息和发 送终端侧应用节点注册信息的终端侧应用节点的身份标识码发送给所述网络 侧应用节点,以使所述网络侧应用节点根据所述验证信息判断发送终端侧应用 节点注册信息的终端侧应用节点是否由所述网络侧应用节点管理并生成验证 结果;
验证结果接收子模块, 用于接收所述网络侧应用节点发送的验证结果。
28、根据权利要求 21至 27中任一项所述的网络侧通用业务实体, 其特征 在于, 所述网络侧通用业务实体, 还包括:
管理信息接收模块,用于所述验证结果获取模块根据所述终端侧应用节点 注册信息获取验证结果之前, 接收所述网络侧应用节点发送的应用管理信息, 所述应用管理信息包括所述网络侧应用节点所管理的终端侧应用节点的身份 标识码以及各个终端侧应用节点对应的密钥。
29、 根据权利要求 28所述的网络侧通用业务实体, 其特征在于, 所述验 证结果获取模块, 包括:
身份标识码判断子模块,用于根据所述终端侧应用节点注册信息判断发送 终端侧应用节点注册信息的终端侧应用节点的身份标识码是否包括在所述应 用管理信息中;
节点判断子模块,用于当所述发送终端侧应用节点注册信息的终端侧应用 节点的身份标识码包括在所述应用管理信息中时,根据所述终端侧应用节点注 册信息中包括的验证信息判断发送终端侧应用节点注册信息的终端侧应用节 点是否由所述网络侧应用节点管理,
验证结果生成子模块,用于当发送终端侧应用节点注册信息的终端侧应用 节点是由所述网络侧应用节点管理时, 生成第一验证结果, 所述第一验证结果 为发送终端侧应用节点注册信息的终端侧应用节点是由所述网络侧应用节点 管理,当发送终端侧应用节点注册信息的终端侧应用节点不是由所述网络侧应 用节点管理时, 生成第二验证结果, 所述第二验证结果为发送终端侧应用节点 注册信息的终端侧应用节点不是由所述网络侧应用节点管理;
所述验证结果生成子模块,还用于当所述发送终端侧应用节点注册信息的 终端侧应用节点的身份标识码没有包括在所述应用管理信息中时,生成第二验 证结果,所述第二验证结果为发送终端侧应用节点注册信息的终端侧应用节点 不是由所述网络侧应用节点管理。
30、根据权利要求 21至 29中任一项所述的网络侧通用业务实体, 其特征 在于, 所述注册信息接收模块, 具体用于接收中间节点的通用业务实体发送的 终端侧应用节点注册信息,所述中间节点的通用业务实体从所述终端侧应用节 点接收到所述终端侧应用节点注册信息之后转发给所述网络侧通用业务实体。
31、根据权利要求 21至 30中任一项所述的网络侧通用业务实体, 其特征 在于, 所述网络侧通用业务实体, 还包括:
应用配置发送模块,用于所述资源创建模块为所述终端侧应用节点创建终 端侧应用节点资源,或者所述验证结果发送模块发送所述验证结果给中间节点 的通用业务实体之后, 向所述终端侧应用节点发送应用配置信息, 所述应用配 置信息由所述网络侧应用节点发送给所述网络侧通用业务实体,所述应用配置 信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的配置内容。
32、 根据权利要求 31所述的网络侧通用业务实体, 其特征在于, 所述应 用配置发送模块,具体用于将所述应用配置信息发送给所述中间节点的通用业 务实体,所述中间节点的通用业务实体从所述网络侧通用业务实体接收到所述 应用配置信息之后转发给所述终端侧应用节点。
33、 一种终端侧应用节点, 其特征在于, 包括:
验证信息生成模块, 用于根据密钥生成验证信息;
注册信息发送模块,用于向网络侧通用业务实体或者中间节点的通用业务 实体发送终端侧应用节点注册信息,所述终端侧应用节点注册信息包括所述验 证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身份 标识码。
34、 根据权利要求 33所述的终端侧应用节点, 其特征在于, 所述终端侧 应用节点, 还包括:
配置信息接收模块,用于所述注册信息发送模块向网络侧通用业务实体或 者中间节点的通用业务实体发送终端侧应用节点注册信息之后,若所述网络侧 通用业务实体根据所述终端侧应用节点注册信息获取到的验证结果为所述终 端侧应用节点由所述网络侧应用节点管理,接收所述网络侧通用业务实体发送 的应用配置信息,所述应用配置信息为所述网络侧应用节点对其所管理的终端 侧应用节点生成的配置内容;
配置模块,用于根据所述应用配置信息对所述终端侧应用节点的配置内容 进行配置。
35、 根据权利要求 34所述的终端侧应用节点, 其特征在于, 所述配置信 息接收模块, 具体用于从中间节点的通用业务实体接收到所述应用配置信息, 所述中间节点的通用业务实体在从所述网络侧通用业务实体接收到所述应用 配置信息之后转发给所述终端侧应用节点。
36、 一种中间节点的通用业务实体, 其特征在于, 包括:
注册信息接收模块,用于接收终端侧应用节点发送的终端侧应用节点注册 信息,所述终端侧应用节点注册信息包括所述终端侧应用节点根据密钥生成的 验证信息、 所述网络侧应用节点的身份标识码 ID、 所述终端侧应用节点的身 份标识码;
注册信息转发模块,用于将所述终端侧应用节点注册信息转发给网络侧通 用业务实体,以使所述网络侧通用业务实体根据所述终端侧应用节点注册信息 获取验证结果;
节点资源创建模块,用于当所述险证结果为所述终端侧应用节点由所述网 络侧应用节点管理时, 为所述终端侧应用节点创建终端侧应用节点资源。
37、 根据权利要求 36所述的中间节点的通用业务实体, 其特征在于, 所 述中间节点的通用业务实体, 还包括:
配置信息发送模块,用于所述节点资源创建模块为所述终端侧应用节点创 建终端侧应用节点资源之后, 向所述终端侧应用节点发送应用配置信息, 所述 应用配置信息为所述网络侧应用节点对其所管理的终端侧应用节点生成的配 置内容,以使所述终端侧应用节点根据所述应用配置信息对所述终端侧应用节 点的配置内容进行配置。
38、根据权利要求 36或 37所述的中间节点的通用业务实体,其特征在于, 所述中间节点的通用业务实体, 还包括:
节点资源判断模块,用于所述注册信息接收模块接收终端侧应用节点发送 的终端侧应用节点注册信息之后,检测所述中间节点的通用业务实体上是否保 存有所述终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧应 用节点资源;若所述中间节点的通用业务实体上保存有所述终端侧应用节点注 册信息中包括的网络侧应用节点对应的网络侧应用节点资源,触发执行所述注 册信息转发模块。
39、 根据权利要求 38所述的中间节点的通用业务实体, 其特征在于, 所 述中间节点的通用业务实体, 还包括:
节点资源请求模块,用于当所述中间节点的通用业务实体上没有保存所述 终端侧应用节点注册信息中包括的网络侧应用节点对应的网络侧应用节点资 源时, 向所述网络侧通用业务实体发送网络侧应用节点资源获取请求信息, 所 述网络侧应用节点资源获取请求信息包括所述验证信息、所述网络侧应用节点 的身份标识码、 所述终端侧应用节点的身份标识码;
节点资源接收模块,用于当所述网络侧通用业务实体上保存有所述网络侧 应用节点对应的网络侧应用节点资源时,接收所述网络侧通用业务实体发送的 所述网络侧应用节点对应的网络侧应用节点资源。
40、根据权利要求 36至 39中任一项所述的中间节点的通用业务实体, 其 特征在于, 所述中间节点的通用业务实体, 还包括:
身份标识码检测模块,用于所述注册信息接收模块接收终端侧应用节点发 送的终端侧应用节点注册信息之后,检测所述中间节点的通用业务实体上是否 保存有所述终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端 侧应用节点的身份标识码;
身份标识码判断模块,用于当所述中间节点的通用业务实体上保存有所述 终端侧应用节点注册信息中包括的网络侧应用节点所管理的终端侧应用节点 的身份标识码时,判断所述终端侧应用节点注册信息中包括的终端侧应用节点 的身份标识码是否包括在所述网络侧应用节点所管理的终端侧应用节点的身 份标识码中; 若是, 触发执行所述注册信息转发模块。
41、 一种注册系统, 其特征在于, 包括:
如权利要求 21 至 32 中任一项所述的网络侧通用业务实体、 如权利要求 33至 35中任一项所述的终端侧应用节点、 如权利要求 36至 40中任一项所述 的中间节点的通用业务实体。
+
PCT/CN2013/088918 2013-12-10 2013-12-10 一种注册方法和相关节点以及注册系统 WO2015085474A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/088918 WO2015085474A1 (zh) 2013-12-10 2013-12-10 一种注册方法和相关节点以及注册系统
CN201380071160.9A CN104938001B (zh) 2013-12-10 2013-12-10 一种注册方法和相关节点以及注册系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/088918 WO2015085474A1 (zh) 2013-12-10 2013-12-10 一种注册方法和相关节点以及注册系统

Publications (1)

Publication Number Publication Date
WO2015085474A1 true WO2015085474A1 (zh) 2015-06-18

Family

ID=53370444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088918 WO2015085474A1 (zh) 2013-12-10 2013-12-10 一种注册方法和相关节点以及注册系统

Country Status (2)

Country Link
CN (1) CN104938001B (zh)
WO (1) WO2015085474A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020025942A1 (en) 2018-07-30 2020-02-06 NZP UK Limited Fluorinated bile acid derivatives

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070107546A (ko) * 2006-05-03 2007-11-07 삼성전자주식회사 인터넷 멀티미디어 서브시스템에서 단말의 성능에 따른비가입형 서비스의 제공 방법 및 장치
CN101330717A (zh) * 2007-06-26 2008-12-24 中兴通讯股份有限公司 Ip多媒体子系统中用户多个联系地址同时注册的方法
CN101431797A (zh) * 2007-05-11 2009-05-13 华为技术有限公司 一种注册处理方法、系统及装置
CN101690287A (zh) * 2007-04-20 2010-03-31 Lm爱立信电话有限公司 用于移动设备授证的方法和系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100477824C (zh) * 2006-04-25 2009-04-08 华为技术有限公司 一种因特网协议多媒体子系统域的紧急注册方法
CN101132405A (zh) * 2006-08-21 2008-02-27 华为技术有限公司 提供业务代理功能的通信网络系统和方法及业务代理装置
CN101448243B (zh) * 2008-04-11 2011-09-21 中兴通讯股份有限公司 一种实现用户注册的方法
CN102711085B (zh) * 2012-06-12 2014-12-10 大唐移动通信设备有限公司 一种实现ue注册的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070107546A (ko) * 2006-05-03 2007-11-07 삼성전자주식회사 인터넷 멀티미디어 서브시스템에서 단말의 성능에 따른비가입형 서비스의 제공 방법 및 장치
CN101690287A (zh) * 2007-04-20 2010-03-31 Lm爱立信电话有限公司 用于移动设备授证的方法和系统
CN101431797A (zh) * 2007-05-11 2009-05-13 华为技术有限公司 一种注册处理方法、系统及装置
CN101330717A (zh) * 2007-06-26 2008-12-24 中兴通讯股份有限公司 Ip多媒体子系统中用户多个联系地址同时注册的方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020025942A1 (en) 2018-07-30 2020-02-06 NZP UK Limited Fluorinated bile acid derivatives

Also Published As

Publication number Publication date
CN104938001A (zh) 2015-09-23
CN104938001B (zh) 2019-04-12

Similar Documents

Publication Publication Date Title
US9462457B2 (en) Subscription transfer method, apparatus, and system
CN110602724B (zh) 网络配置的方法和通信装置
US9894166B2 (en) Registration method and system for common service entity
US10348721B2 (en) User authentication
US20170070841A1 (en) App distribution over the air
CN110166405B (zh) 通信方法、相关装置及系统
CN114025021A (zh) 一种跨Kubernetes集群的通信方法、系统、介质和电子设备
CN111988418B (zh) 数据处理方法、装置、设备及计算机可读存储介质
JP7410330B2 (ja) ネットワークスライス認証の制御方法、装置、機器及び記憶媒体
EP3472969A1 (en) A key generation and distribution method based on identity-based cryptography
US20160241642A1 (en) Multimedia sharing method, registration method, server and proxy server
CN105472597B (zh) 应用的注册方法及装置
JP2023526361A (ja) ネットワークスライスにアクセスする方法、電子デバイスおよび記憶媒体
WO2015154459A1 (zh) 订阅资源变更通知的方法及装置
WO2015085474A1 (zh) 一种注册方法和相关节点以及注册系统
EP3319346B1 (en) Method and system for implementing member resource processing
US20210258769A1 (en) Method and device for connecting capability exposure function and network functions
WO2015085531A1 (zh) Qos提升方法、装置及系统
WO2015135269A1 (zh) 业务发现及鉴权方法、设备、终端、系统及计算机存储介质
KR20080030374A (ko) 통신 시스템에서 인터넷 서비스 제공 방법 및 장치
CN109862135B (zh) 基于域名区块链的群组通信方法、区块链节点及介质
WO2019014928A1 (zh) 一种控制可操控设备接入网络的方法及装置
WO2015149530A1 (zh) M2m应用服务方法、装置及系统
WO2011094999A1 (zh) 服务侧驱动业务的实现方法、装置及上行服务节点
WO2024012146A1 (zh) 业务路由方法、服务器及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13899069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13899069

Country of ref document: EP

Kind code of ref document: A1