Display method and apparatus
Abstract
One example display method includes in response to receiving a display request from a target display device, determining a first display device and a second display device that support display of a target service, when a first distance between the first display device and a user is less than a. second distance between the second display device and the user, obtaining current first display data of the target service from the target display device and sending the current first display data to the first display device, and when that the first distance reported by the first display device is greater than the second distance reported by the second display device is subsequently obtained, obtaining current second display data of the target service from the target display device and sending the current second display data to the first display device and the second display device.
Claims
exact text as granted — not AI-modified1 . A display method, comprising:
receiving, by a control device, a display request sent by a target display device when the target display device needs to display a target service; determining, by the control device in response to the display request, a first display device and a second display device that support display of the target service; obtaining, by the control device, a first distance between the first display device and a user, and a second distance between the second display device and the user; when the first distance is less than the second distance, obtaining, by the control device, current first display data of the target service from the target display device, and sending the first display data to the first display device, wherein the first display device displays the target service based on the first display data; and when subsequently determining that the first distance is greater than the second distance, obtaining, by the control device, current second display data of the target service from the target display device, and sending the second display data to the first display device and the second display device, wherein both the first display device and the second display device display the target service based on the second display data.
2 . The method according to claim 1 , wherein at least one of:
the first display data comprises at least one layer that is of all layers of the target service and that supports display by the first display device; or the second display data comprises at least one layer that is of all layers of the target service and that supports display by the second display device.
3 . The method according to claim 1 , wherein after the sending, by the control device, the second display data to the first display device and the second display device, the method further comprises:
when a preset duration in which the second display device displays the target service expires, stopping, by the control device, sending the second display data to the first display device.
4 . The method according to claim 1 , wherein after the sending, by the control device, the second display data to the first display device and the second display device, the method further comprises:
when the second distance is less than a preset distance threshold, stopping, by the control device, sending the second display data to the first display device.
5 . The method according to claim 1 , wherein after the sending, by the control device, the second display data to the first display device and the second display device, the method further comprises:
when the second distance is less than a preset distance threshold, determining, by the control device, a duration in which the second distance between the user and the second display device is less than the preset distance threshold; and if the duration is greater than a preset duration threshold, stopping, by the control device, sending the second display data to the first display device.
6 . The method according to claim 1 , wherein after the sending, by the control device, the first display data to the first display device, the method further comprises:
when the control device subsequently obtains that the first distance is equal to the second distance, instructing, by the control device, the first display device and the second display device to perform face detection; and if a face detection result reported by the first display device is obtained, obtaining, by the control device, the current second display data of the target service from the target display device, and sending the second display data to the first display device; or if a face detection result reported by the second display device is obtained, obtaining, by the control device, the current second display data of the target service from the target display device, and sending the second display data to the first display device and the second display device.
7 . The method according to claim 1 , wherein the display request comprises attribute information of a to-be-displayed layer that needs to be displayed for the target service; and
wherein the determining, by the control device, by the control device in response to the display request, a first display device and a second display device that support display of the target service comprises: determining, by the control device according to the attribute information, the first display device and the second display device that support displaying the target service.
8 . A display method, comprising:
receiving, by a mobile phone, a video call; obtaining, by the mobile phone, a first distance between a user of the mobile phone and a smart television and a second distance between the user and a display device; selecting, by the mobile phone, the smart television when a preset condition is satisfied, wherein the preset condition comprises: the first distance is less than the second distance; and sending, by the mobile phone, display data of the video call to the smart television for display.
9 . The display method according to claim 8 , wherein the preset condition further comprises:
the smart television supports attribute information of a first to-be-displayed layer for the video call, and wherein the display data of the video call comprises display data of the first to-be-displayed layer.
10 . The display method according to claim 9 , wherein the attribute information of the first to-be-displayed layer indicates one or more of the following: a size of the first to-be-displayed layer, and a privacy attribute of the first to-be-displayed layer.
11 . The display method according to claim 9 , wherein the method further comprises:
obtaining, by the mobile phone, device information of the smart television, wherein the device information of the smart television comprises one or more of the following: screen resolution, a rendering capability of a graphics processing unit (GPU), a frequency of a central processing unit (CPU), a size of a layer that the smart television supports, and privacy attribute of a layer that the smart television supports; and wherein the device information of the smart television is used to determine that the smart television supports the attribute information of the first to-be-displayed layer for the video call.
12 . The display method according to claim 8 , wherein the preset condition further comprises: the user focuses on the smart television.
13 . A control device comprising:
at least one processor; and one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to enable the control device to perform operations comprising:
receiving a display request sent by a target display device when the target display device needs to display a target service;
determining, in response to the display request, a first display device and a second display device that support display of the target service;
obtaining a first distance between the first display device and a user, and a second distance between the second display device and the user;
when the first distance is less than the second distance, obtaining current first display data of the target service from the target display device, and sending the first display data to the first display device, wherein the first display device displays the target service based on the first display data; and
when subsequently determining that the first distance is greater than the second distance, obtaining current second display data of the target service from the target display device, and sending the second display data to the first display device and the second display device, wherein both the first display device and the second display device display the target service based on the second display data.
14 . The control device according to claim 13 , wherein at least one of:
the first display data comprises at least one layer that is of all layers of the target service and that supports display by the first display device; or the second display data comprises at least one layer that is of all layers of the target service and that supports display by the second display device.
15 . The control device according to claim 13 , wherein the operations comprise:
when a preset duration in which the second display device displays the target service expires, stopping sending the second display data to the first display device.
16 . The control device according to claim 13 , wherein the operations comprise:
when the second distance is less than a preset distance threshold, stopping sending the second display data to the first display device.
17 . The control device according to claim 13 , wherein the operations comprise:
when the second distance is less than a preset distance threshold, determining a duration in which the second distance between the user and the second display device is less than the preset distance threshold; and if the duration is greater than a preset duration threshold, stopping sending the second display data to the first display device.
18 . The control device according to claim 13 , wherein the operations comprise:
when that the first distance is equal to the second distance is subsequently obtained, instructing the first display device and the second display device to perform face detection; and if a face detection result reported by the first display device is obtained, obtaining the current second display data of the target service from the target display device, and sending the second display data to the first display device; or if a face detection result reported by the second display device is obtained, obtaining the current second display data of the target service from the target display device, and sending the second display data to the first display device and the second display device.
19 . The control device according to claim 13 , wherein the control device further comprises a display connected to the at least one processor, and wherein the display is configured to display the target service based on at least one of the first display data or second display data sent by the target display device.
20 . A mobile phone, comprising:
at least one processor; and one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to enable the mobile phone to perform operations comprising:
receiving a video call;
obtaining a first distance between a user of the mobile phone and a smart television and a second distance between the user and a display device;
selecting the smart television when a preset condition is satisfied, wherein the preset condition comprises: the first distance is less than the second distance; and
sending display data of the video call to the smart television for display.Join the waitlist — get patent alerts
Track US2022020339A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.