Display method and foldable electronic device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-05-15
- Publication Date
- 2026-07-03
AI Technical Summary
Existing electronic devices have poor flexibility in split-screen mode when handling multitasking, and the interaction is too simple to meet the diverse needs of users.
By virtualizing the physical screen into multiple logical screens and flexibly adjusting the application window display based on the logical screens, it supports various operation modes such as moving, maximizing, screenshotting, and screen casting, thereby improving the flexibility and interactivity of split-screen display.
It enables flexible display and interaction for multitasking, improves user experience, enhances the diversity and flexibility of window display, and meets diverse user needs.
Smart Images

Figure CN120669880B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and more specifically, to a display method and a foldable electronic device. Background Technology
[0002] Users often need their electronic devices to handle multiple tasks simultaneously. For example, on devices with large screens such as PCs and tablets, the screen can be partitioned or a split-screen mode can be entered to handle different tasks.
[0003] However, this method of dividing or splitting the screen is not very flexible and the interaction with the user is relatively simple. Summary of the Invention
[0004] This application provides a display method and a foldable electronic device that can virtualize multiple logical screens from an actual physical screen, and flexibly adjust application windows based on the multiple logical screens, thereby improving the flexibility of split-screen display.
[0005] In a first aspect, a display method is provided for a foldable electronic device. The method includes: when the foldable electronic device is in an unfolded state, displaying a first window of a movable first application on a foldable screen. In response to changing to a semi-folded state along a foldable area, the foldable electronic device divides the foldable screen into multiple logical screens, including a first logical screen and a second logical screen. The foldable electronic device displays the first window on the first logical screen. In response to a movement operation on the first window, the foldable electronic device moves the first window to the second logical screen. Based on embodiments of this application, when the foldable electronic device changes from an unfolded state to a semi-folded state, the foldable electronic device can virtually divide the display area where the foldable screen is located into multiple logical screens based on the folding position. In the semi-folded state, the foldable electronic device can select the first logical screen to display the first window originally displayed in the unfolded state, and can freely move the first window to the second logical screen according to the user's movement operation, thereby improving the flexibility of window display. Furthermore, the foldable electronic device can divide a physical screen into multiple logical screens based on the physical characteristics of the folding, thereby matching the resulting logical screens with the physical characteristics of the foldable electronic device, which is beneficial for improving the flexibility of subsequently displaying application windows.
[0006] In some implementations, before the foldable electronic device displays the first window on the first logical screen, the method further includes: the foldable electronic device determining the first logical screen from multiple logical screens based on first information. The first information includes one of the following: no other application windows exist on the logical screen; the proportion of the display area occupied by interface elements on the logical screen is less than a preset value; the logical screen the user is looking at; the logical screen specified by the first application; or, the logical screen where the first window was located before the foldable electronic device was in an unfolded state. Based on the embodiments of this application, when the foldable electronic device has multiple logical screens, it can clearly determine which logical screen the first window will be displayed on when the folding state changes.
[0007] In other examples, the first piece of information may also include: the logical screen selected by the user.
[0008] In some implementations, the foldable electronic device divides the foldable screen into multiple logical screens, including: dividing the display area where the foldable screen is located according to the coordinates to obtain multiple logical screens. Each logical screen has corresponding coordinate information and identification information, with the identification information used to identify the logical screen. Based on the embodiments of this application, the foldable electronic device can divide the coordinates of the display area where the foldable screen is located to obtain multiple logical screens, and each logical screen can have a corresponding identification, thereby enabling applications to perceive the existence of multiple screens and improving the flexibility of multi-screen display.
[0009] In some implementations, the method further includes: the foldable electronic device, in response to a maximization operation of the first window, displays the first window in a maximized mode on a second logical screen. The foldable electronic device, in response to a change from a half-folded state to an unfolded state, cancels the division of the foldable screen and displays the first window in a maximized mode on the foldable screen. This technical solution allows the foldable electronic device to adjust the display mode of the first window when the folding state changes, so that the adjusted first window better suits the user's browsing habits.
[0010] In other examples, the foldable electronic device, in response to changing from a half-folded state to an unfolded state, may not cancel the division of the foldable screen, but instead display the first window in a maximized mode within the multiple logical screens, meaning the size of the first window is the same as the sum of the sizes of the multiple logical screens. Alternatively, the foldable electronic device, in response to changing from a half-folded state to an unfolded state, may merge the multiple logical screens into one logical screen and display the first window in a maximized mode within the larger merged logical screen.
[0011] Optionally, in response to a change from a semi-folded state to an unfolded state, the foldable electronic device may still display the first window in a maximized mode on the second logical screen. In this way, the display size and position of the first window can remain unchanged when the folding state of the foldable electronic device changes.
[0012] In some implementations, the method further includes: in response to launching a second application, the foldable electronic device displays a second window of the second application on a first logical screen. In this technical solution, when the second application is launched, since a first window already exists on the second logical screen, the second window of the second application can be displayed on the first logical screen, thus preventing the display of multiple windows from overlapping and avoiding interference with the user's browsing of multitasking windows.
[0013] In some implementations, the method further includes: In response to a maximization operation on a first window, the foldable electronic device displays a first prompt window, the first prompt window including multiple function options, each of which indicates a logical screen combination. In response to a user selecting a target function option, the display size of the first window is adjusted to the target size of the target logical screen combination corresponding to the target function option; the first window is then displayed at the target size within the target logical screen combination. In this technical solution, when a user wishes to maximize the display of the first window, since there are multiple logical screens, the foldable electronic device can also provide the user with the option to select which logical screens to maximize the display of the first window, thereby improving the diversity and flexibility of maximizing application windows.
[0014] In some implementations, the method further includes: the foldable electronic device displaying a second prompt window in response to a user's screenshot or screenshot operation, the second prompt window prompting the user to select the logical screen corresponding to the screenshot or screenshot operation; and performing a screenshot or screenshot operation on the second logical screen in response to the user's selection of the second logical screen. Based on the embodiments of this application, when a user performs a screenshot or screenshot operation on the foldable electronic device, the foldable electronic device can also provide the option for the user to select which logical screens to screenshot or screenshot, thereby improving the diversity of screenshot or screenshot operations.
[0015] In some implementations, the method further includes: the foldable electronic device, in response to a user's screen mirroring operation, displaying a third prompt window, which prompts the user to select the logical screen corresponding to the screen mirroring operation. The foldable electronic device, in response to a user's selection of a second logical screen, sends the content of the second logical screen to a second electronic device. Based on the embodiments of this application, when a user performs a screen mirroring operation on the foldable electronic device, the foldable electronic device can also provide the option for the user to select which logical screens to mirror, thereby improving the diversity of screen mirroring operations.
[0016] Secondly, a display method is provided, applied to a first electronic device. The method includes: the first electronic device, in response to a user's selection operation, determining region division information and region combination information for the display area where the physical screen of the first electronic device is located. The region division information is used to indicate the division of the display area where the physical screen is located into regions, and the region combination information is used to indicate the combination of target sub-regions within the sub-regions obtained from the region division. The first electronic device divides the display area where the physical screen is located into multiple logical screens according to the region division information and the region combination information. The multiple logical screens include a first logical screen and a second logical screen. A first window of a first application is displayed on the first logical screen. In response to a movement operation on the first window, the first electronic device moves the first window to the second logical screen. Based on the embodiments of this application, the first electronic device can virtually transform a physical screen into multiple logical screens according to the user's selection, thereby improving user autonomy, increasing the flexibility of logical screen division, and allowing the first window to be freely moved to the second logical screen according to the user's movement operation, thereby improving the flexibility of window display.
[0017] In some implementations, each of the multiple logical screens has identification information, which is used to identify the logical screen.
[0018] In this technical solution, each logical screen can have a corresponding identifier, which allows the application to be aware of the existence of multiple screens, thereby improving the flexibility of multi-screen display.
[0019] In some implementations, before the first electronic device displays the first window of a movable first application on at least one of multiple logical screens, the method further includes: the first electronic device determining a first logical screen from the multiple logical screens based on first information, wherein the first information includes one of the following: no other application window exists on the logical screen; the proportion of the display area occupied by interface elements on the logical screen is less than a preset value; the logical screen being viewed by the user; the logical screen specified by the first application; or the logical screen selected by the user. Based on the embodiments of this application, when the first electronic device has multiple logical screens, it can clearly determine which logical screen the first window will be displayed on.
[0020] In some implementations, the method further includes: a first electronic device displaying a first prompt window in response to a maximization operation on a first window. The first prompt window includes multiple function options, each of which indicates a logical screen combination. In response to a user selecting a target function option, the first electronic device adjusts the display size of the first window to the target size of the target logical screen combination corresponding to the target function option. The first electronic device displays the first window at the target size within the target logical screen combination. In this technical solution, when a user wishes to maximize the display of the first window, since there are multiple logical screens, the first electronic device can also provide the user with function options to select which logical screens to maximize the display of the first window, thereby improving the diversity and flexibility of maximizing application windows.
[0021] In some implementations, the method further includes: a first electronic device displaying a second prompt window in response to a user's screenshot operation, the second prompt window prompting the user to select a logical screen corresponding to the screenshot operation; and the first electronic device performing a screenshot operation on the second logical screen in response to the user's selection of the second logical screen.
[0022] In some implementations, the method further includes: a first electronic device displaying a third prompt window in response to a user's screen mirroring operation, the third prompt window prompting the user to select the logical screen corresponding to the screen mirroring operation; and the first electronic device sending the content of the second logical screen to the second electronic device in response to the user's selection of the second logical screen.
[0023] It should be understood that the beneficial effects of this technical solution can be found in the relevant description in the first aspect.
[0024] Thirdly, a display method is provided, including modules for implementing the methods described in the first to second aspects and any possible implementation thereof.
[0025] Fourthly, an electronic device is provided, comprising: one or more processors; one or more memories; said one or more memories storing one or more programs that, when executed by said one or more processors, cause the methods described in the first to second aspects and any possible implementation thereof to be performed.
[0026] Fifthly, a chip is provided, the chip including a processor and a communication interface, the communication interface being used to receive a signal and transmit the signal to the processor, the processor processing the signal such that the method described in the first aspect to the second aspect and any possible implementation thereof is performed.
[0027] A sixth aspect provides a readable storage medium storing instructions that, when executed on an electronic device, cause the methods described in the first to second aspects and any possible implementation thereof to be performed.
[0028] In a seventh aspect, a program product is provided, the program product comprising program code that, when run on an electronic device, causes the methods described in the first to second aspects and any possible implementation thereof to be executed. Attached Figure Description
[0029] Figure 1 A schematic diagram of the structure of the electronic device 100 is shown.
[0030] Figure 2 This is a schematic framework diagram of an electronic device provided in an embodiment of this application.
[0031] Figure 3 This is a schematic diagram illustrating the division of a physical screen into regions, as provided in this application embodiment.
[0032] Figure 4 This is a schematic diagram of a method for virtualizing a physical screen into multiple logical screens, provided in an embodiment of this application.
[0033] Figure 5 This is a schematic diagram of another method for dividing a physical screen into regions, provided in an embodiment of this application.
[0034] Figure 6 This is a schematic diagram of an application window displayed on a logical screen according to an embodiment of this application.
[0035] Figure 7 This is a schematic diagram of an application window displayed on a logical screen according to an embodiment of this application.
[0036] Figure 8 This is a schematic diagram of a display window in a foldable electronic device provided in an embodiment of this application.
[0037] Figure 9 This is a schematic diagram of a display window in a foldable electronic device provided in an embodiment of this application.
[0038] Figure 10 This is a schematic diagram of screen projection onto a logical screen provided in an embodiment of this application.
[0039] Figure 11 This is a schematic flowchart of a display method provided in an embodiment of this application.
[0040] Figure 12 This is a schematic flowchart of a display method provided in an embodiment of this application.
[0041] Figure 13 This is a schematic block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0042] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0043] The methods in this application embodiment can be applied to smartphones, wearable devices, smart TVs, tablets, laptops, personal computers (PCs), ultra-mobile personal computers (UMPCs), netbooks, in-vehicle devices, foldable phones, foldable PCs, Internet of Things (IoT) devices, augmented reality devices, virtual reality devices, etc.
[0044] Figure 1 A schematic diagram of the structure of electronic device 100 is shown. Electronic device 100 may include processor 110, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, camera 193, display screen 194, and touch sensor 180K, etc.
[0045] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0046] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0047] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0048] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0049] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Bluetooth low energy (BLE), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), ultra-wideband (UWB), and star-flash technology.
[0050] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with networks and other devices through wireless communication technology.
[0051] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0052] The display screen 194 is used to display images, videos, etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1. In this embodiment, the electronic device 100 may include a single display screen 194, which may be a foldable screen or a non-foldable screen. The display screen 194 can be understood as a physical screen, which can be used to virtually generate multiple logical screens.
[0053] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0054] The ISP is used to process the data fed back by camera 193. Camera 193 is used to capture still images or videos.
[0055] Touch sensor 180K can be disposed on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen". Touch sensor 180K is used to detect touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be disposed on the surface of electronic device 100, in a different location than display screen 194.
[0056] Before introducing the technical solutions of the embodiments of this application, some technical terms that may be involved in this application will be introduced as follows.
[0057] Virtual multi-screen can be understood as dividing a physical screen into multiple logical screens according to preset rules. For example, a physical screen can be divided into 2 or 4 logical screens. Similarly, for foldable devices (such as foldable PCs), a physical screen can be divided into 2 logical screens based on its folded shape.
[0058] In this embodiment, dividing a physical screen into multiple logical screens can be understood as dividing the display area where the physical screen is located into multiple sub-display areas, each or more of which can serve as a logical screen. Each sub-display area can display one or more application windows, which can move freely within each sub-display area. The application window can also move from one sub-display area to another based on user movement. Alternatively, the application window can be maximized within one or more sub-display areas. When a physical screen is divided into multiple logical screens, these multiple logical screens can share the same desktop or the same wallpaper on the electronic device.
[0059] For example, different logical screens can display different parts of the same wallpaper.
[0060] For example, the logical screen at the bottom can display the desktop status bar, while the logical screen at the top can not display the desktop status bar.
[0061] Users often need their electronic devices to handle multiple tasks simultaneously. For example, on devices with large screens such as PCs and tablets, the screen can be partitioned or a split-screen mode can be entered to handle different tasks.
[0062] However, this method of dividing or splitting the screen is not very flexible and the interaction with the user is relatively simple.
[0063] In view of this, embodiments of this application provide a display method and a foldable electronic device that can virtualize multiple logical screens from an actual physical screen, and flexibly adjust the application windows based on the multiple logical screens, thereby improving the flexibility of split-screen display.
[0064] The following will combine Figure 2-12 The technical solutions in the embodiments of this application are introduced.
[0065] For example, Figure 2 This is a schematic framework diagram of an electronic device provided in an embodiment of this application.
[0066] like Figure 2 As shown, the application layer of electronic device 200 includes at least application 1, and the application framework layer includes at least screen partitioning module, virtual multi-screen module, screen management module, virtual multi-screen interaction module, and window management module as an example for illustration.
[0067] It should be understood that application 1 can be a system application in electronic device 200 or a third-party application.
[0068] This screen partitioning module can divide a physical screen of electronic device 200 into multiple areas, and can also combine them in a certain way. It can be understood that the information used to indicate the division of the physical screen into multiple areas can be called partitioning information, and the information used to indicate the combination method of the areas can be called combination information.
[0069] In some implementations, the screen partitioning module can divide the physical screen into regions based on the physical characteristics of the electronic device 200. For example, if the electronic device 200 is a foldable PC that can fold a physical screen once, the screen partitioning module can divide the physical screen of the foldable PC into two regions, each corresponding to the folded screen.
[0070] If the foldable PC can fold a physical screen twice, similar to the Huawei Mate XT phone, then the screen partitioning module can divide the physical screen of the foldable PC into three areas, each corresponding to the folded screen.
[0071] In some implementations, the screen partitioning module can also divide the physical screen into regions according to a user-specified method. For example, the user can configure the partitioning information in the settings of the electronic device 200, such as dividing the physical screen into 2 regions or 4 regions. In addition, the user can also configure the combination information so that the screen partitioning module can combine multiple regions.
[0072] This screen partitioning module can send partitioning information and combination information to the virtual multi-screen module.
[0073] This virtual multi-screen module can virtualize multiple logical screens from a physical screen based on the partitioning and combination information.
[0074] For example, partitioning information is used to indicate that the physical screen is divided into 4 areas, and combination information is used to indicate that area 1 and area 3 are combined. Then the virtual multi-screen module can virtualize the physical screen into 3 logical screens, namely logical screen 1 composed of area 1 and area 3, logical screen 2 corresponding to area 2, and logical screen 3 corresponding to area 4.
[0075] In other examples, the virtual multi-screen module can also receive partitioning information from the screen partitioning module, but not combination information. For instance, if the partitioning information indicates that the physical screen is divided into four areas, the virtual multi-screen module can virtualize each area as a logical screen.
[0076] Understandably, the virtual multi-screen module can divide the coordinates of the entire physical screen based on partitioning and combination information to obtain the coordinates and identifiers of multiple logical screens.
[0077] For example, if the virtual multi-screen module determines that the screen needs to be virtualized into two logical screens based on the partitioning and combination information, then the coordinates of the entire physical screen can be divided separately to obtain the coordinates of the two logical screens, as well as the identifiers of the logical screens, such as logical screen 1 and logical screen 2.
[0078] Alternatively, the virtual multi-screen module can also divide the coordinates of the entire physical screen according to the partition information to obtain the coordinates and identifiers of multiple logical screens.
[0079] It should be understood that the coordinates and identifiers of the logical screen can be referred to as the information of the logical screen.
[0080] Afterwards, the virtual multi-screen module can send the information of the multiple logical screens to the screen management module.
[0081] This screen management module can interact with application 1 to send information about the multiple logical screens to application 1. After receiving the information from the multiple logical screens, application 1 can then display windows based on these screens.
[0082] For example, after application 1 starts, the screen management module can send information about the multiple logical screens to application 1. Alternatively, when a logical screen changes, the screen management module can also send information about the changed logical screen to application 1. Or, the screen management module can periodically send information about the multiple logical screens to application 1.
[0083] The display position of Application 1's window on the physical screen can be managed by the window management module.
[0084] This virtual multi-screen interaction module can adjust the display position of application 1 through the window management module according to the interaction method of application 1.
[0085] For example, the window of application 1 can be displayed on logical screen 1 with a size smaller than or equal to that of the area where logical screen 1 is located, or it can be moved to another logical screen by the user's drag and drop, or it can be maximized to display on the entire physical screen. This application embodiment does not limit this.
[0086] In this way, the window of application 1 can be displayed flexibly in a variety of ways. Furthermore, other applications can also be displayed flexibly in a variety of ways.
[0087] The following will combine Figures 3-9 This application introduces the technical solutions for dividing and combining physical screen areas in electronic devices according to embodiments of the present application.
[0088] For example, Figure 3This is a schematic diagram illustrating the division of a physical screen into regions, as provided in an embodiment of this application. Figure 3 As shown, the electronic device 300 can be a foldable electronic device. In this embodiment, a foldable PC is used as an example for illustration. It should be understood that in other examples, the foldable electronic device can also be a foldable mobile phone or a foldable tablet, etc.
[0089] For ease of description, the embodiments of this application are illustrated with the electronic device 300 in a semi-folded state and an unfolded state.
[0090] In some examples, the electronic device 300 can divide the physical screen into regions based on its physical characteristics, and treat each region as a logical screen.
[0091] For example, when the electronic device 300 changes from an unfolded state to a half-folded state or a folded state according to the user's folding operation, the physical screen of the electronic device 300 will be divided into two parts from the folded part. The electronic device 300 can then divide the physical screen into two parts, area 1 and area 2, according to this physical characteristic, and use area 1 as logical screen 1 and area 2 as logical screen 2.
[0092] It should be understood that, in the embodiments of this application, the semi-folded state can be understood as the angle formed by the folded portion of the physical screen being between 30 degrees and 150 degrees. Alternatively, the angle may be between 45 degrees and 165 degrees. Or, the angle may also be between 90 degrees and 150 degrees or between 120 degrees and 150 degrees.
[0093] This unfolded state can be understood as the physical screen forming an angle between 150 and 180 degrees at the folded portion. Alternatively, the angle can be between 165 and 180 degrees. Or, this unfolded state can be understood as the physical screen forming an angle equal to or approximately equal to 180 degrees at the folded portion.
[0094] It should be understood that, within the permissible range of error, the included angle values in the above examples may have some deviation, and are not necessarily limited to the precise range of included angle values.
[0095] When the electronic device 300 changes from a semi-folded or folded state to an unfolded state, its physical screen becomes a flat screen. Therefore, the electronic device 300 can use this physical characteristic to avoid dividing or combining the physical screen into regions. Alternatively, it can be understood that the electronic device 300 divides the physical screen into one region based on this physical characteristic, and this region serves as a logical screen.
[0096] For example, if the electronic device 300 can be folded multiple times, the electronic device 300 can also divide the physical screen from the folded part into multiple areas according to the folding method, and use each area as a logical screen.
[0097] In some examples, the electronic device 300 can also divide the physical screen into regions according to the user's settings, and combine the divided regions according to the user's specified method to obtain multiple logical screens.
[0098] For example, in the settings of electronic device 300, the user can configure the division of the physical screen into two areas, such as dividing it into upper and lower areas, and designating each area as a logical screen. Then, electronic device 300 can divide the physical screen into area 1 and area 2 according to the user's settings, and designate area 1 as logical screen 1 and area 2 as logical screen 2.
[0099] For example, in the settings of electronic device 300, the user can configure the division method of the physical screen, such as dividing it into four equal areas and designating each area as a logical screen. Then, electronic device 300 can divide the physical screen into areas 1 to 4 according to the user's settings, and designate area 1 as logical screen 1, area 2 as logical screen 2, area 3 as logical screen 3, and area 4 as logical screen 4.
[0100] In this way, electronic devices can divide a physical screen into regions and determine the corresponding combination methods, which is beneficial for subsequently virtualizing the physical screen into multiple logical screens.
[0101] The following will combine Figure 4 This section describes how electronic devices can virtualize a single physical screen into multiple logical screens.
[0102] For example, Figure 4 This is a schematic diagram illustrating how a physical screen can be virtually divided into multiple logical screens, as provided in an embodiment of this application. See also... Figure 4 Assume the physical screen of electronic device 300 can be represented by the area formed by coordinates A1(0,0) to B1(1080,1600). When electronic device 300 according to Figure 3 When the physical screen needs to be divided into two regions and needs to be virtually transformed into two logical screens, the coordinates of the physical screen can be divided to form two regions with coordinates A1 to B2 (1080, 800) and A2 (0, 800) to B1. Electronic device 300 can use the portion with coordinates A1 to B2 (1080, 800) as logical screen 1 and the portion with coordinates A2 (0, 800) to B1 as logical screen 2. Logical screen 1 has an identifier 1, and logical screen 2 has an identifier 2, thus distinguishing the different logical screens.
[0103] In some cases, the technical solutions of the embodiments of this application can also be applied to non-foldable electronic devices, which will be discussed below in conjunction with... Figure 5This technical solution will be introduced.
[0104] For example, Figure 5 This is a schematic diagram illustrating another method of dividing a physical screen into regions, as provided in an embodiment of this application. Figure 5 As shown, the electronic device 400 can be a non-foldable electronic device, such as a tablet, smartphone, etc.
[0105] In some examples, electronic device 400 can divide the physical screen into regions according to user settings or system default settings and combine the divided regions.
[0106] See Figure 5 In (a), it is assumed that the electronic device 400 divides the physical screen into four areas, namely area 1, area 2, area 3 and area 4, according to the user's settings or the system's default settings.
[0107] For example, user-defined combination information or system default combination information indicates that each area is treated as a logical screen.
[0108] See Figure 5 In (b), the electronic device 400 can use area 1 as logical screen 1, area 2 as logical screen 2, area 3 as logical screen 3, and area 4 as logical screen 4.
[0109] For example, user-defined combination information or system default combination information can also instruct multiple areas to be treated as a single logical screen.
[0110] For example, the combined information indicates that area 1 and area 3 are treated as a single logical screen, area 2 as a single logical screen, and area 4 as a single logical screen.
[0111] See Figure 5 In (c), the electronic device 400 can virtualize area 1 and area 3 as a single logical screen 1, area 2 as a single logical screen 2, and area 3 as a single logical screen 3 based on the above combined information.
[0112] In other examples, the combined information may also indicate that area 1 and area 2 are used as a single logical screen, area 3 is used as a single logical screen, and area 4 is used as a single logical screen.
[0113] Based on the embodiments of this application, users can freely divide the physical screen into regions and specify the combination method according to their needs, so that the electronic device can virtually convert the physical screen into multiple logical screens according to the user's settings.
[0114] Alternatively, the electronic device 400 system can have multiple default area division and combination methods, and the user can also select a method in the settings, so that the electronic device 400 can virtualize the physical screen into multiple logical screens according to the user's selection.
[0115] Understandably, electronic devices can follow Figure 4 The method described in the text is to virtualize a single physical screen into multiple logical screens, which will not be elaborated here.
[0116] The following will combine Figures 6-7 This application describes the interaction scheme for multiple logical screens in its implementation.
[0117] For example, Figure 6 This is a schematic diagram illustrating the display of an application window on a logical screen, as provided in an embodiment of this application. Figure 6 As shown, assume that the electronic device 400 divides the physical screen into four virtual logical screens according to the user's settings and default system settings, namely logical screen 1, logical screen 2, logical screen 3 and logical screen 4.
[0118] For example, see Figure 6 In (a), when the electronic device 400 starts the application 1, the window 1 of the application 1 can be displayed in the logical screen 1.
[0119] In some implementations, when the electronic device 400 launches the application 1, it may be initially displayed on the logical screen 1 by default.
[0120] Alternatively, when electronic device 400 launches application 1, it can be displayed on logical screen 1 according to the user's selection. For example, if the user selects to display application 1 on logical screen 1 when electronic device 400 launches application 1, then window 1 can be displayed on logical screen 1.
[0121] Alternatively, when electronic device 400 launches application 1, electronic device 400 may also determine whether to display window 1 of application 1 according to a preset order based on whether there are windows of other applications on the logical screen.
[0122] For example, the preset sequence is logical screen 1, logical screen 2, logical screen 3, and logical screen 4. When application 1 is launched, the electronic device 400 first determines whether there is a window for another application on logical screen 1. If not, window 1 can be displayed on logical screen 1. If it exists, the electronic device 400 can then determine whether there is a window for another application on logical screen 2. If not, window 1 can be displayed on logical screen 2. In this way, when the electronic device is processing multiple applications, these applications can be displayed on different logical screens without overlapping, thus not affecting the user's use of these multiple applications.
[0123] The window 1 can be displayed on the logical screen 1 as a free window. For example, the electronic device 400 can freely move the display position of the window 1 on the logical screen 1 according to the user's movement operation, or the electronic device 400 can also freely adjust the display size of the window 1 on the logical screen 1 according to the user's operation.
[0124] In some examples, window 1 can also be maximized within logical screen 1.
[0125] In this way, the window of application 1 can be displayed in a similar way to that on a single physical screen in each logical screen.
[0126] In this embodiment of the application, the electronic device 400 can also support displaying application windows across logical screens.
[0127] For example, see Figure 6 In (b), the electronic device 400 can move the window 1 of the application 1 from the logical screen 1 to the logical screen 2 for display based on the user's movement operation.
[0128] The movement operation can include dragging, gestures, and other operations.
[0129] Alternatively, window 1 may also include a function control 1 for moving window 1. When the electronic device 400 detects that the user clicks on the function control 1, it can display a tab panel, which may include icons for multiple logical screens. When the electronic device 400 detects that the user clicks on the icon of logical screen 2, it can move window 1 to logical screen 2 for display.
[0130] In some examples, window 1 may also be partially displayed in logical screen 1 and partially displayed in logical screen 2. Alternatively, window 1 may be partially displayed in logical screen 1 and partially displayed in logical screen 3. Or, window 1 may be partially displayed in logical screen 2 and partially displayed in logical screen 3. Alternatively, window 1 may be partially displayed in logical screen 1, partially displayed in logical screen 2, partially displayed in logical screen 3, and partially displayed in logical screen 4.
[0131] Based on the embodiments of this application, an electronic device can virtually transform a single logical screen into multiple logical screens. Within each logical screen, the application window can be freely moved, and its display size can be adjusted. Furthermore, the electronic device can also support displaying application windows across multiple logical screens, or migrating application windows from one logical screen to another.
[0132] In this way, the diversity of application windows displayed is improved in scenarios with multiple logical screens.
[0133] In some cases, electronic devices can also support applications to be maximized across multiple logical screens. The following will combine... Figure 7 This technical solution will be introduced.
[0134] For example, Figure 7 This is a schematic diagram illustrating the display of an application window on a logical screen, as provided in an embodiment of this application. Figure 7 As shown, assume that the electronic device 400 divides the physical screen into four virtual logical screens according to the user's settings and default system settings, namely logical screen 1, logical screen 2, logical screen 3 and logical screen 4.
[0135] For example, see Figure 7 In (a), when the electronic device 400 starts the application 1, the window 1 of the application 1 can be displayed in the logical screen 1. The window 1 may include a toolbar 410, which may include at least a minimize function control 411, a maximize function control 412, and a close function control 413.
[0136] Since the electronic device 400 has multiple logical screens, it can provide users with the function of maximizing the display across these multiple logical screens.
[0137] After the electronic device 400 detects that the user clicks the maximize function control 412, see Figure 7 In (b), the electronic device 400 can display an options window 420, which can include a combination of options from multiple logical screens.
[0138] For example, the options window 420 may include the following options:
[0139] Logical screen 1;
[0140] Logical screen 1+2;
[0141] Logical screen 1+3;
[0142] Logical screen 2+4;
[0143] The entire screen.
[0144] For example, after the electronic device 400 detects that the user clicks the option "Logical Screen 1+3", see Figure 7 In (c), the electronic device 400 can adjust the layout of window 1 to maximize the display of window 1 in logical screen 1 and logical screen 3.
[0145] In other examples, when electronic device 400 detects that the user clicks the "full screen" option, window 1 can be maximized to display across the entire physical screen.
[0146] In this way, electronic devices can provide users with multiple options for maximizing. When a user selects a different maximization option, the electronic device can maximize the application window according to the selection, thus providing users with multiple display methods and improving the flexibility of split-screen display.
[0147] The following will combine Figures 8-9 This application describes the process of how the window displayed on the foldable electronic device changes when the physical state of the device changes.
[0148] For example, Figure 8 This is a schematic diagram of a display window in a foldable electronic device according to an embodiment of this application. The electronic device 300 can be a foldable electronic device, such as a foldable PC.
[0149] like Figure 8 As shown, when the electronic device 300 is in a semi-folded state, the window 2 of the application 2 is displayed in maximized mode on the logical screen 1.
[0150] When the electronic device 300 detects a change from a semi-folded state to an unfolded state, see [reference needed]. Figure 8 The electronic device 300 can adjust the display mode of window 2 to display window 2 in maximized mode on the entire physical screen.
[0151] When the electronic device 300 is in a semi-folded state, its physical screen is divided into two logical screens: logical screen 1 and logical screen 2. The application 2 window is displayed in maximized mode on logical screen 1. However, when the electronic device 300 is unfolded, it no longer distinguishes between multiple logical screens but has only one physical screen. Therefore, displaying window 2 in maximized mode on the entire physical screen better suits the user's browsing habits.
[0152] In some embodiments, when the electronic device 300 is in the unfolded state, the electronic device 300 may also employ the aforementioned... Figure 3 The method described in the article divides the physical screen of the electronic device into multiple logical screens, and displays the application windows based on these multiple logical screens.
[0153] For example, electronic device 300 can display window 2 of application 2 on one or more logical screens. Alternatively, electronic device 300 can also move window 2 of application 2 from one logical screen to another based on the user's movement operation. Alternatively, electronic device 300 can also adjust the layout of window 2 based on the user's maximize operation, displaying window 2 in maximized mode on one or more logical screens.
[0154] In some embodiments, when the electronic device 300 is in a semi-folded state, the electronic device 300 can adopt the aforementioned... Figure 3 The method described above divides the physical screen of the electronic device into multiple logical screens, and displays application windows based on these multiple logical screens. For example, electronic device 300 divides each of the two screens obtained after folding into multiple logical screens (such as two screens) according to the user's selection operation.
[0155] In other examples, if window 2 is displayed in maximized mode on logical screen 2 when electronic device 300 is in a semi-folded state, window 2 will also be displayed in maximized mode on the entire physical screen when electronic device 300 is unfolded.
[0156] In other examples, when the electronic device 300 is in a semi-folded state, if window 2 is not displayed in maximized mode on the logical screen 1—for example, if the display size of window 2 is smaller than the size of the logical screen 1, and window 2 is fully displayed on the logical screen 1—then when the electronic device 300 is unfolded, window 2 can be displayed in the same position on the physical screen. This ensures that the displayed window 2 conforms to the user's browsing habits before and after the electronic device is folded.
[0157] Correspondingly, when the electronic device 300 detects that the window 2 of the application 2 has changed from the unfolded state to the semi-folded state again, the window 2 of the application 2 is displayed in the logic screen 1 in maximized mode, that is, the above-mentioned change process of the display window is reversible.
[0158] In other examples, if the electronic device 300 is in an expanded state, it launches the application 2 and displays the window 2 of the application 2 in maximized mode across the entire physical screen. When the electronic device 300 is in a semi-collapsed state, the electronic device 300 can adjust the layout of the window 2, and the window 2 can be displayed in maximized mode on logical screen 1 or logical screen 2.
[0159] For example, electronic device 300 can set the display priority of logical screens. If the display priority of logical screen 1 is higher than that of logical screen 2, then when electronic device 300 is half-folded, electronic device 300 can adjust the layout of window 2, and window 2 can be displayed in logical screen 1 in maximized mode.
[0160] For example, application 2 can specify that it should be displayed on logical screen 2 in a half-folded state. Then, when electronic device 300 is half-folded, electronic device 300 can adjust the layout of window 2, and window 2 can be displayed on logical screen 2 in maximized mode.
[0161] For example, when the electronic device 300 is folded into a semi-folded state, the electronic device 300 adjusts the layout of the window 2 according to the user's operation of selecting the logical screen 1, and the window 2 can be displayed in the logical screen 1 in a maximized mode.
[0162] In this way, electronic devices adjust the size of application windows so that the windows before and after collapsing conform to the user's browsing habits.
[0163] For example, Figure 9 This is a schematic diagram of a display window in a foldable electronic device provided in an embodiment of this application.
[0164] like Figure 9 As shown, when the electronic device 300 is in the unfolded state, the application 3 is launched. The window 3 of the application 3 is not displayed in the maximized mode on the physical screen, and the display area of the window 3 covers the collapsible area of the electronic device 300.
[0165] When the electronic device 300 changes from an unfolded state to a semi-folded state, the electronic device 300 can adjust the display position of window 3 so that it is displayed on logical screen 1 or logical screen 2.
[0166] For example, electronic device 300 can set the display priority of logical screens. If the display priority of logical screen 1 is higher than that of logical screen 2, then when electronic device 300 is half-folded, electronic device 300 can adjust the display position of window 3 so that it is displayed in logical screen 1.
[0167] For example, when the electronic device 300 is in a semi-folded state, it can determine the area occupied by the display area of window 3 in the semi-folded state of logical screen 1 and logical screen 2. When the display area of window 3 occupies a larger area on logical screen 1 than on logical screen 2 in the semi-folded state, the electronic device 300 will revert to a semi-folded state and adjust the display position of window 3 to be displayed on logical screen 1.
[0168] For example, application 3 can specify that the window should be displayed on logical screen 2 in the half-folded state. Then, when electronic device 300 is half-folded, electronic device 300 can adjust the display position of window 3 to display it on logical screen 2.
[0169] For example, when the electronic device 300 is folded into a semi-folded state, the electronic device 300 adjusts the display position of the window 3 according to the user's operation of selecting the logical screen 1, so that it is displayed in the logical screen 1.
[0170] See also Figure 9 When the electronic device 300 detects that the window 3 of the application 3 has changed from a half-folded state to an unfolded state again, the window 3 of the application 3 can still be displayed in the original unfolded state position, that is, the above-mentioned change process of the display window is reversible.
[0171] In some examples, the electronic device can also adjust the size of window 3. For instance, when the electronic device 300 is in an expanded state, the display area of window 3 is too large and exceeds the display area of the logical screen 1. Then, when the electronic device 300 is in a semi-collapsed state, the electronic device 300 can adjust the size of window 3 so that window 3 can be displayed on the logical screen 1.
[0172] For other examples, see [link to other examples]. Figure 9When the electronic device 300 is in a semi-folded state, application 3 is launched, and window 3 of application 3 is displayed on logical screen 1. When the electronic device 300 is unfolded, window 3 is not displayed in maximized mode on the physical screen, and the display area of window 3 covers the foldable area of the electronic device 300. When the electronic device 300 is folded again, window 3 can be displayed on logical screen 1 in the same position as in the previous semi-folded state. The electronic device can record the display position of the window before the physical state changes, which is beneficial for quickly switching the display position of the window during subsequent transitions and conforms to the user's browsing habits.
[0173] Based on the embodiments of this application, an electronic device can automatically adjust the display position or size of the application window according to changes in its physical state, so that the window display of the electronic device is more in line with the user's browsing habits before and after being folded.
[0174] In addition, electronic devices can flexibly adjust the display of application windows based on multiple logical screens, improving the flexibility of split-screen display.
[0175] In some cases, when an electronic device virtualizes a physical screen into multiple logical screens, it needs to display a prompt to the user when performing operations such as screenshotting, screen mirroring, or screen casting. The device then determines which logical screen to screenshot, capture, or mirror based on the user's selection. The following section will combine... Figure 10 This technical solution will be introduced.
[0176] For example, Figure 10 This is a schematic diagram illustrating screen projection onto a logical screen, as provided in an embodiment of this application. Figure 10 As shown, the example of screen projection from electronic device 300 to electronic device 500 will be used for illustration.
[0177] Electronic device 300 has a logical screen 1 and a logical screen 2. When electronic device 300 needs to project its screen onto electronic device 500, electronic device 300 can display a prompt message 1, which can be used to prompt the user to select the logical screen to be projected.
[0178] For example, the prompt information may include logical screen 1, logical screen 2, and the entire physical screen (logical screen 1 + logical screen 2). When electronic device 300 detects that the user selects logical screen 1, the electronic device can project the content displayed on logical screen 1 onto electronic device 500 for display.
[0179] In this way, when an electronic device has multiple logical screens, users can choose to cast to a single logical screen or multiple logical screens, thereby increasing the versatility of screen casting.
[0180] In other examples, when electronic device 300 detects a user's screenshot or screenshot operation, it can also display prompt message 2 to the user, which prompts the user to select the logical screen to be screenshotted or captured.
[0181] For example, the prompt message may include logical screen 1, logical screen 2, and the entire physical screen (logical screen 1 + logical screen 2). When the electronic device 300 detects that the user has selected logical screen 2, the electronic device may perform a screenshot or screenshot operation on logical screen 2.
[0182] In this way, when an electronic device has multiple logical screens, users can choose to take screenshots of a single logical screen or multiple logical screens, thereby improving the flexibility of screenshot operations.
[0183] For example, Figure 11 This is a schematic flowchart illustrating a display method provided in an embodiment of this application. Figure 11 As shown, the method 800 can be applied to foldable electronic devices, and the method 800 may include steps 810 to 840.
[0184] 810, a foldable electronic device, when in the unfolded state, displays a first window of a movable first application on a foldable screen.
[0185] For example, see Figure 9 The foldable screen can be a physical screen 1. In the unfolded state, the first window can be window 3.
[0186] For example, see Figure 8 The foldable screen can be a physical screen 1. In the unfolded state, the first window can be window 2.
[0187] 820, the foldable electronic device, in response to changing to a semi-folded state along the foldable region, divides the foldable screen into multiple logical screens, including a first logical screen and a second logical screen.
[0188] For example, see Figure 3 The foldable electronic device is a two-fold electronic device. Due to this folding characteristic, in the half-folded state, the foldable electronic device can divide the physical screen into two logical screens.
[0189] For example, if the foldable electronic device folds in a two-fold manner, then the physical screen can be divided into two logical screens. Similarly, if the foldable electronic device folds in a three-fold manner, then the physical screen can be divided into three logical screens.
[0190] It should be understood that in the semi-folded state, the angle of the foldable screen in the foldable area is within a preset angle range. It should also be understood that the specific value of this preset angle range is not limited in the embodiments of this application; the preset angle range can be found in the relevant descriptions above, and will not be repeated here.
[0191] 830, The foldable electronic device displays a first window on the first logical screen.
[0192] The first logical screen can be one of multiple logical screens.
[0193] 840, a foldable electronic device, in response to a movement operation on a first window, moves the first window to a second logical screen.
[0194] In other examples, the foldable electronic device can also move the first window within a first logical screen in response to a user's movement of the first window.
[0195] Based on the embodiments of this application, when a foldable electronic device changes from an unfolded state to a semi-folded state, the foldable electronic device can virtually divide the display area where the foldable screen is located into multiple logical screens based on the folding position. In the semi-folded state, the foldable electronic device can select a first logical screen to display the first window that was originally displayed in the unfolded state, and can freely move the first window to a second logical screen according to the user's movement operation, thereby improving the flexibility of window display.
[0196] Furthermore, based on the physical characteristics of foldable electronic devices, a single physical screen can be divided into multiple logical screens through software functions or a combination of software functions and hardware. This allows the resulting logical screens to match the physical characteristics of the foldable electronic device, which is beneficial for improving the flexibility of subsequent application display windows.
[0197] In some implementations, before the foldable electronic device displays the first window on the first logical screen, the method 800 further includes:
[0198] The first logical screen is determined from multiple logical screens based on the first information.
[0199] The first piece of information includes one of the following:
[0200] There are no other application windows in the logical screen.
[0201] The proportion of the display area occupied by the interface elements in the logical screen is less than the preset value.
[0202] The logical screen that the user's eyes are focused on.
[0203] The first logical screen specified by the application.
[0204] Alternatively, the logical screen where the first window is located before the foldable electronic device is unfolded.
[0205] It should be understood that when no other application windows are displayed on logical screen A, the foldable electronic device can use logical screen A as the first logical screen to display the first window.
[0206] It should be understood that foldable electronic devices can also use the logical screen that the user is looking at as the first logical screen to display the first window. In this way, after the folding state changes, the first window can appear in the user's gaze direction, thereby improving the user's browsing efficiency.
[0207] It should be understood that the preset value is not limited in the embodiments of this application. For example, the preset value can be 0.5 or 0.7, etc.
[0208] Based on the embodiments of this application, when a foldable electronic device has multiple logical screens, it is possible to clearly specify which logical screen the first window will be displayed on when the state of the foldable electronic device changes.
[0209] In some implementations, foldable electronic devices divide the foldable screen into multiple logical screens, including:
[0210] The display area where the foldable screen is located is divided into multiple logical screens. Each logical screen has corresponding coordinate information and identification information, and the identification information is used to identify the logical screen.
[0211] Based on the embodiments of this application, the foldable electronic device can divide the coordinates of the display area where the foldable screen is located to obtain multiple logical screens, and each logical screen can have a corresponding identifier, so that the application can perceive the existence of multiple screens, thereby improving the flexibility of multi-screen display.
[0212] In some implementations, method 800 also includes:
[0213] The foldable electronic device displays the first window in maximized mode on a second logical screen in response to a maximized operation on the first window.
[0214] In response to a change from a semi-folded state to an unfolded state, the foldable electronic device eliminates the division of the foldable screen and displays the first window in a maximized mode within the foldable screen.
[0215] For example, referring to 8, the first window may be a maximized window 2, and the first logical screen may be a logical screen 1. When the foldable electronic device is in a folded state, the first window may be displayed in a maximized mode on the first logical screen.
[0216] This technical solution allows foldable electronic devices to adjust the display mode of the first window when the folded state changes, making the adjusted first window more in line with the user's browsing habits. Furthermore, this technical solution enables the foldable electronic device to have a memory function; when the foldable electronic device re-opens, the first window will still be displayed in maximized mode, thus further conforming to the user's usage habits.
[0217] In other examples, the foldable electronic device, in response to changing from a half-folded state to an unfolded state, may not cancel the division of the foldable screen, but instead display the first window in a maximized mode within the multiple logical screens, meaning the size of the first window is the same as the sum of the sizes of the multiple logical screens. Alternatively, the foldable electronic device, in response to changing from a half-folded state to an unfolded state, may merge the multiple logical screens into one logical screen and display the first window in a maximized mode within the larger merged logical screen.
[0218] Optionally, in response to a change from a semi-folded state to an unfolded state, the foldable electronic device may still display the first window in a maximized mode on the second logical screen. In this way, the display size and position of the first window can remain unchanged when the folding state of the foldable electronic device changes.
[0219] In some implementations, method 800 also includes:
[0220] In response to launching a second application, the foldable electronic device displays a second window of the second application on a first logical screen.
[0221] In this technical solution, when the second application is launched, since the first window already exists in the second logical screen, the second window of the second application can be displayed in the first logical screen, so that the display of multiple windows does not overlap, thus avoiding affecting the user's browsing of multitasking windows.
[0222] In some implementations, method 800 also includes:
[0223] In response to a maximization operation of a first window, the foldable electronic device displays a first prompt window, which includes multiple function options, each of which indicates a logical screen combination.
[0224] In response to a user's selection of a target function option, the foldable electronic device adjusts the display size of the first window to the target size of the target logical screen combination corresponding to the target function option.
[0225] The foldable electronic device displays a first window at the target size in a target logical screen combination.
[0226] For example, see Figure 7 The first window can be window 1, and the first prompt window can be option window 420. The multiple function options can be the various options in option window 420. The target logical screen combination can be "logical screen 1 + 3".
[0227] In this technical solution, when a user wants to maximize the display of the first window, since there are multiple logical screens, the foldable electronic device can also provide the user with the option to select which logical screens to maximize the display of the first window, thereby improving the diversity and flexibility of maximizing the display of application windows.
[0228] In some implementations, method 800 also includes:
[0229] The foldable electronic device responds to the user's screenshot or screenshot operation by displaying a second prompt window, which prompts the user to select the logical screen corresponding to the screenshot or screenshot operation.
[0230] The foldable electronic device performs a screenshot or screenshot operation on the second logical screen in response to the user's selection of the second logical screen.
[0231] Based on the embodiments of this application, when a user takes a screenshot or captures a screen in a foldable electronic device, the foldable electronic device can also allow the user to select which logical screens to take a screenshot or capture, thereby improving the diversity of screenshot or capture operations.
[0232] In some implementations, the method also includes:
[0233] In response to a user's screen mirroring operation, the foldable electronic device displays a third prompt window, which prompts the user to select the logical screen corresponding to the screen mirroring operation.
[0234] In response to a user's selection of a second logical screen, the foldable electronic device sends the content of the second logical screen to another electronic device.
[0235] For example, see Figure 10 The second logical screen can be logical screen 1.
[0236] Based on the embodiments of this application, when a user performs a screen mirroring operation on a foldable electronic device, the foldable electronic device can also provide the user with the option to select which logical screens to mirror, thereby improving the diversity of screen mirroring operations.
[0237] For example, Figure 12 This is a schematic flowchart illustrating a display method provided in an embodiment of this application. Figure 12 As shown, the method 1000 can be applied to a first electronic device, and the method 1000 may include steps 1010 to 1040.
[0238] 1010, in response to the user's selection operation, the first electronic device determines the region division information and region combination information of the display area where the physical screen of the first electronic device is located, wherein the region division information is used to indicate the region division of the display area where the physical screen is located, and the region combination information is used to indicate the combination of target sub-regions in the sub-regions obtained by the region division.
[0239] For example, the system settings of the first electronic device can provide users with a variety of area division and combination methods, and users can choose one of them.
[0240] For example, users can configure the aforementioned region division and region combination information in the system settings. See, for example... Figure 4 The area division information can indicate that the physical screen is divided into 4 sub-regions, and the area combination information indicates that the target sub-regions, namely region 1 and region 3, are combined to form a logical screen.
[0241] In other examples, users can first set the region division information and then set the region combination information.
[0242] 1020, the first electronic device divides the display area where the physical screen is located into multiple logical screens according to the area division information and area combination information. The multiple logical screens include the first logical screen and the second logical screen.
[0243] Understandably, multiple logical screens can also include an even greater number of logical screens.
[0244] For example, see Figure 5 In (c), the first electronic device divides the physical screen into 3 logical screens according to the area division information and area combination information set by the user.
[0245] 1030, The first electronic device displays a first window of a movable first application on a first logical screen.
[0246] For example, the first electronic device may display the first window on one of the logical screens. Alternatively, the first electronic device may display the first window on multiple logical screens.
[0247] 1040, the first electronic device, in response to a movement operation on the first window, moves the first window to the second logical screen.
[0248] For example, see Figure 7 The first electronic device can be electronic device 400, and the first window can be window 1. Window 1 is displayed in logical screen 1. Electronic device 400 can move window 1 to logical screen 2 for display according to the user's movement operation of window 1.
[0249] Based on the embodiments of this application, the first electronic device can virtualize a physical screen into multiple logical screens according to the user's selected method, thereby improving the user's autonomy and the flexibility of logical screen division. It can also freely move the first window to the second logical screen according to the user's movement operation, thereby improving the flexibility of window display.
[0250] In some implementations, each of the multiple logical screens has identification information, which is used to identify the logical screen.
[0251] In this technical solution, each logical screen can have a corresponding identifier, which allows the application to be aware of the existence of multiple screens, thereby improving the flexibility of multi-screen display.
[0252] In some implementations, before the first electronic device displays a first window of a movable first application on at least one of a plurality of logical screens, the method further includes:
[0253] The first electronic device determines a first logical screen from multiple logical screens based on first information, wherein the first information includes one of the following: no other application windows exist in the logical screen; the proportion of the display area of the logical screen occupied by the interface elements in the logical screen is less than a preset value; the logical screen that the user is looking at; the logical screen specified by the first application; or the logical screen selected by the user.
[0254] Based on the embodiments of this application, when the first electronic device has multiple logical screens, it can be clearly specified which logical screen the first window will be displayed on.
[0255] In some implementations, method 1000 also includes:
[0256] In response to a maximization operation of a first window, a first prompt window is displayed, the first prompt window including multiple function options, each of the multiple function options indicating a logical screen combination.
[0257] In response to the user's selection of a target function option, the first electronic device adjusts the display size of the first window to the target size of the target logical screen combination corresponding to the target function option;
[0258] The first electronic device displays a first window at a target size in the target logical screen assembly.
[0259] For example, the target size could be the maximum display size of the target logical screen combination.
[0260] In this technical solution, when a user wants to maximize the display of the first window, since there are multiple logical screens, the first electronic device can also provide the user with the option to select which logical screens to maximize the display of the first window, thereby improving the diversity and flexibility of maximizing the display of application windows.
[0261] In some implementations, method 1000 also includes:
[0262] In response to a user's screenshot or screen capture operation, the first electronic device displays a second prompt window, which prompts the user to select the logical screen corresponding to the screenshot or screen capture operation.
[0263] The first electronic device responds to the user's selection of the second logical screen by taking a screenshot or capturing a screenshot of the second logical screen.
[0264] In some implementations, method 1000 also includes:
[0265] In response to the user's screen mirroring operation, the first electronic device displays a third prompt window, which prompts the user to select the logical screen corresponding to the screen mirroring operation.
[0266] In response to the user's selection of the second logical screen, the first electronic device sends the content of the second logical screen to the second electronic device.
[0267] It should be understood that the beneficial effects of this technical solution can be found in the relevant descriptions above.
[0268] For example, Figure 13 This is a schematic block diagram of an electronic device provided in an embodiment of this application. Figure 13As shown, the electronic device 1100 includes one or more processors 1110; one or more memories 1120; the one or more memories 1120 storing one or more instructions that, when executed by one or more processors 1110, cause the method described in any of the possible implementations above to be executed.
[0269] For example, the electronic device 1100 may be the electronic device 100, electronic device 200, electronic device 300, electronic device 400, electronic device 500 mentioned above, the electronic device in the embodiment, the first electronic device, the foldable electronic device, etc.
[0270] The electronic device 1100 can be used to execute methods 800, 1000, etc. mentioned above.
[0271] This application also provides an electronic device, including a processor, a memory, and a communication interface, wherein the communication interface is used to receive signals, the memory is used to store signals, the communication interface is also used to transmit signals to the processor, and the processor processes the signals so that the display method described in any of the possible implementations above is executed.
[0272] This application also provides an apparatus for switching display interfaces, including a processor and a communication interface. The communication interface is used to receive signals and transmit the signals to the processor. The processor processes the signals so that the display method described in any of the possible implementations above is executed.
[0273] The device can be a chip. For example, the chip can be a chip system or a standalone chip.
[0274] This application also provides a readable storage medium (also known as a computer-readable storage medium) that stores instructions. When these instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the display method described in the above embodiments.
[0275] This application also provides a program product (also known as a computer program product) that, when run on an electronic device, causes the electronic device to perform the aforementioned related steps to implement the display method described in the above embodiments.
[0276] This application also provides an apparatus including a module for implementing the display method as described in any of the preceding embodiments.
[0277] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store instructions, and when the apparatus is running, the processor may execute the instructions stored in the memory to cause the apparatus to perform the display methods in the above-described method embodiments.
[0278] In this embodiment, the device, readable storage medium, program product or apparatus are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0279] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0280] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0281] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0282] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0283] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0284] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0285] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A display method characterized by comprising: The method is applied to a foldable electronic device, the foldable electronic device including a foldable screen, and the method includes: When the foldable electronic device is in the unfolded state, a first window of a movable first application is displayed on the foldable screen; In response to the foldable electronic device changing to a half-folded state along the foldable region, the foldable screen is divided into multiple logical screens, wherein the multiple logical screens include a first logical screen and a second logical screen. Display the first window in the first logical screen; In response to a movement operation on the first window, the first window is moved to the second logical screen; In response to an operation on a target function option in a first prompt window, the first window is displayed in maximized mode in both a first logical screen and a second logical screen. The target function option is used to indicate a logical screen combination of the first logical screen and the second logical screen. The first prompt window includes multiple function options, including the target function option.
2. The method of claim 1, wherein, Before displaying the first window on the first logical screen, the method further includes: The first logical screen is determined from the plurality of logical screens based on first information, wherein the first information includes one of the following: No other application windows are present on the logical screen; The proportion of the display area of the logical screen occupied by the interface elements in the logical screen is less than a preset value; The logical screen that the user's eyes are focused on; The logical screen specified by the first application; or, The logical screen where the first window is located before the foldable electronic device is in the unfolded state.
3. The method according to claim 1 or 2, characterized in that, The foldable screen is divided into multiple logical screens, including: The display area where the foldable screen is located is divided into multiple logical screens. Each of the multiple logical screens has corresponding coordinate information and identification information, and the identification information is used to identify the logical screen.
4. The method according to claim 1 or 2, characterized in that, The method further includes: In response to a maximize operation on the first window, the first window is displayed in maximized mode on the second logical screen; In response to the foldable electronic device changing from the semi-folded state to the unfolded state, the division of the foldable screen is canceled, and the first window is displayed in the foldable screen in a maximized mode.
5. The method according to claim 1 or 2, characterized in that, Prior to the operation on the target function option in the first prompt window, the method further includes: In response to a maximize operation on the first window, a first prompt window is displayed, the first prompt window including a plurality of function options, each of the plurality of function options being used to indicate a logical screen combination.
6. The method of claim 1 or 2, wherein, The method further includes: In response to a user's screenshot or screenshot operation, a second prompt window is displayed, which prompts the user to select the logical screen corresponding to the screenshot or screenshot operation. In response to the user's selection of the second logical screen, a screenshot or screenshot operation is performed on the second logical screen.
7. The method according to claim 1 or 2, characterized in that, The method further includes: In response to the user's screen mirroring operation, a third prompt window is displayed, which prompts the user to select the logical screen corresponding to the screen mirroring operation. In response to the user's selection of the second logical screen, the content of the second logical screen is sent to another electronic device.
8. The method of claim 1 or 2, wherein, The method further includes: In response to the operation of launching a second application, a second window of the second application is displayed on the first logical screen.
9. A display method characterized by comprising: The method is applied to a first electronic device, and the method includes: In response to the user's selection operation, the region division information and region combination information of the display area where the physical screen of the first electronic device is located are determined, wherein the region division information is used to indicate the region division of the display area where the physical screen is located, and the region combination information is used to indicate the combination of target sub-regions in the sub-regions obtained by the region division. Based on the region division information and region combination information, the display area where the physical screen is located is divided into multiple logical screens, including a first logical screen and a second logical screen. Display a first window of a movable first application in the first logical screen; In response to a movement operation on the first window, the first window is moved to the second logical screen; In response to an operation on a target function option in a first prompt window, the first window is displayed in maximized mode in both a first logical screen and a second logical screen. The target function option is used to indicate a logical screen combination of the first logical screen and the second logical screen. The first prompt window includes multiple function options, including the target function option.
10. The method of claim 9, wherein, Each of the multiple logical screens has identification information, which is used to identify the logical screen.
11. The method according to claim 9 or 10, characterized in that, Before displaying the first window of the movable first application in the first logical screen, the method further includes: The first logical screen is determined from the plurality of logical screens based on first information, wherein the first information includes one of the following: No other application windows are present on the logical screen; The proportion of the display area of the logical screen occupied by the interface elements in the logical screen is less than a preset value; The logical screen that the user's eyes are focused on; The logical screen specified by the first application; or, The user selects the logical screen.
12. The method of claim 9 or 10, wherein, Prior to the operation on the target function option in the first prompt window, the method further includes: In response to a maximize operation on the first window, a first prompt window is displayed, the first prompt window including a plurality of function options, each of the plurality of function options being used to indicate a logical screen combination.
13. The method of claim 9 or 10, wherein, The method further includes: In response to a user's screenshot or screenshot operation, a second prompt window is displayed, which prompts the user to select the logical screen corresponding to the screenshot or screenshot operation. In response to the user's selection of the second logical screen, a screenshot or screenshot operation is performed on the second logical screen.
14. The method of claim 9 or 10, wherein, The method further includes: In response to the user's screen mirroring operation, a third prompt window is displayed, which prompts the user to select the logical screen corresponding to the screen mirroring operation. In response to the user's selection of the second logical screen, the content of the second logical screen is sent to the second electronic device.
15. An electronic device, comprising: include: One or more processors; One or more memories; the one or more memories storing one or more programs that, when executed by one or more processors, cause the method as described in any one of claims 1-14 to be performed.
16. A chip, characterized in that, The chip includes a processor and a communication interface, the communication interface being used to receive signals and transmit the signals to the processor, the processor processing the signals such that the method as described in any one of claims 1-14 is executed.
17. A readable storage medium, characterized by, The readable storage medium stores instructions that, when executed on an electronic device, cause the method as described in any one of claims 1-14 to be performed.
18. A program product, characterized by The program product includes program code that, when run on an electronic device, causes the method as described in any one of claims 1-14 to be performed.