Display method and electronic equipment
By transferring user functions from the first display screen to the second display screen when the first display screen is in the folded state in foldable electronic devices, the content display problem during the transition from unfolded to folded state is solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2026-03-24
AI Technical Summary
When a foldable electronic device changes from an unfolded state to a folded state, the first display screen goes into an off state, and the content of the first display screen in the unfolded state cannot be displayed on the second display screen, resulting in a poor user experience.
When the first display screen is in a folded state, the second display screen is used to display the same user functions as the first display screen. By responding to the user's folding operation, a second user interface is displayed on the second display screen, realizing the function flow between different display screens.
This improves the user experience, allowing the second display to continue providing the same user functionality even after the first display is folded, ensuring service continuity.
Smart Images

Figure CN121722342A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of electronic devices, and in particular, to a display method and an electronic device. BACKGROUND
[0002] With the increasing demand for portability of electronic devices, foldable electronic devices have become a development trend of electronic devices. For a foldable electronic device, when the electronic device is in an unfolded state, a first display screen of the electronic device provides a display function, and when the electronic device is in a folded state, a second display screen of the electronic device provides the display function.
[0003] Currently, when a foldable electronic device changes from an unfolded state to a folded state, the first display screen enters an off-screen state and does not display content, but the foldable electronic device cannot display the content displayed by the first display screen in the unfolded state on the second display screen to continue to provide services for the user, and the user experience is low. SUMMARY
[0004] Embodiments of the present application provide a display method and an electronic device to realize the flow of functions between different display screens of a foldable electronic device and improve the user experience.
[0005] In a first aspect, embodiments of the present application provide a display method, which is applied to an electronic device. The electronic device includes a foldable first display screen and a second display screen. When the first display screen is in a folded state, the second display screen is used to display a user interface. The method includes:
[0006] When the first display screen is in an unfolded state, the electronic device can display a first user interface on the first display screen. The electronic device can display a second user interface on the second display screen when the first display screen is in a folded state in response to a folding operation performed by a user on the first display screen. The second user interface represents the same user function as the first user interface.
[0007] In the method, the electronic device can transfer the user function represented by the first user interface on the first display screen to the second display screen when the user folds the first display screen, so that the second display screen can continue to provide the user function provided to the user before the first display screen is folded when the first display screen is in a folded state, and the flow of functions between different display screens is completed, thereby improving the user experience.
[0008] In a possible design, the electronic device can also determine a folding speed of the first display screen during the folding process of the first display screen in response to the folding operation. The electronic device can display the second user interface on the second display screen according to the folding speed when the first display screen is in a folded state.
[0009] Through the design, the electronic device can determine whether to transfer the user function of the first user interface in the first display screen to the second display screen for display according to the folding speed when the user folds the first display screen, so as to continue to provide the user with the user function provided by the user before the first display screen is folded on the second display screen when the first display screen is in the folded state, complete the function flow between different display screens, and thus the use experience of the user can be improved.
[0010] In a possible design, when the folding speed is less than or equal to the speed threshold, the electronic device can further display a second user interface on the second display screen according to display content of the first user interface.
[0011] In a possible design, the electronic device can further display prompt information on the first display screen during folding of the first display screen in response to the folding operation, the prompt information being used to prompt the user whether to switch screens; and the electronic device can further display the second user interface on the second display screen when the first display screen is in the folded state in response to a confirmation operation performed by the user on the prompt information on the first display screen, the confirmation operation being used to indicate switching of the screens.
[0012] Through the design, the electronic device can display prompt information on the first display screen during folding of the first display screen, prompting the user whether to switch screens, so that the user can choose whether to continue the user function on the first display screen to the second display screen, and thus the use experience of the user can be improved. In addition, when the user performs a confirmation operation on the prompt information on the first display screen, the electronic device can display the second user interface on the second display screen when the first display screen is in the folded state in response to the confirmation operation triggered by the user, to continue to provide the user with the user function provided by the user before the first display screen is folded, and complete the function flow between different display screens.
[0013] In a possible design, the electronic device can display dynamically changing prompt information on the first display screen during folding of the first display screen.
[0014] In a possible design, the dynamic change includes at least one of the following: position change, shape change, size change.
[0015] In a possible design, the electronic device can further acquire a current folding angle of the first display screen during folding according to a set sampling frequency; the electronic device can determine a display parameter of the prompt information according to the current folding angle, the display parameter including at least one of the following: position, shape, size; and the electronic device can display the prompt information on the first display screen according to the display parameter, the prompt information being a thumbnail of the first user interface or a floating button.
[0016] In a possible design, the prompt information is a thumbnail of the first user interface, a floating button, or a notification message.
[0017] In a possible design, when the prompt information is the thumbnail of the first user interface, the electronic device can further determine, according to a mapping relationship between the folding angle and the interface zoom scale, a target interface zoom scale corresponding to the current folding angle, and determine the size of the thumbnail according to the target interface zoom scale; the electronic device can further determine, according to the operation hot area of the first display screen, a user operation state of the electronic device, where the user operation state is a left-hand operation state or a right-hand operation state; and the electronic device can further determine, according to the user operation state and the size of the thumbnail, the position of the thumbnail.
[0018] Through the design, the electronic device can determine, according to the current folding angle and the operation hot area, a position on the first display screen that is convenient for the user to operate the thumbnail, to display the thumbnail of the first user interface at the position on the first display screen, and prompt the user whether to switch the display screen, thereby improving the user experience.
[0019] In a possible design, when the prompt information is the floating button, the electronic device can further determine, according to the current folding angle, a vertical position of the floating button; the electronic device can determine, according to the operation hot area of the first display screen, a user operation state of the electronic device, and determine, according to the user operation state, a horizontal position of the floating button. Optionally, the position of the floating button includes the vertical position and the horizontal position.
[0020] Through the design, the electronic device can determine, according to the current folding angle and the operation hot area, a position on the first display screen that is convenient for the user to operate the floating button, to display the floating button at the position on the first display screen, and prompt the user whether to switch the display screen, thereby improving the user experience.
[0021] In a possible design, when the prompt information is the notification message, the electronic device can further determine, according to the width of the first display screen, the width of the notification message; and the electronic device can further determine, according to the current folding angle, a vertical position of the notification message; optionally, the position of the notification message includes the vertical position.
[0022] Through the design, the electronic device can determine, according to the current folding angle, a vertical position of the notification message displayed on the first display screen, to facilitate the user to perform a confirmation operation on the notification message displayed on the first display screen, thereby improving the user experience.
[0023] In a possible design, when the first display screen displays the dynamically changing prompt information, the first display screen does not display other user interfaces.
[0024] In one possible design, the first user interface is the user interface of the first application, and the second user interface is the user interface of the first application; while the first application is in a continuous running state, the first application is in a folded state and the second user interface is displayed on the second display screen in response to the user's folding operation on the first display screen.
[0025] Secondly, embodiments of this application provide an electronic device, which includes a display screen, one or more memories, and one or more processors; wherein the display screen is used to display a user interface; the one or more memories are used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the one or more processors, the electronic device performs the method described in any possible design of any aspect of the first application. In embodiments of this application, the display screen includes a foldable first display screen and a second display screen.
[0026] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when run on an electronic device, causes the electronic device to perform the method described in any possible design of any aspect of the first aspect above.
[0027] Fourthly, this application provides a computer program product comprising a computer program or instructions that, when executed on an electronic device, cause the electronic device to perform the method described in any possible design of any aspect of the first aspect above.
[0028] Fifthly, this application provides a chip system including a processor and a memory, wherein the memory stores instructions; when the instructions are executed by the processor, they implement the method described in any possible design of any aspect of the first aspect above. The chip system may be composed of chips or may include chips and other discrete devices.
[0029] For the beneficial effects of the third to fifth aspects mentioned above, please refer to the description of the beneficial effects of the relevant content in the first aspect mentioned above, which will not be repeated here. Attached Figure Description
[0030] Figure 1 A schematic diagram of an electronic device provided as an example in this application;
[0031] Figure 2a A schematic diagram of an electronic device in an unfolded state, provided as an example of this application;
[0032] Figure 2b A schematic diagram of an electronic device in a folded state, provided as an example of this application;
[0033] Figure 3 A schematic diagram of the hardware structure of a possible electronic device provided as an example of this application;
[0034] Figure 4 A schematic diagram of a first display screen during the folding process provided in this application;
[0035] Figure 5 A schematic diagram illustrating the functional flow during the folding process provided in this application;
[0036] Figure 6 A schematic diagram of a folding process provided for this application;
[0037] Figure 7 A schematic diagram of the display area of a first display screen during folding, provided in this application;
[0038] Figure 8 A schematic diagram of a first user interface thumbnail during the folding process provided in this application;
[0039] Figure 9 A schematic diagram of a first user interface thumbnail during the folding process provided in this application;
[0040] Figure 10 A schematic diagram of a floating button during folding provided in this application;
[0041] Figure 11 A schematic diagram of a floating button during folding provided in this application;
[0042] Figure 12 A schematic diagram of a floating button during folding provided in this application;
[0043] Figure 13 A schematic diagram illustrating the functional flow between different displays provided in this application;
[0044] Figure 14 A schematic diagram of a folding process is provided for this application;
[0045] Figure 15 A schematic diagram of the structure of a display system provided in this application;
[0046] Figure 16 A flowchart illustrating a display use case provided in this application;
[0047] Figure 17 A schematic diagram of another display system provided in this application;
[0048] Figure 18 A flowchart illustrating a display use case provided in this application;
[0049] Figure 19 This is a flowchart illustrating a display method provided in this application. Detailed Implementation
[0050] The electronic devices in this application embodiment can refer to terminal devices with foldable first and second displays, such as mobile phones, tablets, wearable devices with wireless communication functions (e.g., watches, bracelets), in-vehicle terminal devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart home devices (e.g., smart TVs, smart speakers), smart robots, workshop equipment, wireless terminals in self-driving, remote medical surgery, smart grids, transportation safety, smart cities, or smart homes. Wearable devices are portable devices with foldable displays that users can wear directly on their bodies or integrate into their clothing or accessories.
[0051] For example, electronic devices can also be portable terminal devices that include other functions such as personal digital assistants and / or music players. These portable terminal devices can also be other types of portable terminal devices, such as laptops with touch-sensitive surfaces (e.g., touch panels).
[0052] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.
[0053] Unless otherwise stated, the ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects and are not used to limit the size, content, order, timing, priority, or importance of the multiple objects. For example, "first file" and "second file" are only used to distinguish different files and do not indicate that the two files are different in size, content, priority, or importance.
[0054] The technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0055] See Figure 1 As shown, the electronic device includes a foldable first display screen and a second display screen, which are not connected to each other. The first display screen can fold inwards, specifically either vertically or horizontally. Figure 1 As shown, the electronic device includes a hinge, allowing users to fold or unfold the device to change the form of the first display screen. The electronic device can then choose to display on either the first or second display screen, providing users with diverse display effects. For example, when the first display screen folds vertically, the electronic device can be a vertically folding phone (also known as a small folding phone), the first display screen can be the inner screen of the vertically folding phone, and the second display screen can be the outer screen of the vertically folding phone.
[0056] The first display screen of the electronic device in this application embodiment supports two states: folded state and unfolded state. For example... Figure 2a As shown, when the first display screen is in the unfolded state, it is not folded, and its folding angle is 180°. When the first display screen is in the unfolded state, the electronic device can display a user interface on it. Figure 2b As shown, when the first display screen is in a folded state, it is folded to its maximum extent, at which point the folding angle is 0°. In this scenario, the first display screen of the electronic device is folded inward (i.e., folded in half) to its maximum extent. Even if content is displayed on the first display screen, it is invisible to the user, while the content displayed on the second display screen is visible to the user. Therefore, when the first display screen is in a folded state, the electronic device can display the user interface on the second display screen. The folding angle is the angle between the two parts of the display screen formed after the first display screen is folded. During the folding process, the folding angle of the first display screen is greater than 0° and less than 180°.
[0057] However, in the prior art, when the first display screen of an electronic device changes from an unfolded state to a folded state, the user may not be able to effectively view the content displayed on the first display screen, and the second display screen of the electronic device may also be unable to display the content displayed on the first display screen when it is unfolded, thus failing to continue providing services to the user and resulting in a poor user experience.
[0058] Therefore, embodiments of this application provide a display method and an electronic device. In this method, the electronic device includes a foldable first display screen and a second display screen; wherein, when the first display screen is in a folded state, the second display screen is used to display a user interface. When the first display screen is in an unfolded state, the electronic device can display a first user interface on the first display screen. The electronic device can also, in response to a user's folding operation on the first display screen, display a second user interface on the second display screen when the first display screen is in a folded state. The second user interface represents the same user function as the first user interface. Thus, when the first display screen changes from an unfolded state to a folded state, the electronic device can switch the content displayed on the first display screen to the second display screen, thereby displaying a second user interface with the same user function as the first user interface on the second display screen when the first display screen is in a folded state, continuing to provide services to the user, and thus improving the user experience.
[0059] This application's embodiments can be applied to various electronic devices having a foldable first display screen and a second display screen. When the first display screen is in a folded state, the second display screen is used to display the user interface. For example... Figure 1 As shown, the electronic device includes, but is not limited to, a first display screen and a second display screen. Among them, Figure 1 The shapes of the first and second displays shown are merely examples, and the embodiments of this application do not limit the shapes of the first and second displays.
[0060] Figure 3 A schematic diagram of the hardware structure of a possible electronic device is shown. (For example...) Figure 3As 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, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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.
[0061] Processor 110 may include one or more processing units, such as application processors (APs), microcontroller units (MCUs), modem processors, GPUs, image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in processor 110 may be a cache memory. This memory can store instructions or data that processor 110 has recently used or is recurring. If processor 110 needs to reuse an instruction or data, it can directly retrieve it from the memory, thus avoiding repeated access, reducing processor 110's waiting time, and improving system efficiency.
[0062] USB interface 130 is a USB standard compliant interface, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. Charging management module 140 receives charging input from the charger. Power management module 141 connects battery 142, charging management module 140, and processor 110. Power management module 141 receives input from battery 142 and / or charging management module 140, providing power to processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.
[0063] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and 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 one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0064] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can 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 Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include N display screens 194, where N is a positive integer greater than 1. In this embodiment, the display screen 194 can be used to display a main interface, a user interface, granularity adjustment controls, etc. At least one foldable first display screen and one second display screen are included among the N display screens 194.
[0065] Camera 193 is used to capture still images or videos. Camera 193 may include a front-facing camera and a rear-facing camera.
[0066] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and software code for at least one application (e.g., Huawei Video, Changlian, etc.). The data storage area may store data generated during the use of electronic device 100 (e.g., images, videos, etc.). Furthermore, internal memory 121 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.
[0067] The external storage 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 through the external storage interface 120 to perform data storage functions. For example, images, videos, and other files can be saved on the external memory card.
[0068] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0069] In this embodiment, the processor 110 may store one or more applications in the internal memory 121. When the first display screen is in an unfolded state, the processor 110 may display a first user interface on the first display screen. Additionally, in response to a user's folding operation on the first display screen, the processor 110 may display a second user interface on a second display screen when the first display screen is in a folded state. The user functions represented by the second user interface are the same as those represented by the first user interface.
[0070] Understandable, Figure 3 The components shown do not constitute a specific limitation on the electronic device. The electronic device may also include more or fewer components than shown, or combine some components, or split some components, or have different component arrangements. In the following embodiments, [the following text is incomplete and likely refers to a different embodiment]. Figure 3 The electronic device 100 shown is used as an example for introduction.
[0071] To facilitate understanding of the display method provided in this application, the solution provided in this application will be described below with reference to specific embodiments. In the embodiments of this application, the electronic device can be... Figure 1 and Figure 3The illustrated electronic device includes a foldable first display screen and a second display screen. When the first display screen is in a folded state, the second display screen is used to display a user interface. In this embodiment, the folding process refers to the process of changing the first display screen from an unfolded state to a folded state, during which the folding angle of the first display screen decreases from 180° to 0°.
[0072] In some embodiments, when the first display screen of the electronic device is in an unfolded state, the electronic device can display a first user interface on the first display screen. The first user interface can be the user interface of a first application. The first application is an application installed on the electronic device. For example, the first application can be a native application of the electronic device's operating system or a third-party application. For instance, the first application can be an audio application, a video application, or a call application, and is not limited thereto.
[0073] The first application can be an application that can be displayed on both the first and second displays. For example, when the first application is an application that can be displayed on both the first and second displays, the user interface of the first application can be displayed not only on the first display but also on the second display, providing the user with the functional services of the first application. In this case, the electronic device can switch the first application from the first display to the second display using an internal / external screen switching function, or vice versa. The internal / external screen switching function refers to the function of switching the application or function currently being used on the display screen to the next display screen when the electronic device switches between displays. For example, when the electronic device switches from the first display screen to the second display screen, the internal / external screen switching function can refer to the function of switching the application or function currently being used on the first display screen to the second display screen to continue providing services to the user.
[0074] When a first user interface is displayed on a first display screen, the user can perform a folding operation on the first display screen, changing it from an unfolded state to a folded state. The folding operation is used to change the first display screen from an unfolded state to a folded state. Optionally, when the first display screen is in a folded state, the electronic device can determine whether to switch the first application from the first display screen to a second display screen to continue providing services to the user based on the user's operation during the folding process. For example, when both the first and second display screens can display the first application, the electronic device can display the first user interface of the first application on the first display screen and then fold the first display screen in response to the folding operation. During the folding process of the first display screen, the electronic device can transfer the user functions provided by the first user interface on the first display screen to the second display screen based on the user's selection during the folding process, so that the user can continue to enjoy the services provided by the first application on the second display screen. For example, when the first application is a video application, when the electronic device transfers the user functions provided by the first user interface to the second display screen based on the user's selection, the user can continue browsing the video application on the second display screen. As another example, when the first application is a calling application, the electronic device determines whether to end or continue the call when the first display screen changes to a folded state based on the user's selection. For example, when the first application is a camera-enabled application, the electronic device determines, based on the user's selection, whether to open the first application to continue taking photos when the first display screen changes to a folded state, or to directly exit the first application and lock the second display screen. Furthermore, in this embodiment, in response to the user's folding operation on the first display screen, during the process of switching the first application from the first display screen to the second display screen while the first display screen is in a folded state, the first application remains continuously running. That is, during the folding process of the first display screen, and during the process of switching the first application from the first display screen to the second display screen while the first display screen is in a folded state, the electronic device does not restart the first application.
[0075] In some embodiments, the user's selection methods during the folding process of the first display screen can be divided into two categories. One category allows the user to adjust the folding speed of the first display screen during the folding process to choose whether to switch the first application to the second display screen for continued display. The other category allows the user to select whether to perform a confirmation operation on the first display screen to choose whether to switch the first application to the second display screen for continued display. The confirmation operation is used to indicate screen switching. The display method of the electronic device is described below based on these two selection methods.
[0076] Option 1: Users can adjust the folding speed of the first display screen during the folding process to decide whether to switch the first application to the second display screen for continued display.
[0077] In some embodiments, the electronic device may determine the folding speed of the first display screen during the folding process in response to a folding operation. For example, the electronic device may acquire multiple folding angles of the first display screen at a set sampling frequency during the folding process. The electronic device can determine the folding speed of the first display screen based on the multiple folding angles. For example, as... Figure 4 As shown, the electronic device can acquire the folding angle a1 of the first display screen at a first moment and the folding angle a2 of the first display screen at a second moment, according to a set sampling frequency. The first moment is earlier than the second moment, and the folding angle a1 is greater than the folding angle a2. The electronic device can determine the folding speed of the first display screen based on the changes in folding angles a1 and a2.
[0078] The electronic device can determine the user's selection during the folding process of the first display screen based on the folding speed. For example, when the folding speed is less than or equal to a speed threshold, the electronic device can determine that the selection is to switch the first application to the second display screen. When the folding speed is greater than the speed threshold, the electronic device can determine that the selection is not to switch the first application to the second display screen.
[0079] As an example, when the folding speed is less than or equal to a speed threshold, the electronic device can display a second user interface on a second display screen when the first display screen changes from an unfolded state to a folded state. The user function represented by the second user interface is the same as the user function represented by the first application interface. For example, when the electronic device determines to switch the first application from the first display screen to the second display screen, it can determine the context information and user function of the first user interface, and display the second user interface on the second display screen according to the context information and user function of the first user interface. The content displayed in the second user interface can be adaptively adjusted from the content displayed in the first user interface.
[0080] For example, such as Figure 5 As shown, when the first display screen is in the unfolded state, a first user interface is displayed on the first display screen of the electronic device. The first user interface provides services such as playing sleep-aid sounds and switching audio. The electronic device can also respond to a folding operation performed by the user on the first display screen, updating the first display screen from the unfolded state to the folded state. The electronic device can determine the folding speed based on the folding angle of the first display screen during the folding process. When the folding speed is less than or equal to a speed threshold, the electronic device displays a second user interface on the second display screen while the first display screen is in the folded state. The second user interface provides services such as playing sleep-aid sounds and switching audio.
[0081] As another example, when the folding speed exceeds a speed threshold, the electronic device may not activate the display function of the second display screen when the first display screen changes from an unfolded state to a folded state; the second display screen will remain in an off-screen state. For example, the electronic device may lock the second display screen while the first display screen is in a folded state, thus putting the second display screen into an off-screen state. Alternatively, when the folding speed exceeds the speed threshold, the electronic device may not need to process the second display screen when the first display screen changes from an unfolded state to a folded state, allowing the second display screen to normally close and enter an off-screen state.
[0082] For example, such as Figure 6 As shown, when the first display screen is in the unfolded state, a first user interface is displayed on the first display screen of the electronic device. This first user interface provides services such as sleep aid sound playback and audio switching to the user. The electronic device can also respond to a folding operation by updating the first display screen from the unfolded state to the folded state. The electronic device can determine the folding speed based on the folding angle of the first display screen during the folding process. When the folding speed exceeds a speed threshold, the electronic device can determine that it is unnecessary to switch the first application to the second display screen. In this case, when the first display screen is in the folded state, the electronic device can lock the second display screen, putting it into an off-screen state.
[0083] Option 2: Users can choose whether to switch the first application to the second display screen to continue displaying by performing a confirmation operation on the first display screen.
[0084] In some embodiments, the electronic device may display a prompt message on the first display screen during the folding process in response to a folding operation. The prompt message is used to prompt the user whether to switch screens. The prompt message may be a thumbnail of the first user interface, a floating button, or a notification message, and is not limited thereto. For example, the style of the floating button includes, but is not limited to, floating buttons of various shapes such as bars and squares, floating button styles with various special effects, and floating buttons containing prompt text or images. For example, the prompt text in the floating button may be phrases such as "Seamless switching between external screens," "Switch between external screens," or "Use external screen." In this way, the floating button can be displayed on the first user interface shown on the first display screen, prompting the user whether to switch screens.
[0085] Before displaying a prompt, the electronic device can determine the display area of the prompt on the first display screen according to the user's usage habits or by user customization, to facilitate user operations. The prompt can be displayed in either the first or second area of the first display screen. For example... Figure 7As shown, the first area can be display area 101 and display area 102, that is, the full screen of the first display screen; the second area can be display area 102. Since the user's line of sight may fall on the second area during the folding process of the first display screen, the electronic device can display a prompt message in the second area to prompt the user whether to switch screens.
[0086] Optionally, after determining the display area for the prompt message on the first display screen, the electronic device may display the prompt message in that display area during the folding process of the first display screen. For example, the electronic device may display the prompt message at a fixed position within that display area.
[0087] Optionally, after determining the display area of the prompt information on the first display screen, the electronic device can display dynamically changing prompt information in a first or second area of the first display screen during the folding process of the first display screen to improve the user's visual experience. The dynamic changes include, but are not limited to, at least one of the following: position change, shape change, size change, transparency change, and color change. For example, the electronic device can obtain the current folding angle of the first display screen during the folding process according to a set sampling frequency. The electronic device can also determine the display parameters of the prompt information based on the current folding angle. The display parameters include, but are not limited to, at least one of the following: position, shape, size, transparency, and color. The electronic device can display the prompt information on the first display screen according to the display parameters. For example, when the prompt information is a thumbnail of the first user interface, the dynamic changes of the thumbnail of the first user interface displayed on the first display screen during the folding process can be position changes and size changes. As another example, when the prompt information is a floating button, the dynamic changes of the floating button displayed on the first display screen during the folding process can be position changes. Yet another example, when the prompt information is a notification message, the dynamic changes of the notification message displayed on the first display screen during the folding process can be position changes. The process of dynamically displaying prompts is explained below based on the three scenarios mentioned above.
[0088] Case 1: The prompt message is a thumbnail of the first user interface.
[0089] The electronic device can acquire the current folding angle of the first display screen at a set sampling frequency during the folding process. For example, the time interval of the set sampling frequency can be 0.5 seconds, and the electronic device acquires the folding angle of the first display screen every 0.5 seconds after detecting the folding operation. After acquiring the current folding angle of the first display screen, the electronic device can determine the display parameters of the thumbnails of the first user interface based on the current folding angle. In case 1, the display parameters of the thumbnails may include position and size. For example, the electronic device can determine the display parameters of the thumbnails in the following ways.
[0090] Electronic devices can determine the target interface scaling ratio corresponding to the current folding angle based on a pre-defined mapping relationship between folding angle and interface scaling ratio. Specifically, the larger the folding angle, the smaller the scaling ratio. In this way, the electronic device can determine the thumbnail size based on the target interface scaling ratio.
[0091] The electronic device can also determine the relative position of the thumbnail of the first user interface on the first display screen based on the operating hot zones of the first display screen. The relative position indicates the fixed point position when the first user interface is zoomed. For example, the electronic device can determine the operating hot zones of the first display screen based on left- or right-hand grip recognition technology. The electronic device can determine the user's operating state based on the operating hot zones of the first display screen. The user's operating state can be either left-handed or right-handed. For instance, the electronic device can determine whether the user is holding the electronic device with their left or right hand based on the distribution of the operating hot zones on the first display screen, thereby determining the user's operating state.
[0092] As an example, when the electronic device determines that the user is holding the device with their left hand, it can determine that the user's operation state is left-handed. Based on this left-handed operation state, the electronic device can determine the relative position of the thumbnail of the first user interface. This relative position is located to the left of either the first or second area of the first display screen during the folding process. For example, when the user's operation state is left-handed, the electronic device can determine that the first user interface scales towards the lower left corner of the first display screen during the folding process. In this case, the relative position of the thumbnail of the first user interface can be the lower left corner of either the first or second area of the first display screen. The lower left corner of the first area and the lower left corner of the second area are the same, both being the lower left corner of the first display screen.
[0093] As another example, when the electronic device determines that the user is holding the device with their right hand, it can determine that the user's operation state is right-handed. Based on this right-handed operation state, the electronic device can determine the relative position of the thumbnail of the first user interface. This relative position is located to the right of either the first or second area of the first display screen during the folding process. For example, when the user's operation state is right-handed, the electronic device can determine that the first user interface scales towards the lower right corner of the first display screen during the folding process. In this case, the relative position of the thumbnail of the first user interface can be the lower right corner of the first area of the first display screen.
[0094] After determining the relative position and the size of the thumbnail, the electronic device can also determine the position of the thumbnail based on the relative position and the size of the thumbnail.
[0095] Once the electronic device determines the position and size of the thumbnail of the first user interface using the aforementioned method, it can display the thumbnail of the first user interface on the first display screen based on its position and size. During the folding process, as the folding angle of the first display screen gradually transitions from a large angle to a small angle, the position of the thumbnail of the first user interface displayed on the first display screen will move from the top of the first area or the bottom of the second area, and the size of the thumbnail will also decrease as the folding angle decreases.
[0096] As an example, after determining the display parameters of the thumbnail, the electronic device can dynamically display the thumbnail on the left side of the second area of the first display screen according to the thumbnail display parameters. For example, as... Figure 8 As shown, at the first moment during the folding process, the electronic device acquires the folding angle a1 of the first display screen and displays the thumbnail of the first user interface on the first display screen at the first moment according to the display parameters of the thumbnail of the first user interface corresponding to the folding angle a1. The electronic device can also acquire the folding angle a2 of the first display screen at the second moment during the folding process and display the thumbnail of the first user interface on the first display screen at the second moment according to the display parameters of the thumbnail of the first user interface corresponding to the folding angle a2. Wherein, as... Figure 8 As shown, the position of the thumbnail of the first user interface at the first moment is closer to the top of the second area compared to the position of the thumbnail of the first user interface at the second moment, and the size of the thumbnail at the first moment is larger than the size of the thumbnail at the second moment. That is, during the folding process of the first display screen, the first user interface shrinks with the lower left corner of the second area as the reference, and the thumbnail of the first user interface is dynamically displayed on the first display screen. Among them, the first moment is earlier than the second moment, and the folding angle a1 is greater than the folding angle a2.
[0097] As another example, after determining the display parameters of the thumbnail, the electronic device can dynamically display the thumbnail at the right side of the second area of the first display screen according to the thumbnail display parameters. For example, as Figure 9As shown, during the first moment of the folding process, the electronic device acquires the folding angle a1 of the first display screen and displays a thumbnail of the first user interface on the first display screen according to the thumbnail display parameters corresponding to the folding angle a1. The electronic device can also acquire the folding angle a2 of the first display screen during the second moment of the folding process and display a thumbnail of the first user interface on the first display screen according to the thumbnail display parameters corresponding to the folding angle a2. The first moment is earlier than the second moment, and the folding angle a1 is greater than the folding angle a2. The position of the thumbnail of the first user interface at the first moment is closer to the top of the second area compared to the position of the thumbnail of the first user interface at the second moment. That is, during the folding process, the first user interface shrinks based on the lower right corner of the second area, and the thumbnail of the first user interface is dynamically displayed on the first display screen.
[0098] Scenario 2: The prompt message is a floating button.
[0099] The electronic device can acquire the current folding angle of the first display screen according to a set sampling frequency during the folding process. The electronic device can determine the display parameters of the floating button based on the current folding angle. In case 2, the display parameters of the floating button may include its position. For example, the electronic device can determine the position of the floating button in the following ways.
[0100] As an example, an electronic device can determine the position corresponding to the current folding angle based on the mapping relationship between folding angle and position. The electronic device can then use the position corresponding to the current folding angle as the location of the floating button.
[0101] As another example, when both the horizontal and vertical dimensions of the floating button are smaller than those of the first display screen, the position of the floating button can also include both a vertical and a horizontal position. In this case, the electronic device can determine the user's operating state based on the operating hotspot of the first display screen. The electronic device can determine the horizontal position of the floating button based on the user's operating state. The electronic device can also determine the vertical position of the floating button based on the current folding angle. For example, when the user is in a left-handed operating state, the floating button is displayed on the left side of the first display screen. As another example, when the user is in a right-handed operating state, the floating button is displayed on the right side of the first display screen.
[0102] After determining the position of the floating button using the above method, the electronic device can also display the floating button on the first display screen based on that position. During the folding process, as the folding angle of the first display screen gradually transitions from a large angle to a small angle, the position of the floating button displayed on the first display screen will move from the top of the first area or the bottom of the second area, depending on the change in the folding angle of the first display screen. This change in the position of the floating button can be a vertical change, or a change in both vertical and horizontal positions. For example, as... Figure 10 As shown, after determining the position of the floating button at the first moment based on the folding angle a1, the electronic device can display the floating button on the second area of the first display screen according to its position at the first moment. The electronic device can also determine the position of the floating button on the first display screen at the second moment based on the folding angle a2 collected at the second moment, and display the floating button on the second area of the first display screen according to its position at the second moment. Specifically, the first moment is earlier than the second moment, the folding angle a1 is greater than the folding angle a2, and the vertical position of the floating button at the first moment is closer to the top of the second area compared to the vertical position of the floating button at the second moment.
[0103] For example, such as Figure 11 As shown, when the user operation state of the electronic device is right-hand operation, the electronic device can determine the position of the floating button at the first moment based on the folding angle a1 collected at the first moment during the folding process, and display the floating button in the second area of the first display screen according to the position at the first moment. The electronic device can also determine the position of the floating button at the second moment based on the folding angle a2 collected at the second moment during the folding process, and display the floating button in the second area of the first display screen according to the position at the second moment. Wherein, the first moment is earlier than the second moment, the folding angle a1 is greater than the folding angle a2, and the position of the floating button at the first moment is closer to the top of the second area compared to the position of the floating button at the second moment.
[0104] For example, such as Figure 12 As shown, when the user operation state of the electronic device is left-handed, the electronic device can determine the position of the floating button at the first moment based on the folding angle a1 collected at the first moment during the folding process, and display the floating button in the second area of the first display screen according to the position at the first moment. The electronic device can also determine the position of the floating button at the second moment based on the folding angle a2 collected at the second moment during the folding process, and display the floating button in the second area of the first display screen according to the position at the second moment. Wherein, the first moment is earlier than the second moment, the folding angle a1 is greater than the folding angle a2, and the position of the floating button at the first moment is closer to the top of the second area compared to the position of the floating button at the second moment.
[0105] Scenario 3: The message is a notification.
[0106] The electronic device can acquire the current folding angle of the first display screen according to a set sampling frequency during the folding process. The electronic device can determine the display parameters of the notification message based on the current folding angle. In case 3, the display parameters of the notification message may include its position. The position of the notification message includes its vertical position.
[0107] As an example, the electronic device can determine the width of the notification message based on the width of the first display screen. The electronic device can determine the vertical position of the notification message based on the current folding angle. The width of the notification message does not change with the folding angle during the folding process, but the vertical position of the notification message does change with the folding angle. Therefore, during the folding process, the electronic device only needs to determine the vertical position of the notification message to obtain its location.
[0108] After determining the location of the notification message using the above method, the electronic device can also display the notification message on the first display screen based on the location. During the folding process, as the folding angle of the first display screen gradually transitions from a large angle to a small angle, the position of the notification message displayed on the first display screen will move from the top of the first area or the bottom of the second area as the folding angle of the first display screen changes.
[0109] In some embodiments, the electronic device can determine the display parameters of the prompt information using the methods described in the three cases above, and display the prompt information on the first display screen based on the display parameters. For example, after determining the display parameters, the electronic device can also determine other display parameters of the prompt information. For instance, when the prompt information is a thumbnail of the first user interface, other display parameters may include, but are not limited to, shape, transparency, and color. As another example, when the prompt information is a floating button, other display parameters include, but are not limited to, shape, size, transparency, and color. Yet another example, when the prompt information is a notification message, other display parameters include, but are not limited to, shape, size, transparency, and color. The process of determining other display parameters can refer to the position determination process in the above embodiments. The electronic device can display the prompt information on the first display screen according to the display parameters of the prompt information and other display parameters.
[0110] During the folding process of the first display screen, the electronic device can display prompt information on the first display screen according to the dynamic display prompt information method described in the three cases above. The electronic device can also, in response to a user's confirmation operation on the prompt information on the first display screen, display a second user interface on the second display screen while the first display screen is in the folded state. For example, the electronic device can determine the user's selection result by detecting whether the user has performed a confirmation operation on the prompt information during the folding process. For example, the confirmation operation can be a click operation.
[0111] As an example, when the electronic device detects a user's confirmation action on the prompt message on the first display screen, it can determine that the user's selection result is to switch the first application to the second display screen for continued display. In this case, when the first display screen changes from an unfolded state to a collapsed state, the electronic device can display a second user interface on the second display screen. The process of the electronic device displaying the second user interface on the second display screen is the same as the process of displaying the second user interface in selection method 1 described above, and will not be repeated here.
[0112] For example, such as Figure 13 As shown, when the first display screen is in the unfolded state, a first user interface is displayed on the first display screen of the electronic device. The first user interface provides services such as sleep aid sound playback and audio switching to the user. The electronic device can also respond to a user's folding operation on the first display screen, updating the first display screen from the unfolded state to the folded state. During the folding process, the electronic device can dynamically display a thumbnail of the first user interface on the first display screen. In response to a user's confirmation operation on the thumbnail of the first user interface on the first display screen, when the first display screen is in the folded state, the electronic device can display a second user interface on the second display screen. The second user interface provides services such as sleep aid sound playback and audio switching to the user.
[0113] As another example, if the electronic device does not detect a user's confirmation action on the prompt message during the folding process, the electronic device can determine that the user's selection result is that the first application does not need to be switched to the second display screen for continued display. In this case, when the first display screen changes from the unfolded state to the folded state, the electronic device can turn off the second display screen. The process of the electronic device turning off the second display screen is the same as the process of turning off the second display screen in selection method 1 above, and will not be repeated here.
[0114] For example, such as Figure 14As shown, when the first display screen is in the unfolded state, a first user interface is displayed on the first display screen of the electronic device. The first user interface is used to provide services such as sleep aid sound playback and audio switching for the user. The electronic device can also respond to a user's folding operation on the first display screen, updating the first display screen from the unfolded state to the folded state. During the folding process, the electronic device can display a thumbnail of the first user interface on the first display screen. If the electronic device does not detect a user confirmation operation on the thumbnail of the first user interface on the first display screen during the folding process, it can lock the second display screen while the first display screen is in the folded state, thus putting the second display screen into an off-screen state.
[0115] Based on the above embodiments, when the electronic device is in the unfolded state, it displays a first user interface on the first display screen; the electronic device can also respond to the user's folding operation on the first display screen, update the first display screen from the unfolded state to the folded state, and when the first display screen is in the folded state, switch the user function represented by the first user interface on the first display screen to the second display screen, thereby realizing the flow of user function between different display screens and improving the user experience.
[0116] Based on the above embodiments, this application also provides a display system applied in an electronic device. The electronic device can be one of the aforementioned... Figure 1 and Figure 3 The illustrated electronic device includes a foldable first display screen and a second display screen. When the first display screen is folded, the second display screen is used to display the user interface. Figure 15 As shown, the system includes a status recognition module 10, an interactive display module 20, a user interaction processing module 30, and an execution module 40. Among them:
[0117] The state recognition module 10 is used to identify information related to the folding state of the first display screen of the electronic device and send this information to the interactive display module 20. This folding state information includes, but is not limited to, the folding angle of the first display screen and the user's operating state of the electronic device. For example, if the user's operating state is left-handed, the user is holding the electronic device with their left hand. Similarly, if the user's operating state is right-handed, the user is holding the electronic device with their right hand. In some scenarios, the state recognition module 10 can determine the folding angle of the first display screen based on folding angle recognition technology. The state recognition module 10 can also determine the user's operating state based on left- or right-hand recognition technology.
[0118] The interactive display module 20 is used to display a relevant user experience (UX) interface on the first display screen during the folding process, based on the folding state information in the state recognition module 10. The UX interface prompts the user whether to switch screens. The UX interface may include a thumbnail of the first user interface, a floating button, or a notification message.
[0119] The user interaction processing module 30 is used to identify the user's actual operation selection and generate corresponding instructions.
[0120] The execution module 40 is used to switch the context information of the relevant application on the first display screen to the second display screen, or to turn off the screen of the second display screen, according to the instructions generated by the user interaction processing module 30.
[0121] Based on the above Figure 15 The display system shown in this application embodiment can also provide a display example. In this example, when the first display screen of the electronic device displays the first user interface, the state recognition module of the electronic device detects a folding operation. At this time, the electronic device is in the folding process, and during the folding process, the interactive display module of the electronic device displays the UX interface. Figure 16 As shown, this use case includes:
[0122] S1601: The status recognition module determines the folding angle of the first display screen.
[0123] S1602: The status recognition module determines the user operation status of the electronic device.
[0124] The process of determining the user's operation status in S1602 is the same as the process of determining the user's operation status in the above embodiments, and will not be described again here.
[0125] There is no specific order in which steps S1601 and S1602 are executed.
[0126] S1603: During the folding process of the first display screen, the interactive display module displays the UX interface on the first display screen according to the folding angle and the user's operation status.
[0127] In some embodiments, the interactive display module can dynamically display the UX interface on the first display screen based on the folding angle and the user's operation state. The dynamic changes include at least one of the following: position change, shape change, size change, transparency change, and color change.
[0128] The interactive display module receives the folding angle and user operation state from the state recognition module, and determines the display parameters of the UX interface on the first display screen based on the current folding angle and user operation state. The display parameters include at least one of the following: position, shape, size, transparency, and color. The interactive display module can display the UX interface on the first display screen based on the display parameters during the folding process of the first display screen. The process by which the interactive display module determines the display parameters of the UX interface is the same as the process for determining the display parameters of the prompt information in the above embodiment, and will not be repeated here.
[0129] S1604: During the folding process, the user interaction processing module detects whether the user clicks on the UX interface; if yes, then proceed to step S1605; if no, then proceed to step S1607.
[0130] S1605: The user interaction processing module generates a screen switching command. This command instructs the execution module to switch the first application from the first display screen to the second display screen for continued display.
[0131] S1606: The execution module displays a second user interface on the second display screen when the first display screen is in a folded state, based on the screen switching instruction.
[0132] The user functions represented by the second user interface are the same as those represented by the first user interface. The process by which the execution module displays the second user interface on the second display screen is the same as the process by which the electronic device displays the second user interface on the second display screen in the above embodiments, and will not be repeated here.
[0133] S1607: The user interaction processing module generates a screen-off command.
[0134] The screen-off command is used to instruct the execution module to turn off the second display screen.
[0135] S1608: The execution module performs screen-off processing on the second display screen when the first display screen is in a folded state, according to the screen-off command.
[0136] based on Figure 16 As shown, the electronic device can display a UX interface for the user to choose from through the user interaction processing module. The user can trigger a switching command by clicking on the UX interface, so that the execution module of the electronic device can switch the first application on the first display screen to the second display screen when the first display screen is in a folded state, thereby improving the user experience.
[0137] Based on the above embodiments, this application also provides a display system applied in an electronic device. The electronic device can be one of the aforementioned... Figure 1 and Figure 3The electronic device shown includes a foldable first display screen and a second display screen. Figure 17 As shown, the system includes a status recognition module 1710 and an execution module 1720. Wherein:
[0138] The status recognition module 1710 is used to recognize the folding angle and folding speed of the first display screen of the electronic device during the folding process, and generate a screen-off command or a screen-off command based on the folding speed. For example, the status recognition module 1710 can determine the folding angle using folding angle recognition technology. The status recognition module 1710 can determine the folding speed using folding speed recognition technology.
[0139] The execution module 1720 is used to switch the context information of the relevant application on the first display screen to the second display screen according to the screen switching instruction generated by the state recognition module 1710, or to turn off the screen on the second display screen according to the screen turning instruction generated by the state recognition module 1720.
[0140] Based on the above Figure 17 The display system shown in this application embodiment can also provide a display use case. In this use case, when the first display screen of the electronic device displays a first user interface, the state recognition module of the electronic device detects a folding operation. For example... Figure 18 As shown, this use case includes:
[0141] S1801: The status recognition module determines the folding angle of the first display screen.
[0142] S1802: The status recognition module determines the folding speed of the first display screen based on the folding angle of the first display screen.
[0143] The method for determining the folding speed in S1802 is the same as that for determining the folding speed in the above embodiments, and will not be repeated here.
[0144] S1803: The status recognition module determines whether the folding speed is greater than the speed threshold; if yes, proceed to step S1804; if no, proceed to step S1806.
[0145] S1804: The status recognition module generates a screen-switching command. This command instructs the execution module to switch the first application from the first display screen to the second display screen for continued display.
[0146] S1805: The execution module displays a second user interface on the second display screen when the first display screen is in a folded state, based on the screen switching instruction.
[0147] The user functions represented by the second user interface are the same as those represented by the first user interface. The process by which the execution module displays the second user interface on the second display screen is the same as the process by which the electronic device displays the second user interface on the second display screen in the above embodiments, and will not be repeated here.
[0148] S1806: The status recognition module generates a screen-off command.
[0149] The screen-off command is used to instruct the execution module to turn off the second display screen.
[0150] S1807: The execution module performs screen-off processing on the second display screen when the first display screen is in a folded state, according to the screen-off command.
[0151] based on Figure 18 As shown, the electronic device's status recognition module can determine the user's current intention based on the folding speed of the first display screen during the folding process: whether to switch the application on the first display screen to the second display screen for continued use, or to directly turn off the second display screen without requiring the user to perform any additional operations, thereby improving the user experience.
[0152] Based on the above embodiments and the same technical concept, this application also provides a display method, applied to, for example... Figure 1 or Figure 3The electronic device shown includes a foldable first display screen and a second display screen. When the first display screen is in a folded state, the second display screen is used to display a user interface. The following explains the terms used in the embodiments: electronic device can be the electronic device in the foregoing embodiments; first display screen can be the first display screen in the foregoing embodiments; second display screen can be the second display screen in the foregoing embodiments; unfolded state can be the unfolded state in the foregoing embodiments; first user interface can be the first user interface in the foregoing embodiments; folding operation can be the folding operation in the foregoing embodiments; folding speed can be the folding speed in the foregoing embodiments; folded state can be the folded state in the foregoing embodiments; second user interface can be the second user interface in the foregoing embodiments; set sampling frequency can be the set sampling frequency in the foregoing embodiments; speed threshold can be the speed threshold in the foregoing embodiments; prompt information can be the prompt information in the foregoing embodiments; dynamic change can be the dynamic change in the foregoing embodiments; current folding angle can be the forward... In the above embodiments, the current folding angle, the thumbnail of the first user interface can be the thumbnail of the first user interface in the aforementioned embodiments, the floating button can be the floating button in the aforementioned embodiments, the notification message can be the notification message in the aforementioned embodiments, the confirmation operation can be the confirmation operation in the aforementioned embodiments, the display parameters can be the display parameters in the aforementioned embodiments, the interface scaling ratio can be the interface scaling ratio in the aforementioned embodiments, the user operation state can be the user operation state in the aforementioned embodiments, the left-hand operation state can be the left-hand operation state in the aforementioned embodiments, the right-hand operation state can be the right-hand operation state in the aforementioned embodiments, the operation hotspot can be the operation hotspot in the aforementioned embodiments, the vertical position can be the vertical position in the aforementioned embodiments, the horizontal position can be the horizontal position in the aforementioned embodiments, and the continuous running state can be the continuous running state in the aforementioned embodiments. Regarding the terms involved in the above embodiments of this application, please refer to the descriptions of these terms in the aforementioned embodiments; they will not be repeated here.
[0153] like Figure 19 As shown, the method may include:
[0154] S1901: When the electronic device is in the unfolded state, it displays a first user interface on the first display screen.
[0155] S1902: In response to a user's folding operation on the first display screen, the electronic device displays a second user interface on the second display screen while the first display screen is in a folded state.
[0156] The user functions represented by the second user interface are the same as those represented by the first user interface.
[0157] In some embodiments of this application, the electronic device, in response to a folding operation, determines the folding speed of the first display screen during the folding process; while the first display screen is in a folded state, a second user interface is displayed on the second display screen according to the folding speed. The specific implementation method for the electronic device to determine the folding speed can be referred to the relevant methods described in the foregoing embodiments, and will not be detailed here.
[0158] As an optional implementation, when the folding speed is less than or equal to a speed threshold, the electronic device displays a second user interface on a second display screen.
[0159] In other embodiments of this application, the electronic device may also, in response to a folding operation, display a prompt message on the first display screen during the folding process, the prompt message being used to prompt the user whether to switch screens; in response to a confirmation operation performed by the user on the first display screen regarding the prompt message, display the second user interface on the second display screen when the first display screen is in the folded state; wherein the confirmation operation is used to indicate screen switching. The specific implementation of this method can be referred to the relevant methods described in the foregoing embodiments, and will not be detailed here.
[0160] As an optional implementation, the electronic device displays dynamically changing prompt information on the first display screen during the folding process. Optionally, the dynamic changes include at least one of the following: position change, shape change, and size change. For example, the electronic device acquires the current folding angle of the first display screen during the folding process according to a set sampling frequency; determines the display parameters of the prompt information based on the current folding angle, the display parameters including at least one of the following: position, shape, and size; and displays the prompt information on the first display screen based on the display parameters.
[0161] Optionally, the prompt message can be a thumbnail of the first user interface, a floating button, or a notification message.
[0162] Optionally, when the prompt message is a thumbnail of the first user interface, the electronic device can determine the target interface scaling ratio corresponding to the current folding angle based on the mapping relationship between the folding angle and the interface scaling ratio, and determine the size of the thumbnail based on the target interface scaling ratio; determine the user operation state of the electronic device based on the operation hotspot of the first display screen; the user operation state is either a left-hand operation state or a right-hand operation state; and determine the position of the thumbnail based on the user operation state and the size of the thumbnail. The specific implementation of this method can be referred to the relevant methods described in the foregoing embodiments, and will not be detailed here.
[0163] Optionally, when the prompt message is a floating button, the electronic device can determine the vertical position of the floating button based on the current folding angle; determine the user operation state of the electronic device based on the operation hotspot of the first display screen; and determine the horizontal position of the floating button based on the user operation state. The position of the floating button includes both the vertical and horizontal positions. For a specific implementation of this method, please refer to the relevant methods described in the foregoing embodiments; details will not be elaborated here.
[0164] Optionally, when the prompt message is a notification message, the electronic device can determine the width of the notification message based on the width of the first display screen; and determine the vertical position of the notification message based on the current folding angle; the position of the notification message includes the vertical position. For a specific implementation of this method, please refer to the relevant methods described in the foregoing embodiments, which will not be detailed here.
[0165] Optionally, when the first display screen shows dynamically changing prompts, the first display screen may not display other user interfaces.
[0166] In some embodiments of this application, the first user interface is the user interface of the first application, and the second user interface is the user interface of the first application; in response to the user's folding operation on the first display screen, while the first display screen is in a folded state, the first application is in a continuously running state during the process of displaying the second user interface on the second display screen.
[0167] Regarding the specific implementation method of the electronic device displaying a second user interface on the second display screen in response to the confirmation operation, it can be implemented with reference to the relevant methods described in the foregoing embodiments, and will not be detailed here.
[0168] The specific steps performed by the electronic device in the above method can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated here.
[0169] Based on the above and the same technical concept, this application provides an electronic device, including a display screen, a memory, and one or more processors. The display screen is used to display a user interface; the memory is used to store computer program code, which includes computer instructions; and the one or more processors are used to execute the computer program instructions stored in the memory, causing the electronic device to perform the steps performed by the electronic device in the above method embodiments. In the embodiments of this application, the display screen of the electronic device includes a foldable first display screen and a second display screen.
[0170] Based on the above content and the same concept, this application provides a computer-readable storage medium storing a computer program or instructions. When the computer program or instructions are executed by a computing device, the computing device performs the steps executed by the electronic device in the above method embodiment.
[0171] Based on the above content and the same concept, this application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a computing device, the computing device performs the steps executed by the electronic device in the above method embodiment.
[0172] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0173] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0174] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0175] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxesFigure 1 The steps of the function specified in one or more boxes.
[0176] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A display method, characterized in that, An electronic device is applied to the electronic device, which includes a foldable first display screen and a second display screen; when the first display screen is in a folded state, the second display screen is used to display a user interface; the method includes: When the first display screen is in the unfolded state, a first user interface is displayed on the first display screen; In response to a user's folding operation on the first display screen, when the first display screen is in a folded state, a second user interface is displayed on the second display screen, and the user functions represented by the second user interface are the same as those represented by the first user interface.
2. The method according to claim 1, characterized in that, The step of displaying a second user interface on the second display screen in response to a user's folding operation on the first display screen, while the first display screen is in the folded state, includes: In response to the folding operation, the folding speed of the first display screen is determined during the folding process of the first display screen; When the first display screen is in the folded state, the second user interface is displayed on the second display screen according to the folding speed.
3. The method according to claim 2, characterized in that, The step of displaying the second user interface on the second display screen according to the folding speed includes: When the folding speed is less than or equal to the speed threshold, the second user interface is displayed on the second display screen.
4. The method according to any one of claims 1-3, characterized in that, The step of displaying a second user interface on the second display screen in response to a user's folding operation on the first display screen, while the first display screen is in the folded state, includes: In response to the folding operation, during the folding process of the first display screen, a prompt message is displayed on the first display screen to prompt the user whether to switch screens; In response to the user's confirmation operation on the prompt information on the first display screen, the second user interface is displayed on the second display screen when the first display screen is in the folded state; wherein the confirmation operation is used to indicate screen switching.
5. The method according to claim 4, characterized in that, The step of displaying a prompt message on the first display screen during the folding process includes: During the folding process of the first display screen, the dynamically changing prompt information is displayed on the first display screen.
6. The method according to claim 5, characterized in that, The dynamic changes include at least one of the following: position change, shape change, and size change.
7. The method according to claim 5 or 6, characterized in that, The step of displaying dynamically changing prompt information on the first display screen during the folding process includes: According to the set sampling frequency, the current folding angle of the first display screen during the folding process is obtained; Based on the current folding angle, the display parameters of the prompt information are determined, and the display parameters include at least one of the following: position, shape, and size; The prompt information is displayed on the first display screen according to the display parameters.
8. The method according to any one of claims 5-7, characterized in that, The prompt information is a thumbnail, a floating button, or a notification message in the first user interface.
9. The method according to claim 8, characterized in that, When the prompt message is a thumbnail of the first user interface, determining the display parameters of the prompt message based on the current folding angle includes: Based on the mapping relationship between the folding angle and the interface scaling ratio, the target interface scaling ratio corresponding to the current folding angle is determined, and the size of the thumbnail is determined based on the target interface scaling ratio. The user operation state of the electronic device is determined based on the operation hot zone of the first display screen; the user operation state is either left-hand operation state or right-hand operation state. The position of the thumbnail is determined based on the user's operation status and the size of the thumbnail.
10. The method according to claim 8, characterized in that, When the prompt message is the floating button, determining the display parameters of the prompt message based on the current folding angle includes: Determine the vertical position of the floating button based on the current folding angle; The user operation status of the electronic device is determined based on the operating hot zone of the first display screen; The horizontal position of the floating button is determined based on the user's operation state; the position of the floating button includes the vertical position and the horizontal position.
11. The method according to claim 8, characterized in that, When the prompt information is the notification message, determining the display parameters of the prompt information based on the current folding angle includes: The width of the notification message is determined based on the width of the first display screen; The vertical position of the notification message is determined based on the current folding angle; the position of the notification message includes the vertical position.
12. The method according to any one of claims 5-11, characterized in that, When the first display screen shows the dynamically changing prompt information, the first display screen does not display other user interfaces.
13. The method according to any one of claims 1-12, characterized in that, The first user interface is the user interface of the first application, and the second user interface is the user interface of the first application; In response to the user's folding operation on the first display screen, while the first display screen is in a folded state, the first application is continuously running during the process of displaying the second user interface on the second display screen.
14. An electronic device, characterized in that, Its features include: a display screen; one or more processors; and one or more memories; The display screen is used to display a user interface; the display screen includes a foldable first display screen and a second display screen; The one or more memories are used to store one or more computer programs and data information; wherein the one or more computer programs include instructions; When the instructions are executed by the one or more processors, the electronic device performs the method as described in any one of claims 1-13.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program that, when run on a computer, causes the computer to perform the method as described in any one of claims 1-13.
16. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-13.