Display control method, device and electronic equipment
By monitoring control conditions and target operations in the display area of the electronic device, the status of the occlusion object is automatically controlled, which solves the problem of occluding content in the small window and improves the user experience.
Patent Information
- Application Number
- CN202111449493.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2041-11-30
AI Technical Summary
When using a computer such as a notebook, the existence of a small window causes the content output on the screen to be blocked, and the user needs to manually close or drag the small window to be used normally.
By monitoring whether the control condition is satisfied in the display area of the electronic device, it is determined whether there is a target operation for the occluded object. If the condition is met, the occluded object is controlled to be in the first state so that the occluded object is visible.
There is no need for the user to manually close or drag the small window, which directly makes the obstructed content visible, improving the user experience.
Smart Images

Figure CN114138157B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a display control method, device and electronic equipment. Background Art
[0002] When using a computer such as a notebook, there will be a small window that blocks the content output on the screen. The user needs to manually close or drag the small window before the content output on the screen can be used normally. Summary of the invention
[0003] In view of this, the present application provides a display control method, device and electronic device as follows:
[0004] A display control method, comprising:
[0005] In a case where a first object is output in a display area of the electronic device and a second object blocks the first object, monitoring whether a control condition is satisfied;
[0006] If the control condition is met, monitoring whether there is a target operation for the second object; wherein the target operation is at least used to indicate that the second object does not block the first object;
[0007] In the case where the target operation occurs, the second object is controlled to be in a first state so that the first object is visible.
[0008] In the above method, preferably, the target operation includes any one of the following:
[0009] The duration of the operation marker staying on the target control of the second object is greater than or equal to a first threshold, and the target control is used to control the second object to be closed or run in the background;
[0010] The duration for which the operation marker stays on the display area of the second object is greater than or equal to a second threshold;
[0011] The distance of dragging the second object is greater than or equal to a third threshold.
[0012] In the above method, preferably, the control conditions at least include:
[0013] The correlation degree between the output trigger instruction of the second object and the input operation on the electronic device is less than or equal to a first correlation threshold.
[0014] In the above method, preferably, the control conditions at least include:
[0015] The degree of association between the displayed content of the second object and the displayed content of the first object is less than or equal to a second association threshold;
[0016] and / or,
[0017] The degree of association between the object type of the second object and the object type of the first object is less than or equal to a third association threshold.
[0018] In the above method, preferably, the control conditions at least include:
[0019] The first object is a running object in a preset object list.
[0020] In the above method, preferably, the correlation between the displayed content of the second object and the displayed content of the first object is obtained by:
[0021] identifying a first text and / or a first image in the displayed content of the first object;
[0022] identifying a second text and / or a second image in the displayed content of the second object;
[0023] Obtaining a correlation between the first text and / or first image and the second text and / or second image.
[0024] In the above method, preferably, controlling the second object to be in the first state comprises:
[0025] Controlling the second object to be in a hidden state;
[0026] or,
[0027] Controlling the second object to be displayed at the bottom;
[0028] or,
[0029] Controlling the second object to increase display transparency;
[0030] or,
[0031] Control the second object to close.
[0032] The above method, preferably, further comprises:
[0033] Monitor whether a recovery condition corresponding to the second object is satisfied, and if the recovery condition is satisfied, control the second object to be in a second state so that the second object is visible.
[0034] A display control device, comprising:
[0035] A condition monitoring unit, configured to monitor whether a control condition is satisfied when a first object is output in a display area of the electronic device and a second object blocks the first object, and trigger an operation monitoring unit if the control condition is satisfied;
[0036] an operation monitoring unit, configured to monitor whether there is a target operation for the second object, wherein the target operation is at least used for at least the second object not to block the first object, and trigger a state control unit when the target operation exists;
[0037] A state control unit is used to control the second object to be in a first state so that the first object is visible.
[0038] An electronic device, comprising:
[0039] A memory for storing a computer program and data generated by the execution of the computer program;
[0040] A processor is used to execute the computer program to achieve: when a first object is output in a display area of an electronic device and a second object obstructs the first object, monitoring whether a control condition is met; if the control condition is met, monitoring whether there is a target operation for the second object; wherein the target operation is at least used to indicate that the second object does not obstruct the first object; and in the presence of the target operation, controlling the second object to be in a first state so that the first object is visible.
[0041] It can be seen from the above technical solutions that in a display control method, device and electronic device disclosed in the present application, when a first object is output in the display area of the electronic device and a second object blocks the first object, it is determined whether to monitor the target operation for the second object for indicating that the second object does not block the first object by monitoring whether the control condition is met, and then when the target operation is monitored, the second object is controlled to be in a first state that enables the first object to be visible. It can be seen that in the present application, when the control condition is met, in response to the target operation indicating that the second object does not block the first object, so that the first object is visible, the first object can be made visible without the user having to close the second object or other operations, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] 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 described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A flow chart of a display control method provided in Embodiment 1 of the present application;
[0044] Figure 2-Figure 17They are respectively exemplary diagrams of the embodiments of the present application;
[0045] Fig.18 A schematic diagram of the structure of a display control device provided in Embodiment 2 of the present application;
[0046] Fig.19 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present application;
[0047] Fig. 20 This is a flowchart of the occlusion processing when the document window is blocked in this application;
[0048] Fig.21 This is an example diagram of occlusion processing for the case where the document window is occluded, as applicable to this application;. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] refer to Figure 1 As shown, it is a flow chart of a display control method provided in the first embodiment of the present application, which can be applied to electronic devices with a display area capable of outputting various objects, such as notebooks or computers. The technical solution in this embodiment is mainly used to improve the user experience of electronic devices.
[0051] Specifically, the method in this embodiment may include the following steps:
[0052] Step 101: Monitor whether a first object is output in a display area of an electronic device and a second object blocks the first object. If so, execute step 102; otherwise, re-execute step 101 to continue to monitor whether a first object is output in a display area of the electronic device and a second object blocks the first object.
[0053] The first object and the second object here can be display windows in electronic devices, such as application windows or pop-up windows of applications, such as Word pages, chat windows of social applications, video playback windows, advertising pop-up windows, etc., or floating marks in electronic devices, such as floating balls of antivirus software, floating icons of input methods, etc. These objects can be displayed in the display area of electronic devices. The display area of electronic devices is the display area formed by the display screen of electronic devices, such as the display area of laptop screens or mobile phone screens.
[0054] Based on this, in this embodiment, the state of whether there is a second object in the display area that obstructs the output of the first object is monitored. If occlusion occurs between two objects, the obstructed object can be recorded as the first object, and the object that obstructs the first object can be recorded as the second object. At this time, step 102 is executed. If there is no occlusion between objects, step 101 can be continued, that is, continue to monitor whether there is occlusion between objects.
[0055] Step 102: Monitor whether the control condition is met. If the control condition is met, execute step 103. If the control condition is not met, return and re-execute step 101 to continue to output whether the first object is output in the display area of the electronic device and whether the second object blocks the first object.
[0056] The control condition refers to a condition that requires controlling the state in which the second object blocks the first object, that is, the second object affects the output of the content of the first object, and the first object needs to be controlled to be visible.
[0057] In one implementation, the control condition may be: the correlation between the output trigger instruction of the second object and the input operation on the electronic device is less than or equal to the first correlation threshold. The correlation between the output trigger instruction of the second object and the input operation on the electronic device can be obtained by the instruction parameter in the output trigger instruction and the operation parameter in the input operation. Specifically, the similarity between the instruction parameter and the operation parameter can be used as the correlation, and the similarity can be calculated by the similarity between the instruction parameter and the operation parameter in terms of parameter type and parameter value. The first correlation threshold can be set according to demand. Based on this, the correlation between the output trigger instruction of the second object and the input operation on the electronic device is less than or equal to the first correlation threshold, indicating that the output of the second object is not triggered by the input operation on the electronic device, but is triggered to output when the trigger condition of the second object itself is met, and the trigger condition itself is irrelevant to the input operation on the electronic device. At this time, since the second object blocks the first object, the second object that is triggered to output affects the output of the content of the first object. Therefore, the first object needs to be controlled to be visible, that is, step 103 is executed.
[0058] For example, Figure 2 As shown in , a user uses office software on a laptop to edit a document, and the document window is displayed on the laptop screen. At this time, a pop-up window automatically appears on the laptop screen, and the automatically appearing pop-up window is popped up based on time conditions, such as a timed advertising pop-up window. When the laptop detects that the document window is blocked by the pop-up window and the appearance of the pop-up window is not related to the user's editing operation on the document window, it can be determined that the pop-up window needs to be processed, that is, the control condition is met.
[0059] For example, Figure 3 As shown in , a user uses office software to edit an email on a laptop, and the email window is displayed on the laptop screen. At this time, when the user clicks the control for adding an attachment document while writing an email, an "Open" window will pop up to facilitate the user to select the document to be added to the email. The "Open" window that appears is based on the user's input operation when writing the email. Therefore, when the laptop detects that the email window is blocked by the "Open" pop-up window and the appearance of the pop-up window is related to the user's editing operation on the email window, it can be determined that the "Open" pop-up window does not need to be processed, that is, the control condition is met.
[0060] In another implementation, the control condition may be: the correlation between the display content of the second object and the display content of the first object is less than or equal to a second correlation threshold. The second correlation threshold may be set as required. Specifically, the correlation between the display content of the second object and the display content of the first object may be obtained in the following manner:
[0061] Identify the first text and / or the first image in the display content of the first object, and identify the second text and / or the second image in the display content of the second object, and then obtain the correlation between the first text and / or the first image and the second text and / or the second image, for example, obtain the initial correlation between the first text and the second text, obtain the initial correlation between the first text and the second image, obtain the initial correlation between the first image and the second text, obtain the initial correlation between the first image and the second image, obtain the initial correlation between the first text and the second text and the second image, obtain the initial correlation between the first image and the second text and the second image, obtain the initial correlation between the first text and the first image and the second text and the second image, obtain the initial correlation between the first text and the first image and the second text, obtain the initial correlation between the first text and the first image and the second image, and obtain any one or more of the initial correlations, and then obtain the correlation between the display content of the second object and the display content of the first object by weighted averaging or weighted summing based on the obtained initial correlations.
[0062] Based on this, the correlation between the display content of the second object and the display content of the first object is less than or equal to the second correlation threshold, indicating that the output of the second object is independent of the display content of the currently output first object. At this time, since the second object blocks the first object, the second object that is triggered to output affects the output of the content of the first object. Therefore, the first object needs to be controlled to be visible, that is, step 103 is executed.
[0063] For example, Figure 2As shown in , a user uses office software to edit a document on a laptop, and the document window is displayed on the laptop screen. At this time, a pop-up window appears on the laptop screen, such as an advertisement pop-up window. When the laptop detects that the document window is blocked by the pop-up window and the content of the pop-up window is irrelevant to the content of the document window being edited, it can be determined that the pop-up window needs to be processed, that is, the control condition is met.
[0064] For example, Figure 4 As shown in , when a user uses live broadcast software on a laptop to watch a host's product recommendation video, the live broadcast screen is displayed on the laptop screen. At this time, there is a situation where a product link appears on the laptop screen. When the laptop detects that the live broadcast screen is blocked by the product link and the product link is related to the blocked live broadcast screen, it can be determined that the product link does not need to be processed, that is, the control condition is not met.
[0065] In another implementation, the control condition may be: the correlation between the object type of the second object and the object type of the first object is less than or equal to a third correlation threshold. The third correlation threshold may be set as required. Specifically, the correlation between the object type of the second object and the object type of the first object may be obtained from a preset correlation list. For example, the correlation list includes correlations between multiple object types, such as the correlation between the shopping window type and the video window type, the correlation between the document window type and the shopping window type, and so on. Based on this, the correlation between the object type of the second object and the object type of the first object is less than or equal to the third correlation threshold, indicating that the output of the second object is independent of the currently output first object. At this time, since the second object blocks the first object, the second object that is triggered to output affects the output of the content of the first object. Therefore, the first object needs to be controlled to be visible, i.e., step 103 is executed.
[0066] For example, Figure 5 As shown in , a user uses office software to edit a document on a laptop, and the document window is displayed on the laptop screen. At this time, a video call request window appears on the laptop screen. When the laptop detects that the document window is blocked by the video call request window and the correlation between the types of the two windows is small, it can be determined that the video call request window needs to be processed, that is, the control condition is met.
[0067] For example, Figure 6As shown in , when a user uses video software to watch a movie on a laptop, the movie screen is displayed on the laptop screen. At this time, a video call request window appears on the laptop screen. When the laptop detects that the movie screen is blocked by the video call request window and both the video call request window and the video screen window are entertainment-type windows, it can be determined that the video call request window does not need to be processed, that is, the control condition is not met.
[0068] In another implementation, the control condition may be that the correlation between the display content of the second object and the display content of the first object is less than or equal to a second correlation threshold, and the correlation between the object type of the second object and the object type of the first object is less than or equal to a third correlation threshold.
[0069] For example, Figure 7 As shown in , a user uses office software on a notebook to edit a document, and the document window is displayed on the notebook screen. At this time, a shopping window appears on the notebook screen. When the notebook detects that the document window is blocked by the shopping window and the correlation between the types of the two windows is small and the correlation between the window contents is small, it can be determined that the shopping window needs to be processed, that is, the control condition is met.
[0070] In addition, the control condition also includes: the first object is a running object in the preset object list. The object list can be a list of object identifiers containing multiple running objects, such as a list containing multiple application identifiers, so that only when the first object is any running object in the list, the above judgments are made on whether the second object needs to be processed. If the first object is no longer in the object list, it can be determined that the control condition is not satisfied, and then it can be no longer determined whether the conditions in any of the above implementations are satisfied. That is to say, in this embodiment, when the first object is a running object in the preset object list, it is further determined whether the correlation between the output trigger instruction of the second object and the input operation on the electronic device is less than or equal to the first correlation threshold, or the correlation between the display content of the second object and the display content of the first object is less than or equal to the second correlation threshold, or the correlation between the object type of the second object and the object type of the first object is less than or equal to the third correlation threshold, etc. If the first object is not a running object in the preset object list, it can be returned to step 101 to continue to output the first object in the display area of the electronic device and whether the second object blocks the first object.
[0071] For example, if the application identifier of the office software is in the object list, and the document window is blocked by the shopping window, then it is necessary to further determine whether the shopping window is an automatic pop-up, whether it is related to the content of the document window, whether it is unrelated to the type of the document window, and so on; for another example, if the application identifier of the shopping software is not in the object list, then even if the document window is blocked by the shopping window, then it is not necessary to determine whether the shopping window is an automatic pop-up, whether it is related to the content of the document window, whether it is unrelated to the type of the document window, and so on.
[0072] Step 103: Monitor whether there is a target operation for the second object. If there is a target operation, execute step 104. If there is no target operation, return and re-execute step 103 to continue monitoring whether there is a target operation for the second object.
[0073] Among them, the target operation is at least used to indicate that the second object does not block the first object. Specifically, the target operation is an operation that at least partially matches the preset control operation, and the control operation is an operation that indicates that the second object does not block the first object, such as dragging the second object to a position that does not block the first object, minimizing the second object, switching the second object to background operation, closing the second object, etc. Based on this, the target operation is an operation that matches part of the control operation. If there is such a target operation, it means that the user needs to process the second object so that the first object is visible. At this time, step 104 is executed without waiting for the user to perform the control operation, thereby reducing the complexity of the operation. If there is no such target operation, then continue to monitor whether there is a target operation. It is as follows:
[0074] In one implementation, the control operation is an operation of moving the operation marker to the target control of the second object and clicking the target control, and the target control is used to control the second object to close or run in the background. Based on this, the target operation can be: the time length of time that the operation marker stays on the target control of the second object is greater than or equal to a first threshold. The first threshold can be set according to demand. For example, a user uses office software to edit a document on a laptop, and the document window is displayed on the laptop screen. At this time, a pop-up window automatically appears on the laptop screen. When the laptop detects that the document window is blocked by the pop-up window and the appearance of the pop-up window is not related to the user's editing operation on the document window, it can be determined that the pop-up window needs to be processed, that is, the control condition is met. Afterwards, it is monitored whether the mouse moves to the close button or minimize button of the pop-up window and stays for 2 seconds, such as Figure 8 As shown in , this operation indicates that the user wants to close or minimize the pop-up window.
[0075] In another implementation, the control operation is an operation in which the operation marker moves on the display area of the second object and clicks on the target control. The target operation may be: the time duration for which the operation marker stays on the display area of the second object is greater than or equal to a second threshold. The second threshold may be set as required. For example, a user uses office software on a laptop to edit a document, and the document window is displayed on the laptop screen. At this time, a pop-up window automatically appears on the laptop screen. When the laptop detects that the document window is blocked by the pop-up window and the appearance of the pop-up window is not related to the user's editing operation on the document window, it can be determined that the pop-up window needs to be processed, that is, the control condition is met. After that, the operation of monitoring whether the mouse moves to the display area of the pop-up window and stays there for more than 1.5 seconds, such as Fig. 9 As shown in , this operation indicates that the user wants to hide the pop-up window.
[0076] In another implementation, the control operation is an operation of dragging the second object to a blank position in the display area, and the target operation may be: the distance of dragging the second object is greater than or equal to a third threshold, and the third threshold may be set as required. For example, a user uses office software on a laptop to edit a document, and the document window is displayed on the laptop screen. At this time, a video call request window appears on the laptop screen. When the laptop detects that the document window is blocked by the video call request window and the correlation between the types of the two windows is small, it may be determined that the video call request window needs to be processed, that is, the control condition is met. Afterwards, it is monitored whether there is an operation of dragging the video call request window by a certain distance, such as Fig.10 As shown in , this operation represents that the user wants to drag the video call request window to a position that does not cover the document window.
[0077] Step 104: Control the second object to be in the first state, so that the first object is visible.
[0078] In one implementation, the second object may be controlled to be in a hidden state in this embodiment. Fig.11 As shown in , the pop-up window is hidden so that the content blocked by the document window can be displayed to the user.
[0079] In another implementation, in this embodiment, the second object can be controlled to be displayed at the bottom. Fig.12 As shown in , the pop-up window is displayed under the document window so that the content blocked by the document window can be displayed to the user.
[0080] In another implementation, in this embodiment, the second object may be controlled to increase display transparency. Fig.13 As shown in , the transparency of the pop-up window is set to 100% or 80% so that the content blocked by the document window can be displayed to the user.
[0081] In another implementation, the second object can be controlled to be closed in this embodiment. Fig.14 As shown in , the pop-up window is closed so that the content blocked by the document window can be displayed to the user.
[0082] It can be seen from the above technical solution that in a display control method provided in the first embodiment of the present application, when a first object is output in the display area of an electronic device and a second object blocks the first object, it is determined whether to monitor the target operation for the second object for indicating that the second object does not block the first object by monitoring whether the control condition is met, and then when the target operation is monitored, the second object is controlled to be in a first state that enables the first object to be visible. It can be seen that in the embodiment of the present application, when the control condition is met, in response to the target operation indicating that the second object does not block the first object, so that the first object is visible, the first object can be made visible without the user having to close the second object or other operations, thereby improving the user experience.
[0083] Based on the above implementation scheme, after step 104 in this embodiment, this embodiment may further include the following steps: Fig.15 As shown in:
[0084] Step 105: Monitor whether the recovery condition corresponding to the second object is satisfied. If the recovery condition is satisfied, execute step 106. If the recovery condition is not satisfied, return to continue to execute step 105 to continue to monitor whether the recovery condition is satisfied.
[0085] The recovery condition may be: the second object is in a recoverable state, and a recovery operation corresponding to the target operation is detected on the electronic device, or the duration of entering the first state from the second object exceeds a preset recovery threshold, and the recovery threshold may be set as required. The recovery operation may be the operation marker leaving the display area of the second object, or clicking the icon of the second object in the taskbar. The recoverable state refers to a non-closed state.
[0086] Step 106: Control the second object to be in a second state, so that the second object is visible.
[0087] The second state may be a state before the second object enters the first state, that is, a state in which the second object is displayed in the display area and blocks the first object.
[0088] For example, Fig.16As shown in , a user uses office software on a laptop to edit a document, and the document window is displayed on the laptop screen. At this time, a pop-up window automatically appears on the laptop screen. When the laptop detects that the document window is blocked by the pop-up window and the appearance of the pop-up window is irrelevant to the user's editing operation on the document window, it can be determined that the pop-up window needs to be processed, that is, the control condition is met. After that, it is monitored whether there is an operation of moving the mouse to the close button or minimize button of the pop-up window and staying for 2 seconds. This operation indicates that the user wants to close or minimize the pop-up window. If so, the pop-up window is controlled to be closed or minimized, and after waiting for 1 hour, the minimized pop-up window is restored to its original state, such as displayed above the document window. The closed pop-up window will not be restored to its original state.
[0089] For example, Fig.16 As shown, the user uses office software on a notebook to edit a document, and the document window is displayed on the notebook screen. At this time, there are pop-up windows such as the floating icon of the input method and the floating ball of the anti-virus software that automatically appear on the notebook screen. When the notebook detects that the document window is blocked by the pop-up window and the appearance of the pop-up window is not related to the user's editing operation on the document window, it can be determined that the pop-up window needs to be processed, that is, the control condition is met. After that, it is monitored whether the mouse moves to the display area of the pop-up window and stays for more than 1.5 seconds. This operation indicates that the user wants to hide the pop-up window. If so, the pop-up window is controlled to be hidden, and after the mouse leaves the display area of the pop-up window, the hidden pop-up window is restored to its original state, that is, displayed above the document window.
[0090] like Fig.17 As shown in , a user uses office software on a notebook to edit a document, and the document window is displayed on the notebook screen. At this time, a video call request window appears on the notebook screen. When the notebook detects that the document window is blocked by the video call request window and the correlation between the types of the two windows is small, it can be determined that the video call request window needs to be processed, that is, the control condition is met. After that, it is monitored whether there is an operation of dragging the video call request window for a certain distance, which operation indicates that the user wants to drag the video call request window to the blank area next to it. If so, the video call request window is dragged to the blank area or if there is no blank area, the video call request window is minimized or displayed at the bottom, and after the user clicks the icon of the request window on the status bar, the minimized or bottom-displayed video call request window is restored to its original position, that is, displayed above the document window.
[0091] refer to Fig.18, is a schematic diagram of the structure of a display control device provided in the second embodiment of the present application, which can be configured in an electronic device having a display area capable of outputting various objects, such as a mobile phone, pad, notebook or computer. The technical solution in this embodiment is mainly used to improve the user experience of electronic devices.
[0092] Specifically, the device in this embodiment may include the following units:
[0093] The condition monitoring unit 1801 is used to monitor whether a control condition is satisfied when a first object is output in a display area of the electronic device and a second object blocks the first object, and trigger an operation monitoring unit if the control condition is satisfied;
[0094] An operation monitoring unit 1802 is used to monitor whether there is a target operation for the second object, wherein the target operation is at least used for at least the second object not to block the first object, and in the case of the target operation, triggering the state control unit 1803;
[0095] The state control unit 1803 is used to control the second object to be in a first state so that the first object is visible.
[0096] It can be seen from the above technical solution that in a display control device provided in the second embodiment of the present application, when a first object is output in the display area of an electronic device and a second object blocks the first object, it is determined whether to monitor the target operation for the second object for indicating that the second object does not block the first object by monitoring whether the control condition is met, and then when the target operation is monitored, the second object is controlled to be in a first state that enables the first object to be visible. It can be seen that in the embodiment of the present application, when the control condition is met, in response to the target operation indicating that the second object does not block the first object, so that the first object is visible, the first object can be made visible without the user having to close the second object or other operations, thereby improving the user experience.
[0097] In one implementation, the target operation includes any one of the following: the time the operation marker stays on the target control of the second object is greater than or equal to a first threshold, and the target control is used to control the second object to close or run in the background; the time the operation marker stays on the display area of the second object is greater than or equal to a second threshold; the distance the second object is dragged is greater than or equal to a third threshold.
[0098] In one implementation, the control condition at least includes: a correlation between the output trigger instruction of the second object and the input operation on the electronic device is less than or equal to a first correlation threshold.
[0099] In one implementation, the control condition includes at least: the degree of association between the display content of the second object and the display content of the first object is less than or equal to a second association threshold; and / or the degree of association between the object type of the second object and the object type of the first object is less than or equal to a third association threshold.
[0100] Based on this, optionally, the control condition at least includes: the first object is a running object in a preset object list.
[0101] In one implementation, the degree of association between the display content of the second object and the display content of the first object is obtained by: identifying a first text and / or a first image in the display content of the first object; identifying a second text and / or a second image in the display content of the second object; and obtaining the degree of association between the first text and / or the first image and the second text and / or the second image.
[0102] In one implementation, the state control unit 1803 is specifically used to: control the second object to be in a hidden state; or, control the second object to be displayed at the bottom; or, control the second object to increase display transparency; or, control the second object to be closed.
[0103] In one implementation, the state control unit 1803 is further configured to monitor whether a recovery condition corresponding to the second object is satisfied, and when the recovery condition is satisfied, control the second object to be in a second state so that the second object is visible.
[0104] It should be noted that the specific implementation of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0105] refer to Fig.19 , is a schematic diagram of the structure of an electronic device provided in the third embodiment of the present application, which is configured in an electronic device having a display area capable of outputting various objects, such as a mobile phone, pad, notebook or computer. The technical solution in this embodiment is mainly used to improve the user experience of the electronic device.
[0106] Specifically, the electronic device in this embodiment may include the following structure:
[0107] Memory 1901, used to store computer programs and data generated by the execution of the computer programs;
[0108] Processor 1902 is used to execute the computer program to achieve: when a first object is output in a display area of an electronic device and a second object obstructs the first object, monitoring whether a control condition is met; if the control condition is met, monitoring whether there is a target operation for the second object; wherein the target operation is at least used to indicate that the second object does not obstruct the first object; and in the presence of the target operation, controlling the second object to be in a first state so that the first object is visible.
[0109] Of course, the electronic device in this embodiment may also include components such as a display, a communication module, and a battery. The display is used to realize a display area to output various objects, and the communication module is used to establish a communication connection with other devices to facilitate the transmission of data or instructions. The battery is used to provide power to the electronic device.
[0110] It can be seen from the above technical solution that in an electronic device provided in the third embodiment of the present application, when a first object is output in the display area of the electronic device and a second object blocks the first object, it is determined whether to monitor the target operation for the second object for indicating that the second object does not block the first object by monitoring whether the control condition is met, and then when the target operation is monitored, the second object is controlled to be in a first state that enables the first object to be visible. It can be seen that in the embodiment of the present application, when the control condition is met, in response to the target operation indicating that the second object does not block the first object, so that the first object is visible, the first object can be made visible without the user having to close the second object or other operations, thereby improving the user experience.
[0111] The following is an example of the technical solution of this application:
[0112] like Fig. 20 As shown in , the current scene can be intelligently identified in this application. Specifically, the current scene can be identified by the target program running in the foreground. If it is an office scene, such as when using office software such as Outlook, PowerPoint, and Word, the user's mouse operation is monitored. If the mouse is moved to the recognition area in the lower right corner of the office software and a small window pops up in the lower right corner, then the small window that appears in the lower right corner is hidden or set to the bottom, such as Fig.21 As shown in , the window of the target program is displayed on top at this time, and when the mouse is moved away, the original small window continues to be displayed. The technical solution of the present application can be extended to scenes such as video playback and games.
[0113] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0114] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0115] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0116] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A display control method, comprising: In a case where a first object is output in a display area of the monitoring electronic device and a second object blocks the first object, monitoring whether a control condition is satisfied; The control condition refers to a condition that requires controlling the state in which the second object blocks the first object; If the control condition is met, monitoring whether there is a target operation for the second object; wherein the target operation is at least used to indicate that the second object does not block the first object; the target operation includes any one of the following: the operation marker stays on the target control of the second object for a time period greater than or equal to a first threshold, and the target control is used to control the second object to be closed or run in the background; the operation marker stays on the display area of the second object for a time period greater than or equal to a second threshold; The distance of dragging the second object is greater than or equal to a third threshold; In the case where the target operation occurs, the second object is controlled to be in a first state so that the first object is visible.
2. The method according to claim 1, wherein the control conditions at least include: The correlation degree between the output trigger instruction of the second object and the input operation on the electronic device is less than or equal to a first correlation threshold.
3. The method according to claim 1, wherein the control conditions at least include: The degree of association between the displayed content of the second object and the displayed content of the first object is less than or equal to a second association threshold; and / or, The degree of association between the object type of the second object and the object type of the first object is less than or equal to a third association threshold.
4. The method according to claim 2 or 3, wherein the control conditions at least include: The first object is a running object in a preset object list.
5. The method according to claim 3, wherein the correlation between the displayed content of the second object and the displayed content of the first object is obtained by: identifying a first text and / or a first image in the displayed content of the first object; identifying a second text and / or a second image in the displayed content of the second object; Obtaining a correlation between the first text and / or first image and the second text and / or second image.
6. The method according to claim 1, controlling the second object to be in the first state comprises: Controlling the second object to be in a hidden state; or, Controlling the second object to be displayed at the bottom; or, Controlling the second object to increase display transparency; or, Control the second object to close.
7. The method according to claim 1, further comprising: Monitor whether a recovery condition corresponding to the second object is satisfied, and if the recovery condition is satisfied, control the second object to be in a second state so that the second object is visible.
8. A display control device, comprising: A condition monitoring unit, configured to monitor whether a control condition is satisfied when a first object is output in a display area of the monitoring electronic device and a second object blocks the first object, and trigger an operation monitoring unit if the control condition is satisfied; the control condition refers to a condition that requires controlling the state in which the second object blocks the first object; An operation monitoring unit is used to monitor whether there is a target operation for the second object, wherein the target operation is at least used to ensure that the second object does not block the first object, and in the case of the target operation, a state control unit is triggered; the target operation includes any one of the following: the operation marker stays on the target control of the second object for a time period greater than or equal to a first threshold, and the target control is used to control the second object to be closed or run in the background; the operation marker stays on the display area of the second object for a time period greater than or equal to a second threshold; the distance of dragging the second object is greater than or equal to a third threshold; A state control unit is used to control the second object to be in a first state so that the first object is visible.
9. An electronic device, comprising: A memory for storing a computer program and data generated by the execution of the computer program; A processor, configured to execute the computer program to implement: monitoring whether a control condition is satisfied when a first object is output in a display area of a monitoring electronic device and a second object blocks the first object; the control condition refers to a condition for controlling the state in which the second object blocks the first object; If the control condition is met, monitoring whether there is a target operation for the second object; wherein the target operation is at least used to indicate that the second object does not block the first object, and the target operation includes any one of the following: the operation marker stays on the target control of the second object for a time period greater than or equal to a first threshold, and the target control is used to control the second object to be closed or run in the background; the operation marker stays on the display area of the second object for a time period greater than or equal to a second threshold; The distance of dragging the second object is greater than or equal to a third threshold; and in the presence of the target operation, controlling the second object to be in a first state so that the first object is visible.
Citation Information
Patent Citations
Method for dragging and dropping between multiple layered windows
US6915490B1