Display content protection method and apparatus, electronic device, and medium

By dynamically adjusting the visibility of displayed content based on risk assessment using visual features and lighting information in 3D digital space, the problem of screen content being spied on is solved, and the privacy protection effect is improved without affecting the viewing of authorized users.

CN123158604APending Publication Date: 2026-11-24MIGU COMIC CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611090235.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-22
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies, when protecting user privacy in 3D digital space, cannot effectively prevent screen content from being viewed by unauthorized personnel, and also affect the normal viewing experience of authorized users.

Method used

By assessing privacy risks based on the visual characteristics of unauthorized users and the gaze angle of authorized users, combined with ambient light information, the visibility of displayed content is dynamically adjusted, and privacy protection is achieved using masks or raster layers.

Benefits of technology

Without altering the layout of the displayed content, it effectively reduces the risk of unauthorized users peeping and ensures that authorized users can view the content normally. It is suitable for scenarios such as 2D screens, 3D digital spaces, and VR/AR.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158604A_ABST
    Figure CN123158604A_ABST
Patent Text Reader

Abstract

The embodiment of the application applies a display content protection method and device, electronic equipment and medium, relates to the technical field of information security, and a specific embodiment of the method comprises: determining at least one peeping index of at least one unauthorized user relative to the user equipment of an authorized user based on the visual features of the at least one unauthorized user in a target area; performing privacy risk assessment on the display content of the user equipment based on the at least one peeping index and the gaze angle of the authorized user in combination with ambient light information to obtain a privacy risk assessment value of the display content; and determining a target security protection mode from at least one preset security protection mode based on the privacy risk assessment value to adjust the visibility of the display content according to the target security protection mode. The visibility of the display content in different directions is adaptively adjusted according to the peeping risk, so that the risk of unauthorized users peeping at the display content is effectively reduced while ensuring that the authorized user can normally watch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information security technology, specifically to a method, apparatus, electronic device, and medium for protecting display content. Background Technology

[0002] With the rapid development of mobile internet and virtual reality technologies, users are increasingly using mobile terminals (such as mobile phones, tablets, VR (Virtual Reality) / AR (Augmented Reality) headsets, etc.) to process sensitive information in public settings. The screen content is at risk of being spied on by unauthorized personnel, especially in emerging scenarios such as digital space and metaverse, where privacy leaks are becoming increasingly prominent.

[0003] In related technologies, to protect user privacy, the keyboard is often randomly rearranged during user input to make it difficult for eavesdroppers to replicate the input path. However, this method only protects the input process and cannot cover the entire screen display. Furthermore, this method directly alters the layout of interface elements; if applied to a three-dimensional (3D) digital screen, it will disrupt the integrity of the displayed content, preventing authorized users from viewing it properly and severely impacting the user experience. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, and medium for protecting display content, in order to solve the problem in the related art that it is not compatible with 3D digital space virtual screens, which can easily damage the integrity of the screen and affect the normal viewing of authorized users.

[0005] In a first aspect, embodiments of this application provide a method for protecting display content, applied to a user device. The method includes: determining at least one spying indicator of at least one unauthorized user relative to the user device of an authorized user based on the visual characteristics of at least one unauthorized user within a target area, wherein the target area is the observable area of ​​the user device; performing a privacy risk assessment on the display content of the user device based on the at least one spying indicator and the gaze angle of the authorized user, combined with ambient light information, to obtain a privacy risk assessment value for the display content; and determining a target security protection mode from at least one preset security protection mode based on the privacy risk assessment value, so as to adjust the visibility of the display content according to the target security protection mode.

[0006] In some embodiments, at least one voyeurism indicator includes a voyeurism angle and a voyeurism area. Determining at least one voyeurism indicator of at least one unauthorized user relative to a user device of an authorized user, based on the visual characteristics of at least one unauthorized user within a target area, includes: obtaining the unauthorized viewing distance corresponding to each unauthorized user among the at least one unauthorized user in the target area, wherein the unauthorized viewing distance characterizes the distance between each unauthorized user and the user device; determining the voyeurism angle of each unauthorized user relative to the user device based on the unauthorized viewing distance and the visual physiological characteristic parameters of each unauthorized user; and determining the voyeurism area of ​​each unauthorized user relative to the user device based on the voyeurism angle, the unauthorized viewing distance, and the number of unauthorized users of at least one unauthorized user.

[0007] In some embodiments, determining the area of ​​the viewing area of ​​each unauthorized user relative to the user device based on the viewing angle, unauthorized viewing distance, and the number of unauthorized users (at least one unauthorized user) includes: determining the azimuth angle of at least one unauthorized user relative to the user device based on the number of unauthorized users; determining the position coordinates of each unauthorized user within the target area based on the unauthorized viewing distance and the spatial angle information of each unauthorized user relative to the user device, combined with a coordinate transformation algorithm; determining the spatial distance between each unauthorized user and the user device based on the position coordinates and the device coordinates of the user device; and determining the area of ​​the viewing area based on the spatial distance, viewing angle, and azimuth angle.

[0008] In some embodiments, based on at least one voyeurism indicator and the gaze angle of an authorized user, combined with ambient light information, a privacy risk assessment is performed on the displayed content of the user device to obtain a privacy risk assessment value for the displayed content. This includes: determining the gaze elevation angle of the authorized user relative to the user device based on the user device's acceleration sensing data, the authorized viewing distance of the authorized user, and the authorized user's posture parameters, so as to determine the gaze angle based on the gaze elevation angle and the authorized user's observation angle relative to the user device; and assessing the visual clarity of the displayed content relative to at least one unauthorized user and the potential voyeurism risk of the displayed content based on the voyeurism angle, the area of ​​the voyeurized area, the gaze angle, and ambient light information, so as to determine a privacy risk assessment value based on the visual clarity and the potential voyeurism risk.

[0009] In some embodiments, at least one preset security protection mode includes a first security protection mode and a second security protection mode, wherein the first security protection mode and the second security protection mode have different levels of protection. Determining a target security protection mode from at least one preset security protection mode based on a privacy risk assessment value includes: determining the target security protection mode as the first security protection mode when the privacy risk assessment value is greater than a preset risk threshold; and determining the target security protection mode as the second security protection mode when the privacy risk assessment value is less than or equal to the preset risk threshold.

[0010] In some embodiments, adjusting the visibility of the displayed content according to the target security protection mode includes: when the target security protection mode is a first security protection mode, overlaying a mask onto the displayed content and controlling the mask to dynamically adjust according to the gaze direction of the authorized user, so that the displayed content has a first visibility in the gaze direction of the authorized user and a second visibility less than the first visibility in the gaze direction of at least one unauthorized user; when the target security protection mode is a second security protection mode, constructing a raster layer based on at least one peeping indicator and overlaying a raster layer onto the displayed content, so that the displayed content has a third visibility within a preset viewing angle range and a fourth visibility less than the third visibility outside the preset viewing angle range.

[0011] Secondly, embodiments of this application provide a display content protection device, the device comprising: The determining unit is used to determine at least one spying indicator of at least one unauthorized user relative to the user device of an authorized user, based on the visual characteristics of at least one unauthorized user in the target area, wherein the target area is the observable area of ​​the user device. An evaluation unit is used to assess the privacy risks of the displayed content on a user device based on at least one voyeurism indicator and the gaze angle of an authorized user, combined with ambient light information, to obtain a privacy risk assessment value for the displayed content. An adjustment unit is used to determine a target security protection mode from at least one preset security protection mode based on a privacy risk assessment value, so as to adjust the visibility of the displayed content according to the target security protection mode.

[0012] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory for storing a computer program capable of running on the processor, wherein, when the processor runs the computer program, it performs the method described in any embodiment of the first aspect.

[0013] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods described in any embodiment of the first aspect.

[0014] Fifthly, embodiments of this application provide a computer program product including a computer program that, when executed by a processor, performs the method described in any embodiment of the first aspect.

[0015] In summary, the display content protection method provided in this application determines at least one spying indicator of at least one unauthorized user relative to the user device of an authorized user based on the visual characteristics of at least one unauthorized user within a target area, wherein the target area is the observable area of ​​the user device; based on at least one spying indicator and the gaze angle of the authorized user, combined with ambient light information, a privacy risk assessment is performed on the display content of the user device to obtain a privacy risk assessment value of the display content; based on the privacy risk assessment value, a target security protection mode is determined from at least one preset security protection mode, and the visibility of the display content is adjusted according to the target security protection mode. This achieves adaptive adjustment of the visibility of the display content in different directions according to the spying risk, thereby effectively reducing the risk of unauthorized users spying on the display content while ensuring normal viewing by authorized users; furthermore, this application does not change the layout and integrity of the display content itself, and is applicable to various display scenarios such as two-dimensional screens, three-dimensional digital spaces, and VR / AR.

[0016] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are merely embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort, and this application can be applied to other similar scenarios based on the provided drawings.

[0018] Figure 1 A schematic diagram illustrating a disordered input keyboard provided in an embodiment of this application; Figure 2 A flowchart illustrating the first method for protecting display content provided in this application embodiment; Figure 3 A flowchart illustrating a second method for protecting display content provided in this application embodiment; Figure 4 A schematic diagram illustrating the overall flow of an exemplary display content protection method provided in this application embodiment; Figure 5 A schematic diagram illustrating an exemplary structure for protecting 3D digital space display content is provided in this application embodiment; Figure 6 This is a schematic diagram of the structure of a display content protection device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0019] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. The described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0020] It should be noted that the terms "system," "device," "unit," and / or "module" used in this application are methods of distinguishing different components, elements, parts, sections, or assemblies at different levels. However, if other terms can achieve the same purpose, they can be replaced by other expressions.

[0021] Hereinafter, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include one or more of that feature.

[0022] With the rapid development of mobile internet and virtual reality technologies, there is an increasing number of scenarios where users use mobile devices (such as smartphones, tablets, VR / AR headsets, etc.) to process sensitive information in public or semi-public environments. The content on users' screens is constantly at risk of being spied on by unauthorized individuals. Screen peeping has become a significant privacy issue in the field of information security, especially in emerging scenarios such as digital spaces and the metaverse, where users' need to protect the private content on their virtual screens is becoming increasingly urgent.

[0023] In related technologies, to protect users' privacy information, such as Figure 1 The diagram illustrates a method of randomly arranging the input keyboard. During user input, this method primarily involves rearranging the keyboard to make it difficult for an attacker to replicate the input path. However, this method is limited to adjusting the layout of the keyboard keys within the input interface, and its protection is confined to the information input phase, failing to cover all content displayed on the screen. More importantly, this method directly alters the arrangement of interface elements. If applied to digital screens in 3D digital space, it would disrupt the integrity of the displayed content, preventing authorized users from viewing it properly and severely impacting the user experience.

[0024] To address the aforementioned issues, this application proposes a method for protecting display content. This method comprehensively assesses the privacy risks of the displayed content based on the visual characteristics of unauthorized users and the viewing angle of authorized users, combined with ambient light information. Based on the assessment value, it adaptively selects a target mode from multiple security protection modes to adjust the visibility of the displayed content. This ensures that the content is clearly visible in the direction of the authorized user's gaze, while it is invisible or has reduced visibility in the direction of the unauthorized user's gaze, effectively improving the security of the displayed content. Furthermore, this application does not alter the displayed content itself, but rather achieves anti-peeping effects by dynamically adjusting the visibility of the displayed content in different directions. Therefore, it is applicable to various display scenarios such as 2D screens, 3D digital spaces, and VR / AR.

[0025] The following is a detailed description of a display content protection method provided in this application, with reference to the accompanying drawings.

[0026] Figure 2 A flowchart illustrating a first display content protection method provided in an embodiment of this application is shown. Figure 2 As shown, the display content protection method is applied to a user equipment and includes steps 101-103.

[0027] Step 101: Based on the visual characteristics of at least one unauthorized user within the target area, determine at least one spying indicator of at least one unauthorized user relative to the user device of an authorized user.

[0028] In the embodiments of this application, the protection of displayed content in a 3D digital space scene is described as an example. The user equipment is an electronic device with a display screen, including but not limited to mobile phones, tablets, laptops, VR headsets, AR devices, etc. The user equipment needs to have a built-in distance sensor, an image acquisition unit (such as a camera), and an attitude sensing unit (such as a gyroscope / accelerometer). In the 3D digital space scene, the user equipment can be a VR / AR headset, which already has the aforementioned sensors built-in.

[0029] The target area is the spatial range that the image acquisition units of the user device, such as cameras, can monitor, i.e., the device's field of view. Within this target area, the camera can be used to identify the eyes of unauthorized users and extract their visual features, including but not limited to: the number of unauthorized users (determined by the number of eyes), the position of each eye in three-dimensional space, the azimuth angle of each eye relative to the user device, and other eye-related information such as eye features.

[0030] The user device captures images of a target area using a camera, identifies the eyes of unauthorized users, and extracts visual feature information such as the number of eyes and their positions within the image. Based on these visual features, the spatial position and viewing angle of the spy relative to the device are determined, and core spying indicators are calculated. Unauthorized users refer to anyone other than the authorized user (owner) of the device, i.e., potential spyers.

[0031] Optionally, at least one voyeurism metric includes a voyeurism angle and a voyeurism area, wherein the voyeurism angle is the angle between the line connecting the unauthorized user's eye and the origin of the device and the horizontal axis directly in front; and the voyeurism area is the size of the area that the unauthorized user's field of vision may cover on the screen plane.

[0032] Step 102: Based on at least one voyeurism indicator and the authorized user's gaze angle, combined with ambient light information, perform a privacy risk assessment on the display content of the user device to obtain a privacy risk assessment value for the display content.

[0033] In the embodiments of this application, the gaze angle of the authorized user is the angle formed between the two lines of sight drawn from the centers of the pupils of the authorized user's (the device owner's) two eyes toward the screen. This parameter is used to determine the legal viewing direction.

[0034] Ambient lighting information refers to the lighting conditions of the current scene, such as ambient color temperature, light gradient, and ambient brightness. Ambient light affects the visibility of screen content from different directions, thus increasing the risk of being spied on.

[0035] Specifically, the evaluation comprehensively assesses the following: the voyeurism indicators of unauthorized users (voyeurism angle and area, reflecting the magnitude of the voyeurism risk); the gaze angle of authorized users (reflecting the baseline direction for legal viewing); and ambient light information (reflecting the impact of current lighting on visibility). This evaluation process primarily calculates two key values: visual clarity (the degree to which displayed content is identifiable in the voyeur's field of vision) and potential voyeurism risk (the likelihood and severity of voyeurism in the current environment). These two values ​​are then weighted and combined to obtain the final privacy risk assessment value. This privacy risk assessment value quantifies the degree of privacy leakage risk of the currently displayed content and is used to decide what protective measures to take subsequently.

[0036] Step 103: Based on the privacy risk assessment value, determine the target security protection mode from at least one preset security protection mode, so as to adjust the visibility of the displayed content according to the target security protection mode.

[0037] In the embodiments of this application, based on different risk levels, this application provides two security protection modes (preset security protection modes), namely, a high-security-level protection mode (i.e., the first security protection mode) and a normal-security-level protection mode (the second security protection mode). These two protection modes differ in their level of protection and implementation complexity.

[0038] Among them, the high-security protection mode is a mask-based privacy protection mode that dynamically adjusts the visible area of ​​the displayed content in real time by following the direction of the authorized user's gaze to achieve a high level of privacy protection.

[0039] The standard security level protection mode is a privacy mode based on a raster layer. The function of this raster layer is to block the refracted light from the viewing area outside the viewpoint of an unauthorized user, so that the unauthorized user cannot see the content on the screen.

[0040] For high privacy risk assessment values, this application selects a high-security-level protection mode with stronger protection to adjust the visibility of the displayed content; for low privacy risk assessment values, this application selects a low-complexity ordinary-security-level protection mode to adjust the visibility of the displayed content. This achieves the protection of the displayed content.

[0041] In summary, this application provides a method for protecting display content. Based on the visual characteristics of at least one unauthorized user within a target area, at least one spying indicator of the unauthorized user relative to the user device of an authorized user is determined, wherein the target area is the observable area of ​​the user device. Based on the at least one spying indicator and the authorized user's gaze angle, combined with ambient light information, a privacy risk assessment of the display content on the user device is performed to obtain a privacy risk assessment value for the display content. Based on the privacy risk assessment value, a target security protection mode is determined from at least one preset security protection mode, and the visibility of the display content is adjusted according to the target security protection mode. This achieves adaptive adjustment of the visibility of the display content in different directions according to the spying risk, thereby effectively reducing the risk of unauthorized users spying on the display content while ensuring normal viewing for authorized users. Furthermore, this application does not change the layout and integrity of the display content itself and is applicable to various display scenarios such as two-dimensional screens, three-dimensional digital spaces, and VR / AR.

[0042] As one possible implementation method, Figure 3 A flowchart of a second display content protection method provided in an embodiment of this application is shown. Figure 3 based on Figure 2 The illustrated embodiment further defines steps 101, 102, and 103. Figure 3In the illustrated embodiment, step 101 includes steps 201, 202, and 203; step 102 includes steps 204 and 205; and step 103 includes steps 206, 207, 208, and 209, as shown. Figure 3 As shown, the method includes the following steps: Step 201: Obtain the unauthorized line-of-sight distance corresponding to each unauthorized user among at least one unauthorized user in the target area.

[0043] In the embodiments of this application, the unauthorized viewing distance refers to the viewing distance of an unauthorized user, which represents the distance between the unauthorized user and the user device, that is, the straight-line distance from the unauthorized user's eyes to a preset origin point (such as the center point of the screen) on the user device screen.

[0044] User devices use distance sensors to obtain the viewing distance of each unauthorized user within a target area. In 3D digital space scenarios, users typically wear VR devices, which have the aforementioned sensors built-in. The distance sensors measure and return the straight-line distance from each unauthorized user to a preset origin on the device screen, which is taken as the viewing distance of that unauthorized user.

[0045] Step 202: Based on the unauthorized viewing distance and the visual physiological characteristic parameters of each unauthorized user, determine the viewing angle of each unauthorized user relative to the user device.

[0046] In the embodiments of this application, visual physiological characteristic parameters, namely the biometric data of the eyes of unauthorized users, including but not limited to the average length, average width, and interpupillary distance of the eyes, are used to calculate the direction of the human eye's gaze relative to the device.

[0047] The viewing angle is the angle between the viewing eye of the person spying and the end-user device. It is the angle between the line connecting the unauthorized user's eye and the origin of the device and the horizontal axis directly in front of the device. It can be understood as the angle at which the spy looks "up and down" or "left and right" in the virtual space screen.

[0048] The viewing angle is calculated using geometric optics principles, based on the viewing distance and the visual physiological characteristics of unauthorized users captured by the camera. The calculation formula is:

[0049] in, and These are the average length and average width of both eyes, respectively. L is the interpupillary distance; L is the viewing distance. The viewing angle is used to reflect the direction of an unauthorized user's gaze relative to the device screen.

[0050] Step 203: Based on the viewing angle, unauthorized viewing distance, and the number of unauthorized users (at least one unauthorized user), determine the viewing area of ​​each unauthorized user relative to the user device.

[0051] In the embodiments of this application, the number of unauthorized users refers to the number of unauthorized users' (peepers') eyes detected by the camera.

[0052] Optionally, based on the viewing angle, unauthorized viewing distance, and the number of unauthorized users (at least one unauthorized user), the area of ​​the viewing area relative to the user device for each unauthorized user is determined, including: (1) Based on the number of unauthorized users, determine the azimuth angle of at least one unauthorized user relative to the user equipment.

[0053] In the embodiments of this application, the azimuth angle is an angle reflecting the overall directional shift of the spying group, obtained by summarizing and processing the positional information of multiple eyes. This azimuth angle is adjusted based on the number of unauthorized user eyes to obtain a comprehensive azimuth angle, as follows:

[0054] in, This indicates the number of unauthorized user eyes.

