Information processing method and device, electronic equipment and computer readable storage medium

By responding to trigger operations in multi-window mode to determine candidate windows and select target windows for processing, the problem of low information processing efficiency in existing technologies is solved, and more efficient information processing is achieved.

CN119536566BActive Publication Date: 2026-04-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In multi-window mode, the existing technology processes information from all windows on the page, resulting in low information processing efficiency.

Method used

By responding to the triggering operation to obtain the triggering location, identifying at least two candidate windows, and selecting the target window from them for processing, the number of windows to be processed is reduced.

Benefits of technology

It improved the efficiency of information processing and shortened the processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536566B_ABST
    Figure CN119536566B_ABST
Patent Text Reader

Abstract

The application relates to an information processing method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in response to a trigger operation corresponding to a current page, obtaining a trigger position corresponding to the trigger operation; in the case that the trigger position is located in at least two windows in the current page, determining at least two candidate windows; determining a target window from the at least two candidate windows; and processing the target window to obtain a processing result. The method can improve the efficiency of information processing.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to an information processing method and device, electronic equipment and computer readable storage medium. BACKGROUND

[0002] With the development of computer technology, a multi-window mode appears, which is a display mode of simultaneously presenting multiple windows in a page. In the multi-window mode, the page is divided into multiple windows by split screen or floating window, and each window displays different information sources.

[0003] In the prior art, when processing information of a page with multiple windows, all information sources of the windows in the page need to be processed, which results in low efficiency of information processing. SUMMARY

[0004] The embodiments of the present application provide an information processing method and device, electronic equipment and computer readable storage medium, which can improve the efficiency of information processing.

[0005] In a first aspect, the present application provides an information processing method. The method comprises:

[0006] In response to a trigger operation corresponding to a current page, obtaining a trigger position corresponding to the trigger operation;

[0007] In a case where the trigger position is located in at least two windows in the current page, determining at least two candidate windows;

[0008] Determining a target window from the at least two candidate windows;

[0009] Processing the target window to obtain a processing result.

[0010] In a second aspect, the present application further provides an information processing device. The device comprises:

[0011] A response module, configured to, in response to a trigger operation corresponding to a current page, obtain a trigger position corresponding to the trigger operation;

[0012] A determination module, configured to, in a case where the trigger position is located in at least two windows in the current page, determine at least two candidate windows;

[0013] A selection module, configured to determine a target window from the at least two candidate windows;

[0014] A processing module, configured to process the target window to obtain a processing result.

[0015] In a third aspect, the present application provides a computer device. The computer device comprises a memory and a processor. The memory stores a computer program. The processor implements the following steps when executing the computer program:

[0016] In response to a trigger operation corresponding to a current page, a trigger position corresponding to the trigger operation is obtained;

[0017] In a case where the trigger position is located in at least two windows in the current page, at least two candidate windows are determined;

[0018] A target window is determined from the at least two candidate windows;

[0019] The target window is processed to obtain a processing result.

[0020] In a fourth aspect, the present application provides a computer readable storage medium. The computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the following steps:

[0021] In response to a trigger operation corresponding to a current page, a trigger position corresponding to the trigger operation is obtained;

[0022] In a case where the trigger position is located in at least two windows in the current page, at least two candidate windows are determined;

[0023] A target window is determined from the at least two candidate windows;

[0024] The target window is processed to obtain a processing result.

[0025] In a fifth aspect, the present application provides a computer program product. The computer program product comprises a computer program. The computer program is executed by a processor to implement the following steps:

[0026] In response to a trigger operation corresponding to a current page, a trigger position corresponding to the trigger operation is obtained;

[0027] In a case where the trigger position is located in at least two windows in the current page, at least two candidate windows are determined;

[0028] A target window is determined from the at least two candidate windows;

[0029] The target window is processed to obtain a processing result.

[0030] In the information processing method, in response to a trigger operation corresponding to a current page, a trigger position corresponding to the trigger operation is obtained, in a case where the trigger position is located in at least two windows in the current page, at least two candidate windows are determined, a target window is determined from the at least two candidate windows, and the target window is processed to obtain a processing result. In a case where the at least two candidate windows are determined according to the trigger position, the target window cannot be accurately determined according to the trigger position at this time, and in this case, the target window needs to be determined from the candidate windows. Compared with processing all windows in the current page or processing all candidate windows, processing the target window reduces the number of windows to be processed and shortens the time length of information processing, thereby improving the efficiency of information processing. BRIEF DESCRIPTION OF DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.

[0032] Figure 1 Flowchart of an information processing method in an embodiment;

[0033] Figure 2 Flowchart of an information processing method based on a click operation in an embodiment;

[0034] Figure 3 Flowchart of an information processing method based on an operation gesture in an embodiment;

