Application Start Speed via Cached Plugin Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Developers face high costs and storage space issues when creating mini-games/mini-programs due to the need for repetitive code, leading to slower application start times as users must download complete code packages each time they start a new application.
Innovation Solution
A method where a user terminal acquires configuration parameters from a data management server, using locally cached plugins to execute applications by only downloading necessary code packages, reducing storage needs and accelerating start times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If complete code packages are downloaded each time a new mini-game/mini-program is started, then the application can be executed, but the start speed is slow and storage space is wasted
Solution Approach 1:
The code package is segmented into two parts: universal code (plugins) and specific application code. The user terminal caches the universal code separately, and only downloads the specific application code when needed. This segmentation allows the system to avoid re-downloading the same universal code for each application, thereby improving start speed and reducing download time.
Solution Approach 2:
The universal code (plugins) is downloaded and cached in advance on the user terminal before the actual application execution is needed. This preliminary action ensures that when a user starts a new mini-game or mini-program, the terminal already has the necessary universal code locally, eliminating the need to download it again and significantly reducing start time.
2Adaptability or versatility
If developers write or download universal code for each mini-game/mini-program, then the application functionality is complete, but development costs increase
Solution Approach 1:
The patent creates a universal code (plugin) that can be used across multiple different mini-games and mini-programs. Instead of developers writing separate code for each application, a single universal plugin is developed once, cached on the user terminal, and then reused for executing multiple different applications. This universality reduces development costs while maintaining adaptability across different applications.
3Reliability
If the user terminal caches complete code packages, then applications can be executed, but storage space is consumed
Solution Approach 1:
The cached code is segmented into universal code (plugins) that is stored once on the user terminal and specific application code that is downloaded only when needed. This segmentation reduces the overall storage space required because the universal code portion is not repeatedly stored for each application, while still ensuring that the necessary code is available for reliable application execution.
Data Source
AI summary
Embodiments of this disclosure provide a method for starting an application and a related apparatus. The method includes the following: A user terminal may acquire a configuration parameter of a target application from a data management server when a start instruction for the target application is detected. The configuration parameter includes plugin configuration information and code package configuration information. The target application can be executed by using a target code package and a locally cached target plugin.


