CN109739430B - Display method and mobile terminal - Google Patents

Display method and mobile terminal Download PDF

Info

Publication number
CN109739430B
CN109739430B CN201811636267.4A CN201811636267A CN109739430B CN 109739430 B CN109739430 B CN 109739430B CN 201811636267 A CN201811636267 A CN 201811636267A CN 109739430 B CN109739430 B CN 109739430B
Authority
CN
China
Prior art keywords
display screen
touch data
touch
target
mobile terminal
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.)
Active
Application number
CN201811636267.4A
Other languages
Chinese (zh)
Other versions
CN109739430A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811636267.4A priority Critical patent/CN109739430B/en
Publication of CN109739430A publication Critical patent/CN109739430A/en
Application granted granted Critical
Publication of CN109739430B publication Critical patent/CN109739430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a display method and a mobile terminal, wherein the mobile terminal comprises a first display screen and a second display screen, and the method comprises the following steps: acquiring first touch data and second touch data respectively detected on a first display screen and a second display screen in a state that the touch functions of the first display screen and the second display screen are started; determining a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data; target content is displayed in the target display screen. The method and the device can improve the accuracy of determining the target display screen in each scene, do not need to additionally increase hardware setting, enable the target content to be displayed in the target display screen on the premise of ensuring the cost, and improve the use experience of a user.

Description

