Web application execution method
First Claim
1. A web application execution method, adaptable for a client to execute a web application on a remote server, comprising:
- observing a connection status between the client and the remote server;
when the connection status is online, processing an online learning process to monitor communication sessions between the client and the remote server to establish a virtual server for providing an offline service;
when the connection status is offline, diverting the client to the virtual server to access the offline service, such that the web application is executed without disruption; and
when the connection status is reestablished from an offline connection status, processing a synchronization process to synchronize execution states of the web application from the virtual server to the remote server,wherein the online learning process comprises;
recording a request initiated by the client, and a response generated by the remote server in response to the request;
analyzing the request to obtain one or more request parameters;
analyzing the response to obtain a header section and a body section, wherein the header section comprises one or more response parameters, and the body section comprises one or more web resources, structural information and web documents;
establishing a resource mapping database, for recording relationships between the request parameters, the response parameters and the body sections;
establishing a resource bank for storage of the web resources, the structural information and the web documents;
analyzing relationships between multiple requests initiated by the client and relationships between multiple responses generated by the remote server to establish a state machine; and
establishing the virtual server based on the resource mapping database, the resource bank, and the state machine.
1 Assignment
0 Petitions
Accused Products
Abstract
A web application execution method, for a client to execute a web application on a remote server is provided. A connection status between the client and the remote server is monitored. If the connection is established, an online learning process is performed to monitor the handshakes between the client and the server, thereby constructing a virtual server. If the connection is disconnected, an offline service is activated, allowing the client to execute the web application through the virtual server. If the connection is reestablished after being disconnected, a synchronization process is performed to synchronize state machines within the virtual server and the server.
23 Citations
10 Claims
-
1. A web application execution method, adaptable for a client to execute a web application on a remote server, comprising:
-
observing a connection status between the client and the remote server; when the connection status is online, processing an online learning process to monitor communication sessions between the client and the remote server to establish a virtual server for providing an offline service; when the connection status is offline, diverting the client to the virtual server to access the offline service, such that the web application is executed without disruption; and when the connection status is reestablished from an offline connection status, processing a synchronization process to synchronize execution states of the web application from the virtual server to the remote server, wherein the online learning process comprises; recording a request initiated by the client, and a response generated by the remote server in response to the request; analyzing the request to obtain one or more request parameters; analyzing the response to obtain a header section and a body section, wherein the header section comprises one or more response parameters, and the body section comprises one or more web resources, structural information and web documents; establishing a resource mapping database, for recording relationships between the request parameters, the response parameters and the body sections; establishing a resource bank for storage of the web resources, the structural information and the web documents; analyzing relationships between multiple requests initiated by the client and relationships between multiple responses generated by the remote server to establish a state machine; and establishing the virtual server based on the resource mapping database, the resource bank, and the state machine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification