Movatterモバイル変換


[0]ホーム

URL:


CN106970706B - Display method and electronic equipment - Google Patents

Display method and electronic equipment
Download PDF

Info

Publication number
CN106970706B
CN106970706BCN201710193274.0ACN201710193274ACN106970706BCN 106970706 BCN106970706 BCN 106970706BCN 201710193274 ACN201710193274 ACN 201710193274ACN 106970706 BCN106970706 BCN 106970706B
Authority
CN
China
Prior art keywords
target point
display
distance
included angle
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710193274.0A
Other languages
Chinese (zh)
Other versions
CN106970706A (en
Inventor
彭金刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing LtdfiledCriticalLenovo Beijing Ltd
Priority to CN201710193274.0ApriorityCriticalpatent/CN106970706B/en
Publication of CN106970706ApublicationCriticalpatent/CN106970706A/en
Application grantedgrantedCritical
Publication of CN106970706BpublicationCriticalpatent/CN106970706B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a display method applied to electronic equipment, which comprises the following steps: detecting whether the number of display devices connected to the electronic device is larger than or equal to two; when the number of the display devices connected to the electronic device is larger than or equal to two, acquiring included angle information between two adjacent display devices; and adjusting display content based on the acquired included angle information. The invention can optimize the display output of the display card of the electronic equipment according to the angle between the external display equipment, ensure the authenticity of the display content and improve the user experience. The invention also discloses an electronic device.

Description

Display method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a display method and an electronic device.
Background
At present, when a user uses an electronic device, an external display device is sometimes used to display content on the electronic device according to requirements, for example, a professional player usually uses the external display device to display a game. When an external display device forms an included angle smaller than 180 degrees, namely an angle is formed between the two display devices, when the current display card is used for rendering a scene, the rendered graph is still a 180-degree planar graph visually, flexible adjustment can not be performed according to the angle between the display devices, and user experience is influenced.
Disclosure of Invention
In view of this, the present invention provides a display method and an electronic device, which can optimize the display output of a display card of the electronic device according to an angle between external display devices, ensure the authenticity of the display content, and improve the user experience.
The invention provides a display method, which is applied to electronic equipment and comprises the following steps:
detecting whether display equipment connected to the electronic equipment is more than or equal to two display equipment;
when the number of the display devices connected to the electronic device is larger than or equal to two, acquiring included angle information between two adjacent display devices;
and adjusting display content based on the acquired included angle information.
Preferably, the electronic device is provided with a distance detection device, and acquiring information of an included angle between two adjacent display devices includes:
acquiring distance information of the distance detection device from target points of the first display equipment and the second display equipment through the distance detection device;
and calculating an included angle between the first display equipment and the second display equipment based on the acquired distance information and the position information of the detection device.
Preferably, the distance detection device includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein:
an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
the obtaining, by the distance detection apparatus, distance information of the distance detection apparatus from target points of the first display device and the second display device includes:
acquiring a distance a between the first infrared sensor and a first target point of the first display device;
acquiring a distance b between the second infrared sensor and a second target point of the first display device;
acquiring the distance c between the third infrared sensor and the first target point of the second display device;
acquiring a distance d between the fourth infrared sensor and a second target point of the second display device;
correspondingly, the calculating the included angle between the first display device and the second display device based on the acquired distance information and the position information of the detection device includes:
and calculating the included angle between the first display equipment and the second display equipment based on the included angle A, the included angle B and the included angle C and the distance a, the distance B, the distance C and the distance d.
Preferably, the calculating the included angle between the first display device and the second display device based on the included angle a, the included angle B, and the included angle C, and the distance a, the distance B, the distance C, and the distance d includes:
calculating the distance x1 between the first target point of the first display device and the second target point of the first display device;
calculating the distance x2 between the first target point of the second display device and the second target point of the second display device;
calculating the distance x3 between the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle E between a straight line formed by the first target point of the first display device and the second target point and a straight line formed by the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle F between a straight line formed by a second target point of the second display equipment and a first target point and a straight line formed by the first target point of the first display equipment and a second target point of the second display equipment;
calculating the angle of an included angle D between a straight line formed by the first infrared sensor to a first target point of the first display device and a straight line formed by the first target point of the first display device and a second target point of the second display device;
calculating the angle of an included angle G between a straight line formed by the fourth infrared sensor to a second target point of the second display equipment and a straight line formed by the first target point of the first display equipment and the second target point of the second display equipment;
calculating an included angle between the first display device and the second display device based on the distance x1, the distance x2, the distance x3, and the angle of the included angle E, the angle of the included angle F, the angle of the included angle D, and the angle of the included angle G.
Preferably, the adjusting display content based on the acquired included angle information includes:
and correcting the output image rendering based on the included angle information.
An electronic device, comprising:
the detection module is used for detecting whether the number of the display devices connected to the electronic device is larger than or equal to two;
the acquisition module is used for acquiring included angle information between two adjacent display devices when the number of the display devices connected to the electronic device is larger than or equal to two;
and the adjusting module is used for adjusting display content based on the acquired included angle information.
Preferably, the obtaining module includes:
the distance detection device is used for acquiring distance information of the distance detection device from target points of the first display equipment and the second display equipment;
and the calculating unit is used for calculating an included angle between the first display equipment and the second display equipment based on the acquired distance information and the position information of the detecting device.
Preferably, the distance detection device includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein:
an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
the distance detection device is specifically configured to:
acquiring a distance a between the first infrared sensor and a first target point of the first display device;
acquiring a distance b between the second infrared sensor and a second target point of the first display device;
acquiring the distance c between the third infrared sensor and the first target point of the second display device;
acquiring a distance d between the fourth infrared sensor and a second target point of the second display device;
the computing unit is specifically configured to:
and calculating the included angle between the first display equipment and the second display equipment based on the included angle A, the included angle B and the included angle C and the distance a, the distance B, the distance C and the distance d.
Preferably, the computing unit is specifically configured to:
calculating the distance x1 between the first target point of the first display device and the second target point of the first display device;
calculating the distance x2 between the first target point of the second display device and the second target point of the second display device;
calculating the distance x3 between the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle E between a straight line formed by the first target point of the first display device and the second target point and a straight line formed by the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle F between a straight line formed by a second target point of the second display equipment and a first target point and a straight line formed by the first target point of the first display equipment and a second target point of the second display equipment;
calculating the angle of an included angle D between a straight line formed by the first infrared sensor to a first target point of the first display device and a straight line formed by the first target point of the first display device and a second target point of the second display device;
calculating the angle of an included angle G between a straight line formed by the fourth infrared sensor to a second target point of the second display equipment and a straight line formed by the first target point of the first display equipment and the second target point of the second display equipment;
calculating an included angle between the first display device and the second display device based on the distance x1, the distance x2, the distance x3, and the angle of the included angle E, the angle of the included angle F, the angle of the included angle D, and the angle of the included angle G.
Preferably, the adjusting module is specifically configured to:
and correcting the output image rendering based on the included angle information.
According to the technical scheme, the display method is applied to the electronic equipment, and firstly, whether the number of the display equipment connected to the electronic equipment is more than or equal to two is detected; when the display equipment that inserts electronic equipment is more than or equal to two, acquire the contained angle information between two adjacent display equipment, then based on the contained angle information adjustment display content that acquires, can optimize the display output of electronic equipment display card according to the angle between the external display equipment, guaranteed the authenticity of display content, promoted user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method of embodiment 1 of a display method according to the present disclosure;
FIG. 2 is a flow chart of a method of embodiment 2 of a display method according to the present disclosure;
FIG. 3 is a flowchart of a method according to embodiment 3 of the display method of the present invention;
fig. 4 is a schematic structural diagram of an embodiment 1 of an electronic device disclosed in the present invention;
fig. 5 is a schematic structural diagram of an electronic device in embodiment 2 of the disclosure;
fig. 6 is a schematic structural diagram of an electronic device in embodiment 3 of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a flowchart of a method in embodiment 1 of a display method disclosed in the present invention, applied to an electronic device, the method may include the following steps:
s101, detecting whether the number of display devices connected to the electronic device is larger than or equal to two;
when the display content of the electronic device needs to be adjusted, whether two or more display devices connected to the current electronic device are needed is judged, and when the number of the display devices connected to the electronic device is more than or equal to two, a certain angle is possibly formed between the two display devices.
When detecting whether the number of the display devices connected to the electronic device is larger than or equal to two, the electronic device can judge through judging the number of the connection signals of the display devices received by the electronic device, and when the electronic device receives two or more than two display device connection signals, the electronic device indicates that the number of the display devices connected to the electronic device is larger than or equal to two. Or, the user can visually observe the electronic device, when the user judges that the number of the display devices currently accessed to the electronic device is larger than or equal to two, the electronic device can receive the trigger signal by triggering the electronic device, and the electronic device can judge that the number of the display devices currently accessed to the electronic device is larger than or equal to two according to the received trigger signal.
S102, when the number of display devices connected to the electronic device is larger than or equal to two, acquiring included angle information between two adjacent display devices;
when the number of the display devices connected to the electronic device is judged to be larger than or equal to two, the included angle information between two adjacent display devices is further detected, and therefore the included angle degree between the two adjacent display devices is obtained.
And S103, adjusting display content based on the acquired included angle information.
According to the acquired included angle degree between two adjacent display devices, the content which needs to be displayed on the two display devices is adjusted, the content displayed on the two devices with a certain angle is enabled to have a certain angle through the adjustment of the display content, and therefore the content displayed on the two devices with a certain angle is ensured to be more vivid.
In summary, in the above embodiment, when the display content needs to be adjusted, it is first detected whether the number of the display devices connected to the electronic device is greater than or equal to two; when the display equipment that inserts electronic equipment is more than or equal to two, acquire the contained angle information between two adjacent display equipment, then based on the contained angle information adjustment display content that acquires, can optimize the display output of electronic equipment display card according to the angle between the external display equipment, guaranteed the authenticity of display content, promoted user experience.
As shown in fig. 2, which is a flowchart of a method in embodiment 2 of a display method disclosed in the present invention, applied to an electronic device, the method may include the following steps:
s201, detecting whether the number of display devices connected to the electronic device is larger than or equal to two;
when the display content of the electronic device needs to be adjusted, whether two or more display devices connected to the current electronic device are needed is judged, and when the number of the display devices connected to the electronic device is more than or equal to two, a certain angle is possibly formed between the two display devices.
When detecting whether the number of the display devices connected to the electronic device is larger than or equal to two, the electronic device can judge through judging the number of the connection signals of the display devices received by the electronic device, and when the electronic device receives two or more than two display device connection signals, the electronic device indicates that the number of the display devices connected to the electronic device is larger than or equal to two. Or, the user can visually observe the electronic device, when the user judges that the number of the display devices currently accessed to the electronic device is larger than or equal to two, the electronic device can receive the trigger signal by triggering the electronic device, and the electronic device can judge that the number of the display devices currently accessed to the electronic device is larger than or equal to two according to the received trigger signal.
S202, obtaining distance information of the distance detection device from target points of the first display equipment and the second display equipment through the distance detection device;
the electronic equipment is provided with a distance detection device, and the distance detection device is used for detecting the distance information from the distance detection device to a target point of the first display equipment and detecting the distance information from the distance detection device to a target point of the second display equipment. The first display device and the second display device are two adjacent display devices with a certain angle.
S203, calculating an included angle between the first display equipment and the second display equipment based on the acquired distance information and the position information of the distance detection device;
and calculating the included angle degree between the first display equipment and the second display equipment according to the acquired distance between the distance detection device and the target point of the first display equipment, the distance between the distance detection device and the target point of the second display equipment and the position information of the distance detection device.
And S204, adjusting display content based on the acquired included angle information.
According to the acquired included angle degree between two adjacent display devices, the content which needs to be displayed on the two display devices is adjusted, the content displayed on the two devices with a certain angle is enabled to have a certain angle through the adjustment of the display content, and therefore the content displayed on the two devices with a certain angle is ensured to be more vivid.
In summary, in the above embodiments, whether the number of the display devices connected to the electronic device is greater than or equal to two is detected, and when the number of the display devices connected to the electronic device is greater than or equal to two, distance information of the distance detection device from target points of the first display device and the second display device is obtained by the distance detection device installed on the electronic device; the included angle between the first display equipment and the second display equipment is calculated based on the acquired distance information and the position information of the detection device, and finally, the display content is adjusted based on the acquired included angle information, so that the display output of the display card of the electronic equipment can be optimized according to the angle between the external display equipment, the authenticity of the display content is guaranteed, and the user experience is improved.
Specifically, in the above embodiment, the distance detection device includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein: an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
one implementation manner of the step S202 in the above embodiment that the distance detection device obtains the distance information from the first display device and the second display device target point through the distance detection device may include the following steps:
acquiring a distance a between the first infrared sensor and a first target point of the first display device;
acquiring a distance b between the second infrared sensor and a second target point of the first display device;
acquiring the distance c between the third infrared sensor and the first target point of the second display device;
and acquiring the distance d between the fourth infrared sensor and the second target point of the second display device.
Accordingly, one implementation manner of calculating the included angle between the first display device and the second display device based on the acquired distance information and the position information of the distance detection apparatus in step S203 in the above embodiment may be: and calculating the included angle between the first display device and the second display device based on the included angles A, B and C and the distances a, B, C and d.
Specifically, one implementation manner of calculating the included angle between the first display device and the second display device based on the angles of the included angle a, the included angle B, and the included angle C, and the distance a, the distance B, the distance C, and the distance d may include the following steps:
calculating the distance x1 between the first target point of the first display device and the second target point of the first display device;
calculating the distance x2 between the first target point of the second display device and the second target point of the second display device;
calculating the distance x3 between the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle E between a straight line formed by the first target point of the first display device and the second target point and a straight line formed by the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle F between a straight line formed by a second target point of the second display equipment and a first target point and a straight line formed by the first target point of the first display equipment and a second target point of the second display equipment;
calculating the angle of an included angle D between a straight line formed by the first infrared sensor to a first target point of the first display device and a straight line formed by the first target point of the first display device and a second target point of the second display device;
calculating the angle of an included angle G between a straight line formed by the fourth infrared sensor to a second target point of the second display equipment and a straight line formed by the first target point of the first display equipment and the second target point of the second display equipment;
calculating an included angle between the first display device and the second display device based on the distance x1, the distance x2, the distance x3, and the angle of the included angle E, the angle of the included angle F, the angle of the included angle D, and the angle of the included angle G.
As shown in fig. 3, which is a flowchart of a method in embodiment 3 of a display method disclosed in the present invention, applied to an electronic device, the method may include the following steps:
s301, detecting whether the number of display devices connected to the electronic device is larger than or equal to two;
when the display content of the electronic device needs to be adjusted, whether two or more display devices connected to the current electronic device are needed is judged, and when the number of the display devices connected to the electronic device is more than or equal to two, a certain angle is possibly formed between the two display devices.
When detecting whether the number of the display devices connected to the electronic device is larger than or equal to two, the electronic device can judge through judging the number of the connection signals of the display devices received by the electronic device, and when the electronic device receives two or more than two display device connection signals, the electronic device indicates that the number of the display devices connected to the electronic device is larger than or equal to two. Or, the user can visually observe the electronic device, when the user judges that the number of the display devices currently accessed to the electronic device is larger than or equal to two, the electronic device can receive the trigger signal by triggering the electronic device, and the electronic device can judge that the number of the display devices currently accessed to the electronic device is larger than or equal to two according to the received trigger signal.
S302, distance information of the distance detection device from a target point of the first display equipment and a target point of the second display equipment is obtained through the distance detection device;
the electronic equipment is provided with a distance detection device, and the distance detection device is used for detecting the distance information from the distance detection device to a target point of the first display equipment and detecting the distance information from the distance detection device to a target point of the second display equipment. The first display device and the second display device are two adjacent display devices with a certain angle.
S303, calculating an included angle between the first display equipment and the second display equipment based on the acquired distance information and the position information of the distance detection device;
and calculating the included angle degree between the first display equipment and the second display equipment according to the acquired distance between the distance detection device and the target point of the first display equipment, the distance between the distance detection device and the target point of the second display equipment and the position information of the distance detection device.
And S304, correcting the output image rendering based on the included angle information.
According to the acquired included angle degree between two adjacent display devices, picture rendering and correction are carried out on the contents which need to be displayed on the two display devices, the contents displayed on the two devices with a certain angle also have a certain angle through adjustment of the displayed contents, and therefore the contents displayed on the two devices with a certain angle are guaranteed to be more vivid.
In summary, in the above embodiments, whether the number of the display devices connected to the electronic device is greater than or equal to two is detected, and when the number of the display devices connected to the electronic device is greater than or equal to two, distance information of the distance detection device from target points of the first display device and the second display device is obtained by the distance detection device installed on the electronic device; the included angle between the first display equipment and the second display equipment is calculated based on the acquired distance information and the position information of the detection device, and finally, the display content is adjusted based on the acquired included angle information, so that the display output of the display card of the electronic equipment can be optimized according to the angle between the external display equipment, the authenticity of the display content is guaranteed, and the user experience is improved.
Specifically, in the above embodiment, the distance detection device includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein: an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
one implementation manner of the step S302 in the above embodiment that the distance detection device obtains the distance information from the first display device and the second display device target point through the distance detection device may include the following steps:
acquiring a distance a between the first infrared sensor and a first target point of the first display device;
acquiring a distance b between the second infrared sensor and a second target point of the first display device;
acquiring the distance c between the third infrared sensor and the first target point of the second display device;
and acquiring the distance d between the fourth infrared sensor and the second target point of the second display device.
Accordingly, one implementation manner of calculating the included angle between the first display device and the second display device based on the acquired distance information and the position information of the distance detection device in step S303 in the above embodiment may be as follows: and calculating the included angle between the first display device and the second display device based on the included angles A, B and C and the distances a, B, C and d.
Specifically, one implementation manner of calculating the included angle between the first display device and the second display device based on the angles of the included angle a, the included angle B, and the included angle C, and the distance a, the distance B, the distance C, and the distance d may include the following steps:
calculating the distance x1 between the first target point of the first display device and the second target point of the first display device;
calculating the distance x2 between the first target point of the second display device and the second target point of the second display device;
calculating the distance x3 between the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle E between a straight line formed by the first target point of the first display device and the second target point and a straight line formed by the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle F between a straight line formed by a second target point of the second display equipment and a first target point and a straight line formed by the first target point of the first display equipment and a second target point of the second display equipment;
calculating the angle of an included angle D between a straight line formed by the first infrared sensor to a first target point of the first display device and a straight line formed by the first target point of the first display device and a second target point of the second display device;
calculating the angle of an included angle G between a straight line formed by the fourth infrared sensor to a second target point of the second display equipment and a straight line formed by the first target point of the first display equipment and the second target point of the second display equipment;
calculating an included angle between the first display device and the second display device based on the distance x1, the distance x2, the distance x3, and the angle of the included angle E, the angle of the included angle F, the angle of the included angle D, and the angle of the included angle G.
As shown in fig. 4, which is a schematic structural diagram of an embodiment 1 of an electronic device disclosed in the present invention, the electronic device may include:
thedetection module 401 is configured to detect whether two or more display devices are connected to the electronic device;
when the display content of the electronic device needs to be adjusted, whether two or more display devices connected to the current electronic device are needed is judged, and when the number of the display devices connected to the electronic device is more than or equal to two, a certain angle is possibly formed between the two display devices.
When detecting whether the number of the display devices connected to the electronic device is larger than or equal to two, the electronic device can judge through judging the number of the connection signals of the display devices received by the electronic device, and when the electronic device receives two or more than two display device connection signals, the electronic device indicates that the number of the display devices connected to the electronic device is larger than or equal to two. Or, the user can visually observe the electronic device, when the user judges that the number of the display devices currently accessed to the electronic device is larger than or equal to two, the electronic device can receive the trigger signal by triggering the electronic device, and the electronic device can judge that the number of the display devices currently accessed to the electronic device is larger than or equal to two according to the received trigger signal.
An obtainingmodule 402, configured to obtain information of an included angle between two adjacent display devices when the number of display devices accessing the electronic device is greater than or equal to two;
when the number of the display devices connected to the electronic device is judged to be larger than or equal to two, the included angle information between two adjacent display devices is further detected, and therefore the included angle degree between the two adjacent display devices is obtained.
And anadjusting module 403, configured to adjust display content based on the obtained included angle information.
According to the acquired included angle degree between two adjacent display devices, the content which needs to be displayed on the two display devices is adjusted, the content displayed on the two devices with a certain angle is enabled to have a certain angle through the adjustment of the display content, and therefore the content displayed on the two devices with a certain angle is ensured to be more vivid.
In summary, in the above embodiment, when the display content needs to be adjusted, it is first detected whether the number of the display devices connected to the electronic device is greater than or equal to two; when the display equipment that inserts electronic equipment is more than or equal to two, acquire the contained angle information between two adjacent display equipment, then based on the contained angle information adjustment display content that acquires, can optimize the display output of electronic equipment display card according to the angle between the external display equipment, guaranteed the authenticity of display content, promoted user experience.
As shown in fig. 5, which is a schematic structural diagram of an embodiment 2 of an electronic device disclosed in the present invention, the electronic device may include:
thedetection module 501 is configured to detect whether two or more display devices are connected to the electronic device;
when the display content of the electronic device needs to be adjusted, whether two or more display devices connected to the current electronic device are needed is judged, and when the number of the display devices connected to the electronic device is more than or equal to two, a certain angle is possibly formed between the two display devices.
When detecting whether the number of the display devices connected to the electronic device is larger than or equal to two, the electronic device can judge through judging the number of the connection signals of the display devices received by the electronic device, and when the electronic device receives two or more than two display device connection signals, the electronic device indicates that the number of the display devices connected to the electronic device is larger than or equal to two. Or, the user can visually observe the electronic device, when the user judges that the number of the display devices currently accessed to the electronic device is larger than or equal to two, the electronic device can receive the trigger signal by triggering the electronic device, and the electronic device can judge that the number of the display devices currently accessed to the electronic device is larger than or equal to two according to the received trigger signal.
Thedistance detection device 502 is used for acquiring distance information of the distance detection device from target points of the first display equipment and the second display equipment;
the electronic equipment is provided with a distance detection device, and the distance detection device is used for detecting the distance information from the distance detection device to a target point of the first display equipment and detecting the distance information from the distance detection device to a target point of the second display equipment. The first display device and the second display device are two adjacent display devices with a certain angle.
A calculatingunit 503, configured to calculate an included angle between the first display device and the second display device based on the acquired distance information and the position information of the distance detecting apparatus;
and calculating the included angle degree between the first display equipment and the second display equipment according to the acquired distance between the distance detection device and the target point of the first display equipment, the distance between the distance detection device and the target point of the second display equipment and the position information of the distance detection device.
And anadjusting module 504, configured to adjust display content based on the acquired included angle information.
According to the acquired included angle degree between two adjacent display devices, the content which needs to be displayed on the two display devices is adjusted, the content displayed on the two devices with a certain angle is enabled to have a certain angle through the adjustment of the display content, and therefore the content displayed on the two devices with a certain angle is ensured to be more vivid.
In summary, in the above embodiments, whether the number of the display devices connected to the electronic device is greater than or equal to two is detected, and when the number of the display devices connected to the electronic device is greater than or equal to two, distance information of the distance detection device from target points of the first display device and the second display device is obtained by the distance detection device installed on the electronic device; the included angle between the first display equipment and the second display equipment is calculated based on the acquired distance information and the position information of the detection device, and finally, the display content is adjusted based on the acquired included angle information, so that the display output of the display card of the electronic equipment can be optimized according to the angle between the external display equipment, the authenticity of the display content is guaranteed, and the user experience is improved.
Specifically, in the above embodiment, the distance detection device includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein: an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
the distance detection device in the above embodiment includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein:
an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
one implementation manner of obtaining the distance information of the distance detection device from the target point of the first display device and the target point of the second display device through the distance detection device may be as follows:
acquiring a distance a between the first infrared sensor and a first target point of the first display device;
acquiring a distance b between the second infrared sensor and a second target point of the first display device;
acquiring the distance c between the third infrared sensor and the first target point of the second display device;
and acquiring the distance d between the fourth infrared sensor and the second target point of the second display device.
Correspondingly, in the above embodiment, one implementation manner of calculating the included angle between the first display device and the second display device based on the acquired distance information and the position information of the distance detection apparatus may be: and calculating the included angle between the first display device and the second display device based on the included angles A, B and C and the distances a, B, C and d.
Specifically, one implementation manner of calculating the included angle between the first display device and the second display device based on the angles of the included angle a, the included angle B, and the included angle C, and the distance a, the distance B, the distance C, and the distance d may be as follows:
calculating the distance x1 between the first target point of the first display device and the second target point of the first display device;
calculating the distance x2 between the first target point of the second display device and the second target point of the second display device;
calculating the distance x3 between the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle E between a straight line formed by the first target point of the first display device and the second target point and a straight line formed by the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle F between a straight line formed by a second target point of the second display equipment and a first target point and a straight line formed by the first target point of the first display equipment and a second target point of the second display equipment;
calculating the angle of an included angle D between a straight line formed by the first infrared sensor to a first target point of the first display device and a straight line formed by the first target point of the first display device and a second target point of the second display device;
calculating the angle of an included angle G between a straight line formed by the fourth infrared sensor to a second target point of the second display equipment and a straight line formed by the first target point of the first display equipment and the second target point of the second display equipment;
calculating an included angle between the first display device and the second display device based on the distance x1, the distance x2, the distance x3, and the angle of the included angle E, the angle of the included angle F, the angle of the included angle D, and the angle of the included angle G.
As shown in fig. 6, which is a schematic structural diagram of an embodiment 3 of an electronic device disclosed in the present invention, the electronic device may include:
thedetection module 601 is configured to detect whether two or more display devices are connected to the electronic device;
when the display content of the electronic device needs to be adjusted, whether two or more display devices connected to the current electronic device are needed is judged, and when the number of the display devices connected to the electronic device is more than or equal to two, a certain angle is possibly formed between the two display devices.
When detecting whether the number of the display devices connected to the electronic device is larger than or equal to two, the electronic device can judge through judging the number of the connection signals of the display devices received by the electronic device, and when the electronic device receives two or more than two display device connection signals, the electronic device indicates that the number of the display devices connected to the electronic device is larger than or equal to two. Or, the user can visually observe the electronic device, when the user judges that the number of the display devices currently accessed to the electronic device is larger than or equal to two, the electronic device can receive the trigger signal by triggering the electronic device, and the electronic device can judge that the number of the display devices currently accessed to the electronic device is larger than or equal to two according to the received trigger signal.
Thedistance detection device 602 is used for acquiring distance information of the distance detection device from target points of the first display equipment and the second display equipment;
the electronic equipment is provided with a distance detection device, and the distance detection device is used for detecting the distance information from the distance detection device to a target point of the first display equipment and detecting the distance information from the distance detection device to a target point of the second display equipment. The first display device and the second display device are two adjacent display devices with a certain angle.
A calculatingunit 603 configured to calculate an included angle between the first display device and the second display device based on the acquired distance information and the position information of the distance detecting apparatus;
and calculating the included angle degree between the first display equipment and the second display equipment according to the acquired distance between the distance detection device and the target point of the first display equipment, the distance between the distance detection device and the target point of the second display equipment and the position information of the distance detection device.
And anadjusting module 604, configured to correct the output image rendering based on the included angle information.
According to the acquired included angle degree between two adjacent display devices, picture rendering and correction are carried out on the contents which need to be displayed on the two display devices, the contents displayed on the two devices with a certain angle also have a certain angle through adjustment of the displayed contents, and therefore the contents displayed on the two devices with a certain angle are guaranteed to be more vivid.
In summary, in the above embodiments, whether the number of the display devices connected to the electronic device is greater than or equal to two is detected, and when the number of the display devices connected to the electronic device is greater than or equal to two, distance information of the distance detection device from target points of the first display device and the second display device is obtained by the distance detection device installed on the electronic device; the included angle between the first display equipment and the second display equipment is calculated based on the acquired distance information and the position information of the detection device, and finally, the display content is adjusted based on the acquired included angle information, so that the display output of the display card of the electronic equipment can be optimized according to the angle between the external display equipment, the authenticity of the display content is guaranteed, and the user experience is improved.
Specifically, in the above embodiment, the distance detection device includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein: an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
the distance detection device in the above embodiment includes: the infrared sensor comprises a first infrared sensor, a second infrared sensor, a third infrared sensor and a fourth sensor; wherein:
an included angle between the first infrared sensor and the second infrared sensor is A, an included angle between the second infrared sensor and the third infrared sensor is B, and an included angle between the third infrared sensor and the fourth infrared sensor is C;
one implementation manner of obtaining the distance information of the distance detection device from the target point of the first display device and the target point of the second display device through the distance detection device may be as follows:
acquiring a distance a between the first infrared sensor and a first target point of the first display device;
acquiring a distance b between the second infrared sensor and a second target point of the first display device;
acquiring the distance c between the third infrared sensor and the first target point of the second display device;
and acquiring the distance d between the fourth infrared sensor and the second target point of the second display device.
Correspondingly, in the above embodiment, one implementation manner of calculating the included angle between the first display device and the second display device based on the acquired distance information and the position information of the distance detection apparatus may be: and calculating the included angle between the first display device and the second display device based on the included angles A, B and C and the distances a, B, C and d.
Specifically, one implementation manner of calculating the included angle between the first display device and the second display device based on the angles of the included angle a, the included angle B, and the included angle C, and the distance a, the distance B, the distance C, and the distance d may be as follows:
calculating the distance x1 between the first target point of the first display device and the second target point of the first display device;
calculating the distance x2 between the first target point of the second display device and the second target point of the second display device;
calculating the distance x3 between the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle E between a straight line formed by the first target point of the first display device and the second target point and a straight line formed by the first target point of the first display device and the second target point of the second display device;
calculating the angle of an included angle F between a straight line formed by a second target point of the second display equipment and a first target point and a straight line formed by the first target point of the first display equipment and a second target point of the second display equipment;
calculating the angle of an included angle D between a straight line formed by the first infrared sensor to a first target point of the first display device and a straight line formed by the first target point of the first display device and a second target point of the second display device;
calculating the angle of an included angle G between a straight line formed by the fourth infrared sensor to a second target point of the second display equipment and a straight line formed by the first target point of the first display equipment and the second target point of the second display equipment;
calculating an included angle between the first display device and the second display device based on the distance x1, the distance x2, the distance x3, and the angle of the included angle E, the angle of the included angle F, the angle of the included angle D, and the angle of the included angle G.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

CN201710193274.0A2017-03-282017-03-28Display method and electronic equipmentActiveCN106970706B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710193274.0ACN106970706B (en)2017-03-282017-03-28Display method and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710193274.0ACN106970706B (en)2017-03-282017-03-28Display method and electronic equipment

Publications (2)

Publication NumberPublication Date
CN106970706A CN106970706A (en)2017-07-21
CN106970706Btrue CN106970706B (en)2021-02-19

Family

ID=59336011

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710193274.0AActiveCN106970706B (en)2017-03-282017-03-28Display method and electronic equipment

Country Status (1)

CountryLink
CN (1)CN106970706B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103369068A (en)*2012-03-262013-10-23联想(北京)有限公司Display screen display method and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9182935B2 (en)*2011-09-272015-11-10Z124Secondary single screen mode activation through menu option
TWI464650B (en)*2011-12-022014-12-11Wistron CorpOptical touch module and related method of rotary angle adjustment
KR101386218B1 (en)*2012-05-242014-04-17삼성디스플레이 주식회사Dual display apparatus and driving method thereof
CN104731541B (en)*2015-03-172019-01-15联想(北京)有限公司A kind of control method, electronic equipment and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103369068A (en)*2012-03-262013-10-23联想(北京)有限公司Display screen display method and electronic device

Also Published As

Publication numberPublication date
CN106970706A (en)2017-07-21

Similar Documents

PublicationPublication DateTitle
JP6109413B2 (en) Image display method, image display apparatus, terminal, program, and recording medium
EP2998848B1 (en)Method, device, and apparatus for controlling screen rotation
JP2021021925A (en)Mirroring screen display method and mirroring screen rotation method
US20190244369A1 (en)Display device and method for image processing
JP5325361B2 (en) Radar equipment
CN110850961B (en)Calibration method of head-mounted display device and head-mounted display device
CN107145269B (en)Data rotation method and device
WO2011017651A3 (en)Apparatus and method of processing images
JP2015096812A5 (en)
US9424632B2 (en)System and method for generating high dynamic range images
US20160284064A1 (en)Information processing apparatus, information processing method, and medium
US20140375698A1 (en)Method for adjusting display unit and electronic device
CN105373617A (en)Web page first screen determination method and apparatus
US20170289535A1 (en)Wearable video headset and method for calibration
CN110826414A (en)Display control method and device of mobile terminal, terminal and medium
EP3937035A1 (en)Method and apparatus for preventing forgery of data, method and apparatus for detecting forgery of data
CN104215216A (en)Ranging device and terminal
CN104536661A (en)Terminal screen shot method
CN112351271A (en)Camera shielding detection method and device, storage medium and electronic equipment
CN109643455A (en)Camera calibration method and terminal
JP4861114B2 (en) Video signal processing device
CN104215215B (en)A kind of distance-finding method
WO2009028230A1 (en)Enlarged image generating device
CN106970706B (en)Display method and electronic equipment
US9992538B2 (en)Systems and techniques for determining user engagement with video advertisements to determine optimized cost per impressions

Legal Events

DateCodeTitleDescription
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp