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

By responding to trigger operations and determining candidate windows in multi-window mode, accurately positioning and processing target windows, the problem of low information processing efficiency in traditional technology is solved, and more efficient information processing is achieved.

CN119536566AActive Publication Date: 2025-02-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311122328.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2025-02-28
Estimated Expiration
2043-08-31

AI Technical Summary

Technical Problem

In multi-window mode, traditional technology requires processing of information sources of all windows in the page, resulting in low information processing efficiency.

Method used

By responsive to the triggering operation of the current page, the trigger position is obtained, and when the trigger position is located at least two windows, the candidate window is determined, thereby accurately positioning the target window and processing.

Benefits of technology

The number of windows that need to be processed is reduced, the time of information processing is shortened, and the efficiency of information processing is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536566A_ABST
    Figure CN119536566A_ABST
Patent Text Reader

Abstract

The invention 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; determining at least two candidate windows under the condition that the triggering positions are located in at least two windows in the current page; determining a target window from the at least two candidate windows; and processing the target window to obtain a processing result. By adopting the method, the information processing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] With the development of computer technology, multi-window mode has emerged. Multi-window mode refers to a display mode in which multiple windows are simultaneously presented on a page. In multi-window mode, the page is divided into multiple windows through split screen or floating windows, and each window displays a different information source.

[0003] In conventional technology, when information processing is performed on a page with multiple windows, information sources of all windows in the page need to be processed, resulting in low efficiency of information processing. Summary of the invention

[0004] The embodiments of the present application provide an information processing method, device, electronic device, 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 the 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] Determine a target window from at least two of the candidate windows;

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

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

[0011] A response module, used for responding to a trigger operation corresponding to the current page and obtaining a trigger position corresponding to the trigger operation;

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

[0013] A selection module, used for determining a target window from at least two candidate windows;

[0014] The processing module is used to process the target window to obtain a processing result.

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

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

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

[0018] Determine a target window from at least two of the candidate windows;

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

[0020] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

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

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

[0023] Determine a target window from at least two of the candidate windows;

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

[0025] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

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

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

[0028] Determine a target window from at least two of the candidate windows;

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

[0030] In the above information processing method, in response to a trigger operation corresponding to the current page, a trigger position corresponding to the trigger operation is obtained, and when 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 at least two candidate windows, and the target window is processed to obtain a processing result. In the case where at least two candidate windows are determined according to the trigger position, it means that the target window cannot be accurately determined according to the trigger position at this time. In this case, the target window needs to be determined from the candidate windows again. Compared with directly processing all windows in the current page, or processing all candidate windows, processing the target window reduces the number of windows to be processed, shortens the time of information processing, and thus improves the efficiency of information processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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 creative work.

[0032] Figure 1 is a flow chart of an information processing method in one embodiment;

[0033] Figure 2 A flowchart of information processing steps based on click operation in one embodiment;

[0034] Figure 3 is a flowchart of information processing steps based on operation gestures in one embodiment;

[0035] Figure 4 A flowchart of a target window determination step in one embodiment;

[0036] Figure 5 A flowchart of determining a target window based on a window prompt icon in one embodiment;

[0037] Figure 6 is a schematic diagram of a current page in one embodiment;

[0038] Figure 7 A flowchart of an information processing method performed by a global gesture processing module, a window selection module, and a window management module in one embodiment;

[0039] Figure 8 A flowchart of an information processing method performed by a window selection module and a window management module in one embodiment;

[0040] Fig. 9is a structural block diagram of an information processing device in one embodiment;

[0041] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] In one embodiment, Figure 1 As shown, an information processing method is provided, and the method is applied to a terminal as an example for explanation. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, smart cars, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. It can be understood that the method can also be applied to servers, and can also be applied to systems including terminals and servers, and is implemented through the interaction between the terminals and servers. In this embodiment, the method includes the following steps 102 to 108, wherein:

[0044] Step 102: In response to a trigger operation corresponding to the current page, a trigger position corresponding to the trigger operation is obtained.

[0045] Among them, the current page refers to the page currently presented on the terminal screen, and the current page includes at least one window. A window refers to an independent rectangular area in a page, which is used to display specific content, information or functions. A trigger operation refers to an operation performed by a user on a terminal page, and a trigger operation can be a click operation, a sliding operation, a gesture operation, or other behavior of interacting with the terminal. A trigger operation can be used to trigger specific functions, operations or events, such as screenshots, copying and selection. The trigger position refers to the area of ​​action of the trigger operation. The trigger position is composed of multiple operation points. The operation points can be represented by coordinates. It can be understood that the terminal screen is composed of multiple pixel points, and the multiple pixel points on which the trigger operation acts are multiple trigger points. Multiple trigger points can represent the trigger position.

[0046] Exemplarily, an operator performs a trigger operation on a current page on a terminal screen, and the terminal responds to the trigger operation corresponding to the current page and obtains a trigger position corresponding to the trigger operation.

[0047] In one embodiment, the terminal responds to the trigger operation corresponding to the current page. If there is a trigger position for the trigger operation, the terminal obtains the trigger position corresponding to the trigger operation. If there is no trigger position for the trigger operation, a prompt message is displayed. The prompt message is used to prompt the operator to select a window. The terminal responds to the trigger operation based on the prompt message and obtains the trigger position corresponding to the trigger operation based on the prompt message. The prompt message can be a window prompt icon on each window in the current page, or it can be a text prompt message. If the trigger operation is a click operation, a slide operation, or an operation gesture, the trigger operation has a trigger position. If the trigger operation is a key operation, the trigger operation does not have a trigger position.

[0048] Step 104: when the trigger position is located at at least two windows in the current page, determine at least two candidate windows.

[0049] The candidate window refers to a window that is determined based on the trigger position and may be the target window.

[0050] Exemplarily, the terminal obtains the window identifiers of multiple windows in the current page, obtains the window area corresponding to the window identifier based on the window identifier, compares the trigger position with each window area, and when the trigger position is located in at least two window areas, determines the window identifier corresponding to the window area where the trigger position is located as the candidate window identifier, and determines the window corresponding to the candidate window identifier as the candidate window, thereby obtaining at least two candidate windows. Among them, the window identifier refers to a string representing the window, and the window identifier can be composed of at least one of letters, numbers, and symbols, and the window identifier corresponds to the window one-to-one. The window area refers to the area occupied by the window on the terminal screen, and the window area can be represented by a set of coordinate points. For example, the window is a rectangular area, and the vertex coordinates of the four vertices of the rectangular area constitute a set of coordinate points, and the set of coordinate points is used to represent the window area of ​​the window.

[0051] Step 106: determine a target window from at least two candidate windows.

[0052] The target window refers to the window that needs to process information. There can be one or more target windows.

[0053] Exemplarily, the terminal determines at least one target window from 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 areas of the candidate windows. For example, the candidate window corresponding to the smallest candidate window area is determined as the target window. It can be understood that when the operator performs a trigger operation, the window area of ​​the selected window is small, resulting in the trigger position of the trigger operation being 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 and a tiled state, wherein the stacked state refers to a state in which the candidate windows are displayed overlappingly, and the tiled state refers to a state in which the candidate windows do not overlap with each other and are displayed in different areas.

[0056] Step 108, processing the target window to obtain a processing result.

[0057] Among them, processing refers to the process of operating the window information, which can be screenshot, copy or information extraction, etc., and can be determined by the trigger operation of the operator. Window information refers to the content displayed in the window, and the window information has a corresponding relationship with the window identifier. The processing result refers to the result obtained by processing the window information. The processing result can be a picture or a character, etc.

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

[0059] In the above information processing method, when at least two candidate windows are determined according to the trigger position, it means that the target window cannot be accurately determined according to the trigger position at this time. In this case, it is necessary to determine the target window from the candidate windows. Compared with directly processing all windows in the current page, or processing all candidate windows, processing the target window reduces the number of windows to be processed, shortens the time for information processing, and thus improves the efficiency of information processing.

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

[0061] Step 202: In response to a first click operation corresponding to the current page, a click position corresponding to the first click operation is obtained, and the click position is determined as a trigger position.

[0062] The first click operation refers to the operation of the operator clicking the current page for the first time. The operator can click the current page with the mouse or with the touch screen of the terminal. For example, the operator moves the mouse to a window of the current page and clicks the right button of the mouse. The terminal responds to the first click operation corresponding to the current page, obtains the click position corresponding to the first click operation, determines the click position as the trigger position, and presents a control box in the current page. The control box includes multiple controls, including but not limited to screenshot, cut and copy, etc.

[0063] Exemplarily, the operator clicks on the current page, and the terminal responds to the first click operation corresponding to the current page, obtains the click position of the first click operation in the current page, and determines the click position as the trigger position.

