Display method, and device
By displaying windows in the unfolded state of the foldable display and updating the display area in response to bending operations, and avoiding the bendable area, the problem of touch inconvenience and visual reflection caused by the overlap of windows and bendable areas in the foldable display state is solved, thereby improving the user experience and display lifespan.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-10-30
- Publication Date
- 2026-05-21
AI Technical Summary
When a foldable display is in a bent state, the window overlaps with the bendable area, making touch operation inconvenient and potentially causing screen glare, which reduces the user experience.
When the foldable display is in the unfolded state, the area of the display window is located in the first folding area, the second folding area, and the bendable area. The window display area is updated in response to the bending operation, avoiding the bendable area, and ensuring that the window does not overlap when bent.
This avoids the inconvenience of touch operation in the bendable area and the problem of screen glare, improving the user experience and extending the lifespan of the display.
Smart Images

Figure CN2025131267_21052026_PF_FP_ABST
Abstract
Description
A display method and device
[0001] This application claims priority to Chinese Patent Application No. 202411613354.3, filed on November 12, 2024, entitled “A Display Method and Device”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal display technology, and in particular to a display method and device. Background Technology
[0003] With the continuous development of electronic devices, the use of foldable displays has become a trend. When unfolded, a foldable display can achieve a large-screen display, functioning as a single, continuous screen. When folded, the bendable components deform, causing the screen to bend and potentially dividing the entire display into two separate screens.
[0004] Typically, when a foldable display is unfolded, the window is centered on the screen; when folded, the window remains centered as well. This causes the window to overlap with the bendable area of the foldable display, which corresponds to the bendable component. If a user wants to interact with the content within the bendable area of the window (e.g., click on the content), touch operation can become inconvenient (e.g., unable to click on the content), thus reducing the user experience. Summary of the Invention
[0005] This application provides a display method and device that avoids bendable areas during the display of a window, thus preventing inconvenience in interacting with window content corresponding to bendable areas.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] In a first aspect, this application provides a display method applied to an electronic device, the electronic device including a foldable display screen, the foldable display screen including a first folding area, a second folding area and a bendable area, the method including:
[0008] When the foldable display screen is in the unfolded state, the electronic device displays a first window, and the display area of the first window is located in part or all of the first folding area, the second folding area, and the bendable area.
[0009] Electronic devices can respond to bending operations on foldable displays by updating the first window while the foldable display is in a bent state.
[0010] The updated first window's display area is located in part or all of the first or second folded area.
[0011] Thus, the electronic device provided in this application embodiment can display a first window when the foldable display screen is in the unfolded state, and the display position of the first window can be any area of the foldable display screen. The user can bend the foldable display screen, and the electronic device, in response to the bending operation, updates the display of the first window while the foldable display screen is in the bent state; that is, the display position of the first window will avoid the bendable area. This avoids the problem of inconvenient interaction with the window content corresponding to the bendable area, and also prevents visual glare on the screen. Furthermore, the user does not need to operate on the bendable area, extending the lifespan of the foldable display screen. Therefore, the user experience is improved.
[0012] In one possible implementation, the updated first window's display area is located in a portion or all of the first folded area.
[0013] The angle between the plane containing the first folded area and the horizontal plane is greater than or equal to the angle between the plane containing the second folded area and the horizontal plane.
[0014] Thus, the electronic device provided in this application embodiment can display the updated first window in part or all of the first folding area. The angle between the plane of the first folding area and the horizontal plane is greater than or equal to the angle between the plane of the second folding area and the horizontal plane. On the one hand, the electronic device can avoid the bendable area during the display of the updated first window, avoiding screen glare and the inability to interact with the content within the bendable area. On the other hand, when the folded display screen is in a vertical folded state, the electronic device can prioritize displaying in the upper area, i.e., the aforementioned first folding area, which is more in line with the user's horizontal line of sight and conforms to the user's usage habits. This improves the user experience.
[0015] In one possible implementation, the method further includes: the electronic device can display a second window in response to an opening operation of the second window, the display area of the second window being located in a portion or all of the first folded area or the second folded area.
[0016] Thus, the electronic device provided in this application will display the second window in a portion or all of the first or second folding area. The display position of the second window will avoid the bendable area, preventing inconvenience in interacting with the content of the window corresponding to the bendable area. Simultaneously, it will not cause visual glare on the screen. Furthermore, users do not need to operate on the bendable area, extending the lifespan of the foldable display screen. This, in turn, improves the user experience.
[0017] In one possible implementation, the display area of the second window is located in part or all of the first folded area.
[0018] Thus, the electronic device provided in this application embodiment can display the second window in part or all of the first folding area. When the folded display screen is in a vertical folding state, the electronic device can preferentially display the second window in the upper area, i.e., the aforementioned first folding area, which is more in line with the user's horizontal line of sight and conforms to the user's usage habits. This improves the user experience.
[0019] In one feasible approach, when the electronic device is in a foldable display state and the foldable display is unfolded, the first window is displayed in a first orientation, which can be either landscape or portrait orientation, while the electronic device is in a first posture and the foldable display is unfolded. The electronic device can adjust the display orientation of the first window from the first orientation to the second orientation, which is different from the first orientation, in response to a change in posture from the first posture to the second posture. The electronic device can also update the display of the first window in response to a bending operation on the foldable display, while the foldable display is in a bent state.
[0020] Thus, this embodiment can also be applied to scenarios combining device posture switching and foldable display state switching. The electronic device can adjust the display orientation of the first window in response to device posture switching. Then, the electronic device can update the display of the first window in response to foldable display state switching. This avoids the bendable area while facilitating user interaction with the first window. This improves the flexibility of the display method and the user experience when the foldable display is in a bent state.
[0021] In one feasible approach, during the process of updating the display of the first window, the electronic device can obtain the initial size parameters of the first window and the area size parameters of the first folded area. The initial size parameters are the size parameters of the first window before the update. If the height in the initial size parameters is greater than the area height in the area size parameters, the electronic device can adjust the height of the first window to be less than or equal to the area height and display the adjusted first window in the first folded area.
[0022] Thus, this embodiment of the application updates the display of the first window using the above-described method, adding the calculation of the size parameters of the first and second folding areas of the foldable display screen in the bent state, and calculating the size parameters of the already opened first window, thereby achieving the update display of the first window. Therefore, during the display of the first window, the bendable area can be avoided, facilitating user interaction with the first window. This improves the user experience when the foldable display screen is in the bent state.
[0023] In one feasible approach, while displaying the second window, the electronic device can acquire the area size parameters of the first folded area and calculate the size parameters of the second window based on a preset ratio and the area size parameters. The electronic device can also display the second window within the first folded area according to the size parameters of the second window.
[0024] Thus, in this embodiment, a new window can be displayed based on the area size parameters of the first folding area and a preset ratio, allowing the user to see the new window within the first folding area. This improves the user experience when the foldable display is in a bent state.
[0025] In one feasible approach, while displaying the second window, the electronic device can acquire the size parameters of a historical window, which is the window that was displayed in the first collapsing area before the second window. The electronic device can also display the second window within the first collapsing area based on the size parameters of the historical window.
[0026] Thus, in this embodiment, a new window can be displayed based on the size parameters of the historical window. Since the historical window is always displayed in the first folding area, the new window can be directly displayed according to its size parameters, allowing the user to see it in the first folding area. This improves the user experience when the foldable display is in a bent state.
[0027] In one feasible manner, when the foldable display is in a bent state, the bending angle between the first folding area and the second folding area along the bending direction is greater than a first threshold and less than 180 degrees, or greater than 180 degrees and less than or equal to a second threshold.
[0028] In one possible implementation, after updating the display of the first window, the electronic device can, in response to the folded display screen changing from a bent state to an unfolded state, save the updated display position information of the first window, which indicates that the first window is displayed in the first folded area. The electronic device can also, in response to the folded display screen changing from an unfolded state to a bent state, display the first window in the first folded area according to the updated display position information.
[0029] Thus, this embodiment of the application can save the display position of the already displayed window. When the folding display screen switches from the unfolded state to the folded state again, if the already displayed window still needs to be displayed, it will be displayed directly according to the saved display position. This eliminates the need for the user to manually adjust the window's display position, improving the user experience.
[0030] In one feasible approach, electronic devices include foldable laptops and foldable tablets.
[0031] In a second aspect, embodiments of this application provide an electronic device, which includes a foldable display screen, a memory, and one or more processors; the foldable display screen is used to display a first window and a second window, and the memory is coupled to the processor; wherein, the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the method described in the first aspect above.
[0032] In one feasible approach, electronic devices include foldable laptops and foldable tablets.
[0033] Thirdly, embodiments of this application provide a computer-readable medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect above.
[0034] Fourthly, embodiments of this application provide a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the method described in the first aspect above. Attached Figure Description
[0035] Figure 1 is a structural schematic diagram of a foldable display screen provided in an embodiment of this application;
[0036] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0037] Figure 3 is a schematic diagram of the software structure of an electronic device provided in an embodiment of this application;
[0038] Figure 4 is a flowchart illustrating a display method provided in an embodiment of this application;
[0039] Figure 5 is a schematic diagram of the display area of a first window provided in an embodiment of this application;
[0040] Figure 6 is a schematic diagram of a display area of a first window provided in an embodiment of this application;
[0041] Figure 7 is a schematic diagram of the display area of a first window provided in an embodiment of this application;
[0042] Figure 8 is a schematic diagram of the interface between a first folding area and a second folding area provided in an embodiment of this application;
[0043] Figure 9 is a schematic diagram of a bending angle provided in an embodiment of this application;
[0044] Figure 10 is a schematic diagram of the interface of the first window when a foldable display screen is switched from an unfolded state to a bent state according to an embodiment of this application;
[0045] Figure 11 is an interactive schematic diagram of a folding angle detection sensor, a screen management module, and a window management module provided in an embodiment of this application;
[0046] Figure 12 is a schematic diagram of the interface for the size parameters of a first window provided in an embodiment of this application;
[0047] Figure 13 is a schematic diagram of the interface for the size parameters of a first window provided in an embodiment of this application;
[0048] Figure 14 is a schematic diagram of the interface for the size parameters of a first window provided in an embodiment of this application;
[0049] Figure 15 is a schematic diagram of a multi-window interface provided in an embodiment of this application;
[0050] Figure 16 is a schematic diagram of the interaction between a folding angle detection sensor, a screen management module, and a window management module provided in an embodiment of this application;
[0051] Figure 17 is a schematic diagram of a second window interface provided in an embodiment of this application;
[0052] Figure 18 is a schematic diagram of a process for saving display location information according to an embodiment of this application;
[0053] Figure 19 is a schematic diagram of the display area of a first window provided in an embodiment of this application;
[0054] Figure 20 is a schematic diagram of a foldable PC provided in an embodiment of this application. Detailed Implementation
[0055] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with basically the same function and effect.
[0056] Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or order of execution, and that "first," "second," etc., are not necessarily different. Furthermore, in some embodiments of this application, words such as "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.
[0057] Furthermore, the device architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of device architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0058] With the continuous development of electronic devices, the use of foldable displays has become a trend. Referring to Figure 1(A), when unfolded, the foldable display can achieve a large-screen display, functioning as a single, continuous screen. Referring to Figure 1(B), when folded, the bendable components deform along the folding edge, allowing the screen to bend in directions 101a and 101b as shown in Figure 1(B). The entire screen can then be divided into two separate displays.
[0059] Typically, when a foldable display is unfolded or folded, the user window is centered on the screen. For example, see Figure 1(C), where a user opens the Notes app. When the foldable display is unfolded, the user window is centered on the screen. Continuing with Figure 1(C), when the foldable display is folded, the user window is also centered on the screen. This causes the user window to overlap with the bendable area of the foldable display, which corresponds to the bendable component. If the user interacts with the content of the bendable area within the user window (e.g., clicking on the content), touch operation may become inconvenient (e.g., unable to click on the content). Furthermore, the bendable area of a foldable display is relatively fragile; frequent operation can cause contact fatigue and damage the bendable area, thus reducing the user experience.
[0060] Furthermore, when a foldable display is in a bent state, it can cause visual glare in scenarios with complex lighting, reducing the user's visual experience.
[0061] To address the aforementioned problems, this application provides a display method applied to an electronic device. The electronic device includes a foldable display screen, which comprises a first folding area, a second folding area, and a bendable area. The method includes: when the foldable display screen is in an unfolded state, the electronic device displays a first window, the display area of which is located in a portion or all of the first folding area, the second folding area, and the bendable area. In response to a bending operation on the foldable display screen, the electronic device updates the display of the first window when the foldable display screen is in a bent state. The updated display area of the first window is located in a portion or all of the first folding area or the second folding area, and the bent state indicates that the first folding area and the second folding area are not on the same plane.
[0062] It should be noted that the foldable display screen includes a bendable first screen and a second screen, connected by a bending component. The display area corresponding to the first screen is the first folding area, the display area corresponding to the second screen is the second folding area, and the display area corresponding to the bending component is the bendable area.
[0063] Thus, the electronic device provided in this application embodiment can display a first window when the foldable display screen is in the unfolded state. The display position of the first window can be any area of the foldable display screen, such as part or all of the bendable area. The user can bend the foldable display screen, and the electronic device, in response to the bending operation, updates the display of the first window while the foldable display screen is in the bent state. That is, the display position of the first window will avoid the bendable area. This avoids the problem of inconvenient interaction with the window content corresponding to the bendable area, and also prevents screen glare. Furthermore, the user does not need to operate on the bendable area, extending the lifespan of the foldable display screen. Therefore, the user experience is improved.
[0064] The electronic device in this application embodiment may be a laptop, tablet, mobile phone, desktop, laptop, handheld computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device, etc., including the above-mentioned foldable display screen. This application embodiment does not impose any special restrictions on the specific form of the electronic device.
[0065] The operating systems installed on electronic devices include, but are not limited to, Alternatively, other operating systems may be used. Of course, electronic devices may not have an operating system installed. This application does not limit the specific type of electronic device, whether or not an operating system is installed, or the type of operating system if an operating system is installed.
[0066] For example, Figure 2 shows a schematic diagram of the structure of an electronic device 200. As shown in Figure 2, the electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 211, a power management module 212, a battery 213, an antenna, a wireless communication module 250, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone jack 270D, a sensor module 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 240, etc.
[0067] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 200. In other embodiments of this application, the electronic device 200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0068] Processor 210 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0069] The controller can be the nerve center and command center of the electronic device 200. The controller can generate operation control signals based on the instruction opcode and timing signals to control the fetching and execution of instructions.
[0070] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0071] The charging management module 211 receives charging input from the charger. While charging the battery 213, the charging management module 211 can also supply power to the electronic device through the power management module 212.
[0072] The wireless communication function of electronic device 200 can be achieved through an antenna, wireless communication module 250, modem processor, and baseband processor.
[0073] Antennas are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, they can be multiplexed as diversity antennas for a wireless local area network. In some other embodiments, antennas can be used in conjunction with tuning switches.
[0074] The wireless communication module 250 can provide solutions for wireless communication applications on the electronic device 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc.
[0075] Electronic device 200 implements display functions through a GPU, display screen 240, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 240 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0076] The display screen (or screen) 294 is used to display images, videos, etc. The display screen 240 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniaturized LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include one or N displays 240, where N is a positive integer greater than 1.
[0077] In some embodiments, the display screen 240 may be a foldable display screen. The folding method of the foldable display screen may be an outward folding method as shown in Figure 1(B).
[0078] For example, when the folding angle of the folding display (i.e., the angle between the two parts of the screen folded along the folding edge) θ (as shown in Figure 1(B) above), the folding display can be determined to be in a bent state when θ is greater than 0° and less than 180°. Alternatively, the folding display can be determined to be in a bent state when θ is greater than 180° and less than 360°. When θ equals 180°, the folding display can be determined to be in an unfolded state. When θ equals 0°, the folding display can be determined to be in a fully folded state. When the folding display is in a bent state, θ can take the value X. For example, X can be set to 85°, 90°, or 95°, etc. This application embodiment does not specifically limit the value of θ.
[0079] Electronic device 200 can perform shooting functions through ISP, camera 293, video codec, GPU, display 240 and application processor.
[0080] The external storage interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200.
[0081] Internal memory 221 can be used to store computer executable program code, which includes instructions. Processor 210 executes various functional applications and data processing of electronic device 200 by running the instructions stored in internal memory 221. Internal memory 221 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 200 (such as audio data, phonebook, etc.). Furthermore, internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0082] Electronic device 200 can implement audio functions such as music playback and recording through audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, and application processor.
[0083] Buttons 290 include a power button, volume buttons, etc. Indicator 292 may be an indicator light.
[0084] The sensor module 280 may include a fold angle detection sensor, a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0085] The aforementioned folding angle detection sensor is used to detect the folding angle of the electronic device 200, i.e., the screen, such as the folding angle θ shown in Figure 1(B). For example, the folding angle detection sensor can be a Hall sensor. This application embodiment does not limit the sensor type corresponding to the folding angle detection sensor.
[0086] In some embodiments of this application, the electronic devices include foldable laptops and foldable tablets.
[0087] The software system of the aforementioned electronic device 200 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered architecture. Taking the system as an example, the software structure of electronic device 200 is illustrated.
[0088] Figure 3 is a schematic diagram of the software structure of the electronic device 200 according to an embodiment of this application.
[0089] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the software system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system library layer, and the kernel layer.
[0090] The application layer can include a series of application packages.
[0091] As shown in Figure 3, the application package may include applications such as camera, gallery, calendar, call, map, WLAN, music, and SMS.
[0092] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0093] As shown in Figure 3, the application framework layer may include a window manager, a view system, a resource manager, etc.
[0094] The application framework layer also includes a window management module and a screen management module.
[0095] The screen management module is used to report the screen's size parameters and the size parameters of the bendable area to the window management module.
[0096] The window management module is used to calculate the size parameters corresponding to the first and second folded areas, and to control the window display in the first folded area.
[0097] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0098] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0099] In some embodiments, the software layer can communicate with the hardware layer. For example, the software layer can receive fold angle or device status data sent by a fold angle detection sensor. As another example, the software layer can send the content of a window to be displayed to a display screen so that the corresponding window can be displayed on the screen.
[0100] It is understood that the layers in the structure shown in Figure 3 and the components contained in each layer do not constitute a specific limitation on the electronic device 200, i.e., the foldable display device. In other embodiments of this application, the structure may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited by this application.
[0101] The following will take the above-mentioned electronic device (or foldable display device) as a foldable (Personal Computer, PC) laptop as an example, and describe in detail a display method provided by the embodiments of this application with reference to the accompanying drawings.
[0102] In some embodiments of this application, the foldable display screen of the foldable PC has three states, including an unfolded state, a bent state, and a fully folded state.
[0103] The foldable display screen may include a first screen and a second screen. Referring again to Figure 1(A), when the foldable display screen is in the unfolded state, the first screen and the second screen may be located on the same plane.
[0104] When the foldable display is in the fully folded state, the electronic device cannot display windows. The first screen and the second screen overlap, and the first screen and the second screen can be located on the same plane.
[0105] The bent state is a state between the fully folded state and the unfolded state; specifically, it can be understood as a half-folded state or an incompletely folded state.
[0106] When the foldable display is in a bent state, the bending angle between the first screen and the second screen along the bending direction is greater than a first threshold and less than 180°, or greater than 180° and less than or equal to a second threshold.
[0107] The bending direction can be as shown in Figure 1(B), or it can be the opposite direction shown in Figure 1(B). The first threshold can be 0°, and the second threshold can be 360°. This application does not specifically limit the bending direction, the first threshold, or the second threshold in its embodiments.
[0108] It should be noted that the two screens formed after the folding display screen in this embodiment is folded can be multiple independent screens or a single complete screen with an integrated structure, which is simply folded into two parts.
[0109] In some embodiments of this application, referring to FIG4, S401, the foldable PC can display a first window in the foldable display screen when the foldable display screen is in the unfolded state.
[0110] The display area of the first window is located in part or all of the first folding area, the second folding area, and the bendable area.
[0111] In some examples, the number of primary windows can be one or more. For instance, if there is only one window on the screen, it could be a call notification window for a call service. The window could also be a notification reminder window for a notification service. Similarly, if there are multiple windows on the screen, they could be a message management window for a messaging application and a weather management window for a weather application.
[0112] In some embodiments of this application, the foldable display screen in the foldable PC is in an unfolded state, and a first window can be displayed on the foldable display screen.
[0113] For example, the first window can be the application window corresponding to the target application. For instance, the target application could be a memo application. The foldable PC can respond to a launch operation for the memo application by displaying the application window corresponding to the memo application in the initial area.
[0114] In one possible implementation, referring to Figure 5(A), the display area of the first window is located in part or all of the first folding area, the second folding area, and the bendable area. For example, the display area of the first window may be located in the centered display area of the foldable display. The foldable PC can display the application window corresponding to the memo application in the centered display area of the foldable display.
[0115] In another possible implementation, as shown in Figure 5(B), the display area of the first window occupies the entire display area of the foldable display. The foldable PC can display the application window corresponding to the Notes application in full screen.
[0116] It should be noted that the embodiments of this application do not limit the specific location corresponding to the display area of the first window.
[0117] In some embodiments of this application, users typically hold the foldable PC in different ways depending on its posture.
[0118] The foldable PC can be configured to use either a landscape or portrait orientation.
[0119] For example, if the foldable PC is in portrait mode, the user can hold it using a first grip method (such as vertical grip). Alternatively, if the foldable PC is in landscape mode, the user can hold it using a second grip method (such as horizontal grip). If the user wants to change the screen orientation (such as switching from portrait to landscape viewing), they will rotate the foldable PC, changing it from portrait to landscape mode and altering their grip. It should be noted that this application does not specifically limit the posture of the foldable PC.
[0120] In some embodiments of this application, when the foldable PC is in a first posture and the foldable display screen is in an unfolded state, the first window is displayed, and the display direction of the first window is a first direction, which is either a landscape direction or a portrait direction.
[0121] In one feasible approach, when the foldable PC is in portrait orientation and the foldable display is unfolded, the foldable PC can display a first window on the foldable display. The first window is displayed in portrait orientation.
[0122] For example, referring to Figure 6(A), when the foldable PC is in portrait orientation and the foldable display is unfolded, the application window corresponding to the Notes app can be displayed in the centered display area of the foldable display. The display orientation of the application window corresponding to the Notes app is portrait orientation.
[0123] In another possible implementation, with the foldable PC in landscape orientation and the foldable display unfolded, the foldable PC can display a first window on the foldable display. The first window is displayed in landscape orientation.
[0124] Referring to Figure 6(B), when the foldable PC is in landscape orientation and the foldable display is unfolded, the application window for the Notes app can be displayed in the centered area of the foldable display. The display orientation of the Notes app window is landscape.
[0125] S402, The foldable PC responds to a bending operation on the foldable display screen by updating the display of the first window while the foldable display screen is in a bent state.
[0126] The updated display area of the first window is located in part or all of the first folded area or the second folded area, and the bending state is used to indicate that the first folded area and the second folded area are not on the same plane.
[0127] In some embodiments of this application, users typically fold the foldable display before using the foldable PC, such as to open an application. In this way, the foldable PC can update the display of the first window in response to a bending operation on the foldable display, while the foldable display is in a bent state.
[0128] The bending state indicates that the first folding area and the second folding area are not on the same plane, that is, the first screen and the second screen are not on the same plane. In other words, when the foldable PC is in the bending state, it can avoid the bending area to display the first window.
[0129] In one feasible approach, when the foldable display is in a bent state, the foldable PC can display a first window in part or all of the first fold area.
[0130] For example, referring to Figure 7(A), continuing with the example of the first window being the application window corresponding to the Notes app, and the foldable PC in portrait orientation, the foldable PC can display the application window corresponding to the Notes app in part or all of the first folded area when the foldable display is in a bent state.
[0131] In one feasible approach, when the foldable display is in a bent state, the foldable PC can display a first window in part or all of the second fold area.
[0132] For example, referring to Figure 7(B), when the foldable display is in a bent state, the foldable PC can display the application window corresponding to the memo application in part or all of the second fold area.
[0133] In one feasible approach, when the foldable display is in a bent state, the foldable PC can also display a first window in part or all of the first folding area and part or all of the second folding area.
[0134] For example, referring to Figure 7(C), when the foldable display is in a bent state, the foldable PC can display the application window corresponding to the memo application in a portion of the first folding area and a portion of the second folding area. That is, the application window corresponding to the memo application is divided into two parts and displayed simultaneously in the first folding area and the second folding area.
[0135] In some embodiments of this application, the number of first windows can be one or more.
[0136] For example, when there are three first windows, two first windows can be displayed in a partial or complete area of the first folding area, or two first windows can be displayed independently, while one first window can be displayed in a partial or complete area of the first folding area.
[0137] It should be noted that the embodiments of this application do not limit the specific implementation of the display area of the first window.
[0138] In some embodiments, the first folding area may be the display area corresponding to the first screen, and the second folding area may be the display area corresponding to the second screen.
[0139] In other embodiments, the first folding area can be the display area corresponding to the second screen, and the second folding area can be the display area corresponding to the first screen.
[0140] In some embodiments of this application, the updated display area of the first window is located in part or all of the first folded area.
[0141] Wherein, the angle between the plane where the first folded area is located and the horizontal plane is greater than or equal to the angle between the plane where the second folded area is located and the horizontal plane.
[0142] In other words, when the foldable display is in a vertical folded state, the foldable PC can display the first window in part or all of the first fold area.
[0143] In some examples, the bending state can include both landscape bending state and portrait bending state.
[0144] Referring to Figure 8(A), the vertical screen bending state can be understood as follows: the relative position of the first folding area and the second folding area is vertical, and the axis of rotation between the first folding area and the second folding area is horizontal. The first folding area and the second folding area can rotate vertically around the horizontal axis. In this way, the area located below will be closer to the horizontal plane or located on the horizontal plane.
[0145] Referring to Figure 8(B), the horizontal screen bending state can be understood as follows: the relative positional relationship between the first folding area and the second folding area is a left-right positional relationship, the axis of rotation between the first folding area and the second folding area is vertical, and the first folding area and the second folding area can rotate left and right around the vertical axis of rotation.
[0146] Specifically, when the folding display is in a vertical folding state, the angle between the plane of the first folding area and the horizontal plane is greater than or equal to the angle between the plane of the second folding area and the horizontal plane.
[0147] For example, the angle between the plane containing the first folded area and the horizontal plane is the first angle, and the angle between the plane containing the second folded area and the horizontal plane is the second angle. See Figure 9(A), where the first angle is greater than the second angle.
[0148] As another example, see Figure 9(B), when the bending angle between the first screen and the second screen is 90°, the first angle can also be equal to the second angle.
[0149] Understandably, in order to fit the user's usage habits, the first fold area is the display area located above the second fold area, and the first fold area will be far away from the horizontal plane.
[0150] In some examples, the locations of the first and second folding areas can be preset. Similarly, the positions of the first and second screens can also be preset.
[0151] For example, the screen closest to the charging port in the foldable PC is the second screen, and the area closest to the charging port is the second folding area. The screen furthest from the charging port is the first screen, and the area furthest from the charging port is the first folding area.
[0152] For example, when the foldable display is in its vertical folded state, the foldable PC has a top edge and a bottom edge. The screen near the top edge of the foldable PC is the first screen, and the area near the top edge of the foldable PC is the first folding area. The screen near the bottom edge of the foldable PC is the second screen, and the area near the bottom edge of the foldable PC is the second folding area.
[0153] It should be noted that the embodiments of this application do not specifically limit the process of dividing the first screen, the second screen, the first folding area, and the second folding area.
[0154] Thus, in this embodiment, the updated first window's display area is located in part or all of the first folding area. The angle between the plane of the first folding area and the horizontal plane is greater than or equal to the angle between the plane of the second folding area and the horizontal plane. On one hand, the foldable PC can avoid the bendable area during the display of the updated first window, preventing screen glare and the inability to interact with content within the bendable area. On the other hand, when the folded display is in a vertical bend state, the foldable PC can prioritize displaying in the upper area, which is more in line with the user's horizontal line of sight and conforms to the user's usage habits, thereby improving the user experience.
[0155] In some embodiments of this application, the user can switch the foldable display screen from an unfolded state to a folded state. The foldable PC can adjust the display position of the first window in response to the switching of the foldable display screen state.
[0156] In one feasible approach, the foldable PC can adjust the display area of the first window to the first folded area in response to a bending operation on the foldable display.
[0157] For example, referring to Figure 10, when the foldable PC is in portrait orientation and the foldable display is unfolded, the application window for the Notes app can be displayed in the centered display area of the foldable display. After the user folds the foldable display, the foldable PC can adjust the application window for the Notes app to be displayed in the first folding area in response to the bending operation of the foldable display.
[0158] Thus, in this embodiment of the foldable PC, when the foldable display screen switches from the unfolded state to the bent state, the first window, which is already centered, can be fully displayed within the first folding area. This avoids obstructing the bendable area while facilitating user interaction with the first window, thereby improving the user experience when the foldable display screen is in the bent state.
[0159] In some embodiments of this application, the user can change the orientation of the foldable PC before switching the foldable display from the unfolded state to the folded state. For example, the user can adjust the foldable PC from a landscape orientation to a portrait orientation before folding the display. Alternatively, the user can adjust the foldable PC from a portrait orientation to a landscape orientation before folding the display.
[0160] In response to a bending operation on the foldable display screen, while the foldable PC is in a bent state, during the process of updating the display of the first window, the display orientation of the first window can be adjusted from the first orientation to the second orientation as the foldable PC changes from the first orientation to the second orientation. The second orientation is different from the first orientation. Then, in response to the bending operation on the foldable display screen, the foldable PC updates the display of the first window while the foldable display screen is in a bent state.
[0161] For example, the first direction can be landscape orientation, and the second direction can be portrait orientation. As another example, the first direction can be portrait orientation, and the second direction can be landscape orientation.
[0162] In one feasible approach, the foldable PC can adjust the display orientation of the first window from landscape to portrait in response to the foldable PC changing from a landscape orientation to a portrait orientation.
[0163] Next, in response to a bending operation on the foldable display, the foldable PC updates the display of the first window while the foldable display is in a bent state.
[0164] In other words, after detecting a change in posture, the foldable PC first adjusts the display orientation of the first window, and then displays the first window in part or all of the first folding area or part or all of the second folding area.
[0165] Thus, this embodiment can also be applied to scenarios combining device posture switching and foldable display state switching. The foldable PC can adjust the display orientation of the first window in response to device posture switching. Then, the foldable PC can update the display of the first window in response to foldable display state switching. This avoids the bendable area while facilitating user interaction with the first window. This improves the flexibility of the display method and the user experience when the foldable display is in a bent state.
[0166] The above example demonstrates how a foldable PC can switch from landscape to portrait mode. Of course, a foldable PC can also switch from portrait to landscape mode.
[0167] For example, when the foldable PC is in portrait orientation and the foldable display is unfolded, the application window for the Notes app can be displayed in the centered display area of the foldable display. After the user folds the foldable display, the foldable PC can respond to the bending operation of the foldable display by adjusting the application window for the Notes app to be displayed in the first fold area.
[0168] The foldable PC can also respond to the foldable PC changing from a portrait to a landscape orientation, adjusting the display direction of the first window from portrait to landscape, and displaying the first window in the first folding area.
[0169] It should be noted that the embodiments of this application do not specifically limit the implementation process of the posture switching of the foldable PC and the state switching of the foldable display screen.
[0170] In some embodiments of this application, referring to Figure 11, when a user folds the display screen, switching it from an unfolded state to a bent state, the folding angle detection sensor can report the folding state to the screen management module (S1101). The folding state can include the bending angle of the display screen. The screen management module can determine whether the current display screen is in a bent or unfolded state based on the folding state.
[0171] When the screen management module determines that the current foldable display screen is in a bent state, it can send the screen size parameters and the size parameters of the bendable area to the window management module (S1102). The window management module can calculate the area size parameters of the first folding area and the area size parameters of the second folding area based on the screen size parameters and the size parameters of the bendable area (S1103).
[0172] For example, referring to Figure 12, the window management module can establish a Cartesian coordinate system with the top left corner as the origin when the foldable PC is in portrait mode. The top face of the foldable PC is used as the X-axis, and the left face perpendicular to the top face is used as the Y-axis. The screen size parameters can include the coordinates of the top left corner of the screen, the width of the screen, and the height of the screen, such as RectA(0, 0, W0, H0). The size parameters of the bendable area can include the coordinates of the top left corner of the bendable area, the width of the bendable area, and the height of the bendable area, such as RectZ(Xz, Yz, W0, Hz). The window management module can calculate the area size parameters of the first foldable area (e.g., RectB(0, 0, W0, Yz)) and the area size parameters of the second foldable area (e.g., RectC(0, Yz+Hz, W0, H0-Yz-Hz)) based on the screen size parameters and the size parameters of the bendable area.
[0173] It should be noted that the area dimensions of the first and second folding areas can be preset, and this application embodiment does not limit this. Furthermore, the aforementioned dimension parameters may also include other parameters, or can be calculated and set based on other rules. This application embodiment does not limit this.
[0174] In some embodiments of this application, the window management module can traverse the displayed windows and adjust the window size parameters according to preset rules (S1104). The displayed window can be the first window, and the window management module can adjust the size parameters of the first window according to preset rules.
[0175] Specifically, during the process of updating and displaying the first window, the foldable PC can obtain the initial size parameters of the first window and the area size parameters of the first folding area. The initial size parameters are the size parameters of the first window before the update and display.
[0176] The foldable PC can also adjust the height of the first window to be less than or equal to the area height if the height in the initial size parameters is greater than the area height in the area size parameters. Then, the foldable PC displays the adjusted first window in the first folded area.
[0177] For example, the window management module can obtain the initial size parameters of the first window. For instance, referring to Figure 13, the initial size parameters are Rect1(X1, Y1, W1, H1). When the height in the initial size parameters is less than or equal to the area height in the area size parameters of the first folded area, the first window can be directly translated. For example, the first window can be moved up to Rect1'(X1, Yz-H1, W1, H1) to ensure that the first window can be fully displayed in the first folded area.
[0178] When the height in the initial size parameters is greater than the area height in the area size parameters of the first folded area, the height of the first window needs to be adjusted to the area height. Alternatively, the height of the first window can be adjusted to be less than the area height. Of course, the width of the first window can also be adjusted based on the above adjustment process, making it less than or equal to the area width of the first folded area. This application embodiment does not limit this.
[0179] For example, referring to Figure 14, if the initial size parameter is Rect2(X2, Y2, W2, H2), that is, H2 is greater than Yz, the excess height needs to be reduced to within the working area of the first folded area. Thus, the height of the first window needs to be adjusted to the area height Yz of the first folded area, and then translated to the first folded area. The final adjusted Rect2' is (X2, 0, W2, Yz).
[0180] In this embodiment, when the first window is displayed in the first folded area, the position of the first window is not adjusted. If the width and height of the first window are greater than the area height and area height of the first folded area, the width of the first window will be adjusted to be less than or equal to the area width, and the height of the first window will be adjusted to be less than or equal to the area height.
[0181] Then, the first window is panned and moved into the first folded area for display. If the first window is not displayed in the first folded area, and the width and height of the first window are less than or equal to the area height and area height of the first folded area, the first window is directly panned and moved into the first folded area for display.
[0182] Thus, this embodiment of the application, through the above-described method, adds the calculation of the size parameters of the first and second folding areas of the foldable display screen in the bent state, and calculates the size parameters of the already opened first window, so as to update the display of the first window. Therefore, during the display of the first window, the bendable area can be avoided, facilitating user interaction with the first window. This improves the user experience when the foldable display screen is in the bent state.
[0183] In some embodiments of this application, when there are multiple first windows, the foldable PC can rearrange the positions of the multiple first windows that have been displayed so that the multiple first windows are fully displayed in part or all of the area of the first folding area.
[0184] For example, referring to Figure 15, when the foldable PC is in portrait orientation and the foldable display is unfolded, the application windows for the Notes app and the Calculator app can be displayed in the centered display area of the foldable display. After the user folds the foldable display, the foldable PC can respond to the bending operation of the foldable display by adjusting the application windows for the Notes app and the Calculator app to be displayed in the first folding area.
[0185] It should be noted that the number of first windows is not specifically limited in the embodiments of this application.
[0186] In some embodiments of this application, for windows displayed after the first window, such as newly opened windows by the user, the collapsible PC can display a second window in response to an opening operation. The display area of the second window is located in a portion or all of the first collapsible area or the second collapsible area.
[0187] In other words, the newly displayed second window will be shown within a portion or all of the first or second folding area. The display position of the second window will avoid the bendable area, preventing inconvenience in interacting with content within that area. It also eliminates screen glare. Furthermore, users do not need to interact with the bendable area, extending the lifespan of the foldable display and thus improving the user experience.
[0188] In one possible implementation, the display area of the second window is located in a portion or all of the first folded area.
[0189] For example, when the folded display is in a vertical folded state, the foldable PC can display a second window in part or all of the first folding area.
[0190] Specifically, referring to Figure 16, the window management module can respond to the opening operation of the second window (S1601) by sending an acquisition request to the folding angle detection sensor (S1602), the acquisition request being used to acquire the current folding state of the folding display. The folding angle detection sensor reports the folding state to the screen management module according to the acquisition request (S1603). This folding state may include the bending angle of the folding display. The screen management module can determine that the folding display is in a bent state based on the bending angle. The screen management module reports the bending state to the window management module (S1604). When the folding display is in a bent state, the window management module displays the second window in the first folding area (S1605).
[0191] For example, referring to Figure 17, the collapsible PC, in response to an open operation on a second window, can display the second window, such as the application window corresponding to a calculator application, in the first collapsible area. The second window can be stacked on top of the first window.
[0192] In other words, in this embodiment of the application, when the foldable display screen is in a vertical folded state, the foldable PC can display a second window in the first folding area. The second window is preferentially displayed in the upper area, which is closer to the user's visual center of gravity and conforms to the user's usage habits. This improves the user experience.
[0193] In some embodiments of this application, during the process of displaying the second window in the first folding area of the foldable PC, the second window can be displayed according to a preset display rule.
[0194] In one possible implementation, the preset display rules may include displaying the second window according to a preset ratio and the area size parameters of the first folded area.
[0195] Specifically, the window management module can obtain the area size parameters of the first folded area and calculate the size parameters of the second window based on a preset ratio and the area size parameters. The window management module can also display the second window within the first folded area according to the size parameters of the second window.
[0196] For example, the preset ratio can be 0.7, 0.8, or 0.9. The window management module can set the size parameters of the second window according to the area size parameters and the preset ratio. For example, the second window can be displayed in the center according to the preset ratio of the area height and the area height in the area size parameters (such as 0.7).
[0197] Thus, in this embodiment, a new window can be displayed based on the area size parameters of the first folding area and a preset ratio, allowing the user to see the new window within the first folding area. This improves the user experience when the foldable display is in a bent state.
[0198] In another possible approach, the preset display rules may include displaying a second window based on the size parameters of the history window.
[0199] Specifically, the window management module can obtain the size parameters of historical windows, which are windows that were displayed in the first folding area before the second window. The window management module can also display the second window in the first folding area based on the size parameters of the historical windows.
[0200] For example, the history window may include the first window described above. The window management module can obtain the size parameters of the first window to set the size parameters of the second window. For example, the second window can be displayed centered according to the height and height parameters of the first window.
[0201] Thus, in this embodiment, a new window can be displayed based on the size parameters of the historical window. Since the historical window is always displayed in the first folding area, the new window can be directly displayed according to its size parameters, allowing the user to see it in the first folding area. This improves the user experience when the foldable display is in a bent state.
[0202] In some embodiments of this application, when the foldable PC switches the state of the foldable display from a bent state to an unfolded state, the size parameters corresponding to the displayed window can be saved. Thus, if the foldable display switches back from an unfolded state to a bent state while the displayed window is still displayed, the saved size parameters can be directly used to display the displayed window.
[0203] In some embodiments of this application, the foldable PC can save the display position information corresponding to the displayed window when the state of the foldable display screen switches from a bent state to an unfolded state.
[0204] For example, display position information can be used to indicate whether the displayed window is shown in the first or second folded area. The display position information can be determined based on the size parameters corresponding to the displayed window. For instance, the display position information can be determined based on the center position of the window's title bar. Specifically, the display position information (first or second folded area) is determined based on the Y-axis coordinate in the size parameters.
[0205] In this way, when the folding display screen switches from an unfolded state to a folded state and the already displayed window is still displayed, the already displayed window can be displayed directly based on its display position information.
[0206] Let's continue using the already displayed window as the first window as an example.
[0207] Referring to Figure 18, the window management module can, in response to the folded display screen changing from a bent state to an unfolded state, save and update the display position information of the first window (S1801). The display position information is used to indicate that the first window is displayed in the first folded area. The window management module can also, in response to the folded display screen changing from an unfolded state to a bent state, display the first window in the first folded area according to the updated display position information of the first window (S1802).
[0208] For example, referring to Figure 19(A), the displayed window includes two first windows: one first window is displayed in the first folding area, and the other first window is displayed in the second folding area. After the user unfolds the folded display screen, referring to Figure 19(B), the window management module can determine the display position information of the two windows based on the center position of the title bar in the window. After the user folds the display screen again, referring to Figure 19(C), the window management module can display two windows based on the display position information of the two windows, that is, one first window is displayed in the first folding area, and the other first window is displayed in the second folding area.
[0209] Thus, this embodiment of the application can save the display position of the already displayed window. When the folding display screen switches from the unfolded state to the folded state again, if the already displayed window still needs to be displayed, it will be displayed directly according to the saved display position. This eliminates the need for the user to manually adjust the window's display position, improving the user experience.
[0210] In some solutions, multiple embodiments of this application can be combined, and the combined solution can be implemented. Optionally, some operations in the process of each method embodiment may be combined, and / or the order of some operations may be changed. Furthermore, the execution order between the steps of each process is merely exemplary and does not constitute a limitation on the execution order between steps; other execution orders are also possible. It is not intended to indicate that the execution order is the only possible order in which these operations can be performed.
[0211] Those skilled in the art will conceive of various ways to reorder the operations described in the embodiments of this application. Furthermore, it should be noted that process details involved in one embodiment of this application are similarly applicable to other embodiments, or different embodiments can be combined.
[0212] Furthermore, some steps in the method embodiments can be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and can be deleted in certain use cases. Or, other possible steps may be added to the method embodiments.
[0213] Furthermore, the various method embodiments can be implemented individually or in combination.
[0214] This application also provides an electronic device, such as the foldable PC described above, as shown in FIG20. The foldable PC may include one or more processors 2010, memory 2020 and communication interfaces 2030.
[0215] The memory 2020, communication interface 2030, and processor 2010 are coupled together. For example, the memory 2020, communication interface 2030, and processor 2010 can be coupled together via bus 2040.
[0216] The communication interface 2030 is used for data transmission with other devices. The memory 2020 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 2010, cause the electronic device to perform the relevant method steps described in this application embodiment.
[0217] The processor 2010 can be a processor or 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 can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. The processor can also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0218] Bus 2040 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The aforementioned bus 2040 can be categorized into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used in Figure 20, but this does not indicate that there is only one bus or one type of bus.
[0219] This application also provides an electronic device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the relevant method steps in the above method embodiments.
[0220] This application also provides a communication device, which includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, which includes computer instructions, and when the computer instructions are executed by the processor, the communication device performs the relevant method steps in the above method embodiments.
[0221] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.
[0222] This application also provides a computer program product containing instructions that, when executed on a computer or processor, cause the computer or processor to perform the relevant method steps as described in the above method embodiments.
[0223] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, and when the program or instructions are executed by the processor, the chip system enables the methods in any of the above method embodiments.
[0224] Optionally, the chip system may include one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0225] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.
[0226] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0227] The electronic devices, computer storage media, or computer program products provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0228] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above 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.
[0229] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0230] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units, located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0231] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0232] If the integrated unit is implemented as 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 solutions of the embodiments of this application, or the contributing parts, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0233] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A display method characterized by comprising: Applied to an electronic device, the electronic device including a foldable display screen, the foldable display screen including a first folding area, a second folding area, and a bendable area, the method includes: When the foldable display screen is in the unfolded state, a first window is displayed, and the display area of the first window is located in part or all of the first folding area, the second folding area and the bendable area; In response to a bending operation on the folding display screen, the first window is updated and displayed when the folding display screen is in a bent state; The updated display area of the first window is located in part or all of the first folded area or the second folded area.
2. The method of claim 1, wherein, The updated display area of the first window is located in part or all of the first folded area; Wherein, the angle between the plane where the first folded area is located and the horizontal plane is greater than or equal to the angle between the plane where the second folded area is located and the horizontal plane.
3. The method according to claim 1 or 2, characterized in that, The method further includes: In response to an open operation on the second window, the second window is displayed, and the display area of the second window is located in a part or all of the first folded area or the second folded area.
4. The method of claim 3, wherein, The display area of the second window is located in part or all of the first folded area.
5. The method according to any one of claims 1 to 4, characterized in that, The step of displaying the first window when the foldable display screen is in the unfolded state includes: When the electronic device is in a first posture and the foldable display screen is in an unfolded state, the first window is displayed, and the display direction of the first window is a first direction, which is either a landscape direction or a portrait direction. The step of updating the display of the first window in response to a bending operation on the foldable display screen, while the foldable display screen is in a bent state, includes: In response to the electronic device changing from the first posture to the second posture, the display direction of the first window is adjusted from the first direction to the second direction, which is different from the first direction; In response to a bending operation on the folding display screen, the first window is updated and displayed when the folding display screen is in a bent state.
6. The method according to any one of claims 1 to 5, characterized in that, The update display of the first window includes: Obtain the initial size parameters of the first window and the area size parameters of the first folded area, wherein the initial size parameters are the size parameters of the first window before the update display; If the height in the initial size parameters is greater than the area height in the area size parameters, the height of the first window is adjusted to be less than or equal to the area height. The adjusted first window is displayed in the first folded area.
7. The method of claim 3, wherein, The display of the second window includes: Obtain the region size parameters of the first folded area; Calculate the size parameters of the second window based on the preset ratio and the area size parameters; The second window is displayed in the first folded area according to the size parameters of the second window.
8. The method of claim 3, wherein, The display of the second window includes: Obtain the size parameters of the history window, which is the window that was displayed in the first folding area before the second window; The second window is displayed in the first folded area according to the size parameters of the history window.
9. The method according to any one of claims 1 to 8, characterized in that, When the foldable display screen is in a bent state, the bending angle between the first folding area and the second folding area along the bending direction is greater than a first threshold and less than 180 degrees, or greater than 180 degrees and less than or equal to a second threshold.
10. The method of claim 2, wherein, After the update displays the first window, the method includes: In response to the folding display screen being adjusted from the bent state to the unfolded state, the display position information of the first window is saved and updated, and the display position information is used to indicate that the first window is displayed in the first folding area; In response to the folding display screen changing from the unfolded state to the folded state, the first window is displayed in the first folding area according to the updated display position information of the first window.
11. The method according to any one of claims 1 to 10, characterized in that, The electronic devices include foldable laptops and foldable tablets.
12. An electronic device, comprising: The electronic device includes a foldable display screen, a memory, and one or more processors; the foldable display screen is used to display a first window and a second window, and the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the method as described in any one of claims 1-11.
13. The apparatus of claim 12, wherein, The electronic devices include foldable laptops and foldable tablets.
14. A computer readable medium characterized by The computer-readable storage medium stores instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-11.
15. A computer program product, characterised in that, The computer program product includes instructions that, when executed on a computer or processor, cause the computer or processor to perform the method as described in any one of claims 1-11.