Display Switching via Dual Frame Buffer Architecture
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current display control systems require restarting the process and reconfiguring the frame buffer when switching display resolution, leading to temporary display disruptions and inability to achieve real-time resolution changes.
Innovation Solution
Implementing a control method that uses a double frame buffer architecture, where a first buffer is initialized and a second buffer is created upon a switching instruction, allowing seamless rendering and display of images with different resolutions without interrupting the display process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the process is restarted and frame buffer is reconfigured when switching display resolution, then the display resolution can be changed, but the display process is interrupted and real-time resolution changes cannot be achieved
Solution Approach 1:
The patent pre-allocates multiple frame buffers (first frame buffer and second frame buffer) before display resolution switching is needed. When resolution switching is required, the system can immediately switch to a pre-configured buffer with the target resolution, avoiding the need to restart processes or reconfigure buffers at the moment of switching. This preliminary preparation ensures both resolution adaptability and display continuity.
2Productivity
If a single frame buffer is used for display, then the system structure is simple, but real-time resolution conversion cannot be achieved without interrupting display
Solution Approach 1:
The patent divides the frame buffer resource into multiple independent buffers (first frame buffer, second frame buffer, etc.), each configured for different display resolutions. This segmentation allows the system to have multiple resolution-capable buffers simultaneously available, enabling fast resolution switching without requiring complex dynamic reconfiguration of a single buffer.
Data Source
AI summary
A control method for display switching, an electronic device, and a storage medium are provided. The control method for display switching includes: establishing a first buffer and a second buffer at a kernel layer and initializing the first buffer; establishing a first service process and a second service process at a user layer, and controlling the first service process to render a first image according to a display parameter of a first buffer and transmit it to a display screen via the first buffer for display; and initializing the second buffer according to a switching instruction, and controlling the second service process to render a second image according to a display parameter of the second buffer and transmit it to the display screen via the second buffer so as to make the display screen switch to displaying the second image.


