Data-Driven Rendering With Compressed Scene Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for improving the endurance of mobile terminals, such as increasing battery capacity or reducing processor frequency, come with drawbacks like increased weight or reduced user experience, and there is a need for a method that enhances endurance without affecting user experience.
Innovation Solution
A rendering method that intercepts drawing instructions, integrates them into drawing data, and uses a data-driven rendering pipeline to draw primitives, migrating CPU overheads to a GPU to reduce load and leverage parallel processing, thereby improving power efficiency and endurance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by moving object
If CPU frequency is limited to improve endurance, then power consumption is reduced, but processing speed and user experience deteriorate
Solution Approach 1:
The patent segments the rendering workload by introducing a dedicated rendering thread that operates independently from the main UI thread. This allows the CPU to divide tasks: the UI thread handles user interactions while the rendering thread handles graphics rendering, enabling frequency throttling on the main processor without completely stalling processing operations.
Solution Approach 2:
The patent introduces a rendering command buffer as an intermediary data structure between the UI thread and the rendering thread. This buffer decouples the two threads, allowing the rendering thread to process graphics commands at its own pace while the UI thread continues handling user input, thus maintaining system responsiveness even when CPU frequency is limited.
2Duration of action of moving object
If battery capacity is increased to improve endurance, then power supply is extended, but device weight increases
Solution Approach 1:
The patent implements self-service optimization by automatically managing rendering command buffers and thread scheduling without requiring user intervention. The system dynamically adjusts rendering operations based on system state, reducing overall power consumption demands and thereby extending endurance without adding physical battery capacity.
3Use of energy by moving object
If screen brightness is reduced to improve endurance, then power consumption is decreased, but viewing experience deteriorates
Solution Approach 1:
The patent implements dynamic rendering adjustments where the rendering thread adapts its operation based on system conditions. The system can dynamically scale rendering complexity, adjust frame rates, or modify graphical effects in real-time, allowing power consumption to be optimized without permanently degrading viewing experience under normal operating conditions.
4Productivity
If a data-driven rendering pipeline is implemented to reduce CPU load, then processing efficiency is improved, but system complexity increases
Solution Approach 1:
The patent extracts the rendering command buffer management and thread scheduling logic into a separate rendering thread, isolating complex operations from the main UI thread. This extraction reduces the immediate complexity burden on the main processor while maintaining improved rendering efficiency through the dedicated rendering pipeline.
Data Source
AI summary
Embodiments of this application provide a rendering method and apparatus, and an electronic device. The method includes: obtaining updated data, where the updated data is data corresponding to a node whose data is updated in a node in a control tree and a node in a render tree; and encoding and compressing the updated data, to obtain first scene data, where the first scene data includes data indicating a type and index information of a primitive, and the first scene data is used for rendering. In the method, a data-driven rendering pipeline is used to draw the primitive, to reduce overall power consumption and load.


