Window display method and electronic equipment

The window display method simplifies the process of minimizing and restoring split-screen windows in electronic devices through quick gestures and thumbnail previews, improving user experience by reducing operational complexity.

CN119127052APending Publication Date: 2024-12-13HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310701421.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Current electronic devices require complex operations when switching applications between different display states, leading to a poor user experience.

Method used

A window display method that allows users to minimize a split-screen window in one step with a quick gesture operation and restore it to a split-screen state through a split-screen thumbnail preview, enabling seamless transitions without multiple operations.

Benefits of technology

Saves user time and enhances the user experience by simplifying the process of minimizing and restoring split-screen windows, allowing quick and efficient switching between display states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127052A_ABST
    Figure CN119127052A_ABST
Patent Text Reader

Abstract

The invention discloses a window display method and electronic equipment, and relates to the technical field of electronic equipment. A user can complete display of the application window from the split-screen state to the minimized state in one step through a quick gesture operation, and when the user needs to use the window displayed in the minimized state again, the split-screen state before the window is minimized can be quickly recovered by simply operating the split-screen state thumbnail before the window is minimized. In the scheme, after the electronic equipment displays the first window and the second window in the first split screen state, the second window can be displayed in the minimized state in response to the first operation. When the display before the second window needs to be restored, the electronic equipment can respond to the second operation to display a second interface, and the second interface comprises a split-screen thumbnail of the second window in the first split-screen state before the second window is minimized; and in response to a third operation acting on the split-screen thumbnail, restoring the second window to the first split-screen state in the split-screen thumbnail for display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic devices, and in particular to a window display method and an electronic device. Background Art

[0002] With the continuous development of electronic devices, various applications (applications, APPs) can be installed in electronic devices to meet people's daily life and work needs, such as instant messaging applications, web browsing applications, music player applications, etc. And as the screens of electronic devices continue to increase, the display states that applications on electronic devices can support are gradually diversified, such as full screen state, floating window state, minimized state (such as minimized to a floating icon), etc., to provide users with richer information and bring users a better user experience. However, when the current application switches back and forth between some display states, the user still needs to perform relatively complex operations to complete, which leads to poor user experience. Summary of the invention

[0003] The present application provides a window display method and an electronic device, wherein a user can minimize a split-screen window in one step by only one quick gesture operation. When the user needs to restore the split-screen display before the window is minimized, the user can also preview the split-screen thumbnail before minimization through a simple operation, and quickly restore the split-screen window display before minimization based on the split-screen thumbnail.

[0004] In order to achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0005] In a first aspect, a window display method is provided, which is applied to an electronic device, and the method includes: displaying a first interface, the first interface including a first window and a second window displayed in a first split-screen state, the first window running a first application, and the second window running a second application; in response to a first operation, displaying the second window in a minimized state, wherein the first window is displayed in a preset state; in response to a second operation, displaying a second interface, the second interface including a first picture corresponding to the second window, the first picture being a split-screen thumbnail of the second window in the first split-screen state before minimization; in response to a third operation acting on the first picture, restoring the second window to the first split-screen state in the first picture, wherein the first window is displayed on one side of the second window.

[0006] In the solution provided by the first aspect above, when the electronic device displays the first window and the second window in a split screen, if the user needs to minimize the second window displayed in a split screen state, the user can perform a first operation to directly trigger the electronic device to switch the second window from a split screen state to a minimized state, and correspondingly display the first window in a preset state. At this time, the second window in the minimized state does not affect the first application that the user runs using the first window. And the user can perform a second operation at any time to trigger the electronic device to prompt the user of the split screen state before the second window is minimized in the form of a thumbnail. In this way, after the user previews the split screen state before the second window is minimized, if the user wants to use the second application running in the second window again, the user can perform a third operation on the thumbnail to directly trigger the electronic device to restore the split screen state before the second window is minimized, and correspondingly display the first window side by side on one side of the second window to restore the split screen display of the second window and the first window. In this way, the user does not need to perform too many operations to achieve the minimization of the split screen window and the restoration of the split screen window before minimization, saving user time and improving user experience.

[0007] Optionally, the first window is displayed in a preset state, including: increasing the size of the first window to display in full screen state. Correspondingly, the first window is displayed on one side of the second window, including: reducing the size of the first window to display on one side of the second window. In this way, when the user wants to exit the split-screen state of a split-screen window that is not temporarily used in the split-screen interface, the user can minimize the split-screen window through a quick gesture operation, and other split-screen windows that are not minimized in the split-screen interface can be expanded to fill the entire screen, so that the user can concentrate on using applications displayed in other split-screen windows. Correspondingly, when the user quickly restores the split-screen state display of the split-screen window through the split-screen thumbnail displayed in the aforementioned preview, the other split-screen windows that are not minimized in the aforementioned split-screen interface will be retracted to one side of the split-screen window for display, so as to restore the split-screen display of other split-screen windows that are not minimized and the split-screen window.

[0008] Optionally, before the second window is restored to the first split-screen state in the first picture, wherein the first window is displayed on one side of the second window, the foreground still displays the first window in full screen state. Accordingly, when the foreground has updated the third window displayed in full screen state, the window display method provided by the present solution may further include: in response to a third operation, restoring the second window to the first split-screen state in the first picture, wherein the third window is displayed on one side of the second window, and the third window runs a third application.

[0009] In this way, when the user expands the other split-screen windows except the minimized split-screen window to full screen in the aforementioned manner, if the other split-screen windows have been displayed in full screen in the foreground, then when the user quickly restores the split-screen state display of the split-screen window through the split-screen thumbnail displayed in the aforementioned preview, the electronic device can retract the other split-screen windows displayed in full screen in the foreground to one side of the split-screen window for display, which is equivalent to restoring the split-screen display of the other split-screen windows and the split-screen window. Conversely, if the window displayed in full screen in the foreground has changed, such as being updated to a third window displayed in full screen, then when the user quickly restores the split-screen state display of the split-screen window through the split-screen thumbnail displayed in the aforementioned preview, the electronic device retracts the third window displayed in full screen in the foreground to one side of the split-screen window for display, which is equivalent to restoring the split-screen display of the third window and the split-screen window.

[0010] Optionally, the first window is displayed in a preset state, including: the first window is still displayed in the first split-screen state, and the desktop is displayed on one side of the first window. Correspondingly, the first window is displayed on one side of the second window, including: the first window is still displayed on one side of the second window in the first split-screen state, and the desktop is switched to the second window.

[0011] In this way, when the user wants to exit the split-screen state of a split-screen window that is not in use temporarily, the user can minimize the split-screen window through a quick gesture operation, and the size of other split-screen windows that have not been minimized in the split-screen interface remains unchanged, and the original split-screen state is maintained, and the desktop is displayed in the display area originally occupied by the minimized split-screen window. Correspondingly, when the user quickly restores the split-screen state display of the split-screen window through the split-screen thumbnail displayed in the preview, the originally displayed desktop is covered by the restored split-screen window, and other split-screen windows that have not been minimized in the split-screen interface still maintain their original split-screen states. At this time, it is equivalent to restoring the split-screen display of other split-screen windows that have not been minimized before and the split-screen window.

[0012] Optionally, before the second window is restored to the first split-screen state in the first picture, the first window is still displayed on one side of the second window, and the desktop is still displayed on one side of the first window. Accordingly, when one side of the first window has been updated to be displayed as a third window, the window display method provided by this solution may also include: in response to a third operation, restoring the second window to the first split-screen state in the first picture, the first window is still displayed on one side of the second window in the first split-screen state, the third window is switched to the second window, and the third window runs a third application.

[0013] In this way, when the user uses the aforementioned method to keep the other split-screen windows except the minimized split-screen window in their original split-screen state, and the desktop is displayed in the display area originally occupied by the minimized split-screen window, if the display area has always displayed the desktop, then at this time, when the user quickly restores the split-screen state display of the split-screen window through the aforementioned preview displayed split-screen thumbnail, the restored split-screen window will cover the revealed desktop, and the other split-screen windows will still maintain their original split-screen state. Correspondingly, if the content in the display area has changed, such as being updated to display as a third window, then at this time, when the user quickly restores the split-screen state display of the split-screen window through the aforementioned preview displayed split-screen thumbnail of the split-screen window, the restored split-screen window will also cover the third window. That is, no matter what content is displayed in the display area originally occupied by the minimized split-screen window, it will be covered when the split-screen window is restored.

[0014] Optionally, the revealed desktop includes multiple application icons, the multiple application icons include an icon of a third application, and one side of the first window is updated and displayed as the third window, including: in response to a fourth operation acting on the icon of the third application, the first window is still displayed in the first split-screen state on one side of the second window, and one side of the first window is updated by the desktop and displayed as the third window.

[0015] In this way, the electronic device displays the desktop in the display area originally occupied by the minimized split-screen window in the above manner, so that the user can select a new split-screen application on the desktop. For example, if a third application is selected, the display area can be switched from displaying the desktop to displaying a third window running the third application, thereby realizing a split-screen display of the aforementioned non-minimized split-screen window and the third window. In this way, when the user wants to replace a split-screen window that is not temporarily used in the split-screen interface, the split-screen window can also be minimized and the desktop can be displayed in the above manner, so that the user can select a replacement split-screen application, thereby realizing a new split-screen display of the replaced split-screen application and other non-minimized split-screen windows.

[0016] Of course, the user can also quickly restore the split-screen status display of the minimized split-screen window at any time through the split-screen thumbnail displayed in the aforementioned preview. It can be understood that although the third window is currently displayed in the display area originally occupied by the minimized split-screen window, when the minimized split-screen window is restored, the third window will still be covered by the restored second window, which is equivalent to restoring the split-screen display of other split-screen windows that were not minimized before and the split-screen window.

[0017] Optionally, the above-mentioned revealed desktop includes multiple application icons, which include an icon of a third application. After the desktop is displayed on one side of the first window, the window display method provided by the present scheme may also include: in response to a fourth operation acting on the icon of the third application, displaying a third interface, the third interface including a first window, a second window and a third window displayed in a second split-screen state, wherein the third window runs a third application.

[0018] In this way, when the electronic device displays the desktop in the display area originally occupied by the minimized split-screen window in the above manner, if the user selects a new split-screen application on the above desktop, such as choosing to use a third application, the electronic device can also be directly triggered to enter the multi-split-screen display of the first window, the second window and the third window. In other words, after the user selects a new split-screen application on the above desktop, it can not only trigger the electronic device to display the user's newly selected application in split-screen with other split-screen windows that have not been minimized, but also restore the split-screen state of the minimized split-screen window, thereby realizing the rapid addition of a split-screen window to the original split-screen window, such as the two split-screens here quickly entering the three split-screens. In addition, it is also equivalent to providing another method for quickly restoring the minimized split-screen window, that is, the user quickly triggers the restoration of the minimized split-screen window by clicking a new application on the revealed desktop.

[0019] Optionally, the first window is displayed in a preset state, and may also include: reducing the size of the first window to a specified size, and adsorbing it to the edge of the screen of the electronic device, while displaying the desktop in full screen. The first window is reduced to a specified size, and the horizontal width of the first window is reduced to 1 / 2, 1 / 3, 1 / 4 of the horizontal width, or the vertical height of the first window is reduced to 1 / 2, 1 / 3, 1 / 4 of the vertical height, etc., or the horizontal width of the first window is reduced to 1 / 16, 1 / 8, 1 / 4 of the screen width, or the vertical height of the first window is reduced to 1 / 16, 1 / 8, 1 / 4 of the screen height, which is not limited here.

[0020] Correspondingly, the first window is displayed on one side of the second window, including: increasing the size of the first window to display on one side of the second window.

[0021] In this way, when the user wants to exit the split-screen state of a split-screen window that is not in use temporarily, the user can minimize the split-screen window through a quick gesture operation, and other split-screen windows that have not been minimized in the split-screen interface are shrunk to the edge of the screen to display only a portion, and the entire screen display area begins to show the desktop. Correspondingly, when the user quickly restores the split-screen state display of the split-screen window through the aforementioned preview displayed split-screen thumbnail, the originally displayed desktop is covered by the restored split-screen window, and other split-screen windows that have not been minimized in the aforementioned split-screen interface are also synchronously expanded and displayed in the restored split-screen window once, which is equivalent to restoring the split-screen display of other split-screen windows that were not minimized before and the split-screen window.

[0022] Optionally, before the second window is restored to the first split-screen state in the first picture, the foreground still displays the desktop before the first window is displayed on one side of the second window. Accordingly, when the foreground has been updated to display the third window, the window display method provided by this solution may also include: in response to the third operation, restoring the second window to the first split-screen state in the first picture, wherein the first window is still displayed on one side of the second window in the first split-screen state, and the third window is covered by the second window and the first window.

[0023] Optionally, the revealed desktop includes a plurality of application icons, the plurality of application icons include an icon of a third application, and the foreground is updated and displayed as a third window, including: in response to a fourth operation on the icon of the third application, the third window is displayed in full screen, and the third window runs the third application. The first window reduced to the specified size is still adsorbed on the edge of the screen and is displayed floating on the third window.

[0024] Similarly, optionally, after the desktop is displayed in full screen, the window display method provided by the present solution may also include: in response to a fourth operation acting on the icon of the third application, displaying a third interface, the third interface including a first window, a second window and a third window displayed in a second split-screen state, wherein the third window runs a third application. In this way, when the electronic device displays the desktop in full screen in the above manner, if the user selects a new split-screen application on the above desktop, such as choosing to use the third application, the electronic device can also be directly triggered to enter a multi-split-screen display of the first window, the second window and the third window. In other words, after the user selects a new split-screen application on the above desktop, not only can the split-screen state of the minimized split-screen window be restored, but the first window reduced to a specified size can also be expanded and displayed, and the electronic device is triggered to display the newly selected application of the user in split screen with it, so as to realize the rapid addition of a split-screen window to the original split-screen window, for example, the two split-screens here quickly enter the three split-screens.

[0025] Optionally, before displaying the second window in a minimized state, the method further includes: in response to the first operation, obtaining the window display state of the second window and the application interface of the second application displayed in the second window; generating a first picture corresponding to the second window according to the window display state and the application interface of the second application. That is to say, in this scheme, before minimizing the split-screen window, the electronic device not only records the minimized window content, such as the application interface displayed in the window, but also records the window display state of the minimized split-screen window, such as two split screens, three split screens, or other multi-split screens, horizontal split screens (such as left and right split screens), vertical split screens (such as top and bottom split screens), etc. Generate a thumbnail corresponding to the minimized split-screen window according to the recorded window content and window display state, so that the user can understand the display state of the minimized split-screen window before the thumbnail. In addition, the thumbnail can also reflect that the electronic device does not close the split-screen window, but retreats the split-screen window to the background in a split-screen state, and the user can return it to the foreground at any time and still run it in a split-screen state.

[0026] Optionally, the window display state of the second window obtained above may also include the window position corresponding to when the second window is displayed in a split-screen state, such as the split-screen state of the second window before minimization is specifically a left-right split-screen state and is located on the right split-screen. Correspondingly, the generated thumbnail can also correspond to the information that the second window is located on the right split-screen. In this way, after the user operates the thumbnail, the electronic device can not only restore the split-screen state display of the second window, but also restore the second window to the position of the right split-screen. The consistency of the split-screen window before minimization and after minimization is guaranteed, and the accuracy of split-screen window recovery is improved.

[0027] Optionally, the above-mentioned displaying the second window in a minimized state includes: hiding the second window and displaying a first identifier, the first identifier being used to identify the minimized second window. In this way, after the user minimizes the split-screen window, the application in the split-screen window retreats to the background, the application interface of the application is hidden and not displayed, and only an identifier corresponding to the minimized split-screen window is displayed on the screen, such as a relatively small graphic, control, card, etc. Since the identifier only occupies a small part of the display space of the electronic device screen, it does not affect the user's normal browsing and use of the displayed content on the screen.

[0028] Optionally, the above-mentioned display of the first identifier includes: floating display of a floating ball corresponding to the second window; or floating display of a floating bar corresponding to the second window, and adsorbed on the edge of the screen of the electronic device; or floating display of a floating narrow edge corresponding to the second window, and adsorbed on the edge of the screen of the electronic device; or adding an icon of the second application running in the second window to the shortcut window bar. That is, the electronic device can support any form of minimization identification, such as a floating ball, a floating bar, a floating narrow edge, or a newly added application icon in a shortcut window bar (such as a sidebar or a dock bar). This solution is not limited to this.

[0029] Optionally, in the above scenario where the second window is hidden and the first identifier is displayed, the second operation for triggering the electronic device to display the second interface can be a touch operation acting on the first identifier. The touch operation can be operations such as clicking, long pressing, sliding into the screen, etc., which are not limited in this solution. In this way, the user can trigger the electronic device to display the second interface by operating the identifier corresponding to the minimized split-screen window displayed on the screen to prompt the user of the split-screen state before the split-screen window was minimized.

[0030] Optionally, a second identifier is also displayed in the first interface, and the second identifier is used to identify other windows that are minimized, wherein the second identifier contains at least a single identifier or multiple stacked identifiers; after hiding the second window and displaying the first identifier, the window display method provided by the present solution may also include: stacking the first identifier and the second identifier to generate a third identifier containing the first identifier and the second identifier. In this way, when the electronic device detects that a new minimized identifier is added to the screen, it stacks the newly added minimized identifier with the minimized identifier that originally existed on the screen to form a new minimized identifier that is displayed on the display screen, instead of displaying the newly added minimized identifier on the screen, thereby reducing the number of minimized identifiers displayed on the screen, and further reducing the space occupied by multiple minimized identifiers on the screen.

[0031] Optionally, in a scenario where a third identifier formed by multiple stacked identifiers is displayed on the screen, the second operation for triggering the electronic device to display the second interface can be a touch operation acting on the third identifier, and at this time the second interface can include a first picture corresponding to the second window and other pictures corresponding to other windows, the other pictures being status thumbnails of the other windows in the window display state before minimization, so that the user can preview the display state of the windows corresponding to the multiple stacked identifiers before being minimized.

[0032] Optionally, displaying the second window in a minimized state includes: hiding the second window, and before hiding the second window, gradually reducing the size of the second window until the second window is hidden. In this way, after the user minimizes the split-screen window, the application in the split-screen window retreats to the background, the application interface of the application is hidden and not displayed, and any graphics, controls, cards, etc. that may refer to the minimized split-screen window are not displayed on the screen, allowing the user to browse and use other content displayed on the screen in full screen.

[0033] Optionally, in a scenario where no graphics, controls, or cards related to minimization are displayed on the screen, the second operation for triggering the electronic device to display the second interface may be an operation of sliding from the edge of the screen of the electronic device toward the center of the screen of the electronic device. In this way, even if the screen does not display a minimize icon for the user to operate, the user can quickly trigger the electronic device to display the second interface by sliding inward from the edge of the screen, so that the user can preview the split-screen state of the minimized split-screen window before minimization.

[0034] Similarly, if the user has previously minimized other windows, when the user triggers the electronic device to display the second interface by swiping inward from the edge of the screen, the second interface will also expand the status thumbnails of other windows in the window display state before minimization, so that the user can preview the newly minimized window and the display state of the original minimized window before minimization.

[0035] Optionally, the third operation on the first picture may be operations such as clicking, long pressing, and sliding the first icon into the screen to trigger the electronic device to expand and display the minimized second window corresponding to the first picture, and the effect of the expanded display is consistent with the split-screen state shown in the first picture.

[0036] Optionally, in the scenario where the second interface also includes other pictures corresponding to other minimized windows, and the other pictures are thumbnails of the state of the other windows in the window display state before minimization, if the user wants to restore the display state of the other windows before minimization, the user can also click, long press, slide the thumbnails of the other windows into the screen, and so on. That is, the window display method provided by the present scheme may also include: in response to the fifth operation acting on the other pictures, restoring the other windows to the window display state in the other pictures. In this way, the electronic device can expand and display the corresponding window according to the window thumbnail that the user wants to restore in the second interface, and the effect of the expanded display is consistent with the window display state shown in the thumbnail.

[0037] Optionally, the second interface is a multitasking management interface, and the second operation for triggering the electronic device to display the second interface can be various operations for triggering the display of the multitasking management interface, such as sliding upward from the bottom of the screen or long pressing the bottom area of ​​the screen. Among them, the multitasking management interface can be used to display recently run applications, such as the first application currently running in the foreground. In this way, when the user wants to restore the minimized window to its state before minimization, the user can enter the multitasking management interface by operating the electronic device, preview and select the window thumbnail to be restored, so as to trigger the electronic device to expand it to the state before minimization. Optionally, in the scenario where the minimized window thumbnail is displayed through multitasking management, no minimize icon may be displayed on the screen when the window is minimized.

[0038] Optionally, the second window includes a first control for moving the second window. The display form of the first control can be as follows: Figure 5 The bar control - drag bar 504 shown in (a) in the figure may also have other possible forms, which may be located at the bottom, top or middle of the split-screen window. This solution does not limit the display properties of the first control (such as position, size, style, etc.). The above-mentioned first operation for triggering the minimization of the second window may be a first sliding operation acting on the first control. In this way, when the user wants to minimize the split-screen window, he only needs to perform a sliding operation on the first control, which greatly improves the interaction efficiency of the split-screen window minimization process.

[0039] Optionally, in the scenario where the first operation is a first sliding operation acting on the first control, the above-mentioned displaying the second window in a minimized state in response to the first operation includes: in response to the first sliding operation, moving the second window following the sliding track of the first sliding operation; during the movement of the second window, if the second window meets the first preset condition, displaying the second window in a minimized state. In this way, when the user wants to minimize the split-screen window, the user can slide the first control to drive the split-screen window where the first control is located to slide together until the sliding second window meets the first preset condition, so that the electronic device can respond and minimize the second window.

[0040] Optionally, during the movement of the second window, the second window satisfies a first preset condition, which may be that the distance between the first control in the second window and the edge of the screen of the electronic device is less than or equal to a preset distance. In one example, the preset distance is greater than 0 or equal to 0, and the preset distance is less than or equal to 1 / 8 of the screen width. In another example, the preset distance is greater than 0 or equal to 0, and the preset distance is less than or equal to 1 / 16 of the screen width. In this way, when the user wants to minimize the split-screen window, the user can slide the split-screen window to the edge of the screen, which can trigger the split-screen window to switch from a split-screen state to a minimized state.

[0041] Optionally, during the movement of the second window, the second window satisfies the first preset condition, and the lateral movement distance of the second window may be greater than or equal to 1 / 2 of the lateral width of the second window, or greater than or equal to 1 / 3 of the lateral width of the second window, and the longitudinal movement distance of the second window may be greater than or equal to 1 / 2 of the longitudinal height of the second window, or greater than or equal to 1 / 3 of the longitudinal height of the second window. This solution does not limit the first preset condition satisfied by the second window.

[0042] Optionally, when the electronic device moves the second window following the sliding track of the first sliding operation, the size of the second window may be gradually reduced during the movement of the second window, so that when the user drags the second window to the edge of the screen, the user can be naturally and smoothly given the visual effect that the window is about to be minimized, thereby avoiding the abrupt feeling of instantaneous minimization of the window. In this case, during the movement of the second window, the second window satisfies the first preset condition, or the size of the second window may be less than or equal to the preset size. In this way, when the user wants to minimize the split-screen window, the user can slide the window to a certain distance so that the window is reduced to a preset size or smaller than the preset size, thereby triggering the window to be switched from a split-screen state to a minimized state.

[0043] Optionally, when the window slides to a certain distance and stops, if the reduced size of the window is still larger than the preset size and minimization cannot be triggered, the electronic device can bounce the window and restore the original split-screen state display, or the electronic device can display the split-screen window as a floating window.

[0044] Optionally, the first sliding operation is a downward sliding operation. That is, the user performs a sliding operation on the first control to trigger the minimization of the second window. The first sliding operation may also be an operation of sliding toward the side of the screen of the electronic device. That is, the user performs a sideways sliding operation on the first control to trigger the minimization of the second window. In combination with the above possible implementations, the second window may also move downward following the sliding operation, or move sideways according to the sideways sliding operation, and the size of the second window may also be gradually reduced during the downward or sideways movement.

[0045] Optionally, the first sliding operation may be a dragging operation, that is, sliding from one position to another position, and when the user's finger stops sliding, the window also stops sliding synchronously. At this time, the end position of the first sliding operation is less than or equal to a preset distance from the edge of the screen of the electronic device, so that the first control in the second window that follows the first sliding operation can also be synchronously moved to a position less than or equal to a preset distance from the edge of the screen of the electronic device. In this way, the user triggers minimization of the second window by dragging the first control to the edge of the screen.

[0046] Optionally, the first sliding operation may be a short-distance quick sliding operation. During the movement of the second window, if the second window meets the first preset condition, the second window is displayed in a minimized state, including: in response to the first lifting operation after the first sliding operation, the second window continues to be moved along the sliding direction of the first sliding operation; during the continued movement of the second window, if the distance between the first control and the screen edge of the electronic device is less than or equal to the preset distance, the second window is displayed in a minimized state. In this way, the user can trigger the minimization of the second window by performing a quick sliding operation on the first control, without the user dragging the second window to the edge of the screen. And when the user's finger ends sliding, that is, the finger leaves the screen, based on the inertia of the quick sliding, the window will continue to slide for a distance.

[0047] Optionally, the electronic device may determine whether the first sliding operation is a fast sliding operation by determining whether the sliding speed of the first sliding operation is greater than or equal to a preset speed, or whether the sliding acceleration is greater than or equal to a preset acceleration. If it is determined to be a fast sliding operation, the electronic device may continue to move the second window along the sliding direction of the first sliding operation after detecting the first lifting operation.

[0048] Optionally, the first interface includes a second control for separating the first window and the second window. The display form of the first control can be as follows: Figure 3 In the example shown in (c), a separator bar 306 with a small button 307 in the middle can also be shown as Figure 5 In (a), there is a separator bar 503 with three small dots in the middle. This solution does not limit the display properties of the second control. The above-mentioned first operation for triggering the minimization of the second window can be a second sliding operation acting on the second control, wherein the second sliding operation is a sliding operation in the direction of the second window. In this way, when the user wants to minimize the split-screen window, he only needs to perform a sliding operation on the second control in the direction of the split-screen window, which greatly improves the interaction efficiency of the split-screen window minimization process.

[0049] Optionally, in the scenario where the first operation is a second sliding operation acting on the second control, the above-mentioned displaying the second window in a minimized state in response to the first operation includes: in response to the second sliding operation, moving the second control to the side of the second window, wherein the size of the second window is reduced and the size of the first window is increased; during the movement of the second control, if the second control meets the second preset condition, the second window is displayed in a minimized state. In this way, when the user wants to minimize the split-screen window, the user can slide the second control so that the horizontal size or the vertical size of the split-screen window is squeezed until the second control meets the second preset condition, so that the electronic device can respond and minimize the squeezed split-screen window.

[0050] Optionally, during the movement of the second control, the second control satisfies a second preset condition, which may be that the distance between the second control and the edge of the screen of the electronic device is less than or equal to a preset distance. Thus, when the user wants to minimize the split-screen window, the user can slide the second control to the edge of the screen to trigger the squeezed split-screen window to switch from the split-screen state to the minimized state.

[0051] Optionally, during the movement of the second control, the second control satisfies the second preset condition, or the lateral movement distance of the second control is greater than or equal to 1 / 2 of the lateral width of the second window, or greater than or equal to 1 / 3 of the lateral width of the second window, or the vertical movement distance of the second control is greater than or equal to 1 / 2 of the vertical height of the second window, or greater than or equal to 1 / 3 of the vertical height of the second window.

[0052] Optionally, during the movement of the second control, the electronic device may also gradually reduce the horizontal and vertical sizes of the squeezed second window in proportion to the aspect ratio of the second window. Thus, when the user drags the second control to the edge of the screen, the user can be naturally and smoothly given the visual effect that the window is about to be minimized. In this case, during the movement of the second control, the electronic device may also trigger the display of the minimized state of the second window when it is detected that the size of the second window is less than or equal to the preset size.

[0053] Optionally, the second sliding operation may be a dragging operation. In this case, the end position of the second sliding operation is less than or equal to a preset distance from the edge of the screen of the electronic device, so that the second control that follows the second sliding operation can also be synchronously moved to a position less than or equal to the preset distance from the edge of the screen of the electronic device. In this way, the user triggers minimization of the second window by dragging the second control to the edge of the screen.

[0054] Optionally, the first sliding operation may be a short-distance quick sliding operation. During the movement of the second control, if the second control meets the second preset condition, the second window is displayed in a minimized state, including: in response to the second lifting operation after the second sliding operation, the second control continues to move to the side of the second window; during the continued movement of the second control, if the distance between the second control and the edge of the screen of the electronic device is less than or equal to the preset distance, the second window is displayed in a minimized state. In this way, the user can trigger the minimization of the second window by performing a quick sliding operation on the second control, without the user dragging the second control to the edge of the screen. And when the user's finger ends sliding, that is, the finger leaves the screen, based on the inertia of the quick sliding, the second control will continue to slide for a distance.

[0055] Optionally, the electronic device can determine whether the second sliding operation is a fast sliding operation by determining whether the sliding speed of the second sliding operation is greater than or equal to a preset speed, or whether the sliding acceleration is greater than or equal to a preset acceleration. If it is determined to be a fast sliding operation, the electronic device can continue to move the second control along the sliding direction of the second sliding operation after detecting the second lifting operation.

[0056] Optionally, after displaying the first interface, the window display method provided by the present scheme also includes: in response to a sixth operation, displaying the first window and the second window in a minimized state at the same time, and displaying a desktop, the desktop including multiple application icons, wherein the multiple application icons include an icon for a fourth application; in response to a seventh operation acting on the icon of the fourth application, displaying a fourth interface, the fourth interface including the first window, the second window and the fourth window displayed in a third split-screen state, wherein the fourth window runs a fourth application.

[0057] In this way, when the first application and the second application are displayed in split screen, if the user needs to add a new application for split screen display, the user can perform the sixth operation to directly trigger the electronic device to minimize the first window running the first application and the second window running the second application together to expose the desktop. At this time, the minimized first window and second window do not affect the user's selection of the newly added split-screen application on the desktop. After the user selects a new application that he wants to use simultaneously on the desktop, the electronic device can directly enter the three-screen interface of the newly added split-screen application and the previous first application and second application. In this way, the user can trigger the electronic device to change the display from two screens to three screens without performing too many operations, saving user time and improving user experience.

[0058] Optionally, when the first split screen state is a left-right split screen state, the sixth operation is an operation of sliding downward from the top of the screen of the electronic device in the separation area between the first window and the second window; when the first split screen state is a top-bottom split screen state, the sixth operation is an operation of sliding rightward from the left edge of the screen of the electronic device in the separation area between the first window and the second window. In this way, the user can perform an up-down or left-right sliding operation on the separation area between the two split screen windows to trigger minimization of the split screen windows on both sides of the separation area.

[0059] Optionally, when there are three or more split-screen windows in the first interface, the user can also trigger minimization of all split-screen windows in the first interface by performing a sliding operation on the separation area between two split-screen windows.

[0060] Optionally, the sixth operation may also be the first operation, that is, the first window and the second window are displayed in a minimized state at the same time, and the desktop is displayed, and then the fourth interface is displayed in response to the icon acting on the fourth application. The scenario also applies to the first operation. In this way, the user can quickly minimize all split-screen windows together by operating the drag bar or the separator bar.

[0061] Optionally, the above-mentioned displaying the first window and the second window in a minimized state at the same time and displaying the desktop includes: hiding the second window and the second window at the same time, and displaying the desktop, with the floating narrow edge corresponding to the first window and the floating narrow edge corresponding to the second window being displayed on the desktop in a floating manner, and the floating narrow edge corresponding to the first window and the floating narrow edge corresponding to the second window being adsorbed on the screen edge of the electronic device. In this way, the user can have a visual experience of sliding down from the partition area in the middle of the split screen to push both sides of the split screen windows to the edge of the screen.

[0062] Optionally, the window display method provided by the present scheme may further include: displaying a fifth interface, the fifth interface including a fifth window displayed in a full-screen state, the fifth window running a fifth application; in response to an eighth operation, displaying the fifth window in a minimized state; in response to a second operation, displaying a second interface, the second interface including a second picture corresponding to the fifth window, the second picture being a full-screen thumbnail of the fifth window in a full-screen state before minimization; in response to a ninth operation acting on the second picture, restoring the fifth window to the full-screen state display in the second picture.

[0063] In this way, when the user wants to minimize the fifth window displayed in full screen state, the user can also minimize the fifth window through a quick gesture operation. And the user can perform the second operation at any time to trigger the electronic device to prompt the user of the full screen state of the fifth window before it was minimized in the form of a thumbnail. In this way, after the user previews the full screen state before the fifth window is minimized, if the user wants to use the fifth application running in the fifth window again, the user can perform the ninth operation on the thumbnail to directly trigger the electronic device to restore the full screen state before the fifth window was minimized. In this way, the user does not need to perform too many operations to minimize the full screen window and restore the full screen window before minimization, saving user time and improving user experience.

[0064] Optionally, the eighth operation for triggering the minimization of the full-screen window can be an operation of sliding from the top area of ​​the screen of the electronic device to the side of the screen of the electronic device, or can be an operation of sliding from the bottom area of ​​the screen of the electronic device to the side of the screen of the electronic device. In this way, the user can quickly trigger the minimization of the full-screen window by sliding from the top or bottom of the screen to the side.

[0065] Optionally, the possible implementation methods of minimizing the full-screen window can refer to the aforementioned description of the split-screen window, which will not be repeated here. For example, the electronic device can slide the fifth window toward the side of the screen of the electronic device according to the eighth operation. During the sliding process of the fifth window, if the distance between the middle position of the fifth window and the edge of the screen of the electronic device is less than or equal to the preset distance, the fifth window is displayed in a minimized state.

[0066] Optionally, the window display method provided by the present scheme may further include: displaying a sixth interface, the sixth interface including a sixth window displayed in a full-screen state, and a seventh window displayed in a floating window state on the sixth window; in response to a tenth operation, displaying the sixth window and the seventh window in a minimized state at the same time; in response to a second operation, displaying a second interface, the second interface including a third picture corresponding to the sixth window and the seventh window, the third picture being a combined thumbnail of the sixth window in a full-screen state before minimization and the seventh window in a floating window state before minimization; in response to an eleventh operation acting on the third picture, restoring the sixth window to the full-screen state in the third picture, and restoring the seventh window to the floating window state in the third picture, and displaying it in a floating state on the sixth window.

[0067] In this way, when the interface displayed by the electronic device includes a full-screen window and a floating window that is displayed on the full-screen window, the user can also minimize the full-screen window and the floating window together through a quick gesture operation. And the user can perform the second operation at any time to trigger the electronic device to prompt the user through a thumbnail of the full-screen + floating window state before the full-screen window and the floating window are minimized together. In this way, after the user previews the state before the full-screen window and the floating window are minimized together, if the user wants to restore their display state, the user can perform the eleventh operation on the thumbnail to directly trigger the electronic device to restore the full-screen + floating window state before the full-screen window and the floating window are minimized together. In this way, the user does not need to perform too many operations to minimize the full-screen window + floating window and restore the full-screen window + floating window before minimization, saving user time and improving user experience.

[0068] Optionally, the tenth operation for triggering the minimization of the sixth window and the seventh window together is a first multi-finger operation, in which one finger acts on the sixth window and another finger acts on the seventh window. The first multi-finger operation may be a multi-finger pinch operation. In this way, the user can use multiple fingers to pinch in different windows to trigger the minimization of the full-screen window and the floating window together.

[0069] Optionally, the first multi-finger operation may also be an operation of sliding multiple fingers toward the side of the screen of the electronic device. In this way, the user can simultaneously slide multiple fingers in different windows toward the side of the screen to trigger minimization of the full-screen window and the floating window.

[0070] Optionally, the possible implementation methods of minimizing the full-screen window + the floating window together can refer to the aforementioned description of the split-screen window, which will not be repeated here. For example, the electronic device can slide the sixth window and the seventh window together toward the side of the screen of the electronic device according to the tenth operation. During the sliding process of the sixth window and the seventh window, if the distance between the middle position of any window and the edge of the screen of the electronic device is less than or equal to the preset distance, or any finger slides to the edge of the screen of the electronic device in the tenth operation, the sixth window and the seventh window are displayed in a minimized state at the same time.

[0071] Optionally, the above-mentioned solution of minimizing the full screen window + the floating window together can be applied to the minimization of any one or more windows. For example, the split screen window + the floating window are minimized together, and multiple floating windows are minimized together. This solution is not limited to this.

[0072] Optionally, the window display method provided by the present solution may also include: displaying a seventh interface, the seventh interface includes at least three windows, and there are two different window display states in at least three windows; in response to a second multi-finger operation on any two of the at least three windows, displaying at least three windows in a minimized state at the same time; in response to the second operation, displaying a second interface, the second interface includes a fourth picture corresponding to at least three windows, the fourth picture being a combined thumbnail of at least three windows when displayed in the window display state before minimization; in response to a twelfth operation on the fourth picture, restoring at least three windows to the window display state in the fourth picture. In this way, when there are three or more windows in the interface, if the user wants to minimize all of these windows together, the user can perform a two-finger pinch operation on any two windows or a two-finger synchronous sliding operation to the side of the screen, which can trigger all windows in the current interface to be minimized together without the user's multi-finger operation acting on each window.

[0073] Optionally, possible implementations for minimizing three or more windows together can refer to the aforementioned description of split-screen windows and will not be repeated here.

[0074] In a second aspect, a window display method is provided, which is applied to an electronic device, the method comprising: displaying a first interface, the first interface comprising a first window and a second window displayed in a first split-screen state, wherein the first window runs a first application and the second window runs a second application; in response to a first operation, displaying the first window and the second window in a minimized state at the same time, and displaying a desktop, wherein the desktop comprises a plurality of application icons, and the plurality of application icons comprises an icon for a third application; in response to a second operation acting on the icon of the third application, displaying a second interface, the second interface comprising a first window, a second window and a third window displayed in a second split-screen state, wherein the third window runs a third application.

[0075] According to the solution provided by the second aspect above, when the first application and the second application are displayed in split-screen, if the user needs to add a new application for split-screen display, the user can perform a first operation to directly trigger the electronic device to minimize the first window running the first application and the second window running the second application together to expose the desktop. At this time, the minimized first window and second window do not affect the user's selection of the newly added split-screen application on the desktop. After the user selects a new application that he wants to use simultaneously on the desktop, the electronic device can directly enter the three-screen interface of the newly added split-screen application and the previous first application and second application. In this way, the user can trigger the electronic device to change the display from two screens to three screens without performing too many operations, saving user time and improving user experience.

[0076] Similarly, the above solution is also applicable to the scenario of entering a quad split screen from a triple split screen, which is similar to entering a larger split screen from a smaller split screen. This solution does not limit this.

[0077] Optionally, when the first split-screen state is a left-right split-screen state, the fourth operation is an operation of sliding downward from the top of the screen of the electronic device in the separation area between the first window and the second window.

[0078] Optionally, when the first split-screen state is an upper-lower split-screen state, the fourth operation is an operation of sliding to the right from the left edge of the screen of the electronic device in the separation area between the first window and the second window.

[0079] Optionally, the second window includes a first control such as a drag bar for moving the second window, and the fourth operation may also be a first sliding operation acting on the first control in the second window. The first sliding operation may be a sliding operation in a downward direction or a sliding operation toward the side of the screen of the electronic device.

[0080] Optionally, the first interface includes a second control for separating the first window and the second window, and the fourth operation may also be a second sliding operation acting on the second control, where the second sliding operation is a sliding operation in the direction of the second window.

[0081] It should be noted that the minimization and minimization recovery described in the second aspect of the present application and any possible design thereof can refer to the description of minimization and minimization recovery in the first aspect and any possible design thereof, and will not be repeated here.

[0082] In a third aspect, an electronic device is provided, the electronic device comprising a memory and one or more processors. The memory is coupled to the processor. The memory is used to store computer program code, and the computer program code comprises computer instructions. When one or more processors execute the computer instructions, the electronic device may perform the following steps: displaying a first interface, the first interface comprising a first window and a second window displayed in a first split-screen state, the first window running a first application, and the second window running a second application; in response to a first operation, displaying the second window in a minimized state, wherein the first window is displayed in a preset state; in response to a second operation, displaying a second interface, the second interface comprising a first picture corresponding to the second window, the first picture being a split-screen thumbnail of the second window in the first split-screen state before minimization; in response to a third operation acting on the first picture, restoring the second window to the first split-screen state display in the first picture, wherein the first window is displayed on one side of the second window.

[0083] Alternatively, the electronic device may also perform the following steps: displaying a first interface, the first interface including a first window and a second window displayed in a first split-screen state, wherein the first window runs a first application and the second window runs a second application; in response to a first operation, displaying the first window and the second window in a minimized state at the same time, and displaying a desktop, wherein the desktop includes multiple application icons, and the multiple application icons include an icon for a third application; in response to a second operation acting on the icon of the third application, displaying a second interface, the second interface including a first window, a second window and a third window displayed in a second split-screen state, wherein the third window runs a third application.

[0084] It should be noted that the window display method described in the third aspect of the present application and any possible design thereof may refer to the description of the window display method in the first aspect and any possible design thereof, or refer to the description of the window display method in the second aspect and any possible design thereof, and will not be repeated here.

[0085] In a fourth aspect, a window display device is provided, which can be applied to electronic devices. The device has the function of implementing the electronic device behavior in any of the above-mentioned first aspect and the possible implementation of the first aspect, or has the function of implementing the electronic device behavior in any of the above-mentioned second aspect and the possible implementation of the first aspect. The function can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions.

[0086] In one example, the window display device includes a display unit, which can be used to display a first interface, the first interface includes a first window and a second window displayed in a first split-screen state, the first window runs a first application, and the second window runs a second application; in response to a first operation, the second window is displayed in a minimized state, wherein the first window is displayed in a preset state; in response to a second operation, a second interface is displayed, the second interface includes a first picture corresponding to the second window, the first picture is a split-screen thumbnail of the second window in the first split-screen state before minimization; in response to a third operation acting on the first picture, the second window is restored to the first split-screen state in the first picture, wherein the first window is displayed on one side of the second window.

[0087] It should be noted that the display unit can be used to display the interface or window in any window display method in the technical solution of the first aspect or the second aspect, which will not be repeated here.

[0088] In a fifth aspect, a chip system is provided, which is applied to an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device executes the method described in the first aspect and any possible design thereof, or executes the method described in the second aspect and any possible design thereof.

[0089] In a sixth aspect, a computer-readable storage medium is provided, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible design thereof, or executes the method described in the second aspect and any possible design thereof.

[0090] In a seventh aspect, a computer program product is provided, which, when executed on a computer, enables the computer to execute the method described in the first aspect and any possible design thereof, or to execute the method described in the second aspect and any possible design thereof.

[0091] It can be understood that the beneficial effects that can be achieved by the window display method described in the second aspect, the electronic device described in the third aspect, the device described in the fourth aspect, the chip system described in the fifth aspect, the computer-readable storage medium described in the sixth aspect, and the computer program product described in the seventh aspect provided above can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0092] Figure 1 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0093] Figure 2 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;

[0094] Figure 3 User interface diagram for exiting split screen for an existing application window Figure 1 ;

[0095] Figure 4 User interface diagram for exiting split screen for an existing application window Figure 2 ;

[0096] Figure 5 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 1 ;

[0097] Figure 6 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 2 ;

[0098] Figure 7 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 3 ;

[0099] Figure 8 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 4 ;

[0100] Fig. 9 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 5 ;

[0101] Fig.10 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 6 ;

[0102] Fig.11 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 7 ;

[0103] Fig.12 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 8 ;

[0104] Fig.13 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 9 ;

[0105] Fig.14 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 ;

[0106] Fig.15 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 one;

[0107] Fig.16 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 two;

[0108] Fig.17 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 three;

[0109] Fig.18 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 Four;

[0110] Fig.19 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 five;

[0111] Fig. 20 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 six;

[0112] Fig.21 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 seven;

[0113] Fig. 22 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 eight;

[0114] Fig.23 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 10 Nine;

[0115] Fig.24 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 2 ten;

[0116] Fig.25 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 2 eleven;

[0117] Fig.26 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 2 twelve;

[0118] Fig. 27 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 2 Thirteen;

[0119] Fig.28 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 2 fourteen;

[0120] Fig.29 A graphical user interface diagram of a window display method provided in an embodiment of the present application Figure 2 fifteen. DETAILED DESCRIPTION

[0121] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0122] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, a and b and c, where a, b, and c can be single or multiple.

[0123] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.

[0124] In the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0125] The features, structures or characteristics in this application may be combined in one or more embodiments in any suitable manner. In various embodiments of this application, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0126] Some optional features in the embodiments of the present application may be implemented independently in some scenarios without relying on other features to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features in some scenarios as needed.

[0127] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In each embodiment of this application, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships. The implementation methods of this application do not constitute a limitation on the scope of protection of this application.

[0128] In addition, the business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0129] The embodiments of the present application provide a window display method that can be applied to electronic devices. The electronic device can be a mobile phone (such as a normal screen mobile phone, a curved screen mobile phone, a folding screen mobile phone, a full-screen mobile phone, etc.), a tablet computer, a vehicle-mounted device, a wearable device (such as a smart watch, a smart bracelet, smart glasses, smart jewelry, etc.), an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a television, a display, and other electronic devices with display functions. The embodiments of the present application do not impose any restrictions on the specific type of electronic device. In some embodiments, the electronic device may include but is not limited to a device equipped with operating system, operating system, operating system, operating system, operating system, operating system or other electronic devices running an operating system.

[0130] For example, Figure 1 FIG. 1 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. Figure 1As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, a gravity sensor (not shown), etc.

[0131] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0132] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0133] For example, part of the processing unit can implement the implementation of the present application, in response to the sliding operation on the drag bar control 1 of the split-screen window 1, the slid split-screen window 1 is displayed in a minimized state. For another example, part of the processing unit can implement the implementation of the present application, in response to the sliding operation on the drag bar control 1 of the split-screen window 1, the slid split-screen window 1 is displayed in a minimized state, and the desktop is displayed in the area occupied by the split-screen window 1 before sliding.

[0134] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0135] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0136] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0137] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0138] In the embodiment of the present application, the display screen 194 can be used to display a split-screen interface, and can also be used to display a split-screen window in a minimized state.

[0139] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0140] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as an application displayed in a minimized state, a display state before switching to a minimized state, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0141] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions.

[0142] In an embodiment of the present application, the pressure sensor 180A can be used to detect the user's operation on the drag bar on the split-screen window, can be used to detect the user's operation on the separator bar on the split-screen interface, can be used to detect the user's operation on the application window in the floating icon state, can be used to detect the user's operation on the historical display state of the preview display, etc.

[0143] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0144] In an embodiment of the present application, the touch sensor 180K can be used to detect the user's touch operation on the drag bar control, can be used to detect the user's touch operation on the separator bar control, can be used to detect the user's touch operation on the preview displayed historical split-screen window, and so on.

[0145] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, for touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. In an embodiment of the present application, motor 191 can generate a vibration prompt when the position of the drag bar control is at the edge of the screen and stays for a period of time, and can also generate a vibration prompt when the position of the separator bar control is at the edge of the screen and stays for a period of time.

[0146] The above describes a possible hardware structure diagram of the electronic device 100. The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 100 is exemplified.

[0147] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, The system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime and system library, and kernel layer.

[0148] The application layer can include a series of application packages. Figure 2As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, Bluetooth, music, video, short message, and desktop launcher. For the convenience of description, the application is referred to as application below. The application on the electronic device can be a native application or a third-party application, which is not limited in the embodiments of the present application.

[0149] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 2 As shown, the application framework layer may include a window manager service (VMS), an input event management server (IMS), a content provider, a view system, a resource manager, a notification manager, and the like.

[0150] Among them, the window management server is used to manage window programs. The window management server can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. Exemplarily, the window management server can obtain the size of the window to be displayed on the electronic device 100, determine the content of the window to be displayed, etc. It should be understood that the window to be displayed on the electronic device 100 may include the window being displayed on the interface of the electronic device 100, and may also include the windows of one or more applications running in the background of the electronic device 100. The input event management server (input manager service, IMS) can be used to translate, encapsulate, and process the original input event to obtain an input event containing more information and send it to the window management server. The window management server stores the clickable area (such as a control) of each application, the location information of the focus window, etc. Therefore, the window management server can correctly distribute the input event to the specified control or focus window. The content provider is used to store and obtain data and make the data accessible to the application. The data may include video, images, audio, dialed and received calls, browsing history and bookmarks, phone books, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, the display interface including the SMS notification icon can include a view that displays text and a view that displays images. The resource manager provides various resources for the application, such as localized strings, icons, images, layout files, video files, etc.

[0151] The kernel layer is the layer between hardware and software. The kernel layer can include display drivers, input / output device drivers (for example, keyboards, touch screens, headphones, speakers, microphones, etc.), device nodes, camera drivers, audio drivers, and sensor drivers. Users perform input operations through input devices, and the kernel layer can generate corresponding raw input events based on the input operations and store them in device nodes.

[0152] For ease of understanding, the following embodiments of the present application will be described with Figure 1 and Figure 2 Taking the electronic device with the structure shown as an example, the window display method provided in the embodiment of the present application is specifically described in combination with the accompanying drawings and application scenarios.

[0153] At present, electronic devices generally only support switching the display state of application windows from a floating window state to a minimized state. For application windows displayed in a non-floating window state, such as an application window displayed in a full-screen state or a split-screen state, the user needs to first switch the display state of the application window to a floating window state, and then switch from the floating window state to a minimized state. As a result, the user needs to switch between multiple display states to display the application window in a minimized state, which is cumbersome and has a poor user experience.

[0154] The full-screen state is also called full-screen mode, which means that only one application window is displayed on the screen of the electronic device, and the interface of the application fills the entire screen. In the embodiment of the present application, when an application window is displayed in a full-screen state, the application window can be defined as a full-screen window, and the application displayed in the application window can be defined as a full-screen application.

[0155] The split-screen state is also called the split-screen mode, which refers to two or more application windows that occupy a portion of the screen of the electronic device, respectively, and no two application windows overlap. Among them, each application window can change size, the position of the application window cannot be moved, or only the movement of a fixed position can be achieved, such as swapping the positions of two application windows. In an embodiment of the present application, when an application window is displayed in a split-screen state, the application window can be defined as a split-screen window, and the application displayed by the application window can be defined as a split-screen application.

[0156] The floating window state is also called the floating window mode, which refers to the state in which at least one application window is displayed in a floating state on other user interfaces (such as the interface of other applications or the desktop of a mobile phone), and each application window displayed in a floating state does not occupy the entire screen of the electronic device. The floating application window can be dragged to any position on the screen of the electronic device, and when the user does not operate the floating application window, the floating application window remains in a fixed position and does not change with the change of other user interfaces. Among them, the at least one application window is displayed in a stacked manner on the screen, and the application windows can be partially or completely overlapped, and each application window can be resized or moved. In an embodiment of the present application, when an application window is displayed in a floating window state, such as being displayed in a floating window state on an application window displayed in a full-screen state or in a floating window state on an application window displayed in a split-screen state, the application window can be defined as a floating window, and the application displayed by the application window can be defined as a floating application.

[0157] The minimized state is also called minimized mode, which may refer to a state in which at least one application window is displayed in a smaller form (such as an icon form) suspended on other user interfaces (such as the interface of other applications or the mobile phone desktop). The smaller form of the suspended display may be adsorbed on the edge of the screen of the electronic device, or may be dragged to any position on the screen of the electronic device. If the user does not operate the smaller form of the suspended display, the smaller form of the suspended display remains in a fixed position and does not change with changes in other user interfaces.

[0158] It is understood that the screen display area occupied by the application window when it is displayed in a minimized state should be smaller than the screen display area occupied by the application window when it is displayed in a floating window state. In the embodiment of the present application, when an application window is displayed in a minimized state, the application window can be defined as a minimized window, and the application displayed by the application window can be defined as a minimized application.

[0159] Taking the mobile phone as an example, please refer to Figure 3 (a) in the figure shows a possible interface content 300 currently displayed on the screen of the mobile phone, and the interface content 300 may be the desktop of the mobile phone. The interface content 300 displays application icons of multiple applications, such as clock, music, weather, calendar, camera, video, etc. It can be understood that the interface content 300 may also include application icons of other more applications, which is not limited in the embodiment of the present application.

[0160] In some embodiments, the interface content displayed by the mobile phone may be, not limited to the mobile phone desktop, the interface content displayed by the mobile phone in response to an input user operation, and the user operation may include a user clicking an application icon, or a user clicking a control in the application interface content. For example, when a user clicks on an application icon such as clock, music, weather, calendar, camera, video, etc. displayed on the mobile phone desktop, the user may enter the corresponding application interface of each application.

[0161] For example, in Figure 3 In the interface content 300 shown in (a) of FIG. 1 , when the user clicks the "Huawei Video" application icon 301, in response to the click operation, the mobile phone can enter the following Figure 3 The video playback interface 302 of the "Huawei Video" application shown in (b) in FIG. Figure 3 As shown in (b), the video playback interface 302 is displayed in full screen mode, that is, only an application window of the "Huawei Video" application is displayed on the mobile phone screen, and the video playback interface 302 of the application fills the entire screen.

[0162] At this time, if the user wants to run and display two applications on the mobile phone at the same time, for example, the user wants to chat with friends while watching a video without blocking the video during the chat, the user can perform a split-screen operation. In response to the user's split-screen operation, the mobile phone can enter a split-screen interface, in which the mobile phone screen is divided into two windows, and the two windows independently run two application programs, and the user can independently operate the application interfaces displayed in the two windows.

[0163] For example, Figure 3 As shown in (c), after the mobile phone responds to the user's split-screen operation, it enters the split-screen interface 303. The split-screen interface 303 includes a first window 304 and a second window 305, and the first window 304 and the second window 305 respectively display the application interface of an application. For example, the first window 304 displays the video playback interface of the "Huawei Video" application, and the second window 305 displays the chat interface of the chat application. The user can watch a movie or TV series in the first window 304 while chatting in the second window 305, and the video playback will not be interrupted during the chat. It can be understood that the interface content displayed in the first window 304 and the second window 305 in the embodiment of the present application is only exemplary. In actual applications, the corresponding interface content can be displayed according to the actual split-screen application, and the embodiment of the present application is not limited to this.

[0164] Optionally, the user implements split screen by sliding. For example, the user can use two or three fingers to slide upward from the bottom of the screen. In response to the user operation, the mobile phone can divide the screen into two windows, one of which displays the interface of the application currently being used by the user, and the other window displays the interface of another application selected by the user. Alternatively, the user can implement split screen by gestures. For example, the user can tap and swipe the screen with the knuckles, and in response to the user operation, the mobile phone can split the screen from the crossed part. It can be understood that there are many ways of split screen operation that the user can perform, and the embodiments of the present application are not limited to this.

[0165] In some embodiments, the mobile phone can split the screen up and down, or left and right. Figure 3 As shown in (c) of FIG. 1 , when the user uses a vertically-oriented mobile phone to split the screen, the first window 304 and the second window 305 can be displayed side by side. Figure 3 As shown in (d) in the figure, when the user uses the vertically-long mobile phone to split the screen horizontally, the first window 304 and the second window 305 can be displayed side by side. Optionally, if the mobile phone has an automatic rotation function turned on, when the posture of the mobile phone changes (for example, from vertical to horizontal, or from horizontal to vertical), the window display mode on the split-screen interface 303 can automatically change accordingly. It can be understood that the application interface displayed in the first window 304 and the second window 305 can adjust the interface content display form according to the size of the window adaptively, and this embodiment of the application is not limited to this.

[0166] See also Figure 3 In (c) and (d), the split screen interface 303 also includes a separator bar 306 disposed between the first window 304 and the second window 305. The separator bar 306 is used to separate the first window 304 and the second window 305. By adjusting the position of the separator bar 306, the split screen ratio can be adjusted or the split screen can be exited. The user can drag Figure 3 The separator bar 306 shown in (c) is moved up and down (or dragged Figure 3 In the figure, the separator bar 306 shown in (d) moves left and right), within a certain threshold range, when the user releases the separator bar 306, the separator bar 306 can stay at the position where the user's finger leaves, so that in the first window 304 and the second window 305, the size of one window is reduced and the size of the other window is increased.

[0167] For example, the user can long press Figure 3 After a certain period of time, drag the separator bar 306 downward to the position shown in (c) as shown in FIG. Figure 3, the width of the second window 305 in the direction perpendicular to the separator bar 306 decreases, and the width of the first window 304 in the direction perpendicular to the separator bar 306 increases. It can be understood that in the process of dragging the separator bar 306, the application interfaces displayed in the first window 304 and the second window 305 will be adaptively adjusted as the size of the windows changes. For example, as the window ratio increases, the application interface displayed in the window will increase accordingly.

[0168] After two applications displayed in split screen are running in parallel for a period of time, the user may no longer need to use the two applications for a long time and need to exit the split screen application that is not being used temporarily. Figure 3 In (c), for example, the friend with whom the user is chatting temporarily leaves. In order to have a better viewing experience of the video, the user needs to exit the split-screen state and display the video application in full screen.

[0169] Optionally, the user can drag the separator bar between the split-screen windows and slide it toward the edge of the screen to push the application window that wants to exit the split-screen state out of the screen, thereby exiting the split-screen state. Figure 3 In (f), users can long press Figure 3 After a certain period of time, the user can drag the separator bar 306 to the edge of the screen. If the user wants to exit the split screen state of an application window, he can move the separator bar 306 to the application window until the application window is pushed out of the screen, and then the application window can exit the split screen state. Figure 3 In (f), the user moves the separator bar 306 toward the second window 305 to push the second window 305 out of the screen, so that the second window 305 exits the split-screen state and the first window 304 is displayed in full screen, as shown in FIG. Figure 3 As shown in (g) in .

[0170] However, this method of exiting the split-screen state by closing the application window will cause the state of the applications displayed in the two windows to change from the split-screen state to the full-screen state, that is, one of the applications (such as the "Huawei Video" application) is displayed in full screen on the screen, and the other application (such as the chat application) retreats to the background. If the user wants to open the application running in the background (such as the chat application) later, it is necessary to re-perform the split-screen operation, which is a cumbersome process; or if the user directly opens the application for full-screen display, the current full-screen application will be suspended. For example, a user and a friend are chatting and watching a video, and the friend leaves temporarily for a while, the user exits the split-screen state, and displays the video application in full screen. Later, when the user receives a message from the other party and clicks on the chat application, the chat application can only be displayed in full screen, the user will interrupt the current video viewing process, and the user experience is poor.

[0171] Optionally, the user can also drag the drag bar on the split-screen window to change the application window from the split-screen state to the floating window state. Figure 4 In (a), the first window 304 and the second window 305 each include a drag bar 308. When a user drags the drag bar 308 on a window, the dragged application window can be turned into a floating window. For example, when a user drags the drag bar 308 on the second window 305, the second window 305 can be turned into a floating window. Figure 4 As shown in (b) in FIG. 1 , the second window 305 is displayed floating on the first window 304 displayed in full screen.

[0172] However, this method of exiting the split-screen state by changing the application window from the split-screen state to the floating window state allows the user to use another application without interrupting the current application process, but Figure 4 As can be seen from (b) in the figure, the chat application displayed in the floating window state blocks part of the content of the "Huawei Video" application displayed in the full screen state, which affects the user's experience of the "Huawei Video" application currently displayed in full screen. Therefore, in some scenarios, in order to watch videos better, users usually need to continue to minimize the chat application in the floating window state to the floating ball state.

[0173] Optionally, the user can drag the drag bar on the floating window to the edge of the mobile phone screen to change the application window from the floating window state to the floating ball state. Figure 4 In (c), the user drags the drag bar 309 on the second window 305 displayed in the floating window state to the edge of the screen, and the dragged second window 305 can be turned into a floating ball. Figure 4 As shown in (d), the second window 305 in the floating ball state can be adsorbed on the edge of the mobile phone screen, and because the display space occupied by the floating ball state is relatively small, it does not affect the user's experience of the "Huawei Video" application currently displayed in full screen.

[0174] Optionally, a minimize button may also be provided on the floating window. The user may directly click the minimize button to convert the application window from the floating window state to the floating ball state.

[0175] As can be seen from the above, this method of exiting the split-screen state by ultimately minimizing the application window, although it allows the user to use another application without interrupting the current application process and will not block another application, but because the current display state of the application window can only support the transition from the floating window state to the floating ball state. This means that when the user needs to exit the split-screen application that is not in use temporarily, the user needs to first drag the drag bar on the split-screen window to change the temporarily unused application from the split-screen state to the floating window state, and then change it from the floating window state to the floating ball state. As a result, the user needs to switch between multiple display states to achieve the minimized state display of the application window. The operation is cumbersome and the user experience is poor. Moreover, if the user wants to use the application minimized to the floating ball again in the future, the user can only restore it to the floating window state display by clicking the floating ball, and cannot restore it to the split-screen state. And when the floating window state display is restored, due to the occlusion of the floating window, the user's experience of the current full-screen display application will be affected, and the user experience is poor.

[0176] Therefore, an embodiment of the present application will provide a window display method. For an application window displayed in a split-screen state (such as two split screens and upper and lower split screens), the user can complete the display of the application window from the split-screen state to the minimized state (such as a floating icon) in one step with only one quick gesture operation.

[0177] Understandably, Figure 3 and Figure 4 The related usage scenarios of application split screen are only described by taking a vertically long mobile phone as an example. However, with the continuous development of electronic device technology, the screens of electronic devices such as mobile phones and tablet devices are getting bigger and bigger. The related usage scenarios of the above application split screen are also applicable to these large-screen electronic devices. And because the screens of electronic devices are getting bigger and bigger, the applications running on the screen at the same time are not limited to two. The large screen can be divided into three, four, five or more windows, each of which can run independently and display an application, greatly improving the user experience. For ease of understanding and description, the following embodiments will be described by taking the electronic device as a large-screen device such as a tablet device or a folding screen device as an example, but it should be understood that the technical solution of the embodiment of the present application can be applied to various electronic devices with display functions.

[0178] Figure 5 to Figure 29 A graphical user interface (GUI) schematic diagram of a window display method provided by an embodiment of the present application is shown. For ease of understanding and description, the embodiment of the present application is described by taking the electronic device screen being divided into two application windows as an example.

[0179] like Figure 5As shown in (a), the split-screen interface 500 includes a first window 501, a second window 502, and a separator bar 503 for separating the first window 501 and the second window 502, and the first window 501 and the second window 502 each include a drag bar 504. The first window 501 and the second window 502 are both in a split-screen state, and the two windows run independently and display their respective applications. For example, the application running in the first window 501 is a chat application, and the application running in the second window 502 is a video application. When the user wants to exit the split-screen state of a split-screen window that is not used temporarily, the user can perform a sliding operation on the drag bar on the split-screen window. When the electronic device detects that the user's finger (or stylus) touches the drag bar on a split-screen window, in response to the sliding operation of the drag bar on the split-screen window, the electronic device can switch the split-screen window whose drag bar is slid from the split-screen state to the minimized state.

[0180] In an embodiment of the present application, there may be multiple sliding operations acting on the drag bar on the split-screen window to trigger the split-screen window to switch from a split-screen state to a minimized state.

[0181] In one scenario, the drag bar on the split-screen window is used to trigger a sliding operation of switching the split-screen window from a split-screen state to a minimized state, which may be a vertical sliding operation.

[0182] As an example, when the user wants to exit the split screen state of the second window 502 that is not used temporarily, the user can execute the following steps: Figure 5 , as shown in (b) of FIG. 1 , a sliding operation on the drag bar 504 on the second window 502 is performed. When the electronic device detects the sliding operation, it can respond to the sliding operation by switching the second window 502 on which the drag bar 504 is slid from the split screen state to the minimized state, and switching the first window 501 from the split screen state to the full screen state. In the minimized second window 502, the video application displayed in the second window 502 runs in the background, and the application interface of the video application is hidden.

[0183] In the embodiment of the present application, there can be multiple minimization forms when the split-screen window whose drag bar is slid becomes minimized.

[0184] As a form of minimization, the electronic device can switch the split-screen window where the drag bar is slid from the split-screen state to the floating ball state. Figure 5As shown in (c), when the electronic device switches the second window 502 from the split-screen state to the minimized state, the second window 502 is in a suspended ball state, and the suspended ball can be adsorbed on the edge of the screen of the electronic device, or dragged to any position on the screen of the electronic device. In some scenarios, the suspended ball can be a suspended icon. Among them, the second window 502 that becomes the suspended ball state hides the application interface of the video application and only uses a suspended icon to identify the window position, so it only occupies a small part of the display space of the electronic device screen, and can be moved arbitrarily on the first window 501.

[0185] In some scenarios, floating icons can be used for Figure 5 The application icon for the video application displayed in the second window 502 shown in (c) can also be used to identify the application type of the application displayed in the second window 502. The embodiment of the present application does not limit the style of the floating icon. In this way, after the user minimizes one of the split-screen windows, the split-screen window is folded and turned into a floating ball, and the other split-screen window is displayed in full screen, and the floating ball only occupies a small display space on the screen, which does not affect the user's use of full-screen applications (such as chat applications).

[0186] Optionally, the user may also perform a click operation on the floating ball of the minimized second window 502. In response to this operation, the electronic device may restore the second window 502 to the split screen state before minimization. Figure 5 FIG. 5 shows a split screen interface 500 of a second window 502 and a first window 501 as shown in (a) of FIG.

[0187] As another form of minimization, the electronic device may also switch the split-screen window whose drag bar is slid from the split-screen state to the floating bar state. Figure 5 As shown in (d), when the electronic device switches the second window 502 from the split-screen state to the minimized state, the second window 502 is in the floating bar state, and the floating bar is adsorbed on the edge of the screen of the electronic device. Among them, the second window 502 that becomes the floating bar state hides the application interface of the video application and only uses a small vertical bar to mark the window position. Therefore, compared with the floating ball, the floating bar occupies a smaller part of the display space of the electronic device screen and can be moved arbitrarily on the edge of the screen of the electronic device. In this way, after the user minimizes one of the split-screen windows, the split-screen window is retracted to the edge of the screen of the electronic device and becomes a floating bar, and the other split-screen window is displayed in full screen, and the floating bar only occupies a small display space of the screen, which does not affect the user's use of full-screen applications.

[0188] In some scenarios, if the electronic device does not detect that the user performs any operation on the floating ball within the preset time T1, the electronic device may also automatically change the floating ball into a floating bar adsorbed on the edge of the screen of the electronic device.

[0189] Optionally, the user may also perform a click operation on the floating bar of the minimized second window 502. In response to this operation, the electronic device may restore the second window 502 to a split-screen state before minimization.

[0190] Optionally, the user can also execute Figure 5 In response to the operation of sliding the floating bar that minimizes the second window 502 into the screen as shown in (d), the electronic device can also restore the second window 502 to the split-screen state before minimization.

[0191] As another form of minimization, the electronic device can also switch the split-screen window whose drag bar is slid from the split-screen state to the floating narrow-border state. Figure 5 As shown in (e), when the electronic device switches the second window 502 from the split screen state to the minimized state, the second window 502 is in a floating narrow edge state, that is, the second window 502 is displayed floatingly at the edge of the screen of the electronic device with a preset width. The preset width can be a relatively narrow width that does not affect the use of other applications.

[0192] In the embodiment of the present application, the second window 502 is displayed in a floating state at the edge of the screen of the electronic device with a preset width, which can be understood as the second window 502 being docked, fixed or adsorbed at the edge of the screen with a preset width. Among them, the second window 502 that becomes a floating narrow-border state hides the application interface of the video application, and only exposes a relatively narrow window edge portion at the edge of the screen of the electronic device to mark the window position. In this way, after the user minimizes one of the split-screen windows, the split-screen window is retracted to the edge of the screen of the electronic device and becomes a floating narrow border, and the other split-screen window is displayed in full screen, and the floating narrow border only occupies a small display space of the screen, which does not affect the user's use of full-screen applications.

[0193] Optionally, the user may also perform a click operation on the minimized floating narrow edge of the second window 502. In response to this operation, the electronic device may restore the second window 502 to a split-screen state before minimization.

[0194] Optionally, the user can also execute Figure 5 In response to the operation of sliding the second window 502 into the screen to minimize the floating narrow edge as shown in (e), the electronic device can also restore the second window 502 to the split-screen state before minimization.

[0195] As another form of minimization, the electronic device may also switch the split-screen window whose drag bar is slid from the split-screen state to the docked state. Figure 5As shown in (f) in FIG. 5 , when the electronic device switches the second window 502 from the split-screen state to the minimized state, the second window 502 may be in the dock state, that is, the application icon of the video application displayed in the second window 502 is added to the dock bar 505 for display. The dock bar may also be referred to as a shortcut window bar, which is usually located at the bottom or side of the screen and is used to store application icons of commonly used applications (such as a "phone" application icon, a "short message" application icon, a "camera" application icon, etc.), so that users can quickly start applications, switch applications, and perform some operations.

[0196] In some scenarios, when the electronic device switches the second window 502 from the split screen state to the dock state, the electronic device may Figure 5 As shown in (f), the dock bar 505 is automatically displayed at the bottom or side of the electronic device screen, and an application icon of the video application displayed in the second window 502 is added to the dock bar.

[0197] Optionally, the dock bar 505 can be as follows Figure 5 The floating display shown in (f) in the figure is on the current user interface (such as the application interface of the chat application displayed in the first window 501). In some scenarios, if the electronic device does not detect that the user performs an operation on the dock bar 505 within the preset time T2, the electronic device may automatically hide the dock bar 505 and not display it (or only expose a relatively narrow edge portion of the dock bar at the edge of the screen), or, after detecting that the user inputs a preset hiding gesture, in response to the hiding gesture, the electronic device may hide the dock bar 505 and not display it (or only expose a relatively narrow edge portion of the dock bar at the edge of the screen) to solve the problem of dock bar obstruction. Then, after detecting that the user inputs a preset outgoing gesture (such as a gesture of sliding inward from the edge of the screen), in response to the outgoing gesture, the electronic device may again suspend and display the dock bar 505 on the current user interface.

[0198] Optionally, the dock bar 505 may also be displayed in a separate area from the current user interface. Figure 5 As shown in (g), when the electronic device switches the second window 502 from a split-screen state to a dock state, a display area 1 of a preset width can be divided at the edge of the screen to display a dock bar 505, and the remaining display area 2 other than the display area of ​​the preset width is used to display the current user interface, such as the application interface of the chat application displayed in the first window 501, so as to solve the problem of dock bar obstruction.

[0199] It can be understood that the second window 502 that becomes docked hides the application interface of the video application, and only uses an application icon in the dock bar to identify the window position. In this way, after the user minimizes one of the split-screen windows, the split-screen window is folded into the dock bar and becomes an application icon in the dock bar, while the other split-screen window is displayed in full screen (or nearly full screen), and the dock bar only occupies a relatively small display space on the screen, which does not affect the user's use of the full-screen application.

[0200] Optionally, the user may also click on the application icon of the newly added second window 502 in the dock bar 505. In response to this operation, the electronic device may restore the second window 502 to the split-screen state before minimization.

[0201] As another form of minimization, the electronic device may also switch the split-screen window where the drag bar is slid from the split-screen state to the hidden state. Figure 5 As shown in (h), when the electronic device switches the second window 502 from the split-screen state to the minimized state, the second window 502 can be hidden and not displayed, that is, no special graphics, controls, cards, etc. that can refer to the second window 502 are displayed on the screen. Only the application interface of other applications is displayed on the screen, such as the application interface of the chat application displayed in the first window 501. In this way, after the user minimizes one of the split-screen windows, the split-screen window is folded and not displayed, and the other split-screen window is displayed in full screen. Since no graphics, controls, cards related to the minimized split-screen window are displayed on the screen, it does not affect the user's use of the full-screen application.

[0202] In some scenarios, when the electronic device minimizes the split-screen window to a hidden state, the electronic device may use animation to display the dynamic process of minimizing the split-screen window, such as the size of the split-screen window gradually shrinking to nothing.

[0203] Optionally, when the electronic device minimizes the split-screen window to a hidden state, the user can also perform the following operations: Figure 5 In response to the sliding operation from the edge of the screen to the inside of the screen shown in (h), the electronic device can restore the minimized second window 502 to a split-screen state.

[0204] It is understood that, in addition to the above-mentioned minimization forms, the embodiments of the present application may also include other minimization forms. The present application does not limit the minimization form of the split-screen window.

[0205] In one scenario, taking the minimized state as the hidden state as an example, the electronic device detects that Figure 5When the drag bar 504 on the second window 502 is slid down as shown in (b) of FIG. 1 , in response to the slid down operation, the electronic device can not only switch the second window 502 on which the drag bar 504 is slid from the split screen state to the hidden state, but also display the following Figure 5 The split screen interface 506 shown in (i) of FIG. 5 includes a first window 501 , a third window 507 , and a separator bar 503 for separating the first window 501 and the third window 507 .

[0206] The first window 501 and the third window 507 are both in split-screen state, and the two windows run independently and display their respective user interfaces. Among them, the user interface displayed in the first window 501 remains unchanged, for example, it is still the application interface of the chat application. The user interface displayed in the third window 507 may be a to-be-split-screen interface, which may be used to display the identification of an application that can be displayed in split-screen with the chat application in the first window 501, such as the application icon of the application, the thumbnail of the application, etc. In this way, after the user slides down the drag bar of the split-screen window, the split-screen window is minimized to non-display, and the to-be-split-screen interface is displayed in the display area originally occupied by the split-screen window, and the other split-screen window still maintains the original split-screen state display.

[0207] In one scenario, the interface to be split screen may be a desktop or an application interface of other applications that were recently used.

[0208] For example, in response to Figure 5 In the sliding operation shown in (b) of FIG. 1 , the electronic device switches the second window 502 on which the drag bar 504 is slid from the split screen state to the hidden state, as shown in FIG. Figure 5 As shown in (i), the left half of the display area of ​​the screen still displays the application interface of the chat application in the first window 501, but the right half of the display area of ​​the screen (i.e., the display area occupied by the second window 502 displayed in a split-screen state) displays the third window 507, and the third window 507 displays the desktop. In this way, after the user slides down the drag bar of the split-screen window, the split-screen window is minimized to no display, and only the other split-screen window and the desktop are displayed. Among them, the desktop is the interface exposed after the minimized split-screen window is folded, and the other split-screen window still maintains the original split-screen state display.

[0209] Optionally, when the user clicks on an application icon of an application on the desktop, the electronic device can quickly realize a new split-screen display of the application and the chat application that has been in a split-screen state before. Figure 6 On the desktop displayed in the third window 507 shown in (a), when the user clicks the "Music" application icon 508, in response to the click operation, the electronic device can display in the third window 507 as shown in FIG. Figure 6The music recommendation interface of the music application shown in (b) in FIG. Thus, the music application and the chat application are quickly split. In this way, when the chat application and the video application are displayed in two split screens, the user slides down the drag bar of a split screen window that is not used temporarily to retract the split screen window and expose the desktop for the user to select a split screen application to be used instead, thereby changing the original two-split screen display of the chat application and the video application to a two-split screen display of the newly added split screen application and the chat application.

[0210] Optionally, when the user clicks on an application icon of an application on the desktop, the electronic device can also quickly realize a new split-screen display of the application and the previously split-screen displayed chat application and video application. Figure 6 When the user clicks the "music" application icon 508 on the desktop displayed by the third window 507 shown in (a), the electronic device can restore the split-screen state of the chat application and the video application previously displayed in split screen in response to the click operation, and add a split-screen window of the music application. At this time, the electronic device can display the following Figure 6 The split screen interface 509 shown in (c) of FIG. 5 includes a first window 501 , a second window 502 , a third window 507 , and a separator bar 503 for separating the first window 501 , the second window 502 , and the third window 507 .

[0211] Among them, the first window 501, the second window 502 and the third window 507 are all in split-screen state, and the three windows run independently and display the chat application, the video application and the music application. For example, the first window 501 displays the video playback interface of the chat application, the second window 502 displays the chat interface of the video application, and the third window 507 displays the music recommendation interface of the music application. The user can watch a movie or TV series in the first window 501, chat in the second window 502, and check the music album list in the third window 507. In this way, when the chat application and the video application are displayed in two split screens, the user slides down the drag bar of one of the split-screen windows to retract the split-screen window and expose the desktop, and then clicks on the desktop to select the newly added split-screen application to change the original two-split-screen display of the chat application and the video application to a three-split-screen display of the newly added split-screen application, the chat application and the video application.

[0212] Understandably, Figure 5 (i) and Figure 6Only the minimized state as the hidden state is used as an example to describe the scenario where the split-screen window is minimized and the interface to be split is exposed, and the scenario where the split-screen window is minimized and a new application is clicked to change to a three-screen mode. However, other minimized states such as the floating ball state, the floating bar state, the floating narrow edge state, and the dock state are also applicable to the above-mentioned scenario where the split-screen window is minimized and the interface to be split is exposed, and the scenario where the split-screen window is minimized and a new application is clicked to change to a three-screen mode, and will not be described in detail here.

[0213] For example, taking the minimized state as the floating bar state as an example, after the user minimizes one of the two split-screen windows, only the floating bar of the split-screen window, the other split-screen window and the desktop will be displayed. Among them, the desktop is the interface exposed after the minimized split-screen window is folded and turned into a floating bar, and the other split-screen window still maintains the original split-screen state display. The floating bar can be displayed in a floating state on the desktop and adsorbed on the edge of the screen. Similarly, when the user clicks on a new application icon on the desktop, the three-split screen interface of the new application and the previous two-split screen application can be displayed, or the new two-split screen interface of the new application and the application that has not been minimized can be displayed.

[0214] In some scenarios, the electronic device may also display the above-mentioned interface to be split in full screen, and the first window 501 that is not minimized is displayed in a floating manner at the edge of the screen of the electronic device with a preset width. Among them, the chat application displayed by the first window 501 runs in the background, and the application interface of the chat application is hidden. The preset width can be 1 / 2, 1 / 3, 1 / 4 of the horizontal width of the first window 501, etc., which is not limited here.

[0215] For example, taking the minimized state as the hidden state as an example, the electronic device detects that Figure 5 When the drag bar 504 on the second window 502 is slid down as shown in (b) of FIG. 1 , in response to the slid down operation, the electronic device can not only switch the second window 502 on which the drag bar 504 is slid from the split screen state to the hidden state, but also Figure 7 As shown in (a), the screen interface to be split is displayed in the entire screen display area, such as the desktop, and the first window 501 that has not been slid is suspended and displayed at the edge of the screen of the electronic device with a preset width. In this way, when the user slides down the drag bar of one of the split-screen windows of the two split-screens, the split-screen window is folded and not displayed, and the other split-screen window is pushed to the edge of the screen and only a part is displayed, and then the screen interface to be split is exposed in full screen display.

[0216] Optionally, when the split-screen interface is the desktop, when the user clicks an application icon of an application on the desktop, the electronic device can enter the application interface of the application. The application interface of the application is still displayed in full screen, the minimized split-screen window is still hidden, and the other split-screen window is still displayed floating at the edge of the screen of the electronic device with a preset width.

[0217] For example, Figure 7 As shown in (b) of FIG. 1 , when the user clicks the “Music” application icon 508 on the desktop, in response to the click operation, the electronic device may enter the following Figure 7 The music recommendation interface of the music application shown in (c) in FIG. Figure 7 As shown in (c) of FIG. 1 , the music recommendation interface is displayed in full screen, that is, only a third window 507 for running the music application is displayed on the screen of the electronic device, and the music recommendation interface of the music application fills the entire screen. The second window 502 is still in a hidden state, and the first window 501 is still suspended and displayed at the edge of the screen of the electronic device with a preset width.

[0218] Optionally, when the user performs a long press, click, or drag operation on the first window 501 displayed in a floating state at a preset width at the edge of the screen, in response to the operation, the electronic device can expand the first window 501 to the center of the screen and shrink the size of the third window 507 to form a Figure 6 The interface of the first window 501 and the third window 507 shown in (b) is displayed in split screen. Among them, the first window 501 runs a chat application and displays the application interface of the chat application, and the second window 502 is still in a hidden state.

[0219] In one scenario, a user Figure 7 On the desktop shown in (b) of FIG. 1 , when a click operation is performed on the “Music” application icon 508, in response to the click operation, the electronic device can also directly enter the following Figure 6 The two-screen interface of the music application and the chat application shown in (b) of FIG. The electronic device can expand the first window 501 to the center of the screen, and at the same time display the third window 507 for running the music application in the right half display area of ​​the screen. The first window 501 runs the chat application and displays the application interface of the chat application, and the second window 502 is still in a hidden state.

[0220] In one scenario, a user Figure 7 On the desktop shown in (b) of FIG. 1 , when a click operation is performed on the “Music” application icon 508, in response to the click operation, the electronic device can also directly enter the following Figure 6 The music application shown in (c) of FIG. 1 is a three-screen interface of the chat application and the video application previously displayed in split screen. Figure 6As shown in (c) in the figure, the screen of the electronic device is divided into three windows, and the three windows independently run music applications, chat applications, and video applications, and users can independently operate the application interfaces displayed in the three windows. In this way, when the chat application and the video application are displayed in two split screens, after the user slides down the drag bar of one of the split screen windows, the split screen window is folded and not displayed, and the other split screen window is pushed to the edge of the screen and only a narrow window edge portion is displayed, and the full-screen desktop is exposed. Then, the user can click on the desktop to select the newly added split screen application, and the original two-split screen display of the chat application and the video application can be changed to a three-split screen display of the newly added split screen application, the chat application, and the video application. This realizes the application scenario of switching from two split screens to three split screens.

[0221] It can be understood that the above interaction scenario is also applicable to the first window 501. When the user wants to exit the split-screen state of the first window 501, the user can also perform a sliding operation on the drag bar 504 on the first window 501. When the electronic device detects the sliding operation, it can respond to the sliding operation and switch the first window 501 on which the drag bar 504 is slid from the split-screen state to the minimized state. The second window 502 can switch from the split-screen state to the full-screen state, or maintain the original split-screen state, or be displayed floating at the edge of the screen with a preset width. Please refer to the aforementioned minimization scenario of the second window 502, which will not be repeated here.

[0222] In some embodiments, the user can also perform a sliding operation on the drag bar of any application window in the split-screen interface to trigger minimization of all application windows in the split-screen interface. Figure 5 When the drag bar 504 on the second window 502 is slid down as shown in (b), in response to the slid down operation, the electronic device can not only switch the second window 502 on which the drag bar 504 is slid from a split screen state to a minimized state, but also switch the first window 501 which has not been slid from a split screen state to a minimized state.

[0223] As an example, taking the minimized state as the floating narrow edge state as an example, in response to Figure 5 As shown in (b) of FIG. 1 , the electronic device can not only perform the sliding operation on the drag bar 504 on the second window 502 as shown in FIG. Figure 8 As shown in (a), the second window 502 in the split screen interface 500 is folded to the right edge of the electronic device screen to become a floating narrow border, and the first window 501 can also be folded to the left edge of the electronic device screen to become a floating narrow border, and the full-screen display of the to-be-split screen interface, such as the desktop, is exposed in the middle of the screen. The floating narrow borders formed after the first window 501 and the second window 502 are minimized are both displayed in the to-be-split screen interface.

[0224] Optionally, the display style of the floating narrow border formed when all application windows in the split-screen interface 500 are minimized together may be different from the display style of the floating narrow border formed when a single application window is minimized. For example, a single application window may form only one floating narrow border after being minimized, while a split-screen interface containing multiple application windows may form multiple floating narrow borders after being minimized. The multiple floating narrow borders may be as follows: Figure 8 As shown in (a) in the figure, the images can be displayed separately on both sides of the screen, or they can be displayed overlappingly on the same side of the screen.

[0225] As another example, taking the minimized state as a suspended ball as an example, in response to Figure 5 The sliding operation of the drag bar 504 on the second window 502 shown in (b) is as follows: Figure 8 As shown in (b), the electronic device can not only minimize the first window 501 and the second window 502 in the split screen interface 500 together into a floating ball 800, but also expose the full screen display of the to-be-split screen interface, such as the desktop. The floating ball 800 formed after the first window 501 and the second window 502 are minimized is displayed in the to-be-split screen interface.

[0226] Optionally, the display style of the floating ball 800 formed when all application windows in the split-screen interface 500 are minimized together is different from the display style of the floating ball formed when a single application window is minimized. For example, the floating ball formed when a single application window is minimized can only display the application icon of the application running in the application window, while the floating ball formed when a split-screen interface containing multiple application windows is minimized can display the application icons of the applications running in each of the multiple application windows. The display status of the application icon is consistent with the status of the multiple application windows in the split-screen interface. Figure 8 The floating ball 800 shown in (b) displays an application icon of a chat application and an application icon of a video application, and the two application icons are separated left and right, which is consistent with the split-screen state of the first window 501 and the second window 502 in the split-screen interface.

[0227] Optionally, in Figure 8 On the desktop shown in (a) of FIG. 1 , when the user clicks the “Music” application icon 801, in response to the click operation, the electronic device can Figure 8 The music recommendation interface of the music application is directly entered as shown in (c) in FIG. The music recommendation interface is displayed in a full-screen state, that is, only a third window 507 for running the music application is displayed on the screen of the electronic device, and the music recommendation interface of the music application fills the entire screen. The first window 501 and the second window 502 are still in a minimized state.

[0228] Optionally, in Figure 8On the desktop shown in (a) of FIG. 1 , when the user clicks the “Music” application icon 801, in response to the click operation, the electronic device can also directly enter the following Figure 8 The music application shown in (d) of FIG. 1 is a three-screen interface of the chat application and the video application previously displayed in split screen. Figure 8 As shown in (d), the screen of the electronic device is divided into three windows, and the three windows independently run music applications, chat applications, and video applications, and users can independently operate the application interfaces displayed in the three windows. In this way, when the chat application and the video application are displayed in two split screens, after the user slides down the drag bar of one of the split screen windows, the electronic device can push both split screen windows to the side edge of the screen and only display a part, and expose the full-screen desktop for the user to select the newly added split screen application, so that the original two-split screen display of the chat application and the video application can be changed to a three-split screen display of the newly added split screen application, the chat application, and the video application. Thus, the application scenario of switching from two split screens to three split screens is realized.

