PUBLISH/SUBSCRIBE SYSTEM AND METHOD FOR MANAGING SUBSCRIPTIONS
First Claim
1. A method for managing subscriptions to topics and topic sets in a publish/subscribe system, wherein subscriptions indicate information topics of interest to subscribers and are used to identify published information that should be passed to subscribers, the method comprising:
- in response to a subscriber'"'"'s subscribe request identifying a first topic or topic set, storing an identifier of the first topic or topic set as a positive subscription;
in response to an unsubscribe request for the subscriber, which unsubscribe request identifies a second topic or topic set that comprises a partial overlap of the identified topic or topic set of the positive subscription, storing an identifier of the second topic or topic set as a negative subscription; and
comparing topics of received publications with stored identifiers of topics and topic sets of both the positive and negative subscriptions, to determine which publications should be passed to the subscriber.
1 Assignment
0 Petitions
Accused Products
Abstract
In a publish/subscribe system, a plurality of publishers provide information on a range of topics and a plurality of subscribers subscribe to one or more topics and topic sets on which they wish to receive information. Subscribers can also unsubscribe from topics and topic sets on which they do not wish to receive information. A subscription matcher such as a message broker is used to generate a subscription list of topic and topic set identifiers—from both the subscribe and unsubscribe requests of each subscriber. The subscription matcher then matches items of information from each publisher with topics and topic set definitions in the subscription list of each subscriber, and distributes matched items of information in accordance with subscription lists. The subscription matcher determines precedence between any overlapping subscribed and unsubscribed topics and topic sets based on the sequence in which they were stored.
87 Citations
15 Claims
-
1. A method for managing subscriptions to topics and topic sets in a publish/subscribe system, wherein subscriptions indicate information topics of interest to subscribers and are used to identify published information that should be passed to subscribers, the method comprising:
-
in response to a subscriber'"'"'s subscribe request identifying a first topic or topic set, storing an identifier of the first topic or topic set as a positive subscription;
in response to an unsubscribe request for the subscriber, which unsubscribe request identifies a second topic or topic set that comprises a partial overlap of the identified topic or topic set of the positive subscription, storing an identifier of the second topic or topic set as a negative subscription; and
comparing topics of received publications with stored identifiers of topics and topic sets of both the positive and negative subscriptions, to determine which publications should be passed to the subscriber. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A message broker for brokering published information and subscriber requests in a publish/subscribe system, the system comprising a plurality of subscribers that are each capable of requesting to subscribe to one or more topics and topic sets on which it wishes to receive information and to unsubscribe from topics and topic sets on which it does not wish to receive information, and a plurality of publishers for providing information on a range of topics, the message broker comprising:
-
(a) means for performing subscription management steps including;
(i) in response to a subscriber'"'"'s subscribe request identifying a first topic or topic set, storing an identifier of the first topic or topic set as a positive subscription, and (ii) in response to an unsubscribe request for the subscriber, which unsubscribe request identifies a second topic or topic set that comprises a partial overlap of the identified topic or topic set of the positive subscription, storing an identifier of the second topic or topic set as a negative subscription; and
(b) means for comparing topics of received publications with stored identifiers of topics and topic sets of both the positive and negative subscriptions, to determine which publications should be passed to the subscriber; and
(c) means for passing a publication to a subscriber in response to the means for comparing determining that a publication should be passed to the subscriber.
-
-
9. A computer program product comprising computer usable media embodying program instructions which, when executed by a computer results in the computer executing a method for managing subscriptions in a publish/subscribe system wherein subscriptions indicate information topics of interest to subscribers and are used to identify published information that should be passed to subscribers, said method comprising the steps of:
-
in response to a subscriber'"'"'s subscribe request identifying a first topic or topic set, storing an identifier of the first topic or topic set as a positive subscription;
in response to an unsubscribe request for the subscriber, which unsubscribe request identifies a second topic or topic set that comprises a partial overlap of the identified topic or topic set of the positive subscription, storing an identifier of the second topic or topic set as a negative subscription; and
comparing topics of received publications with stored identifiers of topics and topic sets of both the positive and negative subscriptions, to determine which publications should be passed to the subscriber. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
Specification