Window management method and electronic device
By managing windows on electronic devices, multiple windows can be arranged in a split-screen or tiled manner, solving the problem of speed and accuracy for users when switching between multiple windows, and improving the presentation of windows and user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-07-28
- Publication Date
- 2026-03-05
AI Technical Summary
When multiple windows are open simultaneously on an electronic device, it is difficult for users to quickly and accurately switch between target windows. Due to the limited space of the display screen, the size and layout of the windows are affected by the number of windows, resulting in poor presentation.
By providing a method for managing windows on electronic devices, multiple windows can be laid out in a split-screen or tiled manner. Users can trigger window rearrangement through a multitasking interface, control operations, gestures, or drag-and-drop actions, and quickly select the target window through recommended window combinations and thumbnails.
It enables the use of multiple windows without overlap, and the window size is not affected by the number of windows. Users can quickly and accurately switch to the target window, improving the window usage experience.
Smart Images

Figure CN2025110983_05032026_PF_FP_ABST
Abstract
Description
Methods for managing windows and electronic devices
[0001] This application claims priority to Chinese Patent Application No. 202411197977.7, filed on August 28, 2024, entitled "Method and Electronic Device for Managing Windows", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal display, and more specifically, to a method and electronic device for managing windows. Background Technology
[0003] With the development of intelligent electronic devices, there are more and more scenarios where users need to open and use multiple windows at the same time. Due to the limited display space of the electronic device screen, multiple windows are displayed in a stacked manner on the screen, and users cannot quickly and accurately switch between target windows. Summary of the Invention
[0004] This application provides a method and electronic device for managing windows. Through this method and electronic device, multiple windows can be used without overlap. When multiple windows are tiled, the size of the windows is not affected by the number of windows, the window presentation effect is better, and the user can quickly and accurately switch the currently displayed window to the target window.
[0005] In a first aspect, a method for managing windows is provided, the method comprising: when multiple windows are stacked on an electronic device, in response to detecting a first operation by a user, the electronic device displays a first interface, the first interface including thumbnails corresponding to the multiple windows; in response to detecting an operation by a user to select at least two windows on the first interface, the electronic device displays a second interface, the at least two windows being split-screen arranged on the second interface, or the at least two windows being tiled on a third interface, the second interface including a portion of the third interface, the portion of the third interface including the entire first window and a portion of each of the at least two windows excluding the first window, the at least two windows including the first window.
[0006] In this embodiment, multiple windows can be displayed in a split-screen or tiled manner, enabling the use of multiple windows without overlap. When multiple windows are tiled, the size of the windows is not affected by the number of windows, resulting in a better window presentation effect. Furthermore, users can quickly and accurately switch the currently displayed window to the target window.
[0007] In conjunction with the first aspect, in one possible implementation, the first interface further includes one or more recommended window combinations generated based on the plurality of windows. In response to detecting an operation by a user selecting at least two windows, the electronic device displays a second interface, including: in response to detecting an operation by a user selecting a first recommended window combination from the one or more recommended window combinations, the electronic device displays the second interface, the first recommended window combination corresponding to the at least two windows, and the at least two windows being laid out on the second interface according to the layout style of the first recommended window combination.
[0008] Optionally, the recommended window combination can be determined based on factors such as the usage duration of each window in the multiple windows, the usage frequency of each window in the multiple windows, and the interaction frequency between the multiple windows.
[0009] In this embodiment of the application, when initiating the split-screen or tiled display of some windows in multiple windows as a window group, the electronic device can recommend one or more window groups to the user based on the multiple windows. The user can directly select the window group they want to use from these recommended window groups, so as to enable the user to select multiple windows more conveniently and display the multiple windows in the target layout.
[0010] In conjunction with the first aspect, in one possible implementation, in response to a user's first operation, the electronic device displays a first interface, including: in response to detecting that the user triggers an operation to enter the task center, the electronic device displays the first interface; in response to detecting that the user selects at least two windows, the electronic device displays a second interface, including: in response to detecting that the user selects two windows, the electronic device displays the two windows in a split-screen manner on the second interface; in response to detecting that the user selects more than two windows, the electronic device lays out the two or more windows in a tiled layout on a third interface, and the electronic device displays a portion of the third interface.
[0011] In this embodiment of the application, a method for triggering the rearrangement of multiple windows is provided, which can be triggered through the multitasking center interface of an electronic device.
[0012] In conjunction with the first aspect, in one possible implementation, in response to detecting a first user operation, the electronic device displays a first interface, including: in response to detecting a user operation of hovering the cursor over a first control, the electronic device displays a fourth interface, the fourth interface including multiple split-screen layout styles and multiple tiled layout styles; in response to detecting a user operation of selecting a first layout style from the multiple split-screen layout styles and the multiple tiled layout styles, the electronic device displays the first interface; in response to detecting a user operation of selecting at least two windows, the electronic device displays a second interface, including: in response to detecting a user operation of selecting at least two windows, the electronic device displays the second interface, the at least two windows being arranged on the second interface according to the first layout style.
[0013] This application provides another way to trigger the rearrangement of multiple windows. The rearrangement of multiple windows can be triggered by the control of any window in the multiple windows. Users can freely choose the layout style of multiple windows to improve the user experience when using multiple windows in the future.
[0014] In conjunction with the first aspect, in one possible implementation, when the first layout style is a horizontal split-screen layout of N windows, after detecting that the user selects the N windows on the first interface, the N windows are horizontally split-screened on the second interface, where N is a positive integer greater than 1; or, when the first layout style is a vertical split-screen layout of N windows, after detecting that the user selects the N windows on the first interface, the N windows are vertically split-screened on the second interface; or, when the first layout style is a tiled layout of N windows, after detecting that the user selects the N windows on the first interface, the N windows are tiled on the third interface, and the electronic device displays a portion of the third interface.
[0015] In this embodiment, the user can choose between a split-screen layout or a tiled layout for multiple windows, and can further select the split-screen layout style or tiled layout style for multiple windows, thereby further improving the user's window usage experience when using multiple windows in the future.
[0016] In conjunction with the first aspect, in one possible implementation, the first control includes a maximize control for any window among the stacked windows.
[0017] In conjunction with the first aspect, in one possible implementation, in response to detecting a first user action, the electronic device displays a first interface, including: in response to detecting an action by the user to drag any window from the stacked plurality of windows to the edge of the display screen of the electronic device, the electronic device displays the first interface; in response to detecting an action by the user to select at least two windows, the electronic device displays a second interface, including: in response to detecting an action by the user to select at least two windows, the electronic device displays the at least two windows in a split-screen manner on the second interface.
[0018] In this embodiment of the application, another method for triggering the rearrangement of multiple windows is provided. The split-screen layout of multiple windows can be triggered by dragging any one of the multiple windows to the edge of the display screen, so that users can quickly switch the layout of multiple windows from stacked layout to split-screen layout.
[0019] In conjunction with the first aspect, in one possible implementation, in response to detecting a first user action, the electronic device displays a first interface, including: in response to detecting an action by which the user, while holding down a second control, drags any window from the stacked plurality of windows to the edge of the display screen of the electronic device, the electronic device displays the first interface; in response to detecting an action by which the user selects at least two windows, the electronic device tiles the at least two windows on a third interface, and the electronic device displays a portion of the third interface.
[0020] In this embodiment of the application, another method for triggering the rearrangement of multiple windows is provided. The operation of dragging any one of the multiple windows to the edge of the display screen while touching a certain control can trigger the tiling layout of multiple windows, allowing users to quickly switch the layout of multiple windows from stacked layout to tiling layout.
[0021] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled on the third interface, the number of horizontally laid-out windows is less than or equal to 3, the number of vertically laid-out windows is less than or equal to 3, the multiple horizontally laid-out windows are centered horizontally, and the multiple vertically laid-out windows are centered vertically.
[0022] In this embodiment, the layout range of multiple windows can be limited to a 3×3 area, so that when multiple windows are tiled, at least a portion of each window can be displayed on the screen, so as to enable switching between multiple windows.
[0023] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled, the second interface displays the entirety of the first window and a portion of each of the at least two windows except the first window. The method further includes: in response to detecting an operation by a user clicking on a portion of the second window on the second interface, the electronic device displays a fifth interface that displays the entirety of the second window and a portion of each of the at least two windows except the second window.
[0024] In this embodiment of the application, a method for switching the focus window (i.e., the fully displayed window) is provided. When multiple windows are tiled, the display screen shows the entirety of one of the multiple windows and a portion of the other windows. The user can quickly and accurately perceive the content of the other windows through the portion of the other windows. Furthermore, the user can switch the display content of the electronic device's screen to show the entirety of the arbitrary window and a portion of the other windows among the multiple windows by clicking on any portion of the other windows. This enables the focus window to be switched quickly and accurately among multiple windows.
[0025] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled, the second interface displays the entirety of the first window and a portion of each of the at least two windows except the first window. The method further includes: in response to detecting a user's touch operation on the window group icon corresponding to the at least two windows, the electronic device displays thumbnails of the at least two windows on the second interface; in response to detecting a user's click on the thumbnail of a third window, the electronic device displays a sixth interface, on which the entirety of the third window and a portion of each of the at least two windows except the third window are displayed.
[0026] In this embodiment of the application, another method for switching the focus window (i.e., the fully displayed window) is provided. When multiple windows are tiled, the display screen shows the entirety of one of the multiple windows and a portion of the other windows. The user can quickly and accurately perceive the content of the other windows through the portion of the other windows. Furthermore, the user can trigger the display of thumbnails of the multiple windows and select a target switching window from the thumbnails. This allows the display content of the electronic device's screen to be switched to show the entirety of the target switching window and a portion of the other windows in the multiple windows, excluding the target switching window. This enables the focus window to be switched quickly and accurately between multiple windows.
[0027] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled or split-screen, the method further includes: in response to detecting a user's touch operation on the window group icons corresponding to the at least two windows, displaying thumbnails of the at least two windows on the second interface; and in response to detecting an operation by the user moving the thumbnail of the fifth window to a position preceding the thumbnail of the fourth window, swapping the layout positions of the fifth window and the fourth window.
[0028] In this embodiment of the application, a method for adjusting the layout position of multiple windows is provided, which allows users to conveniently adjust the layout position of windows through the thumbnails corresponding to the multiple windows.
[0029] In conjunction with the first aspect, in one possible implementation, when the at least two windows are in a split-screen layout, the method further includes: in response to detecting that the user performs a multi-finger spread gesture, the layout style of the at least two windows is switched from a split-screen layout to a tiled layout.
[0030] In this embodiment, multiple windows can be switched between split-screen and tiled layouts via gesture operations, enabling users to quickly adjust the layout when their window layout needs change, thus improving the user experience of using multiple windows.
[0031] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled, the method further includes: in response to detecting that the user performs a multi-finger pinch gesture, the layout style of the at least two windows is switched from a tiled layout to a split-screen layout.
[0032] In this embodiment, multiple windows can be switched between split-screen and tiled layouts via gesture operations, enabling users to quickly adjust the layout when their window layout needs change, thus improving the user experience of using multiple windows.
[0033] In conjunction with the first aspect, in one possible implementation, when the at least two windows are in a split-screen layout, the method further includes: in response to detecting a user's touch operation on a third control, displaying a first switching control on the screen of the electronic device, the third control including a maximize control for any of the at least two windows, or a window group icon corresponding to the at least two windows; in response to detecting a user's click on the first switching control, switching the layout style of the at least two windows from a split-screen layout to a tiled layout.
[0034] In this embodiment, the window's maximize control can trigger the switching between split-screen and tiled layouts of multiple windows, enabling users to quickly adjust the layout when their window layout needs change, thus improving the user's experience with multiple windows.
[0035] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled, the method further includes: in response to detecting a user's touch operation on the third control, displaying a second switching control on the screen of the electronic device, the third control including a maximize control for any of the at least two windows, or a window group icon corresponding to the at least two windows; in response to detecting a user's click on the second switching control, switching the layout style of the at least two windows from a tiled layout to a split-screen layout.
[0036] In this embodiment, the window's maximize control can trigger the switching between split-screen and tiled layouts of multiple windows, enabling users to quickly adjust the layout when their window layout needs change, thus improving the user's experience with multiple windows.
[0037] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled, the method further includes: in response to detecting an operation by a user to reduce the size of any of the at least two windows to less than a first threshold, the layout style of the at least two windows is switched from tiled layout to split-screen layout.
[0038] In this embodiment, adjusting the window size can trigger switching between split-screen and tiled layouts for multiple windows, allowing users to quickly adjust the layout when their window layout needs change, thus improving the user experience with multiple windows.
[0039] In conjunction with the first aspect, in one possible implementation, when the at least two windows are in a split-screen layout, the method further includes: in response to detecting an operation by a user to enlarge the size of any window in the at least two windows to a size greater than a second threshold, the layout style of the at least two windows is switched from a split-screen layout to a tiled layout.
[0040] In this embodiment, adjusting the window size can trigger switching between split-screen and tiled layouts for multiple windows, allowing users to quickly adjust the layout when their window layout needs change, thus improving the user experience with multiple windows.
[0041] In conjunction with the first aspect, in one possible implementation, the at least two windows include a first window and a second window, the first window including first data, and the method further includes: in response to detecting an operation by a user dragging the first data from the second interface to the second window, the first data is transferred from the first window to the second window.
[0042] In this embodiment of the application, when multiple windows are split-screen or tiled, data transmission between multiple windows can be realized, improving the user's multi-window experience.
[0043] In conjunction with the first aspect, in one possible implementation, the second interface includes window group icons corresponding to the at least two windows and an application icon corresponding to the sixth window. The method further includes: in response to detecting an operation by a user dragging the application icon corresponding to the sixth window to the window group icons corresponding to the at least two windows, the electronic device adds the sixth window to the window group corresponding to the at least two windows.
[0044] In this embodiment of the application, when multiple windows in a window group are laid out in a split-screen or tiled layout, a new window can be added to the window group to achieve a split-screen or tiled layout of the new window together with the original multiple windows, so that users can add or remove windows involved in the layout at any time according to their usage needs.
[0045] In conjunction with the first aspect, in one possible implementation, the method further includes: in response to detecting a user's touch operation on the fourth control, the interface of the electronic device displays a first add control; in response to detecting a user's click on the first add control, the interface of the electronic device displays a plurality of windows to be added; in response to detecting a user's click on a target window among the plurality of windows to be added, the electronic device adds the target window to the window group corresponding to the at least two windows.
[0046] In this embodiment of the application, when multiple windows in a window group are laid out in a split-screen or tiled layout, a new window can be added to the window group to achieve a split-screen or tiled layout of the new window together with the original multiple windows, so that users can add or remove windows involved in the layout at any time according to their usage needs.
[0047] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled, the method further includes: in response to detecting an operation by a user dragging the edge of a first window among the at least two windows, the electronic device synchronously adjusts the width of the first window.
[0048] In this embodiment, the user can adjust the width of the window according to their needs, so as to temporarily reduce or increase the window width. The window width adjustment allows more window content to be displayed on the screen to meet the user's temporary comparison needs of multiple window contents.
[0049] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled or split-screen, the method further includes: in response to detecting a user's removal operation on a seventh window among the at least two windows, the electronic device removes the first window from the window group corresponding to the at least two windows.
[0050] In this embodiment of the application, when multiple windows are laid out in a window group, the user can delete or remove windows in the window group so that the window currently displayed in the layout is the window that the user needs to use, thereby improving the user's window management efficiency and the user's experience of using multiple windows.
[0051] In conjunction with the first aspect, in one possible implementation, when the at least two windows are tiled or split-screen, the method further includes: in response to detecting that a user has opened an eighth window, the electronic device stacks the eighth window on top of the at least two windows, wherein the at least two windows do not include the eighth window.
[0052] In this embodiment, independent windows can be stacked and displayed on a layout interface with multiple windows, which can meet the user's temporary cross-window content dragging needs.
[0053] In a second aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer program code, and the processor is used to execute the computer program code stored in the memory to implement the method in the first aspect or any possible implementation thereof.
[0054] Thirdly, a computer-readable storage medium is provided, which stores a computer program or instructions that, when executed, implement the method of the first aspect or any possible implementation thereof.
[0055] Fourthly, a chip is provided, wherein instructions are stored that, when executed on a device, cause the chip to perform the methods described in the first aspect or any possible implementation thereof.
[0056] Fifthly, a computer program product is provided, which stores a computer program or instructions that, when executed, implement the method in the first aspect or any possible implementation of the first aspect. Attached Figure Description
[0057] Figure 1 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application;
[0058] Figure 2 is a software structure block diagram of the electronic device provided in an embodiment of this application;
[0059] Figure 3 is a schematic diagram of how multiple windows are presented on the display screen of an electronic device;
[0060] Figure 4 is a schematic diagram of another way multiple windows are presented on the display screen of an electronic device;
[0061] Figure 5 is a schematic diagram of another way multiple windows are presented on the display screen of an electronic device;
[0062] Figure 6 is a schematic diagram of another way multiple windows are presented on the display screen of an electronic device;
[0063] Figure 7 is a schematic diagram of an interface of a method for managing windows provided in an embodiment of this application;
[0064] Figure 8 is a schematic diagram of the interface of another management window method provided in an embodiment of this application;
[0065] Figure 9 is a schematic diagram of the interface of another management window method provided in an embodiment of this application;
[0066] Figure 10 is a schematic diagram of the interface of another management window method provided in an embodiment of this application;
[0067] Figure 11 is a schematic diagram of a tiled layout with different numbers of windows provided in an embodiment of this application;
[0068] Figure 12 is a schematic diagram showing how the window tiling layout changes with the window width according to an embodiment of this application;
[0069] Figure 13 is a schematic diagram of a tiled layout of windows of different sizes provided in an embodiment of this application.
[0070] Figure 14 is a schematic diagram of a window tiling layout range provided in an embodiment of this application;
[0071] Figure 15 is a schematic diagram of switching the focus window in a multi-window tiled layout provided in an embodiment of this application;
[0072] Figure 16 is a schematic diagram of switching the focus window in another case of multiple window tiling layout provided in the embodiments of this application;
[0073] Figure 17 is a schematic diagram of an adjustable window split-screen layout provided in an embodiment of this application;
[0074] Figure 18 is a schematic diagram of an adjustable window tile layout provided in an embodiment of this application;
[0075] Figure 19 is a schematic diagram of a window switching between tiled layout and split-screen layout according to an embodiment of this application;
[0076] Figure 20 is a schematic diagram of another window switching between tiled layout and split-screen layout provided in an embodiment of this application;
[0077] Figure 21 is a schematic diagram of another window switching between tiled layout and split-screen layout provided in an embodiment of this application;
[0078] Figure 22 is a schematic diagram of a method for cross-window data transmission provided in an embodiment of this application;
[0079] Figure 23 is a schematic diagram of a method for adjusting window width provided in an embodiment of this application;
[0080] Figure 24 is a schematic diagram showing the correspondence between the usage modes of several electronic devices and the selectable layout styles for triggering, as provided in the embodiments of this application.
[0081] Figure 25 is a schematic diagram of a multi-screen window interaction scenario provided in an embodiment of this application;
[0082] Figure 26 is a schematic diagram of a dual-screen interaction scenario of a foldable screen device provided in an embodiment of this application;
[0083] Figure 27 is a schematic diagram of the interface of another management window method provided in an embodiment of this application;
[0084] Figure 28 is a schematic flowchart of a method for managing windows provided in an embodiment of this application. Detailed Implementation
[0085] The technical solutions of this application will now be described with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments.
[0086] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "plural" or "multiple" refers to two or more than two.
[0087] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "a plurality of" means two or more.
[0088] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.
[0089] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "one embodiment," "some embodiments," "another embodiment," "other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0090] The methods provided in this application can be applied to electronic devices such as mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). This application does not impose any restrictions on the specific type of electronic device.
[0091] For example, Figure 1 shows a schematic diagram of the structure of an electronic device 100. 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0092] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0093] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0094] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0095] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0096] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0097] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.
[0098] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0099] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0100] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0101] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0102] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0103] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0104] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0105] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0106] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0107] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0108] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0109] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0110] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0111] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0112] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0113] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0114] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0115] The external storage 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 storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0116] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0117] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0118] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0119] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0120] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0121] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0122] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0123] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0124] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0125] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0126] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an embedded SIM (eSIM) card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0127] It should be understood that the phone cards in the embodiments of this application include, but are not limited to, SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated circuit cards (UICC), etc.
[0128] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.
[0129] Figure 2 is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer may include a series of application packages.
[0130] As shown in Figure 2, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0131] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0132] As shown in Figure 2, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0133] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0134] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0135] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0136] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0137] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0138] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0139] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0140] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0141] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0142] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0143] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0144] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0145] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0146] A 2D graphics engine is a graphics engine for 2D drawing.
[0147] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0148] It should be understood that the technical solutions in the embodiments of this application can be used in systems such as Android, iOS, and HarmonyOS.
[0149] The technical solutions of this application embodiment can be applied to electronic devices with display functions, for example. Exemplarily, they can be applied to televisions, desktop computers, laptops, in-vehicle screens, and portable electronic devices such as mobile phones, foldable screens, tablets, cameras, camcorders, video recorders, watches, and wristbands. They can also be applied to other electronic devices with display functions, and to electronic devices in 5G networks or future evolved public land mobile networks (PLMNs). The main application scenario is the management of windows displayed on the screen of an electronic device.
[0150] With the development of intelligent electronic devices, there are more and more scenarios where users need to open and use multiple windows at the same time. Due to the limited display space of the electronic device screen, multiple windows are displayed in a stacked manner on the screen, and users cannot quickly and accurately switch between target windows.
[0151] Figure 3 shows a schematic diagram of how multiple windows are presented on the display screen of an electronic device.
[0152] As shown in Figure 3, the user opens multiple windows simultaneously through the electronic device 300. These multiple windows may include, for example, window 301, window 302, and window 303. The size of window 301, window 302, and window 303 is close to the display area of the electronic device 300. Window 301, window 302, and window 303 are stacked, with window 301 at the top, window 302 below window 301, window 303 above window 303, and window 303 at the bottom.
[0153] In this method, from the user's visual perspective, although the entire content of window 301 can be seen, only part of the edge outlines of windows 302 and 303 can be seen. It is difficult to accurately identify which window the displayed edge outline corresponds to. When the user uses multiple windows at the same time, the user cannot switch windows quickly and accurately.
[0154] Figure 4 illustrates another way in which multiple windows are presented on the display screen of an electronic device.
[0155] As shown in Figure 4, the user opens multiple windows simultaneously through the electronic device 400. These multiple windows may include, for example, window 401, window 402, and window 403. The size of window 401, window 402, and window 403 is close to half of the display area of the electronic device 400. There may be partial overlap between any two windows among window 401, window 402, and window 403. Window 401 is located at the top layer, window 402 is located below window 401, window 403 is located above window 403, and window 403 is located at the bottom layer.
[0156] In this method, by reducing the size of the window, the display space of the electronic device can display the content of multiple windows as comprehensively as possible. However, from the user's visual perspective, since the size of the window is greatly reduced from the original size, the complexity of the user's operation of the window is significantly increased, which in turn affects the user's experience and efficiency.
[0157] Figure 5 illustrates another way in which multiple windows are presented on the display screen of an electronic device.
[0158] Taking the example of a user opening and using multiple slide files simultaneously, as shown in Figure 5(a), the current display interface of the electronic device displays window 1; as shown in Figure 5(b), when the user needs to switch to window 5 among the multiple open windows, the user can switch the display interface of the electronic device to display multiple thumbnails corresponding to the multiple windows through a specific operation; further, as shown in Figure 5(c), the user can move the cursor to window 5 and perform a click operation to switch the current display interface of the electronic device to display window 5.
[0159] In this method, window switching is achieved through a thumbnail display interface of multiple windows. The layout of the thumbnails of these multiple windows in the thumbnail display interface corresponds to the opening order of the windows, and there is no layout presentation to facilitate user switching. Furthermore, multiple windows are displayed on the same interface in the form of thumbnails, and the thumbnail size is small and the content is blurry, making it difficult for users to quickly and accurately find the target window and switch between windows.
[0160] Figure 6 illustrates another way in which multiple windows are presented on the display screen of an electronic device.
[0161] As shown in Figure 6, the electronic device is currently using multiple desktops. Each desktop includes one or more windows, and the user can place the open windows on a desktop according to their actual needs.
[0162] As shown in Figure 6(a), the current display interface of the electronic device shows window 1 located on desktop 1. When the user needs to switch the currently displayed window to window 11, the user can switch the current display interface of the electronic device to the task view interface through a specific operation, as shown in Figure 6(b). In the task view interface, icons of desktop 1, desktop 2, and desktop 3 are displayed. The screen of the electronic device displays thumbnails of multiple windows corresponding to desktop 1. The multiple windows corresponding to desktop 1 include, for example, window 1, window 2, window 3, window 4, window 5, and window 6. As shown in Figure 6(c), when the user clicks the icon of desktop 2 with the mouse or moves the cursor to the icon of desktop 2, the screen of the electronic device displays thumbnails of multiple windows corresponding to desktop 2. The multiple windows corresponding to desktop 2 include, for example, window 7, window 8, window 9, window 10, window 11, and window 12. As shown in Figure 6(d), the user can further click the thumbnail of window 11 to switch the current display interface of the electronic device to the display interface of window 11 located on desktop 2.
[0163] In this method, windows can be assigned to different spaces through multiple desktops. However, with many desktops, users may not be able to remember which desktop the target window is on. Furthermore, when switching, multiple windows corresponding to each desktop are displayed as thumbnails. The thumbnails are small and the content is blurry, making it difficult for users to quickly and accurately find the target window and switch windows.
[0164] Therefore, current methods struggle to quickly and accurately locate and switch between target windows when using multiple windows.
[0165] In view of this, embodiments of this application provide a method and electronic device for window management. With this method and electronic device, when using multiple windows, there is no overlap between the multiple windows, and the size of the tiled windows is not affected by the number of windows, which makes the presentation effect of the window content better. Moreover, users can quickly and accurately find the target window and switch between windows, which can improve the efficiency of users switching windows and reduce the complexity of users switching windows, thereby improving the user experience of using electronic devices.
[0166] For example, Figure 7 shows a schematic diagram of an interface of a method for managing windows provided in an embodiment of this application. In this embodiment, the window layout is triggered through the task center of the electronic device.
[0167] As shown in Figure 7(a), the user can switch the display interface of the electronic device to a multitasking center interface. This multitasking center interface displays a task view of multiple currently open task windows on the electronic device. These multiple task windows may include, for example, a gallery window 701, a file management window 702, a gallery window 703, a browser window 704, a memo window 705, and an email window 706. The multitasking center interface may also include a display area 707, in which application icons corresponding to the multiple task windows can be displayed. In this multitasking center interface, the user can drag any two or more windows together to form a window group. If the window group contains only two windows... The two windows can be displayed in a split-screen or tiled manner. If the window group includes three or more windows, the three or more windows can be displayed in a tiled manner. After two or more windows form a window group, the application icon group corresponding to the window group can also be displayed in the display area 707. In the example shown in Figure 7(b), the user can drag the email window 706 to the file management window 702 so that the file management window 702 and the email window 706 form a window group. In this window group, the file management window 702 and the email window 706 are displayed in a split-screen manner. The application icon group 708 displayed in the display area 707 includes the file management application icon and the email application icon.
[0168] Furthermore, in the example shown in Figure 7(c), the user can add a Memo window 705 to the window group consisting of the file management window 702 and the email window 706 by dragging the Memo window 705 to the window group. In this window group, the file management window 702, the email window 706, and the Memo window 705 are displayed in a tiled manner, and the application icon group displayed in the display area 707 is the newly added Memo application icon in 708; or, in this window group, the file management window 702, the email window 706, and the Memo window 705 are displayed in a stacked manner. When this window group is displayed on the screen of the electronic device, the file management window 702, the email window 706, and the Memo window 705 are displayed in a tiled manner.
[0169] In this scenario, multiple windows are displayed in a split-screen manner. This can be understood as multiple windows being displayed on the screen of an electronic device. The size of the multiple windows can decrease as the number of windows increases, and increase as the number of windows decreases.
[0170] In this context, multiple windows are displayed in a tiled manner. This can be understood as multiple windows being displayed at their original size on the same interface of an electronic device, with no overlap between the windows. Furthermore, the size of the windows does not change as the number of tiled windows on the interface increases. When multiple windows are tiled, due to the limited display space of the electronic device, the screen of the electronic device only displays the entire content of one of the multiple windows and a portion of the content of the other windows. The portion of the content of the other windows is sufficient for the user to distinguish the target window to switch to.
[0171] For example, Figure 8 shows a schematic diagram of the interface of another method for managing windows provided in an embodiment of this application. In this embodiment, the window split-screen layout is triggered by the window's maximize control.
[0172] As shown in Figure 8(a), the user opens multiple windows simultaneously through the electronic device. These windows may include, for example, windows 801, 802, and 803. The size of windows 801, 802, and 803 is close to the display area of the electronic device. Window 801, 802, and 803 are stacked, with window 801 on top, window 802 below, and window 803 above, and window 803 at the bottom. When the user hovers the cursor over the maximize control 804, a window layout box 805 can be displayed on the screen of the electronic device. The window layout box 805 displays multiple window layout styles that the user can select. These window layout styles may include one or more split-screen layout styles and one or more tiled layout styles. The one or more split-screen layout styles are shown in the first row of window layout box 805, and the one or more tiled layout styles are shown in the second row of window layout box 805.
[0173] As shown in Figure 8(b), the user can trigger the split-screen display of two windows by moving the cursor to the split-screen style 1 in the window layout box 805 (the first split-screen style shown in the first row of the window layout box 805). By clicking the split-screen style 1, the display interface of the electronic device can be switched to the interface shown in Figure 8(c). In this interface, the size of windows 801, 802 and 803 is reduced, and windows 801, 802 and 803 are displayed simultaneously without overlap. Window 801 is the first window in the two split-screen display windows, and windows 802 and 803 are candidate windows, which can be displayed in the form of thumbnails. The user can click on any one of the candidate windows to determine the selected candidate window as the second window in the two split-screen display windows. For example, by clicking on window 803, which is displayed in the form of a thumbnail, window 803 can be determined as the second window in the two split-screen display windows.
[0174] After clicking on window 803, which is displayed as a thumbnail, the display interface of the electronic device switches to the display interface shown in Figure 8(d). In this interface, windows 801 and 803 are displayed in a split screen. Furthermore, windows 801 and 803 are combined into a window group, and the application icon group 807 corresponding to the window group is displayed in the display area 806 of the electronic device. The application icon group 807 includes the browser application icon corresponding to window 801 and the email application icon corresponding to window 803.
[0175] In some embodiments, when the electronic device is displayed in landscape mode, windows 801 and 803 can be displayed horizontally; when the electronic device is displayed in portrait mode, windows 801 and 803 can be displayed vertically. Correspondingly, when the usage mode of the electronic device switches between landscape and portrait display, windows 801 and 803 can switch between horizontal and vertical split-screen display.
[0176] In some embodiments, when multiple windows are displayed in a split-screen manner, the multiple windows may adopt a combination of vertical split-screen layout and horizontal split-screen layout.
[0177] In some embodiments, taking the window layout shown in Figure 8(a) as an example, window 801 can be maximized by performing a four-finger spread operation on the interface shown in Figure 8(a) or on the touchpad; similarly, window 801 can be restored to the non-full-screen layout shown in Figure 8(a) by performing a four-finger pinch operation on the maximized window 801. This provides users with a quick way to adjust the window size and reduces the load of precise interaction.
[0178] In some embodiments, taking the window distribution shown in Figure 8(d) as an example, the user can click the maximize control of window 801 to remove window 801 from the current window group; the user can also click the minimize control of window 801 to remove window 801 from the current window group; the user can also perform a close operation on window 801 to remove window 801 from the current window group.
[0179] In one example, when the user removes window 801 from the current window group, the electronic interface of the electronic device switches from the interface shown in Figure 8(d) to display only window 803, and the display size of window 803 may remain unchanged, while the position of window 801 is the area to be filled.
[0180] For example, Figure 9 shows a schematic diagram of the interface of another method for managing windows provided in an embodiment of this application. In this embodiment, the window tiling layout is triggered by the window's maximize control.
[0181] As shown in Figure 9(a), the user opens multiple windows simultaneously on the electronic device. These windows may include, for example, windows 901, 902, and 903. The size of windows 901, 902, and 903 is close to the display area of the electronic device. Window 901, 902, and 903 are stacked, with window 901 on top, window 902 below, and window 903 above, and window 903 at the bottom. When the user hovers the cursor over the maximize control 904, a window layout box 905 can be displayed on the screen of the electronic device. The window layout box 905 displays multiple window layout styles that the user can select. These window layout styles may include one or more split-screen layout styles and one or more tiled layout styles. The one or more split-screen layout styles are shown in the first row of window layout box 905, and the one or more tiled layout styles are shown in the second row of window layout box 905. The interface may also include a display area 906, which displays the application icons corresponding to the multiple open windows.
[0182] As shown in Figure 9(b), the user can move the cursor to the tile style 1 in the window layout box 905 (the first tile style shown in the second row of the window layout box 905). The tile style 1 is used to trigger multiple windows to be tiled according to the tile style 1. By clicking the tile style 1, the display interface of the electronic device can be switched to the interface shown in Figure 9(c). In this interface, windows 901, 902 and 903 are displayed simultaneously without overlap. The size of window 901 corresponds to the size of the tiled window, and windows 902 and 903 are displayed in the form of thumbnails.
[0183] After the user clicks on window 903, which is displayed as a thumbnail, the display interface of the electronic device switches to the display interface shown in Figure 9(d), in which windows 901 and 903 are displayed in a tiled manner.
[0184] In some embodiments, by moving the cursor to tile style 2 (the second tile style shown in the second row of window layout box 905) in window layout box 905 and clicking on tile style 2, the user can switch the display interface of the electronic device to the interface shown in Figure 9(c). In this interface, the user can click on windows 902 and 903, which are displayed in thumbnail form, so that windows 901, 902 and 903 are displayed in a tiled layout.
[0185] In some embodiments, the tiled windows 901 and 903 can be combined into a window group, and the application icon group corresponding to the window group (not shown in the figure) can be displayed in the display area 906 of the electronic device.
[0186] In some embodiments, when multiple windows are tiled, the user can adjust the tiling order of the multiple windows by dragging and dropping in the interface shown in Figure 9(c).
[0187] In some embodiments, users can stack a single window on top of multiple windows in a tiled or split-screen layout to meet their temporary cross-window content drag-and-drop needs, such as copying files from folders or chat windows to PPT or video editing software.
[0188] In one example, based on the interface shown in Figure 9(d), the user can trigger the display of the single window corresponding to the application icon by hovering the cursor over the application icon displayed at the bottom of the interface. The user can then select a window from the displayed single window and stack the window on top of the tiled windows 901 and 903.
[0189] In some embodiments, the stacked windows can also be switched to a tiled layout by dragging any window from a stacked window to the edge of the display while holding down the Shift key.
[0190] In some embodiments, multiple stacked windows can be switched to a split-screen layout by dragging any window from the stacked windows to the edge of the display screen.
[0191] For example, Figure 10 shows a schematic diagram of another method for managing windows provided in an embodiment of this application. Through this embodiment, a tiled window can be added when multiple windows are tiled.
[0192] As shown in Figure 10(a), windows 1001 and 1002 are tiled on the same interface. Window 1001 is the focus window and is centered on the screen of the electronic device. All the content of window 1001 is displayed on the screen of the electronic device, and part of the content of window 1002 is displayed on the screen of the electronic device. The screen of the electronic device also includes a display area 1003, which displays application icons corresponding to multiple open windows. Since windows 1001 and 1002 form a tiled window group, the display area 1003 can also display an application icon group 1004 corresponding to the tiled window group. The application icon group 1004 includes the browser application icon corresponding to window 1001 and the email application icon corresponding to window 1002.
[0193] When a user wants to add the opened gallery application's window 1005 to the tiled window group consisting of windows 1001 and 1002, they can drag the gallery application icon displayed in display area 1003 to application icon group 1004. At this time, the electronic device's display interface switches to the interface shown in Figure 10(b). In this interface, windows 1001, 1005, and 1002 are tiled on the same screen, the window focus switches from window 1001 to window 1005, window 1005 is displayed in the center of the electronic device's screen, and all the content of window 1005 is displayed on the electronic device's screen, while part of the content of window 1001 and part of the content of window 1002 are displayed on the electronic device's screen. Correspondingly, a gallery application icon corresponding to window 1005 is added to application icon group 1004.
[0194] In some embodiments, hovering the cursor over the maximize control of window 1001 can trigger the display of a management box 1006. The management box 1006 includes the options "Add New Window", "Switch to Split-Screen Window", and "Disband Window Group". Users can select the option "Add New Window" to trigger the process of adding a new window. For example, when a user selects the option "Add New Window", multiple windows to be added are displayed on the screen of the electronic device. After the user selects a target window from the multiple windows to be added, the target window is added to the current tiled window group.
[0195] In addition, users can switch the current window layout from tiled to split-screen by selecting the option "Switch to split-screen window"; users can also dissolve the current window group by selecting the option "Dissolve window group".
[0196] To better understand the tiling layout of multiple windows, the following, with reference to Figures 11 to 14, will exemplarily describe the tiling layout of multiple windows provided in the embodiments of this application.
[0197] For example, Figure 11 shows a schematic diagram of a tiled layout with a different number of windows provided in an embodiment of this application.
[0198] Figure 11(a) shows a schematic diagram of a two-window tiled layout.
[0199] As shown in Figure 11(a), windows 1 and 2 are tiled. When the focus of window 1 is on window 1, windows 1 and 2 can be located in the same row and tiled in a centered alignment. Window 1 is displayed in the center on the screen of the electronic device, and the entirety of window 1 and part of window 2 are displayed on the screen.
[0200] In some embodiments, in the horizontal direction, window 1 can also be displayed on the left side of the electronic device screen, so that window 2 has a larger display area.
[0201] Figure 11(b) shows a schematic diagram of a three-window tiled layout.
[0202] As shown in Figure 11(b), windows 1, 2 and 3 are tiled. When the focus of window 1 is on window 1, window 1 is centered on the screen of the electronic device. Window 2 is adjacent to window 1 and is located in the same row as window 1. Window 3 is located in the second row. The first row and the second row are vertically aligned. The entirety of window 1, as well as parts of window 2 and window 3 are displayed on the screen.
[0203] In some embodiments, in the horizontal direction, window 1 may also be displayed on the screen of the electronic device to the left and / or at the top, so that the display area of windows 2 and 3 is greater.
[0204] Figure 11(c) shows a schematic diagram of a four-window tiled layout.
[0205] As shown in Figure 11(c), windows 1, 2, 3 and 4 are tiled. When the focus is on window 1, window 1 is centered on the screen of the electronic device. Window 2 is adjacent to window 1 and is located in the same row as window 1. Window 3 and 4 are located in the second row. The first and second rows are vertically aligned, that is, window 3 is vertically aligned with window 1, and window 2 and 4 are vertically aligned. The entirety of window 1, as well as parts of window 2, window 3 and window 4 are displayed on the screen.
[0206] In some embodiments, in the horizontal direction, window 1 may also be displayed on the left and / or top of the electronic device screen to increase the display area of windows 2, 3 and 4.
[0207] Similarly, based on the above layout method, it is also possible to implement a 5-window tiled layout, a 6-window tiled layout, a 7-window tiled layout, an 8-window tiled layout, or a 9-window tiled layout. In a multi-window layout, the focus window can be displayed in the center of the screen, and the other windows are located in the same row as the focus window, aligned horizontally with the focus window, or located in the row above or below the focus window, with adjacent rows aligned vertically.
[0208] For example, Figure 12 shows a schematic diagram of a window tiling layout method provided in an embodiment of this application, which varies with the window width.
[0209] As shown in Figure 12(a), window 1 is the focus window, centered on the display screen of the electronic device. Window 1 and window 2 are located in the first row, and are centered horizontally. Window 3 is located in the second row, and the first and second rows are centered vertically. When the width of window 2 is reduced, the position of window 3 in the second row also moves to the left accordingly, that is, the first and second rows are always centered vertically.
[0210] As shown in Figure 12(b), window 1 is the focus window, centered on the display screen of the electronic device. Window 1 and window 2 are located in the first row and are centered horizontally. Window 3 and window 4 are located in the second row and are centered horizontally. The first and second rows are centered vertically. When the width of window 2 is reduced, the positions of windows 3 and 4 in the second row also move to the left accordingly. That is, the first and second rows are always centered vertically.
[0211] For example, Figure 13 shows a schematic diagram of a tiled layout of windows of different sizes provided in an embodiment of this application.
[0212] As shown in Figure 13(a), window 1 is the focus window, centered on the display screen of the electronic device. Window 1 and window 2 are located in the first row. The size of window 2 is smaller than the size of window 1. Window 1 and window 2 are centered horizontally. Window 3 and window 4 are located in the second row. Window 3 and window 4 are centered horizontally. The first row and the second row are centered vertically. That is, the first row and the second row are always centered vertically. Multiple windows located in the same row are always centered.
[0213] In this embodiment, window 2 may be a window that is not suitable for enlarging and needs to be tiled at its original size. For example, window 2 may be a calculator application window.
[0214] As shown in Figure 13(b), when the focus window is switched from window 1 to window 3, the layout of windows 1, 2, 3 and 4 remains unchanged. Window 1, 2, 3 and 4 can be shifted as a whole so that window 3 is centered on the screen of the electronic device.
[0215] It should be understood that after the focus window is switched from window 1 to window 3, the tiling position of window 2, which is tiled at the original size, can be adjusted accordingly. For example, it can be adjusted from being centered relative to the left and right sides of window 1 to being centered relative to the bottom edge of window 1, so that when window 3 is the focus window, part of window 2 is displayed on the screen of the electronic device, so that the user can switch the focus window to window 2.
[0216] For example, Figure 14 shows a schematic diagram of a window tiling layout range provided in an embodiment of this application.
[0217] As shown in Figure 14, window 1 is the focus window, which is centered on the display screen. Other windows that are tiled with the focus window are located on the same interface as the focus window. Due to the limitation of display space, only a portion of each of the other windows that are tiled with the focus window is displayed.
[0218] In the example shown in Figure 14, when multiple windows are tiled, they are centered horizontally and vertically. The total width D1 of the horizontally laid-out windows is no greater than 3 times the maximum window width, where the maximum window width is the widest window among the tiled windows. The total number of rows of the vertically laid-out windows is no greater than 3 rows, that is, the total height D2 of the vertically laid-out windows is no greater than 3 times the maximum window height.
[0219] Hereinafter, with reference to Figures 15 and 16, the method for switching focus windows provided in the embodiments of this application will be described by way of example.
[0220] For example, Figure 15 shows a schematic diagram of switching the focus window in the case of a multi-window tiled layout provided in an embodiment of this application.
[0221] As shown in Figure 15(a), windows 1501, 1502, 1503, and 1504 are tiled on the same interface, with window 1501 as the focus window. Window 1501 is displayed in the center on the screen of the electronic device. Parts of windows 1502, 1503, and 1504 are also displayed on the screen. The screen of the electronic device also includes a display area 1505, which displays application icons corresponding to multiple open windows. Since windows 1501, 1502, 1503, and 1504 form a tiled window group, the display area 1505 can also display an application icon group 1506 corresponding to the tiled window group. The application icon group 1506 includes a browser application icon corresponding to window 1501, an email application icon corresponding to window 1502, a gallery application icon corresponding to window 1503, and a memo application icon corresponding to window 1504.
[0222] When a user wants to switch the focus window to window 1503, the user can click on window 1503 to switch the display interface of the electronic device to the interface shown in Figure 15(b). In this interface, the focus window is switched from window 1501 to 1503. Window 1503 is displayed in the center on the display screen of the electronic device. The display screen also displays a portion of window 1501, a portion of window 1502, and a portion of window 1504. The display screen of the electronic device also includes a display area 1505 and an application icon group 1506.
[0223] For example, Figure 16 shows a schematic diagram of switching the focus window in another case of multiple window tiling layout provided in an embodiment of this application.
[0224] As shown in Figure 16(a), windows 1601, 1602, and 1603 are tiled on the same interface with left and right center alignment. Window 1602 is the focus window and is displayed in the center on the screen of the electronic device. Parts of window 1601 and window 1603 are also displayed on the screen. The screen of the electronic device also includes a display area 1605, which displays application icons corresponding to multiple open windows. Since windows 1601, 1602, and 1603 form a tiled window group, the display area 1605 can also display an application icon group 1606 corresponding to the tiled window group. The application icon group 1606 includes the gallery application icon corresponding to window 1601, the browser application icon corresponding to window 1602, and the email application icon corresponding to window 1603.
[0225] When a user wants to switch the focus window to window 1603, the user can click the application icon group 1606 or hover the cursor over the application icon group 1606 to trigger the display of the corresponding window distribution map 1604. The window distribution map 1604 includes thumbnails of window 1601, window 1602, and window 1603. After the user clicks the thumbnail of window 1603, the display interface of the electronic device switches to the interface shown in Figure 16(b). In this interface, the focus window changes from window 1602 to 1603. Window 1603 is displayed in the center on the display screen of the electronic device. The display screen also displays a portion of window 1601 and a portion of window 1602. The display screen of the electronic device also includes a display area 1605 and the application icon group 1606.
[0226] In some embodiments, when a user hovers the cursor over an application icon in the display area 1605, if the window corresponding to the application icon is not in a window group, the interface of the electronic device can display all the multi-instance windows corresponding to the application icon; if the window corresponding to the application icon is in a window group, the interface of the electronic device can display the window group.
[0227] Hereinafter, with reference to Figures 17 and 18, the method for adjusting window layout provided in the embodiments of this application will be described by way of example.
[0228] For example, Figure 17 shows a schematic diagram of an adjustable window split-screen layout provided in an embodiment of this application.
[0229] As shown in Figure 17(a), windows 1701, 1702, 1703, and 1704 are arranged in a split-screen layout on the same interface with left and right center alignment. The display screen of the electronic device displays all the display content of windows 1701, 1702, 1703, and 1704 in the split-screen layout from left to right. The display screen of the electronic device also includes a display area 1705, which displays application icons corresponding to multiple open windows. Since windows 1701, 1702, 1703, and 1704 form a split-screen window group, the display area 1705 can also display an application icon group 1706 corresponding to the split-screen window group. The application icon group 1706 includes the gallery application icon corresponding to window 1701, the browser application icon corresponding to window 1702, the email application icon corresponding to window 1703, and the memo application icon corresponding to window 1704.
[0230] When a user wants to adjust the split-screen layout of the windows, the user can click on the application icon group 1706 or hover the cursor over the application icon group 1706 to trigger the display of the corresponding window distribution map 1707, which includes thumbnails of window 1701, window 1702, window 1703 and window 1704.
[0231] In the example shown in Figure 17, when the user wants to adjust the layout position of windows 1702 and 1703, the user can drag the thumbnail of window 1703 in the window distribution diagram 1707 in front of the thumbnail of window 1702. At this time, the display interface of the electronic device switches to the interface shown in Figure 17(b). In this interface, windows 1701, 1702, 1703 and 1704 are arranged in a split-screen layout on the same screen with left and right center alignment. The display screen of the electronic device displays all the display content of windows 1701, 1703, 1702 and 1704 in the split-screen layout from left to right. The display screen of the electronic device also includes a display area 1705 and an application icon group 1706. In the application icon group 1706, the arrangement position of the browser application icon corresponding to window 1702 and the email application icon corresponding to window 1703 can change with the window layout.
[0232] For example, Figure 18 shows a schematic diagram of an adjustable window tile layout provided in an embodiment of this application.
[0233] As shown in Figure 18(a), windows 1801, 1802, and 1803 are tiled on the same interface with left and right center alignment. Window 1801, 1802, and 1803 are arranged from left to right. Window 1802 is the focus window, and the entire content of window 1802 is displayed on the screen. The display area to the left of window 1802 displays part of the content of window 1801, and the display area to the right of window 1802 displays part of the content of window 1803. The display screen of the electronic device also includes a display area 1804, which displays application icons corresponding to multiple open windows. Since windows 1801, 1802, and 1803 form a tiled window group, the display area 1804 can also display an application icon group 1805 corresponding to the tiled window group. The application icon group 1805 includes the gallery application icon corresponding to window 1801, the browser application icon corresponding to window 1802, and the email application icon corresponding to window 1803.
[0234] When a user wants to adjust the tiled layout of the windows, the user can click on the application icon group 1805 or hover the cursor over the application icon group 1805 to trigger the display of the corresponding window distribution map 1806, which includes thumbnails of window 1801, window 1802 and window 1803.
[0235] In the example shown in Figure 18, when the user wants to adjust the layout of windows 1801 and 1702 (or the user wants to switch the focus window to window 1801), the user can drag the thumbnail of window 1802 in the window distribution diagram 1806 in front of the thumbnail of window 1801. At this time, the display interface of the electronic device switches to the interface shown in Figure 18(b). In this interface, windows 1802, 1801 and 1803 are arranged from left to right. Window 1801 is the focus window, and the entire content of window 1801 is displayed on the screen. The display area to the left of window 1801 displays part of the content of window 1802, and the display area to the right of window 1801 displays part of the content of window 1803. The display screen of the electronic device also includes a display area 1804 and an application icon group 1805. In the application icon group 1805, the arrangement of the gallery application icon corresponding to window 1801 and the browser application icon corresponding to window 1802 can change with the layout of the windows.
[0236] Hereinafter, with reference to Figures 19 to 21, the method for switching between tiled and split-screen layouts of a window provided in the embodiments of this application will be described.
[0237] For example, Figure 19 shows a schematic diagram of a window switching between a tiled layout and a split-screen layout according to an embodiment of this application.
[0238] As shown in Figure 19(a), windows 1901, 1902, 1903, and 1904 are arranged in a split-screen layout on the same interface with left and right center alignment. The display screen of the electronic device displays all the display content of windows 1901, 1902, 1903, and 1904 in the split-screen layout from left to right. The display screen of the electronic device also includes a display area 1905, which displays application icons corresponding to multiple open windows. Since windows 1901, 1902, 1903, and 1904 form a split-screen window group, the display area 1905 can also display a group of application icons 1906 corresponding to the split-screen window group. The group of application icons 1906 includes the gallery application icon corresponding to window 1901, the browser application icon corresponding to window 1902, the email application icon corresponding to window 1903, and the memo application icon corresponding to window 1904.
[0239] When a user wants to switch the layout of windows 1901, 1902, 1903, and 1904 from a split-screen layout to a tiled layout, the user can perform a multi-finger expansion operation on the interface shown in Figure 19(a) to switch the interface of the electronic device to the interface shown in Figure 19(b). In this interface, windows 1901, 1902, 1903, and 1904 are tiled on the same screen, with window 1902 as the focus window. Windows 1901, 1902, and 1903 are located in the first row and are tiled with left and right center alignment. Window 1904 is located in the second row, with the first and second rows centered. The entire content of window 1902 is displayed on the screen. The display area to the left of window 1902 displays part of the content of window 1901, the display area to the right of window 1902 displays part of the content of window 1903, and the display area below window 1902 displays part of the content of window 1904.
[0240] In some embodiments, when a user performs a multi-finger expansion operation on the interface shown in Figure 19(a), if the cursor hovers over window 1902, the user can switch the display screen of the electronic device to the interface shown in Figure 19(b) by performing a multi-finger expansion operation on that interface. In the interface shown in Figure 19(a), the focus window is window 1902. Similarly, when a user performs a multi-finger expansion operation on the interface shown in Figure 19(a), if the cursor hovers over window 1901, the user can switch the display screen of the electronic device to the interface shown in Figure 19(b) by performing a multi-finger expansion operation on that interface. In the interface shown in Figure 19(a), the focus window is window 1901.
[0241] Based on the interface shown in Figure 19(b), when the user wants to switch the layout of windows 1901, 1902, 1903 and 1904 from a tiled layout to a split-screen layout, the user can perform a multi-finger pinch operation on the interface shown in Figure 19(b) to switch the interface of the electronic device to the interface shown in Figure 19(a). In this interface, windows 1901, 1902, 1903 and 1904 are arranged in a split-screen layout with left and right center alignment on the same screen. The display screen of the electronic device displays all the display content of windows 1901, 1902, 1903 and 1904 in the split-screen layout from left to right.
[0242] In some embodiments, the multi-finger spread operation may include any one or more of the following: two-finger spread operation, three-finger spread operation, four-finger spread operation, and five-finger spread operation.
[0243] The multi-finger pinching and multi-finger spreading gestures performed by the user can be performed on the display screen of the electronic device or on the touchpad associated with the electronic device.
[0244] For example, Figure 20 shows a schematic diagram of another window switching between tiled layout and split-screen layout provided in an embodiment of this application.
[0245] As shown in Figure 20(a), windows 2001, 2002, 2003, and 2004 are arranged in a split-screen layout on the same interface with left and right center alignment. The display screen of the electronic device displays all the display content of windows 2001, 2002, 2003, and 2004 in the split-screen layout from left to right. The display screen of the electronic device also includes a display area 2005, which displays application icons corresponding to multiple open windows. Since windows 2001, 2002, 2003, and 2004 form a split-screen window group, the display area 2005 can also display an application icon group 2006 corresponding to the split-screen window group. The application icon group 2006 includes the gallery application icon corresponding to window 2001, the browser application icon corresponding to window 2002, the email application icon corresponding to window 2003, and the memo application icon corresponding to window 2004.
[0246] When a user wants to switch the layout of windows 2001, 2002, 2003, and 2004 from a split-screen layout to a tiled layout, the user can first click on the application icon group 2006 or hover the cursor over the application icon group 2006 to trigger the display of the management box 2007 on the interface shown in Figure 20(a). The management box 2007 includes the options "Switch to tiled windows" and "Dissolve window group". Then, clicking the option "Switch to tiled windows" will switch the interface of the electronic device to the interface shown in Figure 20(b). In this interface, windows 2001, 2002, 2003, and 2004 are displayed in a tiled layout. Windows 2002, 2003, and 2004 are tiled on the same interface. Window 2001 is the focus window. Window 2001 and 2002 are located in the first row and are tiled with left and right center alignment. Window 2003 and 2004 are located in the second row and are centered between the first and second rows. The entire content of window 2001 is displayed on the screen. The display area to the right of window 2001 displays part of the content of window 2002. The display area below window 2001 displays part of the content of window 2003. The display area below window 2002 displays part of the content of window 2004.
[0247] In some embodiments, the display of the management box 2007 can be triggered by hovering the cursor over the maximize control of the window. For example, the display of the management box 2007 can be triggered by hovering the cursor over the maximize control 2008 of window 2001; and further, by clicking the option "Switch to tiled window" in the management box 2007, the interface of the electronic device can be switched to the tiled window display interface shown in Figure 20(b).
[0248] In some embodiments, when windows 2001, 2002, 2003, and 2004 are displayed in split-screen mode, when the electronic device is in landscape mode, windows 2001, 2002, 2003, and 2004 can be displayed horizontally; when the electronic device is in portrait mode, windows 2001, 2002, 2003, and 2004 can be displayed vertically.
[0249] In some embodiments, when windows 2001, 2002, 2003, and 2004 are displayed in a split-screen manner, they may adopt a combination of vertical and horizontal split-screen layouts. For example, windows 2001, 2002, 2003, and 2004 may be displayed in a 2×2 layout on the display screen of an electronic device.
[0250] For example, Figure 21 shows a schematic diagram of another window switching between tiled layout and split-screen layout provided in an embodiment of this application.
[0251] As shown in Figure 21(a), in this interface, windows 2101, 2102, 2103, and 2104 are tiled on the same screen. Window 2101 is the focus window. Window 2101 and 2102 are located in the first row and are tiled with horizontal center alignment. Window 2103 and 2104 are located in the second row, with the first and second rows centered. The entire content of window 2101 is displayed on the screen. The display area to the right of window 2101 displays part of the content of window 2102. The display area below window 2101 displays part of the content of window 2103. The display area below window 2102... The display screen of the electronic device also includes a display area 2105, which displays application icons corresponding to multiple open windows. Since windows 2101, 2102, 2103 and 2104 form a tiled window group, the display area 2105 can also display an application icon group 2106 corresponding to the tiled window group. The application icon group 2106 includes a gallery application icon corresponding to window 2101, a browser application icon corresponding to window 2102, an email application icon corresponding to window 2103 and a memo application icon corresponding to window 2104.
[0252] When a user wants to switch the layout of windows 2101, 2102, 2103, and 2104 from a tiled layout to a split-screen layout, the user can first click on the application icon group 2106 or hover the cursor over the application icon group 2106 to trigger the display of the management box 2107 on the interface shown in Figure 21(a). The management box 2107 includes the options "Switch to split-screen window" and "Dissolve window group". Then, clicking the option "Switch to split-screen window" will switch the interface of the electronic device to the interface shown in Figure 21(b). In this interface, windows 2101, 2102, 2103, and 2104 are arranged in a split-screen layout with left and right center alignment on the same screen. The display screen of the electronic device displays all the content of windows 2101, 2102, 2103, and 2104 in the split-screen layout from left to right.
[0253] In some embodiments, the display of the management box 2107 can be triggered by hovering the cursor over the maximize control of the window. For example, the display of the management box 2107 can be triggered by hovering the cursor over the maximize control 2108 of the window 2101; and further, by clicking the option "Switch to split-screen window" in the management box 2107, the interface of the electronic device can be switched to the window split-screen display interface shown in Figure 21(b).
[0254] In some embodiments, when windows 2101, 2102, 2103, and 2104 are displayed in split-screen mode, when the electronic device is in landscape mode, windows 2101, 2102, 2103, and 2104 can be displayed horizontally; when the electronic device is in portrait mode, windows 2101, 2102, 2103, and 2104 can be displayed vertically.
[0255] In some embodiments, when windows 2101, 2102, 2103, and 2104 are displayed in a split-screen manner, they may adopt a combination of vertical and horizontal split-screen layouts. For example, windows 2101, 2102, 2103, and 2104 may be displayed in a 2×2 layout on the display screen of an electronic device.
[0256] In some embodiments, the switching between split-screen and tiled layouts of multiple windows can be achieved by adjusting the screen occupancy ratio of the windows. When multiple windows are displayed in a split-screen manner on the same interface, the user can adjust the screen occupancy ratio of a window by dragging the edge of the window. When the screen occupancy ratio of the window is greater than a certain threshold, the multiple windows switch from a split-screen layout to a tiled layout. Similarly, when multiple windows are displayed in a tiled layout, the user can adjust the screen occupancy ratio of a window by dragging the edge of the window. When the screen occupancy ratio of the window is less than a certain threshold, the multiple windows switch from a tiled layout to a split-screen layout.
[0257] For example, by dragging the edge of window 2101 in the interface shown in Figure 21(b), for example, dragging the right edge of window 2101 to the right, the screen occupancy ratio of window 2101 exceeds a certain threshold. At this time, windows 2101, 2102, 2103 and 2104 are switched to the tiled layout shown in Figure 21(a).
[0258] For example, by dragging the edge of window 2101 in the interface shown in Figure 21(a), for example, dragging the right edge of window 2101 to the left, the screen occupancy ratio of window 2101 is less than a certain threshold. At this time, windows 2101, 2102, 2103 and 2104 are switched to the split-screen layout shown in Figure 21(b).
[0259] For example, Figure 22 shows a schematic diagram of a method for cross-window data transmission provided in an embodiment of this application.
[0260] As shown in Figure 22(a), windows 2201, 2202, 2203, and 2204 are tiled on the same interface. Window 2201 is the focus window. Window 2201 and 2202 are located in the first row and are tiled with left and right center alignment. Window 2203 and 2204 are located in the second row and are centered between the first and second rows. The entire content of window 2201 is displayed on the screen. The display area to the right of window 2201 displays part of the content of window 2202. The display area below window 2201 displays part of the content of window 2203. The display area below window 2202 displays part of the content of window 2204.
[0261] Window 2201 includes Image 1, Image 2, Image 3, Image 4 and Image 5. Users can transfer data between multiple windows by dragging and dropping.
[0262] The user can drag and drop image 3 into window 2202, as shown in Figure 22(b). As the user drags and drops, the focus window changes from window 2201 to window 2202. When the user drags and drops image 3 into window 2202 and releases it, image 3 is transferred to window 2202.
[0263] In one example, in response to the user dragging and releasing the image 3 to window 2202, the image 3 is displayed as an attachment in window 2202, and the user can directly send the attachment to the target recipient.
[0264] For example, Figure 23 shows a schematic diagram of a method for adjusting window width provided in an embodiment of this application.
[0265] As shown in Figure 23(a), windows 2301, 2302, 2303 and 2304 are tiled on the same interface. Window 2301 is the focus window. Window 2301 and 2302 are located in the first row and are tiled with left and right center alignment. Window 2303 and 2304 are located in the second row and the first and second rows are center aligned. The display screen shows all the content of window 2301, part of the content of window 2302, part of the content of window 2303 and part of the content of window 2304.
[0266] The width of window 2301 is D3. The user can drag the edge of window 2301 to adjust its width, as shown in Figure 23(b). The user can drag the right edge of window 2301 inward to reduce its width from D3 to D4. At the same time, the display area of window 2302, which is adjacent to window 2301, increases. Furthermore, since the width of window 2301 in the first row has changed, the display areas of windows 2303 and 2304 in the second row will also change to maintain the center alignment of the first and second rows.
[0267] In one example, users can adjust the width of windows 2301 and 2302 to display them on the same screen, which can meet the user's need for temporary comparison of multiple windows.
[0268] For example, Figure 24 shows a schematic diagram showing the correspondence between the usage modes of several electronic devices provided in the embodiments of this application and the selected layout styles triggered.
[0269] Figure 24(a) illustrates a schematic diagram of the window layout styles triggered when the display screen of an electronic device provided in this application is in full-screen landscape mode. As shown in Figure 24(a), when the display screen of the electronic device is in full-screen landscape mode, when two windows are in a split-screen layout, the two windows are displayed side-by-side; when three windows are in a split-screen layout, the three windows can be displayed side-by-side, or a combination of side-by-side and top-bottom split-screen; when four windows are in a split-screen layout, the four windows can be displayed side-by-side and top-bottom split-screen; when two windows are in a tiled layout, the two windows are displayed side-by-side; when three windows are in a tiled layout, the three windows can be displayed side-by-side, or a combination of side-by-side and top-bottom tiled; when four windows are in a split-screen layout, the four windows can be displayed side-by-side and top-bottom tiled.
[0270] Figure 24(b) illustrates a schematic diagram of the window layout styles triggered when the display screen of an electronic device provided in this application is displayed in full-screen portrait mode. As shown in Figure 24(b), when the display screen of the electronic device is displayed in full-screen portrait mode, when two windows are in a split-screen layout, the two windows are displayed vertically; when three windows are in a split-screen layout, the three windows can be displayed vertically, or a combination of vertical and horizontal split-screen; when four windows are in a split-screen layout, the four windows can be displayed vertically and horizontally; when two windows are in a tiled layout, the two windows are displayed vertically; when three windows are in a tiled layout, the three windows can be displayed vertically, or a combination of vertical and horizontal split-screen; when four windows are in a split-screen layout, the four windows can be displayed vertically and horizontally.
[0271] Taking a foldable electronic device as an example, the electronic device includes a first screen and a second screen. Figure 24(c) shows a schematic diagram of the window layout style triggered when the display screen of an electronic device provided in this application is used in a dual-screen display state (i.e., the first screen and the second screen are displayed independently at the same time). As shown in Figure 24(c), when the display screen of the electronic device is used in a dual-screen display state, when two windows are in a split-screen layout, the two windows are displayed horizontally; when three windows are in a split-screen layout, the three windows can be displayed horizontally, or a combination of horizontal and vertical split-screen; when four windows are in a split-screen layout, the four windows can be displayed horizontally and vertically; when two windows are in a tiled layout, the two windows are displayed horizontally; when three windows are in a tiled layout, the three windows can be displayed horizontally, or a combination of horizontal and vertical split-screen; when four windows are in a split-screen layout, the four windows can be displayed horizontally and vertically.
[0272] Taking a foldable electronic device as an example, the electronic device includes a first screen and a second screen. Figure 24(d) shows a schematic diagram of the window layout style triggered when the display screen of an electronic device provided in this application is in a single-screen display state (i.e., only one of the first screen and the second screen is displayed). As shown in Figure 24(d), when the display screen of the electronic device is in a single-screen display state, when two windows are in a split-screen layout, the two windows are displayed horizontally; when three windows are in a split-screen layout, the three windows can be displayed horizontally, or a combination of horizontal and vertical split-screen; when four windows are in a split-screen layout, the four windows can be displayed horizontally, or a combination of horizontal and vertical split-screen; when two windows are in a tiled layout, the two windows are displayed horizontally; when three windows are in a tiled layout, the three windows can be displayed horizontally, or a combination of horizontal and vertical split-screen; when four windows are in a split-screen layout, the four windows can be displayed horizontally, or a combination of horizontal and vertical split-screen.
[0273] For example, Figure 25 shows a schematic diagram of a multi-screen window interaction scenario provided by an embodiment of this application.
[0274] As shown in Figure 25(a), a group of windows is displayed on the screen of device 1, in which windows 2501, 2502, 2503 and 2504 are tiled.
[0275] The display screen of device 2 is an external display screen of the display screen of device 1, as shown in Figure 25(b). Another window group is displayed on the display screen of device 2. In this window group, windows 2505 and 2506 are tiled. Users can use two window groups through two screens at the same time, which can meet the user's needs for temporary comparison, etc.
[0276] For example, Figure 26 shows a schematic diagram of a dual-screen interaction scenario of a foldable screen device provided in an embodiment of this application.
[0277] As shown in Figures 26(a) and 26(b), on the first screen of the two screens of the foldable screen device, windows 2601, 2602, and 2603 are stacked. Users can switch windows 2601, 2602, and 2603 to tiled display or split-screen display using any of the various triggering methods described in the above embodiments (e.g., via multi-task center, maximize control, window group icon, moving windows to the edge of the screen, etc.).
[0278] Similarly, on the second screen of the two screens of the foldable screen device, windows 2604, 2605 and 2606 are stacked and displayed. Users can switch windows 2604, 2605 and 2606 to tiled display or split-screen display using any of the various triggering methods described in the above embodiments.
[0279] In this embodiment of the application, when using a foldable screen device, the user can take advantage of the dual screens and interact with the window groups of the upper and lower screens in coordination.
[0280] For example, Figure 27 shows a schematic diagram of the interface of another method for managing windows provided in an embodiment of this application. In this embodiment, the window split-screen layout is triggered by the window's maximize control.
[0281] As shown in Figure 27(a), the user opens multiple windows simultaneously on the electronic device. These windows may include, for example, windows 2701, 2702, and 2703. The size of windows 2701, 2702, and 2703 is close to the display area of the electronic device. Window 2701, 2702, and 2703 are stacked, with window 2701 on top, window 2702 below, and window 2703 above, and window 2703 at the bottom. When the user hovers the cursor over the maximize control 2704, a window layout box 2705 can be displayed on the screen of the electronic device. The window layout box 2705 displays multiple window layout styles that the user can select. These window layout styles may include one or more split-screen layout styles and one or more tiled layout styles. The one or more split-screen layout styles are shown in the first row of window layout box 2705, and the one or more tiled layout styles are shown in the second row of window layout box 2705.
[0282] As shown in Figure 27(b), the user can trigger the tiling of two windows by moving the cursor to Tiling Style 1 in the window layout box 2705 (the first tiling style shown in the first row of the window layout box 2705). Clicking on Tiling Style 1 switches the electronic device's display interface to the one shown in Figure 27(c). In this interface, windows 2701, 2702, and 2703 are shrunk in size and displayed simultaneously without overlap. Window 2701 is the first window in the two tiling windows, while windows 2702 and 2703 are selectable windows that can be displayed as thumbnails. The user can... Clicking on any one of the multiple candidate windows will designate that candidate window as the second window in a two-tile display window. For example, clicking on window 2702, which is displayed as a thumbnail, will designate window 2702 as the second window in a two-tile display window. In addition, the interface shown in Figure 27(c) can also display a recommended area 2706, which includes one or more recommended tiled application combinations. Users can directly select a target recommended tiled application combination from these multiple recommended tiled application combinations. For example, clicking on the first recommended tiled application combination from the multiple recommended tiled application combinations will designate window 2702 as the second window in a two-tile display window.
[0283] After window 2702 is designated as the second window in a two-panel display, the display interface of the electronic device switches to the display interface shown in Figure 27(d), in which windows 2701 and 2702 are tiled; and windows 2701 and 2702 are combined into a window group, and the application icon group 2708 corresponding to the window group is displayed in the display area 2707 of the electronic device. The application icon group 2708 includes the browser application icon corresponding to window 2701 and the gallery application icon corresponding to window 2703.
[0284] In some embodiments, one or more recommended tile application combinations may be determined based on factors such as window usage duration, frequency of interaction between multiple windows, recently used windows and / or window usage frequency.
[0285] Similarly, when a user selects a split-screen layout style in the interface shown in Figure 27(b), one or more recommended split-screen application combinations can be displayed in the window selection interface.
[0286] In some embodiments, one or more recommended split-screen application combinations can be determined based on factors such as window usage duration, frequency of interaction between multiple windows, frequency of recently used windows and / or frequency of window usage.
[0287] In some embodiments, a recommended area 2706 can be displayed on the interface shown in Figure 27(b). The recommended area 2706 includes one or more recommended tiled application combinations. Users can directly select a target recommended tiled application combination from these multiple recommended tiled application combinations. For example, by clicking on the first recommended tiled application combination among the multiple recommended tiled application combinations, the user can determine window 2702 as the second window in two tiled display windows, and simultaneously determine the tiled layout as a tiled layout of window 2701 and window 2702. When the user selects the first recommended tiled application combination from the multiple recommended tiled application combinations, the display interface of the electronic device directly switches to the display interface shown in Figure 27(d), in which window 2701 and window 2702 are tiled.
[0288] For example, Figure 28 shows a schematic flowchart of a method 2800 for managing a window provided in an embodiment of this application. As shown in Figure 28, the method 2800 includes:
[0289] S2801: When multiple windows are stacked on an electronic device, in response to detecting a first user action, the electronic device displays a first interface, which includes thumbnails corresponding to the multiple windows.
[0290] The first operation could be triggering the entry into the task center of the electronic device.
[0291] The thumbnails of the multiple windows displayed on the first interface can be thumbnails of the multiple windows that are already open on the electronic device.
[0292] S2802: In response to detecting that a user selects at least two windows in a first interface, the electronic device displays a second interface in which the at least two windows are split-screen, or the at least two windows are tiled in a third interface. The second interface includes a portion of the third interface, and the portion of the third interface includes the entire first window and a portion of each of the at least two windows except the first window. The at least two windows include the first window.
[0293] Wherein, a portion of the third interface includes the entirety of the first window, which may mean that the second interface fully displays the first window; a portion of the third interface includes a portion of each window in the at least two windows other than the first window, which may mean that the second interface does not fully display the other windows in the at least two windows other than the first window.
[0294] In one example, the at least two windows include window 1, window 2, and window 3. The second interface fully displays window 1 and displays a portion of the edges of window 2 and window 3. The user is able to identify window 2 by the displayed portion of the edges of window 2 and window 3 by the displayed portion of the edges of window 3.
[0295] In some other embodiments, in response to a second user action, the electronic device displays a fourth interface, which includes multiple selectable layout styles, including a split-screen layout and a tiled layout; in response to a user action to select a first layout style, the electronic device displays the first interface.
[0296] One possible second action by the user is to hover the cursor over the maximize control of a window already displayed on the electronic device.
[0297] The selectable layout styles may include one or more split-screen layout styles, or one or more tiled layout styles.
[0298] When the first layout style is a horizontal split-screen layout of N windows, after the user selects N windows on the first interface, the N windows are displayed horizontally on the second interface, where N is a positive integer greater than 1. When the first layout style is a vertical split-screen layout of N windows, after the user selects N windows on the first interface, the N windows are displayed vertically on the second interface. When the first layout style is a tiled layout of N windows, after the user selects N windows on the first interface, the N windows are displayed tiled on the third interface, and the electronic device displays a portion of the third interface.
[0299] In some embodiments, when the at least two windows are tiled on the third interface, the number of horizontally laid-out windows is no more than 3, the number of vertically laid-out windows is no more than 3, the horizontally laid-out windows are centered horizontally, and the vertically laid-out windows are centered vertically.
[0300] One or more modules or units described herein can be implemented in software, hardware, or a combination of both. When any of the above modules or units are implemented in software, the software exists as computer program instructions and is stored in memory. A processor can be used to execute the program instructions and implement the above method flow. The processor can include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor, etc., and various computing devices that run software. Each computing device may include one or more cores for executing software instructions to perform calculations or processing. The processor can be built into a SoC (System-on-a-Chip) or an application-specific integrated circuit (ASIC), or it can be a separate semiconductor chip. In addition to the cores for executing software instructions to perform calculations or processing, the processor may further include necessary hardware accelerators, such as field-programmable gate arrays (FPGAs), PLDs (programmable logic devices), or logic circuits that implement dedicated logic operations.
[0301] When the modules or units described herein are implemented in hardware, the hardware may be any one or any combination of a CPU, microprocessor, DSP, MCU, artificial intelligence processor, ASIC, SoC, FPGA, PLD, application-specific digital circuit, hardware accelerator, or non-integrated discrete device, which may run the necessary software or perform the above method flow independently of software.
[0302] When the modules or units described herein are implemented using software, they can be implemented, in whole or in part, in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0303] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.
[0304] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0305] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0306] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0307] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0308] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0309] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for managing windows, characterized in that, The method includes: When multiple windows are stacked on an electronic device, in response to detecting a first user action, the electronic device displays a first interface, which includes thumbnails corresponding to the multiple windows. In response to detecting that a user selects at least two windows on the first interface, the electronic device displays a second interface, wherein the at least two windows are arranged in a split-screen layout on the second interface, or the at least two windows are arranged in a tiled layout on a third interface, wherein the second interface includes a portion of the third interface, and the portion of the third interface includes the entire first window and a portion of each of the at least two windows except the first window, wherein the at least two windows include the first window.
2. The method according to claim 1, characterized in that, The first interface further includes one or more recommended window combinations, which are generated based on the plurality of windows. In response to detecting a user selecting at least two windows, the electronic device displays a second interface, including: In response to detecting that a user selects a first recommended window combination from the one or more recommended window combinations, the electronic device displays the second interface, wherein the first recommended window combination corresponds to the at least two windows, and the at least two windows are arranged on the second interface according to the layout style of the first recommended window combination.
3. The method according to claim 1, characterized in that, In response to a user's first operation, the electronic device displays a first interface, including: In response to detecting that a user has triggered an operation to enter the task center, the electronic device displays the first interface; In response to detecting a user's selection of at least two windows, the electronic device displays a second interface, including: In response to detecting that the user has selected two windows, the electronic device displays the two windows in a split-screen manner on the second interface; In response to detecting that a user has selected more than two windows, the electronic device lays out the two or more windows on the third interface and displays a portion of the third interface.
4. The method according to claim 1, characterized in that, In response to detecting a first user action, the electronic device displays a first interface, including: In response to detecting that the user hovers the cursor over the first control, the electronic device displays a fourth interface, which includes multiple split-screen layout styles and multiple tiled layout styles. In response to detecting that a user selects a first layout style from the plurality of split-screen layout styles and the plurality of tiled layout styles, the electronic device displays the first interface; In response to detecting a user's selection of at least two windows, the electronic device displays a second interface, including: In response to detecting that a user has selected at least two windows, the electronic device displays the second interface, wherein the at least two windows are arranged on the second interface according to the first layout style.
5. The method according to claim 4, characterized in that, When the first layout style is a split-screen layout of N windows, after detecting that the user selects the N windows on the first interface, the N windows are split-screened on the second interface, where N is a positive integer greater than 1. or, When the first layout style is the vertical split-screen layout of the N windows, after detecting that the user selects the N windows on the first interface, the N windows are vertically split-screened on the second interface. or, When the first layout style is the tiled layout of the N windows, after detecting that the user selects N windows on the first interface, the N windows are tiled on the third interface, and the electronic device displays a portion of the third interface.
6. The method according to claim 5, characterized in that, The first control includes a maximize control for any window among the plurality of windows in a stacked layout.
7. The method according to claim 1, characterized in that, In response to detecting a first user action, the electronic device displays a first interface, including: In response to detecting that a user has dragged any window from the stacked layout of the plurality of windows to the edge of the display screen of the electronic device, the electronic device displays the first interface; In response to detecting a user's selection of at least two windows, the electronic device displays a second interface, including: In response to detecting that a user has selected at least two windows, the electronic device displays the at least two windows in a split-screen manner on the second interface.
8. The method according to claim 1, characterized in that, In response to detecting a first user action, the electronic device displays a first interface, including: In response to detecting that a user, while holding down a second control, drags any window from the stacked plurality of windows to the edge of the display screen of the electronic device, the electronic device displays the first interface; In response to detecting that a user has selected at least two windows, the electronic device lays out the at least two windows on the third interface and displays a portion of the third interface.
9. The method according to any one of claims 1 to 8, characterized in that, When the at least two windows are tiled on the third interface, the number of horizontally laid-out windows is less than or equal to 3, the number of vertically laid-out windows is less than or equal to 3, the horizontally laid-out windows are centered horizontally, and the vertically laid-out windows are centered vertically.
10. The method according to any one of claims 1 to 9, characterized in that, When the at least two windows are tiled, the second interface displays the entirety of the first window and a portion of each of the at least two windows except the first window, and the method further includes: In response to detecting that a user has clicked on a portion of the second window on the second interface, the electronic device displays a fifth interface that displays the entirety of the second window and portions of each of the at least two windows, excluding the second window.
11. The method according to any one of claims 1 to 10, characterized in that, When the at least two windows are tiled, the second interface displays the entirety of the first window and a portion of each of the at least two windows except the first window, and the method further includes: In response to detecting a user's touch operation on the window group icons corresponding to the at least two windows, the electronic device displays thumbnails of the at least two windows on the second interface; In response to detecting a user clicking on the thumbnail of the third window, the electronic device displays a sixth interface, which displays the entirety of the third window and a portion of each of the at least two windows other than the third window.
12. The method according to any one of claims 1 to 11, characterized in that, When at least two windows are tiled or split-screen, the method further includes: In response to detecting a user's touch operation on the window group icons corresponding to the at least two windows, thumbnails of the at least two windows are displayed on the second interface; In response to detecting an operation by which a user moves the thumbnail of the fifth window to a position prior to the thumbnail of the fourth window, the layout positions of the fifth window and the fourth window are swapped.
13. The method according to any one of claims 1 to 12, characterized in that, When using a split-screen layout with at least two windows, the method further includes: In response to detecting that the user performs a multi-finger spread gesture, the layout style of the at least two windows is switched from split-screen layout to tiled layout.
14. The method according to any one of claims 1 to 13, characterized in that, When at least two windows are tiled, the method further includes: In response to detecting a user performing a multi-finger pinch gesture, the layout style of the at least two windows is switched from a tiled layout to a split-screen layout.
15. The method according to any one of claims 1 to 14, characterized in that, When using a split-screen layout with at least two windows, the method further includes: In response to detecting a user's touch operation on a third control, a first switching control is displayed on the screen of the electronic device, the third control including a maximize control for any of the at least two windows, or a window group icon corresponding to the at least two windows; In response to detecting a user clicking the first switching control, the layout style of the at least two windows is switched from a split-screen layout to a tiled layout.
16. The method according to any one of claims 1 to 15, characterized in that, When at least two windows are tiled, the method further includes: In response to detecting a user's touch operation on a third control, a second switching control is displayed on the screen of the electronic device, the third control including a maximize control for any of the at least two windows, or a window group icon corresponding to the at least two windows; In response to detecting a user clicking the second switching control, the layout style of the at least two windows is switched from a tiled layout to a split-screen layout.
17. The method according to any one of claims 1 to 16, characterized in that, When at least two windows are tiled, the method further includes: In response to detecting that a user shrinks the size of any of the at least two windows to less than a first threshold, the layout style of the at least two windows is switched from a tiled layout to a split-screen layout.
18. The method according to any one of claims 1 to 17, characterized in that, When using a split-screen layout with at least two windows, the method further includes: In response to detecting that a user enlarges the size of any one of the at least two windows to a size greater than a second threshold, the layout style of the at least two windows is switched from a split-screen layout to a tiled layout.
19. The method according to any one of claims 1 to 18, characterized in that, The at least two windows include a first window and a second window, the first window including first data, and the method further includes: In response to detecting that the user drags the first data to the second window on the second interface, the first data is transferred from the first window to the second window.
20. The method according to any one of claims 1 to 19, characterized in that, The second interface includes window group icons corresponding to the at least two windows and an application icon corresponding to the sixth window. The method further includes: In response to detecting that a user drags the application icon corresponding to the sixth window to the window group icon corresponding to the at least two windows, the electronic device adds the sixth window to the window group corresponding to the at least two windows.
21. The method according to any one of claims 1 to 20, characterized in that, The method further includes: In response to detecting a user's touch operation on the fourth control, the interface of the electronic device displays the first added control; In response to detecting a user clicking the first add control, the interface of the electronic device displays multiple windows to be added; In response to detecting a user clicking on a target window among the plurality of windows to be added, the electronic device adds the target window to the window group corresponding to the at least two windows.
22. The method according to any one of claims 1 to 21, characterized in that, When at least two windows are tiled, the method further includes: In response to detecting a user dragging the edge of the first window among the at least two windows, the electronic device synchronously adjusts the width of the first window.
23. The method according to any one of claims 1 to 22, characterized in that, When at least two windows are tiled or split-screen, the method further includes: In response to detecting a user's removal operation on a seventh window among the at least two windows, the electronic device removes the first window from the window group corresponding to the at least two windows.
24. The method according to any one of claims 1 to 23, characterized in that, When at least two windows are tiled or split-screen, the method further includes: In response to detecting that a user has opened an eighth window, the electronic device displays the eighth window stacked on top of the at least two windows, which do not include the eighth window.
25. An electronic device, characterized in that, include: One or more processors; One or more memory units; And one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs including instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1 to 24.
26. A computer-readable storage medium, characterized in that, The storage medium stores a program or instructions that, when executed, implement the method as described in any one of claims 1 to 24.
27. A chip, characterized in that, The chip stores instructions that, when executed, implement the method as described in any one of claims 1 to 24.
28. A computer program product, characterized in that, The computer program product stores a program or instructions that, when executed, implement the method as described in any one of claims 1 to 24.
Citation Information
Patent Citations
Window management method, device thereof and computer
CN102109944A
Multi-window management method, graphical interface and related device
CN117991937A
Computer user interface having tiled and overlapped window areas
US5487143A