Cached View Structure Reuse for Native Page Rendering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current page display methods using JAVASCRIPT execution layers and browser kernels result in poor page display effects due to the inability to efficiently convert virtual tree structures into recognizable formats for native layers, leading to increased system memory usage and prolonged page drawing times.

Innovation Solution

A page display method and device that incorporates a JAVASCRIPT execution layer, a conversion layer, and a native layer, where the JAVASCRIPT execution layer generates a virtual tree structure, and the conversion layer converts these elements into recognizable views for the native layer, with cached view structures being retrieved from a resource pool to reduce redundant drawing and enhance system performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the JAVASCRIPT execution layer converts virtual tree structures into browser kernel recognizable formats, then page display compatibility is improved, but system memory usage increases and page drawing time prolongs

Engineering Contradiction:
Improvepage display compatibilityVSAvoidsystem memory usage
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent creates a cached copy of the view structure in the resource pool after the first conversion from virtual tree structure to native view structure. Subsequent page displays reuse this cached copy instead of performing full conversion again, reducing memory usage and drawing time while maintaining display compatibility.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent performs the conversion operation in advance and stores the result in the resource pool. When the same page needs to be displayed again, the pre-converted view structure is already available, eliminating the need to repeat the conversion process and thus reducing memory usage and drawing time.

Inventive Principle:
Principle #10Preliminary action

2Manufacturing precision

If the conversion layer converts virtual tree structures into native layer views, then page display quality is improved, but page drawing time increases

Engineering Contradiction:
Improvepage display qualityVSAvoidpage drawing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The conversion from virtual tree structure to native view structure is performed in advance and the result is cached in the resource pool. When the same page is displayed again, the conversion has already been done, so the drawing time is significantly reduced while the display quality remains high.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of repeating the conversion process, the patent creates a copy of the converted view structure in the resource pool. This copied structure can be reused multiple times without re-conversion, reducing drawing time while preserving the high-quality conversion result.

Inventive Principle:
Principle #26Copying

3Productivity

If view structures are cached in a resource pool, then system performance is improved, but device complexity increases

Engineering Contradiction:
Improvesystem performanceVSAvoiddevice structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The resource pool serves multiple functions: it stores converted view structures for reuse, reduces memory usage during page rendering, and improves overall system performance. This multi-functional component justifies the added complexity by providing broad benefits across different operations.

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

Solution Approach 2:

The resource pool stores copied versions of view structures that can be reused across multiple page displays. This copying mechanism improves system performance by avoiding repeated conversion operations, and the complexity is managed through the standardized interface between the conversion layer and native layer.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11210449B2Page display method and device and storage medium
Publication Date: 2021.12.28 BEIJING XIAOMI MOBILE SOFTWARE CO LTD
  • US11210449B2 patent drawing
  • US11210449B2 patent drawing
  • US11210449B2 patent drawing

AI summary

There are provided a page display method and device and a storage medium. The page display device includes a JavaScript execution layer, a conversion layer, and a native layer. The conversion layer converts multiple elements in a virtual tree structure into multiple first views recognizable for the native layer, and sends the multiple first views to the native layer. When a view structure corresponding to view structure data of a first view is cached in a resource pool, the native layer acquires the view structure from the resource pool, and adds the view data of the first view into the view structure to implement page display.