Application Launching via Dynamic Resource Preloading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The launching efficiency of applications on smart terminals is low due to the time required to load resources, which affects user experience by delaying the availability of timely content.
Innovation Solution
A method for preloading applications involves determining the target application based on prediction models and preloading resources, including network data dynamically updated on the network side, to ensure quick launching when an instruction is received.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If resources are loaded when the application is launched, then the application can be started, but the launching time becomes several seconds or more than ten seconds
Solution Approach 1:
The patent preloads resources (application icons, names, and other resources) into a resource cache before the application is actually launched. When the user selects an application, the system checks the resource cache first, and if the resources are already cached, it directly launches the application without needing to load resources from storage, thereby significantly reducing launching time.
2Loss of time
If resources are preloaded into cache, then the launching speed is improved, but the cache may contain outdated network data
Solution Approach 1:
The patent implements a periodic validation mechanism where the system periodically checks whether resources in the resource cache are still valid by comparing them with current network data. When resources are updated on the network side, the system detects this and updates the cached resources accordingly, ensuring that preloaded resources remain current while still benefiting from the speed of caching.
3Loss of time
If all application resources are loaded into memory, then the launching is instant, but the memory consumption increases
Solution Approach 1:
The patent uses a resource cache mechanism that selectively caches only the most frequently accessed application resources (icons, names, and other lightweight resources) in memory, while keeping the full application packages in storage. This localized caching approach provides fast launching for resource lookup while avoiding the memory consumption of loading entire applications into RAM.
Data Source
AI summary
A method for launching an application, a storage medium, and a terminal are provided. The method includes the following. An application to be preloaded is determined in response to an event of application preloading being triggered. Resources for launching the application to be preloaded are preloaded. The application to be preloaded includes a target application, the resources includes a first resource for launching the target application, and the first resource includes network data of the target application, which is dynamically updated on a network side. In response to receiving an instruction indicative of launching the target application, the target application is launched based on latest network data of the target application and the first resources preloaded.


