CN104376239B - The unlocking method and a device of terminal - Google Patents

The unlocking method and a device of terminal Download PDF

Info

Publication number
CN104376239B
CN104376239B CN201410692459.2A CN201410692459A CN104376239B CN 104376239 B CN104376239 B CN 104376239B CN 201410692459 A CN201410692459 A CN 201410692459A CN 104376239 B CN104376239 B CN 104376239B
Authority
CN
China
Prior art keywords
terminal
unlock
preset threshold
interval duration
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410692459.2A
Other languages
Chinese (zh)
Other versions
CN104376239A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410692459.2A priority Critical patent/CN104376239B/en
Publication of CN104376239A publication Critical patent/CN104376239A/en
Application granted granted Critical
Publication of CN104376239B publication Critical patent/CN104376239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2125Just-in-time application of countermeasures, e.g., on-the-fly decryption, just-in-time obfuscation or de-obfuscation

Abstract

The disclosure proposes a kind of unlocking method of terminal, which comprises obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;The interval duration is compared with preset threshold, and determines the unlock strategy for being directed to the terminal according to comparison result.The convenience that user unlocks operation during using terminal can be improved in the disclosure.

Description

The unlocking method and a device of terminal
Technical field
This disclosure relates to the unlocking method and a device of field of terminal more particularly to terminal.
Background technique
Certainly, smart phone is usually all the maloperation that user is prevented by way of screen locking;For example, be usually by with Power key is clicked at family, slides screen then to be unlocked.
However for security consideration, at present in addition to sliding screen is come other than being unlocked, user usually can also be arranged close Code, mobile phone could unlock after user only has input correct password in unlocking process, it is seen that this is increasing safety Meanwhile the complexity in user's operation is also improved, it is frequent to unlock particularly with the relatively high family of some mobile phone frequency of use It can make troubles the use of user, and the more wasteful time.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of unlocking method and a device of terminal.
According to the first aspect of the embodiments of the present disclosure, a kind of unlocking method of terminal is provided, which comprises
Obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
The interval duration is compared with preset threshold, and determines the unlock for being directed to the terminal according to comparison result Strategy.
Optionally, the preset threshold includes first threshold;
It is described to be compared the interval duration with preset threshold, and determined according to comparison result for the terminal Unlocking strategy includes:
The interval duration is compared with the first threshold;
When the interval duration is less than or equal to the first threshold, skips any unlocked step and directly unlock terminal.
Optionally, the preset threshold further includes second threshold;Wherein the second threshold is greater than the first threshold;
The method also includes:
When the interval duration is greater than the first threshold, the interval duration is compared with the second threshold Compared with;
When the interval duration is greater than the first threshold and is less than or equal to the second threshold, primary unlock circle is exported Face simultaneously unlocks terminal after user completes for the unlock operation of the primary unlock interface.
Optionally, the method also includes:
When the interval duration is greater than second threshold, exports advanced unlock interface and complete in user for described advanced Terminal is unlocked after the certification of unlock interface;
Wherein, the unlock difficulty of the advanced unlock interface is greater than the primary unlock interface.
Optionally, the first threshold, second threshold and corresponding unlock strategy are that user is customized.
According to the second aspect of an embodiment of the present disclosure, a kind of tripper of terminal is provided, described device includes:
Module is obtained, when at the time of for obtaining user's wake-up terminal with interval at the time of the last locking terminal It is long;
Determining module is directed to for the interval duration to be compared with preset threshold, and according to comparison result determination The unlock strategy of the terminal.
Optionally, the preset threshold includes first threshold;
The determining module includes:
First Comparative sub-module, for the interval duration to be compared with the first threshold;
First unlock submodule, for skipping any unlock when the interval duration is less than or equal to the first threshold Step simultaneously directly unlocks terminal.
Optionally, the preset threshold further includes second threshold;Wherein the second threshold is greater than the first threshold;
The determining module further include:
Second Comparative sub-module is used for when the interval duration is greater than the first threshold, further by the interval Duration is compared with the second threshold;
Second unlock submodule, for being greater than the first threshold in the interval duration and being less than or equal to second threshold When value, exports primary unlock interface and unlock terminal after user completes for the unlock operation of the primary unlock interface;
Optionally, the determining module further include:
Third unlocks submodule, for when the interval duration is greater than second threshold, export advanced unlock interface and User unlocks terminal after completing the certification for the advanced unlock interface;
Wherein, the unlock difficulty of the advanced unlock interface is greater than the primary unlock interface.
Optionally, the first threshold, second threshold and corresponding unlock strategy are that user is customized.
According to the third aspect of an embodiment of the present disclosure, a kind of tripper of terminal is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
The interval duration is compared with preset threshold, and determines the unlock for being directed to the terminal according to comparison result Strategy.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the above embodiments of the disclosure, at the time of waking up terminal by obtaining user with the last locking terminal when The interval duration is compared by the interval duration at quarter with preset threshold, and is determined according to comparison result and be directed to the terminal Unlock strategy so that user during using terminal, can select different unlock plans according to the interval duration Slightly, to improve the convenience that user unlocks operation during using terminal.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow diagram of the unlocking method of terminal shown according to an exemplary embodiment;
Fig. 2 is the flow diagram of the unlocking method of another terminal shown according to an exemplary embodiment;
Fig. 3 is the schematic diagram of the authentication interface of terminal system output shown according to an exemplary embodiment;
Fig. 4 is the schematic diagram that the threshold value that terminal shown according to an exemplary embodiment is shown adjusts option;
Fig. 5 is a kind of schematic block diagram of the tripper of terminal shown according to an exemplary embodiment;
Fig. 6 is the schematic block diagram of the tripper of another terminal shown according to an exemplary embodiment;
Fig. 7 is the schematic block diagram of the tripper of another terminal shown according to an exemplary embodiment;
Fig. 8 is the schematic block diagram of the tripper of another terminal shown according to an exemplary embodiment;
Fig. 9 is the schematic block diagram of the tripper of another terminal shown according to an exemplary embodiment;
Figure 10 is the schematic block diagram of the tripper of another terminal shown according to an exemplary embodiment;
Figure 11 is an a kind of structural schematic diagram of tripper for terminal shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
As shown in Figure 1, Fig. 1 is a kind of unlocking method of terminal shown according to an exemplary embodiment, the solution of the terminal Locking method is in terminal, comprising the following steps:
In a step 101, obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
In the present embodiment, at the time of user wakes up terminal and locking terminal, when can be respectively that user wants using terminal At the time of lighting terminal screen and at the time of user no longer needs to close terminal screen when using terminal.The system of terminal can be with In user's using terminal, recording user respectively from the background, this wakes up the first moment and the last time locking terminal of terminal The second moment, then calculate the time difference at the first moment and the second moment, by the time difference be set as user locally wake up eventually At the time of end.
For example, by taking the terminal is smart phone as an example, it, can be similar by pressing when user will use smart phone Light screen in the physical button of power key, when user does not use smart phone, can also by pressing power key come Close screen.Wherein, when user lights screen by pressing power key, it can trigger to the system of terminal and send a wake-up eventually The trigger signal at end can also trigger to the system of terminal when user closes screen by pressing power key and send a closing The trigger signal of screen, therefore when realizing, first moment can receive wake-up in backstage record for terminal system At the time of the trigger signal of terminal, second moment can be terminal system in the touching for receiving closing screen recorded from the background At the time of signalling.After terminal successfully records the first moment and the second moment, the time difference of the two can be calculated, and will calculate Interval duration at the time of time difference out is as this wake-up terminal of user and at the time of the last locking terminal.
Certainly, when realizing, at the time of user wakes up terminal with interval duration at the time of the last locking terminal Can be achieved other ways, for example, can by be arranged timer, start timing when user's locking terminal, when user again The record value in timer is read when secondary wake-up terminal as the interval duration, is repeated no more.
In a step 102, the interval duration is compared with preset threshold, and is determined according to comparison result and is directed to institute State the unlock strategy of terminal.
In the present embodiment, whole with the last locking at the time of the system-computed of terminal goes out this wake-up terminal of user After interval duration at the time of end, which can be compared with preset threshold, then according to comparison result come really Fixed corresponding unlock strategy.Wherein, the preset threshold may include first threshold and second threshold;The first threshold is less than Second threshold.
When realizing, the first threshold can be set to a lesser value (such as 15 seconds), by second threshold Value is set as a biggish value (such as 60 seconds), terminal system can by the calculated interval duration first with the first threshold Value is compared, if the interval duration be less than or equal to first threshold, show user this wake up terminal at the time of with most Time interval at the time of nearly expendable locked terminal is very short, and terminal can skip unlocked step at this time, and directly unlock terminal, User, which can directly be authorized to, at this time enters terminal system operating handset.
If the interval duration is greater than first threshold, show to lock at the time of this wake-up terminal of user with the last Time interval at the time of determining terminal is longer, can further compare the interval duration with the second threshold at this time Compared with if the interval duration is greater than the first threshold and is less than or equal to second threshold, showing user, this wakes up terminal Time interval at the time of moment and the last locking terminal is between first threshold and second threshold, terminal system at this time Primary unlock interface can be exported on the interface of terminal, such as slides the interface of unlock, when user is by operating the primary Unlock interface complete unlock operation after, system is by terminal unlocking and authorized user enters terminal system operating handset.
If the interval duration is greater than second threshold, show that user may be separate during using terminal at this time Terminal, in this case, in order to protect the data safety of user in terminal, when the interval duration is greater than second threshold Afterwards, terminal system can export an advanced unlock interface on the interface of terminal, wherein the unlock of the advanced unlock interface Difficulty is greater than the primary unlock interface, such as the advanced unlock interface can be one when realizing and user is needed to input number The unlock interface of word password or gesture password completes certification when user passes through the advanced unlock interface, has input correct number After word password or gesture password, system is by terminal unlocking and authorized user enters terminal system operating handset.
In the present embodiment, the specific value and above-mentioned unlock strategy of the first threshold and second threshold can be by User carries out customized setting.For example, terminal system can be respectively set when realizing for the first threshold and second threshold One default value, then by interface display one of terminal for prompting the first threshold and institute of the user to system default It states the threshold value that second threshold is adjusted and adjusts option, user can be triggered by operating threshold value adjusting option to terminal system Backstage send adjustment instruction, terminal system can on backstage according to the adjustment instruction that receives to the first threshold and second Threshold value is adjusted.Same reason, can also be by interface display one of terminal for prompting user setting unlock strategy Setting options, user can be tactful come the corresponding unlock of customized setting by operating the setting options.
In the embodiment above, by obtaining user's wake-up terminal between at the time of and at the time of the last locking terminal Every duration, the interval duration is compared with preset threshold, and determines the unlock for being directed to the terminal according to comparison result Strategy, so that user during using terminal, can select different unlock strategies according to the interval duration, thus Improve the convenience that user unlocks operation during using terminal.
As shown in Fig. 2, Fig. 2 is the unlocking method of another terminal shown according to an exemplary embodiment, this method is used In terminal, the terminal can be smart phone, the described method comprises the following steps:
In step 201, obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
In the present embodiment, at the time of user wakes up terminal and locking terminal, when can be respectively that user wants using terminal At the time of lighting terminal screen and at the time of user no longer needs to close terminal screen when using terminal.The system of terminal can be with In user's using terminal, recording user respectively from the background, this wakes up the first moment and the last time locking terminal of terminal The second moment, then calculate the time difference at the first moment and the second moment, by the time difference be set as user locally wake up eventually At the time of end.
For example, by taking the terminal is smart phone as an example, it, can be similar by pressing when user will use smart phone Light screen in the physical button of power key, when user does not use smart phone, can also by pressing power key come Close screen.Wherein, when user lights screen by pressing power key, it can trigger to the system of terminal and send a wake-up eventually The trigger signal at end can also trigger to the system of terminal when user closes screen by pressing power key and send a closing The trigger signal of screen, therefore when realizing, first moment can receive wake-up in backstage record for terminal system At the time of the trigger signal of terminal, second moment can be terminal system in the touching for receiving closing screen recorded from the background At the time of signalling.After terminal successfully records the first moment and the second moment, the time difference of the two can be calculated, and will calculate Interval duration at the time of time difference out is as this wake-up terminal of user and at the time of the last locking terminal.
Certainly, when realizing, at the time of user wakes up terminal with interval duration at the time of the last locking terminal Can be achieved other ways, for example, can by be arranged timer, start timing when user's locking terminal, when user again The record value in timer is read when secondary wake-up terminal as the interval duration, is repeated no more.
In step 202, the interval duration is compared with the first threshold;
In step 203, when the interval duration is less than or equal to the first threshold, any unlocked step and straight is skipped Connect unlock terminal;
In step 204, when the interval duration is greater than the first threshold, by the interval duration and described second Threshold value is compared;
In step 205, defeated when the interval duration is greater than the first threshold and is less than or equal to the second threshold Out primary unlock interface and terminal is unlocked after user completes for the unlock operation of the primary unlock interface;When the interval When duration is greater than second threshold, exports advanced unlock interface and unlocked eventually after user completes the certification for the advanced unlock End.
In the present embodiment, whole with the last locking at the time of the system-computed of terminal goes out this wake-up terminal of user After interval duration at the time of end, which can be compared with preset threshold value, then according to comparison result come Determine corresponding unlock strategy.Wherein, the preset threshold may include first threshold and second threshold;The first threshold is small In second threshold.
When realizing, the first threshold can be set to a lesser value, such as 15 seconds, by the second threshold Be set as a biggish value, such as 60 seconds, terminal system can by the calculated interval duration first with first threshold Be compared, if the interval duration be less than or equal to first threshold, show user this wake up terminal at the time of with recently Time interval at the time of expendable locked terminal is very short, at this time may be due to, in operating terminal, having forgotten before user Something comes back to come again, for this scene, repeats to unlock when user lights screen again after closing screen To be very inconvenient, therefore terminal system can skip solution when judging that the interval duration is less than or equal to first threshold Lock-step is rapid, and directly unlocks terminal, and user, which can directly be authorized to, at this time enters terminal system operating handset.
If the interval duration is greater than first threshold, show to lock at the time of this wake-up terminal of user with the last Time interval at the time of determining terminal is longer, can further compare the interval duration with the second threshold at this time Compared with if the interval duration is greater than the first threshold and is less than or equal to second threshold, showing user, this wakes up terminal Time interval at the time of moment and the last locking terminal is between first threshold and second threshold, terminal system at this time Still primary unlock interface can be exported on the interface of terminal, such as slides the interface of unlock, when user should by operation After primary unlock interface completes unlock operation, system is by terminal unlocking and authorized user enters terminal system operating handset.
If the interval duration is greater than second threshold, show that user may be separate during using terminal at this time Terminal, in this case, in order to protect the data safety of user in terminal, when the interval duration is greater than second threshold Afterwards, terminal system can export an advanced unlock interface on the interface of terminal, wherein the unlock of the advanced unlock interface Difficulty is greater than the primary unlock interface, for example, referring to Fig. 3, the advanced unlock interface can be a need when realizing The unlock interface for wanting user's input numerical ciphers or gesture password completes certification when user passes through the advanced unlock interface, defeated After having entered correct numerical ciphers or gesture password, system is by terminal unlocking and authorized user enters terminal system manipulator Machine.
In the present embodiment, the specific value and above-mentioned unlock strategy of the first threshold and second threshold are equal, can be with Customized setting is carried out by user.For example, terminal system can be set respectively when realizing for the first threshold and second threshold Set a default value, then by interface display one of terminal for prompting user to the first threshold of system default and The threshold value that the second threshold is adjusted adjusts option, and user can be triggered by operating threshold value adjusting option to terminal system The backstage of system sends adjustment instruction, terminal system can on backstage according to the adjustment instruction received to the first threshold and the Two threshold values are adjusted.For example, referring to Fig. 4, the threshold value, which adjusts option, can be one when realizing as illustrated in FIG. 4 " setting of quick release time " user option, the user option include two can be carried out by user sliding adjustment rollings Item respectively corresponds " quick release time " (i.e. first threshold) and " quick release time-out time " (i.e. second threshold), Yong Huke By sliding above-mentioned scroll bar to the default duration (being illustrated as 15s) and " quick release time-out of " quick release time " Between " default duration (being illustrated as 60s) be adjusted.
Same reason, can also be by interface display one of terminal for prompting the setting of user setting unlock strategy Option, user can be no longer described in detail by operating the setting options come the corresponding unlock strategy of customized setting.
In the embodiment above, by obtaining user's wake-up terminal between at the time of and at the time of the last locking terminal Every duration, the interval duration is compared with preset threshold, when the interval duration is less than or equal to the first threshold, It closes default unlock interface and unlocks terminal;When the interval duration is greater than the first threshold, further by the interval Duration is compared with the second threshold, if the interval duration is less than or equal to the second threshold, exports primary Unlock interface simultaneously unlocks terminal after user completes for the unlock operation of the primary unlock interface;If the interval duration When greater than second threshold, exports high-level interface and unlock terminal after user completes the certification for the high-level interface, thus User can select different unlock strategies according to the interval duration, at the interval during using terminal When length is less than or equal to first threshold, does not need to be unlocked operation, be directly entered terminal system;It is greater than the in the interval duration When one threshold value is less than second threshold, primary unlock interface is exported, user completes the unlock behaviour for the primary unlock interface Terminal can be unlocked after work enters terminal system;When the interval duration is greater than second threshold, advanced unlock interface is exported, and Terminal can be just unlocked to carry out terminal system, so that user after user completes the certification for the advanced unlock interface During using terminal, under the premise of guaranteeing the safety of user data, user is improved in the process of using terminal The convenience of middle unlock operation.
Corresponding with the unlocking method embodiment of aforementioned terminals, the disclosure additionally provides the implementation of the tripper of terminal Example.
Fig. 5 is a kind of schematic block diagram of the tripper of terminal shown according to an exemplary embodiment.
As shown in figure 5, a kind of tripper 500 of terminal shown according to an exemplary embodiment, comprising: obtain module 501, determining module 502;Wherein:
The acquisition module 501 is configured as, obtain at the time of user wakes up terminal with the last locking terminal when The interval duration at quarter;
The determining module 502 is configured as, and the interval duration is compared with preset threshold, and is tied according to comparing Fruit determines the unlock strategy for being directed to the terminal.
In the embodiment above, by obtaining user's wake-up terminal between at the time of and at the time of the last locking terminal Every duration, the interval duration is compared with preset threshold, and determines the unlock for being directed to the terminal according to comparison result Strategy, so that user during using terminal, can select different unlock strategies according to the interval duration, thus Improve the convenience that user unlocks operation during using terminal.
Fig. 6 is referred to, Fig. 6 is the tripper frame of the disclosure another terminal shown according to an exemplary embodiment Figure, the embodiment on the basis of aforementioned embodiment illustrated in fig. 5, the acquisition module 501 may include record sub module 501A, Computational submodule 501B and setting submodule 501C;Wherein:
The record sub module 501A is configured as, record receive wake up terminal trigger signal the first moment and The last time receives the second moment of the trigger signal of locking terminal
The computational submodule 501B is configured as, and calculates the time difference at first moment and second moment;
The setting submodule 501C is configured as, and sets the interval duration for the time difference.
Fig. 7 is referred to, Fig. 7 is the tripper frame of the disclosure another terminal shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 5, preset threshold includes first threshold;The determining module 502 can To include the first Comparative sub-module 502A, the first unlock submodule 502B;Wherein:
The first Comparative sub-module 502A is configured as, and the interval duration is compared with the first threshold;
The first unlock submodule 502B is configured as, when the interval duration is less than or equal to the first threshold, It skips any unlocked step and directly unlocks terminal.
It should be noted that the first Comparative sub-module 502A shown in above-mentioned Installation practice shown in Fig. 7, the first solution The structure of lock submodule 502B also may be embodied in the Installation practice of earlier figures 6, be not limited to this disclosure.
Fig. 8 is referred to, Fig. 8 is the tripper frame of the disclosure another terminal shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 7, the preset threshold further includes second threshold;Wherein described Two threshold values are greater than the first threshold;The determining module 502 can also include the second Comparative sub-module 502C, the second unlock Module 502D;Wherein
The second Comparative sub-module 502C is configured as, when the interval duration is greater than the first threshold, into one The interval duration is compared by step with the second threshold;
The second unlock submodule 502D is configured as, be greater than the first threshold in the interval duration and be less than etc. When the second threshold, primary unlock interface is exported and after user completes for the unlock operation of the primary unlock interface Unlock terminal.
It should be noted that the second Comparative sub-module 502C shown in above-mentioned Installation practice shown in Fig. 8, the second solution The structure of lock submodule 502D also may be embodied in the Installation practice of earlier figures 5-6, be not limited to this disclosure.
Fig. 9 is referred to, Fig. 9 is the tripper frame of the disclosure another terminal shown according to an exemplary embodiment Figure, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 8, the determining module 502 can also include that third unlocks submodule Block 502E;Wherein
The third unlock submodule 502E is configured as, and when the interval duration is greater than second threshold, is exported advanced Unlock interface simultaneously unlocks terminal after user completes the certification for the advanced unlock interface;Wherein, advanced unlock circle The unlock difficulty in face is greater than the primary unlock interface.
It should be noted that the structure of the unlock of third shown in above-mentioned Installation practice shown in Fig. 9 submodule 502E Also it may be embodied in the Installation practice of earlier figures 5-7, this disclosure be not limited.
0, Figure 10 is the tripper frame of the disclosure another terminal shown according to an exemplary embodiment referring to Figure 1 Figure, the embodiment is on the basis of aforementioned embodiment illustrated in fig. 5, the first threshold, second threshold and corresponding unlock strategy It is customized for user;Described device 500 can also include display module 503, receiving module 504, adjustment module 505;Wherein
The display module 503 is configured as, and adjusts option by default interface display threshold value;The threshold value adjusts option For prompting user to be adjusted the first threshold of system default and the second threshold;
The receiving module 504 is configured to the adjustment that reception user adjusts option input for the threshold value and refers to It enables;
The adjustment module 505 is configured as, according to the adjustment instruction received to the first threshold and the second threshold of default Value is adjusted.
It should be noted that display module 503 shown in above-mentioned Installation practice shown in Fig. 10, receiving module 504, The structure of adjustment module 505 also may be embodied in the Installation practice of earlier figures 6-9, be not limited to this disclosure.
Wherein, in the above various embodiments, the unlocker device can be wearable for low-power consumption bluetooth BLE equipment or intelligence Equipment.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure also provides a kind of tripper of terminal, the tripper of the terminal includes:
Processor;Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
The interval duration is compared with preset threshold, and determines the unlock for being directed to the terminal according to comparison result Strategy.
Correspondingly, the disclosure also provides a kind of terminal, the terminal include memory and one or more than one Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one Managing device and executing the one or more programs includes the instruction for performing the following operation:
Obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
The interval duration is compared with preset threshold, and determines the unlock for being directed to the terminal according to comparison result Strategy.
Figure 11 is a kind of structural schematic diagram of the tripper of terminal shown according to an exemplary embodiment.
As shown in figure 11, the tripper 1100 of a kind of terminal shown according to an exemplary embodiment, the device 1100 It can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, Body-building equipment, personal digital assistant etc..
Referring to Fig.1 1, device 1100 may include following one or more components: processing component 1101, memory 1102, Power supply module 1103, multimedia component 1104, audio component 1105, the interface 1106 of input/output (I/O), sensor module 1107 and communication component 1108.
The integrated operation of the usual control device 1100 of processing component 1101, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1101 may include one or more processors 1109 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1101 may include one or more moulds Block, convenient for the interaction between processing component 1101 and other assemblies.For example, processing component 1101 may include multi-media module, To facilitate the interaction between multimedia component 1104 and processing component 1101.
Memory 1102 is configured as storing various types of data to support the operation in device 1100.These data Example includes the instruction of any application or method for operating on device 1100, contact data, telephone book data, Message, picture, video etc..Memory 1102 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1103 provides electric power for the various assemblies of device 1100.Power supply module 1103 may include power management System, one or more power supplys and other with for device 1100 generate, manage, and distribute the associated component of electric power.
Multimedia component 1104 includes the screen of one output interface of offer between described device 1100 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1104 includes a front camera and/or rear camera.When device 1100 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1105 is configured as output and/or input audio signal.For example, audio component 1105 includes a wheat Gram wind (MIC), when device 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1102 or via communication Component 1108 is sent.In some embodiments, audio component 1105 further includes a loudspeaker, is used for output audio signal.
I/O interface 1102 provides interface, above-mentioned peripheral interface module between processing component 1101 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1107 includes one or more sensors, and the state for providing various aspects for device 1100 is commented Estimate.For example, sensor module 1107 can detecte the state that opens/closes of device 1100, the relative positioning of component, such as institute The display and keypad that component is device 1100 are stated, sensor module 1107 can be with detection device 1100 or device 1,100 1 The position change of a component, the existence or non-existence that user contacts with device 1100,1100 orientation of device or acceleration/deceleration and dress Set 1100 temperature change.Sensor module 1107 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1107 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1108 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1100,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1108 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1108 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1102 of instruction, above-metioned instruction can be executed by the processor 1109 of device 1100 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Wherein, when the instruction in the storage medium is executed by the processor of mobile terminal, enable mobile terminal Execute a kind of unlocking method of terminal, comprising:
Obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
The interval duration is compared with preset threshold, and determines the unlock for being directed to the terminal according to comparison result Strategy.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (11)

1. a kind of unlocking method of terminal, which is characterized in that the described method includes:
Obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
The interval duration is compared with preset threshold, and determines the unlock plan for being directed to the terminal according to comparison result Slightly;Wherein, the unlock strategy includes directly unlocking the end when the interval duration is less than or equal to the first preset threshold End;When the interval duration is greater than the first preset threshold and is less than or equal to the second preset threshold, primary unlock interface is exported;With And when the interval duration is greater than second threshold, export advanced unlock interface;Second preset threshold is greater than described first Preset threshold;The unlock difficulty of the advanced unlock interface is greater than the primary unlock interface.
2. the method as described in claim 1, which is characterized in that it is described to be compared the interval duration with preset threshold, And determine that the unlock strategy for the terminal includes: according to comparison result
The interval duration is compared with first preset threshold;
When the interval duration is less than or equal to first preset threshold, skips any unlocked step and directly unlock terminal.
3. method according to claim 2, which is characterized in that the method also includes:
When the interval duration is greater than first preset threshold, the interval duration and second preset threshold are carried out Compare;
When the interval duration is greater than first preset threshold and is less than or equal to second preset threshold, primary solution is exported Lock interface simultaneously unlocks terminal after user completes for the unlock operation of the primary unlock interface.
4. method as claimed in claim 3, which is characterized in that the method also includes:
When the interval duration is greater than the second preset threshold, exports advanced unlock interface and complete in user for described advanced Terminal is unlocked after the certification of unlock interface.
5. the method as described in claim 1, which is characterized in that first preset threshold, the second preset threshold and corresponding Unlock strategy is that user is customized.
6. a kind of tripper of terminal, which is characterized in that described device includes:
Module is obtained, interval duration at the time of for obtaining user's wake-up terminal and at the time of the last locking terminal;
Determining module is determined for the interval duration to be compared with preset threshold, and according to comparison result for described The unlock strategy of terminal;Wherein, the unlock strategy includes when the interval duration is less than or equal to the preset threshold, directly Unlock the terminal;When the interval duration is greater than the first preset threshold and is less than or equal to the second preset threshold constantly, output is just Grade unlock interface;And when the interval duration is greater than second threshold, export advanced unlock interface;The second default threshold Value is greater than first preset threshold;The unlock difficulty of the advanced unlock interface is greater than the primary unlock interface.
7. device as claimed in claim 6, which is characterized in that the determining module includes:
First Comparative sub-module, for the interval duration to be compared with first preset threshold;
First unlock submodule, for skipping any unlock when the interval duration is less than or equal to first preset threshold Step simultaneously directly unlocks terminal.
8. device as claimed in claim 7, which is characterized in that the determining module further include:
Second Comparative sub-module is used for when the interval duration is greater than first preset threshold, further by the interval Duration is compared with second preset threshold;
Second unlock submodule, for being greater than first preset threshold in the interval duration and being less than or equal to described second in advance If when threshold value, exporting primary unlock interface and being unlocked eventually after user completes for the unlock operation of the primary unlock interface End.
9. device as claimed in claim 8, which is characterized in that the determining module further include:
Third unlocks submodule, for when the interval duration is greater than the second preset threshold, export advanced unlock interface and User unlocks terminal after completing the certification for the advanced unlock interface.
10. device as claimed in claim 6, which is characterized in that first preset threshold, the second preset threshold and corresponding Unlock strategy is that user is customized.
11. a kind of tripper of terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain at the time of user wakes up terminal with interval duration at the time of the last locking terminal;
The interval duration is compared with preset threshold, and determines the unlock plan for being directed to the terminal according to comparison result Slightly;Wherein, the unlock strategy includes directly unlocking the end when the interval duration is less than or equal to the first preset threshold End;When the interval duration is greater than the first preset threshold and is less than or equal to the second preset threshold, primary unlock interface is exported;With And when the interval duration is greater than second threshold, export advanced unlock interface;Second preset threshold is greater than described first Preset threshold;The unlock difficulty of the advanced unlock interface is greater than the primary unlock interface.
CN201410692459.2A 2014-11-26 2014-11-26 The unlocking method and a device of terminal Active CN104376239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410692459.2A CN104376239B (en) 2014-11-26 2014-11-26 The unlocking method and a device of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410692459.2A CN104376239B (en) 2014-11-26 2014-11-26 The unlocking method and a device of terminal

Publications (2)

Publication Number Publication Date
CN104376239A CN104376239A (en) 2015-02-25
CN104376239B true CN104376239B (en) 2019-02-12

Family

ID=52555143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410692459.2A Active CN104376239B (en) 2014-11-26 2014-11-26 The unlocking method and a device of terminal

Country Status (1)

Country Link
CN (1) CN104376239B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105184127B (en) * 2015-08-31 2019-02-22 小米科技有限责任公司 The method and apparatus for unlocking terminal screen
CN106716297B (en) * 2015-12-31 2019-11-05 华为技术有限公司 A kind of method, apparatus and touch screen terminal of fingerprint recognition
CN106022062B (en) * 2016-05-27 2020-01-21 Oppo广东移动通信有限公司 Unlocking method and mobile terminal
CN106095469B (en) * 2016-07-27 2020-06-16 维沃移动通信有限公司 Mobile terminal unlocking method and mobile terminal
CN106778143A (en) * 2017-01-17 2017-05-31 广东欧珀移动通信有限公司 Mobile terminal unlocking method, device and mobile terminal
CN107613129B (en) * 2017-09-28 2021-01-12 Oppo广东移动通信有限公司 Unlocking method and related product
CN107643871A (en) * 2017-10-13 2018-01-30 广东欧珀移动通信有限公司 Control method for screen display, device, storage medium and mobile terminal
CN108121922B (en) * 2017-11-29 2021-08-10 华勤技术股份有限公司 Information display method and electronic equipment
CN109117616B (en) * 2018-08-02 2021-03-02 Oppo广东移动通信有限公司 Verification method and device, electronic equipment and computer readable storage medium
CN109784014B (en) * 2018-12-12 2020-06-02 维沃移动通信有限公司 Screen unlocking method and terminal equipment
CN110400562B (en) * 2019-06-24 2022-03-22 歌尔科技有限公司 Interactive processing method, device, equipment and audio equipment
CN110334529B (en) * 2019-06-24 2021-11-05 歌尔科技有限公司 Data processing method, device, equipment, system and audio equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394974A (en) * 2011-10-25 2012-03-28 中兴通讯股份有限公司 Processing method and device for locking terminal
CN103019521A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for screen off of mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841755B (en) * 2012-08-28 2017-07-07 广东欧珀移动通信有限公司 A kind of unlocking method and system of mobile communication terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394974A (en) * 2011-10-25 2012-03-28 中兴通讯股份有限公司 Processing method and device for locking terminal
CN103019521A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for screen off of mobile terminal

Also Published As

Publication number Publication date
CN104376239A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104376239B (en) The unlocking method and a device of terminal
KR101772622B1 (en) method, apparatus, electronic device, program and recording medium for controlling state of terminal screen
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
US10610152B2 (en) Sleep state detection method, apparatus and system
EP3239881A1 (en) Unlocking method and apparatus
CN104484799B (en) Method of payment and device
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN104794382A (en) Application starting method and device
CN103841264A (en) Method and device for protecting terminal equipment and terminal equipment
CN104156071A (en) Method and device for setting screen password and unlocking screen
CN104298547A (en) Terminal setting method and device
CN105678133A (en) Terminal unlocking method and device
CN106357934A (en) Screen-locking control method and device
CN104460185A (en) Automatic focusing method and device
CN104331228A (en) Screen locking method and device
CN105530384A (en) Method and device for power reminding based on alarm clock
CN106385488B (en) Restore the method and device of normal mode of operation
CN108133180A (en) Fingerprint identification method, device and terminal
CN107515749A (en) Starting-up method, device and the electronic equipment of electronic equipment
CN104965645A (en) Unlocking method and apparatus
CN106503516A (en) Terminal, unlocked by fingerprint method and device
CN105824474A (en) Control method and device as well as mobile equipment
CN105390120A (en) Bright screen control method and device
CN107168821A (en) Data back up method and device
CN105094915B (en) reset processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant