Display window control method and device, electronic equipment and storage medium
By determining the operation object and type in the electronic device and determining the window to be displayed based on the current window information and display mode, the problem of cumbersome display and switching display is solved, and better user experience and application linkage is achieved.
Patent Information
- Application Number
- CN202311016332.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-11
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, the combined display and switching display operations of multiple applications in electronic devices are more cumbersome, resulting in poor user operation experience.
By determining the operation object, operation type, current window information and display mode when an operation is received, and determining the window to be displayed and its information based on these information, the combined display and quick switching display of multiple applications in the electronic device is realized.
It realizes the combined display of multiple applications in electronic devices and the rapid switching display, improves the user's operation experience, and meets the linkage usage needs of multiple applications.
Smart Images

Figure CN119473461A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic devices, and in particular to a method and device for controlling a display window, an electronic device, and a storage medium. Background Art
[0002] With the continuous development of electronic devices, there are more and more applications on terminal devices, and the linkage use scenarios between different applications have become very common. Therefore, it is necessary to realize the combined use and switching display of multiple applications in electronic devices.
[0003] In the related art, the combined use of multiple applications and the switching display operations in electronic devices are relatively cumbersome, which will lead to a poor user operating experience. Summary of the invention
[0004] The present disclosure proposes a control method, device, electronic device, storage medium and computer program product for a display window, aiming to solve the technical problems in the related art at least to a certain extent.
[0005] An embodiment of the first aspect of the present disclosure proposes a method for controlling a display window, including: when a first operation is received, determining an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device; when the current display mode is the first mode, determining a second window to be displayed on the display interface after the first operation and second window information based on at least one of the first window information, the operation object, and the operation type; and displaying the second window based on the second window information.
[0006] The second aspect of the present disclosure provides a control device for a display window, including: a first determination module, for determining, upon receiving a first operation, an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device; a second determination module, for determining, when the current display mode is the first mode, a second window to be displayed on the display interface after the first operation and second window information based on at least one of the first window information, the operation object, and the operation type; and a display module, for displaying the second window based on the second window information.
[0007] An embodiment of the third aspect of the present disclosure proposes an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method for controlling a display window.
[0008] The fourth aspect of the present disclosure provides a computer-readable storage medium. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute a method for controlling a display window.
[0009] The fifth aspect of the present disclosure provides a computer program product, including a computer program, characterized in that the computer program is executed by a processor to control a display window.
[0010] The control method, device, electronic device, storage medium and computer program product of the display window proposed in this embodiment have at least the following beneficial effects: by determining the operation object, operation type, first window information of the first window currently displayed on the display interface and the current display mode of the electronic device when receiving the first operation, and when the current display mode is the first mode, determining the second window and second window information to be displayed on the display interface after the first operation based on at least one of the first window information, operation object and operation type, and displaying the second window based on the second window information, it is possible to realize the combined display and fast switching display of multiple applications in the electronic device, thereby effectively meeting the linkage use requirements of multiple applications. Furthermore, the technical problem that the combined display and switching display of multiple applications in the electronic device are relatively cumbersome in the prior art is solved.
[0011] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0013] Figure 1 is a flowchart of a method for controlling a display window according to the first embodiment of the present disclosure;
[0014] Figure 2A This is a schematic diagram of a display interface corresponding to the first mode proposed in an embodiment of the present disclosure.
[0015] Figure 2B is a schematic diagram of a display interface when the first mode is turned on according to an embodiment of the present disclosure;
[0016] Figure 3A is a display schematic diagram corresponding to the desktop control proposed in an embodiment of the present disclosure;
[0017] Figure 3B is a display schematic diagram corresponding to the recent task control proposed in an embodiment of the present disclosure;
[0018] Figure 3C is a display schematic diagram corresponding to all application controls proposed in an embodiment of the present disclosure;
[0019] Figure 4is a flow chart of a method for controlling a display window according to a second embodiment of the present disclosure;
[0020] Figure 5A is a display schematic diagram corresponding to the first sliding operation proposed in an embodiment of the present disclosure;
[0021] Figure 5B is a display schematic diagram corresponding to the second sliding operation proposed in an embodiment of the present disclosure;
[0022] Figure 5C is a display schematic diagram corresponding to the third sliding operation proposed in an embodiment of the present disclosure;
[0023] Figure 5D is a display schematic diagram corresponding to the fourth sliding operation proposed in an embodiment of the present disclosure;
[0024] Figure 5E is a display schematic diagram corresponding to the fifth sliding operation proposed in an embodiment of the present disclosure;
[0025] Figure 6 is a flow chart of a method for controlling a display window according to a third embodiment of the present disclosure;
[0026] Fig. 7A is a display schematic diagram corresponding to the first shortcut key character proposed in an embodiment of the present disclosure;
[0027] Figure 7B is a display schematic diagram corresponding to the second shortcut key character proposed in an embodiment of the present disclosure;
[0028] Figure 7C is a display schematic diagram corresponding to the third shortcut key character proposed in an embodiment of the present disclosure;
[0029] Figure 8 is a flowchart of a method for controlling a display window according to a fourth embodiment of the present disclosure;
[0030] Fig. 9A This is a display schematic diagram corresponding to the application long press operation proposed in an embodiment of the present disclosure;
[0031] Fig. 9B is a display schematic diagram corresponding to the application drag operation proposed in an embodiment of the present disclosure;
[0032] Fig.10 is a flow chart of a method for controlling a display window according to a sixth embodiment of the present disclosure;
[0033] Fig.11A is a display schematic diagram corresponding to the first click operation proposed in an embodiment of the present disclosure;
[0034] Fig. 11Bis a display schematic diagram corresponding to the second click operation proposed in an embodiment of the present disclosure;
[0035] Fig.12 is a flowchart of a method for controlling a display window according to a seventh embodiment of the present disclosure;
[0036] Fig.13A It is a schematic diagram of the conversion effect of a full-screen type window when switching from a normal mode to a workbench mode proposed in an embodiment of the present disclosure;
[0037] Fig. 13B It is a schematic diagram of the conversion effect of the split-screen type window when the normal mode is switched to the workbench mode proposed in an embodiment of the present disclosure;
[0038] Fig. 13C It is a schematic diagram of the conversion effect of a small window type window when the normal mode is switched to the workbench mode according to an embodiment of the present disclosure;
[0039] Fig.13D It is a schematic diagram of the conversion effect of the window when the normal mode is switched to the workbench mode according to an embodiment of the present disclosure;
[0040] Fig.13E This is a display schematic diagram of dragging a small window to a temporary full screen according to an embodiment of the present disclosure;
[0041] Fig.13F This is a display schematic diagram of a drag operation from a full-screen window to a small-window window according to an embodiment of the present disclosure;
[0042] Figure 13G is a schematic diagram of display corresponding to finger sliding proposed in an embodiment of the present disclosure;
[0043] Fig.13H This is a schematic diagram of display corresponding to sliding of a mouse or stylus pen proposed in an embodiment of the present disclosure;
[0044] Fig.13I is a schematic diagram of the conversion effect of the window when the workbench mode is switched to the normal mode according to an embodiment of the present disclosure;
[0045] Fig.14 is a block diagram of a control device for displaying a window according to the present disclosure;
[0046] Fig.15 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0047] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.
[0048] It should be noted that the executor of the display window control method of this embodiment can be a display window control device, which can be implemented by software and / or hardware, and can be configured in an electronic device, which can include but is not limited to tablet computers, PDAs and other large-screen terminal devices.
[0049] It should be noted that the process of obtaining, storing, using, and processing information in the disclosed technical solution complies with the relevant provisions of national laws and regulations and does not violate public order and good morals.
[0050] Figure 1 is a flow chart of a method for controlling a display window according to a first embodiment of the present disclosure, such as Figure 1 As shown, the method includes:
[0051] S101: When a first operation is received, determining an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device.
[0052] The first operation may be a click operation or a slide operation on a partial area of the display screen of the electronic device, and there is no limitation on this.
[0053] The operation object is the object targeted by the first operation in the electronic device, and the operation object may be, for example, a folder of the electronic device, an application icon, a shortcut key in the status bar, a desktop display interface, etc., without limitation.
[0054] Among them, different first operations can be divided into different operation types, and the operation type can be specifically, for example, a sliding operation type, a clicking operation type, a shortcut key operation type, and a dragging operation type, etc., and there is no limitation to this.
[0055] Among them, the visual interface used in electronic devices to display and present information to users is called a display interface. The display interface can be used to display elements such as images, texts, icons, and application content.
[0056] Among them, the display window refers to a display area used to display elements such as a specific application content, that is, the application content of a specific application can be displayed by floating a display window in the desktop display interface of the electronic device, or multiple display windows can be floatingly displayed in the desktop display interface of the electronic device to simultaneously display the application content of multiple different applications, and there is no limitation to this.
[0057] When the first window is displayed, relevant display information may be provided, and the display information is the first window information. The first window information may specifically include, for example, the number of first windows, the relative position of the first window in the display interface, and the window type of the first window (wherein, the first window may be divided into different window types based on its corresponding size, and the window type may be, for example, a small window type, a mini window type, etc.), and there is no limitation on this.
[0058] Among them, the current display mode refers to the different display settings used by the current electronic device for the program display interface. The display mode can be, for example, a normal display mode, a game display mode, a night mode, etc., and there is no limitation on this.
[0059] In an embodiment of the present disclosure, the electronic device can identify the operation object of the first operation, the operation type, the first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device when detecting a first operation on a partial area of the display screen.
[0060] S102: When the current display mode is the first mode, determine a second window and second window information to be displayed on the display interface after the first operation based on at least one of the first window information, the operation object, and the operation type.
[0061] Among them, Figure 2A As shown, Figure 2A It is a schematic diagram of the display interface corresponding to the first mode proposed in an embodiment of the present disclosure. The first mode refers to a display mode in which the initial display interface of the electronic device is divided into three layers vertically at the same time. The bottom layer is the desktop display layer. Normally, the desktop is empty by default, that is, you can add application shortcuts to the desktop from all applications. The middle layer is the first window display layer, and the upper layer is the status bar display layer. Application icons can be displayed in the status bar. At the same time, the status bar integrates a navigation function, that is, you can enter all applications, recent tasks or clear the desktop by clicking the target control in the status bar.
[0062] Optionally, in some embodiments, when the current display mode is the first mode, based on the first window information, the operation object and at least one of the operation type, the display interface determines that the second window and the second window information to be displayed after the first operation are determined, and it can be determined that the current display mode is the first mode when it is monitored that the first mode control is selected.
[0063] Among them, when the first mode control is selected, it can be used to trigger entering the first display mode. The first mode control can be set in the control interface of the electronic device (that is, when the first mode control in the control interface is detected to be touched, it is determined that the first mode control is selected, or when the first mode control in the control interface is detected to be switched from an off state to an on state, it is determined that the first mode control is selected), or the first mode control can also be detected when a preset shortcut key combination character is touched, and the first mode control is determined to be selected. There is no limitation on this.
[0064] For example, Figure 2B As shown, Figure 2B It is a schematic diagram of the display interface when the first mode is turned on proposed in an embodiment of the present disclosure, that is, it can be in the display interface of the electronic device, by opening the control interface of the electronic device, and when it is monitored that the first mode control in the control interface is selected, it is determined that the current display mode is the first mode.
[0065] Among them, after performing the second operation on the display interface of the electronic device, a new display window will be generated based on the second operation, and the display window is the second display window. The second display window may have relevant display information, and the display information is the second window information. The second window information may specifically include, for example, the number of second windows, the relative position of the second window in the display interface, and the window type of the second window (wherein, the second window may be divided into different window types based on its corresponding sizes, and the window type may be, for example, a small window type, a mini window type, etc.), and there is no limitation on this.
[0066] That is to say, in the embodiment of the present disclosure, after determining that the current display mode is the first mode, the second window and second window information to be displayed on the display interface after the first operation can be determined based on at least one of the first window information, operation object and operation type determined above.
[0067] Optionally, in some embodiments, based on at least one of the first window information, the operation object and the operation type, the second window and second window information to be displayed on the display interface after the first operation are determined. When the operation object is any control in the status bar and the operation type is a click operation, the second window is determined to be the first target window associated with any control, and the second window information is the window information of the first target window.
[0068] Among them, the above Figure 2A The status bar may include an application icon control and / or a target control with integrated navigation functionality.
[0069] Among them, the display window associated with any control in the status bar is the first target window. The first target window can be a display window that displays application content associated with an application icon, or it can be a display window that displays all applications or recent tasks associated with a target control, or it can be a display window after clearing the desktop. There is no restriction on this.
[0070] That is to say, in the embodiment of the present disclosure, when it is determined that the operation object is any control in the status bar and the operation type is a click operation, the second window is determined to be the first target window associated with any control.
[0071] Optionally, in some embodiments, when any control is a desktop control, the first target window is determined to be the desktop display interface in the first mode, or, when any control is a recent task control, the first target window is determined to be a display interface containing all application identifiers that are not closed, or when any control is an all-application control, the first target window is determined to be a display interface containing all application identifiers in the electronic device.
[0072] Among them, Figure 3A As shown, Figure 3A is a display diagram corresponding to the desktop control proposed in an embodiment of the present disclosure, that is, when the operation object pair is a desktop control in the object bar, it can be determined that the first target window is the above Figure 2A The desktop display interface in the first mode shown in the figure, that is, when the operation object is a desktop control, all windows will be cleared. If the display interface displayed by the current electronic device shows the most recent tasks or all applications, it will return to the desktop display interface in the first mode.
[0073] Among them, Figure 3B As shown, Figure 3B It is a display diagram corresponding to the recent task control proposed in an embodiment of the present disclosure, that is, when the operation object is the recent task control in the object bar, the first target window can be determined as the display interface containing the recent tasks (all application identifiers that have not been closed).
[0074] Among them, Figure 3C As shown, Figure 3C It is a display schematic diagram corresponding to all application controls proposed in an embodiment of the present disclosure, that is, when the operation object pair is all application controls in the object bar, the first target window can be determined as a display interface containing all application identifiers in the electronic device.
[0075] Among them, the first target window may have relevant display information, which is the window information of the first target window. The window information of the first target window may specifically include, for example, the number of first target windows, the relative position of the first target window in the display interface, and the window type of the first target window (wherein, the first target window may be divided into different window types based on its corresponding size, and the window type may be, for example, a small window type, a mini window type, etc.), and there is no limitation on this.
[0076] That is, in the embodiment of the present disclosure, after determining that the second window is the first target window associated with any control, the window information of the first target window may be determined, and the window information of the first target window determined above may be used as the second window information.
[0077] S103: Displaying the second window based on the second window information.
[0078] After determining the second window and the second window information to be displayed on the display interface after the first operation, the embodiment of the present disclosure may display the second window based on the second window information.
[0079] That is to say, in the embodiment of the present disclosure, the second window may be displayed based on the display position of the second window described by the second window information and / or the window type.
[0080] For example, the second window information is that the window type of the second window is a small window type, and the display position is the left side of the display interface. Then, the second window can be displayed in the form of a small window on the left side of the display interface, and there is no limitation on this.
[0081] In the embodiment of the present disclosure, by determining the operation object of the first operation, the operation type, the first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device when a first operation is received, and when the current display mode is the first mode, determining the second window to be displayed on the display interface after the first operation and the second window information based on at least one of the first window information, the operation object, and the operation type, and displaying the second window based on the second window information, it is possible to achieve combined display and fast switching display of multiple applications in the electronic device, thereby effectively meeting the needs of linked use of multiple applications.
[0082] Figure 4 is a flow chart of a method for controlling a display window according to a second embodiment of the present disclosure, such as Figure 4 As shown, the method includes:
[0083] S401: When a first operation is received, determining an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device.
[0084] The specific description of S401 can be found in the above embodiment, which will not be repeated here.
[0085] S402: When the current display mode is the first mode, the operation object is the specified area of the display interface, and the operation type is a sliding operation, determine that the second window is a second target window associated with at least one of the end position of the sliding operation, the number of sliding points included, the sliding direction, and the sliding speed, and the second window information is the window information of the second target window.
[0086] Among them, the designated area can be a local display interface pre-set for the display interface. The designated area can be the bottom area of the display interface, the left area of the display interface, etc., and there is no limitation on this.
[0087] Among them, the sliding operation can be, for example, sliding from the top to the bottom of the display interface, sliding from the bottom to the top of the display interface, sliding from the bottom area of the display interface to a designated position and stopping, a single sliding point sliding operation (i.e., a single-finger sliding operation), a multi-sliding point sliding operation (for example, a four-finger grab sliding operation from the edge of the display interface to the center point of the display interface, a four-finger horizontal sliding operation, etc.), and there is no restriction on this.
[0088] For example, Figure 5A As shown, Figure 5A is a display schematic diagram corresponding to the first sliding operation proposed in an embodiment of the present disclosure, the first sliding operation may be, for example, a sliding operation in which the number of sliding points is 1, the sliding direction is from the top to the bottom of the display interface, no sliding termination occurs, and the sliding speed is greater than or equal to the sliding speed threshold, and the second target window associated with the aforementioned first sliding operation is determined to be the aforementioned Figure 2A The desktop display interface in the first mode shown in the figure, that is, when the operation object is a desktop control, all windows will be cleared. If the display interface displayed by the current electronic device shows the most recent tasks or all applications, it will return to the desktop display interface in the first mode.
[0089] For example, as shown in 5B, Figure 5B It is a display schematic diagram corresponding to the second sliding operation proposed in an embodiment of the present disclosure. The second sliding operation may, for example, have a sliding point of 1 and a sliding direction from the top to the bottom of the display interface, and a sliding termination occurs (i.e., it is determined that the second sliding operation has a corresponding termination position), and it is determined that the second target window associated with the aforementioned second sliding operation is a display interface containing recent tasks (all application identifiers that have not been closed).
[0090] For example, as shown in 5C, Figure 5Cis a display schematic diagram corresponding to the third sliding operation proposed in an embodiment of the present disclosure, the third sliding operation may, for example, have 4 sliding points, and the sliding direction is from the top to the bottom of the display interface, and no sliding termination occurs (that is, it is determined that the third sliding operation does not have a corresponding termination position), and it is determined that the second target window associated with the aforementioned third sliding operation is the aforementioned Figure 2A The desktop display interface in the first mode shown in , that is, all windows will be cleared. If the display interface currently displayed by the electronic device shows the most recent tasks or all applications, it will return to the desktop display interface in the first mode.
[0091] For example, as shown in 5D, Figure 5D It is a display schematic diagram corresponding to the fourth sliding operation proposed in an embodiment of the present disclosure. The fourth sliding operation can, for example, have 4 sliding points, and the sliding direction is from the top to the bottom of the display interface, and a sliding termination situation occurs (that is, it is determined that the fourth sliding operation has a corresponding termination position), and it is determined that the second target window associated with the aforementioned fourth sliding operation is a display interface containing recent tasks (all application identifiers that have not been closed).
[0092] For example, as shown in 5E, Figure 5E It is a display schematic diagram corresponding to the fifth sliding operation proposed in an embodiment of the present disclosure. The fifth sliding operation may, for example, have 4 sliding points, and the sliding direction is from the 4 peripheries of the display interface to the center point of the display interface, and no sliding termination occurs (i.e., it is determined that the fifth sliding operation does not have a corresponding termination position), and it is determined that the second target window associated with the aforementioned fifth sliding operation is a display interface containing all application identifiers in the electronic device.
[0093] It should be noted that the first sliding operation, the second sliding operation, the third sliding operation, the fourth sliding operation, and the fifth sliding operation described above are merely illustrative examples of the embodiments of the present disclosure. The sliding operation can also be freely configured based on at least one of the end position of the sliding operation, the number of sliding points included, the sliding direction, and the sliding speed, and there is no limitation on this.
[0094] That is to say, in the embodiment of the present disclosure, when the current display mode is the first mode, the operation object is the specified area of the display interface, and the operation type is a sliding operation, the target sliding operation can be determined based on at least one of the end position of the sliding operation, the number of sliding points included, the sliding direction, and the sliding speed, and then the second target window associated with the target sliding operation can be determined.
[0095] Among them, the second target window may have relevant display information, which is the window information of the second target window. The window information of the second target window may specifically include, for example, the number of second target windows, the relative position of the second target window in the display interface, and the window type of the second target window (wherein, the second target window may be divided into different window types based on its corresponding size, and the window type may be, for example, a small window type, a mini window type, etc.), and there is no limitation on this.
[0096] That is, in the embodiment of the present disclosure, after determining that the second window is the second target window associated with the target sliding operation, the window information of the second target window may be determined, and the window information of the second target window determined above may be used as the second window information.
[0097] S403: Displaying the second window based on the second window information.
[0098] The specific description of S403 can be found in the above embodiment, which will not be repeated here.
[0099] In an embodiment of the present disclosure, by determining, when a first operation is received, the operation object of the first operation, the operation type, the first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device, and when the current display mode is the first mode, the operation object is a designated area of the display interface, and the operation type is a sliding operation, determining that the second window is a second target window associated with at least one of the end position of the sliding operation, the number of sliding points included, the sliding direction, and the sliding speed, and the second window information is the window information of the second target window, and then displaying the second window based on the second window information, so that the corresponding second display window can be flexibly triggered to be displayed based on at least one of the end position of the sliding operation, the number of sliding points included, the sliding direction, and the sliding speed, thereby effectively improving the convenience of combined display of multiple applications and quick switching of displays.
[0100] Figure 6 is a flow chart of a method for controlling a display window according to a third embodiment of the present disclosure, such as Figure 6 As shown, the method includes:
[0101] S601: When a first operation is received, determining an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device.
[0102] The specific description of S601 can be found in the above embodiment, which will not be repeated here.
[0103] S602: when the current display mode is the first mode, the operation object is empty, and the operation type is a shortcut character, determine that the second window is a third target window associated with the shortcut character, and the second window information is window information of the third target window.
[0104] In the disclosed embodiment, the electronic device may be connected to an external Bluetooth keyboard, thereby triggering generation of a third target window to be displayed when the operation object is empty (i.e., the display interface of the electronic device does not receive any operation) based on the external Bluetooth keyboard.
[0105] The shortcut key character may be a character pre-set for a key character on the keyboard. The shortcut key character may be any character on the keyboard or a random combination of multiple characters on the keyboard, and there is no limitation on this.
[0106] For example, Fig. 7A As shown, Fig. 7A is a display schematic diagram corresponding to the first shortcut key character proposed in an embodiment of the present disclosure. The first shortcut key character may be, for example, a combination of Ctrl+Q on a keyboard, that is, when Ctrl+Q on the keyboard is detected to be pressed, it is determined that the third target window associated with the first shortcut key character is the above Figure 2A The desktop display interface in the first mode shown in , that is, all windows will be cleared. If the display interface currently displayed by the electronic device shows the most recent tasks or all applications, it will return to the desktop display interface in the first mode.
[0107] For example, Figure 7B As shown, Figure 7B It is a display schematic diagram corresponding to the second shortcut key character proposed in an embodiment of the present disclosure. The second shortcut key character can be, for example, a combination of Ctrl+T in the keyboard, that is, when it is detected that Ctrl+T in the keyboard is pressed, it is determined that the third target window associated with the aforementioned second shortcut key character is a display interface containing recent tasks (all application identifiers that have not been closed).
[0108] For example, Figure 7C As shown, Figure 7C It is a display schematic diagram corresponding to the third shortcut key character proposed in an embodiment of the present disclosure. The third shortcut key character can be, for example, a combination of Ctrl+T in the keyboard, that is, when it is detected that Ctrl+T in the keyboard is pressed, it is determined that the third target window associated with the aforementioned third shortcut key character is a display interface containing all application identifiers in the electronic device.
[0109] Among them, the third target window may have relevant display information, which is the window information of the third target window. The window information of the third target window may specifically include, for example, the number of third target windows, the relative position of the third target window in the display interface, and the window type of the third target window (wherein, the third target window may be divided into different window types based on its corresponding size, and the window type may be, for example, a small window type, a mini window type, etc.), and there is no limitation on this.
[0110] That is, in the embodiment of the present disclosure, after determining that the second window is the third target window associated with the shortcut key character, the window information of the third target window may be determined, and the window information of the third target window determined above may be used as the second window information.
[0111] S603: Displaying the second window based on the second window information.
[0112] The specific description of S603 can be found in the above embodiment, which will not be repeated here.
[0113] In the embodiment of the present disclosure, by determining the operation object of the first operation, the operation type, the first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device when the first operation is received, and when the current display mode is the first mode, the operation object is empty, and the operation type is a shortcut key character, determining that the second window is a third target window associated with the shortcut key character, and the second window information is the window information of the third target window, and displaying the second window based on the second window information, so that the corresponding second display window can be flexibly triggered to be displayed based on the quick payment operation in the external keyboard of the electronic device, thereby effectively improving the convenience of combined display of multiple applications and quick switching of displays.
[0114] Figure 8 is a flow chart of a method for controlling a display window according to a fourth embodiment of the present disclosure, such as Figure 8 As shown, the method includes:
[0115] S801: When a first operation is received, determine an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device.
[0116] The specific description of S801 can be found in the above embodiment, which will not be repeated here.
[0117] S802: When the current display mode is the first mode, the operation object is any application, and the operation type is a long press operation, determine that the second window is a shortcut key selection window, and the second window information is window information of the shortcut key selection window.
[0118] The long press operation may be, for example, determining that the duration of any application control receiving the touch instruction is greater than a duration threshold.
[0119] The shortcut key selection window may be, for example, a shortcut key selection menu, and by selecting a corresponding control in the shortcut key selection menu, a shortcut to the application may be added to the desktop.
[0120] That is to say, in the embodiments of the present disclosure, see Fig. 9A , Fig. 9A It is a display schematic diagram corresponding to the long press operation of the application proposed in an embodiment of the present disclosure, that is, when the current display mode is the first mode and the operation object is any application, the duration of the control receiving the touch command is determined, and when the duration of the touch command received is greater than the duration threshold, the second window is determined to be the shortcut key selection window.
[0121] Among them, the shortcut key selection window may have relevant window information, and the window information may be specific, for example, the relative position of the shortcut key selection window in the display interface, the window type of the shortcut key selection window (wherein, the shortcut key selection window may be divided into different window types based on their corresponding sizes, and the window type may be, for example, a small window type, a mini window type, etc.), the content information displayed in the shortcut key selection window, etc., without limitation.
[0122] That is, after determining that the second window is the shortcut key selection window, the embodiment of the present disclosure may determine the window information of the shortcut key selection window, and use the window information of the shortcut key selection window as the second window information.
[0123] S803: When the current display mode is the first mode, the operation object is any application, and the operation type is a drag operation, determine that the second window is a desktop display interface, and the second window information is window information of the desktop display interface.
[0124] Among them, performing a drag operation on any application can be, for example, monitoring a certain application control receiving a super touch instruction, and the duration of receiving the touch instruction is greater than the duration threshold, and monitoring the application control being moved (for example, monitoring the application control being moved from one position in the display desktop to another position, without limitation).
[0125] In the embodiments of the present disclosure, see Fig. 9B , Fig. 9B It is a display schematic diagram corresponding to the application drag operation proposed in an embodiment of the present disclosure, that is, when the current display mode is the first mode, the operation object is any application, and the operation type is a drag operation, the second window is determined to be the desktop display interface.
[0126] Among them, the desktop display interface may have relevant window information, and the window information may specifically include, for example, the relative position of the desktop display interface in the display interface, the window type of the desktop display interface (wherein, the desktop display interface may be divided into different window types based on their corresponding sizes, and the window type may be, for example, a small window type, a mini window type, etc.), content information displayed on the desktop display interface, etc., without limitation.
[0127] That is to say, in the embodiment of the present disclosure, the second window may be determined as the desktop display interface, the window information of the desktop display interface may be determined, or the window information of the desktop display interface may be determined as the second window information.
[0128] S804: Displaying the second window based on the second window information.
[0129] The specific description of S804 can be found in the above embodiment, which will not be repeated here.
[0130] In the disclosed embodiment, when a first operation is received, the operation object of the first operation, the operation type, the first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device are determined; and when the current display mode is the first mode, the operation object is any application, and the operation type is a long press operation, the second window is determined to be a shortcut key selection window, and the second window information is the window information of the shortcut key selection window; and then when the current display mode is the first mode, the operation object is any application, and the operation type is a drag operation, the second window is determined to be a desktop display interface, and the second window information is the window information of the desktop display interface; and then based on the second window information, the second window is displayed, so that it is possible to trigger the display of the shortcut key selection window based on a long press operation of any application, and trigger the display of the desktop display interface based on a drag operation of any application, thereby effectively meeting the user's diverse interface switching display needs, thereby effectively improving the user experience.
[0131] Fig.10 is a flow chart of a method for controlling a display window according to a sixth embodiment of the present disclosure, such as Fig.10 As shown, the method includes:
[0132] S1001: When a first operation is received, determining an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device.
[0133] The specific description of S1001 can be found in the above embodiment, which will not be repeated here.
[0134] S1002: When the current display mode is the first mode, and the first window information contains display information of at least one first type window, and the operation object is any application identifier or any folder in the desktop display interface, and the operation type is a click operation, determine that the second window is the interface of the display window containing the operation object, and the second window information is the window information of the interface of the display window containing the operation object.
[0135] The second window corresponding to the at least one first-type window after the first operation is a second-type window, and the window size of the second-type window is smaller than the window size of the first-type window.
[0136] Among them, the display window can be divided into different window types based on the size of the display window. The window type of the display window can be specifically, for example, a small window type and a border small window type. The window size of the display window of the border small window type is smaller than the window size of the display window of the small window type.
[0137] The first type of window may be, for example, a small window type window, and the second type of window may be, for example, a small border window type window, and there is no limitation on this.
[0138] In the embodiments of the present disclosure, see Fig.11A , Fig.11A It is a display schematic diagram corresponding to the first click operation proposed in an embodiment of the present disclosure. The first click operation refers to, when the current display mode is the first mode and the first window information contains display information of at least one first-type window, a click operation is performed on any application identifier in the desktop display interface. That is, when the operation object is any application identifier in the desktop display interface, the first-type window will be displayed edge to edge (that is, the second window corresponding to the at least one first-type window after the first operation is a second-type window), so as not to affect the display of the display window corresponding to the application identifier, thereby effectively improving the display effect of the display window corresponding to the application identifier, and facilitating the user to subsequently operate the display window corresponding to the application identifier.
[0139] In the embodiments of the present disclosure, see Fig. 11B , Fig. 11BIt is a display schematic diagram corresponding to the second click operation proposed in an embodiment of the present disclosure. The second click operation refers to, when the current display mode is the first mode and the first window information contains display information of at least one first-type window, a click operation is performed on any folder in the desktop display interface. That is, when the operation object is any folder in the desktop display interface, the first-type window will be displayed edge to edge (that is, the second window corresponding to at least one first-type window after the first operation is a second-type window), so as not to affect the display of the display window corresponding to the folder, thereby effectively improving the display effect of the display window corresponding to the folder, and facilitating the user to perform subsequent operations on the display window corresponding to the folder.
[0140] Among them, the interface of the display window containing the operation object may have relevant window information, and the window information may specifically be, for example, the relative position of the interface of the display window containing the operation object in the display interface, the window type of the interface of the display window containing the operation object (wherein, the desktop display interface may be divided into different window types based on their corresponding sizes, and the window type may be, for example, a small window type, a mini window type, etc.), the content information displayed on the interface of the display window containing the operation object, etc., without limitation.
[0141] That is to say, in the embodiments of the present disclosure, when determining that the second window is the interface of the display window containing the operation object, the window information of the interface of the display window containing the operation object may be determined, and the window information of the interface of the display window containing the operation object may be determined as the second window information.
[0142] S1003: Displaying the second window based on the second window information.
[0143] The specific description of S1003 can be found in the above embodiment, which will not be repeated here.
[0144] In an embodiment of the present disclosure, by determining the operation object of the first operation, the operation type, the first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device when the first operation is received, and then when the current display mode is the first mode, and the first window information contains display information of at least one first type window, and the operation object is any application identifier or any folder in the desktop display interface, and the operation type is a click operation, it is determined that the second window is the interface of the display window containing the operation object, the second window information is the window information of the interface of the display window containing the operation object, and based on the second window information, the second window is displayed, so that the display of the display window corresponding to the folder is not affected, thereby effectively improving the display effect of the display window corresponding to the folder, and facilitating the user to subsequently operate the display window corresponding to the folder, or the display of the display window corresponding to the folder is not affected, thereby effectively improving the display effect of the display window corresponding to the folder, and facilitating the user to subsequently operate the display window corresponding to the folder.
[0145] Fig.12 is a flow chart of a method for controlling a display window according to a seventh embodiment of the present disclosure, such as Fig.12 As shown, the method includes:
[0146] S1201: When a first operation is received, determining an operation object of the first operation, an operation type, first window information of a first window currently displayed on a display interface, and a current display mode of the electronic device.
[0147] Optionally, in some embodiments, before receiving the first operation, a second display mode switching instruction may be received, wherein the second display mode switching instruction is used to instruct the display mode of the electronic device to be switched from the second display mode to the first display mode, and based on the second window mapping mode, the fourth window in the display interface is window mapped to obtain the first window.
[0148] The second display mode switching instruction is used to instruct to switch the display mode of the electronic device from the normal mode to the workbench mode.
[0149] In the embodiments of the present disclosure, see Fig.13A , Fig.13A is a schematic diagram of the conversion effect of a full-screen type window when switching from the normal mode to the workbench mode proposed in an embodiment of the present disclosure, that is, when switching from the normal mode to the workbench mode, the full-screen type window is converted into a small window type window, see Fig. 13B , Fig. 13B is a schematic diagram of the conversion effect of the split-screen type window when the normal mode is switched to the workbench mode proposed in an embodiment of the present disclosure, that is, when switching from the normal mode to the workbench mode, the split-screen type window is converted into a small window type window, see Fig. 13C , Fig. 13C is a schematic diagram of the conversion effect of the small window type window when the normal mode is switched to the workbench mode proposed in an embodiment of the present disclosure, that is, when switching from the normal mode to the workbench mode, the small window type window remains unchanged, see Fig.13D , Fig.13D This is a schematic diagram of the window conversion effect when the normal mode is switched to the workbench mode proposed in an embodiment of the present disclosure, that is, when switching from the normal mode to the workbench mode, the most recently used small window type window will be converted into a full-screen type window, the mini window type window and the edge type window remain unchanged, and other types of windows are closed.
[0150] Among them, referring to the above example, when the display mode of the electronic device is switched from normal mode to workbench mode, if the window type is changed, it is necessary to map the fourth window into the first window based on the second window mapping mode, and the window types of the fourth window and the first window are different.
[0151] Among them, the second window mapping mode can be, for example, proportional mapping (determining the proportion closest to the fourth window, and mapping the fourth display window based on the proportion), size mapping (determining the value closest to the diagonal of the fourth window, and window mapping the fourth window based on the value), position mapping (determining the center point coordinates of the fourth display window, and window mapping the fourth window based on the value, that is, the center points of the mapped third window and the fourth window are the same), and there is no limitation on this.
[0152] S1202: When the current display mode is the first mode, the operation object is any first window, and the operation type is a drag operation, determine a second window and second window information according to at least one of an operation direction and a termination position of the drag operation.
[0153] In the embodiments of the present disclosure, see Fig.13E , Fig.13E It is a display schematic diagram of the dragging operation of a small window type window to a temporary full screen proposed in an embodiment of the present disclosure, that is, for example, when the dragging direction is to the right side of the display interface, according to the end position of the dragging, it can be determined that the second window is a larger window after the small window type windows are expanded in sequence, and the relevant window information of the expanded larger window is used as the second window information.
[0154] In the embodiments of the present disclosure, see Fig.13F , Fig.13F It is a display schematic diagram of the drag operation from a full-screen type window to a small window type window proposed in an embodiment of the present disclosure, that is, when a drag operation is received at the edge of the full-screen window, it is determined according to the end position of the drag that the second window is a smaller window obtained by shrinking the full-screen type window in sequence, and the relevant window information of the smaller window after shrinking is used as the second window information.
[0155] S1203: When the current display mode is the first mode, and the first window information indicates that the first window is a temporary full-screen window, and the operation type is a sliding operation, determine that the second window is a temporary full-screen window that displays the application bar, and the second window information is the window information of the temporary full-screen window.
[0156] In the embodiments of the present disclosure, see Figure 13G , Fig.13H , Figure 13G is a schematic diagram of display corresponding to finger sliding proposed in an embodiment of the present disclosure, Fig.13H It is a display schematic diagram corresponding to the sliding of a mouse or stylus proposed in an embodiment of the present disclosure, that is, when the current display mode is the first mode, and the first window information indicates that the first window is a temporary full-screen window, and the operation type is a sliding operation, the second window is determined to be a temporary full-screen window for displaying an application bar. For example, you can slide upward from the bottom of the display interface to display the application bar, and then you can click on any application in the application bar to display the display content corresponding to the application in the temporary full-screen window.
[0157] Among them, the temporary full-screen window that displays the application bar may have relevant window information, and the window information may specifically include, for example, the relative position of the temporary full-screen window that displays the application bar in the display interface, the window type of the temporary full-screen window that displays the application bar (wherein, the desktop display interface may be divided into different window types based on their corresponding sizes, and the window type may be, for example, a small window type, a mini window type, etc.), content information displayed by the temporary full-screen window that displays the application bar, etc., without limitation.
[0158] That is to say, in the embodiments of the present disclosure, it may be possible to determine that the second window is a temporary full-screen window that displays an application bar on the desktop, determine the window information of the temporary full-screen window that displays the application bar, and determine the window information of the temporary full-screen window that displays the application bar as the second window information.
[0159] S1204: Displaying the second window based on the second window information.
[0160] The specific description of S1204 can be found in the above embodiment, which will not be repeated here.
[0161] S1205: When the first display mode switching instruction is received, the second window is window mapped based on the first window mapping mode to obtain a third window.
[0162] The first display mode switching instruction may be used to trigger the electronic device to switch from the workbench mode to the normal mode, and then, may continue to trigger the electronic device to switch from the normal mode to the workbench mode.
[0163] In the embodiments of the present disclosure, see Fig.13I , Fig.13I This is a schematic diagram of the window conversion effect when the workbench mode is switched to the normal mode proposed in an embodiment of the present disclosure, that is, when switching from the workbench mode to the normal mode, the most recently used small window type window will be converted into a full-screen type window, the mini window type window and the edge type window remain unchanged, and other types of windows are closed.
[0164] Among them, referring to the above example, when switching the display mode, when it involves changing the window type, the window obtained after mapping the second window into the window based on the first window mapping mode is the third window, and the window types of the third window and the second window are different.
[0165] Among them, the first window mapping mode can be, for example, proportional mapping (determining the proportion closest to the second window, and mapping the second display window based on the proportion), size mapping (determining the value closest to the diagonal of the second window, and window mapping the second window based on the value), position mapping (determining the center point coordinates of the second display window, and window mapping the second window based on the value, that is, the center point of the mapped third window is the same as that of the second window), and there is no limitation on this.
[0166] S1206: Displaying a third window in the second display mode.
[0167] In an embodiment of the present disclosure, when a first display mode switching instruction is received, the second window is window mapped based on the first window mapping mode to obtain a third window, and then the third display window can be displayed in the second display mode. This ensures that when the display mode is switched and a display window is currently displayed in the display interface, the display mode can be switched without affecting the user's current task, thereby effectively improving the user experience.
[0168] In an embodiment of the present disclosure, by determining the operation object, operation type, first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device when the first operation is received, and when the operation object is any first window and the operation type is a drag operation, determining the second window and the second window information according to at least one of the operation direction and the termination position of the drag operation, when the first window information indicates that the first window is a temporary full-screen window and the operation type is a sliding operation, determining the second window as a temporary full-screen window for displaying an application bar, and the second window information is the window information of the temporary full-screen window, and displaying the second window based on the second window information, it is possible to realize the combined display and fast switching display of multiple applications in the electronic device, thereby effectively meeting the linkage use requirements of multiple applications, and when the first display mode switching instruction is received, the second window is window mapped based on the first window mapping mode to obtain a third window, and then the third window is displayed in the second display mode, so that when the display mode is switched, and when a display window is currently displayed in the display interface, it is ensured that the display mode is switched without affecting the user's current task use, thereby effectively improving the user experience.
[0169] Fig.14 is a block diagram of a control device for displaying a window according to the present disclosure, such as Fig.14 As shown, the control device 140 of the display window includes:
[0170] The first determination module 1401 is used to determine, when receiving the first operation, an operation object of the first operation, an operation type, first window information of a first window currently displayed on the display interface, and a current display mode of the electronic device;
[0171] The second determining module 1402 is used to determine the second window and the second window information to be displayed on the display interface after the first operation based on at least one of the first window information, the operation object and the operation type when the current display mode is the first mode;
[0172] The display module 1403 is used to display the second window based on the second window information.
[0173] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0174] When the operation object is any control in the status bar and the operation type is a click operation, the second window is determined to be the first target window associated with any control, and the second window information is the window information of the first target window.
[0175] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0176] In the case where any control is a desktop control, determining the first target window to be a desktop display interface in the first mode; or,
[0177] In the case where any of the controls is a recent task control, determining the first target window to be a display interface including all application identifiers that are not closed; or
[0178] In the case where any of the controls is a full application control, the first target window is determined to be a display interface including all application identifiers in the electronic device.
[0179] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0180] When the operation object is a designated area of the display interface and the operation type is a sliding operation, the second window is determined to be a second target window associated with at least one of the end position of the sliding operation, the number of sliding points included, the sliding direction and the sliding speed, and the second window information is the window information of the second target window.
[0181] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0182] When the operation object is empty and the operation type is a shortcut key character, the second window is determined to be a third target window associated with the shortcut key character, and the second window information is the window information of the third target window.
[0183] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0184] When the operation object is any application and the operation type is a long press operation, determining that the second window is a shortcut key selection window, and the second window information is window information of the shortcut key selection window; or,
[0185] When the operation object is any application and the operation type is a drag operation, it is determined that the second window is a desktop display interface, and the second window information is window information of the desktop display interface.
[0186] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0187] When the first window information includes display information of at least one first-type window, and the operation object is any application identifier or any folder in the desktop display interface, and the operation type is a click operation, the second window is determined to be the interface of the display window including the operation object, and the second window information is the window information of the interface of the display window including the operation object, wherein the second window corresponding to the at least one first-type window after the first operation is a second-type window, and the window size of the second-type window is smaller than the window size of the first-type window.
[0188] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0189] When the operation object is any first window and the operation type is a drag operation, the second window and the second window information are determined according to at least one of an operation direction and a termination position of the drag operation.
[0190] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0191] When the first window information indicates that the first window is a temporary full-screen window and the operation type is a sliding operation, the second window is determined to be a temporary full-screen window displaying an application bar, and the second window information is window information of the temporary full-screen window.
[0192] In some embodiments of the present disclosure, the display module 1403 is further configured to:
[0193] After the second window is displayed, upon receiving the first display mode switching instruction, the second window is window mapped based on the first window mapping mode to obtain a third window;
[0194] In the second display mode, a third window is displayed.
[0195] In some embodiments of the present disclosure, the first determining module 1401 is further configured to:
[0196] Before receiving the first operation, receiving a second display mode switching instruction, wherein the second display mode switching instruction is used to instruct to switch the display mode of the electronic device from the second display mode to the first display mode;
[0197] Based on the second window mapping mode, the fourth window in the display interface is window mapped to obtain the first window.
[0198] In some embodiments of the present disclosure, the second determining module 1402 is further configured to:
[0199] When the current display mode is the first mode, based on the first window information, the operation object and at least one of the operation type, the display interface determines that before the second window and the second window information to be displayed after the first operation, when it is monitored that the first mode control is selected, the current display mode is determined to be the first mode.
[0200] In some embodiments of the present disclosure, the display interface corresponding to the first mode includes:
[0201] Status bar display layer, first window display layer and desktop display layer.
[0202] In the embodiment of the present disclosure, by determining the operation object of the first operation, the operation type, the first window information of the first window currently displayed on the display interface, and the current display mode of the electronic device when a first operation is received, and when the current display mode is the first mode, determining the second window to be displayed on the display interface after the first operation and the second window information based on at least one of the first window information, the operation object, and the operation type, and displaying the second window based on the second window information, it is possible to achieve combined display and fast switching display of multiple applications in the electronic device, thereby effectively meeting the needs of linked use of multiple applications.
[0203] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a computer-readable storage medium, and a computer program product.
[0204] Fig.15 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown.
[0205] Fig.15 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0206] like Fig.15 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that connects various system components (including the memory 28 and the processing unit 16).
[0207] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.
[0208] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0209] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig.15 Not shown, often called a "hard drive").
[0210] although Fig.15 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (hereinafter referred to as: CD-ROM), a digital versatile disc read only memory (hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0211] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.
[0212] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable the human body to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 through a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0213] The processing unit 16 executes various functional applications and parameter information determination by running the program stored in the memory 28, such as implementing the control method of the service display window mentioned in the above embodiment, or implementing the service data acquisition method mentioned in the above embodiment.
[0214] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.
[0215] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0216] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0217] A person of ordinary skill in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0218] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0219] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0220] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0221] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.
Claims
1. A method for controlling a display window, characterized in that: include: When receiving the first operation, determining an operation object of the first operation, an operation type, first window information of a first window currently displayed on the display interface, and a current display mode of the electronic device; When the current display mode is the first mode, determining a second window and second window information to be displayed on the display interface after the first operation based on at least one of the first window information, the operation object and the operation type; Based on the second window information, the second window is displayed.
2. The method according to claim 1, characterized in that The determining, based on at least one of the first window information, the operation object, and the operation type, a second window and second window information to be displayed on the display interface after the first operation, includes: When the operation object is any control in the status bar and the operation type is a click operation, the second window is determined to be the first target window associated with the any control, and the second window information is the window information of the first target window.
3. The method according to claim 2, characterized in that The method further comprises: In the case where any of the controls is a desktop control, determining that the first target window is a desktop display interface in a first mode; or, In the case where any of the controls is a recent task control, determining the first target window to be a display interface including all application identifiers that are not closed; or In the case that any one of the controls is a full application control, the first target window is determined to be a display interface including all application identifiers in the electronic device.
4. The method according to claim 1, characterized in that The determining, based on at least one of the first window information, the operation object, and the operation type, a second window and second window information to be displayed on the display interface after the first operation, includes: When the operation object is a designated area of a display interface and the operation type is a sliding operation, the second window is determined to be a second target window associated with at least one of the end position, the number of sliding points included, the sliding direction and the sliding speed of the sliding operation, and the second window information is the window information of the second target window.
5. The method according to claim 1, characterized in that The determining, based on at least one of the first window information, the operation object, and the operation type, a second window and second window information to be displayed on the display interface after the first operation, includes: When the operation object is empty and the operation type is a shortcut key character, it is determined that the second window is a third target window associated with the shortcut key character, and the second window information is window information of the third target window.
6. The method according to claim 1, characterized in that The determining, based on at least one of the first window information, the operation object, and the operation type, a second window and second window information to be displayed on the display interface after the first operation, includes: When the operation object is any application and the operation type is a long press operation, determining that the second window is a shortcut key selection window, and the second window information is window information of the shortcut key selection window; or, When the operation object is any application and the operation type is a drag operation, it is determined that the second window is a desktop display interface, and the second window information is window information of the desktop display interface.
7. The method according to claim 1, characterized in that The determining, based on at least one of the first window information, the operation object, and the operation type, a second window and second window information to be displayed on the display interface after the first operation, includes: When the first window information includes display information of at least one first type window, and the operation object is any application identifier or any folder in the desktop display interface, and the operation type is a click operation, the second window is determined to be the interface of the display window including the operation object, and the second window information is the window information of the interface of the display window including the operation object, wherein the second window corresponding to the at least one first type window after the first operation is a second type window, and the window size of the second type window is smaller than the window size of the first type window.
8. The method according to claim 1, characterized in that The determining, based on at least one of the first window information, the operation object, and the operation type, a second window and second window information to be displayed on the display interface after the first operation, includes: When the operation object is any first window and the operation type is a drag operation, the second window and the second window information are determined according to at least one of an operation direction and a termination position of the drag operation.
9. The method according to claim 1, characterized in that The determining, based on at least one of the first window information, the operation object, and the operation type, a second window and second window information to be displayed on the display interface after the first operation, includes: When the first window information indicates that the first window is a temporary full-screen window and the operation type is a sliding operation, it is determined that the second window is a temporary full-screen window that displays an application bar, and the second window information is window information of the temporary full-screen window.
10. The method according to any one of claims 1 to 9, characterized in that: After displaying the second window, the method further includes: When receiving the first display mode switching instruction, based on the first window mapping mode, performing window mapping on the second window to obtain a third window; In the second display mode, the third window is displayed.
11. The method according to any one of claims 1 to 9, characterized in that: Before receiving the first operation, the method further includes: Receiving a second display mode switching instruction, wherein the second display mode switching instruction is used to instruct to switch the display mode of the electronic device from the second display mode to the first display mode; Based on the second window mapping mode, a fourth window in the display interface is window mapped to obtain the first window.
12. The method according to any one of claims 1 to 9, characterized in that: In the case where the current display mode is the first mode, before determining the second window and second window information to be displayed on the display interface after the first operation based on at least one of the first window information, the operation object, and the operation type, the method further includes: In the case where it is detected that the first mode control is selected, the current display mode is determined to be the first mode.
13. The method according to any one of claims 1 to 9, characterized in that: The display interface corresponding to the first mode includes: Status bar display layer, first window display layer and desktop display layer.
14. A control device for a display window, characterized in that: The device comprises: A first determination module is used to determine, when receiving a first operation, an operation object of the first operation, an operation type, first window information of a first window currently displayed on the display interface, and a current display mode of the electronic device; A second determining module is used to determine, when the current display mode is the first mode, a second window and second window information to be displayed on the display interface after the first operation based on at least one of the first window information, the operation object and the operation type; The display module is used to display the second window based on the second window information.
15. The device according to claim 14, characterized in that The second determining module is further used for: When the operation object is any control in the status bar and the operation type is a click operation, the second window is determined to be the first target window associated with the any control, and the second window information is the window information of the first target window.
16. The device according to claim 15, characterized in that The second determining module is further used for: In the case where any of the controls is a desktop control, determining that the first target window is a desktop display interface in a first mode; or, In the case where any of the controls is a recent task control, determining the first target window to be a display interface including all application identifiers that are not closed; or In the case that any one of the controls is a full application control, the first target window is determined to be a display interface including all application identifiers in the electronic device.
17. The device according to claim 16, characterized in that The second determining module is further used for: When the operation object is a designated area of a display interface and the operation type is a sliding operation, the second window is determined to be a second target window associated with at least one of the end position, the number of sliding points included, the sliding direction and the sliding speed of the sliding operation, and the second window information is the window information of the second target window.
18. The device according to claim 17, characterized in that The second determining module is further used for: When the operation object is empty and the operation type is a shortcut key character, it is determined that the second window is a third target window associated with the shortcut key character, and the second window information is window information of the third target window.
19. The device according to claim 18, characterized in that The second determining module is further used for: When the operation object is any application and the operation type is a long press operation, determining that the second window is a shortcut key selection window, and the second window information is window information of the shortcut key selection window; or, When the operation object is any application and the operation type is a drag operation, it is determined that the second window is a desktop display interface, and the second window information is window information of the desktop display interface.
20. The device according to claim 19, characterized in that The second determining module is further used for: When the first window information includes display information of at least one first type window, and the operation object is any application identifier or any folder in the desktop display interface, and the operation type is a click operation, the second window is determined to be the interface of the display window including the operation object, and the second window information is the window information of the interface of the display window including the operation object, wherein the second window corresponding to the at least one first type window after the first operation is a second type window, and the window size of the second type window is smaller than the window size of the first type window.
21. The device according to claim 20, characterized in that The second determining module is further used for: When the operation object is any first window and the operation type is a drag operation, the second window and the second window information are determined according to at least one of an operation direction and a termination position of the drag operation.
22. The device according to claim 21, characterized in that The second determining module is further used for: When the first window information indicates that the first window is a temporary full-screen window and the operation type is a sliding operation, it is determined that the second window is a temporary full-screen window that displays an application bar, and the second window information is window information of the temporary full-screen window.
23. The device according to any one of claims 14 to 22, characterized in that: The display module is also used for: After displaying the second window, upon receiving a first display mode switching instruction, performing window mapping on the second window based on the first window mapping mode to obtain a third window; In the second display mode, the third window is displayed.
24. The device according to any one of claims 14 to 22, characterized in that: The first determination module is further used for: Before receiving the first operation, receiving a second display mode switching instruction, wherein the second display mode switching instruction is used to instruct to switch the display mode of the electronic device from the second display mode to the first display mode; Based on the second window mapping mode, a fourth window in the display interface is window mapped to obtain the first window.
25. The device according to any one of claims 14 to 22, characterized in that The second determination module is further used for: In the case where the current display mode is the first mode, based on the first window information, the operation object and at least one of the operation type, the display interface is determined to be the first mode before the second window and second window information to be displayed after the first operation, and when it is monitored that the first mode control is selected.
26. The device according to any one of claims 14 to 22, characterized in that The display interface corresponding to the first mode includes: Status bar display layer, first window display layer and desktop display layer.
27. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 13.
28. A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 13.