Processing method and electronic equipment

By synchronously adjusting the size changes across multiple windows, the problem of inconsistent window sizes in split-screen display mode is solved, achieving automated window layout and efficient multitasking, thus improving the user experience.

CN121934747APending Publication Date: 2026-04-28LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2025-12-26
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In the existing split-screen display mode, the inconsistent size adjustment between windows forces users to search for and resize smaller windows when browsing other windows, thus reducing the user's browsing experience.

Method used

By implementing synchronized size changes across multiple windows, the effect of a window's size change is identical to that of other windows. The system employs a first interaction mode and a second interaction mode to adjust window sizes and automatically adjusts the window layout based on preset conditions, thereby improving window interaction efficiency.

Benefits of technology

It achieves consistency in window size changes, reduces the user's burden of managing window layouts, improves the window browsing experience, and enhances the continuity and efficiency of multitasking through immersive display mode and window carousel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121934747A_ABST
    Figure CN121934747A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a processing method and electronic equipment, and the method comprises the steps: displaying M windows based on a display area of a display screen, and enabling the M windows to be not overlapped with each other; m is an integer greater than or equal to 2; an input operation for the Nth window is obtained, the input operation is used for adjusting the size of the Nth window, and the Nth window belongs to the M windows; in response to the input operation, displaying the change of the size of the Nth window; if the Nth window meets the first condition, the size change of other windows except the Nth window in the M windows is synchronously adjusted with the Nth window so that the size change effect of the Nth window can be the same as the size change effect of other windows, and N is an integer larger than or equal to 1.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a processing method and an electronic device. Background Technology

[0002] Existing electronic devices typically support split-screen display mode, which allows different application windows to be displayed across multiple screen areas, enabling simultaneous viewing and processing of various applications, such as researching and writing reports simultaneously, or chatting and watching videos at the same time. However, in split-screen mode, enlarging the size of one window will shrink the size of all other windows; that is, the resizing effect between windows in existing split-screen modes is inconsistent. Therefore, if a user needs to browse other windows, they must find where those windows have been shrunk to; and since shrunk windows are not easy to browse, the user needs to enlarge those windows again to clearly view the application content. Thus, existing window interaction methods are cumbersome and degrade the user's browsing experience. Summary of the Invention

[0003] In view of this, embodiments of this application provide a processing method and an electronic device.

[0004] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a processing method, the method comprising: displaying M windows based on a display area of ​​a display screen, wherein the windows in the M windows do not overlap; M being an integer greater than or equal to 2; obtaining an input operation for a Nth window, the input operation being used to adjust the size of the Nth window, the Nth window being one of the M windows; in response to the input operation, displaying the size change of the Nth window; if the Nth window satisfies a first condition, synchronously adjusting the size changes of other windows in the M windows other than the Nth window so that the size change effect of the Nth window is the same as the size change effect of the other windows, where N is an integer greater than or equal to 1.

[0005] Secondly, embodiments of this application provide an electronic device, which is one of the following: the electronic device is a foldable device; if the electronic device is in an unfolded posture and in a split-screen display mode, a first interaction mode and a second interaction mode are enabled; if the electronic device is in a folded posture and in a split-screen display mode, the first interaction mode is enabled and the second interaction mode is disabled; the area of ​​the display screen of the electronic device in the unfolded posture is larger than the area of ​​the display screen of the electronic device in the folded posture; the first interaction mode and the second interaction mode are different; or, the electronic device is an electronic device with a rollable display screen; if the electronic device is in an extended posture and in a split-screen display mode, the first interaction mode and the second interaction mode are enabled; if the electronic device is in a retracted state and in a split-screen display mode, the first interaction mode is enabled and the second interaction mode is disabled; the area of ​​the rollable display screen of the electronic device in the extended posture is larger than the area of ​​the rollable display screen of the electronic device in the retracted state; the first interaction mode and the second interaction mode are different.

[0006] Thirdly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in the method described in the first aspect above.

[0007] Fourthly, embodiments of this application provide a program product comprising a computer program or instructions, which, when executed by a processor, implement some or all of the steps in the method described in the first aspect above.

[0008] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description

[0009] Figure 1 A schematic diagram illustrating the implementation flow of a processing method provided in an embodiment of this application; Figure 2 A schematic diagram illustrating the effect of window size change in an embodiment of this application; Figure 3 A schematic diagram illustrating the adjustment of window size based on a first interaction mode, provided as an embodiment of this application; Figure 4 A schematic diagram illustrating another method for adjusting the window size based on a first interaction mode, provided as an embodiment of this application; Figure 5 A schematic diagram illustrating another method for adjusting window size based on a first interaction mode, provided as an embodiment of this application; Figure 6 A schematic diagram illustrating another method for adjusting window size based on a first interaction mode, provided as an embodiment of this application; Figure 7A schematic diagram illustrating a window carousel based on a second interaction mode, provided as an embodiment of this application; Figure 8 A schematic diagram illustrating window size adjustment based on a second interaction mode, provided as an embodiment of this application; Figure 9 A schematic diagram illustrating another method for adjusting window size based on a second interaction mode, provided as an embodiment of this application; Figure 10 A schematic diagram illustrating another method for adjusting window size based on a second interaction mode, provided as an embodiment of this application; Figure 11 A schematic diagram of the composition structure of an electronic device provided in an embodiment of this application; Figure 12 A schematic diagram of a folding device provided in an embodiment of this application; Figure 13 This is a schematic diagram of an electronic device with a rollable screen provided in an embodiment of this application.

[0010] It should be noted that the terms "first" and "second" mentioned above are only used to distinguish between different options and do not represent the degree of superiority or inferiority of the options or their priority in the implementation process. Detailed Implementation

[0011] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0012] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. The terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0013] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used herein is for descriptive purposes only and is not intended to limit the scope of this application.

[0014] This application provides a processing method that can be executed by a processor of an electronic device. The electronic device can be a laptop, tablet, desktop computer, smart TV, mobile device (e.g., mobile phone, portable video player, personal digital assistant, dedicated messaging device, portable gaming device), or any other device with data processing capabilities and display functions.

[0015] Figure 1 This is a schematic diagram illustrating the implementation flow of a processing method provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes S101 to S104: S101, displays M windows based on the display area of ​​the screen.

[0016] In some implementations, the electronic device can display multiple application windows (e.g., M windows, where M is an integer greater than or equal to 2) in the display area of ​​the screen, and these M windows do not overlap. Here, an application window refers to the visual interface area presented by the application running on the electronic device. The display mode of the electronic device can be a split-screen display mode or a conventional display mode; this application embodiment does not limit this.

[0017] refer to Figure 2 The diagram shown illustrates an effect of changing window size. Figure 2 As shown in (a), taking applications running on an electronic device as application A and application B, and dividing the display area 20 of the screen into a first area 201 and a second area 202 as an example, window A (or the first window) of application A can be displayed based on the size of the first area 201, and window B (or the second window) of application B can be displayed based on the size of the second area 202. Window A and window B do not overlap.

[0018] S102, obtain the input operation for the Nth window.

[0019] In some implementations, the electronic device can receive input operations for any one of the M windows (such as the Nth window, where N is an integer greater than or equal to 1). The input operation is used to adjust the size of the Nth window; the input operation can be a swipe, drag, click, double-click, multi-finger interaction, gesture interaction, etc.; or it can be a non-touch interactive operation such as voice, which is not limited in this embodiment.

[0020] For example, such as Figure 2As shown in (a), the display area 20 may also display a first dividing bar 204 for separating the first area 201 and the second area 202. The user can change the size of the window by moving the first dividing bar 204. During the user's movement of the first dividing bar 204, the electronic device can receive input operations (such as movement operations) on the first dividing bar 204.

[0021] S103, in response to an input operation, displays the change in the size of the Nth window.

[0022] In some implementations, the electronic device can adjust the size of the Nth window in response to the aforementioned input operation, and display the dynamic change process or result of the Nth window's size on the display area of ​​the screen. For example, as Figure 2 As shown in (a), the electronic device can adjust the size of the first region 201 and the second region 202 in response to a movement operation on the first separator 204, so that windows A and B change with the changes in the first region 201 and the second region 202, respectively.

[0023] S104, if the Nth window meets the first condition, adjust the size changes of the other windows in the M windows (excluding the Nth window) synchronously with the Nth window so that the size change effect of the Nth window is the same as the size change effect of the other windows.

[0024] In some implementations, if the Nth window meets a preset change condition (hereinafter referred to as the first condition), the sizes of the other windows in the M windows, excluding the Nth window, can be adjusted synchronously, so that the size change effect of the other windows is the same as that of the Nth window, and the dynamic change process or result of the size change of the other windows is displayed in the display area of ​​the screen. For example, if the Nth window meets the first condition and the size change effect of the Nth window is enlargement, the sizes of the other windows are enlarged synchronously; if the size change effect of the Nth window is shrinkage, the sizes of the other windows are shrunk synchronously. Figure 2 As shown in (b), if the Nth window meets the first condition, window A can be displayed based on the first area 206 after size adjustment, and window B can be displayed based on the second area 207 after size adjustment. The size change effect of window A and window B is the same, such as both being magnified. The sizes of window A and window B can be the same or different.

[0025] For example, the first condition may be a preset size range (hereinafter referred to as the first size range); or, it may be a preset ratio range between the current window area of ​​the Nth window and the full-screen display area of ​​the display screen (hereinafter referred to as the first ratio range); or, when the display mode of the electronic device is a split-screen display mode, it may be a preset moving distance range of the divider used to separate the Nth window from other windows (hereinafter referred to as the first distance range); this application embodiment does not limit this. For example, the Nth window satisfying the first condition may be: the size of the Nth window is within the first size range; or, the ratio between the current window area of ​​the Nth window and the full-screen display area of ​​the display screen is within the first ratio range; or, when the display mode of the electronic device is a split-screen display mode, the moving distance of the divider used to separate the Nth window from other windows is within the first distance range.

[0026] For example, the M windows after size change can be displayed without overlapping each other; or they can be displayed overlappingly, such as the Nth window being displayed on top and the other windows overlapping below the Nth window; the display method of the M windows after size change is not limited in the embodiments of this application.

[0027] In this embodiment, when any one of the multiple windows is resized, the size change effect of the multiple windows is the same. That is, automatic layout decision is made based on a unified zoom-in / zoom-out strategy, so that users do not need to resize each window individually multiple times, thereby improving the efficiency of window interaction. Furthermore, users do not need to bear the burden of making decisions on window layout, that is, they do not need to manage the layout of each window themselves, so that users can focus their attention on the application content itself, thereby improving the window browsing experience.

[0028] In some implementations, when displaying M windows on a display area based on the screen, the number of running applications (e.g., M) can be determined first, and a corresponding number of target display areas can be divided within the display area according to the number of running applications, so that the windows of each application can be displayed in each target display area. For example, the M windows that can be displayed in the display area of ​​the screen may not be windows of all running applications in the electronic device, or they may be windows of all running applications in the electronic device. That is to say, the window queue of all running applications in the electronic device includes the M windows displayed in the display area; and these M windows may include fully displayed windows or partially displayed windows. The electronic device can determine the number of windows displayed in the display area (i.e., the size of M) and the size of the target display area occupied by each window based on the size of the display area of ​​the screen and the number of all running applications. The size of the target display area occupied by each window may be the same or different.

[0029] After receiving input for the Nth window, if the Nth window does not meet the first condition, the electronic device's window interaction mode can be the first interaction mode. This means that while adjusting the size of the Nth window, the sizes of other windows (which can be parts of other windows) are adjusted simultaneously, but the effect of the size change in the other windows is different from that of the Nth window. For example, if the size change of the Nth window is an enlargement, the sizes of other windows are simultaneously reduced; if the size change of the Nth window is a shrinking, the sizes of other windows are simultaneously enlarged.

[0030] When the Nth window meets the first condition, the electronic device's window interaction mode can switch from the first interaction mode to the second interaction mode. The second interaction mode is used to adjust the size of the Nth window and other windows based on input operations. That is, when adjusting the size of the Nth window, the sizes of other windows are adjusted simultaneously, and the effect of the size change in the other windows is the same as that of the Nth window. For example, if the size change of the Nth window is to enlarge, the sizes of other windows are enlarged simultaneously; if the size change of the Nth window is to shrink, the sizes of other windows are shrunk simultaneously.

[0031] The following example uses split-screen display mode to illustrate how to adjust the window size.

[0032] In some embodiments, S101 includes: determining that the display area in the split-screen display mode is divided into a first area and a second area; displaying the Nth window of the Nth application based on the size of the first area and displaying the N+1th window of the N+1th application based on the size of the second area; S102 includes: obtaining a first movement operation for a first separator bar between the first area and the second area, the first movement operation being used to move the first separator bar; in response to the movement of the first separator bar, changing the size of the first area and the size of the second area; so that the Nth window and the N+1th window change with the change of the first area and the second area, and the effect of the size change of the Nth window is different from the effect of the size change of the N+1th window; S104 includes: if the size of the Nth window satisfies a first condition, adjusting the size change of the N+1th window synchronously with the Nth window so that the effect of the size change of the Nth window is the same as the effect of the size change of the N+1th window.

[0033] For example, in split-screen display mode, taking M windows including the Nth window of the Nth application and the N+1th window of the N+1th application, and dividing the display area of ​​the screen into a first area and a second area, the Nth window can be displayed in the first area based on the size of the first area, and the N+1th window can be displayed in the second area based on the size of the second area. Furthermore, the display area can also display a separator bar to separate the areas, such as a separator bar to separate the first and second areas (hereinafter referred to as the first separator bar). The user can move (or drag) the first separator bar. In response to the user's movement operation on the first separator bar (hereinafter referred to as the first movement operation), the electronic device moves the first separator bar and changes the size of the first and second areas. Simultaneously with the change in the size of the first and second areas, the sizes of the Nth window and the N+1th window also change accordingly. In some examples, when the first separator bar moves, the direction of movement of the first separator bar can determine which window (e.g., the Nth window) needs to be judged to meet the first condition. Before the size of the Nth window meets the first condition, the effect of the size change of the Nth window is different from the effect of the size change of the (N+1)th window; that is, the window interaction mode at this time is the first interaction mode. In other words, in split-screen display mode, the first interaction mode responds to the movement of the first divider bar, synchronously adjusting the size changes of the Nth window and other windows, and the effect of the size change of the Nth window is different from the effect of the size change of the other windows. This achieves a size change effect where one window differs from the others.

[0034] When the size of the Nth window meets the first condition, the size of the (N+1)th window is simultaneously adjusted, ensuring that the size change of the (N+1)th window has the same effect as the size change of the Nth window. This is the second interaction mode. In other words, in split-screen display mode, the second interaction mode responds to the movement of the first divider by simultaneously adjusting the size of the Nth window and other windows, with the size change of the Nth window having the same effect as the size changes of the other windows. This achieves a consistent size change effect across all windows, enabling continuous browsing.

[0035] refer to Figure 3 The diagram shown illustrates how to adjust the window size based on a first interaction mode. Figure 3 As shown in (a), taking all applications running on the electronic device as application A, application B, and application C, and dividing the display area 20 into a first area 201, a second area 202, and a third area 203 based on the size of the display area 20 and the number of all running applications, window A (or the first window) of application A can be displayed based on the size of the first area 201, window B (or the second window) of application B can be displayed based on the size of the second area 202, and window C (or the third window) of application C can be displayed based on the size of the third area 203. Window A and window B are fully displayed in the first area 201 and the second area 202, respectively, while window C is partially displayed in the third area 203. The display area 20 also displays a first dividing bar 204 for separating the first area 201 and the second area 202, and a first dividing bar 205 for separating the second area 202 and the third area 203.

[0036] Users can change the window size by moving the first divider 204 or the first divider 205. For example, as the user moves the first divider 204 to the right, a first movement operation can be obtained for the first divider 204, and the movement process of the first divider 204 is displayed based on the movement direction and distance. Figure 3As shown in (b), during the movement of the first separator 204 to the right, the size of the first region 201 is enlarged and the size of the second region 202 is reduced; the size of the third region 203 may remain unchanged or be reduced. Furthermore, since the first separator 204 moves to the right, it can be determined whether the size of window A satisfies the first condition. In some examples, the size of window A satisfying the first condition can be: the size of window A is within a first size range; or, the ratio between the current window area of ​​window A and the full-screen display area of ​​the display (i.e., the overall area of ​​display area 20) is within a first ratio range (e.g., 60% to 90%); or, the movement distance d of the first separator 204 is within a first distance range. Before the size of window A satisfies the first condition, the size of window A increases as the first region 201 is enlarged, and the size of window B decreases as the second region 202 is reduced.

[0037] When the size of window A meets the first condition, the sizes of windows B and C can be adjusted simultaneously, and the effect of changing the size of windows A, B, and C is the same: a magnification effect. For example... Figure 3 As shown in (c), windows A, B, and C can be displayed in display area 20 without overlapping. Window A can be preferentially displayed in the leftmost area to fully display the content of application A; and windows A, B, and C can be displayed according to the original window queue order. For example, the display area can be divided into a first area 206 and a second area 207, and in split-screen display mode, window A can be displayed in the first area 206, and window B can be displayed in the second area 207, with window B still located to the right of window A.

[0038] Or, such as Figure 3 As shown in (d), windows A, B, and C can be displayed overlappingly within display area 20 to display as many windows simultaneously as possible within the display area 20. The size of the first area 206 can be the same as the size of the first area 201 when the size of window A meets the first condition, or it can be determined after re-dividing the display area 20. Furthermore, the size of the first area 206 is larger than the original size of the first area 201 (see reference...). Figure 2 (as shown in (b)); and due to overlapping display, Figure 3 The sizes of the second region 207 and the third region 208 shown in (d) are the sizes that the user can see on the display screen. In fact, the size of the second region 207 in the display area 20 is larger than the size of the original second region 202 (see reference). Figure 2(As shown in (b)); similarly, the size of the third region 208 is larger than the original size of the third region 203. The sizes of the first region 206, the second region 207, and the third region 208 can be the same or different. Window A can be considered as the window the user wants to focus on and is preferentially displayed in the topmost first region 206 to fully display the content of application A. It should be noted that... Figure 3 The overlapping display method shown in (d) is only an example, and the specific overlapping display method is not limited in the embodiments of this application.

[0039] For example, or, during the movement of the first separator 204 to the right, it can also be determined whether the size of window B meets the first condition. Before the size of window B meets the first condition, the size of window A increases as the first region 201 increases, and the size of window B decreases as the second region 202 decreases. When the size of window B meets the first condition, the sizes of window A and window C can be adjusted synchronously, and the changes in the sizes of window A, window B, and window C have the same effect, all being a shrinking effect.

[0040] refer to Figure 4 Another schematic diagram showing how to adjust the window size based on the first interaction mode is shown, such as... Figure 4 As shown in (a), during the user's movement of the first separator 204 to the left, a first movement operation can be obtained for the first separator 205, and the movement process of the first separator 205 is displayed based on the movement direction and distance of the first separator 205. Figure 4 As shown in (b), during the movement of the first separator 204 to the left, the size of the first region 201 decreases while the size of the second region 202 increases; the size of the third region 203 may remain unchanged or decrease. Furthermore, since the first separator 204 moves to the left, it can be determined whether the size of window B satisfies the first condition. Before the size of window B satisfies the first condition, the size of window B increases as the second region 202 increases, and the size of window A decreases as the first region 201 decreases.

[0041] When the size of window B meets the first condition, the sizes of windows A and C can be adjusted simultaneously, and the effect of changing the size of windows A, B, and C is the same: a magnification effect. For example... Figure 4 As shown in (c), windows A, B, and C can be displayed in the display area 20 without overlapping in split-screen display mode. For example, the display area 20 can be divided into a second area 207 and a third area 208, with window B displayed in the second area 207 and window C displayed in the third area 208, and window C still located to the right of window B. Figure 4 The embodiment of (c) in the middle can be referred to Figure 3 The description of (c) in the text will not be repeated here. Or, as... Figure 4 As shown in (d), windows A, B, and C can be displayed overlappingly in display area 20 to display as many windows simultaneously as possible within display area 20. For Figure 4 The embodiment of (d) in the text can be referred to Figure 3 The description of (d) in the text will not be repeated here.

[0042] like Figure 3 As shown in (a), a user can view other windows (such as window C) that are not displayed or are not fully displayed by sliding (e.g., sliding to the right) in a location other than the separator bar within the display area 20. The electronic device can respond to this sliding operation and determine the sizes of the first area 201, the second area 202, and the third area 203 displayed in the display area 20 based on the sliding distance. (See reference...) Figure 5 The diagram shown illustrates another method for adjusting the window size based on the first interaction mode, as follows: Figure 5 As shown in (a), during the user's movement of the first divider 205 to the right, a first movement operation can be obtained for the first divider 205, and the movement process of the first divider 205 is displayed based on the movement direction and distance of the first divider 205. Figure 5 As shown in (b), as the first separator 205 moves to the right, the size of the second region 202 is enlarged, and the size of the third region 203 is reduced; the size of the first region 201 can remain unchanged or be reduced. Furthermore, since the first separator 205 moves to the right, it can be determined whether the size of window B satisfies the first condition. Before the size of window B satisfies the first condition, the size of window B increases as the second region 202 enlarges, and the size of window C decreases as the third region 203 shrinks.

[0043] When the size of window B meets the first condition, the sizes of windows A and C can be adjusted simultaneously, and the effect of changing the size of windows A, B, and C is the same: a magnification effect. For example... Figure 5 As shown in (c), windows A, B, and C can be displayed in display area 20 without overlapping in split-screen display mode. For Figure 5 The embodiment of (c) in the middle can be referred to Figure 3 The description of (c) in the text will not be repeated here. Or, as... Figure 5 As shown in (d), windows A, B, and C can be displayed overlappingly in display area 20 to display as many windows simultaneously as possible within display area 20. For Figure 5 The embodiment of (d) in the text can be referred to Figure 3The description of (d) in the text will not be repeated here.

[0044] refer to Figure 6 The diagram shown illustrates another method for adjusting window size based on the first interaction mode, such as... Figure 6 As shown in (a), during the user's movement of the first divider 205 to the left, a first movement operation can be obtained for the first divider 205, and the movement process of the first divider 205 is displayed based on the movement direction and distance of the first divider 205. Figure 6 As shown in (b), as the first separator 205 moves to the left, the size of the second region 202 decreases, and the size of the third region 203 increases; the size of the first region 201 can remain unchanged or decrease. Furthermore, since the first separator 205 moves to the left, it can be determined whether the size of window C satisfies the first condition. Before the size of window C satisfies the first condition, the size of window C increases as the third region 203 increases, and the size of window B decreases as the second region 202 decreases.

[0045] When the size of window C meets the first condition, the sizes of windows A and B can be adjusted simultaneously, and the size changes of windows A, B, and C will all have the same effect: a magnification effect. Figure 6 As shown in (c), windows A, B, and C can be displayed in display area 20 without overlapping in split-screen display mode. For Figure 5 The embodiment of (c) in the middle can be referred to Figure 3 The description of (c) in the text will not be repeated here. Or, as... Figure 6 As shown in (d), windows A, B, and C can be displayed overlappingly in display area 20 to display as many windows simultaneously as possible within display area 20. For Figure 6 The embodiment of (d) in the text can be referred to Figure 3 The description of (d) in the text will not be repeated here.

[0046] In this embodiment, the first interaction mode allows for different size change effects on different windows, and a smooth switch to the second interaction mode occurs when the Nth window meets the first condition. This ensures consistent size change effects across all windows, enabling continuous multitasking. Furthermore, users can trigger the immersive display mode by dragging the separator bar in a single step, eliminating the need for multiple clicks or gesture combinations, thus improving window interaction efficiency. Additionally, in split-screen display mode, by synchronously adjusting the size of all windows while maintaining their relative positions, the original window structure in split-screen mode is preserved. This embodiment maintains consistent window structures in both the first and second interaction modes, preventing context interruptions and ensuring window layout stability. Users do not need to re-understand the state and position of each window during operation, thereby improving the window browsing experience.

[0047] In some implementations, when the Nth window satisfies the first condition, the window interaction mode of the electronic device is a second interaction mode. For example, such as... Figure 3 (c) Figure 4 (c) Figure 5 (c) or Figure 6 As shown in (c), the electronic device is in split-screen display mode, and the window interaction mode is the second interaction mode. For example, the electronic device can respond to the movement of the first separator 204 by synchronously adjusting the size changes of window A and window B, and the size changes of window A and window B have the same effect, such as both being magnified or both being shrunk. For example, as shown in (c)... Figure 3 (d) in Figure 4 (d) in Figure 5 (d) or Figure 6 As shown in (d) above, the electronic device is in a non-split-screen display mode (hereinafter referred to as immersive display mode) and the window interaction mode is the second interaction mode. Figure 3 As shown in (d), the display screen 20 displays a second dividing bar 209 for separating the first region 206 and the second region 207, and a first dividing bar 210 for separating the second region 207 and the third region 208. The electronic device can respond to the movement of the second dividing bar 209 by synchronously adjusting the size changes of windows A, B, and C, and the size changes of windows A, B, and C have the same effect, such as all being magnified or all being reduced. Specifically, magnifying windows A, B, and C allows entry into full-screen display mode, while shrinking windows A, B, and C returns to split-screen display mode.

[0048] The second interaction mode will be illustrated below using the immersive display mode of an electronic device as an example.

[0049] In some implementations, when the window interaction mode of the electronic device is the second interaction mode and the display mode is the immersive display mode, the display area can be divided into a main display area and two auxiliary display areas located on both sides of the main display area. The Nth window in the M windows is displayed in the main display area based on the size of the main display area, the (N-1)th window is displayed in the auxiliary display area (hereinafter referred to as the first auxiliary display area) on one side of the main display area, and the (N-1)th window is partially displayed in the first auxiliary display area; and the (N+1)th window is displayed in the auxiliary display area (hereinafter referred to as the second auxiliary display area) on the other side of the main display area, and the (N+1)th window is partially displayed in the second auxiliary display area.

[0050] In immersive display mode, the electronic device can respond to user actions (such as clicks) on the first or second auxiliary display area, switching the windows displayed in the main display area and the two auxiliary display areas in a preset switching order to achieve a carousel effect for the window queue. The preset switching order can include clockwise and counter-clockwise switching; the first window in the window queue can switch to the last window; and the last window in the window queue can switch to the first window. For example, the electronic device can respond to an action on the first auxiliary display area (hereinafter referred to as the first action) to change the queue of M windows once in a preset switching order (such as the first switching order) to switch the windows displayed in the main display area and the two auxiliary display areas; or, it can respond to an action on the second auxiliary display area (hereinafter referred to as the second action) to change the queue of M windows once in a preset switching order (such as the second switching order) to switch the windows displayed in the main display area and the two auxiliary display areas. The first switching order and the second switching order are different.

[0051] refer to Figure 7 The diagram shown illustrates a window carousel based on a second interaction mode, as follows: Figure 7 As shown, taking a display area 20 including a main display area 701 and a first auxiliary display area 702 and a second auxiliary display area 703 located on both sides of the main display area 701, and taking the (N-1)th, Nth, and N+1th windows in the initial queue of M windows as window C, window A, and window B respectively, then... Figure 7As shown in (a), window A can be displayed in the main display area 701, window B in the first auxiliary display area 702, and window C in the second auxiliary display area 703. That is, the window A of the currently focused application A occupies the largest window area in the display area 20, while the windows B and C of the two unfocused applications are displayed at the bottom of window A, and the three windows overlap each other.

[0052] like Figure 7 As shown in (a), the user can perform a first operation 70 on the first secondary display area 702. In response to the first operation 70, the electronic device rearranges the queue of M windows. For example, window B displayed in the first secondary display area 702 where the first operation 70 is performed can be designated as the Nth window, and window A can be designated as the (N-1)th window according to a first switching order (e.g., clockwise switching), and window C can be designated as the (N+1)th window. That is, the current queue of M windows consists of window A, window B, and window C. Figure 7 As shown in (b), window B can be displayed in the main display area 701, window C can be displayed in the first auxiliary display area 702, and window A can be displayed in the second auxiliary display area 703.

[0053] like Figure 7 As shown in (b), the user can perform a first operation 71 on the first secondary display area 702. In response to the first operation 71, the electronic device rearranges the queue of M windows. For example, window C displayed in the first secondary display area 702 where the first operation 71 is performed can be designated as the Nth window, and window B can be designated as the (N-1)th window according to a first switching order (e.g., clockwise switching), and window A can be designated as the (N+1)th window. That is, the current queue of M windows consists of window B, window C, and window A. Figure 7 As shown in (c), window C can be displayed in the main display area 701, window A can be displayed in the first auxiliary display area 702, and window B can be displayed in the second auxiliary display area 703.

[0054] like Figure 7 As shown in (c), the user can perform a first operation 72 on the first secondary display area 702. In response to the first operation 72, the electronic device rearranges the queue of M windows. For example, window A displayed in the first secondary display area 702 where the first operation 72 is performed can be designated as the Nth window, and window C can be designated as the (N-1)th window according to a first switching order (e.g., clockwise switching), and window B can be designated as the (N+1)th window. That is, the current queue of M windows consists of window C, window A, and window B. Figure 7As shown in (a), window A can be displayed in the main display area 701, window B in the first auxiliary display area 702, and window C in the second auxiliary display area 703. This achieves a clockwise window carousel effect of "window A-window B-window C-window A-window B-window C...".

[0055] like Figure 7 As shown in (a), the user can perform a second operation 73 on the second auxiliary display area 703. In response to the second operation 73, the electronic device rearranges the queue of M windows. For example, window C displayed in the second auxiliary display area 703 where the second operation 73 is performed can be designated as the Nth window, and window B can be designated as the (N-1)th window according to a second switching order (e.g., counter-clockwise switching), and window A can be designated as the (N+1)th window. That is, the current queue of M windows consists of window B, window C, and window A. Figure 7 As shown in (c), window C can be displayed in the main display area 701, window A can be displayed in the first auxiliary display area 702, and window B can be displayed in the second auxiliary display area 703.

[0056] like Figure 7 As shown in (c), the user can perform a second operation 74 on the second auxiliary display area 703. In response to the second operation 74, the electronic device rearranges the queue of M windows. For example, window B displayed in the second auxiliary display area 703 where the second operation 74 is performed can be designated as the Nth window, and window A can be designated as the (N-1)th window and window C as the (N+1)th window according to a second switching order (e.g., counter-clockwise switching). That is, the current queue of M windows consists of windows A, B, and C. Figure 7 As shown in (b), window B can be displayed in the main display area 701, window C can be displayed in the first auxiliary display area 702, and window A can be displayed in the second auxiliary display area 703.

[0057] like Figure 7 As shown in (b), the user can perform a second operation 75 on the second auxiliary display area 703. In response to the second operation 75, the electronic device rearranges the queue of M windows. For example, window A displayed in the second auxiliary display area 703 where the second operation 75 is performed can be designated as the Nth window, and window C can be designated as the (N-1)th window according to a second switching order (e.g., counter-clockwise switching), and window B can be designated as the (N+1)th window. That is, the current queue of M windows consists of window C, window A, and window B. Figure 7As shown in (a), window A is then displayed in the main display area 701, window B is displayed in the first auxiliary display area 702, and window C is displayed in the second auxiliary display area 703. This achieves a counter-clockwise window carousel effect of "window A-window C-window B-window A-window C-window B...".

[0058] It should be noted that the arrangement order of the window queues mentioned above is only an example, and the specific method for determining the arrangement order of the window queues and the specific switching order are not limited in the embodiments of this application.

[0059] In this embodiment, multiple windows can be displayed in an overlapping layout in immersive display mode, thereby maximizing the use of the display area and ensuring that the window the user wants to focus on is fully displayed, enhancing visual immersion. Furthermore, by performing simple operations (such as clicking) on ​​the secondary display areas on either side of the main display area, users can quickly focus on and switch to the window displayed in the secondary display area without returning to the task management interface or performing complex gestures, thus improving the efficiency of window interaction. Moreover, when switching from split-screen display mode to immersive display mode and performing window carousel, the window queue can maintain the window arrangement order of the split-screen display mode and achieve a loop carousel effect similar to a surround effect. Therefore, the context between window content is not disrupted during the display mode switching process, thus maintaining workflow consistency and ensuring a continuous and efficient multitasking experience.

[0060] In some embodiments, the method further includes: obtaining a second movement operation of a second separator between a main display area and a secondary display area, the second movement operation being used to move the second separator; changing the size of the main display area and the size of the secondary display area in response to the movement of the second separator; such that the Nth window, the (N-1)th window, and / or the (N+1)th window change with the change of the main display area and the secondary display area; and if the size of the Nth window satisfies a second condition, adjusting the size changes of other windows synchronously with the Nth window.

[0061] For example, in immersive display mode, a dividing bar (hereinafter referred to as the second dividing bar) can be displayed in the display area of ​​the screen to separate the main display area from each auxiliary display area. The user can move (or drag) the second dividing bar. In response to the user's movement operation on the second dividing bar (hereinafter referred to as the second movement operation), the electronic device moves the second dividing bar and changes the size of the main display area and at least one auxiliary display area. Simultaneously with the change in the size of the main display area and at least one auxiliary display area, the size of the Nth window and the sizes of the (N-1)th and / or (N+1)th windows also change accordingly. Before the size of the Nth window satisfies a second condition, the effect of the size change of the Nth window is different from the effect of the size changes of the (N-1)th and (N+1)th windows. When the size of the Nth window satisfies the second condition, the sizes of the (N-1)th and (N+1)th windows are adjusted synchronously, so that the effect of the size changes of the (N-1)th and (N+1)th windows is the same as the effect of the size change of the Nth window. In some examples, the Nth window may satisfy the second condition as follows: the size of the Nth window is within a preset size range (hereinafter referred to as the second size range); or, the ratio between the current window area of ​​the Nth window and the full-screen display area of ​​the display screen is within a preset ratio range (hereinafter referred to as the second ratio range); or, the movement distance of the second separator is within a preset movement distance range (hereinafter referred to as the second distance range).

[0062] Furthermore, if the size of the Nth window meets the second condition, the window interaction mode can be switched from the second interaction mode to the first interaction mode. This allows for the synchronized adjustment of the size of the Nth window and other windows in response to the movement of the first separator bar when M windows are displayed without overlapping on the display area. This enables free switching between the two interaction modes to adapt to changing needs at different stages of a complex multitasking workflow.

[0063] refer to Figure 8 The diagram shown illustrates a method for adjusting window size based on a second interaction mode. Figure 8As shown in (a), window A can be displayed in the main display area 701, window B in the first secondary display area 702, and window C in the second secondary display area 703. The user can perform a second movement operation 80 (e.g., move to the right) on the second separator 209, or a second movement operation 81 (e.g., move to the left) on the second separator 210. In response to the second movement operation 80 or 81, the electronic device enlarges the size of the main display area 701 and reduces the size of the first secondary display area 702 and / or the second secondary display area 703. Before the size of window A satisfies the second condition, the size of window A increases with the enlargement of the main display area 701, and the sizes of window B and / or window C decrease with the reduction of the first secondary display area 702 and / or the second secondary display area 703.

[0064] When the size of window A meets the second condition, the sizes of windows B and C can be adjusted simultaneously, and the effect of changing the size of windows A, B, and C is the same: a shrinking effect. For example... Figure 8 As shown in (b), when the size of window A meets the second condition, the immersive display mode can be exited, and windows A, B, and C can be displayed in the display area 20 in a split-screen display mode without overlapping. Window A can be preferentially displayed in the leftmost area to fully display the content of application A; and windows A, B, and C can be displayed according to the original window queue order. For example, the display area can be divided into a first area 207, a second area 207, and a third area 203, and in the split-screen display mode, window A can be displayed in the first area 207, window B in the second area 207, and window C in the third area 203. The size of the first area 207 can be the same as the size of the main display area 701 when the size of window A meets the second condition, or it can be determined after the display area 20 is re-divided. In short, the size of the first area 207 is smaller than the original size of the main display area 701; the sizes of the first area 207, the second area 207, and the third area 208 can be the same or different.

[0065] refer to Figure 9 Another schematic diagram showing how to adjust the window size based on the second interaction mode is shown, such as... Figure 9As shown in (a), window B can be displayed in the main display area 701, window C in the first auxiliary display area 702, and window A in the second auxiliary display area 703. The user can perform a second movement operation 80 on the second separator 209 or a second movement operation 81 on the second separator 210. In response to the first movement operation 80 or the second movement operation 81, the electronic device enlarges the size of the main display area 701 and reduces the size of the first auxiliary display area 702 and / or the second auxiliary display area 703. Before the size of window B satisfies the second condition, the size of window B increases with the enlargement of the main display area 701, and the sizes of window C and / or window A decrease with the reduction of the first auxiliary display area 702 and / or the second auxiliary display area 703.

[0066] When the size of window B meets the second condition, the sizes of windows A and C can be adjusted simultaneously, and the effect of changing the size of windows A, B, and C is the same: a shrinking effect. Figure 9 As shown in (b), when the size of window B meets the second condition, the immersive display mode can be exited, and windows A, B, and C can be displayed in the display area 20 in a non-overlapping manner in the split-screen display mode. For Figure 9 The embodiment of (b) in the text can be referred to Figure 8 The description of (b) in the text will not be repeated here.

[0067] refer to Figure 10 The diagram shown illustrates another method for adjusting window size based on the second interaction mode, as follows: Figure 10 As shown in (a), window C can be displayed in the main display area 701, window A in the first auxiliary display area 702, and window B in the second auxiliary display area 703. The user can perform a second movement operation 80 on the second separator 209 or a second movement operation 81 on the second separator 210. In response to the first movement operation 80 or the second movement operation 81, the electronic device enlarges the size of the main display area 701 and reduces the size of the first auxiliary display area 702 and / or the second auxiliary display area 703. Before the size of window C satisfies the second condition, the size of window C increases with the enlargement of the main display area 701, and the sizes of window A and / or window B decrease with the reduction of the first auxiliary display area 702 and / or the second auxiliary display area 703.

[0068] When the size of window C meets the second condition, the sizes of windows A and B can be adjusted simultaneously, and the effect of changing the size of windows A, B, and C is the same: a shrinking effect. Figure 10As shown in (b), when the size of window C meets the second condition, the immersive display mode can be exited, and windows A, B, and C can be displayed in the display area 20 in a non-overlapping manner in the split-screen display mode. For Figure 10 The embodiment of (b) in the text can be referred to Figure 8 The description of (b) in the text will not be repeated here.

[0069] In this embodiment, in immersive display mode, the user can manipulate the separator bar separating the main display area and the secondary display area, and simultaneously shrink all windows to exit immersive display mode. This allows for free switching between split-screen display mode and immersive display mode, improving the efficiency of window interaction. Furthermore, after switching from immersive display mode to split-screen display mode, the window queue maintains the window arrangement order of immersive display mode. This ensures that the context between window content is not disrupted during display mode switching, maintaining workflow consistency and ensuring a continuous and efficient multitasking experience. Additionally, entering immersive display mode does not disrupt the window layout, and the user can exit immersive display mode at any time by manipulating the separator bar, restoring split-screen display mode while maintaining the window layout. This eliminates the need for users to manually rebuild the original split-screen layout and avoids the perceived risk of difficulty in reverting to the original split-screen layout. It also prevents window display anomalies caused by users repeatedly adjusting window sizes.

[0070] In some implementations, the method further includes: if the Nth window is smaller than and does not meet the first condition, adjusting other windows synchronously with the Nth window to restore them to their original size; if the Nth window is larger than and does not meet the first condition, exiting the split-screen display mode and displaying the Nth window in full-screen display mode.

[0071] For example, if a user cancels the adjustment operation (e.g., cancels the movement of the separator bar) when the Nth window is smaller than and does not meet a first condition, or larger than and does not meet a second condition, during the process of adjusting the size of the Nth window, the electronic device can respond to the cancellation operation by synchronously adjusting other windows with the Nth window to restore the window sizes to their original sizes. For instance, in split-screen display mode, if the Nth window is smaller than and does not meet the first condition (e.g., the current size of the Nth window is smaller than a first size range; or, the ratio between the current window area of ​​the Nth window and the full-screen display area of ​​the display is less than a first ratio range; or, the movement distance of the second separator bar is less than a first distance range), the sizes of all windows can be restored to their original sizes. In immersive display mode, if the Nth window is larger than and does not meet the second condition (e.g., the current size of the Nth window is greater than a second size range; or, the ratio between the current window area of ​​the Nth window and the full-screen display area of ​​the display is greater than a second ratio range; or, the movement distance of the second separator bar is less than a second distance range), the sizes of all windows can be restored to their original sizes.

[0072] For example, if, during the process of adjusting the size of the Nth window, the adjustment exceeds either the first or the second condition—that is, the Nth window is larger than but does not meet the first condition, or smaller than but does not meet the second condition—the user can switch from split-screen display mode or immersive display mode to full-screen display mode and display the Nth window full-screen within the display area. Here, displaying the Nth window full-screen can mean displaying the Nth window based on the maximum size of the display area; the maximum size of the display area can be determined based on the maximum length of the bottom edge of the display screen. For instance, in split-screen display mode, if the Nth window is larger than but does not meet the first condition (e.g., the current size of the Nth window is greater than a first size range; or, the ratio between the current window area of ​​the Nth window and the full-screen display area of ​​the display screen is greater than a first ratio range; or, the movement distance of the second separator is greater than a first distance range), then the Nth window can be displayed in full-screen display mode. In immersive display mode, if the Nth window is smaller than and does not meet the second condition (e.g., the current size of the Nth window is smaller than the second size range; or, the ratio between the current window area of ​​the Nth window and the full-screen display area of ​​the display is less than the second ratio range; or, the movement distance of the second separator is greater than the second distance range), the Nth window can be displayed in full-screen display mode.

[0073] Based on the foregoing embodiments, this application also provides an electronic device. Figure 11 This is a schematic diagram of the composition structure of an electronic device provided in an embodiment of this application, such as... Figure 11As shown, the electronic device 1100 includes a display screen 1110 and a processor 1120.

[0074] The display screen 1110 is used for display output. The processor 1120 is used for: displaying M windows based on the display area of ​​the display screen 1110, wherein the windows in the M windows do not overlap; M is an integer greater than or equal to 2; obtaining an input operation for the Nth window, the input operation being used to adjust the size of the Nth window, the Nth window being one of the M windows; responding to the input operation, displaying the size change of the Nth window on the display screen 1110; if the Nth window meets a first condition, synchronously adjusting the size changes of the other windows in the M windows other than the Nth window so that the size change effect of the Nth window is the same as the size change effect of the other windows, where N is an integer greater than or equal to 1.

[0075] In some implementations, the processor 1120 can display M windows of multiple applications in the display area of ​​the display screen 1110, and the M windows do not overlap. The display mode of the electronic device 1100 can be a split-screen display mode or a conventional display mode; this embodiment does not limit this. The processor 1120 can acquire input operations for the Nth window (N is an integer greater than or equal to 1) among the M windows. The input operation is used to adjust the size of the Nth window; the input operation can be a sliding, dragging, clicking, double-clicking, multi-finger interaction, gesture interaction, etc.; or it can be a non-touch interactive operation such as voice; this embodiment does not limit this. In response to the above input operation, the processor 1120 can adjust the size of the Nth window and display the dynamic change process or result of the size change of the Nth window in the display area of ​​the display screen 1110.

[0076] In some implementations, if the Nth window satisfies the first condition, the processor 1120 can synchronously adjust the sizes of the other windows in the M windows (excluding the Nth window), so that the size change effect of the other windows is the same as that of the Nth window, and display the dynamic change process or result of the size change of the other windows in the display area of ​​the display screen 1110. For example, if the size change effect of the Nth window is enlargement when the Nth window satisfies the first condition, the sizes of the other windows are enlarged synchronously; if the size change effect of the Nth window is shrinkage, the sizes of the other windows are shrunk synchronously. The description of the Nth window satisfying the first condition can be found in the above embodiments and will not be repeated here.

[0077] In this embodiment, when any one of the multiple windows is resized, the size change effect of the multiple windows is the same. That is, the layout decision is made automatically based on a unified zoom-in / zoom-out strategy, so that the user does not need to resize each window individually multiple times, thereby improving the efficiency of window interaction. Moreover, the user does not need to bear the burden of making decisions on the window layout, that is, the user does not need to manage the layout of each window, so that the user can focus on the application content itself, thereby improving the window browsing experience.

[0078] In some implementations, when the processor 1120 displays M windows on the display area of ​​the display screen 1110, it can first determine the number of running applications and then divide the display area into a corresponding number of target display areas based on the number of running applications, so as to display the windows of each application in each target display area. For example, the window queue of all running applications in the electronic device 1100 includes the M windows displayed in the display area; and these M windows may include fully displayed windows or partially displayed windows. The processor 1120 can determine the number of windows (i.e., the size of M) to be displayed in the display area and the size of the target display area occupied by each window based on the size of the display area of ​​the display screen 1110 and the number of all running applications. The size of the target display area occupied by each window may be the same or different.

[0079] After receiving an input operation for the Nth window, if the Nth window does not meet the first condition, the electronic device 1100 can switch to the first interaction mode. This means that when adjusting the size of the Nth window, the sizes of other windows (which may be parts of other windows) are adjusted simultaneously, but the size changes of the other windows are different from those of the Nth window. If the Nth window meets the first condition, the electronic device 1100 can switch its window interaction mode from the first to the second interaction mode. The second interaction mode is used to adjust the sizes of the Nth window and other windows based on the input operation; that is, when adjusting the size of the Nth window, the sizes of other windows are adjusted simultaneously, and the size changes of the other windows are the same as those of the Nth window.

[0080] In some embodiments, electronic device 1100 may be a non-foldable device, or a foldable device, or an electronic device with a rollable screen (or flexible screen). If electronic device 1100 is a foldable device or an electronic device with a rollable screen, the effective display area of ​​display screen 1110 of electronic device 1100 can change according to the posture of electronic device 1100; when the effective display area of ​​display screen 1110 is different, processor 1120 can determine whether to enable the first interaction mode and the second interaction mode, that is, when the Nth window meets the first condition, whether to start the second interaction mode in the split-screen display mode, or switch the split-screen display mode to the immersive display mode and start the second interaction mode.

[0081] For example, if the electronic device 1100 is a foldable device, when the electronic device 1100 is in an unfolded state, the area of ​​its display screen 1110 increases, and the processor 1120 can enable the first interaction mode and the second interaction mode. That is, it can start the first interaction mode and the second interaction mode in split-screen display mode, or it can switch the split-screen display mode to immersive display mode and start the second interaction mode. When the electronic device 1100 is in a folded state, the processor 1120 can enable the first interaction mode and disable the second interaction mode, that is, it starts the first interaction mode and does not start the second interaction mode, while maintaining the split-screen display mode. In this embodiment, the degree of unfolding in the unfolded state and the degree of folding in the folded state are not limited, as long as the area of ​​the display screen 1110 of the electronic device 1100 in the unfolded state is larger than the area of ​​the display screen 1110 in the folded state.

[0082] refer to Figure 12 A schematic diagram of a folding device is shown, as follows: Figure 12 As shown in (a), the electronic device 1100, which is a foldable device, may include a display screen (hereinafter referred to as the first display screen) 10. The display screen 1110 includes the first display screen 10. In some examples, when the electronic device 1100 is in an unfolded posture, the area of ​​the first display screen 10 increases, enabling a first interaction mode and a second interaction mode. That is, the first and second interaction modes can be activated in a split-screen display mode, or the split-screen display mode can be switched to an immersive display mode, and the second interaction mode can be activated. When the electronic device 1100 is in a folded posture, the area of ​​the first display screen 10 decreases, enabling the first interaction mode but disabling the second interaction mode, that is, activating the first interaction mode but disabling the second interaction mode, while maintaining the split-screen display mode.

[0083] Or, such as Figure 12As shown in (b), the electronic device 1100, which is a foldable device, may include a second display screen (or outer display screen) 11 in addition to the first display screen (or inner display screen) 10. The display screen 1110 includes the first display screen 10 and the second display screen 11. In some examples, when the electronic device 1100 is in an unfolded position, the area of ​​the display screen 1110 is the same as the area of ​​the first display screen 10 (i.e., the area of ​​the display screen 1110 increases). At this time, a window is displayed through the first display screen 10, and the first and second interaction modes are enabled. This means that the first and second interaction modes can be activated in split-screen display mode, or the split-screen display mode can be switched to immersive display mode, and the second interaction mode can be activated. When the electronic device 1100 is in a folded position, the area of ​​the display screen 1110 is the same as the area of ​​the second display screen 11 (i.e., the area of ​​the display screen 1110 decreases). At this time, a window is displayed through the second display screen 11, and the first interaction mode is enabled but the second interaction mode is disabled. This means that the first interaction mode is activated but the second interaction mode is not activated, while maintaining the split-screen display mode. It should be noted that... Figure 12 The screen folding method and the number of times the electronic device 1100 shown are merely examples, and are not limited in this embodiment.

[0084] refer to Figure 13 The diagram shows an electronic device with a rollable screen, as shown. Figure 13 As shown, if the electronic device 1100 is an electronic device with a rollable screen, then when the electronic device 1100 is in an extended state, the area of ​​its display screen 1110 increases, and the processor 1120 can enable the first interaction mode and the second interaction mode. That is, it can start the first interaction mode and the second interaction mode in the split-screen display mode, or it can switch the split-screen display mode to the immersive display mode and start the second interaction mode. When the electronic device 1100 is in a retracted state, the processor 1120 can enable the first interaction mode and disable the second interaction mode, that is, it starts the first interaction mode and does not start the second interaction mode, while maintaining the split-screen display mode. In this embodiment, the degree of extension in the extended state and the degree of retraction in the retracted state are not limited, as long as the area of ​​the display screen 1110 of the electronic device 1100 in the extended state is larger than the area of ​​the display screen 1110 in the retracted state.

[0085] The following example uses split-screen display mode to illustrate how to adjust the window size.

[0086] In some implementations, the processor 1120 is specifically configured to: determine that the display area in the split-screen display mode is divided into a first region and a second region; display the Nth window of the Nth application based on the size of the first region and the N+1th window of the N+1th application based on the size of the second region; obtain a first movement operation for a first separator bar between the first region and the second region, the first movement operation being used to move the first separator bar; in response to the movement of the first separator bar, change the size of the first region and the size of the second region; such that the Nth window and the N+1th window change with the change of the first region and the second region, the size change effect of the Nth window being different from the size change effect of the N+1th window; if the size of the Nth window satisfies a first condition, adjust the size change of the N+1th window synchronously with the Nth window so that the size change effect of the Nth window is the same as the size change effect of the N+1th window.

[0087] For example, in split-screen display mode, processor 1120 can divide display screen 1110 into multiple display areas (such as a first area and a second area), and display the Nth window in the first area based on the size of the first area, and display the N+1th window in the second area based on the size of the second area. Furthermore, a first dividing bar for separating the first and second areas can also be displayed in the display areas of display screen 1110. The user can move the first dividing bar, and processor 1120, in response to the user's first movement operation on the first dividing bar, moves the first dividing bar and changes the size of the first and second areas. Simultaneously with the change in the size of the first and second areas, the sizes of the Nth and N+1th windows also change accordingly. In some examples, when the first dividing bar moves, the direction of movement of the first dividing bar can determine which window (such as the Nth window) needs to be judged to meet a first condition. Before the size of the Nth window meets the first condition, the effect of the size change of the Nth window is different from the effect of the size change of the N+1th window; that is, the window interaction mode is the first interaction mode at this time, thereby achieving a different size change effect for one window compared to the other windows. When the size of the Nth window meets the first condition, the size of the (N+1)th window is simultaneously adjusted so that the size change effect of the (N+1)th window is the same as that of the Nth window. That is, the window interaction mode is now the second interaction mode, thus achieving a consistent size change effect for all windows and enabling continuous browsing. It is understood that the method for adjusting window size in split-screen display mode can be referred to the description in the above method embodiment, and will not be repeated here.

[0088] In this embodiment, the first interaction mode allows for different size change effects on different windows, and a smooth switch to the second interaction mode occurs when the Nth window meets a first condition. This ensures consistent size change effects across all windows, enabling continuous browsing. Furthermore, users can trigger the immersive display mode by dragging the separator bar in a single step, eliminating the need for multiple clicks or gesture combinations, thus improving window interaction efficiency. Additionally, in split-screen display mode, by synchronously adjusting the size of all windows while maintaining their relative positions, the original window structure in split-screen mode is not disrupted. This embodiment maintains consistent window structure in both the first and second interaction modes, preventing context interruptions and ensuring window layout stability. Users do not need to re-understand the state and position of each window during operation, thereby improving the window browsing experience.

[0089] In some implementations, when the Nth window satisfies the first condition, the window interaction mode of the electronic device 1100 is a second interaction mode. For example, as shown... Figure 3 (c) Figure 4 (c) Figure 5 (c) or Figure 6 As shown in (c), the display mode of the electronic device 1100 is a split-screen display mode, and the window interaction mode is the second interaction mode. For example, the processor 1120 can respond to the movement of the first separator 204 and synchronously adjust the size changes of window A and window B, and the size changes of window A and window B have the same effect, such as both being a magnification effect or both being a shrinking effect. For example, as shown in (c), the display mode of the electronic device 1100 is a split-screen display mode, and the window interaction mode is the second interaction mode. Figure 3 (d) in Figure 4 (d) in Figure 5 (d) or Figure 6 As shown in (d) above, the display mode of the electronic device 1100 is immersive display mode, and the window interaction mode is the second interaction mode. For example... Figure 3 As shown in (d), the display area 20 displays a second dividing bar 209 for separating the first area 206 and the second area 207, and a first dividing bar 210 for separating the second area 207 and the third area 208. The processor 1120 can respond to the movement of the second dividing bar 209 by synchronously adjusting the size changes of windows A, B, and C, with the size changes of windows A, B, and C having the same effect, such as either a magnification effect or a reduction effect. Specifically, magnifying windows A, B, and C allows entry into full-screen display mode, while shrinking windows A, B, and C returns to split-screen display mode.

[0090] The second interaction mode will be illustrated below using the immersive display mode of electronic device 1100 as an example.

[0091] In some embodiments, when the window interaction mode of the electronic device 1100 is the second interaction mode and the display mode is the immersive display mode, the display area can be divided into a main display area and two auxiliary display areas located on both sides of the main display area. The Nth window in the M windows is displayed in the main display area based on the size of the main display area, the (N-1)th window is displayed in the first auxiliary display area on one side of the main display area, and the (N-1)th window is partially displayed in the first auxiliary display area; and the (N+1)th window is displayed in the second auxiliary display area on the other side of the main display area, and the (N+1)th window is partially displayed in the second auxiliary display area.

[0092] In immersive display mode, the processor 1120 can respond to user actions on the first or second auxiliary display area by switching the windows displayed in the main display area and the two auxiliary display areas in a preset switching order to achieve a carousel effect for the window queue. The preset switching order can include clockwise and counter-clockwise switching; the first window in the window queue can switch to the last window; and the last window in the window queue can switch to the first window. For example, the processor 1120 can respond to a first operation on the first auxiliary display area by changing the queue of M windows once in a first switching order to switch the windows displayed in the main display area and the two auxiliary display areas; or, it can respond to a second operation on the second auxiliary display area by changing the queue of M windows once in a second switching order to switch the windows displayed in the main display area and the two auxiliary display areas. The first switching order is different from the second switching order. It is understood that the method for adjusting window size in immersive display mode and the second interactive mode can be referred to the description of the above method embodiments, and will not be repeated here.

[0093] In this embodiment, multiple windows can be displayed in an overlapping layout in immersive display mode, thereby maximizing the use of the display area and ensuring that the window the user wants to focus on is fully displayed, enhancing visual immersion. Furthermore, by performing simple operations on the secondary display areas on either side of the main display area, users can quickly focus on and switch to the window displayed in the secondary display area without returning to the task management interface or performing complex gestures, thus improving the efficiency of window interaction. Moreover, when switching from split-screen display mode to immersive display mode and performing window carousel, the window queue can maintain the window arrangement order of the split-screen display mode and achieve a loop carousel effect similar to a surround effect. Therefore, the context between window content is not disrupted during the display mode switching process, which means that the consistency of the workflow is not disrupted and the continuous and efficient multitasking experience is not affected.

[0094] In some embodiments, the processor 1120 is further configured to: obtain a second movement operation of a second separator between the main display area and the secondary display area, the second movement operation being used to move the second separator; in response to the movement of the second separator, change the size of the main display area and the size of the secondary display area; such that the Nth window, the (N-1)th window and / or the (N+1)th window change with the change of the main display area and the secondary display area; if the size of the Nth window satisfies a second condition, adjust the size changes of other windows synchronously with the Nth window.

[0095] For example, in immersive display mode, a second dividing bar for separating the main display area from each auxiliary display area can be displayed in the display area of ​​the display screen 1110. The user can move the second dividing bar, and the processor 1120, in response to the user's second movement operation on the second dividing bar, moves the second dividing bar and changes the size of the main display area and at least one auxiliary display area. Simultaneously with the change in the size of the main display area and at least one auxiliary display area, the size of the Nth window and the sizes of the (N-1)th and / or (N+1)th windows also change accordingly. Before the size of the Nth window satisfies a second condition, the effect of the size change of the Nth window is different from the effect of the size changes of the (N-1)th and (N+1)th windows. When the size of the Nth window satisfies the second condition, the sizes of the (N-1)th and (N+1)th windows are adjusted synchronously, so that the effect of the size changes of the (N-1)th and (N+1)th windows is the same as the effect of the size change of the Nth window. In some examples, the Nth window satisfying the second condition may be: the size of the Nth window is within a second size range; or, the ratio between the current window area of ​​the Nth window and the full-screen display area of ​​the display screen 1110 is within a second ratio range; or, the movement distance of the second separator bar is within a second distance range. Furthermore, if the size of the Nth window satisfies the second condition, the window interaction mode can be switched from the second interaction mode to the first interaction mode. This allows for the synchronized adjustment of the size of the Nth window and other windows in response to the movement of the first separator bar when M windows are displayed without overlap on the display area of ​​the display screen 1110. This enables free switching between the two interaction modes to adapt to changing needs at different stages of a complex multi-tasking workflow. It is understood that the method of adjusting the window size by moving the second separator bar can be referred to the description of the above method embodiments, and will not be repeated here.

[0096] In this embodiment, in immersive display mode, the user can manipulate the separator bar separating the main display area and the secondary display area, and simultaneously shrink all windows to exit immersive display mode. This allows for free switching between split-screen display mode and immersive display mode, improving the efficiency of window interaction. Furthermore, after switching from immersive display mode to split-screen display mode, the window queue maintains the window arrangement order of immersive display mode. Therefore, the context between window content is not disrupted during the display mode switch, ensuring workflow consistency and uninterrupted, efficient multitasking experience. Additionally, entering immersive display mode does not damage the window layout, and the user can exit immersive display mode at any time by manipulating the separator bar, restoring split-screen display mode while maintaining the window layout. This eliminates the need for users to manually rebuild the original split-screen layout and avoids the perceived risk of difficulty in reverting to the original split-screen layout. It also prevents window display anomalies caused by users repeatedly resizing windows.

[0097] In some implementations, the processor 1120 is also configured to: if the Nth window is smaller than and does not meet the first condition, adjust other windows synchronously with the Nth window to restore them to their original size; if the Nth window is larger than and does not meet the first condition, exit the split-screen display mode and display the Nth window in full-screen display mode through the display screen 1110.

[0098] For example, if a user cancels the adjustment operation when the Nth window is smaller than and does not meet the first condition, or larger than and does not meet the second condition, during the process of adjusting the size of the Nth window, the processor 1120 can respond to the cancellation operation by synchronously adjusting other windows to restore the window size to its original size. If, during the process of adjusting the size of the Nth window, the user's adjustment exceeds the first or second condition (i.e., the Nth window is larger than and does not meet the first condition, or smaller than and does not meet the second condition), the user can switch from split-screen display mode or immersive display mode to full-screen display mode and display the Nth window in full-screen mode in the display area. It is understood that the methods for restoring each window to its original size or switching to full-screen display mode can be referred to the description of the above method embodiments, and will not be repeated here.

[0099] It should be noted that the descriptions of the above electronic device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. In some embodiments, the functions or modules included in the electronic device provided in this application can be used to perform the methods described in the above method embodiments. For technical details not disclosed in the electronic device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0100] The processing method and electronic device provided in this application can achieve a synchronized and consistent zoom-in or zoom-out effect for all windows when the window size is adjusted by moving the separator bar, if the adjustment reaches a certain threshold, thus enabling continuous browsing of multiple windows. Furthermore, when all windows are zoomed in consistently, the window layout can be optimized to display multiple windows in an overlapping manner. This maximizes screen space utilization and ensures complete display of window content while enhancing visual immersion by switching from split-screen display mode to immersive display mode. It also supports continuous multitasking by the user, improving operational smoothness. Further, in immersive display mode, windows can be quickly switched via a carousel by clicking the auxiliary display areas on either side of the window, without returning to the task management interface or performing complex gestures, enabling quick access to any window. Additionally, the window arrangement order remains unchanged when switching between split-screen display mode and immersive display mode, and during window carousel operations, ensuring the continuity of window content context and avoiding workflow interruptions caused by display mode switching.

[0101] It should be noted that, in the embodiments of this application, if the above-described processing method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part 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), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.

[0102] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.

[0103] This application provides a computer program including computer-readable code, wherein when the computer-readable code is executed in a computer device, a processor in the computer device performs some or all of the steps in the above-described method.

[0104] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0105] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0106] This application provides a computer storage medium that stores one or more programs, which can be executed by one or more processors to implement the steps of the processing method as described in any of the above embodiments.

[0107] It should be noted that the descriptions of the storage medium and device embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0108] The aforementioned processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor. It is understood that other electronic devices can also implement the functions of the aforementioned processor, and this application does not specifically limit the specific implementation.

[0109] The aforementioned computer storage media / memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various terminals that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0110] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes 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.

Claims

1. A processing method, the method comprising: M windows are displayed based on the display area of ​​the screen, and the windows in the M windows do not overlap with each other; M is an integer greater than or equal to 2; Obtain an input operation for the Nth window, the input operation being used to adjust the size of the Nth window, the Nth window being one of the M windows; In response to the input operation, the size change of the Nth window is displayed; If the Nth window satisfies the first condition, the size changes of the other windows in the M windows other than the Nth window are adjusted synchronously with the Nth window so that the size change effect of the Nth window is the same as the size change effect of the other windows, where N is an integer greater than or equal to 1.

2. The method according to claim 1, wherein the size of the Nth window is increased, and the sizes of the other windows are increased.

3. The method according to claim 1 or 2, wherein the display area based on the display screen displays M windows, comprising: If in split-screen display mode, determine that the display area in the split-screen display mode is divided into a first area and a second area; The Nth window of the Nth application is displayed based on the size of the first region, and the N+1th window of the (N+1)th application is displayed based on the size of the second region. The process of obtaining input for the Nth window includes: A first movement operation is obtained for a first separator bar between the first region and the second region, the first movement operation being used to move the first separator bar; In response to the movement of the first separator, the size of the first region and the size of the second region are changed; so that the Nth window and the N+1th window change with the change of the first region and the second region, and the effect of the size change of the Nth window is different from the effect of the size change of the N+1th window. The step of adjusting the size of other windows in the M windows (excluding the Nth window) synchronously with the Nth window if the Nth window meets the first condition includes: If the size of the Nth window meets the first condition, the size of the (N+1)th window is adjusted synchronously with the size of the Nth window so that the effect of the size change of the Nth window is the same as the effect of the size change of the (N+1)th window.

4. The method according to claim 3, wherein if the size of the Nth window satisfies the first condition, the size changes of the other windows are adjusted synchronously with the Nth window, comprising: If the screen is in split-screen display mode and the size of the Nth window meets the first condition, the system switches from the first interaction mode to the second interaction mode; wherein, the second interaction mode is used to adjust the size of the Nth window and the other windows based on the input operation; The first interaction mode is to respond to the movement of the first separator bar by synchronously adjusting the size of the Nth window and the other windows, wherein the size change effect of the Nth window is different from the size change effect of the other windows; The second interaction mode is to respond to the movement of the first separator bar by synchronously adjusting the size of the Nth window and the other windows, wherein the size change effect of the Nth window is the same as the size change effect of the other windows; Both the first and second interaction modes use a queue of M windows for interaction.

5. The method according to claim 4, wherein the second interaction mode includes: The display is divided into a main display area and two auxiliary display areas located on both sides of the main display area. The Nth window is displayed based on the size of the main display area. The (N+1)th window is located in the first auxiliary display area on one side of the main display area and is partially displayed in the first auxiliary display area. The (N-1)th window is located in the second auxiliary display area on the other side of the main display area and is partially displayed in the second auxiliary display area. The second interaction mode is used to respond to a first operation action on the first auxiliary display area, and to change the queue of the M windows once in a first switching order; The second interaction mode is used to respond to a second operation action on the second auxiliary display area, changing the queue of the M windows once in a second switching order; In the second interaction mode, the first window of the queue can switch to the last window; the last window of the queue can switch to the first window.

6. The method according to claim 5, wherein the size of the Nth window is reduced, and the sizes of the other windows are reduced; wherein, The method further includes: A second movement operation is performed to move the second separator bar between the main display area and the secondary display area; In response to the movement of the second separator, the size of the main display area and the size of the secondary display area are changed, so that the Nth window, the (N-1)th window and / or the (N+1)th window change with the change of the main display area and the secondary display area; If the size of the Nth window meets the second condition, the size changes of the other windows are adjusted synchronously with the Nth window.

7. The method according to claim 6, wherein if the size of the Nth window satisfies the second condition, the size changes of the other windows are adjusted synchronously with the Nth window, comprising: If the size of the Nth window meets the second condition, switch from the second interaction mode to the first interaction mode.

8. The method according to claim 1, further comprising: If the Nth window is smaller than and does not meet the first condition, the other windows are adjusted synchronously with the Nth window to restore them to their original size; If the Nth window is larger than and does not meet the first condition, exit the split-screen display mode and display the Nth window in full-screen display mode.

9. An electronic device, comprising: A display screen is used to show the output. A processor is configured to display M windows based on the display area of ​​the display screen, wherein the windows in the M windows do not overlap. M is an integer greater than or equal to 2; Obtain an input operation for the Nth window, the input operation being used to adjust the size of the Nth window, the Nth window being one of the M windows; In response to the input operation, the size change of the Nth window is displayed on the screen; If the Nth window satisfies the first condition, the size changes of the other windows in the M windows other than the Nth window are adjusted synchronously with the Nth window so that the size change effect of the Nth window is the same as the size change effect of the other windows, where N is an integer greater than or equal to 1.

10. The electronic device according to claim 9, wherein the electronic device is one of the following: The electronic device is a foldable device; if the electronic device is in an unfolded posture and in a split-screen display mode, the first interaction mode and the second interaction mode are enabled; if the electronic device is in a folded posture and in the split-screen display mode, the first interaction mode is enabled and the second interaction mode is disabled. The screen area of ​​the electronic device when it is in the unfolded state is larger than the screen area of ​​the electronic device when it is in the folded state; the first interaction mode is different from the second interaction mode; or, The electronic device is an electronic device with a rollable display screen; If the electronic device is in an extended posture and in a split-screen display mode, the first interaction mode and the second interaction mode are enabled; if the electronic device is in a retracted state and in the split-screen display mode, the first interaction mode is enabled and the second interaction mode is disabled. The area of ​​the rollable display screen when the electronic device is in an extended state is larger than the area of ​​the rollable display screen when the electronic device is in a retracted state; The first interaction mode is different from the second interaction mode.