Lightweight App Offline Updating via Partitioned Key Element Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users with light apps cannot update their applications under weak or no network signal, limiting their web browsing capabilities.
Innovation Solution
A method for offline updating of light apps, which involves setting an offline partition, acquiring key elements of a page when network download speed exceeds a threshold, storing these elements, and processing them according to server-configured offline configuration items, including deletion based on time or space criteria, to manage data storage and elimination.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If light app stores offline data locally for offline browsing, then web browsing functionality under weak or no network signal is enabled, but storage space is occupied and data management complexity increases
Solution Approach 1:
The system automatically deletes offline data when storage space exceeds thresholds or when network connectivity is restored, freeing up storage space while maintaining the ability to provide offline browsing when needed. This resolves the contradiction by dynamically managing storage resources.
Solution Approach 2:
The offline data management system dynamically adjusts storage based on network conditions, storage availability, and usage patterns. The system can expand storage when space is available and contract when space is constrained, allowing flexible adaptation to different storage scenarios.
2Adaptability or versatility
If light app downloads and stores complete page data for offline access, then offline browsing capability is improved, but traffic consumption and storage requirements increase
Solution Approach 1:
The system extracts and stores only key elements and essential content from web pages for offline access, rather than downloading complete pages. This selective extraction reduces both traffic consumption and storage requirements while maintaining core offline browsing functionality.
Solution Approach 2:
The system implements partial downloading of page content, storing only the most important elements needed for basic offline browsing. This partial action approach provides sufficient offline functionality without the overhead of complete page storage.
3Reliability
If light app maintains large offline data partitions for multiple apps, then offline browsing quality is improved, but device storage space is consumed
Solution Approach 1:
The system divides offline data storage into separate partitions for different light apps, allowing independent management of storage resources. Each app has its own allocated space, enabling fine-grained control over storage distribution and preventing any single app from consuming excessive space.
Solution Approach 2:
The system allocates different storage qualities and capacities to different apps based on their specific needs and usage patterns. Important apps receive larger or higher-quality storage allocations, while less critical apps receive smaller allocations, optimizing overall storage efficiency.
Data Source
Figure 1
Figure 2~3
Figure 4
AI summary
The present disclosure generally relates to a light app offline updating method, device and terminal, pertaining to the field of Internet technology. The method comprises: respectively setting an offline partition for each light app; acquiring, for each light app, key elements of a page corresponding to the light app when network download speed is greater than a preset threshold value; storing key elements of the page as offline data in a corresponding offline partition; acquiring from a server, if a start-up operation of the light app is detected, an offline configuration item corresponding to the light app; and processing, according to the offline configuration item, offline data in the offline partition of the light app.