Virtual Display Composition With Thread Isolation Against Screen Freezing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing solutions for virtual displays in electronic devices often result in a freezing screen state due to unresponsive communication between application and image processing processes, leading to poor user experience.

Innovation Solution

Implementing a communication thread in the image processing process to handle cross-process communication with the application process, allowing for normal display interface composition by preventing the image processing process from being blocked by abnormal communication, and deleting the virtual display object when abnormality occurs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If the image processing process uses an image composition thread to composite both the display interface and virtual display, then the GI composition function is integrated, but when the application process does not respond in time or communication is abnormal, the communication part blocks the image composition thread, causing screen freezing

Engineering Contradiction:
Improvethread structure complexityVSAvoidscreen freezing
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent divides the image composition thread into two independent threads: a communication thread dedicated to cross-process communication with the application process, and an image composition thread dedicated to GI composition. This segmentation isolates the communication functionality from the composition functionality, preventing communication abnormalities from blocking the composition thread and causing screen freezing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a communication thread as an intermediary between the application process and the image composition thread. This intermediary handles all communication operations, protecting the image composition thread from direct communication interruptions and ensuring that composition operations continue uninterrupted even when communication fails.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the communication thread handles cross-process communication, then the impact of abnormal communication is isolated, but the device complexity increases due to additional thread management

Engineering Contradiction:
Improvecommunication stabilityVSAvoidthread management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the thread responsibilities by creating a dedicated communication thread for cross-process communication and an image composition thread for composition operations. This clear segmentation simplifies thread management by assigning specific functions to each thread, making the system more maintainable despite the increased number of threads.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The communication thread autonomously handles communication with the application process, including detecting communication abnormalities and managing the virtual display object lifecycle. This self-service approach reduces the need for complex inter-thread coordination and centralized control, simplifying overall thread management.

Inventive Principle:
Principle #25Self-service

3Use of energy by moving object

If the image composition thread is used for both display interface composition and virtual display composition, then resource utilization is efficient, but abnormal communication blocks the entire image processing process

Engineering Contradiction:
Improveprocessing resource utilizationVSAvoidprocessing continuity
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The patent segments the image composition functionality into separate threads: the image composition thread handles display interface composition, while the communication thread handles virtual display composition and communication. This segmentation ensures that communication abnormalities do not block the image composition thread, maintaining processing continuity and resource utilization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The communication thread acts as an intermediary that manages virtual display composition operations, isolating them from the main image composition thread. This intermediary structure allows the image composition thread to continue processing display interface frames without being blocked by communication delays or failures, maintaining efficient resource utilization.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260019559A1Processing method for virtual display and electronic device
Publication Date: 2026.01.15 HONOR DEVICE CO LTD
  • US20260019559A1 patent drawing
  • US20260019559A1 patent drawing
  • US20260019559A1 patent drawing

AI summary

The embodiments relate to the field of terminals, and provide a processing method for a virtual display and an electronic device. The method includes: communicating with an application process by using a communication thread in an image processing process when the image processing process performs graphic interface (GI) composition of a first frame, to obtain a communication result; and sending a composite GI to the virtual display created by the application process when the communication result is normal, and deleting a virtual display object when the communication result is abnormal. In this case, a task thread of the image processing process is prevented from being blocked when the application process does not respond in time or the communication with the image processing process is abnormal, so that impact from the abnormality is controlled in the communication thread without spreading to other task threads.