Split-screen display method, electronic equipment, storage medium and chip system

By using left-right or top-down split-screen display in the upper or lower half of a foldable PC, combined with mirror window technology and sliding card lists, the problem of split-screen display on foldable PCs not conforming to user habits is solved, improving user experience and device stability.

CN120704557AActive Publication Date: 2025-09-26HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510632551.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-09-26
Estimated Expiration
2045-05-15

AI Technical Summary

Technical Problem

When using split-screen display, a PC with a foldable screen does not conform to the user's usage habits, resulting in a poor user experience and easily damaging the central axis area.

Method used

Different application windows are displayed in the upper or lower half of the electronic device's screen, using left-right split screen or top-bottom split screen mode. Mirror window technology is used to achieve synchronous refresh and sliding card lists to meet users' split-screen expectations in specific screen areas.

Benefits of technology

It improves the user's visual experience and the stability of device usage, reduces the tediousness of frequent operations and window closing, and conforms to the user's operating habits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120704557A_ABST
    Figure CN120704557A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a split-screen display method, electronic equipment, a storage medium and a chip system, and relates to the technical field of terminals. The method comprises the step that different application windows can be displayed in an upper half screen or a lower half screen of the electronic equipment in a left-right split screen mode. In this way, the use habit of the user can be better met, the expectation that the user performs left-right screen splitting on the upper half screen or the lower half screen is met, and therefore the visual experience of the user is improved. Moreover, a left-right split-screen display mode is adopted, so that when a user triggers and adjusts the left-right split-screen proportion, the middle shaft area is not easy to damage, and the use stability of the electronic equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a split-screen display method, electronic device, storage medium, and chip system. Background Art

[0002] With the development of technology, some electronic devices can be used as foldable screen devices. Taking a foldable screen personal computer (PC) as an example, a foldable screen PC can use a whole flexible screen (also called display screen or physical screen1) as a display device.

[0003] It is understandable that a foldable PC can support split-screen display of different application windows. However, in some scenarios, the split-screen display of a foldable PC does not conform to the user's usual usage habits, resulting in a poor user experience. Summary of the Invention

[0004] This application provides a split-screen display method, electronic device, storage medium, and chip system that can display different application windows in the upper or lower half of an electronic device's screen. This can better conform to user usage habits and meet users' desire to split the screen in the upper or lower half, thereby enhancing the user's visual experience.

[0005] In a first aspect, an embodiment of the present application provides a split-screen display method, which is applied to an electronic device, wherein the electronic device includes a first screen area and a second screen area, and the first screen area and the second screen area share a screen, and the method includes:

[0006] Displaying a first window and a second window in a first screen area, and displaying a third window in a second screen area; in response to a user triggering a first operation of split-screen displaying the first window in the first screen area, displaying the first split-screen area and the second split-screen area in the first screen area, wherein the first split-screen area displays the first window, and the second split-screen area displays one or more cards, the one or more cards including a card corresponding to the second window and a card corresponding to the third window, and the expansion angle between the first screen area and the second screen area is within a preset angle range. The split-screen display method provided in an embodiment of the present application can display different application windows in a split-screen in a first screen area of ​​an electronic device (such as the upper half screen or lower half screen of an electronic device). In this way, it can better conform to the user's usage habits and meet the user's expectation of splitting the screen in the upper half screen or the lower half screen, thereby enhancing the user's visual experience.

[0007] In one possible implementation, the method further includes: displaying a third window in the second screen area, and the content displayed in the third window is consistent with the content displayed by the card corresponding to the third window in the second split-screen area. In this way, the content displayed in the third window and the content displayed by the card corresponding to the third window can be refreshed synchronously in real time. For example, if the third window is playing a video, the card corresponding to the third window can also play the video synchronously. The user can only focus on the upper half of the screen or the lower half of the screen to understand the content played in the third window, thereby improving the user experience.

[0008] In one possible implementation, the method further includes: in response to a second operation triggering sliding the second split-screen area, sliding and displaying one or more cards in the second split-screen area. It is understandable that the second split-screen area supports sliding, so that more card information can be displayed within a limited screen space, making it convenient for the user to view the cards corresponding to all windows in the list of windows to be split. By sliding the list of windows to be split, the user can browse the content of more cards, thereby making it easier for the user to select the window to be split, thereby improving the efficiency of splitting the screen.

[0009] In one possible implementation, the method further includes: in response to a third operation of triggering a card corresponding to the third window in the second split-screen area, displaying the third window in the second split-screen area, and not displaying the third window in the second screen area. In an embodiment of the present application, the third operation can be understood as an operation of split-screen displaying the third window. In this way, the first window and the third window can be split-screen displayed in different areas in the first screen area. Splitting the first window and the third window in the first screen area of ​​the electronic device can be more in line with the user's usage habits and meet the user's desire to split the screen in the first screen area (such as the upper half screen or the lower half screen), thereby enhancing the user's visual experience.

[0010] In one possible implementation, the method further includes: displaying the second window in the first screen area, and the first split-screen area and the second split-screen area are displayed floating above the second window. In an embodiment of the present application, when the user chooses to display the first window and the third window in split screen, the user may pay more attention to the content displayed by the first window and the third window than the second window. Therefore, the second window can be displayed under the layer of the first window and the third window, or it can be understood that the first split-screen area and the second split-screen area are displayed floating above the layer of the second window. In this way, the unsplit window (i.e., the second window) will not affect the display of the split-screen window (i.e., the first window and the third window), thereby enhancing the user's split-screen experience.

[0011] In one possible implementation, the method further includes: in response to a fourth operation of triggering a card corresponding to the second window in the second split-screen area, displaying the second window in the second split-screen area, and displaying the third window in the second screen area. In an embodiment of the present application, the fourth operation can be understood as an operation of splitting the second window. In this way, the first window and the second window can be split-screen displayed in different areas in the first screen area. Splitting the first window and the second window in the first screen area of ​​the electronic device can be more in line with the user's usage habits and meet the user's desire to split the screen in the first screen area (such as the upper half screen or the lower half screen), thereby enhancing the user's visual experience.

[0012] In one possible implementation, the method further includes: in response to a fifth operation of triggering closing the card corresponding to the third window in the second split-screen area, canceling the display of the card corresponding to the third window in the one or more cards displayed in the second split-screen area, and not displaying the third window in the second screen area. It is understandable that based on the user's operation of closing the card corresponding to the third window, the third window in the second screen area and the card corresponding to the third window in the first screen area can both be closed. In this way, it can better meet the user's operating intentions. For windows that the user does not want to view, the user does not need to trigger the operation of closing the third window and triggering the closing of the card corresponding to the third window separately, reducing the user's frequent triggering of closing the same content window, thereby improving the user's operating experience.

[0013] In one possible implementation, the first split-screen area is on the left side of the first screen area, and the second split-screen area is on the right side of the first screen area. In an embodiment of the present application, the first split-screen area can display the first split-screen window (such as the first window), and the second split-screen area can display the second split-screen window (such as the third window). In order to comply with the left-to-right operation habits of most users, the first split-screen area can be displayed on the left side of the first screen area, and the second split-screen area can be displayed on the right side of the first screen area. In this way, using left and right split screens to display split-screen windows in the first screen area can be more in line with the user's usage habits and meet the user's expectations of left and right split screens in the upper or lower half of the screen, thereby enhancing the user's visual experience.

[0014] In one possible implementation, an electronic device includes a first module and a second module. In response to a user triggering a first operation to display a first window in a split-screen area in a first screen area, the electronic device further includes: the first module determining the size of the first split-screen area and the size of the second split-screen area based on the size of the first screen area; the first module creating a mirrored window of a third window; the second module creating a drawing area for the mirrored window of the third window based on first indication information, and copying the rendered content of the drawing area of ​​the third window to the drawing area of ​​the mirrored window of the third window, wherein the first indication information is used to instruct the second module to create the drawing area for the mirrored window of the third window and to indicate that the rendering content of the drawing area of ​​the third window and the drawing area of ​​the mirrored window of the third window are the same; and the second module displays the mirrored window of the third window in the second split-screen area. It is understandable that for the third window, it is necessary to display a card corresponding to the third window in the first split-screen area of ​​the first screen area and to display the third window in the second screen area, and the content of the third window and the card corresponding to the third window need to be refreshed synchronously. Therefore, the first module can generate a corresponding mirrored window for the third window so that the mirrored window of the third window can be displayed in the first split-screen area. In this way, through the interaction between the first module and the second module, different application windows can be displayed in split screen in the first screen area, meeting the user's expectation of split screen in the first screen area (such as the upper half screen or the lower half screen), thereby improving the user experience.

[0015] In one possible implementation, the size of the first split-screen area is half the size of the first screen area. In the embodiment of the present application, the use of a split-screen display method in the first screen area can meet the user's desire to split the screen in the upper half or lower half of the screen, thereby improving the user's visual experience. When the user triggers the adjustment of the split-screen ratio, it is not easy to cause damage to the central axis area, which can improve the stability of the electronic device.

[0016] In one possible implementation, in response to triggering the fifth operation of closing the card corresponding to the third window in the second split-screen area, the method further includes: the first module closing the third window and the card corresponding to the third window; based on the second instruction information, the second module destroying the drawing area of ​​the third window and the drawing area of ​​the mirror window of the third window, wherein the second instruction information is used to instruct the second module to destroy the drawing area of ​​the third window and the drawing area of ​​the mirror window of the third window. In the split-screen display state, in response to the fifth operation triggered by the user, the first module can close the mirror window of the third window and close the third window that has a mirror relationship with the mirror window. The second module can destroy the drawing area of ​​the third window and, based on the mirror relationship, also destroy the drawing area of ​​the mirror window of the third window, thereby achieving the synchronous closing of the two windows (i.e., the third window and the mirror window of the third window).

[0017] In one possible implementation, the electronic device also includes a third module, which, in response to the user triggering the first operation of split-screen displaying the first window in the first screen area, further includes: the first module queries the second module for the usage status of the electronic device, and the usage status includes a folded state and an unfolded state; the third module determines that the unfolding angle between the first screen area and the second screen area is less than a preset angle, and transmits first information to the first module, and the first information is used to indicate that the electronic device is in a folded state. It can be understood that when the electronic device is in a folded state, an entire screen of the electronic device (such as a flexible screen) can be used as two screens, and it can also be understood that the PC has two display areas, such as a first screen area and a second screen area. And different application windows are displayed in split screen in the first screen area. In this way, it can be more in line with the user's usage habits and meet the user's expectation of splitting the screen in the upper half of the electronic device, thereby enhancing the user's visual experience.

[0018] In a second aspect, an embodiment of the present application provides a split-screen display device, which may be an electronic device or a chip or chip system within an electronic device. The device may include a processing unit and a display unit. The processing unit is used to implement any method related to processing performed by the electronic device in the first aspect or any possible implementation of the first aspect. The display unit is used to implement any method related to display performed by the electronic device in the first aspect or any possible implementation of the first aspect.

[0019] When the apparatus is an electronic device, the processing unit may be a processor. The apparatus may further include a storage unit, which may be a memory. The storage unit is configured to store instructions, and the processing unit executes the instructions stored in the storage unit to cause the electronic device to implement the method described in the first aspect or any possible implementation of the first aspect.

[0020] When the device is a chip or chip system in an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit to enable the electronic device to implement the method described in the first aspect or any possible implementation of the first aspect. The storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or it may be a storage unit in the electronic device located outside the chip (for example, a read-only memory, a random access memory, etc.).

[0021] In a third aspect, an embodiment of the present application provides an electronic device comprising one or more processors and a memory, the memory being coupled to the one or more processors, the memory being used to store computer program code, the computer program code comprising computer instructions, and the one or more processors being used to call computer instructions to execute the method described in the first aspect or any possible implementation of the first aspect.

[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is run on a computer, the computer executes the method described in the first aspect or any possible implementation of the first aspect.

[0023] In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computer program, which, when the computer program runs on a computer, enables the computer to execute the method described in the first aspect or any possible implementation of the first aspect.

[0024] In a sixth aspect, the present application provides a chip or chip system, comprising at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected via a line, and the at least one processor is configured to execute a computer program or instruction to perform the method described in the first aspect or any possible implementation of the first aspect. The communication interface in the chip may be an input / output interface, a pin, or a circuit.

[0025] In one possible implementation, the chip or chip system described above in this application further includes at least one memory, in which instructions are stored. The memory may be a storage unit within the chip, such as a register, a cache, etc., or a storage unit of the chip (e.g., a read-only memory, a random access memory, etc.).

[0026] It should be understood that the second to sixth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of different display modes of a flexible screen under different usage modes provided by an embodiment of the present application;

[0028] Figure 2 A schematic diagram of an upper and lower split screen display of application windows when a PC is in a folded state provided by an embodiment of the present application;

[0029] Figure 3 A schematic diagram showing application windows displayed on the left and right sides of a PC in a folded state provided by an embodiment of the present application;

[0030] Figure 4 A schematic diagram of displaying a split-screen pop-up window in a window provided in an embodiment of the present application;

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

[0032] Figure 6 A schematic diagram of the software architecture of an electronic device provided in an embodiment of the present application;

[0033] Figure 7 A schematic diagram of the interaction flow between modules in a split-screen display method provided in an embodiment of the present application;

[0034] Figure 8 A schematic diagram of window mapping when a PC is split into left and right screens for display provided in an embodiment of the present application;

[0035] Figure 9 A schematic diagram of a split-screen display method provided in an embodiment of the present application;

[0036] Figure 10 A schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] To facilitate a clear description of the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced below:

[0038] 1. Terminology

[0039] In the embodiments of this application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first chip" and "second chip" are used solely to distinguish between different chips and do not define their order. Those skilled in the art will understand that terms such as "first" and "second" do not define the quantity or execution order, and do not necessarily define differences.

[0040] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0041] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0042] With the development of technology, some electronic devices can be used as foldable screen devices. Taking a foldable screen PC as an example, a foldable screen PC can use a whole flexible screen as a display device. It is understandable that the display mode of the flexible screen is different when the PC is in different usage modes (including unfolded state and folded state).

[0043] For example, Figure 1 Schematic diagram showing different display modes of the flexible screen under different usage modes of PC. Figure 1 As shown in (a), when the PC is in the unfolded state, the flexible screen can be used as a whole screen. In this way, the PC can be used similarly to a tablet. In some scenarios, the entire screen of the PC in the unfolded state can be called the A-side screen.

[0044] like Figure 1 As shown in (b), when the PC is in a folded state, the flexible screen can be used as two screens, which can also be understood as the PC having two display areas. In this way, the PC can be used in a similar way to a laptop. For the sake of convenience, the two screens of the PC in the folded state will be referred to as the B-side screen and the C-side screen, respectively, where the B-side screen is the upper half of the PC screen and the C-side screen is the lower half of the PC screen. Figure 1 As shown in (b), the PC may include a B-side screen 101, a C-side screen 102, and a central axis area 103. The B-side screen 101 and the C-side screen 102 are respectively located on both sides of the central axis area 103, and the B-side screen 101 and the C-side screen 102 can be unfolded or folded through the central axis area 103. For example, when the PC is in the unfolded state, it can be understood that the angle between the B-side screen 101 and the C-side screen 102 is close to 180 degrees. When the PC is in the folded state, it can be understood that the angle between the B-side screen 101 and the C-side screen 102 is less than 180 degrees, for example, about 90 degrees.

[0045] The PC can support split-screen display of different application windows. In some split-screen display implementations, when the PC is in a folded state, the PC can split different application windows and display them on the B-side screen and the C-side screen, that is, displaying application windows in an up-down split-screen manner. Figure 2 , which is a schematic diagram of displaying application windows (referred to as windows for short) in an upper and lower split-screen manner when the PC is in a folded state.

[0046] like Figure 2 As shown in (a), the B side screen of the PC can display window 1 and window 2. The C side screen of the PC can display window 3. In response to the user triggering the operation of splitting the window 1, as shown in FIG. Figure 2 As shown in (b), the PC can display window 1 in full screen on the B-side screen and display window 2 and window 3 in a card list format on the C-side screen.

[0047] Further, in response to the user triggering the split-screen display operation of window 3 in the C-side screen, as shown in FIG. Figure 2 As shown in (c), the PC can display Window 3 in full screen on screen C. At this time, Window 1 and Window 3 form a split screen display. Window 2 remains in the original position on screen B.

[0048] However, when the PC is folded, similar to how a laptop is used, users are usually accustomed to using the top half of the PC screen. Therefore, using the above-mentioned top-bottom split screen method to display different application windows does not conform to user usage habits. In addition, if the split screen ratio of the top and bottom halves of the screen is different, it may cause the user's visual experience on the top and bottom halves to be inconsistent, reducing the user experience. When the user triggers the adjustment of the split screen ratio of the top and bottom halves of the screen, it is also easy to cause damage to the central axis area.

[0049] In view of this, the split-screen display method provided in the embodiments of the present application can display different application windows in the upper or lower half of the screen of an electronic device. This can better conform to the user's usage habits and meet the user's desire to split the screen in the upper or lower half of the screen, thereby improving the user's visual experience. Moreover, when the split-screen display method is used in the upper or lower half of the screen, when the user triggers the adjustment of the split-screen ratio, it is not easy to cause damage to the central axis area, which can improve the stability of the electronic device.

[0050] The following describes the method of the embodiment of the present application in detail through specific embodiments. The following embodiments can be combined with each other or implemented independently, and the same or similar concepts or processes may not be repeated in some embodiments.

[0051] It should be noted that the interfaces provided in the embodiments of the present application are exemplary interfaces. Each interface may include more or less content and controls, and the content and controls included in each specific interface are not limited in the embodiments of the present application. The operations mentioned in the embodiments of the present application may include but are not limited to touch (for example, click, etc.), voice control, gestures and other operations, which are not limited in the embodiments of the present application.

[0052] For example, Figure 3 A schematic diagram is shown of an embodiment of the present application in which the PC is in a folded state and application windows are displayed in a split screen on the upper half of the screen (i.e., the B-side screen) in the left and right sides.

[0053] It is understandable that the split-screen display method of the embodiment of the present application is not limited to the left-right split-screen method. The PC can divide the upper half of the screen into different areas for split-screen display. For example, the upper half of the screen can also be split up and down or split diagonally. The embodiment of the present application does not limit the display position of the split-screen area. The specific method of splitting the screen in different areas of the upper half of the screen is similar to the left-right split-screen method of the upper half of the screen, and will not be repeated. In addition, the PC can also split the screen in the lower half of the screen. The specific method of splitting the screen to display application windows in the lower half of the screen (i.e., the C-side screen) is similar to the split-screen display method of the upper half of the screen, and will not be repeated.

[0054] like Figure 3 As shown in (a), Window 1 (also called Window1) and Window 2 (also called Window2) can be displayed on the B-side screen of the PC. Window 3 (also called Window3) can be displayed on the C-side screen of the PC. In response to the user triggering the split-screen display of Window 1, the PC can split-screen and display Window 1 on the left or right half of the B-side screen. Whether Window 1 is displayed on the left or right half of the B-side screen can be determined by the user's triggering operation or based on the default setting of the electronic device, and is not limited in this embodiment of the present application.

[0055] The operation of triggering the split-screen display of window 1 can be an operation in which the user drags window 1 to a hot zone on the edge of the B-side screen, such as a left hot zone or a right hot zone, or an operation in which the user triggers a control within window 1, or other possible operations, which are not limited in the embodiment of the present application. It is understood that the hot zone is used to represent an area in the user interface (UI) where users frequently interact. The hot zone may include buttons, links, menus, or other elements that users frequently click or touch.

[0056] For example, take the operation of a user triggering a control in window 1 as an example, such as Figure 4(a) is a schematic diagram of an interface 400 of window 1. The interface 400 may include a split-screen control 401. The specific style and display position of the split-screen control 401 are not limited in this embodiment of the application.

[0057] In response to the user triggering the operation of the split screen control 401 in window 1, such as Figure 4 As shown in (b), a pop-up window 402 may be displayed in interface 400, which may be used to instruct the user to select a split-screen display location for window 1. Pop-up window 402 may be displayed near split-screen control 401 in interface 400, or may be displayed at any possible location in interface 400, not limited in this embodiment of the present application. Pop-up window 402 may include a top-half-screen left split-screen option 4021, a top-half-screen right split-screen option 4022, a bottom-half-screen left split-screen option 4023, and / or a bottom-half-screen right split-screen option 4024.

[0058] Among them, the upper half screen left side split screen option 4021 may include an upper half screen left side split screen icon and an upper half screen left side split screen prompt. The upper half screen left side split screen prompt may include, for example, "the window is displayed on the left side of the upper half screen."

[0059] The upper right side split screen option 4022 may include an upper right side split screen icon and an upper right side split screen prompt. The upper right side split screen prompt may include, for example, "the window is displayed on the right side of the upper half screen."

[0060] The lower half screen left side split screen option 4023 may include a lower half screen left side split screen icon and a lower half screen left side split screen prompt. The lower half screen left side split screen prompt may include, for example, "the window is displayed on the left side of the lower half screen."

[0061] The lower right side split screen option 4024 may include a lower right side split screen icon and a lower right side split screen prompt. The lower right side split screen prompt may include, for example, "the window is displayed on the right side of the lower half screen."

[0062] It is understandable that the embodiment of the present application does not limit the display order of the above-mentioned split-screen options, the style of the split-screen icons, and the content of the split-screen prompts.

[0063] Optionally, the pop-up window 402 may only display the split screen icon or the split screen prompt. For example, if only the split screen icon is displayed in the pop-up window 402, Figure 4 As shown in (c), pop-up window 402 may display upper half screen left split screen icon 4025, upper half screen right split screen icon 4026, lower half screen left split screen icon 4027, and lower half screen right split screen icon 4028. It is understood that the embodiment of the present application does not limit the display order and display style of each split screen icon.

[0064] The user can select left split screen or right split screen display window 1 in the pop-up window 402. For example, Figure 4 (b) is taken as an example, in response to the user triggering the operation of the split screen option 4021 on the left side of the upper half screen, such as Figure 3 As shown in (b), the left half of the B-side screen can display window 1, and the right half of the B-side screen can display a list of screens to be split. The list of screens to be split can include cards corresponding to one or more windows, for example, card 301 corresponding to window 2 and card 302 corresponding to window 3.

[0065] Optional, such as Figure 3 As shown in (b), the size of window 1 can be half the size of the B-side screen. The size of the window can also be understood as the size of the window, such as the width and height of the window. Of course, the size of window 1 can also be displayed according to other proportions, which is not limited in the embodiment of the present application. It is understandable that the user can adjust the display ratio of window 1 and the list to be split on the B-side screen to meet the user's interface requirements for split-screen display and enhance the split-screen experience.

[0066] Optionally, the list of windows to be split can be swiped up and down or left and right. This allows more card information to be displayed within the limited screen space, making it easier for users to view the cards corresponding to all windows in the list. By swiping the list of windows to be split, users can browse the content of more cards, making it easier for users to select the window they want to split, improving split-screen efficiency.

[0067] Optionally, the sizes of the cards in the list to be split can be the same or different, which is not limited in the embodiments of the present application. It is understandable that the sizes of the cards in the list to be split can be set to be different, for example, the size ratio of each card can be the same as the size ratio of its corresponding window. That is to say, if window 2 is relatively small, the card 301 corresponding to window 2 is also relatively small, and if window 3 is relatively large, the card 302 corresponding to window 3 is also relatively large. In this way, when the user's vision switches between cards and windows, a visual association can be established between the card and its corresponding window, making it easier for the user to understand the correspondence between the card and the window, and the visual transition will be more natural.

[0068] Alternatively, the size of each card in the list to be split can be set to the same. This creates a more consistent visual appearance, allowing users to more easily browse and compare information within the cards without having to adjust their sightlines to accommodate elements of different sizes, thereby improving the aesthetics of the interface and readability of the information.

[0069] Optionally, the C-side screen can still display window 3. In a possible scenario, if the B-side screen displays the list of screens to be split, the C-side screen does not display window 3. Based on the user's choice, after the window for splitting the screen (such as window 2) is determined in the list of screens to be split, the C-side screen re-displays window 3. That is, when entering the state of the screen to be split, window 3 of the C-side screen disappears, and when exiting the state of the screen to be split, window 3 of the C-side screen is redisplayed. In such a scenario, window 3 will disappear and be displayed again on the C-side screen, which may easily cause the user to experience the phenomenon of window 3 flickering or frequent flashing, reducing the user experience. Therefore, in an embodiment of the present application, during the split-screen display process, the window (such as window 3) in the C-side screen can still be displayed, so that the stability of the window display can be maintained, thereby improving the user's visual experience.

[0070] Optionally, in an embodiment of the present application, the content displayed in each window of the C-side screen can be consistent with the content displayed in the cards corresponding to these windows in the list of screens to be split. It can also be understood that the content displayed in each window of the C-side screen can be synchronized and refreshed in real time with the content displayed in the cards corresponding to these windows in the list of screens to be split. Taking window 3 in the C-side screen as an example, the content displayed in window 3 can be the same as the content displayed in the card 302 corresponding to window 3 in the list of screens to be split. For example, if window 3 is playing a video, the card 302 corresponding to window 3 can also play the video synchronously. In this way, the user can only focus on the upper half of the screen or the lower half of the screen to understand the content played in window 3.

[0071] Further, in response to the user triggering the operation of the window 3 corresponding to the card 302 in the B side screen, as shown in FIG. Figure 3 As shown in (c), the PC can display window 3 on the right half of the B-side screen. At this time, window 1 and window 3 form a left-right split screen on the B-side screen. Window 3 is no longer displayed on the C-side screen. Among them, the operation of triggering the card 302 corresponding to window 3 in the B-side screen can be an operation of clicking any position of the card 302 corresponding to window 3, or an operation of triggering a certain control in the card 302 corresponding to window 3, or other possible operations, which are not limited in the embodiments of the present application. It is understandable that the user can adjust the split-screen ratio of window 1 and window 3 on the B-side screen to meet the user's interface requirements for split-screen display and enhance the split-screen experience.

[0072] Optionally, other windows that are not displayed in split screens can be displayed in the positions originally located on the B-side screen or the C-side screen. For example, taking window 2 as an example, Figure 3 As shown in (c), window 2 can be displayed at the position originally located in the B side screen, that is, Figure 3 The display position of window 2 in (c) can be Figure 3 The display position of window 2 in (a) is the same.