[0064] In one embodiment, the operator clicks on the current page, and the terminal responds to the first click operation corresponding to the current page, obtains the click position of the first click operation in the current page, determines the click position as the trigger position, and presents a target control box corresponding to the first click operation in the current page, wherein the target control box includes multiple controls.

[0065] Step 204: when the trigger position is located at at least two windows in the current page, determine at least two candidate windows.

[0066] Step 204 is the same as step 104 and will not be described again.

[0067] Step 206: determine a target window from at least two candidate windows.

[0068] Step 206 is the same as step 106 and will not be described again.

[0069] Step 208, in response to the second click operation corresponding to the current page, obtain operation information; based on the operation information, process the target window to obtain a processing result.

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

[0071] Exemplarily, the operator clicks the current page again, and the terminal responds to the second click operation corresponding to the current page, obtains operation information corresponding to the second click operation, performs processing corresponding to the operation information on the target window, and obtains a processing result.

[0072] In this embodiment, the terminal obtains 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, and then obtains the 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, avoiding processing corresponding to the operation information on all windows or at least two candidate windows in the current page, reducing the number of windows to be processed, shortening the time for information processing, and thus improving the efficiency of information processing.

[0073] In one embodiment, in response to a trigger operation corresponding to the current page, obtaining a trigger position corresponding to the trigger operation includes:

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

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

[0076] Exemplarily, an operator performs a sliding operation on the current page, and the terminal responds to the sliding operation corresponding to the current page, obtains a sliding position corresponding to the sliding operation, and determines the sliding position as a trigger position, which is used to determine a target window.

[0077] In this embodiment, the terminal determines the sliding position as a trigger position in response to the sliding position corresponding to the sliding operation, thereby providing accurate basic data for subsequent determination of the target window.

[0078] In one embodiment, when the triggering operation is an operation gesture, such as Figure 3 As shown, an information processing method is provided, comprising:

[0079] Step 302: In response to the operation gesture corresponding to the current page, obtain the operation position corresponding to the operation gesture, and determine the operation position as the trigger position.

[0080] The operation gesture refers to a gesture made by an operator to interact with the terminal. The operation gesture can be performed on the touch screen of the terminal or on a touch pad connected to the terminal. For example, using two fingers to make an approach or distance operation gesture represents a zoom-in or zoom-out operation. The operation position refers to the position of the operation gesture in the current page. The operation position can be represented by multiple operation points.

[0081] Exemplarily, the operator completes an operation gesture on the current page, and the terminal responds to the operation gesture corresponding to the current page, obtains the operation position corresponding to the operation gesture, and determines the operation position as the trigger position.

[0082] Step 304: when the trigger position is located at at least two windows in the current page, determine at least two candidate windows.

[0083] Step 304 is the same as step 104 and will not be described again.

[0084] Step 306: determine a target window from at least two candidate windows.

[0085] Step 306 is the same as step 106 and will not be described again.

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

[0087] Exemplarily, the terminal obtains the operation gesture, analyzes the operation gesture, determines the operation information corresponding to the operation gesture, processes the target window corresponding to the operation information, and obtains the processing result. For example, the operation gesture is five fingers approaching, and five fingers approaching is a screenshot. The terminal analyzes the operation gesture and obtains the operation information as a screenshot.

[0088] In this embodiment, the terminal obtains the operation position and 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 for information processing, and thus improves the efficiency of information processing.

[0089] In one embodiment, the trigger position includes a plurality of operation points; when the trigger position is located in at least two windows in the current page, determining at least two candidate windows includes:

[0090] Obtain the window area corresponding to each window in the current page; when multiple operation points at the trigger position are located in at least two window areas, determine the window corresponding to the window area where the operation point is located as the candidate window; when multiple operation points at the trigger position are located in one window area, determine the window corresponding to the window area where the operation point is located as the target window.

[0091] Among them, the operation point refers to the pixel point on the screen where the trigger operation acts. It can be understood that the terminal screen contains multiple pixel points. When the operator performs a trigger operation on the terminal screen, it will contact multiple pixel points on the terminal screen. The contacted pixel point is the operation point.

[0092] Exemplarily, the terminal compares the operation point coordinates of the operation point in the trigger position with each window area respectively to determine whether the operation point is located in the window area. If all the operation points in the trigger position are located in one window area, the window corresponding to the window area where all the operation points in the trigger position are located is determined as the target window; if the operation point in the trigger position is located in at least two window areas, the windows corresponding to at least two window areas where the operation point in the trigger position is located are determined as candidate windows. The operation point coordinates refer to the coordinates that characterize the position of the operation point, which can be understood as the coordinates that characterize the position of the operation point in the terminal screen.

[0093] In this embodiment, the window area where the operation point is located is determined by comparing the operation point coordinates of the operation point at the trigger position with each window area. If the number of window areas where all the operation points are located is one, it means that the target window can be accurately determined according to the trigger position. In this case, the window corresponding to the window area where all the operation points are located is determined as the target window. If the number of window areas where the operation point is located is at least two, it means that the target window cannot be accurately determined according to the trigger position at this time. In this case, the windows corresponding to at least two window areas where the operation points in the trigger position are located are determined as candidate windows, thereby improving the accuracy of the target window determination.

[0094] In one embodiment, Figure 4 As shown, the trigger position includes multiple operating points, and the target window is determined from at least two candidate windows, including:

[0095] Step 402: for each candidate window, determine a triggering operation area based on an operation point located in a window area corresponding to the candidate window.

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

[0097] Exemplarily, for each candidate window, the terminal counts the operation points in the window area corresponding to the candidate window to obtain a first statistical number, and uses the first statistical number as the triggering operation area.

[0098] Step 404: Determine the trigger operation ratio corresponding to the candidate window based on the candidate window area and the trigger operation area corresponding to the candidate window.

[0099] The candidate window area refers to the area of ​​the candidate window, and the candidate window area can be represented by the number of pixels contained in the candidate window or the area of ​​the candidate window. The trigger operation ratio refers to the ratio between the trigger operation area and the candidate window area.

[0100] Exemplarily, for each candidate window, the terminal counts the pixels contained in the window area corresponding to the candidate window to obtain a second statistical number, uses the second statistical number as the candidate window area, divides the trigger operation area by the candidate window area, and obtains the trigger operation ratio corresponding to the candidate window area.

[0101] In one embodiment, for each candidate window, the terminal determines the minimum circumscribed polygon surrounding the operation point based on the operation point located in the window area corresponding to the candidate window, calculates the area of ​​the minimum circumscribed polygon, and obtains the trigger operation area; the terminal determines the length and width of the candidate window based on the candidate window, multiplies the length by the width, and obtains the candidate window area; the terminal divides the trigger operation area by the candidate window area to obtain the trigger operation ratio corresponding to the candidate window area.

[0102] Step 406: determine the candidate window corresponding to the largest trigger operation ratio as the target window.

[0103] Exemplarily, the terminal compares the trigger operation ratios corresponding to each candidate window to obtain the largest trigger operation ratio, and determines the candidate window corresponding to the largest trigger operation ratio as the target window.

[0104] In one embodiment, the terminal determines the distribution state of at least two candidate windows. If the distribution state is a tiled state, steps 402 to 406 are executed to determine a target window from the at least two candidate windows.

[0105] In one embodiment, the terminal determines the distribution state of at least two candidate windows. If the distribution state is a stacking state, steps 402 to 406 are executed to determine a target window from the at least two candidate windows.

[0106] In this embodiment, at least two candidate windows are determined, indicating that the operator's trigger operation is located in at least two windows in the current page, and the candidate window corresponding to the largest trigger operation ratio is determined as the target window. Compared with determining the candidate window corresponding to the largest trigger operation area as the target window, this not only takes into account the situation where the candidate windows have different sizes, but also avoids the situation where two windows are in a stacked state and the target window cannot be determined, thereby improving the accuracy of the target window determination.

[0107] In one embodiment, when the candidate windows are in a stacked state, determining a target window from at least two candidate windows includes:

[0108] Determine the candidate window areas corresponding to the candidate windows; and determine the candidate window corresponding to the smallest candidate window area as the target window.

[0109] The stacking state refers to a state in which candidate windows are displayed overlappingly.

[0110] Exemplarily, the terminal determines the distribution state of at least two candidate windows. If the distribution state is a stacked state, the candidate window area corresponding to each candidate window is determined respectively, and the candidate window areas of at least two candidate windows are compared to obtain the smallest candidate window area, 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, and the target window determined based on the candidate window area is the same as the result of the target window determined based on the trigger operation ratio. When the candidate windows are in a stacked state, the candidate window area is used to determine the target window, which improves the efficiency of target window determination.

[0112] In one embodiment, determining a target window from at least two candidate windows includes:

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

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

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

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

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

[0118] In this embodiment, when at least two candidate windows are determined, the operator is prompted to select a target window by displaying 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, Figure 5 As shown, the window selection information is a window prompt icon, which displays the window selection information in the current page, including:

[0120] Step 502: for each candidate window area, generate a window prompt icon corresponding to the candidate window.

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

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

[0123] Step 504: Display the corresponding window prompt icon in the candidate window.

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

[0125] Step 506: Determine a target window in response to a triggering operation on at least one window prompt icon.

[0126] Exemplarily, an operator performs a trigger operation in at least one window prompt icon, and the terminal determines at least one target window in response to the trigger operation on the at least one window prompt icon.

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

[0128] In one embodiment, 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 candidate window.

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

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

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

[0132] In an exemplary embodiment, the information processing system includes a global gesture processing module, a window selection module and a window management module, wherein the global gesture processing module is used to obtain the trigger position, the window selection module is used to determine the target window identifier, and the window management module is used to obtain the window identifier corresponding to the current page and the window area corresponding to the window identifier.

[0133] The terminal responds to the trigger operation corresponding to the current page. If the trigger operation is a click operation, a slide 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 perform the following operations: Figure 7 The information processing flow shown includes:

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

[0135] The window management module obtains multiple window identifiers corresponding to the current page and the window area corresponding to each window identifier, and sends the multiple window identifiers corresponding to the current page and the window area 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, as well as multiple window identifiers corresponding to the current page and the window area corresponding to each window identifier sent by the window management module. For the window area corresponding to each window identifier, the trigger position is compared with the window area to determine whether the trigger position is located in the window area. If the trigger position is located in one window area, the window identifier corresponding to the window area where the trigger position is located is determined as the target window identifier, and the window corresponding to the target window identifier is determined as the target window. The terminal obtains the window information corresponding to the target window identifier, processes the window information, and obtains the processing result; if the trigger position is located in at least two window areas, the window identifier corresponding to the window area where the trigger position is located is determined as the candidate window identifier, and the window corresponding to the candidate window identifier is determined as the candidate window. When determining at least two candidate windows, the terminal displays window prompt information in each candidate window in the current page, and the operator performs a trigger operation according to the window prompt information. The terminal responds to the trigger operation on the window selection information, determines at least one target window from the at least two candidate windows, processes the at least one target window, and obtains the processing result.

[0137] The terminal responds 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 perform the following steps: Figure 8 The information processing flow shown includes:

[0138] The window management module obtains multiple window identifiers corresponding to the current page and the window area corresponding to each window identifier, and sends the multiple window identifiers corresponding to the current page and the window area corresponding to each window identifier to the window selection module.

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

[0140] In the above information processing method, when at least two candidate windows are determined according to the trigger position, it means that the target window cannot be accurately determined according to the trigger position at this time. In this case, it is necessary to determine the target window from the candidate windows. Compared with directly processing all windows in the current page, or processing all candidate windows, processing the target window reduces the number of windows to be processed, shortens the time for information processing, and thus improves the efficiency of information processing.

[0141] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

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

[0143] In one embodiment, Fig. 9 As shown, an information processing device is provided, including: a response module 902, a determination module 904, a selection module 906 and a processing module 908, wherein:

[0144] A response module 902 is used to respond to a trigger operation corresponding to the current page and obtain a trigger position corresponding to the trigger operation;

[0145] A determination module 904, configured to determine at least two candidate windows when the trigger position is located at at least two windows in the current page;

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

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

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

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

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

[0151] In one embodiment, the determination module 904 is also used to: obtain the window area corresponding to each window in the current page; when multiple operation points of the trigger position are located in at least two window areas, determine the window corresponding to the window area where the operation point is located as the candidate window.

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

[0153] In one embodiment, the selection module 906 is also used to: for each candidate window, determine the trigger operation area based on the operation point located in the window area corresponding to the candidate window; determine the trigger operation ratio corresponding to the candidate window based on the candidate window area and the trigger operation area corresponding to the candidate window; and determine the candidate window corresponding to the largest trigger operation ratio as the target window.

[0154] In one embodiment, the selection module 906 is further used to: determine the candidate window areas corresponding to the candidate windows; and determine the candidate window corresponding to the smallest candidate window area as the target window.

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

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

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

[0158] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, 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. Among them, the processor of the computer device is used 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 operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an information processing method is implemented. The display unit of the computer device is used 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, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

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

[0160] The embodiment of the present application also provides a computer-readable storage medium, which is one or more non-volatile computer-readable storage media containing computer-executable instructions, and when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the information processing method.

[0161] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the information processing method.

[0162] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must 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, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the 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 (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0164] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0165] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An information processing method, characterized in that: include: In response to a trigger operation corresponding to the current page, obtaining a trigger position corresponding to the trigger operation; In a case where the trigger position is located in at least two windows in the current page, determining at least two candidate windows; Determine a target window from at least two of the candidate windows; The target window is processed to obtain a processing result.

2. The method according to claim 1, characterized in that The step of obtaining a trigger position corresponding to the trigger operation in response to the trigger operation corresponding to the current page includes: In response to a first click operation corresponding to the current page, obtaining a click position corresponding to the first click operation, and determining the click position as a trigger position; The processing of the target window to obtain a processing result includes: In response to a second click operation corresponding to the current page, acquiring operation information; Based on the operation information, the target window is processed to obtain a processing result.

3. The method according to claim 1, characterized in that The step of obtaining a trigger position corresponding to the trigger operation in response to the trigger operation corresponding to the current page includes: In response to a sliding operation corresponding to the current page, a sliding position corresponding to the sliding operation is obtained, and the sliding position is determined as a triggering position.

4. The method according to claim 1, characterized in that: The step of obtaining a trigger position corresponding to the trigger operation in response to the trigger operation corresponding to the current page includes: In response to an operation gesture corresponding to the current page, obtaining an operation position corresponding to the operation gesture, and determining the operation position as a trigger position; The processing of the target window to obtain a processing result includes: Acquire operation information corresponding to the operation gesture; Based on the operation information, the target window is processed to obtain a processing result.

5. The method according to claim 1, characterized in that The trigger position includes a plurality of operation points; and when the trigger position is located in at least two windows in the current page, determining at least two candidate windows includes: Obtaining the window area corresponding to each window in the current page; In the case where the plurality of operating points at the trigger position are located in at least two of the window areas, the windows corresponding to the window areas where the operating points are located are determined as candidate windows.

6. The method according to claim 5, characterized in that The method further comprises: In the case where the plurality of operating points at the trigger position are located in one window area, the window corresponding to the window area where the operating point is located is determined as the target window.

7. The method according to claim 1, characterized in that The trigger position includes a plurality of operation points; and determining a target window from at least two candidate windows includes: For each of the candidate windows, determining a triggering operation area based on an operation point located in a window area corresponding to the candidate window; Determining a trigger operation ratio corresponding to the candidate window based on a candidate window area corresponding to the candidate window and the trigger operation area; The candidate window corresponding to the largest trigger operation ratio is determined as the target window.

8. The method according to claim 1, characterized in that In a case where the candidate windows are in a stacked state, determining a target window from at least two of the candidate windows includes: Determine a candidate window area corresponding to the candidate window; The candidate window corresponding to the smallest candidate window area is determined as the target window.

9. The method according to claim 1, characterized in that: The step of determining a target window from at least two candidate windows comprises: Displaying window selection information in the current page; In response to a trigger operation on the window selection information, a target window is determined from at least two candidate windows.

10. The method according to claim 9, characterized in that The window selection information is a window prompt icon; and the displaying of the window selection information in the current page includes: For each of the candidate windows, generating a window prompt icon corresponding to the candidate window; Displaying a corresponding window prompt icon in the candidate window; The step of determining a target window from at least two candidate windows in response to a trigger operation on the window selection information comprises: In response to a triggering operation on at least one of the window prompt icons, a target window is determined.

11. The method according to claim 10, characterized in that 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 device, characterized in that: include: A response module, used for responding to a trigger operation corresponding to the current page and obtaining a trigger position corresponding to the trigger operation; a determination module, configured to determine at least two candidate windows when the trigger position is located in at least two windows in the current page; A selection module, used for determining a target window from at least two candidate windows; The processing module is used to process the target window to obtain a processing result.

13. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to execute the steps of the information processing method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the information processing method according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Window element capturing method and device and storage medium

    CN114546226A

  • Window page interaction method and device, electronic equipment and readable storage medium

    CN114764300A

  • Window adjustment method and device, electronic equipment and computer readable storage medium

    CN116088734A

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

    CN116339888A