CN110390216B - Content display method and related equipment - Google Patents
Content display method and related equipment Download PDFInfo
- Publication number
- CN110390216B CN110390216B CN201910690554.1A CN201910690554A CN110390216B CN 110390216 B CN110390216 B CN 110390216B CN 201910690554 A CN201910690554 A CN 201910690554A CN 110390216 B CN110390216 B CN 110390216B
- Authority
- CN
- China
- Prior art keywords
- area
- angle
- transparent display
- determining
- display screen
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000013507 mapping Methods 0.000 claims abstract description 25
- 230000015654 memory Effects 0.000 claims description 22
- 208000006440 Open Bite Diseases 0.000 claims description 18
- 230000001133 acceleration Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 13
- 230000007613 environmental effect Effects 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 229920001621 AMOLED Polymers 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a content display method and related equipment, which are applied to electronic equipment comprising a transparent display screen, wherein the method comprises the following steps: determining a first direction in which a target human eye gazes at the transparent display screen, and determining a first angle formed by the first direction and a plane where the transparent display screen is located; determining a second angle based on the first angle and a first mapping relation; determining a first region based on the second angle and the first direction; displaying target content on the first area. By adopting the embodiment of the application, the protection of the personal privacy information can be improved.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a content display method and a related device.
Background
With the improvement of the awareness of privacy protection of people, more and more attention is paid to the protection of personal privacy information, electronic devices (such as smart phones, computer tablets and the like) store a large amount of personal information, when users look up the personal information, the personal information can be displayed on screens of the electronic devices, and other people can easily acquire the personal information from the screens, so that the personal information is leaked.
Disclosure of Invention
The embodiment of the application provides a content display method and related equipment, which are used for improving the protection of personal privacy information.
In a first aspect, an embodiment of the present application provides a content display method, which is applied to an electronic device including a transparent display screen, and the method includes:
determining a first direction in which a target human eye gazes at the transparent display screen, and determining a first angle formed by the first direction and a plane where the transparent display screen is located;
determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of light emitted by the electronic equipment on the transparent display screen and a plane where the transparent display screen is located;
determining a first area based on the second angle and the first direction, wherein the transparent display screen comprises the first area, the electronic device emits light in the first area at the second angle, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area;
displaying target content on the first area.
In a second aspect, an embodiment of the present application provides a content display apparatus, which is applied to an electronic device including a transparent display screen, and the apparatus includes:
the device comprises a determining unit, a judging unit and a display unit, wherein the determining unit is used for determining a first direction in which a target human eye gazes at the transparent display screen and determining a first angle formed by the first direction and a plane where the transparent display screen is located; determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of light emitted by the electronic equipment on the transparent display screen and a plane where the transparent display screen is located; determining a first area based on the second angle and the first direction, wherein the transparent display screen comprises the first area, the electronic device emits light in the first area at the second angle, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area;
a display unit for displaying target content on the first region.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, the programs including instructions for performing some or all of the steps described in the method according to the first aspect of the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is executed by a processor to implement part or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the electronic device first determines a first direction in which a target human eye gazes at the transparent display screen, and determines a first angle formed by the first direction and a plane where the transparent display screen is located, then determines a second angle based on the first angle and a first mapping relationship, determines a first area based on the second angle and the first direction, and finally displays target content on the first area, the electronic device emits light at the second angle in the first area, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area, and since the content displayed on the first area cannot be clearly viewed in any direction and angle, the content displayed on the first area cannot be leaked, and further protection of personal privacy information is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2A is a schematic flowchart of a content display method according to an embodiment of the present application;
fig. 2B is a schematic structural diagram illustrating displaying target content on a first area according to an embodiment of the present application;
fig. 2C is a schematic structural diagram of 2 first regions according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a content display method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a content display device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all 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 application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Hereinafter, some terms in the present application are explained to facilitate understanding by those skilled in the art.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. The electronic device includes a processor, Memory, signal processor, transceiver, transparent display, speaker, microphone, Random Access Memory (RAM), camera, sensor, and the like. The storage, the signal processor, the display screen, the loudspeaker, the microphone, the RAM, the camera and the sensor are connected with the processor, and the transceiver is connected with the signal processor.
The transparent Display screen may be a Liquid Crystal Display (LCD), an Organic or inorganic Light-Emitting Diode (OLED), an Active Matrix Organic Light-Emitting Diode (AMOLED), or the like. The transparent display screen comprises a plurality of transparent display molecules, and the plurality of transparent display molecules can be controlled by current, magnetic fields and the like, so that transparent display screens with different internal structures are formed, and different light emitting directions are realized. The transparent display molecules may be liquid crystal molecules, or may be other substances, for example, and are not limited herein.
The camera may be a common camera or an infrared camera, and is not limited herein. The camera may be a front camera or a rear camera, and is not limited herein.
Wherein the sensor comprises at least one of: light-sensitive sensors, gyroscopes, infrared proximity sensors, fingerprint sensors, pressure sensors, etc. Among them, the light sensor, also called an ambient light sensor, is used to detect the ambient light brightness. The light sensor may include a light sensitive element and an analog to digital converter. The photosensitive element is used for converting collected optical signals into electric signals, and the analog-to-digital converter is used for converting the electric signals into digital signals. Optionally, the light sensor may further include a signal amplifier, and the signal amplifier may amplify the electrical signal converted by the photosensitive element and output the amplified electrical signal to the analog-to-digital converter. The photosensitive element may include at least one of a photodiode, a phototransistor, a photoresistor, and a silicon photocell.
The processor is a control center of the electronic equipment, various interfaces and lines are used for connecting all parts of the whole electronic equipment, and various functions and processing data of the electronic equipment are executed by operating or executing software programs and/or modules stored in the memory and calling data stored in the memory, so that the electronic equipment is monitored integrally.
The processor may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The memory is used for storing software programs and/or modules, and the processor executes various functional applications and data processing of the electronic equipment by operating the software programs and/or modules stored in the memory. The memory mainly comprises a program storage area and a data storage area, wherein the program storage area can store an operating system, a software program required by at least one function and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
In the embodiment of the application, the processor is configured to determine a first direction in which a target person looks at the transparent display screen, and determine a first angle formed by the first direction and a plane in which the transparent display screen is located; determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of light emitted by the electronic equipment on the transparent display screen and a plane where the transparent display screen is located; determining a first area based on the second angle and the first direction, wherein the transparent display screen comprises the first area, the electronic device emits light in the first area at the second angle, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area; displaying target content on the first area.
In an implementation manner of the present application, the first mapping relationship is: X-A is not less than Y and not more than X + A, X is the first angle, Y is the second angle, and A is a first constant.
In an implementation of the present application, a is determined based on a first environmental parameter, the first environmental parameter including at least one of: the electronic equipment comprises an untrusted number N of people detected by the electronic equipment, the motion acceleration a of the electronic equipment and the motion speed V of the electronic equipment.
In an implementation of the present application, before determining the first direction in which the target human eye gazes at the transparent display screen, the processor is further configured to determine that the electronic device is currently in a first display environment under a first condition, where the first condition includes at least one of: n is greater than or equal to a first preset number of people, a is less than or equal to a first preset acceleration, and V is less than or equal to a first preset speed.
In an implementation of the present application, in displaying the target content in the first area, the processor is specifically configured to determine a first display parameter for each transparent display molecule based on the second angle and the first area; displaying target content on the first area based on the first display parameter.
In an implementation manner of the application, before the target content is displayed in the first area, the processor is further configured to determine an occluded area and a non-occluded area of the transparent display screen, where the occluded area is a portion of the electronic device that is occluded by an object, and the non-occluded area is a portion of the electronic device that is not occluded by the object; determining that the non-occluded area comprises the first area.
In an implementation manner of the present application, after determining that the non-occlusion region includes the first region, the processor is further configured to set a color of a region other than the first region in the non-occlusion region as a target color.
Referring to fig. 2A, fig. 2A is a schematic flowchart of a content display method provided in an embodiment of the present application, applied to an electronic device including a transparent display screen, where the method includes:
step 201: determining a first direction in which the eyes of a target person look at the transparent display screen, and determining a first angle formed by the first direction and a plane where the transparent display screen is located.
Specifically, the electronic device includes a camera, and a specific implementation manner of determining a first direction in which a target human eye gazes at the transparent display screen and determining a first angle formed by the first direction and a plane where the transparent display screen is located is as follows: starting the camera; acquiring an image of a target human eye through the camera; analyzing the image of the target human eye to obtain a first direction in which the target human eye gazes at the transparent display screen and a first angle formed by the first direction and a plane where the transparent display screen is located.
Step 202: and determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of the light emitted by the electronic equipment on the transparent display screen and the plane where the transparent display screen is located.
Wherein, the value ranges of the first angle and the second angle are both 0-360 degrees.
In an implementation manner of the present application, the first mapping relationship is: X-A is not less than Y and not more than X + A, X is the first angle, Y is the second angle, and A is a first constant.
In an implementation of the present application, a is determined based on a first environmental parameter, the first environmental parameter including at least one of: the electronic equipment comprises an untrusted number N of people detected by the electronic equipment, the motion acceleration a of the electronic equipment and the motion speed V of the electronic equipment.
In an implementation manner of the present application, a is determined based on N, and a mapping relationship between a and N is shown in table 1.
TABLE 1
First constant A | Untrusted number of people N (people) |
60° | N≤2 |
45° | 2<N≤4 |
30° | 4<N≤6 |
15° | 6<N |
In an implementation manner of the present application, a is determined based on a, and a mapping relationship between a and a is shown in table 2.
TABLE 2
First constant A | Acceleration of motion a (m/s)2) |
15° | a≤0.2 |
30° | 0.2<a≤0.4 |
45° | 0.4<a≤0.6 |
60° | 0.6<a |
In an implementation manner of the present application, a is determined based on V, and a mapping relationship between a and V is shown in table 3.
TABLE 3
First constant A | Speed of motion V (m/s) |
15° | V≤0.2 |
30° | 0.2<V≤0.4 |
45° | 0.4<V≤0.6 |
60° | 0.6<V |
It should be noted that, the implementation manner of determining a based on any two or three of the above first parameters may be determined with reference to table 1, and/or table 2, and/or table 3, and is not illustrated here.
Step 203: based on the second angle and the first direction determine a first area, the transparent display screen comprises the first area, the electronic device is in the first area, the light is emitted at the second angle, and the gazing direction of the target human eyes is in the first direction, the target human eyes can clearly view the content displayed on the first area.
Specifically, a specific implementation manner of determining the first area based on the second angle and the first direction is as follows: determining a first intersection set of a light ray when the electronic equipment emits light at the second angle and a plane where the transparent display screen is located, and determining a second intersection of the first direction and the plane where the transparent display screen is located; and taking a circular area surrounded by the first focus set as a first area, and taking the second intersection point as a central point of the first area, wherein the distance between the second intersection point and any one first focus in the first focus set is the radius of the first area.
The size of the radius of the first area may be a preset value, or may be determined based on the first parameter, which is not described in detail herein.
In an implementation manner of the present application, the radius d of the first area is determined based on the N, and a mapping relationship between d and N is shown in table 4.
TABLE 4
Radius of the first region d (cm) | Untrusted number of people N (people) |
2 | N≤2 |
1.5 | 2<N≤4 |
1 | 4<N≤6 |
0.5 | 6<N |
In an implementation manner of the present application, the radius d of the first area is determined based on the a, and a mapping relationship between the d and the a is shown in table 5.
TABLE 5
Radius of the first region d (cm) | Acceleration of motion a (m/s)2) |
2 | a≤0.2 |
1.5 | 0.2<a≤0.4 |
1 | 0.4<a≤0.6 |
0.5 | 0.6<a |
In an implementation manner of the present application, the radius d of the first area is determined based on the V, and a mapping relationship between d and V is shown in table 6.
TABLE 6
Radius of the first region d (cm) | Speed of motion V (m/s) |
2 | V≤0.2 |
1.5 | 0.2<V≤0.4 |
1 | 0.4<V≤0.6 |
0.5 | 0.6<V |
It should be noted that, implementation of the d determination based on any two or three of the above first parameter determinations may be determined with reference to table 4, and/or table 5, and/or table 6, and will not be illustrated here.
Step 204: displaying target content on the first area.
For example, as shown in fig. 2B, fig. 2B is a schematic structural diagram illustrating that the target content is displayed on the first area according to an embodiment of the present application.
It can be seen that, in the embodiment of the present application, the electronic device first determines a first direction in which a target human eye gazes at the transparent display screen, and determines a first angle formed by the first direction and a plane where the transparent display screen is located, then determines a second angle based on the first angle and a first mapping relationship, determines a first area based on the second angle and the first direction, and finally displays target content on the first area, the electronic device emits light at the second angle in the first area, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area, and since the content displayed on the first area cannot be clearly viewed in any direction and angle, the content displayed on the first area cannot be leaked, and further protection of personal privacy information is improved.
In an implementation of the present application, before determining the first direction in which the target human eye gazes at the transparent display screen, the method further comprises:
determining that the electronic device is currently in a first display environment under a first condition, the first condition comprising at least one of: n is greater than or equal to a first preset number of people, a is less than or equal to a first preset acceleration, and V is less than or equal to a first preset speed.
The first predetermined number of people is, for example, 1, 2, 3, 4 or other values, which is not limited herein.
Wherein the first preset acceleration may be 1m/s, for example2、2m/s2、3m/s2、4m/s2Or other values, and are not limited herein.
The first predetermined acceleration may be, for example, 1m/s, 2m/s, 3m/s, 4m/s, or other values, which is not limited herein.
It can be seen that, in the embodiment of the application, before the electronic device is adjusted to display the target content on the transparent display screen, it is first detected whether the electronic device is in the first display environment, and the angle of display and the area of display are adjusted only in the first display environment, and if the electronic device is not in the first display environment, adjustment is not needed, so that the user can obtain a larger viewing angle and a larger viewing range, and obtain a better viewing experience.
In an implementation manner of the present application, the transparent display screen includes a plurality of transparent display molecules, and the displaying the target content in the first area includes:
determining a first display parameter for each transparent display molecule based on the second angle and the first region;
displaying target content on the first area based on the first display parameter.
Wherein the first display parameter comprises at least one of: the display device comprises a first display direction, a first display angle and a first display position.
The first display angle is the same as the second angle, the first display direction is the same as the first direction, and the first display position is the position of the transparent display molecule included in the first area.
It can be seen that, in the embodiment of the present application, a manner of adjusting the display angle and the display area is provided by adjusting the display parameters of the transparent display molecules to realize a specific transparent display screen structure (when light is emitted at the second angle in the first area, and the gaze direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area).
In an implementation manner of the present application, before the target content is displayed in the first area, the method further includes:
determining an occlusion area and a non-occlusion area of the transparent display screen, wherein the occlusion area is a part of the electronic equipment occluded by an object, and the non-occlusion area is a part of the electronic equipment not occluded by the object;
determining that the non-occluded area comprises the first area.
It can be seen that, in the embodiment of the application, only when the first area is in the non-shielding area, the target content is displayed in the first area, and when the first area is in the shielding area, the private information is not easy to leak, so that the situation that the display angle and the display area are adjusted when the first area is in the shielding area, and the resource waste is caused due to repeated setting is avoided.
In an implementation manner of the present application, after determining that the non-occlusion region includes the first region, the method further includes:
setting the color of the area except the first area in the non-occlusion area as a target color.
The target color may be, for example, red, black, white, or other colors, which is not limited herein.
Therefore, the color of the area except the first area in the non-shielding area is set as the target color, so that the possibility of leaking the privacy information on the area can be effectively reduced, and the protection of the privacy information is improved.
In an implementation manner of the present application, the number of the transparent display screens is P, where P is an integer greater than 1, the number of the first areas is P, each transparent display screen corresponds to one first area, and displaying the target content on the first area includes:
and displaying P first target contents on the P first areas, wherein the P first target contents are overlapped along the first direction to form the target contents.
As shown in fig. 2C, fig. 2C is a schematic structural diagram of 2 first regions according to an embodiment of the present application. Assuming that the target content is a picture, the left half part of the picture is displayed on one of the first areas, the right half part of the picture is displayed on the other first area, and the left and right parts of the picture are overlapped along the first direction to form a complete picture.
It can be seen that, in the embodiment of the present application, the electronic device includes a plurality of transparent display screens, each transparent display screen correspondingly includes a first area, a portion of the target content is displayed on each first area, a complete picture is formed only when the target content is viewed along a specific direction, otherwise, the formed pictures are overlapped or incomplete, so as to further improve protection of the private information.
Referring to fig. 3, fig. 3 is a schematic flow chart of a content display method according to an embodiment of the present application, applied to an electronic device including a transparent display screen, where the transparent display screen includes a plurality of transparent display molecules, and the method includes:
step 301: determining that the electronic device is currently in a first display environment under a first condition, the first condition comprising at least one of: the number N of the untrustworthy persons detected by the electronic equipment is larger than or equal to a first preset number, the motion acceleration a of the electronic equipment is smaller than or equal to a first preset acceleration, and the motion speed V of the electronic equipment is smaller than or equal to a first preset speed.
Step 302: determining a first direction in which the eyes of a target person look at the transparent display screen, and determining a first angle formed by the first direction and a plane where the transparent display screen is located.
Step 303: determining a second angle based on the first angle and a first mapping relationship, where the second angle is an included angle formed by a direction in which the electronic device emits light on the transparent display screen and a plane in which the transparent display screen is located, and the first mapping relationship is as follows: X-A is not less than Y and not more than X + A, X is the first angle, Y is the second angle, A is a first constant, A is determined based on a first environmental parameter, and the first environmental parameter comprises at least one of the following: the electronic equipment comprises an untrusted number N of people detected by the electronic equipment, the motion acceleration a of the electronic equipment and the motion speed V of the electronic equipment.
Step 304: based on the second angle and the first direction determine a first area, the transparent display screen comprises the first area, the electronic device is in the first area, the light is emitted at the second angle, and the gazing direction of the target human eyes is in the first direction, the target human eyes can clearly view the content displayed on the first area.
Step 305: determining an occlusion area and a non-occlusion area of the transparent display screen, wherein the occlusion area is a part of the electronic device occluded by an object, and the non-occlusion area is a part of the electronic device not occluded by the object.
Step 306: determining that the non-occluded area comprises the first area.
Step 307: setting the color of the area except the first area in the non-occlusion area as a target color.
Step 308: determining a first display parameter for each transparent display molecule based on the second angle and the first region.
Step 309: displaying target content on the first area based on the first display parameter.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
In accordance with the embodiments shown in fig. 2A and fig. 3, please refer to fig. 4, and fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in the figure, the electronic device includes a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
determining a first direction in which a target human eye gazes at the transparent display screen, and determining a first angle formed by the first direction and a plane where the transparent display screen is located;
determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of light emitted by the electronic equipment on the transparent display screen and a plane where the transparent display screen is located;
determining a first area based on the second angle and the first direction, wherein the transparent display screen comprises the first area, the electronic device emits light in the first area at the second angle, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area;
displaying target content on the first area.
In an implementation manner of the present application, the first mapping relationship is: X-A is not less than Y and not more than X + A, X is the first angle, Y is the second angle, and A is a first constant.
In an implementation of the present application, a is determined based on a first environmental parameter, the first environmental parameter including at least one of: the electronic equipment comprises an untrusted number N of people detected by the electronic equipment, the motion acceleration a of the electronic equipment and the motion speed V of the electronic equipment.
In one implementation of the present application, prior to determining the first direction in which the target person's eye is looking at the transparent display screen, the program includes instructions for further performing the steps of:
determining that the electronic device is currently in a first display environment under a first condition, the first condition comprising at least one of: n is greater than or equal to a first preset number of people, a is less than or equal to a first preset acceleration, and V is less than or equal to a first preset speed.
In an implementation of the application, the transparent display screen comprises a plurality of transparent display molecules, and the program comprises instructions for performing the following steps in particular in terms of displaying the target content in the first area:
determining a first display parameter for each transparent display molecule based on the second angle and the first region;
displaying target content on the first area based on the first display parameter.
In an implementation manner of the present application, before the target content is displayed in the first area, the program includes instructions further for performing the following steps:
determining an occlusion area and a non-occlusion area of the transparent display screen, wherein the occlusion area is a part of the electronic equipment occluded by an object, and the non-occlusion area is a part of the electronic equipment not occluded by the object;
determining that the non-occluded area comprises the first area.
In an implementation manner of the present application, after determining that the non-occlusion region includes the first region, the program includes instructions further for performing the following steps:
setting the color of the area except the first area in the non-occlusion area as a target color.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. 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 application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The following is an embodiment of the apparatus of the present application, which is used to execute the method implemented by the embodiment of the method of the present application. Referring to fig. 5, fig. 5 is a schematic structural diagram of a content display device according to an embodiment of the present application, applied to an electronic device including a transparent display screen, where the content display device includes:
a determining unit 501, configured to determine a first direction in which a target person gazes at the transparent display screen, and determine a first angle formed by the first direction and a plane where the transparent display screen is located; determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of light emitted by the electronic equipment on the transparent display screen and a plane where the transparent display screen is located; determining a first area based on the second angle and the first direction, wherein the transparent display screen comprises the first area, the electronic device emits light in the first area at the second angle, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area;
a display unit 502 for displaying the target content on the first area.
In an implementation manner of the present application, the first mapping relationship is: X-A is not less than Y and not more than X + A, X is the first angle, Y is the second angle, and A is a first constant.
In an implementation of the present application, a is determined based on a first environmental parameter, the first environmental parameter including at least one of: the electronic equipment comprises an untrusted number N of people detected by the electronic equipment, the motion acceleration a of the electronic equipment and the motion speed V of the electronic equipment.
In an implementation manner of the present application, before determining the first direction in which the target human eye gazes at the transparent display screen, the determining unit 501 is further configured to determine that the electronic device is currently in the first display environment under a first condition, where the first condition includes at least one of: n is greater than or equal to a first preset number of people, a is less than or equal to a first preset acceleration, and V is less than or equal to a first preset speed.
In an implementation manner of the present application, the transparent display screen includes a plurality of transparent display molecules, and in terms of displaying the target content in the first area, the display unit 502 is specifically configured to determine a first display parameter of each transparent display molecule based on the second angle and the first area; displaying target content on the first area based on the first display parameter.
In an implementation manner of the present application, before the first area displays the target content, the determining unit 501 is further configured to determine an occluded area and a non-occluded area of the transparent display screen, where the occluded area is a portion of the electronic device that is occluded by an object, and the non-occluded area is a portion of the electronic device that is not occluded by the object; determining that the non-occluded area comprises the first area.
In an implementation manner of the present application, after determining that the non-occlusion region includes the first region, the apparatus further includes a setting unit 503, configured to set a color of a region other than the first region in the non-occlusion region as a target color.
It should be noted that the determination unit 501, the display unit 502, and the setting unit 503 may be implemented by a processor.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A content display method is applied to an electronic device comprising a transparent display screen, and the method comprises the following steps:
determining a first direction in which a target human eye gazes at the transparent display screen, and determining a first angle formed by the first direction and a plane where the transparent display screen is located;
determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of light emitted by the electronic equipment on the transparent display screen and a plane where the transparent display screen is located;
determining a first area based on the second angle and the first direction, wherein the transparent display screen comprises the first area, the electronic device emits light in the first area at the second angle, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area;
displaying target content on the first area;
wherein,
the first mapping relationship is: X-A is not less than Y and not more than X + A, X is the first angle, Y is the second angle, and A is a first constant;
wherein determining a first region based on the second angle and the first direction comprises: determining a first intersection set of a light ray when the electronic equipment emits light at the second angle and a plane where the transparent display screen is located, taking a circular area surrounded by the first focus set as a first area, and determining a second intersection of the first direction and the plane where the transparent display screen is located; and taking the second intersection point as the center point of the first area, wherein the distance between the second intersection point and any one first focus in the first focus set is the radius of the first area.
2. The method of claim 1, wherein a is determined based on a first environmental parameter, the first environmental parameter comprising at least one of: the electronic equipment comprises an untrusted number N of people detected by the electronic equipment, the motion acceleration a of the electronic equipment and the motion speed V of the electronic equipment.
3. The method of claim 2, wherein prior to determining the first direction in which the target human eye is looking at the transparent display screen, the method further comprises:
determining that the electronic device is currently in a first display environment under a first condition, the first condition comprising at least one of: n is greater than or equal to a first preset number of people, a is less than or equal to a first preset acceleration, and V is less than or equal to a first preset speed.
4. The method of claim 1, wherein the transparent display screen comprises a plurality of transparent display molecules, and wherein displaying the target content in the first area comprises: determining a first display parameter for each transparent display molecule based on the second angle and the first region; displaying target content on the first area based on the first display parameter.
5. The method of any of claims 2-3, wherein the transparent display screen includes a plurality of transparent display molecules, and wherein displaying the target content in the first area comprises: determining a first display parameter for each transparent display molecule based on the second angle and the first region; displaying target content on the first area based on the first display parameter.
6. The method of any of claims 1-4, wherein prior to displaying the target content in the first region, the method further comprises: determining an occlusion area and a non-occlusion area of the transparent display screen, wherein the occlusion area is a part of the electronic equipment occluded by an object, and the non-occlusion area is a part of the electronic equipment not occluded by the object;
determining that the non-occluded area comprises the first area.
7. The method of claim 6, wherein after determining that the non-occluded area comprises the first area, the method further comprises: setting the color of the area except the first area in the non-occlusion area as a target color.
8. A content display apparatus applied to an electronic device including a transparent display screen, the apparatus comprising:
the device comprises a determining unit, a judging unit and a display unit, wherein the determining unit is used for determining a first direction in which a target human eye gazes at the transparent display screen and determining a first angle formed by the first direction and a plane where the transparent display screen is located; determining a second angle based on the first angle and the first mapping relation, wherein the second angle is an included angle formed by the direction of light emitted by the electronic equipment on the transparent display screen and a plane where the transparent display screen is located; determining a first area based on the second angle and the first direction, wherein the transparent display screen comprises the first area, the electronic device emits light in the first area at the second angle, and when the gazing direction of the target human eye is the first direction, the target human eye can clearly view the content displayed on the first area;
a display unit for displaying target content on the first region;
wherein,
the first mapping relationship is: X-A is not less than Y and not more than X + A, X is the first angle, Y is the second angle, and A is a first constant;
wherein determining a first region based on the second angle and the first direction comprises: determining a first intersection set of a light ray when the electronic equipment emits light at the second angle and a plane where the transparent display screen is located, taking a circular area surrounded by the first focus set as a first area, and determining a second intersection of the first direction and the plane where the transparent display screen is located; and taking the second intersection point as the center point of the first area, wherein the distance between the second intersection point and any one first focus in the first focus set is the radius of the first area.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910690554.1A CN110390216B (en) | 2019-07-29 | 2019-07-29 | Content display method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910690554.1A CN110390216B (en) | 2019-07-29 | 2019-07-29 | Content display method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110390216A CN110390216A (en) | 2019-10-29 |
CN110390216B true CN110390216B (en) | 2021-05-04 |
Family
ID=68287690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910690554.1A Active CN110390216B (en) | 2019-07-29 | 2019-07-29 | Content display method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110390216B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111274618B (en) * | 2020-01-13 | 2022-10-21 | Oppo广东移动通信有限公司 | Display control method and related product |
CN112669789B (en) * | 2020-12-31 | 2024-07-23 | 联想(北京)有限公司 | Control method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0667086A (en) * | 1992-08-24 | 1994-03-11 | Canon Inc | Optical device with glance detecting function |
CN105389527B (en) * | 2015-10-27 | 2019-10-08 | 努比亚技术有限公司 | The Anti-peeping device and method of mobile terminal |
CN108181740A (en) * | 2018-01-02 | 2018-06-19 | 联想(北京)有限公司 | Show equipment and display methods |
JP6742609B2 (en) * | 2019-01-29 | 2020-08-19 | みこらった株式会社 | Electronic device, display control method of display screen of electronic device, and program |
CN110007540A (en) * | 2019-04-10 | 2019-07-12 | Oppo广东移动通信有限公司 | Display screen component, the control method of visible angle, device and electronic equipment |
CN110262659B (en) * | 2019-06-18 | 2022-03-15 | Oppo广东移动通信有限公司 | Application control method and related device |
-
2019
- 2019-07-29 CN CN201910690554.1A patent/CN110390216B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110390216A (en) | 2019-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102353766B1 (en) | Apparatus and method for controlling display | |
EP3301539A1 (en) | Electronic device and display method | |
WO2014030888A1 (en) | System and method for perceiving images with multimodal feedback | |
CN104918107B (en) | The identification processing method and device of video file | |
CN107977652B (en) | Method for extracting screen display content and mobile terminal | |
CN108989678A (en) | A kind of image processing method, mobile terminal | |
CN110390216B (en) | Content display method and related equipment | |
CN108920226B (en) | Screen recording method and device | |
CN110533651B (en) | Image processing method and device | |
CN109993010B (en) | Information display method and mobile terminal | |
CN106126725B (en) | Page display method and device | |
EP3764345A1 (en) | Ambient light collecting method, terminal and storage medium | |
CN110930335A (en) | Image processing method and electronic equipment | |
CN110069311A (en) | Application window display methods, device, mobile terminal and readable storage medium storing program for executing | |
WO2020233201A1 (en) | Icon position determination method and device | |
CN107219989B (en) | Icon processing method and device and terminal | |
CN110309003B (en) | Information prompting method and mobile terminal | |
CN115755397A (en) | Head mounted display with low light operation | |
CN113654459B (en) | Method, device and storage medium for determining position of under-screen photosensitive sensor | |
CN112331158B (en) | Terminal display adjusting method, device, equipment and storage medium | |
CN110740214B (en) | Prompting method, terminal and computer readable storage medium | |
CN106775548B (en) | page processing method and device | |
EP3767612A1 (en) | Terminal screen and terminal | |
CN109561258B (en) | Light supplementing method and terminal equipment | |
CN113504832B (en) | Mobile terminal display adjustment method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |