Managing topical overlap during publication and subscription
First Claim
1. A method for managing subscriptions to topics and topic sets in a publish/subscribe system, comprising:
- in response to a subscribe request for a subscriber,identifying a first topic or topic set, andstoring, as a positive subscription, an identifier of the first topic or topic set;
in response to an unsubscribe request for the subscriber, the unsubscribe request identifying a second topic or topic set that partially overlaps the identified first topic or topic set,storing, as a negative subscription, an identifier of the second topic or topic set;
andidentifying which received publications to forward to the subscriber by comparing topics of the received publications with stored identifiers of topics and topic sets of both the positive subscription and the negative subscription.
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.
-
Citations
21 Claims
-
1. A method for managing subscriptions to topics and topic sets in a publish/subscribe system, comprising:
-
in response to a subscribe request for a subscriber, identifying a first topic or topic set, and storing, as a positive subscription, an identifier of the first topic or topic set; in response to an unsubscribe request for the subscriber, the unsubscribe request identifying a second topic or topic set that partially overlaps the identified first topic or topic set, storing, as a negative subscription, an identifier of the second topic or topic set; and identifying which received publications to forward to the subscriber by comparing topics of the received publications with stored identifiers of topics and topic sets of both the positive subscription and the negative subscription. - 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, comprising:
a computer hardware device configured to in response to a subscribe request for a subscriber, identifying a first topic or topic set, and storing, as a positive subscription, an identifier of the first topic or topic set; in response to an unsubscribe request for the subscriber, the unsubscribe request identifying a second topic or topic set that partially overlaps the identified first topic or topic set, storing, as a negative subscription, an identifier of the second topic or topic set; and identifying which received publications to forward to the subscriber by comparing topics of the received publications with stored identifiers of topics and topic sets of both the positive subscription and the negative subscription. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A computer program product, comprising:
-
computer usable storage media having stored thereon computer usable program code for managing subscriptions to topics and topic sets in a publish/subscribe system, the computer usable program code, which when executed by a computer hardware device, causes the computer hardware device to perform; in response to a subscribe request for a subscriber, identifying a first topic or topic set, and storing, as a positive subscription, an identifier of the first topic or topic set; in response to an unsubscribe request for the subscriber, the unsubscribe request identifying a second topic or topic set that partially overlaps the identified first topic or topic set, storing, as a negative subscription, an identifier of the second topic or topic set; and identifying which received publications to forward to the subscriber by comparing topics of the received publications with stored identifiers of topics and topic sets of both the positive subscription and the negative subscription, wherein the computer usable storage media is not a transitory, propagating signal per se. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification