Display method and related device for foldable screens

The display method for foldable screens dynamically adjusts interfaces based on configuration changes, addressing the lack of flexibility in existing foldable devices, enabling hands-free use and improved user experience.

JP7743836B2Active Publication Date: 2025-09-25HUAWEI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2022543599
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-01-21
Filing Date
2021-01-12
Publication Date
2025-09-25
Estimated Expiration
2041-01-12

AI Technical Summary

Technical Problem

Foldable screens in electronic devices lack flexibility in displaying application interfaces, as they can only be fixedly displayed at a specified position, limiting user interaction and convenience, especially when using camera applications.

Method used

A display method for foldable screens that adjusts the interface display based on the configuration change from unfolded to half-folded, allowing applications like cameras to be displayed on specific screens, enabling hands-free use and improved user experience.

Benefits of technology

Enables convenient hands-free use of camera applications and improved user interaction by dynamically adjusting display interfaces based on screen configuration, enhancing usability and visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007743836000052
    Figure 0007743836000052
  • Figure 0007743836000053
    Figure 0007743836000053
  • Figure 0007743836000054
    Figure 0007743836000054
Patent Text Reader

Abstract

This application discloses a display method for a foldable screen, applicable to an electronic device including a foldable screen. The foldable screen may be folded to form at least two screens, and the at least two screens may include a first screen and a second screen. The method includes a step in which, when the foldable screen is in an unfolded configuration, the electronic device displays a first interface of a first application in full screen on the foldable screen. The first interface includes an image captured by a camera. When the electronic device detects that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, the electronic device displays a second interface on the first screen. In this way, a user can conveniently take photos, make video calls, or broadcast live videos without having to hold the electronic device steadily with both hands.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application claims priority to Chinese Patent Application No. 202010072042.1, entitled "Display Method and Related Device for Foldable Screen," filed with the State Intellectual Property Office of China on January 21, 2020, which is incorporated herein by reference in its entirety.

[0002] The present application relates to the field of electronics, and more particularly to a display method for a foldable screen and related devices. [Background technology]

[0003] With the continuous development of electronic devices, the number of electronic devices with displays, such as mobile phones with displays, is increasing and is being applied to people's daily lives and work. In addition, with the development of screen technology, the displays of electronic devices are also becoming larger to provide users with more information and bring users a better user experience.

[0004] However, if the display of an electronic device is too large, it will significantly affect the portability of the electronic device. Therefore, electronic devices with foldable screens (e.g., foldable mobile phones) have been proposed in recent years, which are in line with the future development trend of electronic devices.

[0005] Currently, the form of a foldable screen may include a folded state and an unfolded state. When the foldable screen is in the folded state, the foldable screen may be folded to form at least two screens. The electronic device may display an application interface on one of the screens. After the foldable screen is unfolded, the display area of ​​the foldable screen includes at least two screens. The electronic device may display the application interface on the entire display area of ​​the foldable screen. Currently, the foldable screen has only two forms, and the application interface can only be fixedly displayed at a specified position on the foldable screen. This lacks flexibility. Summary of the Invention

[0006]

[0003] The present application provides a display method and a related apparatus for a foldable screen. As a result, when a camera is turned on for a foreground application running on an electronic device and the foldable screen of the electronic device is changed to a half-folded configuration, the electronic device can display the application interface of the foreground application on half of the foldable screen. In this way, a user can conveniently take photos, make video calls, or live broadcasts without having to hold the electronic device steadily with both hands.

[0007] According to a first aspect, an embodiment of the present application provides a display method for a foldable screen, which is applied to an electronic device including the foldable screen. The foldable screen can be folded to form a first screen and a second screen. The method includes a step in which, when the foldable screen is in an unfolded configuration, the electronic device displays a first interface of a first application in full screen on the foldable screen. The first interface includes an image captured by a camera, and the image captured by the camera is an image captured before a capture confirmation signal is received. When detecting that the foldable screen is changing from the unfolded configuration to the half-folded configuration, the electronic device displays a second interface on the first screen. Content displayed in the second interface is the same as or different from the content displayed in the first interface. When the foldable screen is in the unfolded configuration, the included angle between the first screen and the second screen is greater than a first angle threshold, and when the foldable screen is in the half-folded configuration, the included angle between the first screen and the second screen is between the first angle threshold and a second angle threshold, the first angle threshold being greater than the second angle threshold.

[0008] According to the display method for a foldable screen provided in this embodiment of the present application, when the foldable screen of an electronic device is in a half-folded state, if a foreground application (e.g., a camera application or a WeChat® application) running on the electronic device that supports window display adaptation launches the camera, the electronic device may display the application interface of the foreground application on the first screen or the second screen of the foldable screen. In this way, a user can conveniently take photos, make video calls, or live broadcasts without having to hold the electronic device steadily with both hands.

[0009] In a possible implementation, the method further includes the electronic device displaying a second interface on the second screen when the foldable screen is in a half-folded configuration and the included angle between the plane on which the first screen is located and the horizontal plane is less than a third angle threshold. The third angle threshold is less than the second angle threshold. In this way, when photographing the sky or the ground on a tall building, the user does not need to look up and be blinded by the sun or look down, and the electronic device automatically displays a higher-layer application interface for activating the camera on the half-screen (e.g., the second screen) that is approximately perpendicular to the horizontal plane, making it easier for the user to take a photograph.

[0010] In a possible implementation, if the period during which the included angle between the first screen and the second screen remains between the first angle threshold and the second angle threshold is greater than the first time threshold, the electronic device detects that the foldable screen is changing to the half-folded configuration. In this way, the electronic device can accurately identify that the user wants the foldable screen to enter the half-folded configuration, thereby improving the accuracy of the determination.

[0011] In a possible implementation, the electronic device further includes a third screen, and when the foldable screen is folded, the third screen and the first screen face away from each other. The method further includes, after the electronic device activates the time-lapse photography function, receiving a first user input via the second interface. In response to the first input, the electronic device displays a countdown prompt on the first screen and the third screen. The countdown prompt is used to prompt the user of the remaining time for the electronic device to capture an image captured by the camera. In this way, when the owner leaves the electronic device and performs automatic countdown photography with another person, the countdown can be displayed on the third screen. This makes it convenient for the user to assume a photography position, thereby improving the user experience.

[0012] In a possible implementation, the method further includes, in response to the first input, the electronic device displaying an image captured by the camera on a third screen.

[0013] In one possible implementation, the first application is associated with a second application, and the method further includes the electronic device displaying a third interface of the second application on the second screen when detecting that the foldable screen is changing from the unfolded configuration to the semi-folded configuration. In this way, the application associated with the first application can be quickly launched, thereby improving the user experience.

[0014] In a possible implementation, the first application corresponds to a plurality of associated applications, and the method further includes, when detecting that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, the electronic device displays options of the plurality of associated applications on the second screen. The electronic device receives a second user input for an option corresponding to the second application. In response to the second input, the electronic device displays a third interface of the second application on the second screen.

[0015] In a possible implementation, the method further includes the electronic device displaying the switch control on the first screen or the second screen. The electronic device receives a third input from the user on the switch control. In response to the third input, the electronic device displays a third interface on the first screen and a second interface on the second screen. In this way, the interface displayed on the first screen and the interface displayed on the second screen can be switched based on a user request, thereby improving the user experience.

[0016] In a possible implementation, the first interface further includes one or more operation controls, and the electronic device displays a fourth interface on the second screen when it detects that the foldable screen is changing from the unfolded configuration to the semi-folded configuration. The fourth interface includes one or more operation controls, and the second interface includes an image captured by the camera. In this manner, the electronic device can rearrange controls within the application interface based on the physical configuration of the foldable screen. As a result, a user has a better visual experience when viewing and using the foldable screen.

[0017] According to a second aspect, an embodiment of the present application provides an electronic device including a foldable screen, an acceleration sensor, a gyroscope sensor, one or more cameras, one or more processors, and one or more memories. The foldable screen may be folded to form at least two screens, the at least two screens including a first screen and a second screen, and the foldable screen, the acceleration sensor, the gyroscope sensor, the one or more cameras, and the one or more memories are separately coupled to the one or more processors. The acceleration sensor and the gyroscope sensor are configured to detect data, such that the one or more processors detect an included angle between the first screen and the second screen. The one or more memories are configured to store computer program code. The computer program code includes computer instructions that, when executed on a processor, enable the electronic device to perform the steps of: when the foldable screen is in an unfolded configuration, displaying a first interface of a first application in full screen on the foldable screen, the first interface including an image captured by a camera, the image captured by the camera being an image captured before a capture confirmation signal was received; and when detecting that the foldable screen is changing from the unfolded configuration to the half-folded configuration, displaying a second interface on the first screen, wherein content displayed on the second interface is the same as or different from content displayed on the first interface. When the foldable screen is in the unfolded configuration, an included angle between the first screen and the second screen is greater than a first angle threshold, and when the foldable screen is in the half-folded configuration, the included angle between the first screen and the second screen is between the first angle threshold and a second angle threshold. The first angle threshold is greater than the second angle threshold.

[0018] According to the electronic device provided in the present application, when the foldable screen of the electronic device is in a half-folded state, if a foreground application (e.g., a camera application or a WeChat application) running on the electronic device that supports window display adaptation launches the camera, the electronic device may display the application interface of the foreground application on screen A or screen B of the foldable screen. In this way, a user can conveniently take photos, make video calls, or perform live broadcasts, etc., without having to hold the electronic device steadily with both hands.

[0019] In a possible implementation, when the computer instructions are executed on the processor, the electronic device further performs the step of: displaying the second interface on the second screen when the foldable screen is in a half-folded configuration and the included angle between the plane on which the first screen is located and the horizontal plane is less than a third angle threshold, where the third angle threshold is less than the second angle threshold. In this way, when taking pictures of the sky or the ground on a tall building, the user does not need to look up and be blinded by the sun or look down, and the electronic device automatically displays an upper layer application interface for activating the camera on the half-screen (e.g., the second screen) that is approximately perpendicular to the horizontal plane, making it easier for the user to take pictures.

[0020] In a possible implementation, when the foldable screen is folded inward and the period during which the included angle between the first screen and the second screen remains between the first angle threshold and the second angle threshold is greater than the first time threshold, the electronic device detects that the foldable screen is changing to the half-folded configuration. In this way, the electronic device can accurately identify that the user wants the foldable screen to enter the half-folded configuration, thereby improving the accuracy of the determination.

[0021] In a possible implementation, the electronic device further includes a third screen, and when the foldable screen is folded, the third screen and the first screen face away from each other. When the computer instructions are executed on the processor, the electronic device can further perform the following steps: receiving a first input from a user after enabling the time-lapse photography function; and displaying a countdown prompt on the first screen and the third screen in response to the first input, the countdown prompt being used to prompt the user how much time remains for the electronic device to capture an image captured by the camera. In this way, when the owner leaves the electronic device and performs automatic countdown photography with another person, the countdown can be displayed on the third screen. This makes it convenient for the user to assume a photography position, thereby improving the user experience.

[0022] In a possible implementation, when the computer instructions are executed on the processor, the electronic device further comprises: displaying an image captured by the camera in real time on the third screen in response to the first input. It becomes possible to carry out the following.

[0023] In one possible implementation, the first application is associated with a second application, and when the computer instructions are executed on the processor, the electronic device further performs the step of displaying a third interface of the second application on the second screen when detecting that the foldable screen is changing from the unfolded configuration to the semi-folded configuration. In this way, the application associated with the first application can be quickly launched, thereby improving the user experience.

[0024] In a possible implementation, the first application corresponds to a plurality of associated applications, and when the computer instructions are executed on the processor, the electronic device is further capable of performing the following steps when it detects that the foldable screen is changing from the unfolded configuration to the semi-folded configuration: the electronic device displays options of the plurality of associated applications on the second screen; the electronic device receives a second input from the user for an option corresponding to the second application; and the electronic device displays a third interface of the second application on the second screen in response to the second input.

[0025] In a possible implementation, when the computer instructions are executed on a processor, the electronic device is further capable of performing the following steps: displaying the switch control on the first screen or the second screen; receiving a third input from the user on the switch control; and, in response to the third input, the electronic device displaying a third interface on the first screen and a second interface on the second screen.

[0026] In a possible implementation, the first interface includes one or more operation controls, and when the computer instructions are executed on a processor, the electronic device is further capable of displaying a fourth interface on the second screen when detecting that the foldable screen is changing from the unfolded configuration to the semi-folded configuration. The fourth interface includes one or more operation controls, and the second interface includes an image captured by the camera. In this manner, the electronic device can rearrange controls within the application interface based on the physical configuration of the foldable screen. As a result, a user has a better visual experience when viewing and using the foldable screen.

[0027] According to a third aspect, an embodiment of the present application provides an electronic device including one or more functional modules, wherein the one or more functional modules may be configured to perform a display method for a foldable screen according to any possible implementation of any one of the preceding aspects.

[0028] According to a fourth aspect, the present application provides a computer storage medium comprising computer instructions that, when executed on an electronic device, enable the communication apparatus to perform a display method for a foldable screen according to any possible implementation of any one of the preceding aspects.

[0029] According to a fifth aspect, the present application provides a computer program product which, when executed on a computer, enables the computer to perform a display method for a foldable screen according to any possible implementation of any one of the preceding aspects.

[0030] According to a sixth aspect, the present application provides a chip including a processor and an interface, the processor and the interface cooperating with each other such that the chip performs a display method for a foldable screen according to any possible implementation of any one of the preceding aspects. [Brief explanation of the drawings]

[0031] [Figure 1] 1 is a schematic diagram of a product form of an electronic device according to an embodiment of the present application;

[0032] [Figure 2] FIG. 1 is a schematic diagram of a product form of another electronic device according to an embodiment of the present application.

[0033] [Figure 3] 1 is a schematic diagram of a product form of yet another electronic device according to an embodiment of the present application.

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

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

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

[0037] [Figure 6] 3 is a schematic diagram of the principle of calculating the included angle β1 between the plane on which screen A is located and the horizontal plane, and the included angle β2 between the plane on which screen B is located and the horizontal plane, according to one embodiment of the present application; FIG.

[0038] [Figure 7A-1] FIG. 1 is a schematic diagram of a software architecture of an electronic device according to an embodiment of the present application. [Figure 7A-2] FIG. 1 is a schematic diagram of a software architecture of an electronic device according to an embodiment of the present application.

[0039] [Figure 7B] FIG. 2 is a schematic diagram of the software architecture of another electronic device according to an embodiment of the present application.

[0040] [Figure 7C] FIG. 2 is a schematic diagram of the relationship between a logical display layer and a physical display device according to one embodiment of the present application.

[0041] [Figure 8A] FIG. 2 is a schematic diagram of a group interface according to an embodiment of the present application; [Figure 8B] FIG. 2 is a schematic diagram of a group interface according to an embodiment of the present application; [Figure 8C] FIG. 2 is a schematic diagram of a group interface according to an embodiment of the present application; [Figure 8D]FIG. 2 is a schematic diagram of a group interface according to an embodiment of the present application;

[0042] [Figure 9A] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 9B] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 9C] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 9D] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 9E] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 9F] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 9G] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application;

[0043] [Figure 10A] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 10B] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 10C] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 10D] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application;

[0044] [Figure 11A] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 11B] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 11C] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application;

[0045] [Figure 12A] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 12B] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 12C] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 12D] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application;

[0046] [Figure 13A] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 13B] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application; [Figure 13C] FIG. 10 is a schematic diagram of another group of interfaces according to an embodiment of the present application;

[0047] [Figure 14] 1 is a schematic flowchart of a display method for a foldable screen according to an embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0048] Hereinafter, the technical solutions in the embodiments of the present application will be clearly described in detail with reference to the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " indicates "or". For example, A / B may indicate A or B. The term "and / or" in this specification merely describes the correspondence between related objects and indicates that three relationships may exist. For example, A and / or B may indicate three cases: only A exists, both A and B exist, and only B exists. In addition, in the description of the embodiments of the present application, "multiple" means two or more.

[0049] The following terms, "first" and "second," are intended for descriptive purposes only and shall not be understood as an indication or suggestion of relative importance or an implicit indication of the number of technical features shown. Thus, a feature qualified by "first" or "second" may explicitly or implicitly include one or more features. In the description of embodiments of this application, unless otherwise specified, "plurality" means two or more than two.

[0050] An embodiment of the present application provides a display method for a foldable screen. The method may be applied to an electronic device 100 having a foldable screen. The foldable screen may be folded to form at least two screens. For example, the foldable screen may be folded along a folding edge or a folding axis to form a first screen and a second screen.

[0051] The folding manner of the foldable screen on the electronic device 100 can be classified into two types. One type is a foldable screen that folds outward (simply referred to as an outward-facing foldable screen), and the other type is a foldable screen that folds inward (simply referred to as an inward-facing foldable screen). For example, the foldable screen can be folded to form a first screen and a second screen. After the outward-facing foldable screen is folded, the display direction of the first screen and the display direction of the second screen face opposite each other. After the inward-facing foldable screen is folded, the display direction of the first screen and the display direction of the second screen face each other. In this embodiment of the present application, the first screen may be referred to as screen A, and the second screen may be referred to as screen B.

[0052] In this embodiment of the present application, the electronic device 100 uses an inward-facing foldable screen, in other words, the display direction of the first screen and the display direction of the second screen are opposite to each other.

[0053] For example, FIG. 1 is a schematic diagram of a product configuration of an electronic device 100 with an inward-facing foldable screen according to one embodiment of the present application. (a) of FIG. 1 is a schematic diagram of the inward-facing foldable screen in a fully unfolded configuration. The inward-facing foldable screen can be folded along folding edges in directions 11a and 11b shown in (a) of FIG. 1 to form screen A and screen B in a semi-folded configuration shown in (b) of FIG. 1. After the foldable screen is folded into screen A and screen B, screen A and the front-facing camera on electronic device 100 can be on the same side. The inward-facing foldable screen can be folded along folding edges based on screen A and screen B shown in (b) of FIG. 1. The inward-facing foldable screen may continue to fold along the folding edges in directions 12a and 12b shown in Fig. 1(b) to form an outward-facing foldable screen in a fully folded state shown in Fig. 1(c). As shown in Fig. 1(c), after the foldable screen of electronic device 100 is fully folded, screen A and screen B face each other and are not visible to the user.

[0054] It should be noted that a display may be further disposed behind the first or second screen of the inward-facing foldable screen provided in this embodiment of the present application, and may be referred to as a third screen. For example, as shown in (a) of FIG. 2, screen C (i.e., the third screen) may be disposed behind screen A (i.e., the first screen). As shown in (b) of FIG. 2, after the inward-facing foldable screen is fully folded, screen C and screen A face away from each other, and screen C is visible to the user. Screen C and the rear camera on electronic device 100 may be on the same side. It may be understood that in an electronic device 100 having an inward-facing foldable screen, an interface may be displayed on the third screen when the foldable screen is in a fully folded state, an interface may be displayed on the first screen, the second screen and the third screen when the foldable screen is in a half-folded state, or an interface may be displayed on the first screen and the second screen when the foldable screen is in an unfolded state.

[0055] 1 and 2, the foldable screen of the electronic device 100 is folded vertically. That is, the foldable screen is folded into a left screen and a right screen (i.e., screen A and screen B) based on the vertical folding edge of the foldable screen. In one embodiment of the present application, the foldable screen of the electronic device 100 may alternatively be folded horizontally. That is, the foldable screen is folded into an upper screen and a lower screen (i.e., screen A and screen B) based on the horizontal folding edge of the foldable screen. For example, the foldable screen shown in FIG. 3(a) is folded along the horizontal folding edge of the foldable screen to sequentially form the foldable screen shown in FIG. 3(b) and the foldable screen shown in FIG. 3(c) or FIG. 3(d).

[0056] In some embodiments of the present application, a display may be disposed behind the first or second screen of electronic device 100 and may be referred to as a third screen. For example, as shown in (d) of FIG. 3, screen C (i.e., the third screen) may be disposed behind screen A (i.e., the first screen) and may be on the same side of electronic device 100 as the rear camera.

[0057] In some embodiments, the foldable screen of electronic device 100 may surround the outer edge of electronic device 100, and screen A (first screen), screen B (second screen), and screen C (third screen) may all be part of the foldable screen. When the foldable screen is folded, screen A and screen C may face away from each other, and screen A is adjacent to screen B.

[0058] In this embodiment of the present application, the value range of the included angle between screen A and screen B of the foldable screen of the electronic device 100 is [0°, 180°].

number

Number

Number

[0059] In some embodiments, based on the usage habits of most users, when the included angle α between screen A and screen B is greater than 100°, it is highly likely that the user expects to use screen A and screen B as a whole (i.e., as a complete display). When the included angle α between screen A and screen B is less than 80°, it is highly likely that the user expects to use screen A or screen B independently, and the foldable screen may be in a fully folded form. When the included angle α between screen A and screen B is between 80° and 100°, it is highly likely that the user expects to display different display contents using screen A and screen B, and the foldable screen may be in a half-folded state.

[0060] Therefore, in the present embodiment of the present application, the value range of the preset angle threshold P1 may be (0°, 80°], and the value range of the preset angle threshold P2 may be [100°, 180°). For example, the preset angle threshold P1 may be 75°, and the preset angle threshold P2 may be 105°. The above examples are only used to illustrate the present application and should not be construed as limitations.

[0061] It should be noted that in this embodiment of the present application, the at least two screens formed by folding the foldable screen may be multiple independent screens or may be a complete screen with a unitary structure that is folded to form at least two parts.

[0062] For example, the foldable screen may be a flexible foldable screen, the flexible foldable screen including folding edges made of a flexible material, some or all of the flexible foldable screen being made of a flexible material, and the at least two screens formed by folding the flexible foldable screen are a complete screen of a unitary construction that is folded to form at least two portions.

[0063] In another example, the foldable screen 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 multiple screens may be connected in series through a folding axis. Each screen may rotate around a folding axis connected to the screen, resulting in the multi-screen foldable screen being folded.

[0064] In the subsequent embodiments of the present application, an example in which the foldable screen is a flexible foldable screen that can be folded horizontally will be used to describe the method provided in this embodiment of the present application.

[0065] For example, the electronic device 100 in this embodiment of the present application may be a device including a foldable screen as described above, such as 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, a cellular phone, a personal digital assistant (PDA), or an augmented reality (AR) / virtual reality (VR) device. The particular type of electronic device 100 is not specifically limited in this embodiment of the present application.

[0066] Hereinafter, an electronic device 100 provided in an embodiment of the present application will be described with reference to the accompanying drawings.

[0067] FIG. 4 is a schematic diagram of the structure of the electronic device 100.

[0068] The electronic device 100 is used below as an example to describe the embodiments in detail. It should be understood that the electronic device 100 shown in Figure 4 is only an example and may have more or fewer components than those shown in Figure 4, may combine two or more components, or may have a different component configuration. The various components shown in this figure may be implemented using hardware, software, or a combination of hardware and software, including one or more signal processing circuits and / or application specific integrated circuits.

[0069] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (SIM) card interface 195, among others. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, 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, among others.

[0070] It may be understood that the structure shown in this embodiment of the present invention does not constitute a particular limitation on electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than those shown in this figure, may combine some components, may separate some components, or may have a different component arrangement. The components shown in this figure may be implemented through hardware, software, or a combination of software and hardware.

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

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

[0073] Memory may also be located within processor 110 and configured to store instructions and data. In some embodiments, the memory within processor 110 is a cache. The memory may store instructions or data that have just been used or that are periodically used by processor 110. When processor 110 needs to use the instructions or data again, processor 110 may retrieve the instructions or data directly from memory. This avoids repeated accesses and reduces the wait time of processor 110, thereby improving system efficiency.

[0074] In some embodiments, 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.

[0075] The I2C interface is a bidirectional synchronous serial bus and includes one serial data line (SDA) and one serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be separately coupled to the touch sensor 180K, the charger, the flash, and the camera 193, etc., through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, such that the processor 110 communicates with the touch sensor 180K through the I2C bus interface to implement the touch function of the electronic device 100.

[0076] The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple groups of I2S buses. Processor 110 may be coupled to audio module 170 through the I2S bus to implement communication between processor 110 and audio module 170. In some embodiments, audio module 170 may transmit audio signals to wireless communication module 160 through the I2S interface to implement a call answering function using a Bluetooth® headset.

[0077] The PCM interface may also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, audio module 170 may be coupled to wireless communication module 160 through a PCM bus interface. In some embodiments, audio module 170 may alternatively transmit audio signals to wireless communication module 160 through the PCM interface to implement a call answering function by using a Bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.

[0078] The UART interface is a general-purpose serial data bus used for asynchronous communication. This bus may be a bidirectional communication bus. This bus converts transmitted data between serial and parallel communication. In some embodiments, the UART interface is generally configured to connect the processor 110 to the wireless communication module 160. For example, the processor 110 communicates with a Bluetooth module in the wireless communication module 160 through the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through the UART interface to implement a function for playing music using a Bluetooth headset.

[0079] The MIPI interface may be configured to connect the processor 110 to peripheral devices such as a display 194 or a camera 193. MIPI interfaces include a camera serial interface (CSI) and a display serial interface (DSI), among others. In some embodiments, the processor 110 communicates with the camera 193 through the CSI to implement a photographing function of the electronic device 100. The processor 110 communicates with the display 194 through the DSI to implement a displaying function of the electronic device 100.

[0080] The GPIO interface may be configured using software. The GPIO interface may be configured as a control signal or a data signal. In some embodiments, the GPIO interface may be configured to connect the processor 110 to the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface may alternatively be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0081] The USB interface 130 is an interface conforming to the USB standard specifications, and may specifically be a mini USB interface, a micro USB interface, a USB Type-C interface, or the like. The USB interface 130 may be configured to connect to a charger to charge the electronic device 100, to transmit data between the electronic device 100 and a peripheral device, or to connect to a headset to play audio through the headset. Alternatively, the interface may be configured to connect to another electronic device, for example, an AR device.

[0082] It may be understood that the interface connection relationships between modules shown in this embodiment of the present invention are merely examples for illustrative purposes and do not constitute limitations on the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may alternatively use an interface connection mode different from that in the above-described embodiment, or may use a combination of multiple interface connection modes.

[0083] 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 wired charging embodiments, the charging management module 140 may receive the charging input from the wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive the wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may further provide power to the electronic device through the power management module 141 while charging the battery 142.

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

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

[0086] Antenna 1 and Antenna 2 are 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 be further multiplexed to improve antenna utilization. For example, Antenna 1 may be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, antennas may be used in combination with tuning switches.

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

[0088] 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- to high-frequency signal. The demodulator is configured to demodulate a received electromagnetic wave 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 an audio signal using an audio device (such as, but not limited to, speaker 170A and receiver 170B) or displays an image or video on display 194. In some embodiments, the modem processor may be an independent device. In some other embodiments, the modem processor may be separate from processor 110 and located within the same device as mobile communication module 150 or another functional module.

[0089] 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), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), or infrared (IR) technology. The wireless communication module 160 may be one or more components integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signal, and transmits 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 processed signal into an electromagnetic wave for emission through the antenna 2.

[0090] In some embodiments, electronic device 100, antenna 1 and mobile communication module 150 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 can communicate with a network and other devices 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-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technology, and / or the like. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the BeiDou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS), and / or the geostationary satellite-based augmentation system (SBAS).

[0091] The electronic device 100 implements display functions by using a GPU, a display 194, an application processor, and the like. 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 geographic calculations and render images. The processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0092] Display 194 is configured to display images, videos, and the like. Display 194 may include an inward-facing foldable screen. In some embodiments, display 194 includes an inward-facing foldable screen and screen C, for example, as shown in FIG. 2(a) or FIG. 3(d).

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

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

[0095] The ISP is configured to process data fed back by the camera 193. For example, during photography, a shutter is pressed, sending light through a lens to the camera's photosensitive elements, which convert the light signal into an electrical signal. The camera's photosensitive elements transmit the electrical signal to the ISP for processing, converting the electrical signal into a visible image. The ISP may also perform algorithmic optimization on image noise, brightness, and color. The ISP may also optimize parameters such as exposure and color temperature for the photography scenario. In some embodiments, the ISP may be located within the camera 193.

[0096] 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 transmitted 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 an image signal in a standard format, such as RGB or YUV. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0097] 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, if the electronic device 100 selects a frequency, the digital signal processor may be configured to perform a Fourier transform or the like on the frequency energy.

[0098] A video codec is configured to compress or decompress digital video. Electronic device 100 may support one or more types of 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.

[0099] The NPU is a neural network (NN) computing processor. The NPU can rapidly process input information and continuously perform self-learning by referring to the structure of biological neural networks, such as the transfer mode between human brain neurons. Applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, speech recognition, and text understanding, can be implemented using the NPU.

[0100] 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 capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music and videos are stored on the external memory card.

[0101] 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 perform various functional applications and data processing of the electronic device 100. 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 required by at least one function (e.g., a sound playback function or an image playback function). The data storage area may store data generated during use of the electronic device 100 (e.g., audio data and a phone book). In addition, the internal memory 121 may include high-speed random access memory and non-volatile memory, such as at least one magnetic disk storage device, flash memory, or universal flash storage (UFS).

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

[0103] Audio module 170 is configured to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. Audio module 170 may be further configured for coding and decoding audio signals. In some embodiments, audio module 170 may be located within processor 110, with some functional modules of audio module 170 located within processor 110.

[0104] Speaker 170A, also referred to as a "loudspeaker," is configured to convert audio electrical signals into voice signals. Electronic device 100 can be used to listen to music or answer calls in hands-free mode on speaker 170A.

[0105] Receiver 170B, also referred to as an "earpiece," is configured to convert an audio electrical signal into a voice signal. When a call is answered or voice information is received through electronic device 100, receiver 170B can be placed near a human ear to hear the sound.

[0106] Microphone 170C, also referred to as a "mike" or "mic," is configured to convert audio signals into electrical signals. To make a call or transmit audio information, a user may input audio signals into microphone 170C by producing a sound through the user's mouth near microphone 170C. At least one microphone 170C may be disposed within electronic device 100. In some other embodiments, two microphones 170C may be disposed within electronic device 100 to collect audio signals and further implement noise reduction functionality. In some other embodiments, three, four, or more microphones 170C may alternatively be disposed within electronic device 100 to collect audio signals, implement noise reduction, identify sound sources, implement directional recording functionality, etc.

[0107] The headset jack 170D is configured to connect to a wired headset and may be a USB interface 130, a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0108] The pressure sensor 180A is 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. A capacitive pressure sensor may include at least two parallel plates made of a conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. 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 using the pressure sensor 180A. The electronic device 100 may calculate the 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, if a touch operation with a touch operation intensity below a first pressure threshold is performed on a message icon, an instruction to view an SMS message is executed. If a touch with a touch intensity greater than or equal to the first pressure threshold is performed on the "Messages" application icon, instructions are executed to compose an SMS message.

[0109] The gyroscope 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., axes x, y, and z) may be determined using the gyroscope sensor 180B. The gyroscope sensor 180B may be configured to implement image stabilization during photography. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle at which the electronic device 100 rolls, calculates the distance the lens module needs to compensate based on this angle, and enables the lens to counteract the roll of the electronic device 100 through a reverse motion to implement image stabilization. The gyroscope sensor 180B may also be used in navigation and motion-sensing gaming scenarios.

[0110] In this embodiment of the present application, the display 194 of the electronic device 100 may be folded to form multiple screens. A gyroscope sensor 180B may be disposed on each of the multiple screens and configured to measure the orientation (i.e., the orientation direction vector) of the corresponding screen. The electronic device 100 may determine the included angle between adjacent screens (e.g., the included angle between screen A and screen B) based on the angular change in orientation of each screen measured by the gyroscope sensor 180B.

[0111] It should be noted that in this embodiment of the present application, a foldable screen (e.g., display 194 of electronic device 100) may be folded to form multiple screens. Each screen may include a gyroscope sensor (e.g., gyroscope sensor 180B) configured to measure the orientation (i.e., orientation direction vector) of the corresponding screen. For example, with reference to FIG. 1, FIG. 2, or FIG. 3, display 194 of electronic device 100 may be folded to form screen A (i.e., first screen) and screen B (i.e., second screen). In this case, both screen A and screen B include gyroscope sensors 180B separately configured to measure the orientations of screen A and screen B. Electronic device 100 may determine the included angle between adjacent screens and the angular relationship between each screen and a horizontal plane based on the measured angular change in orientation of each screen.

[0112] For example, the foldable screen of the electronic device 100 may be folded to form screen A and screen B shown in Fig. 5A. Gyroscope sensor A is disposed on screen A, and gyroscope sensor B is disposed on screen B. The principles of measuring the orientation of screen A (i.e., the orientation direction vector) by gyroscope sensor A and measuring the orientation of screen B (i.e., the orientation direction vector) by gyroscope sensor B, and the principles of calculating the included angle α between screen A and screen B by electronic device 100 based on the orientation of screen A and the orientation of screen B will be described in this embodiment of the present application.

[0113] The coordinate system of the gyroscope sensor is a geographic coordinate system. As shown in FIG. 5B , in the geographic coordinate system, the origin O is located at the point where the carrier (i.e., a device including the gyroscope sensor, e.g., electronic device 100) is located, the axis X points east (E) along the local latitude line, the axis Y points north (N) along the local meridian, and the axis Z points up along the local geographic vertical line, forming a right-handed Cartesian coordinate system together with the axes X and Y. The plane formed by the axes X and Y is the local horizontal plane, and the plane formed by the axes Y and Z is the local meridian plane. Therefore, it can be understood that the coordinate system of the gyroscope sensor is as follows: the gyroscope sensor is used as the origin O, the direction pointing east along the local latitude line is used as the axis X, the direction pointing north along the local meridian is used as the axis Y, and the direction pointing up along the local geographic vertical line (i.e., the backward direction of the geographic vertical line) is used as the axis Z.

[0114] Through measurements using the gyroscope sensors arranged on each screen, the electronic device 100 can recognize the direction vector of the orientation of each screen in the coordinate system of the gyroscope sensors arranged on each screen. For example, see the side view of the electronic device 100 shown in FIG. 5A. The electronic device 100 recognizes that the direction vector of the orientation of screen A in the coordinate system of gyroscope sensor A is vector

number

number

number

number

number

[0115] Vector

number

number

number

number

[0116] It should be noted that the positions of the gyroscope sensors located on screen A and screen B do not overlap, that is, the origins of the coordinate systems of the gyroscope sensors on screen A and screen B do not overlap with axis X, but the axes Y and Z in the two coordinate systems are parallel. Therefore, the coordinate systems of the gyroscope sensors located on screen A and screen B can be considered to be parallel. Thus, the vector

number

number

number

number

[0117] In some embodiments, the included angle α between screen A and screen B may alternatively be measured in cooperation with one or more other sensors. For example, one acceleration sensor may be disposed on each screen of the foldable screen. Using the acceleration sensors, electronic device 100 (e.g., processor 110) may measure the motion acceleration of each screen as it is rotated, and then calculate the angle at which one screen rotates relative to the other screen, i.e., the included angle α between screen A and screen B, based on the measured motion acceleration.

[0118] In some other embodiments, the gyroscope sensor may be a virtual gyroscope sensor formed in cooperation with multiple other sensors, and may be configured to calculate the included angle α between adjacent screens of the foldable screen, i.e., the included angle α between screen A and screen B.

[0119] In some other embodiments, an angle sensor is installed on the folded portion (e.g., a rotating shaft) of the folding line of electronic device 100. Electronic device 100 can measure the included angle α between screen A and screen B by using the angle sensor located on the folded portion of the foldable screen.

[0120] In some embodiments of the present application, the electronic device 100 may further measure the included angle β1 between the screen A and the horizontal plane and the included angle β2 between the screen B and the horizontal plane by using the gyroscope sensor 180B.

[0121] 6(a) shows the coordinate system of the gyroscope sensor of the screen A of the electronic device 100. The plane formed by the axes X and Y is the local horizontal plane, and the plane formed by the axes Y and Z is the local meridian plane. The direction vector of the orientation of the screen A of the electronic device 100 in the coordinate system of the gyroscope sensor is the vector

number

number

number

number

number

number

number

[0122] 6(b) shows the coordinate system of the gyroscope sensor of the screen B of the electronic device 100. The plane formed by the axes X and Y is the local horizontal plane, and the plane formed by the axes Y and Z is the local meridian plane. The direction vector of the orientation of the screen B of the electronic device 100 in the coordinate system of the gyroscope sensor is the vector

number

number

number

number

number

number

number

[0123] In conclusion, the electronic device 100 can calculate the measured direction vector of the orientation of the screen A in the coordinate system of the gyroscope sensor by using the above equation (2).

number

number

[0124] Barometric pressure sensor 180C is configured to measure barometric pressure. In some embodiments, electronic device 100 calculates altitude based on barometric pressure values ​​measured by barometric pressure sensor 180C to assist in positioning and navigation.

[0125] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect whether the flip cover is open or closed by using the magnetic sensor 180D. In some embodiments, if the electronic device 100 is a flip phone, the electronic device 100 can detect whether the flip cover is open or closed based on the magnetic sensor 180D. Furthermore, functions such as automatic unlocking upon opening of the flip cover can be set based on the detected open or closed state of the flip cover.

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

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

[0128] The optical proximity sensor 180G may include 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 uses the light-emitting diode to emit infrared light. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. If sufficient reflected light is detected, the electronic device 100 may determine that an object is present near the electronic device 100. If insufficient reflected light is detected, the electronic device 100 may determine that no object is present near the electronic device 100. The electronic device 100 may use the optical proximity sensor 180G to detect when a user is holding the electronic device 100 close to their ear for a phone call and automatically turn off the screen to save power. The optical proximity sensor 180G may also be configured to automatically unlock and lock the screen in flip cover mode and pocket mode.

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

[0130] Fingerprint sensor 180H is configured to collect fingerprints, and electronic device 100 may use collected fingerprint characteristics to implement fingerprint-based unlocking, application access locking, fingerprint-based photography, fingerprint-based call answering, and the like.

[0131] Temperature sensor 180J is configured to detect temperature. In some embodiments, electronic device 100 executes a temperature handling policy based on the temperature detected by temperature sensor 180J. For example, if the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 reduces power consumption and implements thermal protection by reducing the performance of processors near temperature sensor 180J. In some other embodiments, if the temperature is below another threshold, electronic device 100 heats battery 142 to prevent electronic device 100 from abnormally shutting down due to low temperature. In some other embodiments, if the temperature is below yet another threshold, electronic device 100 increases the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.

[0132] The touch sensor 180K is also 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 touchscreen, also referred to as a touch 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 to determine the type of touch event. A visual output associated with the touch operation may be provided on the display 194. In some other embodiments, the touch sensor 180K may alternatively be disposed on the surface of the electronic device 100 at a location different from the location of the display 194.

[0133] 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 bones of the human vocal cords. The bone conduction sensor 180M may also contact the human pulse to receive a blood pressure pulse signal. In some embodiments, the bone conduction sensor 180M may alternatively be disposed in a headset to form a bone conduction headset. The audio module 170 may acquire an audio signal through analysis based on the vibration signal of the vibrating bones of the vocal cords acquired by the bone conduction sensor 180M, thereby implementing an audio function. The application processor may analyze heart rate information based on the blood pressure pulse signal acquired by the bone conduction sensor 180M, thereby implementing a heart rate detection function.

[0134] The buttons 190 include a power button, a volume button, etc. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive button inputs and generate button signal inputs related to user settings and function controls of the electronic device 100.

[0135] The motor 191 may generate a vibration prompt. The motor 191 may be configured to generate an incoming call vibration prompt and touch vibration feedback. For example, touch operations performed in different applications (such as a photography application and an audio playback application) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects for touch operations performed on different areas of the display 194. Different application scenarios (e.g., time reminders, information reception, alarm clocks, and games) may correspond to different vibration feedback effects. The touch vibration feedback effects may be further customized.

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

[0137] The SIM card interface 195 is configured to connect to a SIM card. The SIM card may be inserted into or removed from the SIM card interface 195 to implement contact with or separation from 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 nano-SIM cards, micro-SIM cards, SIM cards, and the like. Multiple cards may be inserted into the same SIM card interface 195 simultaneously. The multiple cards may be the same type or different types. The SIM card interface 195 may be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external storage cards. The electronic device 100 interacts with a network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card may be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

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

[0139] 7A-1 and 7A-2 are block diagrams of the software architecture of the electronic device 100 according to this embodiment of the present application.

[0140] In a layered architecture, software is divided into several layers, each with a distinct role and task. These layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: from top to bottom, the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0141] The application (APP) layer may include a series of application packages, such as camera, gallery, calendar, phone, map, navigation, WLAN, Bluetooth, music, video, and messaging applications, as shown in Figures 7A-1 and 7A-2.

[0142] The application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in FIGS. 7A-1 and 7A-2 , the framework layer may include a sensor manager 707, a posture recognition 708, a display manager 709, and a window manager service (WMS) 710. Optionally, the framework layer may further include an activity manager service (AMS), a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc. (not shown in the accompanying drawings).

[0143] A window manager is configured to manage window programs and may perform tasks such as getting the size of the display, determining whether there is a status bar, performing screen locking, and taking screenshots.

[0144] The hardware abstraction layer (HAL) includes a sensor service 706. The sensor service 706 can be configured to report the processing results of the sensor data processing module 705 in the kernel layer to a sensor manager 707 in the framework layer.

[0145] The kernel layer is a layer between the hardware and the software. The kernel layer may include a sensor data processing module 705. The sensor data processing module 705 may be configured to acquire data reported by one or more sensors in the hardware layer, perform processing, and report the processing results to a sensor service 706.

[0146] The hardware layer may include an acceleration sensor 701, a gyroscope sensor 702, an acceleration sensor 703, and a gyroscope sensor 704, etc. The acceleration sensor 701 and the gyroscope sensor 702 may be disposed on screen A of the electronic device 100, and the acceleration sensor 703 and the gyroscope sensor 704 may be disposed on screen B of the electronic device 100. The acceleration sensor 701 may be configured to measure acceleration data of screen A and report the acceleration data to the sensor data processing module 705. The acceleration sensor 703 may be configured to measure acceleration data of screen B and report the acceleration data to the sensor data processing module 705. The gyroscope sensor 702 may be configured to measure gyroscope data of screen A and report the gyroscope data to the sensor data processing module 705. The gyroscope sensor 704 may be configured to measure gyroscope data of screen B and report the gyroscope data to the sensor data processing module 705.

[0147] When a user performs an input operation (e.g., an operation to fold the screen) on the electronic device 100, the acceleration sensor 701, the gyroscope sensor 702, the acceleration sensor 703, and the gyroscope sensor 704 in the hardware layer may report sensor data measured by each of the acceleration sensor 701, the gyroscope sensor 702, the acceleration sensor 703, and the gyroscope sensor 704 to the sensor data processing module 705 in the kernel layer. The sensor data processing module 705 calculates a direction vector of the orientation of the screen A based on the sensor data reported by the multiple sensors in the hardware layer.

number

number

number

number

number

number

number

number

[0148] In some embodiments, electronic device 100 may have multiple physical screens. For example, as shown in FIG. 3(d), electronic device 100 includes a foldable screen and a screen C. The foldable screen folds into screen A and screen B, and screen C is on the back of screen A.

[0149] As shown in FIG. 7B , in a multi-screen display scenario, the framework layer in the software structure of electronic device 100 may include display device information corresponding to each physical screen. For example, the foldable screen corresponds to display device module 1. Display device module 1 is configured to describe the physical screen information of the foldable screen. The physical screen information includes, for example, resolution and dots per inch (DPI). Screen C corresponds to display device module 2. Display device module 2 is configured to describe the physical screen information of screen C. Each physical screen of electronic device 100 further corresponds to a logical display module. The logical module is configured to describe the logical display information of the physical screen. For example, the foldable screen of electronic device 100 corresponds to logical display module 1, and screen C corresponds to logical display module 2. Each logical display module may derive an active display module and a display content module. For example, logical display module 1 may derive active display module 1 and display content module 1, and logical display module 2 may derive active display module 2 and display content module 2. An activity manager service (AMS) and a window manager service (WMS) may manage the display logic of all upper-layer applications based on the aforementioned activity display modules and display content modules. Electronic device 100 may start and display different activities on different logical display modules. For example, if a foreground application displayed on the foldable screen enables automatic countdown capture, electronic device 100 may synchronously enable screen C on the back of the foldable screen to display a countdown.

[0150] In some embodiments, a framework layer on electronic device 100 may implement an architecture in which a physical display device is separated from a logical display layer. The logical display layer includes specific display content on a screen, and the physical display device (e.g., a foldable screen) is configured to display all or a portion of the display content in the logical display layer. A mapping relationship between the display content and the display area on the physical display device may be set in the framework layer of electronic device 100. For example, by using an architecture in which the physical display device is separated from the logical display layer, electronic device 100 may separately display different interfaces of the same application on screen A and screen B when the foldable screen is in a half-folded configuration.

[0151] As shown in FIG. 7C, in (a) of FIG. 7C, the size of the logical display layer is the same as the size of the physical display device. In (b) of FIG. 7C, the size of the logical display layer is larger than the size of the physical display device. In (c) of FIG. 7C, the size of the logical display layer is smaller than the size of the physical display device. In (d) of FIG. 7C, electronic device 100 may display a portion of the display content in the logical display layer in all areas of the physical display device (e.g., a foldable screen). In (e) of FIG. 7C, electronic device 100 may display all of the content in the logical display layer in some of these areas of the physical display device (e.g., a foldable screen).

[0152] With reference to application scenarios, the following specifically describes a display method for a foldable screen according to an embodiment of the present application.

[0153] When the foldable screen of electronic device 100 is in a fully folded configuration, the included angle (i.e., folding angle) α between screen A and screen B of electronic device 100 is

number

number

number

[0154] In a possible implementation, the included angle α between screen A and screen B of the electronic device 100 is

number

[0155] In some application scenarios, when the foldable screen of electronic device 100 is in a half-folded state, if a foreground application (e.g., a camera application or a WeChat application) running on electronic device 100 that supports window display adaptation launches the camera, electronic device 100 may display the application interface of the foreground application on screen A or screen B of the foldable screen. In this way, a user can conveniently take photos, make video calls, or live broadcasts, etc., without having to hold electronic device 100 steadily with both hands.

[0156] 8A , the foldable screen of electronic device 100 is in the unfolded configuration, and the front-facing camera 801 of electronic device 100 is oriented in the same direction as the display direction of the foldable screen. Electronic device 100 may display home screen 810 full-screen on the foldable screen. Home screen 810 displays a page on which application icons are arranged, and the page includes multiple application icons (e.g., a weather application icon, a stocks application icon, a calculator application icon, a settings application icon, an email application icon, an Alipay application icon, a Facebook® application icon, a WeChat application icon, a gallery application icon 813, a music application icon 814, a video application icon, and a browser application icon). A page indicator is further displayed below the multiple application icons to indicate the positional relationship between the currently displayed page and another page. Multiple tray icons (e.g., a phone application icon, a message application icon, a contacts application icon, and a camera application icon 812) are located below the page indicator. When pages are switched, the tray icons remain displayed. In some embodiments, a page may alternatively include multiple application icons and a page indicator. The page indicator may not be part of the page but may exist independently, and a tray icon is also optional. This is not limited to this embodiment of the present application. A status bar 811 may further be displayed at the top of the home screen 810. The status bar 811 may include one or more signal strength indicators for a mobile communication signal (also referred to as a cellular signal), a battery status indicator, a time indicator, etc.

[0157] Electronic device 100 may receive a user input action (e.g., a tap) on camera application icon 812. In response to the input action, electronic device 100 may enable the camera to display camera application interface 820 shown in FIG.

[0158] As shown in FIG. 8B , the camera application interface 820 may display a capture image echo control 821, a capture control 822, a camera switch control 823, an image captured by the camera 824, a flash control 825, a settings control 826, and one or more capture mode controls (e.g., a “wide aperture mode” control 827A, a “night mode” control 827B, a “normal capture mode” control 827C, a “portrait mode” control 827D, and a “video mode” control 827E). The capture image echo control 821 may be configured to display a captured image. The capture control 822 may be configured to trigger saving of an image captured by the camera. The camera switch control 823 may be configured to switch the camera for capture. The flash control 825 may be configured to turn the flash on or off. The settings control 826 may be configured to set capture functions. The capture mode controls may be used to trigger activation of image processing procedures corresponding to the capture mode. For example, the “night mode” control 827B may be configured to trigger increasing the brightness and color richness, etc., in the captured image. The "Portrait Mode" control 827D may be configured to trigger a blur of the background of people in the captured image.

[0159] When electronic device 100 detects that the foldable screen has changed from the unfolded configuration to the half-folded configuration and the camera is enabled on the camera application interface, electronic device 100 may display the camera application interface on screen A or screen B. Electronic device 100 may display the camera application interface on a preset half-screen of screen A and screen B according to a preset display rule. For example, electronic device 100 may receive a user input, and it is preset that when the foldable screen is in the half-folded configuration, the application interface of the foreground application for activating the camera is displayed on screen A.

[0160] For example, as shown in FIG. 8C , when electronic device 100 detects that the foldable screen is changing from the unfolded configuration to the half-folded configuration, electronic device 100 may display camera application interface 830 on screen A and turn off screen B. Camera application interface 830 may include a capture image echo control 831, a capture control 832, a camera switch control 833, an image captured by the camera 834, a flash control 835, a settings control 836, and one or more capture mode controls (e.g., a "wide aperture mode" control 837A, a "night mode" control 837B, a "normal capture mode" control 837C, a "portrait mode" control 837D, and a "video mode" control 837E). The interface elements in camera application interface 830 are the same as the interface elements in camera application interface 820 shown in FIG. 8B . Therefore, for a description of camera application interface 830, please refer to the main description of camera application interface 820 in the embodiment shown in FIG. 8B . Details will not be described again here. The display ratio of camera application interface 830 is different from the display ratio of camera application interface 820 , and the display ratio of interface elements in camera application interface 830 may also be different from the display ratio of interface elements in camera application interface 820 .

[0161] In a possible implementation, when the foldable screen of electronic device 100 is in a half-folded configuration, electronic device 100 may further detect an included angle β1 between a plane on which screen A is located and a horizontal plane. If the plane on which screen A is located is approximately parallel to the horizontal plane (i.e., if the included angle β1 is less than a preset angle threshold P3 (e.g., 10 degrees)), electronic device 100 may switch the camera application interface displayed on screen A to be displayed on screen B.

number

[0162] 8D , the foldable screen of electronic device 100 is in a half-folded configuration, and electronic device 100 may use a camera application to activate rear camera 802 on the back of screen A to capture the sky. The plane on which screen A is located is parallel to the horizontal plane (e.g., the included angle β1 between the plane on which screen A is located and the horizontal plane is 5 degrees), and the plane on which screen B is located is approximately perpendicular to the horizontal plane (e.g., the included angle β2 between the plane on which screen B is located and the horizontal plane is 93 degrees). Electronic device 100 may display camera application interface 840 on screen B and turn off screen A. Camera application interface 840 may display captured image echo control 841, shooting control 842, camera switch control 843, image captured by camera 844, flash control (not shown in FIG. 8D ), settings control 846, and one or more shooting mode controls (e.g., “wide aperture mode” control 847A, “night mode” control 847B, “normal shooting mode” control 847C, “portrait mode” control 847D, and “video mode” control 847E). The interface elements in camera application interface 840 are the same as the interface elements in camera application interface 820 shown in FIG. 8B . Therefore, for a description of camera application interface 840, please refer to the main description of camera application interface 820 in the embodiment shown in FIG. 8B . The details will not be described again here. The display ratio of camera application interface 830 is different from that of camera application interface 820, and the display ratio of interface elements in camera application interface 830 may also be different from that of interface elements in camera application interface 820.

[0163] In a possible implementation, when the foldable screen of electronic device 100 is in a half-folded configuration, electronic device 100 may further detect an included angle β1 between a plane on which screen A is located and a horizontal plane. If the plane on which screen A is located is approximately parallel to the horizontal plane (i.e., the included angle β1 is between a preset angle threshold P3 and a preset angle threshold P4, for example, the included angle β1 may be 93 degrees), electronic device 100 may switch the camera application interface displayed on screen B to be displayed on screen A.

number

[0164] In some application scenarios, there may be a screen behind the foldable screen of electronic device 100, for example, screen C shown in (d) of FIG. 3 . Screen C is on the same side as the rear camera. When the foldable screen is in a half-folded form or a fully folded form, screen C may face screen A. When electronic device 100 is in a half-folded form and a foreground application (e.g., a camera application or a WeChat application) activates the camera to perform countdown photography, electronic device 100 may display a photography countdown on screen C. In this way, when the owner leaves the electronic device and performs automatic countdown photography with another person, the countdown may be displayed on screen C. This is convenient for the user to assume a photography posture, thereby improving the user experience.

[0165] For example, as shown in Figure 9A, electronic device 100 is in a half-folded configuration. Electronic device 100 activates the camera by using a camera application, displays a camera application interface 830 on screen A, and turns off screen B. Camera application interface 830 includes an image 834 captured by the camera. For a full description of camera application interface 830, please refer to the embodiment shown in Figure 9A. Details will not be described again here.

[0166] The electronic device 100 may receive a user input operation (e.g., a tap) on the settings control 836. In response to the input operation, the electronic device 100 may display the settings interface 910 shown in FIG.

[0167] 9B , the setting interface 910 may include one or more setting entries (e.g., a resolution setting entry, a geographic location setting entry, a watermark setting entry, a mute shooting setting entry, a timed shooting setting entry 911, and a sound-controlled shooting setting entry). Currently, the timed shooting function of the electronic device 100 is disabled, and the timed shooting setting entry may be used to receive a user's input operation, enable the timed shooting function, and set a period.

[0168] The electronic device 100 may receive a user input operation (e.g., a tap) on the timed shooting setting entry 911. In response to the input operation, the electronic device 100 may display a timed shooting setting window 920 shown in FIG. 9C on the screen A.

[0169] 9C , the timing capture setting window 920 may display one or more setting options (e.g., a disable option, a 3-second timing option 921, a 5-second timing option, and a 10-second timing option). The electronic device 100 may receive a user input operation (e.g., a tap) on the 3-second timing option 921. In response to the input operation, the electronic device 100 may enable the timing capture function and set the duration to 3 seconds.

[0170] 9D, after setting the duration of the timed capture function to 3 seconds, electronic device 100 may receive a user input operation (e.g., a tap) on capture control 832 in camera application interface 830. In response to the input operation (e.g., a tap), electronic device 100 may display capture countdown prompt 931, shown in FIG. 9E, on screen A and countdown prompt 932, shown in FIG. 9F, on screen C behind screen A.

[0171] 9E , the capture countdown prompt 931 may be used to prompt the user of the remaining time for the electronic device 100 to store images captured by the camera. For example, the current remaining time is 3 seconds. If the remaining time is 0 seconds, the electronic device 100 may locally store the images captured by the camera as captured images and display thumbnails of the images in the captured image echo control 831. The user may further open a gallery application on the electronic device 100 to view images captured by the electronic device 100.

[0172] 9F, in response to a user's input operation on the capture control 832 in FIG. 9D, the electronic device 100 may display a capture countdown prompt 932 on screen C. The capture countdown prompt 932 may be used to prompt the user the remaining time for the electronic device 100 to store images captured by the camera.

[0173] In a possible implementation, when the foldable screen of electronic device 100 is in a half-folded configuration and a foreground application (e.g., a camera application or a WeChat application) of electronic device 100 enables a countdown photo-taking function, electronic device 100 may determine whether the foreground application is activating front-facing camera 801 or rear-facing camera 802. If the foreground application is activating front-facing camera 801, electronic device 100 may display a photo-taking countdown on screen A in response to a user's photo-taking operation (e.g., a user's input operation on photo-taking control 832 in FIG. 9D ). If the foreground application is activating rear-facing camera 802, electronic device 100 may display a photo-taking countdown on both screen A and screen C. In this way, when a user activates the front-facing camera to take a selfie, the photo-taking countdown may be displayed only on screen A to prevent others from knowing that the user is taking a selfie. This protects user privacy.

[0174] In a possible implementation, the foldable screen of electronic device 100 is in a half-folded configuration. When a foreground application of electronic device 100 activates rear camera 802 to perform a countdown photo shoot, electronic device 100 may display a photo shoot countdown prompt and an image captured by rear camera 802 on screen A and screen C. In this way, the person whose back is being photographed can see the countdown numbers and prepare a pose and facial expression before the photo shoot.

[0175] For example, as shown in FIG. 9G, electronic device 100 may display on screen C a picture countdown prompt 933 and an image 934 captured by rear camera 802.

[0176] In some application scenarios, when the foldable screen of electronic device 100 is in the unfolded configuration, electronic device 100 may display the application interface of a foreground application (e.g., a gallery application). After the foldable screen of electronic device 100 changes to the half-folded configuration, electronic device 100 may launch an associated application (e.g., a camera application) or a shortcut application (e.g., a music application) of the foreground application, display the application interface of the foreground application on one half-screen of screen A and screen B, and display the associated application or shortcut application on the other half-screen of screen A and screen B. For example, electronic device 100 may display the application interface of the foreground application on screen A and display the application interface of the associated application or shortcut application on screen B. A user may pre-set an associated application for a foreground application on electronic device 100 and may also pre-set a shortcut application. For example, a user may pre-set an associated application as a camera application and a shortcut application as a music application for a gallery application on electronic device 100. In this manner, when the electronic device 100 is in the semi-folded configuration, multiple application tasks may be automatically launched, allowing the user to process multiple application tasks simultaneously.

[0177] In a possible implementation, a foreground application running on electronic device 100 has only one associated application. When electronic device 100 detects that the foldable screen is in a half-folded configuration, electronic device 100 may display the foreground application on screen A and the application interface of the associated application on screen B. Alternatively, electronic device 100 displays the foreground application on screen B and the application interface of the associated application on screen A.

[0178] For example, as shown in FIG. 10A , electronic device 100 is in an unfolded configuration and displays home screen 810. For a full description of home screen 810, please refer to the embodiment shown in FIG. 8A . The details will not be described again here. Electronic device 100 may receive a user input operation (e.g., a tap) on gallery application icon 813. In response to the input operation, electronic device 100 may display gallery application interface 1010 shown in FIG. 10B .

[0179] As shown in FIG. 10B, the gallery application interface 1010 may display one or more albums (e.g., an all photos album, an all videos album, a camera album, a screenshots album, a recently deleted album, a WeChat album, a Weibo album, and other albums).

[0180] An associated application of the gallery application may be a camera application. When electronic device 100 detects that the foldable screen is changing from the unfolded configuration shown in FIG. 10B to the semi-folded configuration, it may display the application interface of the gallery application on screen A and the application interface of the camera application on screen B.

[0181] 10C, when electronic device 100 detects that the foldable screen is changing from the unfolded configuration shown in FIG. 10B to the semi-folded configuration, electronic device 100 may display gallery application interface 1020 on screen A and camera application interface on screen B. Compared to gallery application interface 1010 shown in FIG. 10B, gallery application interface 1020 displays less content and has a lower display ratio.

[0182] In a possible implementation, when electronic device 100 detects that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, and an associated application of the foreground application exists and a camera application exists within the foreground application and the associated application, electronic device 100 may determine whether the plane on which screen A is located is approximately parallel to the horizontal plane (i.e., the included angle β1 between the plane on which screen A is located and the horizontal plane is less than a preset angle threshold P3 (e.g., 10 degrees)). If the plane on which screen A is located is approximately parallel to the horizontal plane, electronic device 100 may display the application interface of the camera application on screen B and the application interface of another application within the foreground application and the associated application on screen A. If the plane on which screen A is located is not approximately parallel to the horizontal plane (i.e., the included angle β1 between the plane on which screen A is located and the horizontal plane is greater than or equal to a predetermined angle threshold P3 (e.g., 10 degrees)), electronic device 100 may display the application interface of the camera application on screen A and the application interface of another application within the foreground application and related applications on screen B.

[0183] 10D, the related application of the gallery application is a camera application. When electronic device 100 detects that the foldable screen is changing from the unfolded configuration to the half-folded configuration and the plane on which screen A is located is not approximately parallel to the horizontal plane (i.e., the included angle β1 between the plane on which screen A is located and the horizontal plane is greater than or equal to a preset angle threshold P3 (e.g., 10 degrees)), electronic device 100 may display camera application interface 1040 on screen A and gallery application interface 1050 on screen B. Compared with gallery application interface 1010 shown in FIG. 10B, gallery application interface 1050 has less display content and a lower display ratio.

[0184] In a possible implementation, a foreground application running on electronic device 100 may have multiple associated applications. When the foldable screen of electronic device 100 is in a half-folded configuration, electronic device 100 may display an application interface of a foreground application (e.g., a gallery application) on screen A and display icons of multiple associated applications (e.g., a camera application, a music application, a video application, and a WeChat application) on screen B. Then, when electronic device 100 receives a user input to select a designated associated application from the multiple associated applications, it may display the application interface of the foreground application (e.g., a camera application) and the application interface of the designated associated application on screen A and screen B, respectively.

[0185] For example, as shown in Figure 11A, electronic device 100 is in an unfolded configuration and displays gallery application interface 1110. For a full description of gallery application interface 1110, please refer to the embodiment shown in Figure 10B, and the details will not be described again here.

[0186] The associated applications of the gallery application include a camera application, a music application, a video application, a WeChat application, etc. When electronic device 100 detects that the foldable screen is changing from the unfolded configuration shown in FIG. 11A to the semi-folded configuration, it may display the application interface of the gallery application on screen A and display icons of multiple associated applications of the gallery application on screen B.

[0187] 11B, when electronic device 100 detects that the foldable screen is changing from the unfolded configuration shown in FIG. 11A to the semi-folded configuration, electronic device 100 may display gallery application interface 1120 on screen A and related application selection interface 1130 on screen B. Compared to gallery application interface 1110 shown in FIG. 11A, gallery application interface 1120 has less display content and a lower display ratio. Related application selection interface 1130 displays icons of multiple related applications (e.g., a camera application icon 1131, a music application icon, a video application icon, and a WeChat application icon). Related application selection interface 1130 may further display an add control 1132. The add control 1132 may be used to add a new related application to the gallery application.

[0188] Electronic device 100 may receive a user input operation (e.g., a tap) on camera application icon 1131 in associated application selection interface 1130. In response to the input operation, electronic device 100 may display camera application interface 1140 shown in FIG. 11C on screen B. Camera application interface 1140 is the same as camera application interface 1030 shown in FIG. 10C. Therefore, for a full description of camera application interface 1140, please refer to the embodiment shown in FIG. 10C. Details will not be described again here.

[0189] In a possible implementation, the foldable screen of electronic device 100 may display an application interface of a foreground application (e.g., a gallery application) in the unfolded configuration. When electronic device 100 detects that the foldable screen is in the folded configuration, it may display an application interface of a shortcuts application (e.g., a music application) on screen A and turn off screen B.

[0190] For example, as shown in Figure 12A, the electronic device 100 is in an unfolded configuration and displays a gallery application interface 1210. For a full description of the gallery application interface 1210, please refer to the embodiment shown in Figure 10B. The details will not be described again here. The shortcut application pre-configured on the electronic device 100 may be a music application.

[0191] As shown in FIG. 12B, when electronic device 100 detects that the foldable screen is changing from the unfolded configuration shown in FIG. 12A to the semi-folded configuration, electronic device 100 may display music application interface 1230 on screen A and turn off screen B.

[0192] In a possible implementation, the foldable screen of electronic device 100 may display an application interface of a foreground application (e.g., a gallery application) in the unfolded configuration. When electronic device 100 detects that the foldable screen is in the folded configuration, it may display the application interface of the foreground application on one half of screen A and screen B and the application interface of a shortcuts application (e.g., a music application) on the other half of screen A and screen B.

[0193] For example, as shown in FIG. 12B, when electronic device 100 detects that the foldable screen is changing from the unfolded configuration shown in FIG. 12A to a semi-folded configuration, electronic device 100 may display gallery application interface 1220 on screen A and music application interface 1230 on screen B.

[0194] In a possible implementation, when the foldable screen of electronic device 100 is in a half-folded configuration, electronic device 100 may display an application interface for application A on screen A, an application interface for application B on screen B, and a switch control on screen A or screen B. The switch control may be used to trigger the display of the application interface for application A on screen B and the display of the application interface for application B on screen A.

[0195] 12C, the foldable screen of electronic device 100 is in a half-folded configuration. Electronic device 100 may display gallery application interface 1220 on screen A, music application interface 1230 on screen B, and switch control 1241 on screen A. Switch control 1241 may be used to trigger a switch between the display positions of gallery application interface 1220 and music application interface 1230.

[0196] Electronic device 100 may receive a user input operation (e.g., a tap) on switch control 1241. In response to the input operation, electronic device 100 may display music application interface 1250 on screen A and gallery application interface 1260 on screen B, as shown in FIG.

[0197] In some application scenarios, customized interface layouts and customized function control layouts may be preset for some applications on electronic device 100 in the half-folded configuration of the foldable screen. When the foldable screen of electronic device 100 is in the unfolded configuration, electronic device 100 may display application interface 1 of a foreground application (e.g., a camera application). After the foldable screen of electronic device 100 changes to the half-folded configuration, electronic device 100 may display foreground application interface 2 on screen A and foreground application interface 3 on screen B. For example, when the foldable screen is in the half-folded configuration, the foreground application launched by electronic device 100 is a camera application, and electronic device 100 may display captured images on screen A and capture-related function controls on screen B. In this way, controls within the application interfaces may be rearranged based on the physical configuration of the foldable screen. As a result, a user may have a better visual experience when viewing and using the foldable screen.

[0198] 13A , electronic device 100 is in an unfolded configuration and displays a camera application interface 1310. The camera application interface may display a capture image echo control 1311, a capture control 1312, a camera switch control 1313, an image captured by the camera 1314, a flash control 1315, a settings control 1316, and one or more capture mode controls (e.g., a “wide aperture mode” control 1317A, a “night mode” control 1317B, a “normal capture mode” control 1317C, a “portrait mode” control 1317D, and a “video mode” control 1317E). Camera application interface 1310 is the same as camera application interface 820 in the embodiment shown in FIG. 8B . Therefore, for a full description of camera application interface 1310, please refer to the embodiment shown in FIG. 8B . Details will not be described again here.

[0199] When electronic device 100 detects that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, it may display camera application interface 1320 shown in FIG. 13B on screen A and camera application interface 1330 shown in FIG. 13B on screen B.

[0200] As shown in Figure 13B, camera application interface 1320 includes an image 1321 captured by the camera. Camera application interface 1330 includes a capture image echo control 1331, a capture control 1332, a camera switch control 1333, a flash control 1335, a settings control 1336, and one or more capture mode controls (e.g., a "wide aperture mode" control 1337A, a "night mode" control 1337B, a "normal capture mode" control 1337C, a "portrait mode" control 1337D, and a "video mode" control 1337E). The function controls included in camera application interface 1320 are the same as the function controls included in camera application interface 1310 shown in Figure 13A.

[0201] 13C , when electronic device 100 detects that the foldable screen is changing from the unfolded configuration shown in FIG. 13A to the half-folded configuration, it may display camera application interface 1320 shown in FIG. 13C on screen A and camera application interface 1340 on screen B. Camera application interface 1320 includes an image 1321 captured by the camera. Camera application interface 1340 includes a captured image echo control 1341, a capture control 1342, a camera switch control 1343, a beauty effect setting control 1344, a flash control 1345, a settings control 1346, a zoom magnification setting control 1348, an AI enhancement control 1349, and one or more capture mode controls (e.g., a “wide aperture mode” control 1347A, a “night mode” control 1347B, a “normal capture mode” control 1347C, a “portrait mode” control 1347D, and a “video mode” control 1347E). The functionality controls included in camera application interface 1340 differ from the functionality controls included in camera application interface 1310 shown in FIG. 13A.

[0202] The following describes a display method for a foldable screen according to one embodiment of the present application.

[0203] 14 is a schematic flowchart of a display method for a foldable screen according to one embodiment of the present application. The method is applied to an electronic device including a foldable screen. The foldable screen may be folded to form at least two screens, and the at least two screens include a first screen and a second screen. As shown in FIG. 14, the method may include the following steps:

[0204] S1401: When the foldable screen is in the unfolded configuration, the electronic device displays a first interface of a first application on the foldable screen in full screen, the first interface including an image captured by a camera, the image captured by the camera being an image captured before a capture confirmation signal is received.

[0205] When the foldable screen is in the unfolded configuration, the included angle between the first screen and the second screen is greater than a first angle threshold, and when the foldable screen is in the half-folded configuration, the included angle between the first screen and the second screen is between the first angle threshold and a second angle threshold. The first angle threshold is greater than the second angle threshold. Specifically, the foldable screen may be an inward-facing foldable screen or an outward-facing foldable screen.

[0206] For example, the first angle threshold is P2 and the second angle threshold is P1. When the foldable screen of the electronic device 100 is in a fully folded configuration, the included angle (i.e., folding angle) α between the screen A and the screen B of the electronic device 100 is

number

number

number

[0207] In a possible implementation, if the period during which the included angle between the first screen and the second screen remains between the first angle threshold and the second angle threshold is greater than a first time threshold (e.g., 0.6 seconds), the electronic device detects that the foldable screen is changing to the half-folded configuration. In this way, the electronic device can accurately identify that the user wants the foldable screen to enter the half-folded configuration, thereby improving the accuracy of the determination.

[0208] S1402: When detecting that the foldable screen is changing from the unfolded configuration to the half-folded configuration, the electronic device displays a second interface on the first screen.

[0209] For example, the first screen may be screen A in the above embodiment, and the second screen may be screen B in the above embodiment. The first application may be a camera application. When the first interface is displayed, the first application launches a camera. The first interface may be camera application interface 820 shown in FIG. 8B. The second interface may be camera application interface 830 shown in FIG. 8C. The display content (also referred to as interface elements) in camera application interface 830 is the same as the display content (also referred to as interface elements) in camera application interface 820 shown in FIG. 8B.

[0210] According to this embodiment of the present application, when the foldable screen of electronic device 100 is in a half-folded state, if a foreground application (e.g., a camera application or a WeChat application) running on electronic device 100 that supports windowed display adaptation launches the camera, electronic device 100 may display the application interface of the foreground application on screen A or screen B of the foldable screen. In this way, a user can conveniently take photos, make video calls, or perform live broadcasts, etc., without having to hold electronic device 100 steadily with both hands.

[0211] In a possible implementation, when the included angle between the plane on which the first screen is located and the horizontal plane is less than a third angle threshold, the electronic device displays the second interface on the second screen. For example, the third angle threshold may be P3,

number

number

[0212] In a possible implementation, the electronic device further includes a third screen, and the third screen faces the first screen when the foldable screen is folded. The method further includes, after the electronic device enables the time-lapse photography function, receiving a first user input via the second interface. In response to the first input, the electronic device displays a countdown prompt on the first screen and the third screen. The countdown prompt is used to prompt the user of the remaining time for capturing an image captured by the camera.

[0213] The third screen may be screen C in the embodiment shown in FIG. 9F. When the electronic device is in the half-folded form and a first application (e.g., a camera application or a WeChat application) activates the camera to perform countdown photography, the electronic device may display the photography countdown on screen C. In this way, when the owner leaves the electronic device and performs automatic countdown photography with another person, the countdown may be displayed on screen C. This is convenient for the user to assume a photography posture, thereby improving the user experience. For specific details, please refer to the embodiments shown in FIGS. 9A to 9F. Details will not be described again here.

[0214] In a possible implementation, in response to the first input, the electronic device displays an image captured by the camera on a third screen. For example, as shown in Fig. 9G, the electronic device displays a photo countdown prompt 933 and an image 934 captured by the rear camera 802 on screen C. For specific details, please refer to the embodiment shown in Fig. 9G. Details will not be described again here.

[0215] In a possible implementation, the first application is associated with a second application. When detecting that the foldable screen is changing from the unfolded form to the half-folded form, the electronic device displays a third interface of the second application on the second screen. The first application may be a camera application, and the second application may be a gallery application. The second interface may be the camera application interface 1040 shown in FIG. 10D, and the third interface may be the gallery application interface 1050 shown in FIG. 10D. For specific details, please refer to the embodiments shown in FIGS. 10A to 10D. Details will not be described again here.

[0216] In a possible implementation, the first application corresponds to a plurality of associated applications. When detecting that the foldable screen is changing from the unfolded form to the semi-folded form, the electronic device displays options of the plurality of associated applications on the second screen. The electronic device receives a second input from the user for an option corresponding to the second application. In response to the second input, the electronic device displays a third interface of the second application on the second screen. For specific details, please refer to the embodiments shown in Figures 11A to 11C. Details will not be described again here.

[0217] In a possible implementation, the electronic device displays the switch control on the first screen or the second screen. The electronic device receives a third input from the user on the switch control. In response to the third input, the electronic device displays a third interface on the first screen and a second interface on the second screen. For example, the switch control may be the switch control 1241 shown in FIG. 12C. For specific details, please refer to the embodiments shown in FIGS. 12A to 12D. Details will not be described again here.

[0218] In a possible implementation, when the foldable screen changes from a half-folded configuration to a fully folded configuration, the electronic device may turn off the first screen and the second screen.

[0219] In some embodiments, when the foldable screen is in the unfolded configuration, the electronic device displays a first interface of a first application full-screen on the foldable screen. The first interface includes an image captured by a camera and one or more operation controls. When the electronic device detects that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, the electronic device displays a fourth interface on the first screen and a fifth interface on the second screen. The fourth interface includes an image captured by the camera, and the fifth interface includes one or more operation controls. For example, the first interface may be the camera application interface 1310 shown in FIG. 13A , the fourth interface may be the camera application interface 1320 shown in FIG. 13B or FIG. 13C , and the fifth interface may be the camera application interface 1330 shown in FIG. 13B or the camera application interface 1340 shown in FIG. 13C . For specific details, please refer to the embodiments shown in FIGS. 13A to 13C . The details will not be explained again here.

[0220] In conclusion, the above embodiments are only intended to illustrate the technical solutions of the present application, rather than limiting the present application. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that, without departing from the scope of the technical solutions of the embodiments of the present application, they may still make modifications to the technical solutions described in the above embodiments or make equivalent replacements of some technical features thereof. [Other possible items] (Item 1) 1. A display method for a foldable screen, applied to an electronic device having a foldable screen, wherein the foldable screen may be folded to form at least two screens, the at least two screens including a first screen and a second screen, the method comprising: When the foldable screen is in the unfolded configuration, the electronic device displays a first interface of a first application in full screen on the foldable screen, the first interface including an image captured by a camera, the image captured by the camera being an image captured before a capture confirmation signal is received; and when detecting that the foldable screen is changing from the unfolded configuration to the half-folded configuration, the electronic device displays a second interface on the first screen, wherein content displayed on the second interface is the same as or different from content displayed on the first interface, and when the foldable screen is in the unfolded configuration, an included angle between the first screen and the second screen is greater than a first angle threshold, and when the foldable screen is in the half-folded configuration, the included angle between the first screen and the second screen is between the first angle threshold and a second angle threshold, and the first angle threshold is greater than the second angle threshold. A method comprising: (Item 2) and displaying the second interface on the second screen when the foldable screen is in the half-folded configuration and an included angle between a plane on which the first screen is located and a horizontal plane is less than a third angle threshold. The method of claim 1, further comprising: (Item 3) 3. The method of claim 1, wherein the electronic device detects that the foldable screen is changing to the half-folded configuration when the period during which the included angle between the first screen and the second screen remains between the first angle threshold and the second angle threshold is greater than a first time threshold. (Item 4) The electronic device further includes a third screen, and when the foldable screen is folded, the third screen and the first screen face away from each other, and the method further includes: receiving a first user input by the electronic device after the electronic device has enabled a time-lapse photography function; the electronic device, in response to the first input, displaying a countdown prompt on the first screen and the third screen, the countdown prompt being used to prompt the user of the time remaining for the electronic device to capture the image captured by the camera; 4. The method of any one of items 1 to 3, further comprising: (Item 5) In response to the first input, the electronic device displays the image captured by the camera on the third screen. Item 5. The method of item 4, further comprising: (Item 6) The first application is associated with a second application, and the method includes: and upon detecting that the foldable screen has changed from the unfolded configuration to the semi-folded configuration, the electronic device displays a third interface of the second application on the second screen. 6. The method of any one of items 1 to 5, further comprising: (Item 7) The first application corresponds to a plurality of associated applications, and the method includes: when detecting that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, the electronic device displays options of the plurality of associated applications on the second screen; receiving, by the electronic device, a second input from the user for an option corresponding to a second application; displaying, by the electronic device, a third interface of the second application on the second screen in response to the second input; 6. The method of any one of items 1 to 5, further comprising: (Item 8) the electronic device displaying a switch control on the first screen or the second screen; receiving, by the electronic device, a third input from the user on the switch control; in response to the third input, the electronic device displays the third interface on the first screen and the second interface on the second screen; 8. The method of claim 6 or 7, further comprising: (Item 9) the first interface further includes one or more operation controls, and when it is detected that the foldable screen is changing from the unfolded configuration to the half-folded configuration, the method further comprises: the electronic device displaying a fourth interface on the second screen, the fourth interface including the one or more operation controls, and the second interface including the image captured by the camera. The method of items 1 to 5 further comprises: (Item 10) 1. An electronic device comprising: a foldable screen; an acceleration sensor; a gyroscope sensor; one or more cameras; one or more processors; and one or more memories; wherein the foldable screen may be folded to form at least two screens, the at least two screens including a first screen and a second screen; and wherein the foldable screen, the acceleration sensor, the gyroscope sensor, the one or more cameras, and the one or more memories are separately coupled to the one or more processors; the acceleration sensor and the gyroscope sensor are configured to detect data such that the one or more processors detect an included angle between the first screen and the second screen; The one or more memories are configured to store computer program code, the computer program code including computer instructions, which when executed on the processor, cause the electronic device to: displaying a first interface of a first application in full screen on the foldable screen when the foldable screen is in the unfolded configuration, the first interface including an image captured by the camera in real time, the image captured by the camera being an image captured before a capture confirmation signal is received; and displaying a second interface on the first screen when detecting that the foldable screen has changed from the unfolded configuration to the semi-folded configuration, wherein content displayed on the second interface is the same as or different from content displayed on the first interface. It becomes possible to perform When the foldable screen is in the unfolded configuration, an included angle between the first screen and the second screen is greater than a first angle threshold, and when the foldable screen is in the half-folded configuration, the included angle between the first screen and the second screen is between the first angle threshold and a second angle threshold, and the first angle threshold is greater than the second angle threshold. Electronic devices. (Item 11) When the computer instructions are executed on the processor, the electronic device further comprises: displaying the second interface on the second screen when the foldable screen is in the half-folded configuration and an included angle between a plane on which the first screen is located and a horizontal plane is less than a third angle threshold, the third angle threshold being less than the second angle threshold. It becomes possible to carry out Item 11. The electronic device according to item 10. (Item 12) Item 12. The electronic device of item 10 or 11, wherein the electronic device detects that the foldable screen is changing to the half-folded configuration when the period during which the included angle between the first screen and the second screen remains between the first angle threshold and the second angle threshold is greater than a first time threshold. (Item 13) The electronic device further comprises a third screen, and when the foldable screen is folded, the third screen and the first screen face away from each other, and when the computer instructions are executed on the processor, the electronic device further comprises: receiving a first user input after enabling the time-lapse feature; displaying a countdown prompt on the first screen and the third screen in response to the first input, the countdown prompt being used to prompt the user how much time is left for the electronic device to capture the image captured by the camera; and It becomes possible to carry out 13. The electronic device according to any one of items 10 to 12. (Item 14) When the computer instructions are executed on the processor, the electronic device further comprises: displaying the image captured by the camera on the third screen in response to the first input. It becomes possible to carry out Item 14. The electronic device according to item 13. (Item 15) the first application is associated with a second application, and when the computer instructions are executed on the processor, the electronic device further comprises: and displaying a third interface of the second application on the second screen when detecting that the foldable screen has changed from the unfolded configuration to the semi-folded configuration. It becomes possible to carry out 15. The electronic device according to any one of items 10 to 14. (Item 16) The first application corresponds to a plurality of associated applications, and when the computer instructions are executed on the processor, the electronic device further comprises: when detecting that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, the electronic device displays options of the plurality of associated applications on the second screen; receiving, by the electronic device, a second input from the user for an option corresponding to a second application; displaying, by the electronic device, a third interface of the second application on the second screen in response to the second input; It becomes possible to carry out 16. The electronic device according to any one of items 10 to 15. (Item 17) When the computer instructions are executed on the processor, the electronic device further comprises: displaying a switch control on the first screen or the second screen; receiving a third input from the user on the switch control; in response to the third input, the electronic device displays the third interface on the first screen and the second interface on the second screen; It becomes possible to carry out Item 17. The electronic device according to item 15 or 16. (Item 18) the first interface includes one or more operational controls, and the electronic device, when the computer instructions are executed on the processor, further comprises: displaying a fourth interface on the second screen when detecting that the foldable screen is changing from the unfolded configuration to the semi-folded configuration, the fourth interface including the one or more operation controls, and the second interface including the image captured by the camera. It becomes possible to carry out 15. The electronic device according to items 10 to 14. (Item 19) 10. An electronic device comprising one or more functional modules, the one or more functional modules being configured to perform a display method for a foldable screen according to any one of items 1 to 9. (Item 20) 10. A computer-readable storage medium comprising computer instructions that, when executed on an electronic device, enable the electronic device to perform the display method for a foldable screen described in any one of items 1 to 9. (Item 21) A chip comprising a processor and an interface, The processor and the interface cooperate with each other, so that the chip executes the display method for a foldable screen according to any one of items 1 to 9. Tips.

Claims

1. 1. A display method for a foldable screen, applied to an electronic device having a foldable screen, wherein the foldable screen may be folded to form at least two screens, the at least two screens including a first screen and a second screen, and the electronic device further comprises a third screen, the method comprising: and when the foldable screen is in the unfolded configuration, in response to an operation applied to an icon of a camera application, the electronic device displays a first interface of the camera application full screen on the foldable screen, the first interface including a first image captured by a camera on a back surface of the first screen, a capture control, and a setting control, the first image captured by the camera being displayed on the first screen and the second screen, the capture control being displayed on the second screen, and the setting control being displayed on the first screen, the capture control being configured to trigger saving of an image captured by the camera, and the setting control being configured to set a capture function. when the electronic device detects that the foldable screen has changed from the unfolded configuration to the semi-folded configuration, the electronic device displays a second image captured by the camera on the first screen, displays the settings control on the second screen, and displays the capture control on the second screen; receiving, by the electronic device, a first input from a user when the foldable screen is in the half-folded configuration and a timing capture function is enabled; in response to the first input, the electronic device displays a first countdown prompt and a third image captured by the camera on the third screen, the third screen being on a back surface of the first screen and facing away from the first screen; A method comprising:

2. The step of displaying by the electronic device in response to the first input comprises: the electronic device displaying a second countdown prompt and the third image captured by the camera on the first screen. further comprising The method of claim 1.

3. The method of claim 2 , wherein the first countdown prompt and the second countdown prompt are used to prompt the user the time remaining for the electronic device to capture an image captured by the camera.

4. and displaying a fourth image captured by the camera on the second screen when the foldable screen is in the half-folded configuration and an included angle between a plane on which the first screen is located and a horizontal plane is less than a third angle threshold and the plane on which the first screen is located is substantially parallel to the horizontal plane. The method of claim 1 , further comprising:

5. 5. The method of claim 1, wherein the electronic device detects that the foldable screen is changing to the half-folded configuration when a period during which the included angle between the first screen and the second screen remains between a first angle threshold and a second angle threshold is greater than a first time threshold.

6. The first interface further includes a timing option, and when the timing capture function is enabled, the method includes: receiving, by the electronic device, a fourth input to be applied to the timing options; enabling the timing photography function by the electronic device in response to the fourth input; The method of claim 1 , further comprising:

7. an electronic device comprising: a foldable screen, a third screen, one or more cameras, one or more processors, and one or more memories; wherein the foldable screen may be folded to form at least two screens, the at least two screens including a first screen and a second screen, the third screen facing away from the first screen; and the foldable screen, the third screen, the one or more cameras, and the one or more memories are separately coupled to the one or more processors; The one or more memories are configured to store computer program code, the computer program code comprising computer instructions that, when executed on the one or more processors, enable the electronic device to perform the method of any one of claims 1 to 6. Electronic devices.

8. A computer program product for causing an electronic device to perform the display method for a foldable screen according to any one of claims 1 to 6.

9. 1. An electronic device comprising a chip having a processor and an interface, The interface receives a user input operation, and the processor executes the display method for a foldable screen according to any one of claims 1 to 6 in the electronic device in response to the input operation. Electronic devices.

Citation Information

Patent Citations

  • Terminal and image collection method

    CN106131327A

  • Method for displaying application through folding screen and electronic equipment

    CN110286972A

  • Display device

    JP2007257220A

  • Portable device with touch screen display and control method thereof

    JP2014511524A

  • Mobile terminal and control method thereof

    US20160026381A1