CN111475077A - Display control method and electronic equipment - Google Patents

Display control method and electronic equipment Download PDF

Info

Publication number
CN111475077A
CN111475077A CN202010080057.2A CN202010080057A CN111475077A CN 111475077 A CN111475077 A CN 111475077A CN 202010080057 A CN202010080057 A CN 202010080057A CN 111475077 A CN111475077 A CN 111475077A
Authority
CN
China
Prior art keywords
screen
electronic device
included angle
electronic equipment
user
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
CN202010080057.2A
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 CN202010080057.2A priority Critical patent/CN111475077A/en
Publication of CN111475077A publication Critical patent/CN111475077A/en
Priority to PCT/CN2021/075087 priority patent/WO2021155808A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a display control method and electronic equipment, wherein the display control method is applied to the electronic equipment, the electronic equipment comprises a first screen and a second screen, and the method comprises the following steps: determining the current folding state of the electronic equipment based on the included angle between the first screen and the second screen; in response to the folded state of the electronic equipment being a semi-folded state, determining use information of the electronic equipment used by a user, and in response to the use information, controlling the first screen or the second screen to be turned on or off, wherein the use information comprises at least one of the following: the electronic equipment comprises a placing posture of the electronic equipment, sight line information of a user relative to the first screen or the second screen, and holding information of the user on the electronic equipment. By adopting the display control method disclosed by the application, when the content presented in a certain screen area cannot be seen by a user, the screen can be in a screen-off state, so that the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.

Description

Display control method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to a display control method and electronic equipment.
Background
With the development of electronic technology, the technology of mobile electronic devices has also been rapidly promoted. In the existing mobile electronic device technology, in order to meet the user's use requirements, the mobile electronic device is generally developed in the direction of small size and large screen size. For this reason, foldable electronic devices have come to be produced.
In the related foldable electronic device, the electronic device can be folded or unfolded by using the flexible screen. When the electronic device is in a semi-folded state, the flexible screen is typically divided into multiple screen regions. Generally, the plurality of screen areas are simultaneously lighted on or simultaneously extinguished based on a user's setting or own setting. In some application scenarios, when a user uses one of the screen regions, some other screen regions may not be visible to the user and need not be illuminated. Thus, the electronic device is unnecessarily increased in power consumption. Therefore, when the electronic device is in a semi-folded state, how to intelligently control the lighting or extinguishing of each screen area becomes a problem.
Disclosure of Invention
By adopting the display control method disclosed by the application, the on and off of each screen in the folding screen can be controlled, and the man-machine interaction performance of the electronic equipment is improved.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a display control method, where the display control method is applied to an electronic device, where the electronic device includes a first screen and a second screen, and the display control method includes: determining a current folded state of the electronic device based on an included angle between the first screen and the second screen, wherein the folded state includes one of: the foldable type foldable table comprises a fully-folded state, an unfolded state and a semi-folded state, wherein the fully-folded state corresponds to a first preset included angle range, the unfolded state corresponds to a second preset included angle range, the semi-folded state corresponds to a third preset included angle range, and the first preset included angle range, the second preset included angle range and the third preset included angle range are different; in response to the folding state of the electronic equipment being a half-folding state, determining use information of a user using the electronic equipment, and in response to the use information, controlling the first screen or the second screen to be turned on or off, wherein the use information comprises at least one of the following: the electronic equipment comprises a placing posture of the electronic equipment, sight line information of a user relative to the first screen or the second screen, and holding information of the user on the electronic equipment.
The first preset included angle range, the second preset included angle range and the third preset included angle range may be preset in the electronic device when the electronic device is shipped out of a factory, and may be determined according to the size of the electronic device, or may be determined after the usage habits of the user are acquired and analyzed through big data. When the included angle between the first screen and the second screen is within the second preset included angle range, the folding screen is in a half-folding state or a bracket state, and the folding screen is different from the unfolding state and the complete folding state of the folding screen. When the folding screen is in the state of unfolding, first screen and second screen form a big screen usually, when the folding screen is in full fold condition, fold in electronic equipment's casing when first screen and second screen are inwards folded, the content of first screen and second screen can not be seen by the user usually, user can select one of them screen to use when first screen and second screen are outwards full fold, when the folding screen is in the state of unfolding or full fold condition, do not need to judge the appearance of placing of folding screen usually. Therefore, the included angle between the first screen and the second screen is limited in a certain range to determine the placing posture of the folding screen, so that the electronic equipment can be detected more purposefully, and the accuracy of the determined placing posture of the electronic equipment is improved.
Preferably, the first preset included angle range is [0 degrees, 20 degrees ]; the second preset included angle range is [40 degrees, 100 degrees ]; the third preset included angle range is [120 degrees, 180 degrees ].
According to the embodiment, the first screen or the second screen is controlled to be on or off respectively based on the use information of the electronic equipment used by the user, and when the content presented in a certain screen area cannot be seen by the user, the screen is in the screen off state, so that the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
Specifically, the electronic device may control lighting or extinguishing of the screen according to the placement posture of the electronic device. For example, sensors such as a gyro sensor, an acceleration sensor, and the like are provided in the area of the first screen and the area of the second screen, respectively. The gyroscope sensor and the acceleration sensor can acquire the triaxial component data of the first screen or the second screen and control the screen to be turned on or turned off according to the triaxial component data. Here, the three-axis component data may be an X-axis, a Y-axis, and a Z-axis, where the X-axis direction is along a long side direction of the first screen or the second screen, the Y-axis direction is along a short side direction of the first screen or the second screen, and the Z-axis direction is perpendicular to the first screen or the second screen. For example, when the electronic device detects that the first screen is horizontally placed and opposite to the gravity direction and the second screen is obliquely placed (the oblique angle is the included angle between the first screen and the second screen) according to the triaxial component data, the user can see the first screen and the second screen at the same time, and the first screen and the second screen can be simultaneously lighted.
The electronic device may also control the on or off of the screen according to the user's gaze information relative to the first screen or the second screen. Specifically, a sensor, a camera, and the like are respectively disposed in the first screen region and the second screen region. The electronic device may utilize sensors to monitor in real time or periodically detect user gaze information. The user sight line information is whether the user looks at the first screen and/or the second screen. When the sensor on any one side detects the corresponding sight line information, the screen on the corresponding side is lighted. Or when the sensors on the two sides detect the sight line information, the first screen and the second screen are lightened simultaneously.
The electronic equipment can also control the on-off of the screen according to the holding information of the user on the electronic equipment. Touch detection points are respectively arranged in the preset area of the first screen and the preset area of the second screen, and when a user holds the areas, the electronic equipment can also detect that the user holds the first screen or the second screen by using a touch detection algorithm. For example, the first screen may be illuminated when the electronic device detects that the user is holding the first screen.
In addition, the electronic device can light or extinguish the first screen or the second screen according to the placement posture of the electronic device and the visual line information of the user relative to the first screen or the second screen. For example, the electronic device may first detect its current placement posture, then detect gaze information, and finally turn on or off the first screen or the second screen based on the gaze information.
Based on the first aspect, in a possible implementation manner, controlling the first screen or the second screen to be turned on or off in response to a placement posture of the electronic device includes: and responding to the placing posture of the electronic equipment to indicate that the first screen is placed horizontally and faces the gravity direction, and controlling the second screen to be lightened and the first screen to be extinguished.
In this embodiment, when the first screen is horizontally placed, the second screen has a certain inclination angle, and the oblique cutting angle is an included angle between the first screen and the second screen. At this time, the user can clearly see the contents presented by the second screen. Therefore, the second screen lighting can be controlled. The first screen faces the gravity direction, namely faces downwards, the user cannot see the content presented by the first screen clearly, and in order to save electric energy, the first screen can be extinguished at the moment.
Based on the first aspect, in a possible implementation manner, after the responding to the placement posture of the electronic device indicates that the first screen is placed horizontally and faces the direction of gravity, controlling the second screen to be lit and controlling the first screen to be extinguished, the method further includes: detecting sight line information of a user relative to the first screen or holding information of the first screen by the user; switching the second screen to the first screen in response to detecting that a user gazes at the first screen or that a user holds the first screen.
In some scenarios, when a user is lying in bed to look at the screen, it is common to fold the screen up for convenience. At this time, the user generally uses the first screen and the second screen as a support. When the electronic equipment detects that the user watches the first screen or holds the first screen, the content displayed by the second screen can be switched to the first screen, namely, the first screen is lightened, and the second screen is extinguished.
Based on the first aspect, in a possible implementation manner, when the usage information includes a placement posture of the electronic device, controlling the first screen or the second screen to be turned on or off in response to the placement posture of the electronic device includes: and controlling at least one screen of the first screen and the second screen to be lightened in response to the fact that the placement posture of the electronic equipment indicates that the first screen is vertically placed or in response to the fact that the placement posture of the electronic equipment indicates that the first screen and the second screen are obliquely placed and the orientation of the first screen and the orientation of the second screen are opposite to the gravity direction.
Based on the first aspect, in a possible implementation manner, when the usage information includes a placement posture of the electronic device, controlling the first screen or the second screen to be turned on or off in response to the placement posture of the electronic device includes: and controlling the first screen and the second screen to be extinguished in response to the placing posture of the electronic equipment indicating that the first screen and the second screen are placed obliquely and facing the gravity direction.
Based on the first aspect, in a possible implementation manner, in response to that the placement posture of the electronic device indicates that the first screen and the second screen are placed obliquely and the first screen and the second screen are oriented in the direction opposite to the direction of gravity, controlling at least one of the first screen and the second screen to be lit includes: detecting sight line information of a user relative to the first screen and the second screen or holding information of the user on the first screen and the second screen; and controlling at least one screen of the first screen and the second screen to be lightened based on the detection result.
Specifically, when the placement posture of the electronic device indicates that the first screen and the second screen are placed obliquely and the first screen and the second screen are oriented in the opposite direction to the gravity direction (for example, the first screen and the second screen are both placed obliquely and supported on an object (for example, a desktop) with the long side as a supporting point), the user can see both the content presented by the first screen and the content presented by the second screen. However, the same user is often unable to see the content presented by the first screen and the second screen at the same time. At this time, the sensor of the first screen side and the sensor of the second screen side may detect sight line information of the user with respect to the screen, respectively. When the sensor on any screen side detects the sight line information of the user relative to the screen, the electronic equipment can light the screen on the corresponding side. For example, when two users respectively look at the first screen and the second screen, the sensor on the first screen side and the sensor on the second screen side can respectively detect the visual lines of the two users, so that the electronic device can light up both the first screen and the second screen.
Based on the first aspect, in a possible implementation manner, determining a folded state of the electronic device based on an included angle between the first screen and the second screen includes: and determining the folded state of the electronic equipment recorded last time as the current folded state of the electronic equipment.
In this embodiment of the application, the range of the included angle between the first screen and the second screen may further include a fourth preset included angle range, and the first included angle range may also be referred to as a hysteresis interval. When the user walks or other external forces cause the angle between the first and second screens to change, the change is usually slight, but at the same time not intended to be changed by the user. At this time, when the included angle between the first screen and the second screen falls into the hysteresis zone, the folded state of the folded screen recorded last time may be referred to, and when the folded state of the folded screen recorded last time is determined as the current folded state.
According to the embodiment of the application, the four preset included angle ranges are set, so that the condition change of the folding screen caused by data fluctuation due to the error of the sensor inside the electronic equipment or the change of the folding angle due to the external force action (walking of a user, shaking of an automobile and the like) can be effectively avoided, and the man-machine interaction performance is improved.
Preferably, the fourth predetermined angle ranges from (20 °, 40 °) to (100 °, 120 °).
Based on the first aspect, in a possible implementation manner, when the usage information includes a placement posture of the electronic device, determining the placement posture of the electronic device includes: detecting triaxial component data of the first screen and triaxial component data of the second screen; and determining the placement posture of the electronic equipment according to the three-axis component data of the first screen and the three-axis component data of the second screen, wherein in the three-axis component data of the first screen or the second screen, an X axis is parallel to the short side direction of the screen, a Y axis is parallel to the long side direction of the screen, and a Z axis is perpendicular to the screen direction.
Based on the first aspect, in a possible implementation manner, the determining a placement posture of the electronic device further includes: detecting an included angle between the first screen and a horizontal plane and a component along the gravity direction, or detecting an included angle between the second screen and the horizontal plane and a component along the gravity direction; and determining the placing posture of the electronic equipment according to the included angle between the first screen and the horizontal plane and the component along the gravity direction, or the included angle between the second screen and the horizontal plane and the component along the gravity direction.
Specifically, when the included angle between the first screen or the second screen and the horizontal plane is smaller than the preset angle threshold value, the first screen or the second screen can be considered to be vertically placed. The preset angle is to avoid the screen having a tilt angle due to the unevenness of the support. When the included angle between the first screen or the second screen and the horizontal plane is larger than a preset angle threshold value and the component along the gravity direction is consistent with the gravity direction, the first screen or the second screen can be considered to be obliquely placed and folded inwards; when the included angle between the first screen or the second screen and the horizontal plane is larger than the preset angle threshold value and the component along the gravity direction is opposite to the gravity direction, the first screen or the second screen can be considered to be obliquely placed and folded outwards.
In a second aspect, the electronic device comprises: one or more processors, memory, and a folding screen; wherein the foldable screen comprises at least a first screen and a second screen for displaying content according to the indication of the one or more processors, and the memory is used for storing one or more programs; the one or more processors are configured to execute the one or more programs to perform the following acts: determining a current folded state of the electronic device based on an included angle between the first screen and the second screen, the folded state including one of: the foldable type foldable table comprises a fully folded state, an unfolded state and a semi-folded state, wherein the fully folded state corresponds to a first preset included angle range, the unfolded state corresponds to a second preset included angle range, the semi-folded state corresponds to a third preset included angle range, and the first preset included angle range, the second preset included angle range and the third preset included angle range are different; in response to the folded state of the electronic device being a semi-folded state, determining use information of a user using the electronic device, and in response to the use information, controlling the first screen or the second screen to be turned on or off, wherein the use information includes at least one of: the electronic equipment comprises a placing posture of the electronic equipment, sight line information of a user relative to the first screen or the second screen, and holding information of the user on the electronic equipment.
Based on the second aspect, in a possible implementation manner, when the usage information includes a placement posture of the electronic device, controlling the first screen or the second screen to be turned on or off in response to the placement posture of the electronic device includes: and responding to the placing posture of the electronic equipment to indicate that the first screen is placed horizontally and faces the gravity direction, and controlling the second screen to be lightened and the first screen to be extinguished.
Based on the second aspect, in a possible implementation manner, after the responding to the placement posture of the electronic device indicates that the first screen is placed horizontally and faces the direction of gravity, controlling the second screen to be lit and controlling the first screen to be extinguished, the method further includes: detecting sight line information of a user relative to the first screen or holding information of the first screen by the user; switching the second screen to the first screen in response to a user gazing at the first screen or a user holding the first screen.
Based on the second aspect, in a possible implementation manner, when the usage information includes a placement posture of the electronic device, controlling the first screen or the second screen to be turned on or off in response to the placement posture of the electronic device includes: and controlling at least one screen of the first screen and the second screen to be lightened in response to the fact that the placement posture of the electronic equipment indicates that the first screen is vertically placed or in response to the fact that the placement posture of the electronic equipment indicates that the first screen and the second screen are obliquely placed and the orientation of the first screen and the orientation of the second screen are opposite to the gravity direction.
Based on the second aspect, in a possible implementation manner, when the usage information includes a placement posture of the electronic device, controlling the first screen or the second screen to be turned on or off in response to the placement posture of the electronic device includes: and controlling the first screen and the second screen to be extinguished in response to the placing posture of the electronic equipment indicating that the first screen and the second screen are placed obliquely and facing the gravity direction.
Based on the second aspect, in a possible implementation manner, in response to that the placement posture of the electronic device indicates that the first screen and the second screen are placed obliquely and the first screen and the second screen are oriented opposite to the direction of gravity, controlling at least one of the first screen and the second screen to be lit includes: detecting sight line information of a user relative to the first screen and the second screen or holding information of the user on the first screen and the second screen; and controlling at least one screen of the first screen and the second screen to be lightened based on the detection result.
Based on the second aspect, in a possible implementation manner, the determining a folded state of the electronic device based on an included angle between the first screen and the second screen includes: and determining the folded state of the electronic equipment recorded last time as the current folded state of the electronic equipment.
Based on the second aspect, in a possible implementation manner, the first preset included angle range is [0 °, 20 ° ]; or the second preset included angle range is [40 degrees, 100 degrees ]; or the third preset included angle ranges from [120 degrees to 180 degrees ].
Based on the second aspect, in one possible implementation manner, when the usage information includes a placement posture of the electronic device, determining the placement posture of the electronic device includes: detecting triaxial component data of the first screen and triaxial component data of the second screen; and determining the placement posture of the electronic equipment according to the three-axis component data of the first screen and the three-axis component data of the second screen, wherein in the three-axis component data of the first screen or the second screen, an X axis is parallel to the short side direction of the screen, a Y axis is parallel to the long side direction of the screen, and a Z axis is perpendicular to the screen direction.
Based on the second aspect, in a possible implementation manner, the determining a placement posture of the electronic device further includes: detecting an included angle between the first screen and a horizontal plane and a component along the gravity direction, or detecting an included angle between the second screen and the horizontal plane and a component along the gravity direction; and determining the placing posture of the electronic equipment according to the included angle between the first screen and the horizontal plane and the component along the gravity direction, or the included angle between the second screen and the horizontal plane and the component along the gravity direction.
In a third aspect, an embodiment of the present application provides a display control apparatus having a function of implementing the behavior of the electronic device in the method of the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more unit modules corresponding to the above functions, for example, a control unit or module, a switching unit or module, and a display unit or module.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores instructions for executing the display control method in any one of the first aspect above when the instructions are executed on a computer.
In a fifth aspect, the present application provides a computer program or a computer program product, which when executed on a computer, causes the computer to implement the graph display control method of any one of the above first aspects.
It should be understood that the second to fifth aspects of the present application are consistent with the technical solution of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding possible implementation are similar, and are not described again.
Drawings
FIG. 1 is an axis diagram of a foldable angle of a foldable screen provided by an embodiment of the present application;
FIG. 2 is a schematic view of a folded screen provided in an embodiment of the present application;
fig. 3 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
FIG. 5 is a flow chart of a control method provided by an embodiment of the present application;
6 a-6 j are schematic diagrams of placement postures of the electronic device provided by the embodiment of the application;
7 a-7 i are schematic diagrams illustrating display states of screens of the electronic device according to the embodiment of the present application in the respective placement postures shown in fig. 6 a-6 j;
FIG. 8 is a flow chart of yet another control method provided by an embodiment of the present application;
fig. 9 is a schematic view of an application scene of the electronic device in the placement posture shown in fig. 6e, where each screen displays a state;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second," and the like, in the description and in the claims of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first target object and the second target object, etc. are specific sequences for distinguishing different target objects, rather than describing target objects.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of processing units refers to two or more processing units; the plurality of systems refers to two or more systems.
The embodiment of the application provides a control method which can be applied to electronic equipment comprising a folding screen. The foldable screen is a display screen and has the characteristic of being foldable. Typically, the folding screen can be folded into at least two screen areas. For example, the folding screen may be folded to form a first screen area and a second screen area, hereinafter referred to as a first screen and a second screen. In the process that the folding screen is folded or unfolded, the included angle between the first screen and the second screen of the folding screen can be changed from large to small, or the included angle between the first screen and the second screen of the folding screen can be changed from small to large. It should be noted that at least two screens formed by folding the folded screen may respectively display different contents (for example, by split-screen, simultaneously running through multiple screens and displaying multiple application interfaces), or may display the same content (for example, simultaneously presenting the same application interface through multiple screens).
The folding screen shown in the embodiment of the application can be an inward folding screen or an outward folding screen. When the folding screen is an inward folding screen, the folding screen can be folded inwards only around the folding axis; when the folding screen is an outer folding screen, the folding screen can be folded outwards only around the folding axis. The folding screen can be 360 folding screens, and when the folding screen is 360 folding screens, the folding screen can be folded inwards or outwards. The electronic equipment can determine the state of the folding screen according to the size of an included angle between the first screen and the second screen in the folding screen. The state may include, for example, but is not limited to, a folded state, a semi-folded state, and an unfolded state. When the folding screen is in the half-folded state, the electronic device may further determine usage information of the electronic device used by the user, the usage information including at least one of: the electronic equipment comprises a placing posture of the electronic equipment, sight line information of a user relative to the first screen or the second screen and holding information of the user on the electronic equipment, so that the electronic equipment respectively controls the on and off of the first screen and the second screen according to the using information. For example, when the electronic device detects that the long edge of the first screen extends in the vertical direction, the long edge of the second screen extends in the horizontal direction, and the included angle between the first screen and the second screen is 60 degrees, it may be determined that the user is using the first screen, and at this time, the electronic device may control the first screen to be turned on, and control the second screen to be in a screen turn-off state.
In the embodiment of the application, the electronic equipment respectively controls the on and off of each screen by collecting the use information of the electronic equipment used by a user, and when the content presented in a certain screen area cannot be seen by the user, the screen is in the screen off state, so that the power consumption of the electronic equipment is reduced, and the cruising ability of the electronic equipment is improved.
In a possible implementation manner, when the foldable screen is in the semi-folded state, the electronic device may further control the content display directions (e.g., landscape screen display or portrait screen display) in the first screen and the second screen respectively according to the placement posture of the electronic device. Therefore, the display direction of each screen content does not need to be set by the user, and the flexibility of the electronic equipment is improved.
The state of the folding screen shown in the embodiment of the present application will be described in detail first with reference to fig. 1 to 2.
Fig. 1 is an axis diagram illustrating a foldable angle of a foldable screen provided in an embodiment of the present application. In the axial view shown in fig. 1, the folding screen can be divided into a folding state, a half-folding state and an unfolding state in the order of the folding angle from small to large. In fig. 1, a first hysteresis interval is further included between the folded state and the half-folded state, and a second hysteresis interval is further included between the half-folded state and the unfolded state. In the semi-folding state, when one screen is not used, the screen can be used as a support for other screens; alternatively, when two screens are used together, the electronic apparatus can be used while being stood on its side or erected, and therefore, the half-folded state can also be referred to as a stand state. The folding angle is an angle between the first screen and the second screen.
In the embodiment of the application, the inward folding is that the first screen and the second screen are oppositely arranged. That is, when the first screen and the second screen are completely folded, the user can not see the content presented by the screen. The outward folding is that the first screen and the second screen are arranged in opposite directions. That is, when the first screen and the second screen are completely folded, the user can see the content presented by the first screen and also can see the content presented by the second screen. When the folding screen is turned from an inner folding state to an unfolding state, the folding angle can be changed between 0 degrees and 180 degrees; when the folding screen is turned from the unfolded state to the outer folded state, the folding angle can be changed between 180 degrees and 360 degrees. However, in order to make the electronic device easier to calculate, the folding angle may also be varied between [0 °, 180 ° ] when the folding screen is turned from the outer folded state to the unfolded state. It should be noted that the numerical variation range of the folding angle shown in the embodiment of the present application is illustrative, and other numerical ranges may be set according to the needs of the application scenario.
Specifically, in fig. 1, a1 represents the folding angle of the folding screen when it is fully folded, and it can be considered as 0 ° here, and the fully folded here can include a fully folded inward or a fully folded outward; a6 represents the fold angle when the folded screen is fully unfolded, which can be considered here as 180 °. Critical folding angles a2, a3, a4 and a5 for defining a folded state, a first hysteresis interval, a half-folded state, a second hysteresis interval and an unfolded state are also included between a1-a 6. When the folding angle is between a1 and a2, the folding screen is in a folding state. When the folding angle is between a2 and a3, the last folding state needs to be referred to. That is, when the previous state of the folding screen is the folding state, the folding screen is in the folding state at this time; when the last state of the folding screen is the half-folding state, the folding screen is in the half-folding state at the moment. When the folding angle is between a3 and a4, the folding screen is in a half-folding state. When the folding angle is between a4 and a5, the folding angle needs to be referred to the previous folding state. That is, when the previous state of the folding screen is the half-folding state, the folding screen is in the half-folding state at this time; when the last state of the folding screen is the unfolding state, the folding screen is in the unfolding state at the moment. When the folding angle is between a5 and a6, the folding screen is in an unfolded state.
In some specific implementations or specific application scenarios, the above a1 may be 0 °, a2 may be 20 °, a3 may be 40 °, a4 may be 100 °, a5 may be 120 °, and a6 may be 180 °. Therefore, when the electronic device is in a folded state, the folding angle is [0 degrees and 20 degrees ], that is, the included angle between the first screen and the second screen is [0 degrees and 20 degrees ]; when the electronic device is in a folded state, the folding angle is [40 degrees and 100 degrees ], that is, the included angle between the first screen and the second screen is [40 degrees and 100 degrees ]; when the electronic equipment is in an unfolded state, the folding angle is [120 degrees and 180 degrees ], namely the included angle between the first screen and the second screen is [120 degrees and 180 degrees ]; the included angle range of the first hysteresis interval is (20 degrees and 40 degrees); the second hysteresis interval has an angle in the range of (100 °, 120 °). It should be noted here that the angle a1-a6 is not limited to this, and other angles may be set according to the needs of a specific scenario.
A description will be given of a case where the folding angle falls within the first hysteresis zone or the second hysteresis zone with a specific example. When the electronic equipment detects that the data of an included angle between the first screen and the second screen is 20.2 degrees, the 20.2 degrees are located in the first hysteresis interval; the electronic device may query the last recorded state of the folding screen, and when the last state of the folding screen is the folding state, it may be that the user does not actively change the folding angle of the folding screen, but the state changes due to slight fluctuation of data, so that the current state may still be determined as the folding state.
From this, this application embodiment is through setting up first hysteresis interval and second hysteresis interval, can effectively avoid leading to the state change that data fluctuation or make folding angle change lead to folding screen because the external force effect (user walks, the car rocks etc.) because of the inside sensor error of electronic equipment to improve human-computer interaction performance.
The folding state of the folding screen on the axial view shown in fig. 1 will be described in detail through the specific application scenario shown in fig. 2, taking the example that the folding screen includes two screens.
The folded screen shown in fig. 2 (a) may be folded along the folding axis to form the a-screen 201 and the B-screen 202 shown in fig. 2 (B) and (c), wherein (a) in fig. 2 is a schematic view of the electronic device in the unfolded state of the folded screen shown in fig. 1, (B) and (c) in fig. 2 are schematic views of the electronic device in the half-folded state of the folded screen shown in fig. 1, (d) in fig. 2 is a schematic view of the electronic device in the folded state of the folded screen shown in fig. 1, wherein (a) in fig. 2 shows that the angle α between the a-screen 201 and the B-screen 202 is 180 °, the folded state of the folded screen shown in fig. 2 (B) is the half-folded state when the folded screen is folded inward, and the angle α between the a-screen 101 and the B-screen 102 may be, for example, the angle 3, a4 shown in fig. 1, and the angle 4656 when the folded screen shown in fig. 2 (c) is the folded state when the folded screen is folded screen in the folded state, and the angle 4656 may be, for example, as a-screen 4625, and 4.
Here, when the folding screen is an inward folding screen, a half-folded state formed by folding the folding screen shown in (a) of fig. 2 along the folding axis is a state shown in (b) of fig. 2; when the folding screen is an outward folding screen, the half-folded state formed after the folding screen shown in (a) of fig. 2 is folded along the folding axis is the state shown in (c) of fig. 2; when the folding screen is a 360 ° folding screen, the half-folded state formed when the folding screen shown in (a) of fig. 2 is folded inward along the folding axis is the configuration shown in (b) of fig. 2, and the half-folded state formed when the folding screen shown in (a) of fig. 2 is folded outward along the folding axis is the configuration shown in (c) of fig. 2.
In the above fig. 2, the folding screen of the electronic device is folded longitudinally to achieve the folding of the folding screen. Of course, the folding screen of the electronic device can also be folded transversely to realize the folding of the folding screen. Not illustrated in the figures.
Referring to fig. 3, a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure is shown, as shown in fig. 3, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, a pointer 192, a camera 193, a display 194, and a Subscriber Identification Module (SIM) card interface 195, where the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity optical sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic device. In other embodiments, an electronic device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses, reduces the latency of the processor 110, and thus improves the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus including a serial data line (SDA) and a serial clock line (SC L). in some embodiments, the processor 110 may include multiple sets of I2C buses.the processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. via different I2C bus interfaces, for example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, such that the processor 110 and the touch sensor 180K communicate via the I2C bus interface to implement the touch function of the electronic device.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also communicate audio signals to the wireless communication module 160 through the PCM interface, enabling the function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a display screen serial interface (DSI), and the like. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device, and may also be used to transmit data between the electronic device and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in this embodiment is only an exemplary illustration, and does not constitute a limitation on the structure of the electronic device. In other embodiments, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, 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 an electronic device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as 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 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to an electronic device, the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (L NA), etc. the mobile communication module 150 may receive an electromagnetic wave from the antenna 1, filter the received electromagnetic wave, amplify, etc., and transmit the processed electromagnetic wave to the modem processor for demodulation, the mobile communication module 150 may further amplify a signal modulated by the modem processor, and convert the signal into an electromagnetic wave to be radiated out via the antenna 1.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a 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 passes the demodulated low frequency baseband signal to a 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 a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 110, and may be located in the same device as the mobile communication module 150 or other functional modules.
The wireless communication module 160 may provide wireless communication solutions including wireless local area networks (wlan) and W L AN (e.g., wireless fidelity (Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), infrared (infrared, IR), etc. applied to the electronic device.
In some embodiments, the electronic device's antenna 1 is coupled to a mobile communications module 150 and the antenna 2 is coupled to a wireless communications module 160 so that the electronic device may communicate with the network and other devices via wireless communications technologies, which may include Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), wideband code division multiple Access (wideband code division multiple Access, WCDMA), time division code division multiple Access (TD-SCDMA), Long term evolution (long term evolution, L TE), GNSS, W L, AN, FM, and/or BT or IR technologies.
The electronic device implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is a foldable screen (e.g., a flexible foldable screen or a multi-screen foldable screen), the display screen 194 includes a display panel, the display panel may be a liquid crystal display (L CD), an organic light-emitting diode (O L ED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMO L ED), a flexible light-emitting diode (F L ED), a miniature, Micro L ED, Micro-O L ED, a quantum dot light-emitting diode (Q L ED), and the like.
The electronic device may implement a shooting function through the ISP, camera 193, video codec, GPU, display screen 194, and application processor, etc.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on 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, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1. The camera 193 may be an infrared camera and may also be a visible light camera. The camera may also be used to capture the line of sight of the user.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device selects a frequency point, the digital signal processor is used for performing fourier transform and the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent cognition of electronic equipment, for example: image recognition, face recognition, voice recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer executable program code, including instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may execute, by executing instructions stored in the internal memory 121, when receiving an operation of folding the display screen 194 by a user, as a response to the operation, executing a corresponding event, such as screen capture, that is, saving, in a screenshot form, content of the electronic device currently displayed on the display screen 194; for another example, the screen division is to divide the display screen 194 of the electronic device into two or more display areas and display different interfaces in different display areas. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book and the like) created in the using process of the electronic device. In addition, the internal memory 121 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 (UFS), and the like.
The electronic device may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal for output and also used to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device answers a call or voice information, it can answer the voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When a call is placed or a voice message is sent or it is desired to trigger the electronic device to perform some function by the voice assistant, the user may speak via his/her mouth near the microphone 170C and input a voice signal into the microphone 170C. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C to achieve noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the usa, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronics determine the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the position of the touch from the detection signal of the pressure sensor 180A.
The gyro sensor 180B may be used to determine the motion pose of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects a shaking angle of the electronic device, calculates a distance to be compensated for by the lens module according to the angle, and allows the lens to counteract shaking of the electronic device through a reverse movement, thereby achieving anti-shaking. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
In the present embodiment, the display screen 194 of the electronic device 100 may be folded to form multiple screens. A gyro sensor 180B may be included in each screen for measuring the triaxial components of the corresponding screen. For example, in conjunction with fig. 2 described above, the electronic device includes two screens, referred to as an a-screen 201 and a B-screen 202, respectively, and then the a-screen 201 and the B-screen 202 each include a gyroscope sensor 180B therein for measuring the three-axis components of the a-screen 201 and the B-screen 202, respectively. The electronic equipment can determine the placement posture of the electronic equipment according to the measured triaxial components of the screen.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device is a flip, the electronic device may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device in various directions (typically three axes). When the electronic equipment is static, the size and the direction of gravity can be detected. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device may measure distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device may utilize the distance sensor 180F to range to achieve fast focus.
The proximity light sensor 180G may include, for example, a light emitting diode (L ED) and a light detector, such as a photodiode, the light emitting diode may be an infrared light emitting diode, the electronic device emits infrared light outward through the light emitting diode, the electronic device uses the photodiode to detect infrared reflected light from nearby objects, when sufficient reflected light is detected, it may be determined that there is an object near the electronic device, when insufficient reflected light is detected, the electronic device may determine that there is no object near the electronic device, the electronic device may use the proximity light sensor 180G to detect that a user is holding the electronic device near the ear for a call to automatically extinguish the screen for power savings purposes.
The ambient light sensor 180L is used for sensing ambient light brightness, the electronic device can self-adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness, the ambient light sensor 180L can also be used for automatically adjusting white balance during photographing, and the ambient light sensor 180L can also be matched with the proximity light sensor 180G to detect whether the electronic device is in a pocket or not so as to prevent mistaken touch.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic equipment can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device heats the battery 142 when the temperature is below another threshold to avoid an abnormal shutdown of the electronic device due to low temperatures.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic device may receive a key input, and generate a key signal input related to user settings and function control of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, information receiving, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic equipment realizes functions of conversation, data communication and the like through the interaction of the SIM card and the network. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
Further, the memory has stored therein computer programs, such as an operating system and application programs. The processor 110 is configured to execute a computer program in the memory to implement the functions defined by the computer program, e.g., the processor 110 executes an operating system to implement various functions of the operating system on the electronic device 100. The operating system carried by the electronic device 100 may be
Figure BDA0002379971460000161
Or other operating system, to which the embodiments of the present application do not impose any limitations.
To be carried with
Figure BDA0002379971460000162
The electronic device 100 of the operating system is an example, and as shown in fig. 4, the electronic device 100 can be logically divided into a hardware layer 21, an operating system 22, and an application layer 23. The hardware layer 21 includes hardware resources such as a processor 110, modem, sensor, camera, display, etc. as described above. The application layer 23 includes one or more applications, for example, the applications may be any type of applications such as a social application, an e-commerce application, a browser, and the like. The operating system 22 is a computer program that manages and controls hardware and software resources as software middleware between the hardware layer 21 and the application layer 23.
In one embodiment, the operating system 22 includes a hardware abstraction layer (HA L) 221, a kernel 222, libraries and runtimes (libraries and runtimes), and a framework (framework)223, wherein the kernel 222 is used to provide underlying system components and services, such as Sensor Hub 2221, power management, memory management, file system management, thread management, hardware drivers, etc., including Wi-Fi drivers, Sensor drivers, location module drivers, etc. the hardware abstraction layer 221 is encapsulation of the kernel driver, providing an interface to the framework 223, shielding the implementation details of the low level layer. the hardware abstraction layer 221 runs in user space, while the kernel driver runs in kernel space.
Libraries and runtimes (libraries and runtimes) and libraries and runtimes in framework (framework)223 are also called runtime libraries, which provide the required library files and execution environment for the executable program at runtime. The framework therein is used to provide various basic common components and services for applications in the application layer 23, such as sensor service (SensorService)2231, folding screen management service (Ford screen manager service)2232, window management, location management, and so on.
The functions of the various components of the operating system described above may be implemented by a processor executing programs stored in memory.
Explaining the Sensor Service (Sensor Service)2231 and the folding screen management Service (Fordscreen manager Service)2232 in the operating system, the processor 110 in the embodiment of the present application may be configured to execute a computer program in a memory, so as to implement the display control method of the electronic device with a folding screen in the embodiment of the present application, so that the folding screen management Service (Ford screen manager Service)2232 obtains data of a Sensor from the Sensor Service (Sensor Service)2231, determine a placement posture of the electronic device in a half-folded state according to the data of the Sensor, determine and light a certain screen area or several screen areas according to the placement posture of the electronic device, thereby reducing power consumption of the electronic device 100, improving cruising ability of the electronic device 100, and improving usability of the terminal device 100.
In some embodiments, the frames in the libraries and runtimes (libraries and runtime) and frames (frames) 223 may also include a camera service 2233, the camera service 2233 being used to provide camera services for applications in the application layer 23. When the application needs to call the camera, the application can control the camera of the hardware layer through the camera service (camera service) 2233.
It should be understood that in practical applications, the electronic device 100 may include more or less components than those shown in fig. 3, and the embodiment of the present application is not limited thereto.
The methods in the following embodiments may be implemented in an electronic device having the above hardware structure. And the method provided by the embodiment of the present application can be applied to the electronic device 100 shown in any one of fig. 2 to 3. In conjunction with fig. 2-3 described above, it can be appreciated that in the present embodiment, the electronic device is a folding screen electronic device that includes at least a first screen and a second screen. The first screen and the second screen may be two screens formed by folding the flexible folding screen along the folding edge, or two screens included in the multi-screen folding screen itself. And each screen included in the electronic device is provided with a sensor device (such as a gyro sensor and an acceleration sensor) for measuring the triaxial components of the screen.
It should be noted that, if the electronic device includes only two screens, the first screen and the second screen refer to the two screens included in the electronic device, respectively. For example, in conjunction with fig. 2 to 3, the first screen and the second screen are an a screen and a B screen, respectively.
A method for controlling an electronic device with a foldable screen according to an embodiment of the present application will be described in detail below with reference to specific scenarios. For convenience of description, the following embodiments are described by taking the folding screen shown in fig. 2 and the folding screen as an example, which is bent to form two screens. The two screens formed after the folding screen is folded can be the screen a and the screen B shown in fig. 2. The screen a may be the first screen described in this embodiment, and the screen B may be the second screen described in this embodiment.
Fig. 5 is a flowchart illustrating a display control method according to an embodiment of the present application. As shown in fig. 5, the method may include:
s501, determining the current folding state of the electronic equipment based on the included angle between the first screen and the second screen.
In this embodiment, the electronic device may periodically determine the angle data between the first screen and the second screen through a gyroscope sensor disposed in the electronic device. After the electronic equipment determines the included angle data between the first screen and the second screen, the folding state of the electronic equipment can be further determined. Here, the folded state of the electronic device may include a folded state, a half-folded state, and an unfolded state, and reference may be made to the axis diagram shown in fig. 1, which is not described herein again. For example, when the electronic device determines that the included angle between the first screen and the second screen is 15 °, the current folding state of the electronic device is a folding state; when the electronic equipment determines that the included angle between the first screen and the second screen is 60 degrees, the current folding state of the electronic equipment can be determined to be a half-folding state; when the electronic device determines that the included angle between the first screen and the second screen is 170 degrees, it can be determined that the current folded state of the electronic device is the unfolded state.
In a specific implementation, the electronic device may periodically acquire, through a sensor device such as a gyroscope sensor, an acceleration sensor, a gravity sensor, and the like, triaxial component data (Gxm, Gym, Gzm) of the first screen and triaxial component data (Gxs, Gys, Gzs) of the second screen, respectively, and determine an angle between the first screen and the second screen according to the triaxial component data (Gxm, Gym, Gzm) of the first screen and the triaxial component data (Gxs, Gys, Gzs) of the second screen. Where Gxm denotes a component of the first screen in the X-axis direction, Gym denotes a component of the first screen in the Y-axis direction, and Gzm denotes a component of the first screen in the Z-axis direction. Gxs denotes a component of the second screen in the X-axis direction, Gys denotes a component of the second screen in the Y-axis direction, and Gzs denotes a component of the second screen in the Z-axis direction. The X-axis direction is a short side extending direction of the first screen or the second screen of the electronic device, the Y-axis direction is a long side extending direction of the first screen or the second screen of the electronic device, and the Z-axis direction is a direction perpendicular to the first screen or the second screen.
It should be noted that, a period of the electronic device acquiring the triaxial component data of the first screen and the triaxial component data of the second screen from the sensor device may be predefined, or may be preconfigured (for example, the electronic device is configured in the electronic device when the electronic device leaves a factory), and the embodiment of the present application is not limited specifically herein.
It should be noted that the method for determining the included angle between the first screen and the second screen shown in the embodiment of the present application is illustrative, and other methods may also be used for determining the included angle.
In one implementation, when the electronic device determines the angle between the first screen and the second screen, and the angle of the angle falls into the first hysteresis interval (a2, a3) or the second hysteresis interval (a4, a5) shown in fig. 1, the electronic device may use the folded state of the electronic device recorded last time as the current folded state of the electronic device.
When the electronic device is currently in the half-folded state, S502 is performed. When the electronic device is not in the half-folded state, the current on-off states of the first screen and the second screen can be kept until the electronic device is detected to be in the half-folded state.
And S502, responding to the situation that the current folding state of the electronic equipment is a half-folding state, and further determining the placing posture of the electronic equipment.
In this embodiment, the electronic device may determine the current placement posture of the electronic device based on the triaxial component data (Gxm, Gym, Gzm) of the first screen acquired by the sensor device of the first screen and the triaxial component data (Gxs, Gys, Gzs) of the second screen acquired by the sensor device of the second screen.
In a possible implementation manner, the electronic device may further detect an included angle between the first screen and the horizontal plane and a component along the gravity direction, or an included angle between the second screen and the horizontal plane and a component along the gravity direction; and determining the placing posture of the electronic equipment according to the included angle between the first screen and the horizontal plane and the component along the gravity direction, or the included angle between the second screen and the horizontal plane and the component along the gravity direction. The included angle between the first screen or the second screen and a vertical plane or a horizontal plane refers to the included angle between the plane where the front surface of the first screen or the second screen is located and the horizontal plane.
Wherein the angle of the first screen or the second screen to the horizontal is used to determine the orientation (e.g., horizontal, vertical, oblique) of the first screen or the second screen. Taking the first screen as an example, when an included angle between the first screen and the horizontal plane is smaller than a first preset angle threshold (for example, smaller than 5 degrees), the first screen may be considered to be horizontally placed; when the included angle between the first screen and the horizontal plane is greater than or equal to a first preset angle threshold value and less than or equal to a second preset angle threshold value (for example, greater than or equal to 5 degrees and less than 85 degrees), the first screen is considered to be placed obliquely; the first screen may be considered to be vertically positioned when the first screen is at an angle greater than a second angular threshold (e.g., greater than 85 degrees) from horizontal.
The component of the first screen or the second screen in the direction of gravity is used to determine whether the screen is facing upwards or downwards. For example, when the component of the first screen in the gravity direction is the same as the gravity direction, it is said that the first screen is facing downward; when the component of the first screen along the gravity direction is opposite to the gravity direction, the first screen is upward.
In some implementations, the electronic device can have multiple placement poses in the semi-folded state.
Specifically, in fig. 6a to 6d, one of the panels of the electronic device is fixed and horizontally placed, and the other panel is bent along the folding axis within a predetermined angle range by using the fixed panel as a support. At this time, the placement posture of the electronic device may be referred to as a single-cradle posture. The predetermined angular range may be [40 °, 100 ° ].
In fig. 6e to 6j, the electronic apparatus is placed upright with one side (long side or short side) of the first screen and the second screen formed by bending as a stand, respectively. At this time, the placement posture of the electronic device may be referred to as a two-stand posture. Here, the side of the first screen and the side of the second screen for supporting the electronic apparatus are located at the same horizontal plane.
The following describes in detail various placement poses of the electronic device, taking the scenarios shown in fig. 6 a-6 j as examples. In fig. 6a to 6j, positive is taken to be upward in the vertical direction, positive is taken to be rightward in the horizontal direction, and positive is taken to be outward perpendicular to the screen.
Fig. 6a shows a schematic view of a first placement posture of the electronic device in a semi-folded state. In the first resting position shown in fig. 6a, the folding screen is folded outwardly. At this time, the first screen a is disposed facing the user, and the second screen B is placed horizontally downward as a stand for the first screen a. The included angle between the first screen A and the horizontal plane is larger than a first preset angle and smaller than a second preset angle, the component in the gravity direction is opposite to the gravity direction, and the included angle between the second screen B and the horizontal plane is smaller than the first preset angle and the component in the gravity direction is the same as the gravity direction. At this time, the following constraint conditions (1) are satisfied
Figure BDA0002379971460000191
Fig. 6b shows a second placement posture diagram of the electronic device in a semi-folded state. In the second resting position shown in fig. 6b, the folding screen is folded outwardly. At this time, the second screen B is disposed facing the user, and the first screen a is placed horizontally downward as a stand for the second screen B. The included angle between the first screen A and the horizontal plane is smaller than a first preset angle, the component in the gravity direction is the same as the gravity direction, the included angle between the second screen B and the horizontal plane is larger than the first preset angle, smaller than a second preset angle, and the component in the gravity direction is opposite to the gravity direction. At this time, the following constraint conditions (2) are satisfied
Figure BDA0002379971460000192
As can be seen from fig. 6 a-6 b, in the first and second placement postures as shown in fig. 6a, 6b, the screen as a stand is disposed in a direction away from the user's line of sight. For example, in fig. 6a, a user cannot view the second screen B when viewing the first screen a from a horizontal perspective; or in fig. 6B, the user cannot view the first screen a while viewing the second screen B at a horizontal viewing angle.
Fig. 6c shows a third placement posture diagram of the electronic device in the semi-folded state. In the third resting position shown in fig. 6c, the folding screen is folded inwards. At this moment, the first screen A is arranged facing a user, the second screen B is horizontally placed upwards to serve as a support of the first screen A, the included angle between the first screen A and the horizontal plane is larger than a first preset angle, smaller than a second preset angle, and the component along the gravity direction is the same as the gravity direction, and the included angle between the second screen B and the horizontal plane is smaller than the first preset angle, and the component along the gravity direction is opposite to the gravity direction. At this time, the following constraint conditions (3) are satisfied
Figure BDA0002379971460000193
Fig. 6d shows a fourth placement posture diagram of the electronic device in a semi-folded state. In the fourth resting position shown in fig. 6d, the folding screen is folded inwards. At this time, the second screen B is disposed facing the user, and the first screen a is placed horizontally upward as a stand for the second screen B. The included angle between the first screen A and the horizontal plane is smaller than a first preset angle, the component in the gravity direction is opposite to the gravity direction, the included angle between the second screen B and the horizontal plane is larger than the first preset angle and smaller than a second preset angle, and the component in the gravity direction is the same as the gravity direction. At this time, the following constraint conditions (4) are satisfied
Figure BDA0002379971460000194
As can be seen from fig. 6c to 6d, in the third placement posture and the fourth placement posture as shown in fig. 6c, 6d, the screens as the stands are each disposed in a direction toward the user's sight line. For example, in fig. 6c, when the user views the first screen a at a horizontal viewing angle, the picture in the second screen B can be clearly seen; or in fig. 6B, when the user views the second screen B at a horizontal viewing angle, the picture in the first screen a can be clearly seen.
In the constraint conditions (1) to (4), G is the gravitational acceleration, the standard value thereof is 9.8, and θ is a value obtained by converting the preset angle value into the data corresponding to the acceleration sensor. Generally, when the second screen B is placed absolutely horizontally, Gms + G is 0 and Gys is 0. When the electronic device is in use, the second screen B is not normally placed absolutely horizontally, i.e. there may be a certain height difference between the left and right sides of the electronic device. When the height difference is within a certain range, it can be regarded that the second screen B is horizontally placed. By setting the angle theta, the judgment of the placing posture of the electronic equipment can be more flexible.
Fig. 6e shows a fifth placement posture diagram of the electronic device in a semi-folded state. In the fifth placement posture shown in fig. 6e, the folding screen is folded outward, and the long sides of the first screen a and the second screen B of the electronic apparatus are located in the same horizontal plane. For example, in some scenarios, the electronic device is supported on a support with the long sides of the first screen a and the second screen B as supports. Supports herein include, but are not limited to, table tops, palms, and the like. The schematic view in this placement attitude can be simplified to the vector diagram shown in fig. 6 f. In fig. 6e and 6f, Wm is the width of the short side of first panel a, and Ws is the width of the short side of second panel B. Here, the width Wm of the short side of the first panel a and the width Ws of the short side of the second panel B may be the same or different. For example, the width Wm of the short side of the first panel A is larger than the width Ws of the short side of the second panel B. At this time, the included angle between the first screen a and the horizontal plane is larger than a first preset angle and smaller than a second preset angle, and the component along the gravity direction is opposite to the gravity direction, and the included angle between the second screen B and the horizontal plane is larger than the first preset angle and smaller than the second preset angle, and the component along the gravity direction is opposite to the gravity direction. When the folding screen is in the set posture as shown in FIG. 6e, the following constraint conditions (5) are satisfied
Figure BDA0002379971460000201
Fig. 6g shows a sixth placement posture diagram of the electronic device in a semi-folded state. In the sixth placement posture shown in fig. 6g, the folding screen is folded inward, and the long sides of the first screen a and the second screen B of the electronic apparatus are located in the same horizontal plane. As can be seen from fig. 6g, the sixth placement posture is different from the fifth placement posture in that the folded screen is folded inward along the folding axis. Fig. 6h is a vector diagram of the electronic device in the sixth placement posture. Similarly, in fig. 6g and 6h, Wm is the width of the short side of first panel a, and Ws is the width of the short side of second panel B. At this time, the included angle between the first screen a and the horizontal plane is larger than the first preset angle and smaller than the second preset angle, and the component along the gravity direction is the same as the gravity direction, and the included angle between the second screen B and the horizontal plane is larger than the first preset angle and smaller than the second preset angle, and the component along the gravity direction is the same as the gravity direction. When the folding screen is in the set posture as shown in FIG. 6g, the following constraint (6) is satisfied
Figure BDA0002379971460000202
It should be noted that, in the constraint conditions (5) - (6), G is a gravity acceleration, the standard value is 9.8, β is an angle between the X-axis direction and the Y-axis direction of the first screen a and smaller than 90 °, γ is an angle between the X-axis direction and the Y-axis direction of the second screen B and smaller than 90 ° (that is, γ is an angle between the X-axis direction and the horizontal direction of the second screen B and smaller than 90 °), when the placement posture of the electronic device is the configuration shown in fig. 6e or 6f, the product of Wm and sin β and the product of Ws and sin γ are the height h when the screen is folded, therefore, Wmsin β is wsin γ, at this time, the angle between the Z-axis direction of the first screen a and the gravity direction is β, the included angle between the Z-axis direction of the second screen B and the gravity direction is β, and the included angle between the Z-axis direction of the second screen B and the gravity direction is the same, when the Z-axis direction is the same as the gravity direction, the Z-axis direction, and the data of the Z-axis direction of the second screen B are considered as the data of the first screen a, when the Z-Z acceleration is the same as the gravity direction, and the data of the second screen B, and when the data of the second screen B, the second screen B is considered as the data of the second screen B.
Fig. 6i shows a seventh placement posture diagram of the electronic device in the half-folded state. In the seventh placement posture shown in fig. 6i, the folding screen is folded outward, and the short sides of the first screen a and the second screen B of the electronic apparatus are located in the same horizontal plane. For example, in some scenarios, the electronic device is supported on a support with the short sides of the first screen a and the second screen B as a stand. At the moment, the included angle between the first screen A and the horizontal plane is larger than or equal to a second preset angle, and the included angle between the second screen B and the horizontal plane is larger than the first preset angle and larger than or equal to the second preset angle. When the folding screen is in the set posture as shown in FIG. 6i, the following constraint conditions (7) are satisfied
Figure BDA0002379971460000211
Fig. 6j shows an eighth placement posture diagram of the electronic device in the semi-folded state. In the eighth placement posture shown in fig. 6j, the folding screen is folded inward, and the short sides of the first screen a and the second screen B of the electronic device are located in the same horizontal plane. At this time, the included angle between the first screen A and the horizontal plane is greater than or equal to a second preset angle, and the included angle between the second screen B and the horizontal plane is greater than the first preset angle and greater than or equal to the second preset angle. The constraint condition (7) can be referred to as the constraint condition satisfied in the placement posture, and details are not repeated here.
The first preset angle in the application scenarios as described in fig. 6 a-6 j may be, for example, 10 degrees, and the second preset angle may be, for example, 80 degrees.
In a specific implementation, the Sensor Hub (Sensor Hub)2221 shown in fig. 4 may determine angle data between the first screen and the second screen based on direction vector data of the orientations of the first screen and the second screen acquired by the Sensor devices of the first screen a and the second screen B, and then transmit the direction vector data of the orientations of the first screen, the direction vector data of the orientations of the second screen, and the angle data between the first screen and the second screen to the Sensor Service (Sensor Service)2231, the Sensor Service (Sensor Service)2231 transmits triaxial component data of the first screen, component data of the second screen, and angle data between the first screen and the second screen acquired by the Sensor devices of the first screen a and the second screen B to the folded screen management Service (force screen manager Service)2232, and the folded screen manager Service (force screen manager) 2232 may first determine angle data between the first screen and the second screen based on the direction vector data of the orientations of the first screen a and the second screen B, it is determined whether the electronic device is in a semi-folded state. After determining that the electronic device is in a half-folded state, a folded screen management service (Ford screen management service)2232 may further determine a current placement posture of the electronic device according to the triaxial component data based on the first screen a and the second screen B. That is, the folding screen management service (Fordscreen manager service)2232 may determine that the current placement posture of the electronic device is one of a first placement posture, a second placement posture, a third placement posture, a fourth placement posture, a fifth placement posture, a sixth placement posture, a seventh placement posture and an eighth placement posture.
And S503, controlling the first screen or the second screen to be lightened or extinguished based on the current placing posture of the electronic equipment.
In this embodiment, the electronic device may control the first screen or the second screen to be turned on or off according to the current placement posture of the electronic device.
The following describes in detail the relationship between the placement posture of the electronic device and the on/off of the screen with reference to fig. 6a to 6j and fig. 7a to 7 i.
When the current placement posture of the electronic device is the first placement posture, the second screen B is generally horizontally placed on a support such as a desktop, the second screen B is shielded by the vertically-erected first screen a, and a user cannot see the screen content presented by the second screen B at this time. Thus, first panel a may be lit and second panel B may be extinguished at this time, as shown in fig. 7 a.
When the current placement posture of the electronic device is the second placement posture, the first screen a is generally horizontally placed on a support such as a desktop, the first screen a is shielded by the second screen B, and a user cannot see the screen content presented by the first screen a at this time. Accordingly, second panel B can be lit up and first panel a can be extinguished at this time. The detailed state and application scenario thereof can be seen with reference to fig. 7 b.
When the current placement posture of the electronic equipment is the third placement posture, the user can see the content presented by the first screen A and can also see the content presented by the second screen B. The first screen a and the second screen B may be simultaneously lighted at this time. Further, the first screen a and the second screen B may present the same content. That is, the first screen a and the second screen B may be one screen, and display the content of the same interface. As shown in fig. 7c, fig. 7c schematically shows a scenario in which a certain chat interaction interface is displayed.
When the current placement posture of the electronic equipment is the fourth placement posture, the user can see the content presented by the first screen a and the content presented by the second screen B at the moment. At this time, the electronic apparatus may simultaneously light the first screen a and the second screen B. Further, the first screen a and the second screen B may display the content of the same interface. The specific application scenario can be seen with reference to fig. 7 d.
When the current placing posture of the electronic equipment is the fifth placing posture, the folding screen is folded outwards along the folding axis at the moment, and the long edges of the first screen A and the second screen B are positioned in the same horizontal plane. The user can now see both the content presented by the first screen a and the content presented by the second screen B. At this time, the first screen a and the second screen B may be simultaneously lighted. The specific application scenario can be seen with reference to fig. 7 e. Further, the first screen a and the second screen B may display contents of the same interface.
When the current placing posture of the electronic equipment is the sixth placing posture, because the folding screen is folded inwards along the folding axis, one surfaces of the first screen A and the second screen B, which present the pictures, are arranged oppositely, and the long edges of the first screen A and the second screen B are positioned in the same horizontal plane. In an application scenario of the placement posture, the folded screen is bent and then turned upside down on the desktop, that is, the first screen a and the second screen B face the desktop. At this time, it is often difficult for the user to see the pictures presented by the first screen a and the second screen B. Therefore, in this configuration, the electronic device can simultaneously turn off the first screen a and the second screen B, and a specific application scenario thereof can be shown with reference to fig. 7 f.
When the current placement posture of the electronic equipment is the seventh placement posture, the short sides of the first screen a and the second screen B are located in the same horizontal plane, that is, the electronic equipment is placed vertically. The user can now see both the content presented by the first screen a and the content presented by the second screen B. The first screen a and the second screen B may be simultaneously lighted at this time. Further, the first screen a and the second screen B may display the content of the same interface. The specific application scenario can be seen with reference to fig. 7 g.
When the current placement posture of the electronic equipment is the eighth placement posture, the user can see the content presented by the first screen a and the content presented by the second screen B at the moment. The first screen a and the second screen B may be simultaneously lighted at this time. The first screen a and the second screen B may display contents of the same interface. The specific application scenario can be seen with reference to fig. 7 h. Further, the first screen a and the second screen B may be displayed in a split-screen manner, and a specific application scenario may be shown in fig. 7 i.
In some embodiments, the electronic device may also control the manner in which content is displayed in the screen based on the determined placement gesture. The display mode comprises one of the following modes: horizontal screen display and vertical screen display.
Specifically, in the above placing postures, the first placing posture, the second placing posture, the third placing posture and the fourth placing posture are all placing postures in the landscape screen state. Therefore, when the electronic equipment detects that the current placing posture is one of the first placing posture, the second placing posture, the third placing posture and the fourth placing posture, the lighted content in the screen can be controlled to be displayed on the horizontal screen. For example, in the first placement posture, the first screen a lights up and the second screen B extinguishes. At this time, the first screen a horizontal screen display may be controlled. Among the above placing postures, the fifth placing posture, the sixth placing posture, the seventh placing posture and the eighth placing posture are placing postures in a vertical screen state. Thus, when the electronic device detects that the current placement posture is one of the fifth placement posture, the sixth placement posture, the seventh placement posture and the eighth placement posture, the vertical screen display of the content in the lighted screen can be controlled. For example, in the third placement posture, the first screen a and the second screen B are simultaneously lit (as shown in fig. 7 c). The electronic device may control the content portrait screen display presented by the first screen a and the second screen B.
Fig. 8 is a flowchart illustrating a control method according to another embodiment of the present application. The execution body of the method may be the electronic device described above. As shown in fig. 8, the following steps may be included:
step S801, determining a current folding state of the electronic device based on an included angle between the first screen and the second screen.
Step S802, in response to that the folding state of the electronic device is a half-folding state, further determining a current placement posture of the electronic device.
The specific implementation of step S801 and step S802 and the beneficial effects brought by the implementation can refer to the related description of step S501 and step S502 shown in fig. 5, and are not described herein again.
In step S803, the electronic device determines whether user information is detected.
In this embodiment, the user information may include, but is not limited to, for example, line of sight information of the user with respect to the first screen or the second screen, and holding information of the electronic device by the user.
Here, the electronic device may acquire user gaze information using an infrared sensor, and may detect whether the user holds the electronic device using a touch detection algorithm.
In particular, the electronic device may be provided with a plurality of cameras or infrared sensors, which may include, but are not limited to, infrared cameras, visible light cameras, and the like. In a specific implementation, the plurality of cameras or the infrared sensors may be respectively disposed in a first screen area and a second screen area of the electronic device. That is, after the foldable screen is folded along the folding axis to form the first screen a and the second screen B, a portion of the cameras (e.g., an infrared camera and a visible light camera) or the infrared sensor is disposed at one side of the first screen a, and a portion of the cameras (e.g., an infrared camera and a visible light camera) or the infrared sensor is disposed at one side of the second screen B. Therefore, when the user uses the first screen A or the second screen B, the electronic equipment can acquire sight line information of the user relative to the first screen or the second screen by using the camera or the infrared sensor, and the detection range of the electronic equipment for the sight line of the user is enlarged.
In specific implementation, the working process of a camera or an infrared sensor in the electronic equipment can control the camera or the infrared sensor to detect the sight line information of the user. When the camera or the infrared sensor detects the user sight line information, the camera or the infrared sensor working process can provide the identification (or the number) of the camera or the infrared sensor which detects the user sight line information and the user sight line information to a folding screen management service in the electronic equipment. Therefore, after receiving the information sent by the camera or the working process of the infrared sensor, the folding screen management service can determine the detected user sight line information and the distance between the user sight line and the first screen or the second screen. Similarly, in the touch detection work process of the electronic device, after it is detected that the user touches or holds the electronic device, the screen area touched by the user or the side area of the held electronic device can be determined, and then the detected touch area information or the held area information is provided to the folding screen management service. Therefore, after receiving the touch area information or the holding area information sent by the touch detection working process, the folding screen management service can determine that the holding information of the user on the electronic equipment is detected.
In this embodiment, when the electronic device cannot detect the user information, step S804 may be performed; when the electronic device detects the user information, step S805 may be performed.
Step S804, based on the current placing posture of the electronic device, the first screen or the second screen is controlled to be lightened or extinguished.
Step S805, the electronic equipment controls the first screen or the second screen to be lightened on or extinguished according to the user information and the current placing posture of the electronic equipment.
In this embodiment, when the electronic device detects the user information, the lighting or the extinguishing of the first screen or the second screen may be intelligently controlled based on the user information and the current placement posture information of the electronic device.
The following describes in detail the relationship between the user information, the current placement posture of the electronic device, and the on/off of the screen, with reference to fig. 6a to 6 j.
The electronic device placement posture here is one of the first placement posture, the second placement posture, the third placement posture, the fourth placement posture, the fifth placement posture, the sixth placement posture, the seventh placement posture, and the eighth placement posture described in step S502.
As can be seen from fig. 6c, 6d, and 6j, when the placement postures of the folding screen are the third placement posture, the fourth placement posture, and the eighth placement posture, the folding screen is folded inward. At this time, the same user can see both the content displayed on the first screen a and the content displayed on the second screen B. Meanwhile, the camera or the sensor positioned in the first screen A area and the camera or the sensor positioned in the second screen B area can detect the sight of the user. Therefore, when the placing posture of the electronic equipment is any one of the third placing posture, the fourth placing posture and the eighth placing posture and the electronic equipment detects the sight line information of the user, the first screen A and the second screen B can be lightened simultaneously. Furthermore, the interface content of the same application can be displayed at this time, and the interface content of different applications can be displayed in a split screen manner, which can be determined according to the needs of application scenes.
As can be seen from fig. 6g, when the electronic device is placed in the sixth position, the foldable screen is folded inward and then stands on a support, for example, a table. At this moment, the first screen A and the second screen B face towards the desktop, and the camera located in the first screen A area and the camera located in the second screen B area cannot detect the sight of the user. At this time, the first panel a and the second panel B may be simultaneously turned off, or the first panel a and the second panel B may be maintained in the turned-off state.
When the placing posture of the electronic equipment is the first placing posture, as shown in fig. 6 a. When the electronic equipment is placed on a support such as a table top, the first screen A is erected, and the second screen B faces the table top, at the moment, the camera or the infrared sensor in the area of the first screen A can generally detect the sight line of a user, and the camera or the infrared sensor in the area of the second screen B cannot detect the sight line of the user. The first panel a may be lit such that the second panel B is extinguished. In a certain application scenario, when the user views the screen in a lying posture, the electronic device is in a first placed posture, and the user generally uses a horizontally placed screen area, i.e., the second screen B. At this time, when the camera located in the second screen B area detects the user's sight line, the second screen B may be lit, and the first screen a may be extinguished. In a certain application scenario, when the human eyes are far away from the screen or the light is weak, the camera cannot detect the sight of the user, and the user holds the electronic device, when the electronic device detects that the user holds the electronic device, the corresponding screen area can be lighted based on the held area. Specifically, the electronic device may pre-record a corresponding relationship between the user holding area and the on/off state of the screen. The electronic device can determine which screen region needs to be lit based on the correspondence. As an example, when the user holds the bezel region corresponding to the second screen B, the user may be considered to be using the second screen B, and the second screen B may be lit up at this time.
Similarly, when the placing posture of the electronic equipment is the second placing posture, the second screen B is erected at the moment, and the first screen A is horizontal. In this placement position, the principle of lighting the screen is the same as in the first placement position, and is not described in detail here.
When the placing posture of the electronic equipment is the fifth placing posture, as shown in fig. 6 e. At this time, the folding screen is folded outward. The user can see both the content presented by the first screen a and the content presented by the second screen B. In this placement position, the user typically does not see both screen regions simultaneously. Therefore, when the camera in the area of the first screen A detects the sight of the user, the first screen A can be lightened, and the second screen B is kept in a screen-off state; when the camera in the second screen A area detects the sight of the user, the second screen B can be lightened, and the first screen A is kept in a screen-off state. In some application scenarios, it is possible that two users use the electronic device simultaneously, i.e., a first user uses the first screen a and a second user uses the second screen B. At this time, when the camera located in the first screen a region and the camera located in the second screen B region both detect the line of sight of the user, the first screen a and the second screen B may be simultaneously lighted, and a specific application scenario may refer to fig. 9.
Further, an application identifier of the application displayed in a mirror image mode can be recorded in the electronic device. When the electronic equipment is placed in the second placing posture, the camera located in the first screen area and the camera located in the second screen area detect the sight of the user, and the application currently running on the electronic equipment belongs to the application of mirror image display, the electronic equipment can display the interface content presented by the first screen A in the second screen B in a mirror image mode while lightening the first screen A and the second screen B; or the interface content presented by the second screen B is mirrored in the first screen A.
As can be seen from the embodiment shown in fig. 8, unlike the embodiment shown in fig. 5, the present embodiment adds a step of detecting user information and simultaneously controlling the screen to be turned on or off based on the user information and the placement posture information of the electronic device. Therefore, when the placing posture of the electronic equipment is the first placing posture, the second placing posture or the fifth placing posture, the screen area used by the user can be determined more accurately, and the user experience is improved.
In order to facilitate a more accurate understanding of the embodiments of the present application, the following further describes the application through a specific application scenario.
First, a folding screen in an electronic device is in a folded state. After the user operates the foldable screen, the sensor devices in the first screen a and the second screen B may respectively detect the change of the three-axis component. At this time, the electronic device may determine the current folded state based on the data collected by the sensor device. When the electronic equipment determines that the current folded state is the semi-folded state, the current placing posture of the electronic equipment can be further determined based on the three-axis component data of the first screen A and the second screen B acquired by the sensor. When the electronic device determines that the current placement posture of the electronic device is the fifth placement posture shown in fig. 6e, the electronic device may further determine whether the line of sight of the user is detected by using the infrared sensor located in the first screen a area and the infrared sensor located in the second screen B area. When the electronic equipment detects that the first screen A and the second screen B both have the user sight line based on the data collected by the infrared sensor, the currently running application can be further determined. When the electronic device detects that the currently running application is a chess application as shown in fig. 9, the contents of the first screen a and the second screen B may be presented in a mirror image, i.e., as shown in fig. 9.
It should be noted that, in the above embodiments, when the screen of the electronic device is the fold-in screen, in the half-folded state, the placing posture included in the electronic device is one of the third placing posture, the fourth placing posture, the sixth placing posture and the eighth placing posture; when the screen of the electronic equipment is the folded screen, in a semi-folded state, the placing posture included by the electronic equipment is one of the first placing posture, the second placing posture, the fifth placing posture and the seventh placing posture; when the screen of the electronic device is a 360-degree folding screen, in a half-folded state, the placing posture included in the electronic device is one of the first placing posture, the second placing posture, the third placing posture, the fourth placing posture, the fifth placing posture, the sixth placing posture, the seventh placing posture and the eighth placing posture.
Further embodiments of the present application further provide an electronic device, configured to perform the method in the above method embodiments. As shown in fig. 10, the electronic device may include: a foldable screen 1001, wherein the foldable screen 1001 is a display screen and at least includes or can be folded to form a first screen 1006 and a second screen 1007, the first screen 1006 may be provided with a sensor module 1008 for measuring a three-axis component of the first screen 1006, and the second screen 1007 may be provided with a sensor module 1009 for measuring a three-axis component of the second screen 1007; one or more processors 1002; a memory 1003; the various devices described above may be connected by one or more communication buses 1005. Wherein the memory 1003 stores one or more computer programs 1004, the one or more processors 1002 are configured to execute the one or more computer programs 1004, and the one or more computer programs 1004 include instructions that can be used to perform the steps performed by the electronic device in the above method embodiments.
For example, the one or more processors 1002 are operable to execute the one or more computer programs 1004 to perform the following:
determining a current folded state of the electronic device based on an included angle between the first screen and the second screen, the folded state including one of: the foldable type foldable table comprises a fully-folded state, an unfolded state and a semi-folded state, wherein the fully-folded state corresponds to a first preset included angle range, the unfolded state corresponds to a second preset included angle range, the semi-folded state corresponds to a third preset included angle range, and the first preset included angle range, the second preset included angle range and the third preset included angle range are different; in response to the folded state of the electronic device being a semi-folded state, determining use information of a user using the electronic device, and in response to the use information, controlling the first screen or the second screen to be turned on or off, wherein the use information includes at least one of the following: the electronic equipment comprises a placing posture of the electronic equipment, sight line information of a user relative to the first screen or the second screen, and holding information of the user on the electronic equipment.
In some implementations, when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device includes: and responding to the placing posture of the electronic equipment to indicate that the first screen is placed horizontally and faces the gravity direction, and controlling the second screen to be lightened and the first screen to be extinguished.
In some implementations, after the responding to the placement posture of the electronic device indicates that the first screen is placed horizontally and facing the direction of gravity, controlling the second screen to be lit and controlling the first screen to be extinguished, the method further includes: detecting sight line information of a user relative to the first screen or holding information of the first screen by the user; switching the second screen to the first screen in response to a user gazing at the first screen or a user holding the first screen.
In some implementations, when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device includes: and controlling at least one screen of the first screen and the second screen to be lightened in response to the fact that the placement posture of the electronic equipment indicates that the first screen is vertically placed or in response to the fact that the placement posture of the electronic equipment indicates that the first screen and the second screen are obliquely placed and the orientation of the first screen and the orientation of the second screen are opposite to the gravity direction.
In some implementations, when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device includes: and controlling the first screen and the second screen to be extinguished in response to the placing posture of the electronic equipment indicating that the first screen and the second screen are placed obliquely and facing the gravity direction.
In some implementations, in response to the placement posture of the electronic device indicating that the first screen and the second screen are placed obliquely and the first screen and the second screen are oriented opposite to the direction of gravity, controlling at least one of the first screen and the second screen to illuminate includes: detecting sight line information of a user relative to the first screen and the second screen or holding information of the user on the first screen and the second screen; controlling at least one of the first screen and the second screen to be lit up based on the detection result.
In some implementations, the determining the folded state of the electronic device based on the angle between the first screen and the second screen includes: and determining the folded state of the electronic equipment recorded last time as the current folded state of the electronic equipment.
In some implementations, the first preset included angle range is [0 °, 20 ° ]; or the second preset included angle range is [40 degrees, 100 degrees ]; or the third preset included angle ranges from [120 degrees to 180 degrees ].
In some implementations, when the usage information includes a placement posture of the electronic device, determining the placement posture of the electronic device includes: detecting triaxial component data of the first screen and triaxial component data of the second screen; and determining the placement posture of the electronic equipment according to the three-axis component data of the first screen and the three-axis component data of the second screen, wherein in the three-axis component data of the first screen or the second screen, an X axis is parallel to the short side direction of the screen, a Y axis is parallel to the long side direction of the screen, and a Z axis is perpendicular to the screen direction.
In some implementations, the determining the placement posture of the electronic device further includes: detecting an included angle between the first screen and a horizontal plane and a component along the gravity direction, or detecting an included angle between the second screen and the horizontal plane and a component along the gravity direction; and determining the placing posture of the electronic equipment according to the included angle between the first screen and the horizontal plane and the component along the gravity direction, or the included angle between the second screen and the horizontal plane and the component along the gravity direction.
Of course, the electronic device shown in fig. 10 may further include other devices such as an audio module and a SIM card interface, which is not limited in this embodiment. When it includes other devices, it may be specifically the electronic device shown in fig. 3.
Further embodiments of the present application also provide a computer storage medium, which may include computer instructions, and when the computer instructions are executed on an electronic device, the electronic device may be caused to perform the steps performed by the electronic device in the above method embodiments.
Further embodiments of the present application also provide a computer program product, which when run on a computer causes the computer to perform the steps performed by the electronic device in the above-mentioned method embodiments.
Other embodiments of the present application further provide an apparatus, where the apparatus has a function of implementing the behavior of the electronic device in the foregoing method embodiments. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, for example, a determination unit or module, a storage unit or module, and a display unit or module.
It is clear to those skilled in the art from the foregoing description of the embodiments that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application, or a part or all or part of the technical solution that contributes to the prior art, may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the embodiments of the present application, and all the changes or substitutions should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (23)

1. A display control method applied to an electronic device including a first screen and a second screen, the method comprising:
determining a current folded state of the electronic device based on an included angle between the first screen and the second screen, wherein the folded state includes one of: the foldable type foldable table comprises a fully-folded state, an unfolded state and a semi-folded state, wherein the fully-folded state corresponds to a first preset included angle range, the unfolded state corresponds to a second preset included angle range, the semi-folded state corresponds to a third preset included angle range, and the first preset included angle range, the second preset included angle range and the third preset included angle range are different;
in response to the folded state of the electronic device being a semi-folded state, determining use information of a user using the electronic device, and in response to the use information, controlling the first screen or the second screen to be turned on or off, wherein the use information includes at least one of: the electronic equipment comprises a placing posture of the electronic equipment, sight line information of a user relative to the first screen or the second screen, and holding information of the user on the electronic equipment.
2. The method of claim 1, wherein when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device comprises:
and responding to the placing posture of the electronic equipment to indicate that the first screen is placed horizontally and faces the gravity direction, and controlling the second screen to be lightened and the first screen to be extinguished.
3. The method of claim 2, wherein after the controlling the second screen to be lit and the first screen to be extinguished in response to the placement posture of the electronic device indicating that the first screen is placed horizontally and facing the direction of gravity, further comprising:
detecting sight line information of a user relative to the first screen or holding information of the first screen by the user;
switching display of the second screen to the first screen in response to a user gazing at the first screen or a user holding the first screen.
4. The method of claim 1, wherein when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device comprises:
and controlling at least one screen of the first screen and the second screen to be lightened in response to the fact that the placement posture of the electronic equipment indicates that the first screen is vertically placed or in response to the fact that the placement posture of the electronic equipment indicates that the first screen and the second screen are obliquely placed and the orientation of the first screen and the orientation of the second screen are opposite to the gravity direction.
5. The method of claim 4, wherein the controlling at least one of the first screen and the second screen to illuminate in response to the placement gesture of the electronic device indicating that the first screen and the second screen are placed obliquely and the first screen and the second screen are oriented opposite to a direction of gravity comprises:
detecting sight line information of a user relative to the first screen and the second screen or holding information of the user on the first screen and the second screen;
controlling at least one of the first screen and the second screen to be lit up based on the detection result.
6. The method of claim 1, wherein when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device comprises:
and controlling the first screen and the second screen to be extinguished in response to the placing posture of the electronic equipment indicating that the first screen and the second screen are placed obliquely and facing the gravity direction.
7. The method of any of claims 1-6, wherein determining the folded state of the electronic device based on the angle between the first screen and the second screen comprises:
and determining the folded state of the electronic equipment recorded last time as the current folded state of the electronic equipment.
8. The method according to any one of claims 1 to 7,
the first preset included angle range is [0 degrees, 20 degrees ]; or
The second preset included angle range is [40 degrees, 100 degrees ]; or
The third preset included angle range is [120 degrees, 180 degrees ].
9. The method of any of claims 1-8, wherein when the usage information includes a placement posture of the electronic device, determining the placement posture of the electronic device comprises:
detecting triaxial component data of the first screen and triaxial component data of the second screen;
and determining the placement posture of the electronic equipment according to the three-axis component data of the first screen and the three-axis component data of the second screen, wherein in the three-axis component data of the first screen or the second screen, an X axis is parallel to the short side direction of the screen, a Y axis is parallel to the long side direction of the screen, and a Z axis is perpendicular to the screen direction.
10. The method of any of claims 1-8, wherein when the usage information includes a placement posture of the electronic device, the determining the placement posture of the electronic device comprises:
detecting an included angle between the first screen and a horizontal plane and a component along the gravity direction, or detecting an included angle between the second screen and the horizontal plane and a component along the gravity direction;
and determining the placing posture of the electronic equipment according to the included angle between the first screen and the horizontal plane and the component of the first screen along the gravity direction, or the included angle between the second screen and the horizontal plane and the component of the first screen along the gravity direction.
11. An electronic device, characterized in that the electronic device comprises: one or more processors, memory, and a folding screen; wherein the electronic device comprises a first screen and a second screen for displaying content as directed by the one or more processors, the memory for storing one or more programs; the one or more processors are configured to execute the one or more programs to perform the following acts:
determining a current folded state of the electronic device based on an included angle between the first screen and the second screen, wherein the folded state includes one of: the foldable type foldable table comprises a fully-folded state, an unfolded state and a semi-folded state, wherein the fully-folded state corresponds to a first preset included angle range, the unfolded state corresponds to a second preset included angle range, the semi-folded state corresponds to a third preset included angle range, and the first preset included angle range, the second preset included angle range and the third preset included angle range are different;
in response to the folded state of the electronic device being a semi-folded state, determining use information of a user using the electronic device, and in response to the use information, controlling the first screen or the second screen to be turned on or off, wherein the use information includes at least one of: the electronic equipment comprises a placing posture of the electronic equipment, sight line information of a user relative to the first screen or the second screen, and holding information of the user on the electronic equipment.
12. The electronic device of claim 11, wherein when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device comprises:
and responding to the placing posture of the electronic equipment to indicate that the first screen is placed horizontally and faces the gravity direction, and controlling the second screen to be lightened and the first screen to be extinguished.
13. The electronic device according to claim 12, wherein after controlling the second screen to be lit and the first screen to be extinguished in response to the placement posture of the electronic device indicating that the first screen is placed horizontally and facing the direction of gravity, further comprising:
detecting sight line information of a user relative to the first screen or holding information of the first screen by the user;
switching the second screen to the first screen in response to a user gazing at the first screen or a user holding the first screen.
14. The electronic device of claim 11, wherein when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device comprises:
and controlling at least one screen of the first screen and the second screen to be lightened in response to the fact that the placement posture of the electronic equipment indicates that the first screen is vertically placed or in response to the fact that the placement posture of the electronic equipment indicates that the first screen and the second screen are obliquely placed and the orientation of the first screen and the orientation of the second screen are opposite to the gravity direction.
15. The electronic device of claim 14, wherein the controlling at least one of the first screen and the second screen to illuminate in response to the placement posture of the electronic device indicating that the first screen and the second screen are placed obliquely and the first screen and the second screen are oriented opposite to the direction of gravity comprises:
detecting sight line information of a user relative to the first screen and the second screen or holding information of the user on the first screen and the second screen;
controlling at least one of the first screen and the second screen to be lit up based on the detection result.
16. The electronic device of claim 11, wherein when the usage information includes a placement gesture of the electronic device, controlling the first screen or the second screen to be lit or extinguished in response to the placement gesture of the electronic device comprises:
and controlling the first screen and the second screen to be extinguished in response to the placing posture of the electronic equipment indicating that the first screen and the second screen are placed obliquely and facing the gravity direction.
17. The electronic device of any of claims 11-16, wherein determining the folded state of the electronic device based on the angle between the first screen and the second screen comprises:
and determining the folded state of the electronic equipment recorded last time as the current folded state of the electronic equipment.
18. The electronic device of any of claims 11-17,
the first preset included angle range is [0 degrees, 20 degrees ]; or
The second preset included angle range is [40 degrees, 100 degrees ]; or
The third preset included angle range is [120 degrees, 180 degrees ].
19. The electronic device of any of claims 11-18, wherein when the usage information includes a placement posture of the electronic device, determining the placement posture of the electronic device comprises:
detecting triaxial component data of the first screen and triaxial component data of the second screen;
and determining the placement posture of the electronic equipment according to the three-axis component data of the first screen and the three-axis component data of the second screen, wherein in the three-axis component data of the first screen or the second screen, an X axis is parallel to the short side direction of the screen, a Y axis is parallel to the long side direction of the screen, and a Z axis is perpendicular to the screen direction.
20. The electronic device of any of claims 11-18, wherein when the usage information includes a placement posture of the electronic device, the determining a placement posture of the electronic device further comprises:
detecting an included angle between the first screen and a horizontal plane and a component of the first screen along the gravity direction, or detecting an included angle between the second screen and the horizontal plane and a component of the second screen along the gravity direction;
and determining the placing posture of the electronic equipment according to the included angle between the first screen and the horizontal plane and the component of the first screen along the gravity direction, or the included angle between the second screen and the horizontal plane and the component of the second screen along the gravity direction.
21. A display control apparatus, characterized by comprising means for performing the method of any of the preceding claims 1-10.
22. A computer storage medium comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the display control method of any one of claims 1-10.
23. A computer program product, characterized in that it causes a computer to carry out the display control method according to any one of claims 1-10, when said computer program product is run on the computer.
CN202010080057.2A 2020-02-04 2020-02-04 Display control method and electronic equipment Pending CN111475077A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010080057.2A CN111475077A (en) 2020-02-04 2020-02-04 Display control method and electronic equipment
PCT/CN2021/075087 WO2021155808A1 (en) 2020-02-04 2021-02-03 Display control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010080057.2A CN111475077A (en) 2020-02-04 2020-02-04 Display control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111475077A true CN111475077A (en) 2020-07-31

Family

ID=71747995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010080057.2A Pending CN111475077A (en) 2020-02-04 2020-02-04 Display control method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111475077A (en)
WO (1) WO2021155808A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112991950A (en) * 2021-02-26 2021-06-18 维沃移动通信有限公司 Folding screen and electronic equipment
CN113064806A (en) * 2021-03-31 2021-07-02 联想(北京)有限公司 Control method and electronic device
WO2021155808A1 (en) * 2020-02-04 2021-08-12 华为技术有限公司 Display control method and electronic device
CN113542463A (en) * 2021-06-30 2021-10-22 惠州Tcl移动通信有限公司 Video shooting device and method based on folding screen, storage medium and mobile terminal
CN113824878A (en) * 2021-08-20 2021-12-21 荣耀终端有限公司 Shooting control method based on foldable screen and electronic equipment
WO2022183864A1 (en) * 2021-03-05 2022-09-09 荣耀终端有限公司 Electronic device having folding screen, and control method
CN115079854A (en) * 2021-09-08 2022-09-20 荣耀终端有限公司 State switching method and device, electronic equipment and storage medium
CN115695647A (en) * 2021-07-29 2023-02-03 北京小米移动软件有限公司 Control method and device for biological recognition, electronic equipment and storage medium
CN115695643A (en) * 2022-10-27 2023-02-03 网易有道(杭州)智能科技有限公司 Method for handheld device and related product
WO2023045932A1 (en) * 2021-09-22 2023-03-30 华为技术有限公司 Device control method and related apparatus
CN116033067A (en) * 2022-12-27 2023-04-28 维沃移动通信有限公司 Display method, display device, electronic equipment and computer readable storage medium
WO2023103951A1 (en) * 2021-12-10 2023-06-15 华为技术有限公司 Display method for foldable screen and related apparatus
WO2023237016A1 (en) * 2022-06-10 2023-12-14 华为技术有限公司 Foldable-screen electronic device display and control method, and foldable-screen electronic device
CN117707321A (en) * 2023-06-30 2024-03-15 荣耀终端有限公司 False touch prevention identification method and related equipment
WO2024109259A1 (en) * 2022-11-22 2024-05-30 荣耀终端有限公司 Sleep wake-up method, electronic device, bluetooth peripheral, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765775A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Control method, device and the storage medium of terminal
US20180113520A1 (en) * 2016-10-25 2018-04-26 Microsoft Technology Licensing, Llc Input based on Interactions with a Physical Hinge
CN108737635A (en) * 2018-03-26 2018-11-02 广东欧珀移动通信有限公司 message display method, device, mobile terminal and storage medium
CN109691073A (en) * 2016-02-05 2019-04-26 三星电子株式会社 Electronic equipment and its operating method including multiple displays
CN109840061A (en) * 2019-01-31 2019-06-04 华为技术有限公司 The method and electronic equipment that control screen is shown
CN109917956A (en) * 2019-02-22 2019-06-21 华为技术有限公司 It is a kind of to control the method and electronic equipment that screen is shown
CN110147192A (en) * 2019-04-25 2019-08-20 Oppo广东移动通信有限公司 Interface operation method, device, electronic equipment and storage medium
US20190268463A1 (en) * 2016-09-09 2019-08-29 Huawei Technologies Co., Ltd. Method for Controlling Screen of Mobile Terminal, and Apparatus
CN110286865A (en) * 2019-06-20 2019-09-27 上海摩软通讯技术有限公司 A kind of display methods and electronic equipment of touch screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9858848B1 (en) * 2016-06-09 2018-01-02 International Business Machines Corporation Dynamic display adjustment on a transparent flexible display
CN110381201A (en) * 2019-07-09 2019-10-25 努比亚技术有限公司 Screen management method, mobile terminal and computer readable storage medium
CN111475077A (en) * 2020-02-04 2020-07-31 华为技术有限公司 Display control method and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109691073A (en) * 2016-02-05 2019-04-26 三星电子株式会社 Electronic equipment and its operating method including multiple displays
US20190268463A1 (en) * 2016-09-09 2019-08-29 Huawei Technologies Co., Ltd. Method for Controlling Screen of Mobile Terminal, and Apparatus
US20180113520A1 (en) * 2016-10-25 2018-04-26 Microsoft Technology Licensing, Llc Input based on Interactions with a Physical Hinge
CN107765775A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Control method, device and the storage medium of terminal
CN108737635A (en) * 2018-03-26 2018-11-02 广东欧珀移动通信有限公司 message display method, device, mobile terminal and storage medium
CN109840061A (en) * 2019-01-31 2019-06-04 华为技术有限公司 The method and electronic equipment that control screen is shown
CN109917956A (en) * 2019-02-22 2019-06-21 华为技术有限公司 It is a kind of to control the method and electronic equipment that screen is shown
CN110147192A (en) * 2019-04-25 2019-08-20 Oppo广东移动通信有限公司 Interface operation method, device, electronic equipment and storage medium
CN110286865A (en) * 2019-06-20 2019-09-27 上海摩软通讯技术有限公司 A kind of display methods and electronic equipment of touch screen

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021155808A1 (en) * 2020-02-04 2021-08-12 华为技术有限公司 Display control method and electronic device
CN112991950A (en) * 2021-02-26 2021-06-18 维沃移动通信有限公司 Folding screen and electronic equipment
WO2022183864A1 (en) * 2021-03-05 2022-09-09 荣耀终端有限公司 Electronic device having folding screen, and control method
CN113064806A (en) * 2021-03-31 2021-07-02 联想(北京)有限公司 Control method and electronic device
CN113064806B (en) * 2021-03-31 2024-05-28 联想(北京)有限公司 Control method and electronic equipment
CN113542463A (en) * 2021-06-30 2021-10-22 惠州Tcl移动通信有限公司 Video shooting device and method based on folding screen, storage medium and mobile terminal
CN113542463B (en) * 2021-06-30 2024-02-13 惠州Tcl移动通信有限公司 Video shooting device and method based on folding screen, storage medium and mobile terminal
CN115695647A (en) * 2021-07-29 2023-02-03 北京小米移动软件有限公司 Control method and device for biological recognition, electronic equipment and storage medium
CN113824878A (en) * 2021-08-20 2021-12-21 荣耀终端有限公司 Shooting control method based on foldable screen and electronic equipment
CN115079854A (en) * 2021-09-08 2022-09-20 荣耀终端有限公司 State switching method and device, electronic equipment and storage medium
CN115079854B (en) * 2021-09-08 2023-05-02 荣耀终端有限公司 State switching method, device, electronic equipment and storage medium
WO2023045932A1 (en) * 2021-09-22 2023-03-30 华为技术有限公司 Device control method and related apparatus
WO2023103951A1 (en) * 2021-12-10 2023-06-15 华为技术有限公司 Display method for foldable screen and related apparatus
WO2023237016A1 (en) * 2022-06-10 2023-12-14 华为技术有限公司 Foldable-screen electronic device display and control method, and foldable-screen electronic device
CN115695643A (en) * 2022-10-27 2023-02-03 网易有道(杭州)智能科技有限公司 Method for handheld device and related product
WO2024109259A1 (en) * 2022-11-22 2024-05-30 荣耀终端有限公司 Sleep wake-up method, electronic device, bluetooth peripheral, and storage medium
CN116033067A (en) * 2022-12-27 2023-04-28 维沃移动通信有限公司 Display method, display device, electronic equipment and computer readable storage medium
CN117707321A (en) * 2023-06-30 2024-03-15 荣耀终端有限公司 False touch prevention identification method and related equipment

Also Published As

Publication number Publication date
WO2021155808A1 (en) 2021-08-12

Similar Documents

Publication Publication Date Title
CN111475077A (en) Display control method and electronic equipment
CN112130742B (en) Full screen display method and device of mobile terminal
CN111949345B (en) Application display method and electronic equipment
CN110536004B (en) Method for applying multiple sensors to electronic equipment with flexible screen and electronic equipment
WO2020119493A1 (en) Response method for touch screen and electronic device
CN110798568B (en) Display control method of electronic equipment with folding screen and electronic equipment
CN110989852B (en) Touch screen, electronic equipment and display control method
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
WO2021052279A1 (en) Foldable screen display method and electronic device
CN110543289B (en) Method for controlling volume and electronic equipment
CN114115587A (en) Method for controlling screen display and electronic equipment
CN108803896B (en) Method, device, terminal and storage medium for controlling screen
CN110012154A (en) A kind of control method and electronic equipment of the electronic equipment with Folding screen
CN112860359A (en) Display method and related device of folding screen
CN110401768B (en) Method and device for adjusting working state of electronic equipment
WO2021008589A1 (en) Application running mehod and electronic device
CN110968247B (en) Electronic equipment control method and electronic equipment
CN114090102B (en) Method, device, electronic equipment and medium for starting application program
CN113010076A (en) Display element display method and electronic equipment
CN110058729B (en) Method and electronic device for adjusting sensitivity of touch detection
CN114089902A (en) Gesture interaction method and device and terminal equipment
WO2022111593A1 (en) Graphical user interface display method and apparatus
CN114637392A (en) Display method and electronic equipment
WO2023207715A1 (en) Screen-on control method, electronic device, and computer-readable storage medium
WO2022028324A1 (en) Method and apparatus for starting application, and electronic device and medium

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