CN111625128A - Control method and control device of touch screen, mobile terminal and storage medium - Google Patents

Control method and control device of touch screen, mobile terminal and storage medium Download PDF

Info

Publication number
CN111625128A
CN111625128A CN202010399020.6A CN202010399020A CN111625128A CN 111625128 A CN111625128 A CN 111625128A CN 202010399020 A CN202010399020 A CN 202010399020A CN 111625128 A CN111625128 A CN 111625128A
Authority
CN
China
Prior art keywords
touch screen
state
equal
value
touch
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
CN202010399020.6A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010399020.6A priority Critical patent/CN111625128A/en
Publication of CN111625128A publication Critical patent/CN111625128A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The application discloses a control method and device of a touch screen, a mobile terminal and a storage medium. The method comprises the following steps: periodically acquiring a representation value for representing the inclination state of the touch screen; counting the times that the characteristic value is greater than or equal to a reference characteristic threshold value in the first time; and if the counted times are greater than or equal to the time threshold, switching the touch screen from the dormant state to the activated state, wherein the number of scanning channels used by the touch screen in the activated state is greater than the number of scanning channels used in the dormant state. By means of the mode, the touch screen can improve the response speed of the touch screen.

Description

Control method and control device of touch screen, mobile terminal and storage medium
Technical Field
The present disclosure relates to the field of touch technologies of terminals, and in particular, to a control method of a touch screen, a control device of the touch screen, a mobile terminal, and a computer-readable storage medium.
Background
Along with the increase of multimedia equipment, people use the touch screen more and more, and the user just needs to touch the icon or the characters that show on the touch screen gently with the finger and just can realize the host computer operation, very big simplification the use of computer, have touch-control easy operation, convenient, humanized advantage. The touch screen has a wide application range, for example, when the touch screen is applied to a mobile terminal, a user may frequently touch the touch screen when playing an electronic game or performing other operations using the mobile terminal, but the touch screen in the prior art has a slow response speed, which may adversely affect the use of the user.
Disclosure of Invention
The application provides a control method and a control device for a touch screen, a mobile terminal and a storage medium, which can improve the response speed of the touch screen.
In order to solve the technical problem, the application adopts a technical scheme that: a control method of a touch screen is provided. The method comprises the following steps: periodically acquiring a representation value for representing the inclination state of the touch screen; counting the times that the characteristic value is greater than or equal to a reference characteristic threshold value in the first time; and if the counted times are greater than or equal to the time threshold, switching the touch screen from the dormant state to the activated state, wherein the number of scanning channels used by the touch screen in the activated state is greater than the number of scanning channels used in the dormant state.
In order to solve the above technical problem, another technical solution adopted by the present application is: a control device for a touch screen is provided. The device comprises an acquisition module, a statistic module and a control module, wherein the acquisition module is used for periodically acquiring a representation value for representing the inclination state of the touch screen; the statistic module is used for counting the times that the characteristic value is greater than or equal to the reference characteristic threshold value in the first time; the control module is used for switching the touch screen from the dormant state to the activated state when the times counted by the counting module are greater than or equal to the times threshold, wherein the number of scanning channels used by the touch screen in the activated state is greater than the number of scanning channels used in the dormant state.
In order to solve the above technical problem, another technical solution adopted by the present application is: a mobile terminal is provided. The mobile terminal comprises a processor, a memory and a touch screen, wherein the processor is respectively connected with the memory and the touch screen, and the touch screen is used for responding to touch operation to generate touch signals and sending the touch signals to the processor for processing; the memory is used for storing a computer program, and the computer program is executed by the processor to realize the control method of the touch screen.
In order to solve the above technical problem, another technical solution adopted by the present application is: a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that is executed to implement the control method of the touch screen described above.
The beneficial effect of this application is: for the prior art, the method and the device periodically acquire the characteristic value for characterizing the inclination state of the touch screen, count the times that the characteristic value is greater than or equal to the reference characteristic threshold value in the first time, if the counted times are greater than or equal to the time threshold value, the touch screen may have touch operation or other behaviors which trigger the use of the touch screen subsequently, at this time, switch the touch screen from the sleep state to the activation state, and the number of scanning channels used by the touch screen in the activation state is greater than the number of scanning channels used in the sleep state, so that the touch screen can quickly respond to the subsequent touch operation when entering the activation state, and switch from the sleep state to the activation state when detecting the touch operation on the touch screen in the sleep state, thereby avoiding the delay of the response time of the touch screen, and reducing the time spent by the touch screen entering the activation state, the response speed of the touch screen is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a first embodiment of a control method of a touch screen provided in the present application;
FIG. 2 is a schematic flow chart of step S120 of FIG. 1 provided herein;
fig. 3 is a schematic flowchart of a second embodiment of a control method of a touch screen provided in the present application;
fig. 4 is a schematic flowchart of a first embodiment of a method for switching an operating state of a touch screen according to the present application;
fig. 5 is a schematic flowchart of a second embodiment of a method for switching an operating state of a touch screen according to the present application;
fig. 6 is a schematic flowchart of a third embodiment of a control method of a touch screen provided in the present application;
fig. 7 is a schematic structural diagram of a first embodiment of a control device of a touch screen provided in the present application;
fig. 8 is a schematic structural diagram of a second embodiment of a control device of a touch screen provided in the present application;
fig. 9 is a schematic structural diagram of a first embodiment of a mobile terminal provided in the present application;
fig. 10 is a schematic structural diagram of a second embodiment of a mobile terminal provided in the present application;
fig. 11 is a schematic structural diagram of a computer-readable storage medium provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms "first", "second" and "third" in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any indication of the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise. All directional indications (such as up, down, left, right, front, and rear … …) in the embodiments of the present application are only used to explain the relative positional relationship between the components, the movement, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indication is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
The mobile terminal can be a mobile phone, a tablet computer, a notebook computer, a wearable device and the like. When the mobile terminal does not operate the touch screen for a period of time, the touch screen of the mobile terminal may be in a dormant state, for example, when a user watches a video played by the mobile terminal, the user usually does not touch the touch screen, and the mobile terminal may set the operating state of the touch screen to the dormant state. If the mobile terminal detects that the touch operation is performed on the touch screen within a period of time, the working state of the touch screen of the mobile terminal can be set to be an activated state.
Specifically, the working state of the touch screen of the mobile terminal includes a sleep state and an active state. The touch screen periodically triggers a scanning signal with a certain frequency to perform data scanning so as to detect the touch operation of the touch screen, for example, whether an object or a finger presses or touches the touch screen is detected. When the touch screen is in a dormant state, a small number of channels are adopted for data scanning, and if touch operation on the touch screen is detected, the working state of the touch screen can be switched from the dormant state to an activated state; under the condition of no touch operation on the touch screen, the touch screen is in a dormant state, the number of channels for data scanning is reduced, and the power consumption of the touch screen can be saved. And when the touch screen is in an activated state, all channels are adopted for data scanning so as to accurately scan data for touch operation.
However, when the touch screen is in the sleep state, because a small number of channels are used for data scanning, when a user touches or presses the touch screen, a certain time is required to detect that the touch operation is performed on the touch screen, and the sleep state is switched to the active state. Because the touch screen needs a certain time to be switched from the sleep state to the activation state with all channels, the response time of the touch screen has a certain lag, which affects the response speed of the touch screen.
In order to solve the above problems, the present application provides the following embodiments.
The present application provides a first embodiment of a control method of a touch screen, please refer to fig. 1, the method includes the following steps:
s110: a representative value for representing a tilt state of the touch screen is periodically acquired.
The method comprises the steps that a representation value used for representing the inclination state of the touch screen is periodically obtained by the touch screen in a dormant state, and generally, the change of the inclination state of the touch screen is probably caused by touch operation on the touch screen, so that whether the working state of the touch screen needs to be adjusted or not is judged according to the inclination state of the touch screen. For example, when a user uses the mobile terminal to play an electronic game, the user may frequently click or shake the mobile terminal, so that the tilt state of the touch screen of the mobile terminal changes.
The characterization value obtained for characterizing the tilt state of the touch screen may be, but is not limited to, a combination of one or more of angular velocity, acceleration, or tilt angle. For example, the characteristic value may be an angular velocity alone, or an acceleration or an inclination angle; of course, the characteristic value may also include various combinations of angular velocity, acceleration and inclination angle, for example, the characteristic value includes a combination of angular velocity and acceleration, or the characteristic value includes a combination of acceleration and inclination angle, or the characteristic value includes a combination of angular velocity, acceleration and inclination angle, etc., which is not limited in this application. There are various ways to obtain the characteristic value for characterizing the tilt state of the touch screen, for example, obtaining acceleration through an acceleration sensor, obtaining angular velocity through a gyroscope, obtaining a tilt angle through an angular velocity sensor, and the like. In addition, each of the obtained characterizing values may include a plurality of characterizing value components respectively corresponding to a plurality of directions, in this embodiment, the characterizing value components may include three characterizing value components, the directions corresponding to the three characterizing value components are perpendicular to each other, and the plurality of characterizing value components for characterizing the tilt state of the touch screen may be periodically obtained by using the multi-axis tilt state detecting device.
Taking the representation value as the angular velocity as an example, the angular velocity may be obtained by using a multi-axis gyroscope, for example, the angular velocity may be obtained by using a three-axis gyroscope, the mobile terminal may start a timer, and periodically obtain the angular velocity used for representing the tilt state of the touch screen, for example, the three-axis angular velocity is detected once every 200 milliseconds by using the three-axis gyroscope, for example, the three-axis angular velocity is detected twice every 200 milliseconds by using the three-axis gyroscope, where each angular velocity may include an angular velocity component vertical to an X axis of the mobile terminal touch screen, an angular velocity component horizontal to a Y axis of the mobile terminal touch screen, and an angular velocity component vertical to a Z axis of the mobile terminal touch screen. Specifically, when the mobile terminal is in a static state, angular velocity components of an X axis, a Y axis and a Z axis detected by the three-axis gyroscope are close to 0, and when the mobile terminal is in a state of shaking or sliding to the X axis under a horizontal screen, such as sliding to one direction of the X axis, the angular velocity component of the X axis is detected to be less than 0, and when the mobile terminal slides to the other direction of the X axis, the angular velocity component of the X axis is detected to be greater than 0. Accordingly, the tilt state of the mobile terminal can be represented by the detected change in the angular velocity. The periodic period duration and the characteristic value of the method can be set according to specific requirements, and the method is not limited herein.
S120: counting a number of times that the token value is greater than or equal to the baseline token threshold value within a first time.
After the characteristic values used for representing the inclination state of the touch screen are obtained, counting the times that the characteristic values obtained at the first time are larger than or equal to a reference characteristic threshold value, if one of the obtained plurality of characteristic values is larger than or equal to the reference characteristic threshold value, counting is performed once, if two of the obtained plurality of characteristic values are larger than or equal to the reference characteristic threshold value, counting is performed twice, and the like. Specific statistical methods are not limiting in this application.
Optionally, the number of times that the token value is continuously greater than or equal to the reference token threshold value in the first time period may be counted. For example, counting the number of times that a plurality of characterization values obtained within 3 seconds are continuously greater than or equal to a reference characterization threshold, if the characterization values greater than or equal to the reference characterization threshold are not continuous, the number of times may not be counted, so as to reduce the false triggering probability that the touch screen is switched to the active state due to the false judgment of the characterization values.
The reference characterization threshold may be an angular velocity threshold, an acceleration threshold, a tilt angle threshold, or the like, and in some examples, the reference characterization threshold may further include a plurality of combinations of thresholds, such as an angular velocity threshold and an acceleration threshold, or an acceleration threshold, and a tilt angle threshold. Taking the reference characterization threshold as an example of the angular velocity, counting the number of times that the acquired angular velocity is greater than or equal to the angular velocity threshold within the first time. Taking the reference characteristic value as the angular velocity and the acceleration as an example, the obtained times that the angular velocity and the acceleration are greater than or equal to the angular velocity threshold and the acceleration threshold in the first time are respectively counted, and of course, the angular velocity and the acceleration in different first times can also be respectively counted. The reference characterization threshold and the first time may be set according to specific situations, which is not limited in this application.
Wherein the periodic period duration is less than the first time. For example, the number of times that the characteristic value for characterizing the tilt state of the touch screen is greater than or equal to the reference characteristic threshold value within 3 seconds is counted in a manner of periodically acquiring the characteristic value for characterizing the tilt state of the touch screen every 200 milliseconds.
Optionally, referring to fig. 2, the step S120 further includes the following steps:
s1211: and judging whether the characterization value acquired in the first time is greater than or equal to a reference characterization threshold value.
Specifically, whether the plurality of characteristic value components acquired in the first time are greater than or equal to a reference characteristic threshold value is judged, and if at least one characteristic value component is greater than or equal to the reference characteristic threshold value, it is judged that the characteristic value to which the characteristic value component belongs is greater than or equal to the reference characteristic threshold value. And if the angular velocity component of any axis in the multiple axes is greater than or equal to the reference characterization threshold value, the angular velocity to which the angular velocity component belongs is considered to be greater than or equal to the reference characterization threshold value. For example, the angular velocity components of the X axis, the Y axis and the Z axis are obtained once within every 200 milliseconds by using the three-axis gyroscope, and if the angular velocity component of any one of the X axis, the Y axis and the Z axis is greater than or equal to the reference characterization threshold, if the angular velocity component of the X axis is greater than or equal to the reference characterization threshold, or the angular velocity component of the Y axis is greater than or equal to the reference characterization threshold, or the angular velocity component of the Z axis is greater than or equal to the reference characterization threshold, it is considered that the angular velocity obtained this time is greater than or equal to the reference characterization threshold.
Of course, in the detected angular velocity, there may be a negative angular velocity, and at this time, it may be determined whether the absolute values of the plurality of eigenvalue components acquired within the first time period are greater than or equal to the reference eigenvalue threshold, and if the absolute value of at least one of the eigenvalue components is greater than or equal to the reference eigenvalue threshold, it is determined that the eigenvalue to which the eigenvalue component belongs is greater than or equal to the reference eigenvalue threshold.
If the token value is greater than or equal to the reference token threshold in step S1211, step S1212 is executed, otherwise, step S1211 is continuously executed or the process is ended, which is described in this embodiment by continuously executing step S1211.
When the determination in step S1211 is no, step S1211 may be continuously performed, and a token value obtained for characterizing the tilt state of the touch screen is obtained for a new cycle in step S110, and it is continuously determined whether the token value obtained in the first time period is greater than or equal to the reference token threshold. If not, it is determined whether the token value obtained in the first time of the new round is greater than or equal to the reference token threshold value for the token value obtained periodically in the step S110. In some embodiments, the characterization value used for characterizing the tilt state of the touch screen is obtained once periodically, and step S1211 is performed to determine whether the characterization value is greater than or equal to the reference characterization threshold. This is not limited by the present application.
S1212: the number of times the statistical token value is greater than or equal to the baseline token threshold.
And if at least one characteristic value component is greater than or equal to the reference characteristic threshold value, judging that the characteristic value to which the characteristic value component belongs is greater than or equal to the reference characteristic threshold value, and adding one to the number of times that the statistical characteristic value is greater than or equal to the reference characteristic threshold value. Specifically, if the angular velocity components of the X axis, the Y axis, and the Z axis are obtained once by using the three-axis gyroscope every 200 milliseconds, and if the angular velocity components of any one of the X axis, the Y axis, and the Z axis are greater than or equal to the reference characterization threshold, the number of times that the statistical characterization value is greater than or equal to the reference characterization threshold is one. In some embodiments, if the time for determining whether the obtained token value is greater than or equal to the reference token threshold exceeds the first time in step S1211, a new round of determination is started, the number of times that the statistical token value is greater than or equal to the reference token threshold is cleared, and a new round of counting the number of times at the first time is started.
S130: and judging whether the counted times are greater than or equal to a time threshold value.
If the counted number of times is greater than or equal to the number threshold, step S140 is executed, otherwise, step S110 is executed or the process is ended, which is described in this embodiment by taking the step S110 as an example.
When the judgment in the step S130 is no, step S110 is executed, a new cycle of periodically acquiring the representation value for representing the tilt state of the touch screen is continued, and the above steps are repeated.
In some embodiments, the number threshold may be set to 1 or a natural number greater than 1. When the number threshold is 1, in the method, when it is determined in step S1211 that the token value acquired in the first time period is greater than or equal to the reference token threshold, step S140 is executed to switch the touch screen from the dormant state to the active state, that is, as long as it is determined that the token value is greater than or equal to the reference token threshold, the touch screen switches the operating state from the dormant state to the active state.
The reference characterization threshold and the number threshold of this step may be set according to requirements, for example, the reference characterization threshold and the number threshold may be determined in response to an instruction input by a user. For example, the mobile terminal touch screen may determine the baseline token threshold and the number threshold in response to a user-entered instruction regarding the baseline token threshold and the number threshold, such as the mobile terminal may provide a menu page, and the user may select or enter the baseline token threshold and the number threshold. Of course, before the mobile terminal is shipped from the factory, the reference characterization threshold and the number threshold may be configured in the system of the mobile terminal.
In addition, the historical representation values of the touch screen of the mobile terminal switched to the activated state and in the activated state can be counted, and the counted multiple historical representation values are analyzed to obtain a reference representation threshold value and a frequency threshold value. For example, a machine learning algorithm may be used to analyze a plurality of statistical historical angular velocities and learn an angular velocity threshold and a number threshold. For example, taking angular velocity as an example, counting that the touch screen is switched to the active state in one week, one month or one year, and when the touch screen is in the active state, storing the multi-axis gyroscope to obtain a historical angular velocity used for representing the inclination state of the touch screen, and simultaneously obtaining a historical reference representation threshold and a historical time threshold. And analyzing the historical angular velocity by using a machine learning algorithm to obtain a reference characterization threshold value and a frequency threshold value. Or according to the switching condition of the touch screen every week, the historical angular velocity can be respectively counted according to weekends, holidays and working days, and different reference representation threshold values and times threshold values are respectively obtained. The method for obtaining the reference characterization threshold and the number threshold is not limited.
S140: and switching the touch screen from the dormant state to the active state.
And when the counted times are greater than or equal to the time threshold value, touch operation on the touch screen possibly exists, and the touch screen is switched from the dormant state to the activated state. The number of scanning channels used by the touch screen in the active state is larger than that used in the dormant state, so that more channels are used for data scanning in the active state to detect the touch operation on the touch screen. The touch operation may be a click operation, a slide operation, or the like on the touch screen.
Specifically, when the touch screen is in the sleep state, a first number of channels may be used for data scanning, for example, a part of channels may be used for data scanning, so as to detect the touch operation of the touch screen, and detect whether the touch operation is performed on the touch screen of the mobile terminal by the user, and the power consumption of the mobile terminal may be reduced when the touch screen is in the sleep state without the touch operation. It is understood that the first number may be a number greater than or equal to zero and less than the total number of channels of the touch screen.
And when the counted times are greater than or equal to the time threshold, switching the touch screen from the dormant state to the activated state, wherein the touch screen is in the activated state, and a second number of channels can be adopted for data scanning so as to detect the touch operation of the touch screen, wherein the first number is less than the second number, and the second number is equal to or less than the number of all channels contained in the touch screen. For example, when the touch screen is in an activated state, all channels of self or mutual capacitance are adopted for data scanning so as to detect the touch operation of the touch screen.
In this embodiment, the method includes periodically obtaining a characterization value for characterizing the tilt state of the touch screen, counting the number of times that the characterization value is greater than or equal to a reference characterization threshold in a first time, if the counted number of times is greater than the number of times threshold, the touch screen may have a subsequent touch operation or other behaviors that trigger the use of the touch screen, and at this time, switching the touch screen from a sleep state to an active state, and the number of scanning channels used by the touch screen in the active state is greater than the number of scanning channels used in the sleep state, the touch screen can quickly respond to the subsequent touch operation when entering the activated state, and the response time of the touch screen is prevented from lagging when the touch operation on the touch screen is detected in the dormant state and then the touch screen is switched from the dormant state to the activated state, therefore, the time spent by the touch screen to enter the activated state can be reduced, and the response speed of the touch screen operation is improved.
With respect to the above-described embodiments, the present application also provides the following examples, which are described with the characteristic values as angular velocities, but the characteristic values of the present application are not limited to angular velocities, as described below.
The angular velocity used for representing the inclination state of the touch screen is periodically acquired by using a three-axis gyroscope with the period duration of 200 milliseconds, a reference representation threshold value is set to be 7 degrees/second, a time threshold value is set to be 4 times, and the first time is set to be 3 seconds. Judging whether the angular velocities acquired within 3 seconds are greater than or equal to a reference characterization threshold value by 7 degrees/second, if one of the angular velocity components of the X axis and the Y axis of the angular velocities or the angular velocity components of the axes is greater than or equal to 7 degrees/second, judging that the angular velocities are in a dormant state, and if the angular velocities acquired periodically reach 4 times, switching the touch screen from the dormant state to an activated state, counting the times of the angular velocities within 3 seconds which are greater than or equal to 7 degrees/second, and judging whether the counted times are greater than or equal to 4 times of the times threshold value. And if the angular velocity acquired within 3 seconds is judged to be not more than 7 degrees/second, judging the angular velocity acquired periodically in the next round.
In some application scenarios, the angular velocity used for representing the inclination state of the touch screen is acquired every 200 milliseconds with a period of 200 milliseconds, then a judgment is performed once, whether the acquired angular velocity is greater than or equal to a reference representation threshold value of 7 degrees/second or not is judged, and if the angular velocity is less than 7 degrees/second, the angular velocity obtained in the next 200 milliseconds is judged. And if the time is more than or equal to 7 degrees/second, counting the number of times of being more than or equal to 7 degrees/second of the reference representation threshold value plus 1, continuously judging the angular speed acquired next time, and if the judged time exceeds 3 seconds, clearing the number of times of being more than or equal to 7 degrees/second of the reference representation threshold value of the previous statistics, and counting the number of times of a new round. And if the number of times of the periodically acquired angular speed being greater than or equal to 7 degrees/second reaches 4 times within 3 seconds, switching the touch screen from the dormant state to the activated state.
In some application scenes, the angular speed used for representing the inclination state of the touch screen is acquired every 200 milliseconds by taking 200 milliseconds as a period, and whether the acquired angular speed is greater than or equal to 7 degrees/second is judged; if the judgment result is no, judging the angular velocity acquired next time, if the judgment result is yes, counting the number of times of being greater than or equal to 7 degrees/second of the reference characterization threshold value to be 1, judging the angular velocity acquired next time, if the judgment result is greater than or equal to 7 degrees/second, counting the number of times of being greater than or equal to 7 degrees/second of the reference characterization threshold value to be 2, and so on. If the number of times is judged to be less than 7 degrees/second, the counted number of times which is greater than or equal to the reference characterization threshold value by 7 degrees/second is cleared, and a new round of time counting is carried out. And if the counted number of times of continuously being greater than or equal to the reference characterization threshold value of 7 degrees/second reaches 4 times, switching the touch screen from the dormant state to the activated state.
Referring to fig. 3, the present application provides a second embodiment of a control method for a touch screen, including the following steps:
s210: a representative value for representing a tilt state of the touch screen is periodically acquired.
The specific implementation process of this step may refer to the specific implementation process of step S110 in the foregoing embodiment, and details are not repeated here.
S220: counting a number of times that the token value is greater than or equal to the baseline token threshold value within a first time.
The specific implementation process of this step may refer to the specific implementation process of step S120 in the foregoing embodiment, and details are not repeated herein.
S230: and judging whether the counted times are greater than or equal to a time threshold value.
If the counted number of times in step S230 is greater than or equal to the number threshold, step S240 is executed, otherwise, step S210 is executed or the process is ended, which is described in this embodiment by taking the step S210 as an example. The specific implementation process of this step may refer to the specific implementation process of step S130 in the above embodiments, and is not described herein again.
S240: and switching the touch screen from the dormant state to the active state.
The specific implementation process of this step may refer to the specific implementation process of step S240 in the foregoing embodiment, and is not described herein again.
S250: and judging whether the touch operation on the touch screen is detected in the second time.
And in the activated state, detecting the touch operation of the touch screen within the second time, and judging whether the touch operation of the touch screen is detected within the second time. The second preset time may be set according to specific requirements, which is not limited in this application.
The touch screen is a capacitive screen, and is distributed with transverse and longitudinal electrode arrays, when touch operation is carried out on the touch screen, for example, when a finger touches the touch screen, the coupling between two electrodes near a touch point is influenced, so that the capacitance between the two electrodes is changed. The touch screen can obtain the coordinate position of a touch point according to capacitance data before and after the touch acquired by scanning.
Specifically, the touch screen detects touch operation of touch by scanning data in a full channel in an activated state. When the touch screen is touched, the coordinate position of the touch point can be obtained according to capacitance data of two frames before and after the touch acquired by scanning. The data scanning is carried out by adopting the self-capacitance full channel, the self-capacitance detection is that the capacitance of each sensing unit changes, namely the change of parasitic capacitance, and the parasitic capacitance is increased when the finger touches the sensing unit, so that the existence of touch operation is judged. Adopt mutual capacitance full channel to carry out data scanning, mutual capacitance is the change that detects the mutual capacitance of ranks crossing, and mutual capacitance can reduce when having the finger touch, through the change that detects the mutual capacitance of ranks crossing, can judge whether touch operation exists. If the touch operation exists, the coordinate position of each touch point can be accurately judged.
If the touch operation on the touch screen is not detected in the second time in step S250, step S260 is executed, and if the touch operation on the touch screen is detected in the second time in step S250, the touch operation is detected, and step S270 is executed.
S260: and switching the touch screen from the active state to the dormant state.
If the touch operation on the touch screen is not detected within the second preset time, the working state of the touch screen is switched from the activated state to the dormant state, and the first number of channels are adopted for data scanning, namely, the data scanning of the whole channel is switched to a part of channels for data scanning. Under the condition of no touch operation, the mobile terminal is switched to a dormant state, so that a data scanning channel is reduced, and the power consumption of the touch screen of the mobile terminal can be reduced.
In the dormant state, data scanning detection is carried out on a part of channels to detect touch operation on touch, and if the touch operation on the touch screen is detected, the working state of the touch screen can be switched from the dormant state to the activated state so as to accurately detect the touch operation and respond to the touch operation to execute a corresponding instruction.
S270: and responding to the touch operation to execute the corresponding instruction.
In the activated state, if the touch operation on the touch screen is detected within the second time, executing a corresponding instruction of the touch operation. For example, when a click operation performed on an application program of the touch screen is detected, a music application program and a game application program may be started in response to a corresponding click instruction for the application program, such as clicking a music application program and a game application program on a desktop of the mobile terminal. And if the touch operation on the touch screen is detected, executing a corresponding operation instruction of the touch operation. This is not limited by the present application.
In the embodiment, the representation value used for representing the inclination state of the touch screen is periodically acquired in the activation state, the times that the representation value is greater than or equal to the reference representation threshold value in the first time are counted, and if the counted times are greater than the times threshold value, the touch screen is switched from the dormant state to the activation state, so that the touch screen enters the activation state and can quickly respond to subsequent touch operation, the delay of the response time of the touch screen is avoided, the time spent by the touch screen entering the activation state is reduced, and the response speed of the touch screen is improved. After the touch screen is switched to the activated state, if the touch operation on the touch screen is not detected within the second preset time, the requirement on the response speed of the touch screen is low when no touch operation is performed, at the moment, the touch screen is switched from the activated state to the dormant state, so that the data scanning is performed on the whole channel and is switched into a part of channels to perform the data scanning, and the touch screen enters a low power consumption mode, so that the effect of saving the power consumption of the touch screen is achieved. By acquiring a representation value for representing the inclination state of the touch screen in the dormant state and detecting whether touch operation is performed on the touch screen in the activated state, the power consumption and the response speed of the touch screen can be balanced, the response time of the touch screen is reduced on the whole, the response speed of the touch screen is improved, and the power consumption of the touch screen is saved.
For the above embodiments, please refer to fig. 4 and 5, the present application further provides a method for switching the operating state of the touch screen.
Referring to fig. 4, the present application provides a first embodiment of a method for switching a working state of a touch screen, where the embodiment takes switching from a sleep state to an active state as an example for description, and the method includes the following steps:
s310: and sending a starting instruction of the activated state to the touch screen system.
The terminal system of the mobile terminal needs to switch the working state of the touch screen from the dormant state to the activated state, and when the activated state of the touch screen is started, a starting instruction of the activated state is sent to the touch screen system. In some embodiments, the terminal system includes a touch screen system, and the terminal system issues a start instruction of an active state to the touch screen system. In some embodiments, the terminal system and the touch screen system exist separately, and the terminal system of the mobile terminal sends the start instruction of the activation state to the touch screen system of the touch screen, which is not limited in the present application. In this embodiment, the terminal system includes a touch screen system as an example for explanation.
S320: the touch screen system turns on the activation state in response to the turn-on instruction.
And after receiving an activation state starting instruction sent by the terminal system, the touch screen system responds to the instruction to start the activation state, so that the touch screen enters the activation state, performs data scanning by adopting a self-contained or mutual-contained full channel, and detects the touch operation on the touch screen.
In an activated state, the touch screen system scans data through the full channel, the coordinate position of a touch point can be obtained according to collected capacitance data before and after touch, and the touch screen system can upload the coordinate position to the terminal system so as to execute a corresponding instruction of touch operation.
The touch system and the terminal system may perform data interaction through an I2C (Inter-Integrated Circuit, I2C bus) and an SPI (Serial Peripheral Interface), for example, the terminal system issues an activation state start instruction to the touch screen system through the SPI, and the touch screen system uploads the coordinate position to the terminal system through the SPI. The SPI interface signal lines are few, the protocol is simple, the relative data rate is high, and the overall response speed of the mobile terminal can be improved.
Referring to fig. 5, the present application provides a second embodiment of a method for switching a working state of a touch screen, including the following steps:
s410: and sending a starting instruction of the dormant state to the touch screen system.
The terminal system of the mobile terminal needs to switch the working state of the touch screen from an activated state to a dormant state, and when the dormant state of the touch screen is started, a starting instruction of the dormant state is sent to the touch screen system. And if the terminal system comprises the touch screen system, the terminal system issues an opening instruction of the activated state to the touch screen system. The specific implementation process of this step can refer to the specific implementation process of step S310 in the above embodiments, and is not described herein again.
S420: the touch screen system starts the sleep state in response to the start instruction.
The method comprises the steps that after a dormant state starting instruction sent by a terminal system is received by a touch screen system, the dormant state is started in response to the instruction, so that the touch screen enters the dormant state, data scanning is carried out by adopting a first number of channels, and touch operation of the touch screen is detected so as to detect whether touch operation is carried out on the touch screen. The specific implementation process of this step can refer to the specific implementation process of step S320 in the foregoing embodiment, and details are not repeated here.
In some embodiments, the touch screen is switched from the active state to the dormant state, when the terminal system does not receive the coordinate position of the touch point uploaded by the touch system within the second preset time, or receives that the coordinate position uploaded by the touch screen system is zero, the terminal system issues a closing instruction of the active state of the touch screen to the touch screen system, and the touch screen system can close the active state in response to the closing instruction of the active state, so that the touch screen enters the dormant state from the active state, thereby the touch screen can rapidly switch the working state, the response speed of the touch screen is provided, the delay of the response time of the touch screen is avoided, and the power consumption of the touch screen is saved.
For the above embodiments, the characteristic value may be any one or combination of angular velocity, acceleration and inclination angle, and when the characteristic value is any one of the above, the specific implementation may refer to the above embodiments. Referring to fig. 6, the present application provides a third embodiment of a control method for a touch screen when the characteristic values are combinations of angular velocity, acceleration and tilt angle, where the present embodiment takes the characteristic values as angular velocity and acceleration as examples, and the method includes the following steps:
s510: angular velocity and acceleration used to characterize the tilt state of the touch screen are periodically obtained.
The angular velocity representing the inclination state of the touch screen can be obtained by adopting a multi-axis gyroscope, and the acceleration representing the inclination state of the touch screen is obtained by adopting an acceleration sensor, which is not limited in the application. The specific implementation process of this step may refer to the specific implementation process of the above embodiments, and is not described herein again.
S520: counting a number of times that the angular velocity is greater than or equal to the angular velocity threshold value at a first time, and counting a number of times that the acceleration is greater than or equal to the acceleration threshold value at the first time.
The angular velocity and the number of times that the angular velocity is greater than or equal to the angular velocity threshold and the acceleration threshold in the first time can be counted simultaneously and respectively. In some embodiments, the angular velocity and the number of times that the angular velocity is greater than or equal to the angular velocity threshold and the acceleration threshold in different time may be counted in different time respectively. The specific implementation process of this step may refer to the specific implementation process of the above embodiments, and is not described herein again.
S530: and respectively judging whether the counted times are greater than or equal to a time threshold value.
If the counted number of times of the angular velocity greater than or equal to the angular velocity threshold value in step S530 is equal to the angular velocity threshold value, the angular velocity number of times threshold value is reached, or the counted number of times of the acceleration greater than or equal to the acceleration threshold value, the acceleration number of times threshold value is reached, step S540 is executed, otherwise, the step S510 is executed continuously. In some embodiments, if the counted number of times of the angular velocity is greater than or equal to the angular velocity threshold value at step S530, the angular velocity number of times threshold value is reached, and the counted number of times of the acceleration is greater than or equal to the acceleration threshold value, the acceleration number of times threshold value is reached, step S540 is executed, otherwise, the execution continues to step S510. This is not limited by the present application. The specific implementation process of this step may refer to the specific implementation process of the above embodiments, and is not described herein again.
S540: and switching the touch screen from the dormant state to the active state.
The specific implementation process of this step may refer to the specific implementation process of the above embodiments, and is not described herein again.
S550: and judging whether the touch operation on the touch screen is detected in the second time.
If the touch operation on the touch screen is not detected in the second time period in step S550, step S560 is executed, and if the touch operation on the touch screen is detected in the second time period in step S550, the touch operation is detected, and step S570 is executed. The specific implementation process of this step may refer to the specific implementation process of step S250 in the foregoing embodiment, and details are not described here.
S560: and switching the touch screen from the active state to the dormant state.
The specific implementation process of this step may refer to the specific implementation process of S260 in the foregoing embodiment, and is not described herein again.
S570: and responding to the touch operation to execute the corresponding instruction.
The specific implementation process of this step may refer to the specific implementation process of S270 in the foregoing embodiment, and details are not described here.
In this embodiment, the angular velocity and the acceleration used for representing the tilt state of the touch screen are periodically acquired, the times that the angular velocity and the acceleration are greater than or equal to the angular velocity threshold and the acceleration threshold are respectively counted, when the counted times are greater than or equal to the times threshold, the touch screen is switched from the sleep state to the activation state, and whether touch operation is performed on the touch screen is detected within the second time, so that a response instruction can be executed in response to the touch operation, or when no operation is performed, the touch screen is switched from the activation state to the sleep state, so that power consumption of the touch screen is saved. On the whole, the angular velocity and the acceleration of the touch screen are combined for judgment so as to trigger the touch screen to be switched from the dormant state to the activated state, the response speed of the touch screen can be accelerated to a certain extent, the false triggering of the switching of the working state of the touch screen is reduced, the delay of the response time of the touch screen is avoided, and the power consumption of the touch screen is saved.
For the case that the above-mentioned characteristic values include other combinations of angular velocity, acceleration and tilt angle, the specific implementation manner may refer to the implementation process of this embodiment, and details thereof are not repeated herein.
With respect to the above embodiments, the present application provides a control device of a touch screen. Referring to fig. 7, the control device 600 includes: the device comprises an obtaining module 610, a counting module 620 and a control module 630, wherein the obtaining module 610 and the counting module 620 are respectively connected with the control module 630, the obtaining module 610 is used for periodically obtaining a characteristic value for characterizing an inclination state of the touch screen, the counting module 620 is used for counting the number of times that the characteristic value is greater than or equal to a reference characteristic threshold value in a first time, the control module 630 is used for switching the touch screen from a sleep state to an active state when the number of times counted by the counting module 620 is greater than or equal to the number threshold value, and the number of scanning channels used by the touch screen in the active state is greater than the number of scanning channels used in the sleep state.
The characteristic value for characterizing the tilt state of the touch screen, which is acquired by the acquiring module 610, includes a plurality of characteristic value components respectively corresponding to a plurality of directions, and the plurality of characteristic value components for characterizing the tilt state of the touch screen may be periodically acquired by using the multi-axis tilt state detecting apparatus. For example, the token component may include three token components, wherein the directions of the three token components are perpendicular to each other.
Referring to fig. 8, the characteristic value obtained by the obtaining module 610 may include at least one or a combination of an angular velocity, an acceleration, and an inclination angle. Therefore, in order to acquire the angular velocity, the acceleration and the inclination angle of the touch screen, the acquisition module 610 further includes a plurality of detection units, for example, the acquisition module includes an angular velocity detection unit 611, an acceleration detection unit 612 and an angle detection unit 613. The angular velocity detection unit 611 is configured to detect an angular velocity of the touch screen, for example, the angular velocity detection unit 611 is a multi-axis gyroscope or an angular velocity sensor; the acceleration detection unit 612 is used for detecting the acceleration of the touch screen, for example, the acceleration detection unit 612 is an acceleration sensor; the angle detection unit 613 is used to detect the tilt angle of the touch screen, and for example, the angle detection unit 613 is a multi-axis gyroscope or an angular velocity sensor.
Before counting the number of times greater than or equal to the reference characterization threshold, the statistics module 620 may determine whether the characterization value obtained in the first time is greater than or equal to the reference characterization threshold, for example, when the characterization value includes a plurality of components, determine whether the plurality of characterization value components obtained in the first time are greater than or equal to the reference characterization threshold, and if at least one of the plurality of characterization value components is greater than or equal to the reference characterization threshold, determine that the characterization value to which the characterization value component belongs is greater than or equal to the reference characterization threshold. And if the characteristic value is greater than or equal to the reference characteristic threshold value, counting the times that the characteristic value is greater than or equal to the reference characteristic threshold value, wherein the periodic period duration is less than the first time.
Further, the control device of the touch screen further includes a touch detection module 640, the touch detection module 640 is connected to the control module 630, after the control module 630 controls the touch screen to switch from the sleep state to the active state, the control module 640 also controls the touch detection module 640 to detect the touch operation on the touch screen within the second time, and determines whether the touch operation on the touch screen is detected within the second time, if the touch operation on the touch screen is not detected within the second time, the control module 630 switches the touch screen from the active state to the sleep state, and if the touch operation on the touch screen is detected, the control module responds to the touch operation to execute the corresponding instruction. The specific implementation process of this embodiment may refer to the process of the above embodiment, and is not described herein again.
For the above embodiments, the present application provides a mobile terminal, please refer to fig. 9, and fig. 9 is a schematic structural diagram of a first embodiment of the mobile terminal provided in the present application. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a wearable device, etc., and the mobile phone is taken as an example in the figure of this embodiment. The mobile terminal comprises a processor 710, a memory 720 and a touch screen 730, wherein the processor 710 is respectively connected with the memory 720 and the touch screen 730, and the touch screen 730 is used for responding to touch operation to generate touch signals and sending the touch signals to the processor 710 for processing; the memory 720 is used to store a computer program, which is executed by the processor 710 to implement the control method of the touch screen described above.
In this embodiment, the processor 710 may also be referred to as a Central Processing Unit (CPU). Processor 710 may be an integrated circuit chip having signal processing capabilities. The processor 710 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor 710 may be any conventional processor or the like.
Further, the present application also provides a mobile terminal device, please refer to fig. 10, where fig. 10 is a schematic structural diagram of a second embodiment of the mobile terminal provided in the present application. The mobile terminal 800 includes a processor 810, a touch screen 820, a detection device 830, an input unit 840, and a memory 850. The touch screen 820, the detection device 830, the input unit 840 and the memory 850 are respectively connected to the processor 810. The touch screen 820 is a capacitive screen, and a touch screen system of the touch screen includes a processor 821 and a memory 822, the processor 821 is configured to perform data scanning through a first number of channels or a second number of channels to detect whether a touch operation is performed on the touch screen 820, and when the touch operation is performed on the touch screen, coupling between two electrodes near a touch point is affected, so as to change capacitance between the two electrodes, and the processor 821 may obtain a coordinate position of the touch point according to capacitance data before and after the touch acquired by the scanning. And then uploading the coordinate position of the touch point to the processor 810, so that the processor 810 controls the mobile terminal to execute a corresponding instruction of the touch operation.
The detection device 830 is configured to periodically obtain a characteristic value for characterizing an inclination state of the touch screen, where the characteristic value may be an angular velocity, an acceleration, an inclination angle, or the like, and specifically, the detection device 830 may include multiple detection elements, such as an angular velocity detection element, an acceleration detection element, an angle detection element, or the like, for respectively detecting the angular velocity, the acceleration, and the inclination angle for characterizing the touch screen.
The input unit 840 is used for inputting information, in this embodiment, a user may input an instruction through the input unit 840, so that the touch screen responds to the instruction to determine the reference characterization threshold and the number threshold, and the input unit 840 may specifically include a touch panel 841 and other input devices 842 such as operation keys, so that the user may input the instruction in various ways. The touch panel 841 and the touch screen 820 may be separately present, and in some examples, the touch screen 820 may include the touch panel 841, which is not limited in this application.
The memory 850 is used for storing data instruction information, the processor 810 is used for processing data information of the mobile terminal device, and the data instruction information stored by the memory 850 is executed to execute the steps of the method in any embodiment.
For the method of the above embodiment, it may exist in the form of a computer program, so that the present application provides a computer readable storage medium, please refer to fig. 11, where fig. 11 is a schematic structural diagram of the computer readable storage medium provided in the present application. The computer-readable storage medium 900 of the present embodiment stores therein a computer program 910, which can be executed to implement the method in the above-described embodiments.
The computer-readable storage medium 900 of this embodiment may be a medium that can store program instructions, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, or may be a server that stores the program instructions, and the server may send the stored program instructions to other devices for operation, or may self-execute the stored program instructions.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application.
It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (13)

1. A control method of a touch screen, the method comprising:
periodically acquiring a representation value for representing the inclination state of the touch screen;
counting the number of times that the characterization value is greater than or equal to a reference characterization threshold value within a first time;
if the counted times are larger than or equal to a time threshold, switching the touch screen from a sleep state to an active state, wherein the number of scanning channels used by the touch screen in the active state is larger than the number of scanning channels used in the sleep state.
2. The method of claim 1, wherein the characterization values comprise at least one of angular velocity, acceleration, inclination angle, or a combination thereof.
3. The method of claim 1, wherein counting a number of times the token value is greater than or equal to a baseline token threshold value over a first time comprises:
judging whether the characterization value acquired in the first time is greater than or equal to a reference characterization threshold value;
and if the characterization value is greater than or equal to the reference characterization threshold value, counting the times that the characterization value is greater than or equal to the reference characterization threshold value.
4. The method of claim 3,
the characteristic value for characterizing the tilt state of the touch screen comprises a plurality of characteristic value components respectively corresponding to a plurality of directions;
the periodically acquiring a characterization value for characterizing the tilt state of the touch screen includes:
periodically acquiring the plurality of characteristic value components for characterizing the inclination state of the touch screen by utilizing a multi-axis inclination state detection device;
the determining whether the characterization value obtained within the first time is greater than or equal to a reference characterization threshold includes:
determining whether the plurality of token value components obtained within the first time are greater than or equal to the baseline token threshold;
if at least one of the characteristic value components is greater than or equal to the reference characteristic threshold value, determining that the characteristic value to which the characteristic value component belongs is greater than or equal to the reference characteristic threshold value.
5. The method of claim 4, wherein the token component comprises three token components, and the directions of the three token components are perpendicular to each other.
6. The method of claim 1, further comprising:
determining the benchmark characterization threshold and the number threshold in response to an instruction input by a user;
alternatively, the first and second electrodes may be,
and counting historical representation values of the touch screen switched to the activation state and in the activation state, and analyzing the counted historical representation values to obtain the reference representation threshold value and the frequency threshold value.
7. The method of claim 1, wherein a period duration of the periodicity is less than the first time.
8. The method of claim 1, wherein switching the touch screen from the sleep state to the active state comprises:
sending a starting instruction of the activation state to a touch screen system;
and the touch screen system responds to the opening instruction and opens the activation state.
9. The method of claim 1, wherein after the switching the touch screen from the sleep state to the active state, the method further comprises:
judging whether touch operation on the touch screen is detected in second time;
and if the touch operation on the touch screen is not detected within the second time, switching the touch screen from the activated state to the dormant state.
10. The method of claim 1, further comprising:
under the condition that the touch screen is in the dormant state, data scanning is carried out by adopting a first number of channels so as to detect the touch operation of the touch screen, and if the touch operation of the touch screen is detected, the touch screen is switched from the dormant state to the activated state;
under the condition that the touch screen is in the activated state, scanning data by adopting a second number of channels to detect the touch operation of the touch screen, and if the touch operation of the touch screen is detected, responding to the touch operation to execute a corresponding instruction;
the first number is smaller than the second number, and the second number is the number of all channels included in the touch screen.
11. A control device for a touch screen, the device comprising:
the acquisition module is used for periodically acquiring a representation value used for representing the inclination state of the touch screen;
the statistic module is used for counting the times that the characteristic value is larger than or equal to a reference characteristic threshold value in a first time;
and the control module is used for switching the touch screen from a dormant state to an activated state when the times counted by the counting module are greater than or equal to a time threshold, wherein the number of scanning channels used by the touch screen in the activated state is greater than the number of scanning channels used in the dormant state.
12. A mobile terminal, characterized in that the mobile terminal comprises: the touch screen is used for responding to touch operation to generate touch signals and sending the touch signals to the processor for processing; the memory is for storing a computer program for execution by the processor to implement the method of any one of claims 1 to 11.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed to implement the method according to any one of claims 1 to 11.
CN202010399020.6A 2020-05-12 2020-05-12 Control method and control device of touch screen, mobile terminal and storage medium Pending CN111625128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010399020.6A CN111625128A (en) 2020-05-12 2020-05-12 Control method and control device of touch screen, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010399020.6A CN111625128A (en) 2020-05-12 2020-05-12 Control method and control device of touch screen, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111625128A true CN111625128A (en) 2020-09-04

Family

ID=72260499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010399020.6A Pending CN111625128A (en) 2020-05-12 2020-05-12 Control method and control device of touch screen, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111625128A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446069A (en) * 2010-10-01 2012-05-09 三星电子株式会社 Apparatus and method for turning e-book pages in portable terminal
CN103336655A (en) * 2013-06-21 2013-10-02 广东欧珀移动通信有限公司 Method for controlling switchover between horizontal screen and vertical screen states of mobile phone
WO2014037981A1 (en) * 2012-09-07 2014-03-13 Necカシオモバイルコミュニケーションズ株式会社 Portable terminal device and method for controlling portable terminal device
CN106339137A (en) * 2015-07-16 2017-01-18 小米科技有限责任公司 Terminal touch recognition method and device
CN107943347A (en) * 2017-12-12 2018-04-20 北京小米移动软件有限公司 Touch-screen control method and device
CN108536377A (en) * 2018-04-11 2018-09-14 Oppo广东移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108769392A (en) * 2018-05-14 2018-11-06 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium
CN111124173A (en) * 2019-11-22 2020-05-08 Oppo(重庆)智能科技有限公司 Working state switching method and device of touch screen, mobile terminal and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446069A (en) * 2010-10-01 2012-05-09 三星电子株式会社 Apparatus and method for turning e-book pages in portable terminal
WO2014037981A1 (en) * 2012-09-07 2014-03-13 Necカシオモバイルコミュニケーションズ株式会社 Portable terminal device and method for controlling portable terminal device
CN103336655A (en) * 2013-06-21 2013-10-02 广东欧珀移动通信有限公司 Method for controlling switchover between horizontal screen and vertical screen states of mobile phone
CN106339137A (en) * 2015-07-16 2017-01-18 小米科技有限责任公司 Terminal touch recognition method and device
CN107943347A (en) * 2017-12-12 2018-04-20 北京小米移动软件有限公司 Touch-screen control method and device
CN108536377A (en) * 2018-04-11 2018-09-14 Oppo广东移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108769392A (en) * 2018-05-14 2018-11-06 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium
CN111124173A (en) * 2019-11-22 2020-05-08 Oppo(重庆)智能科技有限公司 Working state switching method and device of touch screen, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
EP3567478B1 (en) Method for preloading application, storage medium, and terminal
US10761722B2 (en) Black screen gesture detection method and device, storage medium, and mobile terminal
CN108647055B (en) Application program preloading method and device, storage medium and terminal
EP3336679B1 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN108595230A (en) Application program preloads method, apparatus, storage medium and terminal
CN108363593A (en) Application program preloads method, apparatus, storage medium and terminal
US10884611B2 (en) Method and apparatus for controlling touch screen of terminal, and terminal
US20130222338A1 (en) Apparatus and method for processing a plurality of types of touch inputs
US9086749B2 (en) System and method for improved processing of touch sensor data
CN108920202B (en) Application preloading management method and device, storage medium and intelligent terminal
CN108958830A (en) Application program launching method, device, storage medium and terminal
CN108829456A (en) Application program preloads method, apparatus, storage medium and terminal
CN108628645A (en) Application program preloads method, apparatus, storage medium and terminal
CN108647056B (en) Application program preloading method and device, storage medium and terminal
CN110287931B (en) Touch coordinate determination method and device, terminal and storage medium
CN102033695A (en) Information display device
CN108762831A (en) Application program preloads method, apparatus, storage medium and terminal
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
EP3614244B1 (en) Touch screen adjustment method, touch chip and electronic terminal
CN108762844A (en) Application program preloads method, apparatus, storage medium and terminal
CN108664285A (en) Application program preloads method, apparatus, storage medium and mobile terminal
CN108845838A (en) Application program preloads method, apparatus, storage medium and terminal
US10268362B2 (en) Method and system for realizing functional key on side surface
WO2013101371A1 (en) Apparatus and method for automatically controlling display screen density
CN111190509A (en) Touch detection method and device, wireless earphone and storage medium

Legal Events

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