Application Code Loading via Replay File Pre-Loading

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computing systems, the activation speed of applications is hindered by the sequential loading and execution of program code, where the processor only learns which section to load next after completing the previous section, leading to inefficiencies in pre-loading program code for execution.

Innovation Solution

A method where the program code loading sequence is recorded and pre-loaded in a replay mode, allowing the processor to load subsequent sections of program code into DRAM based on initial addresses and data lengths stored in a replay file, enabling pre-execution and accelerating application activation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If program code is loaded sequentially section by section during execution, then the processor can execute code as it is loaded, but the application activation speed cannot be accelerated through pre-loading

Engineering Contradiction:
Improveapplication activation speedVSAvoidcode loading efficiency
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The patent applies preliminary action by recording the loading sequence of program code sections during a first execution, then using this recorded sequence to pre-load subsequent sections before they are actually needed for execution. This allows the system to prepare code sections in advance according to the recorded pattern, thereby accelerating application activation without compromising the sequential execution model.

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If the processor waits to learn the next section to load after completing the current section, then memory management is simple, but pre-loading cannot accelerate execution

Engineering Contradiction:
Improvewaiting time for next section loadingVSAvoidloading sequence recording mechanism
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent uses copying by creating a replay file that stores the loading sequence information (initial addresses and data lengths) from a first execution. This copied sequence information is then used in subsequent executions to determine which sections to pre-load, eliminating the need for complex real-time analysis while maintaining simple memory management principles.

Inventive Principle:
Principle #26Copying

3Productivity

If program code sections are loaded only when needed during execution, then memory usage is optimized, but application startup is slower

Engineering Contradiction:
Improveapplication startup speedVSAvoidmemory capacity required
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent applies partial action by pre-loading only the next section of program code based on the recorded loading sequence, rather than loading the entire application at once. This selective pre-loading of individual sections accelerates startup performance while maintaining memory efficiency, as only one section ahead is loaded into DRAM at a time.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9715398B2Program code loading method of application and computing system using the same
Publication Date: 2017.07.25 MEDIATEK INC
  • US9715398B2 patent drawing
  • US9715398B2 patent drawing
  • US9715398B2 patent drawing

AI summary

A program code loading method of an application is applied to a computing system that stores a program code of an application in a flash memory. The program code is loaded in a recording mode, including generating an initial address and a data length of a second program code of the application by executing a first program code of the application. According to the initial address and data length, the second program code is loaded from the flash memory to a DRAM. A replay file, including the initial address and the data length of the second program code, is generated and stored to the flash memory. The program code is loaded in a replay mode, including loading the second program code from the flash memory to the DRAM according to the initial address and data length of the second program code in the replay file.