Foldable screen display method and electronic device

The method maintains consistent application icon arrangements on foldable screens by displaying a first interface in a folded state and a second interface in an unfolded state, enhancing user experience by providing familiar and relevant content without disrupting the original layout.

JP7574512B2Active Publication Date: 2024-10-29HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022516627
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-09-16
Filing Date
2020-09-14
Publication Date
2024-10-29
Estimated Expiration
2040-09-14

AI Technical Summary

Technical Problem

Existing foldable screen displays on mobile devices fail to adapt application icons effectively when the screen area changes, leading to increased spacing and inconvenience for users as they search for icons due to changes in screen size and aspect ratio, disrupting user experience.

Method used

A method and electronic device that maintains the original arrangement of application icons by displaying a first interface on a main screen in a folded state and a second interface on a secondary screen in an unfolded state, with the second interface containing recently used or frequently used icons, and optionally using animations to transition between states.

Benefits of technology

This approach maintains user familiarity and convenience by keeping icon arrangements consistent, providing more operating options and improving user experience by displaying relevant applications without requiring users to relearn icon locations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007574512000006
    Figure 0007574512000006
  • Figure 0007574512000007
    Figure 0007574512000007
  • Figure 0007574512000008
    Figure 0007574512000008
Patent Text Reader

Abstract

A foldable screen display method and an electronic device are disclosed for realizing a better user experience when the displayable area of ​​an electronic device having a foldable screen changes. A specific solution includes: when the electronic device is in a folded state, displaying a first interface on a main screen of the electronic device, the first interface being a main interface of the electronic device and including one or more application icons; and, in response to the electronic device changing from the folded state to the unfolded state, displaying, by the electronic device, the first interface in the first display area of ​​the foldable screen and a second interface in a second display area of ​​the foldable screen, the second interface being different from the first interface.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] TECHNICAL FIELD Embodiments of the present application relate to the field of computer technology, and in particular to a foldable screen display method and electronic device. [Background technology]

[0002] User interface (UI) adaptation means that interface elements on a terminal's display change as the screen size or resolution changes. For example, if the screen width increases, the distance between interface elements increases adaptively. If the aspect ratio of the display changes, the number of application icons displayed in each row or column on the device also changes. For example, for a landscape mode display and a portrait mode display on a tablet computer, the number of application icons in each row on the landscape mode display is different from that on the portrait mode display.

[0003] In recent years, mobile phones with foldable screens have been put forward. The foldable screen can be folded into at least two screens. After the foldable screen is folded, an application interface can be displayed on one screen. After the foldable screen is unfolded, the screen area increases. During display on a conventional foldable screen, the content displayed on the mobile phone remains unchanged before and after the foldable screen is folded. FIG. 1(a) shows an interface displayed after the mobile phone with a foldable screen is folded, and FIG. 1(b) shows an interface displayed after the mobile phone with a foldable screen is unfolded. FIG. 1(b) shows an example of an interface display in which the value of the distance between application icons is adaptively adjusted after the aspect ratio of the screen changes.

[0004] In the above display mode, the distance value between application icons on the display interface is adaptively adjusted to fit the change of screen size. As a result, the application icons on the display interface are not densely arranged, which causes a bad impression to the user. If the number of application icons on the display interface changes, the display order of the original application icons on the display interface also changes. When the user is looking at the display interface, he or she needs to search and find the application icons, which is inconvenient for the user. Summary of the Invention

[0005] The embodiments of the present application provide a foldable screen display method and electronic device for adaptively adjusting the positions of application icons on a display interface when the screen area of ​​an electronic device with a foldable screen changes, without changing the original application icon arrangement order, so as to improve the impression on a user.

[0006] To achieve the above objective, the following solutions are used in the embodiments of the present application.

[0007] According to a first aspect, an embodiment of the present application provides a foldable screen display method. The method may be applied to an electronic device including a foldable screen. The electronic device may be folded such that the foldable screen is divided into a plurality of display areas. The method may include: displaying a first interface on a main screen of the electronic device when the electronic device is in a folded state, the first interface being a main interface of the electronic device, the first interface including one or more application icons; and displaying, by the electronic device, the first interface on the first display area of ​​the foldable screen and a second interface on a second display area of ​​the foldable screen, the second interface being different from the first interface, in response to the electronic device changing from the folded state to the unfolded state.

[0008] It should be noted that when an electronic device with a foldable screen is in a folded state, due to a change in physical shape, the foldable screen is divided into multiple display areas, and the area currently used for display is the main screen. In the case of an outward-facing foldable screen, the main screen is a part of the foldable screen. In the case of an inward-facing foldable screen, the main screen is another display on the electronic device. The main screen of the electronic device may include one or more main interfaces, and the one or more main interfaces may be used to display application icons and folder icons on the electronic device.

[0009] In this embodiment of the present application, after an electronic device with a foldable screen is unfolded, different interfaces are displayed in the first display area and the second display area, and the first interface displayed in the first display area is the main interface displayed when the electronic device is in a folded state. In this case, after the electronic device changes from a folded state to an unfolded state, the content displayed in the first interface remains unchanged, so that the user can operate the electronic device according to the original operation habits. This is convenient for the user to use the electronic device. When the electronic device is in an unfolded state, the area of ​​the foldable screen is increased. In this case, the first interface is displayed in the first display area, and the second interface is displayed in the second display area. The first interface is different from the second interface. Therefore, more operation options are provided to the user. This improves the user experience.

[0010] It should be noted that in this application, after the electronic device changes from the folded state to the unfolded state, the first interface displayed when the electronic device is in the folded state is still displayed in the first display area of ​​the foldable screen. However, this is not intended to set a restriction that the first interface does not change at all before and after the state of the electronic device changes. Alternatively, the first interface may change without affecting the user's operation habits. For example, the background is adjusted to be the same as the second interface, or the background color is changed, or more function options are displayed at the top or bottom of the first interface, or the first interface changes because other applications are displayed on the complete display interface in the unfolded state, as shown in FIG. 11A.

[0011] With reference to the first aspect, in a possible implementation, the second interface includes one or more second application icons, and the one or more second application icons include application icons for applications that have recently run on the electronic device but have not been closed.

[0012] The second application icons on the second interface are application icons of applications that have been recently executed but not closed on the electronic device. In this way, the electronic device in the expanded state can provide more operation options to the user. In addition, the user can know the recently executed applications based on the content displayed on the electronic device, which further improves the user experience.

[0013] With reference to the first aspect, in a possible implementation, the second interface includes one or more second application icons, and the one or more second application icons include application icons of one or more applications that have been used more than a preset number of times within a preset period of time, or application icons of one or more applications that have been used for more than a preset time within a preset period of time.

[0014] The second application icon included in the second interface is an application icon corresponding to an application that has been used many times on the electronic device or has been used for a long period of time on the electronic device. The application may be understood as an application that has been frequently used by the user. The application icon corresponding to the application is displayed on the second interface, so that the user can quickly determine the application that the user wants to use. This improves the user experience.

[0015] Referring to the first aspect, in a possible implementation, the second interface is an interface of a recently used application.

[0016] Referring to the first aspect, in a possible implementation, the second interface is the leftmost screen.

[0017] With reference to the first aspect, in a possible implementation, the content contained in the second interface is defined by a user.

[0018] With reference to the first aspect, in a possible implementation, the second interface includes one or more second application icons, the second interface being another main interface of the electronic device.

[0019] The second interface is another main interface of the electronic device, so that the electronic device in the unfolded state displays two main interfaces. The layout manner and layout order of the application icons on the two main interfaces do not change, and the user does not need to know the position of each application icon anew. In this case, the user can determine the position of the application icon according to the original operation habit, which further improves the user experience.

[0020] With reference to the first aspect, in a possible implementation, when the electronic device is in a folded state, a first page control is displayed on a main screen of the electronic device. The first page control is used to indicate that the electronic device is currently displayed on one main interface of the electronic device. When the electronic device is in an unfolded state, a second page control is displayed on the foldable screen. The second page control is used to indicate that the electronic device is currently displaying two main interfaces of the electronic device.

[0021] The first page control is used to show the main interface of the electronic device. The main interface displayed on the electronic device in the unfolded state is the same as that displayed on the electronic device in the folded state. In this case, the user does not need to know or remember the main interfaces in different states. This improves the user's impression and experience.

[0022] With reference to the first aspect, in a possible implementation, when the electronic device is in the unfolded state, in response to a first swipe operation, the electronic device displays a second interface in the first display area and a third interface in the second display area, the third interface being different from the second interface, the third interface being another main interface of the electronic device, or the third interface being a left-most screen of the electronic device.

[0023] It should be noted that the left-most screen (negative interface / HiBoard) of the electronic device is an interface that the user accesses by swiping right from the display desktop (or main interface) of the electronic device. The interface may display functions and applications frequently used by the user, services and information to which the user subscribes, and the like. The left-most screen may also be referred to as a desktop assistant or shortcut menu, etc.

[0024] With reference to the first aspect, in a possible implementation, the foldable screen is an inward-facing foldable screen. When the electronic device is in the folded state, the foldable screen is invisible to the user. When the electronic device is in the unfolded state, the foldable screen is visible to the user. The foldable screen display method further includes a step in which, in a process in which the electronic device changes from the folded state to the unfolded state, the electronic device displays an animation in which a plurality of first application icons appear row by row in the first display area, and displays an animation in which one or more second application icons appear row by row in the second display area.

[0025] In the process of the electronic device changing from the unfolded state to the folded state, the electronic device displays an animation in which a plurality of first application icons disappear row by row in the first display area, and displays an animation in which one or more second application icons disappear row by row in the second display area.

[0026] Referring to the first aspect, in a possible implementation, the foldable screen is an outward foldable screen. When the electronic device is in the folded state or the unfolded state, the foldable screen is not visible to the user. The foldable screen display method further includes a step in which, in a process in which the electronic device changes from the folded state to the unfolded state, the electronic device displays an animation in the second display area in which one or more second application icons appear in each row.

[0027] In the process of the electronic device changing from the unfolded state to the folded state, the electronic device displays an animation in the second display area in which one or more second application icons disappear row by row.

[0028] When the state of the electronic device changes, the foldable screen uses animation to display icons, which improves the user experience.

[0029] According to a second aspect, an embodiment of the present application provides an electronic device. The electronic device comprises a foldable screen, a memory, and one or more processors. The foldable screen, the memory, and the processor are coupled to each other. The memory is configured to store computer program code. The computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device is further capable of performing the following steps: when the electronic device is in a folded state, displaying a first interface on a main screen, the first interface being a main interface of the electronic device, the first interface including a plurality of first application icons; and in response to the electronic device changing from the folded state to the unfolded state, displaying the first interface in a first display area of ​​the foldable screen and displaying a second interface in a second display area of ​​the foldable screen, the second interface being different from the first interface.

[0030] With reference to the second aspect, in a possible implementation, when the processor executes the computer instructions, the electronic device is further capable of performing the following steps: when the electronic device is in a folded state, displaying a first page control on the main screen, the first page control being used to indicate that the electronic device is currently displaying one main interface of the electronic device; and when the electronic device is in an unfolded state, displaying a second page control on the foldable screen, the second page control being used to indicate that the electronic device is currently displaying two main interfaces of the electronic device.

[0031] With reference to the second aspect, in a possible implementation, when the processor executes the computer instructions, the electronic device may further perform the following steps: when the electronic device is in an unfolded state, in response to a first swipe operation, displaying a second interface in the first display area; and displaying a third interface in the second display area, wherein the third interface is different from the second interface, the third interface is another main interface of the electronic device, or the third interface is a leftmost screen of the electronic device.

[0032] With reference to the second aspect, in a possible implementation, the foldable screen is an inward-facing foldable screen. When the electronic device is in the folded state, the foldable screen is invisible to the user. When the electronic device is in the unfolded state, the foldable screen is visible to the user. When the processor executes the computer instructions, the electronic device can further perform the following steps: displaying an animation of a plurality of first application icons appearing row by row in the first display area and displaying an animation of one or more second application icons appearing row by row in the second display area in a process of the electronic device changing from the folded state to the unfolded state; displaying an animation of a plurality of first application icons disappearing row by row in the first display area and displaying an animation of one or more second application icons disappearing row by row in the second display area in a process of the electronic device changing from the unfolded state to the folded state.

[0033] With reference to the second aspect, in a possible implementation, the foldable screen is an outward foldable screen. When the electronic device is in the folded state or the unfolded state, the foldable screen is visible to the user. When the processor executes the computer instructions, the electronic device is further enabled to execute the following steps: in the process of the electronic device changing from the folded state to the unfolded state, the electronic device displays an animation in the second display area in which one or more second application icons appear row by row. In the process of the electronic device changing from the unfolded state to the folded state, the electronic device displays an animation in the second display area in which one or more second application icons disappear row by row.

[0034] According to a third aspect, an embodiment of the present application provides a chip system. The chip system is for use in the above electronic device including a touch screen. The chip system includes one or more interface circuits and one or more processors. The interface circuits and the processors are connected to each other through lines. The interface circuits are configured to receive signals from a memory of the electronic device and to send signals to the processor. The signals include computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device performs a method according to the first aspect or any one of the possible implementations of the first aspect.

[0035] According to a fourth aspect, an embodiment of the present application provides a computer storage medium, the computer storage medium comprising computer instructions, which when executed on an electronic device, enable the electronic device to perform a method according to the first aspect or any one of the possible implementations of the first aspect.

[0036] According to a fifth aspect, an embodiment of the present application provides a computer program product which, when executed on a computer, enables the computer to perform a method according to the first aspect, the second aspect or any one of the possible implementations of the first and second aspects.

[0037] It can be understood that the beneficial effects that can be realized by the electronic device according to the second aspect or any one of the possible implementations of the second aspect, the chip system according to the third aspect, the computer storage medium according to the fourth aspect, and the computer program product according to the fifth aspect are referred to the beneficial effects of the first aspect or any one of the possible implementations of the first aspect, and the details will not be described again here. [Brief description of the drawings]

[0038] [Figure 1(a)] FIG. 1 is a schematic diagram of a foldable screen display method according to the background art of the present application. [Figure 1(b)]FIG. 1 is a schematic diagram of a foldable screen display method according to the background art of the present application.

[0039] [Diagram 2] 1 is a schematic diagram of a form of an electronic device having a foldable screen according to an embodiment of the present application.

[0040] [Diagram 3] FIG. 2 is a schematic diagram of another form of an electronic device having a foldable screen in accordance with an embodiment of the present application.

[0041] [Figure 4] FIG. 2 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.

[0042] [Figure 5A] FIG. 2 is a schematic diagram of the principle of calculating the narrow angle α between screen A and screen B according to an embodiment of the present application;

[0043] [Figure 5B] FIG. 2 is a schematic diagram of an example geographic coordinate system according to an embodiment of the present application;

[0044] [Figure 6] FIG. 2 is a schematic diagram of an example of a software architecture of an electronic device according to an embodiment of the present application.

[0045] [Figure 7] 1 is a flowchart of a foldable screen display method according to an embodiment of the present application.

[0046] [Figure 8(a)] FIG. 2 is a schematic diagram of a main interface displayed in a folded state according to an embodiment of the present application. [Figure 8(b)] FIG. 2 is a schematic diagram of a main interface displayed in a folded state according to an embodiment of the present application. [Figure 8(c)] FIG. 2 is a schematic diagram of a main interface displayed in a folded state according to an embodiment of the present application.

[0047] [Figure 9A(a)] 1 is a schematic diagram of an example of an application interface displayed on a foldable screen according to an embodiment of the present application. [Figure 9A(b)] 1 is a schematic diagram of an example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0048] [Figure 9B] FIG. 13 is a schematic diagram of another example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0049] [Figure 9C] FIG. 13 is a schematic diagram of another example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0050] [Figure 10A] FIG. 13 is a schematic diagram of another example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0051] [Figure 10B] FIG. 13 is a schematic diagram of another example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0052] [Figure 10C] FIG. 13 is a schematic diagram of another example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0053] [Figure 11A] FIG. 13 is a schematic diagram of another example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0054] [Figure 11B] FIG. 13 is a schematic diagram of another example of an application interface displayed on a foldable screen according to an embodiment of the present application.

[0055] [Figure 12(a)] FIG. 1 is a schematic diagram of a display interface of a mobile phone with a foldable screen according to an embodiment of the present application. [Figure 12(b)] FIG. 1 is a schematic diagram of a display interface of a mobile phone with a foldable screen according to an embodiment of the present application. [Figure 12(c)] FIG. 1 is a schematic diagram of a display interface of a mobile phone with a foldable screen according to an embodiment of the present application. [Figure 12(d)] FIG. 1 is a schematic diagram of a display interface of a mobile phone with a foldable screen according to an embodiment of the present application.

[0056] [Figure 13(a)] FIG. 2 is a schematic diagram of another display interface of a mobile phone with a foldable screen according to an embodiment of the present application. [Figure 13(b)] FIG. 2 is a schematic diagram of another display interface of a mobile phone with a foldable screen according to an embodiment of the present application. [Figure 13(c)] FIG. 2 is a schematic diagram of another display interface of a mobile phone with a foldable screen according to an embodiment of the present application. [Figure 13(d)] FIG. 2 is a schematic diagram of another display interface of a mobile phone with a foldable screen according to an embodiment of the present application.

[0057] [Figure 14] 1 is a schematic diagram of a structure of an electronic device according to an embodiment of the present application;

[0058] [Figure 15] FIG. 1 is a schematic diagram of the structure of a chip system according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0059] The following terms "first" and "second" are intended merely for descriptive purposes and should not be understood as an indication or implication of the relative importance or number of technical features depicted. Thus, a feature qualified with "first" or "second" may include one or more features, either explicitly or implicitly. In the description of the embodiments, unless otherwise specified, "multiple" means two or more.

[0060] An embodiment of the present application provides a foldable screen display method, in which after an electronic device in a folded state displaying a first interface changes from a folded state to an unfolded state, not only the first interface but also a second interface can be displayed. When the electronic device changes from a folded state to an unfolded state, the content displayed on the electronic device increases, providing more content to the user, thereby improving the user experience.

[0061] The method provided in this embodiment of the present application can be applied to an electronic device that includes a foldable screen. The electronic device can be folded so that the foldable screen is divided into multiple display areas. For example, the electronic device can be folded along a folding edge or a folding axis to form a first screen and a second screen. In practical applications, electronic devices with foldable screens can be classified into two types, namely, electronic devices with outward-facing foldable screens and electronic devices with inward-facing foldable screens. In the example where the electronic device is folded to form a first screen and a second screen, after the outward-facing foldable electronic device is folded, the first screen and the second screen are back-to-back with each other. After the inward-facing foldable electronic device is folded, the first screen and the second screen are facing each other.

[0062] For example, Fig. 2 is a schematic diagram of a product form of an outwardly foldable electronic device 100 according to an embodiment of the present application. Fig. 2(a) is a schematic diagram of the form of the outwardly foldable electronic device 100 fully unfolded. The electronic device 100 can be folded along the folding edges in the direction shown in Fig. 2(a) to form the first screen and the second screen shown in Fig. 2(b). The electronic device 100 can be further folded along the folding edges to obtain the form of the fully folded electronic device 100 as shown in Fig. 2(c). After the electronic device 100 is fully folded, the first screen and the second screen are back-to-back with each other.

[0063] It can be understood that when the electronic device is in a folded state, an interface can be displayed on the first screen or the second screen, and when the electronic device is in an unfolded state, an interface can be displayed on each of the first screen and the second screen. For the description of the unfolded state and the folded state of the electronic device, please refer to the description in the following embodiment. Details will not be described here.

[0064] In another example, FIG. 3 is a schematic diagram of a product form of an inward foldable electronic device 100 according to an embodiment of the present application. FIG. 3(a) is a schematic diagram of a form of the inward foldable electronic device 100 fully unfolded. The electronic device 100 may be folded along the folding edge in the direction shown in FIG. 3(a) to form the first screen and the second screen shown in FIG. 3(b). The electronic device 100 may be further folded in the folding direction to obtain the form of the fully folded electronic device 100 as shown in FIG. 3(c). After the electronic device 100 is fully folded, the first screen and the second screen face each other. The first screen and the second screen are not visible to the user. 401 shown in FIG. 3(c) indicates a straight line on a plane where the first screen and the second screen are in contact with each other. In addition, the inward foldable electronic device may further include a third screen, which is disposed behind the first screen or the second screen. It can be understood that when the inward-foldable electronic device is in the folded state, the third screen is visible to the user. When the electronic device is in the folded state, an interface is displayed on the third screen. When the electronic device is in the unfolded state, an interface may be displayed on each of the first screen and the second screen.

[0065] In general, the range of values ​​of the narrow angle α between the first screen and the second screen of an electronic device with a foldable screen (including outward-facing foldable electronic devices and inward-facing foldable electronic devices) is [0°, 180°].

number

number

number

number

[0066] In some embodiments, according to the usage habits of most users, when the narrow angle α between the first screen and the second screen is greater than 90°, it is highly likely that the user will want to use the first screen and the second screen as a whole (i.e., as a complete display). Therefore, the preset angle threshold P in this embodiment of the present application may be greater than 90°. The value range of the preset angle threshold P may be (90°, 180°). For example, the preset angle threshold P may be 100°, 120°, 135°, 140°, 145°, or 150°.

[0067] It should be noted that the at least two screens formed by folding the electronic device (including the inward-facing foldable electronic device and the outward-facing foldable electronic device) in this embodiment of the present application may be multiple screens existing independently, or may be a complete screen of an integrated structure that is folded into at least two parts.

[0068] For example, the foldable screen can be a flexible foldable screen. The flexible foldable screen includes a foldable edge made of a flexible material. Some or all of the flexible foldable screen is made of a flexible material. The at least two screens formed by folding the flexible foldable screen are complete screens of an integrated structure that folds into at least two portions.

[0069] In another example, the foldable screen of the electronic device may be a multi-screen foldable screen. The multi-screen foldable screen may include multiple (two or more) screens. The multiple screens are multiple separate displays. The screens may be connected in series through a folding axis. Each screen may rotate about a folding axis connected to the screen such that the multi-screen foldable screen folds.

[0070] For example, the electronic device in this embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, or a device that includes a touch screen, such as a cellular phone, a personal digital assistant (PDA), an augmented reality (AR), or a virtual reality (VR) device, etc. The particular form of the electronic device is not particularly limited to this embodiment of the application of the present application.

[0071] The following describes in detail the implementation example of the embodiment of the present application with reference to the accompanying drawings. Figure 4 is a schematic diagram of the structure of an electronic device 100 according to an embodiment of the present application. As shown in Figure 4, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a handset 170B, a microphone 170C, a headset jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (SIM) card interface 195, etc.

[0072] The sensor module 180 may include sensors such as a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M.

[0073] It may be understood that the structures shown in the embodiments of the present invention do not constitute any particular limitation on the electronic device 100. In some other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figures, or some components may be combined, or some components may be divided, or a different arrangement of components may be used. The components in the figures may be implemented by hardware, software, or a combination of software and hardware.

[0074] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). The different processing units may be separate components or may be integrated into one or more processors.

[0075] The controller may be the brain and command center of the electronic device 100. The controller may generate operation control signals based on the instruction operation codes and time series signals to control instruction reading and instruction execution.

[0076] A memory may also be disposed in the processor 110 and configured to store instructions and data. In some embodiments, the memory in the processor 110 is a cache. The memory may store instructions or data that have just been used or that are used periodically by the processor 110. When the processor 110 needs to use the instructions or data again, the processor 110 may retrieve the instructions or data directly from the memory to avoid repeated accesses and reduce the latency of the processor 110, thereby improving system efficiency.

[0077] In some embodiments, the processor 110 may include one or more interfaces, which may include an Inter-Integrated Circuit (I2C) interface, an Inter-Integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a General Purpose Input / Output (GPIO) interface, a Subscriber Identity Module (SIM) interface, a Universal Serial Bus (USB) interface, and / or the like.

[0078] It should be understood that the interface connection relationships between modules shown in the embodiments of the present invention are merely examples for the purpose of explanation, and do not impose limitations on the structure of the electronic device 100. In some other embodiments of the present application, the electronic device 100 may alternatively use an interface connection scheme different from the above embodiments, or a combination of multiple interface connection schemes.

[0079] The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some embodiments where wired charging is used, the charging management module 140 may receive the charging input from the wired charger through the USB interface 130. In some embodiments where wireless charging is used, the charging management module 140 may receive the wireless charging input through a wireless charging coil of the electronic device 100. When charging the battery 142, the charging management module 140 may further provide power to the electronic device using the power management module 141.

[0080] The power management module 141 is configured to connect to the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, etc. The power management module 141 may further be configured to monitor parameters such as battery capacity, battery cycle count, and battery health (electrical leakage or impedance). In some other embodiments, the power management module 141 may alternatively be located in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may alternatively be located in the same device.

[0081] The wireless communication function of the electronic device 100 may be implemented by using antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, a baseband processor, and the like.

[0082] Antenna 1 and Antenna 2 are each configured to transmit and receive electromagnetic signals. Each antenna in electronic device 100 may be configured to cover one or more communication frequency bands. Different antennas may also be reused to improve antenna utilization. For example, Antenna 1 may be reused as a diversity antenna in a wireless local area network. In some other embodiments, the antennas may be used in combination with tuning switches.

[0083] The mobile communication module 150 may provide wireless communication solutions including 2G / 3G / 4G / 5G and the like, which are applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, perform processing such as filtering or amplification on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may further amplify the signals modulated by the modem processor and convert the signals to electromagnetic waves for emission through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be disposed in the same device.

[0084] The modem processor may include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium or high-frequency signal. The demodulator is configured to demodulate a received electromagnetic signal into a low-frequency baseband signal. The demodulator then transmits the low-frequency baseband signal obtained through demodulation to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then transmitted to the application processor. The application processor outputs a sound signal by using an audio device (not limited to a speaker 170A, a handset 170B, and the like) or displays an image or video by using a display 194. In some embodiments, the modem processor may be an independent component. In some other embodiments, the modem processor may be independent from the processor 110 and be disposed as the same device with the mobile communication module 150 or another functional module.

[0085] The wireless communication module 160 may provide a wireless communication solution applied to the electronic device 100, including a wireless local area network (WLAN) (e.g., a wireless fidelity (Wi-Fi) network, Bluetooth (BT), Global Navigation Satellite System (GNSS), frequency modulation (FM), near field communication (NFC) technology, infrared (IR) technology, or the like). The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signal, and sends the processed signal to the processor 110. The wireless communication module 160 may further receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into an electromagnetic wave for radiation through the antenna 2.

[0086] In some embodiments, in the electronic device 100, antenna 1 is coupled to the mobile communication module 150, and antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and another device by using a wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SDCMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technology, and / or the like. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite-Based Augmentation System (SBAS).

[0087] The electronic device 100 implements display functions using a GPU, a display 194, an application processor, etc. The GPU is a microprocessor for image processing and is connected to the display 194 and the application processor. The GPU is configured to perform mathematical and geometric operations and is used for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0088] The display 194 is configured to display images, videos, and the like. The display 194 includes a display panel. The display panel may use a liquid crystal display (LCD), an organic light emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light emitting diode (FLED), a mini LED, a micro LED, a micro OLED, a quantum dot light emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include one or N displays 194, where N is a positive integer greater than one.

[0089] The electronic device 100 may implement imaging functionality through an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.

[0090] The ISP is configured to process data fed back by the camera 193. For example, during shooting, the shutter is pressed and light is transmitted to the camera's photosensitive elements through the lens. The camera's photosensitive elements convert the light signal into an electrical signal and transmit the electrical signal to the ISP for processing. The ISP converts the electrical signal into an image that can be perceived by the eye. The ISP may further perform algorithmic optimization on the noise, brightness, and color of the image. The ISP may further optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP may be located in the camera 193.

[0091] The camera 193 is configured to capture still images or video. An optical image of an object is generated through a lens and projected onto a photosensitive element. The photosensitive element may be a charge-coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then sent to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard image signal, such as in RGB or YUV format. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0092] The digital signal processor is configured to process digital signals, and may process other digital signals in addition to the digital image signal. For example, once the electronic device 100 selects a frequency, the digital signal processor is configured to perform a Fourier transform or the like on the frequency energy.

[0093] A video codec is configured to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 may play or record video in multiple coding formats, such as Moving Picture Experts Group (MPEG)-1, MPEG-2, MPEG-3, and MPEG-4.

[0094] The NPU is a neural network (NN) computing processor. The NPU can rapidly process input information by referring to the structure of biological neural circuits, for example, by referring to the transfer mode between human brain neurons, and can also continuously perform self-learning. Through the NPU, the electronic device 100 can implement intelligent cognition such as image recognition, face recognition, voice recognition, and text understanding.

[0095] The external memory interface 120 may be configured to connect to an external storage card, such as a micro SD card, to expand the storage capabilities of the electronic device 100. The external storage card communicates with the processor 110 through the external memory interface 120 to implement data storage functions, for example, storing files such as music and videos on the external storage card.

[0096] The internal memory 121 may be configured to store computer executable program code. The executable program code includes instructions. The processor 110 executes the instructions stored in the internal memory 121 to execute various functional applications of the electronic device 100 and process data. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system and applications necessary for at least one function (e.g., a sound playback function or an image playback function). The data storage area may store data (e.g., audio data, a telephone directory, etc.) created in the process of using the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, or may include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or a universal flash storage (UFS).

[0097] The electronic device 100 may implement audio functions such as music playback and recording, for example, by using an audio module 170, a speaker 170A, a handset 170B, a microphone 170C, a headset jack 170D, an application processor, and the like.

[0098] Audio module 170 is configured to convert digital audio information to analog audio signals for output, and to convert analog audio input to digital audio signals. Audio module 170 may further be configured to perform encoding and decoding of audio signals. In some embodiments, audio module 170 may be located in processor 110, or some functional modules of audio module 170 may be located in processor 110.

[0099] The speaker 170A, also called a "loudspeaker," is configured to convert audio electrical signals into voice signals. The electronic device 100 can use the speaker 170A to listen to music or answer hands-free calls.

[0100] The handset 170B, also referred to as an "earpiece," is configured to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or receives voice information, the handset 170B can be placed near a human ear to listen to the sound.

[0101] The microphone 170C, also referred to as a "mic" or "mike", is configured to convert audio signals into electrical signals. When making a call or sending a voice message, a user may emit a sound near the microphone 170C through the user's mouth and input the audio signal into the microphone 170C. At least one microphone 170C may be disposed on the electronic device 100. In some other embodiments, two microphones 170C may be disposed on the electronic device 100 to collect audio signals and implement noise reduction functions. In some other embodiments, three, four, or more microphones 170C may alternatively be disposed on the electronic device 100 to collect audio signals, implement noise reduction, identify sound sources, implement directional recording functions, and the like.

[0102] Headset jack 170D is configured to connect to a wired headset, and may be a USB interface 130, or a 3.5 mm Open Mobile Terminal Platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association (CTIA) standard interface.

[0103] The pressure sensor 180A may be configured to detect a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. The capacitive pressure sensor may include at least two parallel plates made of a conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is performed on the display 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 may calculate a touch position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations performed at the same touch position but with different touch operation intensities may correspond to different operation commands. For example, when a touch operation with a touch operation intensity lower than a first pressure threshold is performed on a messaging icon, an instruction to view an SMS message is executed. When a touch having a touch strength greater than or equal to a first pressure threshold is performed on the messaging icon, instructions are executed to create a new SMS message.

[0104] The gyro sensor 180B may be configured to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, z axes) may be determined by using the gyro sensor 180B. The gyro sensor 180B may be configured to perform image stabilization during shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle at which the electronic device 100 shakes, and calculates the distance that the lens module needs to compensate based on the angle, allowing the lens to counteract the shake of the electronic device 100 through a reverse movement, thus implementing image stabilization. The gyro sensor 180B may further be used in navigation scenarios and somatic game scenarios. In this embodiment of the present application, the electronic device 100 may be folded such that the foldable screen is divided into multiple display areas, and each display area may be referred to as a screen. Each screen may include a gyro sensor 180B configured to measure the orientation (i.e., the direction vector of the orientation) of the corresponding screen. The electronic device 100 may determine the narrow angle between adjacent screens based on the angular change in orientation of each screen obtained through measurements.

[0105] It should be noted that in this embodiment of the present application, the electronic device includes a foldable screen. After the electronic device is folded, the foldable screen is divided into a plurality of display areas, and each display area is referred to as a screen. Each screen may include a gyro sensor 180B configured to measure the orientation (i.e., the direction vector of the orientation) of the corresponding screen. For example, referring to FIG. 2, as shown in (b) of FIG. 2, a first screen and a second screen are formed after the electronic device is folded. A gyro sensor 180B is disposed on each of the first screen and the second screen. The two gyro sensors 180B may measure the orientations of the first screen and the second screen, respectively. The electronic device may determine the narrow angle between the first screen and the second screen based on the angle change of the orientation of each screen obtained through the measurement.

[0106] For example, the electronic device 100 is folded to form a first screen (denoted by A) and a second screen (denoted by B) shown in FIG. 5A. The gyro sensor A is disposed on the screen A, and the gyro sensor B is disposed on the screen B. The principle of measuring the orientation (i.e., the orientation direction vector) of the screen A by the gyro sensor A and measuring the orientation (i.e., the orientation direction vector) of the screen B by the gyro sensor B, as well as the principle of calculating the narrow angle α between the screen A and the screen B by the electronic device 100 based on the orientation of the screen A and the orientation of the screen B, is now described in this embodiment of the present application.

[0107] The coordinate system of the gyro sensor is a geographic coordinate system. As shown in FIG. 5B, the origin O of the geographic coordinate system is located at the point where the carrier (i.e., the device including the gyro sensor, e.g., the electronic device 100) is located. The x-axis points east (E) along the local latitude line. The y-axis points north (N) along the local meridian line. The z-axis points up along the local geographic vertical line, forming a right-handed rectangular coordinate system with the x-axis and the y-axis. The plane including the x-axis and the y-axis is the local horizontal plane, and the plane including the y-axis and the z-axis is the local meridian plane. Therefore, it can be understood that in the coordinate system of the gyro sensor, the gyro sensor is the origin O, the x-axis points east along the local latitude line, the y-axis points north along the local meridian line, and the z-axis points up along the local geographic vertical line (i.e., in the opposite direction to the geographic vertical line).

[0108] By using the gyro sensor 180B arranged on each screen, the electronic device 100 can obtain, through measurement, a direction vector of the orientation of each screen in the coordinate system of the gyro sensor arranged on the screen. For example, referring to the side view of the electronic device shown in FIG. 5A, the direction vector of the orientation of screen A in the coordinate system of gyro sensor A obtained by the electronic device through measurement is vector z1, and the direction vector of the orientation of screen B in the coordinate system of gyro sensor B is vector z2. The electronic device 100 calculates the direction vector of the orientation of screen A in the coordinate system of gyro sensor B by using Equation (1):

number

[0109] 5A that the vector z1 is perpendicular to the screen A, and the vector z2 is perpendicular to the screen B, so that the included angle α between the screen A and the screen B can be obtained as α=180°-θ. Specifically, the electronic device can determine the included angle α between the screen A and the screen B based on the direction vector of the orientation of the screen A in the coordinate system of the gyro sensor A (i.e., the vector z1) and the direction vector of the orientation of the screen B in the coordinate system of the gyro sensor B (i.e., the vector z2). The direction vectors are obtained through measurement.

[0110] It should be noted that the positions of the gyro sensors disposed on screen A and screen B do not overlap, i.e., the origins of the coordinate systems of the gyro sensors on screen A and screen B do not overlap. However, the x-axis, y-axis and z-axis of the coordinate system of the gyro sensor on screen A are parallel to the coordinate system of the gyro sensor on screen B. In this case, the coordinate systems of the gyro sensors disposed on screen A and screen B can be considered to be parallel. In this way, when vector z1 and vector z2 are in different coordinate systems, the axes of the two coordinate systems are parallel, so the included angle θ between vector z1 and vector z2 can still be calculated according to formula (1).

[0111] In some embodiments, one or more other sensors may alternatively be used in cooperation to measure the confinement angle α between screen A and screen B. For example, an acceleration sensor 180E may be disposed on each screen of the foldable screen. By using the acceleration sensor, the electronic device 100 (e.g., the processor 110) may measure the acceleration of the movement when each screen is rotated, and then calculate the angle at which one screen rotates relative to another screen, i.e., the confinement angle α between screen A and screen B, based on the acceleration of the movement obtained through the measurement.

[0112] In some other embodiments, the gyro sensor 180B may be a virtual gyro sensor formed through the cooperation of multiple other sensors. The virtual gyro sensor may be configured to calculate the confinement angle α between adjacent screens of the foldable screen, i.e., between screen A and screen B.

[0113] The air pressure sensor 180C is configured to measure air pressure. In some embodiments, the electronic device 100 calculates altitude based on the value of atmospheric pressure measured by the air pressure sensor 180C to assist in positioning and navigation.

[0114] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect the opening and closing of the flip cover by using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover by using the magnetic sensor 180D and set a function such as automatic unlocking through flipping based on the detected opening and closing state of the flip cover.

[0115] The acceleration sensor 180E may detect acceleration in various directions (usually three axes) of the electronic device 100, and may detect the magnitude and direction of gravity when the electronic device 100 is stationary. The acceleration sensor 180E may further be configured to identify the orientation of the electronic device, for applications such as a pedometer and switching between landscape and portrait modes.

[0116] The distance sensor 180F is configured to measure distance. The electronic device 100 may measure distance by infrared or laser. In some embodiments, in a photography scenario, the electronic device 100 may measure distance by using the distance sensor 180F to implement fast focusing.

[0117] The optical proximity sensor 180G may include, for example, a light emitting diode (LED) and a photodetector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light by using the light emitting diode. The electronic device 100 detects infrared reflected light from a nearby object by using the photodiode. If the electronic device 100 detects sufficient reflected light, it may determine that there is an object near the electronic device 100. If the electronic device 100 detects insufficient reflected light, it may determine that there is no object near the electronic device 100. By using the optical proximity sensor 180G, the electronic device 100 may detect that a user is holding the electronic device 100 close to the ear for a call and automatically perform a screen off to save power. The optical proximity sensor 180G may also be used for a smart cover mode or a pocket mode to automatically perform a screen unlock or lock.

[0118] The ambient light sensor 180L is configured to sense the brightness of the ambient light. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the detected ambient light brightness. The ambient light sensor 180L may also be configured to automatically adjust the white balance during capture. The ambient light sensor 180L may also cooperate with the optical proximity sensor 180G to detect whether the electronic device 100 is in a pocket to avoid accidental touches.

[0119] Fingerprint sensor 180H is configured to collect a fingerprint. Electronic device 100 may use characteristics of the collected fingerprint to implement fingerprint-based unlocking, application lock access, fingerprint-based photography, fingerprint-based call answering, and the like.

[0120] The temperature sensor 180J is configured to detect temperature. In some embodiments, the electronic device 100 executes a temperature handling policy by using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor near the temperature sensor 180J to reduce power consumption for thermal protection. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by low temperature. In some other embodiments, when the temperature is still lower than another threshold, the electronic device 100 increases the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0121] The touch sensor 180K may also be referred to as a "touch panel." The touch sensor 180K may be disposed on the display 194, and the touch sensor 180K and the display 194 form a touch screen, also referred to as a "touch control screen." The touch sensor 180K is configured to detect touch operations performed on or near the touch sensor 180K. The touch sensor may forward the detected touch operations to an application processor and determine the type of touch event. The display 194 may provide a visual output associated with the touch operation. In some other embodiments, the touch sensor 180K may also be disposed on a surface of the electronic device 100 at a location different from the display 194.

[0122] The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the vibrating bone of the human speech region. The bone conduction sensor 180M may also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M may alternatively be disposed in a headset to obtain a bone conduction headset. The audio module 170 may acquire a voice signal through analysis based on the vibration signal of the vibrating bone of the speech region acquired by the bone conduction sensor 180M, and implement a voice function. The application processor may analyze heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, and implement a heart rate detection function.

[0123] Buttons 190 include a power button, a volume button, and the like. Buttons 190 may be mechanical buttons or may be touch buttons. Electronic device 100 may receive button inputs and generate button signal inputs related to user settings and function control of electronic device 100.

[0124] The motor 191 may generate a vibration prompt. The motor 191 may be configured to provide an incoming vibration prompt or touch vibration feedback. For example, touch operations performed in different applications (e.g., taking pictures and playing audio) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects for touch operations performed on different regions of the display 194. Different application scenarios (e.g., a time reminder scenario, an information receiving scenario, an alarm clock scenario, and a game scenario) may correspond to different vibration feedback effects. The touch vibration feedback effects may alternatively be customized.

[0125] Indicator 192 may be an indicator light and may be configured to indicate charging status and power changes, or may be configured to indicate messages, missed calls, notifications, and the like.

[0126] The SIM card interface 195 is configured to be connected to a SIM card. The SIM card may be inserted into or removed from the SIM card interface 195 to implement contact or separation with the electronic device 100. The electronic device 100 may support one or N SIM card interfaces, where N is a positive integer greater than one. The SIM card interface 195 may support a nano-SIM card, a micro-SIM card, a SIM card, etc. Multiple cards may be inserted into the same SIM card interface 195 at the same time. The multiple cards may be of the same type or different types. The SIM card interface 195 may also be compatible with different kinds of SIM cards. The SIM card interface 195 may be compatible with an external storage card. The electronic device 100 uses the SIM card to interact with the network and implement functions such as calling and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card may be integrated into the electronic device 100 and cannot be separated from the electronic device 100.

[0127] All the methods in the following embodiments can be implemented in the electronic device 100 having the above hardware structure.

[0128] The software system of the electronic device 100 may use a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to describe the software structure of the electronic device 100.

[0129] 6 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application. In a layered architecture, the software is divided into several layers, and each layer has a clear role and task. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into three layers from top to bottom: an application program layer (abbreviated as application layer), an application program framework layer (abbreviated as framework layer), and a kernel layer (also called a driver layer).

[0130] The application layer may include a series of application program packages. As shown in Fig. 6, the application layer may include multiple application program packages, such as Application 1 and Application 2. For example, the application program packages may be application programs such as camera, gallery, calendar, phone, map, navigation, WLAN, Bluetooth, music, video, message, and desktop launcher (Launcher).

[0131] The framework layer provides an application programming interface (API) and a programming framework for the application programs in the application program layer. The application program framework layer includes some predefined functions. As shown in Figure 6, the framework layer may include a window manager (WMS), an activity manager (AMS), and the like. Optionally, the framework layer may further include a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like (not shown in the figure).

[0132] The window manager WM is configured to manage window programs. The window manager may obtain the size of the display, determine whether there is a status bar, perform screen locking, take screenshots, etc. The activity manager AM is configured to manage activities and is responsible for tasks such as starting, switching, and scheduling each component in the system, and managing and scheduling application programs. The kernel layer is a layer between the hardware and the software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver. The kernel layer is a layer between the hardware and the software. The kernel layer may include a display driver, an input / output device driver (e.g., a driver for a keyboard, a touch screen, a headset, a speaker, or a microphone), a camera driver, an audio driver, a sensor driver, and the like.

[0133] When a user performs an input operation (e.g., an operation of unfolding the electronic device) on the electronic device 100, the kernel layer may generate a response input event based on the input operation and report the event (e.g., a foldable screen unfolding event) to the application program framework layer. An activity manager server AMS in the application program framework layer sets an interface display (including a main interface display mode, a window display mode, and the like). A window manager server WMS in the application program framework layer draws the interface based on the setting of the AMS, and then sends the interface data to a display driver in the kernel layer. The display driver displays the corresponding interface on the foldable screen.

[0134] The display solution provided in this embodiment of the present application is implemented based on freeform function and Google's multi-window and multitasking infrastructure. Please refer to FIG. 6 for the display procedure provided in this embodiment of the present application. As shown in FIG. 6, in this embodiment of the present application, the active manager AM may include a native activity management module and an activity extension module. The native activity management module is configured to manage activities, and is responsible for tasks such as launching, switching, and scheduling each component in the system, and managing and scheduling application programs. The activity extension module is configured to set a main interface display mode, a window display mode, and the like, based on the folding or unfolding state of the foldable screen.

[0135] It can be understood that in the process of displaying an interface by the electronic device 100, the foldable screen of the electronic device 100 can be switched from a folded state to an unfolded state, or from an unfolded state to a folded state. In this case, a folding driver (input / output device driver) in the driver layer can detect a folding event input by a user. In this embodiment of the present application, the folding event can be triggered by a user's operation of controlling the foldable screen to change from a folded state to an unfolded state, and is referred to as folding event 1. Alternatively, the folding event can be triggered by a user's operation of controlling the foldable screen to change from an unfolded state to a folded state, and is referred to as folding event 2. The folding driver can report the folding event to a window manager WM in the framework layer (i.e., application program framework layer).

[0136] The window manager WM may listen to a fold event and may decide to switch the size of the display when it detects a fold event. The window manager WM sends a display change event to the active manager AM, which sets the window mode and window attributes. When it detects fold event 1, the window manager WM may determine that the display is getting larger and send a display change event 1 to the active manager AM. The display change event 1 is used to trigger the active manager AM to switch the window mode from full screen mode to multi-window mode or single window mode and adjust the window attributes. When it detects fold event 2, the window manager WM may determine that the display is getting smaller and send a display change event 2 to the active manager AM. The display change event 2 is used to trigger the active manager AM to switch the window mode from multi-window mode or single window mode to full screen mode and adjust the window attributes.

[0137] After setting the activity window mode and attributes, the active manager AM may request the window manager WM to draw the window, invoke the display driver to display the contents of the drawn window, and present the interface to the user.

[0138] For example, in response to a display change event 1, the active manager AM requests the window manager WM to draw a window and calls the display driver to display an interface. The interface may be as follows: When the foldable screen is unfolded, a main interface is displayed in a first display area of ​​the foldable screen, and a second interface is displayed in a second display area. The second interface is different from the main interface. Alternatively, in response to a display change event 1, the interface displayed by the display driver may be as follows: When the foldable screen is unfolded, a first main interface is displayed in a first display area of ​​the foldable screen, and a second main interface is displayed in a second display area of ​​the foldable screen. In response to a display change event 2, the active manager AM requests the window manager WM to draw a window and calls the display driver to display an interface. The interface may be as follows: The electronic device displays one main interface in the full screen in the folded state.

[0139] In the following, the foldable screen display method in this application is described by using an example in which the electronic device is an outward-facing foldable mobile phone. When the outward-facing foldable mobile phone is in a folded state, the first screen or the second screen can function as a main screen. As shown in FIG. 7, the foldable screen display method includes steps 701 and 702.

[0140] Step 701: When the mobile phone is in a folded state, a first interface is displayed on a main screen of the mobile phone.

[0141] When the outward foldable mobile phone is in a folded state, the first screen or the second screen functions as a main screen of the mobile phone and displays a first interface. The first interface may be a main interface of the mobile phone, and the first interface includes a plurality of first application icons.

[0142] A mobile phone may include one or more main interfaces. For example, main interface 201 shown in Fig. 8(a), main interface 202 shown in Fig. 8(b), and main interface 203 shown in Fig. 8(c) are all main interfaces of a mobile phone. The main interfaces may be part of a home screen of the mobile phone.

[0143] A number of applications may be installed on the mobile phone, and the application icons of the applications may be displayed on the home screen of the mobile phone. The application icons of the applications are the launch entries of the applications, and the application icons may also be referred to as entry elements of the applications, etc. The applications in this embodiment of the present application may be built-in applications (i.e., system applications of the mobile phone) or may be downloadable applications.

[0144] The home screen of the mobile phone may also be referred to as a desktop. As shown in FIG. 8(a), the home screen includes a status bar 204, a main interface 201, a dock bar 205, and a navigation bar 206.

[0145] A status bar 204 is located at the top of the mobile phone's screen and includes status information of the mobile phone, such as time, battery level, network connection, and operator. A main interface 201 is located at the center of the mobile phone's screen and includes a number of first application icons, such as an application icon for a camera application, an application icon for a settings application, and an application icon for a map application, as shown in FIG. 8(a).

[0146] Dock Bar 205 is the portion of an entire window that occupies the touch screen of a mobile phone, or the portion of an Activity that is suspended on another window (i.e., an application area for displaying application icons). Visually, Dock Bar 205 is located below an Activity and above Navigation Bar 206.

[0147] The navigation bar 206 is a shortcut key bar at the bottom of the mobile phone screen, and generally appears at the bottom of the mobile phone screen in the form of visual keys. The navigation bar 206 includes three keys by default. As shown in FIG. 8(a), the navigation bar 206 includes a back key 2061, a home key 2062, and a recent key 2063. The back key is configured to return to a previous interface. The home key is configured to return to the desktop. The recent key is configured to display recently used application programs. Alternatively, the home screen may not include a navigation bar. Alternatively, the functions of the buttons on the navigation bar may be implemented through gesture control.

[0148] Step 702: In response to the mobile phone changing from a folded state to an unfolded state, the mobile phone displays a first interface in a first display area of ​​the foldable screen and displays a second interface in a second display area of ​​the foldable screen, the first interface being different from the second interface.

[0149] In some embodiments, the first display area of ​​the mobile phone is a display area corresponding to the first screen of the mobile phone, and the second display area of ​​the mobile phone is a display area corresponding to the second screen of the mobile phone. Specifically, the folding edge of the foldable screen may function as a boundary. When a user faces the unfolded foldable screen, the first display area is to the right of the folding edge of the foldable screen, and the second display area is to the left of the folding edge of the foldable screen, or the first display area is to the left of the folding edge of the foldable screen, and the second display area is to the right of the folding edge of the foldable screen. This is in keeping with the habits of most users in using electronic devices with foldable screens.

[0150] In some other embodiments, the sizes of the first and second display areas may alternatively be different, and the sizes of the first and second display areas may be preset by a user and stored in the mobile phone. The sizes of the first and second display areas may be the same or different.

[0151] An example in which the first display area and the second display area are the same size, the first display area is located on the left side of the foldable screen, and the second display area is located on the right side of the foldable screen is used below for explanation.

[0152] In a first implementation, the second interface includes one or more second application icons. The second interface is a main interface of the mobile phone. The mobile phone may include multiple main interfaces. The second interface is different from the first interface.

[0153] For example, when the mobile phone is in a folded state, a first interface 901 shown in Fig. 9A(a) is displayed. In response to the mobile phone changing from the folded state to the unfolded state, as shown in Fig. 9A(b), the mobile phone displays the first interface 901 in a first display area of ​​the foldable screen and displays a second interface 902 in a second display area. The second interface 902 includes a plurality of second application icons shown in Fig. 9A(b). Both the first interface 901 and the second interface 902 are main interfaces of the mobile phone, and the first interface 901 is different from the second interface 902.

[0154] It should be noted that in the first implementation, the second application icon included in the second interface 902 is different from the first application icon included in the first interface 901.

[0155] The mobile phone changes from the folded state to the unfolded state, and the mobile phone may display not only the first interface but also the second interface. Since both the first interface and the second interface are main interfaces, application icons may be displayed to the user on the two main interfaces to provide more content to the user, which improves the user experience.

[0156] In a second implementation, the second interface includes one or more second application icons, which may be application icons for applications that have recently run on the mobile phone but have not been closed.

[0157] For example, applications that have been recently executed but not closed on the mobile phone include the following applications: Settings, WeChat, QQ, and Alipay. When the mobile phone is in a folded state, it is assumed that the first interface 901 shown in FIG. 9A(a) is displayed. In response to the mobile phone changing from the folded state to the unfolded state, the mobile phone displays the interface shown in FIG. 9B. The mobile phone may display the first interface 901 in a first display area of ​​the foldable screen and display the second interface 903 in a second display area. The second interface 903 includes an application icon of a Settings application, an application icon of a WeChat application, an application icon of a QQ application, and an application icon of an Alipay application.

[0158] Alternatively, the second application icon may be an application icon of an application that has been used more than a preset number of times within a preset period. In the process of the user using the mobile phone, the mobile phone may count the number of times each application is used within a preset period and obtain the application that has been used more than a preset number of times.

[0159] Alternatively, the second application icon may be an application icon of an application that has been used for longer than a preset time within a preset period. In the process of the user using the mobile phone, the mobile phone may count the length of time that each application is used within the preset period to obtain the application that has been used for longer than a preset time.

[0160] It should be noted that in the second implementation, the second application icon included in the second interface may be identical to a portion of the first application icon included in the first interface. For example, the second application icon is an application icon of an application that has been recently executed but not closed on the mobile phone. The application that has been recently executed but not closed on the mobile phone may be an application that corresponds to a portion of the first application icon.

[0161] In this case, to avoid displaying application icons of the same application in the first and second display areas of the foldable screen, which may give the user the illusion that two identical applications are installed on the mobile phone, the mobile phone may display any icon in the second display area, such as "recently executed application," "application used many times," or "application used for a long time." As shown in FIG. 9C, the second application icon on the second interface 904 is an application that has been recently executed on the mobile phone.

[0162] In a third implementation, the second interface may alternatively be an interface for an application that was recently executed on the mobile phone. The mobile phone may have one or more applications that were recently executed. If the mobile phone has recently executed multiple applications, the second interface may be an interface for any one of the multiple applications, or the second interface may be an interface for an application that was executed the longest among the multiple applications, or the second interface may be an interface for an application that was executed closest to the current time among the multiple applications.

[0163] For example, when the mobile phone is in the folded state, the most recently executed application is a shopping application. Assume that when the mobile phone is in the folded state, the first interface 901 shown in FIG. 9A(a) is displayed. As shown in FIG. 10A, in response to the mobile phone changing from the folded state to the unfolded state, the mobile phone may display the first interface 901 in the first display area of ​​the foldable screen and display the second interface 1001 in the second display area. The second interface 1001 is an interface of the shopping application.

[0164] In this implementation, for example, the first display area is located on the right side of the foldable screen, and the second display area is located on the left side of the foldable screen, and the sizes of the first display area and the second display area are the same. In a fourth implementation, the second interface can be the leftmost screen. For example, when the mobile phone is in a folded state, the main interface displayed on the main screen is the main interface shown in FIG. 9A(a). After the mobile phone changes from the folded state to the unfolded state, the interface displayed on the mobile phone is shown in FIG. 10B. The first display area of ​​the mobile phone is located on the right side of the screen and displays the first interface 901. The second display area of ​​the mobile phone is located on the left side of the screen and displays the leftmost screen 1002.

[0165] The leftmost screen of the mobile phone is an interface accessed by the user by swiping right from the main interface displayed on the mobile phone. The interface may display functions and applications frequently used by the user, services and information to which the user subscribes, and the like. The leftmost screen may also be referred to as a desktop assistant or shortcut menu, etc.

[0166] It can be understood that the positions and sizes of the first display area and the second display area are not specifically limited in this implementation. The leftmost screen is usually an interface accessed by the user by swiping right, and the leftmost screen is to the left of the main interface. In this implementation, in order to better fit the user's operating habits, the second display area is set to be located on the left side of the foldable screen, and the second interface is displayed in the second display area, and the second interface is the leftmost screen.

[0167] In the fifth implementation, the content included in the second interface is defined by the user. The second interface may be an interface used to display prompt information defined by the user, such as a calendar, scheduling, or an alarm clock, or may be an interface for a fixed application, for example, the second interface always displays an inbox interface, an interface for a stock application, or an interface for a communication application (such as QQ or WeChat), or may be an interface used to display the functions of the mobile phone, for example, an interface that displays the functions of a background application. This is not specifically limited. For example, when the mobile phone is in a folded state, the main interface displayed on the main screen is the main interface shown in FIG. 9A(a). After the mobile phone changes from a folded state to an unfolded state, the interface displayed on the mobile phone is shown in FIG. 10C. The first display area of ​​the mobile phone is located on the left side of the foldable screen and displays the first interface 901. The second interface is shown in 1003. For example, the second interface is an interface for displaying background applications.

[0168] In this implementation, the display available when the mobile phone is in the unfolded state is larger than the display available when the mobile phone is in the folded state. To gradually increase the display area, the user can set the display content, or the pre-set content can be displayed, providing the user with more display content and improving the user's impression of the mobile phone with a foldable screen.

[0169] When the mobile phone is in a folded state and a first interface (i.e., a main interface of the mobile phone) is displayed, the main interface of the mobile phone may be switched to be displayed in response to a user's swiping operation (e.g., swiping right on the screen or swiping left on the screen). In this embodiment of the present application, when the mobile phone is in an unfolded state, the main interface of the mobile phone may also be switched to be displayed in response to a user's swiping operation.

[0170] In an implementation, for example, the first display area is located on the left side of the foldable screen, and the second display area is located on the right side of the foldable screen. After step 702, the method in this embodiment of the present application may further include a step of the mobile phone displaying a second interface in the first display area and a third interface in the second display area in response to a first swipe operation (e.g., an operation of swiping left on the screen). The third interface may be another main interface of the mobile phone, the third interface is different from the first interface, or the third interface is a leftmost screen of the mobile phone.

[0171] For example, assume that when the mobile phone is in the unfolded state, as shown in Fig. 9A(b), a first interface 901 is displayed in a first display area of ​​the foldable screen, and a second interface 902 is displayed in a second display area. In response to a first swipe operation (e.g., swiping left on the screen) performed by a user on the foldable screen shown in Fig. 9A(b), the mobile phone may display the second interface 902 in the first display area and display the third interface 1101 (i.e., the main interface 203 shown in Fig. 8(c)) in the second display area, as shown in Fig. 11A.

[0172] For example, in response to a second swipe operation (e.g., swiping right on the screen), the mobile phone displays a third interface in the first display area and displays the second interface in the second display area. The third interface may be another main interface of the mobile phone, the third interface is different from the first interface, or the third interface is a left-most screen of the mobile phone.

[0173] For example, assume that when the mobile phone is in the unfolded state, as shown in Fig. 9A(b), the first interface 901 is displayed in a first display area of ​​the foldable screen, and the second interface 902 is displayed in a second display area. In response to a second swipe operation (e.g., swiping right on the screen) performed by a user on the foldable screen shown in Fig. 9A(b), the mobile phone may display the third interface 1102, i.e., the leftmost screen, in the first display area and the second main interface 901 in the second display area, as shown in Fig. 11B.

[0174] In another implementation, for example, the first display area is located on the right side of the foldable screen, and the second display area is located on the left side of the foldable screen. After step 702, the method in this embodiment of the present application may further include a step of the mobile phone displaying a third interface in the first display area and displaying the first interface in the second display area in response to a first swipe operation (e.g., an operation of swiping left on the screen). The third interface may be another main interface of the mobile phone, the third interface is different from the first interface, or the third interface is a leftmost screen.

[0175] For example, in response to a second swipe operation (e.g., swiping right on the screen), the mobile phone displays a second interface in the first display area and a third interface in the second display area, where the third interface may be another main interface of the mobile phone, the third interface is different from the first interface, or the third interface is a left-most screen of the mobile phone.

[0176] Generally, when the mobile phone is in a folded state, the first page control may be displayed on the main screen of the mobile phone. As shown in FIG. 8(a), FIG. 8(b), and FIG. 8(c), the mobile phone may display the first page control 207 on the main screen. The first page control 207 is used to indicate that the mobile phone is currently displaying one main interface of the mobile phone. The first page control may include one or more main interface indicators. Each main interface indicator corresponds to one main interface of the mobile phone. When the mobile phone displays one main interface, in the first page control, the main interface indicator corresponding to the main interface is different from another main interface indicator. For example, as shown in FIG. 8(b), the first page control 207 includes three main interface indicators, namely, circular indicators. From left to right on the first page control 207, the first circular indicator corresponds to the main interface 201 shown in Figure 8(a), the second circular indicator corresponds to the main interface 202 shown in Figure 8(b), and the third circular indicator corresponds to the main interface 203 shown in Figure 8(c). As shown in Figure 8(b), the mobile phone is currently displaying the main interface 202. The second circular indicator on the first page control 207 is highlighted and is different from the other two circular indicators.

[0177] In this embodiment of the present application, when the mobile phone is in a folded state, one main interface is displayed in a first display area of ​​the foldable screen, and another main interface is displayed in a second display area, and the mobile phone may display a second page control on the foldable screen. The second page control includes one or more main interface indicators, and the second page control is used to indicate two main interfaces currently displayed on the mobile phone. As shown in FIG. 9A(b), the mobile phone displays a second page control 905. The second page control 905 may include multiple main interface indicators. Each main interface indicator corresponds to one main interface of the mobile phone. When the mobile phone displays two main interfaces, the main interface indicators corresponding to the two main interfaces in the second page control 905 are different from another main interface indicator. Alternatively, when the mobile phone displays two main interfaces, the main interface indicators corresponding to the two main interfaces in the second page control 905 are surrounded by an elliptical pattern. Alternatively, when the mobile phone displays two main interfaces, the main interface indicators corresponding to the two main interfaces are surrounded by an elliptical pattern in the second page control 905, unlike the other main interface indicators. For example, as shown in FIG. 9A(b), the mobile phone currently displays the main interface 901 and the main interface 902, and the first and second circular indicators in the second page control 905 are highlighted, and the highlighted circular indicator is surrounded by an elliptical pattern, unlike the third circular indicator.

[0178] In this embodiment of the present application, when the first interface includes one or more first application icons, the second interface includes one or more second application icons, and in the process of the mobile phone changing from a folded state to an unfolded state, the foldable screen of the mobile phone may display an animation in which the application icons appear row by row.

[0179] It should be noted that in this application, the method in this embodiment of the application is described using an example in which the mobile phone is in a folded state when the narrow angle α between the first screen and the second screen is equal to 0°, and the mobile phone is in an unfolded state when the narrow angle α between the first screen and the second screen is equal to 180°. When the angle of the mobile phone is (0°, 180°), it indicates that the mobile phone is in an unfolding process or a folding process. The process in which the narrow angle between the first screen and the second screen of the mobile phone gradually increases from 0° to 180° is referred to as the unfolding process of the mobile phone. The process in which the narrow angle between the first screen and the second screen of the mobile phone gradually decreases from 180° to 0° is referred to as the folding process of the mobile phone.

[0180] For an outward-facing foldable mobile phone, when the mobile phone is in a folded state, the first screen or the second screen of the mobile phone functions as a main screen and displays a first interface. In this case, when the mobile phone is in a folded state or an unfolded state, the foldable screen is visible to the user. The method in this embodiment of the present application may further include a step in which, when the mobile phone is in an unfolding process, the mobile phone displays an animation in the second display area in which one or more second application icons appear row by row.

[0181] For example, as shown in FIG. 12(a), when the mobile phone is in a folded state, a first interface may be displayed on the first screen and the second screen may be turned off. The first screen functions as a first display area, and the second screen functions as a second display area. The first interface includes a plurality of first application icons, for example, application icon 1 to application icon 9 in FIG. 12(a). In response to the mobile phone changing from the folded state to the unfolded state, the mobile phone may display an animation in the second display area in which one or more second application icons appear row by row, as shown in FIG. 12(b), FIG. 12(c), and FIG. 12(d). As shown in FIG. 12(b), when the angle between the first screen and the second screen of the mobile phone is a first preset angle, the second screen of the mobile phone displays a first row of application icons, for example, application icon 10, application icon 13, and application icon 16 shown in FIG. 12(b), in the second interface. When the angle between the first screen and the second screen of the mobile phone is a second preset angle, the second screen of the mobile phone displays the first row and the second row of application icons in the second interface. Application icon 11, application icon 14, and application icon 17 are further displayed in FIG. 12(b) as shown in FIG. 12(c). When the mobile phone is in the unfolded state, the second screen of the mobile phone displays all three rows of application icons in the second interface as shown in FIG. 12(d). In the process of the mobile phone changing from the folded state to the unfolded state, the image displayed on the foldable screen of the mobile phone switches from FIG. 12(a) to FIG. 12(b), from FIG. 12(b) to FIG. 12(c), and from FIG. 12(c) to FIG. 12(d).

[0182] For example, when the mobile phone is in the folding process, the mobile phone displays an animation in which a plurality of first application icons disappear row by row in the first display area, or displays an animation in which a plurality of second application icons disappear row by row in the second display area.

[0183] For example, as shown in Fig. 12(a), when the mobile phone is in a folded state, the first screen functions as a main screen. When the mobile phone is in a folding process, the animation displayed on the mobile phone may switch from Fig. 12(d) to Fig. 12(c), switch from Fig. 12(c) to Fig. 12(b), and switch from Fig. 12(b) to Fig. 12(a), as shown in Fig. 12(a), Fig. 12(b), Fig. 12(c), and Fig. 12(d). The main screen of the mobile phone in the folded state shown in Fig. 12(a) may alternatively display a lock screen interface or an interface of the last application executed on the mobile phone. This is just an example.

[0184] It can be appreciated that if the content displayed on the main screen remains unchanged during the folding process of the mobile phone, the screen on the side of the forward-facing camera may be the main screen by default, or by using the camera data and data from associated sensors on the mobile phone, the screen the user is facing is determined to be the main screen.

[0185] It should be noted that here, only the animation appearing column by column is used to represent the screen display change process when the mobile phone changes from the folded state to the unfolded state. In fact, another manner with animation can be used to represent the screen change instead. For example, the second screen displays the second interface through the gradient of the screen, or the second interface appears in ascending order of the resolution of the screen, or the second interface is gradually displayed through scrolling the roller shaft. This is merely an example and is not specifically limited here.

[0186] It can be understood that in this implementation, an example in which the mobile phone is an outward-facing foldable mobile phone is used for explanation. When the mobile phone is an inward-facing foldable mobile phone, the contents on the screen can also be displayed by using animation.

[0187] For example, for an inward-foldable mobile phone, the mobile phone includes a third screen to function as a main screen and display the first interface. In this case, the foldable screen is not visible to the user when the mobile phone is in a folded state. The method in this embodiment of the present application may further include displaying an animation in which a plurality of first application icons appear row by row in a first display area of ​​the mobile phone when the mobile phone is in an unfolding process, and displaying an animation in which one or more application icons appear row by row in a second display area.

[0188] For example, as shown in FIG. 13(a), when the mobile phone is in a folded state, the first interface is displayed on the third screen. When the mobile phone is in an unfolded state, the first screen displays the first interface and the second screen displays the second interface. In response to the unfolding and folding processes of the mobile phone as shown in FIG. 13(b), FIG. 13(c), and FIG. 13(d), the mobile phone may display an animation in which application icons on the first interface and application icons on the second interface appear row by row. FIG. 13(b) shows that the first screen of the foldable screen of the mobile phone displays a first row of application icons on the first interface, and the second screen of the foldable screen displays the first row of application icons on the second interface. FIG. 13(c) shows that the first screen of the foldable screen of the mobile phone displays the first and second rows of application icons on the first interface, and the second screen of the foldable screen displays the first and second rows of application icons on the second interface. Figure 13(d) shows that the first screen of the foldable screen of the mobile phone displays the first interface, and the second screen displays the second interface. In the process of the mobile phone changing from the folded state to the unfolded state, the image displayed on the foldable screen of the mobile phone switches from Figure 13(a) to Figure 13(b), from Figure 13(b) to Figure 13(c), and from Figure 13(c) to Figure 13(d).

[0189] For example, when the mobile phone is in the folding process, the mobile phone displays an animation in which a plurality of first application icons appear row by row in the first display area, and displays an animation in which one or more second application icons appear row by row in the second display area.

[0190] For example, as shown in Fig. 13(a), when the mobile phone is in a folded state, the third screen functions as a main screen. When the mobile phone is in a folding process, the animation displayed on the mobile phone may switch from Fig. 13(d) to Fig. 13(c), switch from Fig. 13(c) to Fig. 13(b), and switch from Fig. 13(b) to Fig. 13(a), as shown in Fig. 13(a), Fig. 13(b), Fig. 13(c), and Fig. 13(d). The main screen of the mobile phone in the folded state shown in Fig. 13(a) may alternatively display a lock screen interface, or an interface of the application last executed on the mobile phone. This is merely an example.

[0191] Some other embodiments of the present application provide an electronic device. The electronic device may include a foldable screen, a memory, and one or more processors. The foldable screen, the memory, and the processor are coupled to each other. The memory is configured to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device may perform the functions or steps performed by the mobile phone in the above method embodiments. For the structure of the electronic device, please refer to the structure of the electronic device 100 shown in Figure 4.

[0192] The core structure of the electronic device may be represented as the structure shown in Figure 14. The electronic device includes a processing module 1301, an input module 1302, a storage module 1303, a display module 1304, and a communication module 1305.

[0193] The processing module 1301 may include at least one of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processing module 1301 may perform operations or data processing related to control and / or communication with at least one other element of the electronic device. Specifically, the processing module 1301 may be configured to control the contents displayed on the main screen based on a certain trigger condition, or determine the contents displayed on the screen according to a preset rule. The processing module 1301 is further configured to process input instructions or data, and determine a display style based on the processed data. The processing module 1301 further includes a rendering engine for rendering an interface element UI, and the like.

[0194] The input module 1302 is configured to acquire commands or data input by a user and send the acquired commands or data to another module of the electronic device. Specifically, the input mode of the input module 1302 may include touch, gesture, proximity to a screen, or the like, or may be voice input. For example, the input module may be a screen of the electronic device, and may acquire a user's input operation, generate an input signal based on the acquired input operation, and send the input signal to the processing module 1301.

[0195] The storage module 1303 may include a volatile memory and / or a non-volatile memory. The storage module is configured to store instructions or data related to at least one other module of the user terminal device. In particular, the storage module may record the location of the interface where the terminal interface element UI is located.

[0196] The display module 1304 may include, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a microelectromechanical system (MEMS) display, or an ePaper display, and is configured to display content (e.g., text, images, videos, icons, and symbols) viewable by a user.

[0197] The communication module 1305 is configured to support the personal terminal in communication (through a communication network) with another personal terminal. For example, the communication module may be connected to a network through wireless or wired communication to communicate with another personal terminal or a network server. The wireless communication may use at least one of cellular communication protocols, such as Long Term Evolution (LTE), Long Term Evolution Advanced (LTE-A), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Universal Mobile Telecommunications System (UMTS), Wireless Broadband (WiBro), or Global System for Mobile Communications (GSM). The wireless communication may include, for example, short-range communication. The short-range communication may include at least one of Wireless Fidelity (Wi-Fi), Bluetooth, Near Field Communication (NFC), Magnetic Stripe Transmission (MST), or GNSS.

[0198] Some other embodiments of the present application provide a display apparatus, which may be used in the above electronic devices including a touch screen, the apparatus being configured to perform the functions or steps performed by the mobile phone in the above method embodiments.

[0199] The embodiment of the present application further provides a chip system. As shown in FIG. 15, the chip system includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 can be connected to each other through a line. For example, the interface circuit 1402 can be configured to receive a signal from another device (e.g., a memory of an electronic device). In another example, the interface circuit 1402 can be configured to send a signal to another device (e.g., the processor 1401). For example, the interface circuit 1402 can read an instruction stored in the memory and send the instruction to the processor 1401. When the instruction is executed by the processor 1401, the electronic device can perform the steps in the above embodiment. Of course, the chip system can further include another discrete device. This is not specifically limited to this embodiment of the present application.

[0200] An embodiment of the present application further provides a computer storage medium, the computer storage medium including computer instructions, which when executed on the electronic device described above, enable the electronic device to perform the functions or steps performed by the mobile phone in the method embodiments described above.

[0201] An embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to perform the functions or steps performed by the mobile phone in the above method embodiments.

[0202] From the above description of the implementation, those skilled in the art can understand that for convenience and simple description, the above division into functional modules is taken as an example for explanation. In actual application, the above functions can be allocated to different modules for implementation based on requirements. That is, the internal structure of the device is divided into different functional modules to implement all or part of the functions described above.

[0203] In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the described device embodiment is merely an example. For example, the division into modules or units is merely a logical division of functions, and there may be other division ways in actual implementation. For example, multiple units or components may be combined or integrated into another device, and some functions may be ignored or not performed. In addition, the shown or described interconnections, i.e., direct connections or communication connections, may be implemented through some interfaces. Indirect couplings or communication connections between devices or units may be realized in an electrical, mechanical, or other form.

[0204] Each unit described as a separate part may or may not be physically separate, and each part shown as a unit may be one or multiple physical units, located in one location or distributed in different locations. Some or all of these units may be selected based on actual requirements to achieve the objectives of the solutions of these embodiments.

[0205] In addition, each functional unit in the embodiments of the present application may be integrated into one processing unit, each of these units may exist physically alone, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

[0206] When the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application may be essentially implemented in the form of a software product, or the part that contributes to the prior art, or all or part of the technical solutions. The software product is stored in a storage medium and includes some instructions for instructing a device (which may be a single-chip microcomputer or chip, etc.) or a processor to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0207] The above description is merely a specific implementation of the present application, and is not intended to limit the scope of protection of the present application. Any variation or replacement within the technical scope disclosed in this application shall be included within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the scope of protection of the claims. [Other possible items] (Item 1) A foldable screen display method applied to an electronic device having a foldable screen, comprising: The electronic device may be folded such that the foldable screen is divided into a plurality of display areas, the method comprising: displaying a first interface on a main screen of the electronic device when the electronic device is in a folded state, the first interface being a main interface of the electronic device, the first interface including a plurality of first application icons; displaying, by the electronic device, the first interface in a first display area of ​​the foldable screen and a second interface in a second display area of ​​the foldable screen, the second interface being different from the first interface, in response to the electronic device changing from the folded state to the unfolded state. A method for providing the above. (Item 2) 2. The method of claim 1, wherein the second interface includes one or more second application icons, the one or more second application icons including application icons for applications that were recently run on the electronic device but not closed. (Item 3) The method described in item 1, wherein the second interface includes one or more second application icons, and the one or more second application icons include application icons of one or more applications that have been used more than a preset number of times within a preset period of time, or application icons of one or more applications that have been used for more than a preset time within a preset period of time. (Item 4) 2. The method of claim 1, wherein the second interface is an interface of a recently used application. (Item 5) 2. The method of claim 1, wherein the second interface is the leftmost screen. (Item 6) 2. The method according to claim 1, wherein the content included in the second interface is defined by a user. (Item 7) 2. The method of claim 1, wherein the second interface includes one or more second application icons, and the second interface is another main interface of the electronic device. (Item 8) The method comprises: displaying a first page control on the main screen of the electronic device when the electronic device is in the folded state, the first page control being used to indicate that the electronic device is currently displaying one main interface of the electronic device; displaying a second page control on the foldable screen when the electronic device is in the unfolded state, the second page control being used to indicate that the electronic device is currently displaying two main interfaces of the electronic device; 8. The method of claim 7, further comprising: (Item 9) The method comprises: and displaying, by the electronic device, the second interface in the first display area and a third interface in the second display area in response to a first swipe operation when the electronic device is in the unfolded state, the third interface being different from the second interface, the third interface being another main interface of the electronic device, or the third interface being a left-most screen of the electronic device. The method according to any one of items 1 to 4 and items 6 to 8, further comprising: (Item 10) The method of any one of items 2, 3 or 8, wherein the foldable screen is an inward-facing foldable screen, and when the electronic device is in the folded state, the foldable screen is invisible to the user, and when the electronic device is in the unfolded state, the foldable screen is visible to the user, and the method further comprises, in a process of the electronic device changing from the folded state to the unfolded state, displaying, by the electronic device, an animation in which the plurality of first application icons appear row by row in the first display area and displaying an animation in which the one or more second application icons appear row by row in the second display area. (Item 11) Item 11. The method of item 10, wherein, in a process of the electronic device changing from the unfolded state to the folded state, the electronic device displays an animation in which the plurality of first application icons disappear row by row in the first display area, and displays an animation in which the one or more second application icons disappear row by row in the second display area. (Item 12) the foldable screen is an outward-facing foldable screen, and the foldable screen is visible to a user when the electronic device is in the folded state or the unfolded state, and the method further comprises: 9. The method of any one of items 2, 3, or 8, further comprising a step of displaying an animation in the second display area by the electronic device in which the one or more second application icons appear row by row during a process in which the electronic device changes from the folded state to the unfolded state. (Item 13) Item 13. The method of item 12, wherein the method further comprises a step of displaying an animation in the second display area by the electronic device in which the one or more second application icons disappear row by row during the process of the electronic device changing from the unfolded state to the folded state. (Item 14) 14. The electronic device includes a memory and one or more processors, the memory coupled to the processors, the memory configured to store computer program code, the computer program code including computer instructions, and when the processor executes the computer instructions, the one or more processors perform the method of any one of items 1 to 13. (Item 15) 14. A chip system comprising one or more interface circuits and one or more processors, the interface circuits and the processors being connected to each other through lines, the interface circuits being configured to receive signals from a memory of an electronic device and to transmit the signals to the processor, the signals including computer instructions stored in the memory, and when the processor executes the computer instructions, the electronic device performs the method according to any one of claims 1 to 13. (Item 16) 14. A computer storage medium comprising computer instructions, which, when executed on an electronic device, enables the electronic device to perform the method according to any one of items 1 to 13. (Item 17) 14. A computer program product, which when executed on a computer enables the computer to carry out the method according to any one of items 1 to 13.

Claims

1. A foldable screen display method applied to an electronic device having a foldable screen, comprising: the electronic device may be folded such that the foldable screen is divided into a plurality of display areas; displaying a first interface on a main screen of the electronic device when the electronic device is in a folded state, the first interface being a main interface of the electronic device, the first interface including a plurality of first application icons; displaying, by the electronic device, the first interface in a first display area of ​​the foldable screen and a second interface in a second display area of ​​the foldable screen, the second interface being different from the first interface, in response to the electronic device changing from the folded state to the unfolded state. Equipped with The foldable screen is an outward foldable screen, and when the electronic device is in the folded state, the first interface is displayed in the first display area, and the foldable screen display method includes: The method further comprises a step of displaying an animation in the second display area in which a plurality of second application icons of the second interface appear row by row during the process of the electronic device changing from the folded state to the unfolded state, wherein the content displayed in the first display area remains unchanged during the process.

2. The method of claim 1 , wherein the second plurality of application icons comprises application icons for applications that have recently run on the electronic device but have not been closed.

3. 2. The method of claim 1, wherein the second interface includes the plurality of second application icons, the plurality of second application icons including application icons of a plurality of applications that have been used more than a preset number of times within a preset period of time, or a plurality of applications that have been used for more than a preset time within a preset period of time.

4. The method of claim 1 , wherein the second interface is an interface of a most recently used application.

5. The method of claim 1 , wherein the second interface is a left-most screen.

6. The method of claim 1 , wherein the content included in the second interface is user defined.

7. The method of claim 1 , wherein the second interface includes the plurality of second application icons, the second interface being another main interface of the electronic device.

8. The method comprises: displaying a first page control on the main screen of the electronic device when the electronic device is in the folded state, the first page control being used to indicate that the electronic device is currently displaying one main interface of the electronic device; displaying a second page control on the foldable screen when the electronic device is in the unfolded state, the second page control being used to indicate that the electronic device is currently displaying two main interfaces of the electronic device; The method of claim 7 further comprising:

9. The method comprises: and displaying, by the electronic device, the second interface in the first display area and a third interface in the second display area in response to a first swipe operation when the electronic device is in the unfolded state, the third interface being different from the second interface, the third interface being another main interface of the electronic device, or the third interface being a left-most screen of the electronic device. The method of any one of claims 1 to 4 and claims 6 to 8, further comprising:

10. the foldable screen is an outward-facing foldable screen, and the foldable screen is visible to a user when the electronic device is in the folded state or the unfolded state, and the method further comprises:

9. The method of claim 2, 3 or 8, further comprising, in a process of the electronic device changing from the folded state to the unfolded state, causing the second interfaces to appear in the second display area by the electronic device in ascending order of screen resolution.

11. 11. The method of claim 10, further comprising: displaying, by the electronic device, an animation in the second display area of ​​the plurality of second application icons disappearing row by row during a process in which the electronic device changes from the unfolded state to the collapsed state.

12. An electronic device comprising a memory and one or more processors, the memory coupled to the one or more processors, the memory configured to store computer program code, the computer program code comprising computer instructions, and when the one or more processors execute the computer instructions, the one or more processors perform a method according to any one of claims 1 to 11.

13. 12. A chip system comprising one or more interface circuits and one or more processors, the one or more interface circuits and the one or more processors being connected to each other via lines, the one or more interface circuits being configured to receive signals from a memory of an electronic device and to transmit the signals to the one or more processors, the signals including computer instructions stored in the memory, and when the one or more processors execute the computer instructions, the electronic device performs the method of any one of claims 1 to 11.

14. A foldable screen display method applied to an electronic device having a foldable screen, comprising: the electronic device may be folded such that the foldable screen is divided into a plurality of display areas; displaying a first interface on a main screen of the electronic device when the electronic device is in a folded state, the first interface being a main interface of the electronic device, the first interface including a plurality of first application icons; displaying, by the electronic device, the first interface in a first display area of ​​the foldable screen and a second interface in a second display area of ​​the foldable screen, the second interface being different from the first interface, in response to the electronic device changing from the folded state to the unfolded state. Equipped with the foldable screen is an inward-facing foldable screen, the foldable screen is invisible to a user when the electronic device is in the folded state, and the foldable screen is visible to the user when the electronic device is in the unfolded state, and the foldable screen display method comprises: The method further comprises, during the process of the electronic device changing from the folded state to the unfolded state, displaying an animation in the first display area in which the plurality of first application icons appear row by row, starting with the first application icon located on the opposite side of the folding edge of the foldable screen, and displaying an animation in the second display area in which the plurality of second application icons of the second interface appear row by row, starting with the second application icon located on the opposite side of the folding edge.

15. The method according to claim 1, 15. The method of claim 14, further comprising: in a process of the electronic device changing from the unfolded state to the folded state, the electronic device displays an animation in the first display area in which the first application icons disappear row by row, starting with the first application icon located on the folding edge side of the foldable screen, and displays an animation in the second display area in which the second application icons disappear row by row, starting with the second application icon located on the folding edge side.

16. An electronic device comprising a memory and one or more processors, the memory coupled to the one or more processors, the memory configured to store computer program code, the computer program code comprising computer instructions, and wherein when the one or more processors execute the computer instructions, the one or more processors perform a method as described in claim 14 or 15.

17. A chip system comprising one or more interface circuits and one or more processors, the one or more interface circuits and the one or more processors connected to each other via lines, the one or more interface circuits configured to receive signals from a memory of an electronic device and transmit the signals to the one or more processors, the signals including computer instructions stored in the memory, and when the one or more processors execute the computer instructions, the electronic device performs the method of claim 14 or 15.

Citation Information

Patent Citations

  • Portable device with touch screen display and control method thereof

    JP2014511524A

  • Flexible device and interfacing method thereof

    US20160034047A1

  • Display and management of application icons

    US20160041719A1

  • Information processing device, information processing method, and computer-readable recording medium which records program

    WO2012144632A1

  • Display control method and apparatus

    WO2018191900A1