[0035] Figure 4 Flowchart of a target window determination method in an embodiment;

[0036] Figure 5 Flowchart of a target window determination method based on a window prompt icon in an embodiment;

[0037] Figure 6 Schematic diagram of a current page in an embodiment;

[0038] Figure 7 Flowchart of an information processing method executed by a global gesture processing module, a window selection module and a window management module in an embodiment;

[0039] Figure 8 Flowchart of an information processing method executed by a window selection module and a window management module in an embodiment;

[0040] Figure 9A structural block diagram of an information processing device in an embodiment;

[0041] Figure 10 An internal structural diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0042] For the purpose, technical solutions and advantages of the present application to be more clear and explicit, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0043] In an embodiment, as shown in Figure 1 A method for processing information is provided, which is described by taking the terminal as an example. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle-mounted device, a smart car, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is realized through the interaction of the terminal and the server. In the embodiment, the method includes the following steps 102 to 108, wherein:

[0044] Step 102, in response to a trigger operation corresponding to a current page, obtaining a trigger position corresponding to the trigger operation.

[0045] The current page refers to a page currently presented in the terminal screen, and the current page includes at least one window. The window refers to an independent rectangular area in the page, which is used to display specific content, information or functions. The trigger operation refers to an operation of a user on the terminal page, and the trigger operation can be a click operation, a sliding operation, a gesture operation and the like. The trigger operation can be used to trigger specific functions, operations or events, such as screenshot, copy and selection. The trigger position refers to an action area of the trigger operation, and the trigger position is composed of multiple operation points, which can be expressed by coordinates. It can be understood that the terminal screen is composed of multiple pixel points, and the multiple pixel points acted on by the trigger operation are multiple trigger points, which can represent the trigger position.

[0046] For example, an operator performs a trigger operation on a current page in the terminal screen, and the terminal obtains a trigger position corresponding to the trigger operation in response to the trigger operation corresponding to the current page.

[0047] In one embodiment, the terminal responds to the trigger operation corresponding to the current page, and in the case that the trigger operation has a trigger position, the terminal acquires the trigger position corresponding to the trigger operation, and in the case that the trigger operation does not have a trigger position, the terminal displays a prompt information for prompting an operator to select a window, and the terminal acquires a trigger position corresponding to the trigger operation based on the prompt information in response to the trigger operation based on the prompt information. The prompt information can be a window prompt icon on each window in the current page, or a text prompt information. If the trigger operation is a click operation, a sliding operation or an operation gesture, the trigger operation has a trigger position, and if the trigger operation is a key operation, the trigger operation does not have a trigger position.

[0048] In step 104, in the case that the trigger position is located in at least two windows in the current page, at least two candidate windows are determined.

[0049] The candidate window refers to a window that can be the target window and is determined according to the trigger position.

[0050] For example, the terminal acquires window identifiers of multiple windows in the current page, acquires window regions corresponding to the window identifiers based on the window identifiers, compares the trigger position with each window region, determines window identifiers corresponding to window regions where the trigger position is located as candidate window identifiers when the trigger position is located in at least two window regions, determines windows corresponding to the candidate window identifiers as candidate windows, and obtains at least two candidate windows. The window identifier refers to a string representing a window, and the window identifier can be composed of at least one of letters, numbers and symbols. The window identifier corresponds to one window. The window region refers to a region occupied by the window on the terminal screen, and the window region can be represented by a set of coordinate points. For example, the window is a rectangular region, and the set of coordinate points of four vertices of the rectangular region represents the window region of the window.

[0051] In step 106, the target window is determined from the at least two candidate windows.

[0052] The target window refers to a window that needs to be processed. The target window can be one or more.

[0053] For example, the terminal determines at least one target window from the at least two candidate windows.

[0054] In one embodiment, the terminal determines the target window from at least two candidate windows based on the candidate window area. For example, determining the candidate window corresponding to the smallest candidate window area as the target window can be understood as follows: when an operator performs a trigger operation, because the selected window has a small window area, the trigger position of the trigger operation is partially located in an adjacent window, and the target window selected by the operator is the candidate window corresponding to the smallest candidate window area.

[0055] In one embodiment, the terminal determines the target window from at least two candidate windows based on the candidate window area and the distribution state of the candidate windows. The distribution state can be a stacked state or a tiled state. A stacked state refers to the candidate windows being displayed overlapping each other, while a tiled state refers to the candidate windows not overlapping each other and being displayed in different areas.

[0056] Step 108: Process the target window to obtain the processing result.

[0057] Here, "processing" refers to the operation of window information, which can include taking screenshots, copying, or extracting information, and is determined by the operator's triggering action. Window information refers to the content displayed in the window, and there is a corresponding relationship between window information and window identifiers. The processing result refers to the outcome obtained after processing the window information. The processing result can be an image or text, etc.

[0058] For example, the terminal obtains the window information corresponding to the target window based on the target window identifier, processes the window information corresponding to the target window, and obtains the processing result. In one embodiment, the terminal saves the processing result after obtaining it.

[0059] In the above information processing method, if at least two candidate windows are determined based on the trigger position, it means that the target window cannot be accurately determined based on the trigger position. In this case, it is necessary to determine the target window from the candidate windows. Compared with processing all windows on the current page directly, or processing all candidate windows and then processing the target window, the number of windows to be processed is reduced, the information processing time is shortened, and thus the efficiency of information processing is improved.

[0060] In one embodiment, when the triggering operation is a first click operation, such as Figure 2 As shown, an information processing method is provided, including:

[0061] Step 202: In response to the first click operation on the current page, obtain the click position corresponding to the first click operation and determine the click position as the trigger position.

[0062] The first click operation refers to an operation of an operator clicking a current page for the first time. The operator can click the current page through a mouse or a touch screen of a terminal. For example, the operator moves the mouse to a window of the current page, clicks the right button of the mouse, and the terminal acquires a click position corresponding to the first click operation of the current page, determines the click position as a trigger position, and presents a control box in the current page. The control box includes a plurality of controls, such as screenshot, cut, and copy.

[0063] For example, the operator clicks the current page, and the terminal acquires a click position of the current page corresponding to the first click operation of the current page, determines the click position as the trigger position.

[0064] In an embodiment, the operator clicks the current page, the terminal acquires a click position of the current page corresponding to the first click operation of the current page, determines the click position as the trigger position, presents a target control box corresponding to the first click operation in the current page, and the target control box includes a plurality of controls.

[0065] In step 204, at least two candidate windows are determined when the trigger position is located in at least two windows in the current page.

[0066] Step 204 is the same as step 104, and thus is not described herein.

[0067] In step 206, a target window is determined from the at least two candidate windows.

[0068] Step 206 is the same as step 106, and thus is not described herein.

[0069] In step 208, operation information is acquired in response to a second click operation of the current page, and the target window is processed based on the operation information to obtain a processing result.

[0070] The second click operation refers to an operation of the operator clicking the current page for the second time, which can be understood as an operation of clicking a control in the target control box corresponding to the first click operation. The operation information refers to description information of a processing mode, for example, character extraction or screenshot.

[0071] For example, the operator clicks the current page again, the terminal acquires operation information corresponding to the second click operation of the current page, and processes the target window according to the operation information to obtain a processing result.

[0072] In the embodiment, the terminal acquires the trigger position corresponding to the first click operation, determines at least two candidate windows according to the trigger position, and determines the target window from the at least two candidate windows, then acquires operation information corresponding to the second click operation, and performs processing corresponding to the operation information on the target window, that is, the terminal only performs processing corresponding to the operation information on the target window, avoids performing processing corresponding to the operation information on all windows in the current page or at least two candidate windows, reduces the number of windows to be processed, shortens the time length of information processing, and thus improves the efficiency of information processing.

[0073] In one embodiment, in response to a trigger operation corresponding to a current page, a trigger position corresponding to the trigger operation is acquired, including:

[0074] In response to a sliding operation corresponding to the current page, a sliding position corresponding to the sliding operation is acquired, and the sliding position is determined as the trigger position.

[0075] The sliding operation refers to an operation of sliding in the current page, and can be understood as an operation of moving a distance in the current page. The sliding operation can be completed by dragging a mouse, or can be completed by a touch screen of the terminal. The sliding position refers to a region of the sliding operation, and the sliding position can be represented by a sliding point coordinate set. The sliding point coordinate set refers to a set of sliding point coordinates of sliding points passed through by the sliding operation in the current page.

[0076] For example, an operator performs a sliding operation in a current page, and the terminal acquires a sliding position corresponding to the sliding operation in response to a sliding operation corresponding to the current page, and determines the sliding position as a trigger position. The trigger position is used to determine a target window.

[0077] In the embodiment, the terminal determines the sliding position corresponding to the sliding operation as the trigger position, which provides accurate basic data for subsequent determination of the target window.

[0078] In one embodiment, in the case that the trigger operation is an operation gesture, as shown in Figure 3 An information processing method is provided, including:

[0079] Step 302, in response to an operation gesture corresponding to a current page, an operation position corresponding to the operation gesture is acquired, and the operation position is determined as a trigger position.

[0080] The operation gesture refers to a gesture made by an operator to interact with the terminal, and the operation gesture can be completed on a touch screen of the terminal or a touchpad connected to the terminal. For example, an operation gesture of approaching or moving away is made by using two fingers, which represents a zoom-in or zoom-out operation. The operation position refers to a position of the operation gesture in the current page, and the operation position can be represented by multiple operation points.

