Display method and foldable electronic equipment
By virtualizing the physical screen into multiple logical screens and adjusting the application window display, the problem of insufficient flexibility in the split-screen mode of existing electronic devices is solved, and flexible display and interactivity of multi-tasking are improved.
Patent Information
- Application Number
- CN202510630648.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-05-15
AI Technical Summary
When existing electronic devices handle multiple tasks, the split-screen method has poor flexibility and single interaction, making it difficult 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 multiple operations such as moving, maximizing, screenshots, and screen projection, thereby improving the flexibility and interactivity of split-screen display.
It realizes flexible display and interaction of multi-tasking, improves user experience, enhances the diversity and flexibility of window display, and meets the diverse needs of users.
Smart Images

Figure CN120669880A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and more particularly, to a display method and a foldable electronic device. Background Art
[0002] When using electronic devices, users often need them to handle multiple tasks simultaneously. For example, on electronic devices with larger screens, such as PCs and tablets, the screen can be partitioned or placed into split-screen mode to handle different tasks.
[0003] However, this method of partitioning or splitting the screen has poor flexibility and relatively simple interaction with the user. Summary of the Invention
[0004] The embodiments of the present application provide a display method and a foldable electronic device, which can virtualize multiple logical screens from an actual physical screen, and flexibly adjust the windows of application programs 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 comprises: when the foldable electronic device is in an unfolded state, the foldable electronic device displays a movable first window of a first application on the foldable screen. In response to the foldable region changing to a semi-folded state, the foldable electronic device divides the foldable screen into multiple logical screens, the 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 move operation on the first window, the foldable electronic device moves the first window to the second logical screen. According to an embodiment of the present application, when the foldable electronic device changes from an unfolded state to a semi-folded state, the foldable electronic device can virtualize the display area of the foldable screen 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 based on a user's move operation, thereby improving the flexibility of window display. In addition, the foldable electronic device can divide the physical screen into multiple logical screens based on the physical characteristics of folding, so that the resulting logical screens match the physical characteristics of the foldable electronic device, which facilitates improved flexibility in the subsequent display of application windows.
[0006] In some implementations, before the foldable electronic device displays the first window in the first logical screen, the method further includes: the foldable electronic device determines the first logical screen from multiple logical screens based on the first information. The first information includes one of the following information: there are no windows of other applications 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's eyes are looking at. 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. Based on the embodiment of the present application, when the foldable electronic device has multiple logical screens, when the folding state changes, it can be clearly determined in which logical screen the first window is displayed.
[0007] In other examples, the first information may also include: a logical screen selected by the user.
[0008] In some implementations, a 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 of the display area where the foldable screen is located to obtain multiple logical screens, wherein each of the multiple logical screens has corresponding coordinate information and identification information, and the identification information is used to identify the logical screen. Based on an embodiment of the present 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, so that the application can perceive the existence of multiple screens to enhance the flexibility of multi-screen display.
[0009] In some implementations, the method further includes: in response to a maximize operation on the first window, the foldable electronic device displays the first window in a maximized mode on the second logical screen. In response to the foldable electronic device changing from a semi-folded state to an unfolded state, the foldable electronic device 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 folded state changes, so that the adjusted first window better conforms to the user's browsing habits.
[0010] In other examples, in response to the foldable electronic device changing from the semi-folded state to the unfolded state, the foldable screen may not be partitioned, but the first window may be displayed in a maximized mode on the multiple logical screens, i.e., the size of the first window is the same as the sum of the sizes of the multiple logical screens. Alternatively, in response to the foldable electronic device changing from the semi-folded state to the unfolded state, the multiple logical screens may be merged into one logical screen, and the first window may be displayed in a maximized mode on the resulting large logical screen.
[0011] Optionally, in response to the foldable electronic device changing from the semi-folded state to the unfolded state, the first window may still be displayed in the maximized mode on the second logical screen. In this way, when the foldable electronic device changes its folded state, the display size and position of the first window may remain unchanged.
[0012] In some implementations, the method further includes: the foldable electronic device, in response to launching the second application, displaying a second window of the second application on the first logical screen. In this technical solution, when the second application is launched, since the first window already exists on the second logical screen, the second window of the second application can be displayed on the first logical screen. This prevents overlapping display of multiple windows and prevents the user from browsing multiple windows.
[0013] In some implementations, the method further includes: the foldable electronic device displays a first prompt window in response to a maximization operation on the first window, 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. In response to the 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; and the first window is displayed at the target size in the target logical screen combination. In this technical solution, when the 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 a function option to select in which logical screens the first window is to be maximized, thereby improving the diversity and flexibility of maximizing the display of application windows.
[0014] In some implementations, the method further includes: the foldable electronic device displays a second prompt window in response to the user's screenshot or screen capture operation, the second prompt window being used to prompt the user to select a logical screen corresponding to the screenshot or screen capture operation; and in response to the user selecting the second logical screen, performing the screenshot or screen capture operation on the second logical screen. Based on the embodiment of the present application, when the user performs a screenshot or screen capture operation on the foldable electronic device, the foldable electronic device can also provide a user with the option of selecting which logical screens to perform the screenshot or screen capture operation, thereby increasing the diversity of the screenshot or screen capture operation.
[0015] In some implementations, the method further includes: the foldable electronic device displays a third prompt window in response to the user's screen casting operation, and the third prompt window is used to prompt the user to select the logical screen corresponding to the screen casting operation. The foldable electronic device sends the content of the second logical screen to the second electronic device in response to the user's operation of selecting the second logical screen. Based on the embodiment of the present application, when the user performs a screen casting operation in the foldable electronic device, the foldable electronic device can also provide the user with the option of selecting which logical screens to cast the screen, thereby increasing the diversity of the screen casting operation.
[0016] In a second aspect, a display method is provided for use with a first electronic device. The method includes: the first electronic device, in response to a user selection operation, determining region division information and region combination information for a display area where a physical screen of the first electronic device is located, wherein the region division information is used to indicate region division of the display area where the physical screen is located, and the region combination information is used to indicate combination of target sub-areas within the sub-areas obtained by the region division. The first electronic device, based on the region division information and the region combination information, divides the display area where the physical screen is located into multiple logical screens, the multiple logical screens including 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 move operation on the first window, the first electronic device moves the first window to the second logical screen. Based on an embodiment of the present application, the first electronic device can virtualize a physical screen into multiple logical screens in a manner selected by the user, thereby improving user autonomy and flexibility in logical screen division. The first window can also be freely moved to the second logical screen in response to a user move operation, thereby improving flexibility in window display.
[0017] In some implementations, each of the multiple logical screens has identification information, and the identification information is used to identify the logical screen.
[0018] In this technical solution, 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.
[0019] In some implementations, before the first electronic device displays a first window of a movable first application on at least one first logical screen among multiple logical screens, the method further includes: the first electronic device determining the first logical screen from the multiple logical screens based on first information, wherein the first information includes one of the following information: no windows of other applications exist in the logical screen; the proportion of the display area of the logical screen occupied by 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. Based on the embodiment of the present application, when the first electronic device has multiple logical screens, it can clearly determine on which logical screen the first window is to be displayed.
[0020] In some implementations, the method further includes: the first electronic device displays a first prompt window in response to a maximization operation on the first window, 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. In response to the 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 in the target logical screen combination at the target size. In this technical solution, when the 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 a function option to select in which logical screens the first window is to be maximized, thereby improving the diversity and flexibility of maximizing the display of application windows.
[0021] In some implementations, the method further includes: the first electronic device displaying a second prompt window in response to the user's screenshot or screen capture operation, the second prompt window being used to prompt the user to select a logical screen corresponding to the screenshot or screen capture operation. In response to the user selecting the second logical screen, the first electronic device performs the screenshot or screen capture operation on the second logical screen.
[0022] In some implementations, the method further includes: the first electronic device, in response to the user's screen casting operation, displaying a third prompt window, the third prompt window being used to prompt the user to select a logical screen corresponding to the screen casting operation. In response to the user selecting the second logical screen, the first electronic device transmits the content of the second logical screen to the second electronic device.
[0023] It should be understood that the beneficial effects of this technical solution can be found in the relevant description of the first aspect.
[0024] In a third aspect, a display method is provided, comprising a module for implementing the method as described in the first aspect to the second aspect and any possible implementation thereof.
[0025] In a fourth aspect, an electronic device is provided, comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, enable the methods described in the first aspect to the second aspect and any possible implementation thereof to be executed.
[0026] In a fifth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method described in the first aspect to the second aspect and any possible implementation thereof is executed.
[0027] In a sixth aspect, a readable storage medium is provided, wherein instructions are stored in the readable storage medium. When the instructions are executed on an electronic device, the method described in the first aspect to the second aspect and any possible implementation thereof is executed.
[0028] In a seventh aspect, a program product is provided, comprising a program code. When the program code is run on an electronic device, the method described in the first aspect to the second aspect and any possible implementation thereof is executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic structural diagram 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 the present application.
[0031] Figure 3 This is a schematic diagram of dividing a physical screen into regions provided in an embodiment of the present application.
[0032] Figure 4 This is a schematic diagram of virtualizing a physical screen into multiple logical screens provided by an embodiment of the present application.
[0033] Figure 5 This is another schematic diagram of dividing a physical screen into regions provided in an embodiment of the present application.
[0034] Figure 6 This is a schematic diagram of an application window displayed on a logical screen provided by an embodiment of the present application.
[0035] Figure 7 This is a schematic diagram of an application window displayed on a logical screen provided by an embodiment of the present application.
[0036] Figure 8 This is a schematic diagram of a display window in a foldable electronic device provided in an embodiment of the present application.
[0037] Figure 9 This is a schematic diagram of a display window in a foldable electronic device provided in an embodiment of the present application.
[0038] Figure 10 This is a schematic diagram of projecting a logical screen provided in an embodiment of the present application.
[0039] Figure 11 It is a schematic flow chart of a display method provided in an embodiment of the present application.
[0040] Figure 12 It is a schematic flow chart of a display method provided in an embodiment of the present application.
[0041] Figure 13 This is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0043] The methods in the embodiments of the present application can be applied to smartphones, wearable devices, smart TVs, tablet computers, laptops, personal computers (PCs), ultra-mobile personal computers (UMPCs), netbooks, vehicle-mounted devices, foldable phones, foldable PCs, Internet of Things (IoT) devices, augmented reality devices, virtual reality devices, etc.
[0044] Figure 1 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a camera 193, a display screen 194, and a touch sensor 180K.
[0045] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0046] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0047] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0048] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0049] The wireless communication module 160 can provide wireless communication solutions for application 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 technology (NFC), infrared technology (IR), ultra wideband (UWB) technology, star flash, etc.
[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 the network and other devices through wireless communication technology.
[0051] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0052] Display screen 194 is used to display images, videos, etc. In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1. In the embodiment of the present application, electronic device 100 may include a display screen 194, which may or may not be a foldable screen. Display screen 194 can be understood as a physical screen that can be virtualized into multiple logical screens.
[0053] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0054] The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or videos.
[0055] The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.
[0056] Before introducing the technical solutions of the embodiments of the present application, some professional terms that may be involved in the present application are first 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 equally into two or four logical screens. Another example is a foldable device (such as a foldable PC), where a physical screen can be divided into two logical screens based on the folded form.
[0058] In an embodiment of the present application, 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, and each sub-display area or multiple sub-display areas can be used as a logical screen. Each sub-display area can display the windows of one or more applications, and the windows of the application can be freely moved in each sub-display area. The window of the application can also be moved from one sub-display area to another sub-display area according to the user's movement operation. Alternatively, the window of the application can also be maximized in one or more sub-display areas. In the case of dividing a physical screen into multiple logical screens, the multiple logical screens can share the same desktop or the same wallpaper of 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 may display the status bar of the desktop, while the logical screen at the top may not display the status bar of the desktop.
[0061] When using electronic devices, users often need them to handle multiple tasks simultaneously. For example, on electronic devices with larger screens, such as PCs and tablets, the screen can be partitioned or placed into split-screen mode to handle different tasks.
[0062] However, this method of partitioning or splitting the screen has poor flexibility and relatively simple interaction with the user.
[0063] In view of this, the embodiments of the present application provide a display method and a foldable electronic device, which can virtualize multiple logical screens from the actual physical screen, and flexibly adjust the application window based on the multiple logical screens, thereby improving the flexibility of split-screen display.
[0064] The following will be combined Figure 2-12 Introduce the technical solutions in the embodiments of this application.
[0065] For example, Figure 2 This is a schematic framework diagram of an electronic device provided in an embodiment of the present application.
[0066] like Figure 2 As shown, the application layer of the electronic device 200 includes at least application 1, and the application framework layer includes at least a screen partition module, a virtual multi-screen module, a screen management module, a virtual multi-screen interaction module, and a window management module.
[0067] It should be understood that the application 1 can be a system application in the electronic device 200 or a third-party application.
[0068] The screen partition module can divide a physical screen of the electronic device 200 into multiple areas and can also combine them in a certain way. It is understandable that the information used to indicate the division of the physical screen into multiple areas can be called partition information, and the information used to indicate the combination method of the areas can be called combination information.
[0069] In some embodiments, the screen partitioning module may 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, the screen partitioning module may 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 mobile phone, the screen partition module can divide the physical screen of the foldable PC into three areas, corresponding to the folded screens.
[0071] In some embodiments, the screen partition module may further divide the physical screen into regions according to a user-specified method. For example, the user may set the partition information in the settings of the electronic device 200, such as dividing the physical screen into two regions, or four regions, etc. In addition, the user may also set the combination information so that the screen partition module can combine multiple regions.
[0072] The screen partitioning module can send partitioning information and combination information to the virtual multi-screen module.
[0073] The virtual multi-screen module can virtualize a physical screen into multiple logical screens according to the partition information and combination information.
[0074] For example, the partition information is used to indicate that the physical screen is divided into four areas, and the 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 three 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 may also receive partition information from the screen partition module instead of the combination information. For example, if the partition information indicates that the physical screen is divided into four areas, the virtual multi-screen module may virtualize each area into a logical screen.
[0076] It is understandable that the virtual multi-screen module can divide the coordinates of the entire physical screen according to the partition information and the combination information to obtain the coordinates and identifications of multiple logical screens.
[0077] For example, the virtual multi-screen module determines that the screen needs to be virtualized into two logical screens based on the partition information and combination information. The coordinates of the entire physical screen can be divided separately to obtain the coordinates of the two logical screens and the identification of the logical screens, such as logical screen 1 and logical screen 2.
[0078] Alternatively, the virtual multi-screen module may 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 identification of the logical screen may be referred to as information of the logical screen.
[0080] Afterwards, the virtual multi-screen module may send information of the multiple logical screens to the screen management module.
[0081] The screen management module can be used to interact with the application 1 to send the information of the multiple logical screens to the application 1. In this way, after the application 1 receives the information of the multiple logical screens, the application 1 can perform window display based on the multiple logical screens.
[0082] For example, after application 1 is started, the screen management module may send the information of the multiple logical screens to application 1. Alternatively, when a logical screen changes, the screen management module may send the information of the changed logical screen to application 1. Alternatively, the screen management module may periodically send the information of the multiple logical screens to application 1.
[0083] The display position of the window of application 1 on the physical screen can be managed by the window management module.
[0084] The virtual multi-screen interaction module can adjust the display position of the application 1 through the window management module according to the interaction mode of the application 1.
[0085] For example, the window of application 1 can be displayed in logical screen 1 with a size smaller than or equal to the area where logical screen 1 is located, can be moved to another logical screen for display by dragging by the user, or can be maximized and displayed in the entire physical screen. This embodiment of the present application is not limited to this.
[0086] Like this, the window of application program 1 can be flexibly displayed in various ways.In addition, for other application programs, all can be flexibly displayed in various ways.
[0087] The following will be combined Figure 3-Figure 9 The present invention introduces a technical solution for dividing and combining physical screen areas in an electronic device according to an embodiment of the present application.
[0088] For example, Figure 3This is a schematic diagram of dividing a physical screen into regions provided by an embodiment of the present application. Figure 3 As shown, the electronic device 300 may be a foldable electronic device. In the embodiment of the present application, the foldable electronic device is described as a foldable PC. It should be understood that in other examples, the foldable electronic device may also be a foldable mobile phone or a foldable tablet.
[0089] For ease of description, the embodiment of the present application is described with the electronic device 300 being in a semi-folded state and an unfolded state.
[0090] In some examples, the electronic device 300 may divide the physical screen into regions according to its physical characteristics, and use each divided region as a logical screen.
[0091] For example, when the electronic device 300 changes from an unfolded state to a semi-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 divide the physical screen into area 1 and area 2 according to the physical characteristics, 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 the present application, the semi-folded state can be understood as the angle formed by the physical screen at the folded portion being between 30 degrees and 150 degrees. Alternatively, the angle is between 45 degrees and 165 degrees. Alternatively, the angle can also be between 90 degrees and 150 degrees or between 120 degrees and 150 degrees.
[0093] The unfolded state can be understood as the angle formed by the physical screen at the folded portion being between 150 degrees and 180 degrees. Alternatively, the angle is between 165 degrees and 180 degrees. Alternatively, the unfolded state can be understood as the angle formed by the physical screen at the folded portion being equal to or approximately equal to 180 degrees.
[0094] It should be understood that within the allowable error range, the angle values in the above examples may have certain deviations and are not necessarily limited to the precise angle value range.
[0095] When the electronic device 300 changes from a semi-folded state or a folded state to an unfolded state, the physical screen of the electronic device 300 becomes a flat screen. The electronic device 300 may not divide and combine the physical screen into regions based on this physical characteristic. Alternatively, it can be understood that the electronic device 300 divides the physical screen into one region based on this physical characteristic, and this one region serves as a logical screen.
[0096] For another example, the electronic device 300 can be folded multiple times, and the electronic device 300 can also divide the physical screen from the folding 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 may further divide the physical screen into regions according to a user setting, and combine the divided regions according to a user-specified method to obtain multiple logical screens.
[0098] For example, in the settings of electronic device 300, the user sets the area division method of the physical screen, 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 another example, the user may set the physical screen's area division method in the settings of the electronic device 300, such as dividing it into four equal areas and designating each area as a logical screen. The electronic device 300 may then 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, the electronic device can divide a physical screen into areas and determine corresponding combinations, which is conducive to subsequently virtualizing the physical screen into multiple logical screens.
[0101] The following will be combined Figure 4 This section describes how electronic devices virtualize a physical screen into multiple logical screens.
[0102] For example, Figure 4 This is a schematic diagram of virtualizing a physical screen into multiple logical screens provided by an embodiment of the present application. Figure 4 , assuming that the physical screen of the electronic device 300 can be represented by the area formed by coordinates A1 (0, 0) to B1 (1080, 1600). Figure 3 When it is determined in the manner described above that the physical screen needs to be divided into two areas and virtualized into two logical screens, the coordinates of the physical screen can be divided to form two areas with coordinates of A1 to B2 (1080, 800) and A2 (0, 800) to B1. The electronic device 300 can use the portion with coordinates of A1 to B2 (1080, 800) as logical screen 1 and the portion from A2 (0, 800) to B1 as logical screen 2. Logical screen 1 has identifier 1 and logical screen 2 has identifier 2, so that different logical screens can be distinguished.
[0103] In some cases, the technical solution of the embodiment of the present application can also be applied to non-folding electronic devices. Figure 5Introduce the technical solution.
[0104] For example, Figure 5 This is another schematic diagram of dividing the physical screen into regions provided by an embodiment of the present application. Figure 5 As shown, the electronic device 400 may be a non-foldable electronic device, for example, the electronic device may be a tablet, a smart phone, etc.
[0105] In some examples, the electronic device 400 may divide the physical screen into regions according to user settings or system default settings and combine the divided regions.
[0106] See also Figure 5 In (a), it is assumed that the electronic device 400 divides the physical screen into four equal areas according to the user's settings or the system's default settings, namely area 1, area 2, area 3 and area 4.
[0107] Exemplarily, the combination information set by the user or the combination information by default of the system indicates that each area is regarded as a logical screen.
[0108] See also 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, the combination information set by the user or the combination information by default of the system may also indicate that multiple areas are regarded as one logical screen.
[0110] For example, the combination information indicates that area 1 and area 3 are regarded as one logical screen, area 2 is regarded as one logical screen, and area 4 is regarded as one logical screen.
[0111] See also Figure 5 In (c), the electronic device 400 can virtualize area 1 and area 3 into a logical screen 1, virtualize area 2 into a logical screen 2, and virtualize area 3 into a logical screen 3 according to the above combination information.
[0112] In other examples, the combination information may also indicate that area 1 and area 2 are to be treated as one logical screen, area 3 is to be treated as one logical screen, and area 4 is to be treated as one logical screen.
[0113] Based on the embodiments of the present application, users can freely divide the physical screen into areas and specify the combination method according to their needs, so that the electronic device can virtualize the physical screen into multiple logical screens according to the user's settings.
[0114] Alternatively, the system of the electronic device 400 may default to multiple area division methods and combination methods, and the user may 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] It is understood that electronic devices can be Figure 4 The method in the embodiment of the present invention is to virtualize the physical screen into multiple logical screens, which will not be described in detail here.
[0116] The following will be combined Figure 6-Figure 7 Introducing the interaction scheme of multiple logical screens in the implementation of this application.
[0117] For example, Figure 6 This is a schematic diagram of an application window displayed on a logical screen provided by an embodiment of the present application. Figure 6 As shown, it is assumed that the electronic device 400 divides the physical screen into four virtual logical screens according to the user's settings and the 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 the electronic device 400 starts the application 1, it can be displayed in the logical screen 1 according to the user's selection. For example, when the electronic device 400 starts the application 1, the user chooses to display it in the logical screen 1, and the window 1 can be displayed in the logical screen 1.
[0121] Alternatively, when the electronic device 400 starts the application 1, the electronic device 400 may also determine whether to display the window 1 of the application 1 according to whether there are windows of other applications on the logical screen in a preset order.
[0122] For example, the preset order is logical screen 1, logical screen 2, logical screen 3, and logical screen 4. When launching application 1, electronic device 400 first determines whether there are windows of other applications in logical screen 1. If not, window 1 can be displayed in logical screen 1. If so, electronic device 400 can continue to determine whether there are windows of other applications in logical screen 2. If not, window 1 can be displayed in logical screen 2. In this way, when the electronic device processes multiple applications, the multiple applications can be displayed in different logical screens respectively, and the displays can be non-overlapping, thereby not affecting the user's use of the multiple applications.
[0123] The window 1 can be displayed in the logical screen 1 as a free window. For example, the electronic device 400 can arbitrarily move the display position of the window 1 in the logical screen 1 according to the user's movement operation, or the electronic device 400 can also arbitrarily adjust the display size of the window 1 in the logical screen 1 according to the user's operation.
[0124] In some examples, the window 1 may also be displayed maximized within the logical screen 1 .
[0125] In this way, in each logical screen, the window of application 1 can be displayed in a manner similar to that in a single physical screen.
[0126] In the embodiment of the present application, the electronic device 400 may 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 according to the user's movement operation.
[0128] The moving operation may include dragging, gestures, and the like.
[0129] Alternatively, the window 1 may further include a function control 1 for moving the window 1. When the electronic device 400 detects that a user clicks on the function control 1, a tab sheet may be displayed, which may include identifiers of multiple logical screens. When the electronic device 400 detects that a user clicks on the identifier of a logical screen 2, the window 1 may be moved to the logical screen 2 for display.
[0130] In some examples, the window 1 may be partially displayed on logical screen 1 and partially displayed on logical screen 2. The window 1 may be partially displayed on logical screen 1 and partially displayed on logical screen 3. Alternatively, the window 1 may be partially displayed on logical screen 2 and partially displayed on logical screen 3. Alternatively, the window 1 may be partially displayed on logical screen 1, partially displayed on logical screen 2, partially displayed on logical screen 3, and partially displayed on logical screen 4.
[0131] Based on the embodiments of the present application, an electronic device can virtualize a single logical screen into multiple logical screens. Within each logical screen, application windows can be freely moved and their display size 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 for display.
[0132] In this way, in the scenario of multiple logical screens, the diversity of displayed application windows is improved.
[0133] In some cases, electronic devices can also support the function of maximizing the display of applications across multiple logical screens. Figure 7 Introduce the technical solution.
[0134] For example, Figure 7 This is a schematic diagram of an application window displayed on a logical screen provided by an embodiment of the present application. Figure 7 As shown, it is assumed that the electronic device 400 divides the physical screen into four virtual logical screens according to the user's settings and the 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 application 1, window 1 of application 1 can be displayed in the logical screen 1, and the window 1 can include a toolbar 410, and the toolbar 410 can 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, the electronic device 400 can provide the user with a function of maximizing the display on the multiple logical screens.
[0137] When the electronic device 400 detects that the user clicks the maximize function control 412, Figure 7 In (b), the electronic device 400 may display an option window 420, which may include combination options of 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, when the electronic device 400 detects that the user clicks the option "Logical Screen 1+3", Figure 7 In (c), the electronic device 400 can adjust the layout of window 1 and maximize the display of window 1 on logical screen 1 and logical screen 3.
[0145] In other examples, after the electronic device 400 detects that the user clicks on the option “entire screen”, the window 1 may be displayed maximized on the entire physical screen.
[0146] In this way, the electronic device can provide users with multiple maximization options. When the user selects different maximization options, the electronic device can maximize the application window according to the selection operation to display the corresponding options, thereby providing users with multiple display methods and improving the flexibility of split-screen display.
[0147] The following will be combined Figure 8-Figure 9 The following describes the process of changing a window displayed on a foldable electronic device when the physical state of the foldable electronic device changes in an embodiment of the present application.
[0148] For example, Figure 8 Schematic diagram of a display window in a foldable electronic device provided by an embodiment of the present application. The electronic device 300 may be a foldable electronic device, such as a foldable PC.
[0149] like Figure 8 As shown, when the electronic device 300 is in a half-folded state, the window 2 of the application 2 is displayed in the logical screen 1 in a maximized mode.
[0150] When the electronic device 300 detects that the state has changed from the semi-folded state to the unfolded state, see Figure 8 , the electronic device 300 can adjust the display mode of the window 2 to display the window 2 in the entire physical screen in a maximized mode.
[0151] When electronic device 300 is half-folded, its physical screen is divided into two logical screens: logical screen 1 and logical screen 2. The window of application 2 is displayed in maximized mode on logical screen 1. When electronic device 300 is unfolded, it no longer has multiple logical screens, but only one physical screen. Therefore, window 2 is displayed in maximized mode on the entire physical screen, better aligning with 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 adopt the above Figure 3 The physical screen of the electronic device is divided into multiple logical screens in the manner described above, and the windows of the application are displayed based on the multiple logical screens.
[0153] For example, the electronic device 300 may display the window 2 of the application 2 on one or more logical screens. Alternatively, the electronic device 300 may move the window 2 of the application 2 from one logical screen to another logical screen based on the user's move operation. Alternatively, the electronic device 300 may adjust the layout of the window 2 based on the user's maximize operation and display the 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 may adopt the above Figure 3 The physical screen of the electronic device is divided into multiple logical screens in the manner described above, and application windows are displayed based on the multiple logical screens. For example, the electronic device 300 divides each of the two folded screens into multiple logical screens (e.g., two) according to the user's selection operation.
[0155] In other examples, when the electronic device 300 is in a semi-folded state, if the window 2 is displayed in a maximized mode in the logical screen 2, when the electronic device 300 becomes an unfolded state, the window 2 is also displayed in a maximized mode in the entire physical screen.
[0156] In another example, when the electronic device 300 is in a semi-folded state, if the window 2 is not displayed in a maximized mode on the logical screen 1, for example, the display size of the window 2 is smaller than the size of the logical screen 1, and the window 2 is completely displayed on the logical screen 1. When the electronic device 300 is changed to an unfolded state, the window 2 can be displayed at the same position on the physical screen. In this way, the window 2 displayed by the electronic device before and after folding can be consistent with the user's browsing habits.
[0157] Accordingly, when the electronic device 300 detects a change from the expanded state to the semi-folded state again, the window 2 of the application 2 is displayed in the maximized mode on the logical screen 1, that is, the above-mentioned change process of the display window is reversible.
[0158] In another example, if the electronic device 300 is in the expanded state, the application 2 is started and the window 2 of the application 2 is displayed in the maximized mode on the entire physical screen. When the electronic device 300 is half-folded, the electronic device 300 can adjust the layout of the window 2, and the window 2 can be displayed in the maximized mode on the logical screen 1 or the logical screen 2.
[0159] For example, the electronic device 300 can set the display priority of the logical screen. If the display priority of logical screen 1 is higher than the display priority of logical screen 2, when the electronic device 300 becomes half-folded, the electronic device 300 can adjust the layout of window 2, and window 2 can be displayed in the logical screen 1 in maximized mode.
[0160] For another example, application 2 may specify that it needs to be displayed in logical screen 2 in a half-folded state. Then, when electronic device 300 becomes half-folded, electronic device 300 may adjust the layout of window 2, and window 2 may be displayed in logical screen 2 in maximized mode.
[0161] For another example, when the electronic device 300 is half-folded, 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, the electronic device adjusts the window size of the application program so that the windows before and after folding conform to the browsing habits of the user.
[0163] For example, Figure 9 This is a schematic diagram of a display window in a foldable electronic device provided in an embodiment of the present application.
[0164] like Figure 9 As shown, when the electronic device 300 is in the expanded state, application 3 is started, window 3 of application 3 is not displayed in the physical screen in maximized mode, and the display area of window 3 covers the foldable area of the electronic device 300.
[0165] When the electronic device 300 changes from the unfolded state to the half-folded state, the electronic device 300 may adjust the display position of the window 3 so that the window 3 is displayed on the logical screen 1 or the logical screen 2 .
[0166] For example, the electronic device 300 can set the display priority of the logical screen. If the display priority of logical screen 1 is higher than the display priority of logical screen 2, when the electronic device 300 becomes half-folded, the electronic device 300 can adjust the display position of the window 3 to display it in the logical screen 1.
[0167] For another example, when the electronic device 300 is in a semi-folded state, the electronic device 300 may determine, in the expanded state, the area occupied by the display area of the window 3 on the semi-folded logical screen 1 and the logical screen 2. When the area occupied by the display area of the window 3 on the semi-folded logical screen 1 is larger than the area occupied by the display area of the semi-folded logical screen 2, the electronic device 300 is in a semi-folded state and the display position of the window 3 is adjusted to be displayed on the logical screen 1.
[0168] For another example, the application 3 may specify that it needs to be displayed in the logical screen 2 in the half-folded state. Then, when the electronic device 300 becomes half-folded, the electronic device 300 may adjust the display position of the window 3 to display it in the logical screen 2.
[0169] For another example, when the electronic device 300 is half-folded, 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 as to display the window 3 on the logical screen 1 .
[0170] Continue to see Figure 9 When the electronic device 300 detects that the state changes from the semi-folded state to the unfolded state again, the window 3 of the application 3 can still be displayed at the position where it was originally in the unfolded state, 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 example, when the electronic device 300 is in the unfolded state, the display area of window 3 is large and has exceeded the display area of the logical screen 1. Then, when the electronic device 300 is changed to the semi-folded 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 Figure 9, when the electronic device 300 is in a semi-folded state, application 3 is started, and window 3 of application 3 is displayed on the logical screen 1. When the electronic device 300 becomes an expanded state, 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 becomes a folded state again, window 3 can be displayed on the logical screen 1 according to the display position of the previous semi-folded state. The electronic device can record the display position of the window before the physical state changes, so as to facilitate the rapid switching of the window display position during subsequent switching, and in accordance with the user's browsing habits.
[0173] Based on the embodiments of the present application, the electronic device can automatically adjust the display position or size of the application window according to the change of its physical state, so that the window display of the electronic device can be more in line with the user's browsing habits before and after folding.
[0174] In addition, the electronic device can flexibly adjust the display of application windows based on multiple logical screens, thereby improving the flexibility of split-screen display.
[0175] In some cases, after an electronic device virtualizes a physical screen into multiple logical screens, when performing operations such as screenshots, screen captures, or screen projection, the electronic device needs to display prompt information to the user and determine which logical screen needs to be screenshoted, screen captured, or screen projected based on the user's selection. Figure 10 Introduce the technical solution.
[0176] For example, Figure 10 This is a schematic diagram of a method of projecting a logical screen provided by an embodiment of the present application. Figure 10 As shown, the screen projection from electronic device 300 to electronic device 500 is taken as an example for explanation.
[0177] The electronic device 300 has a logical screen 1 and a logical screen 2. When the electronic device 300 needs to project the screen to the electronic device 500, the electronic device 300 can display prompt information 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 the electronic device 300 detects that the user selects logical screen 1, the electronic device may project the content displayed on logical screen 1 to the electronic device 500 for display.
[0179] In this way, when an electronic device has multiple logical screens, when projecting the screen, the user can choose to project a single logical screen or multiple logical screens, thereby improving the diversity of screen projection.
[0180] In other examples, when the electronic device 300 detects a screenshot or screen capture operation by the user, prompt information 2 may also be displayed to the user, where the prompt information 2 is used to prompt the user to select a logical screen that needs to be screenshot or screen captured.
[0181] 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 the electronic device 300 detects that the user selects logical screen 2, the electronic device may perform a screenshot or screen capture operation on logical screen 2.
[0182] In this way, when an electronic device has multiple logical screens, when taking a screenshot or screen capture operation, the user can choose to take a screenshot or screen capture of a single logical screen, or can choose to take a screenshot or screen capture of multiple logical screens, thereby improving the flexibility of the screenshot or screen capture operation.
[0183] For example, Figure 11 This is a schematic flow chart of a display method provided in an embodiment of the present application. Figure 11 As shown, the method 800 can be applied to a foldable electronic device, and the method 800 can include steps 810 to 840.
[0184] 810. When the foldable electronic device is in an unfolded state, a first window of a movable first application is displayed on the foldable screen.
[0185] For example, see Figure 9 , the foldable screen may be physical screen 1. In the unfolded state, the first window may be window 3.
[0186] For example, see Figure 8 , the foldable screen may be physical screen 1. In the unfolded state, the first window may be window 2.
[0187] 820 , in response to the foldable electronic device changing to a semi-folded state along the foldable region, the foldable electronic device divides the foldable screen into a plurality of logical screens, where the plurality of logical screens include a first logical screen and a second logical screen.
[0188] For example, see Figure 3 The folding method of the foldable electronic device is a two-folding electronic device. Since the foldable electronic device has this folding feature, in the semi-folded state, the foldable electronic device can divide the physical screen into two logical screens.
[0189] For example, if the foldable electronic device is a two-fold electronic device, the foldable electronic device can divide the physical screen into two logical screens. For another example, if the foldable electronic device is a three-fold electronic device, the foldable electronic device can divide the physical screen 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 be understood that the specific value of the preset angle range is not limited in this embodiment of the application. The preset angle range can be found in the relevant description 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 may be one of multiple logical screens.
[0193] 840 , the foldable electronic device moves the first window to the second logical screen in response to the move operation on the first window.
[0194] In other examples, the foldable electronic device may also move the first window in the first logical screen in response to a user's movement operation on the first window.
[0195] According to an embodiment of the present application, when a foldable electronic device changes from an unfolded state to a semi-folded state, the foldable electronic device can virtualize the display area of the foldable screen into multiple logical screens based on the folded position. In the semi-folded state, the foldable electronic device can select a first logical screen to display a first window originally displayed in the unfolded state, and can freely move the first window to a second logical screen based on the user's movement operation, thereby improving the flexibility of window display.
[0196] In addition, based on the physical characteristics of folding, foldable electronic devices can divide a physical screen into multiple logical screens through software functions or through the combination of software functions and hardware, so that the obtained logical screens can match the physical characteristics of the foldable electronic device, which is conducive to improving the flexibility of the subsequent display application window.
[0197] In some implementations, before the foldable electronic device displays the first window on the first logical screen, the method 800 further includes:
[0198] A first logical screen is determined from the plurality of logical screens according to the first information.
[0199] The first information includes one of the following information:
[0200] There are no other application windows on the logical screen.
[0201] The proportion of the display area of the logical screen occupied by the interface elements in the logical screen is smaller than the preset value.
[0202] The logical screen that the user's eyes are looking at.
[0203] The first application specifies the logical screen.
[0204] Alternatively, the logical screen where the first window is located before the foldable electronic device is in the unfolded state.
[0205] It should be understood that when no window of other applications is displayed in the logical screen A, the foldable electronic device can use the logical screen A as the first logical screen to display the first window.
[0206] It should be understood that the foldable electronic device can also use the logical screen that the user's eyes are 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 direction of the user's gaze, thereby improving the user's browsing efficiency.
[0207] It should be understood that the embodiment of the present application does not limit the preset value. For example, the preset value may be 0.5 or 0.7.
[0208] Based on the embodiments of the present application, when a foldable electronic device has multiple logical screens, when the state of the foldable electronic device changes, it can be clear on which logical screen the first window is displayed.
[0209] In some implementations, the foldable electronic device divides the foldable screen into multiple logical screens, including:
[0210] The display area where the foldable screen is located is divided according to its coordinates to obtain multiple logical screens, wherein each of the multiple logical screens has corresponding coordinate information and identification information, and the identification information is used to identify the logical screen.
[0211] Based on the embodiments of the present 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 to improve the flexibility of multi-screen display.
[0212] In some implementations, the method 800 further includes:
[0213] The foldable electronic device displays the first window in a maximized mode on the second logical screen in response to a maximize operation on the first window.
[0214] In response to the foldable electronic device changing from a semi-folded state to an unfolded state, the foldable screen is partitioned and the first window is displayed in a maximized mode on the foldable screen.
[0215] Exemplarily, referring to FIG8 , the first window may be a maximized window 2 , the first logical screen may be a logical screen 1 , and when the foldable electronic device is in a folded state, the first window may be displayed in the first logical screen in a maximized mode.
[0216] This technical solution allows the foldable electronic device to adjust the display mode of the first window when the folded state changes, so that the adjusted first window is more in line with the user's browsing habits. In addition, this technical solution can enable the foldable electronic device to have a memory function, so that when the foldable electronic device changes to the unfolded state, the first window is still displayed in the maximized mode, which is more in line with the user's usage habits.
[0217] In other examples, in response to the foldable electronic device changing from the semi-folded state to the unfolded state, the foldable screen may not be partitioned, but the first window may be displayed in a maximized mode on the multiple logical screens, i.e., the size of the first window is the same as the sum of the sizes of the multiple logical screens. Alternatively, in response to the foldable electronic device changing from the semi-folded state to the unfolded state, the multiple logical screens may be merged into one logical screen, and the first window may be displayed in a maximized mode on the resulting large logical screen.
[0218] Optionally, in response to the foldable electronic device changing from the semi-folded state to the unfolded state, the first window may still be displayed in the maximized mode on the second logical screen. In this way, when the foldable electronic device changes its folded state, the display size and position of the first window may remain unchanged.
[0219] In some implementations, the method 800 further includes:
[0220] The foldable electronic device displays a second window of the second application on the first logical screen in response to an operation of launching the second application.
[0221] In this technical solution, when the second application is started, 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, avoiding affecting the user's browsing of multiple task windows.
[0222] In some implementations, the method 800 further includes:
[0223] In response to a maximization operation on a first window, the foldable electronic device displays a first prompt window, where the first prompt window includes a plurality of function options, each of the plurality of function options being used to indicate a logical screen combination.
[0224] In response to a user selecting a target function option, the foldable electronic device adjusts the display size of the first window to a target size of a target logical screen combination corresponding to the target function option;
[0225] The foldable electronic device displays the first window in a target size in the target logical screen combination.
[0226] For example, see Figure 7 , the first window may be window 1, and the first prompt window may be option window 420. The multiple function options may be various options of option window 420. The target logical screen combination may be "logical screen 1+3".
[0227] In this technical solution, when the 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 a functional option to choose 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, the method 800 further includes:
[0229] The foldable electronic device displays a second prompt window in response to the user's screenshot or screen capture operation, where the second prompt window is used to prompt the user to select a logical screen corresponding to the screenshot or screen capture operation;
[0230] The foldable electronic device performs a screenshot or screenshot operation on the second logical screen in response to a user's operation of selecting the second logical screen.
[0231] Based on the embodiments of the present application, when a user performs a screenshot or screen capture operation in a foldable electronic device, the foldable electronic device can also provide the user with the option of selecting which logical screens to perform the screenshot or screen capture operation, thereby increasing the diversity of the screenshot or screen capture operation.
[0232] In some implementations, the method further includes:
[0233] The foldable electronic device displays a third prompt window in response to the user's screen projection operation, and the third prompt window is used to prompt the user to select the logical screen corresponding to the screen projection operation.
[0234] The foldable electronic device transmits the content in the second logical screen to another electronic device in response to a user selecting the second logical screen.
[0235] For example, see Figure 10 , the second logical screen can be logical screen 1.
[0236] Based on the embodiments of the present application, when a user performs a screen projection operation in a foldable electronic device, the foldable electronic device can also provide the user with the option of selecting which logical screens to perform the screen projection operation, thereby increasing the diversity of the screen projection operation.
[0237] For example, Figure 12 This is a schematic flow chart of a display method provided in an embodiment of the present application. Figure 12 As shown, the method 1000 may be applied to a first electronic device, and the method 1000 may include steps 1010 to 1040 .
[0238] 1010. The first electronic device determines, in response to a selection operation by the user, area division information and area combination information of the display area where the physical screen of the first electronic device is located, wherein the area division information is used to indicate area division of the display area where the physical screen is located, and the area combination information is used to indicate combination of target sub-areas in the sub-areas obtained by area division.
[0239] For example, the system settings of the first electronic device may provide the user with a variety of area division and combination methods, and the user may select one of the methods.
[0240] For example, the user can set the above area division information and area combination information in the system settings. Figure 4 The region division information may indicate that the physical screen is divided into four equal sub-regions, and the region 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, the user may also set the area division information first and then set the area combination information.
[0242] 1020. The first electronic device divides the display area where the physical screen is located into a plurality of logical screens according to the area division information and the area combination information. The plurality of logical screens include a first logical screen and a second logical screen.
[0243] It can be understood that the multiple logical screens may include a greater number of logical screens.
[0244] For example, see Figure 5 In (c), the first electronic device divides the physical screen into three logical screens according to the area division information and area combination information set by the user.
[0245] 1030 : The first electronic device displays a movable first window of a first application program on a first logical screen.
[0246] Exemplarily, the first electronic device may display the first window on one of the logical screens, or may display the first window on multiple logical screens.
[0247] 1040 : The first electronic device moves the first window to the second logical screen in response to the move operation on the first window.
[0248] For example, see Figure 7 The first electronic device may be electronic device 400, the first window may be window 1, and window 1 is displayed in logical screen 1. Electronic device 400 may move window 1 to logical screen 2 for display according to a user's movement operation on window 1.
[0249] Based on the embodiment of the present application, the first electronic device can virtualize a physical screen into multiple logical screens in a manner selected by the user, thereby improving the user's autonomous operability and the flexibility of logical screen division. The first window can be freely moved 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, and the identification information is used to identify the logical screen.
[0251] In this technical solution, 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.
[0252] In some implementations, before the first electronic device displays the movable first window of the first application on at least one first logical screen among the multiple logical screens, the method further includes:
[0253] The first electronic device determines the first logical screen from multiple logical screens based on the first information, wherein the first information includes one of the following information: there are no windows of other applications 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's eyes are looking at; the logical screen specified by the first application; or the logical screen selected by the user.
[0254] Based on the embodiment of the present application, when the first electronic device has multiple logical screens, it can be clear on which logical screen the first window is to be displayed.
[0255] In some implementations, the method 1000 further includes:
[0256] In response to a maximization operation on the first window, the first electronic device displays a first prompt window, where the first prompt window includes a plurality of function options, each of the plurality of function options being used to indicate a logical screen combination.
[0257] In response to the user selecting the target function option, the first electronic device adjusts the display size of the first window to a target size of the target logical screen combination corresponding to the target function option;
[0258] The first electronic device displays the first window in the target size in the target logical screen combination.
[0259] Exemplarily, the target size may be the maximum display size of the target logical screen combination.
[0260] In this technical solution, when the 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 a functional 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, the method 1000 further includes:
[0262] In response to the user's screenshot or screen capture operation, the first electronic device displays a second prompt window, where the second prompt window is used to prompt the user to select a logical screen corresponding to the screenshot or screen capture operation.
[0263] The first electronic device performs a screenshot or a screenshot operation on the second logical screen in response to a user's operation of selecting the second logical screen.
[0264] In some implementations, the method 1000 further includes:
[0265] In response to the user's screen projection operation, the first electronic device displays a third prompt window, where the third prompt window is used to prompt the user to select a logical screen corresponding to the screen projection operation.
[0266] In response to a user selecting the second logical screen, the first electronic device transmits the content in 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 description above.
[0268] For example, Figure 13 This is a schematic block diagram of an electronic device provided in an embodiment of the present 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 store one or more instructions, and when the instructions are executed by one or more processors 1110, the method described in any possible implementation method described above is executed.
[0269] Exemplarily, the electronic device 1100 may be the electronic device 100, the electronic device 200, the electronic device 300, the electronic device 400, the electronic device 500, the electronic device in the embodiment, the first electronic device, the foldable electronic device, etc. mentioned above.
[0270] The electronic device 1100 can be used to execute the method 800, method 1000, etc. mentioned above.
[0271] An embodiment of the present 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, and the communication reception is also used to transmit signals to the processor, and the processor processes the signals so that the display method described in any possible implementation method described above is executed.
[0272] An embodiment of the present application also provides a device for jumping to a display interface, comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the display method described in any possible implementation method described above is executed.
[0273] The device may be a chip. For example, the chip may be a chip system or an independent chip.
[0274] An embodiment of the present application also provides a readable storage medium (also referred to as a computer-readable storage medium), which stores instructions. When the instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the display method in the above-mentioned embodiment.
[0275] An embodiment of the present application further provides a program product (also referred to as a computer program product). When the program product is run on an electronic device, the electronic device executes the above-mentioned related steps to implement the display method in the above-mentioned embodiment.
[0276] An embodiment of the present application also provides a device, including a module for implementing the display method described in any of the above embodiments.
[0277] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store instructions, and when the device is running, the processor can execute the instructions stored in the memory to enable the device to execute the display method in the above-mentioned method embodiments.
[0278] Among them, the equipment, readable storage medium, program product or device provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0279] Those skilled in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0280] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned 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, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units described is merely a logical functional division. In actual implementation, other division methods may be used, such as combining or integrating multiple units or components into another system, or ignoring or not implementing certain features.
[0282] The units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0283] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0284] If the functions are implemented in the form of 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 the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
[0285] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A display method, characterized in that: The method is applied to a foldable electronic device, wherein the foldable electronic device includes a foldable screen, and the method includes: When the foldable electronic device is in an unfolded state, displaying a movable first window of a first application on the foldable screen; In response to the foldable electronic device changing to a semi-folded state along the foldable region, dividing the foldable screen into a plurality of logical screens, wherein the plurality of logical screens include a first logical screen and a second logical screen; displaying the first window in the first logical screen; In response to a move operation on the first window, the first window is moved to the second logical screen.
2. The method according to claim 1, characterized in that Before displaying the first window in the first logical screen, the method further includes: The first logical screen is determined from the plurality of logical screens according to first information, wherein the first information includes one of the following information: There are no windows of other applications 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 where the user's eyes are focused; a 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 according to its coordinates to obtain multiple logical screens, wherein 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 any one of claims 1 to 3, characterized in that The method further comprises: In response to a maximization operation on the first window, displaying the first window in a maximized mode in 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 a maximized mode on the foldable screen.
5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In response to a maximization operation on the first window, a first prompt window is displayed, wherein the first prompt window includes a plurality of function options, each of the plurality of function options is used to indicate a logical screen combination; In response to a user selecting a target function option, adjusting the display size of the first window to a target size of a target logical screen combination corresponding to the target function option; The first window is displayed in the target logical screen combination at the target size.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: In response to the user's screenshot or screen capture operation, displaying a second prompt window, wherein the second prompt window is used to prompt the user to select a logical screen corresponding to the screenshot or screen capture operation; In response to a user's operation of selecting the second logical screen, a screenshot or screen capture operation is performed on the second logical screen.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: In response to the user's screen casting operation, displaying a third prompt window, wherein the third prompt window is used to prompt the user to select a logical screen corresponding to the screen casting operation; In response to a user selecting the second logical screen, content in the second logical screen is transmitted to another electronic device.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: In response to an operation of launching a second application, a second window of the second application is displayed in the first logical screen.
9. A display method, characterized in that: The method is applied to a first electronic device, and includes: In response to a user selection operation, determining area division information and area combination information of a display area where the physical screen of the first electronic device is located, wherein the area division information is used to indicate area division of the display area where the physical screen is located, and the area combination information is used to indicate combination of target sub-areas in the sub-areas obtained by the area division; Dividing the display area where the physical screen is located into a plurality of logical screens according to the area division information and the area combination information, the plurality of logical screens including a first logical screen and a second logical screen; displaying a movable first window of a first application program in the first logical screen; In response to a move operation on the first window, the first window is moved to the second logical screen.
10. The method according to claim 9, characterized in that Each of the plurality of logical screens has identification information, and the identification information is used to identify the logical screen.
11. The method according to claim 9 or 10, characterized in that Before displaying the first movable window of the first application on the first logical screen, the method further includes: The first logical screen is determined from the plurality of logical screens according to first information, wherein the first information includes one of the following information: There are no windows of other applications 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 where the user's eyes are focused; a logical screen specified by the first application; or Logical screen selected by the user.
12. The method according to any one of claims 9 to 11, characterized in that The method further comprises: In response to a maximization operation on the first window, a first prompt window is displayed, wherein the first prompt window includes a plurality of function options, each of the plurality of function options is used to indicate a logical screen combination; In response to a user selecting a target function option, adjusting the display size of the first window to a target size of a target logical screen combination corresponding to the target function option; The first window is displayed in the target logical screen combination at the target size.
13. The method according to any one of claims 9 to 12, characterized in that The method further comprises: In response to the user's screenshot or screen capture operation, displaying a second prompt window, wherein the second prompt window is used to prompt the user to select a logical screen corresponding to the screenshot or screen capture operation; In response to a user's operation of selecting the second logical screen, a screenshot or screen capture operation is performed on the second logical screen.
14. The method according to any one of claims 9 to 13, characterized in that The method further comprises: In response to the user's screen casting operation, displaying a third prompt window, wherein the third prompt window is used to prompt the user to select a logical screen corresponding to the screen casting operation; In response to a user selecting the second logical screen, the content of the second logical screen is transmitted to a second electronic device.
15. An electronic device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by one or more processors, the method according to any one of claims 1 to 14 is executed.
16. A chip, characterized in that: The chip includes a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the method according to any one of claims 1 to 14 is executed.
17. A readable storage medium, characterized in that The readable storage medium stores instructions, and when the instructions are executed on the electronic device, the method according to any one of claims 1 to 14 is executed.
18. A program product, characterized in that The program product comprises a program code, and when the program code is run on an electronic device, the method according to any one of claims 1 to 14 is executed.
Citation Information
Patent Citations
Display method and electronic equipment
CN103297605A
Application program management method and electronic equipment
CN111813293A
Multi-screen interaction method, electronic equipment and computer readable storage medium
CN113497835A
Content display method and content display device
CN115407833A
Split-screen display method, electronic equipment and readable storage medium
CN116781825A