Screen peep-proof method, electronic equipment, chip system and readable storage medium
By dynamically adjusting the light transmission direction of the anti-peeping layer, and according to the position and direction of the person in front of the screen, the problem that the existing technology cannot meet the anti-peeping needs in different directions is solved, and a more flexible mobile phone usage experience is achieved.
Patent Information
- Application Number
- CN202311088210.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2043-08-28
AI Technical Summary
The existing anti-peeping film-based solution cannot meet users' anti-peeping needs in different directions, resulting in users being unable to use their mobile phones normally in some scenarios.
By adjusting the light-transmitting direction of the anti-peeping layer, using face recognition technology to identify the position and direction of the person in front of the screen, and dynamically adjusting the light-transmitting direction of the anti-peeping layer to match the user's line of sight.
The anti-sight function in different directions is realized to ensure that users can use their phone normally, whether they are facing the screen or looking at the screen from other directions.
Smart Images

Figure CN119575708A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a screen privacy protection method, an electronic device, a chip system, and a readable storage medium. Background Art
[0002] In daily life, you can improve the safety of using your phone by sticking a privacy film on the screen of your phone, based on the ultra-fine blinds optical technology of the privacy film. However, the privacy direction of the privacy film is usually fixed to be perpendicular to the screen, so the user must face the screen when using the phone. If in some scenarios, the user is not facing the screen, the user himself will also be affected by the privacy film, causing the user to be unable to use the phone normally.
[0003] It can be seen that the current solution based on anti-peep film cannot meet the anti-peep needs of users in different directions. How to meet the anti-peep needs in different directions has become one of the problems to be solved urgently. Summary of the invention
[0004] The present application provides a screen anti-peeping method, an electronic device, a chip system and a readable storage medium, which can meet the user's anti-peeping needs in different directions by adjusting the light transmission direction of the anti-peeping layer.
[0005] In a first aspect, an embodiment of the present application provides a screen privacy protection method, the method comprising:
[0006] Get the portrait corresponding to the person in front of the screen;
[0007] If the portrait includes a first portrait, determining a first offset angle of the eyes of the first portrait relative to a preset direction; the first portrait matches a pre-recorded portrait; the preset direction is a direction perpendicular to the center of the screen;
[0008] The light transmission direction of the anti-peeping layer is adjusted to a direction corresponding to the first offset angle, and the anti-peeping layer is arranged between the screen and the light-emitting layer.
[0009] Through the embodiment described in the first aspect, a first person portrait matching the pre-recorded person portrait can be identified first, and then the light transmission direction of the anti-peeping layer can be reasonably adjusted based on the eyes of the first person portrait, so that the light transmission direction of the anti-peeping layer after adjustment can match the direction of the eyes of the first person portrait, and the person corresponding to the first person portrait can view the content on the screen normally. It can be seen that this method can adjust the light transmission direction of the anti-peeping layer by following the eyes of the human eye to meet the anti-peeping needs in different directions.
[0010] In one possible implementation, the above-mentioned adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the first offset angle includes: determining the current value to be applied based on the relationship between the first offset angle and the current value; based on the current value to be applied, applying current to the energized coil in the anti-peeping layer to adjust the light transmission direction of the anti-peeping layer to the direction corresponding to the first offset angle.
[0011] In this way, the current of the energized coil in the anti-peeping layer can be adjusted based on the relationship between the first offset angle and the current value, thereby adjusting the light transmission direction of the anti-peeping layer.
[0012] In a possible implementation, the method also includes: if the portrait includes a second portrait and does not include the first portrait, identifying the display scene of the screen; the second portrait does not match the pre-recorded portrait; if the display scene is an interface for displaying an application, adjusting the light transmission direction of the anti-peeping layer based on the number of second portraits; if the display scene is displaying a desktop, turning off the screen.
[0013] In this way, when a second portrait that does not match the pre-recorded portrait is identified, anti-peeping processing can be performed based on the display scene of the screen. For example, when the display scene is to display the interface of an application, the user of the screen (such as the person corresponding to the pre-recorded portrait) is likely to temporarily leave the screen. When the user of the screen returns to the screen again, he may want to continue operating the application. In this way, while maintaining the display scene of the screen, the light transmission direction of the anti-peeping layer can be adjusted based on the number of second portraits to achieve screen anti-peeping. When the display scene is to display the desktop, the user of the screen is not very concerned about the desktop, so the screen can be directly turned off to achieve screen anti-peeping.
[0014] In a possible implementation, adjusting the light transmission direction of the anti-peeping layer based on the number of second portraits includes: if the number of second portraits is one, determining a second offset angle of the eyes of the second portrait relative to a preset direction; and adjusting the light transmission direction of the anti-peeping layer to a direction other than a direction corresponding to the second offset angle.
[0015] In this way, the light transmission direction of the anti-peeping layer can be reasonably adjusted based on the eyes of the second portrait, so that the light transmission direction of the anti-peeping layer after adjustment cannot match the direction of the eyes of the second portrait. It is difficult for the person corresponding to the second portrait to view the contents on the screen, thereby achieving screen privacy protection.
[0016] In a possible implementation, the above-mentioned adjusting the light transmission direction of the anti-peeping layer to a direction other than the direction corresponding to the second offset angle includes: if the second offset angle is greater than zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle less than zero degrees; if the second offset angle is less than zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle greater than zero degrees; if the second offset angle is equal to zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle greater than zero degrees, or adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle less than zero degrees; wherein, if the direction corresponding to the second offset angle is to the right relative to the preset direction, the second offset angle is greater than zero degrees; if the direction corresponding to the second offset angle is to the left relative to the preset direction, the second offset angle is less than zero degrees; if the direction corresponding to the second offset angle is the same as the preset direction, the second offset angle is equal to zero degrees.
[0017] In a possible implementation, after adjusting the light transmission direction of the anti-peep layer to a direction other than the direction corresponding to the second offset angle, the method further includes: reducing the display brightness of the screen.
[0018] In this way, the light transmission direction of the anti-peeping layer can be adjusted while reducing the display brightness of the screen, making it more difficult for the person corresponding to the second portrait to view the content on the screen, thereby further improving the screen anti-peeping effect.
[0019] In a possible implementation, the method further includes: if the number of the second portraits is two or more, turning off the screen.
[0020] Since when the number of second portraits is two or more, no matter how the light transmission direction of the anti-peeping layer is adjusted, it is possible that the characters corresponding to one or more second portraits can view the content on the screen, the screen can be directly turned off to achieve screen privacy protection.
[0021] In a possible implementation, before obtaining the portrait corresponding to the person in front of the screen, the method also includes: receiving an instruction to turn on an anti-peeping function; the anti-peeping function includes adjusting the light transmission direction of the anti-peeping layer; in response to the instruction, turning on the anti-peeping function of the anti-peeping layer.
[0022] In this way, the anti-peeping function can be turned on as needed, thereby achieving automatic adjustment of the light transmission direction of the anti-peeping layer.
[0023] In a second aspect, an embodiment of the present application provides an electronic device, including a memory and one or more processors; the memory is coupled to the one or more processors and is used to store a computer program, the computer program including program instructions; the one or more processors call the program instructions so that the electronic device executes:
[0024] Get the portrait corresponding to the person in front of the screen;
[0025] If the portrait includes a first portrait, determining a first offset angle of the eyes of the first portrait relative to a preset direction; the first portrait matches a pre-recorded portrait; the preset direction is a direction perpendicular to the center of the screen;
[0026] The light transmission direction of the anti-peeping layer is adjusted to a direction corresponding to the first offset angle, and the anti-peeping layer is arranged between the screen and the light-emitting layer.
[0027] In one possible implementation, when the one or more processors call the program instructions so that the electronic device executes to adjust the light transmission direction of the anti-peeping layer to a direction corresponding to the first offset angle, it specifically includes: determining the current value to be applied based on the relationship between the first offset angle and the current value; based on the current value to be applied, applying current to the energized coil in the anti-peeping layer to adjust the light transmission direction of the anti-peeping layer to a direction corresponding to the first offset angle.
[0028] In one possible implementation, the one or more processors call the program instructions so that the electronic device further executes: if the portrait includes a second portrait and does not include the first portrait, identifying the display scene of the screen; the second portrait does not match the pre-recorded portrait; if the display scene is an interface for displaying an application, adjusting the light transmission direction of the anti-peeping layer based on the number of the second portrait; if the display scene is displaying the desktop, turning off the screen.
[0029] In one possible implementation, when the one or more processors call the program instructions so that the electronic device adjusts the light transmission direction of the anti-peeping layer based on the number of second portraits, the process specifically includes: if the number of second portraits is one, determining a second offset angle of the eyes of the second portrait relative to a preset direction; and adjusting the light transmission direction of the anti-peeping layer to a direction other than the direction corresponding to the second offset angle.
[0030] In a possible implementation, when the one or more processors call the program instructions so that the electronic device executes to adjust the light transmission direction of the anti-peeping layer to a direction other than the direction corresponding to the second offset angle, the instructions specifically include: if the second offset angle is greater than zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle less than zero degrees; if the second offset angle is less than zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle greater than zero degrees; if the second offset angle is equal to zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle greater than zero degrees, or adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle less than zero degrees; wherein, if the direction corresponding to the second offset angle is to the right relative to the preset direction, the second offset angle is greater than zero degrees; if the direction corresponding to the second offset angle is to the left relative to the preset direction, the second offset angle is less than zero degrees; if the direction corresponding to the second offset angle is the same as the preset direction, the second offset angle is equal to zero degrees.
[0031] In a possible implementation, after the one or more processors call the program instruction to cause the electronic device to adjust the light transmission direction of the anti-peep layer to a direction other than the direction corresponding to the second offset angle, they further execute: reducing the display brightness of the screen.
[0032] In a possible implementation, the one or more processors call the program instructions so that the electronic device further executes: if the number of the second portraits is two or more, turning off the screen.
[0033] In one possible implementation, before the one or more processors call the program instructions to cause the electronic device to obtain a portrait corresponding to a person in front of the screen, they also execute: receiving an instruction to turn on an anti-peeping function; the anti-peeping function includes adjusting the light transmission direction of the anti-peeping layer; and in response to the instruction, turning on the anti-peeping function of the anti-peeping layer.
[0034] In a third aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device. The chip system includes at least one processor and an interface, and the interface is used to receive program instructions and transmit them to the at least one processor; the at least one processor runs the program instructions so that the electronic device executes the method described in the first aspect or any possible implementation of the first aspect.
[0035] In a fourth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and the computer program includes program instructions. When the program instructions are run on an electronic device, the electronic device executes the method described in the first aspect or any possible implementation of the first aspect.
[0036] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, including a computer program, which includes program instructions. When the program instructions are run on an electronic device, the electronic device executes the method described in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a structural schematic diagram of a display panel of an electronic device provided in an embodiment of the present application;
[0038] Figure 2 is a schematic structural diagram of a liquid crystal material layer provided in an embodiment of the present application;
[0039] Figure 3 It is a light transmission schematic diagram of applying voltage to a liquid crystal material layer provided in an embodiment of the present application;
[0040] Figure 4 It is a schematic diagram of an electrode substrate 1 and an electrode substrate 2 moving relative to each other provided in an embodiment of the present application;
[0041] Figure 5 is a schematic diagram of the back side of a liquid crystal material layer provided in an embodiment of the present application;
[0042] Figure 6 is a cross-sectional schematic diagram of a liquid crystal material layer provided in an embodiment of the present application;
[0043] Figure 7 It is a force analysis schematic diagram provided in an embodiment of the present application;
[0044] Figure 8 It is a flowchart of a screen privacy protection method provided in an embodiment of the present application;
[0045] Fig. 9 is a schematic diagram of an offset angle provided in an embodiment of the present application;
[0046] Fig.10 is a schematic diagram of a light transmission direction of an anti-peep layer provided in an embodiment of the present application;
[0047] Fig.11 is a schematic diagram of another light transmission direction of an anti-peep layer provided in an embodiment of the present application;
[0048] Fig.12 is a schematic diagram of a light transmission direction of another anti-peep layer provided in an embodiment of the present application;
[0049] Fig.13 It is a schematic diagram of the overall process of a screen privacy protection method provided by an embodiment of the present application;
[0050] Fig.14It is a schematic diagram of the overall process of another screen privacy protection method provided by an embodiment of the present application;
[0051] Fig.15 It is a schematic diagram of the hardware structure of an electronic device proposed in an embodiment of the present application;
[0052] Fig.16 It is a schematic diagram of the software structure of an electronic device proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0054] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0055] The following is an introduction to the terms involved in the embodiments of the present application:
[0056] Polarization: Light is a transverse wave, a wave whose vibration direction is perpendicular to the wave's propagation direction (or propagation direction). Usually, the propagation direction of natural light is in all directions, and the vibration direction of natural light is randomly distributed. Polarization refers to a type of light in natural light that has a fixed vibration direction. This type of light is also called polarized light, or light with a fixed polarization state. For example, light with a vertical vibration direction and propagation direction in all directions is called vertically polarized light; light with a horizontal vibration direction and propagation direction in all directions is called horizontally polarized light.
[0057] The structure of the display panel of the electronic device involved in this application is introduced below.
[0058] Figure 1 is a schematic diagram of the structure of a display panel of an electronic device provided in an embodiment of the present application. Figure 1As shown, the display panel 101 of the electronic device includes a reflective backplane, a light-emitting layer electrode 1, a light-emitting layer, a light-emitting layer electrode 2 and a screen from the inside to the outside. The light-emitting layer electrode 1 and the light-emitting layer electrode 2 are used to input image signals to control the light-emitting layer to emit light propagating in all directions; the reflective backplane is used to reflect the received light back to improve optical utilization; the screen is used to receive light and emit the light to the eyes of the person in front of the screen so that the person in front of the screen can view the displayed image. Based on the structure of the display panel 101, the eyes of the people in all directions in front of the screen can receive the light emitted by the screen, so the screen cannot be protected from peeping. At the same time, the solution of anti-peeping based on the anti-peeping film refers to pasting the anti-peeping film on the outside of the screen in the display panel 101. The anti-peeping direction of the anti-peeping film is fixed and cannot meet the anti-peeping needs of users in different directions.
[0059] In order to solve the above defects, the embodiment of the present application proposes a display panel 102, which is obtained by adding an anti-peeping layer between the light-emitting layer electrode 2 in the display panel 101 and the screen. Figure 1 As shown, the display panel 102 includes at least a reflective backplane, a light-emitting layer electrode 1, a light-emitting layer, a light-emitting layer electrode 2, an anti-peeping layer and a screen from the inside to the outside, and the anti-peeping layer includes a liquid crystal material layer and a polarizing film. The polarizing film has a vertical polarization direction, that is, vertically polarized light can pass through the polarizing film normally, and non-vertically polarized light cannot pass through the polarizing film. Figure 2 As shown, Figure 2 It is a schematic diagram of the structure of a liquid crystal material layer provided in an embodiment of the present application, wherein the liquid crystal material layer includes an electrode substrate 1, a liquid crystal shutter structure and an electrode substrate 2, wherein the electrode substrate 2 is wider than the electrode substrate 1, and the electrode substrate 1 is below the electrode substrate 2 (i.e., the electrode substrate 1 is close to the light-emitting layer electrode 2, and the electrode substrate 2 is close to the polarizing film). The liquid crystal shutter structure includes at least one liquid crystal unit, and at least one dielectric connection structure, and the portion between any two adjacent liquid crystal units is air. Each liquid crystal unit is made of liquid crystal material, and each liquid crystal unit is connected to the electrode substrate 1 through an upper dielectric connection structure, and is connected to the electrode substrate 2 through a lower dielectric connection structure, the connection between the dielectric connection structure and the electrode substrate 1 or the electrode substrate 2 is a fixed connection, and the connection between the dielectric connection structure and the liquid crystal unit is a non-fixed connection.
[0060] The electrode substrate 1 and the electrode substrate 2 in the liquid crystal material layer are used to adjust the polarization state of light passing through the liquid crystal unit. Figure 3As shown, taking a liquid crystal unit as an example, when no voltage is applied to the electrode substrate 1 and the electrode substrate 2, the liquid crystal unit can transmit light in a vertical polarization state, but cannot transmit light in a non-vertical polarization state; when a voltage is applied to the electrode substrate 1 and the electrode substrate 2, the liquid crystal unit can transmit light in a horizontal polarization state, but cannot transmit light in a non-horizontal polarization state. Since the polarization direction of the polarization film is a vertical direction, when no voltage is applied to the electrode substrate 1 and the electrode substrate 2, the light in a vertical polarization state emitted through the liquid crystal unit can normally pass through the polarization film; when a voltage is applied to the electrode substrate 1 and the electrode substrate 2, the light in a horizontal polarization state emitted through the liquid crystal unit cannot pass through the polarization film. At the same time, regardless of whether a voltage is applied to the electrode substrate 1 and the electrode substrate 2, the polarization state of the light emitted through the air between any two adjacent liquid crystal units will not change. Therefore, among the light emitted through the air between any two adjacent liquid crystal units, the light in a vertical polarization state can pass through the polarization film.
[0061] It can be seen that when the liquid crystal material layer in the anti-peeping layer is not applied with voltage, the anti-peeping layer can normally transmit light in a vertical polarization state, and the propagation direction of light in a vertical polarization state can be in various directions. This application refers to this situation as the anti-peeping layer not having an anti-peeping function. When a voltage is applied to the liquid crystal material layer in the anti-peeping layer, the anti-peeping layer is a shutter structure with an anti-peeping function, wherein in the liquid crystal material layer of the anti-peeping layer, light in a vertical polarization state emitted through the liquid crystal unit cannot be emitted from the polarizing film, while light in a vertical polarization state emitted through the air can be emitted from the polarizing film normally.
[0062] When the anti-peeping function of the anti-peeping layer is turned on (that is, when voltage is applied to the liquid crystal material layer), the tilt angle of the liquid crystal unit can be controlled based on the relative movement of the electrode substrate 1 and the electrode substrate 2 in the liquid crystal material layer, thereby realizing screen anti-peeping in all directions.
[0063] For example, Figure 4 As shown, in situation 401, there is no relative movement between the electrode substrate 1 and the electrode substrate 2. In this case, each liquid crystal unit is perpendicular to the electrode substrate 1 / electrode substrate 2; when the anti-peeping function of the anti-peeping layer is turned on, the light emitted through the air between adjacent liquid crystal units and whose propagation direction is perpendicular to the electrode substrate 2 is least blocked. Therefore, when the human eye is facing the screen, the screen content can be viewed normally, and it is difficult for the human eye in other directions to view the screen content.
[0064] exist Figure 4In the illustrated situation 402, the electrode substrate 2 is fixed, and the electrode substrate 1 moves to the left by Δ. When the electrode substrate 1 moves to the left, it drives each medium connection structure fixedly connected to the electrode substrate 1 to move to the left synchronously. Since the connection between each medium connection structure and the liquid crystal material is not fixed, each liquid crystal material tilts to the left. When the anti-peeping function of the anti-peeping layer is turned on, the light emitted through the air between adjacent liquid crystal units and propagating in a direction parallel to the tilted liquid crystal unit is least shielded. Therefore, when the human eye in front of the screen is in a direction parallel to the tilted liquid crystal unit, the screen content can be viewed normally, and it is difficult for the human eye in other directions to view the screen content.
[0065] The following describes how the present application achieves the relative movement of the electrode substrate 1 and the electrode substrate 2:
[0066] Figure 5 1 is a schematic diagram of the back side of a liquid crystal material layer provided in an embodiment of the present application. There are four protrusions on the electrode substrate 1 that interact with the electromagnet and the energized coil respectively. For example, the upper and lower protrusions of the electrode substrate 1 interact with the electromagnet, and the two protrusions on the left side of the electrode substrate 1 interact with the energized coil.
[0067] Figure 6 It is a cross-sectional schematic diagram of a liquid crystal material layer provided in an embodiment of the present application, wherein an energized coil acting on an electrode substrate 1 is connected to an electrode substrate 2 via a support rod, and the left and right movement of the electrode substrate 1 can be controlled by applying currents of different magnitudes to the energized coil, and the support rod can tilt left and right when the electrode substrate 1 moves left and right.
[0068] Furthermore, the electromagnet acting on the electrode substrate 1 is connected to the electrode substrate 2 via a metal rail, the lower end of the metal rail is fixed on the electrode substrate 2, and the electromagnet acting on the electrode substrate 1 is composed of an external coil and an internal iron core.
[0069] When the external coil in the electromagnet is energized, the external coil will generate a magnetic field inside, magnetizing the inner iron core, and the electromagnet will be adsorbed on the metal rail and remain fixed. Since the electromagnet is fixed on the electrode substrate 1, and the metal rail is fixed on the electrode substrate 2, when the electromagnet is fixed on the metal rail, the electrode substrate 1 and the electrode substrate 2 remain fixed, and the electrode substrate 1 and the electrode substrate 2 cannot move relative to each other.
[0070] When the external coil in the electromagnet is not energized, the electromagnet can move in the portion of the metal rail between baffle 1 and baffle 2. Therefore, when the electrode substrate 2 remains fixed, the electrode substrate 1 can move and drive the electromagnet to move between the metal rails, thereby achieving relative movement of the electrode substrate 1 and the electrode substrate 2.
[0071] Therefore, when the anti-peeping function of the anti-peeping layer is not turned on, the phase positions of the electrode substrate 1 and the electrode substrate 2 can be fixed by energizing the external coil in the electromagnet. When the anti-peeping function of the anti-peeping layer is turned on, the electrode substrate 1 can be moved by stopping energizing the external coil in the electromagnet, and the electrode substrate 1 can drive the electromagnet acting on the electrode substrate 1 to move the part between the baffle 1 and the baffle 2 in the metal guide rail. The position of the baffle 1 / baffle 2 corresponds to the maximum distance that the electrode substrate 1 can move.
[0072] Optionally, in the embodiment of the present application, whether the anti-peeping layer turns on the anti-peeping function can be controlled by controlling whether a voltage is applied to the liquid crystal material layer. Wherein, applying a voltage to the liquid crystal material layer corresponds to turning on the anti-peeping function of the anti-peeping layer, and conversely, not applying a voltage to the liquid crystal material layer corresponds to turning off the anti-peeping function of the anti-peeping layer.
[0073] Optionally, when the anti-peeping function of the anti-peeping layer is turned on, the electrode substrate 1 can be moved by stopping the power supply to the external coil in the electromagnet, and the movement of the electrode substrate 1 can be controlled by applying currents of different magnitudes to the powered coil.
[0074] The following describes how the present application controls the movement of the electrode substrate 1 by means of the current of the energized coil:
[0075] For example, after voltage is applied to the liquid crystal material layer of the anti-peeping layer, the anti-peeping function of the anti-peeping layer is turned on. Assume that after voltage is applied to the liquid crystal material layer, the current in the electrode substrate 1 and the electrode substrate 2 in the liquid crystal material layer is I1. And, at this time, the external coil of the electromagnet on the electrode substrate 1 is not energized, and the electrode substrate 1 is in a movable state. If the electrode substrate 1 moves to the left Δ, the electrode substrate 1 is subjected to a leftward moving force F. At the same time, the electrode substrate 1 can be subjected to gravity F2 and the support force of the outer rail in the metal guide rail is F1. Among them, because the electrode substrate 1 is below the electrode substrate 2, the electrode substrate 1 is closer to the light-emitting layer electrode 2. Therefore, if the electronic device screen is placed flat on the desktop with the screen facing up, the direction of the gravity F2 received by the electrode substrate 1 is as follows Figure 7 The direction shown is the direction toward the electrode substrate 1, not the direction toward the electrode substrate 2; and, because the electrode substrate 1 is connected to the electromagnet, the electromagnet is supported by the outer side of the metal guide rail, so the electrode substrate 1 is also supported by the support force F1. Specifically, the moving force F on the electrode substrate 1 can be obtained by the following formula 1:
[0076] F=BI1l (Formula 1)
[0077] In formula 1, B is the magnetic induction intensity generated by the energized coil acting on the electrode substrate 1 after being energized, l is the force-bearing length of the electrode substrate 1, and I1 is the current value after the voltage is applied to the electrode substrate 1.
[0078] Specifically, B in Formula 1 can be obtained by the following Formula 2:
[0079] B=μnI2 (Formula 2)
[0080] In Formula 2, μ is the magnetic permeability, n is the number of turns of the energized coil acting on the electrode substrate 1, and I2 is the current value applied to the energized coil.
[0081] Substituting Formula 2 into Formula 1, the moving force F exerted on the electrode substrate 1 can be further obtained by the following Formula 3:
[0082] F=μnI1I2l (Formula 3)
[0083] And, by Figure 7 It can be seen that when the tilt angle of the liquid crystal unit is θ, the relationship between the gravity F2 and the moving force F on the electrode substrate 1 can be referred to the following formula 4:
[0084] F=F2tan(θ) (Formula 4)
[0085] In formula 4, the gravity F2 on the electrode substrate 1 is F2 = βmg, where β is the gravity factor, m is the mass of the electrode substrate 1, and g is the gravitational acceleration. θ is the relative velocity of the liquid crystal unit after the electrode substrate 1 moves. Figure 7 The inclination angle of the dotted line.
[0086] Combining Formula 3 and Formula 4, we can get the relationship between the current value I2 applied to the energized coil and θ, which can be referred to the following Formula 5:
[0087]
[0088] Among them, Figure 7 As shown in the figure, when the offset angle of the human eye in front of the screen relative to the dotted line is the same as θ, the human eye can normally view the content on the screen, while the human eye in other directions has difficulty viewing the screen due to the shielding of the liquid crystal unit. Therefore, θ corresponding to the human eye can be identified, and the current value I2 applied to the energized coil corresponding to θ can be determined by formula 5 to control the movement of the electrode substrate 1, so that the anti-peeping layer can realize screen anti-peeping.
[0089] Based on the above description, the following Figure 8 The screen privacy protection method provided in the embodiment of the present application is specifically described as follows:
[0090] See also Figure 8 , Figure 8 It is a flowchart of a screen peeping prevention method provided in an embodiment of the present application, and the method includes steps 801 to 803. Figure 8The execution subject of the method shown can be an electronic device, or a chip in an electronic device. The following is an example of an electronic device being the execution subject of the method.
[0091] Step 801: The electronic device obtains a portrait corresponding to the person in front of the screen.
[0092] In the implementation of this application, the electronic device can obtain a portrait corresponding to the person in front of the screen by performing face recognition on the person in front of the screen. For example, the face recognition can be implemented based on the front camera of the electronic device, or the face recognition can be implemented based on 3D structured light technology, etc., which is not limited in this application.
[0093] In one possible implementation, before obtaining the portrait corresponding to the person in front of the screen, the electronic device also receives an instruction to turn on an anti-peeping function; the anti-peeping function includes adjusting the light transmission direction of the anti-peeping layer; in response to the instruction, the anti-peeping function of the anti-peeping layer is turned on.
[0094] The anti-peeping layer is disposed between the screen and the light-emitting layer of the electronic device, and the anti-peeping layer includes a liquid crystal material layer and a polarizing film. For example, the specific introduction of the anti-peeping layer can refer to the above Figure 1 to Figure 6 Introduction.
[0095] In an embodiment of the present application, after receiving an instruction, the electronic device can turn on the anti-peeping function of the anti-peeping layer by applying voltage to the electrode substrate 1 and the electrode substrate 2 in the liquid crystal material layer. From the above description, it can be seen that after the voltage is applied to the electrode substrate 1 and the electrode substrate 2 in the liquid crystal material layer, the anti-peeping layer is equivalent to a blind. Among them, the light emitted from the liquid crystal unit in the anti-peeping layer cannot pass through the polarizing film, which is equivalent to the liquid crystal unit being opaque, while the light emitted from the air between adjacent liquid crystal units can pass through the polarizing film, which is equivalent to the air between the liquid crystal units being translucent. Therefore, the anti-peeping layer can have an anti-peeping function.
[0096] Optionally, after the anti-peeping function is turned on, the electronic device needs to stop energizing the outer coil of the electromagnet of the electrode substrate 1 in the anti-peeping layer, so that the electrode substrate 1 can move. By controlling the movement of the electrode substrate 1, the light transmission direction of the anti-peeping layer can be adjusted.
[0097] In one possible implementation, before an electronic device performs face recognition, the electronic device needs to obtain the user's authorization for the permission to enable face recognition, thereby ensuring the security of obtaining relevant data of the portrait. For example, after the electronic device obtains the startup permission instruction of the front camera, it turns on the front camera and captures an image through the front camera to obtain the portrait of the person in front of the screen. For another example, after the electronic device obtains the permission instruction of 3D structured light imaging, it emits invisible light, and then constructs the portrait of the person in front of the screen by receiving the reflected light of the invisible light from the person in front of the screen.
[0098] Step 802: If the portrait includes a first portrait, the electronic device determines a first offset angle of the eyes of the first portrait relative to a preset direction, the first portrait matches a pre-recorded portrait, and the preset direction is a direction perpendicular to the center of the screen.
[0099] In a possible implementation, before executing step 801, the electronic device may further execute the steps of pre-recording a portrait and calibrating a preset direction.
[0100] The pre-recorded portraits are portraits of persons who do not need to be protected from peeping. For example, portraits of persons who have permission to use the electronic device may be pre-recorded.
[0101] The method for calibrating the preset direction is: after the electronic device turns on the anti-peeping function of the anti-peeping layer, keep the electrode substrate 1 and the electrode substrate 2 in the anti-peeping layer relatively fixed, and each liquid crystal unit in the anti-peeping layer is not tilted, and each liquid crystal unit is perpendicular to the electrode substrate 1 / electrode substrate 2. Then, a person who does not need to be protected from peeping continuously moves the direction of the human eye until the human eye is moved to the direction where the content of the screen can be viewed most clearly. Since the light transmission direction of the anti-peeping layer is perpendicular to the screen direction when each liquid crystal unit is not tilted, the human eye can view the content of the screen most clearly when it is perpendicular to the center of the screen. After obtaining the direction where the human eye is located when the content of the screen can be viewed most clearly, save the direction of the human eye as the preset direction.
[0102] In the embodiment of the present application, after obtaining the portrait of the person in front of the screen, the electronic device can match the portrait of the person in front of the screen with the pre-recorded portrait. When the portrait of the person in front of the screen includes the first portrait, and the first portrait matches the pre-recorded portrait, it means that the person corresponding to the first portrait is a person who does not need to be protected from peeping.
[0103] Optionally, the portraits of people in front of the screen only include the first portrait, and the electronic device needs to ensure that the person corresponding to the first portrait can normally view the content of the screen.
[0104] Optionally, the portrait of the person in front of the screen includes a first portrait and a second portrait, and the second portrait does not match the pre-recorded portrait, and the number of the second portraits is one or more. When the second portrait does not match the pre-recorded portrait, the person corresponding to the second portrait is a person who needs to be protected from peeping, so the electronic device needs to ensure that the person corresponding to the first portrait can view the content of the screen normally, while also ensuring that the person corresponding to the second portrait has difficulty viewing the content of the screen normally.
[0105] In the embodiment of the present application, after the electronic device recognizes the first portrait from the portraits of the people in front of the screen, it can determine a first offset angle of the eyes of the first portrait relative to a preset direction.
[0106] See also Fig. 9 , Fig. 9 A schematic diagram of an offset angle provided in an embodiment of the present application. Fig. 9 As shown, the preset direction is the dotted line direction, and the offset angle is θ. When the direction of the human eye is the same as the preset direction, θ = 0 degrees; when the direction of the human eye is equivalent to the right of the preset direction, θ> 0 degrees; when the direction of the human eye is equivalent to the right of the preset direction, θ< 0 degrees. Based on Fig. 9 According to the description, the electronic device determines that the first offset angle may be zero degrees, or the first offset angle may be greater than zero degrees, or the first offset angle may be less than zero degrees based on the relationship between the human eye of the first portrait and the preset direction.
[0107] Step 803: The electronic device adjusts the light transmission direction of the anti-peeping layer to a direction corresponding to the first offset angle, and the anti-peeping layer is disposed between the screen and the light-emitting layer.
[0108] In one possible implementation, the electronic device adjusts the light transmission direction of the anti-peeping layer to a direction corresponding to a first offset angle, specifically including: the electronic device determines a current value to be applied based on a relationship between the first offset angle and the current value; based on the current value to be applied, applies current to an energized coil in the anti-peeping layer to adjust the light transmission direction of the anti-peeping layer to a direction corresponding to the first offset angle.
[0109] For example, the relationship between the first offset angle and the current value can be expressed as the above formula 5. Substituting the first offset angle into θ in formula 5, the current value I2 (equivalent to the current value to be applied) can be obtained. After the electronic device determines I2, it applies a current of I2 to the energized coil in the anti-peeping layer. Then, after applying the current of I2, the energized coil generates a force to move the electrode substrate 1, thereby causing the electrode substrate 1 and the electrode substrate 2 to move relative to each other, and each liquid crystal unit between the electrode substrate 1 and the electrode substrate 2 is tilted by θ degrees. After each liquid crystal unit is tilted by θ degrees, the light transmission direction of the anti-peeping layer is also adjusted to the direction corresponding to θ degrees. When the human eye of the first person portrait is in the same light transmission direction as the anti-peeping layer, the person corresponding to the first person portrait can normally view the content on the screen.
[0110] For example, Figure 10 to Figure 12 These are some adjustment scenarios of the light transmission direction of the anti-peeping layer provided in the embodiments of the present application. When the anti-peeping function in the anti-peeping layer is turned on, each liquid crystal unit in the anti-peeping layer is opaque, and each opaque liquid crystal unit is represented by a black long rectangle. Fig.10 As shown, when θ=0 degrees, the inclination angle of each liquid crystal unit relative to the vertical screen direction is 0 degrees, the light transmission direction of the anti-peep layer is perpendicular to the screen direction, and the content on the screen can be viewed normally when the direction of the human eye is perpendicular to the screen direction. Fig.11As shown in the figure, when θ>0 degrees, each liquid crystal unit is tilted to the right by θ degrees relative to the vertical screen direction, and the light transmission direction of the privacy protection layer is in the direction tilted to the right by θ degrees relative to the vertical screen direction. When the human eye is in the direction tilted to the right by θ degrees relative to the vertical screen direction, the content on the screen can be viewed normally. Fig.12 As shown, when θ<0 degrees, each liquid crystal unit is tilted to the left by θ degrees relative to the vertical screen direction, and the light transmission direction of the anti-peep layer is in a direction tilted to the left by θ degrees relative to the vertical screen direction. When the human eye is tilted to the left by θ degrees relative to the vertical screen direction, the content on the screen can be viewed normally.
[0111] It should be noted that if the portraits of the people in front of the screen only include the first portrait, the above method can ensure that the first portrait can normally view the content on the screen when the eyes of the first portrait and the anti-peeping layer have the same light transmission direction. If the portraits of the people in front of the screen include the first portrait and the second portrait, since the first portrait and the second portrait cannot be in the same position, the above method can ensure that the first portrait can normally view the content on the screen and ensure that it is difficult for the second portrait to view the content on the screen when the eyes of the first portrait and the anti-peeping layer have the same light transmission direction.
[0112] The above describes the screen privacy protection method when the portrait corresponding to the person in front of the screen includes the first portrait. The following supplementary description describes the screen privacy protection method when the portrait corresponding to the person in front of the screen does not include the first portrait, but includes the second portrait:
[0113] In one possible implementation, if the portrait includes a second portrait and does not include the first portrait, the electronic device identifies the display scene of the screen; if the display scene is an interface of an application, the light transmission direction of the anti-peeping layer is adjusted based on the number of second portraits; if the display scene is a desktop, the screen is turned off.
[0114] In an embodiment of the present application, the electronic device may perform anti-peeping processing based on the display scene of the screen when the second portrait is recognized.
[0115] For example, when the display scene is to display the interface of an application, the user of the electronic device (such as the person corresponding to the pre-recorded portrait) is likely to temporarily leave the screen of the electronic device. When the user returns to the screen again, he may expect to continue to operate the application, so the electronic device needs to keep the screen displaying the interface of the application. For example, a user is conducting a video conference through an electronic device, and the screen of the electronic device displays the interface of the video conference. When the user leaves the screen of the electronic device halfway, the user does not expect to directly close the interface display of the video conference, and when he comes back, he operates the electronic device again to open the screen to display the interface of the video conference, so the electronic device needs to maintain the display of the interface of the video conference. At the same time, when the electronic device maintains the screen displaying the interface of the application, it needs to consider the protection of the second portrait. Therefore, the electronic device can adjust the light transmission direction of the anti-peeping layer based on the number of second portraits, so that the person in the second portrait cannot view the interface of the application.
[0116] When the display scene is to display the desktop, the user of the electronic device does not pay much attention to the desktop, and the user does not expect the desktop to remain displayed, so the screen can be directly turned off so that the person in the second portrait cannot view the desktop displayed on the screen. This method also reduces the power consumption of the electronic device by turning off the screen when implementing screen privacy protection.
[0117] It should be noted that the above two display scenes are divided for example only, and can be set according to user needs in specific implementation.
[0118] The following describes how the electronic device adjusts the light transmission direction of the anti-peeping layer based on the number of second portraits, thereby achieving screen privacy protection:
[0119] In a possible implementation, if the number of the second portrait is one, a second offset angle of the eye of the second portrait relative to a preset direction is determined; and the light transmission direction of the anti-peeping layer is adjusted to a direction other than the direction corresponding to the second offset angle.
[0120] The direction of the second offset angle may be determined by referring to the above method of determining the first offset angle.
[0121] The electronic device adjusts the light transmission direction of the anti-peeping layer to a direction other than the direction corresponding to the second offset angle, specifically including: if the second offset angle is greater than zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle less than zero degrees; if the second offset angle is less than zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle greater than zero degrees; if the second offset angle is equal to zero degrees, adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle greater than zero degrees, or adjusting the light transmission direction of the anti-peeping layer to the direction corresponding to the maximum offset angle less than zero degrees.
[0122] In the embodiment of the present application, the maximum offset angle refers to the corresponding offset angle when the electrode substrate 1 in the privacy protection layer moves to the left or right by the maximum distance, and the maximum offset angle is a specification parameter stored in the electronic device.
[0123] Depend on Fig. 9 It can be seen that when the direction corresponding to the second offset angle is to the right of the preset direction, the second offset angle is greater than zero degrees, so the light transmission direction of the anti-peeping layer is adjusted to the direction corresponding to the maximum offset angle to the left of the preset direction. If the direction corresponding to the second offset angle is to the left of the preset direction, the second offset angle is less than zero degrees, so the light transmission direction of the anti-peeping layer is adjusted to the direction corresponding to the maximum offset angle to the right of the preset direction. If the direction corresponding to the second offset angle is the same as the preset direction, the second offset angle is equal to zero degrees, so the light transmission direction of the anti-peeping layer can be adjusted to the direction corresponding to the maximum offset angle to the right / left of the preset direction. Based on this, the light transmission direction of the anti-peeping layer after adjustment cannot match the direction of the eyes of the second portrait, and it is difficult for the task corresponding to the second portrait to view the content on the screen, thereby achieving screen privacy protection.
[0124] Optionally, after the electronic device adjusts the light transmission direction of the anti-peeping layer to a direction other than the direction corresponding to the second offset angle, the electronic device may further reduce the display brightness of the screen. Based on this, the screen anti-peeping effect can be further improved.
[0125] In another possible implementation, if the number of the second portraits is two or more, the electronic device turns off the screen.
[0126] In the embodiment of the present application, since when the number of second portraits is two or more, no matter how the light transmission direction of the anti-peeping layer is adjusted, it is possible that the characters corresponding to one or more second portraits can view the content on the screen, so the screen can be directly turned off to achieve screen privacy protection.
[0127] It should be noted that the electronic device may not recognize the display scene of the screen. When it is determined that the portraits of the people in front of the screen do not include the first portrait but include the second portrait, the electronic device may directly perform screen privacy protection based on the number of the second portraits.
[0128] based on Figure 8 In the described embodiment, the electronic device can first identify a first person portrait that matches a pre-recorded person portrait, and then reasonably adjust the light transmission direction of the anti-peeping layer based on the eyes of the first person portrait, so that the light transmission direction of the anti-peeping layer after adjustment can match the direction of the eyes of the first person portrait, and the person corresponding to the first person portrait can normally view the content on the screen. It can be seen that this method can adjust the light transmission direction of the anti-peeping layer by following the eyes of the human eye to meet the anti-peeping needs in different directions.
[0129] Below through Fig.13 The implementation process of the above method embodiment is summarized as follows: Fig.13 13 is a schematic diagram of the overall process of a screen privacy protection method provided by an embodiment of the present application, including steps 1301 to 1308:
[0130] Step 1301: The electronic device turns on the anti-peeping function of the anti-peeping layer and stops energizing the outer coil of the electromagnet in the anti-peeping layer.
[0131] Step 1302: The electronic device obtains a portrait of the person in front of the screen.
[0132] After executing step 1302 , the electronic device may execute step 1303 , or execute step 1304 .
[0133] Step 1303: If the portrait includes the first portrait, the electronic device adjusts the light transmission direction of the anti-peeping layer to a direction corresponding to a first offset angle, where the first offset angle is an offset angle of the eyes of the first portrait relative to a preset direction.
[0134] Optionally, the portrait including the first portrait means that: the portrait includes the first portrait but does not include the second portrait, or the portrait includes the first portrait and the second portrait, and the number of the second portrait is one or more.
[0135] Step 1304: If the portrait includes the second portrait but does not include the first portrait, the electronic device identifies the display scene of the screen.
[0136] After executing step 1304 , the electronic device may execute step 1305 , or execute step 1306 .
[0137] Step 1305: If the screen display scene is displaying an application interface, the electronic device determines the number of second portraits.
[0138] After executing step 1305 , the electronic device may execute step 1307 or step 1308 .
[0139] Step 1306: If the screen display scene is displaying the desktop, the electronic device turns off the screen.
[0140] Step 1307: If there is only one second portrait, the electronic device adjusts the light transmission direction of the anti-peeping layer to a direction other than a direction corresponding to a second offset angle, where the second offset angle is an offset angle of the second portrait's eye relative to a preset direction.
[0141] Optionally, after executing step 1307, the electronic device may also reduce the display brightness of the screen.
[0142] Step 1308: If there are multiple second portraits, the electronic device turns off the screen.
[0143] Fig.13 The specific implementation methods of each step can be referred to Figure 8 The corresponding descriptions in the corresponding embodiments are not repeated here. Fig.13 In the described embodiment, after the anti-peeping function of the anti-peeping layer is turned on and the external coil of the electromagnet in the anti-peeping layer is stopped from being energized, the electronic device can perform screen peeping protection on the electronic device based on the acquired portrait in front of the screen, thereby ensuring the safety of the electronic device in use.
[0144] Below through Fig.14 The overall flow chart of another screen privacy protection method provided by an embodiment of the present application is introduced, and the method includes steps 1401 to 1409. Among them:
[0145] Step 1401: When the anti-peeping function of the anti-peeping layer is turned off and the external coil of the electromagnet in the anti-peeping layer is energized, the electronic device obtains a portrait of the person in front of the screen.
[0146] After executing step 1401 , the electronic device may execute step 1402 , or execute step 1403 .
[0147] Step 1402: If the portrait does not include the second portrait, the electronic device continues to turn off the anti-peeping function of the anti-peeping layer and performs screen display.
[0148] The portrait does not include the second portrait means that: the portrait of the person in front of the screen is not obtained (for example, there is no person in front of the screen), or the portrait includes the first portrait (for example, there is only a person corresponding to the first portrait in front of the screen). Since the portrait does not include the second portrait, the electronic device does not need to perform screen privacy protection, so the privacy protection function of the privacy protection layer can continue to be closed and the screen display can be performed.
[0149] Step 1403: If the portrait includes the second portrait, the electronic device activates the anti-peeping function of the anti-peeping layer and energizes the external coil of the electromagnet in the anti-peeping layer.
[0150] When the electronic device recognizes that the portraits in front of the screen include the second portrait, it indicates that the electronic device needs to perform screen privacy protection, and then the privacy protection function of the privacy protection layer is turned on.
[0151] Optionally, the electronic device may automatically activate the anti-peeping function of the anti-peeping layer when the portrait only includes the second portrait.
[0152] Optionally, when the portrait includes the second portrait and the first portrait, the electronic device may prompt the first portrait to enable the anti-peeping function of the anti-peeping layer.
[0153] The electronic device may enable the anti-peeping function of the anti-peeping layer in a manner as described in the above method embodiment. After executing step 1403 , the electronic device may execute step 1404 or step 1405 .
[0154] Step 1404: If the portrait includes the second portrait and the first portrait, the electronic device adjusts the light transmission direction of the anti-peeping layer to a direction corresponding to a first offset angle, where the first offset angle is an offset angle of the eyes of the first portrait relative to a preset direction.
[0155] Step 1405: If the portrait includes the second portrait but does not include the first portrait, the electronic device identifies the display scene of the screen.
[0156] After executing step 1405 , the electronic device may execute step 1406 , or execute step 1407 .
[0157] Step 1406: If the screen display scene is displaying an application interface, the electronic device determines the number of second portraits.
[0158] After executing step 1406 , the electronic device may execute step 1408 , or execute step 1409 .
[0159] Step 1407: If the screen display scene is displaying the desktop, the electronic device turns off the screen.
[0160] Step 1408: If there is only one second portrait, the electronic device adjusts the light transmission direction of the anti-peeping layer to a direction other than the direction corresponding to the second offset angle, where the second offset angle is an offset angle of the second portrait's eye relative to the preset direction.
[0161] Step 1409: If there are multiple second portraits, the electronic device turns off the screen.
[0162] For specific implementations of steps 1404 to 1409, please refer to Figure 8 The corresponding descriptions in the corresponding method embodiments are not repeated here.
[0163] based on Fig.14 In the described embodiment, when the electronic device recognizes that the portrait of the person in front of the screen does not include the second portrait, the anti-peeping function of the anti-peeping layer is kept turned off and the external coil of the electromagnet in the anti-peeping layer is continued to be energized, so that the content on the screen can be displayed normally without anti-peeping. After recognizing that the portrait of the person in front of the screen includes the second portrait, the anti-peeping function of the anti-peeping layer is turned on and the external coil of the electromagnet in the anti-peeping layer is stopped from being energized, so that the light transmission direction of the anti-peeping layer can be adjusted to achieve screen anti-peeping when the portrait of the person in front of the screen is in different situations. This method does not need to turn on the anti-peeping function all the time, and can turn on / off the anti-peeping function in real time according to the scene, which can effectively reduce the power consumption of the electronic device when the anti-peeping function is always turned on.
[0164] The following is an example of the hardware structure of the electronic device in the above method embodiment. Fig.15 , Fig.15 1 is a schematic diagram of the hardware structure of an electronic device proposed in the present application. By way of example, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0165] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0166] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0167] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0168] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the provided memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0169] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0170] The electronic device implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0171] The display screen 194 is used to display images, videos, etc. The display screen 194 includes the display panel in the above-mentioned embodiment. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicrOLED, Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0172] The electronic device can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0173] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy.
[0174] Video codecs are used to compress or decompress digital videos. Electronic devices can support one or more video codecs. In this way, electronic devices can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0175] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and continuously self-learn. NPU can realize applications such as intelligent cognition of electronic devices, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0176] The electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor, etc. For example, in the present application, the electronic device can play spatial audio.
[0177] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0178] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device can listen to music or listen to a hands-free call through the speaker 170A.
[0179] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0180] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting his mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device can be provided with at least one microphone 170C. In other embodiments, the electronic device can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and directional recording functions, etc.
[0181] The earphone jack 170D is used to connect a wired earphone.
[0182] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.
[0183] The gyro sensor 180B may be used to determine the motion posture of the electronic device. In some embodiments, the angular velocity of the electronic device around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
[0184] The air pressure sensor 180C is used to measure air pressure.
[0185] The magnetic sensor 180D includes a Hall sensor.
[0186] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 100.
[0187] Distance sensor 180F, used to measure distance. Electronic devices can measure distance through infrared or laser.
[0188] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
[0189] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.
[0190] The fingerprint sensor 180H is used to collect fingerprints.
[0191] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
[0192] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device, which is different from the position of the display screen 194.
[0193] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of a human vocal part.
[0194] The key 190 includes a power key, a volume key, etc. The key 190 can be a mechanical key or a touch key. The electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
[0195] The following is an example of the software structure of the electronic device in the above method embodiment. Fig.16 , Fig.16 It is a schematic diagram of the software structure of an electronic device proposed in this application.
[0196] The software structure adopts a layered architecture, which divides the software into several layers. Each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. Fig.16 As shown, taking the Android system, the Android system running on the AP as an example, in some embodiments, the Android system is divided into five layers, from top to bottom, namely, the application layer, the application framework layer (framework), the system library, the hardware abstraction layer (hardware abstraction layer, HAL) and the kernel layer (kernel).
[0197] Among them, the application layer can include a series of application packages. The application package can include APPs such as camera, gallery, calendar, call, map, WLAN, Bluetooth, music, video, short message, etc. The application layer can also include systemUI (system UI), which is used to display the interface of the electronic device, such as displaying the signal icon corresponding to the SIM card, displaying the call interface, etc. The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions. For example, the application framework layer may include a window manager, a content provider, a view system, a telephone manager (telephony), a resource manager, a notification manager, etc. The telephone manager is used to provide call functions for electronic devices, such as management of call status (including connecting, hanging up, etc.). The application framework layer can also include a wireless communication interface layer (radio interface layer, RIL), and the modem processor (modem) can interact with the telephony through the RIL.
[0198] The system library includes the Android runtime, surface manager, 3D graphics library, 2D graphics engine, and media library. The hardware abstraction layer (HAL) includes display HAL, camera HAL, audio HAL, and sensor HAL. The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, etc.
[0199] It should be understood that each step in the above method embodiment provided by the present application can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0200] The present application also provides an electronic device, which may include: a memory and a processor. The memory may be used to store a computer program, which includes program instructions; the processor may be used to call the program instructions in the memory, so that the electronic device executes the method in any one of the above embodiments.
[0201] The present application also provides a chip system, which includes at least one processor and an interface, wherein the interface is used to receive program instructions and transmit them to the at least one processor; the at least one processor runs the program instructions so that the electronic device executes the method described in the above method embodiment.
[0202] The chip system may be composed of the chip, or may include the chip and other discrete devices.
[0203] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0204] Optionally, the processor in the chip system can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor implemented by reading software code stored in a memory.
[0205] The present application also provides a computer program product, which includes a computer program. The computer program includes program instructions. When the program instructions are executed on an electronic device, the electronic device executes the method executed by the electronic device in any of the above embodiments.
[0206] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed, the electronic device executes the method executed by the electronic device in any of the above embodiments.
[0207] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.
[0208] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs, and the computer program includes program instructions. When the program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0209] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0210] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.
Claims
1. A screen privacy protection method, characterized in that: The method comprises: Get the portrait corresponding to the person in front of the screen; If the portrait includes a first portrait, determining a first offset angle of the eyes of the first portrait relative to a preset direction; the first portrait matches a pre-recorded portrait; the preset direction is a direction perpendicular to the center of the screen; The light transmission direction of the anti-peeping layer is adjusted to a direction corresponding to the first offset angle, and the anti-peeping layer is arranged between the screen and the light-emitting layer.
2. The method according to claim 1, characterized in that The step of adjusting the light transmission direction of the anti-peep layer to a direction corresponding to the first offset angle includes: Determining a current value to be applied based on a relationship between the first offset angle and the current value; Based on the current value to be applied, current is applied to the energized coil in the anti-peeping layer to adjust the light transmission direction of the anti-peeping layer to a direction corresponding to the first offset angle.
3. The method according to claim 1, characterized in that The method further comprises: If the portrait includes a second portrait, and the portrait does not include the first portrait, identifying the display scene of the screen; the second portrait does not match the pre-recorded portrait; If the display scene is an interface of a display application, adjusting the light transmission direction of the anti-peeping layer based on the number of the second portraits; If the display scene is displaying the desktop, the screen is turned off.
4. The method according to claim 3, characterized in that The adjusting the light transmission direction of the anti-peeping layer based on the number of the second portraits includes: If the number of the second portrait is one, determining a second offset angle of the eye of the second portrait relative to the preset direction; The light transmission direction of the anti-peep layer is adjusted to a direction other than the direction corresponding to the second offset angle.
5. The method according to claim 4, characterized in that The step of adjusting the light transmission direction of the anti-peep layer to a direction other than the direction corresponding to the second offset angle includes: If the second offset angle is greater than zero degrees, adjusting the light transmission direction of the anti-peep layer to a direction corresponding to a maximum offset angle less than zero degrees; If the second offset angle is less than zero degrees, adjusting the light transmission direction of the anti-peep layer to a direction corresponding to a maximum offset angle greater than zero degrees; If the second offset angle is equal to zero degrees, the light transmission direction of the anti-peeping layer is adjusted to a direction corresponding to a maximum offset angle greater than zero degrees, or the light transmission direction of the anti-peeping layer is adjusted to a direction corresponding to a maximum offset angle less than zero degrees; Among them, if the direction corresponding to the second offset angle is to the right relative to the preset direction, the second offset angle is greater than the zero degree; if the direction corresponding to the second offset angle is to the left relative to the preset direction, the second offset angle is less than the zero degree; if the direction corresponding to the second offset angle is the same as the preset direction, the second offset angle is equal to the zero degree.
6. The method according to claim 4 or 5, characterized in that: After adjusting the light transmission direction of the anti-peep layer to a direction other than the direction corresponding to the second offset angle, the method further includes: Reduce the display brightness of the screen.
7. The method according to claim 4, characterized in that The method further comprises: If the number of the second portraits is two or more, the screen is turned off.
8. The method according to claim 1, characterized in that Before obtaining the portrait corresponding to the person in front of the screen, the method further includes: Receiving an instruction to start an anti-peeping function; the anti-peeping function includes adjusting the light transmission direction of the anti-peeping layer; In response to the instruction, the anti-peeping function of the anti-peeping layer is enabled.
9. An electronic device, characterized in that: It comprises a memory and one or more processors; the memory is coupled to the one or more processors and is used to store a computer program, the computer program comprises program instructions; the one or more processors call the program instructions so that the electronic device executes the method as described in any one of claims 1-8.
10. A chip system, applied to electronic equipment, characterized in that: The chip system includes at least one processor and an interface, wherein the interface is used to receive program instructions and transmit them to the at least one processor; the at least one processor runs the program instructions so that the electronic device executes the method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that: The computer program comprises a computer program, wherein the computer program comprises program instructions, and when the program instructions are executed on an electronic device, the electronic device executes the method as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Anti-peeping method, device and terminal of mobile terminal
CN106657628A
Mobile terminal, anti-peeping method, anti-peeping device and computer readable storage medium
CN109949736A
Anti-peeping device and method and display screen
CN111190284A
Anti-peeping method of folding screen terminal and anti-peeping folding screen terminal
CN115097679A
Anti-peeping display screen, electronic equipment and anti-peeping method
CN115616820A