WO2015081786A1 - 订阅通知的实现方法和装置 - Google Patents
订阅通知的实现方法和装置 Download PDFInfo
- Publication number
- WO2015081786A1 WO2015081786A1 PCT/CN2014/091492 CN2014091492W WO2015081786A1 WO 2015081786 A1 WO2015081786 A1 WO 2015081786A1 CN 2014091492 W CN2014091492 W CN 2014091492W WO 2015081786 A1 WO2015081786 A1 WO 2015081786A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- notification message
- latest
- subscription
- notification
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
- H04L67/306—User profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/54—Store-and-forward switching systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/827—Aggregation of resource allocation or reservation requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/224—Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
- H04L67/5651—Reducing the amount or size of exchanged application data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Definitions
- the present invention relates to the field of Machine-to-Machine Communications (M2M) technology, and in particular, to a method and an apparatus for implementing subscription notification.
- M2M Machine-to-Machine Communications
- Machine-to-Machine Communications is a networked application and service centered on machine intelligence interaction. It embeds wireless or wired communication modules and application processing logic inside the machine to realize data communication without manual intervention to meet the information needs of users for monitoring, command and dispatch, data acquisition and measurement.
- FIG. 1 is a typical M2M system architecture.
- various terminals such as sensors
- various applications such as power meter reading, intelligent transportation, etc.
- the gateway and the platform are both Common Service Entities (CSE).
- CSE Common Service Entities
- the application on the terminal can be registered to the gateway connected to the terminal. All gateways need to be registered to the service platform.
- the CSE receiving the registration is called the local CSE.
- the local CSE of application 1 in FIG. 1 is gateway A
- the local CSE of application 2 is gateway B
- the local CSE of gateways A and B is a service platform.
- the application 2 on the terminal b wishes to continuously understand the state change of the application 1 on the other terminal a, but does not want to frequently query the application 1.
- TS102 690 and TS 102 921 developed by the European Telecommunications Standards Institute (ETSI)
- ETSI European Telecommunications Standards Institute
- a subscription notification mechanism is provided. That is, the application 2 subscribes to the registration resource of the application 1 on its local CSE (ie, gateway A); when the application 1 changes, it goes to its local CSE, ie, the network.
- the gateway A updates the registered resource status, and the gateway A sends a notification message to the application 2 according to the status update of the registered resource.
- the application 2 is called a subscriber, and the registration resource of the application 1 on its local CSE is called a subscribed resource, and the CSE where the subscribed resource is located is called a hosting public service entity (Hosting CSE).
- the Hosting CSE will create a subscription resource based on the subscription request of the subscriber (ie, Application 2), and the subscription resource is used to describe the subscription relationship.
- the specific content of the subscription resource may include: a subscribed resource identifier, a notification sending address, and optionally, a subscription condition. At the same time, the relationship between the subscribed resource and the subscribed resource is saved in the subscribed resource.
- the notification message reported by the gateway A is forwarded to the gateway B through the other CSEs.
- the notification message is forwarded to the gateway B through a CSE (that is, the service platform).
- the platform determines that if it is a non-emergency message, it caches it locally.
- the service platform establishes a connection with the gateway B, and sends the cached message together.
- the mechanism for receiving messages from other CSEs and forwarding them to another CSE after being cached locally for a period of time is called a Store and Forward (SAF) mechanism, and the CSE of the store-and-forward mechanism is executed during the message transmission process.
- SAF Store and Forward
- the CSE of the store-and-forward mechanism is executed during the message transmission process.
- the time that the message is buffered at the intermediate node is called the store-and-forward delay.
- the application 1 is used to generate weather information
- the application 2 is used to provide a life reminder for the user according to the weather
- the weather change information needs to be known in real time, so the application 1 is subscribed, thereby creating the subscription resource 1.
- the weather department gateway A sends a notification message to the application 2 according to the subscription resource 1. Since the notification about the weather change belongs to the non-emergency notification message, when the notification message arrives at the service platform, the service platform caches the notification message according to the store-and-forward policy.
- the service platform will receive the gateway A to the new notification message sent to the application 2 according to the subscription resource 1.
- the two notification messages may reach the application 2 in one connection, that is, the subscriber may receive the same subscription in one connection. Read multiple notification messages sent by the resource.
- Application 2 only cares about the latest weather information, so the notification message sent earlier is invalid, resulting in wasted network resources and subscriber computing resources.
- the method and apparatus for implementing the subscription notification provided by the embodiment of the present invention can avoid waste of network resources and computing resources because a plurality of notification messages sent according to the same subscription resource are simultaneously sent to the subscriber in one connection.
- the hosting public service entity hosting CSE that implements the subscription notification provided by the embodiment of the present invention includes: a receiving unit, configured to receive a subscription subscription resource request of the subscriber, where the creation subscription resource request includes a unique identifier of the subscribed resource a resource creation unit, configured to create a subscription resource according to the request for creating a subscription resource received by the receiving unit, and a determining unit, configured to determine that the subscriber needs to obtain an latest state of the subscribed resource; After the determining unit determines that the subscriber needs to obtain the latest state of the subscribed resource, allocate a latest state identifier to the subscription resource created by the resource creation unit, where the latest state identifier is used to indicate The subscriber needs to obtain the latest state of the subscribed resource; the generating unit is configured to generate a notification message according to the subscription resource created by the resource creation unit when the status of the subscribed resource is updated, the notification The message includes a status of the updated subscribed resource and the allocation unit The latest state identifier, so that after the intermediate no
- the determining unit configured to determine that the subscriber needs to obtain the latest state of the subscribed resource, specifically includes: the determining unit, according to the determining The indication information included in the create subscription resource request determines that the subscriber needs to obtain the latest status of the subscribed resource.
- the determining unit is configured to determine the subscription
- the determining, by the determining unit, the determining unit is configured to determine, according to the locally saved indication information included in the subscriber-related policy information, that the subscriber needs to obtain State the latest status of the subscribed resource.
- the intermediate node that implements the subscription notification includes: a receiving unit, configured to receive a notification message, where the notification message includes a status of the updated subscribed resource; and a determining unit, configured to determine the The notification message received by the receiving unit includes a latest status identifier, a saving unit, configured to save the notification message received by the receiving unit, and a determining unit, configured to determine a locally saved notification message generated according to the subscription resource.
- the latest notification message; the sending unit is configured to send only the latest notification message when the message sending condition is met according to the latest status identifier.
- the intermediate node further includes a searching unit, configured to find that other notification messages are locally saved, and the other notification messages and the notification message are based on the same subscription resource.
- the saving unit is configured to save the notification message that is received by the receiving unit, where the saving unit is configured to replace the notification message received by the receiving unit with the searching unit.
- the determining unit is further configured to: the determining unit is further configured to determine that the latest notification message in the notification message generated according to the subscription resource that is locally saved is specifically: the determining unit is further used The notification message generated according to the subscription resource saved locally is determined to be the latest notification message.
- the intermediate node further includes a searching unit, configured to find that other notification messages are locally saved, and the other notification messages and the notification message are based on the same subscription resource.
- the determining unit is further configured to determine that the latest notification message in the notification message generated according to the subscription resource that is locally saved is specifically: the determining unit is further configured to determine the locally saved notification message and the searching The latest notification message among the other notification messages that the unit finds.
- the latest state identifier is a globally unique identifier for identifying the subscription resource;
- the searching unit is configured to find that other notification messages are saved locally, and the other notification messages and the notification messages are generated according to the same subscription resource: the searching unit is configured to find other locally saved notification messages.
- the notification message received by the receiving unit is the same as the latest status identifier included in the other notification message.
- the latest status identifier is used to identify the subscription resource and is unique on the hosting public service entity hosting CSE
- the locating unit is configured to find that other notification messages are saved locally, and the other notification messages and the notification messages are generated according to the same subscription resource: the searching unit is configured to find the local The other notification message that is saved, the notification message received by the receiving unit and the latest status identifier and the message sending source address included in the other notification message are the same.
- the searching unit is configured to find that other notification messages are saved locally, the other notification messages and the The notification message is generated according to the same subscription resource: the searching unit is configured to search for other notification messages saved locally, and the notification message received by the receiving unit and the subscription resource included in the other notification message
- the Universal Resource Identifier (URI) is the same.
- the method for implementing the subscription notification includes: receiving a subscription subscription resource request of the subscriber, where the creation subscription resource request includes a unique identifier of the subscribed resource; and creating a subscription resource according to the creating the subscription request.
- the latest notification message generated according to the subscription resource is only sent to the subscriber when the message is sent.
- the determining that the subscriber needs to obtain the latest state of the subscribed resource is specifically: determining, according to the indication information included in the creating a subscription resource request What the subscriber needs to obtain is the latest status of the subscribed resource.
- the determining, by the subscriber, that the subscribed resource needs to obtain the latest state of the subscribed resource is specifically: according to the locally saved policy information related to the subscriber The indication information determines that the subscriber needs to obtain the latest status of the subscribed resource.
- the method for implementing the subscription notification includes: receiving a notification message, where the notification message includes an updated status of the subscribed resource, determining that the notification message includes an latest status identifier; and saving the receiving a notification message to the destination; determining a latest notification message in the locally saved notification message generated according to the subscription resource; and according to the latest status identifier, only sending the latest notification message when the message transmission condition is met.
- the saving the received notification message specifically includes: after finding that other notification messages are locally saved, the other notification messages and the notification message are according to the same And generating, by the subscription resource, the received notification message is saved to the local device in a manner of replacing the other notification message; and determining the latest notification message in the locally saved notification message generated according to the subscription resource specifically includes: determining local The saved notification message generated according to the subscription resource is the latest notification message.
- the determining, by the locally saved, the latest notification message in the notification message generated according to the subscription resource specifically includes: after finding that other notification messages are locally saved, the other notification message And the notification message is generated according to the same subscription resource, and determines the locally saved notification message and the latest notification message of the other notification messages.
- the latest status identifier is a globally unique identifier for identifying the subscription resource; the lookup saves other notification messages locally, and the other notification messages and the notification message are based on the same subscription resource.
- the generated specificity is: finding other locally saved notification messages, and the notification messages and the other notification messages contain the same latest status identifier.
- the latest state identifier is used to identify the subscription resource and is unique on the hosting public service entity hosting CSE
- the identifier is stored locally, and the other notification message is saved locally, and the other notification message and the notification message are generated according to the same subscription resource: searching for other locally saved notification messages, the notification message and the The other status messages included in the other notification messages are the same as the source address of the message.
- the searching for the local saves another notification message, where the other notification message and the notification message are based on the same
- the subscription resource is generated by: finding another locally saved notification message, and the notification message and the other notification message contain the same subscription resource universal resource identifier (URI).
- URI subscription resource universal resource identifier
- the technical solution provided by the embodiment of the present invention can be used to create a subscription resource request according to the subscription creation request, and create a subscription resource according to the creation subscription request; and determine that the subscriber needs to obtain the subscribed resource.
- a latest state the latest status identifier is allocated to the created subscription resource; when the status of the subscribed resource is updated, a notification message is generated according to the subscription resource and sent to the intermediate node, where the notification message includes the latest status
- the intermediate node receives the notification message, sending only the latest notification message generated according to the subscription resource to the subscriber according to the latest state identifier.
- FIG. 1 is a schematic structural diagram of a prior art M2M system
- FIG. 2 is a structural diagram of a system for implementing subscription notification according to an embodiment of the present invention
- FIG. 3 is a structural diagram of a Hosting CSE implementing subscription notification according to an embodiment of the present invention
- FIG. 4 is a structural diagram of an intermediate node for implementing subscription notification according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a method for implementing a subscription notification according to an embodiment of the present invention
- FIG. 6 is a flowchart of a method for implementing a subscription notification according to another embodiment of the present invention.
- FIG. 7 is a flowchart of implementing signaling of subscription notification according to an embodiment of the present invention.
- FIG. 8 is a flowchart of implementing signaling of a subscription notification according to another embodiment of the present invention.
- FIG. 9 is a structural diagram of a Hosting CSE based on a computer system according to an embodiment of the present invention.
- FIG. 10 is a structural diagram of an intermediate node based on a computer system according to an embodiment of the present invention.
- the embodiment of the present invention provides a system for implementing a subscription notification.
- the implementation system 200 for the subscription notification includes:
- the hosting public service entity hosting CSE 201 is configured to receive a subscriber's create subscription resource request, where the create subscription resource request includes a unique identifier of the subscribed resource; create a subscription resource according to the create subscription request; and determine the subscriber needs Obtaining the latest status of the subscribed resource,
- the created subscription resource is configured with an latest status identifier, where the latest status identifier is used to indicate that the subscriber needs to obtain the latest status of the subscribed resource; when the status of the subscribed resource is updated, according to the
- the subscription resource generation notification message is sent to the intermediate node, and the notification message includes the status of the updated subscribed resource and the latest status identifier, so that after the intermediate node receives the notification message,
- the latest status identifier sends only the latest notification message generated according to the subscription resource to the subscriber when the message sending condition is satisfied; and
- the intermediate node 202 is configured to receive a notification message, where the notification message includes a status of the updated subscribed resource, determine that the notification message includes a latest status identifier, save the received notification message, and determine a locally saved subscription according to the subscription.
- the intermediate nodes in the subscription notification implementation system 200 may have one or more, that is, the intermediate nodes may be connected to other intermediate nodes, and they perform the same operations in the subscription notification implementation process of the present invention.
- An embodiment of the present invention provides a hosting public service entity Hosting CSE for implementing subscription notification.
- the Hosting CSE 300 includes:
- the receiving unit 301 is configured to receive a subscription subscription resource request of the subscriber, where the create subscription resource request includes a unique identifier of the subscribed resource.
- a resource creation unit 302 configured to create a subscription resource according to the request for creating a subscription resource received by the receiving unit 301;
- the determining unit 303 is configured to determine that the subscriber needs to obtain the latest state of the subscribed resource
- the allocating unit 304 is configured to allocate, after the determining unit 303, that the subscriber needs to obtain the latest state of the subscribed resource, to allocate the latest state identifier to the subscription resource created by the resource creating unit 302, the latest The status identifier is used to indicate that the subscriber needs to obtain the subscribed resource.
- Latest state of affairs
- a generating unit 305 configured to: when the status of the subscribed resource is updated, generate a notification message according to the subscription resource created by the resource creation unit, where the notification message includes a status of the updated subscribed resource and the The latest status identifier allocated by the allocation unit, so that after the intermediate node receives the notification message, according to the latest status identifier, only the latest notification message generated according to the subscription resource is sent to the subscriber when the message sending condition is met;
- the sending unit 306 is configured to send the notification message generated by the generating unit 305 to the intermediate node.
- the determining unit 303 is configured to determine that the subscriber needs to obtain the latest state of the subscribed resource, and the determining unit 303 is configured to determine, according to the indication information included in the create a subscription resource request, What the subscriber needs to get is the latest status of the subscribed resource.
- the determining unit 303 is configured to determine that the subscriber needs to obtain the latest state of the subscribed resource, where the determining unit 303 is configured to: according to the locally saved policy information related to the subscriber, The indication information determines that the subscriber needs to obtain the latest status of the subscribed resource.
- the allocating unit 304 is configured to: after the determining unit determines that the subscriber needs to acquire the latest state of the subscribed resource, allocate a latest state identifier to the subscription resource created by the resource creating unit, The latest status identifier is used to indicate that the subscriber needs to obtain the latest status of the subscribed resource.
- the method further includes: the latest status identifier is a globally unique identifier for identifying the subscription resource.
- the allocating unit 304 is configured to: after the determining unit determines that the subscriber needs to acquire the latest state of the subscribed resource, allocate a latest state identifier to the subscription resource created by the resource creating unit, The latest status identifier is used to indicate that the subscriber needs to obtain the latest status of the subscribed resource.
- the method further includes: the latest status identifier is a unique identifier for identifying the subscription resource and hosted on the hosting public service entity. logo.
- the allocating unit 304 is configured to: after the determining unit determines that the subscriber needs to obtain the latest state of the subscribed resource, allocate a latest state, the latest state, to the subscription resource created by the resource creating unit.
- the status identifier is used to indicate that the subscriber needs to obtain the latest status of the subscribed resource, and further includes: all subscription resources have the same latest status identifier.
- the sending, by the sending unit 306, the sending the notification message generated by the generating unit to the intermediate node specifically includes: the sending unit 306, configured to directly encapsulate the notification message generated by the generating unit 305 in an HTTP message.
- the sending unit 306, configured to directly encapsulate the notification message generated by the generating unit 305 in an HTTP message.
- the resource expression is encapsulated in a Restful message and sent to the intermediate node.
- An embodiment of the present invention provides an intermediate node for implementing subscription notification.
- the intermediate node 400 includes:
- the receiving unit 401 is configured to receive a notification message, where the notification message includes a status of the updated subscribed resource.
- a determining unit 402 configured to determine that the notification message received by the receiving unit 401 includes a latest status identifier
- a saving unit 404 configured to save the notification message received by the receiving unit 401;
- the determining unit 402 is further configured to determine a latest notification message in the locally saved notification message generated according to the subscription resource;
- the sending unit 405 is configured to send only the latest notification message when the message sending condition is met according to the latest state identifier.
- the intermediate node 400 further includes a searching unit 403, configured to find that other notification messages are locally saved, and the other notification messages and the notification message received by the receiving unit 401 are generated according to the same subscription resource.
- the saving unit 404 configured to save the notification message received by the receiving unit 401, specifically: the saving unit 404, configured to receive the received by the receiving unit 401
- the notification message is saved to the local device in a manner of replacing the other notification message that is found by the searching unit 403.
- the determining unit 402 is further configured to determine a latest notification message in the locally saved notification message generated according to the subscription resource. Specifically, the determining unit 402 is further configured to determine that the locally saved notification message generated according to the subscription resource is the latest notification message.
- the intermediate node 400 further includes a searching unit 403, configured to find that other notification messages are locally saved, and the other notification messages and the notification message received by the receiving unit 401 are generated according to the same subscription resource;
- the determining unit 402 is further configured to determine that the latest notification message in the notification message generated according to the subscription resource that is locally saved is specifically: the determining unit 402 is further configured to determine the locally saved notification message and the searching unit 403 The latest notification message among the other notification messages found.
- the latest status identifier is a globally unique identifier for identifying the subscription resource
- the searching unit 403 is configured to find that other notification messages are saved locally, the other notification message and the notification.
- the message is generated according to the same subscription resource.
- the search unit 403 is configured to search for other notification messages that are saved locally, and the notification message received by the receiving unit 401 and the latest information included in the other notification message.
- the status ID is the same.
- the latest status identifier is an identifier that is used to identify the subscription resource and is unique on the hosting public service entity hosting CSE;
- the searching unit 403 is configured to find that other notification messages are locally saved, The other notification message and the notification message are generated according to the same subscription resource.
- the searching unit 403 is configured to search for other notification messages that are saved locally, and the notification message and the received by the receiving unit 401.
- the other status messages included in the other notification messages are the same as the source address of the message.
- the searching unit 403 is configured to find that other notification messages are saved locally, where the other notification messages and the notification messages are generated according to the same subscription resource: the searching unit 403 is configured to: Finding other locally saved notification messages, the notification message received by the receiving unit 401 and the subscription resource universal resource identifier (Universal) included in the other notification message Resource Identifier, URI) is the same.
- the searching unit 403 is configured to: Finding other locally saved notification messages, the notification message received by the receiving unit 401 and the subscription resource universal resource identifier (Universal) included in the other notification message Resource Identifier, URI) is the same.
- Universal universal resource identifier
- the M2M service platform can be a computer, a device with a processor.
- M2M gateways and M2M terminals.
- devices that make gateways can also be used as terminals.
- various terminal devices such as mobile phones, computers, PDAs, notebook computers, remote controllers, household appliances, and various Instrumentation, sensors, etc. can be used as gateways or terminals for M2M networks.
- each module included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; in addition, the specific names of the functional modules are only for convenience. They are distinguished from each other and are not intended to limit the scope of protection of the present invention.
- the embodiment of the present invention provides a method for implementing a subscription notification, which is applied to a hosted public service entity Hosting CSE that deploys a subscribed resource.
- the method includes:
- Step 501 Receive a subscription subscription resource request of the subscriber, where the create subscription resource request includes a unique identifier of the subscribed resource.
- Step 502 Create a subscription resource according to the create subscription request.
- Step 503 Determine that the subscriber needs to obtain the latest state of the subscribed resource, and allocate the latest state identifier to the created subscription resource, where the latest state identifier is used to indicate that the subscriber needs to obtain the State the latest status of the subscribed resource.
- determining that the subscriber needs to obtain the latest state of the subscribed resource may be: determining, according to the indication information included in the create subscription resource request, that the subscriber needs to obtain the subscribed resource. The latest state, or determining, according to the locally saved indication information included in the subscriber-related policy information, that the subscriber needs to obtain the latest state of the subscribed resource.
- the latest status identifier may be a globally unique identifier for identifying the subscription resource, or the latest status identifier may be one for identifying the subscription resource and being hosted.
- the public service entity hosts a unique identifier on the CSE, or all subscription resources have the same latest status identifier.
- Step 504 When the status of the subscribed resource is updated, generate a notification message according to the subscription resource and send the notification message to the intermediate node, where the notification message includes the status of the updated subscribed resource and the latest status identifier. After the intermediate node receives the notification message, according to the latest state identifier, only the latest notification message generated according to the subscription resource is sent to the subscriber when the message sending condition is met.
- generating the notification message according to the subscription resource and sending the notification message to the intermediate node may be: generating a notification message according to the subscription resource, and directly encapsulating the notification message in an HTTP message, sending the message to the intermediate node, or according to the notification
- the message generates a resource representation of the store-and-forward resource, and the resource expression is encapsulated in a Restful message and sent to the intermediate node.
- Another embodiment of the present invention provides a method for implementing a subscription notification, which is applied to an intermediate node that forwards a notification message.
- the method includes:
- Step 601 Receive a notification message, where the notification message includes a status of the updated subscribed resource, and determine that the notification message includes a latest status identifier.
- Step 602 Save the received notification message.
- Step 603 Determine a latest notification message in the locally saved notification message generated according to the subscription resource.
- the saving the received notification message in step 602 specifically includes: after finding that other notification messages are saved locally, the other notification messages and the notification message are generated according to the same subscription resource, and the The received notification message is saved locally to replace the other notification message.
- the step is specifically: determining that the locally saved notification message generated according to the subscription resource is the latest notification message.
- the step is specifically: after finding that other notification messages are saved locally, the other The notification message and the notification message are generated according to the same subscription resource, and determine the locally saved notification message and the latest notification message among the other notification messages.
- the latest status identifier is specifically a globally unique identifier for identifying the subscription resource, and the search saves other notification messages locally, and the other notification messages and the notification message are based on the same subscription resource.
- the generated specific information is: finding another locally saved notification message, where the notification message and the other notification message contain the same latest status identifier; or the latest status identifier is specifically used to identify the subscription resource and
- the hosted public service entity hosts a unique identifier on the CSE, and the search saves other notification messages locally, and the other notification messages and the notification message are generated according to the same subscription resource: finding other notifications saved locally a message, the latest status identifier and the message sending source address included in the notification message and the other notification message are the same; or, the finding is stored locally with other notification messages, and the other notification messages and the notification message are the same according to the same
- the subscription resource is generated by: finding the locally saved He notification message, the notification message and the notification message subscription resource contains additional universal resource identifier (Universal Resource Identifier, URI) the
- Step 604 According to the latest status identifier, only the latest notification message is sent when the message sending condition is met.
- the method further includes deleting the locally saved notification message generated according to the subscription resource.
- the embodiment of the present invention provides a signaling flowchart for implementing subscription notification, which is shown in FIG. 7.
- App1 registers with its local CSE, which creates a registration resource for App1, assigns an ID to the registered resource, then generates a URI of the registered resource, and returns the registered resource URI to App1.
- the registered resource ID is a globally unique string, such as application1
- the registered resource URI is composed of a registered resource ID and a URI of the local CSE. Therefore, the registration resource URI is also a globally unique string, and both the registration resource ID and the registration resource URI can be unique to the registered resource.
- logo For example, in this embodiment, the local CSE URI of App1 is http://example.com/gateway1, and the registered resource URI is http://example.com/gateway1/application1.
- App1 sets the access rights of the registered resource after the registration process or registration, and allows other users including App2 to access and subscribe to the registered resource.
- the local CSE is called Hosting CSE of App1. Therefore, when App2 accesses the Hosting CSE, the registration resource of App1 on the Hosting CSE can be found, and the registered resource is subscribed after obtaining the unique identifier of the registered resource, and the subscriber App2 wants to receive the registration each time. The latest status of the resource.
- the specific implementation process is as follows:
- Step 701 The subscriber App2 sends a create subscription resource request to its own registration gateway CSE2, where the create subscription resource request includes a unique identifier of the subscribed resource and a unique identifier of the subscriber App2.
- the subscribed resource is the registration resource of App1 on the Hosting CSE. Therefore, the unique identifier of the subscribed resource is the unique identifier of the registered resource of App1 on the Hosting CSE.
- the subscription subscription resource request may further include a subscription condition.
- App2 includes indication information in the request to create a subscription resource to indicate that the subscriber needs to obtain the latest state of the subscribed resource; or App2 accesses the setting system of the M2M service provider in advance, in the configuration policy information. Adding the indication information; or App2 agrees that App2 only obtains the latest status information of the subscribed resource when the contract is signed with the M2M service provider, and the M2M service provider adds the indication information to the configuration policy information; or, for the subscribed resource
- the newly generated data is meaningful, such as the data used to display the status of the electrical switch in the smart home, so that the Hosting CSE or M2M service provider where the subscribed resource is located will add indication information to the configuration policy information to indicate that App2 needs to obtain The latest status of the subscribed resource, the configuration policy information can be saved on the Hosting CSE.
- the configuration policy information includes indication information, to indicate that the subscriber needs to obtain the latest state of the subscribed resource, which may be specifically: by creating Add a parameter RepeatCheck in the subscription resource request or the configuration policy information, and the value of the parameter is a specified valid value to indicate that the subscriber needs to obtain the latest state of the subscribed resource, which may be a Boolean, an integer, or a string type. Or other type.
- the added parameter RepeatCheck is a Boolean type, and when the parameter value is TRUE, the subscriber only obtains the latest state of the subscribed resource.
- Step 702 After receiving the request for creating a subscription resource, the CSE2 forwards the create subscription request to the Hosting CSE with the registered resource (ie, the subscribed resource) of App1 according to the create subscription request. Specifically, the CSE2 forwards the unique identifier of the subscribed resource carried in the created subscription resource request to the Hosting CSE having the subscribed resource.
- the CSE2 After receiving the request for creating a subscription resource, the CSE2 forwards the create subscription request to the Hosting CSE with the registered resource (ie, the subscribed resource) of App1 according to the create subscription request. Specifically, the CSE2 forwards the unique identifier of the subscribed resource carried in the created subscription resource request to the Hosting CSE having the subscribed resource.
- Step 703 The Hosting CSE creates a subscription resource after receiving the request to create a subscription resource, and allocates a latest state identifier to the subscription resource after determining that the subscriber needs to obtain the latest state of the subscribed resource.
- a subscription resource ID is assigned to the subscription resource and a subscription resource URI is generated, and an association relationship between the subscription resource and the subscribed resource is saved.
- the assigned subscription resource ID is a unique string in the Hosting CSE, for example, subscriptionB
- the subscription resource URI is composed of the subscribed resource URI and the subscription resource ID, because the subscribed resource URI is a globally unique string, so the subscription
- the resource URI is also a globally unique string.
- the value of the subscription resource URI is http://example.com/gateway1/application1/subscriptionB.
- the association relationship between the subscriptionB and the application1 is saved by using the created subscription resource subscriptionB as a child node of the resource tree of the subscribed resource application1.
- the created subscription resource includes a unique identifier of the subscribed resource carried in the create subscription resource request and a unique identifier of App2.
- the subscription resource further includes the subscription condition.
- the Hosting CSE determines that the latest state of the subscribed resource that the subscriber needs to obtain is specifically: determining, according to the indication information included in the request for creating the subscription resource, that the App2 needs to be acquired.
- the latest state of the subscribed resource is determined by the latest state of the subscribed resource, or according to the locally saved information indicating the information related to the App2.
- the Hosting CSE determines whether the App2 needs to obtain the latest state of the subscribed resource by checking whether the parameter of the created subscription resource or the policy information has a parameter RepeatCheck and whether the parameter is a specified valid value. For example, in the present embodiment, it is determined that the App2 needs to acquire the latest state of the subscribed resource by determining to carry the Boolean parameter RepeatCheck and its value is True.
- the latest status identifier is a globally unique identifier for identifying the subscription resource.
- the globally unique latest state identifier may be a subscription resource URI or other string.
- the latest status identifier is an identifier that identifies the subscription resource and is unique on the hosting public service entity hosting CSE.
- the unique latest state identifier may be a subscription resource ID or other string.
- the latest state identifier may be a specified string.
- the Hosting CSE may use the latest state identifier as an attribute of the subscription resource or create a table to save the association relationship between the subscription resource and the latest state identifier.
- Step 704 When the status update of App1 occurs, a status update request is sent to the Hosting CSE.
- App1 status update includes application logout and App1 attribute changes.
- the status update request includes a registration resource URI allocated by the Hosting CSE for the registered resource of App1.
- the registration resource URI is also the subscribed resource URI.
- Step 705 The Hosting CSE updates the status of the subscribed resource after receiving the status update request, generates a first notification message according to the subscription resource, and sends the status to the intermediate node, and includes the update after the first notification message is included.
- the status of the subscribed resource and the latest status ID The status of the subscribed resource and the latest status ID.
- the step includes: after receiving the status update request, the Hosting CSE is configured according to the The subscribed resource URI carried in the status update request updates the status of the subscribed resource. And the Hosting CSE finds the subscription resource according to the corresponding relationship between the subscribed resource and the subscription resource, and determines that the subscription resource includes the latest state identifier, and generates a first notification message according to the subscription resource, where the first notification message includes Transmitting a source address (ie, a Hosting CSE URI) and a recipient address (ie, an App2 URI) and a subscription resource URI, and including, in the first notification message, a status of the updated subscribed resource and the latest status identifier .
- a source address ie, a Hosting CSE URI
- a recipient address ie, an App2 URI
- the first notification message may be a message in a primitive format, where the sending source address Hosting CSE URI, the receiving party address App2 URI, and the latest state identifier are included in the attribute part of the first notification message, the subscription resource URI, and the update.
- the status of the subscribed resource is included in the resource part of the first notification message.
- the resource part of the first notification message may include the updated subscribed resource.
- the first notification message is generated.
- the receiver address may be obtained according to the ContactURI of the subscription resource.
- the Hosting CSE determines the delivery manner of the first notification message according to the locally saved configuration information. Specifically, the following two delivery modes are available: Directly sending the first notification message in an HTTP-Hypertext Transfer Protocol (HTTP) message, for example, sending the first notification message by using an HTTP POST, and preferably, the first format of the primitive
- HTTP Hypertext Transfer Protocol
- the attribute part of a notification message is encapsulated into a message header of the HTTP, and the resource part of the first notification message is encapsulated into the message body of the HTTP; and the generated storage is generated after the resource representation of the store-and-forward resource is generated according to the first notification message.
- the resource description of the forwarding resource is encapsulated and sent in the Restful message.
- the resource representation of the ⁇ delivery> is generated, and the first notification message is used as the data attribute value of the resource of the ⁇ delivery>, and then the resource of the ⁇ delivery> is expressed.
- the encapsulation is delivered in the Restful Create message.
- Step 706 The intermediate node receives the first notification message and determines that the first notification message includes After the latest status identifier, it is checked whether other notification messages generated according to the same subscription resource as the first notification message are saved locally. In an embodiment, since this is the first status update after App1 is subscribed, the other notification message generated by the same subscription resource according to the first notification message is not saved locally, and the first notification message is saved. locally.
- the latest state identifier is a globally unique identifier for identifying the subscription resource
- the intermediate node checks whether the first notification message is saved locally.
- the other notification message generated according to the same subscription resource is specifically: determining whether the intermediate node stores other notification messages that contain the same latest state identifier as the first notification message.
- the latest state identifier is an identifier for identifying the subscription resource and unique on the hosting public service entity hosting CSE
- the intermediate node checks whether the local storage is saved.
- the other notification message generated by the first notification message according to the same subscription resource is specifically: determining whether the intermediate node stores other notification messages including the latest state identifier and the message sending source address, which are the same as the first notification message.
- the intermediate node checks whether the local notification is saved with other notifications generated according to the same subscription resource as the first notification message.
- the message is specifically: determining whether the intermediate node stores other notification messages that contain the same subscription resource URI as the first notification message.
- the third manner may also be used to check whether other notification messages generated by the first notification message according to the same subscription resource are saved locally.
- the first step of the first notification message includes the latest status identifier, Further obtaining the source address of the message included in the first notification message, and for each other notification message, parsing the content of the message to obtain the latest
- the status identifier and the message sending source address are determined twice, that is, whether the acquired latest state identifier is the same as the latest state identifier included in the first notification message, and whether the obtained message sending source address and the first notification message are included.
- the message sending source address is the same.
- the notification message is to be parsed once to obtain the subscription resource URI and to make a judgment, that is, to determine whether the acquired subscription resource URI is the same as the subscription resource URI included in the first notification message; therefore, in comparison,
- the first example of this embodiment has the highest processing efficiency.
- the check whether the local notification message is stored according to the same subscription resource that is generated by the first notification message is specifically: checking whether the cache queue is saved. And the other notification message generated by the first notification message according to the same subscription resource; the saving the first notification message locally: storing the first notification message in a cache queue of the intermediate node.
- the intermediate node includes multiple cache queues, each cache queue is used to save the same notification message of the next hop CSE, and an associated timer is set for the cache queue according to the forwarding storage policy of the intermediate node; when the buffer queue is When the notification message is stored, if it is the first notification message in the cache queue, the timer of the cache queue is started after the notification message is stored.
- the check whether the local notification message is saved according to the same subscription resource that is generated by the first notification message is specifically: checking whether to save in the store-and-forward resource. And the other notification message generated by the first notification message according to the same subscription resource; the saving the first notification message locally: creating a store-and-forward resource in the intermediate node, saving the first notification message In the attributes of the store-and-forward resource, for example, a ⁇ delivery> resource is created, and the first notification message is saved in the data attribute of the ⁇ delivery> resource.
- the intermediate node sets a unified timer for the notification message with the same next hop CSE according to the forwarding storage policy, and records the association between the timer and the CSE and the storage and forwarding resources including the notification message; Determining a notification message included in the store-and-forward resource when storing and forwarding a resource After the next hop is the CSE, the association between the timer and the store-and-forward resource is added to the record information; when the association between the timer and the store-and-forward resource is added to the record information, if the record information is The first store-and-forward resource in the program starts the timer.
- Step 707 App1 again updates the status and sends a status update request to the Hosting CSE.
- Step 708 The Hosting CSE updates the status of the subscribed resource after receiving the status update request, generates a second notification message according to the subscription resource, and sends the status to the intermediate node, and includes the update after the second notification message is included.
- the status of the subscribed resource and the latest status ID The status of the subscribed resource and the latest status ID.
- step 705. For a description of the status of the updated subscription resource in the step, refer to step 705.
- the Hosting CSE generates a second notification message according to the subscription resource, and includes the updated subscribed resource in the second notification message.
- the description of the status and the latest status identifier is the same as the operation of the first notification message in step 705.
- the manner in which the Hosting CSE sends the second notification message is the same as the manner in which the first notification message is sent in step 705.
- Step 707 After receiving the second notification message and determining that the latest state identifier is included, the intermediate node checks whether other notification messages generated by the second notification message according to the same subscription resource are saved locally. In this embodiment, the foregoing first notification message has been saved, and the intermediate node determines that the first notification message and the second notification message are generated according to the same subscription resource, and replaces the second notification message with the second notification message. A notification message.
- the intermediate node checks whether the implementation of the other notification message generated by the second notification message according to the same subscription resource is saved locally, and in step 706, it is checked whether the local subscription is saved according to the same subscription as the first notification message.
- Other notification messages generated by the resource are implemented in the same way.
- the replacing the second notification message with the first notification message is specifically: the first notification message in the cache queue is to be sent.
- the replacing the first notification message with the first notification message is specifically: replacing the first notification message in the storage and forwarding resource with the second notification message.
- Step 710 When the message sending condition is met, the intermediate node sends the locally saved notification message to the next hop CSE.
- the second notification message is locally saved, and the intermediate node sends the second notification message. Give CSE2.
- step 706 the method directly proceeds to step 710, that is, after receiving the other notification message generated according to the subscription resource, the message sending condition is satisfied, and the first notification message is locally saved, and the intermediate node A notification message is sent to CSE2.
- the intermediate node receives one or more other notification messages generated according to the subscription resource, where the last one of the other notification messages is saved locally, and the intermediate node sends the other notification message. The last one is sent to CSE2.
- the step is specifically: when the timer associated with the cache queue expires, the notification message saved in the cache queue is sent to the next hop CSE, and The timer associated with the cache queue is cleared and the notification message in the cache queue is deleted.
- the step is specifically: when the timer associated with the storage and forwarding resource expires, the notification message included in all the storage and forwarding resources recorded in the record information is sent to The next hop CSE clears the timer associated with the store-and-forward resource and deletes the store-and-forward resource.
- the intermediate node sends the second notification message to the CSE2 before passing through the second intermediate node, and the second intermediate node performs the same operation as the intermediate node, and details are not described herein again.
- Step 711 The CSE2 sends the second notification message to the App2.
- the gateway CSE2 determines that the App2 is registered on the gateway according to the address of the receiver of the second notification message, and directly sends the second notification message to App2.
- the notification message sent to the intermediate node includes the latest status identifier, so that the intermediate node replaces the locally saved and the notification message according to the same subscription resource after determining that the received notification message includes the latest status identifier.
- the generated existing notification message can ensure that the intermediate node only forwards the latest notification message generated according to the subscription resource, thereby preventing the subscriber from receiving multiple notification messages sent according to the same subscription resource in one connection, thereby saving the network. Resources and computing resources.
- FIG. 1 Another embodiment of the present invention provides a signaling flowchart for implementing subscription notification, which is illustrated in FIG.
- the process of registering the App1 to its local CSE and setting the access authority of the registered resource refers to the detailed description of the corresponding embodiment of FIG. 7.
- the registration resource of App1 on the Hosting CSE can be found.
- the registered resource is subscribed, and the subscriber App2 hopes to receive the latest registration of the registered resource each time. status.
- the specific implementation process is as follows:
- Step 801 - Step 805 Refer to Step 701 - Step 705 of the corresponding embodiment of FIG.
- Step 806 The intermediate node saves the first notification message locally.
- step 706 of the corresponding embodiment of FIG. 7 the implementation manner of saving the first notification message locally is described in step 706 of the corresponding embodiment of FIG. 7 to save the first notification message in a local description.
- Step 807-Step 808 Refer to steps 707-708 of the corresponding embodiment of FIG.
- Step 809 The intermediate node saves the second notification message locally.
- the method for saving the second notification message in the local implementation manner saves the first notification message in a local description in step 706 of the corresponding embodiment of FIG. 7 .
- Step 810 When the message sending condition is met, the intermediate node determines whether the locally saved first notification message includes the latest state identifier, and checks whether the local saves another notification message generated by the first notification message according to the same subscription resource. The latest notification message and the latest notification message in the first notification message are sent to the next hop CSE. In this embodiment, the first notification message and the second notification message are saved locally, and after the intermediate node determines that the second notification message is the latest notification message, the second notification is cancelled. The message is sent to CSE2.
- step 806 proceed directly to step 810, that is, after receiving the other notification message generated according to the subscription resource, the message sending condition is satisfied, and only the first notification message is saved locally, and the intermediate node A notification message is sent to CSE2.
- the intermediate node receives one or more other notification messages generated according to the subscription resource, where the first notification message, the second notification message, and the other notification message are locally saved.
- the node sends the latest notification message in the first notification message, the second notification message, and other notification messages to CSE2.
- the specific time is: when the timer associated with the cache queue expires.
- the time is: when the timer associated with the store-and-forward resource expires.
- the notification message includes timestamp information
- the sending the latest notification message and the latest notification message in the first notification message to the next hop CSE is specifically: according to the other notification message and the first notification message.
- the included timestamp information is sent to the next hop CSE by the other notification message and the latest notification message in the first notification message.
- the step further includes deleting the other locally saved notification message and the first notification message.
- the intermediate node sends the second notification message to the CSE2 before passing through the second intermediate node, and the second intermediate node performs the same operation as the intermediate node, and details are not described herein again.
- Step 811 Refer to step 711 of the corresponding embodiment of FIG.
- the notification message sent to the intermediate node includes the latest status identifier, and the intermediate node saves the notification message when the notification is needed.
- the intermediate node determines that the notification message includes the latest status identifier, searches for other notification messages that are locally saved and generated by the notification message according to the same subscription resource, and the latest notification in the notification message and other notification messages.
- the message is delivered, and the intermediate node can only forward the latest notification generated according to the subscription resource, thereby preventing the subscriber from receiving multiple notifications sent according to the same subscription resource in one connection, thereby saving network resources and computing resources.
- the Hosting CSE in the embodiment of the present invention may be implemented based on a computer system, and the methods shown in FIG. 5, FIG. 7, and FIG. 8 may all be implemented in a Hosting CSE based on a computer system.
- Figure 9 illustrates an embodiment of a Hosting CSE implemented based on a computer system.
- the Hosting CSE in this embodiment may include: a processor 901, a memory 902, and a communication interface 903, where:
- a communication interface 903 is configured to communicate with subscribers and intermediate nodes. The messages exchanged between the Hosting CSE and the subscribers and intermediate nodes are all sent and received through the communication interface 903.
- the communication interface 903 is configured to receive a subscription subscription resource request of the subscriber and send a notification message to the intermediate node;
- the memory 902 is configured to store the program instruction;
- the processor 901 is configured to: after the communication interface 903 receives the subscription resource request from the subscriber Calling the program instructions stored in the memory 902, performing the following operations: creating a subscription resource according to the create subscription request; determining that the subscriber needs to obtain the latest state of the subscribed resource, and creating the subscribed resource Allocating a latest status identifier, the latest status identifier is used to indicate that the subscriber needs to obtain the latest status of the subscribed resource; when the subscribed resource is updated, generating a notification message according to the subscription resource and sending To the intermediate node, the notification message includes the status of the updated subscribed resource and the latest status identifier, so that after
- the processor 901 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or the like.
- the Hosting CSE in this embodiment may include a bus 904.
- the processor 901, the memory 902, and the communication interface 903 can be connected and communicated via a bus 904.
- the memory 902 may include: a random access memory (RAM), a read-only memory (ROM), a disk and the like having a storage function.
- the processor 901 can also be used to perform the steps of the Hosting CSE described in FIG. 5, FIG. 7 and FIG. 8 in the method embodiment, and the embodiments of the present invention are not described in detail herein.
- the intermediate nodes in the embodiments of the present invention may be implemented based on a computer system, and the methods shown in FIG. 6, FIG. 7, and FIG. 8 may all be implemented in an intermediate node based on a computer system.
- Figure 10 illustrates an embodiment of an intermediate node implemented based on a computer system.
- the intermediate node in this embodiment may include: a processor 1001, a memory 1002, and a communication interface 1003, where:
- the communication interface 1003 is configured to communicate with the last hop CSE. Messages between the intermediate node and the last hop CSE are sent and received through the communication interface 1003. Specifically, the communication interface 1003 is configured to receive a notification message from the last hop CSE; the memory 1002 is configured to store program instructions; and the processor 1001 is configured to invoke the program stored in the memory 1002 after the communication interface 1003 receives the notification message from the last hop CSE.
- the processor 1001 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or the like.
- the intermediate node in this embodiment may include a bus 1004.
- the processor 1001, the memory 1002, and the communication interface 1003 can be connected and communicated via the bus 1004.
- the memory 1002 may include: random access memory (RAM), read-only memory (ROM), magnetic An entity such as a disk that has a storage function.
- the processor 1001 can also be used to perform the steps of the intermediate nodes described in FIG. 6 , FIG. 7 and FIG. 8 in the method embodiment, and the embodiments of the present invention are not described in detail herein.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims (28)
- 一种实现订阅通知的托管公共服务实体hosting CSE,其特征在于,所述hosting CSE包括:接收单元,用于接收订阅者的创建订阅资源请求,所述创建订阅资源请求中包含被订阅资源的唯一标识;资源创建单元,用于根据所述接收单元接收到的创建订阅资源请求而创建订阅资源;确定单元,用于确定所述订阅者需要获取的是所述被订阅资源的最新状态;分配单元,用于在所述确定单元确定所述订阅者需要获取的是所述被订阅资源的最新状态后,为所述资源创建单元创建的订阅资源分配最新状态标识,所述最新状态标识用于指示所述订阅者需要获取的是所述被订阅资源的最新状态;生成单元,用于当所述被订阅资源的状态发生更新时,根据所述资源创建单元创建的订阅资源生成通知消息,所述通知消息包含所述更新后的被订阅资源的状态以及所述分配单元分配的最新状态标识,以便于中间节点接收到所述通知消息后,根据所述最新状态标识在满足消息发送条件时向所述订阅者只发送根据所述订阅资源生成的最新通知消息;发送单元,用于将所述生成单元生成的通知消息发送给所述中间节点。
- 根据权利要求1所述的托管公共服务实体hosting CSE,其特征在于,所述确定单元用于确定所述订阅者需要获取的是所述被订阅资源的最新状态具体包括:所述确定单元,用于根据所述创建订阅资源请求中包含的指示信息确定所述订阅者需要获取的是所述被订阅资源的最新状态。
- 根据权利要求1所述的托管公共服务实体hosting CSE,其特征在于,所述确定单元用于确定所述订阅者需要获取的是所述被订阅资源的最新状态具体 包括:所述确定单元,用于根据本地保存的与所述订阅者相关策略信息中包含的指示信息确定所述订阅者需要获取的是所述被订阅资源的最新状态。
- 根据权利要求1-3中任一所述的托管公共服务实体hosting CSE,其特征在于,所述分配单元用于在所述确定单元确定所述订阅者需要获取的是所述被订阅资源的最新状态后,为所述资源创建单元创建的订阅资源分配最新状态标识,所述最新状态标识用于指示所述订阅者需要获取的是所述被订阅资源的最新状态进一步包括:所述最新状态标识是一个用于识别所述订阅资源且全局唯一的标识。
- 根据权利要求1-3中任一所述的托管公共服务实体hosting CSE,其特征在于,所述分配单元用于在所述确定单元确定所述订阅者需要获取的是所述被订阅资源的最新状态后,为所述资源创建单元创建的订阅资源分配最新状态标识,所述最新状态标识用于指示所述订阅者需要获取的是所述被订阅资源的最新状态进一步包括:所述最新状态标识是一个用于识别所述订阅资源且在托管公共服务实体hosting CSE上唯一的标识。
- 根据权利要求1-3中任一所述的托管公共服务实体hosting CSE,其特征在于,所述分配单元用于在所述确定单元确定所述订阅者需要获取的是所述被订阅资源的最新状态后,为所述资源创建单元创建的订阅资源分配最新状态标识,所述最新状态标识用于指示所述订阅者需要获取的是所述被订阅资源的最新状态进一步包括:所有的订阅资源具有相同的最新状态标识。
- 根据权利要求1-6中任一所述的托管公共服务实体hosting CSE,其特征在于,所述发送单元用于将所述生成单元生成的通知消息发送给所述中间节点具体包括:所述发送单元,用于将所述生成单元生成的通知消息直接封装在HTTP消息中发送给所述中间节点,或者在根据所述通知消息生成存储转发资源的资源表述后,将所述资源表述封装在Restful消息中发送给所述中间节点。
- 一种实现订阅通知的中间节点,其特征在于,所述中间节点包括:接收单元,用于接收到通知消息,所述通知消息包含更新后的被订阅资源的状态;确定单元,用于确定所述接收单元接收到的所述通知消息包含最新状态标识;保存单元,用于保存所述接收单元接收到的所述通知消息;确定单元,还用于确定本地保存的根据订阅资源生成的通知消息中的最新通知消息;发送单元,用于根据所述最新状态标识,在满足消息发送条件时只发送所述最新通知消息。
- 根据权利要求8所述的中间节点,其特征在于,所述中间节点还包括查找单元,用于查找到本地保存有其他通知消息,所述其他通知消息和所述接收单元接收到的通知消息是根据相同的订阅资源生成的;所述保存单元,用于保存所述接收单元接收到的所述通知消息具体为:所述保存单元,用于将所述接收单元接收到的所述通知消息以替换所述查找单元查找到的所述其他通知消息的方式保存到本地;所述确定单元,还用于确定本地保存的根据所述订阅资源生成的通知消息中的最新通知消息具体为:所述确定单元,还用于确定本地保存的根据所述订阅资源生成的通知消息为最新通知消息。
- 根据权利要求8所述的中间节点,其特征在于,所述中间节点还包括查找单元,用于查找到本地保存有其他通知消息,所述其他通知消息和所述接收单元接收到的通知消息是根据相同的订阅资源生成的;所述确定单元,还用于确定本地保存的根据订阅资源生成的通知消息中的最 新通知消息具体为:所述确定单元,还用于确定本地保存的所述通知消息和所述查找单元查找到的所述其他通知消息中的最新通知消息。
- 根据权利要求9或10所述的中间节点,其特征在于,所述最新状态标识是一个用于识别所述订阅资源且全局唯一的标识;所述查找单元,用于查找到本地保存有其他通知消息,所述其他通知消息和所述通知消息是根据相同的订阅资源生成的具体为:所述查找单元,用于查找到本地保存的其他通知消息,所述接收单元接收到的所述通知消息和所述其他通知消息包含的最新状态标识相同。
- 根据权利要求9或10所述的中间节点,其特征在于,所述最新状态标识是一个用于识别所述订阅资源且在托管公共服务实体hosting CSE上唯一的标识;所述查找单元,用于查找到本地保存有其他通知消息,所述其他通知消息和所述通知消息是根据相同的订阅资源生成的具体为:所述查找单元,用于查找到本地保存的其他通知消息,所述接收单元接收到的所述通知消息和所述其他通知消息包含的最新状态标识以及消息发送源地址相同。
- 根据权利要求9或10所述的中间节点,其特征在于,所述查找单元,用于查找到本地保存有其他通知消息,所述其他通知消息和所述通知消息是根据相同的订阅资源的生成具体为:所述查找单元,用于查找到本地保存的其他通知消息,所述接收单元接收到的所述通知消息和所述其他通知消息包含的订阅资源通用资源标识符(Universal Resource Identifier,URI)相同。
- 根据权利要求8所述的中间节点,其特征在于,所述中间节点还包括删除单元,用于在所述发送单元只发送所述最新通知消息之后将所述本地保存的根据所述订阅资源生成的通知消息删除。
- 一种订阅通知的实现方法,其特征在于,所述方法包括:接收订阅者的创建订阅资源请求,所述创建订阅资源请求中包含被订阅资源的唯一标识;根据所述创建订阅资源请求创建订阅资源;确定所述订阅者需要获取的是所述被订阅资源的最新状态,为所述创建的订阅资源分配最新状态标识,所述最新状态标识用于指示所述订阅者需要获取的是所述被订阅资源的最新状态;当所述被订阅资源的状态发生更新时,根据所述订阅资源生成通知消息并发送给中间节点,所述通知消息包含所述更新后的被订阅资源的状态以及所述最新状态标识,以便于所述中间节点接收到所述通知消息后,根据所述最新状态标识在满足消息发送条件时所述订阅者只发送根据所述订阅资源生成的最新通知消息。
- 根据权利要求15所述的方法,其特征在于,所述确定所述订阅者需要获取的是所述被订阅资源的最新状态具体为:根据所述创建订阅资源请求中包含的指示信息确定所述订阅者需要获取的是所述被订阅资源的最新状态。
- 根据权利要求15所述的方法,其特征在于,所述确定所述订阅者需要获取的是所述被订阅资源的最新状态具体为:根据本地保存的与所述订阅者相关策略信息中包含的指示信息确定所述订阅者需要获取的是所述被订阅资源的最新状态。
- 根据权利要求15-17中任一所述的方法,其特征在于,所述最新状态标识是一个用于识别所述订阅资源且全局唯一的标识。
- 根据权利要求15-17中任一所述的方法,其特征在于,所述最新状态标识是一个用于识别所述订阅资源且在托管公共服务实体hosting CSE上唯一的标识。
- 根据权利要求15-17中任一所述的方法,其特征在于,所有的订阅资源具有相同的最新状态标识。
- 根据权利要求15-20中任一所述的方法,其特征在于,所述根据所述订阅资源生成通知消息并发送给中间节点包括:根据所述订阅资源生成通知消息,并将所述通知消息直接封装在HTTP消息中发送给中间节点,或者根据所述通知消息生成存储转发资源的资源表述,将所述资源表述封装在Restful消息中发送给中间节点。
- 一种订阅通知的实现方法,其特征在于,所述方法包括:接收到通知消息,所述通知消息包含更新后的被订阅资源的状态,确定所述通知消息包含最新状态标识;保存所述接收到的通知消息;确定本地保存的根据订阅资源生成的通知消息中的最新通知消息;根据所述最新状态标识,在满足消息发送条件时只发送所述最新通知消息。
- 根据权利要求22中所述的方法,其特征在于,所述保存所述接收到的通知消息具体包括:查找到本地保存有其他通知消息后,所述其他通知消息和所述通知消息是根据相同的订阅资源生成的,将所述接收到的通知消息以替换所述其他通知消息的方式保存到本地;所述确定本地保存的根据订阅资源生成的通知消息中的最新通知消息具体包括:确定本地保存的根据所述订阅资源生成的通知消息为最新通知消息。
- 根据权利要求22中所述的方法,其特征在于,所述确定本地保存的根据订阅资源生成的通知消息中的最新通知消息具体包括:查找到本地保存有其他通知消息后,所述其他通知消息和所述通知消息是根据相同的订阅资源生成的,确定本地保存的所述通知消息和所述其他通知消息中的最新通知消息。
- 根据权利要求23或24所述的方法,其特征在于,所述最新状态标识是一个用于识别所述订阅资源且全局唯一的标识;所述查找到本地保存有其他通知消息,所述其他通知消息和所述通知消息 是根据相同的订阅资源生成的具体为:查找到本地保存的其他通知消息,所述通知消息和所述其他通知消息包含的最新状态标识相同。
- 根据权利要求23或24所述的方法,其特征在于,所述最新状态标识是一个用于识别所述订阅资源且在托管公共服务实体hosting CSE上唯一的标识;所述查找到本地保存有其他通知消息,所述其他通知消息和所述通知消息是根据相同的订阅资源生成的具体为:查找到本地保存的其他通知消息,所述通知消息和所述其他通知消息包含的最新状态标识以及消息发送源地址相同。
- 根据权利要求23或24所述的方法,其特征在于,所述查找到本地保存有其他通知消息,所述其他通知消息和所述通知消息是根据相同的订阅资源生成的具体为:查找到本地保存的其他通知消息,所述通知消息和所述其他通知消息包含的订阅资源通用资源标识符(Universal Resource Identifier,URI)相同。
- 根据权利要求22中所述的方法,其特征在于,所述方法之后还包括:将所述本地保存的根据所述订阅资源生成的通知消息删除。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016527381A JP6275837B2 (ja) | 2013-12-05 | 2014-11-19 | サブスクリプション通知を実施するための方法および装置 |
EP14867548.1A EP3043530B1 (en) | 2013-12-05 | 2014-11-19 | Method and apparatus for implementing subscription notification |
KR1020167010322A KR101806257B1 (ko) | 2013-12-05 | 2014-11-19 | 가입 통지를 구현하기 위한 방법 및 장치 |
AU2014359963A AU2014359963B2 (en) | 2013-12-05 | 2014-11-19 | Method and apparatus for implementing subscription notification |
US15/090,401 US20160219125A1 (en) | 2013-12-05 | 2016-04-04 | Method and apparatus for implementing subscription notification |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310655509.5A CN103618800B (zh) | 2013-12-05 | 2013-12-05 | 订阅通知的实现方法和装置 |
CN201310655509.5 | 2013-12-05 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/090,401 Continuation US20160219125A1 (en) | 2013-12-05 | 2016-04-04 | Method and apparatus for implementing subscription notification |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015081786A1 true WO2015081786A1 (zh) | 2015-06-11 |
Family
ID=50169504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/091492 WO2015081786A1 (zh) | 2013-12-05 | 2014-11-19 | 订阅通知的实现方法和装置 |
Country Status (7)
Country | Link |
---|---|
US (1) | US20160219125A1 (zh) |
EP (1) | EP3043530B1 (zh) |
JP (1) | JP6275837B2 (zh) |
KR (1) | KR101806257B1 (zh) |
CN (3) | CN103618800B (zh) |
AU (1) | AU2014359963B2 (zh) |
WO (1) | WO2015081786A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017198088A1 (zh) * | 2016-05-19 | 2017-11-23 | 华为技术有限公司 | 资源订阅方法、资源订阅装置和资源订阅系统 |
KR20190002674A (ko) * | 2016-05-19 | 2019-01-08 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 자원 구독 방법, 자원 구독 장치, 및 자원 구독 시스템 |
US11108870B2 (en) | 2015-12-31 | 2021-08-31 | Huawei Technologies Co., Ltd. | Resource acquiring method and apparatus |
Families Citing this family (72)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618800B (zh) * | 2013-12-05 | 2017-11-03 | 华为技术有限公司 | 订阅通知的实现方法和装置 |
CN104104713B (zh) * | 2014-02-24 | 2018-03-23 | 中兴通讯股份有限公司 | 设备触发消息处理方法、承载网网元、m2m节点及系统 |
CN104936199A (zh) * | 2014-03-20 | 2015-09-23 | 中兴通讯股份有限公司 | 一种资源通告管理的方法及公共业务实体 |
CN105025458B (zh) | 2014-04-24 | 2020-08-11 | 中兴通讯股份有限公司 | 一种资源通告的方法、设备和系统 |
CN105101412A (zh) * | 2014-05-21 | 2015-11-25 | 中兴通讯股份有限公司 | 通知消息的发送方法及装置 |
CN105338586B (zh) * | 2014-05-29 | 2018-09-25 | 青岛海尔智能家电科技有限公司 | 一种用于资源控制消息的路由方法及装置 |
CN105228111A (zh) * | 2014-06-13 | 2016-01-06 | 中兴通讯股份有限公司 | 资源订阅处理方法及装置 |
CN105323186B (zh) * | 2014-06-20 | 2020-04-21 | 中兴通讯股份有限公司 | 一种通知消息的负载控制方法和装置 |
CN105208654B (zh) * | 2014-06-20 | 2020-09-01 | 中兴通讯股份有限公司 | 一种通知消息发送方法及装置 |
CN105323743A (zh) * | 2014-07-14 | 2016-02-10 | 中兴通讯股份有限公司 | 订阅资源变更通知的方法及装置 |
CN105263163B (zh) * | 2014-07-18 | 2019-01-15 | 中兴通讯股份有限公司 | 一种通知消息的发送方法、装置和系统 |
CN105407505B (zh) * | 2014-07-18 | 2019-05-17 | 青岛海尔智能家电科技有限公司 | 一种资源控制消息的处理方法及装置 |
CN105282118B (zh) * | 2014-07-21 | 2019-01-29 | 中兴通讯股份有限公司 | 控制资源变更通知消息发送方法及装置 |
CN105282682B (zh) * | 2014-07-25 | 2020-06-30 | 中兴通讯股份有限公司 | 一种实现资源属性通告的方法和公共业务实体 |
CN105282728B (zh) * | 2014-07-25 | 2019-05-24 | 中兴通讯股份有限公司 | 一种删除通告资源的方法和公共业务实体 |
WO2016026098A1 (zh) * | 2014-08-20 | 2016-02-25 | 华为技术有限公司 | 中间节点、基础设施节点及m2m业务消息转发方法 |
WO2016026145A1 (zh) * | 2014-08-22 | 2016-02-25 | 华为技术有限公司 | 标识配置方法、终端管理服务器及基础节点 |
CN105376706B (zh) * | 2014-08-29 | 2019-12-31 | 青岛海尔智能家电科技有限公司 | 一种订阅设备位置信息的方法和装置 |
CN105406953B (zh) * | 2014-09-15 | 2019-09-06 | 青岛海尔智能家电科技有限公司 | 一种聚合通知消息的方法及装置 |
CN105491620A (zh) * | 2014-09-19 | 2016-04-13 | 中兴通讯股份有限公司 | 一种m2m中管理应用资源的方法和注册节点 |
CN105491507B (zh) * | 2014-09-19 | 2020-10-27 | 中兴通讯股份有限公司 | 一种m2m中管理应用资源的方法和注册节点 |
CN105578381A (zh) * | 2014-10-10 | 2016-05-11 | 中兴通讯股份有限公司 | 一种创建订阅资源的方法和装置 |
CN105592400A (zh) * | 2014-10-24 | 2016-05-18 | 中兴通讯股份有限公司 | 一种应用专有节点的注册方法、通信方法和节点 |
EP3213205A1 (en) | 2014-10-31 | 2017-09-06 | Convida Wireless, LLC | Managing application relationships in machine-to-machine systems |
CN105611484B (zh) | 2014-11-03 | 2020-07-10 | 中兴通讯股份有限公司 | 一种m2m节点的管理方法和装置 |
CN105681210A (zh) | 2014-11-14 | 2016-06-15 | 中兴通讯股份有限公司 | 组资源更新处理方法、装置、系统及cse |
WO2016074455A1 (zh) * | 2014-11-14 | 2016-05-19 | 中兴通讯股份有限公司 | 组资源更新处理方法、装置、系统及cse |
CN105722040B (zh) * | 2014-12-03 | 2019-10-25 | 华为技术有限公司 | 一种业务消息的传输方法、装置及系统 |
CN105791000A (zh) * | 2014-12-26 | 2016-07-20 | 阿尔卡特朗讯 | 一种用于配置应用的方法与设备 |
CN104507054B (zh) * | 2014-12-29 | 2020-03-06 | 海尔优家智能科技(北京)有限公司 | 一种群组成员信息更新的方法及相关设备 |
CN105828273A (zh) * | 2015-01-06 | 2016-08-03 | 中兴通讯股份有限公司 | 组资源的管理方法及装置 |
CN107113225B (zh) * | 2015-01-09 | 2020-01-17 | 华为技术有限公司 | 机器通信系统中订阅通知的方法和实体 |
US9992258B2 (en) * | 2015-01-13 | 2018-06-05 | Whatsapp Inc. | Techniques for managing a remote web client from an application on a mobile device |
CN104602180B (zh) * | 2015-01-20 | 2017-12-22 | 西安工程大学 | 创建订阅资源系统及创建订阅资源的方法 |
CN104639429B (zh) * | 2015-02-12 | 2019-06-28 | 青岛海尔智能家电科技有限公司 | 一种云平台的消息通知方法及装置 |
CN105992123B (zh) * | 2015-02-12 | 2020-11-20 | 中兴通讯股份有限公司 | 一种控制获取m2m节点位置信息的方法、装置和系统 |
CN106161196A (zh) * | 2015-04-17 | 2016-11-23 | 阿尔卡特朗讯 | 一种获取http消息状态的方法、设备与系统 |
CN106162715A (zh) * | 2015-04-28 | 2016-11-23 | 中兴通讯股份有限公司 | 监控管理方法及装置 |
CN107950038B (zh) * | 2015-05-20 | 2021-03-23 | 康维达无线有限责任公司 | 用于分析和群聚服务层订阅和通知以提高效率的方法和设备 |
CN106331041A (zh) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | 一种刷新通知的方法和装置 |
CN106534054A (zh) * | 2015-09-15 | 2017-03-22 | 中兴通讯股份有限公司 | 多方会话的处理方法及装置 |
CN105376325A (zh) * | 2015-12-07 | 2016-03-02 | 青岛农业大学 | 获取http消息状态的方法、设备与系统 |
CN114245351A (zh) | 2016-07-14 | 2022-03-25 | 康维达无线有限责任公司 | 订阅和通知服务 |
CN113159910A (zh) * | 2016-07-29 | 2021-07-23 | 京东方科技集团股份有限公司 | 进行通知的方法、装置和系统 |
CN109964495B (zh) * | 2016-10-06 | 2022-06-10 | 康维达无线有限责任公司 | 应用的服务层移动性管理 |
KR101960608B1 (ko) * | 2016-10-07 | 2019-03-20 | 주식회사 케이티 | M2m 시스템에서 응답 메시지를 수신하는 방법 및 그 장치 |
KR20180039551A (ko) * | 2016-10-07 | 2018-04-18 | 주식회사 케이티 | Receiver CSE에서 효율적인 자원관리 위해 flexBlocking communication method를 처리하는 방법 |
CN108112007B (zh) * | 2016-11-25 | 2020-08-11 | 京东方科技集团股份有限公司 | 信息通知方法、装置及系统 |
CN108235281B (zh) * | 2016-12-12 | 2023-09-22 | 京东方科技集团股份有限公司 | 应用实体创建资源和注册方法、通信节点设备及终端设备 |
WO2018182065A1 (ko) * | 2017-03-30 | 2018-10-04 | 전자부품연구원 | M2m 시스템에서 다중 리소스 구독 연관 방법 |
CN109309654B (zh) * | 2017-07-28 | 2022-01-21 | 京东方科技集团股份有限公司 | 创建资源的方法及相应的注册方法、服务器和客户端装置 |
CN107770754A (zh) * | 2017-10-23 | 2018-03-06 | 中兴通讯股份有限公司 | 一种通知发送方法、装置和系统 |
CN109788011B (zh) * | 2017-11-13 | 2021-11-26 | 京东方科技集团股份有限公司 | 对资源进行关联的方法、通信终端和通信节点设备 |
CN108347362B (zh) * | 2018-01-09 | 2020-12-22 | 海尔优家智能科技(北京)有限公司 | 一种发现新设备的方法及桥接设备和系统中设备 |
CN108111630B (zh) * | 2018-01-22 | 2021-11-02 | 北京奇艺世纪科技有限公司 | 一种Zookeeper集群系统及其连接方法和系统 |
CN110167080A (zh) * | 2018-02-13 | 2019-08-23 | 中兴通讯股份有限公司 | 订阅信息更新的方法及装置 |
CN110351111B (zh) | 2018-04-04 | 2021-04-09 | 中国移动通信有限公司研究院 | 一种订阅处理方法、网络节点及用户数据库 |
CN110505591B (zh) * | 2018-05-18 | 2022-09-30 | 京东方科技集团股份有限公司 | 订阅服务实体、订阅终端及信息订阅方法和系统 |
CN110839011A (zh) * | 2018-08-17 | 2020-02-25 | 视联动力信息技术股份有限公司 | 监控资源信息的上报方法和装置 |
KR102137882B1 (ko) * | 2018-10-24 | 2020-07-24 | 전자부품연구원 | 구독 만료 관리 방법 및 이를 적용한 m2m 시스템 |
US12028430B2 (en) | 2018-11-28 | 2024-07-02 | Beijing Boe Technology Development Co., Ltd. | Event notification method, server device, apparatus and computer storage medium |
CN111245875B (zh) * | 2018-11-28 | 2022-03-04 | 京东方科技集团股份有限公司 | 事件通知方法、设备、装置和计算机存储介质 |
KR102434673B1 (ko) | 2018-12-13 | 2022-08-22 | 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 | 구독 메시지의 처리 방법, 장치, 컴퓨터 장치 및 저장 매체 |
US20210360074A1 (en) * | 2019-01-29 | 2021-11-18 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for subscription update |
US11102320B2 (en) * | 2019-09-03 | 2021-08-24 | International Business Machines Corporation | Post-delivery dynamic control of notifications in a push notification life-cycle |
WO2021102691A1 (zh) * | 2019-11-26 | 2021-06-03 | Oppo广东移动通信有限公司 | 资源订阅方法、装置、计算机设备和存储介质 |
CN111125126A (zh) * | 2019-11-29 | 2020-05-08 | 浪潮(北京)电子信息产业有限公司 | 一种存储状态管理方法、系统、电子设备及存储介质 |
CN111427699B (zh) * | 2020-03-02 | 2023-04-11 | 福建省天奕网络科技有限公司 | 消息提醒方法、存储介质 |
CN114520832B (zh) * | 2020-11-19 | 2023-08-25 | 腾讯科技(深圳)有限公司 | 一种数据流处理方法、装置、设备及计算机存储介质 |
CN113271337B (zh) * | 2021-04-22 | 2023-08-18 | 深圳蓝蛙网络技术有限公司 | 一种计算机消息订阅方法和装置 |
CN114731340A (zh) * | 2021-04-30 | 2022-07-08 | 商汤国际私人有限公司 | 交互信息的处理方法、装置、设备及存储介质 |
KR20240080956A (ko) * | 2022-11-30 | 2024-06-07 | 한국전자기술연구원 | 신규 데이터 인스턴스 생성을 위한 구독/통지 방법 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102904960A (zh) * | 2012-10-19 | 2013-01-30 | 北京奇虎科技有限公司 | 一种基于rss的信息同步系统及方法 |
CN102984688A (zh) * | 2012-11-13 | 2013-03-20 | 华为软件技术有限公司 | 一种订阅资源的清除方法和服务器 |
CN103209162A (zh) * | 2012-01-16 | 2013-07-17 | 中国科学院声学研究所 | 一种Web类业务部署方法及装置 |
CN103618800A (zh) * | 2013-12-05 | 2014-03-05 | 华为技术有限公司 | 订阅通知的实现方法和装置 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US102690A (en) * | 1870-05-03 | Improvement in pipe-tongs | ||
CN1783849A (zh) * | 2004-12-03 | 2006-06-07 | 腾讯科技(深圳)有限公司 | 一种基于即时通讯平台的消息订阅方法和系统 |
GB0521355D0 (en) * | 2005-10-19 | 2005-11-30 | Ibm | Publish/subscribe system and method for managing subscriptions |
CN101170522A (zh) * | 2007-12-03 | 2008-04-30 | 华为技术有限公司 | 一种发布历史事件的方法及系统 |
GB2469695A (en) * | 2009-04-21 | 2010-10-27 | Ibm | Keeping subscriber applications up-to-date |
CN101998348A (zh) * | 2009-08-25 | 2011-03-30 | 中兴通讯股份有限公司 | 一种计费系统及其进行计费的方法 |
CN102195985B (zh) * | 2011-05-19 | 2013-08-21 | 北京邮电大学 | 一种对呈现业务网络载荷进行控制的系统和方法 |
WO2014088340A1 (ko) * | 2012-12-05 | 2014-06-12 | 엘지전자 주식회사 | 무선 통신 시스템에서 접근 권한 인증을 위한 방법 및 장치 |
CN104995889B (zh) * | 2013-02-19 | 2019-01-01 | Lg电子株式会社 | 用于修改m2m服务设置的方法及其装置 |
JP6240312B2 (ja) * | 2013-05-16 | 2017-11-29 | エルジー エレクトロニクス インコーポレイティド | M2m通信システムにおいて購読及び通知のための方法及びそのための装置 |
CN103414589B (zh) * | 2013-08-13 | 2016-11-23 | 华为技术有限公司 | 一种管理资源信息的方法及装置 |
CN105580327B (zh) * | 2013-09-27 | 2018-12-18 | Lg电子株式会社 | 用于在m2m系统中传送通知消息的方法及其装置 |
-
2013
- 2013-12-05 CN CN201310655509.5A patent/CN103618800B/zh active Active
- 2013-12-05 CN CN201710060408.1A patent/CN106790676B/zh active Active
- 2013-12-05 CN CN201710060262.0A patent/CN106603394B/zh active Active
-
2014
- 2014-11-19 AU AU2014359963A patent/AU2014359963B2/en active Active
- 2014-11-19 KR KR1020167010322A patent/KR101806257B1/ko active IP Right Grant
- 2014-11-19 EP EP14867548.1A patent/EP3043530B1/en active Active
- 2014-11-19 JP JP2016527381A patent/JP6275837B2/ja active Active
- 2014-11-19 WO PCT/CN2014/091492 patent/WO2015081786A1/zh active Application Filing
-
2016
- 2016-04-04 US US15/090,401 patent/US20160219125A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103209162A (zh) * | 2012-01-16 | 2013-07-17 | 中国科学院声学研究所 | 一种Web类业务部署方法及装置 |
CN102904960A (zh) * | 2012-10-19 | 2013-01-30 | 北京奇虎科技有限公司 | 一种基于rss的信息同步系统及方法 |
CN102984688A (zh) * | 2012-11-13 | 2013-03-20 | 华为软件技术有限公司 | 一种订阅资源的清除方法和服务器 |
CN103618800A (zh) * | 2013-12-05 | 2014-03-05 | 华为技术有限公司 | 订阅通知的实现方法和装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3043530A4 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11108870B2 (en) | 2015-12-31 | 2021-08-31 | Huawei Technologies Co., Ltd. | Resource acquiring method and apparatus |
WO2017198088A1 (zh) * | 2016-05-19 | 2017-11-23 | 华为技术有限公司 | 资源订阅方法、资源订阅装置和资源订阅系统 |
KR20190002674A (ko) * | 2016-05-19 | 2019-01-08 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 자원 구독 방법, 자원 구독 장치, 및 자원 구독 시스템 |
US10637794B2 (en) | 2016-05-19 | 2020-04-28 | Huawei Technologies Co., Ltd. | Resource subscription method, resource subscription apparatus, and resource subscription system |
KR102158654B1 (ko) | 2016-05-19 | 2020-09-22 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 자원 구독 방법, 자원 구독 장치, 및 자원 구독 시스템 |
Also Published As
Publication number | Publication date |
---|---|
JP2017504854A (ja) | 2017-02-09 |
JP6275837B2 (ja) | 2018-02-07 |
EP3043530A1 (en) | 2016-07-13 |
US20160219125A1 (en) | 2016-07-28 |
EP3043530B1 (en) | 2020-03-25 |
CN106603394A (zh) | 2017-04-26 |
CN106603394B (zh) | 2020-02-14 |
KR20160060118A (ko) | 2016-05-27 |
AU2014359963A1 (en) | 2016-04-28 |
CN106790676B (zh) | 2020-07-07 |
CN106790676A (zh) | 2017-05-31 |
EP3043530A4 (en) | 2016-09-21 |
CN103618800A (zh) | 2014-03-05 |
CN103618800B (zh) | 2017-11-03 |
AU2014359963B2 (en) | 2017-11-30 |
KR101806257B1 (ko) | 2017-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015081786A1 (zh) | 订阅通知的实现方法和装置 | |
US11805441B2 (en) | Method and system for group communication, group server, and group member device | |
CN108353094B (zh) | 用于m2m服务层的跨资源订阅 | |
US9438601B2 (en) | Operating group resources in sub-groups and nested groups | |
CN106797400B (zh) | 用于使得能够经由服务层访问第三方服务的系统和方法 | |
CN105519071A (zh) | 使用逻辑信道进行通信的电子装置 | |
WO2014067311A1 (zh) | 资源订阅方法及装置 | |
EP3163798B1 (en) | Method for processing request messages in wireless communication system, and device for same | |
US20180316755A1 (en) | Method and apparatus for interworking between heterogeneous systems | |
WO2015117391A1 (zh) | 一种实现资源属性通告的方法和公共业务实体 | |
KR102500594B1 (ko) | 통신 네트워크에서의 서비스 계층 메시지 템플릿들 | |
WO2015168981A1 (zh) | 属性的操作方法及装置 | |
CN113424608B (zh) | 用于为网络提供外部服务的实体 | |
CN113709677A (zh) | 加入组播广播业务mbs会话的方法及装置 | |
CN114126085B (zh) | 工业现场总线通信方法、装置、电子设备及存储介质 | |
Li et al. | Efficient oneM2M protocol conversion platform based on NB-IoT access | |
WO2016109972A1 (zh) | 机器到机器系统中宣告属性的方法、公共服务实体和应用实体 | |
KR20220055259A (ko) | Nf 서비스 연동 지원장치 및 nf 서비스 연동 지원장치의 동작 방법 | |
KR20240099420A (ko) | 하나의 ue의 다중 세션에 대한 동일한 이벤트 구독을 위한 방법 및 장치 |
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: 14867548 Country of ref document: EP Kind code of ref document: A1 |
|
REEP | Request for entry into the european phase |
Ref document number: 2014867548 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014867548 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 20167010322 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2014359963 Country of ref document: AU Date of ref document: 20141119 Kind code of ref document: A Ref document number: 2016527381 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |