Extensible event notification mechanism
First Claim
1. A computer implemented method for event notification for a computer wherein each event is local to said computer, and each event class being associated with a respective notifier program, each notifier program responsive to occurrence of events of a corresponding event class by detecting and transmitting notification of an occurrence of a corresponding event, the method comprising:
- receiving, at a notification manager of said computer, a plurality of event registration requests, each for a requesting program of said computer when the requesting program is loaded in memory and when the requesting program is not loaded in memory, each registration request comprising;
a first identifier identifying the requesting program; and
a second identifier identifying one of the notifier programs;
responsive to each registration request, storing, by the notification manager, the first and second identifiers in a map, wherein the map includes a notification parameter which collects all notification information for each of the plurality of event registration requests whether notification for the requesting program is indicated;
activating each notifier program identified in the map;
responsive to receiving notification from a particular one of said notifier programs after detection of an occurred event, performing by the notification manager, steps comprising;
accessing the map to identify all requesting programs having submitted registration requests concerning the particular one of the notifier programs; and
activating the identified requestor programs and transmitting to each a representation of the occurred event.
1 Assignment
0 Petitions
Accused Products
Abstract
An extensible event notification system detects certain events, and notifies requestor programs that have registered to receive such notification. The system includes a notification manager, multiple event notifier programs, multiple requester programs, a map, and a notification dictionary. When loaded by the notification manager, each event notifier program detects certain prescribed events. When advised by notifier programs of events, the notification manger consults the map to identify the requester programs registered for those events and any applicable notification parameters. Then the notification manger loads the requestor programs registered for those events, and notifies them of the occurrence of the events according to the applicable notification parameters.
-
Citations
17 Claims
-
1. A computer implemented method for event notification for a computer wherein each event is local to said computer, and each event class being associated with a respective notifier program, each notifier program responsive to occurrence of events of a corresponding event class by detecting and transmitting notification of an occurrence of a corresponding event, the method comprising:
-
receiving, at a notification manager of said computer, a plurality of event registration requests, each for a requesting program of said computer when the requesting program is loaded in memory and when the requesting program is not loaded in memory, each registration request comprising; a first identifier identifying the requesting program; and a second identifier identifying one of the notifier programs; responsive to each registration request, storing, by the notification manager, the first and second identifiers in a map, wherein the map includes a notification parameter which collects all notification information for each of the plurality of event registration requests whether notification for the requesting program is indicated; activating each notifier program identified in the map; responsive to receiving notification from a particular one of said notifier programs after detection of an occurred event, performing by the notification manager, steps comprising; accessing the map to identify all requesting programs having submitted registration requests concerning the particular one of the notifier programs; and activating the identified requestor programs and transmitting to each a representation of the occurred event. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer readable storage medium storing instructions thereon, which when executed by a computer, causes said computer to perform the steps of:
-
receiving a plurality of event registration requests, each for a requestor program requesting notification of events of a particular event type when the requestor program is loaded in memory and when the requestor program is not loaded in memory; and each event class being associated with a respective notifier program, each notifier program responsive to occurrence of events of a corresponding event class by detecting and transmitting notification of an occurrence of a corresponding event, each of the plurality of event registration requests comprising; an identification of the requestor program; and an identification of one of the notifier programs; responsive to each registration request, storing said identifications of said requestor and notifier programs in a map, wherein the map includes a notification parameter which collects all notification information for each of the plurality of event registration requests whether notification for the requesting program is indicated; activating each notifier program identified in said map; responsive to receiving notification from a particular one of said notifier programs after detection of an occurred event, performing operations comprising; accessing the map to identify all requestor programs having submitted registration requests concerning the particular one of the notifier programs; and activating the identified requestor programs and transmitting to each a representation of the occurred event; wherein each event, each requestor program, each notifier program, and the map are local to said computer.
-
-
9. An event notification apparatus for detecting events comprising:
- processor means for executing;
a plurality of requestor means, each requesting notification of events of a particular event type; a plurality of notifier means, each notifier means responsive to occurrence of events of a corresponding event class and transmitting notification of an occurrence of a corresponding event; a map means; a notification manager means coupled to the plurality of requestor means, the plurality of notifier means, and the map means said notification manager means configured to perform steps comprising; receiving registration requests for said plurality of requestor means when the requestor means are loaded in memory and when the requestor means are not loaded in memory, each registration request comprising; an identification of one of said requestor means; and an identification of one of said notifier means; responsive to each received registration request, storing identifications of the requestor means and notifier means in said map means, wherein the map means includes notification parameter means which collects all notification information for each of the plurality requestor means whether notification for the requestor means is indicated; activating each notifier means identified in said map means; responsive to receiving notification from a particular one of said plurality of notifier means after detection of an occurred event, performing operations comprising; accessing the map means to identify all requestor means having submitted registration requests concerning the particular one of said plurality of notifier means; and activating the identified requestor means and transmitting to each a representation of the occurred event; wherein each event, each requestor means, each notifier means, the notification manager means, and the map means are local to said event notification apparatus. - View Dependent Claims (10, 11)
- processor means for executing;
-
12. A computer implemented method for event notification, comprising:
-
receiving a respective registration request for each requestor program desiring to be notified of an occurrence of a respective event class when the requestor program is loaded in memory and when the requestor program is not loaded in memory, wherein the registration request comprises; a respective requestor program identifier corresponding to each requestor program, a respective notifier program identifier corresponding to one of a plurality of notifier programs in the respective event class about which the respective requestor program desires to be notified, wherein each of the plurality of notifier programs are operable to detect an occurrence of multiple predetermined events from a plurality of events, wherein each one of the multiple predetermined events differs from the other ones of the multiple predetermined events, wherein each set of multiple predetermined events defines the respective event class associated with the respective notifier program, wherein each notifier program is further operable to generate an event notification in response to detecting one of the multiple predetermined events associated with the respective event class, wherein the event notification identifies a detected one of the multiple predetermined events, and a notification preference representing at least one desired event from the multiple predetermined events associated with the respective event class; correlating the requestor program identifier, the notifier program identifier and the notification preference for each registration request, wherein the correlation includes at least one notification parameter which collects all notification information for each of the multiple predetermined events associated with the respective event class whether notification for the requesting program is indicated; receiving an event notification comprising a detected event; identifying each registered requestor program to notify of the detected event, wherein each identified registered requestor program comprises any respective requestor program corresponding to any respective registration request having the respective notification preference identifying the respective desired event which matches the detected event; activating each identified registered requestor program; and forwarding a message identifying the detected event to each identified registered requestor program. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification