CN108600557A - A kind of screen light on and off control method and mobile terminal - Google Patents

A kind of screen light on and off control method and mobile terminal Download PDF

Info

Publication number
CN108600557A
CN108600557A CN201810770578.3A CN201810770578A CN108600557A CN 108600557 A CN108600557 A CN 108600557A CN 201810770578 A CN201810770578 A CN 201810770578A CN 108600557 A CN108600557 A CN 108600557A
Authority
CN
China
Prior art keywords
mobile terminal
touch screen
capacitance data
predetermined threshold
current state
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.)
Granted
Application number
CN201810770578.3A
Other languages
Chinese (zh)
Other versions
CN108600557B (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 CN201810770578.3A priority Critical patent/CN108600557B/en
Publication of CN108600557A publication Critical patent/CN108600557A/en
Application granted granted Critical
Publication of CN108600557B publication Critical patent/CN108600557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of screen light on and off control method and mobile terminal, the method is applied to the mobile terminal for having gyroscope, the method includes:In the sliding time window of preset time width, the sum of the integrated value of angular speed of three axis of the gyroscope is determined, wherein edge is current time after the window of the sliding time window;According to the sum of described integrated value, the current state of the mobile terminal is judged;According to the current state of the mobile terminal, the screen for controlling the mobile terminal is lighted or is extinguished.The present invention can either avoid as setting infrared distance sensor screen accounting limitation problem caused by trepanning on the screen, and can effectively reduce the false triggering probability for turning on/off screen.

Description

A kind of screen light on and off control method and mobile terminal
Technical field
The present invention relates to field of terminal technology more particularly to a kind of screen light on and off control method and mobile terminals.
Background technology
Currently, mobile terminal is detected by infrared distance sensor into row distance, judge whether that barrier excessively leans on Nearly screen, for example, when user is conversed using mobile terminal, face whether too close to mobile terminal screen, work as inspection Measure user face it is closer apart from screen when, in order to avoid the screen that the face of user touches mobile terminal causes accidentally to grasp Make, control mobile terminal extinguishes screen.
But in order to enable the infrared sensor installed in mobile terminal can emit infrared light into row distance inspection outward It surveys, needs that trepanning is arranged in mobile terminal screen so that reduce the screen accounting of mobile terminal.Moreover, when user is in On foot or when other motion states, the triggering for reaching infrared sensor may be made to turn on/off screen due to random violate-action Distance threshold, so as to cause the false triggering turned on/off to screen.
Invention content
The embodiment of the present invention provides a kind of screen light on and off control method, to solve caused by existing infrared distance sensor The problem of screen accounting is limited and turns on/off screen false triggering.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of screen light on and off control method, the method is applied to have top The mobile terminal of spiral shell instrument, the method includes:
In the sliding time window of preset time width, determine the angular speed of three axis of the gyroscope integrated value it With, wherein edge is current time after the window of the sliding time window;
According to the sum of described integrated value, the current state of the mobile terminal is judged;
According to the current state of the mobile terminal, the screen for controlling the mobile terminal is lighted or is extinguished.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, and the mobile terminal includes:Gyroscope, really Cover half block, judgment module, control module, wherein:
The determining module, in the sliding time window of preset time width, determining three axis of the gyroscope The sum of the integrated value of angular speed, wherein along being current time after the window of the sliding time window;
The judgment module, for according to the sum of described integrated value, judging the current state of the mobile terminal;
The control module controls the screen point of the mobile terminal for the current state according to the mobile terminal Bright or extinguishing.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including processor, memory and are stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing screen light on and off control method as described in relation to the first aspect.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit Computer program is stored on storage media, realizes that screen as described in relation to the first aspect is bright when the computer program is executed by processor The step of control method of going out.
In embodiments of the present invention, for the mobile terminal for having gyroscope, by the sliding of preset time width Between in window, determine the sum of the integrated value of angular speed of three axis of gyroscope, wherein along to work as after the window of sliding time window The preceding moment;According to the sum of integrated value, the current state of mobile terminal is judged;And then according to the current state of mobile terminal, control The screen of mobile terminal is lighted or is extinguished, to avoid as caused by setting infrared distance sensor on the screen trepanning Screen accounting limitation problem, and can effectively reduce the false triggering probability for turning on/off screen.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and constitutes the part of the present invention, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow diagram of screen light on and off control method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 3 is the hardware architecture diagram of another mobile terminal provided in an embodiment of the present invention.
Specific implementation mode
Technical solution of the present invention is carried out clearly and completely below in conjunction with the specific embodiment of the invention and corresponding attached drawing Description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based in the present invention Embodiment, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, It shall fall within the protection scope of the present invention.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
Embodiment 1
Fig. 1 is a kind of flow diagram of screen light on and off control method provided in an embodiment of the present invention.The method application In the mobile terminal for having gyroscope, the method can be as follows.
Step 102, in the sliding time window of preset time width, the integral of the angular speed of three axis of gyroscope is determined The sum of value.
Wherein, edge is current time after the window of sliding time window.
When meeting default unlocking condition, the exercise data of gyroscope acquisition mobile terminal is opened.
Sliding time window is that time width is fixed (preset time width), and edge is the time zone at current time after window Between.In the sliding time window of the preset time width, the angular speed of each axis in corresponding three axis of computing gyroscope Integrated value, and then the sum of the integrated value of angular speed of corresponding three axis of computing gyroscope.
Wherein, default unlocking condition can be to trigger in mobile terminal to make a phone call button or incoming call sound button.
Mobile terminal is monitored the electromagnetic wave signal made a phone call or received and send a telegram here and is sentenced according to the electromagnetic wave signal in real time Whether disconnected user, which triggers in mobile terminal, is made a phone call button or incoming call sound button.
When determine trigger in mobile terminal after making a phone call button or incoming call sound button, open gyroscope, The exercise data of acquisition mobile terminal in real time.
The speed difference of various actions, avoids false triggering, time slip-window during answering or hang up the telephone in order to balance The corresponding preset time width of mouth can be gradually increased to 2s from 300ms, and edge is current time after the window of sliding time window.
Step 104, according to the sum of integrated value, judge the current state of mobile terminal.
Step 106, according to the current state of mobile terminal, the screen for controlling mobile terminal is lighted or is extinguished.
According to integrated value the sum of of the angular speed of corresponding three axis of gyroscope in sliding time window, judge mobile whole The current state at end, and then according to the current state of mobile terminal, the bright screen of control mobile terminal execution or the screen that goes out.
Below for the two kinds of situations that receive calls and hang up the telephone, it is discussed in detail and how controls the screen of mobile terminal and light Or extinguish.
The first:It receives calls.
In the embodiment of the present application, when mobile terminal is in bright screen state, according to the sum of integrated value, mobile terminal is judged Current state, including:
The sum of integrated value be more than the first predetermined threshold value, and in sliding time window three axis of gyroscope angular speed with And the integrated value of the angular speed of three axis of gyroscope determines the window of sliding time window when being satisfied by the second preset threshold condition Forward position corresponding first moment, wherein the value range of the first predetermined threshold value is 60 degree to 150 degree;
Determine the first moment corresponding first touch screen capacitance data;
According to the first touch screen capacitance data, the current state of mobile terminal is judged.
When trigger in mobile terminal when making a phone call button or incoming call sound button, mobile terminal is in bright screen shape State.It connects after phone, user converses mobile terminal close to ear.In order to avoid mobile terminal is after ear, Since ear or face lead to maloperation too close to screen, needs to control mobile terminal and go out screen.
In practical application, there is spinning movement feature in mobile terminal during receiving calls, i.e., user mobile terminal from It is turned to beside ear, the angular speed of three axis of the corresponding gyroscope of spinning movement feature and would generally be arrived at 60 degree at the moment Change between 90 degree.
In the embodiment of the present invention, the first predetermined threshold value that setting value range is 60 degree to 150 degree, when gyroscope is corresponding When the sum of the integrated value of the angular speed of three axis in sliding time window is more than the first predetermined threshold value, mobile terminal can be indicated There is the corresponding spinning movement feature that receives calls and (converse close to ear).
For example, working as the sum of the integrated value of the angular speed of corresponding three axis of gyroscope in sliding time window is more than 90 degree When, it can indicate that the corresponding spinning movement feature that receives calls and (converse close to ear) occurs in mobile terminal.
In order to further verify whether that there are some, more random, less specification the action really to receive calls is special Corresponding second predetermined threshold value is respectively set to following six parameter in sign, i.e., each parameter setting one corresponding thereto the Two predetermined threshold values, six parameters are respectively:The angular speed of corresponding three axis of gyroscope and the angular speed of each axis are in cunning Integrated value in dynamic time window.
If the absolute value of each parameter is all higher than the second corresponding predetermined threshold value in six parameters, can indicate In sliding time window, the integrated value of the angular speed of corresponding three axis of gyroscope and the angular speed of each axis is satisfied by Two preset threshold conditions, and then determine that the motion characteristic to receive calls occurs in mobile terminal.
It should be noted that each corresponding second predetermined threshold value of parameter can be arranged according to actual conditions, do not do here It is specific to limit.
For example, the angular speed of corresponding three axis of gyroscope is:The angle speed of the angular speed of x-axis, the angular speed of y-axis, z-axis Degree.Integrated value of the angular speed of corresponding three axis of gyroscope in sliding time window be:Angular speed integrated value, the y-axis of x-axis Angular speed integrated value, the angular speed integrated value of z-axis.
Corresponding second predetermined threshold value of angular speed that x-axis is arranged is a, corresponding second predetermined threshold value of the angular speed of y-axis is B, corresponding second predetermined threshold value of the angular speed of z-axis is c, corresponding second predetermined threshold value of the angular speed integrated value of x-axis is A, y-axis Corresponding second predetermined threshold value of angular speed integrated value be B, corresponding second predetermined threshold value of the angular speed integrated value of z-axis is C.
If it is determined that in sliding time window:The angular speed of x-axis is (in the angle speed of the x-axis at sliding time window each moment Degree) be more than a, y-axis angular speed (in angular speed of the y-axis at sliding time window each moment) be more than b, z-axis angular speed ( The angular speed of the z-axis at sliding time window each moment) the angular speed integrated value more than c, x-axis is more than A, the angular speed of y-axis accumulates Score value is more than B, the angular speed integrated value of z-axis is more than C, then can indicate in sliding time window, gyroscope is three corresponding The integrated value of the angular speed of the angular speed of axis and each axis is satisfied by the second preset threshold condition, and then determines that mobile terminal goes out The motion characteristic to receive calls is showed.
It is moved on foot or caused by the similar motion characteristic to receive calls caused by other motion states in order to avoid user The erroneous judgement of terminal current state judges the current state of mobile terminal further according to the capacitance data of mobile terminal touch screen.
It determines and is more than the first predetermined threshold value, and corresponding three axis of gyroscope in sliding time window in the sum of integrated value Angular speed and the integrated value of angular speed of each axis when being satisfied by the second preset threshold condition, the window of sliding time window Forward position corresponding first moment, and then determine the first moment corresponding first touch screen capacitance data.
If the capacitance sample rate of touch screen is less than the exercise data sample rate of gyroscope, will be nearest before the first moment The capacitance data of the determining touch screen of capacitance sampling of touch screen is determined as the first moment corresponding first touch screen capacitance number According to.
Wherein, the first touch screen capacitance data includes:Each pixel in first moment corresponding frame touchscreen data Capacitance.
In the embodiment of the present invention, according to the first touch screen capacitance data, the current state of mobile terminal is judged, including:
Determine corresponding second moment when the sum of angular speed of three axis of gyroscope is less than third predetermined threshold value, wherein the The value range of three predetermined threshold values is 150 degrees seconds to 220 degrees seconds;
Determine the corresponding second touch screen capacitance data in preset duration after the second moment;
If the difference between the second touch screen capacitance data and the first touch screen capacitance data is more than the 4th predetermined threshold value, it is determined that The current state of mobile terminal is to receive calls.
In practical application, mobile terminal receive calls there is spinning movement feature during the entire process of, gyroscope rotation Angular speed there is the process slowed down afterwards of first accelerating, in mobile terminal before ear, the angular speed of gyroscope rotation is to drop Low process, and when close to ear, that is, when the spinning movement feature to receive calls closes to an end, corresponding three axis of gyroscope The sum of angular speed be generally less than 220 degrees seconds.
In the embodiment of the present invention, setting value range, to the third predetermined threshold value of 220 degrees seconds, works as gyro in 150 degrees seconds When the sum of angular speed of corresponding three axis of instrument is less than third predetermined threshold value, it can indicate that the rotation that mobile terminal receives calls is dynamic It closes to an end as feature.
If the value of third predetermined threshold value is less than 150 degrees seconds, can not avoid to mobile terminal during walking or running The spinning movement of appearance is mistakenly identified as the spinning movement feature to receive calls.
According to the exercise data for the mobile terminal that gyroscope acquires in real time, the angular speed of corresponding three axis of gyroscope is determined Corresponding second moment when less than third predetermined threshold value, and then determine after the second moment corresponding second touch screen in preset duration Capacitance data.
Wherein, the second touch screen capacitance data includes:A corresponding at least frame touch screen number in preset duration after second moment The capacitance of each pixel in.
It should be noted that preset duration can be arranged according to actual conditions, it is not specifically limited here.
For example, preset duration could be provided as 800 milliseconds, there can be enough multiframes in 800 milliseconds after the second moment Touchscreen data compared with the first moment corresponding touchscreen data to make accurate judgement.
Determine the difference between the first touch screen capacitance data and the second touch screen capacitance data.
Specifically, it calculates after the second moment in preset duration in a corresponding at least frame touchscreen data per frame touch screen number According to compared with the first moment corresponding frame touchscreen data, on the upside of touch screen in 8 rows (do not include the row of left side two and right side two arranges) The capacitance difference of each pixel.
If the capacitance difference is more than the 4th predetermined threshold value, it is determined that the current state of mobile terminal is to receive calls.
It should be noted that the 4th predetermined threshold value can be arranged according to actual conditions, it is not specifically limited here.
In the embodiment of the present invention, according to the current state of mobile terminal, the screen for controlling mobile terminal is lighted or is extinguished, packet It includes:
If the current state of mobile terminal is to receive calls, the screen for controlling mobile terminal extinguishes.
When it is to receive calls to determine the current state of mobile terminal, in order to avoid face or ear lead too close to screen Maloperation, control mobile terminal is caused to go out screen.
Second:It hangs up the telephone.
In the embodiment of the present invention, when mobile terminal, which is in, goes out screen state, according to the sum of integrated value, mobile terminal is judged Current state, including:
Determine corresponding third moment and third moment corresponding third when the sum of integrated value is more than five predetermined threshold values Touch screen capacitance data, wherein the 5th predetermined threshold value is 15 degree;
The sum of integrated value be more than the 6th predetermined threshold value, and in sliding time window three axis of gyroscope angular speed with And the integrated value of the angular speed of three axis of gyroscope determines the window of sliding time window when being satisfied by seven preset threshold conditions Along corresponding 5th moment after the window of forward position corresponding 4th moment and sliding time window, wherein the 6th predetermined threshold value Value range be 60 degree to 150 degree;
Determine the 4th moment corresponding 4th touch screen capacitance data and the 5th moment corresponding 5th touch screen capacitance number According to;
According to third touch screen capacitance data and the 4th touch screen capacitance data, or, according to the 4th touch screen capacitance data and the 5th Touch screen capacitance data judges the current state of mobile terminal.
When in mobile terminal calling process triggering go out screen after, gyroscope continue in real time acquisition mobile terminal movement number According to, and then determine the current state of mobile terminal.
When to be more than the 5th default for the sum of integrated value of the angular speed in sliding time window of corresponding three axis of gyroscope Threshold value when being more than 15 degree, can indicate that smaller spinning movement feature occurs in mobile terminal, but at this time mobile terminal away from Also it is not too far from ear, is subsequently likely to occur the motion characteristic hung up the telephone and far from ear.Accordingly, it is determined that the sum of integrated value Corresponding third moment and third moment corresponding third touch screen capacitance data when more than 15 degree, subsequently further to sentence Whether disconnected mobile terminal there is the motion characteristic hung up the telephone.
If the capacitance sample rate of touch screen is less than the exercise data sample rate of gyroscope, will be nearest before the third moment The capacitance data of the determining touch screen of capacitance sampling of touch screen is determined as third moment corresponding third touch screen capacitance number According to.
Wherein, third touch screen capacitance data includes:Each pixel in third moment corresponding frame touchscreen data Capacitance.
In practical application, there is spinning movement feature in mobile terminal during hanging up the telephone, i.e., user mobile terminal from It is turned at the moment beside ear, the angular speed of three axis of the corresponding gyroscope of spinning movement feature and would generally be arrived at 60 degree Change between 90 degree.
In the embodiment of the present invention, the 6th predetermined threshold value that setting value range is 60 degree to 150 degree, when gyroscope is corresponding When the sum of the integrated value of the angular speed of three axis in sliding time window is more than six predetermined threshold values, mobile terminal can be indicated There is corresponding spinning movement feature of hanging up the telephone and (terminate to converse far from ear).
For example, working as the sum of the integrated value of the angular speed of corresponding three axis of gyroscope in sliding time window is more than 90 degree When, it can indicate that corresponding spinning movement feature of hanging up the telephone and (terminate to converse far from ear) occurs in mobile terminal.
In order to further verify whether that there are some, more random, less specification the action really hung up the telephone is special Corresponding 7th predetermined threshold value is respectively set to following six parameter in sign, i.e., each parameter setting one corresponding thereto the Two predetermined threshold values, six parameters are respectively:The angular speed of corresponding three axis of gyroscope and the angular speed of each axis are in cunning Integrated value in dynamic time window.
If the absolute value of each parameter is all higher than the 7th corresponding predetermined threshold value in six parameters, can indicate In sliding time window, the integrated value of the angular speed of corresponding three axis of gyroscope and the angular speed of each axis is satisfied by Seven preset threshold conditions, and then determine that the motion characteristic hung up the telephone occurs in mobile terminal.
It should be noted that each corresponding 7th predetermined threshold value of parameter can be arranged according to actual conditions, do not do here It is specific to limit.
For example, the angular speed of corresponding three axis of gyroscope is:The angle speed of the angular speed of x-axis, the angular speed of y-axis, z-axis Degree.Integrated value of the angular speed of corresponding three axis of gyroscope in sliding time window be:Angular speed integrated value, the y-axis of x-axis Angular speed integrated value, the angular speed integrated value of z-axis.
Corresponding 7th predetermined threshold value of angular speed that x-axis is arranged is a', corresponding 7th predetermined threshold value of the angular speed of y-axis is B', z-axis corresponding 7th predetermined threshold value of angular speed be c', corresponding 7th predetermined threshold value of the angular speed integrated value of x-axis be A', Corresponding 7th predetermined threshold value of angular speed integrated value of y-axis is B', corresponding 7th predetermined threshold value of the angular speed integrated value of z-axis is C'。
If it is determined that in sliding time window:The absolute value of the angular speed of x-axis is (in the x at sliding time window each moment The angular speed of axis) it is big more than the absolute value (in the angular speed of the y-axis at sliding time window each moment) of a', the angular speed of y-axis It is fast more than the angle of c', x-axis in the absolute value (in angular speed of the z-axis at sliding time window each moment) of b', the angular speed of z-axis Spend integrated value absolute value be more than A', y-axis angular speed integrated value absolute value be more than B', z-axis angular speed integrated value it is exhausted C' is more than to value, then can be indicated in sliding time window, the angular speed of corresponding three axis of gyroscope and each axis The integrated value of angular speed is satisfied by the 7th preset threshold condition, and then determines that the action hung up the telephone spy occurs in mobile terminal Sign.
For individual parameters, its corresponding 7th predetermined threshold value can be adjusted according to actual conditions.
For example, when the angular speed integrated value of the angular speed integrated value and z-axis that detect x-axis is larger, and the angular speed of y-axis goes out It, can be corresponding with the angular speed integrated value of y-axis of temporary decrease when existing positive and negative alternating causes the angular speed integrated value of y-axis smaller 7th predetermined threshold value B' identifies corresponding nonstandard motion characteristic of hanging up the telephone to avoid leakage.
It is moved on foot or caused by the similar motion characteristic hung up the telephone caused by other motion states in order to avoid user The erroneous judgement of terminal current state judges the current state of mobile terminal further according to the capacitance data of mobile terminal touch screen.
It determines and is more than the 6th predetermined threshold value in the sum of integrated value, and the angle of three axis of gyroscope is fast in sliding time window When the integrated value of the angular speed of degree and three axis of gyroscope is satisfied by seven preset threshold conditions, the window of sliding time window Along corresponding 5th moment after forward position corresponding 4th moment and window;And determine the 4th moment corresponding 4th touch screen capacitance Data and the 5th moment corresponding 5th touch screen capacitance data.
If the capacitance sample rate of touch screen is less than the exercise data sample rate of gyroscope, will be nearest before the 4th moment The capacitance data of the determining touch screen of capacitance sampling of touch screen is determined as the 4th moment corresponding 4th touch screen capacitance number According to;When the capacitance data of the determining touch screen of capacitance sampling of recent touch screen after 5th moment is determined as the 5th Carve corresponding 5th touch screen capacitance data.
In order to reduce the identification of the leakage to the motion characteristic really hung up the telephone, following two methods may be used and determine movement The current state of terminal.
If A, the difference between the variance of third touch screen capacitance data and the variance of the 4th touch screen capacitance data is more than the 8th Predetermined threshold value, and the difference between the mean value of the 4th touch screen capacitance data and the mean value of third touch screen capacitance data is more than the 9th in advance If threshold value, it is determined that the current state of mobile terminal is to hang up the telephone.
Third touch screen capacitance data is to correspond to touch screen capacitance data the third moment, and the 4th capacitance data is to correspond at the 4th moment Touch screen capacitance data.
The third moment is corresponding at the time of be that mobile terminal has just initially moved off ear and face, and corresponding the 4th moment is to move Dynamic terminal is far from ear and at the time of face.
Since when ear and face are close to mobile terminal, the capacitance of the pixel contacted with ear or face can drop It is low, therefore, mobile terminal close to when ear and face with far from ear and face when compared with, the mean value of pixel in touch screen It is small, variance is big.
Therefore, it the variance of third touch screen capacitance data subtracts the variance of the 4th touch screen capacitance data to be more than the 8th pre- when determining If threshold value, and the mean value of the 4th touch screen capacitance data subtract third touch screen capacitance data mean value be more than nine predetermined threshold values when, It can determine that the current state of mobile terminal is to hang up the telephone.
It should be noted that the 8th predetermined threshold value and the 9th predetermined threshold value can not done here determines according to actual conditions It is specific to limit.
If B, the difference between the variance and the variance of the 5th touch screen capacitance data of the 4th touch screen capacitance data is more than the tenth Predetermined threshold value, and the difference between the mean value and the mean value of the 4th touch screen capacitance data of the 5th touch screen capacitance data is more than the 11st Predetermined threshold value, it is determined that the current state of mobile terminal is to hang up the telephone.
In order to reduce the leakage identification to the motion characteristic really hung up the telephone, the 4th touch screen capacitance data and the can be compared Variance and mean value between five touch screen capacitance datas.Since the 5th moment is compared with the 4th moment, mobile terminal is farther away from ear Piece and face, therefore the variance of the 4th touch screen capacitance data subtract the variance of the 5th touch screen capacitance data determining to be more than the tenth pre- If threshold value, and the mean value of the 5th touch screen capacitance data subtracts the mean value of the 4th touch screen capacitance data more than the 11st predetermined threshold value When, it may be determined that the current state of mobile terminal is to hang up the telephone.
It should be noted that the tenth predetermined threshold value and the 11st predetermined threshold value can determines according to actual conditions, here not It is specifically limited.
In the embodiment of the present invention, according to the current state of mobile terminal, the screen for controlling mobile terminal is lighted or is extinguished, packet It includes:
If the current state of mobile terminal is to hang up the telephone, the screen for controlling mobile terminal is lighted.
When it is to hang up the telephone to determine the current state of mobile terminal, in order to not influence user to the normal behaviour of mobile terminal Make, controls the bright screen of mobile terminal.
In the embodiment of the present invention, before control mobile terminal goes out screen or bright screen, can also include:
According to the acceleration transducer in mobile terminal, the current state of mobile terminal is verified.
The acceleration transducer started in mobile terminal carries out data acquisition, if acceleration transducer is true in preset duration The modulus value of the resultant acceleration of three fixed axis is in 9.3~10.3m/s2In range, it may be considered that mobile terminal is in stress Equilibrium state.According to acceleration transducer determine 3 axis acceleration proportionate relationship, calculate current mobile terminal relative to The posture of terrestrial coordinate system.
For the motion characteristic for the receiving/hang-up phone that gyroscope determines, if acceleration transducer determines its corresponding shifting The posture of dynamic terminal does not meet change condition, then is filtered to these motion characteristics, reduces to mobile terminal current state Probability of misrecognition.
The technical solution that the embodiment of the present invention is recorded, for the mobile terminal for having gyroscope, by wide in preset time In the sliding time window of degree, the sum of the integrated value of angular speed of three axis of gyroscope is determined, wherein the window of sliding time window Edge is current time after mouthful;According to the sum of integrated value, the current state of mobile terminal is judged;And then according to the current of mobile terminal State, the screen for controlling mobile terminal are lighted or are extinguished, to avoid as setting infrared distance sensor on the screen Screen accounting limitation problem caused by trepanning, and can effectively reduce the false triggering probability for turning on/off screen.
Embodiment 2
Fig. 2 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.Mobile terminal 200 shown in Fig. 2 Including:Gyroscope 201, determining module 202, judgment module 203, control module 204, wherein:
Determining module 202, in the sliding time window of preset time width, determining 201 3 axis of gyroscope The sum of integrated value of angular speed, wherein edge is current time after the window of sliding time window;
Judgment module 203, for according to the sum of integrated value, judging the current state of mobile terminal 200;
Control module 204, for being lighted according to the screen of the current state of mobile terminal 200, control mobile terminal 200 or Extinguish.
Optionally, when mobile terminal 200 is in bright screen state, judgment module 203 further comprises:
First determination unit, for being more than the first predetermined threshold value, and the gyro in sliding time window in the sum of integrated value The integrated value of the angular speed of 201 3 axis of angular speed and gyroscope of 201 3 axis of instrument is satisfied by the second preset threshold condition When, determine the window forward position of sliding time window corresponding first moment, wherein the value range of the first predetermined threshold value is 60 degree To 150 degree;
Second determination unit, for determining the first moment corresponding first touch screen capacitance data;
First judging unit, for according to the first touch screen capacitance data, judging the current state of mobile terminal 200.
Optionally, the first judging unit further comprises:
First determination subelement, when the sum of angular speed for determining 201 3 axis of gyroscope is less than third predetermined threshold value Corresponding second moment, wherein the value range of third predetermined threshold value is 150 degrees seconds to 220 degrees seconds;
Second determination subelement is used to determine after the second moment corresponding second touch screen capacitance number in preset duration According to;
Third determination subelement, if the difference between the second touch screen capacitance data and the first touch screen capacitance data is more than 4th predetermined threshold value, it is determined that the current state of mobile terminal 200 is to receive calls.
Optionally, when mobile terminal 200, which is in, goes out screen state, judgment module 203 further comprises:
Third determination unit, corresponding third moment when for determining that the sum of integrated value is more than five predetermined threshold values, and Third moment corresponding third touch screen capacitance data, wherein the 5th predetermined threshold value is 15 degree;
4th determination unit, for being more than the 6th predetermined threshold value, and the gyro in sliding time window in the sum of integrated value The integrated value of the angular speed of 201 3 axis of angular speed and gyroscope of 201 3 axis of instrument is satisfied by the 7th preset threshold condition When, it determines after the window of the window forward position of sliding time window corresponding 4th moment and sliding time window along corresponding 5th moment, wherein the value range of the 6th predetermined threshold value is 60 degree to 150 degree;
5th determination unit, for determining that the 4th moment corresponding 4th touch screen capacitance data and the 5th moment correspond to The 5th touch screen capacitance data;
Second judgment unit is used for according to third touch screen capacitance data and the 4th touch screen capacitance data, or, being touched according to the 4th Shield capacitance data and the 5th touch screen capacitance data, judges the current state of mobile terminal 200.
Optionally, second judgment unit is specifically used for:
If it is pre- that the difference between the variance and the variance of the 4th touch screen capacitance data of third touch screen capacitance data is more than the 8th If threshold value, and the difference between the mean value of the 4th touch screen capacitance data and the mean value of third touch screen capacitance data is more than the 9th and presets Threshold value, it is determined that the current state of mobile terminal 200 is to hang up the telephone.
Optionally, second judgment unit is specifically used for:
If it is pre- that the difference between the variance and the variance of the 5th touch screen capacitance data of the 4th touch screen capacitance data is more than the tenth If threshold value, and the mean value of the 5th touch screen capacitance data and the mean value of the 4th touch screen capacitance data are more than the 11st predetermined threshold value, then Determine that the current state of mobile terminal 200 is to hang up the telephone.
Optionally, control module 204 further comprises:
The screen unit that goes out controls the screen of mobile terminal 200 if the current state for mobile terminal 200 is to receive calls Curtain extinguishes;
Bright screen unit controls the screen of mobile terminal 200 if the current state for mobile terminal 200 is to hang up the telephone Curtain is lighted.
Mobile terminal provided in an embodiment of the present invention can realize realized in mobile terminal in above method embodiment it is each A process, to avoid repeating, which is not described herein again.
Fig. 3 is the hardware architecture diagram of another mobile terminal provided in an embodiment of the present invention.It is shown in Fig. 3 mobile whole End 300 includes but not limited to:Radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310 and power supply 311 etc. Component.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 3 does not constitute the restriction to mobile terminal, Mobile terminal may include either combining certain components or different components arrangement than illustrating more or fewer components. In the embodiment of the present invention, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted end End, wearable device and pedometer etc..
Wherein, processor 310, in the sliding time window of preset time width, determining three axis of gyroscope The sum of integrated value of angular speed, wherein edge is current time after the window of sliding time window;According to the sum of integrated value, judge The current state of mobile terminal;According to the current state of mobile terminal, the screen for controlling mobile terminal is lighted or is extinguished.
For the mobile terminal for having gyroscope, by the sliding time window of preset time width, determining gyro The sum of the integrated value of angular speed of three axis of instrument, wherein edge is current time after the window of sliding time window;According to integrated value The sum of, judge the current state of mobile terminal;And then according to the current state of mobile terminal, the screen for controlling mobile terminal is lighted Or extinguish, to avoid as setting infrared distance sensor screen accounting limitation problem caused by trepanning on the screen, The false triggering probability for turning on/off screen can be effectively reduced again.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 301 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 302 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 303 can receive radio frequency unit 301 or network module 302 or in memory 309 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 300 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loud speaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 301 by being converted in the case of telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear Display panel 3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 307 include touch panel 3071 and Other input equipments 3072.Touch panel 3071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3071 or in touch panel 3071 Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area It manages the order that device 310 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touch The type for touching event provides corresponding visual output on display panel 3061.Although in figure 3, touch panel 3071 and display Panel 3061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 308 is the interface that external device (ED) is connect with mobile terminal 300.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 300 or can be used in 300 He of mobile terminal Transmission data between external device (ED).
Memory 309 can be used for storing software program and various data.Memory 309 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 309, and calls and is stored in storage Data in device 309 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311 Can be logically contiguous by power-supply management system and processor 310, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 310, and memory 309 is stored in It is real when which is executed by processor 310 on memory 309 and the computer program that can be run on processor 310 Each process of existing above-mentioned screen light on and off control method embodiment, and identical technique effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned screen light on and off control method embodiment when being executed by processor, And identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (14)

1. a kind of screen light on and off control method, which is characterized in that the method is applied to the mobile terminal for having gyroscope, described Method includes:
In the sliding time window of preset time width, the sum of the integrated value of angular speed of three axis of the gyroscope is determined, Wherein, edge is current time after the window of the sliding time window;
According to the sum of described integrated value, the current state of the mobile terminal is judged;
According to the current state of the mobile terminal, the screen for controlling the mobile terminal is lighted or is extinguished.
2. the method as described in claim 1, which is characterized in that when the mobile terminal is in bright screen state, the basis The sum of described integrated value judges the current state of the mobile terminal, including:
It is more than the first predetermined threshold value, and three axis of the gyroscope in the sliding time window in the sum of described integrated value When the integrated value of the angular speed of three axis of angular speed and the gyroscope is satisfied by the second preset threshold condition, the cunning is determined Window forward position corresponding first moment of dynamic time window, wherein the value range of first predetermined threshold value is 60 degree to 150 Degree;
Determine first moment corresponding first touch screen capacitance data;
According to the first touch screen capacitance data, the current state of the mobile terminal is judged.
3. method as claimed in claim 2, which is characterized in that it is described according to the first touch screen capacitance data, described in judgement The current state of mobile terminal, including:
Determine corresponding second moment when the sum of angular speed of three axis of the gyroscope is less than third predetermined threshold value, wherein institute The value range for stating third predetermined threshold value is 150 degrees seconds to 220 degrees seconds;
Determine the corresponding second touch screen capacitance data in preset duration after second moment;
If the difference between the second touch screen capacitance data and the first touch screen capacitance data is more than the 4th predetermined threshold value, Determine that the current state of the mobile terminal is to receive calls.
4. the method as described in claim 1, which is characterized in that when the mobile terminal, which is in, goes out screen state, the basis The sum of described integrated value judges the current state of the mobile terminal, including:
Determine that corresponding third moment and the third moment are corresponding when the sum of described integrated value is more than five predetermined threshold values Third touch screen capacitance data, wherein the 5th predetermined threshold value is 15 degree;
It is more than the 6th predetermined threshold value, and three axis of the gyroscope in the sliding time window in the sum of described integrated value When the integrated value of the angular speed of three axis of angular speed and the gyroscope is satisfied by seven preset threshold conditions, the cunning is determined After window forward position corresponding 4th moment of dynamic time window and the window of the sliding time window along the corresponding 5th when It carves, wherein the value range of the 6th predetermined threshold value is 60 degree to 150 degree;
Determine the 4th moment corresponding 4th touch screen capacitance data and the 5th moment corresponding 5th touch screen capacitance Data;
According to the third touch screen capacitance data and the 4th touch screen capacitance data, or, according to the 4th touch screen capacitance number According to the 5th touch screen capacitance data, judge the current state of the mobile terminal.
5. method as claimed in claim 4, which is characterized in that described according to the third touch screen capacitance data and the described 4th Touch screen capacitance data determines the current state of the mobile terminal, including:
If difference between the variance of the third touch screen capacitance data and the variance of the 4th touch screen capacitance data is more than the Eight predetermined threshold values, and the difference between the mean value and the mean value of the third touch screen capacitance data of the 4th touch screen capacitance data More than the 9th predetermined threshold value, it is determined that the current state of the mobile terminal is to hang up the telephone.
6. method as claimed in claim 4, which is characterized in that described according to the 4th touch screen capacitance data and the described 5th Touch screen capacitance data determines the current state of the mobile terminal, including:
If difference between the variance of the 4th touch screen capacitance data and the variance of the 5th touch screen capacitance data is more than the Ten predetermined threshold values, and the difference between the mean value and the mean value of the 4th touch screen capacitance data of the 5th touch screen capacitance data More than the 11st predetermined threshold value, it is determined that the current state of the mobile terminal is to hang up the telephone.
7. the method as described in claim 1, which is characterized in that the current state according to the mobile terminal controls institute The screen for stating mobile terminal is lighted or is extinguished, including at least one of following:
If the current state of the mobile terminal is to receive calls, the screen for controlling the mobile terminal extinguishes;
If the current state of the mobile terminal is to hang up the telephone, the screen for controlling the mobile terminal is lighted.
8. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Gyroscope, determining module, judgment module, control Module, wherein:
The determining module, in the sliding time window of preset time width, determining the angle of three axis of the gyroscope The sum of integrated value of speed, wherein edge is current time after the window of the sliding time window;
The judgment module, for according to the sum of described integrated value, judging the current state of the mobile terminal;
The control module, for according to the current state of the mobile terminal, the screen for controlling the mobile terminal light or Extinguish.
9. mobile terminal as claimed in claim 8, which is characterized in that described when the mobile terminal is in bright screen state Judgment module further comprises:
First determination unit, for being more than the first predetermined threshold value in the sum of described integrated value, and in the sliding time window The integrated value of the angular speed of three axis of angular speed and the gyroscope of three axis of the gyroscope is satisfied by the second default threshold When value condition, the window forward position of the sliding time window corresponding first moment is determined, wherein first predetermined threshold value Value range is 60 degree to 150 degree;
Second determination unit, for determining first moment corresponding first touch screen capacitance data;
First judging unit, for according to the first touch screen capacitance data, judging the current state of the mobile terminal.
10. mobile terminal as claimed in claim 9, which is characterized in that first judging unit further comprises:
First determination subelement, the sum of angular speed for determining three axis of the gyroscope correspond to when being less than third predetermined threshold value The second moment, wherein the value range of the third predetermined threshold value be 150 degrees seconds to 220 degrees seconds;
Second determination subelement is used to determine after second moment corresponding second touch screen capacitance number in preset duration According to;
Third determination subelement, if for the difference between the second touch screen capacitance data and the first touch screen capacitance data More than the 4th predetermined threshold value, it is determined that the current state of the mobile terminal is to receive calls.
11. mobile terminal as claimed in claim 8, which is characterized in that described when the mobile terminal, which is in, goes out screen state Judgment module further comprises:
Third determination unit, corresponding third moment when for determining that the sum of described integrated value is more than five predetermined threshold values, and Third moment corresponding third touch screen capacitance data, wherein the 5th predetermined threshold value is 15 degree;
4th determination unit, for being more than the 6th predetermined threshold value in the sum of described integrated value, and in the sliding time window The integrated value of the angular speed of three axis of angular speed and the gyroscope of three axis of the gyroscope is satisfied by the 7th default threshold When value condition, window forward position corresponding 4th moment of the sliding time window and the sliding time window are determined Along corresponding 5th moment after window, wherein the value range of the 6th predetermined threshold value is 60 degree to 150 degree;
5th determination unit, for determining the 4th moment corresponding 4th touch screen capacitance data and the 5th moment Corresponding 5th touch screen capacitance data;
Second judgment unit is used for according to the third touch screen capacitance data and the 4th touch screen capacitance data, or, according to institute The 4th touch screen capacitance data and the 5th touch screen capacitance data are stated, judges the current state of the mobile terminal.
12. mobile terminal as claimed in claim 11, which is characterized in that the second judgment unit is specifically used for:
If difference between the variance of the third touch screen capacitance data and the variance of the 4th touch screen capacitance data is more than the Eight predetermined threshold values, and the difference between the mean value and the mean value of the third touch screen capacitance data of the 4th touch screen capacitance data More than the 9th predetermined threshold value, it is determined that the current state of the mobile terminal is to hang up the telephone.
13. mobile terminal as claimed in claim 11, which is characterized in that the second judgment unit is specifically used for:
If difference between the variance of the 4th touch screen capacitance data and the variance of the 5th touch screen capacitance data is more than the Ten predetermined threshold values, and the difference between the mean value and the mean value of the 4th touch screen capacitance data of the 5th touch screen capacitance data More than the 11st predetermined threshold value, it is determined that the current state of the mobile terminal is to hang up the telephone.
14. mobile terminal as claimed in claim 8, which is characterized in that the control module further comprises:
The screen unit that goes out controls the screen of the mobile terminal if the current state for the mobile terminal is to receive calls Extinguish;
Bright screen unit controls the screen of the mobile terminal if the current state for the mobile terminal is to hang up the telephone It lights.
CN201810770578.3A 2018-07-13 2018-07-13 Screen on-off control method and mobile terminal Active CN108600557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810770578.3A CN108600557B (en) 2018-07-13 2018-07-13 Screen on-off control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810770578.3A CN108600557B (en) 2018-07-13 2018-07-13 Screen on-off control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108600557A true CN108600557A (en) 2018-09-28
CN108600557B CN108600557B (en) 2020-03-31

Family

ID=63618395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810770578.3A Active CN108600557B (en) 2018-07-13 2018-07-13 Screen on-off control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108600557B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587775A (en) * 2018-11-28 2019-04-05 维沃移动通信有限公司 A kind of bright screen method and terminal device
CN111163213A (en) * 2019-11-20 2020-05-15 华为技术有限公司 Terminal control method and device and terminal equipment
CN111651114A (en) * 2020-05-27 2020-09-11 北京小米移动软件有限公司 Screen control method and device and storage medium
CN112596600A (en) * 2020-12-16 2021-04-02 惠州Tcl移动通信有限公司 Screen unlocking method and device, storage medium and mobile terminal
CN113407053A (en) * 2019-10-15 2021-09-17 荣耀终端有限公司 Touch screen, electronic equipment and display control method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004128712A (en) * 2002-09-30 2004-04-22 Fuji Photo Film Co Ltd Portable terminal device
CN202043184U (en) * 2010-12-27 2011-11-16 上海华勤通讯技术有限公司 Mobile phone capable of being unlocked by wobbing
CN102833412A (en) * 2012-08-27 2012-12-19 广东欧珀移动通信有限公司 Mobile terminal and unlocking system and unlocking method for same
CN103401961A (en) * 2013-07-23 2013-11-20 广东欧珀移动通信有限公司 Method and system for automatically lightening screen of mobile phone
CN103873696A (en) * 2014-03-27 2014-06-18 惠州Tcl移动通信有限公司 Method and system for operating mobile phone through gestures in different scene modes
CN104378491A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Method and device for lightening screen of mobile terminal
CN104639732A (en) * 2013-11-13 2015-05-20 上海斐讯数据通信技术有限公司 Electronic equipment and method for automatically lightening screen
CN107155005A (en) * 2017-04-27 2017-09-12 上海斐讯数据通信技术有限公司 A kind of intelligent wrist wearable device bright screen control method and system
CN107707729A (en) * 2017-07-26 2018-02-16 努比亚技术有限公司 A kind of terminal go out screen or bright screen method, terminal and computer-readable recording medium
CN107896272A (en) * 2017-08-11 2018-04-10 广东欧珀移动通信有限公司 A kind of call control method and device
CN108021224A (en) * 2016-10-31 2018-05-11 腾讯科技(深圳)有限公司 Screen lights method and device
CN108234760A (en) * 2017-12-28 2018-06-29 努比亚技术有限公司 Athletic posture recognition methods, mobile terminal and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004128712A (en) * 2002-09-30 2004-04-22 Fuji Photo Film Co Ltd Portable terminal device
CN202043184U (en) * 2010-12-27 2011-11-16 上海华勤通讯技术有限公司 Mobile phone capable of being unlocked by wobbing
CN102833412A (en) * 2012-08-27 2012-12-19 广东欧珀移动通信有限公司 Mobile terminal and unlocking system and unlocking method for same
CN103401961A (en) * 2013-07-23 2013-11-20 广东欧珀移动通信有限公司 Method and system for automatically lightening screen of mobile phone
CN104378491A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Method and device for lightening screen of mobile terminal
CN104639732A (en) * 2013-11-13 2015-05-20 上海斐讯数据通信技术有限公司 Electronic equipment and method for automatically lightening screen
CN103873696A (en) * 2014-03-27 2014-06-18 惠州Tcl移动通信有限公司 Method and system for operating mobile phone through gestures in different scene modes
CN108021224A (en) * 2016-10-31 2018-05-11 腾讯科技(深圳)有限公司 Screen lights method and device
CN107155005A (en) * 2017-04-27 2017-09-12 上海斐讯数据通信技术有限公司 A kind of intelligent wrist wearable device bright screen control method and system
CN107707729A (en) * 2017-07-26 2018-02-16 努比亚技术有限公司 A kind of terminal go out screen or bright screen method, terminal and computer-readable recording medium
CN107896272A (en) * 2017-08-11 2018-04-10 广东欧珀移动通信有限公司 A kind of call control method and device
CN108234760A (en) * 2017-12-28 2018-06-29 努比亚技术有限公司 Athletic posture recognition methods, mobile terminal and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587775A (en) * 2018-11-28 2019-04-05 维沃移动通信有限公司 A kind of bright screen method and terminal device
CN113407053A (en) * 2019-10-15 2021-09-17 荣耀终端有限公司 Touch screen, electronic equipment and display control method
CN113407053B (en) * 2019-10-15 2022-04-19 荣耀终端有限公司 Touch screen, electronic equipment and display control method
CN111163213A (en) * 2019-11-20 2020-05-15 华为技术有限公司 Terminal control method and device and terminal equipment
CN111651114A (en) * 2020-05-27 2020-09-11 北京小米移动软件有限公司 Screen control method and device and storage medium
CN112596600A (en) * 2020-12-16 2021-04-02 惠州Tcl移动通信有限公司 Screen unlocking method and device, storage medium and mobile terminal

Also Published As

Publication number Publication date
CN108600557B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN107943551A (en) A kind of screen display method and mobile terminal
CN108600557A (en) A kind of screen light on and off control method and mobile terminal
CN108459797A (en) A kind of control method and mobile terminal of Folding screen
CN108845853A (en) A kind of application program launching method and mobile terminal
CN108920059A (en) Message treatment method and mobile terminal
CN107908334A (en) A kind of fingerprint image target display methods, device and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108319390A (en) A kind of control method and mobile terminal of flexible screen
CN108319421A (en) A kind of display triggering method and mobile terminal
CN108227996A (en) A kind of display control method and mobile terminal
CN108509782A (en) A kind of recognition of face control method and mobile terminal
CN108304061A (en) A kind of display control method and terminal
CN108491151A (en) A kind of reminding method and mobile terminal of mobile terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN109885153A (en) A kind of screen control method and mobile terminal
CN108509141A (en) A kind of generation method and mobile terminal of control
CN108319386A (en) A kind of display screen false-touch prevention method and mobile terminal
CN108089801A (en) A kind of method for information display and mobile terminal
CN109343699A (en) A kind of bright screen method, apparatus, mobile terminal and storage medium
CN110138963A (en) A kind of message treatment method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109271227A (en) False-touch prevention method, apparatus and computer readable storage medium
CN109542572A (en) A kind of interface display method and mobile terminal
CN109144393A (en) A kind of image display method and mobile terminal
CN108388400A (en) A kind of operation processing method and mobile terminal

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