Screen Mirroring Control Adaptation for Display Mismatch
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing screen mirroring technologies face challenges in displaying content effectively across devices with different screen resolutions and sizes, often resulting in poor display effects or inability to display content properly.
Innovation Solution
The method involves a source device determining specific target controls in its display interface based on configuration files corresponding to the destination device, and then sending drawing instructions and view information to the destination device to adapt the display interface to the destination device's characteristics.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If the source device projects the entire display interface directly to the destination device, then the screen mirroring function is simple to implement, but the display effect deteriorates due to resolution and size mismatches between different devices
Solution Approach 1:
The display interface is segmented into multiple control elements (buttons, icons, text fields, etc.). Instead of projecting the entire interface uniformly, the system identifies and projects only specific target controls that are relevant to the destination device's display characteristics, thereby improving display quality while maintaining implementation simplicity.
Solution Approach 2:
Different regions or elements of the display interface are treated differently based on their importance and suitability for the destination device. The system applies local quality by selectively projecting certain controls with higher priority while omitting or adapting others, ensuring optimal display effect for each specific control element rather than uniform treatment.
2Manufacturing precision
If the source device transforms and recombines controls to adapt to the destination device's screen characteristics, then the display effect is improved, but the device complexity increases due to additional processing requirements
Solution Approach 1:
The system performs preliminary actions by pre-defining control element types and their projection priorities in the configuration file. During screen mirroring, the source device simply retrieves and projects the predetermined target controls based on the destination device type, avoiding complex real-time transformation and recombination logic, thus improving display quality while limiting complexity increase.
3Adaptability or versatility
If configuration files are used to define target controls for different device types, then the adaptability to different destination devices is improved, but the loss of information increases due to selective projection of only certain controls
Solution Approach 1:
The system extracts only the essential and relevant control elements from the complete display interface based on the destination device type. By taking out only the necessary target controls (such as playback buttons, volume controls, or navigation elements) and projecting them to the destination device, the system achieves high adaptability while minimizing information loss by focusing on the most important interface elements.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of this application provide a screen mirroring display method and an electronic device, and relate to the field of terminal technologies. A destination device can arrange, based on a device characteristic of the destination device, display content sent by a source device, so that a display effect and user experience of screen mirroring display between a plurality of devices are improved. The method includes: displaying, by a first electronic device, a first display interface; receiving, by the first electronic device, a screen mirroring instruction for projecting the first display interface onto a second electronic device by a user; determining, by the first electronic device, one or more first target controls in the first display interface in response to the screen mirroring instruction; and sending, by the first electronic device, a first message to the second electronic device, where the first message includes a drawing instruction of the first target control, so that the second electronic device draws a first screen mirroring interface according to the drawing instruction of the first target control, and the first screen mirroring interface includes the first target control.