IP Library Granted Patent US 8,082,554
Granted Patent B2
US 8,082,554 · App. 11/947,843 · Granted Dec 20, 2011

Event-based activation and deactivation of subscription matching

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,082,554
App. No.
11/947,843
Granted
Dec 20, 2011
Kind
B2
Abstract

The present invention provides methods, apparatus and computer programs for event-based control of subscription matching in a publish/subscribe communications environment. Activation and/or deactivation events are associated with subscriptions at a publish/subscribe broker and are used to control when a subscription is active. The broker is responsive to temporally-unpredictable events, such as receipt of a published message on a predefined activation topic, to activate subscription matching for messages that are subsequently received or which have been received earlier and retained at the broker. Conventional subscription matching can be avoided for a registered subscription while that subscription is inactive, and subscribers are not required to explicitly and repeatedly subscribe and unsubscribe.

Claims (30)

1. A method of managing subscription matching within a publish/subscribe communications network, comprising:

storing, in a memory, a subscription at a publish/subscribe broker for a first subscriber, wherein the subscription comprises at least one temporally unpredictable event for controlling the performance of subscription matching;

monitoring, with a processor, events at the publish/subscribe broker to detect said event; and

altering the state of subscription matching performed on behalf of the first subscriber in response to detection of said event.

2. The method according to claim 1 wherein the subscription defines a first topic to compare with received messages during subscription matching, and wherein the defined event is the event of receiving a message at the publish/subscribe broker, which message includes a predefined topic that differs from the first topic.

3. The method according to claim 2 , further comprising checking, using said processor, whether the received message satisfies a set of one or more filter conditions associated with the predefined topic, wherein the state of subscription matching is altered in responsive to a positive determination that the received message satisfies the set of filter conditions.

4. The method according to claim 3 , further comprising storing, in said memory, subscriptions on behalf of multiple subscribers, which subscriptions define a common event, and the state of subscription matching is altered on behalf of said multiple subscribers in response to the common event.

5. The method according to claim 4 wherein said event is an activation event and subscription matching is activated in response to detection of the activation event.

6. The method according to claim 5 wherein said event is a deactivation event and subscription matching is deactivated in response to detection of said deactivation event.

7. A data processing apparatus for managing subscription matching within a publish/subscribe communications network, comprising:

a processor; and

memory connected to the processor, wherein the memory is encoded with instructions and wherein the instructions when executed comprise:

instructions for storing a subscription in a repository on behalf of at least one subscriber, wherein the subscription comprises at least one temporally unpredictable event for controlling the performance of subscription matching;

instructions for subscription matching a publish/subscribe broker comprising a matching engine;

instructions for detecting with an event monitor an occurrence of said event at the publish/subscribe broker; and

instructions for responding with said publish/subscribe broker to detection of said event to alter the state of subscription matching performed on behalf of the at least one subscriber.

8. The data processing apparatus according to claim 7 wherein the subscription defines a first topic to compare with received messages during subscription matching, and wherein the defined event is the event of receiving a message at the publish/subscribe broker, which message includes a predefined topic that differs from the first topic.

9. The data processing apparatus according to claim 8 , further comprising instructions for checking with filtering logic whether the received message satisfies a set of one or more filter conditions associated with the predefined topic, wherein the state of subscription matching is altered in responsive to a positive determination that the received message satisfies the set of filter conditions.

10. The data processing apparatus according to claim 9 , further comprising instructions for storing subscriptions with control logic on behalf of multiple subscribers, which subscriptions define a common event, and wherein the state of subscription matching on behalf is altered on behalf of said multiple subscribers in response to occurrence of the common event.

11. A computer program product for managing subscription matching within a publish/subscribe communications network, the computer program product comprising a computer usable readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:

computer readable program code configured to store a subscription at a publish/subscribe broker for a first subscriber, wherein the subscription comprises at least one temporally unpredictable event for controlling the performance of subscription matching;

computer readable program code configured to monitor events at the publish/subscribe broker to detect an occurrence of said event; and

computer readable program code configured to alter the state of subscription matching performed on behalf of the first subscriber in response to detection of said event.

12. The computer program product program according to claim 11 wherein the subscription defines a first topic to compare with received messages during subscription matching, and wherein the defined event is the event of receiving a message at the publish/subscribe broker, which message includes a predefined topic that differs from the first topic.

13. The computer program product according to claim 12 further comprising computer readable program code configured to check whether the received message satisfies a set of one or more filter conditions associated with the predefined topic, wherein the state of subscription matching is altered in responsive to a positive determination that the received message satisfies the set of filter conditions.

14. The computer program product according to claim 13 further comprising:

computer readable program code configured to store subscriptions on behalf of multiple subscribers, which subscriptions define a common event; and

computer readable program code configured to alter the state of subscription matching performed on behalf of said multiple subscribers in response to detection of the common event.

15. The computer program product according to claim 14 wherein said event is an activation event and subscription matching is activated in response to occurrence of said activation event.

16. The computer program product according to claim 14 wherein said event is a deactivation event and subscription matching is deactivated in response to occurrence of said deactivation event.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 3, 2024
From: BEIJING PIANRUOJINGHONG TECHNOLOGY CO., LTD.
To: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 066565/0952 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 4, 2023
From: AWEMANE LTD.
To: BEIJING PIANRUOJINGHONG TECHNOLOGY CO., LTD.
Reel/Frame 064501/0498 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 2, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: AWEMANE LTD.
Reel/Frame 057991/0960 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2007
From: CRAGGS, IAN GERALD; GARRARD, ANTHONY ALAN; HARWOOD, IAN ROBERT; LOCKE, DAVID; REYNOLDS, ANDREW DAVID; STANFORD-CLARK, ANDREW JAMES; STOCKDILL, JANE LOUISE; HICKSON, ANDREW IAN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 020179/0300 →