[0081] For example, the operator completes the operation gesture on the current page, and the terminal acquires the operation position corresponding to the operation gesture in response to the operation gesture of the current page, and determines the operation position as the trigger position.

[0082] In a case where the trigger position is located in at least two windows in the current page, at least two candidate windows are determined.

[0083] Step 304 is the same as step 104, and thus is not described herein again.

[0084] Step 306 determines the target window from the at least two candidate windows.

[0085] Step 306 is the same as step 106, and thus is not described herein again.

[0086] Step 308 acquires operation information corresponding to the operation gesture, and processes the target window based on the operation information to obtain a processing result.

[0087] For example, the terminal acquires the operation gesture, analyzes the operation gesture, determines the operation information corresponding to the operation gesture, and processes the target window corresponding to the operation information to obtain the processing result. For example, the operation gesture is five fingers close, the five fingers close is a screenshot, the terminal analyzes the operation gesture, and the operation information obtained is a screenshot.

[0088] In this embodiment, the terminal acquires the operation position and the operation information corresponding to the operation gesture, determines the operation position as the trigger position, determines at least two candidate windows according to the trigger position, and determines the target window from the at least two candidate windows, and processes the target window corresponding to the operation information, that is, the terminal only processes the target window corresponding to the operation information, avoids processing all windows or at least two candidate windows in the current page corresponding to the operation information, reduces the number of windows to be processed, shortens the time length of information processing, and thus improves the efficiency of information processing.

[0089] In one embodiment, the trigger position includes a plurality of operation points, and in a case where the trigger position is located in at least two windows in the current page, at least two candidate windows are determined, including:

[0090] The window region corresponding to each window in the current page is acquired, and in a case where the plurality of operation points of the trigger position are located in at least two window regions, the window corresponding to the window region where the operation points are located is determined as the candidate window, and in a case where the plurality of operation points of the trigger position are located in one window region, the window corresponding to the window region where the operation points are located is determined as the target window.

[0091] The operation point is a pixel point in a screen on which a trigger operation is performed. It can be understood that the terminal screen includes a plurality of pixel points, and when the operator performs the trigger operation on the terminal screen, the operator contacts a plurality of pixel points in the terminal screen. The contacted pixel points are the operation points.

[0092] For example, the terminal compares the operation point coordinates of the operation points in the trigger position with each window region respectively, determines whether the operation points are located in the window regions, and if all the operation points in the trigger position are located in one window region, determines the window corresponding to the window region in which all the operation points in the trigger position are located as the target window. If the operation points in the trigger position are located in at least two window regions, determines the windows corresponding to the at least two window regions in which the operation points in the trigger position are located as the candidate windows. The operation point coordinates are coordinates representing the positions of the operation points. It can be understood that the coordinates represent the positions of the operation points in the terminal screen.

[0093] In this embodiment, the operation point coordinates of the operation points in the trigger position are compared with each window region to determine the window regions in which the operation points are located. If the number of the window regions in which all the operation points are located is one, it indicates that the target window can be accurately determined according to the trigger position. In this case, the window corresponding to the window region in which all the operation points are located is determined as the target window. If the number of the window regions in which the operation points are located is at least two, it indicates that the target window cannot be accurately determined according to the trigger position. In this case, the windows corresponding to the at least two window regions in which the operation points in the trigger position are located are determined as the candidate windows, thereby improving the accuracy of the determination of the target window.

[0094] In one embodiment, as shown in FIG. 4, the trigger position includes a plurality of operation points, and the target window is determined from the at least two candidate windows, including: Figure 4

[0095] Step 402, for each candidate window, determining a trigger operation area based on the operation points located in the window region corresponding to the candidate window.

[0096] The trigger operation area is the area of the operation points located in the window region corresponding to the candidate window. The trigger operation area can be represented by the number of operation points or the area of the operation region composed of the operation points.

[0097] For example, for each candidate window, the terminal counts the operation points in the window region corresponding to the candidate window to obtain a first count, and takes the first count as the trigger operation area.

[0098] Step 404, determining a trigger operation proportion corresponding to the candidate window based on the candidate window area corresponding to the candidate window and the trigger operation area.​

[0099] wherein the candidate window area refers to an area of the candidate window, and the candidate window area can be represented by a number of pixel points contained in the candidate window or by an area of the candidate window. The trigger operation proportion refers to a ratio between the trigger operation area and the candidate window area.

[0100] For example, for each candidate window, the terminal counts pixel points contained in a window region corresponding to the candidate window to obtain a second count, takes the second count as the candidate window area, divides the trigger operation area by the candidate window area, and obtains a trigger operation proportion corresponding to the candidate window region.

[0101] In an embodiment, for each candidate window, the terminal determines a minimum circumscribed polygon enclosing an operation point located in a window region corresponding to the candidate window, calculates an area of the minimum circumscribed polygon to obtain the trigger operation area, determines a length and a width of the candidate window based on the candidate window, multiplies the length by the width to obtain the candidate window area, and divides the trigger operation area by the candidate window area to obtain a trigger operation proportion corresponding to the candidate window region.

[0102] Step 406: determining the candidate window corresponding to the maximum trigger operation proportion as the target window.

[0103] For example, the terminal compares the trigger operation proportions corresponding to each candidate window to obtain the maximum trigger operation proportion, and determines the candidate window corresponding to the maximum trigger operation proportion as the target window.

[0104] In an embodiment, the terminal determines a distribution state of the at least two candidate windows, and if the distribution state is a tiled state, executes steps 402 to 406 to determine the target window from the at least two candidate windows.

[0105] In an embodiment, the terminal determines a distribution state of the at least two candidate windows, and if the distribution state is a stacked state, executes steps 402 to 406 to determine the target window from the at least two candidate windows.

[0106] In this embodiment, at least two candidate windows are determined, which indicates that the trigger operation of the operator is located in at least two windows in the current page, and the candidate window corresponding to the maximum trigger operation proportion is determined as the target window. Compared with determining the candidate window corresponding to the maximum trigger operation area as the target window, the method not only considers the case where the candidate window areas are different in size, but also avoids the case where two windows are in a stacked state and the target window cannot be determined, thereby improving the accuracy of target window determination.

[0107] In one embodiment, the target window is determined from the at least two candidate windows in a stacked state, including:

[0108] The candidate window area corresponding to the candidate window is determined, and the candidate window corresponding to the smallest candidate window area is determined as the target window.

[0109] The stacked state refers to a state in which the candidate windows are displayed in overlap.

[0110] For example, the terminal determines the distribution state of the at least two candidate windows, and if the distribution state is a stacked state, the candidate window area corresponding to each candidate window is determined respectively, the candidate window areas of the at least two candidate windows are compared, the smallest candidate window area is obtained, and the candidate window corresponding to the smallest candidate window area is determined as the target window.

[0111] In this embodiment, if the candidate windows are in a stacked state, the candidate window corresponding to the smallest candidate window area is determined as the target window. It can be understood that if the candidate windows are in a stacked state, the trigger operation areas corresponding to the candidate windows are the same, the target window determined based on the candidate window area has the same result as the target window determined based on the trigger operation ratio, and when the candidate windows are in a stacked state, the target window is determined using the candidate window area, thereby improving the efficiency of target window determination.

[0112] In one embodiment, the target window is determined from the at least two candidate windows, including:

[0113] The window selection information is displayed in the current page, and the target window is determined from the at least two candidate windows in response to a trigger operation on the window selection information.

[0114] The window prompt information refers to prompt information for prompting an operator to select a target window from the candidate windows. The window prompt information can be, but is not limited to, a selection control, a border, and text information, etc. For example, a selection control is displayed in each candidate window.

[0115] For example, when the terminal determines the at least two candidate windows, the terminal displays the window prompt information in the current page, the operator performs a trigger operation according to the window prompt information, and the terminal determines the at least one target window from the at least two candidate windows in response to the trigger operation on the window selection information.

[0116] In one embodiment, when the terminal determines the at least two candidate windows, the terminal displays the window prompt information in the current page, the operator performs a trigger operation according to the window prompt information, and the terminal determines the at least one target window from the at least two candidate windows in response to the trigger operation on the window selection information.

[0117] In one embodiment, the terminal displays window prompt information in each candidate window in the current page when determining the at least two candidate windows, the operator performs a triggering operation according to the window prompt information, and the terminal determines at least one target window from the at least two candidate windows in response to the triggering operation for the window selection information.

[0118] In this embodiment, when the at least two candidate windows are determined, the operator is prompted to select the target window by displaying the window selection information, and the target window is determined according to the triggering operation of the operator, thereby improving the accuracy of the target window.

[0119] In one embodiment, as shown in Figure 5 The window selection information is a window prompt icon, and the window selection information is displayed in the current page, including:

[0120] In step 502, a window prompt icon corresponding to each candidate window is generated.

[0121] The window prompt icon is a prompt icon of the candidate window, and the window prompt icon corresponds to the candidate window one by one, is used to highlight the candidate window, and can be a rectangular frame or a rectangular plane. For example, as shown in Figure 6 The page contains three windows A, B and C, each window corresponds to a window prompt icon, the window prompt icon of the window A is a rectangular frame composed of D1D2D6D5, the window prompt icon of the window B is a rectangular frame composed of D2D4D7D6, and the window prompt icon of the window C is a rectangular frame composed of D3D4D9D8.

[0122] For example, the terminal generates a window prompt icon corresponding to the candidate window.

[0123] In step 504, the window prompt icon corresponding to the candidate window is displayed.

[0124] For example, the terminal displays the window prompt icon on the corresponding candidate window.

[0125] In step 506, at least one target window is determined in response to a triggering operation for at least one window prompt icon.

[0126] For example, the operator performs a triggering operation in at least one window prompt icon, and the terminal determines at least one target window in response to the triggering operation for at least one window prompt icon.

[0127] In this embodiment, the terminal displays the window prompt icon in each candidate window in the current page, prompts the operator to select, and then determines the target window according to the triggering operation of the operator, thereby improving the accuracy of the target window.

[0128] In one embodiment, the window hint icons of different candidate windows correspond to different colors, and the size of the window hint icon is the same as the size of the candidate window.

[0129] The size of the window hint icon refers to the length and width of the window hint icon. The size of the window region refers to the length and width of the candidate window.

[0130] For example, the terminal generates a window hint icon with the same size as the candidate window, and sets the window hint icons corresponding to different candidate windows to different colors.

[0131] In this embodiment, the size of the window hint icon is the same as the size of the candidate window, so the window hint icon can completely cover the corresponding candidate window. The colors of the window hint icons are different, which can more prominently display each candidate window and improve the prompt effect.

[0132] In one exemplary embodiment, the information processing system includes a global gesture processing module, a window selection module, and a window management module. The global gesture processing module is configured to obtain a trigger position. The window selection module is configured to determine a target window identifier. The window management module is configured to obtain window identifiers corresponding to a current page and window regions corresponding to the window identifiers.

[0133] In response to a trigger operation corresponding to the current page, if the trigger operation is a click operation, a sliding operation, or an operation gesture, the trigger operation has a trigger position. The terminal calls the global gesture processing module, the window selection module, and the window management module to execute an information processing flow as shown in Figure 7 The information processing flow includes the following steps.

[0134] An operator performs a trigger operation. The global gesture processing module obtains a trigger position corresponding to the trigger operation based on the trigger operation. If the trigger operation is a first click operation, the global gesture processing module obtains a click position of the first click operation in the current page and determines the click position as the trigger position. If the trigger operation is a sliding operation, the global gesture processing module obtains a sliding position corresponding to the sliding operation and determines the sliding position as the trigger position. If the trigger operation is an operation gesture, the global gesture processing module obtains an operation position corresponding to the operation gesture and determines the operation position as the trigger position. The global gesture processing module sends the trigger position to the window selection module.

[0135] The window management module obtains a plurality of window identifiers corresponding to the current page and window regions corresponding to each window identifier. The window management module sends the plurality of window identifiers corresponding to the current page and the window regions corresponding to each window identifier to the window selection module.

[0136] The window selection module receives the trigger position sent by the global gesture processing module, and receives the plurality of window identifiers corresponding to the current page and the window region corresponding to each window identifier sent by the window management module. For the window region corresponding to each window identifier, the window selection module compares the trigger position with the window region to determine whether the trigger position is located in the window region. If the trigger position is located in one window region, the window selection module determines the window identifier corresponding to the window region where the trigger position is located as a target window identifier, and determines the window corresponding to the target window identifier as a target window. The terminal obtains window information corresponding to the target window identifier, processes the window information, and obtains a processing result. If the trigger position is located in at least two window regions, the window selection module determines the window identifier corresponding to the window region where the trigger position is located as a candidate window identifier, and determines the window corresponding to the candidate window identifier as a candidate window. When determining the at least two candidate windows, the terminal displays window prompt information in each candidate window in the current page. The operator performs a trigger operation according to the window prompt information. The terminal determines at least one target window from the at least two candidate windows in response to the trigger operation on the window selection information, processes the at least one target window, and obtains a processing result.

[0137] In response to the trigger operation corresponding to the current page, if the trigger operation is a key operation, the trigger operation does not have a trigger position. The terminal calls the window selection module and the window management module to execute the information processing procedure as shown in Figure 8 The information processing procedure includes the following steps.

[0138] The window management module obtains a plurality of window identifiers corresponding to the current page and a window region corresponding to each window identifier. The window management module sends the plurality of window identifiers corresponding to the current page and the window region corresponding to each window identifier to the window selection module.

[0139] The window selection module receives the plurality of window identifiers corresponding to the current page and the window region corresponding to each window identifier sent by the window management module. Based on the window region, the window selection module generates a window prompt icon corresponding to the window of the window region, displays the window prompt icon on the corresponding window, and the operator performs a trigger operation in at least one window prompt icon. The terminal obtains a trigger position corresponding to the trigger operation on the at least one window prompt icon, compares the trigger position with the window region, determines the window identifier corresponding to the window region where the trigger position is located as a target window identifier, and determines the window corresponding to the target window identifier as a target window. The terminal obtains window information corresponding to the target window identifier, processes the window information, and obtains a processing result.