[0055] (2) Based on the unauthorized line-of-sight distance and the spatial angle information of each unauthorized user relative to the user equipment, and combined with the coordinate transformation algorithm, determine the position coordinates of each unauthorized user in the target area.

[0056] In the implementation of this application, spatial angle information, namely the spatial azimuth (horizontal direction) and polar angle (vertical direction) of the unauthorized user relative to the user equipment, is used to determine the spatial position of the spy.

[0057] Coordinate transformation algorithms are mathematical algorithms that convert spherical coordinates (radial distance + angle) into three-dimensional rectangular coordinates.

[0058] Based on the line-of-sight and spatial angle information, the coordinates of each unauthorized user within the target area can be obtained using a coordinate transformation algorithm. , , ),as follows:

[0059]

[0060]

[0061] in, It is the azimuth angle; 'i' represents the polar angle; 'i' represents the identifier of a different unauthorized user. This location refers to the eye position of different unauthorized users peering at the screen.

[0062] In 3D digital space, based on the position of the user's head , , Real-time adjustment of the perspective and viewpoint of 3D models provides a more realistic sense of immersion and is a key bridge to transforming the detection of someone spying into actionable data that pinpoints their exact location. This coordinate system enables devices to move from passive perception to proactive response and interaction, providing smart devices with another dimension of environmental understanding.

[0063] (3) Determine the spatial distance between each unauthorized user and the user equipment based on the location coordinates and the device coordinates of the user equipment.

[0064] In the embodiments of this application, based on the location coordinates of unauthorized users ( ) and the user equipment's preset origin position ( ), calculate the straight-line distance d between each unauthorized user and the user device (i.e., the radius of the spying sector):

[0065] (4) Determine the area of ​​the viewing area based on the spatial distance, viewing angle and azimuth.

[0066] In the embodiments of this application, based on the spatial distance d and the viewing angle and comprehensive azimuth Calculate the area of ​​the viewing zone for each unauthorized user. :

[0067] Area of ​​the spying area It is a sector-shaped region with a central angle not exceeding 180 degrees.

[0068] This process converts an angle within a field of view into a specific two-dimensional plane area at a certain distance. This area can serve as a risk assessment indicator; the larger the viewing area, the greater the potential spatial range of the spy (unauthorized user), and theoretically, the higher the risk of privacy breach. Therefore, this information can be used to determine the appropriate level of protective response, such as issuing a warning or directly blurring the screen content.

[0069] Step 204: Based on the acceleration sensing data of the user equipment, the authorized line-of-sight distance of the authorized user, and the attitude parameters of the authorized user, determine the gaze elevation angle of the authorized user relative to the user equipment, so as to determine the gaze angle based on the gaze elevation angle and the observation angle of the authorized user relative to the user equipment.

[0070] In the embodiments of this application, the acceleration sensing data is the acceleration / tilt data of the user equipment in the vertical direction detected by the accelerometer or gyroscope built into the user equipment. In this application, it specifically refers to the downward acceleration component of the device along the z-axis (perpendicular to the screen direction), which is used to determine the spatial attitude of the user equipment.

[0071] Posture parameters refer to the habitual posture data of authorized users when using the device, including the habitual height at which the authorized user holds the device (obtained by subtracting a fixed empirical value (e.g., 87cm, which can be adjusted at any time) from the authorized user's height information) and the maximum fixed downward distance (reflecting the user's physiological habits and usage scenarios).

[0072] The gaze elevation angle refers to the vertical tilt angle of an authorized user's eyes relative to the device screen. It is calculated using trigonometric relationships based on acceleration sensor data, the authorized user's viewing distance, and posture parameters. The specific calculation formula is as follows:

[0073] in, H is the viewing angle; H is the user's current handheld device's preferred height; L is the user's authorized viewing distance. The downward acceleration of the user equipment is calculated by the gyroscope in the user equipment; hi is the maximum fixed downward distance.

[0074] User equipment through By determining its own tilt angle and combining it with the known or estimated viewing distance L and handheld height H, the system calculates the gaze elevation angle α between the camera and the authorized user's eyes using trigonometric relationships. Based on the calculated gaze elevation angle α, the system can more accurately determine the spatial position of the authorized user's eyes, thereby judging whether someone else is peeking at the screen from an abnormal angle and accurately tracking the gaze. These parameters link the device's physical posture, the user's physiological habits, and the geometric constraints of the environment to form a complete calculation model.

[0075] Finally, based on the gaze elevation angle, the vertical interpupillary distance angle (i.e., the gaze angle) of the authorized user is calculated:

[0076] in, The angle between the vertical interpupillary distance and the line of sight; The observation angle is calculated using geometric optics principles based on the viewing distance and the visual physiological characteristics of the authorized user (such as interpupillary distance, eyeglass width and length) collected by the camera (refer to the formula for calculating the viewing angle).

[0077] Angle of gaze The vertical interpupillary distance (IPD) angle is the angle formed between two lines of sight drawn from the centers of the pupils of both eyes towards the target object. This angle is affected by the distance to the target object (viewing distance L), the user's interpupillary distance, and the size of the target object. This parameter allows the system to assess the risk of screen content based on device orientation and the user's viewing angle, preventing information from being spied on.

[0078] Step 205: Based on the viewing angle, the area of ​​the viewed area, the viewing angle, and the ambient light information, assess the visual clarity of the displayed content relative to at least one unauthorized user and the potential viewing risk of the displayed content, so as to determine the privacy risk assessment value based on the visual clarity and the potential viewing risk.

[0079] In the embodiments of this application, ambient light information refers to lighting conditions such as ambient color temperature, light gradient, and ambient brightness in the current scene. Ambient light affects the visibility of screen content in different directions, thereby affecting the risk of voyeurism.

[0080] Visual clarity is quantified by a viewability value, representing how easily displayed content is identifiable in the field of vision of an unauthorized user. It reflects how clearly the unauthorized user can see the screen content. A higher value indicates that it is easier for the unauthorized user to see the screen content, and a greater risk of privacy breach.

[0081] Potential spying risk is quantified by a potential spying value, which represents a comprehensive quantitative value of the likelihood and severity of spying behavior occurring in the current environment. The higher the value, the more likely the current environment is to be spied on.

[0082] Based on the viewing angle, the area of ​​the viewing area, the gaze angle, and the ambient light information, the two key values ​​mentioned above are comprehensively evaluated to determine the final privacy risk assessment value.

[0083] Specifically, visual clarity (viewability value) assesses the security and potential risk of being spied on by integrating multiple factors to evaluate the color (the color effect resulting from the mixture of the pixel colors of the displayed content and the current ambient light) and to comprehensively reflect the degree to which the human eye can see the content on the screen.

[0084] in, This represents the viewability value. k represents the color width supported by the user device, which varies between 8 and 256 depending on the performance of the user device. The color safety value for displaying the current color of the content can be represented by the sum of the differences between the RGB (Red, Green, Blue, i.e., the three color channels) components. The closer the ambient light is to this color, the lower the value. This is the color deviation between the main color of the display interface and the ambient light. This value can be calculated using the CIEDE2000 color difference formula. The smaller the difference, the smaller the corresponding deviation value. The gradient of light transformation during time period t is calculated by calculating the difference between the starting and ending RGB colors of the ambient light, then calculating the color of the intermediate pixels based on this difference, and obtaining the color gradient value based on the color position on the standard 24-color chart. The color stability of the device's display interface is essentially based on... The reciprocal of the frequency of a color appearing on the 24-color chart during the time period t. For user equipment size values, ,in, Where F is the user device screen size, and F is the base size value for the handheld device. Parameter This represents the preset correction elasticity value.

[0085] Potential spying risk (potential eavesdropping value) is calculated by combining factors such as the eavesdropper's visual sensitivity, lighting conditions, color stability, and color noise to determine the potential risk of information being spied on.

[0086] in, The number of potential voyeurs is the number of unauthorized users identified through the device's camera. The current ambient light level is based on the standard nit number (Nit), with the brightness increasing by 1% for every 10 nits above the standard level. It is used to measure the relationship between a voyeur's visual sensitivity and color stability under specific lighting conditions. This represents the color difference change rate. For color noise, the method of obtaining the color noise feature is to identify and quantify the noise by converting the image to the frequency domain (such as using Fourier transform) and then analyzing the spectrum. This value is used to characterize the visibility or distinguishability of the color in a specific environment. The product term is used to evaluate the interaction between a voyeur's visual sensitivity and color stability and color noise or contrast under specific lighting conditions.

[0087] The final quantified risk value, or privacy risk assessment value, obtained by considering both visual clarity and potential spying risks, represents the security level protection mode value and is used to decide which security protection mode to adopt. The formula for calculating the privacy risk assessment value is as follows:

[0088] in, and These are preset weighting coefficients used to adjust the weight of visual clarity and potential spying risk in the final risk assessment. .

[0089] This privacy risk assessment comprehensively considers the threat of peeping (viewing angle, area of ​​the viewing area), the legal viewing benchmark (the viewing angle of authorized users), and environmental influences (ambient lighting information), thus fully reflecting the level of privacy leakage risk in the current scenario. A higher privacy risk assessment value indicates that the currently displayed content is more easily viewed by unauthorized users, requiring a higher level of protection.

[0090] Step 206: If the privacy risk assessment value is less than or equal to the preset risk threshold, determine the target security protection mode as the second security protection mode.

[0091] Step 207: If the privacy risk assessment value is greater than the preset risk threshold, determine the target security protection mode as the first security protection mode.

[0092] In the embodiments of this application, the preset risk threshold is a pre-set risk judgment threshold, used to distinguish whether the current environment is "high risk" or "low risk".

[0093] The first security protection mode corresponds to the high-security protection mode, which uses a tilted display with a single-light mask for dynamic anti-spying and is suitable for high-risk environments.

[0094] The second security protection mode corresponds to the normal security level protection mode. It uses a raster layer to limit the static viewing angle and is suitable for low-risk environments.

[0095] When the privacy risk assessment value is greater than the preset risk threshold, it indicates that the current environmental risk is high (such as multiple people spying, close spying distance, and ambient light conditions conducive to spying), and the high-security protection mode is selected to protect the displayed content; when the privacy risk assessment value is less than or equal to the preset risk threshold, it indicates that the current environmental risk is low (such as few spyers, long spying distance, and ambient light unfavorable to spying), and the normal-security protection mode is selected to protect the displayed content.

[0096] Step 208: When the target security protection mode is the first security protection mode, a mask is overlaid on the display content, and the mask is dynamically adjusted to follow the gaze direction of the authorized user, so that the display content has a first visibility in the gaze direction of the authorized user and a second visibility less than the first visibility in the gaze direction of at least one unauthorized user.

[0097] In the embodiments of this application, the first visibility refers to the clarity of the displayed content in the direction of the authorized user's gaze, ensuring that the authorized user can view it normally. The second visibility refers to the clarity of the displayed content in the direction of the unauthorized user's gaze. The second visibility is lower than the first visibility, making it difficult for a spy to see or lock onto a clear area.

[0098] The mask, also known as a tilted display single-light mask, is a dynamic image filtering layer designed in this application, superimposed on the original display content. This mask controls the optical properties of the display content (such as luminance, saturation, and visible light transmittance) under specific light field conditions, ensuring that the screen content is only visible to authorized users at specific angles, while unauthorized users cannot perceive the content displayed on the screen.

[0099] The mask is generated based on the image currently displayed on the user's device, the grayscale image of the currently displayed image, and a single-layer filter layer. The mask is generated as follows:

[0100] Where F represents a mask; The image currently displayed on the user device; A grayscale image of the image currently displayed on the user device; To generate a single-layer filter layer with a mask; This refers to the perspective inverse operation content of the mask filter layer. Among them, the single-layer filter layer... Includes three color filter channels , , These correspond to the red, green, and blue primary color channels, respectively. The filter value of each channel is determined by the saturation and transmittance of the three primary colors of the predefined color-coded light-transmitting template under the influence of the color temperature coefficient α. , , ) and the sharpening level of single-channel light ( , , Together, they decided on a single-layer filter. The way to express it is:

[0101]

[0102]

[0103]

[0104] Wherein, [I|S|H] represent the virtual light brightness I, the mask gray saturation S, and the visible light transmittance H under the head tilt range, respectively. This indicates that a filter layer with specific characteristics is ultimately generated, determined by I, S, and H. Based on... , , and , , Further calculate the three core optical parameters of the mask mentioned above. Among them, the virtual light brightness I is represented as:

[0105] in, , and These represent the color values ​​of the three pixels that the filtering layer wants to filter out. This represents the grayscale conversion result of the corresponding filtered visible color value. The higher the brightness of the virtual light, the deeper the grayscale, meaning the darker the corresponding area.

[0106] The grayscale saturation S of the mask is represented as:

[0107] The mask grayscale saturation S is calculated by subtracting 1 from the minimum value of the three primary color saturation transmittance components of the predefined color transmittance template and the sum of the three pixel color values ​​to be filtered out by the filter layer. The larger the S value, the lighter the grayscale of the mask color (higher saturation); the smaller the S value, the darker the grayscale of the mask color (lower saturation).

[0108] The visible light transmittance H within the head tilt range is expressed as:

[0109] in, The head tilt measurement refers to the difference between the angle when the user rotates their head and the angle when their eyes are at maximum strabismus, and is expressed as:

[0110] The visible light transmittance H within the offset range reflects the degree of light attenuation when passing through the mask, and determines the transparency of the mask.

[0111] The mask F is not statically fixed, but possesses dynamic levitation capabilities in three-dimensional space, including floating momentum along the X-axis (horizontal direction), Y-axis (vertical direction), and Z-axis (depth of field direction). Floating momentum refers to the dynamic displacement parameter of the mask relative to the display interface, used to drive the mask to levitate on the display interface. By changing the mask's levitation position, dynamic polarization effects are produced in different directions.

[0112] First, based on the gradient of light transformation Area of ​​the spying area The angle of view (i.e., the viewing angle) And the visible light transmittance H, calculate the dynamic translation of the suspended free momentum along the x-axis. Assuming the initial position of the suspended free momentum is X0, then under the influence of the light transformation gradient, in order to reduce the amount of light entering, the translational displacement along the x-axis will be... It can be represented as:

[0113] Among them, the gradient of light transformation The rate at which ambient light intensity changes with position is characterized; the larger the value, the more significant the photopressure effect on the mask momentum, and the greater the translation along the X-axis; the change over time. The duration of the effect of the light transformation gradient on momentum; the longer the duration, the more pronounced the cumulative effect of light pressure and the greater the translation; the area of ​​the viewing region. The visible light transmittance (H) characterizes the field of view of the voyeur. The larger this area, the more uniform the light pressure on the momentum, and the greater the translation. The visible light transmittance (H) characterizes the degree of attenuation of light as it passes through the mask. The smaller the attenuation, the greater the light pressure on the momentum, and the greater the translation. The viewing angle... The angle of view relative to the device represents the observer's line of sight. The smaller this angle, the more concentrated the light pressure effect on the momentum, and the greater the translation. ΔX can be positive or negative, depending on the direction of the light transformation gradient.

[0114] Based on the translational amount ΔX along the x-axis and the vertical pupillary distance angle (i.e., fixation angle). and the maximum width of the device Calculate the translational displacement of the suspended free momentum along the y-axis. . It can be represented as:

[0115] The function ensures that the translation of the suspended free momentum along the Y-axis will not exceed the maximum width of the device. That is, the translation calculated from the vertical pupillary distance and the X-axis translation is compared with the maximum width of the device, and the smaller of the two is taken as the final translation along the Y-axis.

[0116] By combining the translational displacement ΔX along the X-axis and the translational displacement ΔY along the Y-axis, the detachment momentum ΔL is further determined. Detachment momentum refers to the visual detachability in the Z-axis direction after the mask is activated; this detachment can be understood as the landscape depth in a 3D scene. The detachment momentum ΔL can be expressed as:

[0117] in, The initial momentum supported by the user equipment is denoted as , and the known momentum value is denoted as . initial momentum exist Visual clarity under visual conditions. This is a flexible momentum correction parameter used to adjust the fluctuation range of the extracted momentum. rand(1,2) is a random number between 1 and 2, used to introduce random perturbations; 0.8 is a preset constant used to adjust the center position of the random distribution.

[0118] By dynamically adjusting the optical parameters of the mask F and enabling three-dimensional levitation, the sharp area of ​​the mask is always aligned with the authorized user's eyes in the direction of their gaze, ensuring clear primary visibility of the displayed content. In the direction of an unauthorized user's gaze, the mask's blurry / color-shifted / dark areas continuously change dynamically, so the observer always sees a blurred image due to dynamic interference and cannot lock onto the sharp area by adjusting their position, resulting in secondary visibility of the displayed content below primary visibility.

[0119] Step 209: When the target security protection mode is the second security protection mode, construct a raster layer based on at least one spying indicator, and overlay a raster layer on the display content so that the display content has a third visibility within a preset viewing angle range and a fourth visibility less than the third visibility outside the preset viewing angle range.

[0120] In the embodiments of this application, the third visibility refers to the clarity of the displayed content within a preset viewing angle range, within which authorized users can view it normally. The fourth visibility refers to the clarity of the displayed content outside the preset viewing angle range. The fourth visibility is lower than the third visibility, making it impossible for a spy to see the screen display content clearly from the side.

[0121] A raster layer is a viewing angle limiting layer composed of periodic microstructures that limits the effective viewing angle range of the screen by controlling the diffraction and interference of light. The preset viewing angle range is a fixed angular interval set by the raster layer that allows light to pass through and the content to be seen clearly.

[0122] Specifically, based on the step-by-step observation angle and the area of ​​the spying area An adaptive raster layer is constructed. Raster parameters include raster period, raster angle, and raster coverage area. The raster period is calculated using the following formula:

[0123] in, For the wavelength of the user equipment light source, The diffraction angle is denoted by . The grating period represents the distance between two adjacent identical structural points on the grating; for visible light, the period distance is typically on the order of micrometers.

[0124] The grating angle can be adjusted according to the viewing angle. This is adjusted to ensure the raster layer correctly guides light into the human eye. Specifically, the raster angle α is the angle between the raster periodic line and the vertical direction, which can be adjusted according to the viewing angle. Sure: This angle is adjusted based on the viewing angle to optimize the visual effect and ensure that the raster layer can effectively limit the light from the perspective of an unauthorized user.

[0125] Coverage area of ​​raster layer Based on the area of ​​the spying area Determined by the grating angle α:

[0126] in, This represents the range of variation in the grating diffraction angle.

[0127] Finally, the constructed raster layer is overlaid on the display content. The raster layer, through its microstructure, intercepts refracted light outside the viewing angle of unauthorized users, limiting the direction of light emission from the display content: within the preset viewing angle range (centered on the direction of the authorized user's gaze), light passes normally, and the display content has clear third visibility. Outside the preset viewing angle range, the light is intercepted or deflected by the raster, and the display content has fourth visibility, lower than third visibility, making it impossible for unauthorized users to see the screen content.

[0128] In summary, this application assesses privacy risks by acquiring the peeping indicators of unauthorized users and the viewing angles of authorized users, combined with ambient light information. Based on the assessment values, it adaptively selects either a dynamic mask-based privacy protection mode or a static raster-based privacy protection mode to adjust the visibility of the displayed content from different directions. This effectively reduces the peeping risk from unauthorized users while ensuring normal viewing for authorized users, without altering the layout and integrity of the displayed content itself. It is applicable to various display scenarios, including 2D screens, 3D digital spaces, and VR / AR. This solves the problems of related technologies that can only protect the information input stage, cannot adaptively protect all displayed content, and are not applicable to 3D digital spaces.

[0129] Furthermore, to help with better understanding, such as Figure 4 As shown, Figure 4 This is a schematic diagram of the overall process of an exemplary display content protection method provided in an embodiment of this application.

[0130] Reference Figure 4 The user equipment (UE) obtains the viewing distance L between the user and the screen of the mobile terminal (i.e., the UE) in the digital space by calling the distance sensor; it detects the number of eyes that are not the user (unauthorized users) using the camera, and calculates the potential area of ​​human eye viewing based on the viewing distance L and the number of eyes. (Based on the angle of observation) Comprehensive azimuth The area of ​​the viewing area is calculated using the linear distance d in space, as well as the azimuth angle between the viewing person's eye and the device. Simultaneously, based on the downward acceleration of the gyroscope in the terminal, the vertical interpupillary distance angle (i.e., the gaze angle) between the terminal and the user is calculated. .

[0131] Furthermore, this is combined with ambient color temperature, light gradient, and the area of ​​the viewing area. Vertical interpupillary distance, visual angle, and opposing angle (i.e., viewing angle) to determine the security level protection mode value (i.e., privacy risk assessment value). Based on the comparison result between the security level protection mode value and the preset threshold, determine whether to adopt the high security level protection mode (i.e., the first security protection mode) or the normal security level protection mode (the second security protection mode) to protect the screen content of the mobile terminal.

[0132] In high-security protection mode, a tilted single-light mask F is overlaid on the displayed content, and floating momentum is added to the mask F along the X, Y, and Z axes, causing the mask to dynamically follow the authorized user's gaze direction to reduce the visibility of the displayed content to unauthorized users. In normal-security protection mode, a raster layer is constructed based on the area of ​​the viewing area and the viewing angle. The raster layer restricts the light emission direction of the displayed content to reduce the visibility of the displayed content to unauthorized users.

[0133] The specific mask generation and raster layer construction can be referred to the explanation in the above embodiments, and will not be repeated here.

[0134] Furthermore, such as Figure 5 As shown, Figure 5 This is a schematic diagram illustrating an exemplary structure for protecting 3D digital space display content, provided as an embodiment of this application.

[0135] Reference Figure 5The terminal obtains the viewing distance L between the user and the mobile terminal in 3D digital space by calling the distance sensor; it detects the number of non-user eyes using the camera and calculates the potential viewing area area and the azimuth angle between the viewer and the device. Since the user may be moving, the terminal calculates the vertical interpupillary distance viewing angle between the terminal and the user based on the downward acceleration of the gyroscope, combined with the viewing distance L and the user's posture parameters. Based on this, it comprehensively determines the security level protection mode value by combining the ambient color temperature, light change gradient, viewing area area, vertical interpupillary distance viewing angle, and eye contact angle. When the security level protection mode value is greater than the preset threshold U, a high security level protection mode is selected, which adds a tilted single-light mask and adds levitation momentum to the mask, making it dynamically detached on the display interface to achieve dynamic anti-peeping. When the security level protection mode value is less than or equal to the preset threshold U, a normal security level protection mode is selected, which creates a raster layer and restricts the light emission direction of the displayed content to achieve basic anti-peeping.

[0136] To implement the above embodiments, this application also provides a display content protection device. Figure 6 This is a schematic diagram of the structure of a display content protection device 300 provided in an embodiment of this application. Figure 6 As shown, the device includes: The determining unit 310 is used to determine at least one spying indicator of at least one unauthorized user relative to the user device of an authorized user based on the visual characteristics of at least one unauthorized user in the target area, wherein the target area is the observable area of ​​the user device. The evaluation unit 320 is used to evaluate the privacy risk of the display content of the user device based on at least one voyeurism indicator and the gaze angle of the authorized user, combined with ambient light information, and obtain the privacy risk evaluation value of the display content. The adjustment unit 330 is used to determine a target security protection mode from at least one preset security protection mode based on a privacy risk assessment value, so as to adjust the visibility of the displayed content according to the target security protection mode.

[0137] In some embodiments, at least one voyeurism indicator includes a voyeurism angle and a voyeurism area. The determining unit 310 is configured to: obtain the unauthorized viewing distance corresponding to each unauthorized user among at least one unauthorized user in the target area, wherein the unauthorized viewing distance characterizes the distance between each unauthorized user and the user device; determine the voyeurism angle of each unauthorized user relative to the user device based on the unauthorized viewing distance and the visual physiological characteristic parameters of each unauthorized user; and determine the voyeurism area of ​​each unauthorized user relative to the user device based on the voyeurism angle, the unauthorized viewing distance, and the number of unauthorized users of at least one unauthorized user.

[0138] In some embodiments, the determining unit 310 is configured to: determine the azimuth angle of at least one unauthorized user relative to the user equipment based on the number of unauthorized users; determine the position coordinates of each unauthorized user within the target area based on the unauthorized line-of-sight distance and the spatial angle information of each unauthorized user relative to the user equipment, combined with a coordinate transformation algorithm; determine the spatial distance between each unauthorized user and the user equipment based on the position coordinates and the device coordinates of the user equipment; and determine the area of ​​the viewing area based on the spatial distance, viewing angle, and azimuth angle.

[0139] In some embodiments, the evaluation unit 320 is configured to: determine the gaze elevation angle of the authorized user relative to the user device based on the user device's acceleration sensing data, the authorized user's authorized viewing distance, and the authorized user's posture parameters, so as to determine the gaze angle based on the gaze elevation angle and the authorized user's observation angle relative to the user device; and evaluate the visual clarity of the displayed content relative to at least one unauthorized user and the potential spying risk of the displayed content based on the spying angle, the area of ​​the spied area, the gaze angle, and ambient light information, so as to determine a privacy risk assessment value based on the visual clarity and the potential spying risk.

[0140] In some embodiments, at least one preset security protection mode includes a first security protection mode and a second security protection mode, wherein the first security protection mode and the second security protection mode have different levels of protection. The adjustment unit 330 is used to: determine the target security protection mode as the first security protection mode when the privacy risk assessment value is greater than the preset risk threshold; and determine the target security protection mode as the second security protection mode when the privacy risk assessment value is less than or equal to the preset risk threshold.

[0141] In some embodiments, the adjustment unit 330 is configured to: when the target security protection mode is a first security protection mode, overlay a mask onto the display content and control the mask to dynamically adjust according to the gaze direction of the authorized user, so that the display content has a first visibility in the gaze direction of the authorized user and a second visibility less than the first visibility in the gaze direction of at least one unauthorized user; when the target security protection mode is a second security protection mode, construct a raster layer based on at least one spying indicator and overlay a raster layer onto the display content, so that the display content has a third visibility within a preset viewing angle range and a fourth visibility less than the third visibility outside the preset viewing angle range.

[0142] The methods and apparatus provided in the embodiments of this application have been described above. To implement the functions of the methods provided in the embodiments of this application, the electronic device may include a hardware structure and software modules, and may implement the above functions in the form of a hardware structure, software modules, or a hardware structure plus software modules. One of the above functions may be executed in the form of a hardware structure, software modules, or a hardware structure plus software modules.

[0143] Figure 7 This is a block diagram illustrating an electronic device 400 for implementing the above-described display content protection method according to an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, computer, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0144] Reference Figure 7 The electronic device 400 may include a communication interface 401, capable of interacting with other devices; a processor 402, connected to the communication interface 401 to interact with other devices, used to execute the methods provided by one or more of the above-mentioned technical solutions when running a computer program; and a memory 403, on which the computer program is stored. Specifically, the specific processing procedure of the processor 402 can refer to the display content protection method described in the above embodiments of this application.

[0145] Of course, in practical applications, the various components in electronic device 400 are coupled together through bus system 404. It can be understood that bus system 404 is used to realize the connection and communication between these components. In addition to a data bus, bus system 404 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in... Figure 7 The general designated all buses as Bus System 404.

[0146] The memory 403 in this embodiment is used to store various types of data to support the operation of the electronic device 400. Examples of such data include any computer program used to operate on the electronic device 400.

[0147] The methods disclosed in the above embodiments of this application can be applied to processor 402, or implemented by processor 402. Processor 402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 402 or by instructions in the form of software. The processor 402 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 402 can implement or execute the various methods, steps, and logic block diagrams of the application in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method applied in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory 403. Processor 402 reads the information in memory 403 and combines its hardware to complete the steps of the aforementioned method.

[0148] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0149] Embodiments of this application also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the display content protection method described in the above embodiments of this application.

[0150] Embodiments of this application also propose a computer program product, including a computer program that is executed by a processor using the display content protection method described in the above embodiments of this application.

[0151] Embodiments of this application also propose a chip including one or more interface circuits and one or more processors; the interface circuits are used to receive signals from the memory of an electronic device and send signals to the processors, the signals including computer instructions stored in the memory, and when the processor executes the computer instructions, it causes the electronic device to perform the display content protection method described in the above embodiments of this application.

[0152] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0153] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0154] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.

[0155] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processing module, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (control method), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic device, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0156] It should be understood that various parts of the embodiments of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0157] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0158] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc.

[0159] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A method for protecting display content, characterized in that, Applied to user equipment, the method includes: Based on the visual characteristics of at least one unauthorized user within the target area, at least one spying indicator of the at least one unauthorized user relative to the user device of an authorized user is determined, wherein the target area is the observable area of ​​the user device; Based on the at least one spying indicator and the authorized user's gaze angle, combined with ambient light information, a privacy risk assessment is performed on the display content of the user device to obtain a privacy risk assessment value for the display content; Based on the privacy risk assessment value, a target security protection mode is determined from at least one preset security protection mode, so as to adjust the visibility of the displayed content according to the target security protection mode.

2. The method according to claim 1, characterized in that, The at least one voyeuristic indicator includes the voyeuristic angle and the area of ​​the voyeuristic region. The determination of at least one spying indicator of the at least one unauthorized user relative to the user device of an authorized user, based on the visual characteristics of at least one unauthorized user within the target area, includes: Obtain the unauthorized line-of-sight distance corresponding to each unauthorized user among the at least one unauthorized users in the target area, wherein the unauthorized line-of-sight distance represents the distance between each unauthorized user and the user equipment; Based on the unauthorized viewing distance and the visual physiological characteristic parameters of each unauthorized user, the viewing angle of each unauthorized user relative to the user device is determined; Based on the viewing angle, the unauthorized viewing distance, and the number of unauthorized users (at least one unauthorized user), the viewing area of ​​each unauthorized user relative to the user device is determined.

3. The method according to claim 2, characterized in that, Determining the area of ​​the viewing region of each unauthorized user relative to the user device based on the viewing angle, the unauthorized viewing distance, and the number of unauthorized users (at least one unauthorized user) includes: Based on the number of unauthorized users, determine the azimuth angle of the at least one unauthorized user relative to the user equipment; Based on the unauthorized line-of-sight distance and the spatial angle information of each unauthorized user relative to the user device, and combined with a coordinate transformation algorithm, the position coordinates of each unauthorized user within the target area are determined; Based on the location coordinates and the device coordinates of the user equipment, the spatial distance between each unauthorized user and the user equipment is determined; The area of ​​the viewing area is determined based on the spatial distance, the viewing angle, and the azimuth angle.

4. The method according to claim 2, characterized in that, The privacy risk assessment of the displayed content of the user device, based on the at least one voyeuristic indicator and the authorized user's gaze angle, combined with ambient light information, to obtain the privacy risk assessment value of the displayed content includes: Based on the acceleration sensing data of the user equipment, the authorized line-of-sight distance of the authorized user, and the attitude parameters of the authorized user, the gaze elevation angle of the authorized user relative to the user equipment is determined, so as to determine the gaze angle according to the gaze elevation angle and the observation angle of the authorized user relative to the user equipment; Based on the viewing angle, the area of ​​the viewed region, the gaze angle, and the ambient light information, the visual clarity of the displayed content relative to the at least one unauthorized user and the potential viewing risk of the displayed content are assessed to determine the privacy risk assessment value based on the visual clarity and the potential viewing risk.

5. The method according to claim 1, characterized in that, The at least one preset security protection mode includes a first security protection mode and a second security protection mode, wherein the first security protection mode and the second security protection mode have different levels of protection. The step of determining the target security protection mode from at least one preset security protection mode based on the privacy risk assessment value includes: If the privacy risk assessment value is greater than a preset risk threshold, the target security protection mode is determined to be the first security protection mode; If the privacy risk assessment value is less than or equal to the preset risk threshold, the target security protection mode is determined to be the second security protection mode.

6. The method according to claim 5, characterized in that, Adjusting the visibility of the displayed content according to the target security protection mode includes: When the target security protection mode is the first security protection mode, a mask is overlaid on the display content, and the mask is dynamically adjusted to follow the gaze direction of the authorized user, so that the display content has a first visibility in the gaze direction of the authorized user, and a second visibility less than the first visibility in the gaze direction of at least one unauthorized user; When the target security protection mode is the second security protection mode, a raster layer is constructed based on the at least one spying indicator, and the raster layer is superimposed on the display content so that the display content has a third visibility within a preset viewing angle range and a fourth visibility less than the third visibility outside the preset viewing angle range.

7. A display content protection device, characterized in that, The device includes: A determining unit is configured to determine at least one spying indicator of the at least one unauthorized user relative to the user device of an authorized user, based on the visual characteristics of at least one unauthorized user within a target area, wherein the target area is the observable area of ​​the user device; An evaluation unit is used to evaluate the privacy risk of the display content of the user device based on the at least one voyeurism indicator and the gaze angle of the authorized user, combined with ambient light information, and to obtain a privacy risk evaluation value of the display content. An adjustment unit is configured to determine a target security protection mode from at least one preset security protection mode based on the privacy risk assessment value, so as to adjust the visibility of the displayed content according to the target security protection mode.

8. An electronic device, characterized in that, include: The processor and the memory used to store computer programs that can run on the processor. When the processor is used to run the computer program, it performs the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 6.