Display control method and electronic equipment

By monitoring the relative positional relationship between the display screen and the surrounding environment, hiding the window with private content, solving the problem of easy privacy in office scenes, realizing invisible privacy protection.

CN120337313APending Publication Date: 2025-07-18LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510400195.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In office scenarios, the privacy content on the display is easily seen by others when multiple people communicate, resulting in privacy leakage.

Method used

By monitoring the relative positional relationship between the display screen and objects in the surrounding environment, determine whether the control conditions are met, and hide the target window showing privacy content when the conditions are met.

Benefits of technology

Effectively avoid the leakage of privacy content, improve privacy security, and especially protect user privacy without any sense in multiple scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120337313A_ABST
    Figure CN120337313A_ABST
Patent Text Reader

Abstract

The invention discloses a display control method and electronic equipment. The method comprises the following steps: determining at least one application window presented in a display screen; determining a target window in the application windows; the target window is an application window displaying private content; monitoring that a relative position relationship between the display screen and an object in the surrounding environment meets a control condition; and in response to the condition that the relative position relationship meets the control condition, controlling the target window to be in a hidden state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a display control method and an electronic device. Background Art

[0002] In an office scenario, it is often necessary to communicate with others. For example, when multiple people are looking at materials and discussing problems together, there will be other people in front of the computer, and it is easy to expose private content. Summary of the Invention

[0003] In view of this, this application provides a display control method and an electronic device as follows:

[0004] A display control method includes:

[0005] Determine at least one application window presented on the display screen;

[0006] Determine a target window among the application windows; the target window is an application window displaying private content;

[0007] Monitor that the relative position relationship between the display screen and an object in the surrounding environment satisfies a control condition;

[0008] In response to the relative position relationship satisfying the control condition, control the target window to be in a hidden state.

[0009] In the above method, preferably, the control condition includes at least one of the following:

[0010] When the target window satisfies an occlusion condition, the display screen and a first object in the surrounding environment are in a first relative position relationship, and the first object is different from the target object to which the logged-in account of the electronic device belongs;

[0011] The display screen and a second object in the surrounding environment are in a second relative position relationship; the second object is different from the target object; the second relative position relationship is different from the first relative position relationship.

[0012] In the above method, preferably, where:

[0013] The first relative position relationship includes: the target window of the display screen is within the field of view of the first object, and the distance between the target window of the display screen and the first object is less than or equal to a first threshold;

[0014] The second relative position relationship includes: the target window in the display screen is outside the field of view of the second object, or the distance between the target window of the display screen and the second object is greater than the first threshold, and the second object is moving towards the display screen.

[0015] In the above method, preferably, the method further includes:

[0016] Obtaining the window position and window level of the application window in the display screen;

[0017] Determining whether the target window meets the occlusion condition according to the window position and the window level;

[0018] Wherein, the occlusion condition includes at least one of the following:

[0019] The target window is completely occluded by at least one other application window;

[0020] The window area of the target window occluded is greater than or equal to a second threshold;

[0021] The content meeting the privacy condition in the target window is occluded by at least one other application window.

[0022] In the above method, preferably, monitoring that the relative position relationship between the display screen and an object in the surrounding environment meets the control condition includes:

[0023] Using at least one sensor deployed on the display screen to obtain sensing data in the surrounding environment where the display screen is located;

[0024] Detecting the relative position relationship between the target window and an object in the surrounding environment according to the sensing data.

[0025] In the above method, preferably, determining the target window in the application window includes any one of the following:

[0026] Based on a window list including at least one application label, determining the application window with a window label matching the application label as the target window;

[0027] Based on the window content displayed by the application window, determining the application window with window content of a privacy type as the target window;

[0028] In response to a window selection operation for the application window, determining the application window matching the window selection operation as the target window.

[0029] In the above method, preferably, after controlling the target window to be in a hidden state, the method further includes:

[0030] In response to the target window entering the strong protection mode of the hidden state, hiding the window label corresponding to the target window in the status bar.

[0031] In the above method, preferably, the method further includes:

[0032] In response to the satisfaction of the restoration condition corresponding to the target window, control the restoration of the target window and display the window label corresponding to the target window in the status bar;

[0033] Among them, the restoration condition includes at least one of the following:

[0034] Receiving a triggering operation for at least two target keys; the at least two target keys are associated with the target window;

[0035] Receiving a triggering operation for a target label; the target label is the window label corresponding to the target window in the status bar;

[0036] The relative position relationship does not meet the control condition.

[0037] For the above method, preferably, the method further includes:

[0038] Recording the window display position of the target window before entering the hidden state;

[0039] Among them, controlling the restoration of the target window includes:

[0040] According to the window display position corresponding to the target window, control the target window to be presented in the display area corresponding to the window display position on the display screen.

[0041] An electronic device includes:

[0042] A display screen for presenting application windows;

[0043] A monitoring device for monitoring that the relative position relationship between the display and an object in the surrounding environment meets the control condition;

[0044] A processor for determining at least one application window presented on the display screen; determining a target window among the application windows; the target window is an application window displaying privacy content; in response to the relative position relationship meeting the control condition, controlling the target window to be in a hidden state.

[0045] A computer device / system includes: a memory, a processor, and a computer program stored on the memory, and the processor executes the computer program to implement the display control method described in any one of the above.

[0046] A computer-readable storage medium having stored thereon computer programs / instructions, and when the computer programs / instructions are executed by a processor, the display control method described in any one of the above is implemented.

[0047] A computer program product includes a computer program / instructions, and when the computer program / instructions are executed by a processor, the display control method described in any one of the above is implemented.

[0048] As can be seen from the above technical solutions, in a display control method and an electronic device disclosed in the present application, after determining that there is a target window displaying private content on the display screen, it is monitored whether the relative position relationship between the display screen and an object in the surrounding environment meets the control condition. When the relative position relationship meets the control condition, the target window can be controlled to be in a hidden state. It can be seen that in the present application, the target window that needs privacy protection is accurately located and the target window is hidden when there is an object that meets the control condition, thereby avoiding privacy leakage and improving privacy security. Description of the Drawings

[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0050] Figure 1 It is a flowchart of a display control method provided by an embodiment of the present application;

[0051] Figure 2 It is an example diagram of multiple application windows on the display screen;

[0052] Figure 3 It is an example diagram of collecting sensing data through a sensor in an embodiment of the present application;

[0053] Figure 4 It is an example diagram of the control condition being met in an embodiment of the present application;

[0054] Figure 5 It is an example diagram of the occlusion condition being met in an embodiment of the present application;

[0055] Figure 6 It is another example diagram of the occlusion condition being met in an embodiment of the present application;

[0056] Figure 7 It is yet another example diagram of the occlusion condition being met in an embodiment of the present application;

[0057] Figure 8 It is another example diagram of the occlusion condition being met in an embodiment of the present application;

[0058] Figure 9 It is another example diagram of the control condition being met in an embodiment of the present application;

[0059] Figure 10 This is an example diagram of the deployment window list in the embodiment of the present application;

[0060] Figure 11 This is an example diagram of a user selecting a target window in the embodiment of the present application;

[0061] Figure 12 This is an example diagram of hiding the window label of the target window in the embodiment of the present application;

[0062] Figure 13 This is an example diagram of not hiding the window label of the target window in the embodiment of the present application;

[0063] Figure 14 This is an example diagram of hiding and restoring the target window and the window label in the embodiment of the present application;

[0064] Figure 15 This is an example diagram of hiding and restoring the target window in the embodiment of the present application;

[0065] Figure 16 This is a schematic structural diagram of a display control device provided in the embodiment of the present application;

[0066] Figure 17 This is a schematic structural diagram of an electronic device provided in the embodiment of the present application;

[0067] Figure 18 This is an example diagram of the privacy window being blocked in the office scenario applicable to the present application;

[0068] Figure 19 This is another example diagram of the privacy window being blocked in the office scenario applicable to the present application;

[0069] Figure 20 This is an example diagram of the privacy window triggering hiding in the office scenario applicable to the present application. Detailed implementation manners

[0070] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0071] Refer to Figure 1 As shown, this is a flowchart for implementing a display control method provided in the embodiment of the present application. This method can be applied to an electronic device with a display screen, such as a notebook or a tablet device. The technical solution in this embodiment is mainly used to improve privacy security.

[0072] Specifically, the method in this embodiment may include the following steps:

[0073] Step 101: Determine at least one application window presented on the display screen.

[0074] For example, as Figure 2 shown, there are three application windows presented on the display screen: a chat window, a document window, and a browser window.

[0075] Step 102: Determine the target window in the application window.

[0076] Among them, the target window is an application window displaying private content.

[0077] For example, taking Figure 2 as an example, there is private chat content between friends displayed in the chat window.

[0078] Step 103: Monitor whether the relative position relationship between the display screen and objects in the surrounding environment meets the control condition. If the relative position relationship meets the control condition, execute Step 104. If the relative position relationship does not meet the control condition, return to execute Step 103 until there is no target window on the display screen.

[0079] That is to say, in this embodiment, when there is a target window displaying private content on the display screen, the process of monitoring the relative position relationship is triggered. If there is no target window on the display screen, then there is no need to execute the subsequent process.

[0080] Among them, the control condition refers to the condition indicating the risk of privacy leakage. Specifically, the control condition may be: the relative position relationship between the display screen and objects in the surrounding environment, such that: one or more other objects different from the target object can view the private content in the target window. Here, the target object refers to the object to which the logged-in account of the electronic device belongs, such as a legitimate user logging in to the notebook operating system.

[0081] In one implementation, in this embodiment, at least one sensor deployed on the display screen may be used to obtain the sensing data in the surrounding environment where the display screen is located, and then the relative position relationship between the display screen and the target window and objects in the surrounding environment may be detected according to the sensing data, and further determine whether the relative position relationship meets the control condition.

[0082] Among them, the sensors can include radar, infrared sensors, distance sensors, time-of-flight (TOF) sensors, cameras, and other sensors. Based on this, the sensing data collected by the sensors can include: image information, infrared information, TOF information, etc. in the surrounding environment. Accordingly, in this embodiment, the position between an object in the surrounding environment and the display screen, the orientation of the object in the surrounding environment relative to the display screen, the object pose of the object in the surrounding environment, object identity information, etc. can be obtained. Further, it is determined whether the object in the surrounding environment is a target object according to the object identity information, and the relative position relationship between the display screen and the target window and the object in the surrounding environment is determined according to the position between the object in the surrounding environment and the display screen, the orientation of the object in the surrounding environment relative to the display screen, the object pose of the object in the surrounding environment, etc.

[0083] For example, as Figure 3 shown in, in this embodiment, the sensing data in the surrounding environment is collected by the sensor to determine the relative position relationship between the display screen and the object in the surrounding environment.

[0084] Step 104: Control the target window to be in a hidden state.

[0085] In one implementation, the target window being in a hidden state means that the target window is minimized so that the private content in the target window cannot be viewed by other objects.

[0086] In another implementation, the target window being in a hidden state means that the transparency of the target window is set to 100%, that is, completely transparent, so that the private content in the target window cannot be viewed by other objects.

[0087] It can be seen from the above technical solutions that in a display control method provided by an embodiment of the present application, after determining that there is a target window displaying private content in the display screen, it is monitored whether the relative position relationship between the display screen and the object in the surrounding environment meets the control condition. When the relative position relationship meets the control condition, the target window can be controlled to be in a hidden state. It can be seen that in this embodiment, the target window that needs privacy protection is accurately located and the target window is hidden when there is an object that meets the control condition, thereby avoiding privacy leakage and improving privacy security.

[0088] In one implementation, the control condition can be: when the target window meets the occlusion condition, the display screen and the first object in the surrounding environment are in a first relative position relationship.

[0089] Among them, the first object is different from the target object to which the login account of the electronic device belongs, such as the user object logging in to the operating system. The display screen and the first object different from the target object present a first relative position relationship representation: the first object will see the target window in the display screen, resulting in the leakage of private content in the target window.

[0090] In a specific implementation, the first relative position relationship may include: the target window of the display screen is within the field of view of the first object, and the distance between the target window of the display screen and the first object is less than or equal to the first threshold.

[0091] Among them, in this embodiment, the sensor can be used to collect the sensing information about the object in the surrounding environment of the display to determine whether there is a first object, whether the target window of the display screen is within the field of view of the first object, and whether the distance between the target window of the display screen and the first object is less than or equal to the first threshold.

[0092] It should be noted that whether the target window is within the field of view of the first object can be understood as: whether the first object can see the target window. Specifically: the first object is within the screen viewing range of the display screen. At this time, whether the front of the first object faces the display screen or not, there is a risk that the first object can see the target window.

[0093] Accordingly, in this embodiment, when it is detected that there is a risk that the first object can see the target window, the target window is controlled to enter the hidden state, thereby protecting the user privacy.

[0094] For example, as Figure 4 shown, the screen viewing range of the display screen is a 135-degree fan-shaped range centered on the display screen. There is one or more first objects such as other users within the screen viewing range, and the distance between the other users and the display screen is less than 3 meters. At this time, it can be determined that these other users may see the privacy window in the display screen, and thus it can be determined that the display screen and the objects in the surrounding environment present a first relative position relationship.

[0095] In one implementation manner, the occlusion condition may be at least one of the following:

[0096] First, the occlusion condition may be: the target window is completely occluded by at least one other application window. For example, as Figure 5 shown, the target window is completely occluded by an application window with a larger window size, or, as Figure 6 shown, there are three application windows that respectively occlude a part of the target window, resulting in the target window being completely occluded by the three application windows. At this time, it can be determined that the target window meets the occlusion condition.

[0097] Based on this, in this embodiment, when the target window is completely blocked, even if there is a first object in front of the display screen who can view the display screen, the target window is controlled to enter the hidden state. Thus, for the first object, because the target window is blocked, it will not feel that the target window enters the hidden state, thereby realizing the protection of user privacy without any perception.

[0098] Second, the occlusion condition can be: the window area of the target window that is blocked is greater than or equal to a second threshold. The second threshold can be an area threshold determined according to a target ratio value and the current window area of the target window. For example, as Figure 7 shown in the figure, the target window is blocked by two application windows, and these two application windows block 80% of the window area of the target window. At this time, it can be determined that the target window meets the occlusion condition.

[0099] Based on this, in this embodiment, when most of the target window is blocked, even if there is a first object in front of the display screen who can view the display screen, the target window is controlled to enter the hidden state. Thus, for the first object, because most of the target window is blocked, it will not easily feel that the target window enters the hidden state, thereby realizing the protection of user privacy without any perception.

[0100] Third, the occlusion condition can be: the content that meets the privacy condition in the target window is blocked by at least one other application window. The content of the privacy condition can be the image content or text content of the target window, etc. In this embodiment, the content in the target window can be identified by type or information to identify the content that meets the privacy condition. For example, as Figure 8 shown in the figure, the friend interaction content such as interaction text and images in the target window is blocked by other application windows. At this time, it can be determined that the target window meets the occlusion condition.

[0101] Based on this, in this embodiment, when the privacy content in the target window is blocked, even if there is a first object in front of the display screen who can view the display screen, the target window is controlled to enter the hidden state. Thus, for the first object, because the privacy content in the target window is blocked, these privacy contents will not be seen, thereby realizing the protection of user privacy.

[0102] It should be noted that the occlusion condition can also be other implementations, which will not be elaborated here.

[0103] In one implementation manner, in this embodiment, the window positions and window hierarchies of the application windows in the display screen can be obtained, and then whether the target window meets the occlusion condition can be determined according to the window positions and window hierarchies.

[0104] Among them, the window position can be used to determine the overlapping area between application windows. For example, the window position can be represented by the window vertex coordinates. Based on this, the relative position relationship between the window vertex coordinates of each application window can determine the overlapping area between each application window.

[0105] The window level can be used to determine the relationship of being occluded and occluding between application windows. For example, an application window with a higher window level will occlude an application window with a lower window level.

[0106] For example, according to the window positions and window levels of the chat window and the other three application windows respectively, determine whether the chat window meets the occlusion conditions, such as whether the chat window is completely occluded, or whether more than a second threshold of the window area of the chat window is occluded, or whether there is content in the chat window that meets the privacy conditions and is occluded.

[0107] In one implementation, the control condition may be: the display screen has a second relative position relationship with a second object in the surrounding environment.

[0108] Among them, the second object is different from the target object; the second relative position relationship is different from the first relative position relationship. The display screen having a second relative position relationship with the second object means that: the second object cannot see the target window, but as the second object moves, the second object may see the target window, resulting in a risk of leakage of the privacy content in the target window.

[0109] In a specific implementation, the second relative position relationship may include: the target window on the display screen exceeds the field of view of the second object, or the distance between the target window of the display screen and the second object is greater than a first threshold, and the second object moves towards the display screen.

[0110] Based on this, in this embodiment, regardless of whether the target window meets the occlusion conditions, when it is detected that there is a second object about to see the display screen, the target window is controlled to enter the hidden state in advance. Thus, for the second object, even if it moves in front of the display screen, it will not be able to see the privacy content in the target window because the target window has entered the hidden state, thereby realizing a seamless protection of user privacy.

[0111] Among them, in this embodiment, the sensor can be used to collect the sensing information about the object in the surrounding environment of the display to determine whether there is a second object, and whether the target window exceeds the field of view of the second object, and whether the distance between the display screen and the second object is greater than the first threshold, and the moving direction of the second object, and the moving direction of the second object indicates whether the second object moves towards the display screen.

[0112] It should be noted that the target window is within the field of view of the second object, which can be understood as whether the second object can see the target window. Specifically, the second object is not within the screen viewing range of the display screen. At this time, the second object can only see the back or side of the display screen.

[0113] For example, as Figure 9 shown in, the screen viewing range of the display screen is a 135-degree fan-shaped range centered on the display screen. There is one or more second objects such as other users in the non-viewing range different from the screen viewing range, or the distance between other users and the display screen exceeds 3 meters, but the second object is moving towards the display screen. At this time, as the second object continues to move, it may see the target window of the display screen. At this time, it can be determined that these other users may see the privacy window in the display screen, and thus it can be determined that the display screen and the objects in the surrounding environment are in a second relative position relationship.

[0114] Furthermore, in this embodiment, when determining that the display screen and the second object in the surrounding environment are in a second relative position relationship, a prompt message can be output on the display screen. The prompt message is used to prompt that there may be a second object arriving in front of the display screen.

[0115] Among them, the prompt message can be output in the form of a bubble or can be output in the form of a pop-up window.

[0116] In one implementation, when determining the target window in the application window in step 102, an application window whose window label matches the application label can be determined as the target window based on a window list containing at least one application label.

[0117] For example, as Figure 10 shown in, a window list is deployed in the electronic device. The application labels of application windows that may have privacy leaks are recorded in the window list, such as the application labels of chat applications, bank applications, etc. Based on this, in this embodiment, after determining all the application windows presented on the display screen, the window labels of these application windows are compared with the application labels in the window list, and then the application windows whose window labels match the application labels in the window list are screened out. These application windows are the target windows.

[0118] In another implementation, when determining the target window in the application window in step 102, an application window whose window content is of a privacy type can be determined as the target window based on the window content displayed by the application window.

[0119] For example, in this embodiment, the content type of the window content displayed by each application window presented on the display screen can be identified to determine whether there is window content of a privacy type, such as chat text, images, bank card numbers, etc. The application window with window content of a privacy type is determined as the target window.

[0120] In another implementation, when determining the target window in the application window in step 102, the application window that matches the window selection operation can be determined as the target window in response to the window selection operation on the application window.

[0121] For example, as Figure 11 shown in, in this embodiment, the user performs a window selection operation on the application window presented on the display screen, such as marking the chat window therein, and the marked application window is determined as the target window.

[0122] Based on the above implementation, in this embodiment, after step 104, the window label corresponding to the target window in the status bar can also be hidden in response to the target window entering the strongly protected mode of the hidden state. The status bar includes at least one window label and may also include other function identifiers, and the function identifiers can be clicked to trigger corresponding functions. For example, the status bar includes system icons, search icons, window labels of application windows, time identifiers, network identifiers, and quick setting controls such as volume, microphone, and return to the desktop.

[0123] Among them, the target window also has a weakly protected mode, that is, after the target window enters the hidden state, the window label corresponding to the target window is still displayed in the status bar.

[0124] For example, as Figure 12 shown in, after minimizing the chat window in this embodiment, based on the chat window being in the strongly protected mode, the window label of the chat window in the status bar is also hidden;

[0125] Again, as Figure 13 shown in, after minimizing the bank window in this embodiment, based on the bank window being in the weakly protected mode, the window label of the bank window in the status bar remains presented.

[0126] Based on the above implementation, in this embodiment, after controlling the target window to be in the hidden state, the target window can also be controlled to be restored in response to the restoration condition corresponding to the target window being satisfied. If the window label corresponding to the target window in the status bar is also hidden, then the window label corresponding to the target window is displayed in the status bar.

[0127] For example, as Figure 14 shown in, after minimizing the chat window, based on the chat window being in the strongly protected mode, the window label of the chat window in the status bar is also hidden, and in the case where the restoration condition is satisfied, the chat application is controlled to be restored and the window label of the chat application in the status bar is also restored and displayed.

[0128] In one implementation, the restoration condition can be: receiving a trigger operation for at least two target keys, where the at least two target keys are associated with the target window.

[0129] For example, after controlling the chat window to enter the hidden state, if the user presses two target keys such as ctrl + del, the chat window can be controlled to resume, and the window label of the chat application in the status bar can also be restored and displayed.

[0130] In another implementation, the restoration condition can be: receiving a trigger operation for a target label. Here, the target label is the window label corresponding to the target window in the status bar.

[0131] For example, after controlling the chat window to enter the hidden state, the window label of the chat application in the status bar remains displayed. If the user clicks on the window label of the chat application in the status bar, the chat window can be controlled to resume.

[0132] In another implementation, the restoration condition can be: the relative position relationship between the display and an object in the surrounding environment does not meet the control condition.

[0133] For example, after controlling the chat window to enter the hidden state, when there are no other users within the screen viewing range of the display screen, the chat window can be restored, and the window label of the chat application in the status bar can also be restored and displayed. At this time, no user operation is required, which can reduce the operation complexity of restoring the window.

[0134] Based on the above implementation, in this embodiment, the window display position before the target window enters the hidden state can also be recorded. In this way, when controlling the restoration of the target window, the target window can be controlled to appear in the display area corresponding to the window display position on the display screen according to the window display position corresponding to the target window.

[0135] That is to say, in this embodiment, the target window is restored according to the original position before the target window is hidden, which does not affect the user's operation on the target window and improves the user experience.

[0136] For example, as Figure 15 shown, after controlling the chat window to enter the hidden state, if the user clicks on the window label of the chat application in the status bar, the chat window can be controlled to resume to the position before it was hidden.

[0137] Refer to Figure 16 , which is a schematic structural diagram of a display control device provided by an embodiment of the present application. The device may include the following units:

[0138] A window determination unit 1601, configured to determine at least one application window presented on the display screen;

[0139] A target determination unit 1602, configured to determine a target window in the application window; the target window is an application window displaying private content;

[0140] A control monitoring unit 1603, configured to monitor that a relative position relationship between the display screen and an object in the surrounding environment meets a control condition;

[0141] A hiding control unit 1604, configured to, in response to the relative position relationship meeting the control condition, control the target window to be in a hidden state.

[0142] As can be seen from the above technical solution, in a display control device provided in an embodiment of the present application, after determining that there is a target window displaying private content in the display screen, it is monitored whether the relative position relationship between the display screen and an object in the surrounding environment meets the control condition. When the relative position relationship meets the control condition, the target window can be controlled to be in a hidden state. It can be seen that in this embodiment, the target window that needs privacy protection is accurately located and the target window is hidden when there is an object that meets the control condition, thereby avoiding privacy leakage and improving privacy security.

[0143] In one implementation, the control condition includes at least one of the following:

[0144] When the target window meets the occlusion condition, the display screen and a first object in the surrounding environment have a first relative position relationship, and the first object is different from the target object to which the logged-in account of the electronic device belongs;

[0145] The display screen and a second object in the surrounding environment have a second relative position relationship; the second object is different from the target object; and the second relative position relationship is different from the first relative position relationship.

[0146] Wherein, the first relative position relationship includes: the target window of the display screen is within the field of view of the first object, and the distance between the target window of the display screen and the first object is less than or equal to a first threshold;

[0147] The second relative position relationship includes: the target window in the display screen is outside the field of view of the second object, or the distance between the target window of the display screen and the second object is greater than the first threshold, and the second object moves towards the display screen.

[0148] In one implementation, the control monitoring unit 1603 is further configured to: obtain the window position and window level of the application window in the display screen; and determine whether the target window meets the occlusion condition according to the window position and the window level;

[0149] Wherein, the occlusion condition includes at least one of the following:

[0150] The target window is completely occluded by at least one other application window;

[0151] The area of the window by which the target window is occluded is greater than or equal to a second threshold;

[0152] The content in the target window that meets the privacy condition is occluded by at least one other application window.

[0153] In one implementation, when the control monitoring unit 1603 monitors that the relative position relationship between the display screen and an object in the surrounding environment meets the control condition, it is specifically configured to: obtain sensing data in the surrounding environment where the display screen is located by using at least one sensor deployed on the display screen; detect the relative position relationship between the target window and an object in the surrounding environment according to the sensing data.

[0154] In one implementation, when the target determination unit 1602 determines the target window in the application window, it includes any one of the following:

[0155] Based on a window list including at least one application label, determine the application window whose window label matches the application label as the target window;

[0156] Based on the window content displayed by the application window, determine the application window whose window content is of the privacy type as the target window;

[0157] In response to a window selection operation for the application window, determine the application window that matches the window selection operation as the target window.

[0158] In one implementation, after the hiding control unit 1604 controls the target window to be in a hidden state, it is further configured to: in response to the target window entering the strong protection mode of the hidden state, hide the window label corresponding to the target window in the status bar.

[0159] In one implementation, the hiding control unit 1604 is further configured to: in response to the restoration condition corresponding to the target window being satisfied, control the target window to be restored and display the window label corresponding to the target window in the status bar;

[0160] Wherein, the restoration condition includes at least one of the following:

[0161] Receiving a trigger operation for at least two target keys; the at least two target keys are associated with the target window;

[0162] Receiving a trigger operation for a target label; the target label is the window label corresponding to the target window in the status bar;

[0163] The relative position relationship does not meet the control condition.

[0164] In one implementation, the hiding control unit 1604 is further configured to: record the window display position before the target window enters the hidden state;

[0165] Wherein, when the hiding control unit 1604 controls the restoration of the target window, it is specifically configured to: control the target window to be presented in the display area corresponding to the window display position on the display screen according to the window display position corresponding to the target window.

[0166] It should be noted that the specific implementation manners of the units in this embodiment can refer to the corresponding content in the foregoing, and will not be elaborated herein.

[0167] Reference Figure 17 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may include the following structures:

[0168] A display screen 1701 for presenting application windows;

[0169] A monitoring device 1702, such as a sensor, etc., for monitoring that the relative position relationship between the display and an object in the surrounding environment meets the control condition;

[0170] A processor 1703 for determining at least one application window presented on the display screen 1701; determining a target window in the application window; the target window is an application window displaying private content; and in response to the relative position relationship meeting the control condition, controlling the target window to be in a hidden state.

[0171] It can be seen from the above technical solutions that in an electronic device provided by an embodiment of the present application, after determining that there is a target window displaying private content on the display screen, it is monitored whether the relative position relationship between the display screen and an object in the surrounding environment meets the control condition. When the relative position relationship meets the control condition, the target window can be controlled to be in a hidden state. It can be seen that in this embodiment, the target window that needs privacy protection is accurately located and the target window is hidden when there is an object that meets the control condition, thereby avoiding privacy leakage and improving privacy security.

[0172] Taking an office scenario as an example, the technical solution of the present application will be illustrated as follows:

[0173] First, in an office scenario, it is often necessary to communicate with others, view materials together, and discuss issues. There are often multiple people in front of the computer, which is likely to expose private content. Also, when looking for a window in a multi-person scenario, private content is easily exposed. For example, if the top-level window covers the underlying private window, when minimizing the top-level window to find the required private window, the covered private window is likely to be exposed, resulting in a privacy leakage problem. Moreover, when there are people behind, when the user actively minimizes the top-level window, it may also accidentally expose the private window.

[0174] In view of this, the technical solution proposed in this application can invisibly protect the exposure risk of the user's privacy during computer use.

[0175] Compared with actively using the WIN+D combination key to minimize all windows, the technical solution proposed in this application can achieve more refined control of the window and assist the user in protecting the privacy of the window.

[0176] The specific solution is as follows:

[0177] First, obtain the current number of people scenario through sensors such as cameras, TOF, radar, ultrasonic waves, etc. Then, analyze whether the specified window (i.e., the private window) is covered through window position analysis.

[0178] As Figure 18 shown in Scenario 1, when the maximized window covers the underlying private window, the underlying private window will be automatically minimized when there is a multi-person scenario (a multi-person scenario means that there are other users different from the logged-in user in front of the screen). When the user does not change the window layout and the multi-person scenario is lifted, the private window is restored to the layout before minimization.

[0179] As Figure 19 shown in Scenario 2, when there are multiple windows, calculate whether the private window is completely blocked by the top-level window and other underlying windows 1 and 2, etc. When it is completely blocked and there are others in front of the screen, the specified private window is automatically minimized. When the user does not change the window layout and the multi-person scenario is lifted, the private window is restored to the layout before minimization.

[0180] It should be noted that when the private window is not completely blocked, since it is impossible to be invisible, hiding is not triggered.

[0181] For example, in a scenario where one or more private windows are selected and only part of their content is blocked by the top-level window or not blocked at all, as Figure 20 shown:

[0182] 1) If the sensor used can only detect whether there are people in front of the screen, then since multiple people are already in front of the screen when a multi-person scenario is detected, the windows that are not blocked by the top-level window do not perform any action.

[0183] 2) If it is 360° panoramic sensing, check if there are multiple people approaching. If it is detected that someone is approaching and the position is not within the screen viewing range (i.e., within the trigger range), minimize the background privacy window. Even if it is not covered by other windows, it can also remind that someone is approaching, and it can also be set to have the same effect as 1).

[0184] It should be noted that the privacy window restoration can be selected in strong protection and weak protection modes. In the strong protection mode, it cannot be restored by clicking the status bar. It can be restored after the multi-person scenario ends or by pressing a specific combination of keys. In the weak protection mode, it can be restored by clicking the window label in the status bar.

[0185] In this specification, each embodiment is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the embodiments can be referred to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, refer to the description in the method section.

[0186] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0187] The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.

[0188] The above description of the disclosed embodiments enables those skilled in the art to implement or use this application. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A display control method, comprising: Determining at least one application window presented on a display screen; Determining a target window among the application windows; The target window is an application window displaying private content; Monitoring that a relative position relationship between the display screen and an object in the surrounding environment satisfies a control condition; In response to the relative position relationship satisfying the control condition, controlling the target window to be in a hidden state.

2. The method according to claim 1, wherein the control condition includes at least one of the following: When the target window satisfies an occlusion condition, the display screen and a first object in the surrounding environment are in a first relative position relationship, and the first object is different from a target object to which the logged-in account of the electronic device belongs; The display screen and a second object in the surrounding environment are in a second relative position relationship; The second object is different from the target object; the second relative position relationship is different from the first relative position relationship.

3. The method according to claim 2, wherein: The first relative position relationship includes: the target window of the display screen is within the field of view of the first object, and the distance between the target window of the display screen and the first object is less than or equal to a first threshold; The second relative position relationship includes: the target window in the display screen is outside the field of view of the second object, or the distance between the target window of the display screen and the second object is greater than the first threshold, and the second object moves towards the display screen.

4. The method according to claim 2, the method further comprising: Obtaining the window position and window level of the application window in the display screen; Determining whether the target window satisfies the occlusion condition according to the window position and the window level; Wherein, the occlusion condition includes at least one of the following: The target window is completely occluded by at least one other application window; The window area of the target window occluded is greater than or equal to a second threshold; The content satisfying the privacy condition in the target window is occluded by at least one other application window.

5. The method according to claim 1, monitoring that the relative position relationship between the display screen and an object in the surrounding environment satisfies the control condition, comprising: Using at least one sensor deployed on the display screen to obtain sensing data in the surrounding environment where the display screen is located; Detecting the relative position relationship between the target window and an object in the surrounding environment according to the sensing data.

6. The method according to claim 1, determining the target window among the application windows, including any one of the following: Based on a window list including at least one application label, determining an application window whose window label matches the application label as the target window; Based on the window content displayed by the application window, determining an application window whose window content is of a privacy type as the target window; In response to a window selection operation for the application window, determining an application window that matches the window selection operation as the target window.

7. The method according to claim 1, after controlling the target window to be in a hidden state, the method further comprises: In response to the strong protection mode in which the target window enters the hidden state, hide the window label corresponding to the target window in the status bar.

8. The method according to claim 1 or 7, wherein the method further comprises: In response to the restoration condition corresponding to the target window being satisfied, control the target window to be restored, and display the window label corresponding to the target window in the status bar; wherein the restoration condition includes at least one of the following: Receiving a trigger operation for at least two target keys; the at least two target keys are associated with the target window; Receiving a trigger operation for a target label; the target label is the window label corresponding to the target window in the status bar; The relative position relationship does not satisfy the control condition.

9. The method according to claim 8, wherein the method further comprises: Record the window display position of the target window before it enters the hidden state; wherein controlling the target window to be restored includes: According to the window display position corresponding to the target window, control the target window to be presented in the display area corresponding to the window display position on the display screen.

10. An electronic device, comprising: A display screen for presenting application windows; A monitoring device for monitoring that the relative position relationship between the display and an object in the surrounding environment satisfies a control condition; A processor for determining at least one application window presented on the display screen; determining a target window among the application windows; the target window is an application window displaying private content; and in response to the relative position relationship satisfying the control condition, controlling the target window to be in a hidden state.