Multi-Buffer Display Structure for Reducing Android UI Rendering Overhead
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The standard UI display mechanism in the Android system is inefficient and unable to meet high real-time display requirements due to the lengthy processes involved in each drawing operation, resulting in increased display time overhead.
Innovation Solution
A display structure comprising a first display buffer, a second display buffer, and a display cache, where the second user display interface is processed to match the resolution of the display cache, reducing the number of processes and display time overhead by copying and scaling the first user display interface into the second display buffer and then into the display cache for display.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the standard UI display mechanism is used, then the display process is comprehensive and handles multiple interfaces, but the display time overhead increases and real-time performance deteriorates
Solution Approach 1:
The display buffer is segmented into multiple independent buffers (first display buffer, second display buffer, third display buffer) that can operate in parallel. Each buffer handles specific display tasks independently, allowing simultaneous processing of different user interfaces without sequential delays, thus reducing overall display time overhead while maintaining comprehensive display capability.
Solution Approach 2:
The first user interface is pre-processed and stored in the first display buffer before being needed for display. This preliminary preparation allows the interface to be ready for immediate copying and display when required, reducing the actual display time overhead while ensuring complete interface handling.
2Speed
If multiple display buffers and processing steps are added, then real-time display performance improves, but system complexity increases
Solution Approach 1:
Multiple display buffers are merged into a unified display structure with standardized interfaces and control mechanisms. The first, second, and third display buffers are combined under a single management framework that handles copying and switching operations, reducing the effective complexity despite having multiple components working in parallel.
Solution Approach 2:
The second display buffer acts as an intermediary between the first display buffer (storing user interfaces) and the third display buffer (used for actual display). This intermediary structure simplifies the overall data flow by providing a standardized intermediate stage for processing, making the system easier to manage despite multiple buffers.
3Adaptability or versatility
If the first user interface is copied and scaled to match display cache resolution, then display compatibility improves, but processing time increases
Solution Approach 1:
The scaling and resolution matching of the first user interface is performed in advance during the copying process from the first display buffer to the second display buffer. This preliminary resolution adjustment ensures compatibility with the display cache without adding extra processing time during the actual display operation, as the interface is already scaled and ready for immediate display.
Data Source
AI summary
There are provided a display structure, a display method, a display device and an operating system. The display structure includes: a first display buffer configured to store a first user display interface; a second display buffer configured to store a second user display interface; and a display cache, the second user display interface is a user display interface that is obtained by processing the first user display interface and has a resolution conforming to a resolution of the display cache.


