Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of unlocking methods of mobile terminal
And tripper, for solving the problems, such as that the unlocking process of mobile terminal is cumbersome when forgetting unlocking pin in the prior art.
In order to achieve the above objects and other related objects, the present invention provides a kind of unlocking method of mobile terminal, the shifting
The unlocking method of dynamic terminal is the following steps are included: judge whether the release circuit in mobile terminal is switched on;When the unlock electricity
When road is switched on, judge whether the turn-on time of the release circuit is greater than preset threshold;When the conducting of the release circuit
Between be greater than preset threshold when, prompt user input unlocking pin;Judge user input the first unlocking pin whether with preset it is close
Code is consistent;When the first unlocking pin of user's input is consistent with preset password, the mobile terminal is unlocked.
The present invention also provides a kind of tripper of mobile terminal, the tripper of the mobile terminal includes: that conducting is sentenced
Disconnected module, for judging whether the release circuit in mobile terminal is switched on;Time judgment module, for working as the release circuit
When being switched on, judge whether the turn-on time of the release circuit is greater than preset threshold;Password prompt module, for working as the solution
When the turn-on time of lock circuit is greater than preset threshold, user is prompted to input unlocking pin;Password judgment module, for judging user
Whether the first unlocking pin of input is consistent with preset password;Unlocked state, for when user input the first unlocking pin with
When preset password is consistent, the mobile terminal is unlocked.
As described above, the unlocking method and tripper of mobile terminal of the invention, have the advantages that
Unlocking method and tripper of the invention, by judging whether the turn-on time that release circuit is is greater than default threshold
Value, conducting time be greater than preset threshold when, prompt user input unlocking pin, as long as user input password with it is preset
Unlock can be realized when identical in any password, thus simply unlocked in the case where user forgets normal boot-strap password,
Meanwhile this unlocking manner has good secrecy effect, to improve the safety of mobile terminal.
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
As described in the background art, the unlock scheme for realizing mobile terminal by Macintosh in the prior art, can
The loss of data can be will cause, and the safety of mobile terminal can be reduced.And the present invention passes through the conducting for judging release circuit
Whether the time is greater than preset threshold, when being greater than preset threshold, prompts user to input unlocking pin, when unlocking pin and any one
The unlock of mobile terminal unanimously can be realized in preset password, to not only simplify the unlocking process of mobile terminal, and also
Substantially increase the safety of mobile terminal.
Tool is referring to Fig. 1, the present invention provides a kind of unlocking method of mobile terminal, the unlocking method packet of the mobile terminal
Include following steps:
Step S11 is first carried out, judges whether the release circuit in mobile terminal is switched on;Specifically, card needle is placed on
With by the spring in lower bayonet slot in card slot, so that card slot short circuit is to realize the conducting of release circuit (with reference to Fig. 2).
When the release circuit is switched on, step S12 is executed, judges whether the turn-on time of the release circuit is greater than
Preset threshold;
After card slot conducting can the timing by software, wait pop-up after arrival time t millisecond (preset threshold)
Corresponding unlock picture, inputting the startup password pre-seted at this time can be switched on unlock.When to be put into the card slot time inadequate for card needle
In the case where will continue to judge whether card slot takes out, will continue to judge card needle whether always inner in the case where no taking-up
Face is taken out until meeting time t millisecond or card slot.It will be apparent to a skilled person that the preset threshold can be with
It is arranged accordingly according to actual needs, this should not be limited the scope of the invention.
When the turn-on time of the release circuit is greater than preset threshold, step S13 is executed, prompts user to input unlock close
Code;
Step S14 is executed, judges whether the first unlocking pin of user's input is consistent with preset password;
When user input the first unlocking pin it is consistent with preset password when, execution step S15, to the mobile terminal into
Row unlock.
It should be noted that preset password in this example example can be one or more, also, the preset password
It is not identical as normal startup password.When multiple preset passwords are arranged, if user input the first unlocking pin with appoint
One preset password is consistent, and the unlock of mobile terminal can be realized.
In the present embodiment, the method can also include: to judge whether the release circuit in mobile terminal is switched on it
Before, receive the second unlocking pin of user's input;Judge whether second unlocking pin is correct;When second unlocking pin
When correct, the mobile terminal is unlocked.
That is, normally unlocked by user under normal circumstances (before i.e. release circuit is not turned on)
Journey such as inputs unlocking pin, by the unlock for realizing mobile terminal after determining unlocking pin.
In the present embodiment, in order to improve the safety of mobile terminal, the method also includes: when second unlocking pin
When incorrect, judge to input whether number is greater than preset times;When inputting number greater than preset times, by the mobile terminal
Locking.
It will be apparent to a skilled person that prompting user to continue when the input number is less than preset times
Input the second unlocking pin.It, will be described mobile whole also, when the first unlocking pin of user's input and inconsistent preset password
End locking.
The unlocking method of the present embodiment is placed on card slot by card needle and surpasses the corresponding unlock of automatic spring after a period of time
Picture can achieve the purpose that unlock as long as arbitrarily one preset password of input, thus not only to prompt input unlocking pin
The process of unlock is simplified, and also substantially increases the safety of mobile terminal.
With reference to Fig. 3, the present invention also provides a kind of tripper of mobile terminal, the tripper 2 of the mobile terminal is wrapped
It includes:
Judgment module 21 is connected, for judging whether the release circuit in mobile terminal is switched on;
Time judgment module 22, for judging the turn-on time of the release circuit when the release circuit is switched on
Whether preset threshold is greater than;
Password prompt module 23, for prompting user defeated when the turn-on time of the release circuit is greater than preset threshold
Enter unlocking pin;
Whether password judgment module 24, the first unlocking pin for judging user's input are consistent with preset password;
Unlocked state 25, when the first unlocking pin for inputting as user is consistent with preset password, to described mobile whole
End is unlocked.
In the present embodiment, the password prompt module 23 is also used to judging whether the release circuit in mobile terminal is led
Before logical, the second unlocking pin of user's input is received;
The password judgment module 24 is also used to judge whether second unlocking pin is correct;
The unlocked state 25 is also used to be unlocked the mobile terminal when second unlocking pin is correct.
In the present embodiment, the tripper 2 can also include: number judgment module (being not shown in Fig. 2), for working as institute
State the second unlocking pin it is incorrect when, judge input number whether be greater than preset times;Locking module (is not shown) in Fig. 2, uses
In when input number be greater than preset times when, by the mobile terminal locking.
The password prompt module 23 is also used to prompt user to continue to input when the input number is less than preset times
Second unlocking pin.The locking module is also used to when the first unlocking pin and preset password that user inputs are inconsistent, will
The mobile terminal locking.
The specific work process of the tripper of the present embodiment can refer to retouching in detail previously with regard to unlocking method with principle
It states, details are not described herein.
In conclusion the unlocking method and tripper of mobile terminal of the present invention, pass through the turn-on time to release circuit
Judged, so that user is prompted to input the password different from normal startup password, to realize the quick release of mobile terminal,
And the safety of mobile terminal can also be greatly improved in this way.So the present invention effectively overcome it is existing
Various shortcoming in technology and have high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.