App Resource File Merging for Faster Page Display

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing app page display speeds are slow due to the sequential loading and reading of multiple resource files, which hinders user experience.

Innovation Solution

Combine original resource files belonging to the same page into a single file during the compilation phase, allowing for sequential and continuous reading from the combined file, reducing the number of loading operations during page display.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If multiple resource files are loaded and read sequentially during page display, then the app can access required resources, but the page display speed becomes slow

Engineering Contradiction:
Improvepage display speedVSAvoidtime for loading and reading resource files
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent combines multiple resource files belonging to the same page into a single merged resource file during the compilation phase. This merging eliminates the need for sequential loading and reading of multiple separate files during runtime, directly resolving the technical contradiction by reducing the number of I/O operations and improving page display speed while maintaining all required resource access capabilities

Inventive Principle:
Principle #5Merging (Combining)

2Productivity

If multiple resource files are loaded separately during page display, then each resource file can be independently accessed, but the number of loading operations increases

Engineering Contradiction:
Improvepage display efficiencyVSAvoidnumber of file loading operations
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent merges multiple resource files into a single file during compilation, reducing the number of loading operations from multiple separate loads to a single load operation. This directly improves page display efficiency by minimizing I/O operations while the internal structure of the merged file maintains organized access to individual resources, preventing excessive complexity

Inventive Principle:
Principle #5Merging (Combining)

3Loss of time

If resource files are loaded sequentially during page display, then memory usage is optimized, but the overall loading time increases

Engineering Contradiction:
Improvetotal loading timeVSAvoidI/O operations for file loading
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The patent combines multiple resource files into one merged file during compilation, reducing the total number of I/O operations required during page display. This single I/O operation loads all required resources simultaneously into memory, significantly reducing total loading time and energy consumption compared to sequential loading of multiple separate files

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentEP4206955B1File generation method and electronic device
Publication Date: 2026.02.25 HUAWEI TECH CO LTD
  • EP4206955B1 patent drawingFigure 1(a)~1(b)
  • EP4206955B1 patent drawingFigure 2
  • EP4206955B1 patent drawingFigure 3

AI summary

This application provides a file generation method and an electronic device. In a compilation phase of an app, original resource files belonging to a same page are combined into one file based on a page layout file corresponding to each page of the app. In this way, during page displaying, when the original resource files are loaded, a resource file generated after combination is actually loaded, and the original resource files are sequentially and continuously read from the resource file generated after combination. The original resource files do not need to be sequentially loaded and then read during page displaying, thereby improving a speed of reading the original resource files during page displaying, and improving a page display speed.