Virtual Server for Offline Web Application Execution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional offline web application services require specific modified programs, limiting flexibility and compatibility for clients, especially in mobile communications where internet connectivity is uncertain.
Innovation Solution
A web application execution method that monitors connection status between a client and remote server, establishing a virtual server for offline service through online learning, allowing seamless execution and synchronization without disrupting the service, using a proxy to analyze and record HTTP communication sessions and reconstruct responses for offline access.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If conventional offline services use specific modified programs, then offline function execution is achieved, but client flexibility and compatibility are decreased
Solution Approach 1:
The patent introduces a virtual server as an intermediary component that mediates between the client and the remote server. This virtual server intercepts HTTP requests, analyzes them, and generates appropriate responses without requiring the client to install specific modified programs. The intermediary handles the complexity of offline service execution while maintaining client compatibility with standard web browsers.
Solution Approach 2:
The patent creates a virtual copy of the remote server's functionality through the virtual server. This virtual server replicates the server's behavior by monitoring HTTP communication sessions, analyzing requests and responses, and generating appropriate responses locally. This copying approach enables offline service execution without modifying the original client programs.
2Reliability
If a virtual server is established for offline service, then disruption-free execution is achieved, but device complexity increases
Solution Approach 1:
The virtual server is segmented into distinct functional modules: HTTP request interception module, request analysis module, response generation module, and synchronization module. This segmentation allows each component to handle specific tasks independently, making the overall complex system more manageable and maintainable while achieving reliable disruption-free execution.
Solution Approach 2:
The system performs preliminary actions by monitoring and recording HTTP communication sessions during online operation to build a knowledge base. This preliminary data collection enables the virtual server to generate appropriate responses during offline operations without requiring complex real-time analysis, thus reducing operational complexity.
3Manufacturing precision
If online learning process monitors communication sessions, then accurate virtual server generation is achieved, but bandwidth consumption increases
Solution Approach 1:
The system performs preliminary monitoring and recording of HTTP communication sessions during online operation to build a knowledge base. This preliminary action captures the necessary information to generate accurate virtual server responses later, eliminating the need for continuous high-bandwidth communication during offline operations.
Solution Approach 2:
The virtual server uses the recorded communication sessions and generated responses to serve itself during offline operations. By leveraging the preliminary learning data, the system can accurately generate responses without requiring continuous bandwidth consumption for verification or updates from the remote server.
Data Source
AI summary
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.


