Split-screen display method, electronic device, storage medium and chip system
By using a split-screen display method (left-right or top-bottom) in the upper or lower half of a foldable PC screen, combined with mirrored window technology and a sliding card list, the problem of split-screen display on foldable PCs not conforming to user habits has been solved, improving user experience and device stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2026-03-27
AI Technical Summary
Foldable PCs do not conform to user habits when displaying in split-screen mode, resulting in a poor user experience and are prone to damage to the central axis area.
Different application windows can be displayed in split-screen mode on the upper or lower half of the electronic device, using left-right or top-bottom split-screen methods. Mirror window technology is used to achieve synchronized content refresh, and sliding card lists are supported to optimize user interaction.
It improves the user's visual experience and operational efficiency, avoids damage to the central axis area, and meets the user's expectation of splitting the screen in the upper or lower half of the screen.
Smart Images

Figure CN120704557B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of terminal, and in particular, to a split-screen display method, an electronic device, a storage medium and a chip system. BACKGROUND
[0002] With the development of technology, some electronic devices can be used as screen foldable devices. Taking a screen foldable personal computer (PC) as an example, the screen foldable PC can use a whole flexible screen (also referred to as a display screen or Physical Screen 1) as a display device.
[0003] It can be understood that the screen foldable PC can support split-screen display of different application windows. However, in some scenarios, the screen foldable PC does not conform to the user's usual usage habits when performing split-screen display, and the user experience is poor. SUMMARY
[0004] The present application provides a split-screen display method, an electronic device, a storage medium and a chip system, which can split-screen display different application windows in the upper half screen or the lower half screen of the electronic device. In this way, the user's usage habits can be more in line with the user's usage habits, meet the user's expectation of split-screen display in the upper half screen or the lower half screen, and thus improve the user's visual experience.
[0005] In a first aspect, an embodiment of the present application provides a split-screen display method applied to an electronic device, the electronic device including a first screen area and a second screen area, the first screen area and the second screen area sharing a screen, and the method including:
[0006] 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 split-screen display of the first window in the first screen area, displaying a first split-screen area and a second split-screen area in the first screen area, wherein the first split-screen area displays the first window, the second split-screen area displays one or more cards, and the one or more cards include a card corresponding to the second window and a card corresponding to the third window, and an unfolding angle between the first screen area and the second screen area is within a preset angle range. The split-screen display method provided by the embodiment of the present application can split-screen display different application windows in the first screen area (such as the upper half screen or the lower half screen) of the electronic device. In this way, the user's usage habits can be more in line with the user's usage habits, meet the user's expectation of split-screen display in the upper half screen or the lower half screen, and thus improve the user's visual experience.
[0007] In a possible implementation, the method further includes: the second screen area displays a 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. In this way, the content displayed by the third window can be synchronized and refreshed in real time with the content displayed by the card corresponding to the third window. 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, and can understand the content played by the third window, thereby improving the user experience.
[0008] In a possible implementation, the method further includes: in response to a second operation of triggering sliding of the second split-screen area, one or more cards are displayed in the second split-screen area by sliding. It can be understood that the second split-screen area supports sliding, so that more card information can be displayed in a limited screen space, and the user can view all the cards corresponding to the windows in the list of windows to be split. The user can browse the content of more cards by sliding the list of windows to be split, thereby facilitating the user to select the window to be split, and improving the split-screen efficiency.
[0009] In a possible implementation, the method further includes: in response to a third operation of triggering the 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 second screen area does not display the third window. In the embodiment of the application, the third operation can be understood as an operation of splitting the third window to display. In this way, the first window and the third window can be split-screen displayed in the first screen area. Splitting the first window and the third window to display in the first screen area of the electronic device can be more in line with the user's usage habits, meet the user's expectation of splitting in the first screen area (such as the upper half of the screen or the lower half of the screen), and improve the user's visual experience.
[0010] In a possible implementation, the method further includes: the second window is displayed in the first screen area, and the first split-screen area and the second split-screen area are displayed above the second window. In the embodiment of the application, in the case that the user selects to split the first window and the third window to display, the user can pay more attention to the content displayed by the first window and the third window than to the second window. Therefore, the second window can be displayed below the layers of the first window and the third window, which can also be understood as that the first split-screen area and the second split-screen area are displayed above the layers of the second window. In this way, the window that is not split (that is, the second window) does not affect the display of the split-screen window (that is, the first window and the third window), thereby improving the user's split-screen experience.
[0011] In a possible implementation, the method further includes: in response to a fourth operation of triggering the card corresponding to the second window in the second split-screen area, displaying the second window in the second split-screen area, and the third window is displayed in the second screen area. In the embodiment of the 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 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 use habits of the user, meet the expectation of the user to split in the first screen area (such as the upper half or the lower half), and thus improve the visual experience of the user.
[0012] In a possible implementation, the method further includes: in response to a fifth operation of triggering the card corresponding to the third window in the second split-screen area, the card corresponding to the third window is not displayed in the one or more cards displayed in the second split-screen area, and the third window is not displayed in the second screen area. It can be understood that, based on the operation of the user 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 be closed. In this way, the operation intention of the user can be better met, the user does not need to trigger the operation of closing the third window and the operation of closing the card corresponding to the third window respectively for the window that the user does not want to watch, the user frequently triggering the operation of closing the same content window is reduced, and thus the operation experience of the user is improved.
[0013] In a 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 the embodiment of the application, the first split-screen area can display a first split-screen window (such as the first window), and the second split-screen area can display a second split-screen window (such as the third window). In order to be in line with the operation habits of most users from left to right, 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, splitting the split-screen window in the first screen area from left to right can be more in line with the use habits of the user, meet the expectation of the user to split from left to right in the upper half or the lower half of the screen, and thus improve the visual experience of the user.
[0014] In a possible implementation, the electronic device includes the first module and the second module, and after the first operation of triggering the user to split-display the first window in the first screen area, the method 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; the second module creates a drawing area of the mirror window of the third window based on the first indication information, and copies the rendering content of the drawing area of the third window into the drawing area of the mirror window of the third window, where the first indication information is used to indicate that the second module creates the drawing area of the mirror 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 mirror window of the third window is the same; and the second module displays the mirror window of the third window in the second split-screen area. It can be understood that for the third window, the corresponding card of the third window needs to be displayed in the first split-screen area of the first screen area, and the third window needs to be displayed in the second screen area, and the content in the third window and the corresponding card of the third window needs to be synchronously refreshed. Therefore, the first module can generate a corresponding mirror window for the third window 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 split-displayed in the first screen area, the expectation of the user to split-display in the first screen area (such as the upper half or the lower half of the screen) is met, and the user experience is improved.
[0015] In a possible implementation, the size of the first split-screen area is half of the size of the first screen area. In the embodiment of the application, the first screen area adopts the split-display mode, which can meet the expectation of the user to split-display in the upper half or the lower half of the screen, thereby improving the visual experience of the user. When the user triggers the operation of adjusting the split-screen ratio, the central axis area is not easily damaged, and the use stability of the electronic device can be improved.
[0016] In a possible implementation, after the fifth operation of triggering the user to close the card corresponding to the third window in the second split-screen area, the method further includes: the first module closes the third window and the card corresponding to the third window; and the second module destroys the drawing area of the third window and the drawing area of the mirror window of the third window based on the second indication information, where the second indication information is used to indicate that the second module destroys the drawing area of the third window and the drawing area of the mirror window of the third window. In the split-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 the third window having a mirror relationship with the mirror window. The second module can destroy the drawing area of the third window, and also destroy the drawing area of the mirror window of the third window based on the mirror relationship, thereby achieving the synchronous closing of the two windows (i.e., the third window and the mirror window of the third window).
[0017] In a possible implementation, the electronic device further includes a third module, and before the first module displays the first window in the first screen area in response to the user triggering the first operation, the method further includes: the first module querying the second module for a use state of the electronic device, the use state including a folded state and an unfolded state; and the third module determining that an unfolding angle between the first screen area and the second screen area is less than a preset angle, and delivering first information to the first module, the first information being used to indicate that the electronic device is in the folded state. It can be understood that when the electronic device is in the folded state, the whole screen (for example, a flexible screen) of the electronic device can be used as two screens, and it can also be understood that the PC has two display areas, for example, the first screen area and the second screen area. The different application windows are displayed in the first screen area. In this way, the use habit of the user can be better met, the expectation of the user for splitting the screen on the upper half of the electronic device can be met, and the visual experience of the user can be improved.
[0018] In a second aspect, an embodiment of the present application provides a device for split-screen display. The device can be an electronic device, or a chip or chip system in the electronic device. The device can include a processing unit and a display unit. The processing unit is configured to implement any method for processing performed by the electronic device according to the first aspect or any possible implementation of the first aspect. The display unit is configured to implement any method for display performed by the electronic device according to the first aspect or any possible implementation of the first aspect.
[0019] When the device is an electronic device, the processing unit can be a processor. The device can further include a storage unit, which can be a memory. The storage unit is configured to store instructions, and the processing unit is configured to execute the instructions stored in the storage unit, so that the electronic device implements 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 the electronic device, the processing unit can be a processor. The processing unit is configured to execute instructions stored in a storage unit, so that the electronic device implements the method described in the first aspect or any possible implementation of the first aspect. The storage unit can be a storage unit (for example, a register, a cache, etc.) in the chip, or a storage unit (for example, a read-only memory, a random access memory, etc.) outside the chip in the electronic device.
[0021] In a third aspect, an embodiment of the present application provides an electronic device including one or more processors and a memory, the memory being coupled to the one or more processors, the memory being configured to store computer program code, the computer program code including computer instructions, and the one or more processors being configured to invoke the computer instructions to perform 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, which stores a computer program or instructions, and when the computer program or instructions are run on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation manner of the first aspect.
[0023] In a fifth aspect, an embodiment of the present application provides a computer program product including a computer program, and when the computer program is run on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation manner of the first aspect.
[0024] In a sixth aspect, the present application provides a chip or chip system, which includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through a line, and the at least one processor is configured to run a computer program or instructions to execute the method described in the first aspect or any possible implementation manner of the first aspect. The communication interface in the chip can be an input / output interface, a pin or a circuit, etc.
[0025] In a possible implementation, the chip or chip system described in the present application further includes at least one memory, and the at least one memory stores instructions. The memory can be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (such as a read-only memory, a random access memory, etc.).
[0026] It should be understood that the second aspect to the sixth aspect of the present application correspond to the technical solution of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding possible implementation manner are similar, which will not be repeated. BRIEF DESCRIPTION OF DRAWINGS
[0027] Figure 1 A different display mode of a flexible screen in different use modes provided by an embodiment of the present application is shown in the figure;
[0028] Figure 2 A schematic diagram of displaying application windows in an up-down split screen mode when a PC is in a folded state is provided by an embodiment of the present application;
[0029] Figure 3 A schematic diagram of displaying application windows in a left-right split screen mode when a PC is in a folded state is 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 is provided by an embodiment of the present application;
[0031] Figure 5 A schematic diagram of a hardware structure of an electronic device is provided by an embodiment of the present application;
[0032] Figure 6 A software architecture schematic diagram of an electronic device provided by an embodiment of the present application is shown in FIG. 1.
[0033] Figure 7 An interaction flow schematic diagram between modules in a split-screen display method provided by an embodiment of the present application is shown in FIG. 2.
[0034] Figure 8 A window mapping schematic diagram when a PC is split into left and right screens provided by an embodiment of the present application is shown in FIG. 3.
[0035] Figure 9 A split-screen display method schematic diagram provided by an embodiment of the present application is shown in FIG. 4.
[0036] Figure 10 A chip structure schematic diagram provided by an embodiment of the present application is shown in FIG. 5. DETAILED DESCRIPTION
[0037] In order to clearly describe the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:
[0038] 1. Terms
[0039] In the embodiments of the present application, the same items or similar items with basically the same functions and effects are distinguished by using "first", "second", etc. For example, the first chip and the second chip are only used to distinguish different chips, and do not limit the sequence. Those skilled in the art can understand that "first", "second", etc. do not limit the quantity and execution sequence, and "first", "second", etc. also do not limit that they must be different.
[0040] It should be noted that in the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. Rather, the words "exemplary" or "for example" are used in the sense of presenting a related concept in a specific manner.
[0041] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single 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, and c can be single or multiple.
[0042] With technological advancements, some electronic devices can now be used as foldable screen devices. Taking a foldable PC as an example, a foldable PC can use a single flexible screen as its display device. Understandably, the display method of this flexible screen will differ depending on the PC's usage mode (including unfolded and folded states).
[0043] For example, Figure 1 This diagram illustrates different display methods of flexible screens on PCs under various usage scenarios. For example... Figure 1 As shown in (a), when the PC is in its unfolded state, the flexible screen can be used as a single, continuous screen. This allows the PC to be used in a manner similar to that of a tablet. In some scenarios, the entire unfolded screen of the PC can be referred to as the A-side screen.
[0044] like Figure 1 As shown in (b), when the PC is in its folded state, the flexible screen can be used as two screens, or the PC can be understood as having two display areas. This allows the PC to be used in a manner similar to a laptop. For ease of description, the two screens in the folded state will be referred to as the B-side screen and the C-side screen, where the B-side screen is the upper half of the PC and the C-side screen is the lower half. Figure 1 As shown in (b), the PC may include a B-side screen 101, a C-side screen 102, and a central axis region 103. The B-side screen 101 and the C-side screen 102 are located on opposite sides of the central axis region 103, and can be unfolded or folded through the central axis region 103. For example, when the PC is in an unfolded state, the angle between the B-side screen 101 and the C-side screen 102 can be understood as close to 180 degrees. When the PC is in a folded state, the angle between the B-side screen 101 and the C-side screen 102 can be understood as less than 180 degrees, for example, around 90 degrees.
[0045] PCs can support split-screen display of different application windows. In some split-screen implementations, when the PC is in a folded state, different application windows can be displayed on the B-side and C-side screens, i.e., using a top-to-bottom split-screen method. For example... Figure 2 The image shows a schematic diagram illustrating the use of a split-screen approach to display application windows (or simply windows) when the PC is in a folded state.
[0046] like Figure 2 As shown in (a), window 1 and window 2 can be displayed on the B-side screen of the PC. Window 3 can be displayed on the C-side screen of the PC. In response to the user triggering the split-screen display of window 1, as follows... Figure 2 As shown in (b), the PC can display window 1 in full screen on the B-side screen. Window 2 and window 3 are displayed as a card list on the C-side screen.
[0047] Furthermore, in response to the user's action of triggering a split-screen display of window 3 on the C-side screen, such as... Figure 2 As shown in (c), the PC can display window 3 in full screen on the C-side screen. At this time, window 1 and window 3 form a split-screen display. Window 2 is still displayed in its original position on the B-side screen.
[0048] However, when a PC is folded, similar to the usage of a laptop, users are typically accustomed to using the top half of the screen. Therefore, displaying different application windows using the aforementioned split-screen method is not entirely in line with user habits. Furthermore, if the split-screen ratios of the top and bottom halves are different, it may cause an inconsistent visual experience for the user, degrading the user experience. Adjusting the split-screen ratio can also easily damage the central axis area.
[0049] In view of this, the split-screen display method provided in this application embodiment can display different application windows in the upper or lower half of the electronic device screen. This better suits user habits and meets users' expectations for split-screen operation in the upper or lower half, thereby improving the user's visual experience. Furthermore, using a split-screen display in the upper or lower half reduces the likelihood of damage to the central axis area when the user adjusts the split-screen ratio, thus improving the stability of the electronic device.
[0050] The methods of this application will be described in detail below 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 described again in some embodiments.
[0051] It should be noted that the interfaces provided in the embodiments of the present application are exemplary interfaces. More or less content and controls can be included in each interface, and the content and controls included in each interface are not limited in the embodiments of the present application. The operations mentioned in the embodiments of the present application can include, but are not limited to, touch (for example, click, etc.), voice control, gesture, and the like, and the embodiments of the present application are not limited.
[0052] Exemplarily, Figure 3 A schematic diagram of displaying application windows in a left-right split screen manner on the upper half of the screen (i.e., the B-face screen) when the PC is in the folded state is shown.
[0053] It can be understood that the split screen display method in the embodiments of the present application is not limited to the left-right split screen manner. The PC can split different areas on the upper half of the screen for split screen display, for example, the upper half of the screen can also be split into an upper and a lower part for split screen display or split into a diagonal part for split screen display, and the embodiments of the present application do not limit the display positions of the split screen areas. The specific split screen display manner in different areas on the upper half of the screen is similar to the left-right split screen manner on the upper half of the screen, and details are not described herein. In addition, the PC can also split the lower half of the screen for split screen display, and the specific split screen display manner of the application windows on the lower half of the screen (i.e., the C-face screen) is similar to the split screen display manner on the upper half of the screen, and details are not described herein.
[0054] As shown in (a) of FIG. 1, Figure 3 The B-face screen of the PC can display a window 1 (also referred to as Window 1) and a window 2 (also referred to as Window 2), as shown in (a) of FIG. 1. The C-face screen of the PC can display a window 3 (also referred to as Window 3). In response to an operation of triggering the window 1 to split screen display by the user, the PC can split screen display the window 1 on the left half or the right half of the B-face screen. The specific window 1 is displayed on the left half or the right half of the B-face screen, which can be determined by the triggering operation of the user or based on the default setting of the electronic device, and the embodiments of the present application do not limit the specific window 1.
[0055] The operation of triggering the window 1 to split screen display can be an operation of dragging the window 1 to the edge hot zone of the B-face screen by the user, for example, the edge hot zone includes a left edge hot zone or a right edge hot zone, etc., can be an operation of triggering a certain control in the window 1 by the user, and can be other possible operations, and the embodiments of the present application do not limit the operation. It can be understood that the edge hot zone is used to represent a region in the user interface (user interface, UI) where the user interacts frequently. The hot zone can include buttons, links, menus, or other elements that the user often clicks or touches.
[0056] Exemplarily, taking the operation of triggering a certain control in the window 1 by the user as an example, as shown in (b) of FIG. 1, Figure 4Fig. 4 is a schematic view of the interface 400 of the window 1 according to the embodiment of the present application. The interface 400 can include a split-screen control 401. The specific style and display position of the split-screen control 401 are not limited in the embodiment of the present application.
[0057] In response to the user triggering the operation of the split-screen control 401 in the window 1, the interface 400 can display a pop-up window 402, as shown in Fig. 4(b). The pop-up window 402 can be used to indicate the user to select the position of the window 1 for split-screen display. The pop-up window 402 can be displayed in the vicinity of the split-screen control 401 in the interface 400, or can be displayed at any possible position in the interface 400, which is not limited in the embodiment of the present application. The pop-up window 402 can include an upper-half screen left split-screen option 4021, an upper-half screen right split-screen option 4022, a lower-half screen left split-screen option 4023, and / or a lower-half screen right split-screen option 4024. Figure 4 The upper-half screen left split-screen option 4021 can include an upper-half screen left split-screen icon and an upper-half screen left split-screen prompt, for example, the upper-half screen left split-screen prompt can include "the window is displayed on the upper-half screen left".
[0058] The upper-half screen right split-screen option 4022 can include an upper-half screen right split-screen icon and an upper-half screen right split-screen prompt, for example, the upper-half screen right split-screen prompt can include "the window is displayed on the upper-half screen right".
[0059] The lower-half screen left split-screen option 4023 can include a lower-half screen left split-screen icon and a lower-half screen left split-screen prompt, for example, the lower-half screen left split-screen prompt can include "the window is displayed on the lower-half screen left".
[0060] The lower-half screen right split-screen option 4024 can include a lower-half screen right split-screen icon and a lower-half screen right split-screen prompt, for example, the lower-half screen right split-screen prompt can include "the window is displayed on the lower-half screen right".
[0061] It can be understood that the display order of the above-mentioned various split-screen options, the style of the split-screen icon, and the content of the split-screen prompt are not limited in the embodiment of the present application.
[0062] Optionally, the pop-up window 402 can also only display the split-screen icon or the split-screen prompt. Taking the case that the pop-up window 402 only displays the split-screen icon as an example, as shown in Fig. 4(c), the pop-up window 402 can display an upper-half screen left split-screen icon 4025, an upper-half screen right split-screen icon 4026, a lower-half screen left split-screen icon 4027, and a lower-half screen right split-screen icon 4028. It can be understood that the display order and display style of the various split-screen icons are not limited in the embodiment of the present application.
[0063] Figure 4
[0064] Users can choose to display window 1 in either the left or right split-screen mode in pop-up window 402. For example, with... Figure 4 For example, in response to the user triggering the split-screen option 4021 on the left side of the upper half of the 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 windows to be split. The list of windows to be split can include cards corresponding to one or more windows, such as 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. Here, window size can also be understood as the dimensions of the window, such as its width and height. Of course, window 1 can also be displayed in other proportions, which are not limited in this embodiment. It is understood that users can adjust the display ratio of window 1 and the list to be split on the B-side screen to meet their interface requirements for split-screen display and improve the split-screen experience.
[0066] Optionally, the list of windows to be split can support vertical or horizontal swiping. 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, users can browse the content of more cards, making it easier to select the window they want to split into, thus improving split-screen efficiency.
[0067] Optionally, the sizes of the cards in the split-screen list can be the same or different, and this embodiment does not limit this. It is understood that the sizes of the cards in the split-screen list can be set differently; for example, the size ratio of each card can be the same as the size ratio of its corresponding window. That is, if window 2 is relatively small, then the card 301 corresponding to window 2 is also relatively small; if window 3 is relatively large, then 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 cards and windows, and the visual transition will be more natural.
[0068] Alternatively, the size of all cards in the split-screen list can be set to the same. This creates a more visually neat and consistent look, allowing users to more easily browse and compare information on the cards without having to adjust their gaze to elements of different sizes, thus improving the aesthetics of the interface and the 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 a list of windows to be split, and the C-side screen does not display window 3, then based on the user's selection, after a window (such as window 2) is determined in the list for splitting, the C-side screen will re-display window 3. That is, when entering the split-screen state, window 3 on the C-side screen disappears, and when exiting the split-screen state, window 3 on the C-side screen re-displays. In such a scenario, window 3 may disappear and re-display on the C-side screen, which can easily cause the user to experience flickering or frequent flashing of window 3, thus reducing the user experience. Therefore, in this embodiment, during the split-screen display process, the window (such as window 3) on the C-side screen can still be displayed, thus maintaining the stability of the window display and improving the user's visual experience.
[0070] Optionally, in this embodiment, the content displayed in each window of the C-side screen can be consistent with the content displayed in the corresponding cards of these windows in the split-screen list. This can also be understood as the content displayed in each window of the C-side screen being synchronously refreshed in real time with the content displayed in the corresponding cards of these windows in the split-screen list. Taking window 3 in the C-side screen as an example, the content displayed in window 3 and the content displayed in the corresponding card 302 of window 3 in the split-screen list can remain the same. For example, if window 3 is playing a video, then the corresponding card 302 of window 3 can also play the video synchronously. In this way, the user can understand the content played in window 3 by focusing only on the upper or lower half of the screen.
[0071] Furthermore, in response to the user's operation of triggering the card 302 corresponding to window 3 on the B-side screen, such as 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 split-screen on the B-side screen. Window 3 is no longer displayed on the C-side screen. The operation that triggers the operation of the card 302 corresponding to window 3 on the B-side screen can be clicking any position on the card 302, triggering an operation of a control within the card 302, or other possible operations; this embodiment does not limit the scope of the operation. It is understood that users can adjust the split-screen ratio of window 1 and window 3 on the B-side screen to meet their interface requirements for split-screen display and improve the split-screen experience.
[0072] Optionally, other windows that are not displayed in a split-screen layout can be shown in their original positions on either the B-side or C-side of the screen. For example, window 2... Figure 3 As shown in (c), window 2 can be displayed in the position it was originally in on the B-side screen, i.e. Figure 3 The display position of window 2 in (c) can be compared with Figure 3 The display position of window 2 in (a) is the same.
[0073] Optionally, other windows that are not displayed in a split-screen mode, such as window 2, can also be displayed on the C-side screen. For example, window 2 and other windows that are not displayed in a split-screen mode can be displayed using a card list. In this way, users can view window 1 and window 3 in a split-screen mode on the B-side screen, and can also view other windows that are not displayed in a split-screen mode on the C-side screen, thus facilitating window management.
[0074] Optionally, in response to a user's action on the card 301 corresponding to window 2 on the B-side screen, the PC can display window 2 on the right half of the B-side screen. At this time, window 1 and window 2 form a split screen on the B-side screen. Window 3 is displayed on the C-side screen. The action of triggering the card 301 corresponding to window 2 on the B-side screen can be clicking any position on the card 301, triggering a control within the card 301, or other possible actions; this embodiment does not limit the specific actions.
[0075] Understandably, when a user chooses to display windows 1 and 3 in a split-screen mode, they may pay more attention to the content displayed in windows 1 and 3 compared to other windows. Therefore, as Figure 3 As shown in (c), window 2 can be displayed below the layers of windows 1 and 3, or it can be understood that windows 1 and 3 are displayed floating above the layer of window 2. In this way, the non-split-screen windows will not affect the display of the split-screen windows, thereby improving the user's split-screen experience.
[0076] In one possible implementation, the user can close the card corresponding to a certain window in the list of windows to be split. In this case, the card corresponding to that window will no longer be displayed in the list of windows to be split, and the window will also not be displayed on the C-side screen.
[0077] For example, taking the user closing the card 302 corresponding to window 3 in the split-screen list as an example, in Figure 3 In (b), in response to the user triggering the operation of closing the card 302 corresponding to window 3, such as Figure 3 As shown in (d), the card 302 corresponding to window 3 is no longer displayed in the split-screen list. Other cards in the split-screen list can be rearranged; for example, the card 303 corresponding to window 4 can occupy the original position of the card 302 corresponding to window 3. Simultaneously, window 3 is no longer displayed on the C-side screen, meaning window 3 on the C-side screen will also close synchronously. The operation that triggers the closure of the card 302 corresponding to window 3 can be dragging the card 302 to the edge of the split-screen list, triggering an operation on a control within the card 302, or other possible operations; this embodiment does not limit the specific actions taken.
[0078] It can be understood that the electronic device in the embodiments of the present application can be a screen foldable terminal device, which can use a whole flexible screen as a display device. For example, the screen foldable electronic device can include a mobile phone, a tablet computer, a palm computer, a notebook computer, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, an electronic device in a 5G network, or an electronic device in a future evolved public land mobile network (PLMN), and the like, and the embodiments of the present application are not limited thereto.
[0079] In addition, in the embodiments of the present application, the electronic device can also be an electronic device in an internet of things (IoT) system. IoT is an important part of future information technology development, and its main technical feature is to connect objects through communication technology and network, so as to realize the intelligent network of man-machine interconnection and object-object interconnection.
[0080] The electronic device in the embodiments of the present application can also be referred to as a user equipment (UE), a mobile station (MS), a mobile terminal (MT), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device, and the like.
[0081] In the embodiments 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 a memory (also referred to as a main memory). The operating system can be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer includes a browser, an address book, word processing software, instant messaging software, and the like.
[0082] Exemplary, Figure 5 A hardware structure diagram of the electronic device is shown.
[0083] The electronic device can include a processor 510, an external memory interface 520, an internal memory 521, a universal serial bus (USB) interface 530, a charge 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 key 570, a sensor module 571, a camera 572, and a display screen 573. The sensor module 571 can include an accelerometer sensor, a gyroscope sensor, a hall sensor, a pressure sensor, a fingerprint sensor, a touch sensor, and the like.
[0084] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented by hardware, software, or a combination of software and hardware.
[0085] The processor 510 can include one or more processing units, such as: 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), etc. Different processing units can be independent devices or integrated in one or more processors. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.
[0086] The processor 510 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 510 is a cache memory. The memory can save instructions or data that have just been used or are repeatedly used by the processor 510. If the processor 510 needs to use the instructions or data again, it can directly call from the above-mentioned memory. This avoids repeated access and reduces the waiting time of the processor 510, thereby improving the efficiency of the system. For example, in the embodiments 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 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application required by a function, etc. The data storage area can store data created during the use of the electronic device, etc. In addition, the internal memory 521 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 510 executes various function applications and data processing of the electronic device by running the instructions stored in the internal memory 521 and / or the instructions stored in the memory provided in the processor. For example, in the embodiments 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] The embodiments of the present application can use an accelerometer-gyroscope sensor (A+G) or a Hall sensor to measure the unfolding angle of the electronic device, so as to determine whether the use form of the electronic device is an unfolded state or a folded state.
[0089] The A+G sensor can be understood as a combination sensor integrating 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, etc. The gyroscope sensor can be used to measure the angular velocity of the rotation 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 use form of the electronic device based on the sensor data reported by the A+G sensor.
[0090] The Hall sensor is a sensor realized based on the Hall effect. For example, in the embodiments of the present application, a Hall sensor can be installed in the electronic device. When the screen is opened or closed, the electronic device can use the Hall effect to determine the use form of the electronic device through the sensor data reported by the Hall sensor.
[0091] The display screen 573 can be used to display images, videos, etc. The display screen 573 includes a display panel. For example, in the embodiments of the present application, the display screen 573 of the electronic device can be a whole piece of flexible screen. One or more application windows can be displayed in the display screen 573, and the display screen 573 can also be displayed in left and right split screens.
[0092] The electronic device provided by the embodiments of the present application can run an operating system (OS). The operating system can be various operating systems currently applied in the industry, such as a Harmony operating system (HarmonyOS), or other operating systems (such as operating system, operating system, operating system, etc.); can also be various open source operating systems or derivative operating systems thereof, such as a Linux OS, and other embedded operating systems, etc.; can also be new operating systems in the future, such as an AI operating system based on artificial intelligence. The operating system is a set of interrelated system software programs that manage and control the operation of the electronic device, utilize and run hardware, software resources, and provide public services to organize user interaction. The operating system is in a position of connecting the upper and lower layers in the electronic device, and connects the physical devices of the hardware layer downward, and provides a running environment for the application software upward.
[0093] For ease of description, the software architecture of the electronic device is described below by taking 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 solutions of the present application can also be implemented.
[0094] Figure 6 FIG. 1 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 the electronic device can be divided into several layers, and the layers can communicate with each other through a software interface. In some embodiments, the Hongmeng system can include an application layer, a framework layer, a system service layer, and a kernel layer, etc. It can be understood that the system functions in the software architecture can be tailored, added or combined according to the subsystem granularity in different device form deployment scenarios, and each subsystem can be tailored, added or combined according to the function granularity, and the embodiments of the present application are not limited.
[0096] The application layer can include application programs, which include system applications and third-party applications. For example, the system applications can include applications such as desktop, settings, phone, camera, and gallery. The third-party applications can include social and travel applications. In some scenarios, the application layer can also be referred to as the application program layer.
[0097] The framework layer provides application programming interfaces (APIs) and programming frameworks for application programs, for example, ArkUI framework, user program framework, and Ability framework. It can be understood 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, and the embodiments of the present application are not limited. Different devices may
[0098] The ArkUI framework provides a complete infrastructure for UI development of system applications, including UI functions such as components, layouts, animations, and interaction events, and a real-time interface preview tool. Ability is a lightweight application, and the Ability framework can schedule and manage the running and life cycle of Ability.
[0099] The system service layer includes a core capability set of the system, and provides services to application programs through the framework layer. The system service layer can include, but is not limited to, one or more of the following parts: a system basic capability subsystem set, a basic software service subsystem set, an enhanced software service subsystem set, and a hardware service subsystem set.
[0100] The system basic capability subsystem set can provide basic capabilities for distributed application running, scheduling, migration, and the like on multiple devices. The system basic capability subsystem set can include distributed task scheduling, distributed data management, distributed software bus, Ark runtime; and can also include multi-mode input subsystem, graphics subsystem, security subsystem, and the like.
[0101] The graphics subsystem can provide functions of graphics rendering and display output. The graphics subsystem provides smooth and efficient display experience for the system through reasonable use of system hardware resources. The graphics subsystem can include UI components, layout, animation, font, input event, window management module, screen management module, rendering graphics display module, and the like.
[0102] For example, in the embodiments of the present application, the window management module can be used to calculate the position of the window and the size of the window.
[0103] The screen management module can be used to determine the folding or unfolding state of the screen of the electronic device, the axis area position, and the screen size, and the like.
[0104] The graphics display module can be used to render the content of the window and display the rendered content on the screen.
[0105] The basic software service subsystem set can provide common and universal software services. The basic software service subsystem set can include event notification subsystem, multimedia subsystem, and the like. The enhanced software service subsystem set can provide differentiated capability enhanced software services for different devices. The enhanced software service subsystem set can include smart screen specific business subsystem, wearable specific business subsystem, and the like. The hardware service subsystem set can provide common and adaptive hardware services. The hardware service subsystem set can include location service subsystem, wearable specific hardware service subsystem, and the like.
[0106] The kernel layer can include kernel abstract layer (KAL), kernel subsystem, and driver subsystem. 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 selection of appropriate OS kernels for different resource-constrained devices, not limited to Linux kernel, Hongmeng kernel, LiteOS, and the like. The driver subsystem can provide unified peripheral access capabilities and driver development and management framework. The driver framework includes, for example, display driver, camera driver, audio driver, Bluetooth driver, sensor driver, and the like.
[0107] The following describes the window management module, screen management module, and graphics display module in the system architecture in FIG. 1. Figure 6 Figure 7 An exemplary interaction process between modules in the split-screen display method of the embodiments of the present application is described. The split-screen display method can include a first part and a second part. The first part is used to describe the execution process of triggering the split-screen display, corresponding to steps S701 to S708. The second part is used to describe the execution process of closing the window in the split-screen display state, corresponding to steps S709 to S711.
[0108] For ease of description, the following describes a case where the user triggers the split-screen operation in the B-face screen of the PC. For a case where the user triggers the split-screen operation in the C-face screen of the PC, the implementation is similar to that of the B-face screen, and thus is not described herein.
[0109] First part: split-screen display process.
[0110] S701, the window management module queries the folding state of the PC screen from the screen management module.
[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 in the B-face screen of the PC, the window management module can execute step S701 to query the folding state of the current PC screen and the position and size of the B-face screen from the screen management module based on the user's split-screen request. The operation of triggering the window split-screen can refer to the related description of the operation of triggering the split-screen display of window 1 in the corresponding embodiments, which is not described herein. Figure 3 The related description of the operation of triggering the split-screen display of window 1 in the corresponding embodiments is not described herein.
[0113] In a possible implementation, the screen management module can determine the folding angle between the B-face screen and the C-face screen of the PC based on a sensor, such as an A+G sensor or a Hall sensor, to determine whether the electronic device is in an unfolded state or a folded state. For example, the screen management module can obtain the sensor data such as acceleration and angular velocity collected by the A+G sensor based on the A+G sensor driver, and calculate the angle at which the PC is unfolded based on the sensor data. When the PC is unfolded at 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 of the A+G sensor or the Hall sensor, refer to the related description in the corresponding embodiments, which is not described herein. Figure 5 The related description in the corresponding embodiments is not described herein.
[0114] In a case where it is determined that the PC is in a folded state, the screen management module can execute step S702 to return the information that the current PC is in a folded state to the window management module. After obtaining the information that the PC is in a folded state, the window management module can execute step S703.
[0115] S703, the window management module triggers left-right split-screen.
[0116] When the PC is in a folded state, the window management module can trigger the execution of the left and right split-screen process of the B-side screen.
[0117] On one hand, the window management module can display the windows to be split in the first area of the B-side screen. The first area can be the left side, right side, or other possible areas of the B-side screen; this embodiment does not limit this. Taking the left side of the B-side screen as an example, the window management module can calculate the number of windows to be split (e.g., ...) based on the size of the B-side screen. Figure 3 The size of window 1) in (B) is determined, 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 windows based on SplitWindow technology. This window splitting technology allows users to adjust the size of the left and right split screens by dragging the separator bar, thereby improving the flexibility and operability of the user interface. The size of the window to be split can be preset by the PC, for example, the PC can preset 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 this embodiment.
[0119] On the other hand, the window management module can display a list of windows to be split in a second area of the B-side screen. This second area can be the left or right side of the B-side screen, or any other possible area different from the first area; this embodiment does not limit this. Taking the right side of the B-side screen as an example, the list of windows 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's understandable that in the list of windows to be split, the corresponding card can be either displayed as a card in the list by the window management module, or the window management module can create a mirrored window for the window and display it as a card in the list. A mirrored window can be understood as a window generated by copying the content of the original window, or as a copy window created based on the original window. The content displayed in the original window and its corresponding mirrored window can be consistent; when content in the original window is refreshed, the content displayed in its mirrored window will also be refreshed.
[0121] Before creating a mirrored window, the window management module can also execute step S704.
[0122] S704, the window management module queries the foreground windows of the C-side screen.
[0123] It can be understood that, due to the need to display the split-screen window 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. That is, the B-side screen does not need to simultaneously display the window and the card corresponding to the window (such as not needing to simultaneously display window 2 and the card corresponding to window 2), but only needs to display the window as a card in the to-be-split list (such as displaying 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 mirror window 2 corresponding to window 2, but displays window 2 as a card in the to-be-split list.
[0124] For the foreground windows displayed in the C-side screen, both the cards corresponding to the foreground windows need to be displayed in the to-be-split list of the B-side screen, and the foreground windows need to be displayed in the C-side screen, and the contents in the foreground windows and the corresponding cards need to be synchronously refreshed. Therefore, the window management module can query the foreground windows running in the C-side screen, and generate corresponding mirror windows for the foreground windows, so as to display the mirror windows in the to-be-split list of the B-side screen. It can be understood that the foreground windows of the C-side screen are the windows running in the foreground of the C-side screen, and the user can see the page information of the windows and can also interact with the foreground windows.
[0125] Exemplarily, Figure 8 A schematic diagram of window mapping when the B-side screen of the PC is split displayed on the left and right sides is shown. The B-side screen has window 1 and window 2 running in the foreground, and the C-side screen has window 3 and window 4 running in the foreground. The left side of the B-side screen can be used to display the to-be-split window 1, and the right side of the B-side screen can be used to display the to-be-split list, which can include the card corresponding to window 2, the card corresponding to window 3, and the card corresponding to window 4.
[0126] It can be understood that, since the B-side screen is used for split display, and window 2 is a foreground window in the B-side screen, window 2 and the card corresponding to window 2 do not need to be simultaneously displayed, 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 to-be-split list.
[0127] Since window 3 and window 4 are foreground windows in the C-face screen, it is required to display the card corresponding to window 3 in the split list of the B-face screen while displaying window 3 in the C-face screen, and it is required to display the card corresponding to window 4 in the split list of the B-face screen while displaying window 4 in the C-face screen. Therefore, the window management module can create a mirror window 3 (also referred to as Window 3 (Mirror)) for window 3 and a mirror window 4 (also referred to as Window 4 (Mirror)) for window 4, so as to display the mirror window 3 in the split list as the card corresponding to window 3, and display the mirror window 4 in the split list as the card corresponding to window 4.
[0128] It can be understood that before creating the mirror window, the window management module can first query which foreground windows are in the C-face screen. In a possible implementation, on the one hand, the window management module needs to query which foreground windows are in the electronic device, that is, the windows running in the foreground of the electronic device. On the other hand, the window management module also needs to query whether the foreground window belongs to the window in the B-face screen or the window in the C-face 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 or the like can be called for querying, and the specific manner of querying the life cycle of the application is not limited by the embodiments of the application. If the life cycle of the application is in the foreground (onForeground) state, it indicates that the application belongs to the foreground application, and the corresponding window is the foreground window. For example Figure 8 The foreground windows can include window 1, window 2, window 3 and window 4.
[0130] In an implementation of querying the foreground window in the C-face screen, the window management module can obtain the position and size information of the C-face screen, and can also obtain the position and size information of each application window. The position information of the C-face screen can include the coordinate information of a corner (such as the upper left corner) of the C-face screen, and the size information of the C-face screen can include the width and height information of the C-face screen. The position information of the application window can include the coordinate information of a corner (such as the upper left corner) of the application window, 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 the position of a window is located in the range of the C-face screen, it indicates that the window is a foreground window of the C-face screen. For example Figure 8 In the example in Table 1, the positions of window 3 and window 4 are located in the range of the C-face screen, and the window management module can determine that window 3 and window 4 are foreground windows of the C-face screen.
[0132] When the C-surface screen has a foreground window, the window management module can execute step S705.
[0133] S705, the window management module creates a mirror window.
[0134] When the C-surface screen has a foreground window, the window management module can create a corresponding mirror window for the foreground window in the C-surface screen. As shown in FIG. 7B, the window management module can query that the C-surface screen has foreground windows, i.e., window 3 and window 4, and the window management module can create a mirror window 3 for window 3 and a mirror window 4 for window 4. Figure 8
[0135] After creating the mirror window, the window management module can execute step S706.
[0136] S706, the window management module sends information for creating a drawing area (Surface) to the graphics display module.
[0137] The drawing area (Surface) can be used to draw graphical elements such as lines, shapes, text, and images. The drawing area is usually a buffer in the memory of the electronic device, in which image data to be displayed is stored. It can be understood that each mirror window can correspond to a drawing area respectively, which is used for drawing and displaying the content of the window. For example, the drawing area of window 2 can be referred to as Surface2, the drawing area of window 3 can be referred to as Surface3, and the drawing area of window 4 can be referred to as Surface4.
[0138] When the window management module creates the mirror window 3, the window management module can send instruction information to the graphics display module, which can be used to instruct the graphics display module to create a drawing area (or referred to as Surface3(Mirror)) of the mirror window 3, and instruct that Surface3 and Surface3(Mirror) are in a mirror relationship. Similarly, when the window management module creates the mirror window 4, the window management module can send instruction information to the graphics display module, which can be used to instruct the graphics display module to create a drawing area (or referred to as Surface4(Mirror)) of the mirror window 4, and instruct that Surface4 and Surface4(Mirror) are in a mirror relationship.
[0139] After the graphics display module obtains the instruction information from the window management module, the graphics display module can execute step S707.
[0140] S707, the graphics 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 content of Surface 3, the graphic display module queries whether Surface 3 has a mirror. If Surface 3 has a mirror Surface 3 (Mirror), the graphic display module can copy the rendering content of Surface 3 to Surface 3 (mirror), so as to realize synchronous refreshing of the content of two windows (i.e., Window 3 and mirror Window 3).
[0143] When rendering the content of Surface 4, the graphic display module queries whether Surface 4 has a mirror. If Surface 4 has a mirror Surface 4 (Mirror), the graphic display module can copy the rendering content of Surface 4 to Surface 4 (mirror), so as to realize synchronous refreshing of the content of two windows (i.e., Window 4 and mirror Window 4).
[0144] After the rendering is completed, the graphic display module can perform step S708, and returns the rendering result to the window management module.
[0145] Part II: Window closing process in split-screen state
[0146] Optionally, the user can also trigger the operation of closing the window on the B-face screen or the C-face screen of the PC. The operation of triggering the closing of the window can include the operation of dragging the card corresponding to the window in the split-screen list on the B-face screen to the edge of the split-screen list, can also include the operation of triggering a certain control in the card corresponding to the window in the split-screen list, can also include the operation of triggering a certain control in the window on the C-face screen, and can also include other possible operations, which are not limited by the embodiments of the present application.
[0147] For the convenience of description, the operation of triggering the closing of mirror Window 3 by the user on the B-face screen of the PC is taken as an example for description. For the operation of triggering the closing of other mirror windows by the user on the B-face screen, or the operation of triggering the closing of the window by the user on the C-face screen, the operation of triggering the closing of mirror Window 3 on the B-face screen is similar, and thus is not described herein again.
[0148] S709, the window management module destroys the window.
[0149] In the split-screen display state, in response to the operation of triggering the closing of mirror Window 3 by the user on the B-face screen, the window management module can close mirror Window 3 (i.e., Window 3 (mirror)), and close Window 3 (i.e., Window 3) having a mirror relationship with mirror Window 3. The window management module can also perform step S710.
[0150] S710, the window management module sends information of destroying the drawing area (Surface) to the graphic display module.
[0151] When the window management module closes the mirror window 3, the window management module can send indication information to the graphic display module, which can be used to instruct the graphic display module to destroy the drawing area (i.e. Surface3) of the window 3. Optionally, the indication information can also indicate that Surface3 and Surface3(Mirror) are in a mirror relationship.
[0152] After the graphic display module obtains the indication information from the window management module, it can execute step S711.
[0153] S711, the graphic display module destroys the drawing area.
[0154] When the graphic display module destroys the content of Surface3, it can query whether Surface3 has a mirror. If Surface3 has a mirror Surface3(Mirror), the graphic display module can also destroy Surface3(mirror), thereby achieving the synchronous closing of the two windows (i.e. window 3 and mirror window 3).
[0155] Figure 9 A split-screen display method of an embodiment of the present application is shown. The method is applied to an electronic device, and 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, displaying a first window and a second window in the first screen area, and displaying a third window in the second screen area.
[0157] In an embodiment of the present application, the first screen area and the second screen area can be respectively understood as the display area corresponding to the B-face screen and the display area corresponding to the C-face screen mentioned in the above embodiments. For example, if the first screen area is the display area corresponding to the B-face screen, then the second screen area is the display area corresponding to the C-face screen; or, if the first screen area is the display area corresponding to the C-face screen, then the second screen area is the display area corresponding to the B-face screen, which is not limited in the embodiment of the present application. For ease of description, the first screen area is taken as the display area corresponding to the B-face screen, and the second screen area is taken as the display area corresponding to the C-face screen as an example for description below.
[0158] The first screen area and the second screen area share a screen, and the screen can include a flexible screen that can be bent, so that the electronic device can realize screen folding.
[0159] For example, the first window and the second window can be respectively understood as the window 1 and the window 2 mentioned in the above embodiments, and the third window can be understood as the window 3 mentioned in the above embodiments. 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 be understood as window 2, and the second window can be understood as window 1. It can be understood that the first screen area can display more or fewer windows, for example, the first screen area can display only one window, or three or more windows, and the embodiments of the present application are not limited.
[0160] In the second screen area, the third window can be understood as window 3. It can be understood that the second screen area can display more windows, for example, the second screen area can also display window 4, and the embodiments of the present application are not limited.
[0161] S902, in response to the user triggering the first operation of splitting 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, the second split screen area displays one or more cards, and the one or more cards include a card corresponding to the second window and a card corresponding to the third window, and the first screen area and the second screen area have an opening angle within a preset angle range.
[0162] In the embodiments of the present application, the first operation can be understood as Figure 3 In the corresponding embodiments, the related description of the operation of triggering the split screen display of window 1 will not be repeated.
[0163] The first split screen area can be understood as an area for displaying a window to be split (i.e. the first window), and the second split screen area can be understood as an area for displaying a 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 face screen) according to a preset size ratio, and the display position of the first split screen area and the second split screen area in the first screen area is not limited in the embodiments of the present application. 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, and the embodiments of the present application are not limited. 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 improving the split screen experience.
[0164] The preset angle range can be understood as the angle that can 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 can be between 30 degrees and 150 degrees, and the specific value of the preset angle range is not limited in the embodiments of the present application. The first screen area and the second screen area have an opening angle within a preset angle range, which indicates that the electronic device is in a 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 (such as the upper half screen or the lower half screen of the electronic device) of the electronic device. In this way, the use habit of the user can be more in line with the use habit of the user, the expectation of the user to split the screen in the upper half screen or the lower half screen can be met, and the visual experience of the user can be improved.
[0166] Optionally, in the Figure 9 Based on the corresponding embodiments, the method can further include: the second screen area displays a 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.
[0167] In the embodiments of the present application, when the first split-screen area displays the to-be-split list, the second screen area can display a third window. In this way, the flickering display or frequent flashing of the third window in the second screen area can be reduced, the stability of the display of the third window can be maintained, and the visual experience of the user can be improved. For specific reason analysis, reference can be made to the related description in the corresponding embodiments, which will not be repeated here. Figure 3 For the related description in the corresponding embodiments, which will not be repeated here.
[0168] 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, which can also be understood as that the content displayed by the third window can be synchronized and refreshed in real time with the content displayed by the card corresponding to the third window. 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 screen or the lower half screen, and can understand the content played by the third window, thereby improving the user experience.
[0169] Optionally, in the Figure 9 Based on the corresponding embodiments, the method can further include: in response to a second operation of triggering the sliding of the second split-screen area, one or more cards are displayed in the second split-screen area by sliding.
[0170] In the embodiments of the present application, in response to the second operation, the electronic device can display one or more cards in the second split-screen area (i.e., the area where the to-be-split list is located) by sliding up and down or sliding left and right, or by using other possible sliding display modes, which will not be limited in the embodiments of the present application.
[0171] It can be understood that the second split-screen area supports sliding, so that more card information can be displayed in the limited screen space, and the user can conveniently view all the cards corresponding to the windows in the to-be-split list. The user can browse the content of more cards by sliding the to-be-split list, thereby facilitating the user to select the window to be split and improving the split efficiency.
[0172] Optionally, in the Figure 9On the basis of the corresponding embodiment, the method can 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 the second screen area does not display the third window.
[0173] In the embodiment of the application, the third operation can be understood as an operation of splitting the third window for display. In this way, the first window and the third window can be split for display in the first screen area. The specific third operation can be referred to in the (b) corresponding embodiment of the (a) corresponding embodiment. Figure 3 In the (b) corresponding embodiment, the related description of the operation of triggering the card 302 corresponding to the window 3 in the B face screen is not repeated. In this way, splitting the first window and the third window for display in the first screen area of the electronic device can be more in line with the use habits of the user, meet the expectation of the user to split in the first screen area (such as the upper half screen or the lower half screen), and thus improve the visual experience of the user.
[0174] Optionally, after responding to the third operation, the second window can be displayed at the original position in the first screen area, can be displayed at any possible position in the second screen area, or can be minimized to display the second window. The display mode of the second window is not limited in the embodiment of the application.
[0175] Optionally, after responding to the third operation, the second window can be displayed at the original position in the first screen area, can be displayed at any possible position in the second screen area, or can be minimized to display the second window. The display mode of the second window is not limited in the embodiment of the application. Figure 9 On the basis of the corresponding embodiment, the method can 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 above the second window.
[0176] In the embodiment of the application, in the case that the user selects to split the first window and the third window for display, the user can 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 below 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 above the layer of the second window. In this way, the window that is not split (that is, the second window) does not affect the display of the split window (that is, the first window and the third window), thereby improving the split experience of the user.
[0177] Optionally, after responding to the third operation, the second window can be displayed at the original position in the first screen area, can be displayed at any possible position in the second screen area, or can be minimized to display the second window. The display mode of the second window is not limited in the embodiment of the application. Figure 9 On the basis of the corresponding embodiment, the method can further include: in response to triggering a fourth operation of the card corresponding to the second window in the second split-screen area, displaying the second window in the second split-screen area, and the second screen area displays the third window.
[0178] In the embodiment of the application, the fourth operation can be understood as an operation of splitting the second window for display. In this way, the first window and the second window can be split for display in the first screen area. The specific fourth operation can be referred to in the (b) corresponding embodiment of the (a) corresponding embodiment. Figure 3In the (b) corresponding embodiment of the (a) corresponding embodiment, the description of triggering the operation of the window 2 in the B-side screen corresponding to the card 301 is not repeated. In this way, displaying the first window and the second window in the first screen area of the electronic device in split screen mode can be more in line with the user's usage habits, meet the user's expectation of splitting the screen in the first screen area (such as the upper half or the lower half), and thus improve the user's visual experience.
[0179] Optionally, in the (a) corresponding embodiment, 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. Figure 9 Based on the (a) corresponding embodiment, the method can further include: in response to triggering a fifth operation of 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 from the one or more cards displayed in the second split screen area, and the second screen area does not display the third window.
[0180] In the embodiments of the present application, the fifth operation can refer to the description of triggering the operation of closing the card corresponding to the third window in the (a) corresponding embodiment, which is not repeated. Figure 9 In the (b) corresponding embodiment of the (a) corresponding embodiment, the description of triggering the operation of the window 2 in the B-side screen corresponding to the card 301 is not repeated. In this way, displaying the first window and the second window in the first screen area of the electronic device in split screen mode can be more in line with the user's usage habits, meet the user's expectation of splitting the screen in the first screen area (such as the upper half or the lower half), and thus improve the user's visual experience.
[0181] Optionally, the display position of the card corresponding to the third window in the second split screen area can display the card corresponding to other windows, such as the card corresponding to the fourth window.
[0182] It can be understood that based on the operation of the user closing the card corresponding to the third window, the third window of the second screen area and the card corresponding to the third window of the first screen area can be closed. In this way, it can be more in line with the user's operation intention, and the user does not need to trigger the operation of closing the third window and the operation of closing the card corresponding to the third window respectively for the window that the user does not want to watch, reducing the user's frequent operation of closing the same content window, thereby improving the user's operation experience.
[0183] Optionally, in the (a) corresponding embodiment, 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. Figure 7 Based on the (a) corresponding embodiment, 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.
[0184] In the embodiments 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 be in line with the operation habits of most users from left to right, 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, displaying the split screen window in the first screen area in left and right split screen mode can be more in line with the user's usage habits, meet the user's expectation of splitting the screen in the upper half or the lower half, and thus improve the user's visual experience.
[0185] Optionally, in the (a) corresponding embodiment, 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. Figure 7On the basis of the corresponding embodiment, the electronic device includes a first module and a second module, and in response to a first operation of the user triggering the split-screen display of the first window in the first screen area, the electronic device can further 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 into the drawing area of the mirror window of the third window, wherein the first indication information is used to indicate that the second module creates the drawing area of the mirror window of the third window, and is used to indicate that the rendering content of 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; and the second module displays the mirror window of the third window in the second split-screen area.
[0186] In the embodiment of the application, the first module can be understood as Figure 7 The window management module in the corresponding embodiment. The first module can be used to calculate the position of the window and the size of the window, etc., and can also be used to create a mirror window.
[0187] The first indication information can also be understood as indicating the graphics display module to create a drawing area (or Surface3(Mirror)) of the mirror window of the third window, and indicating that Surface3 (the drawing area of the third window) and Surface3 (Mirror) are in a mirror relationship. For details of the process performed by the first module, refer to Figure 7 The related description of steps S703 to S706 in the corresponding embodiment will not be repeated.
[0188] The second module can be understood as Figure 9 The graphics display module in the corresponding embodiment. The second module can be used to be responsible for the rendering of the window content, and display the rendering content to the screen. For details of the process performed by the second module, refer to Figure 9 The related description of steps S707 and S708 in the corresponding embodiment will not be repeated.
[0189] It can be understood that for the third window, both the card corresponding to the third window needs to be displayed in the first split-screen area of the first screen area, and the third window needs to be displayed in the second screen area, and the content in the third window and the card corresponding to the third window needs to be synchronized and refreshed. 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 the first screen area, meeting the user's expectation of split-screen display in the first screen area (such as the upper half or the lower half of the screen), thereby improving the user's visual experience.
[0190] Optionally, inFigure 9 On the basis of the corresponding embodiment, the size of the first split-screen area is half of the size of the first screen area.
[0191] It can be understood that the size (which can also be understood as the size) of the first split-screen area can be pre-set by the electronic device, for example, the electronic device can pre-set that the first split-screen area occupies half of the size of the first screen area, or other proportions, etc. Alternatively, the size of the first split-screen area can be set by the user, and the embodiments of the present application are not limited.
[0192] In the embodiments of the present application, the first screen area adopts the split-screen display mode, which can meet the user's expectation of split-screen display 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, the central axis area is not easily damaged, and the use stability of the electronic device can be improved.
[0193] Optionally, in the embodiments of the present application, Figure 7 On the basis of the corresponding embodiment, in response to the fifth operation of triggering the closing of the card corresponding to the third window in the second split-screen area, the first module can further include: closing the third window and the card corresponding to the third window; and 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 the embodiments 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 (i.e. Window3(mirror)) of the third window, and close the third window (i.e. Window3) which has a mirror relationship with the mirror window.
[0195] The second module can destroy the drawing area (i.e. Surface3) of the third window, and also destroy the drawing area of the mirror window of the third window based on the mirror relationship between Surface3 and Surface3(Mirror), thereby realizing the synchronous closing of the two windows (i.e. the third window and the mirror window of the third window). The second indication information can instruct the second module to destroy the drawing area (i.e. Surface3) of the third window. Optionally, the second indication information can also indicate that Surface3 and Surface3(Mirror) are in a mirror relationship.
[0196] Optionally, in the embodiments of the present application, Figure 7Corresponding to the embodiment, the electronic device further includes a third module, in response to the user triggering the first operation of splitting the first window in the first screen area, the first module can further include: the first module queries the use state of the electronic device to the second module, the use state includes the folded state and the unfolded state; the third module determines that the unfolding angle of the first screen area and the second screen area is less than the preset angle, and delivers the first information to the first module, the first information is used to indicate that the electronic device is in the folded state.
[0197] In the embodiment of the application, the third module can be understood as Figure 10 The screen management module in the corresponding embodiment. The third module can be used to determine the folding or unfolding state of the screen of the electronic device. The specific folding state determination can refer to The relevant description of step S701 and step S702 in the corresponding embodiment will not be repeated.
[0198] It can be understood that when the electronic device is in the folded state, the whole screen (such as a flexible screen) of the electronic device can be used as two screens, and it can also be understood that the PC has two display areas, such as the first screen area and the second screen area. Different application windows are displayed in the first screen area. In this way, it can be more in line with the user's use habit and meet the user's expectation of splitting the upper half of the screen of the electronic device, thereby improving the user's visual experience.
[0199] The above specific embodiments have been described in detail for the purpose of the purpose, technical solutions and beneficial effects of the embodiments of the application. It should be understood that the above is the specific embodiment of the application, and is not used to limit the protection scope of the application. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solutions of the embodiments of the application shall be included in the protection scope of the embodiments of the application. The module names involved in the embodiments of the application can be defined as other names, as long as the functions of the modules can be realized, and the names of the modules are not limited.
[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 for analysis, stored data, displayed data, etc.) involved in the application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.
[0201] The technical solutions provided by the embodiments of the present application are described above mainly from the perspective of methods. To realize the above functions, the technical solutions include hardware structures and / or software modules corresponding to each function. Those skilled in the art should easily realize that the method steps described in the embodiments of the present application can be realized in the form of hardware or a combination of hardware and software. Whether a certain function is realized by hardware or software driven hardware depends on the specific application and design constraints of the technical solutions. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0202] The embodiments of the present application provide an electronic device, which can include one or more processors and a memory. The memory is coupled with the one or more processors. The memory can be used to store computer program code including computer instructions. The one or more processors can invoke the computer instructions to enable the electronic device to perform the technical solutions in the above embodiments.
[0203] The embodiments of the present application provide a chip system. The chip system is applied to an electronic device, and the chip system can include one or more processors. The one or more processors can be used to invoke instructions to enable the electronic device to perform the technical solutions in the above embodiments.
[0204] A structural schematic diagram of a chip system provided by the embodiments of the present application is shown. 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 embodiments of the present application can be applied to the processor 1001 or implemented by the processor 1001. The processor 1001 can be an integrated circuit chip having a processing capability of signals. In the implementation process, each step of the above method can be completed by integrated logic circuits or instructions in the form of software in the processor 1001. The processor 1001 described above can be a general-purpose processor (for example, a microprocessor or a conventional processor), a DSP, an application specific integrated circuit, a ready programmable gate array or other programmable logic device, a discrete gate, a transistor logic device or a discrete hardware component. The processor 1001 can realize or execute the methods, steps and logic block diagrams related to processing in the embodiments of the present application.
[0207] The method of the embodiments of the present application can be implemented by using a hardware decoding processor to complete, or by using a combination of hardware and software modules in the decoding processor to complete. The software module can be located in the memory 1004, and the processor 1001 can read the information in the memory 1004 to complete the steps of the above method in combination with the hardware. The processor 1001, the memory 1004, and the communication interface 1003 can communicate through the communication line 1002.
[0208] The embodiments of the present application also provide a readable storage medium (also referred to as a computer readable storage medium). The readable storage medium includes computer instructions. When the computer instructions run on an electronic device, the electronic device executes the technical solutions in the above embodiments.
[0209] The method described in the above embodiments can be implemented by software, hardware, firmware, or any combination thereof, in whole or in part. 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 a storage medium and a communication medium, and can also include any medium that can carry a program from one place to another. The storage medium can be any target medium that can be accessed.
[0210] In a possible implementation, the readable medium can include random access memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, optical disc read-only memory, or other optical disc memory, etc. The readable medium can also include magnetic disc memory or other magnetic disc storage device, or any other medium targeted for carrying, or storing the required program in the form of instructions or data structures, and can be accessed.
[0211] The embodiments of the present application also provide a program product (also referred to as a computer program product). The program product includes computer program code. When the computer program code runs on an electronic device, the electronic device executes the technical solutions in the above embodiments.
[0212] In various embodiments of the present application, the terms and / or descriptions of various embodiments are consistent and can be mutually referred to if there is no special description and no logical conflict. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0213] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A split screen display method, characterized by, The method is applied to an electronic device including a first screen area and a second screen area, the first screen area and the second screen area share a screen, and 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 first operation of splitting the first window in the first screen area triggered by a user, displaying a first split screen area and a second split screen area in the first screen area, wherein the first split screen area displays the first window, the second split screen area displays a plurality of cards, the plurality of cards include a card corresponding to the second window and a card corresponding to the third window, and an unfolding angle between the first screen area and the second screen area is within a preset angle range; the second screen area displays the third window, and content displayed by the third window is consistent with content displayed by the card corresponding to the third window in the second split screen area.
2. The method of claim 1, wherein, The method further includes: in response to a second operation of sliding the second split screen area triggered by a user, slidingly displaying the plurality of cards in the second split screen area.
3. The method of claim 1 or 2, wherein, The method further includes: in response to a third operation of triggering the card corresponding to the third window in the second split screen area, displaying the third window in the second split screen area, and the second screen area does not display the third window.
4. The method of claim 3, wherein, 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 above the second window.
5. The method of claim 1 or 2, wherein, The method further includes: in response to a fourth operation of triggering the card corresponding to the second window in the second split screen area, displaying the second window in the second split screen area, and the second screen area displays the third window.
6. The method of claim 1 or 2, wherein, The method further includes: in response to a fifth operation of triggering to close the card corresponding to the third window in the second split screen area, the second split screen area does not display the card corresponding to the third window in the plurality of cards, and the second screen area does not display the third window.
7. The method of any one of claims 1-2, 4, 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.
8. The method of any one of claims 1-2, 4, wherein, The electronic device includes a first module and a second module, and after the first operation of splitting the first window in the first screen area triggered by a user, the method 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 first indication information, the second module creates a drawing area of the mirror window of the third window, and copies rendering content of the drawing area of the third window into the drawing area of the mirror window of the third window, wherein the first indication information is used to indicate that the second module creates the drawing area of the mirror window of the third window, and is used to indicate that the rendering content of 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 a mirror window of the third window in the second split-screen area.
9. The method of any one of claims 1-2, 4, wherein, The first split-screen area has a size of half of the first screen area size.
10. The method of claim 8, wherein, The fifth operation is performed after the second split-screen area closes the card corresponding to the third window in response to a trigger. The first module closes the third window and the card corresponding to the third window. Based on second indication information, the second module destroys a drawing area of the third window and a drawing area of the mirror window of the third window, where 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.
11. The method of claim 8, wherein, The electronic device further includes a third module, and the method further includes the following operations performed before the first operation of displaying the first window in the first screen area in response to a user trigger: The first module queries a use state of the electronic device from the second module, and the use state includes a folded state and an unfolded state. The third module determines that an unfolding angle between the first screen area and the second screen area is less than the preset angle, and delivers first information to the first module, where the first information is used to indicate that the electronic device is in the folded state.
12. An electronic device, comprising: The electronic device includes one or more processors and a memory. The memory is coupled to the one or more processors, and the memory is configured to store computer program code including computer instructions, and the one or more processors are configured to invoke the computer instructions to cause the electronic device to perform the method in any one of claims 1-11.
13. A chip system, characterized by The chip system is applied to an electronic device, and the chip system includes one or more processors configured to invoke computer instructions to cause the electronic device to perform the method in any one of claims 1-11.
14. A computer-readable storage medium, characterized in that, The computer readable storage medium includes computer instructions, and when the computer instructions run on an electronic device, the electronic device performs the method in any one of claims 1-11.
15. A computer program product, characterised in that, The computer program product includes computer program code, and when the computer program code runs on an electronic device, the electronic device performs the method in any one of claims 1-11.
Citation Information
Patent Citations
Split-screen display method and electronic equipment
CN117762309A