Touch control terminal and its automatic unlocking method
Technical field
The present invention relates to touch-control unlocking technology, more particularly to a kind of touch control terminal and its automatic unlocking method.
Background technology
With the development of mobile terminal, the dominant contribution of the gradual occuping market of intelligent mobile terminal, touch controllable function is intelligence
One main mark of mobile terminal, then intelligent mobile terminal there are the various unblocks that design for its touching function
Mode.
Existing unlocking manner is largely that finger stroke can just unlock, and when mobile phone is placed on pocket, touch-screen connects with human body
Touch stroke or touch-screen contacts stroke, touch-screen meeting automatic unlocking with other objects, and then be automatically brought into operation mobile phone, for example certainly
It is dynamic according to number to make a phone call, automatically reply phone, automatically opening up the application functions such as camera, make troubles and bother to user.
Thus existing unlocking manner could be improved and improve.
The content of the invention
In view of in place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide touch control terminal and its automatic unlocking side
Method, cause maloperation to solve the problems, such as that prior art object touch-control touch-screen unlocks immediately.
In order to achieve the above object, this invention takes following technical scheme:
A kind of automatic unlocking method of touch control terminal, it comprises the following steps:
A, applied external force is received by the touch-screen of touch control terminal;
B, the external action is analyzed, and judges whether the applied external force is useful effect power;
C, when applied external force is useful effect power, touch control terminal automatic unlocking is controlled;
The step C is specifically included:
C1, when applied external force is useful effect power, the applied external force is converted into voltage signal;
C2, the amplification voltage signal, and voltage stabilizing processing is carried out to the voltage signal;
C3, the voltage signal is converted into data signal, and is sent to the central processing unit of touch control terminal;
C4, central processing unit control touch control terminal automatic unlocking;
Also include before the step C3:Voltage signal after handling voltage stabilizing is filtered processing, filters out noise signal.
In the automatic unlocking method of described touch control terminal, the step B is specifically included:
The direction that B1, the detection applied external force are acted on the touch-screen;
B2, when the Impact direction of touch-screen and the consistent gravity direction of touch-screen, judge applied external force for effectively make
Firmly.
In the automatic unlocking method of described touch control terminal, also include before step B1:
B0, the detection touch-screen stress intensity, when stress intensity is more than preset value, perform step B1.
In the automatic unlocking method of described touch control terminal, the step B2 is specifically included:When touch-screen it is face-up,
And applied external force is when acting on the front of touch-screen vertically downward or diagonally downward, the Impact direction of touch-screen and touch
The gravity direction of screen is consistent, and it is useful effect power to be determined as applied external force.
A kind of touch control terminal for being used to realize the automatic unlocking method of above-mentioned touch control terminal, it includes:
Touch-screen, for receiving applied external force;
Analysis module, for analyzing the external action, and judge whether the applied external force is effectively to make
Firmly;
Processing module, for analyzing the external action, and judge whether the applied external force is effectively to make
Firmly;
Processing module specifically includes:
Piezoelectricity converting unit, for when applied external force is useful effect power, the applied external force to be converted into electricity
Press signal;
Amplification and voltage regulation unit, voltage stabilizing processing is carried out for amplifying the voltage signal, and to the voltage signal;
AD conversion unit, for the voltage signal to be converted into data signal, and the data signal is sent to
The central processing unit of touch control terminal;
Central processing unit, for controlling touch control terminal automatic unlocking;
Processing module also includes filter unit, the filter unit positioned at amplification and voltage regulation unit and AD conversion unit it
Between, for the voltage signal after voltage stabilizing to be filtered into processing.
In described touch control terminal, the analysis module includes:
Gravity direction detection unit, the direction acted on for detecting the applied external force on the touch-screen;
Gravity detection unit, it is outside for when the Impact direction of touch-screen and the consistent gravity direction of touch-screen, judging
Active force is useful effect power.
In described touch control terminal, the gravity detection unit, be additionally operable to detect the stress intensity of the touch-screen, when by
Force intensity starts gravity direction detection unit when being more than preset value.
In described touch control terminal, the gravity detection unit, specifically for when the face-up and outside work of touch-screen
When firmly acting on vertically downward or diagonally downward on the front of touch-screen, the Impact direction of touch-screen and the gravity of touch-screen
Direction is consistent, and it is useful effect power to be determined as applied external force.
Compared to prior art, touch control terminal and its automatic unlocking method provided by the invention, by the touch of touch control terminal
Screen receives applied external force, then the external action is analyzed, and judges whether the applied external force is useful effect
Power;When applied external force is useful effect power, touch control terminal automatic unlocking is controlled, the present invention to applied external force by carrying out
Analysis, the just unblock only when applied external force be useful effect power avoid object and touched and touch screen unlocks, cause to grasp by mistake
The problem of making.
Brief description of the drawings
Fig. 1 is the flow chart of the automatic unlocking method of touch control terminal of the present invention.
Fig. 2 be touch control terminal of the present invention automatic unlocking method in step S200 particular flow sheet.
Fig. 3 be touch control terminal of the present invention automatic unlocking method in step S300 particular flow sheet.
Fig. 4 is the structured flowchart of touch control terminal provided by the invention.
Embodiment
The present invention provides a kind of touch control terminal and its automatic unlocking method, to make the purpose of the present invention, technical scheme and effect
Fruit is clearer, clear and definite, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that this place
The specific embodiment of description only to explain the present invention, is not intended to limit the present invention.
The touch control terminal of the present invention is intelligent mobile terminal, referring to Fig. 1, the automatic unlocking side of the touch control terminal of the present invention
Method comprises the following steps:
S100, applied external force received by the touch-screen of touch control terminal;
S200, the external action is analyzed, and judge whether the applied external force is useful effect power;
S300, when applied external force is useful effect power, control touch control terminal automatic unlocking.
When touch-screen is by applied external force, by judging whether the applied external force is useful effect power, when to have
Effect active force just unlocks, and avoids object and touches and touches screen unlocks, causes maloperation touch control terminal, surcharge is brought to user
The problem of with subscriber checking is influenceed.
As shown in Fig. 2 the step S200 is specifically included:
The direction of S21, the detection applied external force on the touch-screen;
S22, when the Impact direction of touch-screen and the consistent gravity direction of touch-screen, judge applied external force for effectively make
Firmly.
In order to save energy, also include in step S210:S20, the detection touch-screen stress intensity, work as stress intensity
During more than preset value, step S21 is performed.Certain power can be applied on screen is touched if user needs to unlock, if detection
Touch-screen stress is too small, then is not required to do subsequent treatment, can save energy.
The direction that the touch-screen of intelligent mobile terminal contacts with object is divided into object and contacts touch downward vertically by the present invention
It is upward that screen, object tilt down contact touch-screen, object parallel contact touch-screen, the upward perpendicular contact touch-screen of object and object
Five kinds of situations of inclination contact touch-screen, wherein, first three situation represents the situation of touch-screen forward direction upward, and latter two situation represents
The positive situation directed downwardly of touch-screen.
Specifically, the step S200 is specifically included:When touch-screen face-up and applied external force vertically downward or
When person is acted on the front of touch-screen diagonally downward, the Impact direction of touch-screen is consistent with the gravity direction of touch-screen, judges
It is useful effect power for applied external force;It can not be unlocked when touch-screen is other directions or active force is other directions.
Such as, when the face down and applied external force of touch-screen are vertically upward or when tilting upward on the front for act on touch-screen,
The Impact direction of touch-screen and the gravity direction of touch-screen are inconsistent, and it is invalid active force to be determined as applied external force.
When it is implemented, the scope of useful effect power is the sine value of an angle, when the action direction and touch-screen of power
Angle a when being 0 degree~180 degree, the stress of touch-screen is F=(L1sina), and now F is positive number, represents the stress of touch-screen
Direction is consistent with the gravity direction of touch-screen, and needs to calculate the stress F of touch-screen, then carries out subsequent treatment.
Further, as shown in figure 3, the step S300 is specifically included:
S31, when applied external force is useful effect power, the applied external force is converted into voltage signal;
S32, the amplification voltage signal, and voltage stabilizing processing is carried out to the voltage signal;
S33, the voltage signal is converted into data signal, and is sent to the central processing unit of touch control terminal;
S34, central processing unit control touch control terminal automatic unlocking.
Preferably, it is described also to include after step s 32, before step S33:Voltage signal after handling voltage stabilizing is carried out
Filtering process, filter out noise signal.
The present invention correspondingly provides a kind of touch control terminal, as shown in figure 4, it includes:Touch-screen 10, analysis module 20 and place
Module 30 is managed, the touch-screen 10 connects processing module 30 by analysis module 20.Wherein, the touch-screen 10 is outer for receiving
Portion's active force.The analysis module 20 be used for the external action is analyzed, and judge the applied external force whether be
Useful effect power.The processing module 30 is used to analyze the external action, and whether judges the applied external force
For useful effect power.
The analysis module 20 includes:Gravity direction detection unit 201 and gravity detection unit 202, the gravity direction
Detection unit 201 is used to detect direction of the applied external force on the touch-screen 10.Specifically, gravity direction detection is single
The reaction force walking direction object pair that first 201 detection objects are mainly arrived to the force way of touch-screen 10 by its induced inside
The way of contact of touch-screen 10.For example, when object contacts touch-screen 10 vertically downward, then in gravity direction detection unit 201
The reaction force direction that portion senses is upward, then contact of the judgment object of gravity direction detection unit 201 to touch-screen 10
Mode is downward.
The gravity detection unit 202 is used for when the Impact direction of touch-screen 10 is consistent with the gravity direction of touch-screen 10
When, judge that applied external force is useful effect power, and calculate the size of the applied external force.The detectable substance of gravity detection unit 202
Body is to the force way of touch-screen 10, the contact side by the force direction judgment object that its induced inside arrives to touch-screen 10
Formula.For example, object contacts touch-screen 10 vertically downward, then the induced inside of gravity detection unit 202 to force direction be to
Under, then the way of contact of the judgment object of gravity detection unit 202 to touch-screen 10 is downward.Gravity detection unit 202 is logical
Active force of the sense object to touch-screen 10 is crossed, the size of active force is judged by its internal pressure coefficient, is then forwarded to place
Manage module and carry out piezoelectricity conversion, analog-to-digital conversion etc..
Wherein, the gravity detection unit 202 is additionally operable to detect the stress intensity of the touch-screen 10, when stress intensity is big
Start gravity direction detection unit 201 when preset value, then judge touch-screen 10 Impact direction whether the weight with touch-screen 10
Force direction is consistent, the size of computing power again when consistent.
The gravity detection unit 202 is specifically for working as the face-up and applied external force of touch-screen 10 vertically downward
Or when acting on diagonally downward on the front of touch-screen 10, represent the Impact direction of touch-screen 10 and the gravity side of touch-screen 10
To consistent, it is useful effect power to be determined as applied external force.
Please continue to refer to Fig. 4, the processing module 30 specifically includes:The piezoelectricity converting unit 301 that is sequentially connected, amplification and
Voltage regulation unit 302, AD conversion unit 303 and central processing unit 304.The piezoelectricity converting unit 301 is used to work as external action
When power is useful effect power, the applied external force is converted into voltage signal.The amplification and voltage regulation unit 302 are used to amplify
The voltage signal, and voltage stabilizing processing is carried out to the voltage signal.The AD conversion unit 303 is used to believe the voltage
Number data signal is converted into, and the data signal is sent to the central processing unit 304 of touch control terminal.The central processing unit
304 are used to control touch control terminal automatic unlocking.
Wherein, the processing module 30 also includes filter unit 305, positioned at amplification and voltage regulation unit 302 and analog-to-digital conversion
Between unit 303, for the voltage signal after voltage stabilizing to be filtered into processing.
When it is implemented, gravity detection unit 202 when calculating according to the direction of the stress of touch-screen 10(Examined by gravity direction
Unit 201 is surveyed to detect)To judge the angle of the stress of touch-screen 10, touch-screen 10 is calculated by the angle of the stress of touch-screen 10
Stress size, when calculating the stress size of touch-screen 10, specifically calculate the applied external force and act on touch-screen 10
Vertical stress.The present invention effectively prevent by judging stress size and the two whether effective conditions of Impact direction
Unlock and cause maloperation.
In order to be better understood from the present invention, acted perpendicularly to below in conjunction with Fig. 4 with applied external force on touch-screen 10 as tool
Body embodiment, technical scheme is described in detail:
When object contacts touch-screen 10 downward vertically, because the angle that object contacts with touch-screen 10 is 90 °, gravity inspection
Survey unit 202 and think that the stress is effective, then produced when now gravity direction detection unit 201 detects object touching touch-screen 10
Active force direction for L1 vertically downward, describe equally set up in turn in this case, i.e., when gravity direction detect
Unit 201 detects that the direction L1 of active force caused by object touching touch-screen 10 is 90 °, then object contacts tactile downward vertically
Touch screen 10.
When gravity detection unit 202 detects that object touches touch-screen 10, the stress of touch-screen 10 is F (L1sin90 °),
The power is converted into voltage signal by piezoelectricity converting unit 301, and the weak voltage signal is amplified by amplification and voltage regulation unit 302,
And voltage stabilizing processing is carried out, then filtered and exported by filter unit 305.
The AD conversion unit 303 for the touch screen control module that the voltage signal of the output passes through mobile terminal changes into number
Word signal, while touch screen control module sends interrupt signal INT to central processing module 30, it is desirable to handle touch-screen control mould
The occurent touch event of block.
Central processing module 30 is received by the SDA signal of I2C buses and sends data signal, and is sent out by CLK signal
Clock signal is sent to be unlocked to touch screen control module notice touch-screen 10.
When object parallel contact touch-screen 10, the angle contacted with touch-screen 10 due to object is 0 °, then now gravity
Angle detecting unit 201 detects that the direction of active force caused by object touching touch-screen 10 is 0 °, so touch-screen 10 is felt
Feel can not unlock less than power.In this case describe equally set up in turn, i.e., when gravity direction detection unit 201 detects
Direction to active force caused by object touching touch-screen 10 is 0 °, then object parallel contact touch-screen 10, now touch-screen
10 can not unlock.
When the upward perpendicular contact touch-screen 10 of object(I.e. the face down of touch-screen 10, applied external force act on upwards
When on touch-screen 10), because the angle that object contacts with touch-screen 10 is 270 °, then now gravity direction detection unit 201 is examined
Measure object touching touch-screen 10 caused by active force direction for L1 vertically upward, stress F=L miss 270 °, such case
Under describe equally set up in turn, i.e., when gravity direction detection unit 201 detect object touch touch-screen 10 when produce
Active force direction L1 vertically upward, then the upward perpendicular contact touch-screen 10 of object.
Now the Impact direction F of touch-screen 10 is-L1, then gravity detection unit 202 detect the stress of touch-screen 10 for-
F (L1), the stress effective range set more than gravity detection unit 202, touch-screen 10 can not unlock.
Because the calculation aforesaid way of other angles of stress is identical, no longer it is described in detail herein.In a word, touch screen screen front
Towards upper, applied external force is effective when stress is 0 °~180 °, can control automatic unlocking, when stress is 180 °~360 °, outside
Portion's active force is invalid, it is impossible to automatic unlocking.And touch-screen just facing to other angles when, no matter power is the equal nothing in which kind of direction
Effect.
It should be understood that the present invention also can set touch-screen by the menu setting unlocking manner of touch control terminal
For arbitrarily towards when, can automatic unlocking.
In summary, touch control terminal and its automatic unlocking method provided by the invention, received by the touch-screen of touch control terminal
Applied external force, then the external action is analyzed, and judge whether the applied external force is useful effect power;When outer
When portion's active force is useful effect power, touch control terminal automatic unlocking is controlled, the present invention is by analyzing applied external force, only
Have when applied external force is useful effect power and just to unlock, avoid object and touch and touch screen unlocks, cause asking for maloperation
Topic.
It is understood that for those of ordinary skills, can be with technique according to the invention scheme and its hair
Bright design is subject to equivalent substitution or change, and all these changes or replacement should all belong to the guarantor of appended claims of the invention
Protect scope.