[0073] Optionally, other windows that are not split, such as Window 2, can also be displayed on the C-side screen. For example, Window 2 and other windows that are not split can be displayed in a card list format. In this way, the user can view Window 1 and Window 3 in a left-right split on the B-side screen, while also viewing other windows that are not split on the C-side screen, thereby facilitating window management for the user.

[0074] Optionally, in response to the user triggering card 301 corresponding to window 2 on screen side B, the PC may display window 2 on the right half of screen side B. In this case, window 1 and window 2 form a split screen on screen side B. Window 3 is displayed on screen side C. The triggering of card 301 corresponding to window 2 on screen side B may be clicking anywhere on card 301 corresponding to window 2, triggering a control on card 301 corresponding to window 2, or other possible actions, which are not limited in this embodiment of the present application.

[0075] It is understandable that when the user selects to split the screen display window 1 and window 3, the user may pay more attention to the content displayed in window 1 and window 3 than in other windows. Figure 3 As shown in (c), window 2 can be displayed below the layer of window 1 and window 3, or it can be understood that window 1 and window 3 are displayed floating above the layer of window 2. In this way, the non-split window will not affect the display of the split-screen window, thereby improving the user's split-screen experience.

[0076] In a possible implementation, the user can close the card corresponding to a window in the list of screens to be split. In this case, the card corresponding to the window will no longer be displayed in the list of screens to be split, and the window will not be displayed on the C-side screen.

[0077] For example, taking the example of the user closing the card 302 corresponding to window 3 in the list of screens to be split, Figure 3 In (b), in response to the user triggering the operation of closing the card 302 corresponding to the window 3, as shown in FIG. Figure 3 As shown in (d), the card 302 corresponding to window 3 is no longer displayed in the list of screens to be split. The other cards in the list of screens to be split can be rearranged. For example, the card 303 corresponding to window 4 can occupy the position of the original card 302 corresponding to window 3. At the same time, window 3 is no longer displayed on the C-side screen, that is, window 3 on the C-side screen will also be closed synchronously. Among them, the operation of triggering the closing of the card 302 corresponding to window 3 can be the operation of dragging the card 302 corresponding to window 3 to the edge of the list of screens to be split, or the operation of triggering a control in the card 302 corresponding to window 3, or other possible operations, which are not limited in the embodiments of the present application.

[0078] It can be understood that the electronic device of the embodiment of the present application can be a terminal device with a foldable screen, and the terminal device with a foldable screen can use a whole flexible screen as a display device. For example, electronic devices with foldable screens may include: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, electronic devices in 5G networks or future evolved public land mobile communication networks (PLMNs). The electronic devices in the network (PLMN) are not limited to this in the embodiments of the present application.

[0079] In addition, in the embodiment of the present application, the electronic device can also be an electronic device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.

[0080] The electronic devices in the embodiments of the present application may also be referred to as: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.

[0081] In an embodiment of the present application, the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.

[0082] For example, Figure 5 A schematic diagram of the hardware structure of an electronic device is shown.

[0083] The electronic device may include a processor 510, an external memory interface 520, an internal memory 521, a universal serial bus (USB) interface 530, a charging management module 540, a power management module 541, a battery 542, a wireless communication module 550, an audio module 560, a speaker 560A, a receiver 560B, a microphone 560C, an earphone interface 560D, a button 570, a sensor module 571, a camera 572, and a display screen 573. The sensor module 571 may include an accelerometer sensor, a gyroscope sensor, a Hall sensor, a pressure sensor, a fingerprint sensor, a touch sensor, and the like.

[0084] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0085] The processor 510 may include one or more processing units. For example, the processor 510 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0086] The processor 510 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 510 is a cache memory. This memory can store instructions or data that the processor 510 has just used or is reusing. If the processor 510 needs to use the instruction or data again, it can be directly called from the above-mentioned memory. This avoids repeated accesses, reduces the waiting time of the processor 510, and thus improves the efficiency of the system. For example, in an embodiment of the present application, the processor 510 can be used to calculate the folding state of the screen, create a mirror window, and perform graphics rendering, etc.

[0087] The internal memory 521 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 521 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function, etc. The data storage area may store data created during the use of the electronic device, etc. In addition, the internal memory 521 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 510 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 521, and / or instructions stored in a memory provided in the processor. For example, in an embodiment of the present application, the internal memory 521 can be used to store codes related to querying the foreground window, creating a mirror window, and graphics rendering, etc.

[0088] In the embodiment of the present application, a combination accelerometer-gyroscope sensor (A+G) or a Hall sensor may be used to measure the unfolding angle of the electronic device, thereby determining whether the electronic device is in an unfolded state or a folded state.

[0089] Among them, the A+G sensor can be understood as a combined sensor that integrates an acceleration sensor and a gyroscope sensor. The acceleration sensor can be used to measure the acceleration of the electronic device, detect the acceleration change of the electronic device on three axes (X axis, Y axis, Z axis), and further detect the tilt angle of the electronic device. The gyroscope sensor can be used to measure the angular velocity of the electronic device and provide the rotation information of the electronic device on three axes (X axis, Y axis, Z axis). The electronic device can determine the usage form of the electronic device based on the sensor data reported by the A+G sensor.

[0090] A Hall effect sensor is a sensor based on the Hall effect. For example, in embodiments of the present application, a Hall effect sensor can be installed in an electronic device. When the screen is opened or closed, the electronic device can use the Hall effect to determine the usage mode of the electronic device based on the sensor data reported by the Hall effect sensor.

[0091] Display screen 573 can be used to display images, videos, etc. Display screen 573 includes a display panel. For example, in an embodiment of the present application, display screen 573 of the electronic device can be a single flexible screen. Display screen 573 can display one or more application windows, and can also be split into left and right screens.

[0092] The electronic device provided in the embodiment of the present application can run an operating system (OS), which can be various operating systems currently used in the industry, such as HarmonyOS, or other operating systems (such as operating system, operating system, Operating systems (OSs, etc.); they can also be various open source operating systems or their derivatives, such as Linux OS and other embedded operating systems; or they can be new operating systems of the future, such as AI operating systems based on artificial intelligence. An operating system is a set of interrelated system software programs that manage and control the operation of electronic devices, utilize and run hardware and software resources, and provide public services to organize user interactions. The operating system plays a connecting role in electronic devices, connecting the physical hardware layer downward and providing an operating environment for application software upward.

[0093] For ease of description, the software architecture of the electronic device is described below using the Hongmeng operating system as an example. It should be noted that in other operating systems, as long as the functions implemented by each functional module are similar to those of the embodiments of the present application, the solution of the present application can also be implemented.

[0094] Figure 6 It is a schematic diagram of the software architecture of the electronic device according to an embodiment of the present application.

[0095] The software architecture of an electronic device can be divided into several layers, and the layers can communicate with each other through software interfaces. In some embodiments, the Hongmeng system may include an application layer, a framework layer, a system service layer, and a kernel layer. It is understandable that the system functions in the software architecture can be tailored, added, or combined at the subsystem granularity in different device form deployment scenarios, and each subsystem can be tailored, added, or combined at the functional granularity, which is not limited in the embodiments of this application.

[0096] The application layer includes applications, including system applications and third-party applications. For example, system applications include desktop, settings, phone, camera, and gallery applications. Third-party applications include social networking, travel, and other applications. In some scenarios, the application layer may also be called the application program layer.

[0097] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications, such as the ArkUI framework, the user program framework, and the Ability framework. It is understandable that the API can be understood as a series of open capabilities provided to support application development. The API can be set in the framework layer or independently of the framework layer, which is not limited in the embodiments of the present application. The operating systems carried by different devices may be different, and the APIs they support may also be different. In some scenarios, the framework layer can also be called the application framework layer.

[0098] The ArkUI framework provides a complete infrastructure for UI development in system applications, including UI features such as components, layouts, animations, and interactive events, as well as real-time interface preview tools. Abilities are lightweight applications, and the Ability framework schedules and manages their operation and lifecycle.

[0099] The system service layer includes the core capabilities of the system and provides services to applications through the framework layer. The system service layer may include, but is not limited to, one or more of the following components: the system basic capability subsystem set, the basic software service subsystem set, the enhanced software service subsystem set, and the hardware service subsystem set.

[0100] The system's basic capability subsystems provide fundamental capabilities for running, scheduling, and migrating distributed applications across multiple devices. These subsystems include distributed task scheduling, distributed data management, a distributed soft bus, and the Ark runtime; they may also include a multi-mode input subsystem, a graphics subsystem, and a security subsystem.

[0101] The graphics subsystem provides graphics rendering and display output. By effectively utilizing system hardware resources, the graphics subsystem provides a smooth and efficient display experience. The graphics subsystem includes UI components, layout, animation, fonts, input events, window management modules, screen management modules, and a graphics rendering and display module.

[0102] For example, in an embodiment of the present application, the window management module can be used to calculate the position of the window and the size of the window, etc.

[0103] The screen management module can be responsible for determining the folding or unfolding state, axis area position, and screen size of the electronic device screen.

[0104] The graphics display module can be used to render the window content and display the rendered content on the screen.

[0105] The basic software service subsystem set can provide common, general-purpose software services. The basic software service subsystem set can include an event notification subsystem, a multimedia subsystem, etc. The enhanced software service subsystem set can provide differentiated, capability-enhanced software services for different devices. The enhanced software service subsystem set can include a smart screen-specific business subsystem, a wearable-specific business subsystem, etc. The hardware service subsystem set can provide common, adaptive hardware services. The hardware service subsystem set can include a location service subsystem, a wearable-specific hardware service subsystem, etc.

[0106] The kernel layer may include the kernel abstract layer (KAL), kernel subsystems, driver subsystems, etc. Among them, the kernel abstract layer provides basic kernel capabilities to the upper layer by shielding the differences between multiple kernels, including but not limited to process / thread management, memory management, file system, network management, and peripheral management. The kernel subsystem can support the selection of suitable OS kernels for different resource-constrained devices, including but not limited to the Linux kernel, Hongmeng kernel, LiteOS, etc. The driver subsystem can provide unified peripheral access capabilities and a driver development and management framework. The driver framework includes, for example: display driver, camera driver, audio driver, Bluetooth driver, sensor driver, etc.

[0107] The following combination Figure 6 The window management module, screen management module and graphics display module in Figure 7The following describes an exemplary process for interacting with modules in the split-screen display method of an embodiment of the present application. The split-screen display method may include a first part and a second part. The first part describes the execution process for triggering split-screen display, corresponding to steps S701 to S708. The second part describes the execution process for closing a window in the split-screen display state, corresponding to steps S709 to S711.

[0108] For ease of description, the following example illustrates the user triggering a split-screen operation on the B-side screen of the PC. The case where the user triggers a split-screen operation on the C-side screen of the PC is similar to the implementation of the B-side screen and will not be described in detail.

[0109] Part 1: Split-screen display process.

[0110] S701: The window management module queries the screen management module for the folding state of the PC screen.

[0111] S702: The screen management module returns the folding state to the window management module.

[0112] In response to the user triggering the window split screen operation on the B side screen of the PC, the window management module can execute step S701 based on the user's split screen request to query the screen management module for the folding state of the current PC screen and the position and size of the B side screen. Figure 3 The description of the operation of triggering window 1 to perform split-screen display in the corresponding embodiment will not be repeated.

[0113] In a possible implementation, the screen management module can determine the folding angle between the B-side screen and the C-side screen of the PC based on sensors, such as A+G sensors or Hall sensors, so as to determine whether the electronic device is in an unfolded state or a folded state. Taking the A+G sensor as an example, the screen management module can obtain sensor data such as acceleration and angular velocity collected by the A+G sensor based on the A+G sensor driver, and calculate the unfolded angle of the PC based on the sensor data. When the PC is unfolded to a certain angle, for example, the unfolding angle is between 30 degrees and 150 degrees, the screen management module can determine that the PC is in a folded state. For a detailed introduction to the A+G sensor or Hall sensor, please refer to Figure 5 The relevant descriptions in the corresponding embodiments are omitted here.

[0114] When the PC is determined to be in the folded state, the screen management module may execute step S702 to return information that the PC is currently in the folded state to the window management module. After obtaining the information that the PC is in the folded state, the window management module may execute step S703.

[0115] S703: The window management module triggers left-right screen splitting.

[0116] When the PC is in the folded state, the window management module can trigger the left-right split screen process of the B-side screen.

[0117] On the one hand, the window management module can display the window to be split in the first area of ​​the B-side screen. The first area can be the left area, right area or other possible areas of the B-side screen, which is not limited in the embodiment of the present application. Taking the first area as the left area of ​​the B-side screen as an example, the window management module can calculate the window to be split (such as Figure 3 The size of window 1) in (B) is set, and the window to be split is displayed in the left area of ​​the B side screen.

[0118] In a possible implementation, the window management module can calculate the split-screen window based on the SplitWindow window splitting technology. This window splitting technology can allow the user to adjust the size of the left and right split screens by dragging the separator bar to improve the flexibility and operability of the user interface. The size of the window to be split can be pre-set by the PC. For example, the PC can pre-set the window to be split to occupy half the size of the B side screen, or other proportions; or the size of the window to be split can be customized by the user, which is not limited in the embodiments of the present application.

[0119] On the other hand, the window management module can display the list of screens to be split in the second area of ​​the B-side screen. The second area can be the left area, the right area or any other possible area different from the first area of ​​the B-side screen, and the embodiment of the present application is not limited thereto. Taking the second area as the right area of ​​the B-side screen as an example, the list of screens to be split can include cards corresponding to one or more windows, such as Figure 3 In (b), the list of screens to be split includes card 301 corresponding to window 2 and card 302 corresponding to window 3.

[0120] It is understood that in the list of screens to be split, the card corresponding to the window can be the window management module displaying the window as a card in the list of screens to be split, or the window management module can create a corresponding mirror window for the window and display the mirror window as a card in the list of screens to be split. The mirror window can be understood as a window generated by copying the window content, or as a copy window created based on the window. The content displayed in the window and the corresponding mirror window can be consistent. When the content in the window is refreshed, the content displayed in its mirror window will also be refreshed.

[0121] The window management module may further execute step S704 before creating the mirror window.

[0122] S704: The window management module queries the foreground window of screen C.

[0123] It is understandable that since the split-screen window needs to be displayed in the B-side screen, the window originally displayed in the B-side screen (such as window 2) will be blocked by the split-screen window. In other words, the B-side screen does not need to display the window and the card corresponding to the window at the same time (such as there is no need to display window 2 and the card corresponding to window 2 at the same time), but only needs to use the window as a card in the list of screens to be split (such as using window 2 as a card). Therefore, the window management module does not need to create a mirror window for the window in the B-side screen, but uses the window in the B-side screen as a card. For example, the window management module does not need to create a corresponding mirror window 2 for window 2, but uses window 2 as a card in the list of screens to be split.

[0124] For the foreground windows displayed on the C-side screen, it is necessary to display the cards corresponding to these foreground windows in the list of screens to be split on the B-side screen, and to display these foreground windows on the C-side screen, and the contents of the foreground windows and the corresponding cards need to be refreshed synchronously. Therefore, the window management module can query the foreground windows running on the C-side screen and generate corresponding mirror windows for these foreground windows so that these mirror windows can be displayed in the list of screens to be split on the B-side screen. Among them, the foreground windows of the C-side screen can be understood as windows running in the foreground of the C-side screen. Users can see the page information of these windows and can also interact with the foreground windows.

[0125] For example, Figure 8 A schematic diagram shows window mapping when the B-side screen of a PC is split into left and right screens. Window 1 and Window 2 are running in the foreground of the B-side screen, while Window 3 and Window 4 are running in the foreground of the C-side screen. The left side of the B-side screen can be used to display Window 1 to be split, while the right side can be used to display a list of screens to be split, which can include cards corresponding to Window 2, Window 3, and Window 4.

[0126] It can be understood that since the B-side screen is used for split-screen display and window 2 is the foreground window in the B-side screen, there is no need to display window 2 and the card corresponding to window 2 at the same time, that is, the window management module does not need to create a mirror window for window 2, but can display window 2 as a card in the list of screens to be split.

[0127] Since Window 3 and Window 4 are the foreground windows on the C-side screen, it is necessary to display the corresponding card of Window 3 in the list of screens to be split on the B-side screen while Window 3 is displayed on the C-side screen, and it is necessary to display the corresponding card of Window 4 in the list of screens to be split on the B-side screen while Window 4 is displayed on the C-side screen. Therefore, the window management module can create a mirror window 3 (also called Window 3 (Mirror)) for Window 3 and a mirror window 4 (also called Window 4 (Mirror)) for Window 4, so as to display mirror window 3 as the corresponding card of Window 3 in the list of screens to be split, and display mirror window 4 as the corresponding card of Window 4 in the list of screens to be split.

[0128] It is understood that before creating the mirrored window, the window management module may first query which foreground windows are on the C-side screen. In a possible implementation, the window management module may need to query which foreground windows are on the electronic device, i.e., the windows running in the foreground of the electronic device. Furthermore, the window management module may also need to query whether the foreground window belongs to the B-side screen or the C-side screen.

[0129] In an implementation of querying the foreground window, the window management module can call an interface to query the life cycle of each application running in the electronic device. For example, the getRunningProcess() interface can be called to query. The specific method of querying the life cycle of the application is not limited in this embodiment of the application. If the life cycle of the application is in the foreground (onForeground) state, it means that the application is a foreground application and the corresponding window is the foreground window. For example Figure 8 The foreground windows may include window 1, window 2, window 3, and window 4.

[0130] In an implementation of querying the foreground window on the C-side screen, the window management module can obtain information such as the position and size of the C-side screen, and can also obtain information such as the position and size of each application window. The position information of the C-side screen can include the coordinate information of a corner of the C-side screen (such as the upper left corner), and the size information of the C-side screen can include the width and height information of the C-side screen. The position information of the application window can include the coordinate information of a corner of the application window (such as the upper left corner), and the size information of the application window can include the width and height information of the application window.

[0131] In a possible implementation, when a window is located within the range of the C-side screen, it indicates that the window is the foreground window of the C-side screen. Figure 8 The positions of window 3 and window 4 are within the range of the C-plane screen, and the window management module can determine that window 3 and window 4 are foreground windows of the C-plane screen.

[0132] When there is a foreground window on the C-side screen, the window management module may execute step S705 .

[0133] S705: The window management module creates a mirror window.

[0134] In the case that there is a foreground window on the C-side screen, the window management module can create a corresponding mirror window for the foreground window on the C-side screen. Figure 8 As shown, the window management module can query that there are foreground windows on the C-side screen, namely window 3 and window 4. The window management module can create a mirror window 3 for window 3 and a mirror window 4 for window 4.

[0135] After creating the mirrored window, the window management module may execute step S706 .

[0136] S706: The window management module sends information on creating a drawing area (Surface) to the graphics display module.

[0137] A drawing area (Surface) can be used to draw graphic elements such as lines, shapes, text, and images. A drawing area is typically a buffer in the memory of an electronic device that stores the image data to be displayed. It is understood that each mirrored window can correspond to a drawing area for drawing and displaying the window content. For example, the drawing area of ​​Window 2 can be called Surface 2, the drawing area of ​​Window 3 can be called Surface 3, and the drawing area of ​​Window 4 can be called Surface 4.

[0138] When the window management module creates mirror window 3, the window management module can send an instruction message to the graphics display module, which can be used to instruct the graphics display module to create a drawing area (or called Surface3(Mirror)) for mirror window 3 and indicate that Surface3 and Surface3(Mirror) are in a mirror relationship. Similarly, when the window management module creates mirror window 4, the window management module can send an instruction message to the graphics display module, which can be used to instruct the graphics display module to create a drawing area (or called Surface4(Mirror)) for mirror window 4 and indicate that Surface4 and Surface4(Mirror) are in a mirror relationship.

[0139] After obtaining the instruction information from the window management module, the graphic display module may execute step S707.

[0140] S707: The graphic display module renders the window content.

[0141] S708: The graphics display module returns the rendering result to the window management module.

[0142] When rendering the contents of Surface3, the graphics display module queries whether a mirror exists for Surface3. If a mirror exists, Surface3(Mirror), the graphics display module copies the rendered contents of Surface3 to Surface3(mirror), thereby achieving synchronous refresh of the contents of the two windows (Window3 and MirrorWindow3).

[0143] When rendering the contents of Surface4, the graphics display module queries whether a mirror exists on Surface4. If a mirror exists, Surface4(Mirror), the graphics display module copies the rendered contents of Surface4 to Surface4(mirror), thereby achieving synchronous refresh of the contents of the two windows (Window4 and MirrorWindow4).

[0144] After the rendering is completed, the graphics display module may execute step S708 and return the rendering result to the window management module.

[0145] Part 2: Window closing process in split-screen state.

[0146] Optionally, the user can also trigger the operation of closing the window on the B-side screen or the C-side screen of the PC. The operation of triggering the closing of the window may include dragging the corresponding card of the window in the list of screens to be split on the B-side screen to the edge of the list of screens to be split, or triggering a control in the corresponding card of the window in the list of screens to be split, or triggering a control in the window on the C-side screen, or other possible operations, which are not limited in the embodiments of the present application.

[0147] For ease of description, the following example illustrates the user triggering the closing of mirroring window 3 on the B-side screen of the PC. The case where the user triggers closing other mirroring windows on the B-side screen, or triggers closing a window on the C-side screen, is similar to the case of closing mirroring window 3 on the B-side screen and will not be further described.

[0148] S709: The window management module destroys the window.

[0149] In the split-screen display state, in response to a user triggering an operation on screen B to close mirrored window 3, the window management module may close mirrored window 3 (i.e., Window3 (mirror)) and window 3 (i.e., Window3) that is mirrored with mirrored window 3. The window management module may also execute step S710.

[0150] S710: The window management module sends information of destroying the drawing area (Surface) to the graphics display module.

[0151] When the window management module closes the mirror window 3, the window management module may send an instruction to the graphics display module, which may be used to instruct the graphics display module to destroy the drawing area (i.e., Surface3) of window 3. Optionally, the instruction may also indicate that Surface3 and Surface3(Mirror) are in a mirror relationship.

[0152] After obtaining the instruction information from the window management module, the graphic display module may execute step S711.

[0153] S711. The graphics display module destroys the drawing area.

[0154] When destroying the contents of Surface3, the graphics display module will check whether Surface3 has a mirror. If Surface3 has a mirror, Surface3(Mirror), the graphics display module can also destroy Surface3(mirror), thereby achieving the synchronous closing of the two windows (i.e., Window3 and MirrorWindow3).

[0155] Figure 9 The split-screen display method of an embodiment of the present application is shown. Applied to an electronic device, the electronic device includes a first screen area and a second screen area, and the first screen area and the second screen area share a screen. The method includes:

[0156] S901: Display a first window and a second window in a first screen area, and display a third window in a second screen area.

[0157] In the embodiments of the present application, the first screen area and the second screen area can be understood as the display area corresponding to the B-side screen and the display area corresponding to the C-side screen, respectively, mentioned in the above embodiments. For example, if the first screen area is the display area corresponding to the B-side screen, then the second screen area is the display area corresponding to the C-side screen; or, if the first screen area is the display area corresponding to the C-side screen, then the second screen area is the display area corresponding to the B-side screen. This embodiment of the present application is not limited to this. For ease of description, the following example uses the first screen area as the display area corresponding to the B-side screen and the second screen area as the display area corresponding to the C-side screen.

[0158] The first screen area and the second screen area share a screen, which may include a bendable flexible screen, thus making it convenient for the electronic device to achieve a foldable screen.

[0159] by Figure 3For example, in the first screen area, the first window can be understood as window 1, and the second window can be understood as window 2. Of course, the first window can also be understood as window 2, and the second window can be understood as window 1. It is understood that the first screen area can display more or fewer windows. For example, the first screen area can display only one window, or it can display three or more windows, and this embodiment of the application is not limited to this.

[0160] In the second screen area, the third window can be understood as window 3. It is understandable that the second screen area can display more windows, for example, the second screen area can also display window 4, which is not limited in the embodiment of the present application.

[0161] S902. In response to a user triggering a first operation of displaying a first window in a split-screen area in a first screen area, a first split-screen area and a second split-screen area are displayed in the first screen area, wherein the first split-screen area displays the first window, and the second split-screen area displays one or more cards, the one or more cards including a card corresponding to the second window and a card corresponding to the third window, and an expansion angle between the first screen area and the second screen area is within a preset angle range.

[0162] In the embodiment of the present application, the first operation can be understood as Figure 3 In the corresponding embodiment, the description of the operation of triggering the split-screen display of window 1 is omitted.

[0163] The first split-screen area can be understood as an area for displaying the window to be split (i.e., the first window), and the second split-screen area can be understood as an area for displaying the list to be split (i.e., one or more cards). It can be understood that the first split-screen area and the second split-screen area can be displayed in the first screen area (i.e., the B-side screen) according to a preset size ratio, and the embodiment of the present application does not limit the display positions of the first split-screen area and the second split-screen area in the first screen area. For example, the first split-screen area can be displayed on the left side of the first screen area, and the second split-screen area can be displayed on the right side of the first screen area; or, the first split-screen area can be displayed on the right side of the first screen area, and the second split-screen area can be displayed on the left side of the first screen area, which is not limited in the embodiment of the present application. In addition, the user can also adjust the display ratio of the first split-screen area and the second split-screen area to meet the user's interface requirements for split-screen display, thereby enhancing the split-screen experience.

[0164] The preset angle range can be understood as the angle that may be formed between the first screen area and the second screen area when the electronic device is in the folded state. For example, the preset angle range may be between 30 degrees and 150 degrees. The specific value of the preset angle range is not limited in the embodiments of the present application. If the unfolded angle between the first screen area and the second screen area is within the preset angle range, it indicates that the electronic device is in the folded state.

[0165] The split-screen display method provided in the embodiments of the present application can display different application windows in the first screen area of ​​an electronic device (e.g., the upper or lower half of the screen). This can better conform to the user's usage habits and meet the user's desire to split the screen in the upper or lower half of the screen, thereby improving the user's visual experience.

[0166] Optional, in Figure 9 Based on the corresponding embodiment, the method may further include: displaying a third window in the second screen area, and the content displayed in the third window is consistent with the content displayed in the card corresponding to the third window in the second split-screen area.

[0167] In the embodiment of the present application, when the first split screen area displays the list of screens to be split, the second screen area can display the third window. In this way, the third window can be reduced from flickering or frequently flashing in the second screen area, maintaining the stability of the third window display, thereby improving the user's visual experience. For specific reasons, please refer to Figure 3 The relevant descriptions in the corresponding embodiments are omitted here.

[0168] The content displayed in the third window is consistent with the content displayed in the card corresponding to the third window in the second split-screen area. It can also be understood that the content displayed in the third window and the content displayed in the card corresponding to the third window can be refreshed synchronously in real time. For example, if the third window is playing a video, the card corresponding to the third window can also play the video synchronously. In this way, the user can only focus on the upper half of the screen or the lower half of the screen to understand the content played in the third window, thereby improving the user experience.

[0169] Optional, in Figure 9 On the basis of the corresponding embodiment, the method may further include: in response to a second operation of triggering sliding the second split-screen area, slidingly displaying one or more cards in the second split-screen area.

[0170] In an embodiment of the present application, in response to the second operation, the electronic device can display one or more cards by sliding up and down or left and right in the second split-screen area (i.e., the area where the list to be split-screen is located), or adopt other possible sliding display methods, which are not limited in the embodiment of the present application.

[0171] It is understandable that the second split-screen area supports sliding, which can display more card information within the limited screen space, making it easier for users to view the cards corresponding to all windows in the list of windows to be split. By sliding the list of windows to be split, users can browse the content of more cards, making it easier for users to select the window they want to split the screen, improving split-screen efficiency.

[0172] Optional, in Figure 9Based on the corresponding embodiment, the method may further include: in response to triggering a third operation of the card corresponding to the third window in the second split-screen area, displaying the third window in the second split-screen area, and not displaying the third window in the second screen area.

[0173] In the embodiment of the present application, the third operation can be understood as the operation of splitting the third window into a split screen display. In this way, the first window and the third window can be split into different areas in the first screen area. For the specific third operation, please refer to Figure 3 In the embodiment corresponding to (b), the description of the operation of triggering the card 302 corresponding to window 3 on the B-side screen is omitted. Thus, displaying the first window and the third window in split-screen in the first screen area of ​​the electronic device can better conform to the user's usage habits and meet the user's desire to split the screen in the first screen area (such as the upper half or lower half), thereby improving the user's visual experience.

[0174] Optionally, after responding to the third operation, the second window can be displayed at the original position in the first screen area, or at any possible position in the second screen area, or the second window can be minimized. The specific display method of the second window is not limited in the embodiments of the present application.

[0175] Optional, in Figure 9 Based on the corresponding embodiment, the method may further include: displaying the second window in the first screen area, and the first split-screen area and the second split-screen area are displayed floating above the second window.

[0176] In an embodiment of the present application, when a user chooses to display the first and third windows in split screen, the user may be more concerned with the content displayed in the first and third windows than in the second window. Therefore, the second window can be displayed below the layer of the first and third windows, or it can be understood that the first and second split screen areas are displayed floating above the layer of the second window. In this way, the non-split window (i.e., the second window) will not affect the display of the split screen windows (i.e., the first and third windows), thereby improving the user's split screen experience.

[0177] Optional, in Figure 9 Based on the corresponding embodiment, the method may further include: in response to triggering a fourth operation of a card corresponding to the second window in the second split-screen area, displaying the second window in the second split-screen area, and displaying a third window in the second screen area.

[0178] In the embodiment of the present application, the fourth operation can be understood as the operation of splitting the second window into a split screen display. In this way, the first window and the second window can be split into different areas in the first screen area. Figure 3In the embodiment corresponding to (b), the description of the operation of triggering the corresponding card 301 of window 2 on screen side B is omitted. In this way, the split-screen display of the first window and the second window in the first screen area of ​​the electronic device can better conform to the user's usage habits and meet the user's desire to split the screen in the first screen area (such as the upper half or lower half of the screen), thereby improving the user's visual experience.

[0179] Optional, in Figure 9 Based on the corresponding embodiment, the method may also include: in response to triggering a fifth operation to close the card corresponding to the third window in the second split-screen area, canceling the display of the card corresponding to the third window in one or more cards displayed in the second split-screen area, and not displaying the third window in the second screen area.

[0180] In the embodiment of the present application, the fifth operation can refer to Figure 3 The description of the operation of triggering closing the card 302 corresponding to window 3 in (b) of the corresponding embodiment is omitted for brevity.

[0181] Optionally, the display position of the card corresponding to the third window in the second split-screen area can display cards corresponding to other windows, such as the card corresponding to window 4.

[0182] It is understood that based on the user's operation to close the card corresponding to the third window, the third window in the second screen area and the card corresponding to the third window in the first screen area can also be closed. This can better meet the user's operational requirements. For windows that the user does not want to view, the user does not need to trigger the closing of the third window and the closing of the card corresponding to the third window separately, reducing the user's frequent triggering of closing the same content window, thereby improving the user's operational experience.

[0183] Optional, in Figure 9 On the basis of the corresponding embodiment, the first split screen area is on the left side of the first screen area, and the second split screen area is on the right side of the first screen area.

[0184] In an embodiment of the present application, the first split-screen area can display the first split-screen window (such as the first window), and the second split-screen area can display the second split-screen window (such as the third window). In order to conform to the left-to-right operation habits of most users, the first split-screen area can be displayed on the left side of the first screen area, and the second split-screen area can be displayed on the right side of the first screen area. In this way, using left and right split screens to display split-screen windows in the first screen area can better conform to the user's usage habits and meet the user's desire to perform left and right split screens in the upper half or lower half of the screen, thereby enhancing the user's visual experience.

[0185] Optional, in Figure 9On the basis of the corresponding embodiment, the electronic device includes a first module and a second module. After the user triggers the first operation of split-screen displaying the first window in the first screen area, it may also include: the first module determines the size of the first split-screen area and the size of the second split-screen area based on the size of the first screen area; the first module creates a mirror window of the third window; based on the first indication information, the second module creates a drawing area of ​​the mirror window of the third window, and copies the rendering content of the drawing area of ​​the third window to the drawing area of ​​the mirror window of the third window, wherein the first indication information is used to instruct the second module to create the drawing area of ​​the mirror window of the third window, and to indicate that the drawing area of ​​the third window and the rendering content of the drawing area of ​​the mirror window of the third window are the same; the second module displays the mirror window of the third window in the second split-screen area.

[0186] In the embodiment of the present application, the first module can be understood as Figure 7 The first module can be used to calculate the position and size of the window, and can also be used to create a mirror window.

[0187] The first instruction information can also be understood as instructing the graphics display module to create a drawing area of ​​the mirror window of the third window (or called Surface3 (Mirror)), and indicating that Surface3 (the drawing area of ​​the third window) and Surface3 (Mirror) are in a mirror relationship. The specific process executed by the first module can be referred to Figure 7 The relevant descriptions of steps S703 to S706 in the corresponding embodiment are not repeated here.

[0188] The second module can be understood as Figure 7 The second module can be used to render the window content and display the rendered content on the screen. The specific process executed by the second module can be referred to Figure 7 The relevant descriptions of step S707 and step S708 in the corresponding embodiment are omitted here.

[0189] It is understandable that for the third window, it is necessary to display the card corresponding to the third window in the first split-screen area of ​​the first screen area, and to display the third window in the second screen area, and the contents of the third window and the card corresponding to the third window need to be refreshed synchronously. Therefore, the first module can generate a corresponding mirror window for the third window, so as to display the mirror window of the third window in the first split-screen area. In this way, through the interaction of the first module and the second module, different application windows can be displayed in split-screen in the first screen area, meeting the user's expectation of splitting the screen in the first screen area (such as the upper half of the screen or the lower half of the screen), thereby enhancing the user's visual experience.

[0190] Optional, in Figure 9 On the basis of the corresponding embodiment, the size of the first split-screen area is half the size of the first screen area.

[0191] It can be understood that the size of the first split screen area (which can also be understood as dimension) can be pre-set by the electronic device. For example, the electronic device can pre-set the first split screen area to occupy half the size of the first screen area, or other proportions, etc.; or, the size of the first split screen area can be customized by the user, which is not limited in the embodiments of the present application.

[0192] In the embodiment of the present application, the split-screen display method in the first screen area can meet the user's desire to split the screen in the upper half or the lower half, thereby improving the user's visual experience. When the user triggers the adjustment of the split-screen ratio, it is not easy to cause damage to the central axis area, which can improve the stability of the electronic device.

[0193] Optional, in Figure 9 On the basis of the corresponding embodiment, in response to triggering the fifth operation of closing the card corresponding to the third window in the second split-screen area, it may also include: the first module closes the third window and the card corresponding to the third window; based on the second indication information, the second module destroys the drawing area of ​​the third window and the drawing area of ​​the mirror window of the third window, wherein the second indication information is used to instruct the second module to destroy the drawing area of ​​the third window and the drawing area of ​​the mirror window of the third window.

[0194] In an embodiment of the present application, in the split-screen display state, in response to the fifth operation triggered by the user, the first module can close the mirror window of the third window (i.e., Window3 (mirror)), and close the third window (i.e., Window3) that has a mirror relationship with the mirror window.

[0195] The second module can destroy the drawing area of ​​the third window (i.e., Surface3), and based on the mirror relationship between Surface3 and Surface3(Mirror), it will also destroy the drawing area of ​​the mirror window of the third window, thereby achieving the synchronous closing of the two windows (i.e., the third window and the mirror window of the third window). Among them, the second indication information can instruct the second module to destroy the drawing area of ​​the third window (i.e., Surface3). Optionally, the second indication information can also indicate that Surface3 and Surface3(Mirror) are in a mirror relationship.

[0196] Optional, in Figure 9On the basis of the corresponding embodiment, the electronic device also includes a third module, which may also include, in response to the user triggering the first operation of split-screen displaying the first window in the first screen area, before: the first module queries the second module for the usage status of the electronic device, and the usage status includes a folded state and an unfolded state; the third module determines that the unfolding angle between the first screen area and the second screen area is less than a preset angle, and transmits first information to the first module, and the first information is used to indicate that the electronic device is in a folded state.

[0197] In the embodiment of the present application, the third module can be understood as Figure 7 The third module can be used to determine the folding or unfolding state of the screen of the electronic device. The specific folding state can be determined by referring to Figure 7 The relevant descriptions of step S701 and step S702 in the corresponding embodiment are omitted here.

[0198] It is understandable that when an electronic device is in a folded state, an entire screen of the electronic device (such as a flexible screen) can be used as two screens. It can also be understood as a PC having two display areas, such as a first screen area and a second screen area. Different application windows are displayed in the first screen area. In this way, it can better conform to the user's usage habits and meet the user's expectation of splitting the upper half of the electronic device screen, thereby improving the user's visual experience.

[0199] The above specific implementation methods have described in detail the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above are specific implementation methods of the embodiments of the present application and are not intended to limit the scope of protection of the embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the scope of protection of the embodiments of the present application. The module names involved in the embodiments of the present application can be defined as other names, as long as they can achieve the functions of each module, and no specific restrictions are placed on the names of the modules.

[0200] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0201] The above mainly introduces the technical solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that the method steps described in conjunction with the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and software. Whether a function is executed in a hardware or software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0202] An embodiment of the present application provides an electronic device that may include one or more processors and a memory. The memory is coupled to the one or more processors. The memory may be used to store computer program code, which may include computer instructions. The one or more processors may invoke the computer instructions to cause the electronic device to execute the technical solutions of the above embodiments.

[0203] The present application provides a chip system. The chip system is applied to an electronic device, and the chip system may include one or more processors. The one or more processors may be used to call instructions to enable the electronic device to execute the technical solutions in the above embodiments.

[0204] Figure 10 This is a schematic diagram of the structure of a chip system provided in an embodiment of the present application. The chip system 1000 includes one or more processors 1001, a communication line 1002, a communication interface 1003 and a memory 1004.

[0205] In some embodiments, the memory 1004 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.

[0206] The method described in the above embodiment of the present application can be applied to processor 1001, or implemented by processor 1001. Processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in processor 1001 or an instruction in the form of software. The above-mentioned processor 1001 can be a general-purpose processor (for example, a microprocessor or a conventional processor), a DSP, an application-specific integrated circuit, a ready-made programmable gate array or other programmable logic device, a discrete gate, a transistor logic device or a discrete hardware component. Processor 1001 can implement or execute the method, step and logic block diagram related to processing in the embodiment of the present application.

[0207] The method of the embodiment of the present application can be implemented by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in memory 1004, and processor 1001 can read information in memory 1004 and perform the steps of the above method in conjunction with its hardware. Processor 1001, memory 1004, and communication interface 1003 can communicate via communication line 1002.

[0208] The present application also provides a computer-readable storage medium (also referred to as a computer-readable storage medium). The computer-readable storage medium includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the technical solutions in the above embodiments.

[0209] The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or programs on a readable medium or transmitted on a readable medium. The readable medium can include storage media and communication media, and can also include any medium that can transmit programs from one place to another. The storage medium can be any accessible target medium.

[0210] In possible implementations, the readable medium may include random access memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, optical disk read-only memory or other optical disk memory, etc. The readable medium may also include magnetic disk memory or other magnetic disk storage devices, or any other medium designed to carry or store the desired program in the form of instructions or data structures and to be accessible.

[0211] The present application also provides a program product (also referred to as a computer program product) that includes computer program code. When the computer program code is run on an electronic device, the electronic device executes the technical solutions in the above embodiments.

[0212] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the various embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0213] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A split-screen display method, characterized in that: Applied to an electronic device, the electronic device includes a first screen area and a second screen area, the first screen area and the second screen area share a screen, the method includes: displaying a first window and a second window in the first screen area, and displaying a third window in the second screen area; In response to a user triggering a first operation of displaying the first window in a split-screen manner in the first screen area, a first split-screen area and a second split-screen area are displayed in the first screen area, wherein the first split-screen area displays the first window, and the second split-screen area displays one or more cards, the one or more cards including a card corresponding to the second window and a card corresponding to the third window, and an expansion angle between the first screen area and the second screen area is within a preset angle range.

2. The method according to claim 1, wherein The method further comprises: The second screen area displays the third window, and the content displayed by the third window is consistent with the content displayed by the card corresponding to the third window in the second split-screen area.

3. The method according to claim 1 or 2, wherein: The method further comprises: In response to a second operation of triggering sliding the second split screen area, the one or more cards are displayed by sliding in the second split screen area.

4. The method according to any one of claims 1 to 3, wherein The method further comprises: In response to a third operation of triggering a card corresponding to the third window in the second split-screen area, the third window is displayed in the second split-screen area, and the third window is not displayed in the second screen area.

5. The method according to claim 4, wherein The method further comprises: The second window is displayed in the first screen area, and the first split screen area and the second split screen area are displayed floating above the second window.

6. The method according to any one of claims 1 to 3, wherein: The method further comprises: In response to a fourth operation of triggering a card corresponding to the second window in the second split-screen area, the second window is displayed in the second split-screen area, and the third window is displayed in the second screen area.

7. The method according to any one of claims 1 to 3, wherein: The method further comprises: In response to triggering the fifth operation of closing the card corresponding to the third window in the second split-screen area, the card corresponding to the third window is cancelled from one or more cards displayed in the second split-screen area, and the third window is not displayed in the second screen area.

8. The method according to any one of claims 1 to 7, wherein: The first split screen area is on the left side of the first screen area, and the second split screen area is on the right side of the first screen area.

9. The method according to any one of claims 1 to 8, wherein The electronic device includes a first module and a second module, and after the first operation of displaying the first window in split-screen in the first screen area in response to a user triggering the first operation, further includes: The first module determines the size of the first split screen area and the size of the second split screen area based on the size of the first screen area; The first module creates a mirror window of the third window; Based on the first instruction information, the second module creates a drawing area of ​​the mirrored window of the third window, and copies the rendering content of the drawing area of ​​the third window to the drawing area of ​​the mirrored window of the third window, wherein the first instruction information is used to instruct the second module to create the drawing area of ​​the mirrored window of the third window, and is used to indicate that the rendering content of the drawing area of ​​the third window and the drawing area of ​​the mirrored window of the third window are the same; The second module displays a mirrored window of the third window in the second split-screen area.

10. The method according to any one of claims 1 to 9, wherein The size of the first split-screen area is half the size of the first screen area.

11. The method according to claim 9 or 10, wherein: After the fifth operation of closing the card corresponding to the third window in the second split-screen area is triggered in response to the triggering, the method further includes: The first module closes the third window and the card corresponding to the third window; Based on the second indication information, the second module destroys the drawing area of ​​the third window and the drawing area of ​​the mirror window of the third window, wherein the second indication information is used to instruct the second module to destroy the drawing area of ​​the third window and the drawing area of ​​the mirror window of the third window.

12. The method according to any one of claims 9 to 11, wherein: The electronic device further includes a third module, which, before responding to the user triggering the first operation of displaying the first window in split-screen in the first screen area, further includes: The first module queries the second module for a usage state of the electronic device, where the usage state includes a folded state and an unfolded state; The third module determines that the unfolding angle between the first screen area and the second screen area is smaller than the preset angle, and transmits first information to the first module, where the first information is used to indicate that the electronic device is in a folded state.

13. An electronic device, characterized in that: The electronic device includes: one or more processors and memory; The memory is coupled to the one or more processors, and is used to store computer program code, where the computer program code includes computer instructions. The one or more processors call the computer instructions to enable the electronic device to execute the method according to any one of claims 1 to 12.

14. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that The computer-readable storage medium includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 12.

16. A computer program product, characterized in that The computer program product comprises a computer program code, and when the computer program code is run on an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Split-screen display method, electronic equipment and readable storage medium

    CN116781825A

  • Split-screen display method and electronic equipment

    CN117762309A

  • Split-screen displaying method, apparatus, terminal, and storage medium

    US20250110627A1

  • Split-screen display method and electronic device

    WO2021043223A1

  • Window interaction method and electronic device

    WO2023131313A1