Window switching display method and electronic equipment

By providing a method for switching directly from single-screen full-screen to multi-screen full-screen joint display on foldable screen devices, the problem of inconvenient window switching in semi-folded state is solved, and the user experience is improved.

CN120723355APending Publication Date: 2025-09-30HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510632548.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

In the semi-folded state of a folding screen device, existing technologies cannot achieve switching from a single full-screen to a multi-screen full-screen joint display, resulting in a poor user experience.

Method used

A window switching display method is provided, which allows a folding screen device to directly switch from a single full-screen to a multi-screen full-screen joint display in a semi-folded state, and realizes flexible window form switching through triggering operations in different states.

Benefits of technology

It improves the user's operating convenience and flexibility in the semi-folded state, enhances the consistency and convenience of window switching, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120723355A_ABST
    Figure CN120723355A_ABST
Patent Text Reader

Abstract

The invention discloses a window switching display method and electronic equipment, relates to the technical field of terminals, and can enable folding screen equipment to be directly switched from a single-screen full-screen mode to a multi-screen full-screen combined display application window in one step in a semi-folding state, so that the use experience of a user is improved. The method can be applied to folding screen equipment, the folding screen equipment comprises a multi-face screen, the multi-face screen comprises a first screen, and the folding screen equipment is in a semi-folding state. According to the method, the folding screen device displays the application window on the first screen in a single-screen and full-screen mode, and the application window can be displayed in a multi-screen and full-screen combined mode in response to a first triggering operation for the application window.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a window switching display method and an electronic device. Background Art

[0002] With the development of electronic devices and screen technology, more and more foldable screen devices are used in daily life and work. Due to their folding characteristics, they bring users a better user experience, such as being able to flexibly adjust the device status in different scenarios.

[0003] However, due to their foldable nature, foldable screen devices have multiple different device states. In each of these states, the application windows on the screen can appear in a complex form. How to switch between these forms to improve the user experience is currently a key issue. Summary of the Invention

[0004] The embodiments of the present application provide a window switching display method and electronic device, which can enable a folding screen device to directly switch from a single full-screen to a multi-screen full-screen joint display application window in a semi-folded state, thereby improving the user experience.

[0005] To achieve the above objectives, the present invention adopts the following technical solutions:

[0006] In a first aspect, a window switching display method is provided, the method being applied to a foldable screen device, the foldable screen device comprising multiple screens, the multiple screens including a first screen, and the foldable screen device being in a semi-folded state. The method comprises: the foldable screen device displaying an application window on a single full-screen display on the first screen, and in response to a first triggering operation on the application window, switching to displaying the application window in a multi-screen joint full-screen manner.

[0007] In the above-mentioned window switching display method, in the semi-folded state, the application window is displayed jointly on multiple screens in full screen, thereby displaying the application window in a larger display area, making full use of the folding performance of the folding screen in the semi-folded state. Users can view the application content more conveniently and comprehensively, thereby improving the user experience.

[0008] Compared with the traditional window switching display method, if the user wants to display the application window in multiple full-screen mode, the device needs to be adjusted to the expanded state, and can only be used in the expanded state; in the semi-folded state, it is impossible to switch from a single full-screen to a multi-screen full-screen joint display, nor can the multi-screen full-screen joint display in the semi-folded state be realized. In the semi-folded state of the present application, the folding screen device can respond to the user's trigger operation and directly switch from a single full-screen display to a multi-screen full-screen joint display application window, realizing a direct switch from a single full-screen to a multi-screen full-screen in the semi-folded state without adjusting the device state, optimizing the window form switching method, and improving the convenience of operation.

[0009] In one possible implementation, the method further includes: when the folding screen device displays the application window in a multi-screen full-screen joint display, in response to a second trigger operation for the application window, the application window is displayed in a single full-screen on the target screen. The target screen is a single screen on the folding screen device. The folding screen device displays the application window in a partial display area of ​​the target screen in response to a third trigger operation for the application window. In this implementation, in the semi-folded state, the folding screen device can respond to a trigger operation for the application window to implement direct and continuous switching from multi-screen full-screen joint display to single-screen full-screen, and then to partial display area display of a single screen, without adjusting the device form, thereby improving the flexibility and convenience of operation and enhancing the user experience.

[0010] In one possible implementation, the target screen is the single screen where the application window was before switching to the multi-screen full-screen joint display; or, the target screen is a preset screen; or, the target screen is related to the state of the folding screen device. In this implementation, switching from the multi-screen full-screen joint display to the screen that was previously displayed on a single full-screen screen improves the continuity of the operation. Alternatively, the user can pre-set the target screen according to their own usage habits, which improves the user experience. Alternatively, the folding screen device can determine the appropriate target screen for display switching of the application window according to its own device state (such as folded state, unfolded state or semi-folded state, etc.), ensuring that under different device states, a better operating experience and visual effects are provided to the user.

[0011] In one possible implementation, the method further includes: in the semi-folded state, the folding screen device displays the application window in a partial display area of ​​the first screen, and in response to a fourth trigger operation for the application window, displays the application window in a single full-screen on the first screen. In this implementation, in the semi-folded state, the folding screen device responds to the fourth trigger operation for the application window to implement a direct switch from displaying a partial display area of ​​a single screen to displaying a single full-screen. Moreover, in the semi-folded state, the folding screen device can directly switch from displaying the application window in a single full-screen on the first screen to displaying the application window in a multi-full-screen joint manner in response to the user's first trigger operation, thereby implementing a direct switch from a partial display area of ​​a single screen to a single full-screen and then to a multi-full-screen in the semi-folded state without adjusting the device state, thereby optimizing the window form switching method and improving the convenience of operation.

[0012] In one possible implementation, the method further includes: in a semi-folded state, the application window is jointly displayed in the entire display area of ​​the first screen and the partial display area of ​​other single screens of the folding screen; or, the application window is jointly displayed in the partial display area of ​​the first screen and the partial display area of ​​other single screens of the folding screen. In the above two cases, the folding screen device responds to the fifth trigger operation on the application window and displays the application window on the second target screen in full screen. The second target screen is a preset screen; or, the second target screen is related to the state of the folding screen device. In this implementation, in the semi-folded state, the application window is jointly displayed in the entire display area of ​​the first screen and the partial display area of ​​other single screens, and is jointly displayed in partial display areas of the first screen and other single screens. No matter which of the aforementioned window forms the application window is in, the fifth trigger operation on the application window can be used to switch the application window to the second target screen for single-screen full-screen display, thereby improving the user experience.

[0013] In one possible implementation, the multi-screen also includes a second screen, and the folding screen device switches to a multi-screen full-screen joint display of the application window, which can also be understood as switching to a full-screen joint display of the application window through the first screen and the second screen.

[0014] In one possible implementation, when a foldable screen device displays an application window in full screen on both the first and second screens, the application window is displayed in full screen in a waterfall flow on both the first and second screens. In this implementation, the interface content of the application window displayed in full screen on the first and second screens is continuous, creating a continuous visual effect. The user can view the entire content by sliding the screen, making the operation process smoother and more coherent, thereby improving the user experience.

[0015] In one possible implementation, when a foldable screen device displays an application window in full screen on both the first and second screens, the interface content corresponding to the first function of the application window is displayed on the first screen, and the interface content corresponding to the second function of the application window is displayed on the second screen. The interface content corresponding to the first function covers the entire display area of ​​the first screen, and the interface content corresponding to the second function covers the entire display area of ​​the second screen. In this implementation, the different functions of the application window are independent of each other, the window layout is clearer, and the user experience is improved.

[0016] In one possible implementation, the multi-screen further includes a third screen. When the application window is displayed in full-screen combination on the first and second screens, the method further includes: the foldable screen device, in response to a sixth trigger operation on the application window, switching to displaying the application window in full-screen combination on the first, second, and third screens. In this implementation, a direct one-step switch from full-screen combination on the first and second screens to full-screen combination on the first, second, and third screens is possible without adjusting the device state, thereby improving operational convenience and enhancing the user experience.

[0017] In one possible implementation, the semi-folded state is an inner-folded state, and in the process of the folding screen device switching to a multi-screen full-screen joint display application window, it switches to a full-screen joint display application window through all inner screens of the folding screen device.

[0018] In one possible implementation, the method further includes: in the semi-folded state, the folding screen device displays the application window in a partial display area of ​​the folding screen device in a split-screen format, and in response to the seventh trigger operation on the application window, displays the application window in full screen on the first screen. In this implementation, it is possible to directly switch from the split-screen format to the single-screen full-screen display, thereby improving the convenience of operation and the user experience. For example, the split-screen format can be a partial display area display of a single screen, or the entire display area of ​​a single screen can be displayed jointly with the partial display area of ​​another single screen of the folding screen device, or the partial display areas of two single screens can be displayed jointly.

[0019] In one possible implementation, the trigger operation is a touch operation, and the touch point of the touch operation falls on the display area of ​​the application window; wherein, the touch operation for switching the display of a partial area of ​​a single screen to a full-screen display of a single screen is a multi-finger zoom operation, the touch operation for switching the full-screen display of a single screen to a joint full-screen display of multiple screens is a multi-finger zoom operation, the touch operation for switching the joint full-screen display of multiple screens to a full-screen display of a single screen is a multi-finger pinch operation, and the touch operation for switching the full-screen display of a single screen to a partial area of ​​a single screen is a multi-finger pinch operation. In this implementation, the user can switch the window form through touch operations (such as multi-finger zoom operations or multi-finger pinch operations, etc.), which makes the operation more interesting and improves the user experience.

[0020] In one possible implementation, the application window is the focus window, and the focus window includes at least one of the following: the window where the cursor is located, the window of the application opened last among all windows, the window whose display content is being edited, or the window where the gaze point is located; the triggering operation is an operation on the touchpad; or the triggering operation is an air gesture operation; or the triggering operation is a gaze point operation; or the triggering operation is a shortcut key operation. In this implementation, it is possible to achieve continuous switching of multiple window forms through air gesture operations, touch operations on the touch screen, shortcut key operations, or operations on the touchpad. The user can use any of the triggering operations to trigger the folding screen device to directly switch the window form of the application window in one step, thereby improving the convenience and flexibility of operation.

[0021] In one possible implementation, the triggering operation is a mouse operation, and the method further includes: when a cursor hovers over a first area within an application window, the foldable screen device displays a first switching control within the application window based on the window form of the application window, the first switching control being used to switch the window form; and the triggering operation is an operation on the first switching control. In this implementation, the first switching control can dynamically change based on the application window form, providing users with accurate switching controls and improving the user experience.

[0022] In one possible implementation, when an application window is displayed in a partial display area of ​​the first screen, the first switching control includes a first control, a second control, and a third control; the first control is used to switch the window form to a single-screen full-screen display on the first screen, the second control is used to switch the window form to a full-screen display on the second screen, and the third control is used to switch the window form to a joint full-screen display of the first and second screens; or, when an application window is displayed in a single-screen full-screen on the first screen, the first switching control includes a third control and a fourth control; the fourth control is used to switch the window form to a partial area of ​​the first screen; or, when an application window is displayed in a full-screen joint full-screen on the first and second screens, the first switching control includes the first control, the second control, and the fourth control. In this implementation, the folding screen device can accurately display the switching control according to the application window form, providing the user with accurate switching controls.

[0023] In one possible implementation, the triggering operation is a mouse operation, and the method further includes: when an application window is displayed in a portion of the display area of ​​the first screen, when the cursor hovers over the first area within the application window, the foldable screen device displays a fifth control and a sixth control within the application window based on the form of the application window; the fifth control is used to switch the window form to a single-screen full-screen display, and the sixth control is used to switch the window form to a multi-screen full-screen combined display. In this implementation, the foldable screen device can accurately display the switching controls based on the form of the application window, providing the user with accurate switching controls.

[0024] In one possible implementation, the foldable screen device responds to a fourth trigger operation on the application window while displaying the application window in full-screen on the first screen. In response to an operation on a fifth control, the application window moves with the cursor position. In response to an eighth trigger operation on the first position, the application window is displayed in full-screen on the target screen at the first position. In this implementation, the application window moves with the cursor position, allowing the user to more flexibly control the display position of the application window.

[0025] In one possible implementation, the method further includes: the folding screen device obtains the device state, and the device state is used to determine whether it is in a semi-folded state; obtains the window form of the application window, and the window form is used to determine whether it can be enlarged or reduced. In the process of the folding screen device displaying the application window, in the semi-folded state, if the trigger operation indicates enlargement, and the window form is a single-screen full-screen display, and the application window can be enlarged, then the application window is enlarged to a multi-screen full-screen joint display; in the semi-folded state, if the trigger operation indicates enlargement, and the window form is a single-screen partial area display, and the application window can be enlarged, then the application window is enlarged to a single-screen full-screen display; in the semi-folded state, if the trigger operation indicates reduction, and the window form is a single-screen full-screen display, and the application window can be reduced, then the application window is reduced to a single-screen partial area display; in the semi-folded state, if the trigger operation indicates reduction, and the window form is a multi-screen full-screen joint display, and the application window can be reduced, then the application window is reduced to a single-screen full-screen display. In this implementation, by combining the device state, window form and trigger operation, the application window can be flexibly displayed according to different scenarios, thereby improving the user experience.

[0026] In a second aspect, an electronic device is provided, comprising: a memory, one or more processors; the memory and the processor are coupled; wherein computer program code is stored in the memory, and the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes any one of the window switching display methods of the above-mentioned first aspect.

[0027] In a third aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the window switching display method according to any one of the first aspects.

[0028] In a fourth aspect, a computer program product is provided. When the computer program product is run on a computer, the computer is caused to execute any one of the window switching display methods of the first aspect.

[0029] It can be understood that the beneficial effects that can be achieved by the second to fourth aspects provided above can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of a window switching display mode;

[0031] Figure 2 A schematic diagram of a folding screen device;

[0032] Figure 3 A schematic diagram of another window switching display mode;

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

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

[0035] Figure 6 A flowchart of a window switching display method provided in an embodiment of the present application;

[0036] Figure 7 A schematic diagram of a window switching display mode provided in an embodiment of the present application;

[0037] Figure 8 A schematic diagram of another window switching display mode provided in an embodiment of the present application;

[0038] Figure 9 A schematic diagram of a multi-screen full-screen joint display provided in an embodiment of the present application;

[0039] Figure 10 A schematic diagram of another window switching display mode provided in an embodiment of the present application;

[0040] Figure 11 A schematic diagram of another window switching display mode provided in an embodiment of the present application;

[0041] Figure 12 A schematic diagram of another window switching display mode provided in an embodiment of the present application;

[0042] Figure 13 A schematic diagram of another window switching display mode provided in an embodiment of the present application;

[0043] Figure 14 A flowchart of another window switching display method provided in an embodiment of the present application;

[0044] Figure 15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0046] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0047] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

[0048] With the continuous advancement of electronic and display technologies, electronic devices are taking on a wide variety of forms. These include single-screen devices and multi-screen devices. Multi-screen devices can also be foldable. Foldable screen devices, due to their foldable nature, offer numerous advantages, such as ease of portability and operation, and are therefore widely used in daily life.

[0049] Among them, foldable screen devices include multi-sided screens. The multi-sided screen includes at least two screens, such as a first screen and a second screen. Generally, foldable screen devices have three window forms: unfolded state, semi-folded state (or hovering state) and folded state (or closed state). In the semi-folded state, the electronic device can be placed firmly on the desktop, and the user can easily and conveniently view the application content without holding the electronic device.

[0050] Maximizing a window to full screen is a common windowing mode and a core user experience element on large-screen devices, such as tablets or multi-screen devices. For example, when a multi-screen device includes a primary and secondary screen, users typically switch between windowed and full screen modes by clicking the maximize button in the expanded state.

[0051] For example, see Figure 1In (a), the electronic device displays an application window in a portion of the display area of ​​display screen 01. If the user wants to maximize the application window, they can click maximize button 02 to enlarge the application window. The window form is switched by the control (such as maximize button 02) to display the window form the user wants to use based on the user's operation.

[0052] Typically, the application window state is to switch back and forth between windowed and maximized states. For example, see Figure 1 In (b), taking the foldable screen device in the unfolded state as an example, when the application window is displayed on a portion of the display area of ​​the foldable screen device (i.e., windowed), the user can zoom in to display the entire screen of the foldable screen device in full screen (i.e., maximized). Alternatively, when the application window is displayed on the entire screen of the foldable screen device in full screen, the user can zoom out to shrink the application window, thereby displaying the application window in a portion of the display area. This zoom-in-and-out operation enables switching between windowed and full-screen maximized modes.

[0053] The embodiment of the present application provides an exemplary description of the window switching display method for two device states: a semi-folded state and an unfolded state.

[0054] Figure 2 A schematic diagram of a folding screen device is shown. Taking a multi-faceted screen including a first screen and a second screen as an example, the angle (such as α) between the first screen 201 and the second screen 202 can be changed, thereby making the folding screen device in an unfolded state (which can be simply referred to as the unfolded state) or a semi-folded state (which can be simply referred to as the semi-folded state). The folding screen device can be in Figure 2 In the unfolded state, the angle between the first screen 201 and the second screen 202 is 180°, and the first screen 201 and the second screen 202 are located in the same plane. The first screen 201 and the second screen 202 can form a large screen display user interface. The first screen 201 and the second screen 202 are folded inward along the folding axis 203 to form Figure 2 In the semi-folded state shown in (b) (which may be referred to as the inwardly folded semi-folded state), in the semi-folded state, the angle α between the first screen 201 and the second screen 202 satisfies 0°<α<180°, and the first screen 201 and the second screen 202 are not in the same plane.

[0055] Figure 3 FIG. 1 shows another schematic diagram of a window switching display method. Figure 3 As shown, in the semi-folded state, the folding screen device can respond to a click operation on the maximize button 02, Figure 3 The partial display area of ​​the first screen 201 shown in (a) is switched to Figure 3 The first screen 201 shown in (b) is displayed in full screen on a single screen.

[0056] However, in the semi-folded state, there is still the following problem: if the user wants to switch the application window from a single full-screen display on the first screen 201 to a full-screen joint display of the first screen 201 and the second screen 202, the device needs to be adjusted to the unfolded state to automatically switch to the full-screen state. Figure 3 The first screen 201 and the second screen 202 shown in (c) are displayed in full screen. Moreover, when the expanded state is adjusted to the semi-folded state, it automatically switches to a single-screen full screen display. In other words, the semi-folded state cannot be switched to a multi-screen full screen joint display, which cannot meet the user's usage needs. If the user wants to use the multi-screen full screen joint display, it can only be used in the expanded state.

[0057] An embodiment of the present application provides a window switching display method, which is applied to a foldable screen device, wherein the foldable screen device includes multiple screens, including a first screen, and the foldable screen device is in a semi-folded state. In this method, the foldable screen device displays an application window in full screen on a single screen of the first screen. Thereafter, in response to a first trigger operation on the application window, the foldable screen device switches to displaying the application window in full screen on multiple screens.

[0058] Among them, the multi-sided screen is a display area composed of multiple independent screens in a folding screen device. The multi-sided screen includes at least two screens, such as the first screen and the second screen, and may also include other screens (such as the third screen, etc.).

[0059] In the above-mentioned window switching display method, in the semi-folded state, the multi-screen full-screen joint display of the application window is realized, thereby displaying the application window in a larger display area, making full use of the folding performance of the folding screen in the semi-folded state, and users can view the application content more conveniently and comprehensively, thereby improving the user experience.

[0060] Compared with the traditional window switching display method, if the user wants to display the application window in multiple full-screen mode, the device needs to be adjusted to the expanded state, and can only be used in the expanded state; in the semi-folded state, it is impossible to switch from a single full-screen to a multi-screen full-screen joint display, nor can it achieve a multi-screen full-screen joint display in the semi-folded state. The folding screen device of this application can respond to the user's trigger operation and directly switch from a single full-screen display on the first screen to a multi-screen full-screen joint display application window, realizing a direct switch from a single full-screen to a multi-screen full-screen in the semi-folded state without adjusting the device state, optimizing the window form switching method, and improving the convenience of operation.

[0061] Exemplarily, the window switching display method provided in the embodiment of the present application can be applied to any electronic device with a foldable screen. For example, it can be a foldable screen tablet, a foldable screen notebook, a foldable personal computer (PC), a foldable screen mobile phone, etc. For example, it can include but is not limited to smart screens, TVs, car computers, netbooks, personal digital assistants (PDAs), wearable devices, augmented reality (AR) / virtual reality (VR) devices or personal computers and other electronic devices. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device.

[0062] Figure 4 FIG1 shows a schematic diagram of a hardware structure of the electronic device 100. For example, Figure 4 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0063] 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.

[0064] 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.

[0065] 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.

[0066] The wireless communication functionality of electronic device 100 can be implemented using antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0067] The electronic device 100 can implement communication functions and resource acquisition functions through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, etc.

[0068] 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.

[0069] The display screen 194 is foldable and is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0070] Exemplarily, when the display screen 194 is the first screen or the second screen mentioned above, a partial display area of ​​the first screen or the second screen can display the application window, or the first screen or the second screen can display the application window in full screen, or the first screen and the second screen can jointly display the application window in full screen.

[0071] The electronic device 100 can implement a camera function through an ISP, a camera 193, a video codec, a GPU, a display 194, and an application processor. The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or videos. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0072] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0073] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes the instructions stored in the internal memory 121 to execute various functional applications and data processing of the electronic device 100.

[0074] In some embodiments, the processor 110 obtains the device status by running instructions stored in the internal memory 121 to determine whether it is in a semi-folded state; obtains the window form of the application window to determine whether it can be enlarged or reduced, and thus switches to the corresponding window form to display the application window according to the device status, the window form of the application window and the trigger operation.

[0075] For example, in the semi-folded state, the application window is displayed in a single full-screen display, and the processor 110 determines that the application window can be enlarged by executing instructions stored in the internal memory 121; if the trigger operation indicates enlargement, the application window is enlarged to a joint full-screen display of multiple screens. Alternatively, in the semi-folded state, the application window is displayed in a partial area of ​​a single screen, and the processor 110 determines that the application window can be enlarged by executing instructions stored in the internal memory 121; if the trigger operation indicates enlargement, the application window is enlarged to a single full-screen display of multiple screens.

[0076] The touch sensor 180K is also called a "touch panel." 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 called 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.

[0077] In some embodiments, the electronic device 100 may detect a trigger operation on the application window through the touch sensor 180K.

[0078] The buttons 190 include a power button, a volume button, etc. The buttons 190 can be mechanical buttons. They can also be touch buttons. The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts, or for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect a SIM card. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.

[0079] In some embodiments, the electronic device 100 can detect a trigger operation on the application window through the button 190 .

[0080] In other embodiments, for example, the electronic device 100 may further include a mouse, a keyboard, or a touchpad, and the triggering operation on the application window may be detected through the mouse, keyboard, or touchpad.

[0081] 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.

[0082] For example, based on Figure 4When the electronic device 100 shown implements the window switching display method in the embodiment of the present application, in the semi-folded state, the electronic device 100 can display the application window on a single full-screen on the first screen. After the electronic device detects the first trigger operation for the application window through the touch sensor 180K, the processor 110 obtains the device state by running the instructions stored in the internal memory 121, determines that it is a semi-folded state, and obtains the window form of the application window as a single full-screen display on the first screen, and determines that it can be enlarged or reduced. If the first trigger operation indicates to enlarge, switch to multiple full-screens (such as the first screen and the second screen) to jointly display the application window.

[0083] The electronic device provided in the embodiment of the present application can run an operating system (OS), which can be various operating systems used in the industry, such as an operating system developed based on OpenHarmony, such as HarmonyOS; or other operating systems such as Android TM , iOS TM Mobile operating systems can also be various open source operating systems or their derivatives, such as Linux OS and other embedded operating systems. They can also be new operating systems of the future, such as artificial intelligence (AI) operating systems. An operating system is a set of interconnected system software programs that manage and control the operation of electronic devices, utilize and run hardware and software resources, and provide public services to organize user interactions. In electronic devices, the operating system connects to the physical hardware layer and provides an operating environment for application software.

[0084] In some embodiments, an operating system may generally include a kernel layer, a middleware layer, and an application layer. The application layer includes application programs, which may include system applications and third-party applications. The middleware layer includes a series of software that provides various services to application developers, or a framework for providing various services such as databases, multimedia, and graphics, or providing various capabilities such as distributed scheduling and system expansion. For example, the middleware layer may include a framework layer and / or a system service layer. The framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The system service layer includes a set of core capabilities of the system and provides services to applications through the framework layer. The kernel layer is a layer between hardware and software. The kernel layer may include hardware drivers and the operating system kernel. In addition to providing hardware drivers, the kernel layer also supports functions such as memory management and system process management.

[0085] Electronic devices come in many different types and forms, and their applications are also very diverse. Therefore, based on the form and function of different electronic devices, different application scenarios, and different user needs, the operating systems used in electronic devices may also be different. The basic functions implemented by the electronic devices provided in this application can be implemented using a general operating system or a dedicated operating system. To more clearly illustrate the implementation of the embodiments of this application under a specific operating system, the software structure of the electronic device 100 is shown below.

[0086] Figure 5 (a) shows a software structure diagram of the electronic device 100 in an embodiment of the present application.

[0087] The software architecture of the electronic device 100 can be divided into several layers. In some embodiments, these layers are, from bottom to top, the kernel layer, the system services layer, the framework layer, and the application layer. Layers communicate with each other via software interfaces. System functions can be tailored, added, or combined at the subsystem level in different device deployment scenarios. Within each subsystem, functions can be tailored, added, or combined at the functional level.

[0088] The Kernel Abstraction Layer (KAL) shields multi-kernel differences and provides basic kernel capabilities to the upper layer, including but not limited to process / thread management, memory management, file system, network management, and peripheral management.

[0089] The kernel subsystem supports the selection of suitable OS kernels for different resource-constrained devices, including but not limited to the Linux kernel, Hongmeng kernel, LiteOS (Lite Operating System), etc.

[0090] The driver subsystem driver framework is the foundation of the system hardware ecosystem, providing unified peripheral access capabilities and a driver development and management framework. The driver framework includes display drivers, camera drivers, audio drivers, Bluetooth drivers, sensor drivers, etc.

[0091] The system service layer includes the core capabilities of the system and provides services to applications through the framework layer. This layer includes a set of subsystems, but is not limited to the following:

[0092] The system basic capability subsystem set provides basic capabilities for the operation, scheduling, migration and other operations of distributed applications on multiple devices; the system basic capability subsystem set can include distributed soft bus, distributed data management, distributed task scheduling, Ark multi-language runtime; it also includes multi-mode input subsystem, graphics subsystem, security subsystem, AI business subsystem, etc.

[0093] The basic software service subsystem set provides public and general software services; the basic software service subsystem set may include an event notification subsystem, a telephone service subsystem, a multimedia subsystem, and the like.

[0094] The enhanced software service subsystem set provides differentiated capability-enhanced software services for different devices; the enhanced software service subsystem set may include smart screen-specific business subsystems, wearable-specific business subsystems, IoT-specific business subsystems, etc.

[0095] The hardware service subsystem set provides hardware services. This can include a location service subsystem, a unified user identity and access management (IAM) subsystem, a wearable hardware service subsystem, biometric recognition, IoT hardware service subsystems, and other subsystems.

[0096] Distributed task scheduling can realize distributed service management (discovery, synchronization, registration, and calling), and support operations such as remote startup, remote calling, remote connection, and migration of applications across devices.

[0097] Distributed data management can realize data synchronization, data storage, data sharing and data access functions across all scenarios and devices.

[0098] The distributed soft bus provides communication-related capabilities for seamless interconnection between multiple devices, including: WLAN service capabilities, Bluetooth service capabilities, soft bus, inter-process communication RPC (Remote Procedure Call), Star Flash and other communication capabilities.

[0099] The Ark multi-language runtime is a unified compilation and runtime platform designed to support the joint compilation and operation of multiple programming languages ​​and multiple chip platforms.

[0100] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. This layer includes the ArkUI framework (which provides a complete infrastructure for UI development for system applications, including UI features such as components, layouts, animations, interactive events, and real-time interface preview tools), the user program framework, and the Ability framework (an Ability is a lightweight application that schedules and manages its operation and lifecycle). Different devices may run different operating systems, and the APIs they support may also vary.

[0101] In some embodiments, the core management and control module is used to comprehensively manage various interaction modes, user interface presentations, and animation effects, including but not limited to the multi-modal input subsystem, the ArkUI framework, and the animation framework in the graphics subsystem.

[0102] The HarmonyOS API provides a series of open capabilities to support HarmonyOS application development. The HarmonyOS API can be set up at the framework layer or independently of the framework layer. The HarmonyOS API includes the Audio API (audio service), Push API (push service), Account API (account service), etc.

[0103] Applications can include system applications and extension applications / third-party applications. System applications can include the desktop, settings, contacts, camera, etc. Extension applications / third-party applications can include social applications, travel applications, etc. The application layer can also include window modules.

[0104] The window module is used to process window-related instructions and control the application window to perform corresponding operations. It can include functional modules such as state switching, motion effect control, and instruction recognition.

[0105] For example, Figure 5 (b) in the figure shows another form of the window module. The window module includes a command recognition module, a state control module (such as including state switching and motion effect control) and an animation calculation module. Among them, state control includes obtaining the position, size and layout of the application window. The command recognition module is used to identify user input information of hardware modules such as the touch screen, mouse, touchpad or keyboard, and identify the user's intention based on the operation type, movement direction, movement distance, operation time and other information to determine whether to instruct to zoom in or out, and pass the corresponding control instructions to the state control module and the animation calculation module. After receiving the instruction, the state control module adjusts the window position, size, layout and other window form attributes. The animation calculation module calculates the animation curve and generates animation instructions based on the user input information, current window form and end window form through the animation framework of the graphics subsystem, and sends it to the graphics rendering module of the framework layer and system service layer for rendering.

[0106] For example, based on Figure 5When the software architecture of the electronic device 100 shown implements the window switching display method in the embodiment of the present application, in the semi-folded state, the electronic device displays the application window on a single full screen on the first screen through the window module of the application layer. The electronic device obtains the device state through the application layer (such as a state machine), and obtains the user instruction (such as the first trigger operation) through the multi-mode input subsystem and sends it to the window module. After the window module obtains the user instruction, it generates an animation instruction and sends it to the core control module. After the core control module obtains the animation instruction, it sends it to the system service layer, and renders it through the graphics rendering module of the graphics subsystem, switching to multiple full screens (such as the first screen and the second screen) to jointly display the application window.

[0107] The following will take the folding screen device as a tablet as an example, and combine the accompanying drawings to illustrate the window switching display method provided by the embodiment of the present application. Figure 6 As shown, the method may include the following steps S601-S603.

[0108] S601. In the semi-folded state, the folding screen device displays an application window in a partial display area of ​​a single screen.

[0109] In some embodiments, the foldable screen device includes multiple screens, including a first screen. A single screen is used to represent any one screen in the foldable screen device having multiple screens, such as the first screen or any other screen in the multiple screens.

[0110] In some embodiments, the partial display area may be any display area within a single screen, for example, it may be a pre-set fixed area, or it may be an area dynamically adjusted according to a user's triggering operation, without limitation.

[0111] For example, see Figure 7 In (a), the folding screen device displays the application window in the form of a window on the first screen 201. As another example, the folding screen device displays the application window in the form of a floating window on the first screen. This application does not limit the display method of the partial display area of ​​a single screen.

[0112] In other embodiments, when the folding screen device displays an application window in a partial display area of ​​a single screen, it can respond to a screen switching operation (such as sliding down) for the application window, thereby improving the flexibility of window switching and enhancing the user experience.

[0113] S602. The folding screen device displays the application window in full screen on the target screen in response to a preset trigger operation for the application window.

[0114] The preset trigger operation (corresponding to the fourth trigger operation) is used to instruct switching from a partial display area of ​​a single screen to a single full-screen display on the target screen. For example, the preset trigger operation may be a zoom operation. Single full-screen is used to indicate that the application window occupies (or covers) the entire display area of ​​a single screen.

[0115] In this way, a foldable device can respond to an application window zoom operation by switching from a partial display area on a single screen to a single full-screen display of the application window on the target screen in one step, without adjusting the device state. This optimizes the window form switching method and improves the convenience of operation. Moreover, in the semi-folded state, multiple full-screen joint display of application windows is achieved, improving the user experience.

[0116] There are many ways to trigger the operation. For example, operation on a touch screen, air gesture operation, operation on a touchpad, mouse operation, shortcut key operation or gaze point operation, etc. The embodiment of the present application does not limit the specific method of triggering the operation.

[0117] In some embodiments, the trigger operation is set by the user, so that the user can flexibly set the window form switching method according to actual needs, thereby improving the user experience.

[0118] In some embodiments of the present application, an application window is a focus window. The focus window includes at least one of the following: the window where the cursor is located, the window of the application opened last among all windows, the window whose display content is being edited, or the window where the gaze point is located.

[0119] The target screen is a single screen on the foldable screen device, such as the first screen, the second screen, or the third screen. There are many ways for the foldable screen device to determine the target screen.

[0120] In some embodiments, the target screen is the screen where the application window is displayed in a partial display area of ​​a single screen. The folding screen device determines the target screen based on the single screen where the application window is currently located.

[0121] For example, see Figure 7 In (a), a partial area of ​​the first screen 201 displays the application window, and the folding screen device determines that the first screen 201 is the target screen. The folding screen device can switch from the partial display area of ​​the first screen 201 to a single full-screen display of the application window on the first screen 201 in response to the zoom operation on the application window, such as Figure 7 As shown in (b) in .

[0122] In other embodiments, the target screen is the single screen where the application window was previously located before switching to the multi-screen full-screen joint display, that is, switching from the multi-screen full-screen joint display to the screen previously displayed on the single full-screen, thereby improving the continuity of the operation. Figure 7In (c), when the first screen and the second screen jointly display the application window in full screen, the folding screen device responds to the zoom operation on the application window and switches to Figure 7 In the first screen 201 shown in (b), the application window is displayed in full screen. The first screen 201 is the target screen.

[0123] In other embodiments, the target screen is a preset screen. For example, in a dual-folding screen mobile phone that folds up and down, the target screen is the lower screen. The lower screen can also be understood as a screen that is convenient for users to operate. For another example, in a dual-folding screen computer that folds up and down, the target screen is the upper screen. The upper screen can also be understood as a screen that is convenient for users to view application content. For another example, in a dual-folding screen tablet that folds left and right, the target screen is the right screen. The right screen can also be understood as a screen that is convenient for users to operate. For another example, in a triple-folding screen tablet, the target screen is the middle screen. The left screen can also be understood as a screen that is convenient for users to view application content, without limitation.

[0124] In other embodiments, the target screen is related to the state of the foldable screen device. The foldable screen device can determine the appropriate target screen for display switching of the application window based on its own device state (such as folded, unfolded, or semi-folded), ensuring a better operating experience and visual effects for users in different device states.

[0125] For example, if the first screen is currently displaying other application windows and the second screen is idle, the second screen is determined to be the target screen. For another example, if the first screen is currently displaying fewer application windows than the second screen, the first screen is determined to be the target screen. For another example, if a dual-folding screen device detects that the user is holding the left screen, the right screen is determined to be the target screen.

[0126] In other embodiments, the target screen is determined based on the user's historical behavior preferences. For example, a foldable screen device determines the target screen based on the frequency of use of the first and second screens. For example, the first screen is used more frequently than the second screen. In another example, the foldable screen device determines the target screens corresponding to different application windows based on the frequency of use of the first and second screens by different applications.

[0127] S603. The folding screen device responds to the first trigger operation on the application window and displays the application window in full screen on multiple screens.

[0128] The first trigger operation is used to switch the single-screen full-screen display to the multi-screen full-screen joint display. For example, the first trigger operation may be a zoom-in operation.

[0129] In some embodiments, the foldable screen device also includes a second screen. Multi-screen full-screen joint display is used to indicate that an application window covers the entire display area of ​​multiple screens (e.g., the first screen and the second screen). In other words, the first screen and the second screen are treated as a single large screen, and the application window is displayed in full screen on this combined large screen.

[0130] In this way, the folding screen device can respond to the zoom operation on the application window and switch directly from a single full screen to a multi-screen full screen joint display application window in one step, realizing direct and continuous switching of multiple window forms, improving the flexibility of window switching and the convenience of operation, and enhancing the user experience.

[0131] For example, multiple screens can be combined to display application windows in full screen. Figure 7 As shown in (c) of FIG, the folding screen device displays the application window in full screen on the first screen 201 and the second screen 202. Figure 7 In (b), when the application window is displayed in a single full screen on the first screen 201, the folding screen device can switch from a single full screen on the first screen 201 to a full screen joint display of the application window on the first screen 201 and the second screen 202 in response to the zoom operation on the application window.

[0132] In some embodiments of the present application, the semi-folded state is an inner-folded state. For example, when an application window is displayed in full screen on a single first screen, the foldable screen device can, in response to a zoom-in operation on the application window, switch from displaying the application window in full screen on a single first screen to displaying the application window in full screen on all inner screens of the foldable screen device. For example, all inner screens of the foldable screen device are the first screen and the second screen.

[0133] The above embodiment provides an illustrative introduction to the process of enlarging the application window, realizing one-step and continuous switching of the application window from the partial display area of ​​a single screen to the full screen of a single screen and then to the joint display of multiple full screens in a semi-folded state, so that users can choose to use different window forms to interact according to actual needs, realizing flexible switching of multiple window forms and improving the user experience.

[0134] The following is an exemplary introduction to the process of reducing the application window, which includes steps S701 and S702.

[0135] S701. When an application window is displayed in full screen on multiple screens, the folding screen device displays the application window in full screen on a single screen on the target screen in response to a second trigger operation for the application window.

[0136] The second trigger operation is used to switch the multi-screen full-screen joint display to the single-screen full-screen display. For example, the second trigger operation may be a zoom-out operation.

[0137] In this way, foldable screen devices can respond to a zoom-out operation on an application window by switching directly from a multi-screen full-screen joint display to a single full-screen display of the application window. For example, zooming out to the first or second screen can achieve free and continuous switching between multi-screen joint display and single full-screen display, meeting the requirements of different usage scenarios and improving the user experience.

[0138] In some embodiments of the present application, when an application window switches from full-screen display to partial display area of ​​a single screen, it remains displayed on the screen where the application window is displayed, and does not switch to another screen. This keeps the application window displayed in a smaller size on the same screen, avoiding the visual jump caused by switching screens and improving the user experience.

[0139] See also Figure 7 In (b), the folding screen device displays the application window on the first screen 201 in a single full-screen manner, and can switch from the single full-screen display on the first screen 201 to the full-screen display on the first screen 201 in response to a zoom operation on the application window. Figure 7 Part of the display area of ​​the first screen 201 shown in (a) displays an application window.

[0140] In other embodiments, the foldable screen device determines the target screen based on the state of the foldable screen device. For example, the first screen is currently displaying another application window and the second screen is idle. In response to detecting the second trigger operation for the application window, the foldable screen device shrinks the application window to display it full screen on the second screen.

[0141] In other embodiments, the target screen is a preset screen. For example, the preset rule indicates that the first screen is displayed in full screen. In response to detecting the second triggering operation for the application window, the foldable screen device shrinks the application window to display in full screen on the first screen.

[0142] In other embodiments, the foldable screen device determines the target screen based on the trigger operation. For example, the touch point of the second trigger operation is on the second screen. In response to detecting the second trigger operation targeting the application window, the foldable screen device shrinks the application window to a single full-screen display on the second screen.

[0143] For example, see Figure 7 In (c), the folding screen device displays the application window in full screen on the first screen 201 and the second screen 202. In response to the zoom operation on the application window on the first screen 201, the application window is switched from the full screen joint display of the first screen 201 and the second screen 202 to the full screen joint display of the first screen 201 and the second screen 202. Figure 7 The first screen 201 shown in (b) is displayed in full screen on a single screen.

[0144] S702. The folding screen device displays the application window in a partial display area of ​​the target screen in response to the third trigger operation on the application window.

[0145] The third trigger operation is used to switch the full-screen display of a single screen to a partial area display of a single screen. For example, the third trigger operation may be a zoom-out operation.

[0146] In this way, the folding screen device can respond to the shrinking operation of the application window and switch directly from a single full screen to a partial display area of ​​a single screen to display the application window, thereby realizing continuous switching between a single full screen and a partial display area of ​​a single screen, thereby improving the user experience.

[0147] The window switching display method provided in the embodiment of the present application can realize continuous switching from a partial display area of ​​a single screen to a full-screen single screen and then to a joint full-screen display of multiple screens, thereby improving the flexibility of window form switching and the convenience of operation, and enhancing the user experience.

[0148] The window switching method provided in the above embodiment is suitable for switching window forms in a semi-folded state, realizing continuous switching of window forms from a partial display area of ​​a single screen to a single full screen and then to a multi-screen full screen joint display in a semi-folded state.

[0149] In some embodiments, in the expanded state, part of the display area of ​​the first screen displays the application window. The folding screen device can respond to the trigger operation 1 for the application window and directly switch to the first screen and the second screen to jointly display the application window in full screen in one step.

[0150] For example, see Figure 8 In (a), in the expanded state, the partial display area of ​​the first screen 201 displays the application window, and the folding screen device can respond to the zoom operation and directly switch from the partial display area of ​​the first screen 201 to the Figure 8 As shown in (b) of FIG, the first screen 201 and the second screen 202 are jointly displayed in full screen. In this way, the foldable screen device can directly enlarge to a multi-screen joint full screen display when in the unfolded state according to the device state, without going through the single-screen full screen, thereby improving the flexibility of the system.

[0151] There are multiple methods for jointly displaying application windows on multiple screens in full screen.

[0152] In some embodiments, a foldable screen device displays application windows in a full-screen, waterfall-like format. That is, the application windows cover the entire display area of ​​multiple screens in a waterfall-like format. For example, a foldable screen device displays application windows in a full-screen, waterfall-like format on both the first and second screens.

[0153] In this way, the interface content of the application window displayed in full screen on the first and second screens is continuous, forming a continuous visual effect. Users can view the complete content by sliding the screen, etc. The operation process is smoother and more coherent, which improves the user experience.

[0154] For example, see Figure 9 In (a), when the foldable screen device displays the interface of the gallery application, the first screen 201 displays a portion of the image, and the second screen 202 continues to display the subsequent portion of the image.

[0155] In other embodiments, the interface content corresponding to the first function of the application window is displayed on the first screen, and the interface content corresponding to the second function of the application window is displayed on the second screen. The interface content corresponding to the first function covers the entire display area of ​​the first screen, and the interface content corresponding to the second function covers the entire display area of ​​the second screen. In this way, the different functions of the application windows are independent of each other, the window layout is clearer, and the user experience is improved.

[0156] For example, see Figure 9 In (b), when the foldable screen device displays the interface of a video playback application, the first screen 201 displays the video playback area for playing videos, and the second screen 202 displays playback controls for controlling video playback and other functions. In this way, while the first screen focuses on playing the video, the second screen can directly operate the playback controls, such as pause and fast forward, making the window layout clearer and improving the user experience.

[0157] Furthermore, the multi-screen may also include a third screen, etc. In some embodiments, when a single screen (such as the first screen) on the target screen displays an application window in full screen, the foldable screen device can directly switch to displaying the application window in a multi-screen full-screen combination (such as the first screen, the second screen, and the third screen) in response to a sixth trigger operation on the application window. The sixth trigger operation is used to switch the single-screen full-screen display to a multi-screen full-screen combination display, such as a zoom operation.

[0158] In other embodiments, when a single screen (e.g., the first screen) on the target screen displays an application window in full screen, the foldable screen device can, in response to trigger operation 2 (e.g., a zoom operation) on the application window, switch to displaying the application window in full screen on the first and second screens. Furthermore, in response to trigger operation 3 (e.g., a zoom operation) on the application window, the foldable screen device can switch to displaying the application window in full screen on the first, second, and third screens.

[0159] In some embodiments, the contact points of the triggering operation fall within the display area of ​​the application window. For example, the triggering operation is a multi-finger zoom operation (such as four-finger pinching or three-finger pinching), and the contact points of the multiple fingers of the multi-finger zoom operation fall within the display area of ​​the application window. The triggering operation is a multi-finger pinching operation (such as four-finger pinching or three-finger pinching), and the contact points of the multiple fingers of the multi-finger pinching operation fall within the display area of ​​the application window. The triggering operation is a sliding operation, and the contact points of the sliding operation fall within the display area of ​​the application window.

[0160] In addition, in the window switching display method provided in the embodiment of the present application, the application window can also be switched from a split-screen format to a single-screen full-screen or multi-screen full-screen joint display.

[0161] In some embodiments, in a semi-folded state, when an application window is displayed in a partial display area of ​​the folding screen device in a split-screen format, the folding screen device responds to the seventh trigger operation for the application window and displays the application window in full screen on a single screen on the target screen (such as the first screen).

[0162] Among them, the seventh trigger operation is used to indicate switching from partial display area display of the folding screen device to single-screen full-screen display. For example, the seventh trigger operation can be a zoom operation.

[0163] In some embodiments, in the semi-folded state, when the application window is jointly displayed in the entire display area of ​​the first screen and the partial display area of ​​other single screens of the folding screen, the folding screen device can respond to the fifth trigger operation for the application window and display the application window in full screen on the second target screen.

[0164] For example, see Figure 7 In (d), when the application window is displayed jointly in the entire display area of ​​the first screen 201 and a portion of the display area of ​​the second screen 202, the foldable screen device can respond to a four-finger pinch-out operation on the application window and display the application window in full screen on the first screen 201. The first screen is the second target screen.

[0165] Among them, the second target screen is a preset screen, or the second target screen is related to the state of the folding screen device and is not limited.

[0166] In other embodiments, in the semi-folded state, when the application window is jointly displayed in a partial display area of ​​the first screen and a partial display area of ​​other single screens of the folding screen, the folding screen device can respond to a fifth trigger operation for the application window and display the application window in full screen on a single screen of the second target screen.

[0167] For example, see Figure 7 In (e), when the application window is displayed jointly in a portion of the display area of ​​the first screen 201 and a portion of the display area of ​​the second screen 202, the foldable screen device can respond to a four-finger pinch-out operation on the application window and display the application window in full screen on the first screen 201. The first screen is the second target screen.

[0168] Thus, taking the four-finger touch operation as an example, the window switching display method provided by the above embodiment, in a semi-folded state, when the application window is displayed in a partial display area of ​​a single screen, the folding screen device can respond to a four-finger expansion operation on the application window and switch to a single-screen full-screen display of the application window. Furthermore, the folding screen device can respond to a four-finger expansion operation on the application window and switch to a multi-screen full-screen joint display of the application window. And, in the case of a multi-screen full-screen joint display of the application window, the folding screen device can respond to a four-finger pinch operation on the application window and switch to a single-screen full-screen display of the application window. Furthermore, the folding screen device can respond to a four-finger pinch operation on the application window and switch to a single-screen full-screen display of the application window.

[0169] The following uses the four-finger touch operation on the touch screen as an example to illustrate the window form switching method in split-screen mode. Generally, there are three types of split-screen modes:

[0170] Form 1: Displayed in part of the display area within the first screen, such as Figure 10 As shown in (a);

[0171] Form 2: The application window is displayed jointly in the entire display area of ​​the first screen and part of the display area of ​​other single screens of the folding screen, such as Figure 10 As shown in (d);

[0172] Form 3: The application window is displayed jointly in part of the display area of ​​the first screen and part of the display area of ​​other single screens of the folding screen, such as Figure 10 As shown in (e) in .

[0173] In the embodiment of the present application, when the application window is in the three forms described above, the foldable screen device responds to the seventh trigger operation on the application window by switching from multiple split-screen forms to displaying the application window in a single full-screen on the target screen (such as the first screen). In this way, in the folded state, continuous switching from split-screen to single full-screen to multi-screen full-screen combined display is achieved, which improves the flexibility of window switching and enhances the user experience.

[0174] For example, see Figure 10 In (a) and (b), when the application window is displayed in a partial display area of ​​the folding screen device, the folding screen device responds to the seventh trigger operation for the application window and displays the application window in full screen on the first screen 201. Figure 10 The application window shown in (b) in FIG. Further, Figure 10 The application window shown in (b) can be further enlarged to Figure 10 The multi-screen full-screen joint display shown in (c) of FIG, or Figure 10 The application window shown in (c) can be further reduced to Figure 10Single screen full screen display shown in (b).

[0175] For example, see Figure 10 In (e), when the application window is displayed in a partial display area of ​​the folding screen device, the folding screen device responds to the seventh trigger operation for the application window and displays the application window in full screen on the first screen 201. Figure 10 The application window shown in (f) in FIG. Further, Figure 10 The application window shown in (f) can be further enlarged to Figure 10 The multi-screen full-screen joint display shown in (g) in FIG, or Figure 10 The application window shown in (g) can be further reduced to Figure 10 Single screen full screen display shown in (f).

[0176] It is understandable that Figure 10 (a)-(c) and Figure 10 (e)-(g) are two forms of foldable screen devices. Figure 10 (a)-(c) in the figure can be understood as a double-folding device that folds left and right. Figure 10 (e)-(g) in the figure can be understood as a double-folding device that folds up and down. Figure 10 (b) and Figure 10 (f) in the figure all represent the first screen 201 single screen full screen display application window. Figure 10 (c) and Figure 10 (g) in the figure shows that the first screen 201 and the second screen 202 jointly display the application window in full screen.

[0177] In this way, no matter which window form the application window is in, the application window can be switched to the second target screen for single-screen full-screen display through the fifth trigger operation on the application window, thereby improving the user experience.

[0178] Based on the above description, take the four-finger touch operation on the touch screen as an example, see Figure 7 , the first trigger operation is a multi-finger zoom-in operation, the second trigger operation is a multi-finger pinch-out operation, and the third trigger operation is a multi-finger pinch-out operation. The fourth trigger operation is a multi-finger zoom-out operation, and the sixth trigger operation is a multi-finger zoom-out operation. Figure 8 The seventh trigger operation is a multi-finger zoom operation. The embodiment of the present application can also be applied to multiple fingers, such as three fingers, five fingers, etc., without limitation.

[0179] Compared to switching window forms through the maximize button within the window, the maximize button is relatively small and close to window operation buttons such as minimize and close. On large-screen devices, the button is relatively small, which can easily lead to accidental touches and affect the user experience. However, this application uses multi-touch operation on the touch screen, and only the touch points fall on the display area of ​​the application window to switch between multiple window forms, improving the convenience and flexibility of operation.

[0180] The following uses a mouse operation as an example to illustrate the window switching display method provided in the embodiment of the present application.

[0181] In some embodiments, when a cursor hovers over a first area within an application window, a first switching control is displayed within the application window based on the window form of the application window. The first switching control is used to switch the window form. The first area can be a preset area or an area that triggers an operation control. In this way, the first switching control can dynamically change based on the application window form, providing users with accurate switching controls and improving the user experience.

[0182] For example, see Figure 11 When the cursor hovers over the maximize button 1101 in the application window (corresponding to the first area), a first switching control is displayed in the application window. When the application window is displayed in a partial display area of ​​the first screen, the first switching control includes a first control 1102, a second control 1103, and a third control 1104. Among them, the first control 1102 is used to switch the window form to a single full-screen display on the first screen, the second control 1103 is used to switch the window form to a full-screen display on the second screen, and the third control 1104 is used to switch the window form to a joint full-screen display of the first and second screens.

[0183] When the application window is displayed in full screen on the first screen, the first switching control includes a third control and a fourth control. The fourth control is used to switch the window form to display a partial area of ​​the first screen. Alternatively, when the application window is displayed in full screen on the first and second screens, the first switching control includes the first control, the second control, and the fourth control.

[0184] For example, see Figure 12 In (a), when the folding screen device displays an application window in a partial display area of ​​the first screen 201, when the cursor hovers over the maximize button 1201 in the application window, the following is displayed in the application window: Figure 12 The fifth control 1202 and the sixth control 1203 shown in (b) of FIG. 5 are used to switch the window form to a single-screen full-screen display, and the sixth control is used to switch the window form to a multi-screen full-screen joint display.

[0185] Furthermore, in an embodiment of the present application, after the foldable screen device displays the first switching control, it can respond to a click operation on any control in the first switching control and change the window form of the corresponding control to the application window display. The triggering operation is an operation on the first switching control. In this way, the user can directly switch the window form of the application window in one step after selecting any window form, which improves the convenience of operation and enhances the user experience.

[0186] For example, a foldable device displays Figure 11 The first switching control shown in (a) in response to Figure 11 The click operation on the first control 1102 in the first switching control shown in (b) is switched to the Figure 11 The first screen 201 shown in (c) displays the application window in a single full-screen manner.

[0187] For example, the folding screen device responds to Figure 11 The click operation of the third control 1104 in the first switching control shown in (d) is switched to Figure 11 The first screen 201 and the second screen 202 shown in (e) jointly display the application window in full screen.

[0188] In other embodiments, in response to a click operation on the fifth control, the foldable screen device causes the application window to move along with the cursor position. In response to an eighth trigger operation on the first position, the foldable screen device displays the application window at the first position based on the current window form. In this way, the application window moves along with the cursor position, allowing the user to more flexibly control the display position of the application window.

[0189] For example, see Figure 12 In the case where the application window is displayed in a partial display area of ​​the first screen 201, the folding screen device responds to the click operation (eighth trigger operation) on the fifth control 1202, and the application window moves along with the cursor position. Figure 12 The click operation on the first position 1204 in the second screen 202 shown in (c) causes the application window to be displayed in full screen on the second screen 202 where the first position 1204 is located.

[0190] For example, the folding screen device responds to Figure 12 The click operation on the sixth control 1203 shown in (d) switches to Figure 12 The first screen 201 and the second screen 202 shown in (e) jointly display the application window in full screen.

[0191] The following uses the trigger operation as an operation on the touchpad as an example to exemplify the window switching display method provided in the embodiment of the present application.

[0192] For example, when an application window is displayed in a partial display area of ​​a single screen, the foldable screen device switches to displaying the application window in full screen on a single screen in response to a multi-finger zoom operation on the application window (corresponding to the fourth trigger operation). Furthermore, the foldable screen device can also switch to displaying the application window in full screen on multiple screens in response to a multi-finger zoom operation on the application window (corresponding to the first trigger operation).

[0193] Accordingly, when the application window is displayed in full screen on multiple screens, the foldable screen device switches to displaying the application window in full screen on a single screen in response to a multi-finger engagement operation on the application window (corresponding to the second trigger operation). Furthermore, the foldable screen device can also switch to displaying the application window in a partial display area of ​​a single screen in response to a multi-finger engagement operation on the application window (corresponding to the third trigger operation). The multi-finger zoom operation and the multi-finger engagement operation are operations on the touchpad.

[0194] Similarly, taking the trigger operation as an air gesture operation as an example, the first trigger operation and the fourth trigger operation can be an air gesture zoom operation. The second trigger operation and the third trigger operation can be an air gesture pinch operation. The method of triggering the window form switching of the foldable screen device by air gesture operation can be referred to the description of the touch screen example above, and will not be repeated here.

[0195] Taking the trigger operation as a shortcut key operation as an example, triggering the "F11" key operation can instruct to enlarge the application window. Triggering the "F12" key operation can instruct to reduce the application window. For example, when the application window is displayed in a partial display area of ​​a single screen, triggering the "F11" key once can switch to displaying the application window in full screen on a single screen, and triggering the "F11" key again can switch to displaying the application window in full screen on multiple screens.

[0196] For another example, triggering the operation of button "A" can switch the window form to multi-screen full-screen display. Triggering the operation of button "D" can switch the window form to single-screen full-screen display. Figure 10 When an application window is displayed in (a), (d), or (e) above, the foldable screen device responds to the trigger button "A" for the application window by directly switching from the partial display area of ​​the foldable screen to the multi-screen full-screen display, without switching to the single-screen full-screen and then to the multi-screen full-screen. In this way, by providing multiple trigger operation methods, the flexibility of window switching is improved, and the user experience is enhanced.

[0197] For another example, the application window can be enlarged or reduced by using a combination of keys, without limitation.

[0198] Taking the trigger operation as a gaze point operation as an example, blinking once can switch the display of a partial area of ​​a single screen to a single full-screen display. Blinking twice can switch the joint display of multiple full-screens to a single full-screen display, etc. The embodiments of this application do not limit the specific methods of shortcut key operations and gaze point operations.

[0199] In this way, the display method provided by the embodiment of the present application can realize continuous switching of multiple window forms through air gesture operations, touch operations on the touch screen, shortcut key operations or operations on the touchpad. Users can use any trigger operation to trigger the folding screen device to directly switch the window form of the application window in one step, which improves the fun of the operation.

[0200] In some embodiments, the aforementioned multiple triggering operations, such as touchscreen operations, air gesture operations, touchpad operations, mouse operations, shortcut key operations, or gaze point operations, can be used in combination. For example, a touchscreen operation and a touchpad operation can simultaneously trigger a foldable screen device to switch the window form of an application window, without limitation.

[0201] It is understandable that different triggering operations can be the same or different, and are not limited to this. For example, when an application window is displayed in a partial display area of ​​the first screen, the foldable screen device switches to displaying the application window in full screen on the second screen in response to a click operation on the second control. Furthermore, the foldable screen device switches to displaying the application window in full screen on multiple screens in response to a four-finger pinch-out operation on the application window.

[0202] For another example, when an application window is displayed in a partial display area of ​​the first screen, the foldable screen device switches to displaying the application window in full screen on the first screen in response to a four-finger pinch-out operation on the application window. Furthermore, the foldable screen device switches to displaying the application window in full screen on multiple screens in response to a five-finger pinch-out operation on the application window.

[0203] Therefore, different triggering operations (such as clicking the second control or pinching with four fingers) can trigger the application window to switch between different window forms (such as single-screen full screen or multi-screen full screen combined display). In this way, through different triggering operations, users can quickly switch the form of the application window according to their needs, improving the user experience.

[0204] The above embodiment provides an exemplary introduction to window form switching on a foldable screen device. In addition, the window switching display method provided in the embodiment of the present application is also applicable to window form switching in a single-screen scenario. A single-screen device can respond to a trigger operation on an application window and continuously switch from a floating state to a partial display area of ​​the screen to a full-screen display. Among them, the trigger operation includes but is not limited to an operation on the touch screen, an air gesture operation, a shortcut key operation, or a gaze point operation.

[0205] Figure 13 A schematic diagram of a window switching display method for a single-screen device is shown. For example, taking touch operation as an example, the process of enlarging an application window on a single-screen device includes: displaying the following in a floating state on the interface 1301 of the single-screen device: Figure 13 The application window (such as application icon, etc.) shown in (a) can be switched to the following in response to a click operation on the application window: Figure 13 The partial display area of ​​the screen shown in (b) in FIG shows the application window. Further, the single-screen device can switch to the following in response to the four-finger expansion operation on the application window: Figure 13 The full-screen application window shown in (c) is displayed.

[0206] The process of shrinking the application window includes: when the application window is displayed in full screen, the single-screen device can respond to the four-finger pinch operation on the application window and switch to the following Figure 13 The partial display area of ​​the screen shown in (d) in FIG. 1 displays the application window. Further, the single-screen device can respond to a drag operation on the application window (such as dragging to the edge of the screen) and switch to the following Figure 13 As shown in (a), the application window is displayed in a suspended state.

[0207] In this way, for single-screen devices, continuous switching from a suspended state to a partial display area of ​​the screen to a full-screen display can be achieved. Compared with the traditional window switching display method, it is cumbersome to call out the multi-tasking management interface and select the application window on the interface to switch to a suspended state or a partial display area of ​​the screen. However, the present application does not need to call out the multi-tasking management interface. When a single-screen device displays any application window, it can achieve continuous switching from a suspended state to a partial display area of ​​the screen to a full-screen display through gesture operations (such as a four-finger expansion operation or a four-finger pinch operation), which improves the convenience of operation and enhances the user experience.

[0208] The following is an example introduction to the implementation process of displaying application windows on foldable screen devices.

[0209] In some embodiments, the foldable screen device obtains the device state to determine whether it is in a semi-folded state; and obtains the window form of the application window to determine whether it can be enlarged or reduced. The foldable screen device detects a trigger operation for the application window and displays the application window based on the device state, window form, and trigger operation. In this way, by combining the device state, window form, and trigger operation, the application window can be flexibly displayed according to different scenarios, improving the user experience.

[0210] For example, if the window form is a partial display area display of a single screen, or a full screen display of a single screen, it indicates that the application window can be enlarged. If the window form is a joint full screen display of multiple screens, or a full screen display of a single screen, it indicates that the application window can be reduced.

[0211] like Figure 14 In a window switching display method shown, a folding screen device detects a trigger operation for an application window. The folding screen device determines whether it can be enlarged or reduced based on the window form. If it can be enlarged or reduced, then when the application window is displayed in a single full screen, based on the enlargement or reduction indicated by the trigger operation, the application window is enlarged to the full screen of multiple screens or reduced to the partial display area of ​​a single screen, and then the folding screen device executes the animation and displays the application window in the corresponding window form. In the case where the application window is not displayed in a single full screen, if the application window is displayed in a partial display area of ​​a single screen, and the trigger operation indicates enlargement, it is enlarged to the full screen of a single screen. Alternatively, in the case where the application window is not displayed in a single full screen, if the application window is displayed in a joint full screen of multiple screens and the trigger operation indicates reduction, it is reduced to the full screen of a single screen.

[0212] In some embodiments, after the folding screen device detects a trigger operation, it obtains the device status and the window form of the application window, and then displays the application window based on the device status, window form and trigger operation.

[0213] If the device is in a semi-folded state, the application window can realize continuous switching from partial display area of ​​a single screen to full screen of a single screen and then to joint full screen display of multiple screens. If the device is in an expanded state, the application window can realize switching between partial display area of ​​a single screen and joint full screen display of multiple screens.

[0214] For example, see Figure 7 In (a), in the semi-folded state, the window form is displayed in a partial display area of ​​a single screen, indicating that the application window can be enlarged. If the trigger operation indicates enlargement, the folding screen device responds to the trigger operation for the application window and switches to a single full-screen display on the first screen, such as Figure 7 Furthermore, when the application window is currently displayed in a single full-screen mode, if the trigger operation indicates zooming in, the folding screen device responds to the trigger operation on the application window and zooms the application window to a multi-screen full-screen joint display, such as Figure 7 (c) in the.

[0215] Similarly, in the semi-folded state, the window shape is Figure 7 The multi-screen full-screen joint display shown in (c) indicates that the application window can be reduced. If the trigger operation indicates reduction, the folding screen device responds to the trigger operation for the application window and switches to a single full-screen display of the application window on the first screen, such as Figure 7Furthermore, when the window form is a single-screen full-screen display, if the trigger operation indicates to shrink, the folding screen device responds to the trigger operation for the application window and switches to display the application window in a partial display area of ​​the first screen 201, such as Figure 7 (a) in the.

[0216] In some embodiments, the folding screen device outputs prompt information to prompt the user of the window form that the application window can switch to in the semi-folded state, or the optional trigger operation method. For example, when the folding screen device is used in the semi-folded state for the first time, the folding screen device may display prompt information in a specific area. For another example, the folding screen device also includes a first setting interface, which includes examples or related prompt content of window form switching in the semi-folded state, thereby guiding the user to become familiar with the related operations of window form switching in the semi-folded state. This application does not limit the method of outputting prompt information.

[0217] In this way, by outputting prompt information, the user can clearly understand the window forms that can be switched to the application window and the triggering operation method, understand the window switching function, and improve the user's usage efficiency.

[0218] In the solution described in the embodiment of the present application, in a semi-folded state, the folding screen device can respond to the user's trigger operation and switch directly from the partial display area of ​​a single screen to a single-screen full-screen display application window in one step, or switch directly from a single-screen full-screen display to a multi-screen full-screen joint display application window in one step, thereby realizing direct and continuous switching from the partial display area of ​​a single screen to a single-screen full-screen and then to a multi-screen full-screen joint display in a semi-folded state, without adjusting the device status, optimizing the switching method of the window form, and improving the convenience of operation.

[0219] Compared with the traditional window switching display method, when a foldable screen device displays an application window on multiple full screens, the device needs to be adjusted to the expanded state and can only be used in the expanded state; in the semi-folded state, it is impossible to switch from a single full screen to a multi-screen full screen joint display, nor can it achieve a multi-screen full screen joint display in the semi-folded state. This application can achieve a multi-screen full screen joint display of application windows in the semi-folded state, thereby displaying them in a larger display area, making full use of the folding performance of the foldable screen in the semi-folded state, allowing users to view application content more conveniently and comprehensively, and improving the user experience.

[0220] In the semi-folded state, direct and continuous switching between window modes is achieved, allowing users to choose to use a single screen or multiple screens for interaction according to actual needs, improving operational flexibility and convenience. For example, in the semi-folded state, users can switch to full-screen display of the first screen; or, they can switch directly from the first screen to a combined full-screen display of the first and second screens in one step.

[0221] It is understandable that in order to achieve the above functions, the folding screen device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0222] In this embodiment, the functional modules of the folding screen device can be divided according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0223] The present application also provides an electronic device, such as Figure 15 As shown, the electronic device may include one or more processors 1501 , a memory 1502 and a communication interface 1503 .

[0224] The memory 1502 and the communication interface 1503 are coupled to the processor 1501. For example, the memory 1502, the communication interface 1503 and the processor 1501 may be coupled together via a bus 1504.

[0225] The communication interface 1503 is used to transmit data to other devices. The memory 1502 stores computer program code. The computer program code includes computer instructions. When the computer instructions are executed by the processor 1501, the electronic device executes the window switching display method in the embodiment of the present application.

[0226] The processor 1501 may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0227] The bus 1504 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 1504 may be divided into an address bus, a data bus, a control bus, etc. For ease of presentation, Figure 15 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0228] An embodiment of the present application further provides a computer-readable storage medium, in which computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiment.

[0229] An embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the relevant method steps in the above method embodiment.

[0230] Among them, the electronic device, computer storage medium or computer program product provided in this application 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.

[0231] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0232] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0233] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0234] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0235] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the contributing part or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor 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 (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0236] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements 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 window switching display method, characterized in that: Applied to a folding screen device, the folding screen device includes a multi-sided screen, the multi-sided screen includes a first screen, and the folding screen device is in a semi-folded state, the method includes: Displaying the application window on the first screen in full screen; In response to a first triggering operation on the application window, the application window is switched to a multi-screen full-screen joint display.

2. The method according to claim 1, characterized in that The method further comprises: In a case where the application window is jointly displayed on the multiple screens in full screen, in response to a second triggering operation on the application window, the application window is displayed in full screen on a single screen on a target screen, where the target screen is a single screen on the foldable screen device; In response to a third triggering operation on the application window, the application window is displayed in a partial display area of ​​the target screen.

3. The method according to claim 2, characterized in that The target screen is the single screen where the application window was located before switching to multi-screen full-screen joint display; or, the target screen is a preset screen; or, the target screen is related to the state of the folding screen device.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In the semi-folded state, displaying the application window in a partial display area of ​​the first screen; In response to a fourth triggering operation on the application window, the application window is displayed in full screen on the first screen.

5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In the semi-folded state, the application window is displayed jointly in the entire display area of ​​the first screen and in a partial display area of ​​the other single screen of the folding screen; or, the application window is displayed jointly in a partial display area of ​​the first screen and in a partial display area of ​​the other single screen of the folding screen; In response to the fifth trigger operation for the application window, the application window is displayed in full screen on the second target screen, and the second target screen is a preset screen; or, the second target screen is related to the state of the folding screen device.

6. The method according to any one of claims 1 to 5, characterized in that The multi-screen further includes a second screen, and the switching to the multi-screen full-screen joint display of the application window includes: Switch to jointly displaying the application window in full screen through the first screen and the second screen.

7. The method according to claim 6, characterized in that The fully-screen displaying of the application window by the first screen and the second screen includes: On the first screen and the second screen, the application window is displayed in full screen in a waterfall flow format.

8. The method according to claim 6, characterized in that The fully-screen displaying of the application window by the first screen and the second screen includes: Displaying interface content corresponding to the first function of the application window on the first screen, and displaying interface content corresponding to the second function of the application window on the second screen; The interface content corresponding to the first function covers the entire display area of ​​the first screen, and the interface content corresponding to the second function covers the entire display area of ​​the second screen.

9. The method according to any one of claims 6 to 8, characterized in that: The multi-screen further includes a third screen. In the case where the application window is displayed in full screen jointly by the first screen and the second screen, the method further includes: In response to a sixth triggering operation on the application window, the application window is switched to be jointly displayed in full screen through the first screen, the second screen and the third screen.

10. The method according to any one of claims 1 to 5, characterized in that The semi-folded state is an inward folded state, and the switching to a multi-screen full-screen joint display of the application window includes: Switch to displaying the application window in full screen through all inner screens of the folding screen device.

11. The method according to any one of claims 1 to 10, characterized in that The method further comprises: In the semi-folded state, displaying the application window in a split-screen format on a portion of the display area of ​​the folding screen device; In response to a seventh triggering operation on the application window, the application window is displayed in full screen on the first screen.

12. The method according to any one of claims 1 to 11, characterized in that The trigger operation is a touch operation, and the touch point of the touch operation falls on the display area of ​​the application window; wherein, the touch operation for switching the display of a partial area of ​​a single screen to a full-screen display of a single screen is a multi-finger zoom operation, the touch operation for switching the single-screen full-screen display to a multi-screen full-screen joint display is a multi-finger zoom operation, the touch operation for switching the multi-screen full-screen joint display to a single-screen full-screen display is a multi-finger pinch operation, and the touch operation for switching the single-screen full-screen display to the partial area display of a single screen is a multi-finger pinch operation.

13. The method according to any one of claims 1 to 11, characterized in that The application window is a focus window, and the focus window includes at least one of the following: a window where a cursor is located, a window of an application opened last among all windows, a window whose display content is being edited, or a window where a gaze point is located; The trigger operation is an operation on the touch panel; or The triggering operation is an air gesture operation; or, The trigger operation is a gaze point operation; or, The trigger operation is a shortcut key operation.

14. The method according to any one of claims 6 to 9, characterized in that: The trigger operation is a mouse operation, and the method further includes: When the cursor hovers over a first area in the application window, a first switching control is displayed in the application window according to the window form of the application window, and the first switching control is used to switch the window form; the triggering operation is an operation on the first switching control.

15. The method according to claim 14, characterized in that When the application window is displayed in a partial display area of ​​the first screen, the first switching control includes a first control, a second control, and a third control; the first control is used to switch the window state to a single full-screen display on the first screen, the second control is used to switch the window state to a full-screen display on the second screen, and the third control is used to switch the window state to a joint full-screen display across the first and second screens; or, When the application window is displayed in full screen on the first screen, the first switching control includes the third control and the fourth control; the fourth control is used to switch the window form to be displayed in a partial area of ​​the first screen; or, When the first screen and the second screen jointly display the application window in full screen, the first switching control includes the first control, the second control, and the fourth control.

16. The method according to claim 4, characterized in that The trigger operation is a mouse operation, and the method further includes: When the application window is displayed in a partial display area of ​​the first screen, when the cursor hovers over the first area within the application window, a fifth control and a sixth control are displayed within the application window according to the form of the application window; the fifth control is used to switch the window form to a single-screen full-screen display, and the sixth control is used to switch the window form to a multi-screen full-screen joint display.

17. The method according to claim 16, characterized in that In response to the fourth triggering operation on the application window, displaying the application window on the first screen in full screen includes: In response to an operation on the fifth control, the application window moves following the cursor position; In response to an eighth trigger operation for the first position, the application window is displayed in full screen on the target screen where the first position is located.

18. The method according to any one of claims 1 to 17, characterized in that The method further comprises: Obtaining a device state, wherein the device state is used to determine whether the device is in a semi-folded state; Obtaining a window state of the application window, wherein the window state is used to determine whether the application window can be enlarged or reduced; The displaying of the application window includes: In the semi-folded state, if the trigger operation indicates enlargement, and the window form is a single-screen full-screen display, and the application window can be enlarged, the application window is enlarged to a multi-screen full-screen joint display; In the semi-folded state, if the trigger operation indicates zooming in, and the window form is a partial area display of a single screen, and the application window can be zoomed in, the application window is zoomed in to a full screen display of the single screen; In the semi-folded state, if the trigger operation indicates shrinking, and the window form is a single-screen full-screen display, and the application window can be shrunk, the application window is shrunk to a partial area of ​​the single screen for display; In the semi-folded state, if the trigger operation indicates shrinking, and the window form is a multi-screen full-screen joint display, and the application window can be shrunk, the application window is shrunk to a single-screen full-screen display.

19. An electronic device, characterized in that: include: A display screen, a memory, and one or more processors; the display screen and the memory are coupled to the processor; wherein the display screen is used to display an interface, the memory stores computer program code, and the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the window switching display method according to any one of claims 1 to 18.

20. A computer-readable storage medium, characterized in that The method comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the window switching display method according to any one of claims 1 to 18.

21. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the window switching display method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Interface display method, interface display device and terminal

    CN107728901A

  • Application control method and device, terminal, storage medium and computer program product

    CN116107482A

  • Hovering display method and electronic equipment

    CN119450207A

  • Interaction method, flexible electronic device, and readable storage medium

    WO2020206655A1