Publish-subscribe event notifications
First Claim
Patent Images
1. A method for providing notifications of events, the method comprising:
- defining a set of standard events for objects in a back end system, wherein the objects are presented as rows in tables of a database;
storing subscription information in a repository, the subscription information identifying subscribers based on at least one criterion selected from the group consisting of a name of an event, a unique key for an object, and an object type;
storing data defining publishing constraints in the repository, wherein at least one subscriber is notified only if the publishing constraints are satisfied;
operating on an object in the back end system using an instance of a service provider class;
detecting conditions corresponding to a standard event from the set of standard events, with the conditions corresponding to the standard event defined by meta data stored in the repository; and
notifying at least one subscriber to the standard event, in response to a detected condition and in accordance with a notification method defined in a registration list entry of the subscriber, the notification method comprising batch processing notification, synchronous processing, and synchronous-delayed processing, whereinthe batch processing comprises collecting and condensing events by accumulating multiple object keys for each standard event associated with the object, and scheduling a periodic batch notification,the synchronous processing comprises immediately notifying the at least one subscriber to the event upon triggering of the event, andthe synchronous-delayed processing comprises notifying the at least one subscriber to the event as soon as possible after notifying subscribers with a synchronous subscription,wherein the at least one subscriber is notified based on the subscription information.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, for providing notifications of events include defining a set of standard events for objects in a back end system and operating on an object in the back end system using an instance of a service provider class. Conditions corresponding to a standard event from the set of standard events are detected. The conditions corresponding to the standard event are defined by meta data stored in a repository. One or more subscribers to the standard event are notified in response to a detected condition.
-
Citations
14 Claims
-
1. A method for providing notifications of events, the method comprising:
-
defining a set of standard events for objects in a back end system, wherein the objects are presented as rows in tables of a database; storing subscription information in a repository, the subscription information identifying subscribers based on at least one criterion selected from the group consisting of a name of an event, a unique key for an object, and an object type; storing data defining publishing constraints in the repository, wherein at least one subscriber is notified only if the publishing constraints are satisfied; operating on an object in the back end system using an instance of a service provider class; detecting conditions corresponding to a standard event from the set of standard events, with the conditions corresponding to the standard event defined by meta data stored in the repository; and notifying at least one subscriber to the standard event, in response to a detected condition and in accordance with a notification method defined in a registration list entry of the subscriber, the notification method comprising batch processing notification, synchronous processing, and synchronous-delayed processing, wherein the batch processing comprises collecting and condensing events by accumulating multiple object keys for each standard event associated with the object, and scheduling a periodic batch notification, the synchronous processing comprises immediately notifying the at least one subscriber to the event upon triggering of the event, and the synchronous-delayed processing comprises notifying the at least one subscriber to the event as soon as possible after notifying subscribers with a synchronous subscription, wherein the at least one subscriber is notified based on the subscription information. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for providing notifications of events, the system comprising:
-
a repository comprising meta data representing business objects in a back end system, definitions of conditions corresponding to events, and registrations of event subscribers, wherein the business objects are presented as rows in tables of a database; and an enterprise service framework in communication with the repository, wherein the enterprise service framework comprises; logic for maintaining a list of events, each event including attributes selected from the group consisting of an event name, a unique key associated with the business object associated with the event, and an object type for the business object associated with the event; a detector for detecting an operation on a business object in the back end system by an instance of a service provider class; logic for determining whether the operation satisfies the defined conditions in the repository corresponding to a particular event; logic for triggering the particular event if the operation satisfies the defined conditions corresponding to the particular event; logic for processing the list of events prior to notifying the at least one subscriber in accordance with predetermined rules stored in the repository; and logic for notifying at least one event subscriber registered to receive a notification of the particular event, based on the registrations in the repository and in accordance with a notification method defined in a registration list entry of the subscriber, the notification method comprising batch processing notification, synchronous processing, and synchronous-delayed processing, wherein the batch processing comprises collecting and condensing events by accumulating multiple object keys for each standard event associated with the object, and scheduling a periodic batch notification, the synchronous processing comprises immediately notifying the at least one subscriber to the event upon triggering of the event, and the synchronous-delayed processing comprises notifying the at least one subscriber to the event as soon as possible after notifying subscribers with a synchronous subscription. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A computer program product, stored on a machine-readable storage medium, for providing notifications of events, the computer program product comprising executable instructions that cause a computer to:
-
retrieve a stored set of standards events for objects in a back end system, wherein the objects are presented as rows in tables of a database; store subscription information in a repository, the subscription information identifying subscribers based on at least one criterion selected from the group consisting of a name of an event, a unique key for an object, and an object type; store data defining publishing constraints in the repository, wherein at least one subscriber is notified only if the publishing constraints are satisfied; operate on an object in the back end system using an instance of a service provider class; detect conditions corresponding to a standard event from the set of standard events, with the conditions corresponding to the standard event defined by meta data stored in the repository; and notify at least one subscriber to the standard event, in response to the detected conditions and in accordance with a notification method defined in a registration list entry of the subscriber, the notification comprising batch processing notification, synchronous processing, and synchronous-delayed processing, wherein the batch processing comprises collecting and condensing events by accumulating multiple object keys for each standard event associated with the object, and scheduling a periodic batch notification, the synchronous processing comprises immediately notifying the at least one subscriber to the event upon triggering of the event, and the synchronous-delayed processing comprises notifying the at least one subscriber to the event as soon as possible after notifying subscribers with a synchronous subscription, wherein the at least one subscriber is notified based on the subscription information. - View Dependent Claims (13, 14)
-
Specification