Display method and electronic device
By using a second display screen in a foldable electronic device to show the same user interface when the first display screen is folded, the content display problem when switching from unfolded to folded state is solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2026-04-02
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, the corresponding 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 and consistency.
Smart Images

Figure CN2025105000_02042026_PF_FP_ABST
Abstract
Description
Display method and electronic device
[0001] Cross-reference to Related Applications
[0002] This application claims priority to the Chinese Patent Application No. 202411338316.1, filed on September 24, 2024, and entitled "A display method and electronic device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] Embodiments of the present application relate to the technical field of electronic devices, and in particular to a display method and electronic device. BACKGROUND
[0004] 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, the first display screen of the electronic device provides a display function, and when the electronic device is in a folded state, the second display screen of the electronic device provides a display function.
[0005] Currently, when the foldable electronic device changes from the unfolded state to the folded state, the first display screen enters a screen-off 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, and continue to provide services for the user, resulting in a low user experience. SUMMARY
[0006] Embodiments of the present application provide a display method and electronic device to realize the function flow between different display screens of a foldable electronic device and improve the user experience.
[0007] 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.
[0008] The method includes:
[0009] 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.
[0010] In the method, the electronic device can display the user function represented by the first user interface on the second display screen when the first display screen is folded by the user, so that the user function provided to the user before the first display screen is folded can be continued to be provided to the user on the second display screen when the first display screen is in the folded state, the function flow between different display screens is completed, and the user experience can be improved.
[0011] In a possible design, in response to the folding operation, the electronic device can also determine a folding speed of the first display screen during folding of the first display screen; and 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 the folded state.
[0012] Through the design, the electronic device can determine whether the user function of the first user interface in the first display screen is to be displayed on the second display screen according to the folding speed when the first display screen is folded by the user, so that the user function provided to the user before the first display screen is folded can be continued to be provided to the user on the second display screen when the first display screen is in the folded state, the function flow between different display screens is completed, and the user experience can be improved.
[0013] In a possible design, when the folding speed is less than or equal to a speed threshold, the electronic device can also display the second user interface on the second display screen according to display content of the first user interface.
[0014] In a possible design, in response to the folding operation, the electronic device can also display prompt information on the first display screen during folding of the first display screen, the prompt information being used to prompt the user whether to switch screens; and in response to a confirmation operation performed by the user 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; wherein the confirmation operation is used to indicate switching of the screens.
[0015] Through the design, the electronic device can display prompt information on the first display screen during folding of the first display screen, the prompt information being used to prompt the user whether to switch screens, so that the user can self-select whether to continue the user function on the first display screen to the second display screen, and the user experience 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, the user function provided to the user before the first display screen is folded is continued to be provided to the user, and the function flow between different display screens is completed.
[0016] 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.
[0017] In a possible design, the dynamic change includes at least one of the following: a position change, a shape change, and a size change.
[0018] In a possible design, the electronic device can further acquire, according to the set sampling frequency, a current folding angle of the first display screen during folding; the electronic device can determine, according to the current folding angle, a display parameter of the prompt information, the display parameter including at least one of the following: a position, a shape, and a size; and the electronic device can further display, according to the display parameter, the prompt information on the first display screen, the prompt information being a thumbnail of the first user interface or a floating button.
[0019] In a possible design, the prompt information is a thumbnail of the first user interface, a floating button, or a notification message.
[0020] 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 an interface zoom scale, a target interface zoom scale corresponding to the current folding angle, and determine, according to the target interface zoom scale, a size of the thumbnail; the electronic device can further determine, according to an operation hot area of the first display screen, a user operation state of the electronic device, the user operation state being 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, a position of the thumbnail.
[0021] 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 a 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's use experience.
[0022] 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, the 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.
[0023] 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 a 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's use experience.
[0024] In a possible design, when the prompt information is a notification message, the electronic device can further determine a width of the notification message according to a width of the first display screen; and the electronic device can further determine a portrait position of the notification message according to the current folding angle; optionally, the position of the notification message includes the portrait position.
[0025] By this design, the electronic device can determine the portrait position of the notification message displayed on the first display screen according to the current folding angle, so as to facilitate the user to perform a confirmation operation on the notification message displayed on the first display screen, thereby improving the user experience.
[0026] In a possible design, when the first display screen displays prompt information that dynamically changes, the first display screen does not display other user interfaces.
[0027] In a possible design, the first user interface is a user interface of a first application, and the second user interface is a user interface of the first application; and in a process in which, in response to the folding operation performed by the user on the first display screen, the second display screen displays the second user interface when the first display screen is in the folded state, the first application is in a persistent running state.
[0028] In a second aspect, an embodiment of the present application provides an electronic device, which includes a display screen, one or more memories, and one or more processors; the display screen is configured to display a user interface; the one or more memories are configured to store computer program codes, the computer program codes including computer instructions; and 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 one of the first aspect.
[0029] In a third aspect, the present application provides a computer readable storage medium, which stores a computer program; when the computer program is run on an electronic device, the electronic device performs the method described in any possible design of any one of the first aspect.
[0030] In a fourth aspect, the present application provides a computer program product, which includes a computer program or instructions; when the computer program or instructions are run on an electronic device, the electronic device performs the method described in any possible design of any one of the first aspect.
[0031] In a fifth aspect, the present application provides a chip system, which comprises a processor and a memory, and the memory stores instructions; when the instructions are executed by the processor, the method described in any possible design of any one of the first aspect is implemented. The chip system can be composed of a chip, or can include a chip and other discrete devices.
[0032] The beneficial effects of the third aspect to the fifth aspect are described in the description of the beneficial effects of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0033] FIG. 1 is a schematic diagram of an electronic device provided in an example of the present application;
[0034] FIG. 2a is a schematic diagram of an electronic device in an unfolded state provided in an example of the present application;
[0035] FIG. 2b is a schematic diagram of an electronic device in a folded state provided in an example of the present application;
[0036] FIG. 3 is a schematic diagram of a possible hardware structure of an electronic device provided in an example of the present application;
[0037] FIG. 4 is a schematic diagram of a first display screen in a folding process provided in an example of the present application;
[0038] FIG. 5 is a schematic diagram of a function flow between different display screens in a folding process provided in an example of the present application;
[0039] FIG. 6 is a schematic diagram of a folding process provided in an example of the present application;
[0040] FIG. 7 is a schematic diagram of a display area of a first display screen in a folding process provided in an example of the present application;
[0041] FIG. 8 is a schematic diagram of a first user interface thumbnail in a folding process provided in an example of the present application;
[0042] FIG. 9 is a schematic diagram of a first user interface thumbnail in a folding process provided in an example of the present application;
[0043] FIG. 10 is a schematic diagram of a floating button in a folding process provided in an example of the present application;
[0044] FIG. 11 is a schematic diagram of a floating button in a folding process provided in an example of the present application;
[0045] FIG. 12 is a schematic diagram of a floating button in a folding process provided in an example of the present application;
[0046] FIG. 13 is a schematic diagram of a function flow between different display screens provided in an example of the present application;
[0047] FIG. 14 is a schematic diagram of a folding process provided in an example of the present application;
[0048] FIG. 15 is a structural schematic diagram of a display system provided by the present application;
[0049] FIG. 16 is a flow schematic diagram of a display use case provided by the present application;
[0050] FIG. 17 is a structural schematic diagram of another display system provided by the present application;
[0051] FIG. 18 is a flow schematic diagram of a display use case provided by the present application;
[0052] FIG. 19 is a flow schematic diagram of a display method provided by the present application. DETAILED DESCRIPTION
[0053] The electronic device in the embodiments of the present application can refer to a terminal device with foldable first and second display screens, such as a mobile phone, a tablet computer, a wearable device (for example, a watch, a bracelet, etc.) with wireless communication function, a vehicle-mounted terminal device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart home device (for example, a smart television, a smart speaker, etc.), a smart robot, a plant device, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, or a wireless terminal in smart home, etc. The wearable device is a portable device with foldable display screens that can be directly worn on the body of a user or integrated into clothes or accessories of the user.
[0054] For another example, the electronic device can also be a portable terminal device that further contains other functions such as personal digital assistant and / or music player functions. The portable terminal device can also be other portable terminal devices, such as a laptop with a touch-sensitive surface (for example, a touch panel), etc.
[0055] In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and rear associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple 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.
[0056] Unless otherwise stated, the ordinal numbers "first", "second", etc. mentioned in the embodiments of the present application are used to distinguish a plurality of objects, and are not used to limit the size, content, order, time sequence, priority or importance of the plurality of objects. For example, the first file and the second file are only used to distinguish different files, and do not mean that the sizes, contents, priorities or importance of the two files are different.
[0057] The technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings in the embodiments of the present application.
[0058] Referring to FIG. 1, the electronic device includes a foldable first display screen and a second display screen, and the first display screen and the second display screen are not connected to each other. The folding mode of the first display screen can be inward folding, and the specific mode of inward folding can be upward and downward folding or left and right folding. As shown in FIG. 1, the electronic device includes a rotating shaft, and a user can perform folding or unfolding operations on the electronic device to change the form of the first display screen. The electronic device can select to display on the first display screen or the second display screen in different forms of the first display screen, thereby providing a variety of display effects for the user. For example, when the folding mode of the first display screen is upward and downward folding, the electronic device can be an upward and downward folding mobile phone (also known as a small folding mobile phone), the first display screen can be an inner screen of the upward and downward folding mobile phone, and the second display screen can be an outer screen of the upward and downward folding mobile phone.
[0059] The first display screen of the electronic device in the embodiments of the present application supports two modes: a folded mode and an unfolded mode. As shown in FIG. 2a, when the first display screen is in the unfolded mode, the first display screen is not folded, and the folding angle of the first display screen is 180° at this time. When the first display screen is in the unfolded mode, the electronic device can display a user interface in the first display screen. As shown in FIG. 2b, when the first display screen is in the folded mode, the first display screen is folded to the maximum extent, and the folding angle of the first display screen is 0° at this time. In this scenario, the first display screen of the electronic device is folded (i.e., folded in half) to the maximum extent. Even if the content is displayed on the first display screen, it is invisible to the user, and the content displayed on the second display screen is visible to the user. Therefore, when the first display screen is in the folded mode, the electronic device can display a user interface in the second display screen. The folding angle is the included 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°.
[0060] However, in the prior art, when the first display screen of the electronic device changes from the unfolded mode to the folded mode, the user may not be able to effectively view the content displayed in the first display screen, and the second display screen of the electronic device cannot display the content displayed in the first display screen in the unfolded mode, and continue to provide services for the user, and the user experience is low.
[0061] In view of this, the embodiments of the present application provide a display method and an electronic device. In the method, the electronic device includes a foldable first display screen and a second display screen; and when the first display screen is in a folded mode, the second display screen is used to display a user interface. When the first display screen is in an unfolded mode, the electronic device can display a first user interface on the first display screen. The electronic device can also display a second user interface on the second display screen when the first display screen is in the folded mode in response to a folding operation performed by the user on the first display screen. The second user interface represents the same user function as the first user interface. In this way, the electronic device can switch the content displayed on the first display screen to the second display screen when the first display screen changes from the unfolded mode to the folded mode, so as to display the 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 the folded mode, and continue to provide services for the user, thereby improving the user experience.
[0062] Embodiments of the present application can be applied to various electronic devices with foldable first display screen and 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. As shown in FIG. 1, the electronic device includes but is not limited to the first display screen and the second display screen. Wherein, the shape of the first display screen and the second display screen shown in FIG. 1 is only an example, and embodiments of the present application do not limit the shape of the first display screen and the shape of the second display screen.
[0063] FIG. 3 shows a possible hardware structure schematic diagram of an electronic device. As shown in FIG. 3, the electronic device 100 can 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 headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Wherein, the sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0064] The processor 110 can include one or more processing units such as: an application processor (AP), a micro control unit (MCU), a modem processor, a GPU, an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors. The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions. A memory can also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 can be a cache memory. The memory can hold instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can directly call them from the memory, which can avoid repeated access and reduce the waiting time of the processor 110, thereby improving the efficiency of the system.
[0065] The USB interface 130 is an interface that conforms to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transmit data between the electronic device 100 and a peripheral device. The charging management module 140 is configured to receive charging input from the charger. The power management module 141 is configured to connect the battery 142 and the charging management module 140 to the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160, etc.
[0066] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc. The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0067] The display screen 194 is configured to display images, videos, and the like. 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 flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 100 can include N display screens 194, where N is a positive integer greater than 1. In the embodiments of the present application, the display screen 194 can be configured to display a main interface, a user interface, a granularity adjustment control, and the like. Among the N display screens 194, at least one is a foldable first display screen, and at least one is a second display screen.
[0068] The camera 193 is configured to capture still images or videos. The camera 193 can include a front camera and a rear camera.
[0069] The internal memory 121 can be configured to store computer executable program codes including instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, software codes of at least one application program (e.g., Huawei Video, Sharelink, and the like), and the like. The data storage area can store data (e.g., images, videos, and the like) generated during use of the electronic device 100, and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
[0070] The external memory interface 120 can be configured 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 memory interface 120 to realize a data storage function. For example, files such as pictures and videos are saved in the external memory card.
[0071] The electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, and an application processor, etc. For example, music playing, recording, etc.
[0072] In the embodiments of the present application, the processor 110 can save one or more application programs in the internal memory 121, wherein the processor 110 can display a first user interface on the first display screen when the first display screen is in the unfolded state. In addition, the processor 110 can also display a second user interface on the second display screen when the first display screen is in the folded state in response to the folding operation performed by the user on the first display screen. Wherein the user function represented by the second user interface is the same as the user function represented by the first user interface.
[0073] It can be understood that the components shown in FIG. 3 do not constitute a specific limitation on the electronic device, and the electronic device can also include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. In the following embodiments, the electronic device 100 shown in FIG. 3 is taken as an example for introduction.
[0074] In order to facilitate understanding of the display method provided by the present application, the scheme provided by the present application will be introduced in combination with specific embodiments. In the embodiments of the present application, the electronic device can be the electronic device shown in FIG. 1 and FIG. 3, including a foldable first display screen and a second display screen. Wherein when the first display screen is in the folded state, the second display screen is used to display the user interface. In the embodiments of the present application, the folding process refers to the process of changing the first display screen from the unfolded state to the folded state, and in this process, the folding angle of the first display will be reduced from 180° to 0°.
[0075] In some embodiments, when the first display screen of the electronic device is in the unfolded state, the electronic device can display a first user interface on the first display screen. Wherein the first user interface can be the user interface of the first application. The first application is an application loaded on the electronic device. For example, the first application can be a native application of the operating system of the electronic device, or it can be a third-party application. For example, the first application can be an audio application, or a video application, or a call application, which is not limited here.
[0076] The first application can be an application that is supported to be displayed on both the first display screen and the second display screen. For example, when the first application is an application that is supported to be displayed on both the first display screen and the second display screen, the user interface of the first application can be displayed on both the first display screen and the second display screen, and the user is provided with the service of the first application. In this case, the electronic device can switch the first application from the first display screen to the second display screen by the inner-outer screen flow function, or switch the first application from the second display screen to the first display screen by the inner-outer screen flow function. The inner-outer screen flow function refers to a function of switching the application or function being used by the display screen currently used for display to the next display screen used for display when the display screen used for display of the electronic device is switched. For example, when the display screen used for display of the electronic device is switched from the first display screen to the second display screen, the inner-outer screen flow function can refer to a function of switching the application or function being used by the first display screen to the second display screen to continue to provide the service to the user when the first display screen is switched to the second display screen.
[0077] When the first display screen displays the first user interface of the first application, the user can perform a folding operation on the first display screen to change the first display screen from the unfolded state to the folded state. The folding operation is used to change the first display screen from the unfolded state to the folded state. Optionally, when the first display screen is in the folded state, the electronic device can determine, according to the operation of the user in the folding process of the first display screen, whether to switch the first application from the first display screen to the second display screen to continue to provide services for the user. For example, when both the first display screen and the second display screen can display the first application, the electronic device can display the first user interface of the first application on the first display screen, and in response to the folding operation, fold the first display screen. In the folding process of the first display screen, the electronic device can switch the user function flow provided by the first user interface on the first display screen to the second display screen according to the selection result of the user in the folding process of the first display screen, 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, the electronic device switches the user function flow provided by the first user interface to the second display screen according to the selection result of the user, and the user can continue to browse the video application on the second display screen. For another example, when the first application is a call application, the electronic device determines, according to the selection result of the user, whether to end the call or continue the call when the first display screen changes to the folded state. For another example, when the first application is a photographable application, the electronic device determines, according to the selection result of the user, whether to open the first application to continue photographing or directly exit the first application to lock the second display screen when the first display screen changes to the folded state. In addition, in the embodiments of the present application, in response to the folding operation performed by the user on the first display screen, when the first display screen is in the folded state, the first application is in a continuous running state during the process of switching the first application from the first display screen to the second display screen. That is, during the folding process of the first display screen and the process of switching the first application to the second display screen when the first display screen is in the folded state, the electronic device does not restart the first application.
[0078] In some embodiments, the selection manner of the user in the folding process of the first display screen can be divided into two categories. One category of manner can be that the user adjusts the folding speed of the first display screen in the folding process to select whether to switch the first application to the second display screen to continue to display. Another category of manner can be that the user can select whether to perform a confirmation operation on the first display screen to select whether to switch the first application to the second display screen to continue to display. The confirmation operation is used to indicate screen switching. The display method of the electronic device is described below based on the above two selection manners.
[0079] Selection manner 1: The user adjusts the folding speed of the first display screen in the folding process to select whether to switch the first application to the second display screen to continue to display.
[0080] In some embodiments, the electronic device can determine the folding speed of the first display screen during the folding process of the first display screen in response to the folding operation. For example, the electronic device can obtain a plurality of folding angles of the first display screen at a set sampling frequency during the folding process of the first display screen. The electronic device can determine the folding speed of the first display screen according to the plurality of folding angles. For example, as shown in FIG. 4, the electronic device can obtain the folding angle a1 of the first display screen at the first time and the folding angle a2 of the first display screen at the second time at a set sampling frequency. The first time is earlier than the second time, 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 according to the angle change of the folding angle a1 and the folding angle a2.
[0081] The electronic device can determine the selection result of the user during the folding process of the first display screen according to the folding speed. For example, when the folding speed is less than or equal to the speed threshold, the electronic device can determine that the selection result is to switch the first application to be displayed on the second display screen. When the folding speed is greater than the speed threshold, the electronic device can determine that the selection result is not to switch the first application to be displayed on the second display screen.
[0082] As an example, when the folding speed is less than or equal to the speed threshold, the electronic device can display a second user interface on the second display screen when the first display screen changes from the unfolded state to the folded state. The second user interface represents the same user function as 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, the electronic device can determine the context information and the user function of the first user interface, and display the second user interface on the second display screen according to the context information and the user function of the first user interface. The display content in the second user interface can be adaptively adjusted from the display content in the first user interface.
[0083] For example, as shown in FIG. 5, the first display screen of the electronic device displays a first user interface when the first display screen is in the unfolded state. The first user interface is used to provide the user with services such as sleep-aiding sound playing and audio switching. The electronic device can also update the first display screen from the unfolded state to the folded state in response to the folding operation performed by the user on the first display screen. The electronic device can determine the folding speed according to the folding angle of the first display screen during the folding process. When the folding speed is less than or equal to the speed threshold, the electronic device displays a second user interface on the second display screen when the first display screen is in the folded state. The second user interface is used to provide the user with services such as sleep-aiding sound playing and audio switching.
[0084] As another example, when the folding speed is greater than the speed threshold, the electronic device can not start the display function of the second display screen when the first display screen changes from the unfolded state to the folded state, and the second display screen continues to be in the screen-off state. For example, the electronic device performs a lock screen operation on the second display screen when the first display screen is in the folded state, so that the second display screen enters the screen-off state. As another example, when the folding speed is greater than the speed threshold, the electronic device does not need to process the second display screen to normally close and enter the screen-off state when the first display screen changes from the unfolded state to the folded state.
[0085] For example, as shown in FIG. 6, the first display screen of the electronic device displays a first user interface when the first display screen is in the unfolded state. The first user interface is used to provide the user with services such as sleep aid sound playing and audio switching. The electronic device can also update the first display screen from the unfolded state to the folded state in response to the folding operation. The electronic device can determine the folding speed according to the folding angle of the first display screen during the folding process. When the folding speed is greater than the speed threshold, the electronic device can determine that the first application does not need to be switched to the second display screen for display. In this case, the electronic device can perform a lock screen operation on the second display screen when the first display screen is in the folded state, so that the second display screen enters the screen-off state.
[0086] Option 2: The user selects whether to switch the first application to the second display screen for continuous display by whether to perform a confirmation operation on the first display screen.
[0087] In some embodiments, the electronic device can display prompt information on the first display screen during the folding process of the first display screen in response to the folding operation. The prompt information is used to prompt the user whether to switch the screen. The prompt information can be a thumbnail of the first user interface, a floating button, or a notification message, without limitation. For example, the style of the floating button includes but is not limited to a variety of shapes of floating buttons such as bars and squares, a variety of special effects of floating button styles, and floating buttons containing prompt words or images. For example, the prompt words in the floating button can be words such as "seamless switching of the outer screen", "whether to switch the outer screen", "use of the outer screen", and the like. In this way, the floating button can be displayed on the first user interface displayed on the first display screen, prompting the user whether to switch the screen.
[0088] The electronic device can also determine the display area of the prompt information in the first display screen according to the user's usage habits or user-defined before displaying the prompt information, so as to facilitate the user to perform user operations thereon. The prompt information can be displayed in the first area of the first display screen or in the second area of the first display screen. For example, as shown in FIG. 7, the first area can be the display area 101 and the display area 102, i.e., the full screen of the first display screen; and the second area can be the display area 102. Since the user's line of sight can fall in the second area during the folding of the first display screen, the electronic device can display the prompt information in the second area to prompt the user whether to switch the screen.
[0089] Optionally, after determining the display area of the prompt information on the first display screen, the electronic device can display the prompt information in the display area during the folding of the first display screen. For example, the electronic device can display the prompt information at a fixed position in the display area.
[0090] Optionally, after determining the display area of the prompt information on the first display screen, the electronic device can display the dynamically changing prompt information in the first area or the second area of the first display screen during the folding of the first display screen to improve the user's visual experience. The dynamic change includes, but is not limited to, at least one of the following: position change, shape change, size change, transparency change, color change, etc. For example, the electronic device can acquire the current folding angle of the first display screen in the folding process according to a set sampling frequency. The electronic device can also determine the display parameters of the prompt information according to the current folding angle. The display parameters include, but are not limited to, at least one of the following: position, shape, size, transparency, 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 change of the thumbnail of the first user interface displayed on the first display screen during the folding process can be position change and size change. For another example, when the prompt information is a floating button, the dynamic change of the floating button displayed on the first display screen during the folding process can be position change. For another example, when the prompt information is a notification message, the dynamic change of the notification message displayed on the first display screen during the folding process can be position change. The process of dynamically displaying the prompt information is described below based on the above three cases of the prompt information.
[0091] Case 1: The prompt information is a thumbnail of the first user interface.
[0092] The electronic device can obtain a current folding angle of the first display screen at a set sampling frequency during folding of the first display screen. For example, the time interval of the set sampling frequency can be 0.5 seconds, and the electronic device can obtain the folding angle of the first display screen every 0.5 seconds after detecting the folding operation. After obtaining the current folding angle of the first display screen, the electronic device can determine the display parameter of the thumbnail of the first user interface according to the current folding angle. In case 1, the display parameter of the thumbnail can include a position and a size. For example, the electronic device can determine the display parameter of the thumbnail in the following manner.
[0093] The electronic device can determine a target interface zoom ratio corresponding to the current folding angle according to a pre-set mapping relationship between folding angles and interface zoom ratios. The greater the folding angle, the smaller the zoom ratio. In this way, the electronic device can determine the size of the thumbnail according to the target interface zoom ratio.
[0094] The electronic device can also determine the relative position of the thumbnail of the first user interface on the first display screen according to the operation hot area of the first display screen. The relative position is used to indicate the fixed point position when the first user interface is zoomed in. For example, the electronic device can determine the operation hot area of the first display screen based on left and right hand holding recognition technology. The electronic device can determine the user operation state of the electronic device according to the operation hot area of the first display screen. The user operation state can be a left-hand operation state or a right-hand operation state. For example, the electronic device can determine whether the user holds the electronic device with the left hand or the right hand according to the distribution of the operation hot area of the first display screen, and then determine the user operation state of the electronic device.
[0095] As an example, when the electronic device determines that the user holds the electronic device with the left hand, the electronic device can determine that the user operation state is a left-hand operation state. The electronic device can determine the relative position of the thumbnail of the first user interface based on the left-hand operation state. The relative position is located at the left side of the first region or the second region of the first display screen during folding. For example, when the user operation state is a left-hand operation state, the electronic device can determine that the first user interface is zoomed in to the lower left corner of the first display screen during folding. At this time, the relative position of the thumbnail of the first user interface can be the position of the lower left corner of the first region or the second region of the first display screen. The lower left corner position of the first region and the lower left corner position of the second region are the same, both of which are the lower left corner position of the first display screen.
[0096] As another example, when the electronic device determines that the user is holding the electronic device with the right hand, the electronic device can determine that the user operation state is a right-hand operation state. The electronic device can determine the relative position of the thumbnail of the first user interface based on the right-hand operation state. Wherein, the relative position is at a right side position of the first region or the second region of the first display screen in the folding process. For example, when the user operation state is the right-hand operation state, the electronic device can determine that the first user interface is displayed in a zoom-in manner to the lower right corner of the first display screen in the folding process. At this time, the relative position of the thumbnail of the first user interface can be the position of the lower right corner of the first region of the first display screen.
[0097] After determining the relative position and the size of the thumbnail, the electronic device can also determine the position of the thumbnail according to the relative position and the size of the thumbnail.
[0098] When the electronic device determines the position and size of the thumbnail of the first user interface by the above-mentioned manner, the electronic device can display the thumbnail of the first user interface on the first display screen based on the position and size of the thumbnail. In the folding process, the position of the thumbnail of the first user interface displayed on the first display screen will move from the top of the first region or the second region to the bottom of the first region or the second region, and the size of the thumbnail will also decrease with the decrease of the folding angle of the first display screen, in the process of the folding angle of the first display screen gradually transitioning from a large angle to a small angle.
[0099] As an example, after determining the display parameters of the thumbnail, the electronic device can dynamically display the thumbnail at the left side position of the second region of the first display screen according to the display parameters of the thumbnail. For example, as shown in FIG. 8, the electronic device obtains the folding angle a1 of the first display screen at the first time in the folding process, and displays the thumbnail of the first user interface on the first display screen at the first time according to the display parameters of the thumbnail of the first user interface corresponding to the folding angle a1. The electronic device can also obtain the folding angle a2 of the first display screen at the second time in the folding process, and display the thumbnail of the first user interface on the first display screen at the second time according to the display parameters of the thumbnail of the first user interface corresponding to the folding angle a2. Wherein, as shown in FIG. 8, the position of the thumbnail of the first user interface at the first time is closer to the top of the second region than the position of the thumbnail of the first user interface at the second time, and the size of the thumbnail at the first time is larger than the size of the thumbnail at the second time. That is, in the folding process of the first display screen, the first user interface is contracted based on the lower left corner position of the second region, and the thumbnail of the first user interface is dynamically displayed on the first display screen. Wherein, the first time is earlier than the second time, and the folding angle a1 is greater than the folding angle a2.
[0100] As another example, after determining the display parameter of the thumbnail, the electronic device can dynamically display the thumbnail at a position on the right side of the second area of the first display according to the display parameter of the thumbnail. For example, as shown in FIG. 9, at a first time in the folding process, the electronic device obtains the folding angle a1 of the first display, and displays the thumbnail of the first user interface on the first display at the first time according to the display parameter of the thumbnail corresponding to the folding angle a1. The electronic device can also obtain the folding angle a2 of the first display at a second time in the folding process, and display the thumbnail of the first user interface on the first display at the second time according to the display parameter of the thumbnail corresponding to the folding angle a2. The first time is earlier than the second time, 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 time is closer to the top of the second area than the position of the thumbnail of the first user interface at the second time. That is, in the folding process, the first user interface is contracted with the lower right corner of the second area as a reference, and the thumbnail of the first user interface is dynamically displayed on the first display.
[0101] Case 2: The prompt information is a floating button.
[0102] The electronic device can obtain the current folding angle of the first display according to the set sampling frequency during the folding process of the first display. The electronic device can determine the display parameter of the floating button according to the current folding angle. In case 2, the display parameter of the floating button can include a position. For example, the electronic device can determine the position of the floating button in the following manner.
[0103] As an example, the electronic device can determine the position corresponding to the current folding angle according to the mapping relationship between the folding angle and the position. The electronic device can take the position corresponding to the current folding angle as the position of the floating button.
[0104] As another example, when the horizontal size and the vertical size of the floating button are both smaller than the horizontal size and the vertical size of the first display, the position of the floating button can also include a vertical position and a horizontal position. In this case, the electronic device can determine the user operation state of the electronic device according to the operation hot area of the first display. The electronic device can determine the horizontal position of the floating button according to the user operation state. The electronic device can also determine the vertical position of the floating button according to the current folding angle. For example, when the user operation state is a left-hand operation state, the floating button is displayed on the left side of the first display. For another example, when the user operation state is a right-hand operation state, the floating button is displayed on the right side of the first display.
[0105] After the electronic device determines the position of the floating button in the above manner, the electronic device can also display the floating button on the first display screen based on the position. During the folding process, as the folding angle of the first display screen gradually transitions from a large included angle to a small included angle, the position of the floating button displayed on the first display screen moves from the top of the first region or the second region to the bottom of the first region or the second region as the folding angle of the first display screen changes. The position change of the floating button can be a change in the vertical position, or a change in both the vertical position and the horizontal position. For example, as shown in FIG. 10, after the electronic device determines the position of the floating button at the first time according to the folding angle a1 at the first time, the electronic device can display the floating button on the second region of the first display screen according to the position at the first time. The electronic device can also determine the position of the floating button on the first display screen at the second time according to the folding angle a2 collected at the second time, and display the floating button on the second region of the first display screen according to the position at the second time. The first time is earlier than the second time, the folding angle a1 is greater than the folding angle a2, and the vertical position of the position of the floating button at the first time is closer to the top of the second region than the vertical position of the position of the floating button at the second time.
[0106] For another example, as shown in FIG. 11, when the user operation state of the electronic device is the right-hand operation state, the electronic device can determine the position of the floating button at the first time according to the folding angle a1 collected at the first time during the folding process, and display the floating button in the second region of the first display screen according to the position at the first time. The electronic device can also determine the position of the floating button at the second time according to the folding angle a2 collected at the second time during the folding process, and display the floating button in the second region of the first display screen according to the position at the second time. The first time is earlier than the second time, the folding angle a1 is greater than the folding angle a2, and the position of the floating button at the first time is closer to the top of the second region than the position of the floating button at the second time.
[0107] For another example, as shown in FIG. 12, when the user operation state of the electronic device is the left-hand operation state, the electronic device can determine the position of the floating button at the first time according to the folding angle a1 collected at the first time during the folding process, and display the floating button in the second region of the first display screen according to the position at the first time. The electronic device can also determine the position of the floating button at the second time according to the folding angle a2 collected at the second time during the folding process, and display the floating button in the second region of the first display screen according to the position at the second time. The first time is earlier than the second time, the folding angle a1 is greater than the folding angle a2, and the position of the floating button at the first time is closer to the top of the second region than the position of the floating button at the second time.
[0108] Case 3: The prompt information is a notification message.
[0109] The electronic device can obtain the current folding angle of the first display screen at a set sampling frequency during the folding of the first display screen. The electronic device can determine the display parameter of the notification message according to the current folding angle. In case 3, the display parameter of the notification message can include the position. The position of the notification message includes the longitudinal position of the notification message.
[0110] As an example, the electronic device can determine the width of the notification message according to the width of the first display screen. The electronic device can determine the longitudinal position of the notification message according to the current folding angle. In this case, the width of the notification message does not change with the change of the folding angle during the folding, and the longitudinal position of the notification message changes with the change of the folding angle. Therefore, during the folding, the electronic device only needs to determine the longitudinal position of the notification message to obtain the position of the notification message.
[0111] After the electronic device determines the position of the notification message in the above manner, the electronic device can also display the notification message on the first display screen based on the position. During the folding, the position of the notification message displayed on the first display screen moves from the top of the first region or the second region to the bottom of the first region or the second region as the folding angle of the first display screen gradually transitions from a large angle to a small angle.
[0112] In some embodiments, the electronic device can determine the display parameter of the prompt information in the manner described in the above three cases, and display the prompt information on the first display screen based on the display parameter. As an example, after determining the display parameter, the electronic device can also determine other display parameters of the prompt information. For example, when the prompt information is a thumbnail of the first user interface, the other display parameters can include but are not limited to shape, transparency, color, etc. As another example, when the prompt information is a floating button, the other display parameters include but are not limited to shape, size, transparency, color, etc. As another example, when the prompt information is a notification message, the other display parameters include but are not limited to shape, size, transparency, color, etc. The determination process of the other display parameters can refer to the determination process of the position described in the above embodiments. The electronic device can display the prompt information on the first display screen according to the display parameter and the other display parameters of the prompt information.
[0113] In the folding process of the first display screen, the electronic device can display the prompt information on the first display screen according to the dynamic display of the prompt information in the above three cases. The electronic device can also display the second user interface on the second display screen when the first display screen is in the folded state in response to the user performing a confirmation operation on the prompt information on the first display screen. For example, the electronic device can determine the user's selection result by detecting whether the user performs a confirmation operation on the prompt information in the folding process. For example, the confirmation operation can be a click operation.
[0114] As an example, when the electronic device detects a confirmation operation performed by the user on the prompt information on the first display screen, it can determine that the user's selection result is to switch the first application to continue displaying on the second display screen. In this case, when the first display screen changes from the unfolded state to the folded state, the electronic device can display the 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 the above selection method 1, and will not be repeated here.
[0115] For example, as shown in FIG. 13, when the first display screen is in the unfolded state, the first display screen of the electronic device displays the first user interface. The first user interface is used to provide the user with services such as sleep aid sound playing, audio switching, etc. The electronic device can also update the first display screen from the unfolded state to the folded state in response to the user performing a folding operation on the first display screen. In the folding process, the electronic device can dynamically display a thumbnail of the first user interface 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 user performing a confirmation operation on the thumbnail of the first user interface on the first display screen. The second user interface is used to provide the user with services such as sleep aid sound playing, audio switching, etc.
[0116] As another example, when the electronic device does not detect a confirmation operation performed by the user on the prompt information on the first display screen in 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 continue displaying on the second display screen. In this case, when the first display screen changes from the unfolded state to the folded state, the electronic device can perform a screen-off process on the second display screen. The process of the electronic device performing the screen-off process on the second display screen is the same as the process of performing the screen-off process on the second display screen in the above selection method 1, and will not be repeated here.
[0117] For example, as shown in FIG. 14, when the first display screen is in the unfolded state, the first display screen of the electronic device displays a first user interface. The first user interface is used to provide the user with services such as sleep aid sound playing and audio switching. The electronic device can also update the first display screen from the unfolded state to the folded state in response to a folding operation performed by the user on the first display screen. During folding, the electronic device can display a thumbnail of the first user interface on the first display screen. When the electronic device does not detect a confirmation operation performed by the user on the thumbnail of the first user interface on the first display screen during folding, the electronic device can perform lock screen processing on the second display screen when the first display screen is in the folded state, so that the second display screen enters the screen-off state.
[0118] Based on the content described in the above embodiments, the electronic device displays a first user interface on the first display screen when the first display screen is in the unfolded state. The electronic device can also update the first display screen from the unfolded state to the folded state in response to a folding operation performed by the user on the first display screen, and switch the user function represented by the first user interface on the first display screen to the second display screen when the first display screen is in the folded state, realizing the flow of user functions between different display screens, thereby improving the user's experience.
[0119] Based on the above embodiments, the embodiments of the present application also provide a display system applied to an electronic device. The electronic device can be the electronic device shown in FIGS. 1 and 3. The electronic device includes a foldable first display screen and a second display screen. When the first display screen is in the folded state, the second display screen is used to display a user interface. As shown in FIG. 15, the system includes a state recognition module 10, an interaction display module 20, a user interaction processing module 30, and an execution module 40. Wherein:
[0120] The state recognition module 10 is configured to recognize folding state related information of the first display screen of the electronic device and send the folding state related information to the interaction display module 20. The folding state related information includes but is not limited to the folding angle of the first display screen and the user operation state of the electronic device. For example, when the user operation state is the left-hand operation state, the user holds the electronic device with the left hand. For another example, when the user operation state is the right-hand operation state, the user holds the electronic device with the 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 operation state based on left and right hand recognition technology.
[0121] The interaction display module 20 is configured to display a user experience (UX) interface related to the folding state in the state recognition module 10 on the first display screen during the folding process, wherein the UX interface is used to prompt the user to switch the screen. The UX interface can include a thumbnail of the first user interface, a floating button, or a notification message.
[0122] The user interaction processing module 30 is configured to identify the actual operation selection of the user and generate a corresponding instruction.
[0123] The execution module 40 is configured to switch the context information of the related application on the first display screen to the second display screen or perform a screen-off operation on the second display screen according to the instruction generated by the user interaction processing module 30.
[0124] Based on the display system shown in FIG. 15, the embodiments of the present application can further 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 the interaction display module of the electronic device displays the UX interface during the folding process. As shown in FIG. 16, the use case includes:
[0125] S1601: The state recognition module determines the folding angle of the first display screen.
[0126] S1602: The state recognition module determines the user operation state of the electronic device.
[0127] The process of determining the user operation state in S1602 is the same as the process of determining the user operation state in the above-mentioned embodiments, and will not be described here.
[0128] There is no execution sequence between step S1601 and step S1602.
[0129] S1603: The interaction display module displays the UX interface on the first display screen during the folding process of the first display screen according to the folding angle and the user operation state.
[0130] In some embodiments, the interaction display module can dynamically display the UX interface on the first display screen according to the folding angle and the user operation state. The dynamic change includes at least one of the following: position change, shape change, size change, transparency change, and color change.
[0131] The interaction display module receives the folding angle and the user operation state from the state recognition module, and determines a display parameter of the UX interface on the first display screen according to the current folding angle and the user operation state. The display parameter includes at least one of the following: position, shape, size, transparency, color. The interaction display module can display the UX interface on the first display screen based on the display parameter during the folding process of the first display screen. The process of determining the display parameter of the UX interface by the interaction display module is the same as the process of determining the display parameter of the prompt information in the above embodiments, and will not be described here.
[0132] S1604: During the folding process, the user interaction processing module detects whether the user clicks the UX interface; if yes, step S1605 is performed; if no, step S1607 is performed.
[0133] S1605: The user interaction processing module generates a screen switching instruction. The screen switching instruction is used to instruct the execution module to switch the first application in the first display screen to continue displaying on the second display screen.
[0134] S1606: The execution module displays a second user interface on the second display screen when the first display screen is in the folded state based on the screen switching instruction.
[0135] The second user interface represents the same user function as the first user interface. The process of displaying the second user interface on the second display screen by the execution module is the same as the process of displaying the second user interface on the second display screen by the electronic device in the above embodiments, and will not be described here.
[0136] S1607: The user interaction processing module generates an off-screen instruction.
[0137] The off-screen instruction is used to instruct the execution module to perform off-screen processing on the second display screen.
[0138] S1608: The execution module performs off-screen processing on the second display screen according to the off-screen instruction when the first display screen is in the folded state.
[0139] Based on the content shown in FIG. 16, the electronic device can display the UX interface for the user to select through the user interaction processing module, and the user can trigger the switching instruction by clicking 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 the folded state, thereby improving the user's experience.
[0140] Based on the above embodiments, the embodiments of the present application further provide a display system, which is applied to an electronic device. The electronic device can be the electronic device shown in FIG. 1 and FIG. 3. The electronic device includes a first display screen and a second display screen. As shown in FIG. 17, the system includes a state identification module 1710 and an execution module 1720. Wherein:
[0141] The state identification module 1710 is configured to identify the folding angle and folding speed of the first display screen of the electronic device in the folding process, and generate a screen switching instruction or a screen off instruction according to the folding speed. For example, the state identification module 1710 can determine the folding angle by using a folding angle identification technology. The state identification module 1710 can determine the folding speed by using a folding speed identification technology.
[0142] The execution module 1720 is configured to switch the context information of the related application on the first display screen to the second display screen according to the screen switching instruction generated by the state identification module 1710, or perform screen off processing on the second display screen based on the screen off instruction generated by the state identification module 1710.
[0143] Based on the display system shown in FIG. 17, the embodiments of the present application can further provide a display use case. In the use case, when the first display screen of the electronic device displays a first user interface, the state identification module of the electronic device detects a folding operation. As shown in FIG. 18, the use case includes:
[0144] S1801: The state identification module determines the folding angle of the first display screen.
[0145] S1802: The state identification module determines the folding speed of the first display screen according to the folding angle of the first display screen.
[0146] Wherein, the determination method of the folding speed in S1802 is the same as the determination method of the folding speed in the above embodiments, which will not be described here.
[0147] S1803: The state identification module determines whether the folding speed is greater than a speed threshold value; if yes, step S1804 is performed; if no, step S1806 is performed.
[0148] S1804: The state identification module generates a screen switching instruction. The screen switching instruction is used to instruct the execution module to switch the first application in the first display screen to the second display screen for continuous display.
[0149] 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.
[0150] The user function represented by the second user interface is the same as the user function represented by the first user interface. The process in which the execution module displays the second user interface on the second display screen is the same as the process in which the electronic device displays the second user interface on the second display screen in the above embodiment, and will not be described here again.
[0151] The state recognition module generates a screen-out instruction.
[0152] The screen-out instruction is used to instruct the execution module to perform screen-out processing on the second display screen.
[0153] The execution module performs screen-out processing on the second display screen according to the screen-out instruction when the first display screen is in the folded state.
[0154] Based on the content shown in FIG. 18, the state recognition module of the electronic device can determine, according to the folding speed of the first display screen in the folding process, whether the current intention of the user is to switch the application on the first display screen to the second display screen for continuous use or to directly perform screen-out on the second display screen, without the user needing to perform an additional operation, thereby improving the user's use experience.
[0155] Based on the above embodiments and the same technical concept, the application further provides a display method, applied to the electronic device shown in FIG. 1 or FIG. 3. The electronic device includes a foldable first display screen and a second display screen. When the first display screen is in the unfolded state, the second display screen is used to display a user interface. The following terms appearing in the following embodiments are explained: the electronic device can be the electronic device in the foregoing embodiments, the first display screen can be the first display screen in the foregoing embodiments, the second display screen can be the second display screen in the foregoing embodiments, the unfolded state can be the unfolded state in the foregoing embodiments, the first user interface can be the first user interface in the foregoing embodiments, the folding operation can be the folding operation in the foregoing embodiments, the folding speed can be the folding speed in the foregoing embodiments, the folded state can be the folded state in the foregoing embodiments, the second user interface can be the second user interface in the foregoing embodiments, the set sampling frequency can be the set sampling frequency in the foregoing embodiments, the speed threshold can be the speed threshold in the foregoing embodiments, the prompt information can be the prompt information in the foregoing embodiments, the dynamic change can be the dynamic change in the foregoing embodiments, the current folding angle can be the current folding angle in the foregoing embodiments, the thumbnail of the first user interface can be the thumbnail of the first user interface in the foregoing embodiments, the floating button can be the floating button in the foregoing embodiments, the notification message can be the notification message in the foregoing embodiments, the confirmation operation can be the confirmation operation in the foregoing embodiments, the display parameter can be the display parameter in the foregoing embodiments, the interface scaling ratio can be the interface scaling ratio in the foregoing embodiments, the user operation state can be the user operation state in the foregoing embodiments, the left-hand operation state can be the left-hand operation state in the foregoing embodiments, the right-hand operation state can be the right-hand operation state in the foregoing embodiments, the operation hot zone can be the operation hot zone in the foregoing embodiments, the longitudinal position can be the longitudinal position in the foregoing embodiments, the transverse position can be the transverse position in the foregoing embodiments, and the continuous running state can be the continuous running state in the foregoing embodiments. For the terms involved in the above embodiments of the application, refer to the explanations of these terms in the foregoing embodiments, which will not be repeated here.
[0156] As shown in FIG. 19, the method can include:
[0157] S1901: The electronic device displays a first user interface on the first display screen when the first display screen is in an unfolded state.
[0158] S1902: The electronic device displays 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 the user on the first display screen.
[0159] The second user interface represents the same user function as the first user interface.
[0160] In some embodiments of the present application, the electronic device determines a folding speed of the first display screen during folding of the first display screen in response to the folding operation; and displays the second user interface on the second display screen according to the folding speed when the first display screen is in the folded state. The specific implementation of the electronic device determining the folding speed can be implemented according to the related method described in the foregoing embodiments, which will not be described in detail here.
[0161] As an optional implementation, the electronic device displays the second user interface on the second display screen when the folding speed is less than or equal to a speed threshold.
[0162] In some other embodiments of the present application, the electronic device can also 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 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 screens. The specific implementation of the method can be implemented according to the related method described in the foregoing embodiments, which will not be described in detail here.
[0163] As an optional implementation, the electronic device displays dynamically changing prompt information on the first display screen during folding of the first display screen. Optionally, the dynamic change includes at least one of the following: position change, shape change, size change. For example, the electronic device acquires a current folding angle of the first display screen in the folding process according to a set sampling frequency; determines display parameters of the prompt information according to the current folding angle, the display parameters including at least one of the following: position, shape, size; and displays the prompt information on the first display screen according to the display parameters.
[0164] Optionally, the prompt information is a thumbnail of the first user interface, a floating button, or a notification message.
[0165] Optionally, when the prompt information is a thumbnail of the first user interface, the electronic device can determine a target interface scaling ratio corresponding to the current folding angle according to a mapping relationship between the folding angle and the interface scaling ratio, and determine the size of the thumbnail according to the target interface scaling ratio; determine a user operation state of the electronic device according to an operation hot area of the first display screen, the user operation state being a left-hand operation state or a right-hand operation state; and determine the position of the thumbnail according to the user operation state and the size of the thumbnail. The specific implementation of the method can be implemented according to the related method described in the foregoing embodiments, which will not be described in detail here.
[0166] Optionally, when the prompt information is a floating button, the electronic device can determine a longitudinal position of the floating button according to the current folding angle; determine a user operation state of the electronic device according to an operation hot area of the first display screen; determine a transverse position of the floating button according to the user operation state; and the position of the floating button includes the longitudinal position and the transverse position. For the specific implementation of the method, refer to the related method described in the foregoing embodiments, which will not be described in detail here.
[0167] Optionally, when the prompt information is a notification message, the electronic device can determine a width of the notification message according to a width of the first display screen; determine a longitudinal position of the notification message according to the current folding angle; and the position of the notification message includes the longitudinal position. For the specific implementation of the method, refer to the related method described in the foregoing embodiments, which will not be described in detail here.
[0168] Optionally, when the first display screen displays the dynamically changing prompt information, the first display screen does not display other user interfaces.
[0169] In some embodiments of the present application, the first user interface is a user interface of a first application, and the second user interface is a user interface of the first application; in response to the folding operation performed by the user on the first display screen, in the process of displaying the second user interface on the second display screen when the first display screen is in the folded state, the first application is in a persistent running state.
[0170] For the specific implementation of the electronic device displaying the second user interface on the second display screen in response to the confirmation operation, refer to the related method described in the foregoing embodiments, which will not be described in detail here.
[0171] In the above method, the specific steps performed by the electronic device can refer to the related description in the foregoing embodiments, which will not be described in detail here.
[0172] Based on the above and the same technical concept, the present 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, the computer program code includes computer instructions; and the one or more processors are used to execute the computer program instructions stored in the memory, so that the electronic device performs the steps performed by the electronic device in the above method embodiments. In the embodiments of the present application, the display screen of the electronic device includes a foldable first display screen and a second display screen.
[0173] Based on the above content and the same idea, the present application provides a computer readable storage medium, which stores a computer program or instructions, when the computer program or instructions are executed by a computing device, the computing device executes the steps performed by the electronic device in the above method embodiment.
[0174] Based on the above content and the same idea, the present 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 executes the steps performed by the electronic device in the above method embodiment.
[0175] Those skilled in the art will understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage, etc.) containing computer-usable program code.
[0176] The present application is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts 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, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.
[0177] These computer program instructions can also be stored in a computer readable memory that can direct the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including instruction means, which implements the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.
[0178] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable data processing apparatus to produce a computer-implemented process, so that the instructions executed on the computer or other programmable data processing apparatus provide steps for implementing the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.
[0179] Obviously, many modifications and variations of the present application are possible in light of the above teachings. It is, therefore, to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. A display method characterized by comprising: The method is applied to an electronic device, the electronic device comprising 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 comprising: displaying a first user interface on the first display screen when the first display screen is in an unfolded state; in response to a folding operation performed by a user on the first display screen, displaying a second user interface on the second display screen when the first display screen is in the folded state, the second user interface representing the same user function as the first user interface.
2. The method of claim 1, wherein, The response to the folding operation performed by the user on the first display screen, displaying the second user interface on the second display screen when the first display screen is in the folded state, comprises: in response to the folding operation, determining a folding speed of the first display screen during folding of the first display screen; displaying the second user interface on the second display screen according to the folding speed when the first display screen is in the folded state.
3. The method of claim 2, wherein, The displaying of the second user interface on the second display screen according to the folding speed comprises: when the folding speed is less than or equal to a speed threshold, displaying the second user interface on the second display screen.
4. The method according to any one of claims 1 to 3, characterized in that, The response to the folding operation performed by the user on the first display screen, displaying the second user interface on the second display screen when the first display screen is in the folded state, comprises: in response to the folding operation, displaying prompt information on the first display screen during folding of the first display screen, the prompt information being used to prompt the user whether to switch screens; in response to a confirmation operation performed by the user on the prompt information on the first display screen, displaying 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 switching screens.
5. The method of claim 4, wherein, The displaying of prompt information on the first display screen during folding of the first display screen comprises: displaying the prompt information that dynamically changes on the first display screen during folding of the first display screen.
6. The method of claim 5, wherein, The dynamic change comprises at least one of the following: position change, shape change, size change.
7. The method according to claim 5 or 6, characterized in that, The displaying of the prompt information that dynamically changes on the first display screen during folding of the first display screen comprises: acquiring a current folding angle of the first display screen in the folding process according to a set sampling frequency; determining a display parameter of the prompt information according to the current folding angle, the display parameter comprising at least one of the following: position, shape, size; displaying the prompt information on the first display screen according to the display parameter.
8. The method according to any one of claims 5-7, characterized in that, The prompt information is a thumbnail of the first user interface, a floating button, or a notification message.
9. The method of claim 8, wherein, When the prompt information is a thumbnail of the first user interface, the determination of the display parameter of the prompt information according to the current folding angle comprises: According to a mapping relationship between the folding angle and the interface zoom ratio, a target interface zoom ratio corresponding to the current folding angle is determined, and a size of the thumbnail is determined according to the target interface zoom ratio; According to the operation hot area of the first display screen, a user operation state of the electronic device is determined; the user operation state is a left-hand operation state or a right-hand operation state; According to the user operation state and the size of the thumbnail, a position of the thumbnail is determined.
10. The method of claim 8, wherein, When the prompt information is the floating button, the display parameter of the prompt information is determined according to the current folding angle, including: According to the current folding angle, a longitudinal position of the floating button is determined; According to the operation hot area of the first display screen, a user operation state of the electronic device is determined; According to the user operation state, a transverse position of the floating button is determined; the position of the floating button includes the longitudinal position and the transverse position.
11. The method of claim 8, wherein, When the prompt information is the notification message, the display parameter of the prompt information is determined according to the current folding angle, including: According to the width of the first display screen, a width of the notification message is determined; According to the current folding angle, a longitudinal position of the notification message is determined; the position of the notification message includes the longitudinal position.
12. The method according to any one of claims 5-11, characterized in that, When the first display screen displays 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 to 12, characterized in that, The first user interface is a user interface of a first application, and the second user interface is a user interface of the first application; In response to the folding operation performed by the user on the first display screen, in the process of displaying the second user interface on the second display screen when the first display screen is in a folded state, the first application is in a continuous running state.
14. An electronic device, comprising: It is characterized by comprising: a display screen; one or more processors; 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 executes the method of 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, when the computer program runs on a computer, so that the computer executes the method of any one of claims 1-13.
16. A computer program product, characterised in that, When the computer program product runs on a computer, so that the computer executes the method of any one of claims 1-13.
Citation Information
Patent Citations
Display method applied to electronic equipment with folding screen and electronic equipment
CN111124561A
Display method and electronic equipment
CN112558898A
Display method of folding screen and electronic equipment
CN116027886A
Display control method and related equipment
CN116743892A
Method and apparatus for switching display displaying screen of application between plurality of displays
US20240069848A1