Application Start Speed via Cached Plugin Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveapplication start speedVSAvoiddownload time
Core Design Contradiction:
SpeedVSLoss of time

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #10Preliminary action

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

Engineering Contradiction:
Improvecode reusabilityVSAvoiddevelopment cost
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

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.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If the user terminal caches complete code packages, then applications can be executed, but storage space is consumed

Engineering Contradiction:
Improveapplication execution capabilityVSAvoidstorage space
Core Design Contradiction:
ReliabilityVSVolume of stationary object

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.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11941411B2Application starting method and related device
Publication Date: 2024.03.26 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US11941411B2 patent drawing
  • US11941411B2 patent drawing
  • US11941411B2 patent drawing

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.