Display method and related device

By detecting the angle of the foldable screen, the camera and display are automatically activated, solving the problem of cumbersome user interaction and improving the user experience.

CN115460318BActive Publication Date: 2024-09-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110920022.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-06-09
Filing Date
2021-08-11
Publication Date
2024-09-06
Estimated Expiration
2041-08-11

AI Technical Summary

Technical Problem

The interaction between users and foldable screens is cumbersome, resulting in a poor user experience.

Method used

By detecting the angle of the foldable screen, the corresponding camera and display are automatically activated for real-time preview, avoiding cumbersome user operations and realizing automated shooting and preview functions.

Benefits of technology

It improves the user experience, allowing users to start the camera and preview images without manual operation, thus simplifying the interaction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115460318B_ABST
    Figure CN115460318B_ABST
Patent Text Reader

Abstract

The present application discloses a display method and a related device, the method is applied to an electronic device, the electronic device includes a first screen, a folding screen and a first camera, the folding screen can be folded into a second screen and a third screen along the folding edge, the first screen and the second screen are in opposite directions, the direction of the first screen is consistent with the shooting direction of the first camera, and the direction of the second screen is consistent with the shooting direction of the second camera, the method includes: based on the first angle between the second screen and the third screen, it is determined that the electronic device is in a first preset posture, and the electronic device displays a first user interface on the first screen; the first user interface includes an image captured by the first camera; based on the first angle, it is determined that the electronic device is in a second preset posture, and the electronic device displays a second user interface on the second screen; the second user interface includes an image captured by the second camera. In this way, it is achieved that the corresponding camera and display screen are automatically started for real-time preview in a specific posture of the electronic device, avoiding cumbersome user operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a display method and related devices. Background Art

[0002] With the development of electronic technology, the display screens of electronic devices are getting bigger and bigger, and the display screens can provide users with richer information, thereby bringing a better user experience. For example, a larger folding screen is configured on the front of the mobile phone. When the folding screen is in a folded state, the folding screen can be folded into at least two screens, and the electronic device can display on one of the screens, and the user can control the display content of one of the above screens through touch operation or buttons. When the folding screen is in an unfolded state, the electronic device can display in full screen on the folding screen, and the user can control the display content of the entire folding screen through touch operation or buttons.

[0003] Currently, the interaction between users and folding screens is cumbersome and the user experience is poor. Summary of the invention

[0004] The present application provides a display method, which realizes automatic startup of corresponding cameras and display screens for real-time preview in a specific posture of a foldable electronic device, thereby avoiding cumbersome user operations and effectively improving user experience.

[0005] In a first aspect, the present application provides a display method, which is applied to an electronic device, wherein the electronic device includes a first screen, a folding screen, and a first camera, wherein the folding screen can be folded along a folding edge to form a second screen and a third screen, wherein the first screen and the second screen are oriented in opposite directions, the direction of the first screen is consistent with a shooting direction of the first camera, and the direction of the second screen is consistent with a shooting direction of the second camera, wherein the method includes:

[0006] Based on the detected first angle between the second screen and the third screen, it is determined that the electronic device is in a first preset posture; based on the first preset posture of the electronic device, the electronic device displays a first user interface on the first screen; a first preview display area of ​​the first user interface is used to display an image captured by the first camera, and in the first preset posture, the first angle does not include 0° and 180°; based on the detected first angle, it is determined that the electronic device is in a second preset posture; based on the second preset posture of the electronic device, the electronic device displays a second user interface on the second screen; the second preview display area of ​​the second user interface is used to display an image captured by the second camera, and in the second preset posture, the first angle does not include 0° and 180°.

[0007] In the implementation of the embodiment of the present application, when the electronic device detects that the electronic device is in a first preset posture, the electronic device can start the first camera corresponding to the first preset posture to capture an image, and display the captured image on the first screen corresponding to the first preset posture. When the electronic device detects that the electronic device is in a second preset posture, the electronic device can start the second camera corresponding to the second preset posture to capture an image, and display the captured image on the second screen corresponding to the second preset posture. It should be noted that when the electronic device is in the first preset posture, it is convenient for the user to view the display content of the first screen; when the electronic device is in the second preset posture, it is convenient for the user to view the display content of the second screen. In this way, after the user places the electronic device in the preset posture, the user can start the camera corresponding to the preset posture to shoot with both hands free, and preview in real time through the display screen corresponding to the preset posture, avoiding cumbersome user operations and effectively improving the user experience.

[0008] In one implementation, the method further includes: based on the detected first angle, determining that the electronic device is in a third preset posture; based on the third preset posture of the electronic device, the electronic device performs split-screen display on a second screen and a third screen, and the display content of the second screen includes a third preview display area, and the third preview display area is used to display an image captured by the second camera. Under the third preset posture, the first angle does not include 0° and 180°.

[0009] In the implementation of the embodiment of the present application, when the electronic device detects that the electronic device is in the third preset posture, the electronic device can start the second camera corresponding to the third preset posture to capture images, and display the captured images on the second screen corresponding to the third preset posture, and can also display the interface elements associated with the images captured by the second camera through the third screen. It should be noted that the electronic device is in the third preset posture, which can facilitate the user to view the display content of the second screen and the third screen. In this way, after the user places the electronic device in the preset posture, the user can start the second camera corresponding to the preset posture to shoot with his hands free, and preview in real time through the second screen corresponding to the preset posture, and view the interface elements associated with the image captured by the second camera through the third screen, avoiding cumbersome user operations and effectively improving the user experience.

[0010] In one implementation, based on the first preset posture of the electronic device, the electronic device displays the first user interface on the first screen, including: when it is detected that the electronic device is in the first preset posture and the electronic device satisfies the first preset condition, the electronic device starts the first camera to capture images and displays the first user interface on the first screen; wherein the first preset posture includes a first angle within a first preset range, and the first preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive any input operation acting on the first screen within a second preset time; in the image captured by the camera corresponding to the first screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the first screen, a first preset gesture is detected.

[0011] In implementing the embodiment of the present application, after the user places the electronic device in a first preset posture and makes the electronic device meet the first preset condition, the user can start the first camera corresponding to the first preset posture to take pictures with both hands free, and perform real-time preview through the first screen corresponding to the first preset posture, thereby avoiding tedious user operations and effectively improving the user experience.

[0012] In one implementation, the electronic device displays a second user interface on the second screen based on the second preset posture of the electronic device, including: when it is detected that the electronic device is in the second preset posture and the electronic device satisfies the second preset condition, the electronic device starts the second camera to capture images and displays the second user interface on the second screen; wherein the second preset posture includes a first angle within a second preset range, and the second preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive any input operation acting on the second screen within the second preset time; in the image captured by the camera corresponding to the second screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a second preset gesture is detected.

[0013] In implementing the embodiment of the present application, after the user places the electronic device in the second preset posture and makes the electronic device meet the second preset condition, the user can start the second camera corresponding to the second preset posture to take pictures with both hands free, and perform real-time preview through the second screen corresponding to the second preset posture, thereby avoiding tedious user operations and effectively improving the user experience.

[0014] In one implementation, the electronic device performs split-screen display on the second screen and the third screen based on the third preset posture of the electronic device, including: when it is detected that the electronic device is in the third preset posture and the electronic device satisfies the third preset condition, the electronic device starts the second camera to capture images, and performs split-screen display on the second screen and the third screen; wherein the third preset posture includes that the first angle is within a third preset range, and the third preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in a lit state, the electronic device does not receive any input operation acting on the second screen or the third screen within the second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, the third preset gesture is detected.

[0015] In implementing the embodiment of the present application, after the user places the electronic device in a third preset posture and makes the electronic device meet the third preset condition, the user can start the second camera corresponding to the third preset posture to shoot with both hands free, and perform real-time preview through the second screen corresponding to the third preset posture, and view interface elements associated with the image captured by the second camera through the third screen, thereby avoiding cumbersome user operations and effectively improving the user experience.

[0016] In one implementation, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is greater than 0° and less than 120°; or, the first preset posture also includes: the second angle is within the fourth preset range, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 180° and less than 300°; or, the first preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 0° and less than 180°.

[0017] In the implementation of the embodiment of the present application, by effectively setting the first preset posture, there is no need to install an additional bracket device for the electronic device, and the user does not need to hold the electronic device, so the user can view the display content of the first screen more conveniently.

[0018] In one implementation, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is less than 120°; the above-mentioned displaying the first user interface on the first screen includes: displaying the first user interface rotated 180° on the first screen.

[0019] In one implementation, the first preset posture includes a first bracket state and a fifth bracket state. When it is detected that the electronic device is in the first preset posture and the electronic device meets the first preset condition, the electronic device starts the first camera to capture images and displays the first user interface on the first screen, including: when it is detected that the electronic device is in the first bracket state and the electronic device meets the first preset condition, the electronic device starts the first camera to capture images and displays the first user interface on the first screen; after the first user interface is displayed on the first screen, it also includes: when it is detected that the electronic device switches from the first bracket state to the fifth bracket state, the electronic device displays the first user interface rotated 180° on the first screen.

[0020] In implementing the embodiment of the present application, the display direction of the user interface corresponding to the first screen can be adaptively adjusted according to the physical posture of the electronic device to facilitate user viewing, thereby effectively improving the user experience.

[0021] In one implementation, before the first user interface is displayed on the first screen, the method further includes: the electronic device identifies a first area where a preset local feature is located in the image captured by the first camera, and the first preview display area is used to display an enlarged image of the image in the first area.

[0022] In implementing the embodiment of the present application, after the user places the electronic device in a first preset posture and makes the electronic device meet the first preset condition, the user can start the first camera corresponding to the first preset posture to take pictures with both hands free, and preview the details of the preset local features in the image captured by the first camera in real time through the first screen.

[0023] In one implementation, after the first user interface is displayed on the first screen, the above also includes: receiving a first input operation from the user; in response to the first input operation, the electronic device displays one or more of the following interface elements in the first user interface: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to the face in the image displayed in the first preview display area; the shooting control is used to trigger the electronic device to save the image displayed in the first preview display area; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; the display frame is used to display an enlarged image of a preset local feature in the image captured by the first camera.

[0024] In the implementation of the embodiment of the present application, after the user places the electronic device in a first preset posture and the electronic device meets the first preset condition, the user can start the first camera corresponding to the first preset posture to shoot with both hands free, and only display the image captured by the first camera on the first screen. Then, after receiving the user's first input operation, other related interface elements, such as shooting controls, are displayed on the first screen.

[0025] In one implementation, the first camera is an ultraviolet camera, and the image captured by the first camera is used to highlight the area where sunscreen is applied.

[0026] In implementing the embodiment of the present application, after the user places the electronic device in a first preset posture and makes the electronic device meet the first preset condition, the user can start the first camera corresponding to the first preset posture to take pictures with both hands free, and preview the application of sunscreen in real time through the first screen.

[0027] In one implementation, based on a first preset posture of the electronic device, when the electronic device displays the first user interface on the first screen, the method further includes: the electronic device controls the second screen and the third screen to turn off.

[0028] In the implementation of the embodiment of the present application, when the electronic device controls the first screen to light up, the second screen and the third screen are controlled to turn off, so that energy consumption can be effectively saved.

[0029] In one implementation, the second preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is less than 90°, and the angle within the second preset range is greater than 60° and less than 180°; or, the second preset posture also includes: the second angle is within the fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 240° and less than 360°; or, the second preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 180° and less than 360°.

[0030] In the implementation of the embodiment of the present application, by effectively setting the second preset posture, there is no need to install an additional bracket device for the electronic device, and the user does not need to hold the electronic device. The user can view the display content of the second screen more conveniently.

[0031] In one implementation, in the first preset posture and the second preset posture, the first angle does not include 0° and 180°.

[0032] In one implementation, based on the second preset posture of the electronic device, when the electronic device displays the second user interface on the second screen, the method further includes: the electronic device controls the first screen to turn off.

[0033] In the implementation of the embodiment of the present application, when the electronic device controls the second screen and the third screen to light up, the first screen is controlled to turn off. In this way, energy consumption can be effectively saved.

[0034] In one implementation, the third preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the third preset range is greater than 60° and less than 180°.

[0035] In the implementation of the embodiment of the present application, by effectively setting the third preset posture, there is no need to install an additional bracket device for the electronic device, and the user does not need to hold the electronic device. The user can view the display content of the second screen and the third screen more conveniently.

[0036] In one implementation, the display content of the third screen includes an enlarged image of a preset local feature in the image captured by the second camera.

[0037] In the implementation of the embodiment of the present application, when the user previews the image captured by the second camera in real time on the second screen, the user can also preview the details of the preset local features in the image captured by the second camera in real time on the third screen.

[0038] In one implementation, the split-screen display on the second screen and the third screen includes: split-screen display of the third user interface on the second screen and the third display screen; the display content of the second screen includes a third preview display area of ​​the third user interface, and zero, one or more interface elements in the third user interface except the third preview display area, and the display content of the third screen includes one or more interface elements in the third user interface except the display content of the second screen; the third user interface also includes one or more of the following interface elements: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to a face in an image in the preview display area of ​​the third user interface; the shooting control is used to trigger the electronic device to save the image in the preview display area of ​​the third user interface; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; and the display frame is used to display an enlarged image of a preset local feature in the image captured by the second camera.

[0039] In implementing the embodiment of the present application, after the user places the electronic device in a third preset posture and makes the electronic device meet the third preset condition, the user can start the second camera corresponding to the third preset posture to shoot with both hands free, and perform real-time preview through the second screen corresponding to the third preset posture, and control the shooting parameters of the second camera and the display effect of the preview image in the second screen through the interface elements displayed on the third screen, thereby effectively improving the user experience.

[0040] In a second aspect, the present application provides a display method, which is applied to an electronic device, wherein the electronic device includes a first screen, a folding screen, and a first camera, wherein the folding screen can be folded along a folding edge to form a second screen and a third screen, wherein the first screen and the second screen are oriented in opposite directions, and the orientation of the first screen is consistent with the shooting direction of the first camera, wherein the method includes:

[0041] When it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition, the electronic device starts the first camera to capture images and displays a first user interface on the first screen, and the first preview display area of ​​the first user interface is used to display the image captured by the first camera; wherein the first preset posture includes a first angle between the second screen and the third screen being within a first preset range, and the first preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive an input operation acting on the first screen within a second preset time; in the image captured by the camera corresponding to the first screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the first screen, a first preset gesture is detected.

[0042] It should be noted that the electronic device is in the first preset posture, which can facilitate the user to view the display content of the first screen. In the implementation of the embodiment of the present application, after the user places the electronic device in the first preset posture and the electronic device meets the first preset condition, the user can start the first camera corresponding to the first preset posture to shoot with both hands free, and preview in real time through the first screen corresponding to the first preset posture, avoiding cumbersome user operations and effectively improving the user experience.

[0043] In the embodiment of the present application, the camera corresponding to the first screen and the first camera may be the same camera or different cameras. Optionally, the camera corresponding to the first screen is a low-power camera.

[0044] In one implementation, the electronic device also includes a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge, and the method also includes: when it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition, the electronic device starts the second camera to capture an image, and displays a second user interface on the second screen, and the second preview display area of ​​the second user interface is used to display the image captured by the second camera; wherein the second preset posture includes a first angle within a second preset range, and the second preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive an input operation acting on the second screen within a second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a second preset gesture is detected.

[0045] It should be noted that the electronic device is in the second preset posture, which can facilitate the user to view the display content of the second screen. In the implementation of the embodiment of the present application, after the user places the electronic device in the second preset posture and the electronic device meets the second preset condition, the user can start the second camera corresponding to the second preset posture to shoot with both hands free, and preview in real time through the second screen corresponding to the second preset posture, thereby avoiding cumbersome user operations and effectively improving the user experience.

[0046] In the embodiment of the present application, the camera corresponding to the second screen and the second camera may be the same camera or different cameras. Optionally, the camera corresponding to the second screen is a low-power camera.

[0047] In one implementation, the electronic device further includes a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge, and the method further includes: when it is detected that the electronic device is in a third preset posture and the electronic device meets a third preset condition, the electronic device starts the second camera to capture an image, and displays it in split screen on the second screen and the third screen, the display content of the second screen includes a third preview display area, and the third preview display area is used to display the image captured by the second camera; wherein the third preset posture includes that the first angle is within a third preset range, and the third preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in a lit state, the electronic device does not receive an input operation acting on the second screen or the third screen within a second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a third preset gesture is detected.

