Wrapper Object Creation for Rendering Speed

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The compilation process of rendering engines requires massive calculations, leading to slow rendering speeds in computer display technology.

Innovation Solution

A wrapping method and registration method are introduced, which involve creating a wrapper object in a wrapper module based on a target code, allowing for efficient code execution by separating code compilation and execution, and utilizing a virtual machine to manage the creation and invocation of wrapper objects.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a rendering engine compiles resource files on the device side, then rendering effects can be achieved, but the rendering speed becomes slow due to massive calculations required

Engineering Contradiction:
Improverendering speedVSAvoidcompilation time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the code execution process into two distinct phases: a compilation phase where code is pre-processed and wrapped into executable formats, and an execution phase where the compiled code is rapidly deployed and run. This segmentation allows the heavy computational burden to be shifted to the compilation phase, enabling fast execution during the runtime phase and thus resolving the contradiction between rendering speed and compilation time.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by pre-compiling and wrapping code into executable formats before actual execution. The code is processed, optimized, and packaged in advance during the compilation phase, so that when execution is needed, the code is already ready in an efficient format. This preliminary processing eliminates the need for time-consuming compilation operations during runtime, significantly improving rendering speed while maintaining comprehensive code execution capabilities.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If wrapper objects are created dynamically during execution, then code flexibility is maintained, but code execution efficiency decreases due to repeated object creation

Engineering Contradiction:
Improvecode execution efficiencyVSAvoidobject creation overhead
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-creating and pre-wrapping objects during the compilation phase rather than dynamically creating them during execution. The wrapper objects are prepared in advance with all necessary methods and properties already defined, allowing for rapid instantiation and reuse during the execution phase. This eliminates the overhead of repeated object creation while maintaining the flexibility to handle various code execution scenarios.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent utilizes copying by creating reusable wrapper object templates during compilation that can be instantiated multiple times during execution. Instead of creating unique objects for each execution context, the system generates standardized wrapper object copies that can be rapidly deployed and reused, significantly reducing the complexity and time associated with object creation while preserving the functional flexibility needed for diverse code execution requirements.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11379201B2Wrapping method, registration method, device, and rendering apparatus
Publication Date: 2022.07.05 BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
  • US11379201B2 patent drawing
  • US11379201B2 patent drawing
  • US11379201B2 patent drawing

AI summary

A wrapping method and device, a registration method and device, and a rendering apparatus are provided, which are related to a field of computer display technology. The specific implementation includes: receiving a creation instruction from a registry component, wherein the creation instruction includes an identification of a wrapper object to be registered, in a target code; and creating a corresponding wrapper object in the wrapper module, according to the identification of the wrapper object to be registered in the target code. In embodiments of the present application, a wrapper object may be quickly created in a wrapper module according to an identification of a wrapper object to be registered in a target code, which is beneficial to a reuse of a wrapper object, thereby improving code execution efficiency.