Preloading Application Resources via Historical Scene Similarity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Mobile terminals experience a significant delay in starting applications due to the time-consuming process of loading startup resources, such as code, user interface materials, and data, when a user clicks on an application icon.

Innovation Solution

A method and apparatus for preloading resources by analyzing current and historical scene data to predict which applications are likely to be started next, based on similarities in user, environment, and device attributes, and preloading the necessary resources into memory.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If startup resources are loaded only when the user clicks on an application icon, then the device memory usage is optimized, but the application startup time becomes excessively long

Engineering Contradiction:
Improveapplication startup timeVSAvoiddevice memory usage
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The system performs preliminary actions by preloading startup resources into memory based on historical data analysis and similarity calculation. When a user clicks an application icon, the system determines whether to load resources by comparing current scene attributes with historical scenes, and pre-loads the necessary startup resources (code, UI materials, data) before the application is actually launched, thereby reducing startup time without permanently occupying excessive memory

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If all startup resources are preloaded into memory, then the application startup time is minimized, but the device memory consumption increases significantly

Engineering Contradiction:
Improveapplication startup timeVSAvoidmemory consumption
Core Design Contradiction:
Loss of timeVSQuantity of substance

Solution Approach 1:

The system applies local quality by selectively loading only the specific startup resources needed for the predicted application rather than loading all possible resources. Based on the determined historical scene and similarity calculation, the system identifies and loads only the relevant code, UI materials, and data for the specific application that is likely to be launched, optimizing both startup time and memory usage

Inventive Principle:
Principle #3Local quality

3Measurement precision

If the system analyzes historical data and calculates similarities to predict applications, then the startup resource loading accuracy is improved, but the system complexity increases

Engineering Contradiction:
Improveprediction accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system implements self-service by automatically collecting historical scene data, calculating similarities between current and historical scenes, and autonomously determining which startup resources to load. The system uses attribute comparison (time, location, user behavior) and similarity algorithms to make intelligent decisions without requiring manual intervention, thereby improving prediction accuracy while managing complexity through automated processes

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11169827B2Resource loading at application startup using attributes of historical data groups
Publication Date: 2021.11.09 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US11169827B2 patent drawing
  • US11169827B2 patent drawing
  • US11169827B2 patent drawing

AI summary

An electronic device includes a memory and processing circuitry. The memory is to be loaded with resources for applications to be executed at the electronic device. The processing circuitry obtains a current data group having attributes for a current running scene. Further, the processing circuitry obtains historical data groups respectively corresponding to a plurality of historical scenes. A historical data group of the historical data groups includes corresponding attributes to the attributes for a historical running scene. Then, the processing circuitry calculates similarities respectively for the historical data groups to the current data group, and determines a historical scene from the plurality of historical scenes based on the similarities. In addition, the processing circuitry determines a potential application for the current running scene. The potential application was executed in the determined historical scene. Then, the processing circuitry loads a resource for the potential application into the memory.