CN113157229A - Display control method, electronic equipment and electronic device - Google Patents

Display control method, electronic equipment and electronic device Download PDF

Info

Publication number
CN113157229A
CN113157229A CN202110320481.4A CN202110320481A CN113157229A CN 113157229 A CN113157229 A CN 113157229A CN 202110320481 A CN202110320481 A CN 202110320481A CN 113157229 A CN113157229 A CN 113157229A
Authority
CN
China
Prior art keywords
included angle
angle value
screen
value
angle values
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
CN202110320481.4A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110320481.4A priority Critical patent/CN113157229A/en
Publication of CN113157229A publication Critical patent/CN113157229A/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a display control method, electronic equipment and an electronic device, wherein the method comprises the following steps: under the condition that relative rotation between a first body and a second body which are connected in a rotating mode in electronic equipment is monitored, a plurality of included angle values generated by the first body and the second body at different moments are determined, wherein a first screen is arranged on one side, facing the second body, of the first body, and a second screen is arranged on the other side of the first body; and correspondingly controlling the display of the first screen and the second screen of the electronic equipment at least based on the included angle values and the relation between the included angle values, wherein the relation between the included angle values comprises a size relation and a time relation corresponding to each included angle. The display control method can accurately control the display of the first screen and the second screen in the electronic equipment according to the included angle between the two bodies of the electronic equipment.

Description

Display control method, electronic equipment and electronic device
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a display control method, electronic equipment and an electronic device.
Background
With the diversification of functions of electronic devices such as mobile phones and computers, users have different requirements for the electronic devices in different scenes. At present, many electronic devices have double screens, but there is no better method for the display control of the double screens all the time, so that errors often occur in the display of the two screens, for example, "ghost image" easily occurs when the screen display is switched, and each screen display is not in time, so that the use experience of users is poor.
Disclosure of Invention
The application provides a display control method capable of accurately controlling display of a first screen and a second screen in electronic equipment according to an included angle between two bodies of the electronic equipment, the electronic equipment and an electronic device using the method.
In order to solve the above technical problem, an embodiment of the present application provides a display control method, including:
under the condition that relative rotation between a first body and a second body which are connected in a rotating mode in electronic equipment is monitored, a plurality of included angle values generated by the first body and the second body at different moments are determined, wherein a first screen is arranged on one side, facing the second body, of the first body, and a second screen is arranged on the other side of the first body;
and correspondingly controlling the display of the first screen and the second screen of the electronic equipment at least based on the included angle values and the relation between the included angle values, wherein the relation between the included angle values comprises a size relation and a time relation corresponding to each included angle.
Optionally, the correspondingly controlling the display of the first screen and the second screen of the electronic device at least based on the relationship between the included angle values and the included angle values includes:
determining a plurality of target included angle values which meet a threshold range in the plurality of included angle values;
and correspondingly controlling the display of a first screen and a second screen of the electronic equipment based on a plurality of target included angle values and time information corresponding to the generated target included angle values.
Optionally, the correspondingly controlling the display of the first screen and the second screen of the electronic device based on the plurality of target pinch angle values and the time information corresponding to the generated target pinch angle values includes:
determining a first included angle value and a first moment corresponding to the first included angle value;
under the condition that the first included angle value is determined to meet the threshold range, a second included angle value and a third included angle value which are generated at a second moment and a third moment and meet the threshold range are sequentially determined along a time axis;
and controlling the display of a first screen and a second screen of the electronic equipment at least based on the first included angle value, the second included angle value and the third included angle value.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on at least the first included angle value, the second included angle value, and the third included angle value includes:
and controlling the display of the first screen and the second screen of the electronic equipment based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value and the relation among the included angle values.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is smaller than the reference included angle value, the first included angle value is larger than a second included angle value, and the second included angle value is larger than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than a second included angle value, and the second included angle value is smaller than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is smaller than the specific angle value, the first screen is directly controlled to be in a non-display state, and the second screen is controlled to be in a display state.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is smaller than the reference included angle value, meanwhile, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is larger than the reference included angle value, the first screen of the electronic equipment is controlled to be in a display state, and the second screen is controlled to be in a non-display state.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is larger than or equal to the reference included angle value, meanwhile, the first included angle value is larger than the second included angle value, the second included angle value is larger than the third included angle value, and the third included angle value is smaller than the specific angle value, the second screen of the electronic equipment is controlled to be in a non-display state, and the first screen is controlled to be in a display state.
Optionally, determining the first included angle value, the second included angle value, and the third included angle value includes:
determining a plurality of first sub-included angle values meeting the threshold range along the time axis;
carrying out mean value processing on the plurality of first sub-included angle values to obtain first included angle values;
determining a plurality of second sub included angle values meeting the threshold range along with the time axis, wherein the second sub included angle values are larger than or smaller than the first sub included angle values;
carrying out mean value processing on the plurality of second included angle values to obtain second included angle values;
determining a plurality of third sub-included angle values meeting the threshold range along with the time axis, wherein the third sub-included angle values are larger than or smaller than the second sub-included angle values;
and carrying out mean value processing on the plurality of third sub-included angle values to obtain the third included angle values.
Another embodiment of the present invention provides an electronic device, including:
the processor is used for determining a plurality of included angle values generated by the first body and the second body at different moments under the condition that the relative rotation between the first body and the second body which are connected in a rotating manner in the electronic equipment is monitored, and correspondingly controlling the display of a first screen and a second screen of the electronic equipment at least based on the plurality of included angle values and the relationship between the plurality of included angle values;
the first screen is arranged on one side, facing the second body, of the first body, the second screen is arranged on the other side of the first body, and the relationships among the included angle values comprise magnitude relationships and time relationships corresponding to the included angles.
Another embodiment of the present invention provides an electronic device, comprising
The electronic device comprises a monitoring module, a display module and a control module, wherein the monitoring module is used for determining a plurality of included angle values generated by a first body and a second body which are connected in a rotating manner in the electronic device at different moments under the condition that the first body and the second body are monitored to rotate relatively, a first screen is arranged on one side of the first body facing the second body, and a second screen is arranged on the other side of the first body;
and the processing module is used for correspondingly controlling the display of the first screen and the second screen of the electronic equipment at least based on the included angle values and the relation between the included angle values, wherein the relation between the included angle values comprises a size relation and a time relation for correspondingly generating each included angle.
Based on the disclosure of the embodiment, the beneficial effects of the embodiment of the application include that the different included angles generated between the two bodies are obtained in time by monitoring the rotation angle between the first body and the second body in the electronic device, and the first screen and the second screen in the electronic device are accurately controlled by the obtained multiple included angle values and the obtained relationship between the multiple included angle values, so that the misjudgment rate of the electronic device on the screen display is remarkably reduced, the phenomenon of screen display failure caused by misjudgment, screen display errors, screen image 'ghost' phenomenon is avoided, and the use experience of a user is improved.
Drawings
Fig. 1 is a flowchart of a display control method according to an embodiment of the present invention.
Fig. 2 is a structural diagram of a second screen of the electronic device in the embodiment of the present invention.
Fig. 3 is a flowchart of a display control method according to another embodiment of the invention.
Fig. 4 is a flowchart of a display control method according to another embodiment of the invention.
Fig. 5 is a flowchart illustrating an actual application of the display control method according to the embodiment of the present invention.
Fig. 6 is a flowchart illustrating an actual application of a display control method according to another embodiment of the present invention.
Fig. 7 is a block diagram of the electronic device of the present invention.
FIG. 8 is a block diagram of an electronic device according to the present invention.
Detailed Description
Specific embodiments of the present application will be described in detail below with reference to the accompanying drawings, but the present application is not limited thereto.
It will be understood that various modifications may be made to the embodiments disclosed herein. The following description is, therefore, not to be taken in a limiting sense, but is made merely as an exemplification of embodiments. Other modifications will occur to those skilled in the art within the scope and spirit of the disclosure.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and, together with a general description of the disclosure given above, and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely examples of the disclosure that may be embodied in various forms. Well-known and/or repeated functions and structures have not been described in detail so as not to obscure the present disclosure with unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the disclosure.
Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present invention provides a display control method, including:
under the condition that relative rotation between a first body and a second body which are connected in a rotating mode in the electronic equipment is monitored, a plurality of included angle values generated by the first body and the second body at different moments are determined, wherein a first screen is arranged on one side, facing the second body, of the first body, and a second screen is arranged on the other side of the first body;
and correspondingly controlling the display of a first screen and a second screen of the electronic equipment at least based on the included angle values and the relation among the included angle values, wherein the relation among the included angle values comprises a magnitude relation and a time relation corresponding to each included angle.
For example, as shown in fig. 2, the electronic device has a first body and a second body which are rotatably connected, and the electronic device may be a notebook computer, a folder-type mobile phone, or the like, without particular limitation. The first screen and the second screen are arranged on the inner side and the outer side of the first body, namely, one side facing one side of the second body and one side deviating from the second body respectively. Certainly, if the electronic device can realize 360 degrees of rotation, so that the first body and the second body are attached to each other back to back, and at the moment, the second screen is covered by the second body, so that the electronic device can use the first screen to provide display for a user. The electronic equipment can be internally provided with a sensor for detecting the rotation angle and/or a gravity sensor, the specific type of the sensor is not limited, and the sensing principle is not limited. Electronic equipment can be through this angle sensor, whether relative rotation takes place for first body and second body among the gravity sensor monitors electronic equipment, when confirming first body and second body through the response parameter that obtains and taken place relative rotation, electronic equipment then calculates a plurality of contained angle values that confirm first body and second body and produce at different moments based on the response parameter that obtains in real time, if when confirming that two bodies take place to rotate, the record time, and the response parameter and the parameter receiving time that follow acquisition of record simultaneously, thereby confirm and correspond different moments, contained angle value between two bodies. Of course, the method for determining the included angle values at different times is not unique, and can be realized by combining a timer and the like without recording time by a system of the electronic equipment. After determining the included angle values at different times, the electronic device may process the included angle values to determine a relationship between the included angle values, and then control the first screen or the second screen of the electronic device to display based on the relationship between the included angle values and the included angle values. And if the electronic equipment is determined to be closed by the current user through rotation based on the plurality of included angle values and the relation of the included angle values, controlling the second screen to display, and if the electronic equipment is determined to be opened by the current user through rotation and the included angle between the two bodies is 30 degrees, controlling the first screen to display.
According to the content, the beneficial effects of the embodiment include that the different included angles generated between the two bodies are obtained in time by monitoring the rotation angle between the first body and the second body in the electronic device, and the accurate display control is performed on the first screen and the second screen in the electronic device through the relation between the obtained multiple included angle values and the multiple included angle values, so that the misjudgment rate of the electronic device for controlling the screen display is remarkably reduced, the phenomenon that the screen is displayed untimely due to misjudgment or delayed judgment and the screen has image 'ghost' is avoided, and the technical effect of improving the use experience of a user is achieved.
Specifically, as shown in fig. 3, in this embodiment, the controlling the display of the first screen and the second screen of the electronic device based on at least the plurality of clip angle values and the relationship between the plurality of clip angle values includes:
determining a plurality of target included angle values which meet a threshold range in the plurality of included angle values;
and correspondingly controlling the display of the first screen and the second screen of the electronic equipment based on the plurality of target included angle values and the time information corresponding to the generated target included angle values.
That is, the electronic device needs to determine a target included angle value satisfying a threshold range among the plurality of included angle values, the threshold range may be set by factory, and the specific angle range may be determined according to which included angle ranges the electronic device will often make a false determination, or may be determined according to the set sensing accuracy of the sensor, for example, the sensor will often make an angle sensing error in which angle ranges, a gravity sensing error, and the like, to determine the threshold range. Or, the electronic device has a machine learning capability, which can automatically adjust the threshold range according to the usage habit of the user on the electronic device and the misjudgment of the electronic device in the usage process of the electronic device, and the specific way is not determined. The threshold range may be set at 10-20, or 15-25, etc. After the electronic equipment screens out a plurality of target included angle values meeting the threshold range based on the threshold range, the generation time of the plurality of target included angle values is determined, and then the display of the first screen and the second screen of the electronic equipment is correspondingly controlled based on the plurality of target included angle values and the generation time thereof. In this embodiment, by screening the plurality of included angle values, the processing load of the device can be effectively reduced, and the processing resources and energy consumption of the device can be saved.
Further, as shown in fig. 4, in the present embodiment, the controlling the display of the first screen and the second screen of the electronic device based on the plurality of target pinch angle values and the time information corresponding to the generated target pinch angle values includes:
determining a first included angle value and a first moment corresponding to the first included angle value;
under the condition that the first included angle value is determined to meet the threshold range, a second included angle value and a third included angle value which meet the threshold range and are generated at the second moment and the third moment are sequentially determined along a time axis;
and controlling the display of a first screen and a second screen of the electronic equipment at least based on the first included angle value, the second included angle value and the third included angle value.
For example, each time the electronic device obtains an included angle value, the electronic device compares the included angle value with a threshold range, and when a first included angle value meeting the threshold range occurs, the electronic device records the included angle value as a first included angle value, and then determines a first time corresponding to the first included angle value. And then determining whether the next included angle value and the next included angle value meet the threshold range, if so, determining the included angle value to be a second included angle value and a third included angle value, and recording the generation time of the included angle values. The obtaining time of the second included angle value and the third included angle value may have a fixed interval, that is, the next included angle value is obtained at an interval time period, so as to avoid that the angle differences of the three included angle values are too close or even the same, which results in errors in subsequent judgment. Alternatively, the second included angle value and the third included angle value may be determined by a fixed angle difference, for example, the second included angle value may be determined after the angle difference of 2 ° is separated. After the electronic device determines the three target included angle values, the display of the first screen and the second screen of the electronic device can be correspondingly controlled based on the three target included angle values. In addition, the electronic device may also determine more included angle values, such as a fourth included angle value, a fifth included angle value, and the like, to assist in controlling the display of each screen, and the determined target included angle values may be variable in number.
Optionally, as shown in fig. 5, when determining the first included angle value, the second included angle value, and the third included angle value, the method may further include:
determining a plurality of first sub-angle values satisfying a threshold range over a time axis;
carrying out mean value processing on the plurality of first sub-included angle values to obtain first included angle values;
determining a plurality of second sub-included angle values meeting the threshold range along the time axis, wherein the second sub-included angle values are larger than or smaller than the first sub-included angle values;
carrying out mean value processing on the plurality of second sub-included angle values to obtain second included angle values;
determining a plurality of third sub included angle values meeting the threshold range along a time axis, wherein the third sub included angle values are larger than or smaller than the second sub included angle values;
and carrying out mean value processing on the plurality of third sub-included angle values to obtain third included angle values.
For example, a plurality of target angle values satisfying the threshold range are divided according to different angle ranges, such as setting one range with a difference of 5 °, and setting three angle ranges with an angle difference of 5 °, which may be other angle values. And then, respectively carrying out mean processing on target angle values meeting different angle ranges, so that a first included angle value (corresponding to an angle A in the figure) is obtained after the first included angle values (such as angles 1, 2 and 3 in the figure) in the first angle range are subjected to mean processing, a second included angle value (corresponding to an angle B in the figure) is obtained after the second included angle values (such as angles 4, 5 and 6 in the figure) in the second angle range are subjected to mean processing, and a third included angle value (corresponding to an angle C in the figure) is obtained after the third included angle values (such as angles 7, 8 and 9 in the figure) in the third angle range are subjected to mean processing. By the operation, the obtained first included angle value, the second included angle value and the third included angle value are more representative and have reference value, and the device is prevented from generating calculation errors to influence the follow-up display control of the screen.
Further, in this embodiment, when the electronic device controls the display of the first screen and the second screen of the electronic device based on at least the first included angle value, the second included angle value, and the third included angle value, the method includes:
and controlling the display of a first screen and a second screen of the electronic equipment based on the first included angle value, the second included angle value, the third included angle value, a preset reference included angle value and the relation among the included angle values.
For example, a reference included angle value may be preset, where the reference included angle value may be a critical value, that is, the electronic device is prone to erroneous judgment in the case of an angle smaller than the critical value, or the sensing accuracy of the sensor is a large error in the case of an angle smaller than the critical value, and the accuracy is reduced. The reference included angle value can be an included angle value within a threshold range, and the specific value can be determined manually, can be changed manually or automatically, or can be determined or adjusted automatically based on the machine learning function. After the electronic device obtains the three target included angle values, the display control of the two screens of the electronic device may be performed comprehensively based on the three target included angle values, a preset reference included angle value, and a relationship between the included angle values, for example, a process of turning the electronic device on or off is determined based on the relationship between the included angle values.
Specifically, as shown in fig. 6, in this embodiment, the controlling, by the electronic device, the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is smaller than the reference included angle value, the first included angle value is larger than the second included angle value, and the second included angle value is larger than the third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than the second included angle value, and the second included angle value is smaller than the third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is smaller than the specific angle value, the first screen is directly controlled to be in a non-display state, and the second screen is controlled to be in a display state.
For example, the electronic device first determines whether the included angle value is between 10 ° and 20 °, if so, calculates and determines a first angle value, a second angle value, and a third angle value (corresponding to angles a, B, and C in the drawing) according to the aforementioned manner, when three angle values are obtained, first determines a magnitude relationship between the first angle value and a reference included angle value, and if the first angle value is smaller than the reference included angle value (e.g., 15 °), determines a magnitude relationship between the first included angle value, the second included angle value, and the third included angle value, and if the first angle value is greater than the second included angle value and the second included angle value is greater than the third included angle value, it indicates that the electronic device is in a process of turning off at this time, and the included angle values of the two bodies are already smaller than 15 °, so the electronic device directly controls the first screen to stop displaying, and the second screen is already in a display state. Namely, the electronic device is used as a tablet computer.
When the first included angle value is greater than or equal to 15 degrees, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, the electronic equipment can also be indicated to be in a rotating closed state, the included angle between the two bodies is already smaller than 15 degrees, at the moment, the electronic equipment can directly control the first screen to stop displaying, and the second screen is already in a display state.
When the first included angle value is larger than or equal to 15 degrees, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, the third included angle value is smaller than the reference angle value by 15 degrees, the electronic equipment can be in a rotation closing state at the moment, the included angle between the two bodies is smaller than 15 degrees, the electronic equipment can directly control the first screen to stop displaying, and the second screen is in a displaying state. That is, when the electronic device determines that the electronic device is in the turning-off state and the included angle value is less than 15 °, the display of the second screen is controlled, and the display of the first screen is stopped.
With reference to fig. 6, the electronic device controls the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values, and further includes:
and if the first included angle value is greater than or equal to the reference included angle value, the first included angle value is greater than the second included angle value, the second included angle value is greater than the third included angle value, and the third included angle value is smaller than the reference angle value, controlling the second screen of the electronic equipment to be in a non-display state, and controlling the first screen to be in a display state.
For example, if the electronic device determines that the first included angle value is greater than or equal to 15 °, the first included angle value is greater than the second included angle value, the second included angle value is greater than the third included angle value, and the third included angle value is less than or equal to 15 ° of the reference angle value, it may be determined that the electronic device is in the rotation open state, and the open angle exceeds 15 °, at this time, the electronic device may control the second screen to stop displaying, and the first screen is in the display state, that is, at this time, the electronic device is switched from the tablet computer state to the notebook computer use state, so the first screen should be controlled to be displayed, and the second screen should stop displaying.
Further, with reference to fig. 6, when the electronic device controls the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values, the method further includes:
and if the first included angle value is smaller than the reference included angle value, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is larger than the reference included angle value, the first screen of the electronic equipment is controlled to be in a display state, and the second screen is controlled to be in a non-display state.
For example, if the electronic device determines that the first angle value is smaller than 15 °, the first angle value is smaller than the second angle value, the second angle value is smaller than the third angle value, and the third angle value is greater than 15 °, it may also be determined that the electronic device is in a rotation-open state, and the opening angle is greater than 15 °, the user wants to switch the electronic device to a pen-on mode for use, so that the electronic device controls the first screen to be in a display state and the second screen to be in a non-display state.
As shown in fig. 7, another embodiment of the present invention further provides an electronic device, including:
the processor is used for determining a plurality of included angle values generated by the first body and the second body at different moments under the condition that the relative rotation between the first body and the second body which are connected in a rotating manner in the electronic equipment is monitored, and correspondingly controlling the display of a first screen and a second screen of the electronic equipment at least based on the included angle values and the relationship among the included angle values;
the first screen is arranged on one side of the first body facing the second body, the second screen is arranged on the other side of the first body, and the relation among the multiple included angle values comprises a size relation and a time relation corresponding to each included angle.
The electronic equipment in the embodiment can be a notebook computer, a folding mobile phone and the like, and has the advantages that different included angles generated between the first body and the second body in the electronic equipment can be timely obtained by monitoring the rotating angle between the two bodies, and the first screen and the second screen in the electronic equipment are accurately displayed and controlled by the obtained multiple included angle values and the obtained relation between the multiple included angle values, so that the misjudgment rate of the electronic equipment for controlling the screen display is remarkably reduced, the phenomena that the screen is displayed untimely and the screen is displayed mistakenly and has image ghosting due to misjudgment or delayed judgment are avoided, and the technical effect of improving the use experience of a user on the electronic equipment is achieved.
Optionally, the correspondingly controlling the display of the first screen and the second screen of the electronic device at least based on the relationship between the included angle values and the included angle values includes:
determining a plurality of target included angle values which meet a threshold range in the plurality of included angle values;
and correspondingly controlling the display of a first screen and a second screen of the electronic equipment based on a plurality of target included angle values and time information corresponding to the generated target included angle values.
Optionally, the correspondingly controlling the display of the first screen and the second screen of the electronic device based on the plurality of target pinch angle values and the time information corresponding to the generated target pinch angle values includes:
determining a first included angle value and a first moment corresponding to the first included angle value;
under the condition that the first included angle value is determined to meet the threshold range, a second included angle value and a third included angle value which are generated at a second moment and a third moment and meet the threshold range are sequentially determined along a time axis;
and controlling the display of a first screen and a second screen of the electronic equipment at least based on the first included angle value, the second included angle value and the third included angle value.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on at least the first included angle value, the second included angle value, and the third included angle value includes:
and controlling the display of the first screen and the second screen of the electronic equipment based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value and the relation among the included angle values.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is smaller than the reference included angle value, the first included angle value is larger than a second included angle value, and the second included angle value is larger than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than a second included angle value, and the second included angle value is smaller than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is smaller than the reference included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is smaller than the reference included angle value, meanwhile, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is larger than the reference included angle value, the first screen of the electronic equipment is controlled to be in a display state, and the second screen is controlled to be in a non-display state.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is larger than or equal to the reference included angle value, meanwhile, the first included angle value is larger than the second included angle value, the second included angle value is larger than the third included angle value, and the third included angle value is smaller than the reference included angle value, the second screen of the electronic equipment is controlled to be in a non-display state, and the first screen is controlled to be in a display state.
Optionally, determining the first included angle value, the second included angle value, and the third included angle value includes:
determining a plurality of first sub-included angle values meeting the threshold range along the time axis;
carrying out mean value processing on the plurality of first sub-included angle values to obtain first included angle values;
determining a plurality of second sub included angle values meeting the threshold range along with the time axis, wherein the second sub included angle values are larger than or smaller than the first sub included angle values;
carrying out mean value processing on the plurality of second included angle values to obtain second included angle values;
determining a plurality of third sub-included angle values meeting the threshold range along with the time axis, wherein the third sub-included angle values are larger than or smaller than the second sub-included angle values;
and carrying out mean value processing on the plurality of third sub-included angle values to obtain the third included angle values.
As shown in FIG. 8, another embodiment of the present invention further provides an electronic device, comprising
The monitoring module is used for determining a plurality of included angle values generated by the first body and the second body at different moments under the condition that the relative rotation between the first body and the second body which are connected in a rotating manner in the electronic equipment is monitored, wherein a first screen is arranged on one side of the first body facing the second body, and a second screen is arranged on the other side of the first body;
and the processing module is used for correspondingly controlling the display of the first screen and the second screen of the electronic equipment at least based on the included angle values and the relation among the included angle values, wherein the relation among the included angle values comprises a size relation and a time relation of correspondingly generating each included angle.
Optionally, the correspondingly controlling the display of the first screen and the second screen of the electronic device at least based on the relationship between the included angle values and the included angle values includes:
determining a plurality of target included angle values which meet a threshold range in the plurality of included angle values;
and correspondingly controlling the display of a first screen and a second screen of the electronic equipment based on a plurality of target included angle values and time information corresponding to the generated target included angle values.
Optionally, the correspondingly controlling the display of the first screen and the second screen of the electronic device based on the plurality of target pinch angle values and the time information corresponding to the generated target pinch angle values includes:
determining a first included angle value and a first moment corresponding to the first included angle value;
under the condition that the first included angle value is determined to meet the threshold range, a second included angle value and a third included angle value which are generated at a second moment and a third moment and meet the threshold range are sequentially determined along a time axis;
and controlling the display of a first screen and a second screen of the electronic equipment at least based on the first included angle value, the second included angle value and the third included angle value.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on at least the first included angle value, the second included angle value, and the third included angle value includes:
and controlling the display of the first screen and the second screen of the electronic equipment based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value and the relation among the included angle values.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is smaller than the reference included angle value, the first included angle value is larger than a second included angle value, and the second included angle value is larger than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than a second included angle value, and the second included angle value is smaller than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is smaller than the reference included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is smaller than the reference included angle value, meanwhile, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is larger than the reference included angle value, the first screen of the electronic equipment is controlled to be in a display state, and the second screen is controlled to be in a non-display state.
Optionally, the controlling the display of the first screen and the second screen of the electronic device based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value, and the relationship between the included angle values includes:
if the first included angle value is larger than or equal to the reference included angle value, meanwhile, the first included angle value is larger than the second included angle value, the second included angle value is larger than the third included angle value, and the third included angle value is smaller than the reference included angle value, the second screen of the electronic equipment is controlled to be in a non-display state, and the first screen is controlled to be in a display state.
Optionally, determining the first included angle value, the second included angle value, and the third included angle value includes:
determining a plurality of first sub-included angle values meeting the threshold range along the time axis;
carrying out mean value processing on the plurality of first sub-included angle values to obtain first included angle values;
determining a plurality of second sub included angle values meeting the threshold range along with the time axis, wherein the second sub included angle values are larger than or smaller than the first sub included angle values;
carrying out mean value processing on the plurality of second included angle values to obtain second included angle values;
determining a plurality of third sub-included angle values meeting the threshold range along with the time axis, wherein the third sub-included angle values are larger than or smaller than the second sub-included angle values;
and carrying out mean value processing on the plurality of third sub-included angle values to obtain the third included angle values.
An embodiment of the present application also provides a storage medium on which a computer program is stored, which when executed by a processor implements the display control method as described above. It should be understood that each solution in this embodiment has a corresponding technical effect in the foregoing method embodiments, and details are not described here.
Embodiments of the present application also provide a computer program product tangibly stored on a computer-readable medium and comprising computer-executable instructions that, when executed, cause at least one processor to perform a display control method, such as in the embodiments described above. It should be understood that each solution in this embodiment has a corresponding technical effect in the foregoing method embodiments, and details are not described here.
It should be noted that the computer storage media of the present application can be computer readable signal media or computer readable storage media or any combination of the two. The computer readable medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access storage media (RAM), a read-only storage media (ROM), an erasable programmable read-only storage media (EPROM or flash memory), an optical fiber, a portable compact disc read-only storage media (CD-ROM), an optical storage media piece, a magnetic storage media piece, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, antenna, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
It should be understood that although the present application has been described in terms of various embodiments, not every embodiment includes only a single embodiment, and such description is for clarity purposes only, and those skilled in the art will recognize that the embodiments described herein may be combined as suitable to form other embodiments, as will be appreciated by those skilled in the art.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A display control method comprising:
under the condition that relative rotation between a first body and a second body which are connected in a rotating mode in electronic equipment is monitored, a plurality of included angle values generated by the first body and the second body at different moments are determined, wherein a first screen is arranged on one side, facing the second body, of the first body, and a second screen is arranged on the other side of the first body;
and correspondingly controlling the display of the first screen and the second screen of the electronic equipment at least based on the included angle values and the relation between the included angle values, wherein the relation between the included angle values comprises a size relation and a time relation corresponding to each included angle.
2. The method of claim 1, wherein the controlling the display of the first screen and the second screen of the electronic device based on at least a relationship between the included angle values and the included angle values comprises:
determining a plurality of target included angle values which meet a threshold range in the plurality of included angle values;
and correspondingly controlling the display of a first screen and a second screen of the electronic equipment based on a plurality of target included angle values and time information corresponding to the generated target included angle values.
3. The method of claim 2, wherein said controlling the display of the first and second screens of the electronic device, respectively, based on a plurality of the target pinch value and corresponding time information for generating the target pinch value comprises:
determining a first included angle value and a first moment corresponding to the first included angle value;
under the condition that the first included angle value is determined to meet the threshold range, a second included angle value and a third included angle value which are generated at a second moment and a third moment and meet the threshold range are sequentially determined along a time axis;
and controlling the display of a first screen and a second screen of the electronic equipment at least based on the first included angle value, the second included angle value and the third included angle value.
4. The method of claim 3, wherein said controlling display of a first screen and a second screen of the electronic device based on at least the first, second, and third included angle values comprises:
and controlling the display of the first screen and the second screen of the electronic equipment based on the first included angle value, the second included angle value, the third included angle value, the preset reference included angle value and the relation among the included angle values.
5. The method of claim 4, wherein said controlling the display of the first and second screens of the electronic device based on the first, second, third, preset reference pinch angle values and the relationship between the pinch angle values comprises:
if the first included angle value is smaller than the reference included angle value, the first included angle value is larger than a second included angle value, and the second included angle value is larger than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than a second included angle value, and the second included angle value is smaller than a third included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is controlled to be in a display state; or
If the first included angle value is larger than or equal to the reference included angle value, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is smaller than the reference included angle value, the first screen is directly controlled to be in a non-display state, and the second screen is directly controlled to be in a display state.
6. The method of claim 4, wherein said controlling the display of the first and second screens of the electronic device based on the first, second, third, preset reference pinch angle values and the relationship between the pinch angle values comprises:
if the first included angle value is smaller than the reference included angle value, meanwhile, the first included angle value is smaller than the second included angle value, the second included angle value is smaller than the third included angle value, and the third included angle value is larger than the reference included angle value, the first screen of the electronic equipment is controlled to be in a display state, and the second screen is controlled to be in a non-display state.
7. The method of claim 4, wherein said controlling the display of the first and second screens of the electronic device based on the first, second, third, preset reference pinch angle values and the relationship between the pinch angle values comprises:
if the first included angle value is larger than or equal to the reference included angle value, meanwhile, the first included angle value is larger than the second included angle value, the second included angle value is larger than the third included angle value, and the third included angle value is smaller than the reference included angle value, the second screen of the electronic equipment is controlled to be in a non-display state, and the first screen is controlled to be in a display state.
8. The method of claim 3, wherein determining the first, second, and third pinch angle values comprises:
determining a plurality of first sub-included angle values meeting the threshold range along the time axis;
carrying out mean value processing on the plurality of first sub-included angle values to obtain first included angle values;
determining a plurality of second sub included angle values meeting the threshold range along with the time axis, wherein the second sub included angle values are larger than or smaller than the first sub included angle values;
carrying out mean value processing on the plurality of second included angle values to obtain second included angle values;
determining a plurality of third sub-included angle values meeting the threshold range along with the time axis, wherein the third sub-included angle values are larger than or smaller than the second sub-included angle values;
and carrying out mean value processing on the plurality of third sub-included angle values to obtain the third included angle values.
9. An electronic device, comprising:
the processor is used for determining a plurality of included angle values generated by the first body and the second body at different moments under the condition that the relative rotation between the first body and the second body which are connected in a rotating manner in the electronic equipment is monitored, and correspondingly controlling the display of a first screen and a second screen of the electronic equipment at least based on the plurality of included angle values and the relationship between the plurality of included angle values;
the first screen is arranged on one side, facing the second body, of the first body, the second screen is arranged on the other side of the first body, and the relationships among the included angle values comprise magnitude relationships and time relationships corresponding to the included angles.
10. An electronic device comprises
The electronic device comprises a monitoring module, a display module and a control module, wherein the monitoring module is used for determining a plurality of included angle values generated by a first body and a second body which are connected in a rotating manner in the electronic device at different moments under the condition that the first body and the second body are monitored to rotate relatively, a first screen is arranged on one side of the first body facing the second body, and a second screen is arranged on the other side of the first body;
and the processing module is used for correspondingly controlling the display of the first screen and the second screen of the electronic equipment at least based on the included angle values and the relation between the included angle values, wherein the relation between the included angle values comprises a size relation and a time relation for correspondingly generating each included angle.
CN202110320481.4A 2021-03-25 2021-03-25 Display control method, electronic equipment and electronic device Pending CN113157229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110320481.4A CN113157229A (en) 2021-03-25 2021-03-25 Display control method, electronic equipment and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110320481.4A CN113157229A (en) 2021-03-25 2021-03-25 Display control method, electronic equipment and electronic device

Publications (1)

Publication Number Publication Date
CN113157229A true CN113157229A (en) 2021-07-23

Family

ID=76884786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110320481.4A Pending CN113157229A (en) 2021-03-25 2021-03-25 Display control method, electronic equipment and electronic device

Country Status (1)

Country Link
CN (1) CN113157229A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016219047A (en) * 2016-08-10 2016-12-22 船井電機株式会社 Electronic information terminal
CN107395871A (en) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 A kind of method, apparatus, storage medium and terminal for opening application
CN109671356A (en) * 2019-01-03 2019-04-23 京东方科技集团股份有限公司 A kind of collapsible display device and its control method
CN110275599A (en) * 2019-06-20 2019-09-24 维沃移动通信有限公司 A kind of information display method and terminal device
CN110308855A (en) * 2019-06-28 2019-10-08 华为技术有限公司 A kind of interactive operation method and device based on collapsible terminal
CN110442288A (en) * 2019-06-24 2019-11-12 华为技术有限公司 A kind of display methods and electronic equipment of touch screen
CN111263005A (en) * 2020-01-21 2020-06-09 华为技术有限公司 Display method and related device of folding screen
US20200333834A1 (en) * 2019-04-17 2020-10-22 Samsung Electronics Co., Ltd. Electronic device and method for performing fast transition between screens

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016219047A (en) * 2016-08-10 2016-12-22 船井電機株式会社 Electronic information terminal
CN107395871A (en) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 A kind of method, apparatus, storage medium and terminal for opening application
CN109671356A (en) * 2019-01-03 2019-04-23 京东方科技集团股份有限公司 A kind of collapsible display device and its control method
US20200333834A1 (en) * 2019-04-17 2020-10-22 Samsung Electronics Co., Ltd. Electronic device and method for performing fast transition between screens
CN110275599A (en) * 2019-06-20 2019-09-24 维沃移动通信有限公司 A kind of information display method and terminal device
CN110442288A (en) * 2019-06-24 2019-11-12 华为技术有限公司 A kind of display methods and electronic equipment of touch screen
CN110308855A (en) * 2019-06-28 2019-10-08 华为技术有限公司 A kind of interactive operation method and device based on collapsible terminal
CN111263005A (en) * 2020-01-21 2020-06-09 华为技术有限公司 Display method and related device of folding screen

Similar Documents

Publication Publication Date Title
US11245974B2 (en) Wireless earphone and method for controlling a wireless earphone
US11265414B2 (en) Method and device for waking up voice recognition function in mobile terminal, and computer readable storage medium
CN103488337B (en) A kind of method of adjusting sensitivity of touch screen in pad pasting situation
JP2022031339A (en) Display method and device
WO2019201073A1 (en) Page display method and apparatus, mobile terminal, and storage medium
US9329661B2 (en) Information processing method and electronic device
CN107613087B (en) Control method and mobile terminal
CN105007368B (en) The method and mobile terminal of a kind of controlling loudspeaker
EP4383753A1 (en) Channel switching method and apparatus, and electronic device
CN103901901A (en) Method and device for rotating screen of video terminal
CN108769506B (en) Image acquisition method and device, mobile terminal and computer readable medium
EP3771218A1 (en) Video playing method and device, electronic equipment and storage medium
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
WO2020253295A1 (en) Control method and apparatus, and terminal device
US9449583B2 (en) Control method and electronic apparatus
CN105549878A (en) Electronic book page turning control method and device
CN102812430A (en) Information processing device, display switching method, program, and recording medium
WO2021013099A1 (en) Screen switching method and terminal device
CN103428559A (en) Data display method, mobile terminal and play device
CN110275734A (en) Method and device for turning over starting function, wearable device and storage medium
CN109324518A (en) Housed device control method, device, equipment and storage medium
JP2020526941A (en) State detection method, state detection device and storage medium
CN107844248A (en) Control method and device of intelligent tablet, intelligent tablet and storage medium
CN104501790A (en) Calibration method and device of electronic compass
CN109814781B (en) Page sliding method and device

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