[go: up one dir, main page]

WO2018019281A1 - Method, apparatus and system for notification - Google Patents

Method, apparatus and system for notification Download PDF

Info

Publication number
WO2018019281A1
WO2018019281A1 PCT/CN2017/094795 CN2017094795W WO2018019281A1 WO 2018019281 A1 WO2018019281 A1 WO 2018019281A1 CN 2017094795 W CN2017094795 W CN 2017094795W WO 2018019281 A1 WO2018019281 A1 WO 2018019281A1
Authority
WO
WIPO (PCT)
Prior art keywords
event notification
participant
notification rule
subscription
feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/094795
Other languages
French (fr)
Chinese (zh)
Inventor
赵君杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201610665731.7A external-priority patent/CN107666432A/en
Application filed by BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to US16/319,976 priority Critical patent/US11677850B2/en
Priority to KR1020197005607A priority patent/KR102391277B1/en
Priority to JP2019504900A priority patent/JP7032377B2/en
Priority to EP17833584.0A priority patent/EP3493485B1/en
Publication of WO2018019281A1 publication Critical patent/WO2018019281A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Definitions

  • Embodiments of the present disclosure are directed to a method, apparatus, and system for making a notification.
  • a subscription notification mechanism is defined in the Internet of Things communication protocol, and the subscription direction is sent by the subscriber to send a subscription request, and when the event occurs, a notification is sent to the notified party.
  • Embodiments of the present disclosure provide a method, apparatus, and system for making notifications.
  • the method for performing notification includes:
  • Determining an event notification rule determining whether the participant information satisfies the event notification rule, and if yes, sending a notification to the notified party; wherein the participant information includes a participant identifier, a participant identification feature, a participant role, and a participant At least one of the character characteristics.
  • the determining an event notification rule may include determining the event notification rule from a subscription resource or from an event notification rule set.
  • determining the event notification rule from a subscription resource For example, determining the event notification rule from a subscription resource
  • the event notification rule is determined from an event notification rule set.
  • it also includes:
  • a subscription resource is created, and the event notification rule is included in the subscription resource.
  • the method before the creating the subscription resource, the method further includes: receiving a request to create a subscription resource sent by the subscriber.
  • determining whether the participant information satisfies the event notification rule includes:
  • the method further includes: receiving a subscription request sent by the subscriber to determine the event notification rule.
  • the method for performing notification further includes: receiving an operation request, wherein the operation request includes the participant information.
  • the method for performing notification further includes: receiving a registration request, wherein the registration request includes the participant information.
  • determining whether the participant information satisfies the event notification rule includes: determining whether the participant information is different from the determination feature, and if yes, determining that the participant information satisfies the event notification rule.
  • determining whether the participant information satisfies the event notification rule includes: counting the number of participants having the participant information different from the judgment feature; determining whether the number of the participants meets the event notification rule; The number of participants satisfies the event notification rule, and it is determined that the participant information satisfies the event notification rule.
  • determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a first threshold, and if yes, determining that the number of the participants meets the event notification rule Or determining whether the number of the participants is less than or equal to a second threshold, and if so, determining that the number of participants meets the event notification rule; or determining whether the number of participants is greater than or equal to a first threshold and It is less than or equal to the second threshold, and if so, it is determined that the number of the participants satisfies the event notification rule.
  • determining whether the participant information satisfies the event notification rule includes: counting the number of participants having the same participant information and the determination feature; determining whether the number of the participants meets the event notification rule; And determining that the participant information satisfies the event notification rule.
  • determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a third threshold, and if yes, determining that the number of the participants meets the event notification rule Or determining whether the number of the participants is less than or equal to a fourth threshold, and if so, determining that the number of participants meets the event notification rule; or determining whether the number of participants is greater than or equal to a third threshold and Less than or equal to the fourth threshold, and if so, The number of the participants is determined to satisfy the event notification rule.
  • the identifier includes a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier.
  • the role includes a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant
  • the identity feature includes a subscriber identity feature, a subscriber identity feature, a notified party identity feature, a party identity feature, a subscriber preset identity feature, a subscriber default tag feature, At least one of a notified party preset identification feature and a participant preset identification feature
  • the role feature includes a subscriber role feature, a subscriber role feature, a notified party role feature, a participant role feature, and a subscriber pre- At least one of a character feature, a predetermined role feature of the subscriber, a preset role feature of the notified party, and a preset role feature of the participant are set.
  • An embodiment of the present disclosure further provides an apparatus for performing notification, including: a determining unit, configured to determine an event notification rule; a notification unit, configured to determine whether the participant information satisfies the event notification rule, and if yes, to the notified party Sending the notification; wherein the participant information includes at least one of a participant identifier, a participant identification feature, and a participant role and a participant role identifier.
  • the determining unit is specifically configured to: determine the event notification rule from a subscription resource or from an event notification rule set.
  • the subscription service device further includes: a subscription resource creation unit, configured to create a subscription resource, wherein the subscription resource includes the event notification rule.
  • the subscription service device further includes: a first receiving unit, configured to receive a request for creating a subscription resource sent by the subscriber before creating the subscription resource.
  • the notification unit is specifically configured to determine whether the participant information matches the feature value, and if yes, determine that the participant information satisfies the event notification rule, and then send a notification to the notified party.
  • the subscription service device further includes: a second receiving unit, configured to receive a subscription request sent by the subscriber to determine the event notification rule.
  • the first receiving unit is further configured to receive an operation request, where the operation request is The participant information is included.
  • the notification unit is specifically configured to determine whether the participant information is different from the determination feature, and if yes, determine that the participant information satisfies the event notification rule, and send a notification to the notified party.
  • the notification unit is specifically configured to determine whether the participant information is equivalent to the determination feature, and if yes, determine that the participant information satisfies the event notification rule and send a notification to the notified party.
  • the event notification unit is specifically configured to: count the number of participants having the participant information different from the judgment feature; determine whether the number of the participants meets the event notification rule; if the number of the participants meets The event notification rule determines that the participant information satisfies the event notification rule and sends a notification to the notified party.
  • the notification unit is specifically configured to: count the number of participants having the same participant information and the determination feature; determine whether the number of the participants meets the event notification rule; if yes, determine the participant information The event notification rule is satisfied, and a notification is sent to the notified party.
  • the determination feature includes at least one of an identification, a character, an identification feature, and a character feature.
  • the identifier includes a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier.
  • the role includes a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant
  • the identity feature includes a subscriber identity feature, a subscriber identity feature, a notified party identity feature, a party identity feature, a subscriber preset identity feature, a subscriber default tag feature, At least one of a notified party preset identification feature and a participant preset identification feature
  • the role feature includes a subscriber role feature, a subscriber role feature, a notified party role feature, a participant role feature, and a subscriber pre- At least one of a character feature, a predetermined role feature of the subscriber, a preset role feature of the notified party, and a preset role feature of the participant are set.
  • An embodiment of the present disclosure also provides a system for performing notification, including:
  • the device being a subscription service device
  • a subscription device configured to send a subscription creation request to the subscription service device
  • a participant device configured to send an operation request to the subscription service device
  • the notified party device is configured to receive a notification from the subscription service device.
  • Embodiments of the present disclosure provide a method, apparatus, and system for making notifications based on specific parameters Implement a subscription notification with the party. Specifically, after the subscription service party detects that the specific participant meets the event notification rule party, the notification message is sent to the notified party, where the specific participant is: the participant information includes the participant identifier and the participant role. At least one of the participants. In this way, the notification service based on the specific participant is realized, and the demand for user differentiation is satisfied.
  • FIG. 1 is a hardware schematic block diagram of a system for subscription notification provided by at least one embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for performing notification according to at least one embodiment of the present disclosure
  • FIG. 3 is a schematic block diagram of an apparatus for subscribing to a service according to at least one embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a process for subscribing to a notification according to at least one embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a process of subscribing to a notification provided by at least one embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a process of subscribing to a notification provided by at least one embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of an exemplary subscription resource according to at least one embodiment of the present disclosure.
  • FIG. 8 is a flowchart of a method for performing notification according to at least one embodiment of the present disclosure.
  • the subscription direction subscription service party (also referred to as the subscriber or the notifier) sends a subscription request, and the subscription request may indicate that when the event occurs, the subscription service party sends a message to the notified party.
  • the subscriber and the notified party can be the same entity or different entities.
  • the rule in which the event occurs is defined under the subscribed resource (for example, the ⁇ subscription> resource is created under the subscribed resource, and the event notification rule is included in the eventNotificationCriteria parameter of the ⁇ subscription> resource).
  • the subscription service direction is sent by the notifying party.
  • the parameters of the event notification rule include, but are not limited to, the parameters listed in Table 1:
  • the current subscription mechanism does not take into account the different situations of participating entities (eg, subscribers, parties, notified parties, etc.).
  • the subscribing service party can send a message to the notified party.
  • Existing subscription notification mechanisms do not meet these requirements.
  • the special A predetermined participant can be understood as: a participant other than the subscriber, the subscriber, and the notified party; the other party can perform operations such as updating, deleting, creating, and the like.
  • the participant and the subscriber, the subscriber or the notified party may be the same entity or different entities.
  • Embodiments of the present disclosure provide a method, apparatus, and system for making a notification, implementing a notification, such as a subscription, based on a particular participant. Specifically, when the subscription service party detects a specific participant, the notification message is sent to the notified party, and the notification service based on the participant is implemented, and the user differentiated requirement is satisfied.
  • a notification such as a subscription
  • embodiments of the present disclosure provide a method, apparatus, and system for performing notification (Notify), implementing notification based on a specific participant. Specifically, after the subscription service party detects that the specific participant meets the event notification rule party, the notification message is sent to the notified party. For example, when the subscription service party detects that the specific party information satisfies the event notification rule, it sends a notification message to the notified party.
  • the event notification rule is an event notification condition (eventNotificationCriteria conditions), and the event notification rule may be an event notification rule set, and the event notification rule set may include one or more sub-conditions.
  • eventNotificationCriteria conditions event notification condition
  • the event notification rule set may include one or more sub-conditions.
  • the participant information includes at least one of a participant identifier, a participant role, a participant role feature, and a participant identification feature.
  • FIG. 1 is a schematic block diagram of hardware of a system 100 for performing notification according to an embodiment of the present disclosure.
  • the system 100 can include a subscription device 101, a participant device 104, a notified party device 106, and a subscription service device 150 (a subscription service device is a notification device that performs notification).
  • Devices in system 100 can be connected by network 160.
  • Devices of system 100 can communicate with each other directly or indirectly, for example, devices of system 100 can transmit and receive data and/or signals to each other over network 160.
  • the network 160 can be a network capable of interconnecting common objects having independent functions.
  • Network 160 may be a wireless network, although network 160 may also include a wired network.
  • E.g, Network 160 may be an Internet of Things based Internet and/or telecommunications network. Each user can use an electronic tag to connect ordinary objects to the Internet of Things. Therefore, the specific location of each common physics can be found on the Internet of Things.
  • central machines can be used to centrally manage and control various machines and devices. For example, remote control of home devices (eg, smart refrigerators, smart microwave ovens, etc.), automobiles, and the like, as well as searching for their location and the like.
  • the subscription service device 150 (ie, the notification device) can be a computing device that includes a processor and a memory.
  • the subscription service device 150 can be a server.
  • the subscription service device 150 can also be a desktop computer, a notebook computer, a smart phone, a tablet computer, and other devices including a processor and a memory.
  • FIG. 1 shows subscriber server 150 including processor 152 and memory 154.
  • Processor 152 can process data signals and can include various computing structures, such as a Complex Instruction Set Computer (CISC) architecture, a Structured Reduced Instruction Set Computer (RISC) architecture, or a structure that implements a combination of multiple instruction sets.
  • processor 152 can also be a microprocessor, such as an X86 processor or an ARM processor, or can be a digital processor (DSP) or the like.
  • DSP digital processor
  • the processor 152 can control other components in the subscription service device 150 to perform the desired functions.
  • Memory 154 can hold instructions and/or data executed by processor 152.
  • memory 154 can include one or more computer program products, which can include various forms of computer readable storage media, such as volatile memory and/or nonvolatile memory.
  • the volatile memory may include, for example, a random access memory (RAM) and/or a cache or the like.
  • the nonvolatile memory may include, for example, a read only memory (ROM), a hard disk, a flash memory, or the like.
  • One or more computer program instructions can be stored on the computer readable storage medium, and the processor 152 can execute the program instructions to implement the functionality of the subscription notifications described below and/or other desired functionality.
  • Various applications and various data may also be stored in the computer readable storage medium, such as various data used and/or generated by the application, and the like.
  • Subscription device 101 can be a computing device that includes a processor and a memory.
  • the subscription device 101 can be a television, a desktop computer, a notebook computer, a smart phone, a tablet computer, a game controller, a music player (eg, an mp3 player, etc.), and other terminals including a processor and a memory (eg, a mobile terminal, Intelligent Terminal).
  • the subscription device 101 can include a processor, memory, and other components such as input devices and output devices.
  • Participant device 104 can be a computing device that includes a processor and a memory.
  • the participant device 104 can be a television, a smart home appliance, a charging car, a desktop computer, a laptop battery Brains, smartphones, tablets, and other terminals including processors and memories (eg, mobile terminals, smart terminals).
  • the participant device 104 can include a processor, memory, and other components such as input devices and output devices.
  • the notifier device 106 can be a computing device that includes a processor and a memory.
  • the notified party device 106 can be a television, a smart home appliance, a charging car, a desktop computer, a laptop, a smartphone, a tablet, a game controller, a music player (eg, an mp3 player, etc.), and others including a processor and A terminal of a memory (for example, a mobile terminal, a smart terminal).
  • the notifier device 106 can include a processor, memory, and other components such as input devices and output devices.
  • the subscriber and the notified party may be the same entity or different entities.
  • Participants and subscribers can be the same entity or different entities; if they are the same entity, the entity is an entity that has both a subscriber and a participant role, and can subscribe and third-party operations simultaneously.
  • the subscriber, the notified party, and the participant may also be entities that are different from each other.
  • the subscriber operates on the subscription device 101 and sends a subscription creation request to the subscription service device 150.
  • the subscriber described in the embodiment of the present disclosure may refer to the subscription device 101, the subscriber operating the subscription device 101, or the subscription device 404 installed in the subscription device 101 described below.
  • the operator can operate on the participant device 104 to send an operation request to the subscription service device 150.
  • the participant device 104 can also automatically send an operation request to the subscription service device 150 without human intervention.
  • the participants described in the embodiments of the present disclosure may refer to the participant device 104, the operator operating the participant device 104, or the participant device 402 installed on the participant device 104 described below.
  • the notified person can operate on the notified device 106, for example, the notified person can read the notification from the subscription service device 150 by the notified device 106.
  • the notified party described in the embodiment of the present disclosure may refer to the notified device 106, the notified person who operates the notified device 106, or the notified party device installed on the notified device 106 described below, without causing ambiguity. 406.
  • the service provider can operate on the subscription service device 150 to send a notification to the notified party.
  • the subscription service device 150 can also automatically send a notification to the notified party when the event notification rule is satisfied without human intervention.
  • the service party may refer to the subscription service device 150, the service provider operating the subscription service device 150, or the subscription service device 300 installed on the subscription service device 150 described below (the subscription service device is the notification device that performs the notification).
  • each device of system 100 may also include a display device (eg, an LCD, OLED, or projection device), an input device (eg, a touch device, a keyboard, a microphone, a mouse, etc.), a speaker or a vibrating device, etc., as desired.
  • a display device eg, an LCD, OLED, or projection device
  • an input device eg, a touch device, a keyboard, a microphone, a mouse, etc.
  • a speaker or a vibrating device e.g., a vibrating device, etc.
  • An embodiment of the present disclosure provides a method for performing notification in a subscription scenario. As shown in FIG. 8, the method includes:
  • Step S1001 includes: determining an event notification rule; step S1002 includes: determining whether the participant information satisfies the event notification rule, and if yes, sending a notification to the notified party; wherein the participant information includes a participant identifier, a participant identifier At least one of a feature, a participant role, and a participant role identifier.
  • Step S1003 includes: if the participant information satisfies the event notification rule, sending a notification to the notified party.
  • the method provided by the embodiment of the present disclosure may be based on the participant information, in particular, the matching relationship between the participant information and the event notification rule based on the participant identifier, the participant identification feature, the participant role, the participant role identifier, and the like. To determine whether to notify, meet the notification needs of more users or participants.
  • the determining an event notification rule may include determining the event notification rule from a subscription resource or from an event notification rule set.
  • the rule in which the event occurs is defined under the subscription resource, that is, the event notification rule (ie, the event notification condition, eventNotificationCriteria) is included in the subscription resource, and a subscription resource may correspond to the event notification under the resource. rule.
  • the event notification rule may be determined from the subscription resource, for example, the event notification rule in the subscription resource is directly selected as an event notification rule that needs to be determined.
  • the event notification rule is not included in the subscription resource, but is set independently in the event notification rule set outside the subscription resource, and the event notification rule set may include one or more Event notification rules.
  • the event notification rule is determined, one or more event notification rules may be determined from the event notification rule set as the event notification rule to be determined.
  • Determining an event notification rule from a subscription resource including: may include a notification rule from the event
  • the event notification rule is obtained in the subscription resource, and the event notification rule in the subscription resource can be directly matched without obtaining.
  • the event notification rule may be obtained by directly acquiring one or more event notification rules from the event notification rule set, or may directly match the event notification rule in the event notification rule set, so as to determine whether the event notification rule is satisfied when the participant information is obtained. .
  • the subscription resource may be a subscription resource created for the create subscription resource request after receiving a request to create a subscription resource sent by the subscriber.
  • the subscription resource may be determined in the created subscription resource for the subscription resource request when receiving the subscription resource request sent by the subscriber.
  • the determining the event notification rule may be performed after receiving a subscription request sent by a subscriber.
  • the subscriber is the UPNP Client
  • the notified party is the UPNP Device
  • the subscription direction is sent by the subscriber to the subscription request
  • the subscription request carries the URL of the subscriber, the service identifier.
  • the URL of the notified party after the subscriber receives the subscription request, the subscriber matches the subscription resource, and the subscription resource may be determined according to a pre-configured event notification rule, and then the participant sends an action request to the subscribed party.
  • the action request When the subscribed party receives the action request, the action request carries the information of the participant (for example, the participant ID), and after receiving the action request, the subscriber determines whether the participant information satisfies the pre-configured notification rule. (For example, it is determined whether the ID of the participant satisfies the notification rule). If the participant information satisfies the pre-configured notification rule, the notification is sent to the notified party.
  • the participant ID for example, the participant ID
  • the subscriber determines whether the participant information satisfies the pre-configured notification rule. If the participant information satisfies the pre-configured notification rule, the notification is sent to the notified party.
  • the participant may be understood as a participant other than the subscriber, the subscriber, and the notified party.
  • an originator and a receiver are defined from the dimension of information interaction.
  • the party that initiated the request is called the originator.
  • the originator can be an AE (application entity) or a CSE (public service entity).
  • the party receiving the request is called the receiver (Receiver), and the receiver can be the CSE.
  • the initiator initiates the creation of a ⁇ subscription> resource request
  • the initiator becomes the resource subscriber, referred to as the subscriber, and the corresponding receiver is the subscriber.
  • the subscriber resource subscriber
  • Hosting CSE is used to refer to the subscriber because it is not defined by the subscriber.
  • the originator initiates the registration request
  • the initiator becomes the registrant and the corresponding receiver It is the registered party.
  • the initiator initiates an operation request
  • the initiator becomes an operation requester (referred to as a requester)
  • the receiver becomes an operation request recipient.
  • the registrant, the subscriber, and the operation requester may perform different roles for different actions for the same entity, or perform different actions for different entities.
  • the participant, the subscribing party, the subscribing party, and the notified party may perform different roles for different actions for the same entity, or may be different entities that perform different actions, if the participant sends
  • the registration request is the registrant, and if the participant sends the operation requester, it becomes the operation requester.
  • the feature value is a specific value
  • the specific value may be configured in the subscription resource or may be configured outside the subscription resource.
  • the subscription resource is provided when it is determined whether the participant information satisfies an event notification rule.
  • the specific value may refer to a value of a data type, a value of a data structure, a value of a data content, etc., for example, the specific value may be an identified content feature (eg, 1111-22).
  • the determining whether the participant information matches the specified value comprises: determining whether the participant information is equal to the feature value, whether it is greater than the feature value, whether it is less than the feature value, or the number of participant information.
  • the matching manner may be configured to determine the number of identifiers of the participant, and when the number of the identifiers is greater than the specific value, the notified party is notified.
  • the identifier may be a specific value, and may be a specific numerical value, a symbol or a combination.
  • the identifier of entity A is 1111-22
  • the identifier of entity B is 2222-11. If the identifier is compared, the identifiers of the two are different.
  • the feature that identifies the feature is an identified feature, which may be a structural feature of the identity, and/or a content feature of the identity.
  • the identifier of the entity A is AAAA-AA
  • the identifier of the entity B is AAAA-BB
  • the structures of the two identifiers are all in the form of XXXX-YY, and the structural features of the two are the same.
  • the identifier AAAA-AA includes a character A
  • the identifier AAAA-BB includes two characters A and B. It can be seen that the identification content characteristics of the two identifiers are different.
  • the roles and role characteristics are similar.
  • the role refers to the role itself.
  • the character characteristics refer to the characteristics of the character, which will not be detailed here.
  • the foregoing method further includes: receiving a subscription request sent by the subscriber. This can determine an event notification rule based on the subscription request. Since the subscription resource corresponding to the subscription request can be determined after receiving the subscription request, for example, the pre-stored subscription resource can be obtained locally or a subscription resource can be created. Generally, the event notification rule is included in the determined subscription resource. When the event notification rule is determined, the event notification rule can be obtained from the subscription resource.
  • FIG. 2 is a schematic flowchart of a method 200 for performing notification according to an embodiment of the present disclosure.
  • method 200 can include some or all of the steps shown in FIG. 2 (eg, some or all of steps 202, 204, 206, and 208). Of course, method 200 can also include other steps not shown in FIG.
  • Step S202 includes receiving a subscription creation request from a subscriber (ie, creating a subscription resource request or creating a ⁇ subscription> resource request).
  • Step S204 includes: creating a subscription resource, wherein the subscription resource includes an event notification rule.
  • Step S206 includes: determining whether the participant information satisfies the event notification rule, where the participant information includes at least one of a participant identifier (ID), a participant role, a participant identification feature, and a participant role feature.
  • ID participant identifier
  • participant role a participant role
  • participant identification feature a participant role feature
  • Step S208 includes: if the participant information satisfies the event notification rule, sending a notification to the notified party, otherwise, ending the process.
  • the method 200 further includes:
  • the subscriber After the subscriber creates the subscription resource, the subscriber receives the operation request, and the operation request includes the participant information; or the subscriber receives the registration request, and the registration request includes the participant information.
  • the operation request is an operation request from the participant (ie, the operation requester); the registration request is a registration request from the registrant.
  • the participant information carried in determines whether the event notification rule is satisfied.
  • the subscribing party may be configured to receive the registration request from the registrant according to the participant information carried in the registration request (for example, the registrant's ID, At this time, the participant is the registrant) to determine whether the event notification rule is satisfied.
  • the registrant and the subscriber may be different roles of the same entity in performing different actions.
  • entity A can send a request to create a subscription resource to entity B, where entity A is a subscriber, entity B is the subscribing party, and entity B creates a subscription resource for entity A, that is, the subscription is successful.
  • the entity A when the entity A sends a registration request and a subscription resource request to the entity B, after the registration is successful and the subscription is successful, and the entity D registers with the entity B, it can be determined whether the ID of the entity D is equal to the ID of the registered device. That is, it is determined whether the ID of the entity D is equal to the ID of the entity A (in this case, the ID of the entity A is a feature value, a specified value), and if not, the notified party has a new device registration.
  • the entity A sends a registration request and a subscription resource request to the entity B
  • the entity C sends the registration request to the entity B
  • the operation request is sent to the entity B, and the entity is determined.
  • the ID carried in the operation request of C is greater than 10 (in this case, the value 10 is a characteristic value, a specified value), and if it is greater than, the notified party has 10 devices requesting to perform an operation.
  • the participant is sent a response to the operation request to the participant, or sends a response to the registration request to the registrant.
  • the operation request can be a create request, a get request, an update request, a delete request, or other type of request.
  • the operation request may include information of the party (abbreviation, party information).
  • party information includes at least one of a participant identifier (ID), a participant role, a participant identification feature, and a participant role feature.
  • all participants can be classified according to role or character characteristics. Taking the participant information as the participant role as an example, all participants can be classified into administrators, ordinary users, VIP users, and other users.
  • the participant role indicates that the participant is an administrator, Ordinary user, VIP user, or other user.
  • the role of the participant is characterized by the identity of the user.
  • each participant identifier may be one of an application entity ID (AE-ID), a common service entity identifier (CSE-ID), or a resource identifier (resource ID).
  • AE-ID application entity ID
  • CSE-ID common service entity identifier
  • resource ID resource identifier
  • the participant identifier records that the participant is an application entity identifier, a general service entity identifier or a resource identifier, and a specific number thereof. For example, the participant ID is 1234ABC.
  • the party information may be a participant identification feature.
  • the identification feature is four consecutive digits + three consecutive letters.
  • creating the subscription resource comprises: creating the subscription resource in response to the creating a subscription resource request; and setting an event notification rule of the subscription resource.
  • the judgment feature of the event notification rule may be set (the judgment feature is the feature value, that is, the specified value).
  • the determining feature can include at least one of an identification, a character, an identification feature, and a character feature.
  • the identifier may include a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier. At least one.
  • the role may include a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant preset role.
  • the identification feature may include a subscriber identity feature, a subscriber identity feature, a notified party identity feature, a participant identity feature, a subscriber preset identity feature, a subscriber preset identity feature, and a notified party preset identity feature. And at least one of the participant preset identification features.
  • the role may include a subscriber role feature, a subscriber role feature, a notified party role feature, a participant role feature, a subscriber preset role feature, a subscribed preset role feature, a notified party preset role feature, and The participant presets at least one of the character characteristics.
  • the judgment feature may be set as a subscriber identity, a preset identity, or a notified party identity.
  • the judgment feature may be set as a subscriber role, a preset role, or a notified party role.
  • the determining feature may include: a subscriber identity and a subscriber role; or a subscriber preset identifier and a subscriber preset role; or a notified party identifier and a notified party role.
  • the determination feature can also be set as other feature values, and the disclosure is not limited herein.
  • determining whether the participant information satisfies the event notification rule comprises: determining whether the participant information is different from the determining feature; and if The participant information is different from the determining feature, and the participant information is determined to satisfy the event notification rule.
  • the determining feature may be a subscriber identity, and may determine whether the participant identity is different from the subscriber identity; if the participant identity is different from the subscriber identity (eg, participant ID/subscriber ID) And determining that the participant information satisfies the event notification rule.
  • the subscriber identity can be obtained from a subscription creation request from a subscriber.
  • determining whether the participant information satisfies the event notification rule comprises: determining whether the participant information is the same as the determination feature; and if the participant information and the The judgment features are the same, and it is determined that the participant information satisfies the event notification rule.
  • determining whether the participant information satisfies the event notification rule may further include: counting the number of participants having different participant information different from the determining feature; determining whether the number of the participants meets the An event notification rule; if the number of the participants satisfies the event notification rule, determining that the participant information satisfies the event notification rule.
  • determining whether the number of the participants meets the event notification rule comprises: determining whether the number of the participants is greater than or equal to a first threshold; if the number of the participants is greater than or equal to the The first threshold determines that the number of participants meets the event notification rule.
  • participant can be classified according to roles (administrators, regular users, VIP users, other users, etc.). It is assumed that the judgment feature is set as a VIP user in the role (ie, judging The flag is set to "VIP User" and the first threshold is set to 15. When the number of participants having the "VIP User" role transmitting the operation request to the subscription service device 300 is equal to or greater than 15 (ie, the number of participants having the "VIP User” role is ⁇ the first threshold 15), then the satisfaction is satisfied. An event notification rule that can send a notification to the notified party.
  • determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is less than or equal to a second threshold; if the number of the participants is less than or equal to The second threshold is determined to determine that the number of participants meets the event notification rule.
  • the second threshold is set to 25.
  • the number of participants having the "VIP User" role to send an operation request to the subscription service device 300 is equal to or less than 25 (ie, the number of participants having the "VIP User" role ⁇ the second threshold 25)
  • the satisfaction is satisfied.
  • An event notification rule that can send a notification to the notified party.
  • determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a first threshold and less than or equal to a second threshold; The number of participants is greater than or equal to the first threshold and less than or equal to the second threshold, and it is determined that the number of participants satisfies the event notification rule.
  • the judgment feature is set as a VIP user in the role (ie, the judgment feature is set to "VIP User")
  • the first threshold is set to 15
  • the second threshold is set to 25.
  • the number of participants having the "VIP User" role when the operation request is transmitted to the subscription service device 300 is equal to or greater than 15 and equal to or less than 25 (ie, the first threshold 15 ⁇ the number of participants having the "VIP User" role ⁇ second threshold 25), the event notification rule is satisfied, and the notification can be sent to the notified party.
  • determining whether the participant information satisfies the event notification rule comprises: counting the number of participants having the same participant information and the determination feature; determining whether the number of the participants meets the An event notification rule; if the number of the participants satisfies the event notification rule, determining that the participant information satisfies the event notification rule.
  • determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a third threshold, and if yes, determining that the number of the participants meets the event notification rule Or, determining whether the number of participants is less than or equal to a fourth threshold, and if so, Determining that the number of the participants meets the event notification rule; or determining whether the number of the participants is greater than or equal to a third threshold and less than or equal to a fourth threshold, and if yes, determining that the number of participants is satisfied The event notification rule.
  • the event notification rule may include the first threshold, the second threshold, the third threshold, and/or the third threshold.
  • the first threshold, the second threshold, the third threshold, and/or the fourth threshold may be set while setting the event notification rule.
  • the specific value of the first threshold, the second threshold, the third threshold, and/or the fourth threshold may be set by the subscriber, the subscription service party or the notified party, and the disclosure is not limited herein.
  • the embodiment of the present disclosure further provides another method for performing notification, including:
  • the method further includes: after receiving the subscription request, creating or directly acquiring a subscription resource, where the subscription resource includes the event notification rule;
  • the participant includes a registrant; the method further includes: receiving a registration request from the registrant, the registration request including the party information.
  • the participant includes a requesting party; the method further includes receiving an operation request from the third party participant.
  • the participant information includes at least one of a participant identifier, a participant identification feature, a participant role, and a participant role identifier.
  • FIG. 3 is a schematic block diagram of a subscription service apparatus 300 according to an embodiment of the present disclosure.
  • the subscription service device 300 is configured to notify the notified party, and includes a determining unit 310 and a notification unit 320.
  • the determining unit 310 is configured to determine an event notification rule.
  • the notification unit 320 is configured to determine whether the participant information satisfies the event notification. The rule, if yes, sends a notification to the notified party; wherein the participant information includes at least one of a participant identifier, a participant identification feature, and a participant role and a participant role identifier.
  • the subscription service apparatus 300 further includes: a first receiving unit 340, configured to receive a create subscription resource request sent by the subscriber before creating the subscription resource.
  • a first receiving unit 340 configured to receive a create subscription resource request sent by the subscriber before creating the subscription resource.
  • the notification unit 320 is specifically configured to determine whether the participant information matches the feature value, and if yes, determine that the participant information satisfies the event notification rule, and then send a notification to the notified party.
  • the subscription service device 300 further includes: a second receiving unit 350, configured to receive a subscription request sent by the subscriber to determine the event notification rule.
  • the first receiving unit 340 is further configured to receive an operation request, where the participant information is included in the operation request.
  • the notification unit 320 is specifically configured to determine whether the participant information is equivalent to the determination feature, and if yes, determine that the participant information satisfies the event notification rule and send a notification to the notified party.
  • the notification unit 320 is specifically configured to: count the number of participants having the participant information different from the determination feature; determine whether the number of the participants meets the event notification rule; if the number of the participants The event notification rule is satisfied, and the participant information is determined to satisfy the event notification rule, and the notification is sent to the notified party.
  • the notification unit 320 is specifically configured to: count the number of participants having the same participant information and the determination feature; determine whether the number of the participants meets the event notification rule; if yes, determine the participant The information satisfies the event notification rule and sends a notification to the notified party.
  • the identifier includes a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier.
  • the role includes a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant
  • the identification feature includes a subscriber identification feature, At least one of a subscribing party identification feature, a notified party identification feature, a participant identification feature, a subscriber preset identification feature, a subscriber preset identification feature, a notified party preset identification feature, and a participant preset identification feature
  • the character features include a subscriber role feature, a subscriber role feature, a notified party character feature, a participant role feature, a subscriber preset role feature, a subscriber preset role feature, and a notified party preset role. At least one of a feature and a participant preset role feature.
  • the units of the subscription service device 300 may be configured to perform the functions or steps of the method 200 as shown in FIG. 2, and the disclosure is not described herein again.
  • the various units of the subscription service device 300 can be implemented by the processor 152 in the subscription service device 150 shown in FIG. 1 running program instructions stored in the memory 154, and can perform the steps in the method 200, as well as other The steps shown in Figure 2.
  • An embodiment of the present disclosure further provides a system for notifying a subscription, comprising: a subscription service device 300 as described above; a subscription device configured to send a subscription creation request to the subscription service device and receive the subscription from the subscription service device a response to the subscription creation request; a participant device configured to send an operation request to the subscription service device and a response to receive the operation request from the subscription service device; and a notified party device configured to receive from the Subscribe to the notifications of the service device.
  • the subscription service device 300 may be disposed in the subscription service device 150, the subscription device may be disposed in the subscription device 101, the participant device may be disposed in the participant device 104, and the notified party device may It is set in the notified party device 106.
  • FIG. 4 is a schematic diagram of a process for subscribing to a notification according to an embodiment of the present disclosure.
  • the subscribing device 404 sends a request to create a subscription resource to the subscription service device 300 (step 410), such as sending a create ⁇ subscription> request.
  • the request to create a subscription resource may include subscriber information (eg, subscriber identity, subscriber role, etc.).
  • the subscription service device 300 creates the subscription resource, specifically, creating a ⁇ subscription> under the subscribed resource, including an eventNotificationCriteria, and the eventNotificationCriteria includes a fixedID parameter.
  • the subscription resource includes an event notification rule eventNotificationCriteria (step 412).
  • the subscription service device 300 sends a response to the subscription creation request to the subscription device 404 (step 414).
  • the participant device 402 sends an operation request (step 416) to the subscription service device 300, such as a request for an operation such as create, retrieve, update, delete, and the like.
  • the operational request may include party information (eg, party identity or party role, etc.).
  • the subscription service device 300 transmits a response to the operation request to the participant device 402 (step 418).
  • the subscription service device 300 determines whether the participant information satisfies the event notification rule. For example, the subscription service device 300 determines whether the participant information is different from the determination feature (step 420). If the participant information is different from the determination feature, the subscription service device 300 determines that the participant information satisfies the event notification rule (step 422). The subscription service device 300 transmits a notification to the notified party device 406 (step 424). The notified party device 406 transmits a response to the notification to the subscription service device 300 (step 426).
  • the subscriber After receiving the operation request, the subscriber detects the ID of the sender of the operation request, for example, includes an AE-ID, a CSE-ID or a resourceID, etc., and compares with the subscription resource preset fixedID, and if the same, sends a notification (Notify) to Notified party. Receive the respondent's response to the notification.
  • the ID of the sender of the operation request for example, includes an AE-ID, a CSE-ID or a resourceID, etc.
  • FIG. 5 is a schematic diagram of another process for subscribing to a notification according to an embodiment of the present disclosure.
  • the subscribing device 404 sends a request to create a subscription resource to the subscription service device 300 (step 510), that is, the subscription direction is sent by the subscribing party to create a ⁇ subscription> request.
  • the subscription service device 300 creates the subscription resource.
  • the ⁇ subscription> sub-resource is created under the subscribing resource, and includes a role number (roleNr) parameter, and the eventNotificationCriteria parameter includes a comparison parameter (ie, roleNrBigger, roleNrSmaller sub-parameter).
  • the subscription resource includes an event notification rule eventNotificationCriteria (step 512).
  • the subscription service device 300 sends a response to the subscription creation request to the subscribing device 404 (step 514), ie, the subscription sends a create ⁇ subscription> response to the subscriber.
  • the participant device 402 sends an operation request to the subscription service device 300 (step 516), for example, the participation direction is sent by the subscriber to any of the create/retrieve/update/delete requests.
  • the subscription service device 300 sends a response to the operation request to the participant device 402 (step 518), as the subscription is sent to the participant to send a response to any of the create/retrieve/update/delete requests.
  • the subscription service device 300 determines whether the participant information satisfies the event notification rule. For example, the subscription service device 300 determines whether the participant information is the same as the determination feature (step 520). If the participant information is identical to the determination feature, the subscription service device 300 determines that the participant information satisfies the event notification rule (step 522). The subscription service device 300 transmits a notification to the notified party device 406 (step 524). The notified party device 406 transmits a response to the notification to the subscription service device 300 (step 526).
  • the angle The number of colors is increased by 1 (ie, ⁇ subscription>/roleNr is increased by 1); then, it is judged whether the number of characters is greater than the first comparison parameter (ie, whether or not roleNr is greater than roleNrBigger), or whether the number of roles is smaller than the second comparison parameter (ie, It is determined whether the roleNr is smaller than roleNrSmaller), and if so, the subscription direction is sent by the notifying party to the Notify request; the notified direction is sent by the subscriber to the Notify response.
  • the first comparison parameter ie, whether or not roleNr is greater than roleNrBigger
  • the second comparison parameter ie, It is determined whether the roleNr is smaller than roleNrSmaller
  • FIG. 6 is a schematic diagram of still another process for subscribing to a notification according to an embodiment of the present disclosure.
  • the subscribing device 404 sends a request to create a subscription resource to the subscription service device 300 (step 610).
  • the subscription service device 300 creates the subscription resource, wherein the subscription resource includes an event notification rule (step 612).
  • the subscription service device 300 sends a response to the subscription creation request to the subscribing device 404 (step 614).
  • the participant device 402 sends an operation request to the subscription service device 300 (step 616).
  • the operational request may include party information (eg, party identity or party role, etc.).
  • the subscription service device 300 transmits a response to the operation request to the participant device 402 (step 618).
  • the subscription service device 300 determines whether the participant information satisfies the event notification rule. For example, the subscription service device 300 counts the number of participants having different party information than the decision feature (step 619). For example, among all the participants accessing the subscription service device 300, the subscription service device 300 records the number of participants having the participant information different from the judgment feature, and for the other parties having the same participant information and the same feature. The number is not counted.
  • the subscription service device 300 determines whether the number of participants satisfies the event notification rule (step 620). If the number of participants satisfies the event notification rule, the subscription service device 300 determines that the participant information satisfies the event notification rule (step 622).
  • the subscription service device 300 transmits a notification to the notified party device 406 (step 624).
  • the notified party device 406 transmits a response to the notification to the subscription service device 300 (step 626).
  • An example of a subscription notification is as follows.
  • the subscriber subscribes to the subscription service device 300 (eg, the energy management platform) via the subscription device 101 (or subscription device 404) with an energy notification service for managing energy consumption (eg, electrical energy) at home.
  • the home appliance of the subscriber's home can be the participant device 104, and both can be registered with the energy management platform in the subscription service device 150.
  • One of the purposes of the registration is to enable the user terminal to control and manage the home appliance through the energy management platform.
  • the subscriber can subscribe to the energy notification service through the subscription device 101 to the subscription service device 300 (eg, the energy management platform).
  • the notification service for this subscription is 10 nights if there are 10
  • the home appliance consumes power, it sends an energy consumption notification to another family member (notified party, different from the subscriber). Because the household electrical appliance sends an update request to the energy management platform after consuming the power, requesting to modify the value of the corresponding resource on the energy management platform. Therefore, when the 10th or more household appliances are modified to the resource value on the energy management platform in one night, The energy management platform will send a notification to another family member (notified party).
  • FIG. 7 is a schematic structural diagram of an exemplary subscription resource according to an embodiment of the present disclosure.
  • an application entity resource such as the ⁇ AE> resource shown in FIG. 7
  • the application entity resource includes a container resource ( ⁇ container> resource).
  • the container resource includes a content instance resource (such as ⁇ contentInstance> shown in FIG. 7), and the content instance resource can be used to store information content.
  • the subscription resource includes an event notification rule (eventNotificationCriteria), a notification party address (notificationURI), a group identity (groupID), a notification forwarding address (notificationForwardingURI), a subscriber address (subscriber URI), and the like.
  • the subscription resource may also include other content items not shown in FIG. 7, and the disclosure is not limited herein.
  • a method, apparatus, and system for performing notification provided by an embodiment of the present disclosure implements subscription notification based on a specific participant.
  • the subscription service party detects a specific participant, the notification message is sent to the notified party, and the notification service based on the participant is realized, which satisfies the requirement of user differentiation.

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

A method, apparatus and system for notification. The method comprises: determining an event notification rule (S1001); determining whether participant information satisfies the event notification rule (S1002); and if so, sending a notification to a notified party (S1003), wherein the participant information comprises at least one of a participant identifier, a participant identifier feature, a participant role and a participant role feature. When a subscription server detects a participant that satisfies the participant information, a notification message is sent to a notified party, thereby realizing the notification service based on the participant and satisfying the requirement of user differentiation.

Description

进行通知的方法、装置和系统Method, device and system for notifying 技术领域Technical field

本公开的实施例涉及一种进行通知的方法、装置和系统。Embodiments of the present disclosure are directed to a method, apparatus, and system for making a notification.

背景技术Background technique

随着物联网技术的发展,各个物联网的应用领域得到了快速的发展,出现很多私有的协议。由于各私有协议之间并不完全兼容,有可能阻碍物联网技术的发展。With the development of the Internet of Things technology, the application fields of various Internet of Things have been rapidly developed, and many private agreements have emerged. Because the proprietary protocols are not fully compatible, it may hinder the development of Internet of Things technology.

物联网通信协议中定义了订阅通知机制,订阅方向被订阅方发送订阅请求,当事件发生时向被通知方发送通知。A subscription notification mechanism is defined in the Internet of Things communication protocol, and the subscription direction is sent by the subscriber to send a subscription request, and when the event occurs, a notification is sent to the notified party.

发明内容Summary of the invention

本公开的实施例提供了一种进行通知的方法、装置和系统。Embodiments of the present disclosure provide a method, apparatus, and system for making notifications.

所述进行通知的方法,包括:The method for performing notification includes:

确定事件通知规则;判断参与方信息是否满足所述事件通知规则,若是,则向被通知方发送通知;其中,所述参与方信息包括参与方标识、参与方标识特征、参与方角色、参与方角色特征中的至少之一。Determining an event notification rule; determining whether the participant information satisfies the event notification rule, and if yes, sending a notification to the notified party; wherein the participant information includes a participant identifier, a participant identification feature, a participant role, and a participant At least one of the character characteristics.

例如,所述确定事件通知规则可包括:从订阅资源中或从事件通知规则集中确定所述事件通知规则。For example, the determining an event notification rule may include determining the event notification rule from a subscription resource or from an event notification rule set.

例如,从订阅资源中确定所述事件通知规则;或For example, determining the event notification rule from a subscription resource; or

从事件通知规则集中确定所述事件通知规则。The event notification rule is determined from an event notification rule set.

例如,还包括:For example, it also includes:

创建订阅资源,所述订阅资源中包括所述事件通知规则。A subscription resource is created, and the event notification rule is included in the subscription resource.

例如,所述创建订阅资源之前,还包括:接收订阅方发送的创建订阅资源请求。For example, before the creating the subscription resource, the method further includes: receiving a request to create a subscription resource sent by the subscriber.

例如,判断参与方信息是否满足所述事件通知规则,包括:For example, determining whether the participant information satisfies the event notification rule includes:

判断所述参与方信息是否与特征值相匹配,若是,则确定所述参与方信息满足所述事件通知规则。 Determining whether the participant information matches the feature value, and if so, determining that the participant information satisfies the event notification rule.

例如,还包括:接收订阅方发送的订阅请求以确定所述事件通知规则。For example, the method further includes: receiving a subscription request sent by the subscriber to determine the event notification rule.

例如,所述进行通知的方法还包括:接收操作请求,其中,所述操作请求中包括所述参与方信息。For example, the method for performing notification further includes: receiving an operation request, wherein the operation request includes the participant information.

例如,所述进行通知的方法还包括:接收注册请求,其中,所述注册请求中包括所述参与方信息。For example, the method for performing notification further includes: receiving a registration request, wherein the registration request includes the participant information.

例如,判断参与方信息是否满足所述事件通知规则,包括:判断所述参与方信息是否不同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则。For example, determining whether the participant information satisfies the event notification rule includes: determining whether the participant information is different from the determination feature, and if yes, determining that the participant information satisfies the event notification rule.

例如,判断参与方信息是否满足所述事件通知规则,包括:判断所述参与方信息是否等同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则。For example, determining whether the participant information satisfies the event notification rule includes: determining whether the participant information is equivalent to the determination feature, and if yes, determining that the participant information satisfies the event notification rule.

例如,判断参与方信息是否满足所述事件通知规则,包括:统计具有的参与方信息不同于判断特征的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;如果所述参与方的数目满足所述事件通知规则,确定所述参与方信息满足所述事件通知规则。For example, determining whether the participant information satisfies the event notification rule includes: counting the number of participants having the participant information different from the judgment feature; determining whether the number of the participants meets the event notification rule; The number of participants satisfies the event notification rule, and it is determined that the participant information satisfies the event notification rule.

例如,判断所述参与方的数目是否满足所述事件通知规则,包括:判断所述参与方的数目是否大于或等于第一阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或判断所述参与方的数目是否小于或等于第二阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或判断所述参与方的数目是否大于或等于第一阈值并且小于或等于第二阈值,若是,则确定所述参与方的数目满足所述事件通知规则。For example, determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a first threshold, and if yes, determining that the number of the participants meets the event notification rule Or determining whether the number of the participants is less than or equal to a second threshold, and if so, determining that the number of participants meets the event notification rule; or determining whether the number of participants is greater than or equal to a first threshold and It is less than or equal to the second threshold, and if so, it is determined that the number of the participants satisfies the event notification rule.

例如,判断所述参与方信息是否满足所述事件通知规则,包括:统计具有的参与方信息与判断特征相同的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;若是,则确定所述参与方信息满足所述事件通知规则。For example, determining whether the participant information satisfies the event notification rule includes: counting the number of participants having the same participant information and the determination feature; determining whether the number of the participants meets the event notification rule; And determining that the participant information satisfies the event notification rule.

例如,判断所述参与方的数目是否满足所述事件通知规则,包括:判断所述参与方的数目是否大于或等于第三阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或判断所述参与方的数目是否小于或等于第四阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或判断所述参与方的数目是否大于或等于第三阈值并且小于或等于第四阈值,若是,则确 定所述参与方的数目满足所述事件通知规则。For example, determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a third threshold, and if yes, determining that the number of the participants meets the event notification rule Or determining whether the number of the participants is less than or equal to a fourth threshold, and if so, determining that the number of participants meets the event notification rule; or determining whether the number of participants is greater than or equal to a third threshold and Less than or equal to the fourth threshold, and if so, The number of the participants is determined to satisfy the event notification rule.

例如,所述判断特征包括标识、角色、标识特征和角色特征中的至少之一。For example, the determination feature includes at least one of an identification, a character, an identification feature, and a character feature.

例如,所述标识包括订阅方标识、被订阅方标识、被通知方标识、参与方标识、订阅方预设标识、被订阅方预设标识、被通知方预设标识和参与方预设标识中的至少之一;所述角色包括订阅方角色、被订阅方角色、被通知方角色、参与方角色、订阅方预设角色、被订阅方预设角色、被通知方预设角色和参与方预设角色中的至少之一;所述标识特征包括订阅方标识特征、被订阅方标识特征、被通知方标识特征、参与方标识特征、订阅方预设标识特征、被订阅方预设标识特征、被通知方预设标识特征和参与方预设标识特征中的至少之一;所述角色特征包括订阅方角色特征、被订阅方角色特征、被通知方角色特征、参与方角色特征、订阅方预设角色特征、被订阅方预设角色特征、被通知方预设角色特征和参与方预设角色特征中的至少之一。For example, the identifier includes a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier. At least one of the roles; the role includes a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant At least one of the roles; the identity feature includes a subscriber identity feature, a subscriber identity feature, a notified party identity feature, a party identity feature, a subscriber preset identity feature, a subscriber default tag feature, At least one of a notified party preset identification feature and a participant preset identification feature; the role feature includes a subscriber role feature, a subscriber role feature, a notified party role feature, a participant role feature, and a subscriber pre- At least one of a character feature, a predetermined role feature of the subscriber, a preset role feature of the notified party, and a preset role feature of the participant are set.

本公开的实施例还提供一种进行通知的装置,包括:确定单元,用于确定事件通知规则;通知单元,用于判断参与方信息是否满足所述事件通知规则,若是,则向被通知方发送通知;其中,所述参与方信息包括参与方标识、参与方标识特征、和参与方角色、参与方角色标特征识中的至少之一。An embodiment of the present disclosure further provides an apparatus for performing notification, including: a determining unit, configured to determine an event notification rule; a notification unit, configured to determine whether the participant information satisfies the event notification rule, and if yes, to the notified party Sending the notification; wherein the participant information includes at least one of a participant identifier, a participant identification feature, and a participant role and a participant role identifier.

例如,确定单元具体用于:从订阅资源中或从事件通知规则集中确定所述事件通知规则。For example, the determining unit is specifically configured to: determine the event notification rule from a subscription resource or from an event notification rule set.

例如,所述订阅服务装置,还包括:订阅资源创建单元,用于创建订阅资源,其中,所述订阅资源中包括所述事件通知规则。For example, the subscription service device further includes: a subscription resource creation unit, configured to create a subscription resource, wherein the subscription resource includes the event notification rule.

例如,所述订阅服务装置,还包括:第一接收单元,用于在创建订阅资源之前,接收订阅方发送的创建订阅资源请求。For example, the subscription service device further includes: a first receiving unit, configured to receive a request for creating a subscription resource sent by the subscriber before creating the subscription resource.

例如,所述通知单元具体用于判断所述参与方信息是否与特征值相匹配,若是,则确定所述参与方信息满足所述事件通知规则,则向被通知方发送通知。For example, the notification unit is specifically configured to determine whether the participant information matches the feature value, and if yes, determine that the participant information satisfies the event notification rule, and then send a notification to the notified party.

例如,所述订阅服务装置,还包括:第二接收单元,用于接收订阅方发送的订阅请求以确定所述事件通知规则。For example, the subscription service device further includes: a second receiving unit, configured to receive a subscription request sent by the subscriber to determine the event notification rule.

例如,所述第一接收单元还用于接收操作请求,其中,所述操作请求中 包括所述参与方信息。For example, the first receiving unit is further configured to receive an operation request, where the operation request is The participant information is included.

例如,所述通知单元具体用于判断所述参与方信息是否不同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。For example, the notification unit is specifically configured to determine whether the participant information is different from the determination feature, and if yes, determine that the participant information satisfies the event notification rule, and send a notification to the notified party.

例如,所述通知单元具体用于判断所述参与方信息是否等同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。For example, the notification unit is specifically configured to determine whether the participant information is equivalent to the determination feature, and if yes, determine that the participant information satisfies the event notification rule and send a notification to the notified party.

例如,所述事件通知单元具体用于:统计具有的参与方信息不同于判断特征的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;如果所述参与方的数目满足所述事件通知规则,确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。For example, the event notification unit is specifically configured to: count the number of participants having the participant information different from the judgment feature; determine whether the number of the participants meets the event notification rule; if the number of the participants meets The event notification rule determines that the participant information satisfies the event notification rule and sends a notification to the notified party.

例如,所述通知单元具体用于:统计具有的参与方信息与判断特征相同的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。For example, the notification unit is specifically configured to: count the number of participants having the same participant information and the determination feature; determine whether the number of the participants meets the event notification rule; if yes, determine the participant information The event notification rule is satisfied, and a notification is sent to the notified party.

例如,所述判断特征包括标识、角色、标识特征和角色特征中的至少之一。For example, the determination feature includes at least one of an identification, a character, an identification feature, and a character feature.

例如,所述标识包括订阅方标识、被订阅方标识、被通知方标识、参与方标识、订阅方预设标识、被订阅方预设标识、被通知方预设标识和参与方预设标识中的至少之一;所述角色包括订阅方角色、被订阅方角色、被通知方角色、参与方角色、订阅方预设角色、被订阅方预设角色、被通知方预设角色和参与方预设角色中的至少之一;所述标识特征包括订阅方标识特征、被订阅方标识特征、被通知方标识特征、参与方标识特征、订阅方预设标识特征、被订阅方预设标识特征、被通知方预设标识特征和参与方预设标识特征中的至少之一;所述角色特征包括订阅方角色特征、被订阅方角色特征、被通知方角色特征、参与方角色特征、订阅方预设角色特征、被订阅方预设角色特征、被通知方预设角色特征和参与方预设角色特征中的至少之一。For example, the identifier includes a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier. At least one of the roles; the role includes a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant At least one of the roles; the identity feature includes a subscriber identity feature, a subscriber identity feature, a notified party identity feature, a party identity feature, a subscriber preset identity feature, a subscriber default tag feature, At least one of a notified party preset identification feature and a participant preset identification feature; the role feature includes a subscriber role feature, a subscriber role feature, a notified party role feature, a participant role feature, and a subscriber pre- At least one of a character feature, a predetermined role feature of the subscriber, a preset role feature of the notified party, and a preset role feature of the participant are set.

本公开的实施例还提供一种用于进行通知的系统,包括:An embodiment of the present disclosure also provides a system for performing notification, including:

如上所述的任一装置,所述装置为订阅服务装置;Any of the devices described above, the device being a subscription service device;

订阅装置,被配置为向所述订阅服务装置发送订阅创建请求;a subscription device configured to send a subscription creation request to the subscription service device;

参与方装置,被配置为向所述订阅服务装置发送操作请求;以及a participant device configured to send an operation request to the subscription service device;

被通知方装置,被配置为接收来自所述订阅服务装置的通知。The notified party device is configured to receive a notification from the subscription service device.

本公开实施例提供了一种进行通知的方法、装置和系统,基于特定的参 与方来实现订阅通知。具体的,当订阅服务方检测到特定的参与方满足事件通知规则方后,向被通知方发送通知消息,其中,所述特定的参与方为:参与方信息包括参与方标识和参与方角色中的至少之一的参与方。这样,就实现了基于所述特定参与方的通知服务,满足了用户差异化的需求。Embodiments of the present disclosure provide a method, apparatus, and system for making notifications based on specific parameters Implement a subscription notification with the party. Specifically, after the subscription service party detects that the specific participant meets the event notification rule party, the notification message is sent to the notified party, where the specific participant is: the participant information includes the participant identifier and the participant role. At least one of the participants. In this way, the notification service based on the specific participant is realized, and the demand for user differentiation is satisfied.

附图说明DRAWINGS

为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,而非对本公开的限制,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only the present invention. Some embodiments, rather than the limitations of the present disclosure, may be obtained by those skilled in the art from the drawings without departing from the scope of the invention.

图1为本公开至少一个实施例提供的一种用于订阅通知的系统的硬件示意性框图;1 is a hardware schematic block diagram of a system for subscription notification provided by at least one embodiment of the present disclosure;

图2为本公开至少一个实施例提供的一种进行通知的方法的流程图;2 is a flowchart of a method for performing notification according to at least one embodiment of the present disclosure;

图3为本公开至少一个实施例提供的一种用于订阅服务的装置的示意性框图;FIG. 3 is a schematic block diagram of an apparatus for subscribing to a service according to at least one embodiment of the present disclosure;

图4为本公开至少一个实施例提供的一种订阅通知的过程的示意图;4 is a schematic diagram of a process for subscribing to a notification according to at least one embodiment of the present disclosure;

图5为本公开至少一个实施例提供的订阅通知的过程的示意图;5 is a schematic diagram of a process of subscribing to a notification provided by at least one embodiment of the present disclosure;

图6为本公开至少一个实施例提供的订阅通知的过程的示意图;以及6 is a schematic diagram of a process of subscribing to a notification provided by at least one embodiment of the present disclosure;

图7为本公开至少一个实施例提供的一种示例性的订阅资源的结构示意图;FIG. 7 is a schematic structural diagram of an exemplary subscription resource according to at least one embodiment of the present disclosure;

图8为本公开至少一个实施例提供的一种进行通知的方法的流程图。FIG. 8 is a flowchart of a method for performing notification according to at least one embodiment of the present disclosure.

附图标记:Reference mark:

订阅设备101;参与方设备104;被通知方设备106;订阅服务设备150;处理器152;存储器154;网络160;订阅服务装置300;订阅资源创建单元330;事件通知单元320;第一接收单元340;第二接收单元350;参与方装置402;订阅装置404;被通知方装置406。Subscribing device 101; participant device 104; notified party device 106; subscription service device 150; processor 152; memory 154; network 160; subscription service device 300; subscription resource creation unit 330; event notification unit 320; first receiving unit 340; second receiving unit 350; participant device 402; subscription device 404; notified party device 406.

具体实施方式detailed description

为使本公开的目的、技术方案和优点更加清楚,以下举实施例对本公开 作进一步详细说明。显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。In order to make the objects, technical solutions and advantages of the present disclosure more clear, the following embodiments are directed to the present disclosure. For further details. It is apparent that the described embodiments are only a part of the embodiments of the present disclosure, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.

目前相关技术中,订阅方向订阅服务方(也称作被订阅方或通知方)发送订阅请求,该订阅请求可以指示:当事件发生时,订阅服务方发送消息给被通知方。订阅方和被通知方可以是相同的实体或者不同的实体。事件发生的规则定义在被订阅资源下(例如,在被订阅资源下创建<subscription>资源,<subscription>资源的eventNotificationCriteria参数中包含事件通知规则)。当满足事件通知规则时,订阅服务方向被通知方发送通知。例如,事件通知规则的参数包括,但不限于,表格1中列出的参数:In the related art, the subscription direction subscription service party (also referred to as the subscriber or the notifier) sends a subscription request, and the subscription request may indicate that when the event occurs, the subscription service party sends a message to the notified party. The subscriber and the notified party can be the same entity or different entities. The rule in which the event occurs is defined under the subscribed resource (for example, the <subscription> resource is created under the subscribed resource, and the event notification rule is included in the eventNotificationCriteria parameter of the <subscription> resource). When the event notification rule is met, the subscription service direction is sent by the notifying party. For example, the parameters of the event notification rule include, but are not limited to, the parameters listed in Table 1:

表格1Table 1

Figure PCTCN2017094795-appb-000001
Figure PCTCN2017094795-appb-000001

当前的订阅机制没有考虑到参与实体(例如,订阅方、参与方、被通知方等)的不同情况。在实际应用中,当被通知方希望基于特定的参与方执行相应的动作时(例如,当某个参与方执行某项操作时),订阅服务方可以向被通知方发送消息。现有的订阅通知机制无法满足这些方面的要求。所述特 定的参与方可以理解为:除订阅方、被订阅方和被通知方之外的其他参与方;该其他参与方可执行诸如更新、删除、创建等的操作。当然,所述参与方与所述订阅方、被订阅方或被通知方可以为同一个实体也可以为不同的实体。The current subscription mechanism does not take into account the different situations of participating entities (eg, subscribers, parties, notified parties, etc.). In practical applications, when the notified party wishes to perform a corresponding action based on a specific participant (for example, when a certain party performs an operation), the subscribing service party can send a message to the notified party. Existing subscription notification mechanisms do not meet these requirements. The special A predetermined participant can be understood as: a participant other than the subscriber, the subscriber, and the notified party; the other party can perform operations such as updating, deleting, creating, and the like. Of course, the participant and the subscriber, the subscriber or the notified party may be the same entity or different entities.

本公开实施例提供了一种进行通知的方法、装置和系统,基于特定的参与方来实现通知,比如订阅。具体的,当订阅服务方检测到特定的参与方后,向被通知方发送通知消息,实现了基于参与方的通知服务,满足了用户差异化的需求。Embodiments of the present disclosure provide a method, apparatus, and system for making a notification, implementing a notification, such as a subscription, based on a particular participant. Specifically, when the subscription service party detects a specific participant, the notification message is sent to the notified party, and the notification service based on the participant is implemented, and the user differentiated requirement is satisfied.

具体的,本公开实施例提供了一种进行通知(Notify)的方法、装置和系统,基于特定的参与方来实现通知。具体的,当订阅服务方检测到特定的参与方满足事件通知规则方后,向被通知方发送通知消息。比如,当订阅服务方检测到特定的参与方信息满足事件通知规则后,向被通知方发送通知消息。Specifically, embodiments of the present disclosure provide a method, apparatus, and system for performing notification (Notify), implementing notification based on a specific participant. Specifically, after the subscription service party detects that the specific participant meets the event notification rule party, the notification message is sent to the notified party. For example, when the subscription service party detects that the specific party information satisfies the event notification rule, it sends a notification message to the notified party.

例如,所述事件通知规则即为事件通知条件(eventNotificationCriteria conditions),事件通知规则可以是事件通知规则集,该事件通知规则集中可包括一个或多个子条件。判断参与方信息满足事件通知规则时,可判断参与方信息满足所述子条件中任意一个,或满足所有子条件。For example, the event notification rule is an event notification condition (eventNotificationCriteria conditions), and the event notification rule may be an event notification rule set, and the event notification rule set may include one or more sub-conditions. When it is judged that the participant information satisfies the event notification rule, it may be determined that the participant information satisfies any one of the sub-conditions, or all sub-conditions are satisfied.

例如,所述参与方信息包括参与方标识、参与方角色、参与方角色特征、参与方标识特征中的至少之一。For example, the participant information includes at least one of a participant identifier, a participant role, a participant role feature, and a participant identification feature.

这样,就实现了基于所述特定参与方的通知服务,满足了用户差异化的需求。In this way, the notification service based on the specific participant is realized, and the demand for user differentiation is satisfied.

下面以订阅为应用场景,说明订阅过程中进行通知的方法、装置和系统。The following is a description of the method, device, and system for notification during the subscription process.

图1为本公开实施例提供的一种用于进行通知的系统100的硬件示意性框图。如图1所示,系统100可以包括订阅设备101、参与方设备104、被通知方设备106和订阅服务设备150(订阅服务设备即为进行通知的通知设备)。系统100中的各设备可以通过网络160连接。系统100的各设备之间可以直接或间接地互相通信,例如,系统100的各设备可以通过网络160互相发送和接收数据和/或信号。FIG. 1 is a schematic block diagram of hardware of a system 100 for performing notification according to an embodiment of the present disclosure. As shown in FIG. 1, the system 100 can include a subscription device 101, a participant device 104, a notified party device 106, and a subscription service device 150 (a subscription service device is a notification device that performs notification). Devices in system 100 can be connected by network 160. Devices of system 100 can communicate with each other directly or indirectly, for example, devices of system 100 can transmit and receive data and/or signals to each other over network 160.

网络160可以为一种能够实现具有独立功能的普通物体的互联互通的网络。网络160可以为无线网,当然,网络160也可以包括有线网络。例如, 网络160可以为基于互联网和/或电信网的物联网(Internet of Things)。每个用户都可以应用电子标签将普通物体连接到物联网,因此,在物联网上都可以查出各普通物理的具体位置。通过物联网可以使用中心计算机对各机器和设备进行集中管理和控制,例如,可以对家庭设备(例如,智能冰箱、智能微波炉等)、汽车等机器或设备进行远程控制,以及搜索其位置等。The network 160 can be a network capable of interconnecting common objects having independent functions. Network 160 may be a wireless network, although network 160 may also include a wired network. E.g, Network 160 may be an Internet of Things based Internet and/or telecommunications network. Each user can use an electronic tag to connect ordinary objects to the Internet of Things. Therefore, the specific location of each common physics can be found on the Internet of Things. Through the Internet of Things, central machines can be used to centrally manage and control various machines and devices. For example, remote control of home devices (eg, smart refrigerators, smart microwave ovens, etc.), automobiles, and the like, as well as searching for their location and the like.

订阅服务设备150(即通知设备)可以为一种包括处理器和存储器的计算设备。例如,订阅服务设备150可以为服务器。当然,订阅服务设备150也可以为台式电脑、笔记本电脑、智能手机、平板电脑以及其他包括处理器和存储器的设备。图1示出了订阅服务器150包括处理器152和存储器154。The subscription service device 150 (ie, the notification device) can be a computing device that includes a processor and a memory. For example, the subscription service device 150 can be a server. Of course, the subscription service device 150 can also be a desktop computer, a notebook computer, a smart phone, a tablet computer, and other devices including a processor and a memory. FIG. 1 shows subscriber server 150 including processor 152 and memory 154.

处理器152可以处理数据信号,可以包括各种计算结构,例如复杂指令集计算机(CISC)结构、结构精简指令集计算机(RISC)结构或者一种实行多种指令集组合的结构。在一些实施例中,处理器152也可以是微处理器,例如X86处理器或ARM处理器,或者可以是数字处理器(DSP)等。处理器152可以控制订阅服务设备150中的其它组件以执行期望的功能。Processor 152 can process data signals and can include various computing structures, such as a Complex Instruction Set Computer (CISC) architecture, a Structured Reduced Instruction Set Computer (RISC) architecture, or a structure that implements a combination of multiple instruction sets. In some embodiments, processor 152 can also be a microprocessor, such as an X86 processor or an ARM processor, or can be a digital processor (DSP) or the like. The processor 152 can control other components in the subscription service device 150 to perform the desired functions.

存储器154可以保存处理器152执行的指令和/或数据。例如,存储器154可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在所述计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器152可以运行所述程序指令,以实现下文所述的订阅通知的功能以及/或者其它期望的功能。在所述计算机可读存储介质中还可以存储各种应用程序和各种数据,例如所述应用程序使用和/或产生的各种数据等。Memory 154 can hold instructions and/or data executed by processor 152. For example, memory 154 can include one or more computer program products, which can include various forms of computer readable storage media, such as volatile memory and/or nonvolatile memory. The volatile memory may include, for example, a random access memory (RAM) and/or a cache or the like. The nonvolatile memory may include, for example, a read only memory (ROM), a hard disk, a flash memory, or the like. One or more computer program instructions can be stored on the computer readable storage medium, and the processor 152 can execute the program instructions to implement the functionality of the subscription notifications described below and/or other desired functionality. Various applications and various data may also be stored in the computer readable storage medium, such as various data used and/or generated by the application, and the like.

订阅设备101可以为一种包括处理器和存储器的计算设备。例如,订阅设备101可以为电视、台式电脑、笔记本电脑、智能手机、平板电脑、游戏控制器、音乐播放器(例如mp3播放器等)以及其他包括处理器和存储器的终端(例如,移动终端,智能终端)。在一些实施例中,订阅设备101可以包括处理器、存储器以及诸如输入设备和输出设备等其他部件。Subscription device 101 can be a computing device that includes a processor and a memory. For example, the subscription device 101 can be a television, a desktop computer, a notebook computer, a smart phone, a tablet computer, a game controller, a music player (eg, an mp3 player, etc.), and other terminals including a processor and a memory (eg, a mobile terminal, Intelligent Terminal). In some embodiments, the subscription device 101 can include a processor, memory, and other components such as input devices and output devices.

参与方设备104可以为一种包括处理器和存储器的计算设备。例如,参与方设备104可以为电视、智能家电设备、充电汽车、台式电脑、笔记本电 脑、智能手机、平板电脑以及其他包括处理器和存储器的终端(例如,移动终端,智能终端)。在一些实施例中,参与方设备104可以包括处理器、存储器以及诸如输入设备和输出设备等其他部件。Participant device 104 can be a computing device that includes a processor and a memory. For example, the participant device 104 can be a television, a smart home appliance, a charging car, a desktop computer, a laptop battery Brains, smartphones, tablets, and other terminals including processors and memories (eg, mobile terminals, smart terminals). In some embodiments, the participant device 104 can include a processor, memory, and other components such as input devices and output devices.

被通知方设备106可以为一种包括处理器和存储器的计算设备。例如,被通知方设备106可以为电视、智能家电设备、充电汽车、台式电脑、笔记本电脑、智能手机、平板电脑、游戏控制器、音乐播放器(例如mp3播放器等)以及其他包括处理器和存储器的终端(例如,移动终端,智能终端)。在一些实施例中,被通知方设备106可以包括处理器、存储器以及诸如输入设备和输出设备等其他部件。The notifier device 106 can be a computing device that includes a processor and a memory. For example, the notified party device 106 can be a television, a smart home appliance, a charging car, a desktop computer, a laptop, a smartphone, a tablet, a game controller, a music player (eg, an mp3 player, etc.), and others including a processor and A terminal of a memory (for example, a mobile terminal, a smart terminal). In some embodiments, the notifier device 106 can include a processor, memory, and other components such as input devices and output devices.

在一些实施例中,订阅方和被通知方可以为相同的实体,也可以为不同的实体。参与方和订阅方可以为相同的实体,也可以为不同的实体;若为相同的实体,则该实体为同时具备订阅方和参与方角色的实体,可同时进行订阅和第三方操作。当然,订阅方、被通知方和参与方也可以为互不相同的实体。In some embodiments, the subscriber and the notified party may be the same entity or different entities. Participants and subscribers can be the same entity or different entities; if they are the same entity, the entity is an entity that has both a subscriber and a participant role, and can subscribe and third-party operations simultaneously. Of course, the subscriber, the notified party, and the participant may also be entities that are different from each other.

在一些实施例中,订阅者操作于订阅设备101,向订阅服务设备150发送订阅创建请求。在不产生歧义的情况下,本公开实施例所述的订阅方可以指订阅设备101、操作订阅设备101的订阅者或下面所述的安装于订阅设备101的订阅装置404。In some embodiments, the subscriber operates on the subscription device 101 and sends a subscription creation request to the subscription service device 150. In the case of no ambiguity, the subscriber described in the embodiment of the present disclosure may refer to the subscription device 101, the subscriber operating the subscription device 101, or the subscription device 404 installed in the subscription device 101 described below.

操作者可以操作于参与方设备104,向订阅服务设备150发送操作请求。当然,参与方设备104也可以在无人干预的情况下自动向订阅服务设备150发送操作请求。在不产生歧义的情况下,本公开实施例所述的参与方可以指参与方设备104、操作参与方设备104的操作者或下面所述的安装于参与方设备104的参与方装置402。The operator can operate on the participant device 104 to send an operation request to the subscription service device 150. Of course, the participant device 104 can also automatically send an operation request to the subscription service device 150 without human intervention. Without ambiguity, the participants described in the embodiments of the present disclosure may refer to the participant device 104, the operator operating the participant device 104, or the participant device 402 installed on the participant device 104 described below.

被通知者可以操作于被通知设备106,例如,被通知者可以通过被通知设备106阅读来自订阅服务设备150的通知。在不产生歧义的情况下,本公开实施例所述的被通知方可以指被通知设备106、操作被通知设备106的被通知者或下面所述的安装于被通知设备106的被通知方装置406。The notified person can operate on the notified device 106, for example, the notified person can read the notification from the subscription service device 150 by the notified device 106. The notified party described in the embodiment of the present disclosure may refer to the notified device 106, the notified person who operates the notified device 106, or the notified party device installed on the notified device 106 described below, without causing ambiguity. 406.

服务提供者可以操作于订阅服务设备150,向被通知方发送通知。当然,订阅服务设备150也可以在无人干预的情况下,在满足事件通知规则时自动向被通知方发送通知。在不产生歧义的情况下,本公开实施例所述的订阅服 务方可以指订阅服务设备150、操作订阅服务设备150的服务提供者或下面所述的安装于订阅服务设备150的订阅服务装置300(订阅服务装置即为进行通知的通知装置)。The service provider can operate on the subscription service device 150 to send a notification to the notified party. Of course, the subscription service device 150 can also automatically send a notification to the notified party when the event notification rule is satisfied without human intervention. The subscription service described in the embodiment of the present disclosure without ambiguity The service party may refer to the subscription service device 150, the service provider operating the subscription service device 150, or the subscription service device 300 installed on the subscription service device 150 described below (the subscription service device is the notification device that performs the notification).

在一些实施例中,系统100的各设备根据需要还可以包括显示装置(例如LCD、OLED或投影装置)、输入装置(例如触控装置、键盘、麦克风、鼠标等)、扬声器或振动装置等。In some embodiments, each device of system 100 may also include a display device (eg, an LCD, OLED, or projection device), an input device (eg, a touch device, a keyboard, a microphone, a mouse, etc.), a speaker or a vibrating device, etc., as desired.

本公开实施例提供了一种在订阅场景中进行通知的方法,如图8所示,该方法包括:An embodiment of the present disclosure provides a method for performing notification in a subscription scenario. As shown in FIG. 8, the method includes:

步骤S1001包括:确定事件通知规则;步骤S1002包括:判断参与方信息是否满足所述事件通知规则,若是,则向被通知方发送通知;其中,所述参与方信息包括参与方标识、参与方标识特征、参与方角色、参与方角色标识中的至少之一。步骤S1003包括:若所述参与方信息满足所述事件通知规则,则向被通知方发送通知。Step S1001 includes: determining an event notification rule; step S1002 includes: determining whether the participant information satisfies the event notification rule, and if yes, sending a notification to the notified party; wherein the participant information includes a participant identifier, a participant identifier At least one of a feature, a participant role, and a participant role identifier. Step S1003 includes: if the participant information satisfies the event notification rule, sending a notification to the notified party.

上述本公开实施例提供的方法,可基于参与方信息,尤其是基于参与方标识、参与方标识特征、参与方角色、参与方角色标识等中的至少一个参与方信息与事件通知规则的匹配关系来确定是否进行通知,满足了更多用户或参与方的通知需求。The method provided by the embodiment of the present disclosure may be based on the participant information, in particular, the matching relationship between the participant information and the event notification rule based on the participant identifier, the participant identification feature, the participant role, the participant role identifier, and the like. To determine whether to notify, meet the notification needs of more users or participants.

例如,所述确定事件通知规则可以包括:从订阅资源中或从事件通知规则集中确定所述事件通知规则。For example, the determining an event notification rule may include determining the event notification rule from a subscription resource or from an event notification rule set.

例如,在一些实施例中,事件发生的规则定义在订阅资源下的,即,订阅资源中包括了事件通知规则(即事件通知条件、eventNotificationCriteria),一个订阅资源可对应于该资源下的事件通知规则。在确定事件通知规则时,可从所述订阅资源中确定所述事件通知规则,比如,直接选择所述订阅资源中的事件通知规则为需要确定的事件通知规则。For example, in some embodiments, the rule in which the event occurs is defined under the subscription resource, that is, the event notification rule (ie, the event notification condition, eventNotificationCriteria) is included in the subscription resource, and a subscription resource may correspond to the event notification under the resource. rule. When the event notification rule is determined, the event notification rule may be determined from the subscription resource, for example, the event notification rule in the subscription resource is directly selected as an event notification rule that needs to be determined.

又例如,在另外一些实施例中,事件通知规则并不是被包括在订阅资源中的,而是独立设置在订阅资源之外的事件通知规则集中,所述事件通知规则集可包括一个或多个事件通知规则。在确定事件通知规则时,可从所述事件通知规则集中确定一个或多个事件通知规则作为需要确定的事件通知规则。For another example, in other embodiments, the event notification rule is not included in the subscription resource, but is set independently in the event notification rule set outside the subscription resource, and the event notification rule set may include one or more Event notification rules. When the event notification rule is determined, one or more event notification rules may be determined from the event notification rule set as the event notification rule to be determined.

从订阅资源中确定事件通知规则,包括:可以从包括该事件通知规则的 所述订阅资源中获取该事件通知规则,也可以直接匹配订阅资源中的事件通知规则而无需获取。当然可以是直接从事件通知规则集中获取一个或多个事件通知规则,还可以是直接匹配事件通知规则集中的事件通知规则,以使得在获取到所述参与方信息时判断是否满足该事件通知规则。Determining an event notification rule from a subscription resource, including: may include a notification rule from the event The event notification rule is obtained in the subscription resource, and the event notification rule in the subscription resource can be directly matched without obtaining. The event notification rule may be obtained by directly acquiring one or more event notification rules from the event notification rule set, or may directly match the event notification rule in the event notification rule set, so as to determine whether the event notification rule is satisfied when the participant information is obtained. .

在一些实施方式中,所述订阅资源,可以是在接收订阅方发送的创建订阅资源请求后,针对该创建订阅资源请求而创建的订阅资源。例如由AE或CSE发起创建<subscription>资源请求时,相应的被订阅方则根据所述创建<subscription>资源请求创建包括事件通知规则的订阅资源。也可以是在接收订阅方发送的订阅资源请求时,为该订阅资源请求在已创建的订阅资源中确定与该订阅资源请求匹配对应的订阅资源。In some embodiments, the subscription resource may be a subscription resource created for the create subscription resource request after receiving a request to create a subscription resource sent by the subscriber. For example, when a request for creating a <subscription> resource is initiated by an AE or a CSE, the corresponding subscribing party creates a subscription resource including an event notification rule according to the request to create a <subscription> resource. The subscription resource corresponding to the subscription resource request may be determined in the created subscription resource for the subscription resource request when receiving the subscription resource request sent by the subscriber.

例如,所述确定所述事件通知规则,可以在接收订阅方发送的订阅请求之后进行。例如,当参与方、订阅方为UPNP CP,被订阅方为UPNP Client,被通知方为UPNP Device时,订阅方向被订阅方发送订阅请求,该订阅请求中携带被订阅方的URL、服务标识符以及被通知方的URL,被订阅方接收到该订阅请求后即为该订阅方匹配订阅资源,所述订阅资源可根据预先配置的事件通知规则确定,之后,参与方向该被订阅方发送action请求,当被订阅方接收到该action请求时,该action请求中携带参与方的信息(例如参与方ID),被订阅方接收到该action请求后,判断该参与方信息是否满足预先配置的通知规则(例如判断参与方的ID是否满足该通知规则)。如果该参与方信息是否满足预先配置的通知规则,则向被通知方发送通知。For example, the determining the event notification rule may be performed after receiving a subscription request sent by a subscriber. For example, when the participant and the subscriber are UPNP CP, the subscriber is the UPNP Client, and the notified party is the UPNP Device, the subscription direction is sent by the subscriber to the subscription request, and the subscription request carries the URL of the subscriber, the service identifier. And the URL of the notified party, after the subscriber receives the subscription request, the subscriber matches the subscription resource, and the subscription resource may be determined according to a pre-configured event notification rule, and then the participant sends an action request to the subscribed party. When the subscribed party receives the action request, the action request carries the information of the participant (for example, the participant ID), and after receiving the action request, the subscriber determines whether the participant information satisfies the pre-configured notification rule. (For example, it is determined whether the ID of the participant satisfies the notification rule). If the participant information satisfies the pre-configured notification rule, the notification is sent to the notified party.

值得注意的是,在本公开的一些实施例中,所述参与方可以理解为除订阅方、被订阅方和被通知方之外的其他参与方。It should be noted that in some embodiments of the present disclosure, the participant may be understood as a participant other than the subscriber, the subscriber, and the notified party.

在一些物联网通信协议(例如M2M协议)中,从信息交互的维度定义了发起方(Originator)和接收方(Receiver)。发起请求的一方叫做发起方(Originator),发起方可以是AE(应用实体)或CSE(公共业务实体),接收请求的一方叫接收方(Receiver),接收方可以是CSE。In some IoT communication protocols (such as the M2M protocol), an originator and a receiver are defined from the dimension of information interaction. The party that initiated the request is called the originator. The originator can be an AE (application entity) or a CSE (public service entity). The party receiving the request is called the receiver (Receiver), and the receiver can be the CSE.

例如,如果发起方是发起创建<subscription>资源请求,则发起方成为资源订阅方,简称订阅方(subscriber),相应的接收方即为被订阅方。而在有的物联网协议中,因无被订阅方的定义,则使用Hosting CSE指代被订阅方。又例如,发起方如果是发起注册请求,则发起方成为注册方,相应的接收方 即为被注册方。For example, if the initiator initiates the creation of a <subscription> resource request, the initiator becomes the resource subscriber, referred to as the subscriber, and the corresponding receiver is the subscriber. In some IoT protocols, Hosting CSE is used to refer to the subscriber because it is not defined by the subscriber. For another example, if the originator initiates the registration request, the initiator becomes the registrant and the corresponding receiver It is the registered party.

再例如,发起方如果发起操作请求,则发起方成为操作请求方(简称请求方),接收方成为操作请求接收方。所述注册方、订阅方、操作请求方可以为相同的实体执行不同动作时的不同角色,也可以为不同的实体在执行不同的动作。在本实施例中,所述参与方、订阅方、被订阅方、被通知方可以为相同的实体执行不同动作时的不同角色,也可以为执行不同动作的不同实体,若所述参与方发送注册请求,则为注册方,若所述参与方发送操作请求方,则成为操作请求方。For another example, if the initiator initiates an operation request, the initiator becomes an operation requester (referred to as a requester), and the receiver becomes an operation request recipient. The registrant, the subscriber, and the operation requester may perform different roles for different actions for the same entity, or perform different actions for different entities. In this embodiment, the participant, the subscribing party, the subscribing party, and the notified party may perform different roles for different actions for the same entity, or may be different entities that perform different actions, if the participant sends The registration request is the registrant, and if the participant sends the operation requester, it becomes the operation requester.

可选的,判断参与方信息是否满足所述事件通知规则,具体的包括:判断所述参与方信息是否与特征值(specified value)相匹配,若是,则确定所述参与方信息满足所述事件通知规则。Optionally, determining whether the participant information meets the event notification rule specifically includes: determining whether the participant information matches a specified value, and if yes, determining that the participant information meets the event Notification rules.

例如,所述特征值为具体的值,该具体的值可配置在所述订阅资源中,也可配置在所述订阅资源之外。当判断所述参与方信息是否满足事件通知规则时提供给所述订阅资源。所述具体的值可以是指代数据类型的值、指代数据结构的值、指代数据内容的值等等,例如该具体的值可以为标识的内容特征(如1111-22)。例如,所述判断所述参与方信息是否与特征值(specified value)相匹配包括:判断该参与方信息是否等于该特征值、是否大于该特征值、是否小于该特征值或参与方信息的数目是否大于该特征值的数目、是否等于该特征值的数据、是否小于该特征值的数据等等,根据应用场景的不同,配置所述参与方信息与特征值相匹配的匹配方式。例如,当希望在参与方数目超过某特定值时通知被通知方,可以配置匹配方式为判断参与方的标识个数,当该标识个数大于该特定值,通知被通知方。For example, the feature value is a specific value, and the specific value may be configured in the subscription resource or may be configured outside the subscription resource. The subscription resource is provided when it is determined whether the participant information satisfies an event notification rule. The specific value may refer to a value of a data type, a value of a data structure, a value of a data content, etc., for example, the specific value may be an identified content feature (eg, 1111-22). For example, the determining whether the participant information matches the specified value comprises: determining whether the participant information is equal to the feature value, whether it is greater than the feature value, whether it is less than the feature value, or the number of participant information. Whether it is greater than the number of the feature values, whether the data is equal to the feature value, whether the data is smaller than the feature value, or the like, and the matching manner in which the participant information matches the feature value is configured according to the application scenario. For example, when it is desired to notify the notified party when the number of participants exceeds a certain value, the matching manner may be configured to determine the number of identifiers of the participant, and when the number of the identifiers is greater than the specific value, the notified party is notified.

需要说明的是,标识可以为具体的值,可以是具体的数值、符号或结合。例如实体A的标识是1111-22,实体B的标识是2222-11,如果比较标识,两者的标识不同。It should be noted that the identifier may be a specific value, and may be a specific numerical value, a symbol or a combination. For example, the identifier of entity A is 1111-22, and the identifier of entity B is 2222-11. If the identifier is compared, the identifiers of the two are different.

标识特征为标识的特征,可以是标识的结构特征、和/或标识的内容特征。例如实体A的标识是AAAA-AA,实体B的标识是AAAA-BB,两个标识的结构都是XXXX-YY的形式,则二者的结构特征是相同的。标识AAAA-AA中包括一种字符A,标识AAAA-BB包括两种字符A和B,可见,这两个标识的标识内容特征不同。 The feature that identifies the feature is an identified feature, which may be a structural feature of the identity, and/or a content feature of the identity. For example, the identifier of the entity A is AAAA-AA, the identifier of the entity B is AAAA-BB, and the structures of the two identifiers are all in the form of XXXX-YY, and the structural features of the two are the same. The identifier AAAA-AA includes a character A, and the identifier AAAA-BB includes two characters A and B. It can be seen that the identification content characteristics of the two identifiers are different.

角色和角色特征也是类似,角色指角色本身,角色特征指角色所具备的特征,这里不再详述。The roles and role characteristics are similar. The role refers to the role itself. The character characteristics refer to the characteristics of the character, which will not be detailed here.

基于订阅应用场景,上述方法在确定事件通知规则之前,还包括:接收订阅方发送的订阅请求。这样可基于所述订阅请求,确定事件通知规则。由于在接收到订阅请求后,可确定该订阅请求对应的订阅资源,例如,可从本地获取预存的订阅资源或创建一个订阅资源,一般地,在确定的订阅资源中包括事件通知规则。则确定所述事件通知规则时,可从订阅资源中获取事件通知规则。Based on the subscription application scenario, before determining the event notification rule, the foregoing method further includes: receiving a subscription request sent by the subscriber. This can determine an event notification rule based on the subscription request. Since the subscription resource corresponding to the subscription request can be determined after receiving the subscription request, for example, the pre-stored subscription resource can be obtained locally or a subscription resource can be created. Generally, the event notification rule is included in the determined subscription resource. When the event notification rule is determined, the event notification rule can be obtained from the subscription resource.

以下将以接收到订阅请求之后创建订阅资源为例,说明本公开实施例进行通知方法的具体流程。The specific process of the notification method in the embodiment of the present disclosure is described below by taking the example of creating a subscription resource after receiving the subscription request.

图2为本公开上述其中一种实施例提供的进行通知的方法200的示意性流程图。在一些实施例中,方法200可以包括如图2所示的一些或全部的步骤(例如,步骤202、204、206以及208中的一部分或全部)。当然,方法200也可以包括其他未在图2中示出的步骤。FIG. 2 is a schematic flowchart of a method 200 for performing notification according to an embodiment of the present disclosure. In some embodiments, method 200 can include some or all of the steps shown in FIG. 2 (eg, some or all of steps 202, 204, 206, and 208). Of course, method 200 can also include other steps not shown in FIG.

步骤S202包括:接收来自订阅方的订阅创建请求(即为创建订阅资源请求或创建<subscription>资源请求)。Step S202 includes receiving a subscription creation request from a subscriber (ie, creating a subscription resource request or creating a <subscription> resource request).

步骤S204包括:创建订阅资源,其中,所述订阅资源包括事件通知规则。Step S204 includes: creating a subscription resource, wherein the subscription resource includes an event notification rule.

步骤S206包括:判断参与方信息是否满足所述事件通知规则,其中,所述参与方信息包括参与方标识(identifier,ID)、参与方角色、参与方标识特征、参与方角色特征中的至少之一。Step S206 includes: determining whether the participant information satisfies the event notification rule, where the participant information includes at least one of a participant identifier (ID), a participant role, a participant identification feature, and a participant role feature. One.

步骤S208包括:如果所述参与方信息满足所述事件通知规则,向被通知方发送通知,否则,结束流程。Step S208 includes: if the participant information satisfies the event notification rule, sending a notification to the notified party, otherwise, ending the process.

所述方法200还包括:The method 200 further includes:

在被订阅方创建订阅资源后,被订阅方接收操作请求,所述操作请求中包括所述参与方信息;或,被订阅方接收注册请求,所述注册请求中包括所述参与方信息。具体的,所述操作请求为来自所述参与方(即操作请求方)的操作请求;所述注册请求为来自所述注册方的注册请求。考虑到实际场景中,需要监控的是除注册方、被注册方和被通知方之外的其他设备的操作情况,被订阅方可被配置为接收来自参与方的操作请求时,根据所述操作请求 中携带的参与方信息(例如操作请求方的ID,此时参与方为操作请求方)判断是否满足所述事件通知规则。After the subscriber creates the subscription resource, the subscriber receives the operation request, and the operation request includes the participant information; or the subscriber receives the registration request, and the registration request includes the participant information. Specifically, the operation request is an operation request from the participant (ie, the operation requester); the registration request is a registration request from the registrant. Considering the actual scenario, what needs to be monitored is the operation of other devices than the registrant, the registrant, and the notified party, and the subscribing party can be configured to receive an operation request from the participant, according to the operation. Request The participant information carried in (for example, the ID of the operation requester, and the participant is the operation requester at this time) determines whether the event notification rule is satisfied.

考虑到实际场景中,需要了解是否有新设备进行注册,则被订阅方可被配置为接收来自注册方的注册请求时,根据所述注册请求中携带的参与方信息(例如注册方的ID,此时参与方为注册方)判断是否满足所述事件通知规则。Considering the actual scenario, if it is necessary to know whether a new device is registered, the subscribing party may be configured to receive the registration request from the registrant according to the participant information carried in the registration request (for example, the registrant's ID, At this time, the participant is the registrant) to determine whether the event notification rule is satisfied.

在一些物联网协议下(例如M2M协议),所述注册方和所述订阅方可以为同一实体在执行不同动作时的不同角色。Under some IoT protocols (eg, M2M protocol), the registrant and the subscriber may be different roles of the same entity in performing different actions.

例如,某特定实体A(注册方)向另一实体B(被注册方)发起注册请求并注册成功后,实体A即可向实体B发送创建订阅资源请求,此时实体A为订阅方,实体B为被订阅方,实体B为实体A创建订阅资源即订阅成功。For example, after a specific entity A (registered party) initiates a registration request to another entity B (registered party) and successfully registers, entity A can send a request to create a subscription resource to entity B, where entity A is a subscriber, entity B is the subscribing party, and entity B creates a subscription resource for entity A, that is, the subscription is successful.

例如,当实体A向实体B发送注册请求和创建订阅资源请求,注册成功且订阅成功后,又有实体D向实体B注册时,可判断所述实体D的ID是否等于已经注册的设备的ID,也即判断实体D的ID是否等于实体A的ID(此时,实体A的ID为特征值、specified value),若不等于,则通知被通知方有新的设备注册。For example, when the entity A sends a registration request and a subscription resource request to the entity B, after the registration is successful and the subscription is successful, and the entity D registers with the entity B, it can be determined whether the ID of the entity D is equal to the ID of the registered device. That is, it is determined whether the ID of the entity D is equal to the ID of the entity A (in this case, the ID of the entity A is a feature value, a specified value), and if not, the notified party has a new device registration.

又例如,当实体A向实体B发送注册请求和创建订阅资源请求,注册成功且订阅成功后,实体C向实体B发送注册请求并注册成功之后又向实体B发送操作请求时,判断所述实体C的操作请求中携带的ID是否大于10(此时数值10为特征值、specified value),若大于,则可通知被通知方有10个设备请求执行操作动作。For another example, when the entity A sends a registration request and a subscription resource request to the entity B, after the registration is successful and the subscription is successful, the entity C sends the registration request to the entity B, and after the registration is successful, the operation request is sent to the entity B, and the entity is determined. Whether the ID carried in the operation request of C is greater than 10 (in this case, the value 10 is a characteristic value, a specified value), and if it is greater than, the notified party has 10 devices requesting to perform an operation.

进一步的,接收到操作请求后,被订阅方向所述参与方发送所述操作请求的响应,或向所述注册方发送所述注册请求的响应。Further, after receiving the operation request, the participant is sent a response to the operation request to the participant, or sends a response to the registration request to the registrant.

例如,所述操作请求可以为创建请求、获取请求、更新请求、删除请求或其他类型的请求。所述操作请求可以包括所述参与方的信息(简称,参与方信息)。例如,所述参与方信息包括参与方标识(identifier,ID)、参与方角色、参与方标识特征、参与方角色特征中的至少之一。For example, the operation request can be a create request, a get request, an update request, a delete request, or other type of request. The operation request may include information of the party (abbreviation, party information). For example, the participant information includes at least one of a participant identifier (ID), a participant role, a participant identification feature, and a participant role feature.

在一些实施例中,所有的参与方均可以根据角色或角色特征进行分类。以参与方信息为参与方角色为例,可以将所有的参与方分为管理员、普通用户、VIP用户、其他用户等类别。所述参与方角色表明该参与方为管理员、 普通用户、VIP用户或其他用户。该参与方的角色特征为该用户身份。In some embodiments, all participants can be classified according to role or character characteristics. Taking the participant information as the participant role as an example, all participants can be classified into administrators, ordinary users, VIP users, and other users. The participant role indicates that the participant is an administrator, Ordinary user, VIP user, or other user. The role of the participant is characterized by the identity of the user.

在一些实施例中,各参与方标识可以为应用实体标识(application entity ID,AE-ID)、通用服务实体标识(common service entity ID,CSE-ID)或资源标识(resource ID)等中的一种。所述参与方标识记录了该参与方为应用实体标识、通用服务实体标识或资源标识,以及其具体号码。例如,所述参与方标识为1234ABC。In some embodiments, each participant identifier may be one of an application entity ID (AE-ID), a common service entity identifier (CSE-ID), or a resource identifier (resource ID). Kind. The participant identifier records that the participant is an application entity identifier, a general service entity identifier or a resource identifier, and a specific number thereof. For example, the participant ID is 1234ABC.

在一些实施例中,参与方信息可以为参与方标识特征,如,若参与方标识为1234ABC,则其标识特征为四位连续数字+三位连续字母。In some embodiments, the party information may be a participant identification feature. For example, if the participant ID is 1234ABC, the identification feature is four consecutive digits + three consecutive letters.

在一些实施例中,在步骤S204中,创建所述订阅资源包括:响应于所述创建订阅资源请求,创建所述订阅资源;以及设置所述订阅资源的事件通知规则。例如,可以设置事件通知规则的判断特征(此时所述判断特征即为所述特征值,也即specified value)。判断特征可以包括标识、角色、标识特征和角色特征中的至少之一。所述标识可以包括订阅方标识、被订阅方标识、被通知方标识、参与方标识、订阅方预设标识、被订阅方预设标识、被通知方预设标识和参与方预设标识中的至少之一。所述角色可以包括订阅方角色、被订阅方角色、被通知方角色、参与方角色、订阅方预设角色、被订阅方预设角色、被通知方预设角色和参与方预设角色中的至少之一。所述标识特征可以包括订阅方标识特征、被订阅方标识特征、被通知方标识特征、参与方标识特征、订阅方预设标识特征、被订阅方预设标识特征、被通知方预设标识特征和参与方预设标识特征中的至少之一。所述角色可以包括订阅方角色特征、被订阅方角色特征、被通知方角色特征、参与方角色特征、订阅方预设角色特征、被订阅方预设角色特征、被通知方预设角色特征和参与方预设角色特征中的至少之一。In some embodiments, in step S204, creating the subscription resource comprises: creating the subscription resource in response to the creating a subscription resource request; and setting an event notification rule of the subscription resource. For example, the judgment feature of the event notification rule may be set (the judgment feature is the feature value, that is, the specified value). The determining feature can include at least one of an identification, a character, an identification feature, and a character feature. The identifier may include a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier. At least one. The role may include a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant preset role. At least one. The identification feature may include a subscriber identity feature, a subscriber identity feature, a notified party identity feature, a participant identity feature, a subscriber preset identity feature, a subscriber preset identity feature, and a notified party preset identity feature. And at least one of the participant preset identification features. The role may include a subscriber role feature, a subscriber role feature, a notified party role feature, a participant role feature, a subscriber preset role feature, a subscribed preset role feature, a notified party preset role feature, and The participant presets at least one of the character characteristics.

例如,可以设置判断特征为订阅方标识、预设标识或被通知方标识。又例如,可以设置判断特征为订阅方角色、预设角色或被通知方角色。又例如,判断特征可以包括:订阅方标识以及订阅方角色;或者,订阅方预设标识以及订阅方预设角色;或者,被通知方标识以及被通知方角色。当然,判断特征也可以设置为其他特征值,本公开在此不作限定。For example, the judgment feature may be set as a subscriber identity, a preset identity, or a notified party identity. For another example, the judgment feature may be set as a subscriber role, a preset role, or a notified party role. For another example, the determining feature may include: a subscriber identity and a subscriber role; or a subscriber preset identifier and a subscriber preset role; or a notified party identifier and a notified party role. Of course, the determination feature can also be set as other feature values, and the disclosure is not limited herein.

在步骤S206中,在一些实施例中,判断所述参与方信息是否满足所述事件通知规则,包括:判断所述参与方信息是否不同于判断特征;以及如果 所述参与方信息不同于所述判断特征,确定所述参与方信息满足所述事件通知规则。In step S206, in some embodiments, determining whether the participant information satisfies the event notification rule comprises: determining whether the participant information is different from the determining feature; and if The participant information is different from the determining feature, and the participant information is determined to satisfy the event notification rule.

例如,判断特征可以为订阅方标识,可以判断所述参与方标识是否不同于所述订阅方标识;如果所述参与方标识不同于所述订阅方标识(例如,参与方ID≠订阅方ID),判断所述参与方信息满足所述事件通知规则。所述订阅方标识可以从来自订阅方的订阅创建请求中获得。For example, the determining feature may be a subscriber identity, and may determine whether the participant identity is different from the subscriber identity; if the participant identity is different from the subscriber identity (eg, participant ID/subscriber ID) And determining that the participant information satisfies the event notification rule. The subscriber identity can be obtained from a subscription creation request from a subscriber.

又例如,判断特征可以为订阅方角色,可以判断所述参与方角色是否不同于所述订阅方角色;如果所述参与方角色不同于所述订阅方角色(例如,参与方角色≠订阅方角色),判断所述参与方信息满足所述事件通知规则。所述订阅方角色可以从来自订阅方的订阅创建请求中获得。For another example, the determining feature can be a subscriber role, and the participant role can be determined whether the participant role is different from the subscriber role; if the participant role is different from the subscriber role (eg, the participant role/subscriber role) And determining that the participant information satisfies the event notification rule. The subscriber role can be obtained from a subscription creation request from a subscriber.

在步骤S206中,在另一些实施例中,判断所述参与方信息是否满足所述事件通知规则,包括:判断所述参与方信息是否与判断特征相同;以及如果所述参与方信息与所述判断特征相同,确定所述参与方信息满足所述事件通知规则。In step S206, in another embodiment, determining whether the participant information satisfies the event notification rule comprises: determining whether the participant information is the same as the determination feature; and if the participant information and the The judgment features are the same, and it is determined that the participant information satisfies the event notification rule.

例如,判断特征可以为预设标识,判断所述参与方标识是否与所述预设标识相同;如果所述参与方标识与所述预设标识相同(例如,参与方ID=预预设ID),则判断所述参与方信息满足所述事件通知规则。For example, the determining feature may be a preset identifier, and determining whether the participant identifier is the same as the preset identifier; if the participant identifier is the same as the preset identifier (eg, participant ID=pre-set ID) And determining that the participant information satisfies the event notification rule.

又例如,判断特征可以为预设角色,判断所述参与方角色是否与所述预设角色相同;如果所述参与方角色与所述预设角色相同(例如,参与方角色=预设角色),则判断所述参与方信息满足所述事件通知规则。For another example, the determining feature may be a preset role, determining whether the participant role is the same as the preset role; if the participant role is the same as the preset role (eg, participant role = preset role) And determining that the participant information satisfies the event notification rule.

在步骤S206中,判断所述参与方信息是否满足所述事件通知规则,还可以包括:统计具有的参与方信息不同于判断特征的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;如果所述参与方的数目满足所述事件通知规则,确定所述参与方信息满足所述事件通知规则。In step S206, determining whether the participant information satisfies the event notification rule may further include: counting the number of participants having different participant information different from the determining feature; determining whether the number of the participants meets the An event notification rule; if the number of the participants satisfies the event notification rule, determining that the participant information satisfies the event notification rule.

在一些实施例中,判断所述参与方的数目是否满足所述事件通知规则,包括:判断所述参与方的数目是否大于或等于第一阈值;如果所述参与方的数目大于或等于所述第一阈值,确定所述参与方的数目满足所述事件通知规则。In some embodiments, determining whether the number of the participants meets the event notification rule comprises: determining whether the number of the participants is greater than or equal to a first threshold; if the number of the participants is greater than or equal to the The first threshold determines that the number of participants meets the event notification rule.

例如,参与方可以根据角色(管理员、普通用户、VIP用户、其他用户等)进行分类。假设所述判断特征被设置为角色中的VIP用户(即,判断特 征被设置为“VIP用户”),第一阈值被设置为15。当向订阅服务装置300发送操作请求的具有“VIP用户”角色的参与方的数量等于或大于15时(即,具有“VIP用户”角色的参与方的数量≥第一阈值15),则满足了事件通知规则,可以向被通知方发送通知。For example, participants can be classified according to roles (administrators, regular users, VIP users, other users, etc.). It is assumed that the judgment feature is set as a VIP user in the role (ie, judging The flag is set to "VIP User" and the first threshold is set to 15. When the number of participants having the "VIP User" role transmitting the operation request to the subscription service device 300 is equal to or greater than 15 (ie, the number of participants having the "VIP User" role is ≥ the first threshold 15), then the satisfaction is satisfied. An event notification rule that can send a notification to the notified party.

在另一些实施例中,判断所述参与方的数目是否满足所述事件通知规则,包括:判断所述参与方的数目是否小于或等于第二阈值;如果所述参与方的数目小于或等于所述第二阈值,确定所述参与方的数目满足所述事件通知规则。In other embodiments, determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is less than or equal to a second threshold; if the number of the participants is less than or equal to The second threshold is determined to determine that the number of participants meets the event notification rule.

例如,假设所述判断特征被设置为角色中的VIP用户(即,判断特征被设置为“VIP用户”),第二阈值被设置为25。当向订阅服务装置300发送操作请求的具有“VIP用户”角色的参与方的数量等于或小于25时(即,具有“VIP用户”角色的参与方的数量≤第二阈值25),则满足了事件通知规则,可以向被通知方发送通知。For example, assuming that the judgment feature is set as a VIP user in the role (ie, the judgment feature is set to "VIP User"), the second threshold is set to 25. When the number of participants having the "VIP User" role to send an operation request to the subscription service device 300 is equal to or less than 25 (ie, the number of participants having the "VIP User" role ≤ the second threshold 25), then the satisfaction is satisfied. An event notification rule that can send a notification to the notified party.

在又另一些实施例中,判断所述参与方的数目是否满足所述事件通知规则,包括:判断所述参与方的数目是否大于或等于第一阈值并且小于或等于第二阈值;如果所述参与方的数目大于或等于所述第一阈值并且小于或等于所述第二阈值,确定所述参与方的数目满足所述事件通知规则。In still other embodiments, determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a first threshold and less than or equal to a second threshold; The number of participants is greater than or equal to the first threshold and less than or equal to the second threshold, and it is determined that the number of participants satisfies the event notification rule.

例如,假设所述判断特征被设置为角色中的VIP用户(即,判断特征被设置为“VIP用户”),第一阈值被设置为15,第二阈值被设置为25。当向订阅服务装置300发送操作请求的具有“VIP用户”角色的参与方的数量等于或大于15并且等于或小于25时(即,第一阈值15≤具有“VIP用户”角色的参与方的数量≤第二阈值25),则满足了事件通知规则,可以向被通知方发送通知。For example, assuming that the judgment feature is set as a VIP user in the role (ie, the judgment feature is set to "VIP User"), the first threshold is set to 15, and the second threshold is set to 25. The number of participants having the "VIP User" role when the operation request is transmitted to the subscription service device 300 is equal to or greater than 15 and equal to or less than 25 (ie, the first threshold 15 ≤ the number of participants having the "VIP User" role ≤ second threshold 25), the event notification rule is satisfied, and the notification can be sent to the notified party.

或者,在步骤S206中,判断所述参与方信息是否满足所述事件通知规则,包括:统计具有的参与方信息与判断特征相同的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;如果所述参与方的数目满足所述事件通知规则,确定所述参与方信息满足所述事件通知规则。例如,判断所述参与方的数目是否满足所述事件通知规则,包括:判断所述参与方的数目是否大于或等于第三阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或者,判断所述参与方的数目是否小于或等于第四阈值,若是, 则确定所述参与方的数目满足所述事件通知规则;或者,判断所述参与方的数目是否大于或等于第三阈值并且小于或等于第四阈值,若是,则确定所述参与方的数目满足所述事件通知规则。Or, in step S206, determining whether the participant information satisfies the event notification rule comprises: counting the number of participants having the same participant information and the determination feature; determining whether the number of the participants meets the An event notification rule; if the number of the participants satisfies the event notification rule, determining that the participant information satisfies the event notification rule. For example, determining whether the number of the participants meets the event notification rule includes: determining whether the number of the participants is greater than or equal to a third threshold, and if yes, determining that the number of the participants meets the event notification rule Or, determining whether the number of participants is less than or equal to a fourth threshold, and if so, Determining that the number of the participants meets the event notification rule; or determining whether the number of the participants is greater than or equal to a third threshold and less than or equal to a fourth threshold, and if yes, determining that the number of participants is satisfied The event notification rule.

值得说明的是,所述事件通知规则可以包括所述第一阈值、第二阈值、第三阈值和/或第三阈值。可以在设置所述事件通知规则的同时设置所述第一阈值、第二阈值、第三阈值和/或第四阈值。当然,所述第一阈值、第二阈值、第三阈值和/或第四阈值的具体数值可以由订阅方、订阅服务方或被通知方来设置,本公开在此不作限定。It is worth noting that the event notification rule may include the first threshold, the second threshold, the third threshold, and/or the third threshold. The first threshold, the second threshold, the third threshold, and/or the fourth threshold may be set while setting the event notification rule. Certainly, the specific value of the first threshold, the second threshold, the third threshold, and/or the fourth threshold may be set by the subscriber, the subscription service party or the notified party, and the disclosure is not limited herein.

本公开实施例还提供另一种进行通知的方法,包括:The embodiment of the present disclosure further provides another method for performing notification, including:

接收来自订阅方的订阅请求,获取事件通知规则;Receiving a subscription request from a subscriber to obtain an event notification rule;

判断参与方信息是否满足所述事件通知规则,若是,则向被通知方发送通知。It is determined whether the participant information satisfies the event notification rule, and if so, sends a notification to the notified party.

进一步的,所述方法还包括:接收到所述订阅请求后创建或直接获取订阅资源,所述订阅资源中包括所述事件通知规则;Further, the method further includes: after receiving the subscription request, creating or directly acquiring a subscription resource, where the subscription resource includes the event notification rule;

获取事件通知规则,包括:获取所述订阅资源中包括的事件通知规则。Obtaining an event notification rule includes: obtaining an event notification rule included in the subscription resource.

例如,所述参与方包括注册方;所述方法还包括:接收来自所述注册方的注册请求,所述注册请求中包括所述参与方信息。或者,所述参与方包括请求方;所述方法还包括:接收来自所述第三方参与方的操作请求。For example, the participant includes a registrant; the method further includes: receiving a registration request from the registrant, the registration request including the party information. Alternatively, the participant includes a requesting party; the method further includes receiving an operation request from the third party participant.

例如,所述参与方信息包括参与方标识、参与方标识特征、参与方角色、参与方角色标识中的至少之一。For example, the participant information includes at least one of a participant identifier, a participant identification feature, a participant role, and a participant role identifier.

图3为本公开实施例提供的一种订阅服务装置300的示意性框图。该订阅服务装置300用于向被通知方进行通知,包括确定单元310和通知单元320;确定单元310,用于确定事件通知规则;通知单元320,用于判断参与方信息是否满足所述事件通知规则,若是,则向被通知方发送通知;其中,所述参与方信息包括参与方标识、参与方标识特征、和参与方角色、参与方角色标特征识中的至少之一。FIG. 3 is a schematic block diagram of a subscription service apparatus 300 according to an embodiment of the present disclosure. The subscription service device 300 is configured to notify the notified party, and includes a determining unit 310 and a notification unit 320. The determining unit 310 is configured to determine an event notification rule. The notification unit 320 is configured to determine whether the participant information satisfies the event notification. The rule, if yes, sends a notification to the notified party; wherein the participant information includes at least one of a participant identifier, a participant identification feature, and a participant role and a participant role identifier.

例如,确定单元310可具体用于:从订阅资源中或从事件通知规则集中确定所述事件通知规则。For example, the determining unit 310 may be specifically configured to: determine the event notification rule from a subscription resource or from an event notification rule set.

例如,所述订阅服务装置300,还包括:订阅资源创建单元330,用于创 建订阅资源,其中,所述订阅资源中包括所述事件通知规则。For example, the subscription service device 300 further includes: a subscription resource creation unit 330, for creating A subscription resource is created, wherein the event notification rule is included in the subscription resource.

例如,所述订阅服务装置300,还包括:第一接收单元340,用于在创建订阅资源之前,接收订阅方发送的创建订阅资源请求。For example, the subscription service apparatus 300 further includes: a first receiving unit 340, configured to receive a create subscription resource request sent by the subscriber before creating the subscription resource.

例如,所述通知单元320具体用于判断所述参与方信息是否与特征值相匹配,若是,则确定所述参与方信息满足所述事件通知规则,则向被通知方发送通知。For example, the notification unit 320 is specifically configured to determine whether the participant information matches the feature value, and if yes, determine that the participant information satisfies the event notification rule, and then send a notification to the notified party.

例如,所述订阅服务装置300,还包括:第二接收单元350,用于接收订阅方发送的订阅请求以确定所述事件通知规则。For example, the subscription service device 300 further includes: a second receiving unit 350, configured to receive a subscription request sent by the subscriber to determine the event notification rule.

例如,所述第一接收单元340还用于接收操作请求,其中,所述操作请求中包括所述参与方信息。For example, the first receiving unit 340 is further configured to receive an operation request, where the participant information is included in the operation request.

例如,所述通知单元320可具体用于判断所述参与方信息是否不同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。For example, the notification unit 320 may be specifically configured to determine whether the participant information is different from the determination feature, and if yes, determine that the participant information satisfies the event notification rule, and send a notification to the notified party.

例如,所述通知单元320具体用于判断所述参与方信息是否等同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。For example, the notification unit 320 is specifically configured to determine whether the participant information is equivalent to the determination feature, and if yes, determine that the participant information satisfies the event notification rule and send a notification to the notified party.

又例如,所述通知单元320具体用于:统计具有的参与方信息不同于判断特征的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;如果所述参与方的数目满足所述事件通知规则,确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。For another example, the notification unit 320 is specifically configured to: count the number of participants having the participant information different from the determination feature; determine whether the number of the participants meets the event notification rule; if the number of the participants The event notification rule is satisfied, and the participant information is determined to satisfy the event notification rule, and the notification is sent to the notified party.

或者,所述通知单元320具体用于:统计具有的参与方信息与判断特征相同的参与方的数目;判断所述参与方的数目是否满足所述事件通知规则;若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。Alternatively, the notification unit 320 is specifically configured to: count the number of participants having the same participant information and the determination feature; determine whether the number of the participants meets the event notification rule; if yes, determine the participant The information satisfies the event notification rule and sends a notification to the notified party.

例如,所述判断特征包括标识、角色、标识特征和角色特征中的至少之一。例如,所述判断特征为特征值的一种类型。For example, the determination feature includes at least one of an identification, a character, an identification feature, and a character feature. For example, the determination feature is a type of feature value.

例如,所述标识包括订阅方标识、被订阅方标识、被通知方标识、参与方标识、订阅方预设标识、被订阅方预设标识、被通知方预设标识和参与方预设标识中的至少之一;所述角色包括订阅方角色、被订阅方角色、被通知方角色、参与方角色、订阅方预设角色、被订阅方预设角色、被通知方预设角色和参与方预设角色中的至少之一;所述标识特征包括订阅方标识特征、 被订阅方标识特征、被通知方标识特征、参与方标识特征、订阅方预设标识特征、被订阅方预设标识特征、被通知方预设标识特征和参与方预设标识特征中的至少之一;所述角色特征包括订阅方角色特征、被订阅方角色特征、被通知方角色特征、参与方角色特征、订阅方预设角色特征、被订阅方预设角色特征、被通知方预设角色特征和参与方预设角色特征中的至少之一。For example, the identifier includes a subscriber identifier, a subscriber identifier, a notified party identifier, a participant identifier, a subscriber preset identifier, a subscriber preset identifier, a notified party preset identifier, and a participant preset identifier. At least one of the roles; the role includes a subscriber role, a subscriber role, a notified party role, a participant role, a subscriber preset role, a subscriber preset role, a notified party preset role, and a participant At least one of the roles; the identification feature includes a subscriber identification feature, At least one of a subscribing party identification feature, a notified party identification feature, a participant identification feature, a subscriber preset identification feature, a subscriber preset identification feature, a notified party preset identification feature, and a participant preset identification feature The character features include a subscriber role feature, a subscriber role feature, a notified party character feature, a participant role feature, a subscriber preset role feature, a subscriber preset role feature, and a notified party preset role. At least one of a feature and a participant preset role feature.

订阅服务装置300的各单元可以被配置为执行如图2所示的方法200的功能或步骤,本公开在此不再赘述。例如,订阅服务装置300的各单元可以由图1所示的订阅服务设备150中的处理器152运行存储器154中存储的程序指令来实现,并且可以执行方法200中的各步骤,以及其他未在图2中示出的步骤。The units of the subscription service device 300 may be configured to perform the functions or steps of the method 200 as shown in FIG. 2, and the disclosure is not described herein again. For example, the various units of the subscription service device 300 can be implemented by the processor 152 in the subscription service device 150 shown in FIG. 1 running program instructions stored in the memory 154, and can perform the steps in the method 200, as well as other The steps shown in Figure 2.

本公开实施例还提供一种通知订阅的系统,包括:如上所述的订阅服务装置300;订阅装置,被配置为向所述订阅服务装置发送订阅创建请求以及从所述订阅服务装置接收所述订阅创建请求的响应;参与方装置,被配置为向所述订阅服务装置发送操作请求以及从所述订阅服务装置接收所述操作请求的响应;以及被通知方装置,被配置为接收来自所述订阅服务装置的通知。An embodiment of the present disclosure further provides a system for notifying a subscription, comprising: a subscription service device 300 as described above; a subscription device configured to send a subscription creation request to the subscription service device and receive the subscription from the subscription service device a response to the subscription creation request; a participant device configured to send an operation request to the subscription service device and a response to receive the operation request from the subscription service device; and a notified party device configured to receive from the Subscribe to the notifications of the service device.

所述订阅服务装置300可以设置于订阅服务设备150中,所述订阅装置可以设置于所述订阅设备101中,所述参与方装置可以设置于参与方设备104中,所述被通知方装置可以设置于被通知方设备106中。The subscription service device 300 may be disposed in the subscription service device 150, the subscription device may be disposed in the subscription device 101, the participant device may be disposed in the participant device 104, and the notified party device may It is set in the notified party device 106.

图4为本公开实施例提供的一种订阅通知的过程的示意图。FIG. 4 is a schematic diagram of a process for subscribing to a notification according to an embodiment of the present disclosure.

首先,订阅装置404向订阅服务装置300发送创建订阅资源请求(步骤410),如发送create<subscription>请求。所述创建订阅资源请求可以包括订阅方信息(例如,订阅方标识、订阅方角色等)。响应于所述订阅创建请求,订阅服务装置300创建所述订阅资源,具体的,在被订阅资源下创建<subscription>,包含eventNotificationCriteria,eventNotificationCriteria包含fixedID参数。例如,所述订阅资源包括事件通知规则eventNotificationCriteria(步骤412)。First, the subscribing device 404 sends a request to create a subscription resource to the subscription service device 300 (step 410), such as sending a create<subscription> request. The request to create a subscription resource may include subscriber information (eg, subscriber identity, subscriber role, etc.). In response to the subscription creation request, the subscription service device 300 creates the subscription resource, specifically, creating a <subscription> under the subscribed resource, including an eventNotificationCriteria, and the eventNotificationCriteria includes a fixedID parameter. For example, the subscription resource includes an event notification rule eventNotificationCriteria (step 412).

订阅服务装置300向订阅装置404发送订阅创建请求的响应(步骤414)。The subscription service device 300 sends a response to the subscription creation request to the subscription device 404 (step 414).

参与方装置402向订阅服务装置300发送操作请求(步骤416),如,create、retrieve、update、delete等操作的请求。该操作请求可以包含参与方信息(例如,参与方标识或参与方角色等)。 The participant device 402 sends an operation request (step 416) to the subscription service device 300, such as a request for an operation such as create, retrieve, update, delete, and the like. The operational request may include party information (eg, party identity or party role, etc.).

订阅服务装置300向参与方装置402发送操作请求的响应(步骤418)。The subscription service device 300 transmits a response to the operation request to the participant device 402 (step 418).

订阅服务装置300判断参与方信息是否满足所述事件通知规则。例如,订阅服务装置300判断所述参与方信息是否不同于判断特征(步骤420)。如果所述参与方信息不同于所述判断特征,订阅服务装置300判断所述参与方信息满足所述事件通知规则(步骤422)。订阅服务装置300向所述被通知方装置406发送通知(步骤424)。被通知方装置406向订阅服务装置300发送对该通知的响应(步骤426)。The subscription service device 300 determines whether the participant information satisfies the event notification rule. For example, the subscription service device 300 determines whether the participant information is different from the determination feature (step 420). If the participant information is different from the determination feature, the subscription service device 300 determines that the participant information satisfies the event notification rule (step 422). The subscription service device 300 transmits a notification to the notified party device 406 (step 424). The notified party device 406 transmits a response to the notification to the subscription service device 300 (step 426).

例如,订阅服务器接收操作请求后,检测操作请求发送方的ID,如,包括AE-ID,CSE-ID或resourceID等;与订阅资源预设fixedID进行比较,若相同,则发送通知(Notify)给被通知方。接收被通知方针对通知的响应。For example, after receiving the operation request, the subscriber detects the ID of the sender of the operation request, for example, includes an AE-ID, a CSE-ID or a resourceID, etc., and compares with the subscription resource preset fixedID, and if the same, sends a notification (Notify) to Notified party. Receive the respondent's response to the notification.

图5为本公开实施例提供的另一种订阅通知的过程的示意图。FIG. 5 is a schematic diagram of another process for subscribing to a notification according to an embodiment of the present disclosure.

首先,订阅装置404向订阅服务装置300发送创建订阅资源请求(步骤510),即订阅方向被订阅方发送创建<subscription>请求。响应于所述订阅创建请求,订阅服务装置300创建所述订阅资源,具体的,被订阅资源下创建<subscription>子资源,包含角色数目(roleNr)参数,eventNotificationCriteria参数包含比较参数(即,roleNrBigger、roleNrSmaller子参数)。First, the subscribing device 404 sends a request to create a subscription resource to the subscription service device 300 (step 510), that is, the subscription direction is sent by the subscribing party to create a <subscription> request. In response to the subscription creation request, the subscription service device 300 creates the subscription resource. Specifically, the <subscription> sub-resource is created under the subscribing resource, and includes a role number (roleNr) parameter, and the eventNotificationCriteria parameter includes a comparison parameter (ie, roleNrBigger, roleNrSmaller sub-parameter).

例如,所述订阅资源包括事件通知规则eventNotificationCriteria(步骤512)。订阅服务装置300向订阅装置404发送订阅创建请求的响应(步骤514),即被订阅方向订阅方发送创建<subscription>响应。参与方装置402向订阅服务装置300发送操作请求(步骤516),如,参与方向被订阅方发送create/retrieve/update/delete中任一请求。订阅服务装置300向参与方装置402发送操作请求的响应(步骤518),如被订阅方向参与方发送create/retrieve/update/delete中任一请求的响应。For example, the subscription resource includes an event notification rule eventNotificationCriteria (step 512). The subscription service device 300 sends a response to the subscription creation request to the subscribing device 404 (step 514), ie, the subscription sends a create <subscription> response to the subscriber. The participant device 402 sends an operation request to the subscription service device 300 (step 516), for example, the participation direction is sent by the subscriber to any of the create/retrieve/update/delete requests. The subscription service device 300 sends a response to the operation request to the participant device 402 (step 518), as the subscription is sent to the participant to send a response to any of the create/retrieve/update/delete requests.

订阅服务装置300判断参与方信息是否满足所述事件通知规则。例如,订阅服务装置300判断所述参与方信息是否与判断特征相同(步骤520)。如果所述参与方信息与所述判断特征相同,订阅服务装置300判断所述参与方信息满足所述事件通知规则(步骤522)。订阅服务装置300向所述被通知方装置406发送通知(步骤524)。被通知方装置406向订阅服务装置300发送对该通知的响应(步骤526)。The subscription service device 300 determines whether the participant information satisfies the event notification rule. For example, the subscription service device 300 determines whether the participant information is the same as the determination feature (step 520). If the participant information is identical to the determination feature, the subscription service device 300 determines that the participant information satisfies the event notification rule (step 522). The subscription service device 300 transmits a notification to the notified party device 406 (step 524). The notified party device 406 transmits a response to the notification to the subscription service device 300 (step 526).

如,被订阅方接受请求后,检测roleID和已保持的roleID不同时,则角 色数目增加1(即,<subscription>/roleNr增加1);然后,判断角色数目是否大于第一比较参数(即,判断roleNr是否大于roleNrBigger),或判断角色数目是否小于第二比较参数(即,判断roleNr是否小于roleNrSmaller),若是,则被订阅方向被通知方发送Notify请求;被通知方向被订阅方发送Notify响应。For example, when the subscriber accepts the request and detects that the roleID is different from the retained roleID, then the angle The number of colors is increased by 1 (ie, <subscription>/roleNr is increased by 1); then, it is judged whether the number of characters is greater than the first comparison parameter (ie, whether or not roleNr is greater than roleNrBigger), or whether the number of roles is smaller than the second comparison parameter (ie, It is determined whether the roleNr is smaller than roleNrSmaller), and if so, the subscription direction is sent by the notifying party to the Notify request; the notified direction is sent by the subscriber to the Notify response.

图6为本公开实施例提供的又另一种订阅通知的过程的示意图。首先,订阅装置404向订阅服务装置300发送创建订阅资源请求(步骤610)。响应于所述创建订阅资源请求,订阅服务装置300创建所述订阅资源,其中,所述订阅资源包括事件通知规则(步骤612)。订阅服务装置300向订阅装置404发送订阅创建请求的响应(步骤614)。FIG. 6 is a schematic diagram of still another process for subscribing to a notification according to an embodiment of the present disclosure. First, the subscribing device 404 sends a request to create a subscription resource to the subscription service device 300 (step 610). In response to the create a subscription resource request, the subscription service device 300 creates the subscription resource, wherein the subscription resource includes an event notification rule (step 612). The subscription service device 300 sends a response to the subscription creation request to the subscribing device 404 (step 614).

参与方装置402向订阅服务装置300发送操作请求(步骤616)。该操作请求可以包含参与方信息(例如,参与方标识或参与方角色等)。订阅服务装置300向参与方装置402发送操作请求的响应(步骤618)。The participant device 402 sends an operation request to the subscription service device 300 (step 616). The operational request may include party information (eg, party identity or party role, etc.). The subscription service device 300 transmits a response to the operation request to the participant device 402 (step 618).

订阅服务装置300判断参与方信息是否满足所述事件通知规则。例如,订阅服务装置300统计具有的参与方信息不同于判断特征的参与方的数目(步骤619)。例如,在访问订阅服务装置300的所有参与方中,订阅服务装置300记录具有的参与方信息不同于判断特征的参与方的数目,而对于具有的参与方信息与判断特征相同的其他参与方的数目不计算在内。订阅服务装置300判断所述参与方的数目是否满足所述事件通知规则(步骤620)。如果所述参与方的数目满足所述事件通知规则,订阅服务装置300确定所述参与方信息满足所述事件通知规则(步骤622)。订阅服务装置300向所述被通知方装置406发送通知(步骤624)。被通知方装置406向订阅服务装置300发送对该通知的响应(步骤626)。The subscription service device 300 determines whether the participant information satisfies the event notification rule. For example, the subscription service device 300 counts the number of participants having different party information than the decision feature (step 619). For example, among all the participants accessing the subscription service device 300, the subscription service device 300 records the number of participants having the participant information different from the judgment feature, and for the other parties having the same participant information and the same feature. The number is not counted. The subscription service device 300 determines whether the number of participants satisfies the event notification rule (step 620). If the number of participants satisfies the event notification rule, the subscription service device 300 determines that the participant information satisfies the event notification rule (step 622). The subscription service device 300 transmits a notification to the notified party device 406 (step 624). The notified party device 406 transmits a response to the notification to the subscription service device 300 (step 626).

一个订阅通知的例子如下所述。例如,订阅者通过订阅设备101(或订阅装置404)向订阅服务装置300(例如,能源管理平台)订阅了能源通知服务,用来管理家里的能源消耗(如电能)。订阅者家里的家电设备都可以是参与方设备104,均可以向订阅服务设备150中的能源管理平台注册,注册的目的之一是为了能让用户终端通过能源管理平台控制和管理家电设备。注册完成后,订阅者可以通过订阅设备101向订阅服务装置300(例如,能源管理平台)订阅能源通知服务。该订阅的通知服务为1个晚上如果有10台以 上的家电设备消耗了电能,则向另一个家庭成员(被通知方,不同于订阅者)发送能源消耗通知。因为家电设备在消耗电能后会向能源管理平台发送更新请求,请求修改能源管理平台上相应资源的数值,所以,当1个晚上出现第10台以上家电设备修改能源管理平台上的资源数值时,能源管理平台就会发通知给另一个家庭成员(被通知方)。An example of a subscription notification is as follows. For example, the subscriber subscribes to the subscription service device 300 (eg, the energy management platform) via the subscription device 101 (or subscription device 404) with an energy notification service for managing energy consumption (eg, electrical energy) at home. The home appliance of the subscriber's home can be the participant device 104, and both can be registered with the energy management platform in the subscription service device 150. One of the purposes of the registration is to enable the user terminal to control and manage the home appliance through the energy management platform. After the registration is completed, the subscriber can subscribe to the energy notification service through the subscription device 101 to the subscription service device 300 (eg, the energy management platform). The notification service for this subscription is 10 nights if there are 10 When the home appliance consumes power, it sends an energy consumption notification to another family member (notified party, different from the subscriber). Because the household electrical appliance sends an update request to the energy management platform after consuming the power, requesting to modify the value of the corresponding resource on the energy management platform. Therefore, when the 10th or more household appliances are modified to the resource value on the energy management platform in one night, The energy management platform will send a notification to another family member (notified party).

图7为本公开实施例提供的一种示例性的订阅资源的结构示意图。在参与方向被订阅方注册后,生成应用实体资源(如图7所示的<AE>资源),该应用实体资源包括容器资源(<container>资源)。容器资源包括内容实例资源(如图7所示的<contentInstance>),该内容实例资源可用来存放信息内容。FIG. 7 is a schematic structural diagram of an exemplary subscription resource according to an embodiment of the present disclosure. After the participation direction is registered by the subscriber, an application entity resource (such as the <AE> resource shown in FIG. 7) is generated, and the application entity resource includes a container resource (<container> resource). The container resource includes a content instance resource (such as <contentInstance> shown in FIG. 7), and the content instance resource can be used to store information content.

当订阅方向被订阅方发送订阅请求时(例如,该请求指示订阅应用实体资源<AE>的信息),被订阅方在应用实体资源/容器资源下(即,图7中的<AE>/<container>资源下)创建订阅资源(即,图7中的<subscription>资源)。该订阅资源包括事件通知规则(eventNotificationCriteria),被通知方地址(notificationURI)、群标识(groupID)、通知转送地址(notificationForwardingURI)、订阅方地址(subscriberURI)等。订阅资源也可以包括其他未在图7中示出的内容项目,本公开在此不作限定。When the subscription direction is sent by the subscriber to the subscription request (eg, the request indicates subscription to the application entity resource <AE>), the subscriber is under the application entity resource/container resource (ie, <AE>/< in FIG. 7) Under container>resources) create a subscription resource (ie, the <subscription> resource in Figure 7). The subscription resource includes an event notification rule (eventNotificationCriteria), a notification party address (notificationURI), a group identity (groupID), a notification forwarding address (notificationForwardingURI), a subscriber address (subscriber URI), and the like. The subscription resource may also include other content items not shown in FIG. 7, and the disclosure is not limited herein.

本公开实施例提供的一种进行通知的方法、装置和系统,基于特定的参与方来实现订阅通知。当订阅服务方检测到特定的参与方后,向被通知方发送通知消息,实现了基于参与方的通知服务,满足了用户差异化的需求。A method, apparatus, and system for performing notification provided by an embodiment of the present disclosure implements subscription notification based on a specific participant. When the subscription service party detects a specific participant, the notification message is sent to the notified party, and the notification service based on the participant is realized, which satisfies the requirement of user differentiation.

在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this document, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such. The actual relationship or order. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.

显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。 It will be apparent to those skilled in the art that various changes and modifications can be made in the present disclosure without departing from the spirit and scope of the disclosure. Thus, it is intended that the present invention cover the modifications and the modifications

以上所述,仅为公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。The above description is only the specific embodiment disclosed, but the scope of the disclosure is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the disclosure. It is intended to be covered by the scope of the present disclosure. Therefore, the scope of protection of the present disclosure should be determined by the scope of the claims.

本公开要求于2016年7月29日递交的中国专利申请第201610617868.5号和2016年8月12日递交的中国专利申请第201610665731.7号的优先权,在此全文引用上述中国专利申请公开的内容以作为本公开的一部分。 The present disclosure claims the priority of the Chinese Patent Application No. 201610617868.5 filed on July 29, 2016 and the Chinese Patent Application No. 201610665731.7 filed on Aug. 12, 2016, the entire disclosure of Part of the disclosure.

Claims (22)

一种进行通知的方法,包括:A method of notification, including: 确定事件通知规则;Determine event notification rules; 判断参与方信息是否满足所述事件通知规则,若是,则向被通知方发送通知;其中,所述参与方信息包括参与方标识、参与方标识特征、参与方角色、参与方角色特征中的至少之一。Determining whether the participant information satisfies the event notification rule, and if yes, sending a notification to the notified party; wherein the participant information includes at least one of a participant identifier, a participant identifier feature, a participant role, and a participant role feature one. 根据权利要求1所述的方法,其中,所述确定事件通知规则包括:The method of claim 1 wherein said determining an event notification rule comprises: 从订阅资源中确定所述事件通知规则;或Determining the event notification rule from a subscription resource; or 从事件通知规则集中确定所述事件通知规则。The event notification rule is determined from an event notification rule set. 根据权利要求2所述的方法,还包括:The method of claim 2 further comprising: 接收订阅方发送的创建订阅资源请求;以及Receiving a request to create a subscription resource sent by a subscriber; 创建订阅资源,所述订阅资源中包括所述事件通知规则。A subscription resource is created, and the event notification rule is included in the subscription resource. 根据权利要求1所述的方法,判断参与方信息是否满足所述事件通知规则,包括:The method according to claim 1, determining whether the participant information satisfies the event notification rule comprises: 判断所述参与方信息是否与特征值相匹配,若是,则确定所述参与方信息满足所述事件通知规则。Determining whether the participant information matches the feature value, and if so, determining that the participant information satisfies the event notification rule. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising: 接收订阅方发送的订阅请求以确定所述事件通知规则。A subscription request sent by the subscriber is received to determine the event notification rule. 根据权利要求1-5任一所述的方法,还包括:A method according to any of claims 1-5, further comprising: 接收操作请求,其中,所述操作请求中包括所述参与方信息;或者Receiving an operation request, wherein the operation request includes the participant information; or 接收注册请求,其中,所述注册请求中包括所述参与方信息。Receiving a registration request, wherein the registration request includes the participant information. 根据权利要求1-6任一项所述的方法,其中,判断参与方信息是否满足所述事件通知规则,包括:The method according to any one of claims 1 to 6, wherein determining whether the participant information satisfies the event notification rule comprises: 判断所述参与方信息是否不同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则;或者Determining whether the participant information is different from the determination feature, and if yes, determining that the participant information satisfies the event notification rule; or 判断所述参与方信息是否等同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则。Determining whether the participant information is equivalent to the judgment feature, and if yes, determining that the participant information satisfies the event notification rule. 根据权利要求1-6任一项所述的方法,其中,判断参与方信息是否满足所述事件通知规则,包括:The method according to any one of claims 1 to 6, wherein determining whether the participant information satisfies the event notification rule comprises: 统计满足参与方信息不同于判断特征的参与方的数目; Counting the number of participants who satisfy the participant's information differently from the judgment feature; 判断所述参与方的数目是否满足所述事件通知规则;Determining whether the number of the participants meets the event notification rule; 如果所述参与方的数目满足所述事件通知规则,确定所述参与方信息满足所述事件通知规则。If the number of the participants satisfies the event notification rule, it is determined that the participant information satisfies the event notification rule. 根据权利要求8所述的方法,其中,判断所述参与方的数目是否满足所述事件通知规则,包括:The method of claim 8, wherein determining whether the number of participants meets the event notification rule comprises: 判断所述参与方的数目是否大于或等于第一阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或Determining whether the number of the participants is greater than or equal to a first threshold, and if yes, determining that the number of participants meets the event notification rule; or 判断所述参与方的数目是否小于或等于第二阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或Determining whether the number of the participants is less than or equal to a second threshold, and if so, determining that the number of the participants meets the event notification rule; or 判断所述参与方的数目是否大于或等于第一阈值并且小于或等于第二阈值,若是,则确定所述参与方的数目满足所述事件通知规则。Determining whether the number of the participants is greater than or equal to the first threshold and less than or equal to the second threshold, and if yes, determining that the number of participants meets the event notification rule. 根据权利要求1-6任一项所述的方法,其中,判断所述参与方信息是否满足所述事件通知规则,包括:The method according to any one of claims 1 to 6, wherein determining whether the participant information satisfies the event notification rule comprises: 统计具有的参与方信息与判断特征相同的参与方的数目;Count the number of participants with the same participant information and judgment characteristics; 判断所述参与方的数目是否满足所述事件通知规则;Determining whether the number of the participants meets the event notification rule; 若是,则确定所述参与方信息满足所述事件通知规则。If yes, it is determined that the participant information satisfies the event notification rule. 根据权利要求10所述的方法,其中,判断所述参与方的数目是否满足所述事件通知规则,包括:The method of claim 10, wherein determining whether the number of participants meets the event notification rule comprises: 判断所述参与方的数目是否大于或等于第三阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或Determining whether the number of the participants is greater than or equal to a third threshold, and if so, determining that the number of the participants meets the event notification rule; or 判断所述参与方的数目是否小于或等于第四阈值,若是,则确定所述参与方的数目满足所述事件通知规则;或Determining whether the number of the participants is less than or equal to a fourth threshold, and if yes, determining that the number of participants meets the event notification rule; or 判断所述参与方的数目是否大于或等于第三阈值并且小于或等于第四阈值,若是,则确定所述参与方的数目满足所述事件通知规则。Determining whether the number of the participants is greater than or equal to a third threshold and less than or equal to a fourth threshold, and if so, determining that the number of participants satisfies the event notification rule. 根据权利要求7-11任一项所述的方法,其中,所述判断特征包括标识、角色、标识特征和角色特征中的至少之一。The method of any of claims 7-11, wherein the determining feature comprises at least one of an identity, a character, an identification feature, and a character feature. 一种进行通知的装置,包括:A device for notifying, comprising: 确定单元,被配置为确定事件通知规则;a determining unit configured to determine an event notification rule; 通知单元,被配置为判断参与方信息是否满足所述事件通知规则,若是,则向被通知方发送通知;其中,所述参与方信息包括参与方标识、参与方标 识特征、和参与方角色、参与方角色标识标特征识中的至少之一。The notification unit is configured to determine whether the participant information satisfies the event notification rule, and if yes, send a notification to the notified party; wherein the participant information includes a participant identifier and a participation indicator At least one of a feature, a participant role, and a participant role identifier. 根据权利要求13所述的装置,其中,所述确定单元被配置为:The apparatus of claim 13, wherein the determining unit is configured to: 从订阅资源中或从事件通知规则集中确定所述事件通知规则。The event notification rule is determined from a subscription resource or from an event notification rule set. 根据权利要求14所述的装置,还包括:The apparatus of claim 14 further comprising: 第一接收单元,被配置为接收订阅方发送的创建订阅资源请求;以及a first receiving unit configured to receive a request to create a subscription resource sent by a subscriber; 订阅资源创建单元,被配置为创建订阅资源,其中,所述订阅资源中包括所述事件通知规则。A subscription resource creation unit configured to create a subscription resource, wherein the event notification rule is included in the subscription resource. 根据权利要求13所述的装置,其中,所述通知单元被配置为判断所述参与方信息是否与特征值相匹配,若是,则确定所述参与方信息满足所述事件通知规则,则向被通知方发送通知。The apparatus according to claim 13, wherein the notification unit is configured to determine whether the participant information matches a feature value, and if so, determining that the participant information satisfies the event notification rule, The notifying party sends a notification. 根据权利要求13所述的装置,还包括:The apparatus of claim 13 further comprising: 第二接收单元,被配置为接收订阅方发送的订阅请求以确定所述事件通知规则。The second receiving unit is configured to receive a subscription request sent by the subscriber to determine the event notification rule. 根据权利要求13-17任一项所述的装置,其中,所述第一接收单元还被配置为接收操作请求,其中,所述操作请求中包括所述参与方信息;或者还用于接收注册请求,其中,所述注册请求中包括所述参与方信息。The apparatus according to any one of claims 13-17, wherein the first receiving unit is further configured to receive an operation request, wherein the operation request includes the party information; or is further configured to receive a registration The request, wherein the registration request includes the participant information. 根据权利要求13所述的装置,其中,所述通知单元被配置为:The apparatus of claim 13, wherein the notification unit is configured to: 判断所述参与方信息是否不同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知;或者Determining whether the participant information is different from the determination feature, and if yes, determining that the participant information satisfies the event notification rule, and sending a notification to the notified party; or 判断所述参与方信息是否等同于判断特征,若是,则确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。Determining whether the participant information is equivalent to the determination feature, and if so, determining that the participant information satisfies the event notification rule and sends a notification to the notified party. 根据权利要求13所述的装置,其中,所述通知单元被配置为:The apparatus of claim 13, wherein the notification unit is configured to: 统计具有的参与方信息不同于判断特征的参与方的数目,或者,统计具有的参与方信息与判断特征相同的参与方的数目;The statistics have different participant information than the number of participants in the judgment feature, or the number of participants having the same participant information and the judgment feature; 判断所述参与方的数目是否满足所述事件通知规则;Determining whether the number of the participants meets the event notification rule; 如果所述参与方的数目满足所述事件通知规则,确定所述参与方信息满足所述事件通知规则,向被通知方发送通知。If the number of the participants satisfies the event notification rule, it is determined that the participant information satisfies the event notification rule, and sends a notification to the notified party. 根据权利要求19-20任一项所述的装置,其中,所述判断特征包括标识、角色、标识特征和角色特征中的至少之一。The apparatus of any one of claims 19-20, wherein the determining feature comprises at least one of an identification, a character, an identification feature, and a character feature. 一种进行通知的系统,包括: A system for notification, including: 如权利要求13-21任一项所述的装置,所述装置为订阅服务装置;The device of any of claims 13-21, the device being a subscription service device; 订阅装置,被配置为向所述订阅服务装置发送订阅创建请求;a subscription device configured to send a subscription creation request to the subscription service device; 参与方装置,被配置为向所述订阅服务装置发送操作请求;以及a participant device configured to send an operation request to the subscription service device; 被通知方装置,被配置为接收来自所述订阅服务装置的通知。 The notified party device is configured to receive a notification from the subscription service device.
PCT/CN2017/094795 2016-07-29 2017-07-28 Method, apparatus and system for notification Ceased WO2018019281A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US16/319,976 US11677850B2 (en) 2016-07-29 2017-07-28 Method, apparatus and system for notification
KR1020197005607A KR102391277B1 (en) 2016-07-29 2017-07-28 Method, apparatus and system for notification
JP2019504900A JP7032377B2 (en) 2016-07-29 2017-07-28 How to make notifications, devices and systems
EP17833584.0A EP3493485B1 (en) 2016-07-29 2017-07-28 Method, apparatus and system for notification

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201610617868 2016-07-29
CN201610617868.5 2016-07-29
CN201610665731.7 2016-08-12
CN201610665731.7A CN107666432A (en) 2016-07-29 2016-08-12 Method, device and system for notification

Publications (1)

Publication Number Publication Date
WO2018019281A1 true WO2018019281A1 (en) 2018-02-01

Family

ID=61015801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094795 Ceased WO2018019281A1 (en) 2016-07-29 2017-07-28 Method, apparatus and system for notification

Country Status (1)

Country Link
WO (1) WO2018019281A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111436027A (en) * 2019-01-14 2020-07-21 京东方科技集团股份有限公司 Event subscription notification method, server, Internet of things system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794709A (en) * 2005-11-04 2006-06-28 华为技术有限公司 Noticing method and system of display information
CN102546970A (en) * 2010-12-20 2012-07-04 阿尔卡特朗讯 Method and device for issuing presence information
CN102594718A (en) * 2011-01-12 2012-07-18 阿尔卡特朗讯 Method and device for processing presentation information
CN105580327A (en) * 2013-09-27 2016-05-11 Lg电子株式会社 Method for delivering notification messages in m2m system and devices for same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794709A (en) * 2005-11-04 2006-06-28 华为技术有限公司 Noticing method and system of display information
CN102546970A (en) * 2010-12-20 2012-07-04 阿尔卡特朗讯 Method and device for issuing presence information
CN102594718A (en) * 2011-01-12 2012-07-18 阿尔卡特朗讯 Method and device for processing presentation information
CN105580327A (en) * 2013-09-27 2016-05-11 Lg电子株式会社 Method for delivering notification messages in m2m system and devices for same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3493485A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111436027A (en) * 2019-01-14 2020-07-21 京东方科技集团股份有限公司 Event subscription notification method, server, Internet of things system and storage medium

Similar Documents

Publication Publication Date Title
CN113159910B (en) Method, device and system for notification
KR102396947B1 (en) Methods and systems for processing temporary content messages
CN109089168B (en) Video sharing method, device and system and storage medium
CN102769640B (en) The update method of user profile, server and system
US20180359602A1 (en) Location based access control for artificial conversational entities
US12464037B1 (en) Copying and pasting directly between devices
US11165899B1 (en) Techniques to manage contact records
WO2015176365A1 (en) Sending method and apparatus and computer storage medium of notification message
WO2017091427A1 (en) Managing communication events
JP7509753B2 (en) Data processing method, server, client device, and medium for security authentication
CN106464759B (en) Message method, LAN gateway and wearable device in a kind of local area network
EP2883345A1 (en) Establishing a communication session in heterogeneous systems
CN107534660B (en) Managing communication events
CN107465633A (en) Method for managing resource and device based on software defined network
WO2018019281A1 (en) Method, apparatus and system for notification
WO2015117362A1 (en) Method and device for sharing personal information on terminal
CA2682063C (en) Network node for providing remote client deactivation
CN108377217A (en) Real-time communication method and device
JP2017045463A (en) Information change notification service provision method and system for executing the same
US10367900B2 (en) Presence notifications
Park et al. Context-aware middleware architecture for intelligent service in mobile environment
WO2025052442A1 (en) Method and system for managing data traffic

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019504900

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20197005607

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017833584

Country of ref document: EP

Effective date: 20190228