Local Service Data Storage for Web Clients
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Browsers that do not support virtual file systems cannot store data locally on a PC, leading to memory occupation issues and system instability when large amounts of data are processed.
Innovation Solution
A method and apparatus that establish a data connection between a local service and a Web client to store data in a designated local storage space on the PC, using a local service running independently of the browser to manage data storage, preventing memory overload and improving system reliability and stability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If browsers store data in memory only, then data can be accessed easily, but PC memory space is occupied and system stability deteriorates when large amounts of data are processed
Solution Approach 1:
The patent introduces a virtual file system as an intermediary layer between the browser and the PC storage system. This virtual file system enables browsers to store data locally without requiring direct PC memory support, thereby maintaining data accessibility while preventing memory occupation that would compromise system stability.
2Reliability
If browsers support virtual file systems, then local storage is enabled, but compatibility issues arise with browsers that do not support this feature
Solution Approach 1:
The virtual file system acts as a mediator that provides local storage capability to browsers that natively support it, while gracefully degrading to memory-based storage for browsers that do not support virtual file systems. This ensures both reliability for supported browsers and compatibility for older browsers.
Solution Approach 2:
The system dynamically changes the storage parameter based on browser capability detection. When a browser supports virtual file systems, the system uses local disk storage; when support is absent, it falls back to memory storage. This parameter adaptation maintains both reliability and compatibility across different browser environments.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
The present disclosure provides a method and an apparatus for processing data. The method includes: establishing a data connection between a local service and a Web client; receiving data that the Web client transmits to the local service through the data connection; and storing the received data to the designated local storage space..