WO2015117482A1 - 更新资源通告的方法、本地公共业务实体及系统 - Google Patents

更新资源通告的方法、本地公共业务实体及系统 Download PDF

Info

Publication number
WO2015117482A1
WO2015117482A1 PCT/CN2014/093096 CN2014093096W WO2015117482A1 WO 2015117482 A1 WO2015117482 A1 WO 2015117482A1 CN 2014093096 W CN2014093096 W CN 2014093096W WO 2015117482 A1 WO2015117482 A1 WO 2015117482A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
public service
service entity
advertisement
entity
Prior art date
Application number
PCT/CN2014/093096
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 中兴通讯股份有限公司
Publication of WO2015117482A1 publication Critical patent/WO2015117482A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • the present invention relates to, but is not limited to, the field of machine communication, and more particularly to a method of updating resource announcements, a local public service entity, and a system.
  • the M2M (Machine to Machine) communication network consists of various M2M nodes and bearer networks.
  • the M2M nodes communicate with each other through a bearer network.
  • An M2M node includes at least one application entity (AE, Application Entity) or a common service entity (CSE).
  • AE Application Entity
  • CSE common service entity
  • An application entity is a logical unit that executes an actual M2M application
  • a public service entity is a logical unit that manages and services an application.
  • the communication between the M2M applications is implemented through the interaction between the public service entities CSE.
  • the M2M applications are connected to the CSE through the X interface, and the CSEs communicate through the Y interface.
  • the premise of the communication is that the M2M application needs to be first performed in the local CSE. Registration, and then the interaction of the M2M application can be realized through the communication between the CSEs, as shown in Figure 1 of the M2M system architecture diagram:
  • the application node is the end execution node, such as a smart meter, a temperature measurement and control sensor, a fire alarm, a smart home appliance, etc.
  • the intermediate node is a middleware that connects the end execution node to the network side server, such as a gateway, and a base.
  • a node is a server on the network side.
  • the application entity related resources on the application node need to be registered to the public service entity on the application node, and do not need to be registered to the public service entity of the intermediate node and the public service entity of the base node, but for the convenience of the intermediate node
  • the application entity can find the resource on the application node, and in the manner of using the resource advertisement, create an advertisement resource corresponding to the original resource on the application node on the intermediate node, and the notification resource has the same search label as the original resource, and has the original resource.
  • the link allows the application on the intermediate node to easily search for the required resources and access the original resources according to the link.
  • the general resource notification process can only support the process of notifying the resource to the remote CSE registered on the CSE that owns the resource.
  • the process of resource notification cannot be performed.
  • the application on the base node needs to search for resource information on the application node, it needs to be the first
  • a search request is first sent to all intermediate nodes connected to the base node, and then the intermediate node feeds back the search results to the base node.
  • M2M application nodes and intermediate nodes will also grow, resulting in a large amount of resources and time when the base node searches. Therefore, a notification propagation method is needed, and the CSE that owns the resource can be notified to the unregistered remote CSE, so that the application entity on the remote CSE can also conveniently and quickly access the required resources.
  • the main purpose of the embodiments of the present invention is to solve the technical problem that a general notification method cannot advertise a public service entity that owns a resource to an unregistered remote public service entity.
  • a method for updating a resource advertisement includes the following steps:
  • the local public service entity sends a create advertisement resource request message to the remote public service entity, where the create advertisement resource request message includes an identifier or address of the advertisement resource, a search tag of the notified resource, and the advertisement parameter;
  • the local public service entity receives a response message sent by the remote public service entity to create a notification resource, and updates the resource attribute of the local application entity.
  • the step of the local public service entity sending a create advertisement resource request message to the remote public service entity includes:
  • the local public service entity sends a create advertisement resource request message to the remote public service entity that is closest to the local public service entity, so that the multiple remote public service entities forward the created advertisement resource step by step. The message is requested until it is sent to the remote public service entity that is furthest away from the local public service entity.
  • the local public service entity receives an update resource request message sent by the local application entity, and after the step of reading the advertisement parameter in the request message, the party that updates the resource notification
  • the law also includes:
  • the local public service entity determines whether the remote public service entity that needs to be advertised has received the Create Advertisement Resource Request message, and if not, the local public service entity sends a Create Advertisement Resource Request message to the remote public service entity.
  • the local public service entity receives a response message sent by the remote public service entity after the advertisement resource is created, indicating that the resource creation is successful, and the step of updating the resource attribute of the local application entity includes:
  • the remote public service entity After receiving the advertisement resource request message, the remote public service entity checks whether the identifier or address of the remote public service entity is included in the advertisement parameter, and if yes, verifies the authority of the local public service entity;
  • the advertisement resource is created, and the local public service entity sends a response message indicating that the advertisement resource is successfully created, so that the local public service entity updates the resource attribute of the local application entity.
  • the method for updating the resource advertisement further includes:
  • the local public service entity sends a resource delivery message to the remote public service entity, the resource delivery message including an originating entity attribute, a target entity attribute, and a data attribute;
  • the local public service entity receives a response message sent by the remote public service entity to create a notification resource, and updates the resource attribute of the local application entity.
  • an embodiment of the present invention further provides a local public service entity, where the local public service entity includes:
  • Receiving a read module configured to receive an update resource request message sent by the local application entity, and read an advertisement parameter in the request message, where the notification parameter includes an identifier or an address of a remote public service entity that needs to be advertised;
  • a sending module configured to send a create advertisement resource request message to the remote public service entity, where the create advertisement resource request message includes an identifier or an address of the advertisement resource, a search tag of the notified resource, and the advertisement parameter;
  • the update module is configured to receive a response message sent by the remote public service entity after the creation of the advertisement resource, indicating that the resource creation is successful, and updating the resource attribute of the local application entity.
  • the sending module may also be configured to send Creating an advertisement resource request message to a remote public service entity that is closest to the local public service entity, so that the plurality of remote public service entities forward the created advertisement resource request message step by step until sent to the farthest from the local public service entity Remote public business entity.
  • the local public service entity further includes:
  • the judgment detecting module is configured to determine whether the remote public service entity that needs to be notified has received the create advertisement resource request message, and if not, the local public service entity sends a create advertisement resource request message to the remote public service entity.
  • the determining and detecting module is further configured to:
  • the remote public service entity After the remote public service entity receives the create advertisement resource request message, check whether the identifier or address of the remote public service entity is included in the advertisement parameter, and if yes, verify the authority of the local public service entity;
  • the advertisement resource is created, and a response message indicating that the advertisement resource is successfully created is sent to the local public service entity, so that the local public service entity updates the resource attribute of the local application entity.
  • the sending module is further configured to
  • a resource delivery message is sent to the remote public service entity, the resource delivery message including an originating entity attribute, a target entity attribute, and a data attribute.
  • an embodiment of the present invention further provides an update resource notification system, including a local application entity, a local public service entity, and a remote public service entity.
  • the local application entity is configured to send an update resource request message to a local public service entity
  • the remote public service entity is configured to receive or forward an advertisement resource request message
  • the local public service entity includes:
  • Receiving a read module configured to receive an update resource request message sent by the local application entity, and read an advertisement parameter in the request message, where the notification parameter includes an identifier or an address of a remote public service entity that needs to be advertised;
  • a sending module configured to send a create advertisement resource request message to the remote public service entity, where the create advertisement resource request message includes an identifier or an address of the advertisement resource, a search tag of the notified resource, and the advertisement parameter;
  • An update module configured to receive an indication sent by the remote public service entity after the advertisement resource is created The resource is successfully advertised to create a response message, and the resource attribute of the local application entity is updated.
  • the sending module of the local public service entity may be further configured to send a create advertisement resource request message to a remote public service entity that is closest to the local public service entity, for multiple The remote public service entity forwards the create advertisement resource request message step by step until it is sent to a remote public service entity that is farthest from the local public service entity
  • the local public service entity further includes:
  • the judgment detecting module is configured to determine whether the remote public service entity that needs to be notified has received the create advertisement resource request message, and if not, the local public service entity sends a create advertisement resource request message to the remote public service entity.
  • the determining and detecting module is further configured to:
  • the remote public service entity After the remote public service entity receives the create advertisement resource request message, check whether the identifier or address of the remote public service entity is included in the advertisement parameter, and if yes, verify the authority of the local public service entity;
  • the advertisement resource is created, and a response message indicating that the advertisement resource is successfully created is sent to the local public service entity, so that the local public service entity updates the resource attribute of the local application entity.
  • the sending module is further configured to
  • a resource delivery message is sent to the remote public service entity, the resource delivery message including an originating entity attribute, a target entity attribute, and a data attribute.
  • Embodiments of the present invention also provide a computer program comprising program instructions that, when executed by a local public service entity, cause the local public service entity to perform the method described above.
  • Embodiments of the present invention also provide a computer readable storage medium carrying the computer program.
  • the embodiment of the present invention receives an update resource request message sent by a local application entity, reads an advertisement parameter in the request message, and sends a create advertisement resource request message to the remote public service entity, where the remote public service entity creates an advertisement resource and Sending a message response indicating that the resource creation is successful to the local public service entity, so that the local public service entity updates the resource attribute of the local application entity, thereby solving the general notification method that the public service entity that owns the resource cannot be notified to the unregistered Technical issues on remote public business entities.
  • FIG. 1 is a structural diagram of the M2M system
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for updating a resource advertisement according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for updating a resource advertisement according to the present invention.
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for updating a resource advertisement according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for updating a resource advertisement according to the present invention.
  • FIG. 6 is a schematic structural diagram of an update resource notification system according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules of a first embodiment of a local public service entity according to the present invention.
  • FIG. 8 is a schematic diagram of functional modules of a second embodiment of a local public service entity according to the present invention.
  • FIG. 9 is a schematic flowchart of two remote public application entities for creating a notification resource request message by using a method for updating a resource advertisement according to the present invention.
  • FIG. 10 is a schematic flowchart of two remote public application entities that apply a resource delivery message according to a method for updating a resource advertisement according to the present invention.
  • CSE1 the local public service entity
  • AE1 the local application entity
  • CSE the public service entity
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a method for updating a resource advertisement according to the present invention.
  • the method for updating the resource notification includes:
  • step S10 the CSE1 receives the update resource request message sent by the AE1, and reads the advertisement parameter in the request message, where the advertisement parameter includes the identifier or address of the remote CSE that needs to be advertised;
  • Step S20 The CSE1 sends a create advertisement resource request message to the remote CSE, where the create advertisement resource request message includes an identifier or an address of the advertisement resource, a search tag of the notified resource, and the advertisement parameter.
  • the remote CSE is one or more.
  • the CSE1 sends a notification resource request message to only one remote CSE.
  • the remote CSE is multiple, the CSE1 sends a notification resource request message to all remote CSEs.
  • the remote CSE is directly adjacent to or separated from CSE1 by a certain number of adjacent public service entities; the created advertisement resource request message includes an identifier or address of the notified resource, a search tag of the notified resource, and the notification parameter, which is convenient for remote CSE Search and access the notified resources.
  • Step S30 The CSE1 receives a response message sent by the remote CSE after the advertisement resource is created, indicating that the resource creation is successful, and updates the resource attribute of the AE1.
  • the remote CSE After receiving the advertisement resource request message sent by the CSE1, the remote CSE detects whether the identifier or address of the remote CSE is in the advertisement parameter, and if so, verifies the authority of the CSE1, and determines whether the CSE1 has the authority to instruct the remote CSE to create the resource, if any Privilege, the remote CSE creates a resource, and sends a response message indicating that the resource is successfully created to the CSE1. After receiving the response message indicating that the resource is successfully created, the CSE1 updates the attribute of the resource to "advertise to", that is, adds the identifier or address of the remote CSE to The attribute "announce to".
  • the remote CSE by receiving the update resource request message sent by the AE1, reading the advertisement parameter in the request message, and sending a create advertisement resource request message to the remote CSE, the remote CSE creates an advertisement resource and sends an indication to the CSE1.
  • the resource creates a successful message response for CSE1 to update the resource attributes of AE1, thereby solving the technical problem that the general notification method cannot notify the CSE that owns the resource to the unregistered remote CSE.
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of a method for updating a resource advertisement according to the present invention.
  • step S20 includes:
  • Step S40 The CSE1 sends a Create Advertisement Resource Request message to the remote CSE that is closest to the CSE1, so that the multiple CSEs forward the Create Advertisement Resource Request message step by step until it is sent to the remote public service entity that is farthest from the CSE1.
  • the CSE1 first sends a notification resource request message to the remote CSE that is closest to the CSE1. After the latest remote CSE receives the advertisement resource request message, the remote CSE returns to the CSE1 to indicate that the resource is successfully created. To update the resource attribute of AE1; the remote CSE closest to CSE1 sends a notification resource request message to the remote CSE far from CSE1, until the remote CSE farthest from CSE1 receives the creation advertisement resource. The message is sent to the CSE1 to return a message response indicating that the resource creation is successful, to update the resource attribute of the AE1 step by step, and prompt the location where the advertised resource of the AE1 is updated.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for updating a resource advertisement according to the present invention.
  • the method for updating the resource notification further includes:
  • Step S50 The CSE1 determines whether the remote CSE that needs to be advertised has received the Create Advertisement Resource Request message. If not, the CSE1 sends a Create Advertisement Resource Request message to the remote CSE.
  • the CSE1 reads the advertisement parameter in the advertisement resource request message, detects whether the update resource has advertised the remote CSE in the advertisement parameter, and if not, sends a notification resource request message to the remote CSE; if The advertised resource request message is not sent to the remote CSE, which avoids repeatedly sending the advertised resource request message to the remote CSE that has already been advertised, thereby avoiding unnecessary creation of the advertised resource request message on the network, thereby reducing network congestion.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for updating a resource advertisement according to the present invention.
  • the method for updating the resource notification further includes:
  • Step S601 After receiving the advertisement resource request message, the remote CSE checks whether the identifier or address of the remote CSE is included in the advertisement parameter, and if yes, verifies the authority of the CSE1;
  • Step S602 If the remote CSE verifies that the CSE1 has the right, the advertised resource is created, and a response message indicating that the advertised resource is successfully created is sent to the CSE1, so that the CSE1 updates the resource attribute of the AE1.
  • the remote CSE After receiving the advertisement resource request message, the remote CSE checks whether the identifier or address of the remote CSE is included in the advertisement parameter. If there is no identifier or address of the remote CSE, it means that the remote CSE does not need to perform resource update. , the relevant processing is not performed; if there is an identifier or address of the remote CSE in the notification parameter, the permission of the CSE1 is started to be verified.
  • AE1 is registered to CSE1
  • CSE1 is the local CSE of AE1
  • CSE2 is the intermediate node
  • CSE3 is the base node
  • CSE2 and CSE3 are remote CSEs relative to CSE1.
  • the application entity AE1 sends an update resource request message to the local public service entity CSE1, where the request message includes an advertisement parameter;
  • the advertisement parameter includes a remote CSE for indicating that the advertisement needs to be advertised, and the parameter may include an identifier or an address of one or more remote CSEs, which are set as identifiers or addresses of CSE2 and CSE3 in this embodiment;
  • the CSE1 checks whether the resource that is requested to be updated has been advertised on the remote CSE in the advertisement parameter. If not, the advertisement resource request message is sent to the CSE2 to create an advertisement resource request. The message contains:
  • Announcement parameter the same as the notification parameter value in the update resource request
  • the CSE2 After receiving the advertised resource request message, the CSE2 checks whether the advertised parameter contains the identifier or address of the CSE2. If yes, the CSE1 privilege is verified. After the authentication is passed, the resource AE1-Annc is created. Response message to CSE1;
  • the CSE1 After receiving the message indicating that the resource is successfully created, the CSE1 updates the attribute "advertised to" of the resource "Resource-AE1", that is, adds the identifier or address of the CSE2 to the attribute "advertised to”.
  • the CSE2 read notification parameter includes the identifier or address of the CSE3, and sends a create advertisement resource request message to the CSE3.
  • the create advertisement resource request message includes:
  • Address or identifier of the original resource the address or identifier of the original resource "Resource-AE1" on CSE1;
  • the CSE3 After receiving the advertised resource request message sent by the CSE2, the CSE3 creates the advertised resource "AE1-Annc" after the privilege verification of the CSE2 is passed.
  • the CSE3 sends a response message to CSE1, indicating that the advertisement resource is successfully created.
  • the CSE1 After receiving the response message of the CSE3, the CSE1 adds the CSE3 identifier or address to the attribute "advertised to" of the resource "Resource-AE1" if the notification resource is successfully created in the response message.
  • AE1 is registered to CSE1
  • CSE1 is a local CSE of AE1
  • CSE2 is an intermediate node
  • CSE3 is a basic node
  • CSE2 and CSE3 are remote CSEs relative to CSE1; and, an advertisement resource request is created.
  • the message is a resource delivery message
  • the resource delivery message packet Includes the following attributes:
  • Target entity attribute which is set to remote CSE
  • a data attribute which is set to the create an advertisement resource request message, including an identifier or address of the notified resource, a search tag of the notified resource, and the advertisement parameter.
  • the application entity AE1 sends an update resource request message to the local public service entity CSE1, where the request message includes an advertisement parameter;
  • the advertised parameter indicates the remote CSE to be advertised, and the parameter may include an identifier or an address of one or more remote CSEs, which are set to the identifiers or addresses of CSE2 and CSE3 in this embodiment;
  • the CSE1 After receiving the update resource request message, the CSE1 reads the advertisement parameter included in the request message, checks whether the resource requested to be updated has been advertised on the remote CSE in the advertisement parameter, and if not, sends a create advertisement resource request message to The CSE2, Create Announcement Resource Request message contains:
  • the CSE2 After receiving the advertised resource request message, the CSE2 creates a resource "AE1-Annc" and sends a response message to the CSE1. The response message indicates that the resource is successfully created.
  • CSE1 updates the attribute of "Resource-AE1" to "advertise to” if the resource is successfully created in the response message; the "advertise to" attribute is used to indicate the identity or address of the remotely notified CSE. , update the attribute "advertise to” to add the ID or address of CSE2 to the "advertised to” attribute.
  • CSE1 creates the resource "delivery 1" and sets the attribute of the resource "delivery 1":
  • CSE1 sends a create delivery resource request message to CSE2, and the request message includes CSE1.
  • the attribute of the resource "delivery 1" is built.
  • CSE2 After receiving the request to create a delivery resource, CSE2 creates a resource "delivery 2" and sets the attribute of the resource "delivery 2" after verifying the permission of CSE1:
  • the attribute "data” is set to create a request to advertise the resource
  • the CSE2 sends a Create Delivery Resource Request message to the CSE3, the request message containing the attribute of the resource "delivery 2" created by the CSE2.
  • CSE3 After receiving the request to create a delivery resource, CSE3 creates a resource "delivery 3" and sets the attribute of the resource "delivery 3" after the permission verification of CSE2 is passed:
  • the attribute "data” is set to create a request to advertise the resource
  • the CSE3 reads the request for creating the advertisement resource in the attribute "data", and creates the advertisement resource "AE1-Annc”.
  • the CSE3 sends a response message to CSE1, indicating that the advertisement resource is successfully created.
  • the CSE1 After receiving the response message of the CSE3, the CSE1 adds the CSE3 identifier or address to the attribute "advertised to" of the resource "Resource-AE1" if the notification resource is successfully created in the response message.
  • the CSE 1 sends a resource delivery message to the remote CSE, and replaces the create advertisement resource request message with the resource delivery message, the resource delivery message including the originating entity attribute, the target entity attribute, and the data attribute; the CSE1 receiving the remote CSE is created After the resource is advertised, the response message indicating that the resource is successfully created is updated, and the resource attribute of the local application entity is updated, so that the CSE1 sends the resource delivery message to the designated remote CSE, and then is stepped by the remote CSE far away from the nearest remote CSE.
  • CSE1 sends a resource delivery message and receives only the message response returned by the remote CSE, and updates the location to which the resource delivery message has been transmitted according to the response message returned by the remote CSE, to avoid repeatedly sending the resource delivery resource due to CSE1 waiting too long. Reduced network congestion.
  • FIG. 6 is a schematic structural diagram of an update resource notification system according to an embodiment of the present invention.
  • the update resource notification system includes a local application entity 1101 of a local node 110, a local public service entity 1102, and a remote application entity 1201 and a remote public service entity 1202 of the remote node 120, the local application entity 1101 being set to a local public service entity 1102: Send an update resource request message; the remote public service entity 1202 is configured to receive or forward a create advertisement resource request message;
  • FIG. 7 is a schematic diagram of functional modules of a first embodiment of a local public service entity according to the present invention.
  • the CSE1 includes:
  • the receiving and reading module 70 is configured to receive an update resource request message sent by the local application entity, and read an advertisement parameter in the request message, where the notification parameter includes an identifier or an address of the remote CSE that needs to be advertised;
  • the sending module 80 is configured to send a create advertisement resource request message to the remote CSE, where the create advertisement resource request message includes an identifier or an address of the advertisement resource, a search tag of the notified resource, and the advertisement parameter;
  • the update module 90 is configured to receive a response message sent by the remote CSE after the advertisement resource is created, indicating that the resource creation is successful, and update the resource attribute of the local application entity.
  • the remote CSE is one or more.
  • the CSE1 sends a notification resource request message to only one remote CSE.
  • the remote CSE is multiple, the CSE1 sends a notification resource request message to all remote CSEs.
  • the remote CSE is directly adjacent to or separated from CSE1 by a certain number of adjacent public service entities;
  • the created advertisement resource request message includes an identifier or address of the notified resource, a search tag of the notified resource, and the notification parameter, which is convenient for remote CSE Search and access the notified resources;
  • the remote CSE After receiving the advertisement resource request message sent by the CSE1, the remote CSE detects whether the identifier or address of the remote CSE is in the advertisement parameter, and if so, verifies the authority of the CSE1, and determines whether the CSE1 has the authority to instruct the remote CSE to create the resource, if any Privilege, the remote CSE creates a resource, and sends a response message indicating that the resource is successfully created to the CSE1. After receiving the response message indicating that the resource is successfully created, the CSE1 updates the attribute of the resource to "advertise to", that is, adds the identifier or address of the remote CSE to The attribute "announce to".
  • the remote CSE by receiving the update resource request message sent by the AE1, reading the advertisement parameter in the request message, and sending a create advertisement resource request message to the remote CSE, the remote CSE creates an advertisement resource and sends an indication to the CSE1.
  • the resource creates a successful message response for CSE1 Update the resource attributes of AE1 to solve the technical problem that the general notification method cannot advertise the CSE that owns the resource to the unregistered remote CSE.
  • the sending module 80 of the CSE1 may be further configured to send a create advertising resource request message to a remote CSE that is closest to the CSE1, so that the multiple remote CSEs forward the created advertising resource request step by step.
  • the message is sent to the remote CSE that is farthest from CSE1.
  • the CSE1 first sends a notification resource request message to the remote CSE that is closest to the CSE1. After the latest remote CSE receives the advertisement resource request message, the remote CSE returns to the CSE1 to indicate that the resource is successfully created.
  • the remote CSE closest to CSE1 sends a Create Advertisement Resource Request message to the remote CSE far from CSE1, until the remote CSE farthest from CSE1 receives the Create Advertisement Resource Request message.
  • the step S30 processes a message response indicating that the resource creation is successful to the CSE1 to gradually update the resource attribute of the AE1, and prompts the specific location to which the AE1 required resource is updated.
  • FIG. 8 is a schematic diagram of functional modules of a second embodiment of a local public service entity according to the present invention.
  • the CSE1 further includes:
  • the judgment detecting module 100 is configured to determine whether the remote CSE that needs to be advertised has received the create advertisement resource request message, and if not, the CSE1 sends a create advertisement resource request message to the remote CSE.
  • the CSE1 reads the advertisement parameter in the advertisement resource request message, detects whether the update resource has advertised the remote CSE in the advertisement parameter, and if not, sends a notification resource request message to the remote CSE; if The advertised resource request message is not sent to the remote CSE, which avoids repeatedly sending the advertised resource request message to the remote CSE that has already been advertised, thereby avoiding unnecessary creation of the advertised resource request message on the network, thereby reducing network congestion.
  • the determining and detecting module 100 is configured to check whether the remote CSE includes the identifier or address of the remote CSE after receiving the advertisement resource request message, and if yes, verify the authority of the CSE1;
  • the advertisement resource is created, and a response message indicating that the advertisement resource is successfully created is sent to the CSE1 for the CSE1 to update the resource attribute of the AE1.
  • the sending module 80 is further configured to send a resource delivery message to the remote CSE, the resource delivery message including an originating entity attribute, a target entity attribute, and a data attribute.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiments of the present invention can solve the technical problem that a general notification method cannot notify a public service entity that owns a resource to an unregistered remote public service entity.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种更新资源通告的方法、本地公共业务实体和更新资源通告系统,该方法包括CSE1接收AE1发送的更新资源请求消息,读取请求消息中的通告参数,该通告参数包括需要通告到的远程CSE的标识或地址;CSE1向所述远程CSE发送创建通告资源请求消息,创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;CSE1接收远程CSE在创建通告资源后发送的指示通告资源创建成功的响应消息,更新AE1的资源属性。

Description

更新资源通告的方法、本地公共业务实体及系统 技术领域
本发明涉及但不限于机器通信领域领域,尤其涉及更新资源通告的方法、本地公共业务实体及系统。
背景技术
M2M(Machine to Machine)通信网络由各个M2M节点和承载网络组成。M2M节点通过承载网络实现互相通信,一个M2M节点至少包含一个应用实体(AE,Application Entity)或者一个公共业务实体(CSE,Common Service Entity)。应用实体是执行实际M2M应用的逻辑单元,公共业务实体是对应用进行管理和服务的逻辑单元。
M2M应用之间的通信是通过公共业务实体CSE之间的交互来实现,M2M应用通过X接口连接到CSE,CSE之间通过Y接口进行通信,而通信的前提是M2M应用首先需要在本地CSE进行注册,然后才能通过CSE之间的通信实现M2M应用的交互,如图1所示M2M系统架构图:
在M2M系统架构中,应用节点是末端的执行节点,例如智能电表,温度测控传感器,火警报警器,智能家电等等,中间节点是连接末端执行节点到网络侧服务器的中间件,例如网关,基础节点是网络侧的服务器。
在实际应用中,应用节点上的应用实体相关资源需要注册到应用节点上的公共业务实体,而不需要注册到中间节点的公共业务实体和基础节点的公共业务实体,而为了方便中间节点上的应用实体能查找到应用节点上的资源,特使用资源通告的方式,在中间节点上创建与应用节点上的原始资源相应的通告资源,通告资源有着跟原始资源相同的搜索标签,并有原始资源的链接,使得中间节点上的应用可以方便的搜索到需要的资源,并根据链接访问原始资源。
一般的资源通告过程只能支持将资源通告到注册在拥有资源的CSE的远程CSE上,对于未注册的远程CSE,例如基础节点的CSE,不能执行资源通告的过程。当基础节点上的应用需要搜索应用节点上的资源信息时,需要首 先向连接到基础节点上的所有中间节点发送搜索请求,然后由中间节点将搜索结果反馈给基础节点。然而,随着日益增长的M2M应用,M2M应用节点和中间节点也会日益增长,导致基础节点搜索时会占用大量的资源和时间。因此,需要一种通告传播方法,可以将拥有资源的CSE通告到未注册的远程CSE上的,使得远程CSE上的应用实体也可以方便快捷的访问需要的资源。
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。
发明内容
本发明实施例的主要目的在于解决一般的通告方法不能将拥有资源的公共业务实体通告到未注册的远程公共业务实体上的的技术问题。
为实现上述目的,本发明实施例提供的一种更新资源通告的方法,包括以下步骤:
本地公共业务实体接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程公共业务实体的标识或地址;
本地公共业务实体向所述远程公共业务实体发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;
本地公共业务实体接收远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
可选地,所述本地公共业务实体向所述远程公共业务实体发送创建通告资源请求消息步骤包括:
若远程公共业务实体为多个,本地公共业务实体发送创建通告资源请求消息至距离本地公共业务实体最近的远程公共业务实体,以供多个所述远程公共业务实体逐级转发所述创建通告资源请求消息,直至发送至与本地公共业务实体距离最远的远程公共业务实体。
可选地,所述本地公共业务实体接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数的步骤之后,所述更新资源通告的方 法还包括:
本地公共业务实体判断需要通告到的所述远程公共业务实体是否已接收到创建通告资源请求消息,若否,则本地公共业务实体向远程公共业务实体发送创建通告资源请求消息。
可选地,所述本地公共业务实体接收远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性的步骤之前,包括:
远程公共业务实体接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程公共业务实体的标识或地址,若是,则验证本地公共业务实体的权限;
远程公共业务实体若验证本地公共业务实体有权限,则创建通告资源,并向本地公共业务实体发送指示通告资源创建成功的响应消息,以供本地公共业务实体更新本地应用实体的资源属性。
可选地,所述更新资源通告的方法还包括:
本地公共业务实体向所述远程公共业务实体发送资源递送消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性;
本地公共业务实体接收远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
此外,本发明实施例还提供一种本地公共业务实体,所述本地公共业务实体包括:
接收读取模块,设置为接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程公共业务实体的标识或地址;
发送模块,设置为向所述远程公共业务实体发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;
更新模块,设置为接收远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
可选地,在远程公共业务实体为多个时,所述发送模块还可设置为发送 创建通告资源请求消息至距离本地公共业务实体最近的远程公共业务实体,以供多个所述远程公共业务实体逐级转发所述创建通告资源请求消息,直至发送至与本地公共业务实体距离最远的远程公共业务实体。
可选地,所述本地公共业务实体还包括:
判断检测模块,设置为判断需要通告到的所述远程公共业务实体是否已接收到创建通告资源请求消息,若否,则本地公共业务实体向远程公共业务实体发送创建通告资源请求消息。
可选地,所述判断检测模块还设置为,
在远程公共业务实体接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程公共业务实体的标识或地址,若是,则验证本地公共业务实体的权限;
若验证本地公共业务实体有权限,则创建通告资源,并向本地公共业务实体发送指示通告资源创建成功的响应消息,以供本地公共业务实体更新本地应用实体的资源属性。
可选地,所述发送模块还设置为,
向所述远程公共业务实体发送资源递送消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性。
此外,本发明实施例还提供一种更新资源通告系统,包括本地应用实体、本地公共业务实体和远程公共业务实体,
所述本地应用实体设置为向本地公共业务实体发送更新资源请求消息;
所述远程公共业务实体设置为接收或转发创建通告资源请求消息;
所述本地公共业务实体包括:
接收读取模块,设置为接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程公共业务实体的标识或地址;
发送模块,设置为向所述远程公共业务实体发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;
更新模块,设置为接收远程公共业务实体在创建通告资源后发送的指示 通告资源创建成功的响应消息,更新本地应用实体的资源属性。
可选地,在远程公共业务实体为多个时,所述本地公共业务实体的发送模块还可设置为发送创建通告资源请求消息至距离本地公共业务实体最近的远程公共业务实体,以供多个所述远程公共业务实体逐级转发所述创建通告资源请求消息,直至发送至与本地公共业务实体距离最远的远程公共业务实体
可选地,所述本地公共业务实体还包括:
判断检测模块,设置为判断需要通告到的所述远程公共业务实体是否已接收到创建通告资源请求消息,若否,则本地公共业务实体向远程公共业务实体发送创建通告资源请求消息。
可选地,所述判断检测模块还设置为,
在远程公共业务实体接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程公共业务实体的标识或地址,若是,则验证本地公共业务实体的权限;
若验证本地公共业务实体有权限,则创建通告资源,并向本地公共业务实体发送指示通告资源创建成功的响应消息,以供本地公共业务实体更新本地应用实体的资源属性。
可选地,所述发送模块还设置为,
向所述远程公共业务实体发送资源递送消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性。
本发明实施例还提供一种计算机程序,包括程序指令,当该程序指令被本地公共业务实体执行时,使得该本地公共业务实体可执行上面所述的方法。
本发明实施例还提供一种载有所述计算机程序的计算机可读存储介质。
本发明实施例通过接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,并向所述远程公共业务实体发送创建通告资源请求消息,远程公共业务实体创建通告资源并向本地公共业务实体发送指示资源创建成功的消息响应,以供本地公共业务实体更新本地应用实体的资源属性,从而解决一般的通告方法不能将拥有资源的公共业务实体通告到未注册 的远程公共业务实体上的的技术问题。
附图概述
图1为M2M系统架构图;
图2为本发明更新资源通告的方法第一实施例的流程示意图;
图3为本发明更新资源通告的方法第二实施例的流程示意图;
图4为本发明更新资源通告的方法第三实施例的流程示意图;
图5为本发明更新资源通告的方法第四实施例的流程示意图;
图6为本发明更新资源通告系统结构示意图;
图7为本发明本地公共业务实体第一实施例的功能模块示意图;
图8为本发明本地公共业务实体第二实施例的功能模块示意图;
图9为本发明更新资源通告的方法应用创建通告资源请求消息的两个远程公共应用实体的流程示意图;
图10为本发明更新资源通告的方法应用资源递送消息的两个远程公共应用实体的流程示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的较佳实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
为了便于阅读和叙述,本地公共业务实体简写为CSE1,本地应用实体AE1,公共业务实体简写为CSE。
参照图2,图2为本发明更新资源通告的方法第一实施例的流程示意图。
在第一实施例中,该更新资源通告的方法包括:
步骤S10,CSE1接收AE1发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程CSE的标识或地址;
步骤S20,CSE1向所述远程CSE发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;
所述远程CSE为一个或多个,当远程CSE为一个时,CSE1只向一个远程CSE发送创建通告资源请求消息,当远程CSE为多个时,CSE1向所有远程CSE发送创建通告资源请求消息,远程CSE与CSE1直接相邻或相距一定数量的相邻的公共业务实体;所述创建通告资源请求消息包括被通告资源的标识或地址,被通告资源的搜索标签和所述通告参数,便于远程CSE对被通告资源进行搜索和访问。
步骤S30,CSE1接收远程CSE在创建通告资源后发送的指示通告资源创建成功的响应消息,更新AE1的资源属性。
远程CSE接收到CSE1发送的创建通告资源请求消息后,检测通告参数中是否该远程CSE的标识或地址,若有,则验证CSE1的权限,判断CSE1是否具有指示远程CSE创建资源的权限,若有权限,远程CSE则创建资源,并向CSE1发送指示资源创建成功的响应消息,CSE1接收到指示资源创建成功的响应消息后,更新资源的属性“通告到”,即将远程CSE的标识或地址添加到属性“通告到”中。
在本实施例中,通过接收AE1发送的更新资源请求消息,读取所述请求消息中的通告参数,并向所述远程CSE发送创建通告资源请求消息,远程CSE创建通告资源并向CSE1发送指示资源创建成功的消息响应,以供CSE1更新AE1的资源属性,从而解决一般的通告方法不能将拥有资源的CSE通告到未注册的远程CSE上的技术问题。
参照图3,图3为本发明更新资源通告的方法第二实施例的流程示意图。
在第二实施例中,若远程CSE为多个时,步骤S20包括:
步骤S40,CSE1发送创建通告资源请求消息至距离CSE1最近的远程CSE,以供多个所述CSE逐级转发所述创建通告资源请求消息,直至发送至与CSE1距离最远的远程公共业务实体。
若远程CSE为多个,CSE1首先向距CSE1最近的远程CSE发送创建通告资源请求消息,最近的远程CSE接收到创建通告资源请求消息后,经过步骤S30,返回给CSE1指示资源创建成功的消息响应,以更新AE1的资源属性;离CSE1最近的远程CSE逐级向离CSE1远的远程CSE发送创建通告资源请求消息,直至距离CSE1最远端的远程CSE接收到所述创建通告资源请 求消息,经步骤S30处理向CSE1返回指示资源创建成功的消息响应,以逐步更新AE1的资源属性,提示AE1所需通告的资源更新到的位置。
参照图4,图4为本发明更新资源通告的方法第三实施例的流程示意图。
在第三实施例中,在步骤S10之后,所述更新资源通告的方法还包括:
步骤S50,CSE1判断需要通告到的所述远程CSE是否已接收到创建通告资源请求消息,若否,则CSE1向远程CSE发送创建通告资源请求消息。
CSE1读取创建通告资源请求消息中的通告参数,检测更新资源是否对通告参数中的远程CSE进行过通告,若未通告过,则发送创建通告资源请求消息给远程CSE;若已通告过,则不向远程CSE发送创建通告资源请求消息,这样避免了向已经通告过的远程CSE重复发送创建通告资源请求消息,避免了不必要的创建通告资源请求消息在网络上传输,减小了网络拥塞。
参照图5,图5为本发明更新资源通告的方法第四实施例的流程示意图。
在第四实施例中,在步骤S20之后,所述更新资源通告的方法还包括:.
步骤S601,远程CSE接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程CSE的标识或地址,若是,则验证CSE1的权限;
步骤S602,远程CSE若验证CSE1有权限,则创建通告资源,并向CSE1发送指示通告资源创建成功的响应消息,以供CSE1更新AE1的资源属性。
远程CSE接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程CSE的标识或地址,若没有该远程CSE的标识或地址,则意味着该远程CSE无需进行资源更新,则不作相关处理;若有通告参数中有该远程CSE的标识或地址,则开始验证CSE1的权限。
参照图1和图9,AE1注册到CSE1,CSE1是AE1的本地CSE,CSE2是中间节点,CSE3是基础节点,CSE2和CSE3是相对于CSE1的远程CSE。
本发明实施例更新资源通告的方法应用创建通告资源请求消息的两个远程CSE的流程如下:
1、应用实体AE1发送更新资源请求消息给本地公共业务实体CSE1,请求消息中包含通告参数;
通告参数包括用于指示需要通告到的远程CSE,该参数可以包含一个或多个远程CSE的标识或地址,在本实施例中设置为CSE2和CSE3的标识或地址;
2、如果更新资源请求中包含通告参数,则CSE1检查请求更新的资源是否已经在通告参数中的远程CSE上通告过,如果未通告过,则发送创建通告资源请求消息给CSE2,创建通告资源请求消息中包含:
1)原始资源“Resource-AE1”(即被通告的资源)的地址或标识;
2)原始资源“Resource-AE1”的搜索标签;
3)通告参数:与更新资源请求中的通告参数值相同;
3、CSE2接收到创建通告资源请求消息后,检查通告参数中是否包含CSE2的标识或地址,如果有,则验证CSE1的权限,验证通过后,创建资源“AE1-Annc”,发送指示资源创建成功的响应消息给CSE1;
4、CSE1接收到指示资源创建成功地响应消息后,更新资源“Resource-AE1”的属性“通告到”,即将CSE2的标识或地址添加到属性“通告到”中。
5、CSE2读取通告参数中包含有CSE3的标识或地址,发送创建通告资源请求消息给CSE3,创建通告资源请求消息中包含:
1)原始资源的地址或标识:原始资源“Resource-AE1”在CSE1上的地址或标识;
2)原始资源的搜索标签;
6、CSE3接收到CSE2发送的创建通告资源请求消息后,对CSE2的权限验证通过后,创建通告资源“AE1-Annc”。
7、CSE3发送响应消息到CSE1,指示成功创建通告资源;
8、CSE1在接收到CSE3的响应消息后,如果响应消息中指示成功创建通告资源,则将CSE3标识或地址添加到资源“Resource-AE1”的属性“通告到”。
可选地,参照图1和图10,AE1注册到CSE1,CSE1是AE1的本地CSE,CSE2是中间节点,CSE3是基础节点,CSE2和CSE3是相对于CSE1的远程CSE;并且,创建通告资源请求消息为资源递送消息,所述资源递送消息包 括以下属性:
发起实体属性,其设置为CSE1;
目标实体属性,其设置为远程CSE;
数据属性,其设置为所述创建通告资源请求消息,包括被通告资源的标识或地址、被通告资源的搜索标签和所述通告参数。
本发明实施例更新资源通告的方法应用资源递送消息的两个远程CSE的流程如下:
1、应用实体AE1发送更新资源请求消息给本地公共业务实体CSE1,请求消息中包含通告参数;
通告参数:指示需要通告到的远程CSE,该参数可以包含一个或多个远程CSE的标识或地址,在本实施例中设置为CSE2和CSE3的标识或地址;
2、CSE1接收到更新资源请求消息后,读取请求消息中包含的通告参数,检查请求更新的资源是否已经在通告参数中的远程CSE上通告,如果未通告,则发送创建通告资源请求消息给该CSE2,创建通告资源请求消息中包含:
1)原始资源“Resource-AE1”(即被通告的资源)的地址或标识;
2)原始资源“Resource-AE1”的搜索标签;
3、CSE2接收到创建通告资源请求消息后,并对CSE1的权限验证通过后,创建资源“AE1-Annc”,并发送响应消息给CSE1,响应消息中指示资源创建成功;
4、CSE1接收到响应消息后,如果响应消息中只是资源创建成功,则更新“Resource-AE1”的属性“通告到”;“通告到”属性用来指示成功通告了的远程CSE的标识或地址,更新属性“通告到”即将CSE2的标识或地址添加到“通告到”属性中。
5、如果通告参数中的远程CSE3未在CSE1上注册,则CSE1创建资源“递送1”,并设置资源“递送1”的属性:
1)属性“发起”设置为CSE1;
2)属性“目标”设置为CSE3;
3)属性“数据”设置为创建通告资源的请求,创建通告资源的请求中包含的信息与上述步骤2中相同;
6、CSE1发送创建递送资源请求消息给CSE2,请求消息中包含CSE1创 建的资源“递送1”的属性。
7、CSE2接收到创建递送资源请求消息后,并对CSE1的权限验证通过后,创建资源“递送2”,并设置资源“递送2”的属性:
1)属性“发起”设置为CSE1;
2)属性“目标”设置为CSE3;
3)属性“数据”设置为创建通告资源的请求;
8、CSE2发送创建递送资源请求消息给CSE3,请求消息中包含CSE2创建的资源“递送2”的属性。
9、CSE3接收到创建递送资源请求消息后,对CSE2的权限验证通过后,创建资源“递送3”,并设置资源“递送3”的属性:
1)属性“发起”设置为CSE1(本地CSE);
2)属性“目标”设置为CSE3(资源需要通告到的CSE);
3)属性“数据”设置为创建通告资源的请求;
10、CSE3读取属性“数据”中的创建通告资源的请求,创建通告资源“AE1-Annc”。
11、CSE3发送响应消息到CSE1,指示成功创建通告资源。
12、CSE1在接收到CSE3的响应消息后,如果响应消息中指示成功创建通告资源,则将CSE3标识或地址添加到资源“Resource-AE1”的属性“通告到”。
在本可选方案中,CSE1向远程CSE发送资源递送消息,利用资源递送消息替换创建通告资源请求消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性;CSE1接收远程CSE在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性,这样,CSE1将资源递送消息发送给指定的远程CSE,然后由最近的远程CSE相远端的远程CSE逐级转发,CSE1发送一次资源递送消息后仅接收远程CSE返回的消息响应,并根据远程CSE返回的响应消息实时更新资源递送消息已经传送到的位置,避免因CSE1等待过久而重复发送资源递送资源,减少了网络拥塞。
此外,本发明实施例还提供一种更新资源通告系统,参照图6,图6为本发明实施例更新资源通告系统结构示意图。
所述更新资源通告系统包括本地节点110的本地应用实体1101、本地公共业务实体1102和远程节点120的远程应用实体1201和远程公共业务实体1202,所述本地应用实体1101设置为向本地公共业务实体1102发送更新资源请求消息;所述远程公共业务实体1202设置为接收或转发创建通告资源请求消息;
参照图7,图7为本发明本地公共业务实体第一实施例的功能模块示意图,所述CSE1包括:
接收读取模块70,设置为接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程CSE的标识或地址;
发送模块80,设置为向所述远程CSE发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;
更新模块90,设置为接收远程CSE在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
所述远程CSE为一个或多个,当远程CSE为一个时,CSE1只向一个远程CSE发送创建通告资源请求消息,当远程CSE为多个时,CSE1向所有远程CSE发送创建通告资源请求消息,远程CSE与CSE1直接相邻或相距一定数量的相邻的公共业务实体;所述创建通告资源请求消息包括被通告资源的标识或地址,被通告资源的搜索标签和所述通告参数,便于远程CSE对被通告资源进行搜索和访问;
远程CSE接收到CSE1发送的创建通告资源请求消息后,检测通告参数中是否该远程CSE的标识或地址,若有,则验证CSE1的权限,判断CSE1是否具有指示远程CSE创建资源的权限,若有权限,远程CSE则创建资源,并向CSE1发送指示资源创建成功的响应消息,CSE1接收到指示资源创建成功的响应消息后,更新资源的属性“通告到”,即将远程CSE的标识或地址添加到属性“通告到”中。
在本实施例中,通过接收AE1发送的更新资源请求消息,读取所述请求消息中的通告参数,并向所述远程CSE发送创建通告资源请求消息,远程CSE创建通告资源并向CSE1发送指示资源创建成功的消息响应,以供CSE1 更新AE1的资源属性,从而解决一般的通告方法不能将拥有资源的CSE通告到未注册的远程CSE上的技术问题。
在远程CSE为多个时,所述CSE1的发送模块80还可设置为发送创建通告资源请求消息至距离CSE1最近的远程CSE,以供多个所述远程CSE逐级转发所述创建通告资源请求消息,直至发送至与CSE1距离最远的远程CSE。
若远程CSE为多个,CSE1首先向距CSE1最近的远程CSE发送创建通告资源请求消息,最近的远程CSE接收到创建通告资源请求消息后,经过步骤S30,返回给CSE1指示资源创建成功的消息响应,以更新AE1的资源属性;离CSE1最近的远程CSE逐级向离CSE1远的远程CSE发送创建通告资源请求消息,直至距离CSE1最远端的远程CSE接收到所述创建通告资源请求消息,经步骤S30处理向CSE1返回指示资源创建成功的消息响应,以逐步更新AE1的资源属性,提示AE1所需通告的资源更新到的具体位置。
参照图8,图8为本发明本地公共业务实体第二实施例的功能模块示意图,所述CSE1还包括:
判断检测模块100,设置为判断需要通告到的所述远程CSE是否已接收到创建通告资源请求消息,若否,则CSE1向远程CSE发送创建通告资源请求消息。
CSE1读取创建通告资源请求消息中的通告参数,检测更新资源是否对通告参数中的远程CSE进行过通告,若未通告过,则发送创建通告资源请求消息给远程CSE;若已通告过,则不向远程CSE发送创建通告资源请求消息,这样避免了向已经通告过的远程CSE重复发送创建通告资源请求消息,避免了不必要的创建通告资源请求消息在网络上传输,减小了网络拥塞。
所述判断检测模块100设置为在远程CSE接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程CSE的标识或地址,若是,则验证CSE1的权限;
若验证CSE1有权限,则创建通告资源,并向CSE1发送指示通告资源创建成功的响应消息,以供CSE1更新AE1的资源属性
所述发送模块80还设置为向所述远程CSE发送资源递送消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例可以解决一般的通告方法不能将拥有资源的公共业务实体通告到未注册的远程公共业务实体上的技术问题。

Claims (17)

  1. 一种更新资源通告的方法,其中包括:
    本地公共业务实体接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程公共业务实体的标识或地址;
    所述本地公共业务实体向所述远程公共业务实体发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;
    所述本地公共业务实体接收远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
  2. 如权利要求1所述的更新资源通告的方法,其中,所述本地公共业务实体向所述远程公共业务实体发送创建通告资源请求消息步骤包括:
    若所述远程公共业务实体为多个,所述本地公共业务实体发送创建通告资源请求消息至距离本地公共业务实体最近的远程公共业务实体,以供多个所述远程公共业务实体逐级转发所述创建通告资源请求消息,直至发送至与本地公共业务实体距离最远的远程公共业务实体。
  3. 如权利要求1所述的更新资源通告的方法,其中,所述本地公共业务实体接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数的步骤之后,所述方法还包括:
    所述本地公共业务实体判断需要通告到的所述远程公共业务实体是否已接收到创建通告资源请求消息,若否,则所述本地公共业务实体向远程公共业务实体发送创建通告资源请求消息。
  4. 如权利要求1所述的更新资源通告的方法,其中,所述本地公共业务实体接收远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性的步骤之前,所述方法还包括:
    所述远程公共业务实体接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程公共业务实体的标识或地址,若是,则验证本 地公共业务实体的权限;
    所述远程公共业务实体若验证本地公共业务实体有权限,则创建通告资源,并向本地公共业务实体发送指示通告资源创建成功的响应消息,以供本地公共业务实体更新本地应用实体的资源属性。
  5. 如权利要求1所述的更新资源通告的方法,还包括:
    所述本地公共业务实体向所述远程公共业务实体发送资源递送消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性;
    所述本地公共业务实体接收所述远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
  6. 一种本地公共业务实体,包括:
    接收读取模块,其设置为:接收本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程公共业务实体的标识或地址;
    发送模块,其设置为:向所述远程公共业务实体发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;以及
    更新模块,其设置为:接收所述远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
  7. 如权利要求6所述的本地公共业务实体,其中,在所述远程公共业务实体为多个时,所述发送模块还设置为:发送创建通告资源请求消息至距离本地公共业务实体最近的远程公共业务实体,以供多个所述远程公共业务实体逐级转发所述创建通告资源请求消息,直至发送至与所述本地公共业务实体距离最远的远程公共业务实体。
  8. 如权利要求6所述的本地公共业务实体,还包括:
    判断检测模块,其设置为:判断需要通告到的所述远程公共业务实体是否已接收到创建通告资源请求消息,若否,则本地公共业务实体向远程公共业务实体发送创建通告资源请求消息。
  9. 如权利要求8所述的本地公共业务实体,其中,所述判断检测模块还设置为:
    在所述远程公共业务实体接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程公共业务实体的标识或地址,若是,则验证所述本地公共业务实体的权限;
    若验证所述本地公共业务实体有权限,则创建通告资源,并向所述本地公共业务实体发送指示通告资源创建成功的响应消息,以供所述本地公共业务实体更新所述本地应用实体的资源属性。
  10. 如权利要求6所述的本地公共业务实体,其中,所述发送模块还设置为:
    向所述远程公共业务实体发送资源递送消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性。
  11. 一种更新资源通告系统,包括本地应用实体、本地公共业务实体和远程公共业务实体,
    所述本地应用实体设置为向所述本地公共业务实体发送更新资源请求消息;
    所述远程公共业务实体设置为接收或转发创建通告资源请求消息;
    所述本地公共业务实体包括:
    接收读取模块,设置为接收所述本地应用实体发送的更新资源请求消息,读取所述请求消息中的通告参数,该通告参数包括需要通告到的远程公共业务实体的标识或地址;
    发送模块,设置为向所述远程公共业务实体发送创建通告资源请求消息,所述创建通告资源请求消息包括通告资源的标识或地址、被通告资源的搜索标签和所述通告参数;以及
    更新模块,设置为接收所述远程公共业务实体在创建通告资源后发送的指示通告资源创建成功的响应消息,更新本地应用实体的资源属性。
  12. 如权利要求11所述的更新资源通告系统,其中,在所述远程公共业 务实体为多个时,所述本地公共业务实体的发送模块还设置为发送创建通告资源请求消息至距离所述本地公共业务实体最近的远程公共业务实体,以供多个所述远程公共业务实体逐级转发所述创建通告资源请求消息,直至发送至与所述本地公共业务实体距离最远的远程公共业务实体。
  13. 如权利要求11所述的更新资源通告系统,其中,所述本地公共业务实体还包括:
    判断检测模块,设置为判断需要通告到的所述远程公共业务实体是否已接收到创建通告资源请求消息,若否,则所述本地公共业务实体向所述远程公共业务实体发送创建通告资源请求消息。
  14. 如权利要求13所述的更新资源通告系统,其中,所述判断检测模块还设置为:
    在所述远程公共业务实体接收到所述创建通告资源请求消息后,检查所述通告参数中是否包括所述远程公共业务实体的标识或地址,若是,则验证本地公共业务实体的权限;
    若验证所述本地公共业务实体有权限,则创建通告资源,并向所述本地公共业务实体发送指示通告资源创建成功的响应消息,以供所述本地公共业务实体更新所述本地应用实体的资源属性。
  15. 如权利要求11所述的更新资源通告系统,其中,所述发送模块还设置为:
    向所述远程公共业务实体发送资源递送消息,所述资源递送消息包括发起实体属性、目标实体属性及数据属性。
  16. 一种计算机程序,包括程序指令,当该程序指令被本地公共业务实体执行时,使得该本地公共业务实体可执行权利要求1-5任一项所述的方法。
  17. 一种载有权利要求16所述计算机程序的计算机可读存储介质。
PCT/CN2014/093096 2014-07-30 2014-12-05 更新资源通告的方法、本地公共业务实体及系统 WO2015117482A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410372821.8 2014-07-30
CN201410372821.8A CN105323228B (zh) 2014-07-30 2014-07-30 更新资源通告的方法、本地公共业务实体及系统

Publications (1)

Publication Number Publication Date
WO2015117482A1 true WO2015117482A1 (zh) 2015-08-13

Family

ID=53777288

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/093096 WO2015117482A1 (zh) 2014-07-30 2014-12-05 更新资源通告的方法、本地公共业务实体及系统

Country Status (2)

Country Link
CN (1) CN105323228B (zh)
WO (1) WO2015117482A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110391927A (zh) * 2018-04-20 2019-10-29 华为技术有限公司 一种设备状态同步的方法及公共能力组件

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211037B (zh) * 2016-06-30 2019-06-04 海尔优家智能科技(北京)有限公司 删除资源、更新宣告资源标识属性的方法及cse设备
CN107567006A (zh) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 M2m应用的信息方法、cse及ae
CN108235281B (zh) * 2016-12-12 2023-09-22 京东方科技集团股份有限公司 应用实体创建资源和注册方法、通信节点设备及终端设备
CN108206985A (zh) * 2017-09-04 2018-06-26 中兴通讯股份有限公司 管理属性通告的方法、装置、设备和计算机存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011098150A1 (en) * 2010-02-15 2011-08-18 Telefonaktiebolaget L M Ericsson (Publ) Machine-to-machine device triggering using session initiation protocol uniform resourse identifier
WO2011112051A2 (ko) * 2010-03-11 2011-09-15 엘지전자 주식회사 무선 통신 시스템에서 mtc를 위한 방법 및 장치
CN103299601A (zh) * 2010-11-19 2013-09-11 交互数字专利控股公司 用于资源通告及去通告的机器对机器(m2m)接口过程
CN103621113A (zh) * 2011-02-11 2014-03-05 交互数字专利控股公司 用于管理机器对机器(m2m)实体的系统、方法和设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685210B (zh) * 2012-09-26 2018-02-13 中兴通讯股份有限公司 终端的注册方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011098150A1 (en) * 2010-02-15 2011-08-18 Telefonaktiebolaget L M Ericsson (Publ) Machine-to-machine device triggering using session initiation protocol uniform resourse identifier
WO2011112051A2 (ko) * 2010-03-11 2011-09-15 엘지전자 주식회사 무선 통신 시스템에서 mtc를 위한 방법 및 장치
CN103299601A (zh) * 2010-11-19 2013-09-11 交互数字专利控股公司 用于资源通告及去通告的机器对机器(m2m)接口过程
CN103621113A (zh) * 2011-02-11 2014-03-05 交互数字专利控股公司 用于管理机器对机器(m2m)实体的系统、方法和设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110391927A (zh) * 2018-04-20 2019-10-29 华为技术有限公司 一种设备状态同步的方法及公共能力组件
US11496564B2 (en) 2018-04-20 2022-11-08 Huawei Cloud Computing Technologies Co., Ltd. Device state synchronization method and common capability component

