Foreground App Rendering Priority via Adaptive Vsync Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The proliferation of foreground applications on electronic devices leads to excessive system load and freezing, affecting user experience due to heavy rendering tasks.
Innovation Solution
Adjust the frequency of sending Vsync signals based on the rendering priority of foreground applications, decreasing or stopping signals for lower priority applications while maintaining frequency for higher priority applications to optimize rendering control.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple foreground applications are supported with frequent Vsync signals, then application switching and floating window display functions are improved, but system load increases causing freezing and degraded user experience
Solution Approach 1:
The patent applies local quality by differentiating Vsync signal sending frequencies for different applications based on their rendering priorities. High-priority applications receive Vsync signals at the original frequency (e.g., 60Hz) to ensure smooth display, while low-priority applications receive reduced frequency (e.g., 30Hz) or no Vsync signals, thereby reducing overall system load and preventing freezing while maintaining application switching functionality
Solution Approach 2:
The patent changes the parameter of Vsync signal frequency dynamically based on application rendering priority. The system adjusts the sending frequency parameter from a uniform high value to a differentiated set of values (high frequency for priority applications, low or zero frequency for non-priority applications), resolving the contradiction between supporting multiple applications and maintaining system stability
2Speed
If Vsync signal frequency is maintained for all foreground applications, then display smoothness is improved, but rendering load becomes excessive causing system freezing
Solution Approach 1:
The patent ensures that only specific applications (those with high rendering priority) receive Vsync signals at the original high frequency to maintain display smoothness, while other applications receive reduced or no Vsync signals, thereby localizing the high refresh rate benefit to where it is most needed and reducing overall rendering load
Solution Approach 2:
The patent applies partial action by providing full-frequency Vsync signals to only the necessary high-priority applications rather than all foreground applications. This selective approach maintains display smoothness for critical applications while avoiding excessive rendering load that would cause system freezing
3Reliability
If Vsync signal frequency is reduced for low priority applications, then system load is reduced improving stability, but display smoothness of those applications deteriorates
Solution Approach 1:
The patent accepts localized degradation in display smoothness for low-priority applications as a necessary trade-off to achieve overall system stability. By applying different Vsync frequencies locally to different applications, the system maintains high smoothness for priority applications while sacrificing smoothness only where necessary, resolving the contradiction at the system level
Data Source
AI summary
An image display method and a related apparatus provided in embodiments of this application are applied to the field of terminal technologies. A first application and a second application are applications running in a foreground of an electronic device, and a first rendering priority of the first application is determined based on a first initial rendering priority of the first application, whether the first application corresponds to a focus window, and/or an application switching type of the first application. A second rendering priority of the second application is determined based on a second initial rendering priority of the second application, whether the second application corresponds to a focus window, and/or an application switching type of the second application.


