Patent US5862362A successfully refreshed from Google Patents.
US5862362A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Network failure simulator
Assignee: Microsoft Technology Licensing LLC
•
Filing: 1995-10-05
•
Granted: 1999-01-19
•
Expires: 2015-10-05
Abstract
Abstract A network failure simulation tool provides simulation of a network failure suitable for automated software testing under software control. The tool intercepts packets being sent or received by a computer on a network by redirecting the packets from a network I/O architecture to substitute packet handlers. The tool also resumes normal network operation by again directing packets through actual packet handlers of the computer's network I/O architecture. Commands are provided for controlling suspension and resumption of network operation by the tool from an automated software testing program.
Inventors
- 👤 Sivaramakichenane Somasegar
- 👤 Thomas D. McGuire
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-02 14:03
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3698; H; H04; H04L; H04L41/00; H04L43/00; H04L43/50
Claims Analysis
Total Claims: 19
Claim 1
Independent Claim
200 words
In a computer system having an adapter for connecting to a network and a multiple layer network input/output system with a send handler and a receive handler for respectively sending and receiving data on the network, a computer implemented method for programmatically simulating a network failure under control of a testing program, the method comprising: under testing program control, directly replacing a reference to the send handler with a reference to a substitute send handler to redirect from the send handler to the substitute send handler calls for sending data outwardly directed via the network, the substitute send handler returning a first status datum indicative of a condition of the network without relaying the outwardly directed data, whereby the send handler ceases processing the outwardly directed data; and under testing program control, directly replacing a reference to the receive handler with a reference to a substitute receive handler to redirect from the receive handler to the substitute receive handler calls for receiving data inwardly directed via the network, the substitute receive handler returning a first status datum indicative of a condition of the network without relaying the inwardly directed data, whereby the receive handler ceases processing the inwardly directed data.
Claim 2
Dependent Claim
200 words
In a computer system having an adapter for connecting to a network and a multiple layer network input/output system with a send handler and a receive handler for respectively sending and receiving data on the network, a computer implemented method for programmatically simulating a network failure under control of a testing program, the method comprising: under testing program control, directly replacing a reference to the send handler with a reference to a substitute send handler to redirect from the send handler to the substitute send handler calls for sending data outwardly directed via the network, the substitute send handler returning a first status datum indicative of a condition of the network without relaying the outwardly directed data, whereby the send handler ceases processing the outwardly directed data; and under testing program control, directly replacing a reference to the receive handler with a reference to a substitute receive handler to redirect from the receive handler to the substitute receive handler calls for receiving data inwardly directed via the network, the substitute receive handler returning a first status datum indicative of a condition of the network without relaying the inwardly directed data, whereby the receive handler ceases processing the inwardly directed data.
Claim 3
Dependent Claim
14 words
A computer-readable medium having computer-executable instructions for performing the method recited in claim 1.
Claim 4
Dependent Claim
57 words
The method of claim 1 wherein the substitute send handler is a dead end handler returning a status datum indicative of successfully sending the data, without relaying the outwardly directed data and the substitute receive handler is a dead end handler returning a status datum indicative of successfully receiving the data, without relaying the inwardly directed data.
Claim 5
Dependent Claim
128 words
The method of claim 1 further comprising: storing the reference to the send handler for later retrieval; storing the reference to the receive handler for later retrieval; under testing program control, directly replacing the reference to the substitute send handler with the stored reference to the send handler to restore direction of the calls for sending the outwardly directed data via the network to the send handler; and under testing program control, directly replacing the reference to the substitute receive handler with the stored reference to the receive handler to restore direction of the calls for receiving the inwardly directed data via the network to the receive handler; whereby the send handler resumes processing the outwardly directed data and the receive handler resumes processing the inwardly directed data.
Claim 6
Dependent Claim
14 words
A computer-readable medium having computer-executable instructions for performing the method recited in claim 4.
Claim 7
Dependent Claim
216 words
A network failure simulator for a computer system having network hardware for at least one network connection, a send handler for sending outwardly directed data from the computer to the network and a receive handler for receiving inwardly directed data from the network to the computer, the network failure simulator comprising: a substitute send handler for intercepting data being sent on the at least one network connection, wherein the substitute send handler is operative to return a first status datum indicative of a condition of the network and to not send the outwardly directed data from the computer to the network; a substitute receive handler for intercepting data being received on the at least one network connection, wherein the substitute send handler is operative to return a first status datum indicative of a condition of the network and to not receive inwardly directed data from the network to the computer; and a testing program operative to directly replace a reference to the send handler with a reference to the substitute send handler and to directly replace a reference to the receive handler with a reference to the substitute receive handler, whereby sending of the outwardly directed data by the send handler is prevented and receiving of the inwardly directed data by the receive handler is prevented.
Claim 8
Dependent Claim
216 words
A network failure simulator for a computer system having network hardware for at least one network connection, a send handler for sending outwardly directed data from the computer to the network and a receive handler for receiving inwardly directed data from the network to the computer, the network failure simulator comprising: a substitute send handler for intercepting data being sent on the at least one network connection, wherein the substitute send handler is operative to return a first status datum indicative of a condition of the network and to not send the outwardly directed data from the computer to the network; a substitute receive handler for intercepting data being received on the at least one network connection, wherein the substitute send handler is operative to return a first status datum indicative of a condition of the network and to not receive inwardly directed data from the network to the computer; and a testing program operative to directly replace a reference to the send handler with a reference to the substitute send handler and to directly replace a reference to the receive handler with a reference to the substitute receive handler, whereby sending of the outwardly directed data by the send handler is prevented and receiving of the inwardly directed data by the receive handler is prevented.
Claim 9
Dependent Claim
72 words
The network failure simulator of claim 6 wherein the substitute send handler is a dead end handler returning a value indicative of having successfully sent an outwardly directed packet without relaying the outwardly directed packet to a next network layer and the receive handler is a dead end handler returning a value indicative of having successfully received an inwardly directed packet without relaying the inwardly directed packet to a next network layer.
Claim 10
Dependent Claim
65 words
The network failure simulator of claim 6 further comprising: an original pointer store for storing references to replaced handlers, the original pointer store containing a reference to the send handler and a reference to the receive handler and operative to recall the references for directing calls for sending data back to the send handler and directing calls for receiving data back to the receive handler.
Claim 11
Dependent Claim
191 words
A computer implemented method for simulating a network failure to automate testing of a network application in a computer system having an adapter for connecting to a network and a multiple layer network input/output system with a send handler and a receive handler for respectively sending and receiving data on the network, the method comprising: sending a suspend network command from an automated software testing application to a network failure simulation tool; with the network failure simulation tool, in response to the suspend network command, redirecting calls for sending outwardly directed data via the network from the send handler to a substitute handler returning a status datum indicative of a condition of the network and not relaying the outwardly directed data onto the network; and with the network failure simulation tool, in response to the suspend network command, redirecting calls for receiving inwardly directed data via the network from the receive handler to a substitute handler returning a status datum indicative of a condition of the network and not relaying the inwardly directed data from the network, whereby the automated software testing application controls disconnecting the network from the computer system.
Claim 12
Dependent Claim
191 words
A computer implemented method for simulating a network failure to automate testing of a network application in a computer system having an adapter for connecting to a network and a multiple layer network input/output system with a send handler and a receive handler for respectively sending and receiving data on the network, the method comprising: sending a suspend network command from an automated software testing application to a network failure simulation tool; with the network failure simulation tool, in response to the suspend network command, redirecting calls for sending outwardly directed data via the network from the send handler to a substitute handler returning a status datum indicative of a condition of the network and not relaying the outwardly directed data onto the network; and with the network failure simulation tool, in response to the suspend network command, redirecting calls for receiving inwardly directed data via the network from the receive handler to a substitute handler returning a status datum indicative of a condition of the network and not relaying the inwardly directed data from the network, whereby the automated software testing application controls disconnecting the network from the computer system.
Claim 13
Dependent Claim
14 words
A computer-readable medium having computer-executable instructions for performing the method recited in claim 9.
Claim 14
Dependent Claim
99 words
The method of claim 9 further comprising: sending a resume network command from the automated software testing application to the network failure simulation tool; with the network failure simulation tool, in response to the resume network command, restoring direction of the calls for sending outwardly directed data via the network to the send handler; and with the network failure simulation tool, in response to the resume network command, restoring direction of the calls for receiving inwardly directed data via the network to the receive handler, whereby the automated software testing application controls reconnecting the network to the computer system.
Claim 15
Dependent Claim
13 words
The method of claim 9 wherein the substitute handlers are dead end handlers.
Claim 16
Dependent Claim
175 words
In a computer system having an adapter for connecting to a network and a multiple layer network input/output system with a send handler residing in a network layer and a receive handler residing in a network layer for respectively sending and receiving packets on the network, a method for simulating a network failure, the method comprising the steps of: redirecting calls for sending outwardly directed packets via the network from the send handler to a first substitute handler operative to return a first status datum indicative of a condition of the network and to not relay the outwardly directed packets to a lower layer; and redirecting calls for receiving inwardly directed packets via the network from the receive handler to a second substitute handler operative to return a second status datum indicative of a condition of the network and to not relay the inwardly directed packets to a higher layer, whereby calls for sending and receiving packets are blocked from executing the send and receive handlers and network access by the computer system is suspended.
Claim 17
Dependent Claim
175 words
In a computer system having an adapter for connecting to a network and a multiple layer network input/output system with a send handler residing in a network layer and a receive handler residing in a network layer for respectively sending and receiving packets on the network, a method for simulating a network failure, the method comprising the steps of: redirecting calls for sending outwardly directed packets via the network from the send handler to a first substitute handler operative to return a first status datum indicative of a condition of the network and to not relay the outwardly directed packets to a lower layer; and redirecting calls for receiving inwardly directed packets via the network from the receive handler to a second substitute handler operative to return a second status datum indicative of a condition of the network and to not relay the inwardly directed packets to a higher layer, whereby calls for sending and receiving packets are blocked from executing the send and receive handlers and network access by the computer system is suspended.
Claim 18
Dependent Claim
14 words
A computer-readable medium having computer-executable instructions for performing the method recited in claim 13.
Claim 19
Dependent Claim
67 words
The method of claim 13 further comprising the steps of: restoring direction of the calls for sending data via the network to the send handler; and restoring direction of the calls for receiving data via the network to the receive handler, whereby calls for sending and receiving data via the network cease being redirected to the substitute handlers and network access by the computer system is resumed.
References Cited (Backward Citations)
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2002-01-18 | 2002-07-20 | 2003-01-19 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2006-01-18 | 2006-07-20 | 2007-01-19 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2010-01-18 | 2010-07-20 | 2011-01-19 | $7700.00 | Window Closed / Lapsed |