Method and apparatus for providing responses for requests of off-line clients
First Claim
1. An apparatus for providing responses for requests of an off-line client, comprising:
- a request-response storage component, provided in a client machine, which stores a plurality of requests and a plurality of responses;
a network traffic redirector, for redirecting requests of the client from a network connection to the client machine itself by modifying system configuration of the client machine when said client is in an off-line state, and for redirecting requests of the client from the client machine itself to the network connection by resuming the system configuration of the client machine when said client leaves the off-line state and enters an on-line state; and
an off-line server, provided in the client machine, for receiving the requests of the client redirected by said network traffic redirector to the client machine itself, and for generating responses based on requests received and on said plurality of requests and said plurality of responses stored in said request-response storage component, and returning generated responses to said client as responses of a server, wherein said plurality of requests and said plurality of responses stored in said request-response storage are a plurality of requests and a plurality of responses which have been pre-defined by a user.
4 Assignments
0 Petitions
Accused Products
Abstract
An apparatus for providing responses to requests of an off-line client, comprising: a local request-response storage which stores a plurality of requests and a plurality of responses; a network traffic redirector, for redirecting requests of the client to the client machine itself by modifying the system configuration of the client machine when the client is off-line, and for redirecting requests of the client to the network connection by resuming the system configuration of the client machine when the client leaves the off-line state and enters an on-line state; and a local off-line server, for receiving a request of the client redirected to the client machine itself, for generating a response based on the request, the plurality of requests and the plurality of responses stored in the request-response storage, and for returning the response to the client.
-
Citations
18 Claims
-
1. An apparatus for providing responses for requests of an off-line client, comprising:
-
a request-response storage component, provided in a client machine, which stores a plurality of requests and a plurality of responses;
a network traffic redirector, for redirecting requests of the client from a network connection to the client machine itself by modifying system configuration of the client machine when said client is in an off-line state, and for redirecting requests of the client from the client machine itself to the network connection by resuming the system configuration of the client machine when said client leaves the off-line state and enters an on-line state; and
an off-line server, provided in the client machine, for receiving the requests of the client redirected by said network traffic redirector to the client machine itself, and for generating responses based on requests received and on said plurality of requests and said plurality of responses stored in said request-response storage component, and returning generated responses to said client as responses of a server, wherein said plurality of requests and said plurality of responses stored in said request-response storage are a plurality of requests and a plurality of responses which have been pre-defined by a user. - View Dependent Claims (2, 3)
said apparatus further comprises;
an actual network service means, provided in said client machine, for sending each request stored in said off-line request storage to the server through a network connection after said client leaves the off-line state and enters an on-line state.
-
-
3. The apparatus according to claim 2, wherein said off-line server further comprises an off-line response storage, for storing the responses returned to said client in an association manner with the requests stored in said off-line request storage;
- and
wherein said actual network service means, after sending each request to said server, further receives each response returned from said server;
said apparatus further comprises;
a comparison means for comparing said response received by said actual network service means from said server with a response stored in said off-line response storage in an association manner with the request sent to said server; and
a notification component for, when the comparison result of said comparison means indicates a logic error, notifying the user of said error.
- and
-
4. An apparatus for providing responses for requests of an off-line client, comprising:
-
a request-response storage component, provided in a client machine, which stores a plurality of requests and a plurality of responses;
a network traffic redirector, for redirecting requests of the client from a network connection to the client machine itself by modifying system configuration of the client machine when said client is in an off-line state, and for redirecting requests of the client from the client machine itself to the network connection by resuming the system configuration of the client machine when said client leaves the off-line state and enters an on-line state; and
an off-line server, provided in the client machine, for receiving the requests of the client redirected by said network traffic redirector to the client machine itself, and for generating responses based on requests received and on said plurality of requests and said plurality of responses stored in said request-response storage component, and returning generated responses to said client as responses of a server, wherein said plurality of requests and said plurality of responses stored in said request-response storage component are a plurality of requests of the client and a plurality of responses of the server which have been intercepted in the client machine while said client is in an on-line state. - View Dependent Claims (5, 6)
said apparatus further comprises;
an actual network service means, provided in said client machine, for sending each request stored in said off-line request storage to the server through a network connection after said client leaves the off-line state and enters an on-line state.
-
-
6. The apparatus according to claim 5, wherein said off-line server further comprises an off-line response storage, for storing the responses returned to said client in an association manner with the requests stored in said off-line request storage;
- and
wherein said actual network service means, after sending each request to said server, further receives each response returned from said server;
said apparatus further comprises;
a comparison means for comparing said response received by said actual network service means from said server with a response stored in said off-line response storage in an association manner with the request sent to said server; and
a notification component for, when the comparison result of said comparison means indicates a logic error, notifying the user of said error.
- and
-
7. A method for providing responses for requests of an off-line client, comprising the steps of:
-
(a) providing a request-response storage in a client machine, for storing a plurality of requests and a plurality of responses;
(b) redirecting requests of the client from a network connection to the client machine itself by modifying system configuration of the client machine when said client enters an off-line state; and
(c) while said client is in the off-line state, repeatedly performing in the client machine steps of;
(c1) receiving a request redirected to the client machine itself, (c2) generating a response based on said request, said plurality of requests and said plurality of responses stored in said request-response storage, and (c3) returning said response to said client as a response of a server, and wherein the plurality of requests and the plurality of responses in said step (a) are pre-defined by a user. - View Dependent Claims (8, 9)
(d) redirecting requests of the client from the client machine itself to a network connection by resuming the system configuration of the client machine when said client leaves the off-line state and enters an on-line state; and
(e) repeatedly performing following steps in the client machine;
(e1) retrieving a request from said off-line request storage; and
(e2) sending said request to a server through a network connection.
-
-
9. The method according to claim 8, characterized in that in step (c3) the response returned to said client is further recorded in an off-line response storage provided in the client machine in an association manner with the requests recorded in step (c1), and
said step (e) further comprises steps of: -
(e3) receiving a response returned by said server;
(e4) retrieving from said off-line response storage a response associated with said request retrieved in step (e1);
(e5) comparing the response received in step (e3) with the response retrieved in step (e4); and
(e6) notifying the user of an error if comparison result indicates a logical error.
-
-
10. A method for providing responses for requests of an off-line client, comprising the steps of:
-
(a) providing a request-response storage in a client machine, for storing a plurality of requests and a plurality of responses;
(b) redirecting requests of the client from a network connection to the client machine itself by modifying system configuration of the client machine when said client enters an off-line state; and
(c) while said client is in the off-line state, repeatedly performing in the client machine steps of;
(c1) receiving a request redirected to the client machine itself, (c2) generating a response based on said request, said plurality of requests and said plurality of responses stored in said request-response storage, and (c3) returning said response to said client as a response of a server, and wherein said plurality of requests and said plurality of responses in said step (a) are obtained by repeatedly performing, while said client is in an on-line state, the steps of;
intercepting a request sent by said client to a server;
sending said request to said server through a network connection;
receiving a response returned by said server;
returning said response to said client; and
storing said request and said response into said request-response storage. - View Dependent Claims (11, 12)
(d) redirecting requests of the client from the client machine itself to a network connection by resuming the system configuration of the client machine when said client leaves the off-line state and enters an on-line state; and
(e) repeatedly performing following steps in the client machine;
(e1) retrieving a request from said off-line request storage; and
(e2) sending said request to a server through a network connection.
-
-
12. The method according to claim 11, characterized in that in step (c3) the response returned to said client is further recorded in an off-line response storage provided in the client machine in an association manner with the requests recorded in step (c1), and
said step (e) further comprises steps of: -
(e3) receiving a response returned by said server;
(e4) retrieving from said off-line response storage a response associated with said request retrieved in step (e1) (e5) comparing the response received in step (e3) with the response retrieved in step (e4); and
(e6) notifying the user of an error if comparison result indicates a logical error.
-
-
13. A computer-readable media for recording programs, on which a program is recorded for performing steps of:
-
when it is determined that a client enters an off-line state, modifying system configuration of the client machine, such that requests of the client are redirected from a network connection to the client machine itself; and
while said client is in the off-line state, repeatedly performing following steps in the client machine;
receiving a request redirected to the client machine itself, generating a response based on said request, said plurality of requests and said plurality of responses stored in a request-response storage provided in the client machine, and returning said response to said client as a response of a server, characterized in that said plurality of requests and said plurality of responses stored in said request-response storage are pre-defined by a user. - View Dependent Claims (14, 15)
the program stored in said computer-readable media further performs steps of: (d) redirecting requests of the client from the client machine itself to a network connection by resuming the system configuration of the client machine when said client leaves the off-line state and enters an on-line state; and
(e) repeatedly performing following steps in the client machine;
(e1) retrieving a request from said off-line request storage; and
(e2) sending said request to a server through a network connection.
-
-
15. The computer-readable media for recording programs according to claim 14, characterized in that in step (c3) the response returned to said client is further recorded in an off-line response storage provided in the client machine in an association manner with the requests recorded in step (c1), and
said step (e) further comprises steps of: -
(e3) receiving a response returned by said server;
(e4) retrieving from said off-line response storage a response which is associated with said request retrieved in step (e1);
(e5) comparing the response received in step (e3) with the response retrieved in step (e4); and
(e6) notifying the user of an error if comparison result indicates a logical error.
-
-
16. A computer-readable media for recording programs, on which a program is recorded for performing steps of:
-
when it is determined that a client enters an off-line state, modifying system configuration of the client machine, such that requests of the client are redirected from a network connection to the client machine itself; and
while said client is in the off-line state, repeatedly performing following steps in the client machine;
receiving a request redirected to the client machine itself, generating a response based on said request, said plurality of requests and said plurality of responses stored in a request-response storage provided in the client machine, and returning said response to said client as a response of a server, characterized in that said plurality of requests and said plurality of responses stored in said request-response storage are obtained by repeatedly performing following steps while said client is in an on-line state;
intercepting a request sent by said client to a server;
sending said request to said server through a network connection;
receiving a response returned by said server;
returning said response to said client; and
storing said request and said response into said request-response storage. - View Dependent Claims (17, 18)
the program stored in said computer-readable media further performs steps of: (d) redirecting requests of the client from the client machine itself to a network connection by resuming the system configuration of the client machine when said client leaves the off-line state and enters an on-line state; and
(e) repeatedly performing following steps in the client machine;
(e1) retrieving a request from said off-line request storage; and
(e2) sending said request to a server through a network connection.
-
-
18. The computer-readable media for recording programs according to claim 17, characterized in that in step (c3) the response returned to said client is further recorded in an off-line response storage provided in the client machine in an association manner with the requests recorded in step (c1), and
said step (e) further comprises steps of: -
(e3) receiving a response returned by said server;
(e4) retrieving from said off-line response storage a response which is associated with said request retrieved in step (e1);
(e5) comparing the response received in step (e3) with the response retrieved in step (e4); and
(e6) notifying the user of an error if comparison result indicates a logical error.
-
Specification