Also Published As

Publication number Publication date
CN105323228A (zh) 2016-02-10
CN105323228B (zh) 2019-11-05

Similar Documents

Publication Publication Date Title
KR102046700B1 (ko) 메시지 버스 서비스 디렉토리
WO2015117482A1 (zh) 更新资源通告的方法、本地公共业务实体及系统
CN110035110B (zh) 跨域服务层资源传播方法及设备
US9544288B2 (en) Messaging gateway
CN110169089A (zh) 用于应用友好型协议数据单元会话管理的系统和方法
US20160294886A1 (en) Registration Method and System for Common Service Entity
CN110597918B (zh) 一种账户管理方法、装置及计算机可读存储介质
US20220014594A1 (en) Framework for dynamic brokerage and management of topics and data at the service layer
CN107404512B (zh) 资源订阅方法、资源订阅装置和资源订阅系統
WO2017092348A1 (zh) 一种键值对数据库中的客户端配置更新方法、设备及系统
US20170303065A1 (en) Method and device for creating subscription resource
US20140198702A1 (en) Method and system for enabling multicast distribution of mobile device update data
JP6599546B2 (ja) サービス層におけるアンルートリソース発見を可能にする方法
WO2015117391A1 (zh) 一种实现资源属性通告的方法和公共业务实体
WO2016173280A1 (zh) 监控管理方法及装置
WO2014183668A1 (zh) 一种机器类型通信应用的资源管理方法、节点和系统
US10070408B2 (en) Application registration methods and apparatuses
WO2016184178A1 (zh) 资源的控制方法和装置
WO2015168981A1 (zh) 属性的操作方法及装置
EP3128715B1 (en) Resource creation method and apparatus
WO2016023348A1 (zh) 用户设备的注册方法、实体、系统及计算机存储介质
WO2015117342A1 (zh) 一种通知消息的发送方法、装置和系统
EP3320650B1 (en) Service layer anycast and somecast
WO2015117330A1 (zh) 一种删除通告资源的方法和公共业务实体
WO2017136979A1 (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: 14881582

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: 14881582

Country of ref document: EP

Kind code of ref document: A1