Method for determining and providing network connectivity information
First Claim
1. A method implemented by a computing system having a processor and memory, comprising:
- the computing system taking a first snapshot of incoming and outgoing network packet counts and incoming and outgoing error counts at a first discrete time;
the computing system maintaining the first snapshot of the incoming and outgoing network packet counts and the incoming and outgoing error counts, which are indicative of network activity at the first discrete time, within a first cache;
the computing system obtaining values indicative of network activity at a second discrete time by taking a second snapshot of incoming and outgoing network packet counts and incoming and outgoing error counts at the second discrete time;
the computing system storing the second snapshot of the incoming and outgoing network packet counts and the incoming and outgoing error counts at the second discrete time within a second cache;
the computing system evaluating the differences between the snapshot of the network packet counts and the error counts maintained within the first cache, corresponding to the first discrete time, and the snapshot of the network packet counts and the error counts stored in the second cache, corresponding to the second discrete time;
the computing system determining a state of network connectivity based on the evaluation, the state of network connectivity comprising either an active state or an inactive state; and
the computing system selectively outputting the state of network connectivity.
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.
-
Citations
14 Claims
-
1. A method implemented by a computing system having a processor and memory, comprising:
-
the computing system taking a first snapshot of incoming and outgoing network packet counts and incoming and outgoing error counts at a first discrete time; the computing system maintaining the first snapshot of the incoming and outgoing network packet counts and the incoming and outgoing error counts, which are indicative of network activity at the first discrete time, within a first cache; the computing system obtaining values indicative of network activity at a second discrete time by taking a second snapshot of incoming and outgoing network packet counts and incoming and outgoing error counts at the second discrete time; the computing system storing the second snapshot of the incoming and outgoing network packet counts and the incoming and outgoing error counts at the second discrete time within a second cache; the computing system evaluating the differences between the snapshot of the network packet counts and the error counts maintained within the first cache, corresponding to the first discrete time, and the snapshot of the network packet counts and the error counts stored in the second cache, corresponding to the second discrete time; the computing system determining a state of network connectivity based on the evaluation, the state of network connectivity comprising either an active state or an inactive state; and the computing system selectively outputting the state of network connectivity. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. One or more computer-readable storage media having executable instructions stored thereon that, when executed by a computing system, implement the following steps:
-
the computing system taking a first snapshot of incoming and outgoing network packet counts and incoming and outgoing error counts at a first discrete time; the computing system maintaining the first snapshot of the incoming and outgoing network packet counts and the incoming and outgoing error counts, which are indicative of network activity at the first discrete time, within a first cache; the computing system obtaining values indicative of network activity at a second discrete time by taking a second snapshot of incoming and outgoing network packet counts and incoming and outgoing error counts at the second discrete time; the computing system storing the second snapshot of the incoming and outgoing network packet counts and the incoming and outgoing error counts at the second discrete time within a second cache; the computing system evaluating the differences between the snapshot of the network packet counts and the error counts maintained within the first cache, corresponding to the first discrete time, and the snapshot of the network packet counts and the error counts stored in the second cache, corresponding to the second discrete time; the computing system determining a state of network connectivity based on the evaluation, the state of network connectivity comprising either an active state or an inactive state; and the computing system selectively outputting the state of network connectivity. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification