Method and mechanism for providing computer programs with computer system events
First Claim
1. A system for providing notifications of computer system events to clients, comprising:
- a registration mechanism for clients to register for notification of one or more types of events, including at least one client registered for network connectivity event notification;
a central service configured to monitor for system events including at least one system event corresponding to whether network connectivity has changed state and to fire at least one event notification in response thereto, including at least one event notification when a network connection is established, the central service including a plurality of time-based caches for caching network information and a mechanism for evaluating differences between at least two of the caches to determine a connectivity state of a network; and
a distribution mechanism that communicates the at least one fired event notification to each client registered for notification thereof based on the type of event.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for providing system event notifications to clients such as applications. Clients register for notification of one or more types of events with a registration mechanism, and a System Event Notification Service, (SENS), receives system event information and fires event notifications in response thereto. A distribution mechanism selectively communicates the fired event to each client registered for notification thereof based on the type of event. Events include network events, for which the service monitors the connectivity state of the machine, including whether a connection is established or lost, the type of connection (LAN/WAN) and bandwidth information. To monitor a LAN state, the service caches outgoing and incoming network information including errors and packet counts and statistically evaluates this cached information against current information to determine whether the connection is established or lost. The service also determines if a destination (IP address or name) is reachable, by periodically polling destinations. Other system event notifications may be fired, including logon or logoff operations and power management events.
102 Citations
10 Claims
-
1. A system for providing notifications of computer system events to clients, comprising:
-
a registration mechanism for clients to register for notification of one or more types of events, including at least one client registered for network connectivity event notification;
a central service configured to monitor for system events including at least one system event corresponding to whether network connectivity has changed state and to fire at least one event notification in response thereto, including at least one event notification when a network connection is established, the central service including a plurality of time-based caches for caching network information and a mechanism for evaluating differences between at least two of the caches to determine a connectivity state of a network; and
a distribution mechanism that communicates the at least one fired event notification to each client registered for notification thereof based on the type of event. - View Dependent Claims (2, 3, 4)
-
-
5. A system for providing notifications of computer system events to clients, comprising:
-
a registration mechanism for clients to register for notification of one or more types of events;
a central service configured to monitor for system events and to fire at least one event notification in response thereto, the central service including a plurality of time-based caches for caching network information and a mechanism for evaluating differences been at least two of the caches to determine a connectivity state of a network; and
a distribution mechanism that communicates the at least one fired event notification to each client registered for notification thereof based on the type of event. - View Dependent Claims (6)
-
-
7. A computer-readable medium having computer-executable instructions, comprising:
-
receiving system information at a central service;
generating an event notification based on the information when a specified destination is reachable within specified Quality of Connection parameters;
determining a client to send the event notification to based on a filter, the client having previously subscribed to the event notification, the client indicating further conditions other than the filter for receiving the event notification, the filter matching events to subscribers; and
if the filter matches the event notification to the client, sending the event to the client only if the further conditions have also been met. - View Dependent Claims (8, 9, 10)
-
Specification