Screen privacy protection methods, electronic devices, chip systems and readable storage media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2026-08-14
AI Technical Summary
然而,防窥膜的防窥方向通常固定为垂直于屏幕的方向,因此用户在使用手机时必须正对屏幕
[0036]第五方面,本申请实施例提供了一种计算机可读存储介质,包括计算机程序,该计算机程序包括程序指令,当该程序指令在电子设备上运行时,使得该电子设备执行如第一方面或第一方面的任意一种可能实现方式所描述的方法。
Smart Images

Figure CN119575708B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a screen privacy protection method, electronic device, chip system, and readable storage medium. Background Technology
[0002] In daily life, privacy screen protectors can be used to improve phone security, thanks to their ultra-fine venetian blind optical technology. However, these protectors are typically positioned perpendicular to the screen, meaning users must be facing the screen directly. In certain situations where the user is not facing the screen, the privacy screen protector can still affect their ability to use the phone normally.
[0003] Therefore, current privacy screen protector solutions cannot meet users' privacy needs from different directions. How to meet these needs from various angles has become one of the urgent problems to be solved. Summary of the Invention
[0004] This application provides a screen privacy protection method, electronic device, chip system, and readable storage medium, which can meet the user's privacy protection needs in different directions by adjusting the light transmission direction of the privacy layer.
[0005] In a first aspect, embodiments of this application provide a screen privacy protection method, the method comprising:
[0006] Get the portrait of the person in front of the screen;
[0007] If the portrait includes the first portrait, then determine the first offset angle of the first portrait's eyes relative to the preset direction; the first portrait matches the pre-recorded portrait; the preset direction is a direction perpendicular to the center of the screen;
[0008] Adjust the light transmission direction of the privacy layer to the direction corresponding to the first offset angle, and place the privacy layer between the screen and the light-emitting layer.
[0009] The embodiment described in the first aspect allows for the identification of a first portrait that matches a pre-recorded image. Then, based on the first portrait's eye position, the light transmission direction of the privacy layer is adjusted so that it aligns with the direction of the first portrait's eye, enabling the person corresponding to the first portrait to view the screen content normally. Therefore, this method can adjust the light transmission direction of the privacy layer by following the viewer's eye, meeting privacy requirements from different directions.
[0010] In one possible implementation, adjusting the light transmission direction of the privacy 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; and applying current to the energized coil in the privacy layer based on the current value to be applied, so as to adjust the light transmission direction of the privacy layer to the direction corresponding to the first offset angle.
[0011] In this way, the current in the energized coil in the privacy 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 privacy layer.
[0012] In one possible implementation, the method further includes: if the portrait includes a second portrait and the portrait does not include a first portrait, then identify the display scene of the screen; if the second portrait does not match the pre-recorded portrait; if the display scene is displaying the interface of an application, then adjust the light transmission direction of the privacy layer based on the number of second portraits; if the display scene is displaying the desktop, then turn off the screen.
[0013] This method allows for privacy protection based on the screen's display context when a second image that doesn't match a pre-recorded image is detected. For example, when the display context is an application interface, the user (e.g., the person corresponding to the pre-recorded image) may be temporarily away from the screen. When they return, they might want to continue using the application. In this case, the privacy layer's light transmission direction can be adjusted based on the number of second images while maintaining the screen's display context to prevent peeping. When the display context is a desktop, the user is less focused on the desktop, so the screen can be turned off directly, achieving privacy protection.
[0014] In one possible implementation, adjusting the light transmission direction of the privacy layer based on the number of second portraits includes: if the number of second portraits is one, determining a second offset angle of the second portrait's eye relative to a preset direction; and adjusting the light transmission direction of the privacy layer to a direction other than the direction corresponding to the second offset angle.
[0015] In this way, the light transmission direction of the privacy layer can be reasonably adjusted based on the eyes of the second person, so that the light transmission direction of the privacy layer after adjustment cannot match the direction of the eyes of the second person. The person corresponding to the second person will have difficulty seeing the content on the screen, thus achieving screen privacy.
[0016] In one possible implementation, adjusting the light transmission direction of the privacy 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 privacy 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 privacy 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 privacy layer to the direction corresponding to the maximum offset angle greater than zero degrees, or adjusting the light transmission direction of the privacy 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 one possible implementation, after adjusting the light transmission direction of the privacy 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] This method allows for adjusting the light transmission direction of the privacy layer while reducing the screen's display brightness, making it more difficult for the person corresponding to the second image to see the content on the screen, thereby further improving the screen's privacy protection effect.
[0019] In one possible implementation, the method further includes turning off the screen if the number of second portraits is two or more.
[0020] Since when there are two or more second portraits, no matter how the light transmission direction of the privacy layer is adjusted, it is possible that one or more people corresponding to the second portraits can see the content on the screen, so the screen can be turned off directly to achieve screen privacy.
[0021] In one possible implementation, before obtaining the image of the person in front of the screen, the method further includes: receiving an instruction to enable the privacy function; the privacy function includes adjusting the light transmission direction of the privacy layer; and in response to the instruction, enabling the privacy function of the privacy layer.
[0022] This method allows the privacy function to be activated as needed, thereby automatically adjusting the light transmission direction of the privacy layer.
[0023] In a second aspect, embodiments of this application provide 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 invoke the program instructions, causing the electronic device to execute:
[0024] Get the portrait of the person in front of the screen;
[0025] If the portrait includes the first portrait, then determine the first offset angle of the first portrait's eyes relative to the preset direction; the first portrait matches the pre-recorded portrait; the preset direction is a direction perpendicular to the center of the screen;
[0026] Adjust the light transmission direction of the privacy layer to the direction corresponding to the first offset angle, and place the privacy layer between the screen and the light-emitting layer.
[0027] In one possible implementation, when the processor calls the program instruction to cause the electronic device to adjust the light transmission direction of the privacy layer to the direction corresponding to the first offset angle, the specific steps include: determining a current value to be applied based on the relationship between the first offset angle and the current value; and applying current to the energized coil in the privacy layer based on the current value to be applied, so as to adjust the light transmission direction of the privacy layer to the direction corresponding to the first offset angle.
[0028] In one possible implementation, the one or more processors, when invoking the program instructions, cause the electronic device to further perform: if the portrait includes a second portrait and the portrait does not include a first portrait, then identify the display scene of the screen; if the second portrait does not match a pre-recorded portrait; if the display scene is displaying an application interface, then adjust the light transmission direction of the privacy layer based on the number of second portraits; if the display scene is displaying a desktop, then turn off the screen.
[0029] In one possible implementation, when the processor calls the program instructions to cause the electronic device to adjust the light transmission direction of the privacy layer based on the number of second human images, it specifically includes: if the number of second human images is one, determining a second offset angle of the human eye of the second human image relative to a preset direction; and adjusting the light transmission direction of the privacy layer to a direction other than the direction corresponding to the second offset angle.
[0030] In one possible implementation, when the one or more processors call the program instruction to cause the electronic device to adjust the light transmission direction of the privacy layer to a direction other than the direction corresponding to the second offset angle, the specific steps include: if the second offset angle is greater than zero degrees, adjusting the light transmission direction of the privacy 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 privacy 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 privacy layer to the direction corresponding to the maximum offset angle greater than zero degrees, or adjusting the light transmission direction of the privacy 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 one possible implementation, after the processor or processor calls the program instructions to cause the electronic device to adjust the light transmission direction of the privacy layer to a direction other than the direction corresponding to the second offset angle, it also performs the following: reducing the display brightness of the screen.
[0032] In one possible implementation, the one or more processors, when invoking the program instructions, cause the electronic device to also perform the following: if the number of second portraits is two or more, then turn off the screen.
[0033] In one possible implementation, before the one or more processors call the program instructions to cause the electronic device to acquire the image of the person in front of the screen, they also perform: receiving an instruction to enable the privacy function; the privacy function includes adjusting the light transmission direction of the privacy layer; and in response to the instruction, enabling the privacy function of the privacy layer.
[0034] Thirdly, embodiments of this application provide a chip system applied to an electronic device. The chip system includes at least one processor and an interface for receiving program instructions and transmitting them to the at least one processor. The at least one processor executes the program instructions to cause the electronic device to perform the method described in the first aspect or any possible implementation of the first aspect.
[0035] Fourthly, embodiments of this application provide a computer program product comprising a computer program including program instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect or any possible implementation thereof.
[0036] Fifthly, embodiments of this application provide a computer-readable storage medium including a computer program, the computer program including program instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in the first aspect or any possible implementation thereof. Attached Figure Description
[0037] Figure 1 This is a schematic diagram of the structure of a display panel of an electronic device provided in an embodiment of this application;
[0038] Figure 2 This is a schematic diagram of the structure of a liquid crystal material layer provided in an embodiment of this application;
[0039] Figure 3 This is a light-transmitting schematic diagram of applying a voltage to a liquid crystal material layer according to an embodiment of this application;
[0040] Figure 4 This is a schematic diagram showing the mutual movement of electrode substrate 1 and electrode substrate 2 according to an embodiment of this application;
[0041] Figure 5 This is a schematic diagram of the back side of a liquid crystal material layer provided in an embodiment of this application;
[0042] Figure 6 This is a cross-sectional schematic diagram of a liquid crystal material layer provided in an embodiment of this application;
[0043] Figure 7 This is a schematic diagram of force analysis provided in an embodiment of this application;
[0044] Figure 8 This is a schematic flowchart of a screen privacy protection method provided in an embodiment of this application;
[0045] Figure 9 This is a schematic diagram of an offset angle provided in an embodiment of this application;
[0046] Figure 10 This is a schematic diagram of the light transmission direction of a privacy screen provided in an embodiment of this application;
[0047] Figure 11 This is a schematic diagram of the light transmission direction of another privacy screen provided in an embodiment of this application;
[0048] Figure 12 This is a schematic diagram of the light transmission direction of another privacy screen provided in the embodiments of this application;
[0049] Figure 13 This is a schematic diagram of the overall process of a screen privacy protection method provided in an embodiment of this application;
[0050] Figure 14This is a schematic diagram of the overall process of another screen privacy protection method provided in the embodiments of this application;
[0051] Figure 15 This is a schematic diagram of the hardware structure of an electronic device proposed in an embodiment of this application;
[0052] Figure 16 This is a schematic diagram of the software structure of an electronic device proposed in an embodiment of this application. Detailed Implementation
[0053] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0054] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0055] The following is a description of the terminology used in the embodiments of this application:
[0056] Polarization: Light is a transverse wave, a wave whose vibration direction is perpendicular to its propagation direction. Normally, natural light propagates in all directions, and its vibration directions are randomly distributed. Polarization refers to a type of natural light whose vibration direction is fixed; this type of light is also called polarized light, or light rays in this fixed-direction polarization state. For example, light rays whose vibration direction is perpendicular and whose propagation direction is in all directions are called vertically polarized light rays; light rays whose vibration direction is horizontal and whose propagation direction is in all directions are called horizontally polarized light rays.
[0057] The structure of the display panel of the electronic device involved in this application is described below.
[0058] Figure 1 This is a schematic diagram of the structure of a display panel of an electronic device provided in an embodiment of this application. Wherein, as... Figure 1As shown, the display panel 101 of the electronic device includes, from the inside out, a reflective backplate, a light-emitting layer electrode 1, a light-emitting layer, a light-emitting layer electrode 2, and a screen. 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 that propagates in all directions; the reflective backplate is used to reflect the received light back to improve optical efficiency; the screen is used to receive light and emit it to the eyes of the person in front of the screen so that the person in front of the screen can see the displayed image. Based on the structure of the display panel 101, the eyes of people located in all directions in front of the screen can receive the light emitted by the screen, thus making screen privacy impossible. Furthermore, privacy-prevention solutions based on privacy films involve attaching a privacy film to the outside of the screen in the display panel 101. The privacy film has a fixed privacy direction, which cannot meet the privacy needs of users in different directions.
[0059] To address the aforementioned shortcomings, this application proposes a display panel 102, which is obtained by adding a privacy layer between the light-emitting electrode 2 in the display panel 101 and the screen. For example... Figure 1 As shown, the display panel 102, from the inside out, includes at least a reflective backplate, a light-emitting layer electrode 1, a light-emitting layer, a light-emitting layer electrode 2, a privacy layer, and a screen. The privacy layer includes a liquid crystal material layer and a polarizing film. The polarizing film has a perpendicular polarization direction, meaning that perpendicularly polarized light can pass through the polarizing film normally, while non-perpendicularly polarized light cannot pass through it. Figure 2 As shown, Figure 2 This is a schematic diagram of a liquid crystal material layer provided in an embodiment of this application. The liquid crystal material layer includes an electrode substrate 1, a liquid crystal veil structure, and an electrode substrate 2. The electrode substrate 2 is wider than the electrode substrate 1, and the electrode substrate 1 is located below the electrode substrate 2 (i.e., the electrode substrate 1 is closer to the light-emitting electrode 2, and the electrode substrate 2 is closer to the polarizing film). The liquid crystal veil structure includes at least one liquid crystal cell and at least one dielectric connection structure. The portion between any two adjacent liquid crystal cells is air. Each liquid crystal cell is made of liquid crystal material, and each liquid crystal cell is connected to the electrode substrate 1 through an upper dielectric connection structure and to the electrode substrate 2 through a lower dielectric connection structure. The connection between the dielectric connection structure and the electrode substrate 1 or electrode substrate 2 is a fixed connection, while the connection between the dielectric connection structure and the liquid crystal cell is a non-fixed connection.
[0060] Electrode substrate 1 and electrode substrate 2 in the liquid crystal material layer are used to adjust the polarization state of light transmitted through the liquid crystal cell. For example, such as... Figure 3As shown, taking a liquid crystal cell as an example, when no voltage is applied to electrode substrates 1 and 2, the liquid crystal cell can transmit vertically polarized light but cannot transmit non-vertically polarized light. When voltage is applied to electrode substrates 1 and 2, the liquid crystal cell can transmit horizontally polarized light but cannot transmit non-horizontally polarized light. Since the polarization direction of the polarizing film is vertical, when no voltage is applied to electrode substrates 1 and 2, vertically polarized light emitted from the liquid crystal cell can pass through the polarizing film normally; when voltage is applied to electrode substrates 1 and 2, horizontally polarized light emitted from the liquid crystal cell cannot pass through the polarizing film. Simultaneously, regardless of whether voltage is applied to electrode substrates 1 and 2, the polarization state of light emitted through the air between any two adjacent liquid crystal cells does not change. Therefore, among the light emitted through the air between any two adjacent liquid crystal cells, vertically polarized light can pass through the polarizing film.
[0061] Therefore, when no voltage is applied to the liquid crystal material layer in the privacy layer, the privacy layer can normally transmit vertically polarized light. The propagation direction of vertically polarized light can be in any direction. This application refers to this situation as the privacy layer not having a privacy function. When a voltage is applied to the liquid crystal material layer in the privacy layer, the privacy layer becomes a veil structure with a privacy function. In this case, vertically polarized light emitted from the liquid crystal cells in the liquid crystal material layer of the privacy layer cannot pass through the polarization film, while vertically polarized light emitted from the air can pass through the polarization film normally.
[0062] When the privacy function of the privacy layer is enabled (i.e., when voltage is applied to the liquid crystal material layer), the tilt angle of the liquid crystal cell can be controlled based on the relative movement of electrode substrate 1 and electrode substrate 2 in the liquid crystal material layer, thereby achieving screen privacy in all directions.
[0063] For example, such as Figure 4 As shown, in case 401, there is no relative movement between electrode substrate 1 and electrode substrate 2. In this case, each liquid crystal cell is perpendicular to electrode substrate 1 / electrode substrate 2. When the privacy function of the privacy layer is turned on, the light emitted through the air between adjacent liquid crystal cells and the light propagating in a direction perpendicular to electrode substrate 2 is blocked the least. Therefore, when the human eye is facing the screen directly, it can normally view the screen content, while it is more difficult for the human eye in other directions to view the screen content.
[0064] exist Figure 4In scenario 402, electrode substrate 2 is fixed, and electrode substrate 1 is moved to the left by Δ. As electrode substrate 1 moves to the left, it causes each dielectric connection structure fixedly connected to electrode substrate 1 to move synchronously to the left. Since the connection between each dielectric connection structure and the liquid crystal material is not fixed, each liquid crystal material tilts to the left. When the privacy function of the privacy layer is activated, light emitted through the air between adjacent liquid crystal cells, and whose propagation direction is parallel to the tilted liquid crystal cells, is least blocked. Therefore, when the human eye is in a direction parallel to the tilted liquid crystal cells, it can normally view the screen content; however, it is more difficult for the human eye in other directions to view the screen content.
[0065] The following describes how this application achieves the relative movement of electrode substrate 1 and electrode substrate 2:
[0066] Figure 5 This is a schematic diagram of the back side of a liquid crystal material layer provided in an embodiment of this application. The electrode substrate 1 has four protrusions that interact with an electromagnet and a current-carrying coil, respectively. For example, the top and bottom protrusions of the electrode substrate 1 interact with the electromagnet, and the two left protrusions of the electrode substrate 1 interact with the current-carrying coil.
[0067] Figure 6 This is a cross-sectional schematic diagram of a liquid crystal material layer provided in an embodiment of this application. In this embodiment, the energized coil acting on the electrode substrate 1 is connected to the electrode substrate 2 through a support rod. The left and right movement of the electrode substrate 1 can be controlled by applying different magnitudes of current to the energized coil. 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 guide rail. The lower end of the metal guide rail is fixed to the electrode substrate 2, and the electromagnet acting on the electrode substrate 1 consists of an outer coil and an inner iron core.
[0069] When the external coil of the electromagnet is energized, it generates a magnetic field inside, magnetizing the inner iron core. The electromagnet then adheres to the metal rail and remains fixed. Since the electromagnet is fixed to electrode base plate 1, and the metal rail is fixed to electrode base plate 2, when the electromagnet is fixed to the metal rail, electrode base plates 1 and 2 remain fixed, and relative movement between them is impossible.
[0070] When the external coil of the electromagnet is not energized, the electromagnet can move between baffles 1 and 2 in the metal guide rail. Therefore, when the electrode substrate 2 remains fixed, the electrode substrate 1 can move and drive the electromagnet to move between the metal guide rail, thereby realizing the relative movement of electrode substrate 1 and electrode substrate 2.
[0071] Therefore, when the privacy function of the privacy shield is not activated, the phase positions of electrode substrate 1 and electrode substrate 2 can be fixed by energizing the external coil in the electromagnet. When the privacy function of the privacy shield is activated, the energizing of the external coil in the electromagnet can be stopped, allowing electrode substrate 1 to move. During this movement, electrode substrate 1 can drive the electromagnet acting on it to move within the section between baffles 1 and 2 in the metal guide rail. The positions of baffles 1 and 2 correspond to the maximum distance that electrode substrate 1 can move.
[0072] Optionally, in this embodiment, the privacy layer's privacy function can be controlled by whether or not a voltage is applied to the liquid crystal material layer. Applying voltage to the liquid crystal material layer corresponds to enabling the privacy function, while not applying voltage corresponds to disabling the privacy function.
[0073] Optionally, when the privacy layer is activated, the electrode substrate 1 can be moved by stopping the energization of the external coil in the electromagnet, and the movement of the electrode substrate 1 can be controlled by applying different amounts of current to the energized coil.
[0074] The following describes how this application controls the movement of the electrode substrate 1 by means of the current in the energized coil:
[0075] For example, after applying voltage to the liquid crystal material layer of the privacy shield, the privacy shield activates its privacy function. Assume that after applying voltage to the liquid crystal material layer, the current in electrode substrate 1 and electrode substrate 2 within the liquid crystal material layer is I1. Furthermore, at this time, the external coil of the electromagnet on electrode substrate 1 is not energized, so electrode substrate 1 is in a movable state. If electrode substrate 1 moves to the left by Δ, it experiences a leftward moving force F. Simultaneously, electrode substrate 1 experiences gravity F2 and the supporting force F1 from the outer rail of the metal guide rail. Since electrode substrate 1 is below electrode substrate 2 and closer to the light-emitting electrode 2, if the electronic device screen is placed face up on a table, the direction of gravity F2 on electrode substrate 1 is as follows... Figure 7 The direction shown is towards electrode substrate 1, not towards electrode substrate 2; and because electrode substrate 1 is connected to an electromagnet, which is supported by the outer side of the metal rail, electrode substrate 1 is also subjected to this supporting force F1. Specifically, the moving force F on electrode substrate 1 can be obtained from the following formula 1:
[0076] F=BI1l (Formula 1)
[0077] In Formula 1, B is the magnetic induction intensity generated by the energized coil 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 from the following Formula 2:
[0079] B = μnI² (Formula 2)
[0080] In Formula 2, μ is the permeability, n is the number of turns of the energized coil acting on electrode substrate 1, and I2 is the current applied to the energized coil.
[0081] Substituting Equation 2 into Equation 1, the moving force F on the electrode substrate 1 can be further obtained from Equation 3 below:
[0082] F=μnI1I2l (Formula 3)
[0083] Furthermore, by Figure 7 It can be seen that when the tilt angle of the liquid crystal cell is θ, the relationship between the gravitational force F2 and the moving force F on the electrode substrate 1 can be referred to the following formula:
[0084] F = F²tan(θ) (Formula 4)
[0085] In Formula 4, the gravitational force F2 acting on electrode substrate 1 is F2 = βmg, where β is the gravitational factor, m is the mass of electrode substrate 1, and g is the gravitational acceleration. θ represents the velocity of the liquid crystal cell relative to the electrode substrate 1 after it has moved. Figure 7 The angle at which the dashed line is tilted.
[0086] Combining formulas 3 and 4, the relationship between the applied current I2 and θ can be obtained by referring to the following formula 5:
[0087]
[0088] Among them, such as Figure 7 As shown, when the angle of deviation of the human eye relative to the direction of the dotted line is the same as θ, the human eye can normally see the content on the screen. However, the human eye in other directions has difficulty seeing the screen due to the obstruction of the liquid crystal unit. Therefore, the θ 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, thereby enabling the privacy layer to achieve screen privacy protection.
[0089] Based on the above description, the following will be conducted... Figure 8 The screen privacy protection method provided in the embodiments of this application will be described in detail below:
[0090] Please see Figure 8 , Figure 8 This is a flowchart illustrating a screen privacy protection method provided in an embodiment of this application, which includes steps 801 to 803. Figure 8The method shown can be executed by an electronic device or a chip within an electronic device. The following explanation uses an electronic device as the execution subject. Specifically:
[0091] Step 801: The electronic device acquires the image of the person in front of the screen.
[0092] In this application, an electronic device can obtain the image of a person in front of the screen by performing facial recognition. For example, the facial recognition can be implemented based on the front-facing camera of the electronic device, or it can be implemented based on 3D structured light technology, etc., and this application does not limit it in this way.
[0093] In one possible implementation, the electronic device receives a command to enable the privacy function before acquiring the image of the person in front of the screen; the privacy function includes adjusting the light transmission direction of the privacy layer; in response to the command, the privacy function of the privacy layer is enabled.
[0094] The privacy layer is positioned between the screen and the light-emitting layer of the electronic device, and includes a liquid crystal material layer and a polarizing film. For example, a detailed description of the privacy layer can be found above. Figures 1-6 Introduction.
[0095] In this embodiment, the electronic device, upon receiving an instruction, can activate the privacy function of the privacy layer by applying voltage to the electrode substrates 1 and 2 in the liquid crystal material layer. As described above, after applying voltage, the privacy layer functions like a venetian blind. Light emitted from the liquid crystal cells within the privacy layer cannot pass through the polarizing film, effectively making the liquid crystal cells opaque, while light emitted from the air between adjacent liquid crystal cells can pass through the polarizing film, making the air between the liquid crystal cells transparent. Therefore, the privacy layer provides a privacy function.
[0096] Optionally, after activating the privacy function, the electronic device must also stop energizing the external coil of the electromagnet on the electrode substrate 1 in the privacy layer, thereby allowing the electrode substrate 1 to move. The light transmission direction of the privacy layer can be adjusted by controlling the movement of the electrode substrate 1.
[0097] In one possible implementation, before performing facial recognition, the electronic device needs to obtain user authorization to enable facial recognition, thereby ensuring the security of the acquired image data. For example, after receiving permission to activate the front-facing camera, the electronic device activates the front-facing camera and captures an image of the person in front of the screen. Alternatively, after receiving permission for 3D structured light imaging, the electronic device emits invisible light and then constructs an image of the person in front of the screen by receiving the reflected light from the person.
[0098] Step 802: If the portrait includes the first portrait, the electronic device determines the first offset angle of the first portrait's eye relative to the preset direction. The first portrait matches the pre-recorded portrait, and the preset direction is the direction perpendicular to the center of the screen.
[0099] In one possible implementation, the electronic device may perform a step of pre-recording the human image and calibrating the preset orientation before performing step 801.
[0100] The pre-recorded portraits are portraits of people who do not require privacy protection, for example, portraits of people who have access to electronic devices can be pre-recorded.
[0101] The method for calibrating the preset direction is as follows: After the privacy function of the privacy layer is activated on the electronic device, electrode substrate 1 and electrode substrate 2 in the privacy layer are kept relatively fixed, and each liquid crystal cell in the privacy layer is not tilted, with each liquid crystal cell perpendicular to electrode substrate 1 / electrode substrate 2. Then, a person who does not need privacy continuously moves their eye position until their eye is moved to the direction in which they can most clearly see the screen content. Since the light transmission direction of the privacy layer is perpendicular to the screen direction when each liquid crystal cell is not tilted, the eye can most clearly see the screen content when it is perpendicular to the center of the screen. After obtaining the direction in which the eye can most clearly see the screen content, this eye position is saved as the preset direction.
[0102] In this embodiment of the application, the electronic device can match the image of the person in front of the screen with a pre-recorded image after obtaining the image of the person in front of the screen. When the image of the person in front of the screen includes a first image, and the first image matches a pre-recorded image, it indicates that the person corresponding to the first image is a person for whom privacy protection is not required.
[0103] Optionally, if the image of the person in front of the screen only includes the first image, then the electronic device needs to ensure that the person corresponding to the first image can normally see the content on the screen.
[0104] Optionally, the image of the person in front of the screen includes a first image and a second image, and the second image does not match the pre-recorded image. There can be one or more second images. When the second image does not match the pre-recorded image, the person corresponding to the second image is the person who needs to be protected from peeping. Therefore, the electronic device needs to ensure that the person corresponding to the first image can view the content on the screen normally, while also ensuring that the person corresponding to the second image has difficulty viewing the content on the screen normally.
[0105] In this embodiment of the application, after the electronic device identifies the first portrait from the portrait of the person in front of the screen, it can determine the first offset angle of the first portrait's eye relative to a preset direction.
[0106] Please see Figure 9 , Figure 9 This is a schematic diagram illustrating an offset angle provided in an embodiment of this application. For example... Figure 9 As shown, the preset direction is the direction indicated by the dashed line, and the offset angle is θ. When the direction of the viewer's eye is the same as the preset direction, θ = 0 degrees; when the direction of the viewer's eye is to the right of the preset direction, θ > 0 degrees; when the direction of the viewer's eye is to the right of the preset direction, θ < 0 degrees. Based on Figure 9 The description states that the electronic device determines the first offset angle to be zero degrees, greater than zero degrees, or less than zero degrees based on the relationship between the eyes of the first human figure and the preset direction.
[0107] Step 803: The electronic device adjusts the light transmission direction of the privacy layer to the direction corresponding to the first offset angle, and the privacy layer is placed between the screen and the light-emitting layer.
[0108] In one possible implementation, the method by which the electronic device adjusts the light transmission direction of the privacy layer to the direction corresponding to the first offset angle specifically includes: the electronic device determining the current value to be applied based on the relationship between the first offset angle and the current value; and applying current to the energized coil in the privacy layer based on the current value to be applied, so as to adjust the light transmission direction of the privacy layer to the 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 Equation 5 above. Substituting the first offset angle into θ in Equation 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 energizing coil in the privacy layer. Then, after applying the current I2, the energizing coil generates a force that drives the electrode substrate 1 to move, thereby causing the electrode substrate 1 and electrode substrate 2 to move relative to each other. The liquid crystal cells between the electrode substrate 1 and electrode substrate 2 are tilted by an angle θ. After the liquid crystal cells are tilted by an angle θ, the light transmission direction of the privacy layer is also adjusted to the direction corresponding to angle θ. When the light transmission direction of the first person's eyes is the same as that of the privacy layer, the person corresponding to the first person's image can normally see the content on the screen.
[0110] For example, Figures 10-12 These are some scenarios for adjusting the light transmission direction of the privacy layer provided in the embodiments of this application. When the privacy function is enabled in the privacy layer, each liquid crystal cell in the privacy layer is opaque, and each opaque liquid crystal cell is represented by a black long rectangle. Figure 10 As shown, when θ = 0 degrees, the tilt angle of each liquid crystal unit relative to the vertical screen direction is 0 degrees, the light transmission direction of the privacy layer is perpendicular to the screen, and the content on the screen can be viewed normally when the direction of the human eye is perpendicular to the screen. Figure 11As shown, when θ > 0 degrees, each liquid crystal unit is tilted θ degrees to the right relative to the vertical screen direction. The light transmission direction of the privacy layer is in the direction tilted θ degrees to the right relative to the vertical screen direction. When the human eye is tilted θ degrees to the right relative to the vertical screen direction, the content on the screen can be viewed normally. Figure 12 As shown, when θ < 0 degrees, each liquid crystal unit is tilted to the left by θ degrees relative to the vertical screen direction. The light transmission direction of the privacy layer is the 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 image of the person in front of the screen only includes the first person, the above method ensures that the person in the first person's eyes can normally view the content on the screen when the light transmission direction of the privacy layer is the same. If the image of the person in front of the screen includes both the first and second people, since the first and second people cannot be in the same position, the above method ensures that the person in the first person's eyes can normally view the content on the screen when the light transmission direction of the privacy layer is the same, while making it difficult for the person in the second person's screen to see the content on the screen.
[0112] The above describes screen privacy protection methods that include the first portrait of the person in front of the screen. Below is a supplementary explanation of screen privacy protection methods that exclude the first portrait but include the second portrait:
[0113] In one possible implementation, if the portrait includes a second portrait but does not include a first portrait, the electronic device identifies the display scene of the screen; if the display scene is displaying the interface of an application, the light transmission direction of the privacy layer is adjusted based on the number of second portraits; if the display scene is displaying the desktop, the screen is turned off.
[0114] In this embodiment of the application, the electronic device can perform anti-peeping processing based on the screen display scene when a second human image is detected.
[0115] For example, when displaying an application interface, the user of the electronic device (e.g., a person corresponding to a pre-recorded image) may temporarily leave the screen. When the user returns, they may want to continue operating the application; therefore, the electronic device needs to maintain the application interface on the screen. For instance, when a user is conducting a video conference, the screen displays the video conference interface. If the user leaves the screen midway, they don't expect to immediately close the video conference interface and then reopen it upon returning; therefore, the electronic device needs to maintain the video conference interface display. Simultaneously, while maintaining the application interface, the electronic device needs to consider privacy for second images. Therefore, the electronic device can adjust the light transmission direction of the privacy layer based on the number of second images, preventing the person in the second image from seeing the application interface.
[0116] When the display scenario is the desktop, users of electronic devices pay little attention to it and do not expect it to remain displayed. Therefore, the screen can be turned off directly, preventing the person in the second portrait from seeing the desktop displayed on the screen. This method also reduces the power consumption of electronic devices by turning off the screen when implementing screen privacy.
[0117] It should be noted that the above two display scenario divisions are only examples. In actual implementation, they can be customized according to user needs.
[0118] The following describes how electronic devices adjust the light transmission direction of the privacy layer based on the number of second human images, thereby achieving screen privacy:
[0119] In one possible implementation, if there is only one second human image, then the second offset angle of the second human image's eye relative to a preset direction is determined; the light transmission direction of the privacy layer is adjusted to a direction other than the direction corresponding to the second offset angle.
[0120] The direction for determining the second offset angle can be determined in the same way as the method described above for determining the first offset angle.
[0121] The method by which an electronic device adjusts the light transmission direction of a privacy screen 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 privacy screen 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 privacy screen 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 privacy screen to the direction corresponding to the maximum offset angle greater than zero degrees, or adjusting the light transmission direction of the privacy screen to the direction corresponding to the maximum offset angle less than zero degrees.
[0122] In this embodiment, the maximum offset angle refers to the offset angle corresponding to the electrode substrate 1 in the privacy layer moving the maximum distance to the left or right. The maximum offset angle is a specification parameter stored in the electronic device.
[0123] Depend on Figure 9 It can be seen that when 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. Therefore, the light transmission direction of the privacy layer is adjusted to the direction corresponding to the maximum offset angle to the left relative to the preset direction. 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. Therefore, the light transmission direction of the privacy layer is adjusted to the direction corresponding to the maximum offset angle to the right relative to 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. Therefore, the light transmission direction of the privacy layer can be adjusted to the direction corresponding to the maximum offset angle to the right / left relative to the preset direction. Based on this, the light transmission direction of the privacy layer after adjustment cannot match the direction of the second person's eyes, making it difficult for the person corresponding to the second person to see the content on the screen, thus achieving screen privacy.
[0124] Optionally, after adjusting the light transmission direction of the privacy layer to a direction other than the direction corresponding to the second offset angle, the electronic device can also reduce the display brightness of the screen. Based on this, the screen privacy protection effect can be further improved.
[0125] In another possible implementation, if the number of second portraits is two or more, the electronic device turns off the screen.
[0126] In this embodiment, since when there are two or more second portraits, the light transmission direction of the privacy layer may allow one or more people corresponding to the second portraits to see the content on the screen no matter how the light transmission direction of the privacy layer is adjusted, the screen can be turned off directly to achieve screen privacy.
[0127] It should be noted that electronic devices can also prevent screen peeping without recognizing the display scene of the screen. When it is determined that the image of the person in front of the screen does not include the first image but includes the second image, the electronic device can directly perform screen peeping based on the number of the second image.
[0128] based on Figure 8 In the described embodiment, the electronic device can first identify a first image that matches a pre-recorded image, and then adjust the light transmission direction of the privacy layer based on the eyes of the first image, so that the adjusted light transmission direction of the privacy layer matches the direction of the eyes of the first image, allowing the person corresponding to the first image to view the content on the screen normally. Therefore, this method can adjust the light transmission direction of the privacy layer by following the human eye, meeting privacy requirements from different directions.
[0129] The following is through Figure 13 The implementation process of the above method embodiments will be summarized and described. Figure 13 This is a schematic flowchart of a screen privacy protection method provided in an embodiment of this application, including steps 1301 to 1308:
[0130] Step 1301: The electronic device activates the privacy function of the privacy layer and stops energizing the external coil of the electromagnet in the privacy layer.
[0131] Step 1302: The electronic device acquires the image of the person in front of the screen.
[0132] After performing step 1302, the electronic device may perform step 1303 or step 1304.
[0133] Step 1303: If the portrait includes the first portrait, the electronic device adjusts the light transmission direction of the privacy layer to the direction corresponding to the first offset angle, where the first offset angle is the offset angle of the first portrait's eye relative to the preset direction.
[0134] Optionally, "portrait including first portrait" means: the portrait includes the first portrait but does not include the second portrait, or the portrait includes both the first portrait and the second portrait, wherein 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 performing step 1304, the electronic device may perform step 1305 or step 1306.
[0137] Step 1305: If the screen display scene is an application interface, the electronic device determines the number of second portraits.
[0138] After performing step 1305, the electronic device may perform step 1307 or step 1308.
[0139] Step 1306: If the screen display scenario is desktop display, the electronic device turns off the screen.
[0140] Step 1307: If there is only one second human image, the electronic device will adjust the light transmission direction of the privacy layer to a direction other than the direction corresponding to the second offset angle. The second offset angle is the offset angle of the human eye of the second human image relative to the preset direction.
[0141] Optionally, after performing step 1307, the electronic device may also reduce the screen's display brightness.
[0142] Step 1308: If there are multiple second portraits, the electronic device will turn off its screen.
[0143] Figure 13 For the specific implementation details of each step, please refer to [link / reference]. Figure 8 The corresponding descriptions in the implementation examples are not repeated here. Figure 13 In the described embodiment, after the privacy function of the privacy layer is activated and the external coil of the electromagnet in the privacy layer is stopped, the electronic device can perform screen privacy protection based on the acquired image of a person in front of the screen, thereby ensuring the security of the electronic device.
[0144] The following is through Figure 14 This application provides an embodiment of another screen privacy protection method, which includes steps 1401 to 1409.
[0145] Step 1401: When the privacy function of the privacy layer is turned off and the external coil of the electromagnet in the privacy layer is energized, the electronic device acquires the image of the person in front of the screen.
[0146] After performing step 1401, the electronic device may perform step 1402 or step 1403.
[0147] Step 1402: If the image does not include a second image, the electronic device continues to disable the privacy function of the privacy layer and displays the screen.
[0148] In this context, "the image does not include the second image" means either that the image of the person in front of the screen is not captured (e.g., there is no person in front of the screen), or that the image includes the first image (e.g., only the person corresponding to the first image is in front of the screen). Since the electronic device does not need to perform screen privacy protection when the image does not include the second image, it can continue to maintain the privacy protection function of the privacy layer being turned off and continue to display the screen.
[0149] Step 1403: If the image includes a second image, the electronic device activates the privacy function of the privacy layer and energizes the external coil of the electromagnet in the privacy layer.
[0150] When an electronic device recognizes a human image, including a second human image, in front of the screen, it indicates that the electronic device needs to perform screen privacy protection, and the privacy protection function of the privacy layer is activated.
[0151] Optionally, the electronic device can automatically activate the privacy function of the privacy layer when the portrait only includes the second portrait.
[0152] Optionally, the electronic device may prompt the first person to enable the privacy function of the privacy layer when the portrait includes both the second and first portraits.
[0153] The method for activating the privacy shield function of an electronic device can be referred to the description in the above method embodiments. After performing step 1403, the electronic device may perform step 1404 or step 1405.
[0154] Step 1404: If the portrait includes a second portrait and a first portrait, the electronic device adjusts the light transmission direction of the privacy layer to the direction corresponding to the first offset angle. The first offset angle is the offset angle of the first portrait's eye relative to the 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 performing step 1405, the electronic device may perform step 1406 or step 1407.
[0157] Step 1406: If the screen display scene is an application interface, the electronic device determines the number of second portraits.
[0158] After performing step 1406, the electronic device may perform step 1408 or step 1409.
[0159] Step 1407: If the screen display scenario is desktop display, the electronic device turns off the screen.
[0160] Step 1408: If there is only one second human image, the electronic device will adjust the light transmission direction of the privacy layer to a direction other than the direction corresponding to the second offset angle. The second offset angle is the offset angle of the human eye of the second human image relative to the preset direction.
[0161] Step 1409: If there are multiple second portraits, the electronic device will turn off its screen.
[0162] For the specific implementation of steps 1404 to 1409, please refer to [the relevant documentation / reference]. Figure 8 The corresponding descriptions in the implementation examples are not repeated here.
[0163] based on Figure 14 In the described embodiment, when the electronic device detects that the image of a person in front of the screen does not include a second image, it keeps the privacy function of the privacy layer off and continues to energize the external coil of the electromagnet in the privacy layer, thereby displaying the content on the screen normally without privacy protection. After detecting that the image of a person in front of the screen includes a second image, the privacy function of the privacy layer is turned on and the energization of the external coil of the electromagnet in the privacy layer is stopped. This allows the light transmission direction of the privacy layer to be adjusted, achieving screen privacy protection when the image of the person in front of the screen is different. This method eliminates the need to keep the privacy function constantly on, allowing it to be turned on / off in real time according to the scenario, effectively reducing the power consumption of the electronic device when the privacy function is always on.
[0164] The hardware structure of the electronic device in the above method embodiments is illustrated below. Please refer to... Figure 15 , Figure 15 This is a schematic diagram of the hardware structure of an electronic device proposed in this application. For 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, antenna 1, 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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 understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0166] The processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (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). These different processing units may be independent devices or integrated into one or more processors.
[0167] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0168] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the cache memory. This avoids repeated accesses, 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. Interfaces 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] Electronic devices implement display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0171] Display screen 194 is used to display images, videos, etc. Display screen 194 includes the display panel described in the above embodiments. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-OLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N displays 194, where N is a positive integer greater than 1.
[0172] Electronic devices can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0173] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when an electronic device is selecting a frequency, a DSP can perform a Fourier transform on the frequency energy.
[0174] Video codecs are used to compress or decompress digital video. Electronic devices can support one or more video codecs. This allows the electronic device to play or record video in various encoded formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0175] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0176] The electronic device can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor. For example, in this application, the electronic device can play spatial audio.
[0177] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0178] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. Electronic devices can listen to music or make hands-free calls through the speaker 170A.
[0179] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When an electronic device answers a phone call or voice message, the receiver 170B can be brought close to the ear to hear the voice.
[0180] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. An electronic device can have at least one microphone 170C. In some embodiments, the electronic device can have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, the electronic device can have three, four, or more microphones 170C, enabling sound signal collection, noise reduction, sound source identification, and directional recording, among other functions.
[0181] The 170D headphone jack is used to connect wired headphones.
[0182] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. 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 gyroscope sensor 180B can be used to determine the motion attitude of an electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B.
[0184] The 180C barometric pressure sensor is used to measure barometric pressure.
[0185] The magnetic sensor 180D includes a Hall sensor.
[0186] The accelerometer 180E can detect the magnitude of acceleration in various directions (typically three axes) of an electronic device. When the electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the attitude of the electronic device 100.
[0187] The 180F distance sensor is used to measure distance. Electronic devices can measure distance using 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] An ambient light sensor 180L is used to detect ambient light levels. Electronic devices can adaptively adjust the brightness of the display screen 194 based on the detected ambient light levels.
[0190] The fingerprint sensor 180H is used to collect fingerprints.
[0191] Temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device uses the temperature detected by temperature sensor 180J to execute a temperature processing strategy.
[0192] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit 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 display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of the electronic device, in a different position than display screen 194.
[0193] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords.
[0194] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. The electronic device can receive button input and generate key signal inputs related to user settings and function control of the electronic device.
[0195] The software structure of the electronic device in the above method embodiments is illustrated below. Please refer to... Figure 16 , Figure 16 This is a schematic diagram of the software structure of an electronic device proposed in this application.
[0196] The software architecture employs a layered structure, dividing the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. For example... Figure 16 As shown, taking the Android system as an example, which runs on an application application (AP), in some embodiments, the Android system is divided into five layers, from top to bottom: application layer, application framework layer, system library, hardware abstraction layer (HAL), and kernel layer.
[0197] The application layer can include a series of application packages. These packages may include apps for camera, gallery, calendar, calling, maps, WLAN, Bluetooth, music, video, and SMS. The application layer may also include a system UI, which displays the electronic device's interface, such as the signal icon for the SIM card or the call interface. The application framework layer provides application programming interfaces (APIs) and a programming framework for the applications in the application layer. The application framework layer includes predefined functions. For example, it may include a window manager, content provider, view system, telephony manager, resource manager, and notification manager. The telephony manager provides the electronic device's calling functionality, such as managing call status (including connection and disconnection). The application framework layer may also include a radio interface layer (RIL), through which the modem can interact with the telephony.
[0198] The system libraries include the Android runtime, surface manager, 3D graphics processing library, 2D graphics engine, and media library. The Hardware Abstraction Layer (HAL) includes the 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 drivers, camera drivers, audio drivers, and sensor drivers.
[0199] It should be understood that the steps in the above-described method embodiments provided in this application can be implemented by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
[0200] This application also provides an electronic device, which may include a memory and a processor. The memory may be used to store a computer program, the computer program including program instructions; the processor may be used to invoke the program instructions in the memory to cause the electronic device to execute the methods in any of the above embodiments.
[0201] This application also provides a chip system including at least one processor and an interface for receiving program instructions and transmitting them to the at least one processor; the at least one processor executes the program instructions to cause an electronic device to perform the methods described in the above method embodiments.
[0202] The chip system can consist of chips or include chips and other discrete components.
[0203] For example, the chip system may 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 micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0204] Optionally, the processor in this chip system can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor that reads software code stored in memory.
[0205] This application also provides a computer program product comprising a computer program including program instructions that, when executed on an electronic device, cause the electronic device to perform the method performed by the electronic device in any of the above embodiments.
[0206] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions. When the program instructions are executed, they cause an electronic device to perform the method performed by the electronic device in any of the above embodiments.
[0207] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.
[0208] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer programs, which include program instructions. When the program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer program can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. 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 integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0209] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0210] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.
Claims
1. A screen privacy protection method, characterized in that, The method includes: Get the portrait of the person in front of the screen; If the portrait includes a first portrait, then determine a first offset angle of the eyes of the first portrait relative to a preset direction; the first portrait is matched with a pre-recorded portrait; the preset direction is a direction perpendicular to the center of the screen; the light transmission direction of the privacy layer is adjusted to the direction corresponding to the first offset angle, and the privacy layer is disposed between the screen and the light-emitting layer; If the portrait includes a second portrait and the portrait does not include the first portrait, then the display scene of the screen is identified; the second portrait does not match the pre-recorded portrait. If the display scene is an application interface and the number of the second portrait is one, then a second offset angle of the second portrait's eye relative to the preset direction is determined; if the second offset angle is greater than zero degrees, the light transmission direction of the privacy layer is adjusted to the direction corresponding to the maximum offset angle less than zero degrees; if the second offset angle is less than zero degrees, the light transmission direction of the privacy layer is adjusted to the direction corresponding to the maximum offset angle greater than zero degrees; if the second offset angle is equal to zero degrees, the light transmission direction of the privacy layer is adjusted to the direction corresponding to the maximum offset angle greater than zero degrees, or the light transmission direction of the privacy layer is adjusted 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, then 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, then 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, then the second offset angle is equal to zero degrees; If the display scene is an application interface and the number of the second portraits is two or more, then the screen is turned off; If the display scenario is a desktop display, then the light transmission direction of the privacy layer remains unchanged and the screen is turned off.
2. The method according to claim 1, characterized in that, Adjusting the light transmission direction of the privacy layer to the direction corresponding to the first offset angle includes: Based on the relationship between the first offset angle and the current value, the current value to be applied is determined; Based on the current value to be applied, a current is applied to the energized coil in the privacy layer to adjust the light transmission direction of the privacy layer to the direction corresponding to the first offset angle.
3. The method according to claim 1 or 2, characterized in that, If the display scene is an application interface and the number of the second portrait is one, the method further includes: Reduce the display brightness of the screen.
4. The method according to claim 1 or 2, characterized in that, Before acquiring the portrait of the person in front of the screen, the method further includes: Receives a command to activate the privacy protection function; the privacy protection function includes adjusting the light transmission direction of the privacy protection layer; In response to the instruction, the privacy function of the privacy layer is activated.
5. An electronic device, characterized in that, The device includes a memory and one or more processors; the memory is coupled to the one or more processors for storing a computer program, the computer program including program instructions; the one or more processors invoke the program instructions to cause the electronic device to perform the method as described in any one of claims 1-4.
6. A chip system for use in electronic devices, characterized in that, The chip system includes at least one processor and an interface for receiving program instructions and transmitting them to the at least one processor; the at least one processor executes the program instructions to cause the electronic device to perform the method as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, It includes a computer program, the computer program comprising program instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-4.
Citation Information
Patent Citations
Anti-peeping method, device and terminal of mobile terminal
CN106657628A
Anti-peeping device and method and display screen
CN111190284A
Anti-peeping method of folding screen terminal and anti-peeping folding screen terminal
CN115097679A
Screen peeping prevention method and device and computer readable storage medium
CN115906201A