Web Application System Server Terminal Synchronization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Web applications face discontinuity in use when communication between the terminal and server is disconnected, making it difficult to maintain operation and stability.
Innovation Solution
A web application system with a server-side updating device, detection device, and synchronization device that updates and notifies the terminal of changes in first information, and a terminal-side synchronization device that synchronizes second information with the server, allowing continuous operation even during disconnection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If web application operates through cooperation between terminal program and server program, then web application functionality is achieved, but operation continuity cannot be maintained when communication is disconnected
Solution Approach 1:
The terminal stores copy information (second information) in advance in its storage device before communication disconnection occurs. This preliminary storage enables the terminal to continue displaying and operating with cached data even when the server is inaccessible, thereby maintaining operation continuity without requiring special disconnection handling capabilities.
2Loss of information
If server updates first information and notifies terminal, then information synchronization is achieved, but network bandwidth is consumed during communication
Solution Approach 1:
The system extracts and transmits only the update notification (information indicating that first information has been updated) from the server to the terminal, rather than transmitting the entire data set. When the terminal receives this notification, it retrieves the updated first information from its locally stored copy. This extraction approach ensures complete information synchronization while significantly reducing network bandwidth consumption.
3Stability of the object's composition
If terminal synchronizes second information with first information, then data consistency is maintained, but synchronization complexity increases
Solution Approach 1:
The terminal maintains a copy of the server's information (second information is a copy of first information) locally in its storage device. This copying approach ensures data consistency between terminal and server while simplifying the synchronization mechanism - the terminal only needs to retrieve and update its local copy when notified of server changes, avoiding complex real-time synchronization protocols.
Data Source
AI summary
A web application system of an embodiment includes a server and a terminal. The server includes a server-side updating device, a server-side detection device, and a server-side synchronization device. The terminal includes an application execution device. The server-side updating device updates first information stored in a server-side storage device on the basis of a server-side event. The server-side detection device detects that the first information has been updated. The server-side synchronization device notifies the terminal of information indicating that the first information has been updated when it is detected that the first information has been updated. The application execution device functions by a web application being executed. Further, the application execution device starts synchronization of second information stored in a terminal-side storage device with the first information when information indicating that the first information has been updated is received from the server. Further, the application execution device executes a process based on the second information according to an operation of a user.


