CN116027886A - Display method of folding screen and electronic equipment - Google Patents

Display method of folding screen and electronic equipment Download PDF

Info

Publication number
CN116027886A
CN116027886A CN202111258137.3A CN202111258137A CN116027886A CN 116027886 A CN116027886 A CN 116027886A CN 202111258137 A CN202111258137 A CN 202111258137A CN 116027886 A CN116027886 A CN 116027886A
Authority
CN
China
Prior art keywords
screen
interface
electronic device
user
folding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111258137.3A
Other languages
Chinese (zh)
Inventor
戴天瑶
郑江震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111258137.3A priority Critical patent/CN116027886A/en
Publication of CN116027886A publication Critical patent/CN116027886A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a display method of a folding screen and electronic equipment. The method can be applied to scenes such as photographing, video call, multimedia playing or live broadcasting and the like. The method is applied to an electronic device comprising a folding screen, which can form at least two screens, the at least two screens comprising a first screen and a second screen. The method comprises the following steps: determining that the folding screen is in a semi-folded form; displaying a first interface on a first screen and displaying a second interface on a second screen; detecting a first operation of a user, wherein the first operation is a sliding operation along a first direction, or the first operation is an operation that the user does not contact the folding screen; in response to the first operation, a second interface is displayed on the first screen, and the first interface is displayed on the second screen. And switching the contents displayed on the first screen and the second screen (namely the first interface and the second interface) through the first operation of the user. So that the user can view/operate the first interface or the second interface from a better angle.

Description

Display method of folding screen and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a display method of a folding screen and electronic equipment.
Background
With the continuous development of electronic devices, more and more electronic devices with display screens are applied to daily life and work of people, such as mobile phones with display screens. Along with the development of screen technology, the display screen of the electronic device is also becoming larger and larger to provide the user with richer information, and bring the user with better use experience.
However, the display screen of the electronic device is too large, which may seriously affect portability. Accordingly, electronic devices configured with a folding screen (for example, folding screen mobile phones) proposed in recent years are the direction of development of future electronic devices. Currently, the form of a folding screen can be divided into a folded state and an unfolded state, and when the folding screen is in the folded state, the folding screen can be folded into at least two screens. The electronic device may display an interface of the application on one of the screens. When the folding screen is unfolded, the display area of the folding screen comprises at least two screens, and the electronic equipment can display the interface of the display application to the whole display area of the folding screen.
However, for a folding screen mobile phone, how to flexibly display an application interface by using multiple screens of the folding screen mobile phone is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a display method of a folding screen and electronic equipment. The method can be applied to scenes such as photographing, video call, multimedia playing or live broadcasting and the like. The switching of the two on-screen display interfaces can be realized based on the first operation of the user, so that the user can view/operate the first interface or the second interface from a better angle.
The first aspect of the embodiments of the present application provides a method for displaying a folding screen, which may be applied to a scene such as photographing, video call, playing multimedia or live broadcast. The method may be performed by an electronic device that includes a folding screen, or by a component of an electronic device (e.g., a processor, chip, or system-on-a-chip, etc.). A folding screen is foldable to form at least two screens, the at least two screens including a first screen and a second screen, the method comprising: determining that the folding screen is in a semi-folded form; displaying a first interface on a first screen, and displaying a second interface on a second screen, wherein the first interface and the application to which the second interface belongs are the same or different; detecting a first operation of a user, wherein the first operation is a sliding operation along a first direction, or the first operation is an operation that the user does not contact the folding screen; the first direction is a direction perpendicular to a folding edge on the folding screen, and the folding edge is used for dividing the folding screen into a first screen and a second screen; in response to the first operation, a second interface is displayed on the first screen, and the first interface is displayed on the second screen.
In this embodiment of the present application, switching between the content displayed on the first screen and the content displayed on the second screen (i.e., the first interface and the second interface) is implemented through a first operation of the user. So that the user can view/operate the first interface or the second interface from a better angle.
Optionally, in a possible implementation manner of the first aspect, the steps are as follows: determining that the folding screen is in a semi-folded configuration, comprising: and if the included angle between the first screen and the second screen is between the first angle threshold value and the second angle threshold value, determining that the folding screen is in the semi-folding state, wherein the first angle threshold value is smaller than the second angle threshold value. For example: the first angle threshold is 45 degrees and the second angle threshold is 145 degrees.
In this possible implementation manner, the folding screen may be determined to be in a semi-folded configuration according to the included angle between the first screen and the second screen, so that the two screens display two interfaces to better conform to the usage habit of most users when the electronic device (or the folding screen) is in the semi-folded configuration.
Optionally, in a possible implementation manner of the first aspect, the steps are as follows: detecting a first operation of a user, comprising: if the moving distance of the first interface is greater than or equal to a first threshold value, determining that the sliding operation of the user on the first screen is detected, wherein the sliding operation comprises a first direction, a sliding initial position and an instant position, the moving distance is the distance between the initial position and the instant position, the first interface moves along with the sliding operation in the first direction, and the sliding operation is continuous operation that the fingers of the user do not leave the folding screen.
In the possible implementation manner, the first interface can move along with the sliding operation, so that an animation effect is generated, and false triggering screen cutting caused by short-distance false touch of a user is reduced through comparison of the moving distance and the first threshold value.
Optionally, in a possible implementation manner of the first aspect, the first operation includes a gesture operation or a tapping operation of the user, where the gesture operation includes a palm swing or a preset gesture of the user, and the tapping operation includes a operation of tapping a back of the electronic device.
In the possible implementation manner, in a scene that a user is applicable to two hands to operate the folding screen mobile phone, the switching operation of the two screen display interfaces can be realized without touching the folding screen based on the operation of the back of the electronic equipment or the operation of the palm swing or the knocking of the back of the electronic equipment, so that the operation experience of the user is improved.
Optionally, in a possible implementation manner of the first aspect, the gesture operation includes palm swing of the user, and the method further includes: acquiring a real-time image about a user through a front-facing camera, wherein the front-facing camera is positioned on a first screen; determining that a gesture operation is identified, comprising: and if the real-time image comprises the preset gesture, determining that gesture operation is recognized.
In the possible implementation manner, the user can start the electronic device to execute screen switching (namely, switching of display interfaces of two screens) through the space-free gesture, so that the pleasure and experience of switching operation of the user are increased.
Optionally, in a possible implementation manner of the first aspect, the steps further include: and determining that the change value of the attitude angle of the electronic device is greater than or equal to a second threshold value, wherein the attitude angle comprises a tilt angle or a pitch angle.
In this possible implementation manner, the first operation can be determined and detected specifically through the transformation value of the attitude angle of the electronic device, in other words, the operation of triggering the screen cutting can be realized based on the operation of rotating the electronic device by the user, so that an intelligent electronic device is realized, and the service performance of the electronic device is improved.
Optionally, in a possible implementation manner of the first aspect, the method is applied to a shooting scene, and the first interface is used for displaying a picture captured by a camera, where the picture captured by the camera is a picture before receiving a shooting confirmation signal; the second interface is used for displaying options or a gallery related to setting the picture captured by the camera.
In this possible implementation, on the one hand, in a scene of taking a photograph high above or downwards, the user does not need to raise his head, or be helped by the sun, by a low head or by another person. On the other hand, the display contents of the two screens can be switched through operations (such as knocking the back of the electronic equipment, separating gestures or sliding and dragging, and the like), so that photographing experience of a user in different photographing scenes is ensured. On the other hand, the user can better view the preview image under different photographing scenes or can set photographing parameters conveniently by one hand.
Optionally, in a possible implementation manner of the first aspect, the method is applied to a multimedia scene, and the first interface is used for displaying video, music or text; the second interface is used for marking or commenting videos, music or words by the user.
In this possible implementation manner, the requirements of users for flexibly (such as lying down) watching videos and the like can be met, or the viewing experience of the users in different multimedia scenes can be met.
Optionally, in a possible implementation manner of the first aspect, the first interface and the second interface are both interfaces of the first application; the second interface is a home page of the first application; alternatively, the second interface is the interface of the upper level of the first interface; alternatively, the second interface is the interface of the next level of the first interface.
In the possible implementation manner, the first interface and the second interface can be two interfaces associated in the first application, so that a user can conveniently and intuitively check interfaces of adjacent levels, and the viewing experience of the user is improved.
Optionally, in a possible implementation manner of the first aspect, the first interface is an interface of a first application, and the second interface is an interface of a second application, where the second application is different from the first application; the second application is any one of the one or more applications that the electronic device has recently run and has not been closed, in addition to the first application.
In the possible implementation manner, the user can view the history record through the second interface while viewing the first interface, so that the viewing experience of the user is improved.
The second aspect of the embodiments of the present application provides an electronic device, which may be applied to a scene such as photographing, video call, playing multimedia or live broadcast. The electronic device includes: folding screen, acceleration sensor, gyroscopic sensor, one or more cameras, one or more processors, one or more memories; the folding screen can be folded to form at least two screens, and the at least two screens comprise a first screen and a second screen; the folding screen, the acceleration sensor, the gyroscope sensor, the one or more cameras and the one or more memories are respectively coupled with the one or more processors; an acceleration sensor and a gyroscopic sensor for detecting data to cause the one or more processors to determine that the folding screen is in a semi-folded configuration; the one or more memories are used to store computer program code, including computer instructions; when executed on a processor, the computer instructions cause the electronic device to perform the steps of: the processor is used for controlling the first screen to display a first interface and controlling the second screen to display a second interface, and the first interface and the second interface are the same or different in application; the processor is further used for detecting a first operation of a user, wherein the first operation is a sliding operation along a first direction or is an operation that the user does not contact the folding screen; the first direction is a direction perpendicular to a folding edge on the folding screen, and the folding edge is used for dividing the folding screen into a first screen and a second screen; and the processor is also used for responding to the first operation, controlling the first screen to display a second interface and controlling the second screen to display the first interface.
In this possible implementation form of the present invention,
optionally, in a possible implementation manner of the second aspect, the acceleration sensor and the gyroscope sensor are specifically configured to determine that an included angle between the first screen and the second screen is between a first angle threshold and a second angle threshold, so that the processor determines that the folding screen is in a semi-folded configuration, and the first angle threshold is smaller than the second angle threshold.
Optionally, in a possible implementation manner of the second aspect, the processor is specifically configured to determine that the sliding operation of the user on the first screen is detected if the moving distance of the first interface is greater than or equal to the first threshold, where the sliding operation includes a first direction, an initial position and an instant position of the sliding, the moving distance is a distance between the initial position and the instant position, and the first interface moves along with the sliding operation in the first direction, and the sliding operation is a continuous operation that a finger of the user does not leave the folding screen.
Optionally, in a possible implementation manner of the second aspect, the first operation includes a gesture operation or a tapping operation of the user, where the gesture operation includes a palm swing or a preset gesture of the user, and the tapping operation includes a operation of tapping a back of the electronic device.
Optionally, in a possible implementation manner of the second aspect, the gesture operation includes palm swing of the user, and the one or more cameras include a front camera, where the front camera is located on the first screen; the front camera is used for acquiring real-time images about a user; the processor is specifically configured to determine that a gesture operation is identified if a preset gesture is detected to be included in the real-time image.
Optionally, in a possible implementation manner of the second aspect, the acceleration sensor and the gyroscope sensor are further configured to determine that a change value of an attitude angle of the electronic device is greater than or equal to a second threshold, where the attitude angle includes a tilt angle or a pitch angle.
Optionally, in a possible implementation manner of the second aspect, the electronic device is applied to a shooting scene, the first interface is used for displaying a picture captured by a camera, and the picture captured by the camera is a picture before receiving a shooting confirmation signal; the second interface is used for displaying options or a gallery related to setting the picture captured by the camera.
Optionally, in a possible implementation manner of the second aspect, the electronic device is applied to a multimedia scene, and the first interface is used for displaying video, music or characters; the second interface is used for marking or commenting videos, music or words by the user.
Optionally, in a possible implementation manner of the second aspect, the first interface and the second interface are both interfaces of the first application; the second interface is a home page of the first application; alternatively, the second interface is the interface of the upper level of the first interface; alternatively, the second interface is the interface of the next level of the first interface.
Optionally, in a possible implementation manner of the second aspect, the first interface is an interface of a first application, and the second interface is an interface of a second application, where the second application is different from the first application; the second application is any one of the one or more applications that the electronic device has recently run and has not been closed, in addition to the first application.
A third aspect of the present application provides an apparatus for displaying an application, applied to an electronic device comprising a display screen, for performing the method of the foregoing first aspect or any possible implementation of the first aspect.
A fourth aspect of the present application provides a chip system for use in an electronic device comprising a display screen; the system on a chip includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit; the interface circuit is used for receiving signals from the memory of the electronic device and sending signals to the processor, wherein the signals comprise computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method of the first aspect or any possible implementation of the first aspect.
A fifth aspect of the present application provides a computer readable medium having stored thereon a computer program or instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any possible implementation of the first aspect.
A sixth aspect of the present application provides a computer program product which, when executed on a computer, causes the computer to perform the method of the first aspect or any of the possible implementations of the first aspect.
The technical effects of the second, third, fourth, fifth, and sixth aspects or any one of the possible implementation manners of the second, third, fourth, fifth, and sixth aspects may be referred to the technical effects of the first aspect or the different possible implementation manners of the first aspect, which are not described herein.
From the above technical solutions, the embodiments of the present application have the following advantages: and scenes such as photographing, video call, multimedia playing or live broadcasting are photographed. And switching the contents displayed on the first screen and the second screen (namely, the first interface and the second interface) through the first operation of the user. So that the user can view/operate the first interface or the second interface from a better angle.
Drawings
FIG. 1 is a schematic view of a folding screen according to an embodiment of the present invention;
FIG. 2 is a schematic view of another folding screen according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of another folding screen according to an embodiment of the present disclosure;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of calculating an included angle α between a screen a and a screen B according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an example of a geographic coordinate system according to an embodiment of the present application;
fig. 7 and fig. 8 are schematic views of an interface display before and after switching by using a multimedia scene according to an embodiment of the present application;
fig. 9 and fig. 10 are schematic views of another interface display before and after switching of the application multimedia scene according to the embodiment of the present application;
fig. 11A and 11B are schematic views of an interface display of an application vehicle scene before and after switching in the embodiment of the present application;
fig. 12A and fig. 12B are schematic views of an interface display of the first screen and the second screen before and after switching in the embodiment of the present application;
fig. 13 is a flowchart of a method for displaying a folding screen according to an embodiment of the present application;
fig. 14 is an interface schematic diagram of an electronic device in a fully expanded configuration according to an embodiment of the present application;
Fig. 15 is an interface schematic diagram of an electronic device in a fully expanded photographing scenario according to an embodiment of the present application;
fig. 16 is an interface schematic diagram of an electronic device according to an embodiment of the present disclosure in a semi-folded photographing scenario;
fig. 17 is an exemplary diagram of a first operation provided in an embodiment of the present application as a sliding operation;
FIG. 18 is an example diagram of a first operation provided by embodiments of the present application as a gesture operation;
FIG. 19 is an exemplary diagram of a first operation provided by an embodiment of the present application as a tapping operation;
fig. 20 is an illustration of an attitude angle and XYZ coordinate marks of an electronic device according to an embodiment of the present disclosure;
FIG. 21 is an example diagram of a first operation provided by an embodiment of the present application as a rotation operation;
fig. 22 is an exemplary diagram of a display interface of a first screen and a second screen before switching in a photographing scene in a semi-folded configuration in an electronic device according to an embodiment of the present application;
fig. 23 is an exemplary diagram of a display interface of a first screen and a second screen after switching in a photographing scene in a semi-folded configuration in an electronic device according to an embodiment of the present application;
fig. 24 is another exemplary diagram of a display interface of a first screen and a second screen before switching in a photographing scene in a semi-folded configuration in an electronic device according to an embodiment of the present application;
Fig. 25 is another exemplary diagram of a display interface of a first screen and a second screen after switching in a photographing scene in a semi-folded configuration in the electronic device according to the embodiment of the present application;
fig. 26 is a schematic hardware structure of another electronic device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a display method of a folding screen and electronic equipment. The method can be applied to scenes such as photographing, video call, multimedia playing or live broadcasting and the like. The switching of the two on-screen display interfaces can be realized based on the first operation of the user, so that the user can view/operate the first interface or the second interface from a better angle.
The method provided by the embodiment of the application can be applied to electronic equipment comprising the folding screen, and the folding screen can be folded to form at least two screens. For example, the folding screen may be folded along a fold edge or fold axis to form a first screen and a second screen. In practical applications, electronic devices with folding screens can be divided into two types, one type is an electronic device with a folding screen turned outwards, and the other type is an electronic device with a folding screen turned inwards. Taking the electronic equipment being folded to form a first screen and a second screen as an example, after the electronic equipment being folded, the first screen and the second screen are opposite. After the electronic device folded inwards is folded, the first screen is opposite to the second screen. In the embodiment of the present application, the first screen may be referred to as an a screen, and the second screen may be referred to as a B screen.
For example, please refer to fig. 1, which is a schematic diagram illustrating a product form of an electronic device 100 turned outwards according to an embodiment of the present application. Fig. 1 (a) is a schematic view of the electronic device 100 folded out in a fully extended state. The electronic device 100 may be folded along the folding edge in the direction shown in fig. 1 (a) to form a first screen and a second screen shown in fig. 1 (b), and the electronic device 100 may be further folded along the folding edge to form a fully folded electronic device 100 shown in fig. 1 (c), where the first screen and the second screen are opposite to each other after the electronic device 100 is fully folded.
It will be appreciated that the interface may be displayed on either the first screen or the second screen when the electronic device is in the collapsed state; the interface may be displayed on the first screen and the second screen when the electronic device is in the expanded state. The description of the unfolded state and the folded state of the electronic device may refer to the description in the following embodiments, and will not be described here.
For another example, please refer to fig. 2, which is a schematic product form diagram of an electronic device 100 folded inwards according to an embodiment of the present application. Fig. 2 (a) is a schematic view of the electronic device 100 folded inward when fully unfolded. The electronic device 100 may be folded along the folding edge in the direction shown in fig. 2 (a) to form a first screen and a second screen shown in fig. 2 (b), and the electronic device 100 may be folded along the folding direction, so as to form a completely folded electronic device 100 shown in fig. 2 (c), where the first screen and the second screen are opposite to each other after the electronic device 100 is completely folded, and 201 shown in fig. 2 (c) is a line on a plane where the first screen and the second screen are in contact. In addition, the electronic device turned inwards can further comprise a third screen, and the third screen is arranged on the back surface of the first screen or the second screen. It will be appreciated that the third screen is visible to the user when in the folded state for an inwardly turned electronic device. And when the electronic equipment is in a folded state, displaying an interface on a third screen, and when the electronic equipment is in an unfolded state, displaying the interface on the first screen and the second screen.
In fig. 1 and 2, the folding screen of the electronic device 100 is folded longitudinally, that is, the folding screen is folded into left and right screens (i.e., a screen and B screen) according to the longitudinal folding edge on the folding screen. In the embodiment of the present application, the folding screen of the electronic device 100 may also be folded laterally, that is, folded into two upper and lower screens (i.e., a screen and B screen) according to a lateral folding edge on the folding screen. For example, as shown in fig. 3 (a), the folding screen is folded in sequence along the folding edge in the lateral direction of the folding screen to form fig. 3 (b), and fig. 3 (c)/fig. 3 (d).
In some embodiments of the present application, the electronic device 100 may provide a display screen on the back of the first screen or the second screen, which may be referred to as a third screen. For example, as shown in fig. 3 (d), the back surface of the a screen (first screen) may be provided with a C screen (third screen), which may be on the same side as the rear camera on the electronic device 100.
In some embodiments, the folding screen of the electronic device 100 may surround the periphery of the electronic device 100, and the above-mentioned a screen (first screen), B screen (second screen), C screen (third screen) may all be a part of the folding screen. When the folding screen is folded, the A screen can be opposite to the C screen, and the A screen is adjacent to the B screen.
It should be noted that, at least two screens formed after the electronic device (including the electronic device turned inwards and the electronic device turned outwards) in the embodiment of the application is folded may be a plurality of screens that exist independently, or may be a complete screen of an integral structure, and only is folded to form at least two portions.
For example, the folding screen may be a flexible folding screen. The flexible folding screen comprises folding edges made of flexible materials. Part or all of the flexible folding screen is made of flexible materials. The at least two panels formed after the flexible folding panel is folded are one complete panel of unitary construction, but folded to form at least two sections.
For another example, the folding screen of the electronic device may be a multi-screen folding screen. The multi-screen folding screen may include multiple (two or more) screens. The plurality of screens is a plurality of individual display screens. The plurality of screens may be connected in turn by a folding shaft. Each screen can rotate around a folding shaft connected with the screen, so that the folding of the multi-screen folding screen is realized.
In the embodiment of the present application, the value range of the included angle α between the a screen and the B screen of the folding screen of the electronic device 100 is [0 °,180 ° ]. Wherein if α ε [0 °, P1], electronic device 100 may determine that the folding screen is in a fully folded configuration; if α∈ (P1, P2), the electronic device 100 may determine that the folding screen is in a semi-folded configuration; alpha e [ P2, 180 ], the electronic device 100 may determine that the folding screen is in a fully unfolded configuration. Wherein, 0 DEG is more than 0 DEG and less than P1 and less than 180 DEG is more than P2. P1 and P2 can be understood as preset angle thresholds. In the embodiment of the present application, P1 may be referred to as a first angle threshold, and P2 may be referred to as a second angle threshold. P1, P2 may be determined based on usage habits of a large number of users using the folding screen; alternatively, P1, P2 may be set by the user in the electronic device 100.
In some embodiments, the user may want to use the a-screen and the B-screen as a whole (i.e., as a complete display screen) with a greater angle α than 100 ° according to the usage habits of most users. When the included angle α between the a-screen and the B-screen is smaller than 80 degrees, the possibility that the user wants to use the a-screen or the B-screen separately is high, and the folding screen may be in a fully folded configuration. When the included angle α between the a-screen and the B-screen is between 80 degrees and 100 degrees, the possibility that the user wants to display different display contents using the a-screen and the B-screen is high, and the folding screen may be in a semi-folded configuration.
Therefore, the range of the preset angle threshold P1 in the embodiment of the present application may be (0, 80 ° ], and the range of the preset angle threshold P2 may be [100 °,180 °). For example, the preset angle threshold P1 may be 75 °, and the preset angle threshold P2 may be 105 °. The above examples are only for the purpose of explaining the present application and should not be construed as limiting.
By way of example, the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, a car machine, or the like, including a device with a folding screen, and the embodiments of the present application do not limit the specific form of the device.
The implementation of the examples of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 4 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. As shown in fig. 4, the electronic device 100 may include a processor 410, an external memory interface 420, an internal memory 421, a universal serial bus (universal serial bus, USB) interface 430, a charge management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, a sensor module 480, keys 490, a motor 491, an indicator 492, a camera 493, a display screen 494, and a subscriber identity module (subscriber identification module, SIM) card interface 495, etc. Among other things, the sensor module 480 may include a pressure sensor 480A, a gyroscope sensor 480B, an air pressure sensor 480C, a magnetic sensor 480D, an acceleration sensor 480E, a distance sensor 480F, a proximity light sensor 480G, a fingerprint sensor 480H, a temperature sensor 480J, a touch sensor 480K, an ambient light sensor 480L, a bone conduction sensor 480M, and the like.
It is to be understood that the structure illustrated in the present embodiment does not constitute a specific limitation on the electronic apparatus 100. In other embodiments, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 410 may include one or more processing units, such as: the processor 410 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 410 for storing instructions and data. In some embodiments, the memory in the processor 410 is a cache memory. The memory may hold instructions or data that the processor 410 has just used or recycled. If the processor 410 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided, reducing the latency of the processor 410 and thus improving the efficiency of the system.
In some embodiments, processor 410 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only illustrative, and does not limit the structure of the electronic device 100. In other embodiments, the electronic device 100 may also employ different interfaces in the above embodiments, or a combination of interfaces.
The charge management module 440 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 440 may receive a charging input of a wired charger through the USB interface 430. In some wireless charging embodiments, the charge management module 440 may receive wireless charging input through a wireless charging coil of the electronic device 100. The battery 442 may be charged by the charge management module 440, and the electronic device may be powered by the power management module 441.
The power management module 441 is configured to connect the battery 442, the charge management module 440 and the processor 410. The power management module 441 receives input from the battery 442 and/or the charge management module 440 to power the processor 410, the internal memory 421, the external memory, the display screen 494, the camera 493, the wireless communication module 460, and the like. The power management module 441 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 441 may also be disposed in the processor 410. In other embodiments, the power management module 441 and the charge management module 440 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 450 may provide a solution for wireless communication, including 2G/3G/4G/5G, as applied to the electronic device 100. The mobile communication module 450 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 450 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 450 may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the processor 410. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the same device as at least some of the modules of the processor 410.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating 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. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 470A, receiver 470B, etc.), or displays images or video through display screen 494. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 450 or other functional module, independent of the processor 410.
The wireless communication module 460 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 460 may be one or more devices that integrate at least one communication processing module. The wireless communication module 460 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 410. The wireless communication module 460 may also receive a signal to be transmitted from the processor 410, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 450 of electronic device 100 are coupled, and antenna 2 and wireless communication module 460 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TDSCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions via a GPU, a display screen 494, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 494 is used to display images, videos, and the like. The display screen 494 is the above-described fold-out screen. Alternatively, the display screen 494 may include the above-described fold-in screen that is foldable to form a first screen (e.g., a screen shown in (B) of fig. 2) and a second screen (e.g., B screen shown in (B) of fig. 2), and a third screen (e.g., C screen shown in (C) of fig. 2).
The display screen 494 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like.
Electronic device 100 may implement capture functionality through an ISP, camera 493, video codec, GPU, display screen 494, and application processor, among others.
The ISP is used to process the data fed back by the camera 493. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, an ISP may be provided in the camera 493.
The camera 493 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred 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 the like format. In some embodiments, electronic device 100 may include 1 or N cameras 493, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 420 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 410 through an external memory interface 420 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 421 may be used to store computer-executable program code that includes instructions. The processor 410 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 421. For example, in the present embodiment, the processor 410 may switch display contents between two screens of the display screen 484 (i.e., folding screen) in response to a first operation by a user by executing instructions stored in the internal memory 421. The internal memory 421 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 421 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 470 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 470 may also be used to encode and decode audio signals. In some embodiments, the audio module 470 may be disposed in the processor 410, or some functional modules of the audio module 470 may be disposed in the processor 410. Speaker 470A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 470A. A receiver 470B, also referred to as a "earpiece," is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be heard by placing receiver 470B in close proximity to the human ear. Microphone 470C, also referred to as a "microphone" or "microphone," is used to convert sound signals into electrical signals. When making a call or sending a voice message or when it is desired to trigger the electronic device 100 to perform certain functions by a voice assistant, the user may sound near the microphone 470C through his mouth, inputting a sound signal to the microphone 470C. The electronic device 100 may be provided with at least one microphone 470C. In other embodiments, the electronic device 100 may be provided with two microphones 470C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 470C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The headphone interface 470D is for connecting a wired headphone. Earphone interface 470D may be a USB interface 430 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 480A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 480A may be disposed on display screen 494. The pressure sensor 480A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. When a force is applied to the pressure sensor 480A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 494, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 480A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 480A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 480B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 480B. The gyro sensor 480B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 480B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 480B may also be used for navigation, somatosensory of game scenes. In the embodiment of the present application, the display screen 494 of the electronic device 100 may be folded to form a plurality of screens. A gyroscopic sensor 480B may be included in each screen for measuring the orientation (i.e., directional vector of orientation) of the corresponding screen. The electronic device 100 may determine, according to the measured angle change of the orientation of each screen, an included angle of the adjacent screen, and further determine that the electronic device 100 is in a fully unfolded configuration or a semi-folded configuration, or the like.
It should be noted that in embodiments of the present application, a folding screen (e.g., the display screen 494 described above) of the electronic device 100 may be folded to form multiple screens. A gyroscopic sensor (such as gyroscopic sensor 480B described above) may be included in each screen for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen. For example, in connection with FIG. 1 above, display screen 494 of electronic device 100 may be folded to form a screen A and a screen B, and gyro sensor 480B may be included in each of the screens A and B for measuring the orientation of the screens A and B, respectively. The electronic device 100 may determine the included angle of the adjacent screens according to the measured angular change of the orientation of each screen.
Illustratively, the folding screen of the electronic device 100 may be folded to form the A-screen and the B-screen shown in FIG. 5. The screen A is provided with a gyroscope sensor A, and the screen B is provided with a gyroscope sensor B. Here, a principle that the gyro sensor a measures the orientation of the a-screen (i.e., the direction vector of the orientation), the gyro sensor B measures the orientation of the B-screen (i.e., the direction vector of the orientation), and a principle that the electronic apparatus 100 calculates the angle α between the a-screen and the B-screen from the orientation of the a-screen and the orientation of the B-screen will be described.
Wherein the coordinate system of the gyro sensor is a geographical coordinate system. As shown in fig. 6, the origin O of the geographic coordinate system is at the point where the vehicle (i.e., the device containing the gyroscopic sensor, such as electronic device 100) is located, the x-axis points east (E) along the local latitude line, the y-axis points north (N) along the local meridian line, and the z-axis points upward along the local geographic perpendicular line, and forms a right-hand rectangular coordinate system with the x-axis and the y-axis. The plane formed by the x axis and the y axis is a local horizontal plane, and the plane formed by the y axis and the z axis is a local meridian plane. Thus, it can be appreciated that the coordinate system of the gyroscopic sensor is: the gyroscope sensor is taken as an origin O, an x-axis along the direction of the local latitude line to the east, a y-axis along the direction of the local meridian to the north, and a z-axis along the direction of the local geographic plumb line (namely the opposite direction of the geographic plumb line).
The electronic device can measure and obtain the direction vector of the orientation of each screen in the coordinate system of the gyroscope sensor arranged in each screen by using the gyroscope sensor arranged in each screen. For example, referring to a side view of the electronic device as shown in fig. 5, a direction vector of the orientation of the a-screen in the coordinate system of the gyro sensor a measured by the electronic device is a vector z1, and a direction vector of the orientation of the B-screen in the coordinate system of the gyro sensor B is a vector z2. The electronic device uses formula (1):
Figure BDA0003324521700000121
the angle θ between the vector z1 and the vector z2 can be calculated.
As can be seen from fig. 5, since the vector z1 is perpendicular to the a-screen and the vector z2 is perpendicular to the B-screen, the angle α=180° - θ between the a-screen and the B-screen can be obtained. Namely, the electronic device can determine the included angle alpha between the A screen and the B screen according to the direction vector (i.e. the vector z 1) of the orientation of the A screen in the coordinate system of the gyroscope sensor A and the direction vector (i.e. the vector z 2) of the orientation of the B screen in the coordinate system of the gyroscope sensor B.
Although the positions of the gyro sensors provided in the a-screen and the B-screen do not overlap, that is, the origins of the coordinate systems of the a-screen and the B-plane gyro sensors do not overlap, the x-axis, the y-axis, and the z-axis of the two coordinate systems are parallel, and thus the coordinate systems of the gyro sensors provided in the a-screen and the B-screen can be considered to be parallel. Thus, although the vector z1 and the vector z2 are not in the same coordinate system, the axes of the two coordinate systems are parallel, and therefore, the angle θ between the vector z1 and the vector z2 can be calculated by the above formula (1).
In some embodiments, the angle alpha between the A screen and the B screen can be measured by matching with one or more other sensors. For example, one acceleration sensor may be provided in each of the folding screens. The electronic device 100 (e.g., the processor 410) may measure the motion acceleration of each screen as it is rotated using an acceleration sensor; and then calculating the rotation angle of one screen relative to the other screen according to the measured motion acceleration, namely the included angle alpha between the screen A and the screen B.
In other embodiments, the gyro sensor may be a virtual gyro sensor formed by combining a plurality of other sensors. The virtual gyroscope sensor can be used for calculating the included angle between adjacent screens of the folding screen, namely the included angle alpha between the screen A and the screen B.
The air pressure sensor 480C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 480C, aiding in positioning and navigation.
The magnetic sensor 480D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 480D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 480D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 480E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications. It should be noted that in the embodiment of the present application, the display screen 494 of the electronic device 100 may be folded to form a plurality of screens. An acceleration sensor 480E may be included in each screen for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen.
A distance sensor 480F for measuring distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 480F to achieve fast focus.
Proximity light sensor 480G may include, for example, a Light Emitting Diode (LED) and a light detector, for example, a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 may use the proximity light sensor 480G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically extinguish the screen for power saving. The proximity light sensor 480G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 480L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display screen 494 based on the perceived ambient light level. The ambient light sensor 480L may also be used to automatically adjust white balance during photographing. Ambient light sensor 480L may also cooperate with proximity light sensor 480G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 480H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 480J detects temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 480J. For example, when the temperature reported by temperature sensor 480J exceeds a threshold, electronic device 100 performs a reduction in performance of a processor located in the vicinity of temperature sensor 480J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 442 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 442 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 480K, also referred to as a "touch panel". The touch sensor 480K may be disposed on the display screen 494, and the touch sensor 480K and the display screen 494 form a touch screen, which is also called a "touch screen". The touch sensor 480K is used to detect a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display screen 494. In other embodiments, the touch sensor 480K may also be disposed on the surface of the electronic device 100 at a different location than the display screen 494.
Bone conduction sensor 480M may acquire a vibration signal. In some embodiments, bone conduction sensor 480M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 480M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 480M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 470 may parse out a voice signal based on the vibration signal of the sound part vibration bone block obtained by the bone conduction sensor 480M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beat signals acquired by the bone conduction sensor 480M, so that a heart rate detection function is realized.
The keys 490 include a power-on key, a volume key, etc. The keys 490 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 491 may generate a vibration cue. The motor 491 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 491 may also correspond to different vibration feedback effects by touch operations applied to different areas of the display screen 494. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 492 may be an indicator light, which may be used to indicate a state of charge, a change in charge, an indication message, a missed call, a notification, or the like.
The SIM card interface 495 is used to connect to a SIM card. The SIM card may be inserted into the SIM card interface 495 or removed from the SIM card interface 495 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 495 may support Nano SIM cards, micro SIM cards, etc. The same SIM card interface 495 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 495 may also be compatible with different types of SIM cards. The SIM card interface 495 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The methods in the following embodiments may be implemented in the electronic device 100 having the above-described hardware structure. For convenience of understanding, the form of the folding screen and the number of the folding screens after folding the folding screen of the electronic device will be described below by way of example with reference to at least two screens formed by folding the folding screen shown in fig. 3, and the form of the folding screen and the number of the folding screens after folding the folding screen are not limited herein.
The method provided by the embodiment of the application can be applied to the situation that the folding screen is in the semi-folded state. That is, when the folding screen is in the semi-folded state, if the user operates the folding screen, the pictures displayed by at least two screens generated by folding the folding screen are switched, so that the user can view the first interface or the second interface from a better angle. Before describing the method provided by the embodiment of the present application, a plurality of application scenarios of the method provided by the embodiment of the present application are described:
scene one: photographing scene (hereinafter, the method provided in the embodiment of the present application will be described by taking the scene as an example).
The photographing scene includes, but is not limited to, at least one of:
1. shooting scenes of sky, high buildings and other high places. In this scenario, the user may perform a first operation, for example: knocking the back of the electronic equipment, separating gestures, sliding and dragging or rotating the electronic equipment, and the like) to flexibly adjust the switching of the display pictures of the first screen and the second screen, so that the user can meet the requirements of viewing preview images or setting shooting options, and the like, without raising the head.
2. Sit to shoot food and shoot scenes at low places such as ground in high buildings. For example: the food anchor sits to share food through the electronic equipment. In this scenario, the user may perform a first operation, for example: knocking the back of the electronic equipment, separating gestures, sliding and dragging or rotating the electronic equipment, and the like) to flexibly adjust the switching of the display pictures of the first screen and the second screen, so that the user can meet the requirements of viewing preview images or setting shooting options, and the like, without lowering the head or standing up.
3. And the self-shooting scene is not needed to be assisted by other people. For example: the user can perform perfect self-timer according to the electronic equipment in the semi-folded state. In this scenario, the user may perform a first operation, for example: strike electronic equipment back, separate empty gesture, slide drag or rotate electronic equipment etc.) flexible adjustment first screen and second screen display's switching to make the user not need other people's help just can satisfy the user and look over preview image, set up shooting option or quick demand such as selftimer.
4. Other photo scenes. For example: when a user wants to take a photograph from a top view angle in a scene where the user performs extreme movement recording by fixing the mobile phone to the selfie stick, the user can switch the pictures displayed on the two screens by rotating the operation of the electronic device.
It will be appreciated that the above-mentioned photo scenes are merely examples, and other photo scenes are also possible in practical application, and the present invention is not limited thereto.
In this scenario, when the folding screen is in the semi-folded state, the first screen displays a first interface, and the second screen displays a second interface, where the first interface is used for displaying a picture captured by the camera (which may also be understood as a picture before receiving a shooting confirmation signal or a preview stream picture), and the second interface is used for displaying an option or a gallery related to setting the picture captured by the camera (which is used for storing pictures stored in the electronic device). The user can switch the display contents of the two screens through a first operation (i.e., the first screen displays the second interface and the second screen displays the first interface). On the one hand, the user does not need to raise his head to be dazzled by the sun, lower his head or be assisted by other people. On the other hand, the display contents of the two screens can be switched through operations (such as knocking the back of the electronic equipment, separating gestures or sliding and dragging, and the like), so that photographing experience of a user in different photographing scenes is ensured. On the other hand, the user can better view the preview image under different photographing scenes or can set photographing parameters conveniently by one hand.
Scene II: a multimedia scene.
The multimedia scene includes, but is not limited to, at least one of:
1. video scenes. For example: the first screen is used for playing videos and the second screen is used for viewing scenes introduced by video actors, the first screen is used for playing videos and the second screen is used for viewing comments of other users on the videos, the first screen is used for playing videos and the second screen is used for commenting or marking the videos, the first screen is used for playing videos and the second screen is used for displaying video playing ranking charts or historical watching records, the first screen is used for playing scenes of advertisements in the videos and the second screen is used for displaying the scenes of the advertisements in the videos, and the like. In this scenario, the user may perform a first operation, for example: tapping the back of the electronic device, separating gestures, sliding and dragging or rotating the electronic device, etc.) to flexibly adjust the switching of the display pictures of the first screen and the second screen, thereby meeting the requirements of users for flexibly (such as lying, etc.) watching videos, etc.
Illustratively, as shown in FIG. 7, the folding screen of the electronic device is in a semi-folded configuration, a first screen of the electronic device is used to display a first interface and a second screen is used to display a second interface. The first interface includes a video playing interface (for playing video), a playing progress bar, a playing key, a fast forward/reverse key, and the like. The second interface includes profile options for the video (for introducing the video played in the first interface), a bullet screen area, a comment area, and the like. After the electronic device detects the first operation of the user, the electronic device controls the first screen to display the second interface and the second screen to display the first interface in response to the first operation as shown in fig. 8. And further realize the switching between the two screen display contents. It will be appreciated that fig. 7 and 8 may be replaced, i.e. the interface displayed by the electronic device is as shown in fig. 8, and the interface shown in fig. 7 is obtained after detecting and responding to the first operation.
2. Music scenes. For example: the first screen is used for playing music and the second screen is used for viewing lyrics, the first screen is used for playing music and the second screen is used for viewing the introduction of the music singer, the first screen is used for playing music and the second screen is used for viewing comments of other users on the music, the first screen is used for playing music and the second screen is used for commenting or marking the music, the first screen is used for playing music and the second screen is used for displaying scenes of a music playing ranking list or a historical playing record, and the like. In this scenario, the user may perform a first operation, for example: knocking the back of the electronic equipment, separating gestures, sliding and dragging or rotating the electronic equipment, and the like) to flexibly adjust the switching of the display pictures of the first screen and the second screen, thereby meeting the requirements of users for flexibly playing music, and the like.
Illustratively, as shown in fig. 9, the folding screen of the electronic device is in a semi-folded configuration, with a first screen of the electronic device for displaying a first interface and a second screen for displaying a second interface. The first interface includes a music playing interface (for playing music), a playing progress bar, a playing key, a fast forward/reverse key, a circulation mode, and the like. The second interface includes recommended content such as: the first interface plays a singing song or a recommendation of the same type of song by the author of the song, etc. The user may play the relevant song by clicking the listen button. After the electronic device detects the first operation of the user, the electronic device controls the first screen to display the second interface and the second screen to display the first interface in response to the first operation as shown in fig. 10. And further realize the switching between the two screen display contents. It will be appreciated that fig. 9 and fig. 10 may be replaced, that is, the interface displayed by the electronic device is as shown in fig. 10, and the interface shown in fig. 9 is obtained after the detection and response to the first operation.
3. Text scenes. For example: the first screen is used to display a novel and the second screen is used to view the introduction of the novel author, the first screen is used to display a novel and the second screen is used to display comment scenes of relevant paragraphs in the novel, the first screen is used to display novel introductions close to the novel (for example, similar in style to the novel or consistent with the author), the first screen is used to display novel and the second screen are used to comment or mark relevant paragraphs in the novel, the first screen is used to display novel and the second screen are used to display a novel view ranking list or historical viewing record, the first screen is used to display scenes of advertisements in the novel and the second screen are used to display, and the like. In this scenario, the user may perform a first operation, for example: knocking the back of the electronic equipment, separating gestures, sliding and dragging or rotating the electronic equipment, and the like) to flexibly adjust the switching of the display pictures of the first screen and the second screen, thereby meeting the requirements of users for flexibly viewing texts, and the like.
It will be appreciated that the above-mentioned several multimedia scenes are merely examples, and that other multimedia scenes are also possible in practical applications, and are not limited herein.
In this scenario, when the folding screen is in the semi-folded configuration, the first screen displays a first interface for displaying a multimedia screen and the second screen displays a second interface for displaying content (e.g., comments, marks, ranks, history, etc.) associated with the multimedia screen. The user can switch the display contents of the two screens through a first operation (i.e., the first screen displays the second interface and the second screen displays the first interface). The user can switch the display contents of the two screens through operations (such as knocking the back of the electronic equipment, separating a space gesture or sliding and dragging the electronic equipment, and the like), so that the viewing experience of the user in different multimedia scenes is ensured.
Scene III: and a car scene.
The method provided by the embodiment of the application can also be applied to scenes such as vehicles, airplanes, robots and the like. For example: the electronic device is a car machine with a folding screen (i.e. a device in a car for displaying a map, a hologram or a reverse image etc. to a user).
In this scenario, the user may perform a first operation, for example: knocking the back of the electronic equipment, separating gestures, sliding and dragging or rotating the electronic equipment, and the like) to flexibly adjust the switching of the display pictures of the first screen and the second screen, thereby meeting the requirements that a user needs to know different information when driving a vehicle.
Illustratively, as shown in FIG. 11A, the folding screen of the vehicle is in a semi-folded configuration, with the first screen of the vehicle being used to display a first interface and the second screen being used to display a second interface. Wherein the first interface displays a map. The second interface displays a holographic image. If the user needs to clearly view the information on the map while driving the vehicle, a first operation (for example, one-hand sliding, gesture operation, voice operation, etc.) may be performed on the vehicle, and after the electronic device detects the first operation of the user, the electronic device controls the first screen to display the second interface and the second screen to display the first interface, as shown in fig. 11B. And further, switching between the display contents of the two screens is realized, and the experience of viewing information in the driving vehicle of the user is improved. It will be appreciated that fig. 11A and 11B may be replaced, that is, the interface displayed by the electronic device is shown in fig. 11B, and the interface shown in fig. 11A is obtained after the detection and response to the first operation.
Scene four: the first screen and the second screen display scenes of different application interfaces.
In the scene, a first interface displayed on a first screen belongs to a first application, a second interface displayed on a second screen belongs to a second application, and the first application is different from the second application.
Illustratively, as shown in fig. 12A, the folding screen of the electronic device is in a semi-folded configuration, a first screen of the electronic device is used to display a first interface, and a second screen is used to display a second interface. The first interface includes a video playing interface (for playing video), a playing progress bar, a playing key, a fast forward/reverse key, a circulation mode, and the like. The second interface includes an interface of a second application, such as: and a short message interface. After the electronic device detects the first operation of the user, the electronic device controls the first screen to display the second interface and controls the second screen to display the first interface in response to the first operation, as shown in fig. 12B. And further realize the switching between the two screen display contents. It will be appreciated that fig. 12A and 12B may be replaced, that is, the interface displayed by the electronic device is shown in fig. 12B, and the interface shown in fig. 12A is obtained after detecting and responding to the first operation.
It can be understood that the above-mentioned several scenarios are only examples of scenarios where the method provided in the embodiments of the present application is applied, and in practical applications, the method provided in the embodiments of the present application may also be applied to other scenarios (e.g. video call, etc.), which is not limited herein.
The display method of the folding screen provided by the embodiment of the application can be executed by the electronic equipment, and also can be executed by a component (such as a processor, a chip, or a chip system) of the electronic equipment. The following electronic device is a mobile phone, and the form of a folding screen of the mobile phone is shown in fig. 3, where the first screen is opposite to the second screen, and the folding screen can be folded to form a first screen (i.e. a screen) and a second screen (i.e. B screen), which are described by taking an example of application to a photographing scene. As shown in fig. 13, the display method of the folding screen may include steps 1301 to 1304, which are described below, respectively.
Step 1301, determining that the folding screen is in a semi-folded configuration.
The description of the folding screen and the semi-folded configuration may refer to the descriptions in fig. 1 to 3, and detailed descriptions thereof are omitted herein.
Alternatively, a sensor module in the electronic device may identify whether the folding screen is in a fully unfolded configuration, a semi-folded configuration, etc., such as: the acceleration sensor and the gyroscopic sensor are particularly used to identify and determine that the folding screen is in a semi-folded configuration.
In the embodiment of the application, the value range of the included angle alpha between the first screen and the second screen of the folding screen of the electronic equipment is [0 degrees, 180 degrees ]. As described in fig. 1 to 3 above, if α∈ (P1, P2), the electronic device 100 may determine that the folding screen is in the semi-folded configuration; wherein, 0 DEG is more than 0 DEG and less than P1 and less than 180 DEG is more than P2. P1 and P2 can be understood as preset angle thresholds. In the embodiment of the present application, P1 may be referred to as a first angle threshold, P2 may be referred to as a second angle threshold, and the second angle threshold is greater than the first angle threshold. P1, P2 may be determined based on usage habits of a large number of users using the folding screen; alternatively, P1, P2 may be set by the user in the electronic device.
Alternatively, according to the usage habits of most users, when the included angle α of the first screen and the second screen is 75 degrees and 145 degrees, the possibility that the user wants to display different display contents using the first screen and the second screen is high.
Illustratively, the range of values for the first angular threshold in embodiments of the present application may be (0, 75 ° ], and the range of values for the second angular threshold may be [145 °,180 °). For example, the first angle threshold may be 75 ° and the second angle threshold may be 145 °. The above examples are only for the purpose of explaining the present application and should not be construed as limiting.
Optionally, when the included angle α∈ (P1, P2) between the first screen and the second screen on the electronic device is maintained for a time longer than a preset time (for example, 0.5 seconds), the electronic device may determine that the folded screen enters the semi-folded configuration.
Optionally, prior to this step 1401, the electronic device may display an application interface on the folding screen in response to a user operation (e.g., power on, clicking on an application icon, etc.) while in the fully expanded configuration.
Illustratively, taking the example of a user clicking on a camera application icon. As shown in fig. 14, when the folding screen of the electronic device is in the fully unfolded state, the front camera of the electronic device and the display direction of the folding screen are in the same direction. The electronic device may display the main interface 1401 full screen on a folded screen. In which a page of application icons is displayed in the main interface 1401, the page including a plurality of application icons (e.g., a clock application icon, a calendar application icon, a gallery application icon, a memo application icon, a file management application icon, an email application icon, a music application icon, a calculator application icon, a video application icon, a sports health application icon, a weather application icon, a browser application icon, a smart life application icon, a settings application icon, a recorder application icon or an application mall icon, etc.). Page indicators are also displayed below the application icons to indicate the positional relationship between the currently displayed page and other pages. Below the page indicator are a plurality of tray icons (e.g., a dial-up application icon, an information application icon, a contacts application icon, a camera application icon 1402) that remain displayed upon switching, which in some embodiments may include a plurality of application icons and page indicators that may not be part of the page, alone, or alternatively, the embodiments of the present application are not limited in this respect. A status bar 1403 may also be displayed in the upper partial region of the main interface 1401, and the status bar 1403 may include: one or more signal strength indicators of a mobile communication signal (again, a cellular signal), a battery status indicator, a time indicator, and the like.
Further, the electronic device may receive an input operation (e.g., a click) by the user on the camera application icon 1402, and in response to the input operation, the electronic device may turn on the camera and display the camera application interface 1501 as shown in fig. 15.
Step 1302, displaying a first interface on a first screen and displaying a second interface on a second screen.
After the electronic device determines that the electronic device is in the semi-collapsed configuration, a first interface may be displayed on the first screen and a second interface may be displayed on the second screen. Wherein the first interface may be a partial area or a full area in the first on-screen display area. Similarly, the second interface may be a partial area or an entire area of the second on-screen display area. It will also be understood that the first screen will display a third interface in addition to the first interface and the second screen will display a fourth interface in addition to the second interface, the third interface being the same or different from the fourth interface. I.e. the switching of the partial display on both screens follows.
In addition, the triggering condition of the step may be an action of directly opening the application by the user in the half-folded state, or an action of opening the camera application in the fully-unfolded state and then folding the folding screen along the folding edge to the half-folded state, which is not limited herein.
In the embodiment of the application, under the condition of the semi-folding state of the electronic equipment, the first interface and the second interface have multiple conditions,
1. the first interface is used for displaying a picture captured by the camera, and the picture captured by the camera is a picture before receiving the shooting confirmation signal. The second interface is used for displaying options or a gallery related to setting the picture captured by the camera.
2. The first interface and the second interface are interfaces of different levels in the same application (which may be referred to as a first application). That is, the second interface is the interface of the upper hierarchy of the first interface; alternatively, the second interface is the interface of the next level of the first interface.
3. The first interface and the second interface are interfaces of different applications. I.e. the first interface is an interface of a first application and the second interface is an interface of a second application, which is different from the first application. The second application is any one of the one or more applications that the electronic device has recently run and has not been closed, in addition to the first application.
4. The description of the first screen and the second screen display content in the foregoing scene.
It should be understood that the display contents of the first interface and the second interface and the relationship between the first interface and the second interface are merely examples, and other relationships (such as the first interface and the second interface preset by the user) may be also available in practical applications, and the specific contents displayed by the first interface and the second interface and the relationship between the first interface and the second interface are not limited in this application.
Illustratively, continuing the above example, as shown in FIG. 16, after the folding screen is converted from the fully unfolded configuration to the semi-folded configuration, the folding screen is folded by the folding edge to form a first screen and a second screen, which may be used to display the camera application interface together. The first screen may display a picture captured by the camera and the second screen may display options and/or a gallery associated with setting up the picture captured by the camera, the gallery storing pictures acquired by the electronic device. The camera may be a front camera or a rear camera, if it is a self-photographing scene, the camera may be a front camera, i.e. the camera may be located on the surface of the first screen or the second screen.
In this embodiment of the present application, the first screen and the second screen in the semi-folded configuration may also include other application interfaces besides the camera application interface. In addition, the interface content displayed by the first screen and the second screen in the semi-folded state can be more than the interface content displayed by the folded screen in the fully unfolded state. The interface content displayed by the first screen and the second screen in the semi-folded configuration may be more than the interface content displayed by the folded screen in the fully unfolded configuration (i.e., the content displayed by the two screens is switched later), which is not limited herein.
In step 1303, a first operation of the user is detected.
In this embodiment of the present application, the first operation has a plurality of cases, and the following descriptions respectively:
first, the first operation is a sliding operation in a first direction.
In this case, the electronic apparatus detects a sliding operation of the user on the folding screen (first screen or second screen) including a first direction, an initial position of sliding, and an instant position, the sliding operation being a continuous operation in which the user's finger does not leave the folding screen. The first direction is the direction perpendicular to the folding edge on the folding screen, and the folding edge is used for dividing the folding screen into a first screen and a second screen. In addition, the sliding operation may have an animation effect, i.e., the first interface may move in the first direction along with the sliding operation.
Optionally, a distance (hereinafter referred to as a moving distance) between the initial position and the instant position is greater than or equal to a preset distance. In other words, if the sliding operation (e.g., false touch, etc.) in which the moving distance is smaller than the predetermined distance, the first operation is equivalent to the detection of no user.
Further, the sliding operation of the preset area on the first screen or the second screen is considered as the first operation by the electronic device. False touches and the like during sliding of the user can be avoided.
Optionally, if the moving distance of the first interface is greater than or equal to the first threshold, it is determined that the first operation of the user is detected. Or, at the end of the sliding operation, determining that the first operation of the user is detected if the area of the first interface disappearing portion is greater than or equal to the first threshold value.
For example, taking the case that the sliding operation is a sliding operation on the first screen as shown in fig. 17, after the first screen displays the first interface and the second screen displays the second interface, the user may perform the sliding operation 1701 on the first screen by switching the two interfaces of the two screens according to the actual needs of the user, and the direction of the sliding operation 1701 may be toward or away from the folding edge. The specific examples are not limited herein.
The second, first operation is an operation in which the user does not touch the folding screen.
1. And (5) gesture operation of a user.
The gesture operation in the embodiment of the present application may be palm swing, preset gesture, etc. corresponding to the front camera or the rear camera, which is not limited herein.
Alternatively, the electronic device may acquire real-time images about the user through a front-facing camera that is located on the first screen or the second screen. And if the gesture operation is included in the real-time image, determining that the first operation is detected. It will be appreciated that gesture operations may also be detected by one or more sensors in the sensor module of fig. 4 as previously described, and are not limited in this regard.
In addition, for gesture operations continuously issued by the user, the electronic device may determine that one gesture operation is recognized.
For example, taking the example that the gesture operation is a pan lateral (i.e. a direction parallel to the folding edge) swing, as shown in fig. 18, after the first screen displays the first interface and the second screen displays the second interface, the user may perform a pan yaw gesture 1801 in the sensing area of the front camera (or one or more sensors in the sensor module in fig. 4) according to the actual needs of the user by switching between two interfaces in the two screens.
2. The operation of the user to tap the electronic device (simply referred to as a tap operation).
The tapping operation in the embodiments of the present application may refer to operations of tapping the back of the electronic device (for example, tapping the back at least twice in succession) or tapping the side edge of the electronic device, which is not limited herein.
For example, taking the case that the tapping operation is to tap the back at least twice continuously, as shown in fig. 19, after the first screen displays the first interface and the second screen displays the second interface, the user may perform the continuous tapping operation 1901 on the back of the electronic device by switching the two interfaces of the two screens according to the actual needs of the user.
3. The attitude angle of the electronic device changes (it is understood that the electronic device detects that the user rotates the electronic device).
In this case, it is also understood that when the user is inconvenient to operate the mobile phone with both hands, it is impossible to perform a gesture operation or a tapping operation. For example, in the limit movement, the mobile phone is fixed on the selfie stick, when a photo in a overlook angle is to be taken, if the preview window is on the first screen (for example, the upper half screen), the user needs to look up the preview window in a tilting manner, the user cannot balance between a better photographing posture and viewing the preview, if the mobile phone is folded to switch the image to the second screen (for example, the lower half screen), the user's sight can more naturally observe the image preview window of the lower half screen, but at this time, the user cannot realize the operations with both hands. Based on this, a handover instruction may also be triggered based on the gesture of the handset.
Optionally, if the electronic device determines that the change value of the attitude angle of the electronic device is greater than or equal to the second threshold, it may be determined that the first operation is detected. Among them, the attitude angle includes a tilt angle (yaw, Y), a pitch angle (pitch, P), or a roll angle (roll, R).
Of course, the rotation of the electronic device can also be determined with a 3 degree of freedom (degree of freedom, DOF) pose-XYZ, XYZ representing three axes of translation, and X representing the left-right direction (or "motion"), Y representing the front-back direction (or "heave"), and Z representing the up-down direction (or "lift").
For example, the gesture angle and XYZ of the electronic device may be as shown in fig. 20, after the first screen displays the first interface and the second screen displays the second interface, the user may switch two interfaces of the two screens according to the actual needs of the user, as shown in fig. 21, and the user may trigger a switching instruction by rotating the operation of the electronic device, where the switching instruction is used for controlling the electronic device to display the first screen to display the second interface and controlling the second screen to display the first interface. The specific examples are not limited herein.
It should be understood that the above cases of the first operations are merely examples, and in practical applications, the first operations may also have other cases, for example, the first operation is a voice input of a user, or the first operation is a fingerprint contact of the user on the back or side of the electronic device, which is not limited herein.
In response to the first operation, a second interface is displayed on the first screen and the first interface is displayed on the second screen, step 1304.
After the electronic device detects the first operation of the user, a second interface may be displayed on the first screen, and the first interface may be displayed on the second screen.
Illustratively, the above examples are continued and two examples are made based on whether there is a third interface on the first screen.
For example: the first interface in step 1302 is the full area of the first on-screen display area and the second interface is the full area of the second on-screen display area. As shown in fig. 22, the display of the folding screen before this step is shown. As shown in fig. 23, the display condition of the folding screen after the electronic device responds to the first operation in this step is shown. I.e. a second interface is displayed on the first screen and a first interface is displayed on the second screen.
Also for example: the first interface is displayed on the first screen, and the second interface and the third interface are displayed on the second screen in step 1302. As shown in fig. 24, the display of the folding screen before this step is shown. As shown in fig. 25, the display condition of the folding screen after the electronic device responds to the first operation in this step is shown. That is, a second interface is displayed on the first screen, and the first interface and a third interface are displayed on the second screen. I.e. not all interfaces displayed in the first screen or the second screen are switched in this case.
In the embodiment of the application, scenes such as photographing, video call, multimedia playing, live broadcasting or car set and the like are photographed. And switching the contents displayed on the first screen and the second screen (namely, the first interface and the second interface) through the first operation of the user. So that the user can view/operate the first interface or the second interface from a better angle. In one aspect, the user may view the first interface from a better perspective, or promote the user's operation on the second interface for the option with the folding screen in the semi-folded configuration. On the other hand, by identifying the sliding operation of the user, the gesture operation in the image, the knocking operation of the back of the electronic equipment and the overturning operation of the electronic equipment by the user, the switching display of at least two on-screen display interfaces is executed, so that the intelligent electronic equipment is realized, and the service performance of the electronic equipment is improved.
Referring to fig. 26, another electronic device provided in the present application is a schematic structural diagram. The electronic device may include a folding screen 2601, a processor 2602, and a memory 2603. The folding screen 2601, the processor 2602, and the memory 2603 are interconnected by wires. Wherein program instructions and data are stored in memory 2603. The folding screen 2601 can be folded to form at least two screens (including a first screen and a second screen).
A folding screen 2601 is used to display the display interface (e.g., the first interface, the second interface, the third interface, etc.) shown in any of the embodiments shown in fig. 1-26.
A processor 2602, configured to perform steps performed by the device as described in any of the embodiments shown in fig. 1-26.
The memory 2603 stores therein program instructions and data corresponding to the steps executed by the device in the embodiments shown in fig. 1 to 26.
In one implementation, the electronic device may include more or fewer components than in fig. 26, which is for exemplary purposes only and not limiting.
Still further embodiments of the present application provide an apparatus for displaying applications, which is characterized in that the apparatus may be applied to an electronic device including the above-mentioned folding screen. The device is used for executing each function or step executed by the mobile phone in the method embodiment.
Embodiments of the present application also provide a chip system including at least one processor and at least one interface circuit. The processors and interface circuits may be interconnected by wires. For example, the interface circuit may be used to receive signals from other devices (e.g., a memory of an electronic apparatus). For another example, the interface circuit may be used to send signals to other devices (e.g., processors). The interface circuit may, for example, read instructions stored in the memory and send the instructions to the processor. The instructions, when executed by a processor, may cause an electronic device to perform the various steps of the embodiments described above. Of course, the chip system may also include other discrete devices, which are not specifically limited in this embodiment of the present application.
The embodiment of the application also provides a computer storage medium, which comprises computer instructions, when the computer instructions run on the electronic device, the electronic device is caused to execute the functions or steps executed by the mobile phone in the embodiment of the method.
The present application also provides a computer program product, which when run on a computer, causes the computer to perform the functions or steps performed by the mobile phone in the above-mentioned method embodiments.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
When the integrated unit is implemented in software, it may 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 loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may 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 may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances and are merely illustrative of the manner in which the embodiments of the application described herein have been described for objects of the same nature. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements, but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Claims (24)

1. A display method of a folding screen, characterized in that the method is applied to an electronic device including a folding screen, the folding screen being foldable to form at least two screens, the at least two screens including a first screen and a second screen, the method comprising:
determining that the folding screen is in a semi-folded configuration;
displaying a first interface on the first screen, and displaying a second interface on the second screen, wherein the first interface is the same as or different from an application to which the second interface belongs;
Detecting a first operation of a user, wherein the first operation is a sliding operation along a first direction or is an operation that the user does not contact the folding screen; the first direction is a direction perpendicular to a folding edge on the folding screen, and the folding edge is used for dividing the folding screen into the first screen and the second screen;
and in response to the first operation, displaying the second interface on the first screen, and displaying the first interface on the second screen.
2. The method of claim 1, wherein the determining that the folding screen is in a semi-folded configuration comprises:
and if the included angle between the first screen and the second screen is between a first angle threshold and a second angle threshold, determining that the folding screen is in the semi-folding state, wherein the first angle threshold is smaller than the second angle threshold.
3. The method according to claim 1 or 2, wherein the detecting of the first operation of the user comprises:
and if the moving distance of the first interface is greater than or equal to a first threshold value, determining that the sliding operation of the user on the first screen is detected, wherein the sliding operation comprises a first direction, a sliding initial position and an instant position, the moving distance is the distance between the initial position and the instant position, the first interface moves along with the sliding operation in the first direction, and the sliding operation is continuous operation that the fingers of the user do not leave the folding screen.
4. The method of claim 1 or 2, wherein the first operation comprises a gesture operation or a tap operation of the user, the gesture operation comprising a palm swing or a preset gesture of the user, the tap operation comprising an operation to tap the back of the electronic device.
5. The method of claim 4, wherein the gesture operation comprises a palm swing of the user, the method further comprising:
acquiring a real-time image about the user through a front-facing camera, wherein the front-facing camera is positioned on the first screen;
the determining that the gesture operation is recognized includes:
and if the real-time image comprises the preset gesture, determining that the gesture operation is recognized.
6. The method of claim 1 or 2, wherein prior to the responding to the first operation by the user, the method further comprises:
and determining that the change value of the attitude angle of the electronic equipment is greater than or equal to a second threshold value, wherein the attitude angle comprises a tilt angle or a pitch angle.
7. The method according to any one of claims 1 to 6, wherein the method is applied to a photographed scene, the first interface is used for displaying a picture captured by a camera, the picture captured by the camera being a picture before receiving a photographing confirmation signal; the second interface is used for displaying options or a gallery related to setting a picture captured by the camera.
8. The method according to any one of claims 1 to 6, wherein the method is applied to a multimedia scene, the first interface being for displaying video, music or text; the second interface is used for marking or commenting the video, the music or the text by the user.
9. The method of any one of claims 1 to 6, wherein the first interface and the second interface are both interfaces of a first application;
the second interface is a home page of the first application; or alternatively, the process may be performed,
the second interface is the interface of the upper layer of the first interface; or alternatively, the process may be performed,
the second interface is the interface of the next level of the first interface.
10. The method of any one of claims 1 to 6, wherein the first interface is an interface of a first application and the second interface is an interface of a second application, the second application being different from the first application;
the second application is any one of one or more applications that the electronic device has recently run and has not been closed, in addition to the first application.
11. An electronic device, the electronic device comprising: folding screen, acceleration sensor, gyroscopic sensor, one or more cameras, one or more processors, one or more memories; the folding screen can be folded to form at least two screens, and the at least two screens comprise a first screen and a second screen; the folding screen, the acceleration sensor, the gyroscopic sensor, the one or more cameras, the one or more memories are respectively coupled with the one or more processors;
The acceleration sensor and the gyroscopic sensor for detecting data to cause the one or more processors to determine that the folding screen is in a semi-folded configuration;
the one or more memories are used to store computer program code, including computer instructions; the computer instructions, when executed on the processor, cause the electronic device to:
the processor is used for controlling the first screen to display a first interface and controlling the second screen to display a second interface, and the first interface is the same as or different from an application to which the second interface belongs;
the processor is further configured to detect a first operation of a user, where the first operation is a sliding operation along a first direction, or the first operation is an operation that the user does not contact the folding screen; the first direction is a direction perpendicular to a folding edge on the folding screen, and the folding edge is used for dividing the folding screen into the first screen and the second screen;
the processor is further configured to control the first screen to display the second interface and control the second screen to display the first interface in response to the first operation.
12. The electronic device of claim 11, wherein the acceleration sensor and the gyroscopic sensor are specifically configured to determine that an angle between the first screen and the second screen is between a first angle threshold and a second angle threshold, such that the processor determines that the folded screen is in the semi-folded configuration, the first angle threshold being less than the second angle threshold.
13. The electronic device according to claim 11 or 12, wherein the processor is specifically configured to determine that the sliding operation of the user on the first screen is detected if a moving distance of the first interface is greater than or equal to a first threshold, where the sliding operation includes the first direction, an initial position of sliding, and an instant position, the moving distance is a distance between the initial position and the instant position, the first interface moves along with the sliding operation in the first direction, and the sliding operation is a continuous operation in which a finger of the user does not leave the folding screen.
14. The electronic device of claim 11 or 12, wherein the first operation comprises a gesture operation or a tap operation of the user, the gesture operation comprising a palm swing or a preset gesture of the user, the tap operation comprising an operation to tap a back of the electronic device.
15. The electronic device of claim 14, wherein the gesture operation comprises a palm swing of the user, the one or more cameras comprising a front camera, the front camera being located on the first screen; the front camera is used for acquiring real-time images about the user;
the processor is specifically configured to determine that the gesture operation is identified if the real-time image is detected to include a preset gesture.
16. The electronic device of claim 11 or 12, wherein the acceleration sensor and the gyro sensor are further configured to determine that a change value of a posture angle of the electronic device is greater than or equal to a second threshold value, the posture angle including a tilt angle or a pitch angle.
17. The electronic device of any one of claims 11 to 16, wherein the electronic device is applied to a photographed scene, the first interface is configured to display a picture captured by a camera, the picture captured by the camera being a picture before receiving a photographing confirmation signal; the second interface is used for displaying options or a gallery related to setting a picture captured by the camera.
18. The electronic device of any one of claims 11 to 16, wherein the electronic device is applied to a multimedia scene, the first interface is for displaying video, music or text; the second interface is used for marking or commenting the video, the music or the text by the user.
19. The electronic device of any one of claims 11-16, wherein the first interface and the second interface are both interfaces of a first application;
the second interface is a home page of the first application; or alternatively, the process may be performed,
the second interface is the interface of the upper layer of the first interface; or alternatively, the process may be performed,
the second interface is the interface of the next level of the first interface.
20. The electronic device of any one of claims 11-16, wherein the first interface is an interface of a first application and the second interface is an interface of a second application, the second application being different from the first application;
the second application is any one of one or more applications that the electronic device has recently run and has not been closed, in addition to the first application.
21. Apparatus for displaying an application, characterized in that it is applied to an electronic device comprising a display screen, said apparatus being adapted to perform the method according to any of claims 1 to 10.
22. A chip system, wherein the chip system is applied to an electronic device comprising a display screen; the system-on-chip includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit; the interface circuit is configured to receive a signal from a memory of the electronic device and to send the signal to the processor, the signal including computer instructions stored in the memory; the electronic device performs the method of any one of claims 1 to 10 when the processor executes the computer instructions.
23. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 10.
24. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the method of any of claims 1 to 10.
CN202111258137.3A 2021-10-27 2021-10-27 Display method of folding screen and electronic equipment Pending CN116027886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111258137.3A CN116027886A (en) 2021-10-27 2021-10-27 Display method of folding screen and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111258137.3A CN116027886A (en) 2021-10-27 2021-10-27 Display method of folding screen and electronic equipment

Publications (1)

Publication Number Publication Date
CN116027886A true CN116027886A (en) 2023-04-28

Family

ID=86071113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111258137.3A Pending CN116027886A (en) 2021-10-27 2021-10-27 Display method of folding screen and electronic equipment

Country Status (1)

Country Link
CN (1) CN116027886A (en)

Similar Documents

Publication Publication Date Title
CN110445978B (en) Shooting method and equipment
CN111263005B (en) Display method and related device of folding screen
CN110119295B (en) Display control method and related device
CN110536004B (en) Method for applying multiple sensors to electronic equipment with flexible screen and electronic equipment
CN111949345B (en) Application display method and electronic equipment
WO2020168965A1 (en) Method for controlling electronic device having folding screen, and electronic device
CN110244893B (en) Operation method for split screen display and electronic equipment
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN111010506A (en) Shooting method and electronic equipment
CN112506386B (en) Folding screen display method and electronic equipment
CN110798568B (en) Display control method of electronic equipment with folding screen and electronic equipment
CN112860359A (en) Display method and related device of folding screen
CN112333333A (en) Interaction method and device based on folding screen
CN110633043A (en) Split screen processing method and terminal equipment
CN112671976A (en) Control method of electronic equipment and electronic equipment
CN113497881A (en) Image processing method and device
WO2020118490A1 (en) Automatic screen-splitting method, graphical user interface, and electronic device
CN114281439A (en) Screen splitting method and device and electronic equipment
CN112583957A (en) Display method of electronic device, electronic device and computer-readable storage medium
CN113535284A (en) Full-screen display method and device and electronic equipment
CN114302063B (en) Shooting method and equipment
CN116782024A (en) Shooting method and electronic equipment
CN116027886A (en) Display method of folding screen and electronic equipment
CN116560768A (en) Interface display method and electronic equipment
CN117473952A (en) Method and terminal for adding electronic bookmarks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination