Abstract:
The present disclosure provides a registration method and communication method for an Application Dedicated Node (ADN), and nodes, and relates to the field of Machine Type Communication (MTC). A Common Service Entity of a Middle Node (MN-CSE) creates an application dedicated resource for an Application Entity of the ADN (ADN-AE), and announces the application dedicated resource to a CSE of an Infrastructure Node (IN-CSE). The IN-CSE creates an announcement resource corresponding to the application dedicated resource. The IN-CSE determines the application dedicated resource corresponding to the announcement resource according to the ADN-AE which an IN-AE requests to operate, and establishes a connection with the MN-CSE. The MN-CSE establishes a connection with the ADN-AE through the application dedicated resource.

Description:
TECHNICAL FIELD 
       [0001]    The present disclosure relates to the field of Machine-Type Communication (MTC), and more particularly to a communication method for an ADN, and nodes. 
       BACKGROUND 
       [0002]    A Machine-to-Machine/Man (M2M) communication system consists of M2M nodes and an underlying network. The M2M nodes communicate with one another through the underlying network. An M2M node may include an Application Entity (AE), or may include an AE and a Common Service Entity (CSE). The AE is a logical unit that executes an M2M application. The CSE is a logical unit that manages and serves the M2M application. An underlying Network Service Entity (NSE) provides services such as equipment management, location-based service, equipment triggering and the like for the CSE. For example, the NSE may be embodied as a Home Subscriber Server (HSS) and an MTC-Inter Working Function (MTC-IWF) entity. 
         [0003]    Communication between M2M applications may be implemented by interaction between the CSEs. The M2M applications are required to be registered in the CSEs. The CSEs are also required to be mutually registered before the CSEs can conduct mutual communication in order to implement interaction between the M2M applications. The architecture of an M2M system is shown in  FIG. 1 . 
         [0004]    In the architecture of an M2M system, an application node is an end execution node, for example, an intelligent electric meter, a temperature measurement and control sensor, a fire alarm and an intelligent home appliance. A Middle Node (MN) is middleware that connects an end execution node to a network-side server, and may be embodied as a gateway. An Infrastructure Node (IN) is a network-side server. An AE registered to an IN (also referred to as IN-AE), may be a management platform of an M2M Service Provider (M2M SP). 
         [0005]    Application nodes may be divided into two categories according to different functions: nodes including CSEs and nodes including no CSEs. An ADN includes one AE, and does not include any CSE. An Application Service Node (ASN) includes one AE and one CSE. 
         [0006]    During a practical application, when an application on a server is required to communicate with an application on an ASN, that is, when an IN-AE is required to communicate with an AE of the ASN (also referred to as ASN-AE), a CSE of the ASN (also referred to as ASN-CSE) needs to be triggered to establish a connection with a CSE of the IN (also referred to as IN-CSE). Since the IN is a network-side server, a triggering message may need to be sent through an underlying network. 
         [0007]    However, ADNs are application nodes including no CSEs. For the problem on how to implement communication between an application on a server and an application on an ADN, i.e. how to implement communication between an IN-AE and an ADN-AE, there is yet no effective mechanism for triggering connection establishment in a related technology. 
       SUMMARY 
       [0008]    Some embodiments of the present disclosure provide a communication method for an ADN, and nodes, which enable communication between an IN-AE and an ADN-AE. 
         [0009]    The embodiments of the present disclosure adopt technical solutions which are implemented as follows. 
         [0010]    A registration method for an ADN may include the following acts. 
         [0011]    An MN-CSE creates an application dedicated resource for an ADN-AE, and the MN-CSE announces the application dedicated resource to an IN-CSE. 
         [0012]    The IN-CSE creates an announcement resource corresponding to the application dedicated resource. 
         [0013]    In an exemplary embodiment, the act that the MN-CSE creates the application dedicated resource for the ADN-AE may include the following act. 
         [0014]    The MN-CSE creates the application dedicated resource for the ADN-AE according to a request. 
         [0015]    In an exemplary embodiment, the act that the MN-CSE creates the application dedicated resource for the ADN-AE according to the request may include the following acts. 
         [0016]    The MN-CSE receives a resource creation request from the ADN-AE, where the resource creation request includes a Uniform Resource Identifier (URI) or a CSE Identity (CSE-ID) of the IN-CSE. 
         [0017]    The MN-CSE creates the application dedicated resource for the ADN-AE. 
         [0018]    In an exemplary embodiment, the act that the IN-CSE creates the announcement resource corresponding to the application dedicated resource may include the following act. 
         [0019]    The IN-CSE creates the announcement resource for the ADN-AE according to a request. 
         [0020]    In an exemplary embodiment, the act that the IN-CSE creates the announcement resource for the ADN-AE according to the request may include the following acts. 
         [0021]    The IN-CSE receives an announcement resource creation request from the MN-CSE, where the announcement resource creation request includes a URI of the application dedicated resource. 
         [0022]    The IN-CSE creates the announcement resource corresponding to the application dedicated resource. 
         [0023]    In order to solve the technical problem, an embodiment of the present disclosure also provides a communication method for an ADN, which may include the following acts. 
         [0024]    An IN-CSE determines an application dedicated resource corresponding to an announcement resource according to an ADN-AE which an IN-AE requests to operate, and the IN-CSE establishes a connection with an MN-CSE. 
         [0025]    The MN-CSE establishes a connection with the ADN-AE through the application dedicated resource. 
         [0026]    In an exemplary embodiment, the act that the IN-CSE determines the application dedicated resource corresponding to the announcement resource may include the following acts. 
         [0027]    The IN-CSE receives a resource acquisition request from the IN-AE, the resource acquisition request including an AE-ID of the ADN-AE. 
         [0028]    The IN-CSE determines the announcement resource according to the AE-ID, and determines the application dedicated resource corresponding to the announcement resource according to a URI of the application dedicated resource in the announcement resource. 
         [0029]    In an exemplary embodiment, before the IN-CSE establishes the connection with the MN-CSE, the method may further include the following act. 
         [0030]    The IN-CSE announces a URI of the determined application dedicated resource to the IN-AE. 
         [0031]    In order to solve the technical problem, an embodiment of the present disclosure also provides a first node, which may include a first establishment module and a first communication module. 
         [0032]    The first establishment module may be arranged to create an application dedicated resource for an ADN-AE. 
         [0033]    The first communication module may be arranged to announce the application dedicated resource to an IN-CSE. 
         [0034]    In an exemplary embodiment, the first communication module may further be arranged to receive a resource creation request from the ADN-AE, where the resource creation request includes a URI or a CSE-ID of the IN-CSE. 
         [0035]    In an exemplary embodiment, the first communication module may further be arranged to establish a connection with the ADN-AE through the application dedicated resource. 
         [0036]    In order to solve the technical problem, an embodiment of the present disclosure also provides a second node, which may include a second communication module and a second establishment module. 
         [0037]    The second communication module may be arranged to receive a URI of an application dedicated resource from an MN-CSE. 
         [0038]    The second establishment module may be arranged to create an announcement resource corresponding to the application dedicated resource. 
         [0039]    In an exemplary embodiment, the second communication module may be arranged to receive the URI of the application dedicated resource from the MN-CSE in the following manner of: 
         [0040]    receiving an announcement resource creation request from the MN-CSE, where the announcement resource creation request includes the URI of the application dedicated resource. 
         [0041]    In an exemplary embodiment, the second node may further include a query module, arranged to determine the application dedicated resource corresponding to the announcement resource according to an ADN-AE which an IN-AE requests to operate. 
         [0042]    The second communication module may further be arranged to establish a connection with the MN-CSE. 
         [0043]    In an exemplary embodiment, the second communication module may further be arranged to receive a resource acquisition request from the IN-AE, the resource acquisition request including an AE-ID of the ADN-AE. 
         [0044]    The query module may further be arranged to determine the announcement resource according to the AE-ID, and determine the application dedicated resource corresponding to the announcement resource according to the URI of the application dedicated resource in the announcement resource. 
         [0045]    In order to solve the technical problem, an embodiment of the present disclosure also provides a computer storage medium, in which a computer-executable instruction may be stored, the computer-executable instruction being arranged to execute the abovementioned method. 
         [0046]    Compared with the related technology, the embodiments of the present disclosure have the following beneficial effects. 
         [0047]    According to the embodiments of the present disclosure, the MN-CSE creates the application dedicated resource, and the IN-CSE creates the announcement resource corresponding to the application dedicated resource, associates the application dedicated resource with the announcement resource, and establishes the connection between the ADN-AE and the IN-AE to implement communication between the IN-AE and the ADN-AE. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0048]      FIG. 1  is a diagram of the architecture of an M2M system; 
           [0049]      FIG. 2  is a flowchart of a registration method for an ADN according to an embodiment of the present disclosure; 
           [0050]      FIG. 3  is a flowchart of a communication method for an ADN according to an embodiment of the present disclosure; 
           [0051]      FIG. 4  is a block diagram of a first node according to an embodiment of the present disclosure; 
           [0052]      FIG. 5  is a block diagram of a second node according to an embodiment of the present disclosure; and 
           [0053]      FIG. 6  is a flowchart of triggering of an ADN according to a first embodiment of the present disclosure. 
       
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
       [0054]    The embodiments of the present disclosure will be described below with reference to the drawings. It is important to note that the embodiments in the present disclosure and characteristics in the embodiments may be freely combined under the condition of no conflicts. 
         [0055]    As shown in  FIG. 1  and  FIG. 2 , a registration method for an ADN may include the following acts A and B. 
         [0056]    At act A, an MN-CSE creates an application dedicated resource for an ADN-AE, and announces the application dedicated resource to an IN-CSE. 
         [0057]    At act B, the IN-CSE creates an announcement resource corresponding to the application dedicated resource. 
         [0058]    In the embodiments of the present disclosure, the MN-CSE may announce the application dedicated resource to the ADN-AE, and the IN-CSE may announce the announcement resource to the MN-CSE. 
         [0059]    In the embodiments of the present disclosure, the operation that the MN-CSE creates the application dedicated resource for the ADN-AE in act A may include the following acts. 
         [0060]    The MN-CSE receives a resource creation request from the ADN-AE, where the resource creation request includes a URI or a CSE-ID of the IN-CSE. 
         [0061]    The MN-CSE creates the application dedicated resource for the ADN-AE. 
         [0062]    In the embodiments of the present disclosure, the operation that the IN-CSE creates the announcement resource corresponding to the application dedicated resource in act B may include the following acts. 
         [0063]    The IN-CSE receives an announcement resource creation request from the MN-CSE, where the announcement resource creation request includes a URI of the application dedicated resource. 
         [0064]    The IN-CSE creates the announcement resource corresponding to the application dedicated resource. 
         [0065]    As shown in  FIG. 1  and  FIG. 3 , a communication method for an ADN may include the following acts C and D. 
         [0066]    At act C, an IN-CSE determines an application dedicated resource corresponding to an announcement resource according to an ADN-AE which an IN-AE requests to operate, and the IN-CSE establishes a connection with an MN-CSE. 
         [0067]    At act D, the MN-CSE establishes a connection with the ADN-AE through the application dedicated resource. 
         [0068]    In the embodiments of the present disclosure, the operation that the IN-CSE determines the application dedicated resource corresponding to the announcement resource in act C may include the following acts. 
         [0069]    The IN-CSE receives a resource acquisition request from the IN-AE, the resource acquisition request including an AE-ID of the ADN-AE. 
         [0070]    The IN-CSE determines the announcement resource according to the AE-ID, and determines the application dedicated resource corresponding to the announcement resource according to a URI of the application dedicated resource in the announcement resource. 
         [0071]    In the embodiments of the present disclosure, before the operation that the IN-CSE establishes the connection with the MN-CSE in act C, the method may further include the following act. 
         [0072]    The IN-CSE announces a URI of the determined application dedicated resource to the IN-AE. 
         [0073]    A first node arranged on an MN-CSE side is provided in an embodiment, and as shown in  FIG. 4 , the first node may include a first establishment module and a first communication module. 
         [0074]    The first establishment module may be arranged to create an application dedicated resource for an ADN-AE. 
         [0075]    The first communication module may be arranged to announce the application dedicated resource to an IN-CSE. 
         [0076]    The first communication module may be further arranged to receive a resource creation request from the ADN-AE, where the resource creation request includes a URI or a CSE-ID of the IN-CSE. 
         [0077]    The first communication module may be further arranged to establish a connection with the ADN-AE through the application dedicated resource. 
         [0078]    A second node arranged on an IN-CSE side is provided in another embodiment, and as shown in  FIG. 5 , the second node may include a second communication module and a second establishment module. 
         [0079]    The second communication module may be arranged to receive a URI of an application dedicated resource from an MN-CSE. 
         [0080]    The second establishment module may be arranged to create an announcement resource corresponding to the application dedicated resource. 
         [0081]    The second communication module may be arranged to receive the URI of the application dedicated resource from the MN-CSE in the following manner of: 
         [0082]    receiving an announcement resource creation request from the MN-CSE, where the announcement resource creation request includes the URI of the application dedicated resource. 
         [0083]    The second node may further include a query module, arranged to determine the application dedicated resource corresponding to the announcement resource according to an ADN-AE which an IN-AE requests to operate. 
         [0084]    The second communication module may be further arranged to establish a connection with the MN-CSE. 
         [0085]    The query module may be arranged to determine the application dedicated resource corresponding to the announcement resource in the following manner. 
         [0086]    The second communication module may be further arranged to receive a resource acquisition request from the IN-AE, the resource acquisition request including an AE-ID of the ADN-AE. 
         [0087]    The query module may be arranged to determine the announcement resource according to the AE-ID, and determine the application dedicated resource corresponding to the announcement resource according to the URI of the application dedicated resource in the announcement resource. 
       First Embodiment 
       [0088]    As shown in  FIG. 6 , in order to enable the communication between an application on a server and an application on an ADN, the following acts 1 to 10 are executed in the embodiment. 
         [0089]    At act 1, an ADN-AE sends a resource creation request to an MN-CSE, the resource creation request message including: 
         [0090]    1) a resource type: application; 
         [0091]    2) a content: including an attribute of a resource required to be created: 
         [0092]    “announce to”: a URI or an ID of an IN-CSE to which an AE of an M2M SP subscribed by the ADN is registered; and 
         [0093]    3) an AE ID: an AE-ID of the ADN-AE. 
         [0094]    At act 2, after authorizing and authenticating the ADN-AE, the MN-CSE creates a resource “AE1” of a type “AE”, creates an “announce to” attribute for the resource “AE1”, and sets an attribute value to be the same as a value of an “announce to” parameter in the request message. 
         [0095]    On the other hand, the MN-CSE sends a resource creation response to the ADN-AE, a response message including a URI of the resource “AE1”. 
         [0096]    At act 3, the MN-CSE sends an announcement resource creation request to the IN-CSE indicated by the “announce to” attribute, a announcement resource creation request message including: 
         [0097]    1) the URI of the original resource “AE1”; 
         [0098]    2) a search tag of the original resource “AE1”; 
         [0099]    3) a content: including an attribute of a resource required to be created: 
         [0100]    “triggering message recipient ID”, of which the value is an application port ID (Application-Port-ID) of the ADN-AE; 
         [0101]    4) an AE ID, of which the value is an AE-ID of the ADN-AE; and 
         [0102]    5) an application node ID, of which the value is an M2M external ID (M2M-Ext-ID) of the MN. 
         [0103]    At act 4, after authorizing and authenticating the MN-CSE, the IN-CSE creates a resource “AE1Annc” of a type “announcement”, creates “link”, “tag”, “triggering message recipient ID”, “application node ID” and/or “AE ID” attributes/attribute for the resource “AE1Annc”. According to the request message, the IN-CSE sets a value of the “link” attribute to be the URI of the original resource “AE1”, sets a value of the “tag” attribute to be the search tag of the original resource “AE1”, sets a value of the “triggering message recipient ID” attribute to be the application port ID of the ADN-AE, sets a value of the “AE ID” attribute to be an ID of the ADN-AE and sets a value of the “application node ID” attribute to be the M2M external ID of the MN. 
         [0104]    On the other hand, the IN-CSE sends an announcement resource creation response to the MN-CSE, the announcement resource creation response message including a URI of the resource “AE1Annc”. 
         [0105]    At act 5, after receiving the announcement resource creation response sent by the IN-CSE, the MN-CSE updates the “announce to” attribute in the original resource “AE1” to set the attribute value to include a CSE-ID of the IN-CSE and the URI of the announcement resource “AE1Annc”, creates an “announced attribute” attribute for the resource “AE1”, and sets the attribute value to include the “triggering message recipient ID” attribute. 
         [0106]    At act 6, when the IN-AE needs to communicate with the ADN-AE, a resource acquisition request is sent to the IN-CSE, the resource acquisition request message including: 
         [0107]    1) a discovery address of a target attribute, of which the value is a URI of the IN-CSE; and 
         [0108]    2) a content: including the target attribute required to be discovered: 
         [0109]    “AE ID”, of which the value is an AE-ID of the ADN-AE. 
         [0110]    At act 7, after authenticating an IN-AE, the IN-CSE retrieves a target resource, i.e. the resource “AE1Annc” according to the request message, and feeds back the attribute value of the “link” attribute of the resource “AE1Annc”, i.e. the URI of the original resource “AE1”, to the IN-AE through a resource acquisition response. 
         [0111]    At act 8, after receiving the resource acquisition response sent by the IN-CSE, the IN-AE sends a resource operation request to the IN-CSE, the resource operation request message including: 
         [0112]    1) the URI of the target resource “AE1”; and 
         [0113]    2) an operation, including an operation content required to be executed: 
         [0114]    “create”, indicating to execute a creation operation of the target resource; or 
         [0115]    “acquire”, indicating to execute an acquisition operation of the target resource; or 
         [0116]    “update”, indicating to execute an updating operation of the target resource; or 
         [0117]    “delete”, indicating to execute a deletion operation of the target resource; or 
         [0118]    “announce”, indicating to execute an announcement operation of the target resource. 
         [0119]    At act 9, after receiving the resource operation request sent by the IN-AE, the IN-CSE sends an equipment triggering request to the MN-CSE, the equipment triggering request message including: 
         [0120]    1) the M2M-Ext-ID, i.e. the M2M external ID of the MN; 
         [0121]    2) Trigger-Recipient-ID, i.e. the triggering message recipient ID of the ADN-AE; and 
         [0122]    3) the CSE-ID, i.e. the ID of the IN-CSE. 
         [0123]    At act 10, the MN-CSE establishes a connection with the IN-CSE through an NSE according to the request message, in this way, communication between the IN-AE and the ADN-AE may be implemented. 
         [0124]    Although implementation modes of the present disclosure are disclosed above, their contents are only implementation modes adopted to facilitate understanding of the technical solutions of the present disclosure and not intended to limit the present disclosure. Those skilled in the art of the present disclosure may make any modification and variation to implementation forms and details without departing from the core technical solutions provided by the present disclosure. However, the scope of protection limited by the present disclosure shall be defined by the appended claims. 
         [0125]    Those skilled in the art may understand that all or part of the acts of the abovementioned embodiments may be implemented by a flow of a computer program, the computer program may be stored in a computer-readable storage medium, the computer program is executed on a corresponding hardware platform (such as a system, equipment, a device and an apparatus), and during execution, one or combination of the acts of the method embodiment are included. 
         [0126]    In an exemplary embodiment, all or part of the acts of the abovementioned embodiments may also be implemented by virtue of an integrated circuit, and these acts may form multiple integrated circuit modules, or multiple modules or acts therein may form a single integrated circuit module for implementation. 
         [0127]    Each device/function module/function unit in the abovementioned embodiments may be implemented by adopting a universal computing device, and they may be concentrated on a single computing device, and may also be distributed on a network formed by multiple computing devices. 
         [0128]    When being implemented in form of software function module and sold or used as an independent product, each device/function module/function unit in the abovementioned embodiments may be stored in a computer-readable storage medium. The abovementioned computer-readable storage medium may be a read-only memory, a magnetic disk, an optical disk or the like. 
       INDUSTRIAL APPLICABILITY 
       [0129]    By the technical solutions, communication between an IN-AE and an ADN-AE may be implemented.