[0229] As a method, in response to the click operation, the electronic device can expand the first window 501 adsorbed on the left edge of the screen to the right (i.e., the center of the screen), and at the same time expand the second window 502 adsorbed on the right edge of the screen to the left (i.e., the center of the screen), and display a newly added third window 507 for running the music application in the middle, thereby forming a Figure 8 The three-screen interface shown in (d) in the figure.

[0230] In some scenarios, the above-mentioned sliding operation on the drag bar 504 on the second window 502 may be a quick sliding operation downward. The quick sliding operation may be understood as a gesture operation in which the user's finger (or stylus) touches the screen of the electronic device and slides quickly for a short distance, and then the finger immediately leaves the screen of the electronic device. The electronic device may determine whether it is a quick sliding operation by detecting whether the sliding speed of the sliding operation is greater than or equal to a preset speed, or detecting whether the sliding acceleration of the sliding operation is greater than or equal to a preset acceleration.

[0231] For example, after the user's finger touches the drag bar 504 on the second window 502, the user does not lift the finger immediately, but quickly slides the finger downward from the drag bar 504 for a short distance, such as Fig. 9 As shown in (a) of FIG. 1 , the user's finger quickly slides downward to position A 600. If the finger immediately leaves the electronic device screen at this time, the electronic device can respond to the operation and trigger the process of switching the second window 502 from the split screen state to the minimized state. For example, the second window 502 is changed into a floating ball, and the first window 501 is displayed in full screen.

[0232] Optionally, during the fast sliding of the finger, the second window 502 where the drag bar 504 is located can slide on the screen of the electronic device following the sliding track of the finger. Fig. 9 As shown in (a) of FIG. 1 , the electronic device can quickly slide the user's finger downward to position A 600, and simultaneously quickly move the position of the second window 502 downward. The drag bar 504 on the second window 502 is also synchronously located at position A 600. Part of the content in the second window 502 is not displayed because it is moved outside the screen of the electronic device.

[0233] Optionally, when the electronic device rapidly moves the second window 502 downward synchronously, the vacant display area in the right half of the display area of ​​the screen occupied by the second window 502 can be blurred, grayed, or a layer mask can be added. Fig. 9 As shown in (a) in the figure, add a black layer mask to the empty display area.

[0234] Optionally, when the electronic device responds to the downward quick sliding operation and triggers the process of switching the second window 502 from the split screen state to the minimized state, as shown in FIG. Fig. 9 As shown in (b) in FIG. 5 , the electronic device can gradually reveal the above-mentioned interface to be split, such as the desktop, in the display area on the right half of the screen occupied by the second window 502 .

[0235] Optionally, when the finger immediately leaves the electronic device screen, the second window 502 may also follow the inertia of the rapid sliding, continue to slide downward for a certain distance, and then retract to a minimized state.

[0236] Optionally, when the second window 502 slides along the sliding track of the finger, the window size of the second window 502 may be gradually reduced. When the second window 502 follows the inertia of the fast sliding and continues to slide down for a distance, the window size of the second window 502 may also continue to be gradually reduced during the sliding process.

[0237] Optionally, the electronic device can determine whether to trigger the minimized state display of the second window 502 according to whether the window size of the second window 502 is smaller than a preset size. When the second window 502 is reduced in size according to the finger sliding, and the reduced size is still larger than the preset size, the second window 502 can return to the original position and still be displayed in the original split-screen state.

[0238] In some scenarios, the above-mentioned sliding operation on the drag bar 504 on the second window 502 may be an operation of sliding downward normally to a preset position. The normal sliding operation may be understood as a gesture operation in which a user's finger (or stylus) touches the screen of the electronic device and slides from one position to another at a normal speed. The preset position may be a position whose distance from the bottom of the screen of the electronic device is less than or equal to a preset threshold (such as the position of the bottom edge of the screen), or a position less than or equal to 1 / 2 of the vertical width of the window.

[0239] For example, after the user's finger touches the drag bar 504 on the second window 502, the user does not lift the finger immediately, but continues to slide the finger downward from the drag bar 504 to a preset position, such as Fig. 9 As shown in (c), the user slides his finger downward to position B 601, and the distance between position B and the bottom of the screen is less than or equal to a preset threshold. If the user lifts his finger at this time, the electronic device can respond to the operation and trigger the process of switching the second window 502 from the split screen state to the minimized state. For example, the second window 502 is changed into a floating ball, and the first window 501 is displayed in full screen.

[0240] Alternatively, if Fig. 9 As shown in (c) in the figure, the electronic device can follow the user's finger sliding downward to position B 601, and synchronously move the position of the second window 502 downward. Among them, the drag bar 504 on the second window 502 is also synchronously located at position B 601. Part of the content of the second window 502 is not displayed because it is moved outside the screen of the electronic device. Similarly, the vacant display area in the right half of the display area occupied by the second window 502 can be blurred, grayed, or a layer mask can be added. Fig. 9 As shown in (c) in the figure, add a black layer mask to the empty display area.

[0241] Optionally, during the finger sliding process, the size of the second window 502 where the drag bar 504 is located can also be adaptively adjusted following the finger sliding track. Fig. 9 As shown in (d) in FIG. 5 , the electronic device can follow the user's finger sliding downward to position B 601, and simultaneously reduce the size of the second window 502. The drag bar 504 on the second window 502 is also synchronously located at position B 601. The application interface displayed in the second window 502 will also be adaptively adjusted as the size of the window changes. For example, as the window ratio decreases, the application interface displayed in the window will be reduced accordingly.

[0242] Optionally, when the electronic device responds to the operation of sliding down to the preset position and triggers the process of switching the second window 502 from the split screen state to the minimized state, the electronic device may also gradually reveal the interface to be split screen, such as the desktop, in the right half of the display area of ​​the screen occupied by the second window 502. Fig. 9 As shown in (e), when the electronic device detects that the user's finger slides downward to position B 601 (at this time the size of the second window 502 can be reduced synchronously), it starts to trigger the gradual display of the desktop in the right half display area of ​​the screen originally occupied by the second window 502.

[0243] In some scenarios, after the user's finger starts to slide down from the drag bar 504 to a preset position, the user may pause for a preset time (such as 0.5 seconds, 1 second, etc.) before lifting it. At this time, the electronic device can respond to the operation and trigger the process of switching the second window 502 from the split-screen state to the minimized state. In this way, by adding the operation of hovering for a preset time when sliding to the preset position, the probability of the user mistakenly starting to minimize the split-screen window can be effectively reduced.

[0244] For example, Fig. 9 As shown in (f) in FIG. 5 , after the user's finger touches the drag bar 504 on the second window 502, the user does not lift the finger immediately, but slides the finger downward from the drag bar 504 to the bottom edge 602 of the screen and stays there for 0.5 seconds. If the user's finger is lifted after hovering for 0.5 seconds, the electronic device can respond to the operation and trigger the process of switching the second window 502 from the split screen state to the minimized state.

[0245] Similarly, the electronic device can follow the user's finger sliding to the bottom edge 602 of the screen and synchronously move the position of the second window 502 or synchronously adjust the size of the second window 502. No further details will be given here.

[0246] In one scenario, a drag bar is applied to the split-screen window and is used to trigger a sliding operation of switching the split-screen window from a split-screen state to a minimized state, which may also be a horizontal sliding operation.

[0247] As an example, when the user wants to exit the split screen state of the second window 502 that is not used temporarily, the user can also perform the following operations: Fig.10 , as shown in (a) of FIG. 1 , a right sliding operation is performed on the drag bar 504 on the second window 502. When the electronic device detects the right sliding operation, it can respond to the right sliding operation by switching the second window 502 on which the drag bar 504 is slid from the split screen state to the minimized state, and switching the first window 501 from the split screen state to the full screen state. The video application displayed in the minimized second window 502 runs in the background, and the application interface of the video application is hidden.

[0248] In an embodiment of the present application, when the split-screen window whose drag bar is slid becomes minimized, there can be multiple minimization forms. Please refer to the aforementioned description of the minimization form, which will not be repeated here.

[0249] For example, taking the minimized state as the suspended ball state as an example, Fig.10 As shown in (b) of FIG. 1 , in response to the right sliding operation, the electronic device can collapse the second window 502 on which the drag bar 504 is slid to become a floating ball, and expand the first window 501 to full screen display. The floating ball is displayed floating on the first window 501 displayed in full screen state.

[0250] It can be understood that the above-described scenarios of minimizing the split-screen window to reveal the interface to be split, and the scenario of minimizing the split-screen window and clicking on a new application to change it into three split-screens, are also applicable to the above-mentioned scenario of triggering the minimization of the split-screen window by swiping right on the drag bar 504 on the second window 502.

[0251] Taking the minimized state as an example, in one scenario, the electronic device detects that Fig.10 When the drag bar 504 on the second window 502 is slid right as shown in (a) of FIG. 1 , in response to the right slid operation, the electronic device can not only minimize the second window 502 on which the drag bar 504 is slid to be not displayed, but also Fig.10 As shown in (c), the interface to be split, such as the desktop, is displayed in the right half display area of ​​the screen originally occupied by the second window 502. The first window 501 is still displayed in the original split screen state in the left half display area of ​​the screen.

[0252] Optionally, when the user clicks on an application icon of an application on the desktop, the electronic device can also quickly realize a new two-screen display of the application and the chat application that has been in a split-screen state before. Fig.10 As shown in (d) of FIG. 1 , when the user clicks the “Music” application icon 508 on the desktop, in response to the click operation, the electronic device may display the following in the display area on the right half of the screen: Fig.10 The music recommendation interface of the music application shown in (e) in FIG. Thus, a quick two-screen split of the music application and the chat application is achieved.

[0253] In this way, when the chat application and the video application are displayed in a split-screen, the user can slide the drag bar of a split-screen window that is not temporarily in use horizontally to retract the split-screen window and expose the desktop for the user to select a replacement split-screen application, thereby changing the original split-screen display of the chat application and the video application to a split-screen display of the newly added split-screen application and the chat application.

[0254] Optionally, when the user clicks on an application icon of an application on the desktop, the electronic device can also quickly realize a new three-screen display of the application and the previously split-screen displayed chat application and video application. Fig.10 As shown in (d) of FIG. 5 , when the user clicks the “music” application icon 508 on the desktop, in response to the click operation, the electronic device can restore the split-screen state of the chat application and the video application that were previously displayed in split screen, and add a split-screen window of the music application. At this time, the electronic device can display the following Fig.10 The split screen interface 509 shown in (f) of FIG. 5 includes a first window 501, a second window 502 and a third window 507. The three windows are all in split screen state and independently run the music application, the chat application and the video application. The user can independently operate the application interfaces displayed in the three windows. Thus, the music application, the chat application and the video application are quickly split into three parts.

[0255] In this way, when the chat application and the video application are displayed in a two-split screen, the user can slide the drag bar of one of the split-screen windows horizontally to retract the split-screen window and expose the desktop for the user to select a newly added split-screen application, thereby changing the original two-split screen display of the chat application and the video application to a three-split screen display of the newly added split-screen application, the chat application, and the video application.

[0256] It can be understood that the above scheme is also applicable to similar scenarios such as the transition from three-split screen to four-split screen, four-split screen to five-split screen, etc., and this application does not limit this. For example, if there are three split-screen windows in the split-screen interface, the user slides the drag bar of a split-screen window horizontally to retract the split-screen window and expose the desktop, and then the user selects a newly added split-screen application on the desktop, thereby triggering the original three-split screen display of the three split-screen windows to be changed to a four-split screen display of the newly added split-screen application window and the three split-screen windows.

[0257] In one scenario, the electronic device detects Fig.10 When the drag bar 504 on the second window 502 is slid right as shown in (a) of FIG. 1 , in response to the right slid operation, the electronic device can not only minimize the second window 502 on which the drag bar 504 is slid to be not displayed, but also Fig.10 As shown in (g), the screen interface to be split is displayed in the entire screen display area, such as the desktop, and the first window 501 that has not been slid is suspended and displayed at the edge of the screen of the electronic device with a preset width. In this way, after the user slides the drag bar of one of the two split screens horizontally, the split screen window is folded and not displayed, and the other split screen window is pushed to the edge of the screen and only a relatively narrow window edge portion is displayed, and then the screen interface to be split is exposed in full screen display.

[0258] Alternatively, if Fig.10 As shown in (h) of FIG. 1 , when the user clicks the “Music” application icon 508 on the desktop, in response to the click operation, the electronic device may enter the following Fig.10 The music recommendation interface of the music application shown in (i) in FIG. Fig.10 As shown in (i) in FIG. 5 , the music recommendation interface is also displayed in full screen. The second window 502 is still in a hidden state, and the first window 501 is still suspended and displayed at the edge of the screen of the electronic device with a preset width.

[0259] Optionally, in response to Fig.10 As shown in (h) of FIG. 1 , the user clicks the “Music” application icon 508 on the desktop, and the electronic device can also directly enter the following Fig.10 The two-screen interface of the music application and the chat application shown in (e) in FIG. 5 . The electronic device can expand the first window 501 adsorbed on the edge of the screen to the center of the screen, and at the same time display the application window for running the music application in the right half display area of ​​the screen. The first window 501 runs the chat application and displays the application interface of the chat application, and the second window 502 is still in a hidden state.

[0260] In this way, when the chat application and the video application are displayed in a two-split screen, the user slides horizontally the drag bar of a split-screen window that is not temporarily in use to collapse the split-screen window and hide it from display, and the other split-screen window is pushed to the edge of the screen and only a portion of it is displayed, exposing the desktop for the user to select a replacement split-screen application on the desktop, thereby changing the original two-split screen display of the chat application and the video application to a two-split screen display of the newly added split-screen application and the chat application.

[0261] Optionally, in response to Fig.10 As shown in (h) of FIG. 1 , the user clicks the “Music” application icon 508 on the desktop, and the electronic device can also directly enter the following Fig.10 The split screen interface of the music application and the previously split screen chat application and video application shown in (f) of FIG. 1 is shown. At this time, the electronic device has restored the split screen state of the previously split screen chat application and video application, and added a split screen window of the music application. Figure 8 As shown in (f) in the figure, the screen of the electronic device is divided into three windows, and the three windows independently run music applications, chat applications and video applications, respectively. Users can independently operate the application interfaces displayed in the three windows.

[0262] In this way, when the chat application and the video application are displayed in two split screens, after the user slides the drag bar of one of the split screen windows horizontally, the split screen window is folded and not displayed, and the other split screen window is pushed to the edge of the screen and only a part of it is displayed, and the desktop displayed in full screen is exposed. Then, by clicking on the desktop to select the newly added split screen application, the user can change the original two-split screen display of the chat application and the video application to a three-split screen display of the newly added split screen application, the chat application and the video application. This realizes the application scenario of switching from two split screens to three split screens.

[0263] It can be understood that the above interaction scenario is also applicable to the first window 501. When the user wants to exit the split-screen state of the first window 501, the user can also perform a left swipe operation on the drag bar 504 on the first window 501. When the electronic device detects the left swipe operation, it can respond to the left swipe operation and switch the first window 501 on which the drag bar 504 is slid from the split-screen state to the minimized state. The second window 502 can switch from the split-screen state to the full-screen state, or maintain the original split-screen state, or be displayed floating at the edge of the screen with a preset width. Please refer to the aforementioned minimization scenario of the second window 502, which will not be repeated here.

[0264] Similarly, the user can also perform a horizontal sliding operation on the drag bar of any application window in the split-screen interface to trigger the minimization of all application windows in the split-screen interface. Fig.10 When the drag bar 504 on the second window 502 is slid right as shown in (a), in response to the slid right operation, the electronic device can not only switch the second window 502 on which the drag bar 504 is slid from the split screen state to the minimized state, but also switch the first window 501 that has not been slid from the split screen state to the minimized state. For the description of minimizing all application windows in the split screen interface together, please refer to the description of performing a slid down operation on the drag bar of the application window to trigger the minimization of all application windows in the split screen interface, which will not be repeated here.

[0265] As an example, taking the minimized state as the floating narrow edge state as an example, in response to Fig.10 As shown in (a) of the figure, the electronic device can slide the drag bar 504 on the second window 502 to the right, Figure 8 As shown in (a), the second window 502 in the split screen interface 500 is folded to the right edge of the electronic device screen to become a floating narrow border, and the first window 501 can also be folded to the left edge of the electronic device screen to become a floating narrow border, and the full-screen display of the to-be-split screen interface, such as the desktop, is exposed in the middle of the screen. The floating narrow borders formed after the first window 501 and the second window 502 are minimized are both displayed in the to-be-split screen interface.

[0266] Optionally, in Figure 8 On the desktop shown in (a) of FIG. 1 , when the user clicks the “Music” application icon 801, in response to the click operation, the electronic device can also directly enter the following Figure 8 (d) shows a three-screen interface of the music application with the chat application and video application previously displayed in split screen.

[0267] Similarly, in some scenarios, the right sliding operation on the drag bar 504 on the second window 502 may be a quick sliding operation to the right, a normal sliding operation to the right to a preset position, or a sliding operation to the right to a preset position and hovering. The preset position may be a position whose distance from the side edge of the electronic device screen is less than or equal to a preset threshold (such as the position of the side edge of the screen), or a position less than or equal to 1 / 2 of the horizontal width of the window.

[0268] As an example, after the user's finger touches the drag bar 504 on the second window 502, the user does not lift the finger immediately, but quickly slides the finger from the drag bar 504 to the right for a short distance, such as Fig.11 As shown in (a) of FIG. 1 , the user's finger quickly slides to the right for a short distance to position C 603. If the finger immediately leaves the electronic device screen at this time, the electronic device can respond to the operation and trigger the process of switching the second window 502 from the split screen state to the minimized state. For example, the second window 502 is changed into a floating ball, and the first window 501 is displayed in full screen.

[0269] Alternatively, if Fig.11 As shown in (a) of FIG. 1 , the electronic device can quickly slide the user's finger to the right to the C position 603, and simultaneously quickly move the position of the second window 502 to the right. The drag bar 504 on the second window 502 is also synchronously located at the C position 603. Part of the content of the second window 502 is not displayed because it is moved outside the screen of the electronic device.

[0270] Optionally, the vacant display area in the right half of the display area of ​​the screen occupied by the second window 502 can be blurred, grayed, or a layer mask can be added. Fig.11 As shown in (a) in the figure, add a black layer mask to the empty display area.

[0271] In one scenario, when the electronic device responds to the rightward quick sliding operation and triggers the process of switching the second window 502 from the split screen state to the minimized state, such as Fig.11 As shown in (b) in FIG. 5 , the electronic device can gradually reveal the above-mentioned interface to be split, such as the desktop, in the display area on the right half of the screen occupied by the second window 502 .

[0272] Optionally, when the finger immediately leaves the electronic device screen, the second window 502 may also follow the inertia of the rapid sliding, continue to slide to the right for a distance, and then retract to a minimized state.

[0273] Alternatively, if Fig.11 As shown in (c) of FIG. 5 , the electronic device quickly slides rightward to position C 603 following the user's finger, and while quickly moving the position of the second window 502 to the right, the separator bar 503 can also be moved to the right synchronously, and the horizontal width of the first window 501 increases. The value of the increase in the horizontal width of the first window 501 is the same as the distance the second window 502 moves to the right.

[0274] As another example, after the user's finger touches the drag bar 504 on the second window 502, the user does not lift the finger immediately, but continues to slide the finger from the drag bar 504 to the right to a preset position. Fig.11 As shown in (d) in FIG. 1 , the user slides his finger to the right to the side edge 604 of the screen. If the user lifts his finger at this time, the electronic device can respond to the operation and trigger the process of switching the second window 502 from the split screen state to the minimized state. For example, the second window 502 is changed into a floating ball, and the first window 501 is displayed in full screen.

[0275] Alternatively, if Fig.11 As shown in (d) in FIG. 1 , the electronic device can follow the user's finger sliding to the right to the screen side edge 604, and synchronously move the position of the second window 502 to the right. The drag bar 504 on the second window 502 is also synchronously located at the screen side edge 604. Part of the content of the second window 502 is not displayed because it is moved outside the screen of the electronic device. Similarly, the electronic device can also add a black layer mask to the vacant display area in the right half of the screen display area occupied by the second window 502.

[0276] In one scenario, when the electronic device responds to the operation of sliding right to the preset position and triggers the process of switching the second window 502 from the split screen state to the minimized state, such as Fig.11 As shown in (e), the electronic device can also gradually reveal the above-mentioned interface to be split, such as the desktop, in the display area on the right half of the screen occupied by the second window 502.

[0277] Alternatively, if Fig.11 As shown in (f) in FIG. 1 , the electronic device follows the user's finger sliding to the right to the side edge 604 of the screen, and while moving the position of the second window 502 to the right, the separator 503 can also be moved to the right synchronously, and the horizontal width of the first window 501 increases. The value of the increase in the horizontal width of the first window 501 is the same as the distance the second window 502 moves to the right.

[0278] In some scenarios, after the user's finger slides rightward from the drag bar 504 to a preset position, it may pause for a preset time (such as 0.5 seconds) before lifting it. At this time, the electronic device may also respond to this operation and trigger the process of switching the second window 502 from the split-screen state to the minimized state.

[0279] In some scenarios, the user can also trigger the split-screen window to switch from the split-screen state to the minimized state by performing a sliding operation on the separator bar 503 on the split-screen interface.

[0280] In one scenario, the sliding operation on the separator bar 503 on the split screen interface may be an operation of sliding to a preset position. The preset position may be a position whose distance from the edge of the electronic device screen is less than or equal to a preset threshold (such as the position of the side edge of the screen), or a position less than or equal to a preset window width.

[0281] As an example, Fig.12 As shown in (a) of FIG. 5 , when the user wants to exit the split screen state of the second window 502 that is not used temporarily, the user can perform a sliding operation on the separator bar 503. Fig.12 As shown in (b), after the user's finger touches the separator bar 503, the user does not lift the finger immediately, but continues to slide the finger to the right from the separator bar 503 to the edge of the screen. Optionally, the electronic device can follow the rightward sliding of the user's finger and synchronously move the position of the separator bar 503 to the right to drag the separator bar 503 to the side of the second window 502 that needs to exit the split-screen state. Among them, after the separator bar 503 is dragged to the right, the width of the squeezed second window 502 decreases, and the width of the stretched first window 501 increases. When the electronic device detects that the separator bar 503 is dragged to the edge of the screen, the electronic device can switch the squeezed second window 502 from the split-screen state to the minimized state.

[0282] Optionally, when the user slides the separator bar 503 to the edge of the screen, the finger may stay for a preset time (such as 0.5 seconds) before lifting it, thereby reducing the probability of the user mistakenly starting the minimization of the split-screen window by increasing the preset hovering time.

[0283] In the embodiment of the present application, when the squeezed second window 502 becomes minimized, there may be multiple minimization forms. Please refer to the above description of the minimization forms, which will not be repeated here.

[0284] For example, taking the minimized state as the suspended ball state as an example, Fig.12As shown in (c) of FIG. 1 , in response to the operation of sliding the separator bar 503 to the edge of the screen, the electronic device can shrink the squeezed second window 502 to become a floating ball, and display the stretched first window 501 in full screen. The floating ball is displayed in a floating manner on the first window 501 displayed in full screen.

[0285] Optionally, when the finger slides the separator bar 503, the electronic device may perform blur processing, grayscale processing, or add a layer mask to the first window 501 and the second window 502, and display application icons at positions corresponding to the first window 501 and the second window 502. Fig.12 Since the first window 501 runs a chat application and the second window 502 runs a video application, the electronic device can display the application icon of the chat application at the window position corresponding to the first window 501 and display the application icon of the video application at the window position corresponding to the second window 502.

[0286] In this case, during the user operation, based on the position of the application icon and the separator bar, the user can determine the application running in each split-screen window and the upcoming state switch of the window, etc. In particular, when the split-screen applications used by the user have similar user interfaces, or the split-screen application used by the user is two cloned applications (i.e., the application is the same but can run independently), the user can easily determine whether the operation currently being performed can achieve the desired effect through the application icon.

[0287] It can be understood that the above scenario of triggering the minimization of the split-screen window by sliding the separator bar to the edge of the screen is also applicable to the possible implementation method described above of triggering the minimization of the split-screen window by sliding the drag bar on the split-screen window. For example, another split-screen window can be switched from a split-screen state to a full-screen state, or it can maintain the original split-screen state, or it can be folded to the edge of the screen and only a part can be displayed, and the split-screen window can be minimized to reveal the interface to be split, and the split-screen window can be minimized and clicked on a new application to turn it into a three-screen state, etc. I will not go into details here.

[0288] As an example, taking the minimized state as the hidden state as an example, the electronic device detects that Fig.12 When the sliding separator bar 503 shown in (b) of FIG. 1 is moved to the edge of the screen, in response to the sliding operation, the electronic device can not only minimize the squeezed second window 502 to be invisible, but also Fig.12 As shown in (e), the stretched first window 501 is retracted to the edge of the screen and only a portion is displayed, and the full-screen interface to be split is revealed, such as the desktop.

[0289] Similarly, when the user wants to exit the split-screen state of the first window 501, after the user's finger touches the separator bar 503, the user can continue to slide the finger from the separator bar 503 to the left to the edge of the screen to drag the separator bar 503 to the side of the first window 501 that needs to exit the split-screen state. The width of the squeezed first window 501 is reduced, and the width of the stretched second window 502 is increased. When the electronic device detects that the user's finger drags the separator bar 503 to the edge of the screen, the electronic device can switch the squeezed first window 501 from the split-screen state to the minimized state. The second window 502 can switch from the split-screen state to the full-screen state, or maintain the original split-screen state, or fold it to the edge of the screen and only display a portion. Please refer to the aforementioned minimization scenario of the second window 502, which will not be repeated here.

[0290] Similarly, the user can also slide the separator bar 503 to the edge of the screen to trigger the minimization of all application windows in the split screen interface. Fig.12 When the sliding separator bar 503 shown in (b) is operated to the edge of the screen, in response to the sliding operation, the electronic device can not only switch the squeezed second window 502 from the split screen state to the minimized state, but also switch the stretched first window 501 from the split screen state to the minimized state. Among them, the relevant description of minimizing all application windows in the split screen interface together can refer to the aforementioned description of performing a sliding operation on the drag bar of the application window to trigger the minimization of all application windows in the split screen interface, which will not be repeated here.

[0291] As an example, taking the minimized state as the floating narrow edge state as an example, in response to Fig.12 By sliding the separator bar 503 to the edge of the screen as shown in (b), the electronic device can not only Fig.12 As shown in (f), the second window 502 is folded to the right edge of the screen of the electronic device to become a floating narrow border, and the first window 501 can also be folded to the left edge of the screen of the electronic device to become a floating narrow border, and the full-screen display of the to-be-split screen interface, such as the desktop, is exposed in the middle of the screen. The floating narrow borders formed after the first window 501 and the second window 502 are minimized are both displayed in a floating manner on the to-be-split screen interface.

[0292] Similarly, in Fig.12 On the desktop shown in (f) in FIG. 1 , when the user clicks the application icon of a new application, in response to the click operation, the electronic device can also directly enter the three-screen interface of the new application and the previously split-screen displayed chat application and video application, such as Figure 8 As shown in (d) in FIG. No further details will be given here.

[0293] In one scenario, the above sliding operation on the separator bar 503 on the split-screen interface may also be a quick sliding operation.

[0294] As an example, Fig.13 As shown in (a) of FIG. 5 , after the user's finger touches the separator bar 503, the user does not lift the finger immediately, but Fig.13 As shown in (b) of FIG. 5 , the finger is quickly slid from the separator bar 503 to the right for a short distance to the D position 605. If the finger is immediately released from the electronic device screen at this time, the electronic device can respond to the operation and trigger the process of switching the second window 502 from the split screen state to the minimized state. For example, Fig.13 As shown in (c) in FIG. 5 , the second window 502 is changed into a floating ball, and the first window 501 is displayed in full screen.

[0295] Optionally, during the fast sliding of the finger, the separator bar 503 may also slide on the screen of the electronic device following the sliding of the finger. Fig.13 As shown in (b) of FIG. 1 , the electronic device can follow the user's finger to quickly slide to the right to the D position 605, and simultaneously quickly move the position of the separator bar 503 to the right. And the split screen ratio will also change accordingly after the separator bar 503 slides to the right quickly.

[0296] Optionally, when the finger immediately leaves the electronic device screen, the separator bar 503 may also follow the inertia of the rapid sliding, continue to slide to the right for a distance (such as sliding to the right edge of the screen), and then retract to a minimized state.

[0297] It is understandable that the above scenario of triggering the minimization of the split-screen window by sliding the separator bar 503 to the right is also applicable to the possible implementation method of triggering the minimization of the split-screen window by sliding the drag bar on the split-screen window described above.

[0298] Similarly, when the user wants to exit the split screen state of the first window 501, after the user's finger touches the separator bar 503, the user can quickly slide the finger from the separator bar 503 to the left for a short distance to trigger the process of switching the first window 501 from the split screen state to the minimized state. Please refer to the aforementioned minimization scenario of the second window 502, which will not be repeated here.

[0299] Similarly, the user can also trigger the minimization of all application windows in the split screen interface by quickly sliding the separator bar 503 to the right or left. Fig.13When the separator bar 503 is quickly slid to the right for a short distance as shown in (b), in response to the slid operation, the electronic device can not only switch the squeezed second window 502 from the split screen state to the minimized state, but also switch the stretched first window 501 from the split screen state to the minimized state. For the description of minimizing all application windows in the split screen interface together, please refer to the description of performing a sliding operation on the drag bar of the application window to trigger the minimization of all application windows in the split screen interface, which will not be repeated here.

[0300] In some scenarios, the user can also perform a sliding operation on the separation area between the two split-screen windows to trigger the minimization of all application windows in the split-screen interface. Fig.13 In the case of a swiping operation on the separator bar 503 shown in (d), in response to the swiping operation, the electronic device can switch the first window 501 and the second window 502 separated by the separator bar 503 from the split screen state to the minimized state. For the description of minimizing all application windows in the split screen interface together, please refer to the description of performing a swiping operation on the drag bar of the application window to trigger minimizing all application windows in the split screen interface, which will not be repeated here.

[0301] As an example, taking the minimized state as the floating narrow edge state as an example, in response to Fig.13 In the sliding operation on the partition bar 503 shown in (d) of FIG. 1 , the electronic device can Fig.13 As shown in (e), the first window 501 and the second window 502 on both sides of the dividing bar 503 are retracted to the edge of the screen of the electronic device to become floating narrow edges, and the full-screen interface to be split, such as the desktop, is exposed in the middle of the screen. Optionally, the second window 502 can be retracted to the right edge of the screen of the electronic device to become a floating narrow edge, and the first window 501 can be retracted to the left edge of the screen of the electronic device to become a floating narrow edge, so as to give the user a visual experience of sliding down from the dividing area in the middle of the split screen to push open both sides of the split screen windows. Among them, the floating narrow edges formed after the first window 501 and the second window 502 are minimized are both displayed in a floating manner on the interface to be split.

[0302] Optionally, in Fig.13 On the desktop shown in (e) in FIG. 8 , when the user clicks on the “music” application icon 801, in response to the click, the electronic device can also expand the first window 501 adsorbed on the left edge of the screen to the right (i.e., the center of the screen), and simultaneously expand the second window 502 adsorbed on the right edge of the screen to the left (i.e., the center of the screen), and display a newly added third window 507 for running the music application in the middle, thereby forming the following image: Fig.13(f) shows a three-screen interface of the music application and the chat application and video application that were previously displayed in split screen.

[0303] It can be understood that when the user's finger slides down on the separator bar 503, since it does not slide left or right, the size ratio of the two split-screen windows separated by the separator bar 503 will not change.

[0304] Optionally, the above-mentioned sliding operation on the dividing bar 503 may be a quick sliding operation downward. Fig.14 As shown in (a) of FIG. 5 , after the user's finger touches the top area of ​​the separator bar 503, the user does not lift the finger immediately, but quickly slides the finger downward from the top area of ​​the separator bar 503 for a short distance, as shown in FIG. Fig.14 As shown in (a) of FIG. 1 , the user quickly slides his finger downward to position E 606. If the finger immediately leaves the electronic device screen at this time, the electronic device can respond to the operation and trigger the process of switching the first window 501 and the second window 502 separated by the separator bar 503 from the split screen state to the minimized state.

[0305] Optionally, the above-mentioned sliding operation on the separator bar 503 may be an operation of sliding downward to a preset position. The preset position may be a position whose distance from the edge of the electronic device screen is less than or equal to a preset threshold (such as the position of the bottom edge of the screen), or a position greater than or equal to 1 / 2 of the length of the separator bar 503. For example, Fig.14 As shown in (b), after the user's finger touches the top area of ​​the separator bar 503, the user does not lift the finger immediately, but continues to slide the finger downward from the top area of ​​the separator bar 503 to the F position 607 close to the bottom of the screen. If the user's finger is lifted at this time, the electronic device can respond to the operation and trigger the above-mentioned process of switching the first window 501 and the second window 502 separated by the separator bar 503 from the split screen state to the minimized state.

[0306] It should be understood that the embodiment of the present application only uses the left-right split screen of the first window 501 and the second window 502 as an example for illustrative explanation, and the method provided in the embodiment of the present application is also applicable to the case of top-bottom split screen.

[0307] For example, Fig.15 As shown in (a) of FIG. 1 , the first window 501 and the second window 502 can be displayed side by side. When the user wants to exit the split screen state of the second window 502 that is not used temporarily, the user can perform the following operations: Fig.15In response to the right sliding operation, the electronic device can switch the second window 502 on which the drag bar 504 is slid from the split screen state to the minimized state, and switch the first window 501 from the split screen state to the full screen state. Fig.15 As shown in (c) of FIG. 5 , the right sliding operation of the drag bar 504 on the second window 502 may be a quick sliding operation to the right for a short distance. Fig.15 As shown in (d) in FIG. 5 , the right sliding operation on the drag bar 504 on the second window 502 may be a sliding operation to the right to a preset position such as the edge of the screen.

[0308] Optionally, when the user wants to exit the split screen state of the second window 502 that is not used temporarily, the user can also perform the following steps: Fig.15 In response to the sliding operation, the electronic device can switch the second window 502 on which the drag bar 504 is slid from the split screen state to the minimized state, and switch the first window 501 from the split screen state to the full screen state. Fig.15 As shown in (f) of FIG. 5 , the sliding operation on the drag bar 504 on the second window 502 may be a quick sliding operation downward for a short distance. Optionally, the sliding operation on the drag bar 504 on the second window 502 may be a sliding operation downward to a preset position such as a screen edge.

[0309] Optionally, when the user wants to exit the split screen state of the second window 502 that is not used temporarily, the user can also perform the following steps: Fig.16 The sliding operation of the separator bar 503 for separating the application windows up and down as shown in (a) of FIG. 5 is performed to slide the separator bar 503 toward the second window 502 that needs to exit the split screen state. The sliding operation can be as follows: Fig.16 The operation of sliding the separator bar 503 to a preset position such as the edge of the screen as shown in (b) may also be as follows Fig.16 In response to the sliding operation, the electronic device can Fig.16 As shown in (d), the squeezed second window 502 is switched from the split screen state to the minimized state, and the first window 501 is switched from the split screen state to the full screen state.

[0310] Optionally, the user can also perform Fig.16 The sliding operation shown in (e) of FIG. 5 is performed from the left area of ​​the separator bar 503 to the right area of ​​the separator bar to trigger the first window 501 and the second window 502 separated by the separator bar 503 to switch to the minimized state together. Fig.16 As shown in (f) in Fig.16 In the right swipe operation on the separator bar 503 shown in (e), the electronic device can retract the first window 501 and the second window 502 on both sides of the separator bar 503 to the edge of the screen of the electronic device to form floating narrow edges, and the full-screen interface to be split, such as the desktop, is exposed in the middle of the screen. This gives the user a visual experience of pushing open both sides of the split-screen windows by swiping left and right from the dividing area in the middle of the split screen. Among them, the floating narrow edges formed after the first window 501 and the second window 502 are minimized are both displayed in suspension on the interface to be split.

[0311] Optionally, when the user is in Fig.16 When the application icon of a new application is clicked on the desktop shown in (f), the electronic device can also be triggered to directly enter the three-screen interface of the new application and the chat application and video application that were previously displayed in split screen.

[0312] It can be understood that the above-mentioned description on triggering the minimization of the split-screen window by sliding the drag bar or separator bar of the split-screen window can be referred to the description of the aforementioned related embodiments, and will not be repeated here.

[0313] Optionally, the sliding operation on the separator bar or the drag bar is a sliding operation of a single touch point, such as the user touches the screen with only one finger and slides quickly to the right to implement a single-finger quick slide right operation.

[0314] In some scenarios, the user can also trigger the split-screen window to switch from the split-screen state to the minimized state by performing a sliding operation of multiple touch points on the split-screen window, such as a two-finger sliding operation. The minimized split-screen window may be the window where the multiple touch points are located, or all windows spanned by the multiple touch points, or all windows in the current split-screen interface.

[0315] In one scenario, the sliding operation of the multi-touch points on the split-screen window may be a multi-finger pinch operation, that is, a pinch operation of at least two fingers. For example, the multi-finger operation may be any multi-finger pinch operation such as a two-finger pinch operation, a three-finger pinch operation, a four-finger pinch operation, or a five-finger pinch operation.

[0316] Among them, the above-mentioned multi-finger pinching operation can be a pinching operation of any multiple fingers of the user. For example, the two-finger pinching operation can be a pinching operation of the thumb and index finger, or a pinching operation of the index finger and middle finger, or a pinching operation of the two index fingers of the user's two hands, etc. For example, the three-finger pinching operation can be a pinching operation of the thumb, index finger and middle finger. For example, the four-finger pinching operation can be a pinching operation of the thumb, index finger, middle finger and ring finger. Of course, different users have different habits of inputting multi-finger pinching operations on the screen, and the embodiments of the present application do not limit the specific form of the above-mentioned multi-finger pinching operation.

[0317] For example, when the user wants to exit the split screen state of the second window 502 that is not used temporarily, the user can execute the following steps: Fig.17 In response to the two-finger pinch operation, the electronic device may perform the following steps: Fig.17 As shown in (b) in FIG. 5 , the second window 502 where the touch point is located is switched from a split-screen state to a minimized state, and the first window 501 is displayed in full screen.

[0318] Optionally, in response to the above two-finger pinch operation, the electronic device may also minimize all application windows in the current split-screen interface together.

[0319] Optionally, the user may also perform a two-finger pinch operation across the first window 501 and the second window 502. In response to the two-finger pinch operation, the electronic device may also minimize the first window 501 and the second window 502 within the range spanned by the two finger touch points.

[0320] In one scenario, the sliding operation of multiple touch points on the split-screen window may also be a multi-finger expansion operation, that is, an expansion operation of at least two fingers. For example, the multi-finger expansion operation may be any multi-finger expansion operation such as a two-finger expansion operation, a three-finger expansion operation, a four-finger expansion operation, or a five-finger expansion operation.

[0321] For example, when the user wants to exit the split-screen state of the second window 502 that is not used temporarily, the user can perform a two-finger expansion operation on the second window 502. In response to the two-finger expansion operation, the electronic device can switch the second window 502 where the touch point is located from the split-screen state to the minimized state, and display the first window 501 in full screen. Optionally, in response to the above two-finger expansion operation, the electronic device can also minimize all application windows in the current split-screen interface together.

[0322] Optionally, the user can also execute Fig.17 In response to the two-finger expansion operation shown in (c) of FIG. 1 , the electronic device can also minimize the first window 501 and the second window 502 within the span of the two finger touch points. For example, the minimized state is the floating narrow edge state. Fig.17 As shown in (c) in FIG. 1 , in response to the two-finger spreading operation, the electronic device may Fig.17 As shown in (d) in the figure, the first window 501 and the second window 502 are pushed to the edges of the screen and only a part of them are displayed, and then the desktop is displayed in full screen, so as to give the user a visual experience of pushing open both split-screen windows by double-finger expansion operation.

[0323] In one scenario, the sliding operation of multiple touch points on the split-screen window can also be a sliding operation of multiple fingers to a preset position (such as the edge of the screen). For example, sliding two fingers together to the right edge of the screen. In response to this operation, the electronic device can switch the split-screen window where the touch points are located from a split-screen state to a minimized state. Optionally, when the touch points of multiple fingers fall on the same split-screen window, the electronic device can only minimize the split-screen window. Optionally, when the touch points of multiple fingers fall on at least two split-screen windows, the electronic device can only minimize the split-screen window where the touch points are located, or it can minimize the entire split-screen interface together.

[0324] In some scenarios, the above-mentioned solution of triggering the minimization of the split-screen window by quick sliding operation or sliding to a preset position or multi-finger operation is also applicable to the minimization of the full-screen window. In the existing solution, for the application window displayed in full-screen state, it is also necessary to first change to the floating window state, and then change from the floating window state to the floating ball state. If the user wants to use the application minimized to the floating ball later, the user can only restore it to the floating window state by clicking the floating ball, and cannot restore it to the full-screen state.

[0325] Therefore, an embodiment of the present application will provide a window display method. For an application window displayed in full screen state, the user can complete the display of the application window from full screen state to minimized state (such as floating icon) in one step with only one quick gesture operation.

[0326] like Fig.18 As shown in (a) of FIG. 1 , the electronic device displays a full-screen window 900 displayed in full-screen state. The full-screen window 900 independently runs an application and displays a corresponding application interface. For example, the application running in the full-screen window 900 is a chat application. When the user wants to exit the full-screen window 900 from the full-screen state, the user can perform the following operations: Fig.18 In (b) of FIG. 1 , a horizontal sliding operation is performed on the top of the full-screen window 900. In response to the operation, the electronic device can switch the slid full-screen window 900 from the full-screen state to the minimized state. Optionally, the horizontal sliding operation can be a quick sliding operation to the right (or left), or a sliding operation from the middle position of the window to a preset position. The preset position can be a position whose distance from the edge of the electronic device screen is less than or equal to a preset threshold (such as the position of the edge of the screen).

[0327] For example, taking the minimized state as the suspended ball state as an example, Fig.18 As shown in (c) of FIG. 1 , after the user's finger touches the bottom area of ​​the full-screen window 900, the user does not lift the finger immediately, but continues to slide the finger to the right to drag the full-screen window 900 until the middle position of the full-screen window 900 reaches the edge of the screen. If the user lifts the finger at this time, in response to the operation, the electronic device can Fig.18 As shown in (d), the slid full-screen window 900 is minimized to a floating ball, and the desktop is exposed.

[0328] Optionally, when the user wants to exit the full screen window 900 from the full screen state, the user can also perform the following steps: Fig.18 In (e) of the figure, a horizontal sliding operation is performed at the bottom of the full-screen window 900. In response to the operation, the electronic device can switch the slid full-screen window 900 from the full-screen state to the minimized state. Optionally, the horizontal sliding operation can be a quick sliding operation to the right (or left), or a sliding operation from the middle position of the window to a preset position. The preset position can be a position whose distance from the edge of the electronic device screen is less than or equal to a preset threshold (such as the position of the edge of the screen).

[0329] For example, taking the minimized state as the suspended ball state as an example, Fig.18 As shown in (f) in FIG. 1 , after the user's finger touches the bottom area of ​​the full-screen window 900, the user does not immediately lift the finger, but quickly slides the finger to the right for a short distance. If the user's finger immediately leaves the electronic device screen in response to the operation, the electronic device can Fig.18 As shown in (d), the slid full-screen window 900 is minimized to a floating ball, and the desktop is exposed (or the application windows of other applications that have been recently opened are displayed).

[0330] Alternatively, if Fig.18 As shown in (f) in FIG. 1 , the electronic device can follow the user's finger to quickly slide to the right for a short distance, and synchronously move the position of the full-screen window 900 to the right for a short distance. Optionally, when the finger quickly slides to the right for a short distance and immediately leaves the electronic device screen, the full-screen window 900 can also follow the inertia of the fast sliding, continue to slide to the right for a distance, and then retract to a minimized state.

[0331] Optionally, when the user wants to exit the full-screen window 900 from the full-screen state, the user can also perform a multi-finger operation on the full-screen window 900, such as a two-finger pinch operation. In response to the multi-finger operation, the electronic device can switch the full-screen window 900 where the touch point is located from the full-screen state to the minimized state and expose the desktop.

[0332] In some scenarios, the above-mentioned solution of triggering minimization of the split-screen window through multi-finger operation is also applicable to minimizing the full-screen window + floating window together.

[0333] like Fig.19As shown in (a) of FIG. 1 , the electronic device displays a full-screen window 900 displayed in a full-screen state and a floating window 901 displayed in a floating window state. The full-screen window 900 and the floating window 901 each independently run an application and display a corresponding application interface. For example, the application running in the full-screen window 900 is a chat application, and the application running in the floating window 901 is a music application. When the user wants to minimize the full-screen window 900 and the floating window 901 together, the user can perform the following operations: Fig.19 The multi-finger sliding operation shown in (b) is a two-finger sliding operation in which the user touches the full-screen window 900 with one finger and touches the drag bar of the floating window 901 with another finger, and slides to the right at the same time. The two-finger sliding operation can be a two-finger quick sliding operation, or an operation in which any finger slides to a preset position, or a sliding operation in which the middle position of any window reaches the preset position. The preset position can be a position whose distance from the edge of the electronic device screen is less than or equal to a preset threshold (such as the position of the edge of the screen).

[0334] For example, when the electronic device detects that a touch point reaches the edge of the screen, or the middle position of the floating window (i.e., the position of the drag bar) reaches the edge of the screen, or the middle position of the full-screen window reaches the edge of the screen, the electronic device can Fig.19 As shown in (c) in FIG. 1 , the full screen window 900 and the floating window 901 are minimized together into a floating ball 902 , and the desktop is exposed.

[0335] Among them, the display style of the floating ball formed when the full-screen window 900 and the floating window 901 are minimized together may be different from the display style of the floating ball formed when the aforementioned single application window is minimized. For example, the floating ball formed when a single application window is minimized may only display the application icon of the application run by the application window, while the floating ball formed when the interface including the full-screen window 900 and the floating window 901 is minimized may display the application icons of the applications run by the full-screen window 900 and the floating window 901 respectively. The display status of the application icon is consistent with the status of the full-screen window 900 and the floating window 901 in the interface. Fig.19 The floating ball 902 shown in (c) displays an application icon of a chat application and an application icon of a music application, and the application icon of the music application is displayed in a smaller form floating above the application icon of the chat application, which is consistent with the display status of the full screen window 900 and the floating window 901.

[0336] Optionally, when the user wants to minimize the full screen window 900 and the floating window 901 together, the user can also perform the following steps: Fig.19 The multi-finger pinch operation shown in (d) in FIG. 1 is a two-finger pinch operation in which the user touches the full-screen window 900 with one finger and touches the floating window 901 with another finger, and slides the two fingers relative to each other. In response to this operation, the electronic device can Fig.19 As shown in (c) in FIG. 1 , the full screen window 900 and the floating window 901 are minimized together into a floating ball 902 , and the desktop is exposed.

[0337] In some scenarios, the above-mentioned solution of triggering the minimization of the split-screen window through multi-finger operation is also applicable to minimizing the split-screen window + the floating window together. For example, the electronic device displays two split-screen interfaces and a floating window displayed in a floating window state. The two split-screen windows and the floating window of the two split-screen interfaces independently run an application and display the corresponding application interface. For example, the applications run by the two split-screen windows are a chat application and a video application, respectively, and the application run by the floating window is a music application. When the user wants to minimize the split-screen window + the floating window together, the user can perform a two-finger pinch operation of touching any split-screen window with one finger and touching the floating window with the other finger. In response to this operation, the electronic device can minimize the two split-screen interfaces and the floating window together into a floating ball and expose the desktop.

[0338] In some scenarios, the above-mentioned solution of triggering minimization of the split-screen window through multi-finger operation is also applicable to minimizing multiple floating windows together.

[0339] like Fig. 20 As shown in (a) of FIG. 1 , the electronic device displays a full-screen window 900 displayed in full screen state and two floating windows 901 and 903 displayed in floating window state. The full-screen window 900, the floating window 901, and the floating window 903 each independently run an application and display a corresponding application interface. For example, the application running in the full-screen window 900 is a chat application, the application running in the floating window 901 is a music application, and the application running in the floating window 903 is a video application. When the user wants to minimize the floating window 901 and the floating window 903 together, the user can perform the following operations: Fig. 20 The multi-finger sliding operation shown in (b) is a two-finger sliding operation in which the user touches the full-screen window 900 with one finger and touches the drag bar of the floating window 903 with another finger, and slides to the right at the same time. The two-finger sliding operation can be a two-finger quick sliding operation, or an operation in which any finger slides to a preset position, or a sliding operation in which the middle position of any window reaches the preset position. The preset position can be a position whose distance from the edge of the electronic device screen is less than or equal to a preset threshold (such as the position of the edge of the screen).

[0340] For example, when the electronic device detects that a touch point reaches the edge of the screen, or the middle position of the floating window (i.e., the position of the drag bar) reaches the edge of the screen, or the middle position of the full-screen window reaches the edge of the screen, the electronic device can Fig. 20As shown in (c) in FIG. 1 , the floating window 901 , the floating window 903 and the full screen window 900 are minimized together into a floating ball 904 , and the desktop is exposed.

[0341] The floating ball formed by minimizing the full screen window 900 and multiple floating windows together can display the application icons of the applications respectively running in the full screen window 900 and multiple floating windows. The display status of the application icons is consistent with the status of the full screen window 900 and multiple floating windows in the interface. Fig. 20 The floating ball 904 shown in (c) displays the application icon of the chat application, the application icon of the music application and the application icon of the video application, and the application icon of the music application and the application icon of the video application are displayed in a smaller form floating on the application icon of the chat application, which is consistent with the display status of the full screen window 900 and the floating windows 901 and 903.

[0342] Optionally, the multi-finger sliding operation may also be a multi-finger pinching operation, that is, a two-finger sliding operation in which one finger touches the full-screen window 900 and another finger touches the floating window 903, and both fingers slide relative to each other at the same time. In response to the multi-finger pinching operation, the electronic device may Fig. 20 As shown in (c) in FIG. 1 , the floating window 901 , the floating window 903 and the full screen window 900 are minimized together into a floating ball 904 , and the desktop is exposed.

[0343] It can be understood that when there are three or more windows in the interface, a user can perform a two-finger sliding operation on any two different windows to trigger the minimization of the three or more windows in the interface.

[0344] Optionally, when the application running in the full-screen window 900 is a desktop application, when the user performs the above-mentioned multi-finger sliding operation, the electronic device responds to the operation by only minimizing the multiple floating windows together. Fig. 20 As shown in (d) in FIG. 1 , the full-screen window 900 displays a desktop interface. When the user performs a two-finger pinch operation in which one finger touches the desktop and another finger touches the floating window and slides the two fingers relative to each other at the same time, the electronic device can Fig.21 As shown, only the floating window 901 and the floating window 903 are minimized together to a floating ball 905, and are suspended on the full screen window 900 showing the desktop. Among them, the floating ball formed after the multiple floating windows are minimized together can display the application icons of the applications run by the multiple floating windows respectively.

[0345] In an embodiment of the present application, when the user needs to use a window displayed in a minimized state again, the window display method provided by the present application can also quickly restore the historical display state before the window was minimized (such as a split-screen state with two split screens and upper and lower split screens, or a full-screen state, or a full-screen + floating window state).

[0346] When the electronic device minimizes a window, the content and state of the window can be stored to record what application is minimized and what the display state was before minimization. Thus, when the electronic device needs to restore the state before the window is minimized, the electronic device can accurately restore the window display according to the recorded content and state of the window.

[0347] In one scenario, for the case where there is only one window displayed in a minimized state in the current interface, if the window is a split-screen window, the user can not only restore the split-screen state before the window is minimized by entering the three-screen scene through the aforementioned two-split-screen, such as clicking the application icon on the desktop to open another application, so that the minimized second window 502 is restored to the split-screen state, but the user can also restore the split-screen state before the window is minimized by operating the minimized form of the window. If the window is a full-screen window or other windows such as full-screen + floating window or split-screen + floating window, the user can also restore the full-screen state or full-screen + floating window state or split-screen + floating window state before the window is minimized by operating the minimized form of the window. Among them, the minimized form includes the above-mentioned floating ball, floating bar, floating narrow edge, application icon in the dock bar, and hidden display. In the following embodiments, the minimized form of the floating ball will be used as an example for explanation.

[0348] In the embodiment of the present application, in the case where there is only one floating ball in the current interface, the user can directly restore the state before the floating ball is displayed by operating the floating ball.

[0349] Optionally, when the single floating ball is a floating ball formed after a single split-screen window is minimized, the user can directly restore the split-screen state before the floating ball is displayed by operating the floating ball.

[0350] like Fig. 22 As shown in (a) in the figure, the electronic device displays a full-screen window 1000 displayed in full screen state and a single floating ball 1001. The full-screen window 1000 can run an application, that is, display an application interface, or run a desktop, that is, display a desktop. The single floating ball 1001 is an application icon of an application running in a split-screen window 1002 that was recently minimized. When the electronic device detects an operation (such as a click operation) acting on the floating ball 1001, in response to the operation, the electronic device can restore the split-screen state of the minimized split-screen window 1002, and at the same time switch the full-screen window 1000 currently displayed in full screen to a split-screen state to display the following. Fig. 22 The split-screen interface shown in (b).

[0351] Alternatively, if Fig. 22As shown in (c) of FIG. 1 , when the most recently minimized split-screen window 1002 is the aforementioned minimized second window 502, the floating ball 1001 is the application icon of the video application running in the second window 502. If the current full-screen window 1000 is the aforementioned first window 501 (running a chat application) that was displayed in split screen together before the second window 502 was minimized, after the user clicks the floating ball 1001 of the minimized second window 502, the electronic device can directly restore the display as shown in FIG. Fig. 22 The split-screen interface of the chat application and the video application shown in (d) in FIG.

[0352] When the electronic device minimizes the second window 502, the electronic device can cache the application interface of the video application running in the second window 502 and the split screen state of the second window 502 (such as left and right split screen and located in the right split screen). When the electronic device needs to restore the state before the second window 502 is minimized, the electronic device can accurately complete the restoration display of the window according to the recorded application interface and split screen state of the video application. For example, the electronic device enters the left and right split screen interface and places the second window 502 running the application interface of the video application in the right split screen. The electronic device can push the full screen window 1000 originally displayed on the current screen to the left to display it in a split screen state.

[0353] Since the full screen window 1000 is still the first window 501 that was displayed in split screen before the second window 502 was minimized, when the split screen state before minimization is restored, the other split screen application in the split screen interface does not change. In this way, when the first window 501 and the second window 502 are displayed in split screen, after the user minimizes the second window 502 to a floating ball, the user can also restore the split screen display of the first window 501 and the second window 502 by clicking the floating ball.

[0354] Alternatively, if Fig. 22 As shown in (e) in FIG. 1 , if the full-screen window 1000 is already an application window of another application after switching, such as an application window of a music application, after the user clicks the floating ball 1001 of the minimized second window 502, the electronic device can restore the split-screen state of the second window 502 while switching the application window of the currently used music application to the split-screen state, so as to achieve the following. Fig. 22 (f) shows the split-screen interface of the video application and the music application currently in use.

[0355] It can be understood that when the electronic device restores the display of the second window 502 according to the recorded application interface of the video application running in the second window 502 and the split-screen state of the second window 502 (such as left and right split-screen and located in the right split-screen), the electronic device can enter the left and right split-screen interface and place the second window 502 running the application interface of the video application in the right split-screen, and push the full-screen window 1000 originally displayed on the current screen to the left to display it in a split-screen state. Since the full-screen window 1000 has been switched to the application window of the music application, when restoring the split-screen state before minimizing the second window 502, another split-screen application in the split-screen interface has changed. In this way, when the first window 501 and the second window 502 are displayed in split-screen, the user can minimize the second window 502 to a floating ball and use the application in the first window 501 in full screen, and then the user can switch to other applications instead of using the application in the first window 501. However, if the user wants to restore the split-screen display of the second window 502 at this time, the user can restore the split-screen display of the windows of other applications currently being used and the second window 502 by clicking the floating ball, rather than the original split-screen display of the first window 501 and the second window 502.

[0356] Optionally, when the single floating ball is a floating ball formed by minimizing multiple split-screen windows, for example, in response to Fig.23 In the sliding operation starting from the top area of ​​the dividing bar 503 shown in (a), the electronic device can Fig.23 As shown in (b), the first window 501 and the second window 502 in the split-screen interface are minimized together into a floating ball 800, and the user can directly restore the split-screen state of the multiple split-screen windows before the floating ball is displayed by operating the floating ball. When the electronic device minimizes the multiple split-screen windows together, the electronic device can cache the application interfaces of the various applications running in the multiple split-screen windows, and the split-screen state of the multiple split-screen windows (such as the first window 501 is located in the left split-screen and the second window 502 is located in the right split-screen).

[0357] For example, if the user wants to restore the previous state of the floating ball, the user can do the following: Fig.23 In the example of FIG. 10 (b), the minimized floating ball 800 is clicked. In response to the operation, the electronic device can restore the display of the first window 501 and the second window 502 according to the recorded contents and states. Fig.23 The split screen interface of the first window 501 and the second window 502 shown in (c) is the split screen interface before minimization (such as Fig.23 is consistent with that shown in (a) above.

[0358] It can be understood that since the split-screen state of the first window 501 and the second window 502 covers the entire electronic device screen, even if the electronic device currently displays application windows of other applications, they will be covered by the restored split-screen interface of the first window 501 and the second window 502.

[0359] Optionally, when the single floating ball is a floating ball formed after the full-screen window is minimized, for example, in response to Fig.24 In the horizontal sliding operation at the top of the full screen window 900 shown in (a), the electronic device can Fig.24 As shown in (b) of FIG. 1 , the sliding full-screen window 900 is minimized to a floating ball, and the user can directly restore the full-screen state of the full-screen window 900 before the floating ball is displayed by operating the floating ball, such as Fig.23 As shown in (c) in the figure. When the electronic device minimizes the full-screen window, the electronic device can cache the application interface of the application running in the full-screen window and the full-screen state of the full-screen window. It can be understood that since the full-screen window 900 covers the entire electronic device screen, even if the electronic device currently displays application windows of other applications, they will be covered by the restored full-screen window 900.

[0360] Optionally, when the above-mentioned single floating ball is a floating ball formed after the floating window is minimized, the user can directly restore the floating window state before the floating ball is displayed by operating the floating ball. Among them, when the electronic device minimizes the floating window, the electronic device can cache the application interface of the application running in the floating window, as well as the floating window state of the floating window. It can be understood that since the floating window does not cover the entire electronic device screen and is displayed in suspension on other user interfaces, when the electronic device currently displays a desktop or split-screen interface or a full-screen window of other applications, the restored floating window will also be displayed in suspension on the currently displayed desktop or split-screen interface or the full-screen window of other applications.

[0361] Optionally, when the single floating ball is a floating ball formed by minimizing the full screen window and the floating window together, for example, in response to the following Fig.25 As shown in (a) of FIG. 1 , one finger touches the full screen window 900, and another finger touches the floating window 901, and a two-finger pinch operation is performed with relative sliding. The electronic device can be as follows Fig.25 As shown in (b) of FIG. 1 , the full screen window 900 and the floating window 901 are minimized together to a floating ball 902. The user can directly restore the full screen window + floating window state before the floating ball is displayed by operating the floating ball 902, as shown in FIG. Fig.25As shown in (c) in the figure. Among them, when the electronic device minimizes the full-screen window + the floating window together, the electronic device can cache the application interface of the application running in the full-screen window and the floating window, as well as the window status of the full-screen window + the floating window. It can be understood that since the entire interface of the full-screen window + the floating window has covered the entire electronic device screen, even if the electronic device currently displays the full-screen window of other applications, it will be covered by the entire interface of the restored full-screen window + the floating window.

[0362] Optionally, when the above-mentioned single floating ball is a floating ball formed after the split-screen window + the floating window are minimized together, the user can directly restore the split-screen window + the floating window state before the floating ball is displayed by operating the floating ball. When the electronic device minimizes the split-screen window + the floating window together, the electronic device can cache the application interface of the application running in the split-screen window and the floating window, as well as the window state of the split-screen window + the floating window.

[0363] Optionally, when the above-mentioned single floating ball is a floating ball formed by minimizing a full-screen window + multiple floating windows together, the user can directly restore the full-screen window + multiple floating windows state before the floating ball is displayed by operating the floating ball. Among them, when the electronic device minimizes the full-screen window + multiple floating windows together, the electronic device can cache the application interface of the application running by the full-screen window and the multiple floating windows, and the window state of the full-screen window + multiple floating windows.

[0364] Optionally, when the above-mentioned single floating ball is a floating ball formed after multiple floating windows are minimized together, the user can directly restore the multiple floating window states before the floating ball is displayed by operating the floating ball. Among them, when the electronic device minimizes multiple floating windows together, the electronic device can cache the application interface of the application running by the multiple floating windows, as well as the window status of the multiple floating windows. It can be understood that since multiple floating windows are displayed in a floating manner on other user interfaces, when the electronic device currently displays a desktop or split-screen interface or a full-screen window of other applications, the restored multiple floating windows will also be displayed in a floating manner on the currently displayed desktop or split-screen interface or the full-screen window of other applications.

[0365] In the embodiment of the present application, in the case where there are multiple floating balls in the current interface, the user can trigger the electronic device to preview and display the display states before the multiple floating balls are switched by operating the floating balls.

[0366] like Fig.26As shown in (a) of FIG. 1 , the electronic device displays a full-screen window 1000 displayed in full screen state and a plurality of stacked floating balls 1003. When the electronic device detects an operation (such as a click operation) acting on the stacked floating balls 1003, in response to the operation, the electronic device may expand and display a preview interface 1004, which may include a plurality of previous historical display states of the floating balls.

[0367] Among them, the multiple stacked floating balls 1003 may include: a floating ball formed after a single split-screen window is minimized, a floating ball formed after multiple split-screen windows are minimized, a floating ball formed after a full-screen window is minimized, a floating ball formed after a floating window is minimized, a floating ball formed after a full-screen window + a floating window are minimized together, a floating ball formed after a split-screen window + a floating window are minimized together, a floating ball formed after a full-screen window + multiple floating windows are minimized together, and at least one type of floating ball is formed after multiple floating windows are minimized together. Correspondingly, the preview interface 1004 may include: at least one type of display state, such as a full-screen state, a top-bottom split-screen state, a left-right split-screen state, a multi-split-screen state (including a three-split-screen state, etc.), a full-screen + floating window state, a split-screen + floating window state, and the like.

[0368] As an example, a plurality of stacked floating balls 1003 include a floating ball 1 formed after a single split-screen window A is minimized, a floating ball 2 formed after a floating window B is minimized, and a floating ball 3 formed after a full-screen window C is minimized. After the user clicks on the plurality of stacked floating balls 1003, as shown in FIG. Fig.26 As shown in (b) in the figure, in response to the operation, the electronic device can expand and display a preview interface 1004, which can include the display state before the floating ball 1, that is, an interface thumbnail 1005 of the split-screen window A displayed in a split-screen state. The interface thumbnail can reflect the application interface of application A running in the split-screen window A, as well as the split-screen display style of the split-screen window A, such as two split screens, upper and lower split screens, and the split-screen window A is located in the lower split screen. In this way, the user can clearly and accurately know the restored display effect of the minimized application A in advance through the split-screen style interface thumbnail.

[0369] like Fig.26 As shown in (b) of FIG. 1 , the preview interface 1004 may also include the display state before the floating ball 2, that is, the interface thumbnail 1006 of the floating window B displayed in the floating window state. The interface thumbnail may reflect the application interface of the application B running in the floating window B, and the floating window display style of the floating window B. In this way, the user can clearly and accurately know the restored display effect of the minimized application B in advance through the interface thumbnail in the floating window style.

[0370] Optionally, when the number of interface thumbnails displayed on the preview interface is large, the electronic device can display the interface thumbnails of multiple floating balls in pages. The user can trigger the electronic device to switch to display the interface thumbnails of each page by sliding the preview interface up and down or left and right. Fig.26 The preview interface 1004 shown in (b) performs an upward sliding operation, and in response to the upward sliding operation, as shown in FIG. Fig.26 As shown in (c) in FIG. 1 , the preview interface 1004 may display the display state before the floating ball 3, that is, an interface thumbnail 1007 of the full-screen window C displayed in full-screen state. The interface thumbnail may reflect the application interface of the application C running in the full-screen window C, and the full-screen display style of the full-screen window C. In this way, the user can clearly and accurately know the restored display effect of the minimized application C in advance through the full-screen style interface thumbnail.

[0371] Optionally, the preview interface can be displayed suspended on the current user interface. The current user interface can also be pushed to one side to free up a display area to display the preview interface, so as to avoid affecting the user's viewing of the current user interface.

[0372] It is understandable that when an electronic device minimizes a window, the content and state of the window can be stored to record what application is minimized and what the display state was before minimization. Therefore, when the electronic device needs to preview the state of the window before minimization, the electronic device can display the interface thumbnails of each window in the historical display state on the preview interface according to the recorded content and state of the window.

[0373] As an example, Fig. 27 As shown in (a) of FIG. 1 , the full-screen window 1000 displayed by the electronic device is a full-screen window of a music application, and multiple stacked floating balls 1003 include a floating ball formed by minimizing a split-screen window of a video application (such as the aforementioned second window 502) and a floating ball formed by minimizing a floating window of a note application. When the user clicks the floating ball 1003, the electronic device can display a preview interface 1004 on the full-screen window 1000. Fig. 27 As shown in (b) of FIG. 1 , the preview interface 1004 may include an interface thumbnail 1008 when the video application is displayed in a split-screen state before switching to the floating ball. Optionally, identification information 1009 of the minimized video application may be displayed on the interface thumbnail 1008. Thus, the user can clearly and accurately know the minimized application information and the restored display effect of the application in advance through the preview interface thumbnail.

[0374] Optionally, the interface thumbnail 1008 when displayed in a split-screen state may only include the interface content and split-screen state of the minimized video application, and does not include the interface content and split-screen state of other applications displayed in split-screen with the video application.

[0375] Optionally, the interface thumbnail 1008 displayed in split-screen state may include not only the interface content and split-screen state of the minimized video application, but also the interface content and split-screen state of other applications displayed in split-screen with the video application. The interface content of other applications displayed in split-screen with the video application may be the interface content currently displayed on the electronic device screen.

[0376] like Fig. 27 As shown in (b) of FIG. 1 , the preview interface 1004 may also include an interface thumbnail 1010 of the note application when it is displayed in a floating window state before the note application is switched to a floating ball. Optionally, the interface thumbnail 1010 may also display identification information 1009 of the minimized note application.

[0377] When the user needs to restore the previous display state of the minimized video application, such as Fig. 27 As shown in (c) of FIG. 1 , the user can click on the interface thumbnail 1008 in the preview interface 1004 when it is displayed in a split-screen state, so that the electronic device can confirm that the user needs to restore the display state of the video application before switching to the floating ball. At this time, the electronic device can respond to the click operation, restore the split-screen state of the minimized video application, and simultaneously switch the music application currently displayed in full screen to a split-screen state, so as to display the video application as shown in FIG. Fig. 27 The split-screen interface shown in (d) in the figure. In the split-screen interface, the video application and the music application are displayed in a left and right split-screen, and the video application is located in the right split-screen area, which is consistent with the interface thumbnail 1008 when the preview interface 1004 is displayed in a split-screen state, and is also consistent with the state in which the video application is displayed in a split-screen state before being minimized.

[0378] When the user needs to restore the previous display state of the minimized music application, such as Fig. 27 As shown in (e) of FIG. 1 , the user can click on the interface thumbnail 1010 displayed in the floating window state in the preview interface 1004, so that the electronic device can confirm that the user needs to restore the display state of the note application before switching to the floating ball. At this time, the electronic device can respond to the click operation and restore the floating window state of the minimized note application, and Fig. 27 The floating display shown in (f) is above the music application currently displayed in full screen. At this time, the way the note application is displayed in a floating window state is consistent with the interface thumbnail 1010 when it is displayed in a floating window state in the preview interface 1004, and is also consistent with the state of the note application being displayed in a floating window before being minimized.

[0379] Similarly, when multiple stacked floating balls 1003 include a floating ball formed by minimizing a full-screen window + a floating window, or a floating ball formed by minimizing multiple floating windows, after the user clicks the floating ball 1003, the electronic device can also display a preview interface 1004 on the full-screen window 1000. Fig.28 As shown in (a) of FIG. 1 , the preview interface 1004 may include an interface thumbnail 1012 when the full-screen window + floating window is displayed as a full-screen window + floating window before the full-screen window + floating window is switched to a floating ball. Optionally, the interface thumbnail 1012 may display identification information 1013 of the minimized full-screen window application and the floating window application, such as a chat application in a full-screen window and a video application in a floating window. Thus, the user can clearly and accurately know the minimized application information and the restored display effect of the application in advance through the preview interface thumbnail.

[0380] like Fig.28 As shown in (a) of FIG. 1 , the preview interface 1004 may also include an interface thumbnail 1014 when the multiple floating windows are displayed in a multiple floating window state before the multiple floating windows are switched to the floating balls. Optionally, the interface thumbnail 1014 may correspond to the identification information 1015 of the applications of the multiple floating windows that are minimized, such as the note application of the floating window and the SMS application of the floating window. Thus, the user can clearly and accurately know the minimized application information and the restored display effect of the application in advance through the preview interface thumbnail.

[0381] When the user needs to restore the display state of the minimized full-screen window + floating window, such as Fig.28 As shown in (b) of FIG. 1 , the user can click on the interface thumbnail 1012 of the preview interface 1004 when the full screen window + floating window is displayed, so that the electronic device can confirm that the user needs to restore the display state before the full screen window + floating window is switched to the floating ball. At this time, the electronic device can respond to the click operation and restore the minimized full screen window + floating window state to display the following image: Fig.28 The interface shown in (c) of FIG. 1 includes a chat application in a full-screen window and a video application in a floating window. The chat application in a full-screen window and the video application in a floating window in the interface are consistent with the interface thumbnail 1012 in the preview interface 1004, and are also consistent with the display state of the chat application and the video application before being minimized.

[0382] When the user needs to restore the display state of the minimized multiple floating windows, the user can also click on the interface thumbnail 1014 of the preview interface 1004 when the full screen window + floating window is displayed, so that the electronic device can confirm that the user needs to restore the display state of the multiple floating windows before switching to the floating ball. At this time, the electronic device can respond to the click operation and restore the minimized multiple floating windows to display the following. Fig.28 The floating window of the note application and the floating window of the SMS application shown in (d) are displayed floatingly on the music application currently displayed in full screen. The floating window of the note application and the floating window of the SMS application in this interface are consistent with the interface thumbnail 1014 in the preview interface 1004, and are also consistent with the display state of the note application and the SMS application before being minimized.

[0383] It can be understood that the above-mentioned method of restoring the display state before minimization through the floating ball and previewing the historical display state of multiple floating balls is also applicable to the scene where the minimization form is the floating bar, floating narrow edge, application icon in the dock bar, hidden display, etc. For example, taking the floating bar as an example, when the user clicks the floating bar or slides the floating bar into the screen, it can trigger the electronic device to restore the display state before minimization or display the above-mentioned preview interface.

[0384] In some embodiments, in addition to displaying the preview interface by triggering the minimized form as described above, the preview interface may also be displayed through the multi-task management interface, and the minimized form may not be displayed in the foreground at this time. Among them, the multi-task management interface may refer to an interface for managing and displaying application windows of applications in a running state. When there are multiple application windows in the multi-task management interface, the user can switch to open an application window at will. Among them, the applications in a running state may include but are not limited to applications running in the foreground and applications running in the background.

[0385] As an example, Fig.29 As shown in (a) of FIG. 1 , when the electronic device displays a full-screen window 1000 of a music application, the user can input a preset call-out gesture, such as a gesture of sliding upward from the bottom of the screen or long pressing the bottom area of ​​the screen. In response to the call-out gesture, the electronic device can enter the following Fig.29 The multi-task management interface shown in (b) in FIG. The multi-task management interface can switch the full-screen window 1000 of the music application to a floating window for display, and can also display the application windows of other applications that have been recently opened.

[0386] In the embodiment of the present application, the multi-task management interface can also display the historical display status of the most recently minimized window.

[0387] Taking the split-screen window of the video application (such as the aforementioned second window 502) as an example, the electronic device may enter the following Fig.29 After the multitasking management interface shown in (b) is displayed, the user slides the multitasking management interface left and right, and the multitasking management interface can be displayed as follows Fig.29 The interface thumbnail 1008 shown in (c) of FIG. 1008 is a split-screen display state before the video application is minimized. Optionally, the identification information of the minimized video application can also be displayed on the multi-task management interface.

[0388] Optionally, when the most recently minimized window is a full-screen window + a floating window, the electronic device may also display the following on the multitasking management interface: Fig.29 The interface thumbnail 1012 shown in (d) in FIG. 1 is a display state before the full-screen window application and the floating window application are minimized together. Optionally, the identification information of the minimized full-screen window chat application and the floating window video application can also be displayed on the multitasking management interface.

[0389] Optionally, when the most recently minimized window is a full-screen window + multiple floating windows, the electronic device may also display the following on the multi-tasking management interface: Fig.29 The interface thumbnail 1016 shown in (e) of FIG. 1 is a display state before the full-screen window application and multiple floating window applications are minimized together. Optionally, the identification information of the minimized full-screen window video application, the floating window note application, and the floating window SMS application can also be displayed on the multitasking management interface.

[0390] Similarly, when the most recently minimized window is a full-screen window, a split-screen window + a floating window, a floating window, etc., the electronic device may also display a corresponding interface thumbnail of the historical display state on the multitasking management interface.

[0391] Optionally, the user can select the minimized application to be restored from the multi-tasking management interface. Fig.29 As shown in (c) of FIG. 1 , after the user clicks to select the interface thumbnail 1008, in response to the click operation, the electronic device can restore the split-screen display state of the video application corresponding to the interface thumbnail 1008 before it is minimized. At this time, the electronic device can restore the split-screen state of the minimized video application and simultaneously switch the currently full-screen music application to the split-screen state to display the video application as shown in FIG. Fig.29The split-screen interface shown in (f) in the figure. In the split-screen interface, the video application and the music application are displayed in a left and right split-screen, and the video application is located in the right split-screen area, which is consistent with the interface thumbnail 1008 in the multitasking management interface and the state in which the video application is displayed in a split-screen state before being minimized.

[0392] It is understandable that, in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.

[0393] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0394] An embodiment of the present application also provides an electronic device, including a display screen, a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the electronic device implements each function or step performed by the electronic device in each of the above-mentioned method embodiments.

[0395] The embodiment of the present application also provides a window display device, which can be applied to the above electronic device and is used to execute the functions or steps executed by the electronic device in the above method embodiment.

[0396] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected through a line. The interface circuit can read the instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can perform the various functions or steps performed by the electronic device in the above method embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.

[0397] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the electronic device in the above-mentioned method embodiment.

[0398] The embodiment of the present application also provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes each function or step executed by the electronic device in the above method embodiment.

[0399] Among them, the electronic device, window display device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.

[0400] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0401] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0402] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0403] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0404] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0405] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A window display method, characterized in that: Applied to electronic equipment, the method comprises: Display a first interface, wherein the first interface includes a first window and a second window displayed in a first split-screen state, the first window runs a first application, and the second window runs a second application; In response to a first operation, displaying the second window in a minimized state, wherein the first window is displayed in a preset state; In response to the second operation, displaying a second interface, the second interface including a first picture corresponding to the second window, the first picture being a split-screen thumbnail of the second window in the first split-screen state before being minimized; In response to a third operation applied to the first picture, the second window is restored to the first split-screen state display in the first picture, wherein the first window is displayed on one side of the second window.

2. The method according to claim 1, characterized in that The first window is displayed in a preset state, including: The size of the first window increases to be displayed in full screen mode; The first window is displayed on one side of the second window, and includes: The size of the first window is reduced to be displayed on one side of the second window.

3. The method according to claim 2, characterized in that before the second window is restored to the first split-screen state in the first picture, wherein the first window is displayed on one side of the second window, the first window is still displayed in the foreground in the full-screen state; The method further comprises: When the foreground updates and displays a third window in full-screen state, in response to the third operation, the second window is restored to the first split-screen state display in the first picture, wherein the third window is displayed on one side of the second window, and the third window runs a third application.

4. The method according to claim 1, characterized in that The first window is displayed in a preset state, including: The first window is still displayed in the first split-screen state, and the desktop is displayed on one side of the first window; The first window is displayed on one side of the second window, and includes: The first window is still displayed in the first split-screen state on one side of the second window, and the desktop is switched to the second window.

5. The method according to claim 4, characterized in that The second window is restored to the first split-screen state in the first picture, wherein before the first window is displayed on one side of the second window, the desktop is still displayed on one side of the first window; The method further comprises: When one side of the first window is updated and displayed as a third window, in response to the third operation, the second window is restored to the first split-screen state in the first picture, wherein the first window is still displayed in the first split-screen state on one side of the second window, the third window is switched to the second window, and the third window runs a third application.

6. The method according to claim 5, characterized in that The desktop includes a plurality of application icons, the plurality of application icons include an icon of the third application, and a side of the first window is updated and displayed as the third window, including: In response to a fourth operation on the icon of the third application, the first window is still displayed in the first split-screen state on one side of the second window, and one side of the first window is updated by the desktop and displayed as the third window.

7. The method according to claim 4, characterized in that The desktop includes a plurality of application icons, the plurality of application icons include an icon of a third application, and after the desktop is displayed on one side of the first window, the method further includes: In response to a fourth operation acting on the icon of the third application, a third interface is displayed, wherein the third interface includes the first window, the second window, and the third window displayed in a second split-screen state, wherein the third window runs the third application.

8. The method according to any one of claims 1 to 7, characterized in that: Before displaying the second window in a minimized state, the method further includes: In response to the first operation, acquiring a window display state of the second window and an application interface of the second application displayed in the second window; The first image corresponding to the second window is generated according to the window display state and the application interface of the second application.

9. The method according to any one of claims 1 to 8, characterized in that: The step of displaying the second window in a minimized state includes: hiding the second window and displaying a first mark, where the first mark is used to identify the minimized second window; or The second window is hidden, and before hiding the second window, the size of the second window is gradually reduced until the second window is hidden.

10. The method according to claim 9, characterized in that When the second window is hidden and the first identifier is displayed, the second operation is a touch operation on the first identifier.

11. The method according to claim 9, characterized in that The first interface further includes a second identifier, and the second identifier is used to identify other minimized windows, wherein the second identifier includes at least a single identifier or a plurality of stacked identifiers; After hiding the second window and displaying the first mark, the method further includes: The first identifier and the second identifier are stacked to generate a third identifier including the first identifier and the second identifier.

12. The method according to claim 11, characterized in that The second operation is a touch operation on the third identifier, and the second interface also includes other pictures corresponding to the other windows, and the other pictures are state thumbnails of the other windows in the window display state before minimization.

13. The method according to any one of claims 9 to 12, characterized in that: The displaying of the first identification comprises: Floating and displaying a floating ball corresponding to the second window; or The floating bar corresponding to the second window is displayed in a floating manner and adsorbed on the edge of the screen of the electronic device; or The floating narrow edge corresponding to the second window is displayed in a floating manner and adsorbed on the edge of the screen of the electronic device; or An icon of the second application running in the second window is added to the shortcut window bar.

14. The method according to claim 9, characterized in that The second window is hidden, and before the second window is hidden, the size of the second window is gradually reduced until the second window is hidden, and the second operation is an operation of sliding from the edge of the screen of the electronic device toward the center of the screen of the electronic device.

15. The method according to any one of claims 1 to 14, characterized in that: The second interface also includes other pictures corresponding to other minimized windows, where the other pictures are state thumbnails of the other windows in the window display state before minimization, and the method further includes: In response to a fifth operation applied to the other picture, the other window is restored to a window display state in the other picture.

16. The method according to any one of claims 1 to 15, characterized in that: The second interface is a multi-task management interface, wherein the multi-task management interface is used to display the most recently run applications.

17. The method according to any one of claims 1 to 16, characterized in that: The second window includes a first control for moving the second window, and the first operation is a first sliding operation acting on the first control; The step of displaying the second window in a minimized state in response to the first operation includes: In response to the first sliding operation, moving the second window along a sliding track of the first sliding operation; During the movement of the second window, if the second window meets a first preset condition, the second window is displayed in a minimized state.

18. The method according to claim 17, characterized in that The first sliding operation includes: A downward swipe operation; or The operation of sliding toward the side of the screen of an electronic device.

19. The method according to claim 17 or 18, characterized in that During the movement of the second window, if the second window meets a first preset condition, displaying the second window in a minimized state includes: In response to a first lifting operation after the first sliding operation, continuing to move the second window along the sliding direction of the first sliding operation; During the continued movement of the second window, if the distance between the first control and the edge of the screen of the electronic device is less than or equal to a preset distance, the second window is displayed in a minimized state.

20. The method according to claim 17 or 18, characterized in that The distance between the end position of the first sliding operation and the edge of the screen of the electronic device is less than or equal to a preset distance.

21. The method according to any one of claims 1 to 16, characterized in that: The first interface includes a second control for separating the first window and the second window, the first operation is a second sliding operation acting on the second control, and the second sliding operation is a sliding operation in a direction where the second window is located; The step of displaying the second window in a minimized state in response to the first operation includes: In response to the second sliding operation, the second control is moved toward the second window, wherein the size of the second window is reduced and the size of the first window is increased; During the movement of the second control, if the second control meets a second preset condition, the second window is displayed in a minimized state.

22. The method according to claim 21, characterized in that During the movement of the second control, if the second control meets a second preset condition, displaying the second window in a minimized state includes: In response to a second lifting operation after the second sliding operation, further moving the second control toward a side of the second window; During the continued movement of the second control, if the distance between the second control and the edge of the screen of the electronic device is less than or equal to a preset distance, the second window is displayed in a minimized state.

23. The method according to any one of claims 1 to 22, characterized in that: After displaying the first interface, the method further includes: In response to a sixth operation, the first window and the second window are simultaneously displayed in a minimized state, and a desktop is displayed, the desktop including a plurality of application icons, wherein the plurality of application icons includes an icon of a fourth application; In response to a seventh operation acting on the icon of the fourth application, a fourth interface is displayed, wherein the fourth interface includes the first window, the second window, and the fourth window displayed in a third split-screen state, wherein the fourth window runs the fourth application.

24. The method according to claim 23, characterized in that When the first split screen state is a left-right split screen state, the sixth operation is an operation of sliding downward from the top of the screen of the electronic device in the separation area between the first window and the second window; When the first split-screen state is an upper-lower split-screen state, the sixth operation is an operation of sliding to the right from the left edge of the screen of the electronic device in the separation area between the first window and the second window.

25. The method according to claim 23 or 24, characterized in that The step of simultaneously displaying the first window and the second window in a minimized state and displaying the desktop includes: At the same time, the first window and the second window are hidden, and the desktop is displayed, on which a floating narrow edge corresponding to the first window and a floating narrow edge corresponding to the second window are displayed in suspension, and the floating narrow edge corresponding to the first window and the floating narrow edge corresponding to the second window are adsorbed on the screen edge of the electronic device.

26. The method according to any one of claims 1 to 25, characterized in that The method further comprises: Displaying a fifth interface, wherein the fifth interface includes a fifth window displayed in a full-screen state, and the fifth window runs a fifth application; In response to an eighth operation, displaying the fifth window in a minimized state; In response to the second operation, displaying the second interface, the second interface including a second picture corresponding to the fifth window, the second picture being a full-screen thumbnail of the fifth window in the full-screen state before minimization; In response to a ninth operation performed on the second picture, the fifth window is restored to the full-screen state display in the second picture.

27. The method according to claim 26, characterized in that The eighth operation includes: Slide the top area of ​​the screen of the electronic device toward the side of the screen of the electronic device; or The operation of sliding from the bottom area of ​​the screen of the electronic device toward the side of the screen of the electronic device.

28. The method according to any one of claims 1 to 27, characterized in that: The method further comprises: Displaying a sixth interface, the sixth interface including a sixth window displayed in a full-screen state, and a seventh window displayed in a floating window state on the sixth window; In response to a tenth operation, simultaneously displaying the sixth window and the seventh window in a minimized state; In response to the second operation, displaying the second interface, the second interface including a third picture corresponding to the sixth window and the seventh window, the third picture being a combined thumbnail of the sixth window in the full screen state before being minimized and the seventh window in the floating window state before being minimized; In response to the eleventh operation on the third picture, the sixth window is restored to the full-screen state display in the third picture, and the seventh window is restored to the floating window state in the third picture, and is displayed floatingly on the sixth window.

29. The method according to claim 28, characterized in that The tenth operation is a first multi-finger operation, in which one finger acts on the sixth window and another finger acts on the seventh window, wherein the first multi-finger operation includes: Multi-finger pinch operation; or The operation of sliding multiple fingers towards the side of the screen of an electronic device.

30. The method according to any one of claims 1 to 29, characterized in that The method further comprises: Displaying a seventh interface, wherein the seventh interface includes at least three windows, and the at least three windows have two different window display states; In response to a second multi-finger operation on any two windows among the at least three windows, simultaneously displaying the at least three windows in a minimized state; In response to the second operation, displaying the second interface, the second interface including a fourth picture corresponding to the at least three windows, the fourth picture being a combined thumbnail of the at least three windows when displayed in a window display state before being minimized; In response to a twelfth operation applied to the fourth picture, the at least three windows are restored to the window display state in the fourth picture.

31. An electronic device, characterized in that: The electronic device includes a folding screen, a memory and one or more processors; the folding screen, the memory and the processor are coupled; the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the electronic device executes the method as described in any one of claims 1-30.

32. A chip system, characterized in that: The chip system is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device executes the method as described in any one of claims 1-30.

33. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 30.