[0140] In the information processing method, in a case where the at least two candidate windows are determined according to the trigger position, it is explained that the target window cannot be accurately determined according to the trigger position at this time, and in this case, the target window needs to be determined from the candidate windows again. Compared with directly processing all the windows in the current page or processing all the candidate windows, the target window is processed, the number of windows to be processed is reduced, the time length of information processing is shortened, and the efficiency of information processing is improved.

[0141] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be alternately executed with at least part of other steps or steps or stages in other steps.

[0142] Based on the same inventive concept, the embodiments of the present application also provide an information processing device for implementing the information processing method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, and therefore the specific limitations in one or more information processing device embodiments provided below can refer to the limitations of the information processing method described above, which will not be repeated here.

[0143] In one embodiment, as shown in Figure 9 An information processing device is provided, comprising: a response module 902, a determination module 904, a selection module 906 and a processing module 908, wherein:

[0144] The response module 902 is configured to obtain a trigger position corresponding to a trigger operation of a current page in response to the trigger operation of the current page;

[0145] The determination module 904 is configured to determine at least two candidate windows in a case where the trigger position is located in at least two windows in the current page;

[0146] The selection module 906 is configured to determine a target window from the at least two candidate windows;

[0147] The processing module 908 is configured to process the target window to obtain a processing result.

[0148] In an embodiment, the response module 902 is further configured to: in response to the first click operation corresponding to the current page, obtain a click position corresponding to the first click operation, and determine the click position as the trigger position; and process the target window to obtain a processing result, including: in response to the second click operation corresponding to the current page, obtaining operation information; and processing the target window based on the operation information to obtain the processing result.

[0149] In an embodiment, the response module 902 is further configured to: in response to the sliding operation corresponding to the current page, obtain a sliding position corresponding to the sliding operation, and determine the sliding position as the trigger position.

[0150] In an embodiment, the response module 902 is further configured to: in response to the operation gesture corresponding to the current page, obtain an operation position corresponding to the operation gesture, and determine the operation position as the trigger position; and process the target window to obtain a processing result, including: obtaining operation information corresponding to the operation gesture; and processing the target window based on the operation information to obtain the processing result.

[0151] In an embodiment, the determination module 904 is further configured to: obtain a window area corresponding to each window in the current page; and in a case where the multiple operation points at the trigger position are located in at least two window areas, determine a window corresponding to a window area in which the operation points are located as the candidate window.

[0152] In an embodiment, the determination module 904 is further configured to: in a case where the multiple operation points at the trigger position are located in one window area, determine a window corresponding to a window area in which the operation points are located as the target window.

[0153] In an embodiment, the selection module 906 is further configured to: for each candidate window, determine a trigger operation area based on the operation points located in a window area corresponding to the candidate window; determine a trigger operation proportion corresponding to the candidate window based on a candidate window area corresponding to the candidate window and the trigger operation area; and determine a candidate window corresponding to the largest trigger operation proportion as the target window.

[0154] In an embodiment, the selection module 906 is further configured to: determine a candidate window area corresponding to each candidate window; and determine a candidate window corresponding to the smallest candidate window area as the target window.

[0155] In an embodiment, the selection module 906 is further configured to: display window selection information in the current page; and in response to a trigger operation with respect to the window selection information, determine the target window from the at least two candidate windows.

[0156] In an embodiment, the selection module 906 is further configured to: for each candidate window, generate a window prompt icon corresponding to the candidate window; display the corresponding window prompt icon on the candidate window; and in response to a triggering operation on the window selection information, determine the target window from the at least two candidate windows, including: in response to a triggering operation on at least one window prompt icon, determine the target window.

[0157] In an embodiment, the selection module 906 is further configured to: the window prompt icons of different candidate windows correspond to different colors, and the size of the window prompt icon is the same as the size of the corresponding candidate window.

[0158] In an embodiment, a computer device is provided, which can be a terminal, and an internal structure diagram of the computer device can be as shown in Figure 10 The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to perform wired or wireless communication with external terminals, and the wireless communication can be achieved through WIFI, mobile cellular network, NFC (Near Field Communication), or other technologies. The computer program is executed by the processor to implement an information processing method. The display unit of the computer device is configured to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or can be a key, trackball, or touchpad arranged on the shell of the computer device, or can be an external keyboard, touchpad, or mouse, etc.

[0159] Those skilled in the art can understand that Figure 10 The structure shown in the above embodiment is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, the computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0160] The embodiments of the present application also provide a computer readable storage medium. One or more nonvolatile computer readable storage media include computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the information processing method.

[0161] The embodiments of the present application also provide a computer program product including instructions, which, when run on a computer, cause the computer to perform the information processing method.

[0162] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0163] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0164] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0165] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. An information processing method characterized by comprising: The method comprises the following steps: In response to a trigger operation corresponding to a current page, a trigger position corresponding to the trigger operation is acquired; The trigger position comprises a plurality of operation points; In a case where the trigger position is located in at least two windows in the current page, at least two candidate windows are determined; A target window is determined from the at least two candidate windows, comprising: for each candidate window, a trigger operation area is determined based on an operation point located in a window area corresponding to the candidate window; a trigger operation proportion corresponding to the candidate window is determined based on a candidate window area corresponding to the candidate window and the trigger operation area; a candidate window corresponding to the largest trigger operation proportion is determined as the target window; The target window is processed to obtain a processing result; the processing is screenshot, copy or information extraction.

2. The method of claim 1, wherein, The method comprises the following steps: In response to a first click operation corresponding to the current page, a click position corresponding to the first click operation is acquired, and the click position is determined as the trigger position; The method comprises the following steps: In response to a second click operation corresponding to the current page, operation information is acquired; Based on the operation information, the target window is processed to obtain a processing result.

3. The method of claim 1, wherein, The method comprises the following steps: In response to a sliding operation corresponding to the current page, a sliding position corresponding to the sliding operation is acquired, and the sliding position is determined as the trigger position.

4. The method of claim 1, wherein, The method comprises the following steps: In response to an operation gesture corresponding to the current page, an operation position corresponding to the operation gesture is acquired, and the operation position is determined as the trigger position; The method comprises the following steps: Operation information corresponding to the operation gesture is acquired; Based on the operation information, the target window is processed to obtain a processing result.

5. The method of claim 1, wherein, The trigger position comprises a plurality of operation points; the method comprises the following steps: A window area corresponding to each window in the current page is acquired; In a case where a plurality of operation points of the trigger position are located in at least two window areas, a window corresponding to a window area where the operation points are located is determined as a candidate window.

6. The method of claim 5, wherein, The method further comprises the following steps: In a case where a plurality of operation points of the trigger position are located in one window area, a window corresponding to the window area where the operation points are located is determined as a target window.

7. The method of claim 1, wherein, The method comprises the following steps: In response to a trigger operation corresponding to the current page, in a case where the trigger operation has a trigger position, the trigger position corresponding to the trigger operation is acquired; In a case where the trigger operation does not have a trigger position, a prompt information is displayed, and the prompt information is used to prompt an operator to select a window; In response to the trigger operation based on the prompt information, a trigger position corresponding to the trigger operation based on the prompt information is obtained.

8. The method of claim 1, wherein, In the case where the candidate windows are in a stacked state, the target window is determined from the at least two candidate windows, including: A candidate window area corresponding to the candidate window is determined. The candidate window corresponding to the smallest candidate window area is determined as the target window.

9. The method of claim 1, wherein, The target window is determined from the at least two candidate windows, including: Window selection information is displayed in the current page. In response to a trigger operation on the window selection information, the target window is determined from the at least two candidate windows.

10. The method of claim 9, wherein, The window selection information is a window prompt icon; and the window selection information is displayed in the current page, including: For each candidate window, a window prompt icon corresponding to the candidate window is generated. The corresponding window prompt icon is displayed in the candidate window. In response to a trigger operation on the window selection information, the target window is determined from the at least two candidate windows, including: In response to a trigger operation on at least one window prompt icon, the target window is determined.

11. The method of claim 10, wherein, The window prompt icons of different candidate windows correspond to different colors, and the size of the window prompt icon is the same as the size of the corresponding candidate window.

12. An information processing apparatus comprising: It includes: A response module is configured to obtain a trigger position corresponding to a trigger operation in response to the trigger operation of a current page. The trigger position includes multiple operation points. A determination module is configured to determine at least two candidate windows in the case where the trigger position is located in at least two windows in the current page. A selection module is configured to determine a target window from the at least two candidate windows, including: for each candidate window, determining a trigger operation area based on an operation point located in a window area corresponding to the candidate window; determining a trigger operation proportion corresponding to the candidate window based on a candidate window area corresponding to the candidate window and the trigger operation area; and determining the candidate window corresponding to the largest trigger operation proportion as the target window. A processing module is configured to process the target window to obtain a processing result; and the processing is screenshot, copy, or information extraction.

13. An electronic device comprising a memory and a processor, said memory having stored therein a computer program, characterised in that, The computer program, when executed by the processor, causes the processor to perform the steps of the information processing method of any one of claims 1 to 11.

14. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the information processing method of any one of claims 1 to 11.

15. A computer program product comprising a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the method of any one of claims 1 to 11.

Citation Information

Patent Citations

  • Window element capturing method and device and storage medium

    CN114546226A

  • Event response method and device, electronic equipment and storage medium

    CN116339888A