[0048] It should be noted that the electronic device is in the third preset posture, which can facilitate the user to view the display content of the second screen and the third screen. In the implementation of the embodiment of the present application, after the user places the electronic device in the third preset posture and the electronic device meets the third preset condition, the user can start the second camera corresponding to the third preset posture to shoot with both hands free, and preview in real time through the second screen corresponding to the third preset posture, and view the interface elements associated with the image captured by the second camera through the third screen, thereby avoiding cumbersome user operations and effectively improving the user experience.

[0049] In one implementation, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is greater than 0° and less than 120°; or, the first preset posture also includes: the second angle is within the fourth preset range, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 180° and less than 300°; or, the first preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 0° and less than 180°.

[0050] In the implementation of the embodiment of the present application, by effectively setting the first preset posture, there is no need to install an additional bracket device for the electronic device, and the user does not need to hold the electronic device, so the user can view the display content of the first screen more conveniently.

[0051] In one implementation, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is less than 120°; the above-mentioned displaying the first user interface on the first screen includes: displaying the first user interface rotated 180° on the first screen.

[0052] In implementing the embodiment of the present application, the display direction of the user interface corresponding to the first screen can be adaptively adjusted according to the physical posture of the electronic device to facilitate user viewing, thereby effectively improving the user experience.

[0053] In one implementation, before the first user interface is displayed on the first screen, the method further includes: the electronic device identifies a first area where a preset local feature is located in the image captured by the first camera, and the first preview display area is used to display an enlarged image of the image in the first area.

[0054] In implementing the embodiment of the present application, after the user places the electronic device in a first preset posture and makes the electronic device meet the first preset condition, the user can start the first camera corresponding to the first preset posture to take pictures with both hands free, and preview the details of the preset local features in the image captured by the first camera in real time through the first screen.

[0055] In one implementation, after the first user interface is displayed on the first screen, the above also includes: receiving a first input operation from the user; in response to the first input operation, the electronic device displays one or more of the following interface elements in the first user interface: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to the face in the image displayed in the first preview display area; the shooting control is used to trigger the electronic device to save the image displayed in the first preview display area; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; the display frame is used to display an enlarged image of a preset local feature in the image captured by the first camera.

[0056] In the implementation of the embodiment of the present application, after the user places the electronic device in a first preset posture and the electronic device meets the first preset condition, the user can start the first camera corresponding to the first preset posture to shoot with both hands free, and only display the image captured by the first camera on the first screen. Then, after receiving the user's first input operation, other related interface elements, such as shooting controls, are displayed on the first screen.

[0057] In one implementation, the first camera is an ultraviolet camera, and the image captured by the first camera is used to highlight the area where sunscreen is applied.

[0058] In implementing the embodiment of the present application, after the user places the electronic device in a first preset posture and makes the electronic device meet the first preset condition, the user can start the first camera corresponding to the first preset posture to take pictures with both hands free, and preview the application of sunscreen in real time through the first screen.

[0059] In one implementation, when it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition, the method further includes: the electronic device controls the second screen and the third screen to turn off.

[0060] In the implementation of the embodiment of the present application, when the electronic device controls the first screen to light up, the second screen and the third screen are controlled to turn off, so that energy consumption can be effectively saved.

[0061] In one implementation, the second preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is less than 90°, and the angle within the second preset range is greater than 60° and less than 180°; or, the second preset posture also includes: the second angle is within the fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 240° and less than 360°; or, the second preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 180° and less than 360°.

[0062] In the implementation of the embodiment of the present application, by effectively setting the second preset posture, there is no need to install an additional bracket device for the electronic device, and the user does not need to hold the electronic device. The user can view the display content of the second screen more conveniently.

[0063] In one implementation, in the first preset posture and the second preset posture, the first angle does not include 0° and 180°.

[0064] In one implementation, when it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition, the method further includes: the electronic device controlling the first screen to turn off.

[0065] In the implementation of the embodiment of the present application, when the electronic device controls the second screen and the third screen to light up, the first screen is controlled to turn off. In this way, energy consumption can be effectively saved.

[0066] In one implementation, the third preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the third preset range is greater than 60° and less than 180°.

[0067] In the implementation of the embodiment of the present application, by effectively setting the third preset posture, there is no need to install an additional bracket device for the electronic device, and the user does not need to hold the electronic device. The user can view the display content of the second screen and the third screen more conveniently.

[0068] In one implementation, the display content of the third screen includes an enlarged image of a preset local feature in the image captured by the second camera.

[0069] In the implementation of the embodiment of the present application, when the user previews the image captured by the second camera in real time on the second screen, the user can also preview the details of the preset local features in the image captured by the second camera in real time on the third screen.

[0070] In one implementation, the split-screen display on the second screen and the third screen includes: split-screen display of the third user interface on the second screen and the third display screen; the display content of the second screen includes a third preview display area of ​​the third user interface, and zero, one or more interface elements in the third user interface except the third preview display area, and the display content of the third screen includes one or more interface elements in the third user interface except the display content of the second screen; the third user interface also includes one or more of the following interface elements: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to a face in an image in the preview display area of ​​the third user interface; the shooting control is used to trigger the electronic device to save the image in the preview display area of ​​the third user interface; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; and the display frame is used to display an enlarged image of a preset local feature in the image captured by the second camera.

[0071] In implementing the embodiment of the present application, after the user places the electronic device in a third preset posture and makes the electronic device meet the third preset condition, the user can start the second camera corresponding to the third preset posture to shoot with both hands free, and perform real-time preview through the second screen corresponding to the third preset posture, and control the shooting parameters of the second camera and the display effect of the preview image in the second screen through the interface elements displayed on the third screen, thereby effectively improving the user experience.

[0072] In a third aspect, the present application provides an electronic device, the electronic device comprising a first screen, a folding screen and a first camera, the folding screen can be folded along a folding edge to form a second screen and a third screen, the first screen and the second screen are in opposite directions, the direction of the first screen is consistent with the shooting direction of the first camera, and the direction of the second screen is consistent with the shooting direction of the second camera. The electronic device may include multiple functional modules or units for correspondingly executing the display method provided in the first aspect.

[0073] For example, detection unit and display unit.

[0074] A detection unit, configured to determine that the electronic device is in a first preset posture based on a detected first included angle between the second screen and the third screen;

[0075] A display unit, configured to display a first user interface on a first screen based on a first preset posture of the electronic device; a first preview display area of ​​the first user interface is configured to display an image captured by the first camera, and in the first preset posture, the first angle does not include 0° and 180°;

[0076] The detection unit is further used to determine that the electronic device is in a second preset posture based on the detected first angle;

[0077] The display unit is also used to display a second user interface on the second screen based on a second preset posture of the electronic device; the second preview display area of ​​the second user interface is used to display an image captured by the second camera, and under the second preset posture, the first angle does not include 0° and 180°.

[0078] In one implementation, the detection unit is further used to determine that the electronic device is in a third preset posture based on the detected first angle; the display unit is further used to perform split-screen display on the second screen and the third screen based on the third preset posture of the electronic device, and the display content of the second screen includes a third preview display area, and the third preview display area is used to display the image captured by the second camera. Under the third preset posture, the first angle does not include 0° and 180°.

[0079] In one implementation, the above-mentioned displaying the first user interface on the first screen based on the first preset posture of the electronic device includes: when it is detected that the electronic device is in the first preset posture and the electronic device satisfies the first preset condition, starting the first camera to capture images and displaying the first user interface on the first screen; wherein the first preset posture includes a first angle within a first preset range, and the first preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive any input operation acting on the first screen within a second preset time; in the image captured by the camera corresponding to the first screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the first screen, a first preset gesture is detected.

[0080] In one implementation, the second user interface is displayed on the second screen based on the second preset posture of the electronic device, including: when it is detected that the electronic device is in the second preset posture and the electronic device meets the second preset condition, the second camera is started to capture images, and the second user interface is displayed on the second screen; wherein the second preset posture includes a first angle within a second preset range, and the second preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive any input operation acting on the second screen within the second preset time; in the image captured by the camera corresponding to the second screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a second preset gesture is detected.

[0081] In one implementation, the above-mentioned split-screen display on the second screen and the third screen based on the third preset posture of the electronic device includes: when it is detected that the electronic device is in the third preset posture and the electronic device satisfies the third preset condition, the second camera is started to capture images, and split-screen display is performed on the second screen and the third screen; wherein the third preset posture includes that the first angle is within a third preset range, and the third preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in a lit state, the electronic device does not receive any input operation acting on the second screen or the third screen within the second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, the third preset gesture is detected.

[0082] In a fourth aspect, the present application provides an electronic device, the electronic device comprising a first screen, a folding screen and a first camera, the folding screen can be folded along a folding edge to form a second screen and a third screen, the first screen and the second screen are oriented in opposite directions, and the orientation of the first screen is consistent with the shooting direction of the first camera. The electronic device may include multiple functional modules or units for correspondingly executing the display method provided in the second aspect.

[0083] For example, the display unit.

[0084] The display unit is used to start the first camera to capture images and display the first user interface on the first screen when it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition. The first preview display area of ​​the first user interface is used to display the image captured by the first camera; wherein the first preset posture includes that the first angle between the second screen and the third screen is within a first preset range, and the first preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive an input operation acting on the first screen within a second preset time; in the image captured by the camera corresponding to the first screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the first screen, a first preset gesture is detected.

[0085] In the embodiment of the present application, the camera corresponding to the first screen and the first camera may be the same camera or different cameras. Optionally, the camera corresponding to the first screen is a low-power camera.

[0086] In one implementation, the electronic device further includes a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, and when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge. The display unit is also used to, when it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition, start the second camera to capture images and display a second user interface on the second screen, and the second preview display area of ​​the second user interface is used to display the image captured by the second camera; wherein the second preset posture includes the first angle being within a second preset range, and the second preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive an input operation acting on the second screen within a second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a second preset gesture is detected.

[0087] In the embodiment of the present application, the camera corresponding to the second screen and the second camera may be the same camera or different cameras. Optionally, the camera corresponding to the second screen is a low-power camera.

[0088] In one implementation, the electronic device further includes a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, and when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge. The display unit is also used to, when it is detected that the electronic device is in a third preset posture and the electronic device meets a third preset condition, start the second camera to capture images, and split the screen display on the second screen and the third screen, and the display content of the second screen includes a third preview display area, and the third preview display area is used to display the image captured by the second camera; wherein the third preset posture includes the first angle being within a third preset range, and the third preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in a lit state, the electronic device does not receive an input operation acting on the second screen or the third screen within a second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a third preset gesture is detected.

[0089] In one implementation, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is greater than 0° and less than 120°; or, the first preset posture also includes: the second angle is within the fourth preset range, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 180° and less than 300°; or, the first preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the third screen orientation and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 0° and less than 180°.

[0090] In one implementation, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is less than 120°; the above-mentioned display unit displays the first user interface on the first screen, including: the display unit displays the first user interface rotated 180° on the first screen.

[0091] In one implementation, the electronic device also includes a recognition unit, and before the display unit displays the first user interface on the first screen, the recognition unit is used to identify a first area where a preset local feature is located in an image captured by the first camera, and the first preview display area is used to display an enlarged image of the image in the first area.

[0092] In one implementation, the electronic device also includes a receiving unit, and after the display unit displays the first user interface on the first screen, the receiving unit is used to receive a first input operation from the user; the display unit is also used to display the following one or more interface elements in the first user interface in response to the first input operation: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to the face in the image displayed in the first preview display area; the shooting control is used to trigger the electronic device to save the image displayed in the first preview display area; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; and the display frame is used to display an enlarged image of a preset local feature in the image captured by the first camera.

[0093] In one implementation, the first camera is an ultraviolet camera, and the image captured by the first camera is used to highlight the area where sunscreen is applied.

[0094] In one implementation, the display unit is further configured to control the second screen and the third screen to turn off when it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition.

[0095] In one implementation, the second preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is less than 90°, and the angle within the second preset range is greater than 60° and less than 180°; or, the second preset posture also includes: the second angle is within the fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 240° and less than 360°; or, the second preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 180° and less than 360°.

[0096] In one implementation, in the first preset posture and the second preset posture, the first angle does not include 0° and 180°.

[0097] In one implementation, the display unit is further configured to control the first screen to turn off when it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition.

[0098] In one implementation, the third preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the third preset range is greater than 60° and less than 180°.

[0099] In one implementation, the display content of the third screen includes an enlarged image of a preset local feature in the image captured by the second camera.

[0100] In one implementation, the display unit performs split-screen display on a second screen and a third screen, including: the display unit performs split-screen display of a third user interface on a second screen and a third display screen; the display content of the second screen includes a third preview display area of ​​the third user interface, and zero, one or more interface elements in the third user interface except the third preview display area, and the display content of the third screen includes one or more interface elements in the third user interface except the display content of the second screen; the third user interface also includes one or more of the following interface elements: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to a face in an image in the preview display area of ​​the third user interface; the shooting control is used to trigger the electronic device to save the image in the preview display area of ​​the third user interface; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; and the display frame is used to display an enlarged image of a preset local feature in an image captured by the second camera.

[0101] In a fifth aspect, the present application provides an electronic device, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the display method in any possible implementation of any of the above aspects.

[0102] In a sixth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes a display method in any possible implementation of any of the above aspects.

[0103] In a seventh aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute a display method in any possible implementation of any of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0104] Figures 1A to 1F A schematic diagram of the product form of a longitudinally foldable electronic device provided in an embodiment of the present application;

[0105] FIG. 2A to FIG. 2F A schematic diagram of a product form of a horizontally foldable electronic device provided in an embodiment of the present application;

[0106] FIG. 3A to FIG. 3C A schematic diagram of an outer screen of a longitudinally foldable electronic device provided in an embodiment of the present application;

[0107] FIG. 4A to FIG. 4C A schematic diagram of an outer screen of a horizontally foldable electronic device provided in an embodiment of the present application;

[0108] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0109] Fig. 6A A schematic diagram of a geographical marking system provided in an embodiment of the present application;

[0110] Figure 6B A schematic diagram of calculating the angle between screen A and screen B provided in an embodiment of the present application;

[0111] Fig. 7A A schematic diagram of calculating the angle between screen A and the horizontal plane provided in an embodiment of the present application;

[0112] Figure 7B A schematic diagram of calculating the angle between screen B and the horizontal plane provided in an embodiment of the present application;

[0113] Fig. 8A A schematic diagram of a coordinate system of an electronic device provided in an embodiment of the present application;

[0114] Figure 8B A schematic diagram of a coordinate system of another electronic device provided in an embodiment of the present application;

[0115] 9A to 9F A schematic diagram of six bracket states of an electronic device provided in an embodiment of the present application;

[0116] FIG. 10A to FIG. 10C The display interface of the C screen in a specific bracket state provided in the embodiment of the present application;

[0117] FIG. 11A to FIG. 11F A set of user interface schematic diagrams provided for embodiments of the present application;

[0118] FIG. 12A to FIG. 12N Another set of user interface schematic diagrams provided for an embodiment of the present application;

[0119] FIG. 13A to FIG. 13F The display interface of screen A in a specific bracket state provided in an embodiment of the present application;

[0120] FIG. 14A to FIG. 14B The display interface of the inner screen provided in the embodiment of the present application;

[0121] FIG. 15A to FIG. 15F The display interface of the inner screen in a specific bracket state provided in an embodiment of the present application;

[0122] Fig.16 A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0123] Fig.17 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0124] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0125] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0126] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0127] The embodiment of the present application provides a display method of a folding screen, which can be applied to an electronic device 100 with a longitudinal folding screen or a transverse folding screen. Among them, the folding screen of the electronic device 100 can be folded along the folding edge to form at least two screens, such as screen A and screen B. And according to the degree of folding, the folding screen can present a variety of forms. In the embodiment of the present application, the folding screen of the electronic device 100 can present an unfolded form, a forward half-folded form, and a forward folded form. Optionally, the folding screen of the electronic device 100 can also present a reverse half-folded form and a reverse folded form.

[0128] Various forms of electronic devices 100 configured with a vertically foldable screen are introduced below.

[0129] For example, Figures 1A to 1F A product form schematic diagram of an electronic device 100 with a longitudinal folding screen provided in an embodiment of the present application is shown, where the folding edges of the longitudinal folding screen are perpendicular to the top edge line (for ease of description, the top edge line is referred to as the top edge) and the bottom edge line (for ease of description, the bottom edge line is referred to as the bottom edge) of the electronic device 100.

[0130] in, Figure 1A It is a schematic diagram of the unfolded form of the vertical folding screen. Figure 1A The vertical folding screen shown can be folded along the folding edge according to Figure 1A The direction 11a and / or 11b shown are folded inwards to form Figure 1B and Figure 1C The A screen (i.e., the second screen) and the B screen (i.e., the third screen) are shown in a forward half-folded state. When the longitudinal folding screen is folded into the A screen and the B screen, the A screen can be on the same side of the folded edge as the front camera on the electronic device 100. Figure 1C The vertical folding screen shown can be folded along the folding edge according to Figure 1C The directions 11a and 11b shown are further folded inwards to form Figure 1D The vertical folding screen in the forward folding form shown in FIG. Figure 1D As shown, after the longitudinal folding screen of the electronic device 100 is completely folded forward, screen A and screen B are opposite to each other and are invisible to the user.

[0131] In some embodiments, Figure 1A The vertical folding screen shown can also be folded outward along the folding edge to form Figure 1E Panels A and B are shown in reverse half-folded form. Figure 1E The vertical folding screen shown can be folded along the folding edge according to Figure 1E The directions 22a and 22b shown continue to fold outward to form Figure 1F The vertical folding screen in the reverse folding form shown in FIG. Figure 1FAs shown, after the longitudinal folding screen of the electronic device 100 is completely folded in reverse, screen A and screen B are facing each other, and the back of the electronic device 100 (ie, the back of screen A and the back of screen B) is not visible to the user.

[0132] Various forms of electronic devices 100 configured with a horizontally folding screen are introduced below.

[0133] For example, FIG. 2A to FIG. 2F A schematic diagram of the product form of an electronic device 100 with a horizontally folding screen provided in an embodiment of the present application is shown, and the folding edges of the horizontally folding screen are parallel to the top and bottom edges of the electronic device 100.

[0134] in, Figure 2A It is a schematic diagram of the unfolded form of the horizontal folding screen. Figure 2A The horizontal folding screen shown can be folded along the folding edge according to Figure 2A The direction 33a and / or 33b shown are folded inwards to form Figure 2B and Figure 2C The A screen and the B screen are shown in a half-folded forward state. When the horizontal folding screen is folded into the A screen and the B screen, the A screen can be on the same side of the folded edge as the front camera on the electronic device 100. Figure 2C The horizontal folding screen shown can be folded along the folding edge according to Figure 2C The directions 33a and 33b shown continue to fold inwards to form Figure 2D The horizontal folding screen in the forward folding form shown in FIG. Figure 2D As shown, after the horizontal folding screen of the electronic device 100 is completely folded forward, screen A and screen B are opposite to each other and are invisible to the user.

[0135] In some embodiments, Figure 2A The horizontal folding screen shown can also be folded outward along the folding edge to form Figure 2E Panels A and B are shown in reverse half-folded form. Figure 2E The horizontal folding screen shown can be folded along the folding edge according to Figure 2E The directions 44a and 44b shown continue to fold outward to form Figure 2F The horizontal folding screen in the reverse folding form shown in FIG. Figure 2F As shown, after the horizontally foldable screen of the electronic device 100 is completely folded in reverse, screen A and screen B are facing each other, and the back of the electronic device 100 (ie, the back of screen A and the back of screen B) is not visible to the user.

[0136] A display screen (C screen) may also be provided on the back of screen A and / or screen B of the folding screen (vertical folding screen or horizontal folding screen) provided in the embodiment of the present application.

[0137] Among them, the folding screen composed of screen A and screen B is the inner screen of the electronic device 100, and screen A, screen B and the front camera are located on the front of the electronic device 100; screen C (i.e., the second screen) is the outer screen of the electronic device 100, and screen C and the rear camera are located on the back of the electronic device 100.

[0138] In the embodiment of the present application, screen C can be called the first screen, screen A can be called the second screen, and screen B can be called the third screen; screen C is arranged on the back of screen A, and screen C and screen A are oriented in opposite directions. The rear camera corresponding to screen C can be called the first camera, and the front camera corresponding to screen A can be called the second camera. It can be understood that the orientation of screen C is consistent with the shooting direction of the rear camera, and the orientation of screen A is consistent with the shooting direction of the front camera. When the folding screen configured in the inner screen of the electronic device is folded along the folding edge to form screen A and screen B, the front cameras corresponding to screen B and screen A (i.e., the second camera) are located on different sides of the folding edge.

[0139] For example, FIG. 3A to FIG. 3C A schematic diagram of an outer screen of an electronic device 100 in which an inner screen is configured as a vertically folding screen is shown. FIG. 4A to FIG. 4C A schematic diagram of an outer screen of an electronic device 100 in which the inner screen is configured as a horizontally folding screen is shown.

[0140] For example, Figure 3A and Figure 3B As shown, a C screen may be provided on the back of the A screen in the vertical folding screen of the electronic device 100. Figure 4A and Figure 4B As shown, a C screen may be provided on the back of the A screen in the horizontal folding screen of the electronic device 100. Figure 3B and Figure 4B As shown, after the folding screen corresponding to the inner screen is completely folded forward, screens A and B are invisible to the user, and screen C is located on the back of screen A and is visible to the user. Screen C can be on the same side of the folding edge as the rear camera of the electronic device 100.

[0141] For example, Figure 3C As shown, a vertically foldable C screen can be provided on the back of the inner screen A screen and the inner screen B screen. Figure 4C As shown, a horizontally foldable C screen can be set on the back of the inner screen A screen and B screen. Figure 3C and Figure 4C It can be seen that when the inner screen of the electronic device 100 (i.e. the folding screen composed of screen A and screen B) is in the unfolded form, the outer screen (i.e. screen C) is also in the unfolded form; when the inner screen of the electronic device 100 is folded, the outer screen is also folded accordingly; when the inner screen of the electronic device 100 is in the folded form, the outer screen is also in the folded form.

[0142] It can be understood that for the electronic device 100 with a C screen, when the inner screen (i.e., the folding screen composed of the A screen and the B screen) is in a folded form, the electronic device 100 can display the user interface on the C screen; when the inner screen is in a semi-folded form and an unfolded form, the electronic device 100 can display the user interface on the A screen, the B screen and / or the C screen.

[0143] In some embodiments, the folding screen of the electronic device 100 may surround the electronic device 100 , and the above-mentioned screen A, screen B, and screen C may all be part of the folding screen.

[0144] In an embodiment of the present application, the electronic device 100 can determine the form of the folding screen of the inner screen configuration based on the detected angle α (first angle) between the A screen and the B screen. In some embodiments, the angle α between the A screen and the B screen of the folding screen (vertical folding screen or horizontal folding screen) of the electronic device 100 takes a value range of [0°, 180°], and the electronic device 100 cannot be folded in the reverse direction. In some embodiments, the angle α between the A screen and the B screen of the folding screen (vertical folding screen or horizontal folding screen) of the electronic device 100 takes a value range of [0°, 360°], and the electronic device 100 can be folded both forward and reverse.

[0145] It should be noted that, in the embodiment of the present application, the angle α between screen A and screen B may also be referred to as the first angle.

[0146] Exemplarily, the value range of α is [0°, 360°]. When the angle α∈[0°, P1), the electronic device 100 can determine that the folding screen is in a forward folding state; when the angle α∈[P1, P2), the electronic device 100 can determine that the folding screen is in a forward semi-folding state; when the angle α∈[P2, P3), the electronic device 100 can determine that the folding screen is in an unfolded state; when α∈[P3, P4), the electronic device 100 can determine that the folding screen is in a reverse semi-folding state; when the angle α∈[P4, 360), the electronic device 100 can determine that the folding screen is in a reverse folding state. Among them, 0°<P1<P2<180°<P3<P4<360°. P1, P2, P3 and P4 are preset angle thresholds. P1, P2, P3 and P4 can be set by the user in the electronic device 100, or set by default by the electronic device 100.

[0147] In some embodiments, the difference between P1 and 0°, the difference between P2 and 180°, the difference between P3 and 180°, and the difference between P4 and 360° are all preset error values ​​set by the electronic device 100 or the user. For example, if the preset error value is equal to 2°, P1, P2, P3, and P4 are 2°, 178°, 172° for P3, and 358° for P4, respectively.

[0148] In some embodiments, P1, P2, P3 and P4 may be determined according to the user's usage habits of the folding screen. Exemplarily, according to the usage habits of most users, when the angle α between screen A and screen B is less than 50 degrees, the user is more likely to not use screen A or screen B; when the angle α between screen A and screen B is greater than 50° and less than or equal to 160° (or α is greater than 190° and less than or equal to 280°), the user is more likely to use screen A and screen B to display different display contents; when the angle α between screen A and screen B is greater than 160° and less than or equal to 190°, the user is more likely to use screen A and screen B as a whole (i.e., as a complete display screen); when the angle between screen A and screen B is greater than 280° and less than or equal to 360°, the user is more likely to use screen A or screen B alone. Based on the above usage habits, the value range of P1 can be (0, 40°], the value range of P2 can be [160°, 180°), the value range of P3 can be [180°, 190°), and the value range of P4 can be [280°, 360°). For example, P1 is 30°, P2 is 170°, P3 is 185°, and P4 is 300°.

[0149] It should be noted that the at least two display screens formed after the folding screen in the embodiment of the present application is folded can be multiple independent display screens, or can be a complete display screen with an integrated structure, which is just folded into at least two parts.

[0150] For example, the folding screen may be a flexible folding screen, and the flexible folding screen includes a folding edge made of a flexible material. Part or all of the flexible folding screen is made of a flexible material. The at least two screens formed after the flexible folding screen is folded are a complete screen of an integrated structure, but are folded to form at least two parts.

[0151] For another example, the folding screen may be a multi-screen folding screen. The multi-screen folding screen may include multiple (two or more) display screens. The multiple display screens are multiple separate display screens. The multiple display screens may be connected in sequence through folding axes. Each screen may rotate around the folding axis connected thereto to achieve folding of the multi-screen folding screen.

[0152] In the subsequent embodiments of the present application, a folding screen that is a flexible folding screen that can be folded horizontally will be taken as an example to illustrate the display method provided in the embodiments of the present application.

[0153] The electronic device 100 provided in the embodiment of the present application is described below with reference to the accompanying drawings.

[0154] The electronic device 100 may be a terminal device equipped with iOS, Android, Microsoft or other operating systems. For example, the electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, and the like including the above-mentioned folding screen device. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device 100.

[0155] For example, Figure 5 1 shows a schematic diagram of the structure of the electronic device 100. Figure 5 As shown, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0156] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0157] 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 processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0158] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0159] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0160] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, and / or a universal serial bus (USB) interface, etc.

[0161] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, 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, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0162] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0163] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0164] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0165] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

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

[0167] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0168] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

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

[0170] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0171] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0172] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0173] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0174] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0175] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0176] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through 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, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0177] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0178] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0179] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0180] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0181] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can 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, and then passes the electrical signal to the ISP to be converted 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 RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0182] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0183] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0184] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0185] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0186] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.

[0187] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; can be divided into single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; can be divided into universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.

[0188] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0189] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0190] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0191] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0192] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0193] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0194] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0195] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.

[0196] The earphone jack 170D is used to connect a wired earphone.

[0197] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.

[0198] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0199] It should be noted that the coordinate system of the gyroscope sensor is the geographic coordinate system. Fig. 6A As shown, the origin O of the geographic coordinate system is located at the point where the carrier (i.e., the device containing the gyroscope sensor, such as the electronic device 100) is located, the X-axis points to the east (E) along the local latitude, the Y-axis points to the north (N) along the local meridian, and the Z-axis points upward along the local geographic vertical line, and forms a right-handed rectangular coordinate system with the X-axis and the Y-axis. Among them, the plane formed by the X-axis and the Y-axis is the local horizontal plane, and the plane formed by the Y-axis and the Z-axis is the local meridian plane. Therefore, it can be understood that the coordinate system of the gyroscope sensor is: with the gyroscope sensor as the origin O, the X-axis points east along the local latitude, the Y-axis points north along the local meridian, and the Z-axis points upward along the local geographic vertical line (i.e., the direction of the geographic vertical line).

[0200] In the embodiment of the present application, the display screen 194 of the electronic device 100 can be folded to form multiple display screens. Each screen can be provided with a gyroscope sensor 180B for measuring the orientation of the display screen (i.e., a direction vector perpendicular to the display screen and pointing from the inside of the electronic device 100 to the outside). The electronic device 100 can determine the angle between adjacent screens based on the orientation change of each display screen measured by the gyroscope sensor 180B.

[0201] refer to Figures 1A to 2F, the display screen 194 of the electronic device 100 can be folded to form adjacent screen A and screen B. Screen A is provided with a gyro sensor A, and the electronic device 100 can measure the orientation of screen A through the gyro sensor A; screen B is provided with a gyro sensor B, and the electronic device 100 can measure the orientation of screen B through the gyro sensor B. The electronic device 100 can determine the angle α between screen A and screen B according to the measured orientation changes of screen A and screen B. The principle of obtaining the angle α is specifically described below.

[0202] For example, Figure 6B FIG. 1 is a schematic diagram showing the angle α between screen A and screen B. Figure 6B As shown, the electronic device 100 uses the gyro sensor A to measure the orientation of the A screen as the vector The direction of screen B is measured by gyro sensor B as vector z2. Perpendicular to screen A, vector The electronic device 100 uses the following formula (1) to calculate the vector With vector The included angle θ, and then the electronic device 100 can determine that the included angle α between screen A and screen B is 180°-θ.

[0203]

[0204] It should be noted that although the positions of gyro sensor A in screen A and gyro sensor B in screen B do not overlap, that is, the origins of the coordinate systems of the two gyro sensors do not overlap, the two X axes of the two coordinate systems are parallel, the two Y axes are parallel, and the two Z axes are also parallel. and vector is measured by different gyro sensors in different coordinate systems. However, since the axes of the coordinate systems of the two gyro sensors are parallel, the electronic device 100 can calculate the vector by the above formula (1): With vector The angle θ.

[0205] In some embodiments, the electronic device 100 measures the angle between adjacent screens of the folding screen, such as the angle α between screen A and screen B, through one or more acceleration sensors. For example, an acceleration sensor may be provided in each display screen of the folding screen. The electronic device 100 (such as the processor 110) may use an acceleration sensor to measure the motion acceleration of each display screen when it is rotated; and then calculate the angle of rotation of one display screen relative to another display screen, such as the angle α between screen A and screen B, based on the measured motion acceleration.

[0206] In some embodiments, the gyroscope sensor may be a virtual gyroscope sensor formed by cooperation of multiple other sensors. The virtual gyroscope sensor may be used to calculate the angle between adjacent screens of the folding screen, such as the angle α between screen A and screen B.

[0207] In other embodiments, an angle sensor is installed at the folding portion of the electronic device 100 (for example, on the hinge), and the electronic device 100 can use the angle sensor to measure the angle between adjacent screens of the folding screen, such as the angle α between screen A and screen B.

[0208] In the embodiment of the present application, the electronic device 100 can also measure the angle β1 between the A screen and the horizontal plane through the above-mentioned gyroscope sensor A, and measure the angle β2 between the B screen and the horizontal plane through the above-mentioned gyroscope sensor B.

[0209] For example, Fig. 7A The coordinate system of the gyro sensor A of the A screen of the electronic device 100 is shown. The XOY plane formed by the X-axis and the Y-axis is the local horizontal plane, and the plane formed by the Y-axis and the Z-axis is the local meridian plane. The orientation of the A screen of the electronic device 100 in the coordinate system of the gyro sensor A is the vector vector The angle γ1 with the XOY plane (i.e. the horizontal plane) is in the following relationship: Among them, the A screen of the electronic device 100 and the vector Vertically, the angle β1 and the angle γ1 between the plane where the screen A of the electronic device 100 is located and the horizontal plane are complementary, that is, β1+γ1=90°. It can be seen that: the angle β1 and the vector And there is the following relationship: in,

[0210]

[0211] For example, Figure 7B The coordinate system of the gyro sensor B of the upper B screen of the electronic device 100 is shown. The XOY plane formed by the X-axis and the Y-axis is the local horizontal plane, and the plane formed by the Y-axis and the Z-axis is the local meridian plane. The orientation of the B screen of the electronic device 100 in the coordinate system of the gyro sensor is the vector vector The angle γ2 with the XOY plane (i.e. the horizontal plane) has the following relationship: Among them, the B screen of the electronic device 100 and the vector Vertically, the angle β2 and the angle γ2 between the plane where the B screen of the electronic device 100 is located and the horizontal plane are complementary, that is, β2+γ2=90°. The following relationship exists: in,

[0212]

[0213] In summary, the electronic device 100 uses the gyroscope sensor A to measure the orientation of the A screen and the vector Then, the angle β1 between screen A and the horizontal plane can be determined by using the above formula (2). In summary, the vector corresponding to the orientation of screen B measured by the gyro sensor B of the electronic device 100 is Then, the angle β2 between screen B and the horizontal plane can be determined using the above formula (3).

[0214] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0215] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 100 and applied to applications such as horizontal and vertical screen switching and pedometers.

[0216] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0217] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode.

[0218] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.

[0219] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0220] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.

[0221] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0222] Bone conduction sensor 180M can obtain vibration signals.

[0223] The buttons 190 include a power button, a volume button, etc. The buttons 190 may be mechanical buttons or touch buttons.

[0224] Motor 191 can generate vibration prompts.

[0225] Indicator 192 may be an indicator light, which may be used to indicate charging status, charge change, messages, notifications, etc.

[0226] The SIM card interface 195 is used to connect a SIM card.

[0227] The display direction of the C screen of the electronic device 100 involved in the embodiment of the present application is introduced below.

[0228] In the embodiment of the present application, the electronic device 100 can determine the display direction of the user interface 1 corresponding to the C screen according to the detected physical posture of the C screen.

[0229] Exemplary, reference Fig. 8A The electronic device 100 is shown as being folded horizontally. Figure 8B In the vertically folded electronic device 100 shown, the four sides of the C screen include a first side, a second side, a third side and a fourth side, and the first side and the second side of the C screen are parallel to the folded side of the electronic device 100. The display direction of the user interface 1 corresponding to the C screen includes one or more of display direction 1, display direction 2, display direction 3 and display direction 4.

[0230] Display direction 1 means: the top and bottom edges of user interface 1 are parallel to the first edge, and the top edge of user interface 1 is closer to the first edge than the bottom edge of user interface 1. Display direction 2 means: the top and bottom edges of user interface 1 are parallel to the first edge, and the bottom edge of user interface 1 is closer to the first edge than the top edge of user interface 1. Display direction 3 means: the two side edges (left edge and right edge) of user interface 1 are parallel to the first edge, and the right edge of user interface 1 is closer to the first edge than the left edge of user interface 1. Display direction 4 means: the two side edges (left edge and right edge) of user interface 1 are parallel to the first edge, and the left edge of user interface 1 is closer to the first edge than the right edge of user interface 1.

[0231] In the embodiment of the present application, the physical posture of the electronic device 100 may include: a first physical posture, a second physical posture, a third physical posture and a fourth physical posture.

[0232] In some embodiments, when the detection electronic device 100 is in a first physical posture, the display direction of the user interface 1 corresponding to the C screen is controlled to be display direction 1; when the detection electronic device 100 is in a second physical posture, the display direction of the user interface 1 corresponding to the C screen is controlled to be display direction 2; when the detection electronic device 100 is in a third physical posture, the display direction of the user interface 1 corresponding to the C screen is controlled to be display direction 3; when the detection electronic device 100 is in a fourth physical posture, the display direction of the user interface 1 corresponding to the C screen is controlled to be display direction 4.

[0233] In some embodiments, reference Fig. 7A In the horizontally folded electronic device 100 shown, the default display direction of the C screen of the electronic device 100 is display direction 1. When the electronic device 100 is in a first physical posture, the electronic device 100 displays the user interface 1 corresponding to the C screen according to the default display direction of the C screen. When the electronic device 100 is in a second physical posture, the electronic device 100 rotates the user interface corresponding to the C screen by 180° before displaying it.

[0234] In some embodiments, reference Fig. 7A In the horizontally folded electronic device 100 shown, the default display direction of the C screen of the electronic device 100 is display direction 2. When the electronic device 100 is in the second physical posture, the electronic device 100 displays the user interface of the C screen according to the default display direction of the C screen; when the electronic device 100 is in the first physical posture, the electronic device 100 rotates the user interface of the C screen by 180° before displaying it.

[0235] In some embodiments, reference Figure 7BIn the longitudinally folded electronic device 100 shown, the default display direction of the C screen of the electronic device 100 is display direction 3. When the electronic device 100 is in the third physical posture, the electronic device 100 displays the user interface 1 corresponding to the C screen according to the default display direction of the C screen. When the electronic device 100 is in the first physical posture, the electronic device 100 rotates the user interface corresponding to the C screen by 90° before displaying it. When the electronic device 100 is in the fourth physical posture, the electronic device 100 rotates the user interface corresponding to the C screen by 180° before displaying it. When the electronic device 100 is in the second physical posture, the electronic device 100 rotates the user interface corresponding to the C screen by 270° (or -90°) before displaying it.

[0236] In this way, through the above embodiment, the display direction of the user interface corresponding to the C screen can be adaptively adjusted with the physical posture of the electronic device 100, so as to facilitate user viewing and effectively improve the user experience. Similarly, in the embodiment of the present application, the display direction of the user interface corresponding to the A screen, the B screen and the inner screen can also be adaptively adjusted with the physical posture of the electronic device 100. It can be understood that the default display directions of the A screen, the B screen and the inner screen are generally: the top edge of the user interface is parallel to the top edge of the electronic device 100, and relative to the bottom edge of the user interface, the top edge of the user interface is closer to the top edge of the electronic device 100.

[0237] The following describes how to determine which physical posture the C screen is in.

[0238] In the embodiment of the present application, the C screen, the A screen and the gyro sensor A are arranged on the same side of the folded edge, and the gyro sensor A can detect the physical posture of the A screen, and can also be used to detect the physical posture of the C screen. The A screen and the C screen may share a set of coordinate systems of the electronic device 100, or may not share a set of coordinate systems of the electronic device 100. The following is an example in which the A screen and the C screen share a set of coordinate systems of the electronic device 100.

[0239] For example, Fig. 8A and Figure 8B 1 shows the three-axis coordinate system of the A screen (or C screen) of the electronic device 100. Fig. 8A and Figure 8B As shown, when screen A faces the user, the x1 axis of the three-axis coordinate system of screen A is perpendicular to the left side of screen A, and points from the left side of screen A to the right side of screen A; the y1 axis of the three-axis coordinate system of screen A is perpendicular to the bottom edge of screen A, and points from the bottom edge of screen A to the top edge of screen A; the z1 axis of the three-axis coordinate system of screen A is used to indicate the orientation of the aforementioned screen A, and the z1 axis is perpendicular to screen A.

[0240] In some embodiments, reference Fig. 8A In the horizontally folded electronic device 100 shown, the gyroscope sensor A can detect the vector corresponding to the y1 axis When the angle β4 between the projection of the y1 axis on the local meridian plane (i.e., the YOZ plane of the geographic coordinate system) and the Z axis of the geographic coordinate system is within the preset range 11, the electronic device 100 determines that the C screen is in the first physical posture. When the angle β4 is within the preset range 12, the electronic device 100 determines that the C screen is in the third physical posture. When the angle β4 is within the preset range 13, the electronic device 100 determines that the C screen is in the second physical posture. When the angle β4 is within the preset range 12, the electronic device 100 determines that the C screen is in the fourth physical posture. For example, the preset range 11 is [-45°, 45°), the preset range 12 is [45°, 135°), the preset range 13 is [135°, 225°), and the preset range 14 is [-45°, -135°).

[0241] In some embodiments, reference Figure 8B In the vertically folded electronic device 100 shown, the gyroscope sensor A can detect the vector corresponding to the y1 axis When the angle β4 between the projection of the y1 axis on the local meridian plane (i.e., the YOZ plane of the geographic coordinate system) and the Z axis of the geographic coordinate system is within the preset range 11, the electronic device 100 determines that the C screen is in the third physical posture. When the angle β4 is within the preset range 12, the electronic device 100 determines that the C screen is in the second physical posture. When the angle β4 is within the preset range 13, the electronic device 100 determines that the C screen is in the fourth physical posture. When the angle β4 is within the preset range 14, the electronic device 100 determines that the C screen is in the first physical posture.

[0242] The implementation method of determining the physical posture of the electronic device 100 is not limited to the above, and the embodiment of the present application can also determine which physical posture the C screen is in through other implementation methods, which are not specifically limited here. For example, the electronic device 100 uses a gyroscope sensor and an acceleration sensor to detect the pitch angle (i.e., the angle of rotation of the C screen around the x1 axis), the roll angle (i.e., the angle of rotation of the C screen around the y1 axis), and the yaw angle (i.e., the angle of rotation of the C screen around the z1 axis) of the C screen, and then the physical posture of the C screen can be determined based on the pitch angle, roll angle, and yaw angle of the C screen.

[0243] refer to Figure 8B The electronic device 100 shown is folded vertically. According to the user's usage habits, the default display direction of the electronic device 100 in this form is usually display direction 3. Fig. 8AThe horizontally foldable electronic device 100 shown, according to the user's usage habit, the default display direction of the electronic device 100 in this form is usually the display direction 2. It should be noted that the display method provided in the subsequent embodiments is described by taking the horizontally foldable electronic device 100 with the default display direction of the C screen being the display direction 2 as an example. The horizontally foldable electronic device 100 with other default display directions and the vertically foldable electronic device 100 are also applicable to the display method provided in the embodiments of the present application.

[0244] See 9A to 9F , the following introduces several bracket states involved in the electronic device 100 in the embodiments of the present application.

[0245] In some embodiments, when the electronic device 100 detects that the included angle β2 between the B screen and the horizontal plane is within the preset range 15 (i.e., [0, f1], for example, f1 = 10°), the vector corresponding to the B screen The included angle β5 with the Z-axis of the geographic coordinate system is less than 90 degrees, and when the included angle α between the A screen and the B screen is within the preset range 16 (i.e., [f2, f3]), it is determined that the electronic device 100 is in the first bracket state. Among them, 0° < f2 < f3 ≤ 90°, for example, f2 = 20°, f3 = 90°. Exemplarily, Fig.9A shows a schematic diagram of a first bracket state of the electronic device 100.

[0246] In some embodiments, when the electronic device 100 detects that the included angle β2 between the B screen and the horizontal plane is within the preset range 15 (i.e., [0, f1], for example, f1 = 10°), the vector corresponding to the B screen The included angle β5 with the Z-axis of the geographic coordinate system is less than 90 degrees, and when the included angle α between the A screen and the B screen is within the preset range 17 (i.e., [f4, f5]), it is determined that the electronic device 100 is in the second bracket state. Among them, 90° ≤ f4 < f5 < 180°, for example, f4 = 90°, f5 = 160°. Exemplarily, Fig. 9C shows a schematic diagram of a second bracket state of the electronic device 100.

[0247] It can be understood that, see Fig.9A and Fig. 9C , in the first bracket state and the second bracket state, the B screen of the electronic device 100 is placed horizontally (or nearly horizontally) upward, and the electronic device 100 is in the forward half-folded state.

[0248] In some embodiments, when the electronic device 100 detects that the included angle β2 between the B screen and the horizontal plane is within the preset range 15, the vector corresponding to the B screen When the angle β5 between the vector corresponding to the B screen and the Z-axis of the geographical coordinate system is greater than 90 degrees, and the angle α between the A screen and the B screen is within a preset range 18 (i.e., [f6, f7]), it is determined that the electronic device 100 is in the third bracket state. Wherein, 180° < f6 < f7 ≤ 270°, for example, f6 = 200°, f7 = 270°. Exemplarily, Fig.9D FIG. shows a schematic diagram of a third bracket state of the electronic device 100.

[0249] In some embodiments, when the electronic device 100 detects that the angle β2 between the B screen and the horizontal plane is within a preset range 15, the vector corresponding to the B screen When the angle β5 between the vector corresponding to the B screen and the Z-axis of the geographical coordinate system is greater than 90 degrees, and the angle α between the A screen and the B screen is within a preset range 19 (i.e., [f8, f9]), it is determined that the electronic device 100 is in the fourth bracket state. Wherein, 270° ≤ f8 < f9 < 360°, for example, f8 = 270°, f9 = 340°. Exemplarily, Fig. 9B FIG. shows a schematic diagram of a fourth bracket state of the electronic device 100.

[0250] It can be understood that referring to Fig.9D and Fig. 9B , in the third bracket state and the fourth bracket state, the B screen is placed horizontally (or nearly horizontally) downward, and the electronic device 100 is in a reverse half-folded state.

[0251] It should be noted that in the first bracket state, the second bracket state, the third bracket state, and the fourth bracket state, the C screen is in the first physical posture, and the display direction of the user interface corresponding to the C screen is the display direction 1.

[0252] In some embodiments, when the electronic device 100 detects that the difference between the angle β1 between the A screen and the horizontal plane and the angle β2 is within a preset range 20 (i.e., [0°, f10°], for example, f10° = 5°), the vector corresponding to the B screen When the angle β5 between the vector corresponding to the B screen and the Z-axis of the geographical coordinate system is greater than 90 degrees, and the angle α between the A screen and the B screen is within a preset range 21 (i.e., [f11, f12]), the electronic device 100 is in the fifth bracket state. Wherein, 0° < f11 < f12 < 180°, for example, f11 = 30°, f12 = 150°. Exemplarily, Fig.9E FIG. shows a schematic diagram of a fifth bracket state of the electronic device 100. It can be understood that in the fifth bracket state, the plane formed by the top edge and the bottom edge of the electronic device 100 is the horizontal plane or nearly the horizontal plane, and the electronic device 100 is in a forward half-folded state.

[0253] In some embodiments, when the electronic device 100 detects that the difference between the angle β1 between the A screen and the horizontal plane and the angle β2 is within a preset range 22, the vector corresponding to the B screen The included angle β5 with the Z-axis of the geographic coordinate system is less than 90 degrees, and when the included angle α between the A screen and the B screen is within the preset range 22 (i.e., [f13, f14]), the electronic device 100 is in the sixth bracket state. Among them, 180° < f13 < f14 < 360°, for example, f13 = 210°, f14 = 330°. Exemplarily, Fig.9F FIG. shows a schematic diagram of a sixth bracket state of the electronic device 100. It can be understood that in the sixth bracket state, the plane formed by the top edge and the bottom edge of the electronic device 100 is a horizontal plane or close to a horizontal plane, and the electronic device 100 is in a reverse semi-folded state.

[0254] It should be noted that in the fifth and sixth bracket states, the C screen is in the second physical posture, and the display direction of the user interface corresponding to the C screen is display direction 2.

[0255] In the above six bracket states, there is no need to install an additional bracket device (such as a mobile phone bracket) for the electronic device 100. With both hands liberated, users can more conveniently view the content displayed on the display screen.

[0256] Exemplarily, placing the electronic device 100 in the first bracket state can facilitate users to view the display content of the C screen with both hands liberated; placing the electronic device 100 in the second bracket state can facilitate users to view the display content of the A screen and the B screen with both hands liberated; placing the electronic device 100 in the third bracket state can facilitate users to view the display content of the C screen with both hands liberated. Placing the electronic device 100 in the fourth bracket state can facilitate users to view the display content of the A screen with both hands liberated. Placing the electronic device 100 in the fifth bracket state can facilitate users to view the display content of the C screen with both hands liberated. Placing the electronic device 100 in the sixth bracket state can facilitate users to view the display content of the A screen or the B screen with both hands liberated.

[0257] In the display method provided in the embodiment of the present application, when the electronic device 100 detects that the electronic device 100 is in a preset posture and meets the preset conditions, the electronic device 100 starts the camera 1 corresponding to the display screen 1 corresponding to the above preset posture to collect images, and displays the collected images on the display screen 1. It can be understood that the preset posture of the electronic device 100 can facilitate the user to view the display content of the display screen 1 (i.e., at least one of the A screen, the B screen, and the C screen) corresponding to the above preset posture. For example, the display screen 1 displays including the C screen (i.e., the first screen), and the C screen corresponds to the rear camera (i.e., the first camera). For example, the display screen 1 displays including the A screen (i.e., the second screen), and the A screen corresponds to the front camera (i.e., the second camera). In the embodiment of the present application, after the user places the electronic device 100 in the preset posture, the user can start the camera corresponding to the above preset posture to take a selfie with both hands free, and preview in real time through the display screen corresponding to the above preset posture, avoiding cumbersome user operations and effectively improving the user experience.

[0258] Based on the introduction of the hardware structure, display direction and support status of the electronic device 100 in the foregoing embodiment, the display method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0259] The following takes the display screen 1 as screen C (i.e., the first screen) as an example to introduce the display method provided in the embodiment of the present application.

[0260] In some embodiments, when it is detected that the electronic device 100 is in a first preset posture and the electronic device 100 meets a first preset condition, the electronic device 100 displays the user interface 11 on screen C. The first preset posture includes: the angle α between screens A and B is within a first preset range. Optionally, the electronic device 100 also controls screen A and / or screen B to turn off.

[0261] It should be noted that controlling screen A (or screen B) to turn off means: if screen A is in an off state, then keep the off state; if screen A is in a lit state, then control screen A to switch to an off state. Displaying user interface 11 on screen C means: if screen C is in an off state, then light up screen C and display user interface 11; if screen C is displaying user interface 12, then switch the display content of screen C to user interface 11. In one implementation, when the electronic device 100 controls the outer screen (i.e., screen C) to turn on, it also controls the inner screen (i.e., screen A and screen B) to turn off; when the electronic device 100 controls the inner screen to turn on, it also controls the outer screen to turn off. In this way, energy consumption can be effectively saved.

[0262] In some embodiments, after the electronic device 100 controls the C screen to display the user interface 11, it automatically starts the gesture detection service of the rear low-power camera corresponding to the C screen, and uses the above low-power camera to detect the user's air gesture operation in real time. In response to the detected air gesture operation, the electronic device 100 can execute the response event corresponding to the above air gesture operation. In this way, after the electronic device 100 controls the C screen to display the user interface 11, it can continue to free the user's hands and further realize contactless air interaction.

[0263] In some embodiments, if the current screen C is off, the user interface 11 may be the user interface most recently displayed before the screen C is off. In some embodiments, the user interface 11 is the initial interface corresponding to the screen C. In some embodiments, the user interface 11 is the user interface most recently displayed on the inner screen (i.e., the display screen composed of the screens A and B), so that the outer screen can display the inner screen continuously.

[0264] In some embodiments, before the electronic device 100 displays the user interface 11, the rear camera (i.e., the first camera) corresponding to the C screen is started to capture images, and the preview display area of ​​the user interface 11 is used to display the image captured by the rear camera (i.e., the first camera) in real time. It can be understood that the image captured by the rear camera in real time is the preview image in the user interface 11. It should be noted that when the C screen corresponds to multiple rear cameras, the user interface 11 includes: images captured by the electronic device 100 through one or more cameras among the above-mentioned multiple rear cameras. Optionally, images captured by the camera with the highest number of pixels among the above-mentioned multiple rear cameras. Optionally, images captured by a macro camera among the above-mentioned multiple rear cameras.

[0265] It should be noted that, in the embodiment of the present application, the user interface 11 displayed on the C screen can be referred to as a first user interface, and the preview display area of ​​the user interface 11 displayed on the C screen can be referred to as a first preview display area.

[0266] It should be noted that in the embodiment of the present application, the rear low-power camera corresponding to the C screen and the first camera can be the same camera or different cameras, and no specific limitation is made here.

[0267] The first preset condition mentioned above is introduced below.

[0268] In some embodiments, the first preset condition includes that the pause time of the electronic device 100 at the current angle value reaches a first preset time, for example, the first preset time is 3 seconds.

[0269] In some embodiments, when the C screen is in the lighted state, the first preset condition further includes that the electronic device 100 does not receive any input operation from the user on the C screen within a second preset time. For example, the second preset time is 2s.

[0270] In some embodiments, the above-mentioned first preset condition also includes that the electronic device 100 detects a face (or the face of a preset user) through the rear camera corresponding to the C screen. Specifically, the electronic device 100 turns on the face detection service of the low-power camera corresponding to the C screen, and uses a face recognition algorithm to detect whether the image collected by the above-mentioned low-power camera includes a face (or the face of a preset user). Optionally, after the electronic device 100 is turned on, the electronic device 100 turns on the face detection service of the low-power camera corresponding to the C screen. Optionally, when the electronic device 100 is in the first preset posture, the electronic device 100 turns on the face detection service of the low-power camera corresponding to the C screen. Optionally, when the electronic device 100 is in the first preset posture and satisfies other conditions included in the first preset condition, the electronic device 100 turns on the face detection service of the low-power camera corresponding to the C screen.

[0271] In some embodiments, the first preset condition further includes that the electronic device 100 detects a first preset gesture through the rear camera corresponding to the C screen. The first preset gesture is used to trigger the C screen to display the user interface 11 when the electronic device 100 is in the first preset posture. Specifically, the electronic device 100 turns on the gesture detection service of the low-power camera corresponding to the C screen, and uses a gesture recognition algorithm to detect whether the image captured by the low-power camera includes a preset gesture. Optionally, after the electronic device 100 is turned on, the electronic device 100 turns on the gesture detection service of the low-power camera corresponding to the C screen. Optionally, when the electronic device 100 is in the first preset posture, the electronic device 100 turns on the gesture detection service of the low-power camera corresponding to the C screen. Optionally, when the electronic device 100 is in the first preset posture and satisfies other conditions included in the first preset condition, the electronic device 100 turns on the gesture detection service of the low-power camera corresponding to the C screen.

[0272] In some embodiments, the first preset range includes at least one of a preset range 16 (ie, [f2, f3]), a preset range 18 (ie, [f6, f7]), and a preset range 21 (ie, [f11, f12]).

[0273] The first preset posture is introduced below.

[0274] In some embodiments, the first preset posture specifically includes: the included angle α between screen A and screen B decreases to (and / or increases to) α1, and α1 is within a first preset range.

[0275] In some embodiments, in the first preset posture, the first preset range does not include 0° and 180°.

[0276] In some embodiments, the first preset posture also includes the electronic device 100 being in the first support state. In the first preset posture, the first preset range is [d1, d2], [d1, d2] is within the preset range 16 (ie, [f2, f3]), that is, f2≤d1≤d2≤f3. For example, refer to Fig. 10A , the angle α between screen A and screen B is within [d1, d2], the electronic device 100 controls the inner screen to turn off, and displays the user interface 11 rotated 180° on screen C, the user interface 11 includes the image captured by the rear camera. Optionally, the angle within the first preset range is greater than 0° and less than 120°.

[0277] In some embodiments, the first preset posture also includes the electronic device 100 being in the third support state. In the first preset posture, the first preset range is [d3, d4], and [d3, d4] is within the preset range 18 (ie, [f6, f7]), that is, f6≤d3≤d4≤f7. For example, refer to Fig. 10B , the angle α between screen A and screen B is within [d3, d4], the electronic device 100 controls the inner screen to turn off, and displays the user interface 11 rotated 180° on screen C, the user interface 11 includes the image captured by the rear camera. Optionally, the angle within the first preset range is greater than 180° and less than 300°.

[0278] In some embodiments, the first preset posture also includes the electronic device 100 being in the fifth bracket state. In the first preset posture, the first preset range is [d5, d6], and [d5, d6] is within the preset range 21 (ie, [f11, f12]), that is, f11≤d5≤d6≤f12. For example, refer to Fig. 10C , the angle α between screen A and screen B is within [d5, d6], the electronic device 100 controls the inner screen to turn off, and displays the user interface 11 on screen C in the default display direction, and the user interface 11 includes the image captured by the rear camera. Optionally, the angle within the first preset range is greater than 0° and less than 180°.

[0279] It should be noted that, since the default display direction of the C screen is display direction 2, when the electronic device 100 is in the first bracket state and the third bracket state, the display direction corresponding to the C screen is display direction 1. Therefore, Fig. 10A and Fig. 10B The electronic device 100 shown rotates the user interface 11 by 180° and then displays it on the C screen.

[0280] The following describes several situations in which the C screen stops displaying the user interface 11 after the C screen displays the user interface 11.

[0281] In some embodiments, see Fig. 10A, after controlling the C screen of the electronic device 100 that meets the first preset condition in the first bracket state to display the user interface 11, when the electronic device 100 detects that the angle α between the A screen and the B screen exceeds [d1, d2], or detects that the electronic device 100 is out of the first bracket state, or detects that the electronic device 100 is folded into an unfolded form, the electronic device 100 stops displaying the user interface 11 on the C screen. For example, when the user continues to fold the electronic device 100 in the first bracket state so that the angle α is less than 5°, the electronic device 100 stops displaying the user interface 11 on the C screen. For example, when the user continues to unfold the electronic device 100 in the first bracket state so that the angle α is greater than 90°, the electronic device 100 stops displaying the user interface 11 on the C screen.

[0282] In some embodiments, see Fig. 10B After controlling the C screen of the electronic device 100 that meets the first preset condition in the third bracket state to display the user interface 11, when the electronic device 100 detects that the angle α between the A screen and the B screen exceeds [d3, d4], or detects that the electronic device 100 is out of the third bracket state, or detects that the electronic device 100 is folded into an unfolded form, the electronic device 100 stops displaying the user interface 11 on the C screen.

[0283] In some embodiments, see Fig. 10B After controlling the C screen of the electronic device 100 that meets the first preset condition in the fifth bracket state to display the user interface 11, when the electronic device 100 detects that the angle α between the A screen and the B screen exceeds [d5, d6], or detects that the electronic device 100 is out of the fifth bracket state, or detects that the electronic device 100 is folded into an unfolded form, the electronic device 100 stops displaying the user interface 11 on the C screen.

[0284] In some embodiments, the first preset condition includes detecting a human face (or the face of a preset user) through a rear low-power camera, and controlling the C screen of the electronic device 100 that meets the first preset condition to display the user interface 11. When no human face (or the face of a preset user) is detected through the above-mentioned low-power camera within a third preset time, the electronic device 100 stops displaying the user interface 11 on the C screen and turns off the face detection service of the low-power camera.

[0285] In some embodiments, the electronic device 100 detects a preset gesture 1 of the user using a low-power camera corresponding to the C screen. In response to the preset gesture 1, the electronic device 100 stops displaying the user interface 11 on the C screen.

[0286] In some embodiments, the electronic device 100 stops displaying the user interface 11 on the C screen, specifically including: the electronic device 100 controls the C screen to turn off; or the electronic device 100 controls the C screen to display other preset interfaces, such as the initial interface corresponding to the C screen, such as the user interface most recently displayed on the C screen before displaying the user interface 11.

[0287] Regarding “the preview display area of ​​the user interface 11 includes an image captured in real time by the rear camera”, the user interface 11 is described in detail below.

[0288] In some embodiments, after the electronic device 100 determines that the first preset condition is met, it starts application 1, calls the rear camera corresponding to screen C through application 1 to capture images, and displays the captured images on screen C through the user interface 11 corresponding to application 1.

[0289] For example, see Fig.11A The preview display area of ​​the user interface 11 is used to display the image captured by the rear camera corresponding to the C screen. Optionally, Fig.11A The user interface 11 shown is a user interface of a mirror application.

[0290] It should be noted that Fig.11A The C screen shown displays the image captured by the above-mentioned rear camera in full screen, and the preview display area of ​​the user interface 11 occupies the entire C screen; in this embodiment of the present application, the preview display area of ​​the user interface 11 may also occupy only a partial area of ​​the C screen, which is not specifically limited here.

[0291] In some embodiments, the rear camera corresponding to the C screen includes an ultraviolet (UV) camera, and the user interface 11 includes images captured by the UV camera, and the UV camera uses ultraviolet light as a light source for shooting. Fig. 11B In the user interface 11 shown, since sunscreen can block ultraviolet rays, the image collected by the UV camera can highlight the area where sunscreen is applied. In this way, through the user interface 11 displayed on the C screen, the user can view the application of sunscreen in real time.

[0292] In some embodiments, see Fig. 11C The user interface 11 may further include a makeup trial control 201. Exemplarily, the makeup trial control 201 may receive an input operation (eg, a touch operation) from a user, and in response to the input operation, the electronic device 100 may display a Fig.11D At least one makeup trial option 202 is shown, such as a lipstick option 202A, a blush option 202B, a contouring option, an eyebrow option, an eyelash option, an eye shadow option, an eyeliner option, etc.

[0293] In some embodiments, the trial makeup option 1 in the at least one trial makeup option 203 can receive a user input operation (e.g., a touch operation), and in response to the input operation, the electronic device 100 displays at least one trial makeup style corresponding to the trial makeup option 1. After the user selects the trial makeup style 1 in the at least one trial makeup style, the electronic device 100 can add a trial makeup effect corresponding to the trial makeup style to the face captured by the camera, and display it in the user interface 11. In this way, through the user interface 11 displayed on the C screen, the user can preview the trial makeup effect in real time through the C screen. The application 1 corresponding to the user interface 11 can be a trial makeup application.

[0294] For example, taking the lipstick option 202A as the trial makeup option 1, the trial makeup style corresponding to the lipstick option 202A is the lipstick color number. In response to the input operation for the lipstick option 202A, the electronic device 100 displays Fig.11E At least one lipstick color number corresponding to the lipstick option 202A shown, such as color number 203A and color number 203B. Exemplarily, color number 203A can receive a user input operation (such as a touch operation). In response to the above input operation, the electronic device 100 changes the lip color of the face captured by the camera in real time and displayed on the user interface 11 into Fig.11F Color number 203A shown.

[0295] Similarly, referring to the lipstick option 202A, the user can also select a corresponding trial makeup style through other trial makeup options to preview various trial makeup effects in real time. For example, the trial makeup style corresponding to the blush option 202B can indicate the blush color number, blush position and / or blush shape.

[0296] In some embodiments, reference Fig. 12A , the user interface 11 may further include a shooting control 204. The application 1 corresponding to the user interface 11 may be a camera application. Optionally, after the user selects a trial makeup style (e.g., color number 203A), in response to an input operation to the shooting control 204, the electronic device 100 may store the image currently displayed on the C screen after adding the trial makeup effect.

[0297] In some embodiments, reference Fig. 12B , the user interface 11 may include a camera switching control 205, which may switch the camera used to capture the image displayed on the C screen to another camera. It is understood that the electronic device 100 may include multiple cameras. Exemplarily, the camera switching control 205 may receive an input operation from the user, and in response to the above operation, the electronic device 100 directly switches the current camera to another preset camera, or displays Fig. 12CAt least one camera option is shown, for example, a front camera 205A, a rear telephoto camera 205B, and a rear UV camera 205C. The user can select a target camera from the at least one camera option.

[0298] In some embodiments, if the user chooses to switch the rear camera corresponding to the C screen for capturing images to the front camera, the electronic device 100 further displays a prompt message in response to the user's input operation, and the prompt message is used to prompt the user to fold the electronic device 100 so that the electronic device 100 can capture images through the front camera. For example, the user is prompted to fold the electronic device 100 to the unfolded state (or the second bracket state, the fourth bracket state, the sixth bracket state).

[0299] In some embodiments, reference Fig.12D The user interface 11 may further include a fill light control 206. Optionally, in response to an input operation (eg, a touch operation) to the fill light control 206, the electronic device 100 may display Fig.12E At least one fill light option is shown, for example, flash automatic fill light control 206A, flash off control 206B, flash on control 206C, display fill light control 206D. After the user selects the flash automatic fill light control 206A, the electronic device 100 can determine whether to turn on the flash based on the ambient light brightness.

[0300] Exemplary, reference Fig.12F In response to an input operation (e.g., a touch operation) on the display screen fill light control 206D, the electronic device 100 adjusts the brightness of the preset fill light area of ​​screen C. In the embodiment of the present application, the position, shape, and brightness of the preset fill light area may be set by the user or by default of the electronic device 100, which is not specifically limited here.

[0301] In some embodiments, reference Figure 12G The user interface 11 may also include at least one shooting mode 207 corresponding to the shooting control, such as night scene mode, portrait mode, large aperture mode, photo mode, video mode, professional mode, etc. After the user selects a shooting mode, the electronic device 100 controls the camera to collect images in the shooting mode and displays them in the user interface 11 corresponding to the C screen. The user interface 11 may also include an album control 208. The album control 208 may receive the user's input operation, and in response to the above input operation, the electronic device 100 may display the user interface of the album application.

[0302] In some embodiments, reference Fig.12H , the user interface 11 may also include a local feature display box 210. For example, see Fig.12I, the electronic device 100 identifies the area 1 (i.e., the first area) where the preset local feature (e.g., face) in the image 1 captured by the camera is located, and displays the image in area 1 in the display frame 210. It can be understood that in this implementation, the electronic device 100 can continuously track the preset local feature (e.g., face) within the shooting range of the camera, and display the local feature in real time in the display frame 210. Optionally, the electronic device 100 enlarges the image of the preset local feature in area 1 and then displays it in the display frame 210, so that the user can preview the details of the preset local feature.

[0303] It should be noted that, in the embodiment of the present application, area 1 may also be referred to as the first area.

[0304] In some embodiments, Fig.12H The display frame 210 shown can receive user input operations, see Fig.12J In response to the above input operation, the electronic device 100 can enlarge the image of the preset local features in area 1 and display it in full screen C. Then, Fig.12J The C screen shown in the figure can also receive an input operation from the user (for example, double-clicking the C screen). In response to the input operation, the electronic device 100 can shrink the image of the preset local feature back to the display frame 210, that is, display the image again. Fig.12H User interface 11 is shown.

[0305] In some embodiments, when it is detected that the electronic device 100 is in the first preset posture and the electronic device 100 meets the first preset condition, the electronic device 100 displays a partially enlarged image of the image captured by the camera in the user interface 11 corresponding to the C screen. Fig.12I , the electronic device 100 identifies the area 1 where the preset local features (such as a face) of the image 1 captured by the camera are located, and the above-mentioned local enlarged image is Fig.12J The enlarged image of the preset local features in the area 1 shown. Optionally, the above-mentioned local enlarged image is an enlarged image of the central area of ​​the image 1 captured by the camera. It should be noted that Fig.12J The user interface 11 shown may also include Figure 12G Other interface elements of the user interface 11 are shown (eg, the makeup trial control 201 ).

[0306] In some embodiments, see Fig. 12A or Fig.12J, when it is detected that the electronic device 100 is in the first preset posture and the electronic device 100 meets the first preset condition, the user interface 11 displayed by the electronic device 100 on the C screen only includes the image captured by the camera corresponding to the C screen (or a partially enlarged image of the above image); then, the electronic device 100 responds to the received first input operation of the user, and the electronic device 100 can display other interface elements of the user interface 11, such as one or more of the makeup test control 201, the shooting control 204, the camera switching control 205, the fill light control 206, the shooting mode 207, the album control 208, the setting control 209 and the preview box 210. The above-mentioned first input operation can be a touch operation acting on the C screen (for example, the user's finger touches the display screen of the electronic device 100), or it can be a preset air gesture, which is not specifically limited here.

[0307] In some embodiments, the image displayed by the user interface 11 is a partially enlarged image of the image captured by the camera, and the user can drag the image displayed by the user interface 11 to view other areas of the original image captured by the camera. Fig.12J The electronic device 100 shown displays images in area 1 of the image captured by the camera in real time on the user interface 11; Fig.12J The image shown can receive a user's sliding operation (eg, an upward sliding operation); see Figure 12K In response to the sliding operation, the electronic device 100 moves the position of the area 1 in the opposite direction of the sliding direction of the sliding operation, see Figure 12L , the electronic device 100 displays an enlarged image of the image in the moved area 1 on the user interface 11.

[0308] It should be noted that visually, in response to the user's sliding operation, the image displayed by the user interface 11 moves along the sliding direction of the user. The sliding operation may be a touch operation or an air gesture, which is not specifically limited here.

[0309] In some embodiments, the user can zoom in and out on the image displayed by the user interface 11. Fig.12J The electronic device 100 shown displays images in area 1 of the image captured by the camera in real time on the user interface 11; Fig.12J The image shown can receive a zoom operation (e.g., a zoom-out operation) from the user; see Figure 12M In response to the above zoom operation, the electronic device 100 zooms in on the size of the area 1, see Fig.12N , the electronic device 100 displays an enlarged image of the image within the zoomed area 1 on the user interface 11 .

[0310] It should be noted that the electronic device 100 can enlarge the size of the area 1 based on the user's zoom-out operation; visually, in response to the user's zoom-out operation, the image displayed by the user interface 11 is reduced. The electronic device 100 can reduce the size of the area 1 based on the user's zoom-in operation; visually, in response to the user's zoom-in operation, the image displayed by the user interface 11 is enlarged. The above-mentioned zooming operation can be a touch operation or an air gesture, which is not specifically limited here.

[0311] In some embodiments, see Fig.12J When it is detected that the electronic device 100 is in a first preset posture and the electronic device 100 meets a first preset condition, the electronic device 100 displays the image captured by the macro camera in the user interface 11 corresponding to the C screen.

[0312] The following takes the display screen 1 as screen A (i.e., the second screen) as an example to introduce the display method provided in the embodiment of the present application.

[0313] In some embodiments, when it is detected that the electronic device 100 is in a second preset posture and the electronic device 100 meets the second preset condition, the electronic device 100 displays the user interface 11 on screen A. The second preset posture includes: the angle α between screen A and screen B is within a second preset range. Optionally, the electronic device 100 also controls screen C and / or screen B to turn off.

[0314] In some embodiments, see FIG. 13A to FIG. 13F After the electronic device 100 controls screen A to display the user interface 11, it can use the gesture detection service of the front low-power camera corresponding to screen A to detect the user's air gesture operation in real time. In response to the detected air gesture operation, the electronic device 100 can execute the response event corresponding to the above-mentioned air gesture operation. In this way, after the electronic device 100 controls screen A to display the user interface 11, it can continue to free the user's hands and further realize touchless air interaction.

[0315] In some embodiments, if screen A is currently off, user interface 11 may be the user interface most recently displayed before screen A (or the inner screen) is off. Specifically, if screen A and screen B are displayed independently on split screens before screen A is off, user interface 11 is the user interface most recently displayed before screen A is off; if the inner screen composed of screen A and screen B is displayed in full screen before screen A is off, user interface 11 is the user interface most recently displayed in full screen before the inner screen is off.

[0316] In some embodiments, the user interface 11 is a main interface corresponding to the inner screen.

[0317] In some embodiments, before the electronic device 100 displays the user interface 11, the front camera (i.e., the second camera) corresponding to the A screen is started to capture images, and the preview display area of ​​the user interface 11 is used to display the image captured by the front camera (i.e., the second camera) in real time. It should be noted that when the A screen corresponds to multiple front cameras, the user interface 11 includes: images captured by the electronic device 100 through one or more of the multiple front cameras.

[0318] It should be noted that, in the embodiment of the present application, the user interface 11 displayed on screen A can be referred to as a second user interface, and the preview display area of ​​the user interface 11 displayed on screen A can be referred to as a second preview display area.

[0319] It should be noted that in the embodiment of the present application, the low-power camera and the second camera corresponding to the above-mentioned screen A can be the same camera or different cameras, and no specific limitation is made here.

[0320] The second preset condition mentioned above is introduced below.

[0321] In some embodiments, the second preset condition includes that the pause time of the electronic device 100 at the current angle value reaches a first preset time, for example, the first preset time is 3 seconds.

[0322] In some embodiments, when screen A is in the lighted state, the second preset condition further includes that the electronic device 100 does not receive any input operation from the user on screen A within a second preset time. For example, the second preset time is 2 seconds.

[0323] In some embodiments, the second preset condition also includes the electronic device 100 detecting a human face (or the face of a preset user) through the front low-power camera corresponding to the A screen.

[0324] In some embodiments, the second preset condition further includes the electronic device 100 detecting a second preset gesture through a front low-power camera corresponding to screen A. The second preset gesture is used to trigger screen A to display the user interface 11 when the electronic device 100 is in the second preset posture.

[0325] In some embodiments, the second preset range includes at least one of a preset range 17 (ie, [f4, f5]), a preset range 19 (ie, [f8, f9]), and a preset range 22 (ie, [f13, f14]).

[0326] The second preset posture is introduced below.

[0327] In some embodiments, the second preset posture specifically includes: the angle α between screen A and screen B decreases to (and / or increases to) α2, and α2 is within the second preset range.

[0328] In some embodiments, the second preset posture also includes the electronic device 100 being in the second support state. In the second preset posture, the second preset range is [d7, d8], and [d7, d8] is within the preset range 17 (ie, [f4, f5]), that is, f4≤d7≤d8≤f5. For example, refer to Fig.13A and Fig. 13B , the angle α between screen A and screen B is within [d7, d8], the electronic device 100 controls screen C to turn off, screen B to be blank or off, and displays user interface 11 on screen A according to the default display direction of screen A, and user interface 11 includes an image captured by the front camera. Optionally, the angle within the second preset range is greater than 60° and less than 180°.

[0329] In some embodiments, the second preset posture also includes the electronic device 100 being in the fourth support state. In the second preset posture, the second preset range is [d9, d10], and [d9, d10] is within the preset range 19 (ie, [f8, f9]), that is, f8≤d9≤d10≤f9. For example, refer to Fig. 13C and Fig.13D , the angle α between screen A and screen B is within [d9, d10], the electronic device 100 controls screen C and screen B to turn off, and displays user interface 11 on screen A according to the default display direction of screen A, and user interface 11 includes an image captured by the front camera. Optionally, the angle within the second preset range is greater than 240° and less than 360°.

[0330] In some embodiments, the second preset posture also includes the electronic device 100 being in the sixth stand state. In the second preset posture, the second preset range is [d11, d12], and [d11, d12] is within the preset range 22 (ie, [f13, f14]), that is, f13≤d11≤d12≤f14. For example, refer to Fig.13E and Fig.13F , the angle α between screen A and screen B is within [d11, d12], the electronic device 100 controls the inner screen to turn off, and displays the user interface 11 rotated 180° on screen A, the user interface 11 includes the image captured by the front camera. Optionally, the angle within the second preset range is greater than 180° and less than 360°.

[0331] In some embodiments, in the second preset posture, the second preset range does not include 0° and 180°.

[0332] It should be noted that when the electronic device 100 is in the sixth bracket state, the display direction corresponding to screen A is opposite to the default display direction of screen A. Therefore, Fig.13E and Fig.13F The electronic device 100 shown rotates the user interface 11 by 180° and then displays it on screen A.

[0333] The following describes several situations in which screen A stops displaying user interface 11 after screen A displays user interface 11.

[0334] In some embodiments, see Fig.13A and Fig. 13B After controlling the A screen of the electronic device 100 that meets the second preset condition in the second bracket state to display the user interface 11, when the electronic device 100 detects that the angle α between the A screen and the B screen exceeds [d7, d8], or detects that the electronic device 100 is out of the second bracket state, the electronic device 100 stops displaying the user interface 11 on the A screen.

[0335] In some embodiments, see Fig. 13C and Fig.13D After controlling the A screen of the electronic device 100 that meets the second preset condition in the fourth bracket state to display the user interface 11, when the electronic device 100 detects that the angle α between the A screen and the B screen exceeds [d9, d10], or detects that the electronic device 100 is out of the fourth bracket state, the electronic device 100 stops displaying the user interface 11 on the A screen.

[0336] In some embodiments, reference Fig.13E and Fig.13F After controlling the A screen of the electronic device 100 that meets the second preset condition in the sixth bracket state to display the user interface 11, when the electronic device 100 detects that the angle α between the A screen and the B screen exceeds [d11, d12], or when it detects that the electronic device 100 is out of the sixth bracket state, the electronic device 100 stops displaying the user interface 11 on the A screen.

[0337] In some embodiments, the second preset condition includes detecting a human face (or the face of a preset user) through a front low-power camera, and controlling the A screen of the electronic device 100 that meets the second preset condition to display the user interface 11. When no face is detected through the front low-power camera within a third preset time, the electronic device 100 stops displaying the user interface 11 on the A screen and turns off the face detection service of the front low-power camera.

[0338] In some embodiments, the electronic device 100 detects a preset gesture 2 of the user using a low-power camera corresponding to screen A. In response to the preset gesture 2, the electronic device 100 stops displaying the user interface 11 on screen A.

[0339] In some embodiments, the electronic device 100 stops displaying the user interface 11 on screen A, specifically including: the electronic device 100 controls screen A to turn off; or the electronic device 100 controls screen A to display other preset interfaces, such as part or all of the main interface corresponding to the inner screen, such as the user interface most recently displayed on screen A before displaying the user interface 11.

[0340] In some embodiments, reference FIG. 13A to FIG. 13F After the A screen of the electronic device 100 that meets the second preset condition displays the user interface 11, when it is detected that the electronic device 100 is directly folded into the unfolded state, the electronic device 100 controls the inner screens (screens A and B) to display the preset interface in full screen, for example, Fig.14A The user interface 11 shown or Fig. 14B The main interface 12 is shown.

[0341] It should be noted that the user interface 11 displayed on the A screen may be the FIG. 11A to FIG. 12N The user interface 11 described in the relevant embodiments of . The difference is that the image in the preview display area of ​​the user interface 11 displayed on the A screen is captured by the electronic device 100 through the front camera corresponding to the A screen. Specifically, please refer to the relevant description of the aforementioned embodiments, which will not be repeated here. In addition, in the embodiments of the present application, the sizes of the A screen, the C screen and the inner screen may be different, the same user interface (such as the user interface 11) displayed by the A screen, the C screen and the inner screen may contain the same interface elements, the sizes of the user interface 11 displayed on the three display screens may be different, and the layout (i.e., position and size) of each interface element of the user interface 11 displayed on the three display screens may be different. The layout of each interface element of the user interface 11 displayed on each display screen (such as the C screen, the A screen, and the inner screen) is associated with the size of the display screen.

[0342] In some embodiments, see FIG. 12B to FIG. 12H In the user interface 11 shown, if the user chooses to switch the front camera (i.e., the second camera) corresponding to the A screen for capturing images to the rear camera (i.e., the first camera), the electronic device 100 also displays a prompt message in response to the user's input operation, and the prompt message is used to prompt the user to fold the electronic device 100 so that the electronic device 100 can capture images through the rear camera. For example, the user is prompted to fold the electronic device 100 to the unfolded state (or the first bracket state, the third bracket state, and the fifth bracket state).

[0343] The following takes the display screen 1 as screen A (i.e., the second screen) and screen B (i.e., the third screen) as an example to introduce the display method provided in the embodiment of the present application.

[0344] In some embodiments, see Fig.15AWhen the electronic device 100 detects that the electronic device 100 is in the third preset posture and the electronic device 100 meets the third preset condition, the electronic device 100 starts the front camera (i.e., the second camera) corresponding to screen A to capture images, and displays the user interface 11 on screen A, and displays a partially enlarged image of the image captured by the front camera (i.e., the second camera) on screen B. The preview display area of ​​the user interface 11 is used to display the image captured by the front camera. The above-mentioned partially enlarged image is an enlarged image of a preset local feature in the image captured by the front camera, for example Fig.15A A magnified image of the face shown.

[0345] In some embodiments, see Fig. 15B When the electronic device 100 detects that the electronic device 100 is in the third preset posture and the electronic device 100 meets the third preset condition, the electronic device 100 starts the front camera (i.e., the second camera) corresponding to the A screen to capture an image, and displays the user interface 11 on the B screen, and displays a partial enlarged image of the image captured by the above-mentioned front camera (i.e., the second camera) on the A screen, and the preview display area of ​​the user interface 11 includes the image captured by the above-mentioned front camera. The above-mentioned partial enlarged image is an enlarged image of a preset local feature in the image captured by the front camera.

[0346] See also Fig.15A and Fig. 15B In the second bracket state, the user can preview the image captured by the camera in real time on one screen of the inner screen (for example, screen A), and at the same time view the enlarged image of the preset local features in the image captured by the camera (for example, enlarged image of the face) on another screen of the inner screen (for example, screen B), so that the user can see the facial details while previewing the overall shooting effect, effectively improving the user experience.

[0347] In some embodiments, see Fig. 15B When the electronic device 100 detects that the electronic device 100 is in the third preset posture and the electronic device 100 meets the third preset condition, the electronic device 100 starts the front camera corresponding to the A screen (i.e., the second camera) to capture images at shooting angle 1 and shooting angle 2 respectively, and displays the image captured at shooting angle 1 on the A screen, and displays the image captured at shooting angle 2 on the B screen. Optionally, the A screen and / or the B screen may also display Figure 12G Other interface elements besides the image captured by the camera are shown. In this way, the user can view the shooting effects at different shooting angles at the same time.

[0348] In some embodiments, see Fig. 15CWhen the electronic device 100 detects that the electronic device 100 is in a third preset posture and the electronic device 100 meets the third preset condition, the front camera corresponding to screen A is started to capture images, and the user interface 11 is displayed on screens A and B, that is, the first part of the user interface 11 is displayed on screen A, and the second part of the user interface 11 is displayed on screen B. The first part of the user interface 11 includes a preview display area of ​​the user interface 11, and the preview display area is used to display the image captured by the front camera in real time. The second part of the user interface 11 includes one or more interface elements in the user interface 11 except the display content of screen A. Among them, the third preset posture includes: the angle α between screens A and B is within a third preset range. Optionally, the electronic device 100 also controls screen C to turn off.

[0349] It should be noted that, in the embodiment of the present application, the user interface 11 displayed in split screens A and B can be referred to as a third user interface, and the preview display area of ​​the third user interface can be referred to as a third preview display area.

[0350] In some embodiments, see FIG. 15A to FIG. 15C After the electronic device 100 controls the split-screen display of screen A and screen B, it can use the gesture detection service of the low-power camera corresponding to screen A to detect the user's air gesture operation in real time. In response to the detected air gesture operation, the electronic device 100 can execute the response event corresponding to the above-mentioned air gesture operation. In this way, after the electronic device 100 controls the split-screen display of screen A and screen B, it can continue to free the user's hands and further realize touchless air interaction.

[0351] The third preset condition mentioned above is introduced below.

[0352] In some embodiments, the third preset condition includes that the pause time of the electronic device 100 at the current angle value reaches a first preset time, for example, the first preset time is 3 seconds.

[0353] In some embodiments, when screen A and screen B are in the lighted state, the third preset condition further includes that the electronic device 100 does not receive any user input operation on screen A and screen B within a second preset time. For example, the second preset time is 2s.

[0354] In some embodiments, the third preset condition mentioned above also includes the electronic device 100 detecting a human face (or the face of a preset user) through the front low-power camera corresponding to the A screen.

[0355] In some embodiments, the third preset condition further includes the electronic device 100 detecting a third preset gesture through the front low-power camera corresponding to screen A. The third preset gesture is used to trigger screen A and screen B to perform split-screen display when the electronic device 100 is in the third preset posture.

[0356] The third preset posture is introduced below.

[0357] In some embodiments, the third preset posture specifically includes: the angle α between screen A and screen B decreases to (and / or increases to) α3, and α3 is within a third preset range.

[0358] In some embodiments, in the third preset posture, the third preset range does not include 0° and 180°.

[0359] In some embodiments, the third preset posture also includes the electronic device 100 being in the second support state. In the third preset posture, the third preset range is [d7, d8], and [d7, d8] is within the preset range 17, that is, f4≤d7≤d8≤f5. For example, refer to Fig. 15C , the angle α between screen A and screen B is within [d7, d8], the electronic device 100 controls screen A to display the image captured in real time by the front camera, screen B to display other interface elements of the user interface 11, and screen C is turned off. Optionally, the angle within the third preset range is greater than 60° and less than 180°.

[0360] It should be noted that the user interface 11 for the split-screen display of the A screen and the B screen may be the FIG. 11A to FIG. 12N The user interface 11 described in the relevant embodiments of the present invention is different in that the image in the preview display area of ​​the user interface 11 displayed on the split screen of screen A and screen B is captured by the electronic device 100 through the front camera corresponding to screen A. For details, please refer to the relevant description of the aforementioned embodiment, which will not be repeated here. Figure 12G The user interface 11 shown is used as an example for explanation.

[0361] The user interface 11 for split-screen display of screen A and screen B is introduced below.

[0362] In some embodiments, see Fig.15D The first part of the user interface 11 displayed on screen A includes only the image captured in real time by the front camera, and the second part of the user interface 11 displayed on screen B includes all other interface elements in the user interface 11 except the above image, and the layout of each interface element displayed on screen B is the same as that of the front camera. Figure 12G The electronic device 100 stores the interface layout of the user interface 11 shown in FIG. Figure 12G The interface layout of the user interface 11 is shown.

[0363] In some embodiments, the second part of the user interface 11 displayed on screen B includes all the other interface elements mentioned above, and secondary interface elements of one or more of the other interface elements mentioned above. Fig.15EAs shown, the second part of the user interface 11 displayed on screen B includes the makeup trial control 201 and the fill light control 206 of the user interface 11, and also includes the secondary interface elements corresponding to the makeup trial control 201, namely, one or more makeup trial options 202, and also includes the secondary interface elements corresponding to the fill light control 206, namely, one or more fill light options. Fig.15E , different from Figure 12G As shown in the interface layout of the user interface 11, the electronic device 100 can rearrange the interface elements of the user interface 11 displayed on the B screen to adapt to the size of the B screen and improve the user experience.

[0364] In some embodiments, the first part of the user interface 11 displayed on screen A includes an image captured in real time by the front camera and at least one other interface element of the user interface 11, and the second part of the user interface 11 displayed on screen B includes interface elements in the user interface 11 except the display content of screen A. For example, Fig.15F As shown, the display content of screen A includes the image captured in real time by the front camera, as well as shooting controls 204, camera switching controls 205, and album controls 208. The display content of screen B includes a makeup trial control 201 and the secondary interface elements corresponding to the makeup trial control 201, a fill light control 206 and the secondary interface elements corresponding to the fill light control 206, and a shooting mode 207.

[0365] See also FIG. 15D to FIG. 15F In the second stand state, users can preview the images captured by the camera in real time on screen A, control the shooting parameters of the camera on screen B, and control the display effect of the images captured by the camera. For example, in the second stand state, users can view their facial status in real time on screen A, modify the fill light parameters through the fill light option displayed on screen B, and modify the makeup trial effect of the face displayed on screen A through the makeup trial option displayed on screen B, which effectively improves the user experience.

[0366] The following describes several situations in which after screen A and screen B display preset content (such as user interface 11) in split screen, screen A and screen B stop displaying the above preset content in split screen.

[0367] In some embodiments, see FIG. 15A to FIG. 15F After controlling the inner screen of the electronic device 100 that meets the third preset condition in the second bracket state to display the preset content in split screen, when the electronic device 100 detects that the angle α between screen A and screen B exceeds [d7, d8], or detects that the electronic device 100 is out of the second bracket state, the electronic device 100 stops displaying the above preset content in split screen of screen A and screen B.

[0368] In some embodiments, the third preset condition includes detecting a face (or the face of a preset user) through the front low-power camera, and controlling the split screen of the electronic device 100 that meets the third preset condition to display preset content. When no face is detected through the front low-power camera within a third preset time, the electronic device 100 stops displaying the above preset content on the split screen of screen A and screen B, and turns off the face detection service of the front low-power camera.

[0369] In some embodiments, the electronic device 100 detects the user's preset gesture 3 using the low-power camera corresponding to screen A. In response to the preset gesture 3, the electronic device 100 stops displaying the preset content on screens A and B in split screens.

[0370] In some embodiments, the electronic device 100 stops displaying the above preset content on screens A and B in split screen, specifically including: the electronic device 100 controls the inner screen to turn off; or the electronic device 100 controls screens A and B to display other preset interfaces in split screen, such as the main interface corresponding to the inner screen.

[0371] In some embodiments, see FIG. 15A to FIG. 15F After the A screen and the B screen of the electronic device 100 satisfying the third preset condition display the preset content (e.g., the user interface 11) in split screen, when it is detected that the electronic device 100 is directly folded to the unfolded state, the electronic device 100 controls the inner screen (the A screen and the B screen) to display the preset interface in full screen, for example, displaying Fig.14A The user interface 11 shown or Fig. 14B The main interface 12 is shown.

[0372] The software structure of the electronic device 100 is exemplarily described below.

[0373] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.

[0374] Fig.16 It is a software structure block diagram of an electronic device 100 provided in an embodiment of the present application.

[0375] The layered architecture divides the software into several layers, each with clear roles and division of labor. The 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 library, and the kernel layer.

[0376] The application (APP) layer can include a series of application packages. Fig.16 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0377] The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Fig.16 As shown, the framework layer may include a sensor manager module 707, a posture recognition module 708, a display manager module 709, and a window manager service (WMS) 710. Optionally, it may also include an activity manager service (AMS), a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. (not shown in the drawings).

[0378] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0379] The hardware abstraction layer (HAL) includes a sensor service module 706, which can be used to report the processing results of the sensor data processing module 705 in the kernel layer to the sensor management module 707 in the framework layer. In some embodiments, the hardware abstraction layer also includes a camera detection service module 713, which can be used to report the image processing results of the camera detection data processing module 712 in the kernel layer to the face recognition module 714 and gesture recognition 715 in the framework layer.

[0380] The kernel layer (Kernel) is a layer between hardware and software. The kernel layer may include a sensor data processing module 705. The sensor data processing module 705 may be used to obtain data reported by one or more sensors in the hardware layer (Hardware), perform data processing, and report the data processing results to the sensor service module 706. In some embodiments, the kernel layer may also include a camera detection data processing module 712, which may be used to obtain images reported by the camera 711 in the hardware layer, perform image processing, and report the image processing results to the camera detection service module 713.

[0381] The hardware layer may include an acceleration sensor 701, a gyroscope sensor 702, an acceleration sensor 703, a gyroscope sensor 704, and the like. The acceleration sensor 701 and the gyroscope sensor 702 may be arranged in the A screen of the electronic device 100, and the acceleration sensor 703 and the gyroscope sensor 704 may be arranged in the B screen of the electronic device 100. The acceleration sensor 701 may be used to measure the acceleration data of the A screen and report it to the sensor data processing module 705. The acceleration sensor 703 may be used to measure the acceleration data of the B screen and report it to the sensor data processing module 705. The gyroscope sensor 702 may be used to measure the gyroscope data of the A screen and report it to the sensor data processing module 705. The gyroscope sensor 704 may be used to measure the gyroscope data of the B screen and report it to the sensor data processing module 705.

[0382] When the user folds 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 can report the sensor data measured by each sensor to the sensor data processing module 705 in the kernel layer. The sensor data processing module 705 can calculate the vector corresponding to the direction of screen A according to the sensor data reported by multiple sensors in the hardware layer. The vector corresponding to the direction of screen B Then, the angle α between screen A and screen B is calculated. Then, the sensor data processing module 705 can use the sensor service module 706 in the hardware abstraction layer to convert the direction vector of screen A to B screen direction vector The angle α between screen A and screen B is reported to the sensor management module 707 in the framework layer. The sensor management module 707 can be used to convert the vector vector The angle α between the vector vector and the angle α, determine the stand state of the electronic device 100, and then identify the posture type of the electronic device 100 based on the angle α and the stand state of the electronic device 100. And send the posture type to the display management module 709. The display management module 709 can determine the display state of each display screen (screen A, screen B and screen C) according to the posture type, and display the user interface 11 on the display screen 1. The display state of the display screen includes the lit state and the unlit state. The display management module 709 can notify the window management module 710 to create a window corresponding to the user interface 11 and update the window properties (such as size and position). The window management module 710 can refresh the window system, redraw the window, and notify the upper-level application to adjust the properties of the display elements in the window (such as size and position).

[0383] In some embodiments, when the gesture type is a preset gesture, the electronic device 100 turns on the face detection service of the camera 711 corresponding to the preset gesture, the electronic device 100 uses the camera 711 to collect images, and reports the collected images to the camera detection data processing module 712, the camera detection service module 713 performs image processing on the above images, and uploads the processed images to the face recognition module 714 through the camera detection service module 713, the face recognition module 714 identifies whether the above images include a face (or a preset user's face), and the display management module 709 can determine the display state and display content of each screen according to the gesture type and face recognition results. For example, the first preset gesture corresponds to the rear camera, and the second preset gesture corresponds to the front camera.

[0384] In some embodiments, after the display management module 709 determines that the display screen 1 (e.g., screen C) displays the user interface 11 according to the gesture type, the gesture detection service of the camera 711 corresponding to the display screen 1 is turned on. The camera detection service module 713 uploads the processed image to the gesture recognition module 715 through the camera detection service module 713, and the gesture recognition module 715 recognizes the gesture type in the above image. The display management module 709 can update the display state and display content of the display screen 1 according to the above gesture type.

[0385] The present application also provides an electronic device 100, which includes a first screen, a folding screen and a first camera. The folding screen can be folded along a folding edge to form a second screen and a third screen. The first screen and the second screen are in opposite directions. The direction of the first screen is consistent with the shooting direction of the first camera, and the direction of the second screen is consistent with the shooting direction of the second camera.

[0386] See also Fig.17 , Fig.17 FIG. 2 shows a schematic diagram of the structure of another electronic device provided by an embodiment of the present invention. Fig.17As shown, the electronic device 100 may include: a detection unit and a display unit.

[0387] A detection unit, configured to determine that the electronic device is in a first preset posture based on a detected first included angle between the second screen and the third screen;

[0388] A display unit, configured to display a first user interface on a first screen based on a first preset posture of the electronic device; a first preview display area of ​​the first user interface is configured to display an image captured by the first camera, and in the first preset posture, the first angle does not include 0° and 180°;

[0389] The detection unit is further used to determine that the electronic device is in a second preset posture based on the detected first angle;

[0390] The display unit is also used to display a second user interface on the second screen based on a second preset posture of the electronic device; the second preview display area of ​​the second user interface is used to display an image captured by the second camera, and under the second preset posture, the first angle does not include 0° and 180°.

[0391] In some embodiments, the detection unit is further used to determine that the electronic device is in a third preset posture based on the detected first angle; the display unit is further used to perform split-screen display on the second screen and the third screen based on the third preset posture of the electronic device, and the display content of the second screen includes a third preview display area, and the third preview display area is used to display the image captured by the second camera. Under the third preset posture, the first angle does not include 0° and 180°.

[0392] In some embodiments, the above-mentioned displaying the first user interface on the first screen based on the first preset posture of the electronic device includes: when it is detected that the electronic device is in the first preset posture and the electronic device satisfies the first preset condition, starting the first camera to capture images and displaying the first user interface on the first screen; wherein the first preset posture includes a first angle within a first preset range, and the first preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive any input operation acting on the first screen within a second preset time; in the image captured by the camera corresponding to the first screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the first screen, a first preset gesture is detected.

[0393] In some embodiments, the above-mentioned displaying the second user interface on the second screen based on the second preset posture of the electronic device includes: when it is detected that the electronic device is in the second preset posture and the electronic device satisfies the second preset condition, starting the second camera to capture images and displaying the second user interface on the second screen; wherein the second preset posture includes a first angle within a second preset range, and the second preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive any input operation acting on the second screen within the second preset time; in the image captured by the camera corresponding to the second screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a second preset gesture is detected.

[0394] In some embodiments, the above-mentioned split-screen display on the second screen and the third screen based on the third preset posture of the electronic device includes: when it is detected that the electronic device is in the third preset posture and the electronic device satisfies the third preset condition, the second camera is started to capture images, and split-screen display is performed on the second screen and the third screen; wherein the third preset posture includes that the first angle is within a third preset range, and the third preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in the lit state, the electronic device does not receive any input operation acting on the second screen or the third screen within the second preset time; in the image captured by the camera corresponding to the second screen, a human face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, the third preset gesture is detected.

[0395] The present application also provides an electronic device 100, which includes a first screen, a folding screen and a first camera. The folding screen can be folded along the folding edge to form a second screen and a third screen. The first screen and the second screen are in opposite directions, and the direction of the first screen is consistent with the shooting direction of the first camera. The electronic device may include multiple functional modules or units, such as a display unit. Among them,

[0396] The display unit is used to start the first camera to capture images and display the first user interface on the first screen when it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition. The first preview display area of ​​the first user interface is used to display the image captured by the first camera; wherein the first preset posture includes that the first angle between the second screen and the third screen is within a first preset range, and the first preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive an input operation acting on the first screen within a second preset time; in the image captured by the camera corresponding to the first screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the first screen, a first preset gesture is detected.

[0397] In the embodiment of the present application, the camera corresponding to the first screen and the first camera may be the same camera or different cameras. Optionally, the camera corresponding to the first screen is a low-power camera.

[0398] In some embodiments, the electronic device further includes a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, and when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge. The display unit is also used to start the second camera to capture images and display the second user interface on the second screen when it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition, and the second preview display area of ​​the second user interface is used to display the image captured by the second camera; wherein the second preset posture includes the first angle being within a second preset range, and the second preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive an input operation acting on the second screen within a second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a second preset gesture is detected.

[0399] In the embodiment of the present application, the camera corresponding to the second screen and the second camera may be the same camera or different cameras. Optionally, the camera corresponding to the second screen is a low-power camera.

[0400] In some embodiments, the electronic device further comprises a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, and when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge. The display unit is also used to, when it is detected that the electronic device is in a third preset posture and the electronic device meets a third preset condition, start the second camera to capture images, and display them in split screen on the second screen and the third screen, and the display content of the second screen includes a third preview display area, and the third preview display area is used to display the image captured by the second camera; wherein the third preset posture includes the first angle being within a third preset range, and the third preset condition includes one or more of the following: the pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in a lit state, the electronic device does not receive an input operation acting on the second screen or the third screen within a second preset time; in the image captured by the camera corresponding to the second screen, a face or a face of a preset user is detected; in the image captured by the camera corresponding to the second screen, a third preset gesture is detected.

[0401] In some embodiments, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is greater than 0° and less than 120°; or, the first preset posture also includes: the second angle is within the fourth preset range, the angle between the third screen and the Z axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 180° and less than 300°; or, the first preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the third screen and the Z axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 0° and less than 180°.

[0402] In some embodiments, the first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is less than 120°; the above-mentioned display unit displays the first user interface on the first screen, including: the display unit displays the first user interface rotated 180° on the first screen.

[0403] In some embodiments, the electronic device also includes an identification unit, and before the display unit displays the first user interface on the first screen, the identification unit is used to identify a first area where a preset local feature is located in the image captured by the first camera, and the first preview display area is used to display an enlarged image of the image in the first area.

[0404] In some embodiments, the electronic device also includes a receiving unit, and after the display unit displays the first user interface on the first screen, the receiving unit is used to receive a first input operation from the user; the display unit is also used to display the following one or more interface elements in the first user interface in response to the first input operation: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to the face in the image displayed in the first preview display area; the shooting control is used to trigger the electronic device to save the image displayed in the first preview display area; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; the display frame is used to display an enlarged image of preset local features in the image captured by the first camera.

[0405] In some embodiments, the first camera is an ultraviolet camera, and the image captured by the first camera is used to highlight the area where sunscreen is applied.

[0406] In some embodiments, the display unit is further used to control the second screen and the third screen to turn off when it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition.

[0407] In some embodiments, the second preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is less than 90°, and the angle within the second preset range is greater than 60° and less than 180°; or, the second preset posture also includes: the second angle is within the fourth preset range, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 240° and less than 360°; or, the second preset posture also includes: the difference between the third angle and the second angle is within the fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the orientation of the third screen and the Z-axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 180° and less than 360°.

[0408] In some embodiments, in the first preset posture and the second preset posture, the first angle does not include 0° and 180°.

[0409] In some embodiments, the display unit is further used to control the first screen to turn off when it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition.

[0410] In some embodiments, the third preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the third preset range is greater than 60° and less than 180°.

[0411] In some embodiments, the display content of the third screen includes an enlarged image of a preset local feature in the image captured by the second camera.

[0412] In some embodiments, the display unit performs split-screen display on the second screen and the third screen, including: the display unit performs split-screen display of the third user interface on the second screen and the third display screen; the display content of the second screen includes the third preview display area of ​​the third user interface, and zero, one or more interface elements in the third user interface except the third preview display area, and the display content of the third screen includes one or more interface elements in the third user interface except the display content of the second screen; the third user interface also includes one or more of the following interface elements: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to the face in the image in the preview display area of ​​the third user interface; the shooting control is used to trigger the electronic device to save the image in the preview display area of ​​the third user interface; the camera switching control is used to switch the camera for capturing the image; the fill light control is used to supplement the ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; the display frame is used to display an enlarged image of a preset local feature in the image captured by the second camera.

[0413] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0414] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0415] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0416] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A display method, It is characterized in that Applied to an electronic device, the electronic device comprises a first screen, a folding screen, a first camera and a second camera, the folding screen can be folded along a folding edge to form a second screen and a third screen, the first screen and the second screen are oriented in opposite directions, the direction of the first screen is consistent with the shooting direction of the first camera, and the direction of the second screen is consistent with the shooting direction of the second camera, the method comprises: When it is determined that the electronic device is in a first preset posture based on the detected first angle between the second screen and the third screen, the electronic device starts the first camera based on the first preset posture of the electronic device, and displays a first user interface on the first screen; the first preview display area of ​​the first user interface is used to display an image captured by the first camera, and under the first preset posture, the first angle does not include 0° and 180°; the first preset posture is a posture that facilitates the user to view the first screen and take a selfie using the first camera corresponding to the first screen; When it is determined that the electronic device is in a second preset posture based on the detected first angle, the electronic device starts the second camera and displays a second user interface on the second screen based on the second preset posture of the electronic device; the second preview display area of ​​the second user interface is used to display an image captured by the second camera, and under the second preset posture, the first angle does not include 0° and 180°; the second preset posture is a posture that facilitates the user to view the second screen and take a selfie using the second camera corresponding to the second screen.

2. The method according to claim 1, It is characterized in that The method further comprises: Based on the detected first angle, it is determined that the electronic device is in a third preset posture; based on the third preset posture of the electronic device, the electronic device performs split-screen display on the second screen and the third screen, and the display content of the second screen includes a third preview display area, and the third preview display area is used to display the image captured by the second camera. Under the third preset posture, the first angle does not include 0° and 180°.

3. The method according to claim 1, It is characterized in that The electronic device displays a first user interface on the first screen based on a first preset posture of the electronic device, comprising: When it is detected that the electronic device is in the first preset posture and the electronic device meets the first preset condition, the electronic device starts the first camera to capture images and displays the first user interface on the first screen; The first preset posture includes that the first angle is within a preset range, and the first preset condition includes one or more of the following: The pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive any input operation acting on the first screen within a second preset time; a face is detected in the image captured by the camera corresponding to the first screen; a first preset gesture is detected in the image captured by the camera corresponding to the first screen.

4. The method according to claim 1, It is characterized in that The electronic device displays a second user interface on the second screen based on a second preset posture of the electronic device, comprising: When it is detected that the electronic device is in the second preset posture and the electronic device meets the second preset condition, the electronic device starts the second camera to collect images and displays the second user interface on the second screen; The second preset posture includes that the first angle is within a preset range, and the second preset condition includes one or more of the following: The pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive any input operation acting on the second screen within a second preset time; a face is detected in the image captured by the camera corresponding to the second screen; a second preset gesture is detected in the image captured by the camera corresponding to the second screen.

5. The method according to claim 2, It is characterized in that The electronic device performing split-screen display on the second screen and the third screen based on the third preset posture of the electronic device includes: When it is detected that the electronic device is in the third preset posture and the electronic device meets the third preset condition, the electronic device starts the second camera to collect images and displays them in split screens on the second screen and the third screen; The third preset posture includes that the first angle is within a third preset range, and the third preset condition includes one or more of the following: The pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in a lit state, the electronic device does not receive any input operation acting on the second screen or the third screen within a second preset time; a face is detected in the image captured by the camera corresponding to the second screen; a third preset gesture is detected in the image captured by the camera corresponding to the second screen.

6. A display method, It is characterized in that Applied to an electronic device, the electronic device comprises a first screen, a folding screen and a first camera, the folding screen can be folded along a folding edge to form a second screen and a third screen, the first screen and the second screen are oriented in opposite directions, the orientation of the first screen is consistent with the shooting direction of the first camera, the method comprises: When it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition, the electronic device starts the first camera to capture images and displays a first user interface on the first screen, wherein the first preview display area of ​​the first user interface is used to display the image captured by the first camera; the first preset posture is a posture that facilitates the user to view the first screen and take a selfie using the first camera corresponding to the first screen; The first preset posture includes that a first angle between the second screen and the third screen is within a preset range, and the first preset condition includes one or more of the following: The pause time of the first angle at the current angle value reaches a first preset time; when the first screen is in a lit state, the electronic device does not receive any input operation acting on the first screen within a second preset time; a face is detected in the image captured by the camera corresponding to the first screen; a first preset gesture is detected in the image captured by the camera corresponding to the first screen.

7. The method according to claim 6, It is characterized in that The electronic device further includes a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge, and the method further includes: When it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition, the electronic device starts the second camera to capture images and displays a second user interface on the second screen, where the second preview display area of ​​the second user interface is used to display the image captured by the second camera; The second preset posture includes that the first angle is within a preset range, and the second preset condition includes one or more of the following: The pause time of the first angle at the current angle value reaches a first preset time; when the second screen is in a lit state, the electronic device does not receive any input operation acting on the second screen within a second preset time; a face is detected in the image captured by the camera corresponding to the second screen; a second preset gesture is detected in the image captured by the camera corresponding to the second screen.

8. The method according to claim 6, It is characterized in that The electronic device further includes a second camera, the orientation of the second screen is consistent with the shooting direction of the second camera, when the folding screen is folded along the folding edge to form the second screen and the third screen, the third screen and the second camera are located on different sides of the folding edge, and the method further includes: When it is detected that the electronic device is in a third preset posture and the electronic device meets a third preset condition, the electronic device starts the second camera to collect images and displays them in split screens on the second screen and the third screen, where the display content of the second screen includes a third preview display area, and the third preview display area is used to display the image collected by the second camera; The third preset posture includes that the first angle is within a third preset range, and the third preset condition includes one or more of the following: The pause time of the first angle at the current angle value reaches a first preset time; when the second screen and / or the third screen is in a lit state, the electronic device does not receive any input operation acting on the second screen or the third screen within a second preset time; a face is detected in the image captured by the camera corresponding to the second screen; a third preset gesture is detected in the image captured by the camera corresponding to the second screen.

9. The method according to any one of claims 6 to 8, It is characterized in that The first preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen orientation and the Z axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is greater than 0° and less than 120°; Alternatively, the first preset posture further includes: the second angle is within the fourth preset range, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 180° and less than 300°; Alternatively, the first preset posture also includes: the difference between the third angle and the second angle is within a fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is greater than 90°, and the angle within the first preset range is greater than 0° and less than 180°.

10. The method according to any one of claims 6 to 8, It is characterized in that The first preset posture further includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the first preset range is less than 120°; and displaying the first user interface on the first screen includes: The first user interface is displayed on the first screen after being rotated by 180°.

11. The method according to any one of claims 6 to 8, It is characterized in that The first preset posture includes a first support state and a fifth support state, and when it is detected that the electronic device is in the first preset posture and the electronic device meets a first preset condition, the electronic device starts the first camera to capture an image and displays a first user interface on the first screen, including: When it is detected that the electronic device is in the first support state and the electronic device meets the first preset condition, the electronic device starts the first camera to collect images and displays the first user interface on the first screen; After the first screen displays the first user interface, the method further includes: When it is detected that the electronic device is switched from the first support state to the fifth support state, the electronic device displays the first user interface rotated by 180° on the first screen.

12. The method according to any one of claims 6 to 8, It is characterized in that Before the first screen displays the first user interface, the method further includes: The electronic device identifies a first area where a preset local feature is located in the image captured by the first camera, and the first preview display area is used to display an enlarged image of the image in the first area.

13. The method according to any one of claims 6 to 8, It is characterized in that After the first screen displays the first user interface, the method further includes: receiving a first input operation from a user; In response to the first input operation, the electronic device displays one or more of the following interface elements in the first user interface: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; Among them, the makeup trial control is used to add a preset makeup effect to the face in the image displayed in the first preview display area; the shooting control is used to trigger the electronic device to save the image displayed in the first preview display area; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; the display frame is used to display an enlarged image of a preset local feature in the image captured by the first camera.

14. The method according to any one of claims 6 to 8, It is characterized in that The first camera is an ultraviolet camera, and the image collected by the first camera is used to highlight the area where sunscreen is applied.

15. The method according to any one of claims 6 to 8, It is characterized in that When it is detected that the electronic device is in a first preset posture and the electronic device meets a first preset condition, the method further includes: The electronic device controls the second screen and the third screen to turn off.

16. The method according to claim 7, It is characterized in that The second preset posture also includes: the second angle between the third screen and the horizontal plane is within a fourth preset range, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the second preset range is greater than 60° and less than 180°; Alternatively, the second preset posture further includes: the second angle is within the fourth preset range, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 240° and less than 360°; Alternatively, the second preset posture also includes: the difference between the third angle and the second angle is within a fifth preset range, the third angle is the angle between the second screen and the horizontal plane, the angle between the orientation of the third screen and the Z axis of the geographic coordinate system is greater than 90°, and the angle within the second preset range is greater than 180° and less than 360°.

17. The method according to claim 7, It is characterized in that In the first preset posture and the second preset posture, the first angle does not include 0° and 180°.

18. The method according to claim 7, It is characterized in that When it is detected that the electronic device is in a second preset posture and the electronic device meets a second preset condition, the method further includes: The electronic device controls the first screen to turn off.

19. The method according to claim 8, It is characterized in that The third preset posture also includes: a second angle between the third screen and the horizontal plane is within a fourth preset range, an angle between the orientation of the third screen and the Z axis of the geographic coordinate system is less than 90°, and the angle within the third preset range is greater than 60° and less than 180°.

20. The method according to claim 8, It is characterized in that The display content of the third screen includes an enlarged image of a preset local feature in the image captured by the second camera.

21. The method according to claim 8, It is characterized in that The performing split-screen display on the second screen and the third screen includes: The third user interface is displayed in split screens on the second screen and the third screen; the display content of the second screen includes the third preview display area of ​​the third user interface, and zero, one or more interface elements of the third user interface except the third preview display area, and the display content of the third screen includes one or more interface elements of the third user interface except the display content of the second screen; The third user interface also includes one or more of the following interface elements: a makeup trial control, a shooting control, a camera switching control, a fill light control, an album control, and a display frame; wherein the makeup trial control is used to add a preset makeup effect to the face in the image in the preview display area of ​​the third user interface; the shooting control is used to trigger the electronic device to save the image in the preview display area of ​​the third user interface; the camera switching control is used to switch the camera for capturing images; the fill light control is used to supplement ambient light; the album control is used to trigger the electronic device to display the user interface of the album application; and the display frame is used to display an enlarged image of a preset local feature in the image captured by the second camera.

22. The method according to any one of claims 3 to 8, It is characterized in that The face is a face of a preset user.

23. An electronic device comprising a memory, one or more processors, a plurality of applications, and one or more programs; in, The one or more programs are stored in the memory; it is characterized in that when the one or more processors execute the one or more programs, the electronic device implements the method according to any one of claims 1-22.

24. A computer-readable storage medium, It is characterized in that It comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the display method as described in any one of claims 1 to 22.

25. A computer program product, It is characterized in that When the computer program product is run on a computer, the computer is enabled to execute the display method according to any one of claims 1 to 22.