Display method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a display method and a mobile terminal.
Background
The conventional double-sided screen mobile terminal comprises a front screen and a back screen, and the two display screens can meet daily use requirements. In most use scenes, only one display screen is needed to work, and the other display screen is in an off state to play a role in saving power. However, how to know which display screen the user desires to be in the working state needs the mobile terminal to determine, for example, currently, a common implementation manner is to determine the direction of the mobile terminal through a gyroscope and a gravity sensor, and then use the display screen which is horizontally upward as the working display screen.
However, since the mobile terminal is the most frequently used tool for users, and in many cases, it is possible to use the mobile terminal for social contact, information browsing, office work, and the like, only the upward display screen is used as the display input screen, and in some special environments, such as when a user lies or even lies on his side, the phenomenon that the display screen automatically selected by the mobile terminal is not the display screen actually expected by the user often occurs, so that the user experience is seriously affected.
Disclosure of Invention
The embodiment of the invention provides a display method and a mobile terminal, and aims to solve the problem that in the prior art, the display of the mobile terminal is inconsistent with the user expectation, and the user experience is influenced.
In order to solve the above problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a display method applied to a mobile terminal, where the mobile terminal includes a first display screen and a second display screen, and the method includes:
acquiring first touch data and second touch data respectively detected on a first display screen and a second display screen in a state that the touch functions of the first display screen and the second display screen are started;
determining a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data;
target content is displayed in the target display screen.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a first display screen and a second display screen, and the mobile terminal includes:
the first acquisition module is used for acquiring first touch data and second touch data respectively detected on a first display screen and a second display screen in a state that the touch functions of the first display screen and the second display screen are started;
the first determining module is used for determining a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data;
and the display module is used for displaying the target content in the target display screen.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the display method described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the display method described above.
According to the technical scheme, the first touch data and the second touch data which are respectively detected on the first display screen and the second display screen are obtained in the state that the touch function is started, the target display screen is determined in the first display screen and the second display screen according to the obtained first touch data and the obtained second touch data, and the target content is displayed in the target display screen, so that the accuracy of determining the target display screen can be improved in each scene, the hardware setting is not required to be additionally increased, the target content is displayed in the target display screen on the premise of ensuring the cost, and the use experience of a user can be improved.
Drawings
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic diagram of a display method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an overall implementation of a display method according to an embodiment of the present invention;
FIG. 3 is a diagram of a mobile terminal according to an embodiment of the invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a display method, which is applied to a mobile terminal, where the mobile terminal includes a first display screen and a second display screen, and as shown in fig. 1, the method includes:
step 101, acquiring first touch data and second touch data respectively detected on a first display screen and a second display screen in a state that touch functions of the first display screen and the second display screen are started.
The mobile terminal applied by the embodiment of the invention comprises a first display screen and a second display screen, wherein the first display screen and the second display screen can be connected through a hinge structure, and the first display screen and the second display screen can also be formed by folding a foldable display screen.
The method comprises the steps that firstly, the mobile terminal needs to start touch functions of a first display screen and a second display screen, and first touch data detected on the first display screen and second touch data detected on the second display screen are obtained under the state that the touch functions of the first display screen and the second display screen are started.
The step of acquiring first touch data and second touch data respectively detected on a first display screen and a second display screen in a state that touch functions of the first display screen and the second display screen are started comprises the following steps:
starting touch functions of a first display screen and a second display screen according to a first input of a user; and under the state that the touch control functions of the first display screen and the second display screen are started, acquiring first touch control data detected on the first display screen and second touch control data detected on the second display screen according to the touch control operation of a user.
When the touch function is started, the mobile terminal can be started in a screen-off state and can also be started in a screen-on state, and no matter the touch function is started in the screen-off or screen-on state, the first input of a user needs to be received, and the operation of starting the touch function is executed in response to the first input.
After the touch functions of the first display screen and the second display screen are started, touch operations of a user can be received, and first touch data detected on the first display screen and second touch data detected on the second display screen are obtained according to the touch operations of the user.
The process of starting the touch function in the bright screen state is explained below. Firstly, the first display screen and the second display screen which are in a screen-off state are controlled to be switched to a screen-on state when the mobile terminal is in a standby state, and at the moment, the mobile terminal is switched to a use state. After the first display screen and the second display screen are in the bright screen state, the touch control functions of the first display screen and the second display screen are started according to the first input of the user, and after the touch control functions are started, the first display screen and the second display screen are controlled to be restored to the information screen state, so that the power consumption of the mobile terminal can be saved under the condition that the touch control functions are started.
The method can also be used for controlling the first display screen and the second display screen to be switched to a bright screen state according to a first input of a user when the mobile terminal is in a standby state, simultaneously realizing the starting of the touch function when the two display screens are in the bright screen state, and controlling the first display screen and the second display screen to be restored to a rest screen state after the touch function is started, but the starting state of the touch function needs to be maintained. For the process of starting the touch function in the screen state, the touch function can be directly started according to the first input of the user in the screen state, and at the moment, the touch function can be started only through specific operation without screen lighting, so that the operation can be simplified, and the efficiency is improved.
In the process, the touch function is kept on in the information screen state, so that the power consumption of the mobile terminal can be saved.
And 102, determining a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data.
After first touch data detected by a user on the first display screen and second touch data detected on the second display screen are acquired, a target display screen can be determined from the first display screen and the second display screen according to the first touch data and the second touch data. After the target display screen is determined, step 103 is performed.
It should be noted that after the target display screen is determined, the touch function of the target display screen needs to be kept in an on state. The first display screen and the second display screen of the embodiment of the invention are not limited to the primary screen and the secondary screen.
And 103, displaying the target content in the target display screen.
After the target display screen is determined, a display process may be performed in which the target content is displayed in the determined target display screen.
The display method provided by the embodiment of the invention can improve the accuracy of determining the target display screen, does not need to additionally increase hardware setting, enables the target content to be displayed in the target display screen on the premise of ensuring the cost, and can improve the use experience of a user.
In an embodiment of the present invention, the step of determining the target display screen in the first display screen and the second display screen according to the first touch data and the second touch data includes:
detecting whether the first touch data is touch data corresponding to a first preset area of a first display screen; detecting whether corresponding second touch data on a second display screen is zero or not; and determining the first display screen as a target display screen under the condition that the first touch data is the touch data corresponding to the first preset area and the second touch data is zero.
When determining the target display screen according to the acquired first touch data and second touch data, the mobile terminal needs to detect the corresponding first touch data on the first display screen and the corresponding second touch data on the second display screen. And determining a target display screen in the first display screen and the second display screen according to the detection result.
For a first display screen, it is required to detect whether first touch data is touch data corresponding to a first preset region of the first display screen, and for a second display screen, it is required to detect whether second touch data corresponding to the second display screen is zero, where if the second touch data corresponding to the second display screen is zero, the detection process for the second display screen is ended.
When the first display screen is detected, a preset first preset area needs to be acquired, where the first preset area may be a non-boundary area of the first display screen, and then it is detected whether a position corresponding to the first touch data is the first preset area. The first touch data may be touch data corresponding to touch operations of a single finger or at least two fingers. If the detection result obtained after the detection is finished is as follows: the first touch data is touch data corresponding to the first preset area, and the second touch data is zero, so that the first display screen can be determined to be the target display screen.
The included angle between the first display screen and the second display screen corresponding to the mobile terminal provided by the embodiment of the invention can be between 0 degree and 360 degrees. When the target display screen is determined, if the first preset area of the first display screen receives the first touch data and the second touch data of the second display screen is zero, it indicates that the current operation object of the user is the first display screen, and the first display screen may be determined as the target display screen.
The target display screen is determined by acquiring the touch data of the display screen, so that the accuracy of determining the target display screen can be ensured, and the use experience of a user is improved on the basis of not increasing extra cost.
In an embodiment of the present invention, the step of determining the target display screen in the first display screen and the second display screen according to the first touch data and the second touch data includes: under the condition that an included angle between the first display screen and the second display screen meets a preset condition, detecting whether the first touch data is touch data corresponding to a first preset area of the first display screen; detecting whether the second touch data is touch data corresponding to multi-finger operation on a second preset area of the second display screen and/or whether the second touch data is touch data with a touch area larger than a preset area on the second preset area; and under the condition that the first touch data is the touch data corresponding to the first preset area, the second touch data is the touch data corresponding to the multi-finger operation on the second preset area, and when at least one item of the second touch data is satisfied, the first display screen is determined to be the target display screen, wherein the touch area of the second preset area is larger than that of the preset area.
When the target display screen is determined according to the first touch data and the second touch data, for the condition that the second touch data is not zero, when an included angle between the first display screen and the second display screen meets a preset condition, a detection result meeting requirements can be determined according to a rule that a user holds the mobile terminal. When the included angle between the first display screen and the second display screen is 270 degrees to 360 degrees, the rule that the user holds the mobile terminal is as follows: when the mobile terminal is held by one hand, fingers of a user cannot touch or only touch the edge position of the display screen facing the user, and when the mobile terminal is held by two hands to light the screen, the display screen facing the user only has the possibility of touching by the thumb. When the mobile terminal is held by one hand, the index finger, the palm and other places of the user can contact the back of the display screen facing the user or contact another display screen, and when the mobile terminal is held by two hands, a plurality of fingers of the user can contact the back of the display screen facing the user and another display screen, or a plurality of fingers can contact another display screen. Therefore, the difference of the touch data collected to the display screen of the user and the other display screen under the angle range is obvious, and therefore the target display screen can be determined according to the touch data.
Aiming at the condition that the included angle between the first display screen and the second display screen is larger than 0 degree and smaller than or equal to 90 degrees, when a user holds the mobile terminal with one hand, fingers of the user cannot touch or only touch the edge position of the display screen facing the user, or the fingers of the user only touch the back surfaces of the first display screen and the second display screen, and the touch data difference between the first display screen and the second display screen is not obvious when the user holds the mobile terminal with two hands. Aiming at the condition that the included angle between the first display screen and the second display screen is larger than 90 degrees and smaller than or equal to 180 degrees, when a user holds the mobile terminal with one hand, fingers of the user cannot touch or only touch the edge position of the display screen facing the user, or the fingers of the user only touch the back surfaces of the first display screen and/or the second display screen, and the touch data difference between the first display screen and the second display screen is not obvious when the user holds the mobile terminal with two hands. For the situation that the included angle between the first display screen and the second display screen is larger than 180 degrees and smaller than or equal to 270 degrees, the touch data difference between the first display screen and the second display screen is not obvious when the first display screen and the second display screen are held by two hands. Therefore, when the included angle between the first display screen and the second display screen is 270 degrees to 360 degrees, the difference of touch data collected by the display screen facing the user and the other display screen is obvious, and therefore when the included angle between the first display screen and the second display screen is 270 degrees to 360 degrees, the included angle is determined to meet the preset condition.
Under the condition that an included angle between the first display screen and the second display screen meets a preset condition, when the first touch data is touch data corresponding to the first preset area, and the second touch data is touch data corresponding to multi-finger operation on the second preset area, the first display screen can be determined to be a target display screen. Or when the first touch data is the touch data corresponding to the first preset area and the second touch data is the touch data with the touch area larger than the preset area in the second preset area, determining the first display screen as the target display screen. Or when the first touch data is the touch data corresponding to the first preset area, the second touch data is the touch data corresponding to the multi-finger operation on the second preset area, and the second touch data is the touch data with the touch area larger than the preset area on the second preset area, determining that the first display screen is the target display screen. By acquiring the corresponding touch data on the first display screen and the second display screen and judging whether the corresponding touch data on the first display screen and the second display screen respectively meet the corresponding conditions, the target display screen is directly determined under the condition that the conditions are met, the accuracy rate of determining the target display screen can be ensured, and the use experience of a user is improved on the basis that no additional cost is added.
In the embodiment of the present invention, after determining the target display screen in the first display screen and the second display screen, the method further includes: and controlling the touch function of the non-target display screen to be closed.
After the first display screen is determined to be the target display screen according to the above process, the touch function of the target display screen can be kept in the on state, at this time, because the non-target display screen (the second display screen) is in the non-display state, if the touch function is kept on, the power consumption of the mobile terminal is increased, so that the touch function of the non-target display screen can be controlled to be off, and the power consumption of the mobile terminal can be saved while the normal use of the mobile terminal is not influenced.
In the embodiment of the present invention, when the touch function of the non-target display screen is controlled to be turned off, the method further includes: monitoring the motion state of the mobile terminal through a sensor; when the situation that the mobile terminal rotates within a preset angle range is monitored, controlling the touch function of a non-target display screen to be started; acquiring third touch data and fourth touch data respectively detected on a target display screen and a non-target display screen after the mobile terminal rotates; and determining whether to control the target display screen and the non-target display screen to perform display switching according to the third touch data and the fourth touch data.
After the target display screen is determined and the touch function of the non-target display screen is turned off, the mobile terminal needs to monitor whether the motion state of the mobile terminal changes through a sensor such as a gyroscope, and the touch function of the non-target display screen can be controlled to be switched to the on state under the condition that the mobile terminal is determined to rotate and the rotating angle is within the preset angle range. The preset angle range can be set according to actual needs, for example, end point values of the preset angle range can be set to be 90 degrees and 180 degrees, and the touch function of the non-target display screen is controlled to be started when the rotation angle is within the range. Of course, the present invention is not limited to this, and those skilled in the art can set the setting according to actual needs.
And after the touch function of the non-target display screen is started, acquiring third touch data detected on the current target display screen and fourth touch data rotation detected on the non-target display screen. And then detecting whether the non-target display screen (the second display screen) and the target display screen (the first display screen) need to be subjected to display switching or not according to the third touch data and the fourth touch data.
When detecting whether the non-target display screen (the second display screen) and the target display screen (the first display screen) need to be subjected to display switching according to the three touch data and the fourth touch data, the specific process is as follows: for the current target display screen (the first display screen), detecting whether the third touch data is zero, or detecting whether the third touch data is the touch data corresponding to the multi-finger operation in the first specific area and/or whether the third touch data is the touch data with the touch area larger than the preset area in the first specific area. For the current non-target display screen (the second display screen), it is detected whether the fourth touch data is the touch data corresponding to the second specific area.
And if the third touch data is zero and the fourth touch data is the touch data corresponding to the second specific area, determining that the non-target display screen (the second display screen) and the target display screen (the first display screen) need to be controlled to perform display switching.
And if the third touch data is the touch data corresponding to the multi-finger operation in the first specific area and/or the third touch data is the touch data with the touch area larger than the preset area in the first specific area, and the fourth touch data is the touch data corresponding to the second specific area, determining that the non-target display screen (the second display screen) and the target display screen (the first display screen) need to be controlled to perform display switching.
That is, at this time, the previous (first display screen) target display screen needs to be controlled to be switched to the non-target display screen, the previous (second display screen) non-target display screen needs to be controlled to be switched to the target display screen, and then the touch function of the first display screen is turned off. And if the target display screen and the non-target display screen are not switched, keeping the monitoring of the gyroscope.
According to the implementation process, the motion state information of the mobile terminal is monitored in real time, when the motion state of the mobile terminal changes, touch data are collected again, whether display switching is conducted or not is judged, adjustment switching of a target display screen can be conducted according to operation changes of a user, and use experience of the user is guaranteed.
The display method provided by the embodiment of the invention can be used when the mobile terminal is changed from a standby state to a use state or when the mobile terminal is changed in a motion state, and can be suitable for various special scenes, such as scenes that a user is in a lying state, so that the use experience of the user in various scenes is ensured.
The overall process of the embodiment of the present invention is described below, as shown in fig. 2:
step 201, a user controls the first display screen and the second display screen to be switched to a bright screen state, and controls the two display screens to be restored to a screen-off state after the touch functions of the two display screens are started.
Step 202, touch data detected by a user on two display screens are acquired.
Step 203, determining the first display screen as a target display screen according to the acquired touch data.
And step 204, controlling the target display screen to display the target content, and closing the touch function of the non-target display screen.
And step 205, monitoring the motion data of the mobile terminal by adopting a gyroscope.
And step 206, judging whether the mobile terminal rotates within a preset angle range. If yes, go to step 207, otherwise go to step 205.
Step 207, starting the touch function of the non-target display screen, and re-collecting the touch data corresponding to the two display screens.
And step 208, judging whether display switching occurs according to the acquired touch data, if so, executing step 209, otherwise, continuing to execute step 205.
Step 209, the second display screen is controlled to be switched to the target display screen, the first display screen is switched to the non-target display screen, and the touch function of the non-target display screen is turned off.
Step 210, determining whether the mobile terminal enters a standby state, if so, ending the process, otherwise, continuing to execute step 205.
The above is an overall implementation process of the embodiment of the present invention, by acquiring the touch data corresponding to each of the two display screens in a state where the touch function is turned on, determining the target display screen according to the acquired touch data, monitoring the motion data of the mobile terminal in real time after determining the target display screen, and under a condition that the mobile terminal rotates within a preset angle range, acquiring the touch data again, and determining whether to perform display switching, the adjustment switching of the target display screen according to the operation change of the user can be implemented, and the use experience of the user is ensured.
To sum up, in the display method provided by the embodiment of the present invention, the first touch data and the second touch data respectively detected on the first display screen and the second display screen are acquired in the state where the touch function is turned on, the target display screen is determined in the first display screen and the second display screen according to the acquired first touch data and second touch data, and the target content is displayed in the target display screen, so that the accuracy of determining the target display screen can be improved in each scene, and no additional hardware setting is required, the target content is displayed in the target display screen on the premise of ensuring the cost, and the use experience of the user can be improved.
After the target display screen is determined, touch data are collected again according to the motion condition of the mobile terminal, whether display switching is carried out or not is judged, the target display screen is adjusted according to the operation of a user, and the user experience is further improved.
An embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a first display screen and a second display screen, and as shown in fig. 3, the mobile terminal includes:
the first acquiring module 10 is configured to acquire first touch data and second touch data detected on the first display screen and the second display screen, respectively, in a state where the touch functions of the first display screen and the second display screen are turned on;
a first determining module 20, configured to determine a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data;
and a display module 30 for displaying the target content in the target display screen.
Wherein, first acquisition module includes:
the starting sub-module is used for starting touch functions of the first display screen and the second display screen according to first input of a user;
the obtaining submodule is used for obtaining first touch data detected on the first display screen and second touch data detected on the second display screen according to touch operation of a user in a state that touch functions of the first display screen and the second display screen are started.
Wherein the first determining module comprises:
the first detection submodule is used for detecting whether the first touch data is touch data corresponding to a first preset area of the first display screen;
the second detection submodule is used for detecting whether corresponding second touch data on a second display screen is zero or not;
the first determining submodule is used for determining that the first display screen is the target display screen under the condition that the first touch data is the touch data corresponding to the first preset area and the second touch data is zero.
Wherein the first determining module comprises:
the third detection submodule is used for detecting whether the first touch data is the touch data corresponding to the first preset area of the first display screen or not under the condition that the included angle between the first display screen and the second display screen meets the preset condition;
the fourth detection submodule is used for detecting whether the second touch data is touch data corresponding to multi-finger operation on a second preset area of the second display screen and/or whether the second touch data is touch data with a touch area larger than the preset area on the second preset area;
the second determining submodule is used for determining the first display screen as the target display screen when at least one item of the second touch data is satisfied, wherein the second touch data corresponds to multi-finger operation on the second preset area, and the touch area of the second touch data is larger than that of the preset area on the second preset area under the condition that the first touch data corresponds to the first preset area.
Wherein, mobile terminal still includes:
the processing module is used for controlling the touch function of the non-target display screen to be closed after the first determining module determines the target display screen in the first display screen and the second display screen, and monitoring the motion state of the mobile terminal through the sensor;
the control module is used for controlling the touch function of the non-target display screen to be started when the rotation of the mobile terminal within a preset angle range is monitored;
the second acquisition module is used for acquiring third touch data and fourth touch data which are respectively detected on a target display screen and a non-target display screen after the mobile terminal rotates;
and the second determining module is used for determining whether to control the target display screen to perform display switching with the non-target display screen according to the third touch data and the fourth touch data.
According to the mobile terminal provided by the embodiment of the invention, the first touch data and the second touch data respectively detected on the first display screen and the second display screen are acquired in the state that the touch function is started, the target display screen is determined in the first display screen and the second display screen according to the acquired first touch data and the acquired second touch data, and the target content is displayed in the target display screen, so that the accuracy of determining the target display screen can be improved in each scene, no additional hardware is required to be arranged, the target content is displayed in the target display screen on the premise of ensuring the cost, and the use experience of a user can be improved.
After the target display screen is determined, touch data are collected again according to the motion condition of the mobile terminal, whether display switching is carried out or not is judged, the target display screen is adjusted according to the operation of a user, and the user experience is further improved.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411.
Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein the mobile terminal comprises a first display screen and a second display screen, and the processor 410 is configured to: acquiring first touch data and second touch data respectively detected on a first display screen and a second display screen in a state that the touch functions of the first display screen and the second display screen are started; determining a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data; target content is displayed in the target display screen.
When the first touch data and the second touch data respectively detected on the first display screen and the second display screen are acquired in a state where the touch functions of the first display screen and the second display screen are turned on, the processor 410 is further configured to: starting touch functions of a first display screen and a second display screen according to a first input of a user; and under the state that the touch control functions of the first display screen and the second display screen are started, acquiring first touch control data detected on the first display screen and second touch control data detected on the second display screen according to the touch control operation of a user.
Wherein, when determining the target display screen in the first display screen and the second display screen according to the first touch data and the second touch data, the processor 410 is further configured to: detecting whether the first touch data is touch data corresponding to a first preset area of a first display screen; detecting whether corresponding second touch data on a second display screen is zero or not; and determining the first display screen as a target display screen under the condition that the first touch data is the touch data corresponding to the first preset area and the second touch data is zero.
Wherein, when determining the target display screen in the first display screen and the second display screen according to the first touch data and the second touch data, the processor 410 is further configured to: under the condition that an included angle between the first display screen and the second display screen meets a preset condition, detecting whether the first touch data is touch data corresponding to a first preset area of the first display screen; detecting whether the second touch data is touch data corresponding to multi-finger operation on a second preset area of the second display screen and/or whether the second touch data is touch data with a touch area larger than a preset area on the second preset area; and under the condition that the first touch data is the touch data corresponding to the first preset area, the second touch data is the touch data corresponding to the multi-finger operation on the second preset area, and when at least one item of the second touch data is satisfied, the first display screen is determined to be the target display screen, wherein the touch area of the second preset area is larger than that of the preset area.
Wherein, after determining the target display screen in the first display screen and the second display screen, the processor 410 is further configured to: controlling the touch function of the non-target display screen to be closed, and monitoring the motion state of the mobile terminal through a sensor; when the situation that the mobile terminal rotates within a preset angle range is monitored, controlling the touch function of a non-target display screen to be started; acquiring third touch data and fourth touch data respectively detected on a target display screen and a non-target display screen after the mobile terminal rotates; and determining whether to control the target display screen and the non-target display screen to perform display switching according to the third touch data and the fourth touch data.
Therefore, the first touch data and the second touch data which are respectively detected on the first display screen and the second display screen are obtained in the state that the touch function is started, the target display screen is determined in the first display screen and the second display screen according to the obtained first touch data and the obtained second touch data, and the target content is displayed in the target display screen.
After the target display screen is determined, touch data are collected again according to the motion condition of the mobile terminal, whether display switching is carried out or not is judged, the target display screen is adjusted according to the operation of a user, and the user experience is further improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A display method is applied to a mobile terminal, the mobile terminal comprises a first display screen and a second display screen, and the method is characterized by comprising the following steps:
acquiring first touch data and second touch data respectively detected on the first display screen and the second display screen in a state that the touch functions of the first display screen and the second display screen are started;
determining a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data;
displaying target content in the target display screen;
after the target display screen is determined in the first display screen and the second display screen, the method further includes:
controlling the touch function of a non-target display screen to be closed, and monitoring the motion state of the mobile terminal through a sensor;
when the situation that the mobile terminal rotates within a preset angle range is monitored, controlling the touch function of the non-target display screen to be started;
acquiring third touch data and fourth touch data respectively detected on the target display screen and the non-target display screen after the mobile terminal rotates;
and determining whether to control the target display screen and the non-target display screen to perform display switching according to the third touch data and the fourth touch data.
2. The method according to claim 1, wherein the step of acquiring the first touch data and the second touch data respectively detected on the first display screen and the second display screen in a state where the touch functions of the first display screen and the second display screen are turned on comprises:
according to a first input of a user, starting touch functions of the first display screen and the second display screen;
and acquiring the first touch data detected on the first display screen and the second touch data detected on the second display screen according to the touch operation of a user in a state that the touch functions of the first display screen and the second display screen are started.
3. The method of claim 1, wherein the step of determining a target display screen among the first display screen and the second display screen according to the first touch data and the second touch data comprises:
detecting whether the first touch data is touch data corresponding to a first preset area of the first display screen;
detecting whether the corresponding second touch data on the second display screen is zero;
and determining that the first display screen is the target display screen when the first touch data is the touch data corresponding to the first preset area and the second touch data is zero.
4. The method of claim 1, wherein the step of determining a target display screen among the first display screen and the second display screen according to the first touch data and the second touch data comprises:
detecting whether the first touch data is touch data corresponding to a first preset area of the first display screen or not under the condition that an included angle between the first display screen and the second display screen meets a preset condition;
detecting whether the second touch data is touch data corresponding to multi-finger operation on a second preset area of the second display screen and/or whether the second touch data is touch data with a touch area larger than a preset area on the second preset area;
and when the first touch data is the touch data corresponding to the first preset area, the second touch data is the touch data corresponding to the multi-finger operation on the second preset area, and the second touch data is at least one item of touch data with a touch area larger than a preset area on the second preset area, determining that the first display screen is the target display screen.
5. A mobile terminal comprising a first display screen and a second display screen, the mobile terminal comprising:
the first acquisition module is used for acquiring first touch data and second touch data respectively detected on the first display screen and the second display screen in a state that the touch functions of the first display screen and the second display screen are started;
a first determining module, configured to determine a target display screen in the first display screen and the second display screen according to the first touch data and the second touch data;
the display module is used for displaying target content in the target display screen;
the processing module is used for controlling the touch function of a non-target display screen to be closed after the first determining module determines a target display screen in the first display screen and the second display screen, and monitoring the motion state of the mobile terminal through a sensor;
the control module is used for controlling the touch function of the non-target display screen to be started when the rotation of the mobile terminal within a preset angle range is monitored;
the second acquisition module is used for acquiring third touch data and fourth touch data which are respectively detected on the target display screen and the non-target display screen after the mobile terminal rotates;
and the second determining module is used for determining whether to control the target display screen and the non-target display screen to perform display switching according to the third touch data and the fourth touch data.
6. The mobile terminal of claim 5, wherein the first obtaining module comprises:
the starting sub-module is used for starting touch functions of the first display screen and the second display screen according to a first input of a user;
the obtaining sub-module is configured to obtain, according to a touch operation of a user, the first touch data detected on the first display screen and the second touch data detected on the second display screen in a state where the touch functions of the first display screen and the second display screen are turned on.
7. The mobile terminal of claim 5, wherein the first determining module comprises:
the first detection submodule is used for detecting whether the first touch data is touch data corresponding to a first preset area of the first display screen;
the second detection submodule is used for detecting whether the corresponding second touch data on the second display screen is zero or not;
the first determining submodule is used for determining that the first display screen is the target display screen when the first touch data is the touch data corresponding to the first preset area and the second touch data is zero.
8. The mobile terminal of claim 5, wherein the first determining module comprises:
the third detection submodule is used for detecting whether the first touch data is the touch data corresponding to the first preset area of the first display screen or not under the condition that an included angle between the first display screen and the second display screen meets a preset condition;
a fourth detection sub-module, configured to detect whether the second touch data is touch data corresponding to a multi-finger operation in a second preset region of the second display screen and/or whether the second touch data is touch data in which a touch area in the second preset region is larger than a preset area;
the second determining submodule is configured to determine that the first display screen is the target display screen when at least one of the second touch data is touch data corresponding to multi-finger operation in the second preset region and the second touch data is touch data with a touch area larger than a preset area in the second preset region is satisfied under the condition that the first touch data is touch data corresponding to the first preset region.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the display method according to any one of claims 1 to 4.
CN201811636267.4A 2018-12-29 2018-12-29 Display method and mobile terminal Active CN109739430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811636267.4A CN109739430B (en) 2018-12-29 2018-12-29 Display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811636267.4A CN109739430B (en) 2018-12-29 2018-12-29 Display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109739430A CN109739430A (en) 2019-05-10
CN109739430B true CN109739430B (en) 2020-08-14

Family

ID=66362406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811636267.4A Active CN109739430B (en) 2018-12-29 2018-12-29 Display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109739430B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262975B (en) * 2020-01-08 2021-06-08 华为技术有限公司 Bright screen control method, electronic device, computer-readable storage medium, and program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027795A (en) * 2016-06-30 2016-10-12 努比亚技术有限公司 Double-faced screen switching method and terminal
WO2018076506A1 (en) * 2016-10-25 2018-05-03 华为技术有限公司 Method for lighting up screen of double-screen terminal, and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027795A (en) * 2016-06-30 2016-10-12 努比亚技术有限公司 Double-faced screen switching method and terminal
WO2018076506A1 (en) * 2016-10-25 2018-05-03 华为技术有限公司 Method for lighting up screen of double-screen terminal, and terminal

Also Published As

Publication number Publication date
CN109739430A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN108182043B (en) Information display method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN106445340B (en) Method and device for displaying stereoscopic image by double-screen terminal
CN107613095B (en) Incoming call processing method and mobile terminal
CN109710150B (en) Key control method and terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN109710130B (en) Display method and terminal
CN110995923B (en) Screen projection control method and electronic equipment
CN109379484B (en) Information processing method and terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN109597546B (en) Icon processing method and terminal equipment
CN109521937B (en) Screen display control method and mobile terminal
WO2019169991A1 (en) Display method and mobile terminal
CN109002245B (en) Application interface operation method and mobile terminal
CN108897477B (en) Operation control method and terminal equipment
CN108196753B (en) Interface switching method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN109739430B (en) Display method and mobile terminal
CN110825295B (en) Application program control method and electronic equipment
CN111142679A (en) Display processing method and electronic equipment
CN110007821B (en) Operation method and terminal equipment
CN110928462A (en) Display method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant