CN105141750B - A kind of screen locking method and terminal - Google Patents

A kind of screen locking method and terminal Download PDF

Info

Publication number
CN105141750B
CN105141750B CN201510386721.5A CN201510386721A CN105141750B CN 105141750 B CN105141750 B CN 105141750B CN 201510386721 A CN201510386721 A CN 201510386721A CN 105141750 B CN105141750 B CN 105141750B
Authority
CN
China
Prior art keywords
fingerprint
screen locking
grade
control information
screen
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
CN201510386721.5A
Other languages
Chinese (zh)
Other versions
CN105141750A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510386721.5A priority Critical patent/CN105141750B/en
Publication of CN105141750A publication Critical patent/CN105141750A/en
Application granted granted Critical
Publication of CN105141750B publication Critical patent/CN105141750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of screen locking method and terminals.Method therein includes:When detecting the fingerprint screen locking request for terminal, the input duration of inputted screen locking fingerprint and the screen locking fingerprint is obtained;Fingerprint grade according to belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint;Obtain the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint;Screen locking operation is performed to the terminal according to acquired screen locking control information.The embodiment of the present invention also accordingly discloses a kind of terminal.Using the present invention, different screen locking control information can be obtained by the input duration of screen locking fingerprint, reduce the complexity of user's operation, while also improve the flexibility of terminal screen locking control.

Description

A kind of screen locking method and terminal
Technical field
The present invention relates to terminal control field more particularly to a kind of screen locking method and terminals.
Background technology
Fingerprint identification technology is a kind of by the way that the fingerprint of typing and the fingerprint pre-saved are compared, to verify typing The identification technology of person's identity.With the development of Intelligent Terminal and the promotion of fingerprint identification technology, more and more terminals start It supports fingerprint identification technology and is applied in the management of terminal applies.
The maloperation of terminal in order to prevent, current most of terminal all have the function of screen locking, at present, terminal are locked Screen mainly employs following three kinds of modes:The first, terminal screen locking is carried out by user by pressing the screen locking button of terminal; Second, function is locked screen automatically by unlatching in being set in terminal by user and selects to lock screen automatically the time, when terminal detects For terminal within the default screen locking time during any operation of no progress, meeting automatic control terminal carries out screen locking;The third is by user Screen locking is carried out by fingerprint identification device.It is moved since terminal may need execution to carry out other operations simultaneously when carrying out screen locking Start offline mode etc. when making, such as returning to while screen locking main screen or screen locking, although and aforesaid way can be real Existing screen locking function, but can only before screen locking manually by way of terminal is configured to complete other actions, increase The complexity of user's operation, while also reduce the flexibility of terminal screen locking control.
The content of the invention
The embodiment of the present invention provides a kind of screen locking method and terminal, can be obtained not by the input duration of screen locking fingerprint With screen locking control information, the complexity of user's operation is reduced, while also improves the flexibility of terminal screen locking control.
An embodiment of the present invention provides a kind of screen locking method, including:
When detecting the fingerprint screen locking request for terminal, inputted screen locking fingerprint and the screen locking fingerprint are obtained Input duration;
Fingerprint grade according to belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint;
Obtain the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint;
Screen locking operation is performed to the terminal according to acquired screen locking control information.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, including:
Duration acquiring unit is inputted, for when detecting the fingerprint screen locking request for terminal, obtaining inputted lock Shield the input duration of fingerprint and the screen locking fingerprint;
Determination unit, for fingerprint belonging to determining the screen locking fingerprint according to the input duration of the screen locking fingerprint etc. Grade;
Screen locking control information acquiring unit, for obtaining the corresponding screen locking control of fingerprint grade belonging to the screen locking fingerprint Information processed;
Screen locking execution unit, for performing screen locking operation to the terminal according to acquired screen locking control information.
Using the embodiment of the present invention, when detecting the fingerprint screen locking request for terminal, can be inputted by obtaining Screen locking fingerprint and the screen locking fingerprint input duration, and determine that the screen locking refers to according to the input duration of the screen locking fingerprint Then fingerprint grade belonging to line obtains the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint, with area Divide different screen locking control information, screen locking operation is finally performed to the terminal according to acquired screen locking control information, is passed through The input duration of screen locking fingerprint obtains different screen locking control information and need not carry out other selection operations, reduces user's operation Complexity, judge that screen locking that terminal should perform operates according to input duration, improve terminal screen locking control it is flexible Property.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of screen locking method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another screen locking method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another terminal provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of determination unit provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work Example, belongs to the scope of protection of the invention.
In all examples below, terminal can include smart mobile phone, tablet computer, laptop, palm PC with And mobile internet device (Mobile Internet Device, MID) etc..
Fig. 1 is refer to, is a kind of flow diagram of screen locking method provided in an embodiment of the present invention, this method includes following Step S101-S104.
S101 when detecting the fingerprint screen locking request for terminal, obtains inputted screen locking fingerprint and the screen locking The input duration of fingerprint.
In the specific implementation, when detecting the fingerprint screen locking request for terminal, inputted screen locking fingerprint and institute are obtained State the input duration of screen locking fingerprint.Fingerprint identification technology is mapped a people with his fingerprint, by comparing his fingerprint It is compared with the fingerprint pre-saved, it is possible to verify his true identity.Everyone (including fingerprint) skin lines It is different on pattern, breakpoint and crosspoint, that is to say, that it is unique, and it is constant throughout one's life.In the present embodiment, Ask terminal that there is fingerprint identification function, in order to which user carries out fingerprint typing by the terminal.The fingerprint screen locking of terminal is asked Operated what is generated to terminal by user, for example, when terminal is in the state of non-screen locking, finger that user passes through terminal During line identification device typing fingerprint, the fingerprint identification device in terminal gets the fingerprint signal and generates fingerprint screen locking request hair Terminal handler is given, when terminal handler detects the fingerprint screen locking request for terminal, automatic obtain is known by fingerprint The screen locking fingerprint that other device is inputted, and pass through the input duration of fingerprint identification device acquisition screen locking fingerprint.
S102, the fingerprint grade according to belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint.
In the specific implementation, the fingerprint grade according to belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint. In the present embodiment, different terminal screen locking operations is mainly distinguished using the input duration of the screen locking fingerprint, due to each user There are error between the input duration of institute's screen locking fingerprint, therefore it can not judge the frequency locking of terminal by specifically inputting duration value Action type, thus according to need to according to the fingerprint grade belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint, Such as:During the input of frequency locking fingerprint when a length of 2 seconds, 4 seconds and 8 seconds, according to preset rules, a length of 2- when the input of frequency locking fingerprint When 4 seconds (not including 4 seconds), fingerprint grade is two level, when the input of frequency locking fingerprint, a length of 4-8 (includes 4 seconds) second, fingerprint etc. Grade is three-level, it can be seen that above-mentioned input duration corresponds to two level, two level and three-level respectively.
S103 obtains the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint.
In the specific implementation, obtain the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint.Work as basis After the input duration of the screen locking fingerprint determines the fingerprint grade belonging to the screen locking fingerprint, the identified screen locking will be utilized Fingerprint grade belonging to fingerprint obtains frequency locking control information, and in the present embodiment, frequency locking control information refers to carry out screen Other relevant operations etc. are performed while locking and lock-screen, by grade corresponding table can be controlled to be referred to according to the screen locking Fingerprint grade described in line obtains corresponding screen locking control information, such as when fingerprint grade is two level, reference grade control Screen is only is locked by corresponding table processed, and when fingerprint grade is three-level, reference grade control corresponding table for by screen into Line-locked to simultaneously close off screen display, this screen locking control information is not limited to above-mentioned institute's illustrated example, it is other can be in the terminal The operation performed simultaneously with screen locking action is also in the range of the present embodiment protection.
S104 performs the terminal screen locking operation according to acquired screen locking control information.
In the specific implementation, screen locking operation is performed to the terminal according to acquired screen locking control information.According to acquisition Screen locking control information performs terminal screen locking operation, in the present embodiment, can also the screen locking method can also be applied to solution Lock situation judges to unlock action type, to realize the unlock of terminal by unlocking the input duration of fingerprint.
Using the embodiment of the present invention, when detecting the fingerprint screen locking request for terminal, can be inputted by obtaining Screen locking fingerprint and the screen locking fingerprint input duration, and determine that the screen locking refers to according to the input duration of the screen locking fingerprint Then fingerprint grade belonging to line obtains the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint, with area Divide different screen locking control information, screen locking operation is finally performed to the terminal according to acquired screen locking control information, is passed through The input duration of screen locking fingerprint obtains different screen locking control information and need not carry out other selection operations, reduces user's operation Complexity, judge that screen locking that terminal should perform operates according to input duration, improve terminal screen locking control it is flexible Property.
Refer to Fig. 2, for the flow diagram of another unlocking method provided in an embodiment of the present invention, this method include with Lower step S201-S207.
S201 when detecting the fingerprint screen locking request for terminal, obtains inputted screen locking fingerprint and the screen locking The input duration of fingerprint.
In the specific implementation, when detecting the fingerprint screen locking request for terminal, inputted screen locking fingerprint and institute are obtained State the input duration of screen locking fingerprint.Fingerprint identification technology is mapped a people with his fingerprint, by comparing his fingerprint It is compared with the fingerprint pre-saved, it is possible to verify his true identity.Everyone (including fingerprint) skin lines It is different on pattern, breakpoint and crosspoint, that is to say, that it is unique, and it is constant throughout one's life.In the present embodiment, Ask terminal that there is fingerprint identification function, in order to which user carries out fingerprint typing by the terminal.The fingerprint screen locking of terminal is asked Operated what is generated to terminal by user, for example, when terminal is in the state of non-screen locking, finger that user passes through terminal During line identification device typing fingerprint, the fingerprint identification device in terminal gets the fingerprint signal and generates fingerprint screen locking request hair Terminal handler is given, when terminal handler detects the fingerprint screen locking request for terminal, automatic obtain is known by fingerprint The screen locking fingerprint that other device is inputted, and pass through the input duration of fingerprint identification device acquisition screen locking fingerprint.
S202, predetermined level control corresponding table, grade control corresponding table include at least one fingerprint grade and The corresponding screen locking control information of each fingerprint grade.
In the specific implementation, predetermined level controls corresponding table, the grade control corresponding table includes at least one fingerprint etc. Grade and the corresponding screen locking control information of each fingerprint grade, wherein, a fingerprint grade includes a fingerprint and inputs duration Threshold range.The fingerprint grade includes first level, second level and third level;The first level corresponds to the first screen locking Control information, the first screen locking control information are used to indicate carry out screen locking;The second level corresponds to the second screen locking control Information processed, the second screen locking control information are used to indicate carry out screen locking, and close screen while screen locking and show Show;The third level corresponds to the 3rd screen locking control information, and the 3rd screen locking control information, which is used to indicate, is first back to screen Main interface carries out shielding locking again.
In the present embodiment, the default grade control corresponding table is used to be obtained and fingerprint grade according to fingerprint grade Corresponding screen locking control information wherein each fingerprint grade includes a fingerprint input duration threshold range, such as refers to Line grade is that the fingerprint input duration threshold value that includes of level-one is 0-2 seconds (not including 2 seconds), and grade inputs for the fingerprint that includes of two level Duration threshold value is 2-4 seconds (not including 4 seconds comprising 2 seconds), and grade is that the fingerprint input duration threshold value that includes of three-level is 4-8 seconds (bags Containing 4 seconds), wherein first level corresponds to the first screen locking control information, and in the present embodiment, the first screen locking control information includes instruction Screen locking is carried out, when being inputted such as fingerprint at a length of 1 second, then corresponds to fingerprint grade as level-one, corresponding first screen locking control letter Breath includes instruction and carries out screen locking;Second level corresponds to the second screen locking control information, in the present embodiment, the second screen locking control Information includes instruction and carries out screen locking, and closes screen display while screen locking, a length of 3 seconds when being inputted such as fingerprint When, then fingerprint grade is corresponded to as two level, corresponding second screen locking control information includes instruction and carries out screen locking, and in screen lock Screen display is closed while determining;Third level corresponds to the 3rd screen locking control information, in the present embodiment, the 3rd screen locking control letter Breath includes indicating that be first back to screen main interface carries out shielding locking again, when inputting such as fingerprint at a length of 6 seconds, then corresponds to fingerprint etc. Grade is three-level, and corresponding 3rd screen locking control information includes indicating that be first back to screen main interface carries out shielding locking again.
S203 judges whether the screen locking fingerprint is to preset legal fingerprint.
In the specific implementation, judging whether the screen locking fingerprint is to preset legal fingerprint.In the present embodiment, in order to ensure end The security at end, it is necessary to control terminal operation permission, only by terminal be considered legal fingerprint can be to terminal Operation control is carried out, wherein, default legal fingerprint can be the user's sheet that can be used for control terminal reserved in the terminal The legal fingerprint of people or friend etc., by judging whether the screen locking fingerprint is to preset legal fingerprint, to verify the screen locking fingerprint User whether have permission to terminal carry out control operation.
S204 when the screen locking fingerprint is to preset legal fingerprint, controls corresponding table to determine institute according to the predetermined level State the fingerprint input duration threshold range where the input duration of screen locking fingerprint.
In the specific implementation, when the screen locking fingerprint is to preset legal fingerprint, corresponding table is controlled according to the predetermined level Determine the fingerprint input duration threshold range where the input duration of the screen locking fingerprint.When definite current screen locking fingerprint is pre- If during legal fingerprint, the fingerprint according to where predetermined level controls corresponding table to determine the input duration of the screen locking inputs duration threshold It is worth scope, such as when a length of 1 second when fingerprint inputting, it is determined that fingerprint input duration threshold value is 0-2 second (comprising 2 seconds) scopes, is referred to When a length of 3 seconds when line inputting, it is determined that fingerprint input duration threshold value is 2-4 seconds (do not include 2 seconds and include 4 seconds), when fingerprint inputs At a length of 6 seconds, it is determined that fingerprint input duration threshold value is 4-8 seconds (do not include 4 seconds and include 8 seconds) of second scope.
Fingerprint grade determined by fingerprint input duration threshold range is determined as belonging to the screen locking fingerprint by S205 Fingerprint grade.
Refer in the specific implementation, fingerprint grade determined by fingerprint input duration threshold range is determined as the screen locking Fingerprint grade belonging to line, as fingerprint input duration threshold value for 0-2 second (including 2 seconds) scopes when, then it is one to correspond to fingerprint grade Grade when fingerprint input duration threshold value is 2-4 seconds (do not include 2 seconds and include 4 seconds) of scope, then corresponds to fingerprint grade as two level, fingerprint When input duration threshold value is 4-8 seconds (do not include 4 seconds and include 8 seconds) of second scope, then fingerprint grade is corresponded to as three-level.
S206 obtains the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint.
In the specific implementation, obtain the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint.In this reality It applies in example, obtains the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint.When according to the screen locking fingerprint Input duration determine the fingerprint grade belonging to the screen locking fingerprint after, the finger belonging to the identified screen locking fingerprint will be utilized Line grade obtains frequency locking control information, and in the present embodiment, frequency locking control information refers to screen is locked and locked Other relevant operations etc. are performed while screen, corresponding table can be controlled by grade come the fingerprint according to the screen locking fingerprint Grade obtains corresponding screen locking control information, such as when fingerprint grade is two level, it is only that reference grade, which control corresponding table, Screen is locked, and when fingerprint grade is three-level, reference grade controls corresponding table as while screen is locked Screen display is closed, this screen locking control information is not limited to above-mentioned institute's illustrated example, other to be acted together with screen locking in the terminal The operation of Shi Zhihang is also in the range of the present embodiment protection.
S207 performs the terminal screen locking operation according to acquired screen locking control information.
In the specific implementation, screen locking operation is performed to the terminal according to acquired screen locking control information.According to acquisition Screen locking control information performs terminal screen locking operation, in the present embodiment, can also the screen locking method can also be applied to solution Lock situation judges to unlock action type, to realize the unlock of terminal by unlocking the input duration of fingerprint.
Using the embodiment of the present invention, when detecting the fingerprint screen locking request for terminal, inputted lock can be obtained Shield the input duration of fingerprint and the screen locking fingerprint, and predetermined level control corresponding table, to obtain and refer to according to fingerprint grade The opposite screen locking control information of line grade, in order to verify user right, by judging whether the screen locking fingerprint is default legal Fingerprint if whether the screen locking fingerprint is when presetting legal fingerprint, can control corresponding table true according to the predetermined level Fingerprint input duration threshold range where the input duration of the fixed screen locking fingerprint, and the fingerprint is inputted into duration threshold values model Fingerprint grade determined by enclosing is determined as the fingerprint grade belonging to the screen locking fingerprint, then the fingerprint according to belonging to screen locking fingerprint Grade obtains corresponding screen locking control information, and screen locking operation is performed to the terminal according to acquired screen locking control information, By judging whether screen locking fingerprint is to preset legal fingerprint, the security of terminal control operation is improved, passes through screen locking fingerprint Duration is inputted to obtain different screen locking control information and other selection operations need not be carried out, reduces the complexity of user's operation, And screen locking control information is obtained according to input duration, the trouble of manual setting screen locking control action is avoided, simplifies terminal The flow of screen locking control, improves the flexibility of terminal screen locking control.
Below in conjunction with Fig. 3-Fig. 5, describe in detail to terminal provided in an embodiment of the present invention.It should be noted that Terminal shown in Fig. 3-Fig. 5 for performing the method for Fig. 1 of the present invention and embodiment illustrated in fig. 2, for convenience of description, is only shown With relevant part of the embodiment of the present invention, particular technique details does not disclose, refer to Fig. 1 of the present invention and reality shown in Fig. 2 Apply example.
Fig. 3 is refer to, is a kind of structure diagram of terminal provided in an embodiment of the present invention, which includes such as placing an order Member:Input duration acquiring unit 11, determination unit 12, screen locking control information acquiring unit 13 and screen locking execution unit 14.
Duration acquiring unit 11 is inputted, for when detecting the fingerprint screen locking request for terminal, obtaining what is inputted The input duration of screen locking fingerprint and the screen locking fingerprint.
In the specific implementation, when detecting the fingerprint screen locking request for terminal, input duration acquiring unit 11 obtains institute The input duration of the screen locking fingerprint of input and the screen locking fingerprint.Fingerprint identification technology corresponds to a people with his fingerprint Come, be compared by comparing his fingerprint and the fingerprint pre-saved, it is possible to verify his true identity.Everyone (wraps Including including fingerprint) skin lines is different on pattern, breakpoint and crosspoint, that is to say, that it is unique, and throughout one's life not Become.In the present embodiment, it is desirable that terminal has fingerprint identification function, in order to which user carries out fingerprint typing by the terminal.Eventually The fingerprint screen locking request at end operates terminal to generate by user, for example, when terminal is in the state of non-screen locking When, when user is by the fingerprint identification device typing fingerprint of terminal, the fingerprint identification device in terminal gets the fingerprint signal And generate fingerprint screen locking request and be sent to terminal handler, when terminal handler detects the fingerprint screen locking request for terminal When, it is automatic to obtain the screen locking fingerprint inputted by fingerprint identification device, and screen locking fingerprint is obtained by fingerprint identification device Input duration.
Determination unit 12, for fingerprint belonging to determining the screen locking fingerprint according to the input duration of the screen locking fingerprint etc. Grade.
In the specific implementation, determination unit 12 is according to belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint Fingerprint grade.In the present embodiment, different terminal screen locking operations is mainly distinguished using the input duration of the screen locking fingerprint, by There are error between the input duration of each user institute screen locking fingerprint, therefore it can not judge end by specifically inputting duration value The frequency locking action type at end, therefore according to need to be according to the finger belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint Line grade, such as:During the input of frequency locking fingerprint when a length of 2 seconds, 4 seconds and 8 seconds, according to preset rules, when the input of frequency locking fingerprint During Shi Changwei 2-4 seconds (not including 4 seconds), fingerprint grade is two level, and when the input of frequency locking fingerprint, a length of 4-8 (includes 4 seconds) second When, fingerprint grade is three-level, it can be seen that above-mentioned input duration corresponds to two level, two level and three-level respectively.
Screen locking control information acquiring unit 13, for obtaining the corresponding screen locking of fingerprint grade belonging to the screen locking fingerprint Control information.
In the specific implementation, the fingerprint grade that screen locking control information acquiring unit 13 is obtained belonging to the screen locking fingerprint is corresponding Screen locking control information.After fingerprint grade belonging to determine the screen locking fingerprint according to the input duration of the screen locking fingerprint, Frequency locking control information, in the present embodiment, frequency locking will be obtained using the fingerprint grade belonging to the identified screen locking fingerprint Control information refers to be locked screen and lock-screen while performs other relevant operations etc., can be controlled by grade Corresponding table obtains corresponding screen locking control information according to the fingerprint grade described in the screen locking fingerprint, such as when fingerprint etc. When grade is two level, reference grade controls corresponding table only to lock screen, and when fingerprint grade is three-level, reference grade Corresponding table is controlled to close screen display while screen is locked, this screen locking control information is not limited to above-mentioned lifted Example, other operations that can be performed simultaneously with screen locking action in the terminal are also in the range of the present embodiment protection.
Screen locking execution unit 14, for performing screen locking operation to the terminal according to acquired screen locking control information.
It is grasped in the specific implementation, screen locking execution unit 14 performs screen locking according to acquired screen locking control information to the terminal Make.According to the screen locking control information of acquisition, screen locking operation is performed to terminal, it in the present embodiment, can also be by the screen locking method It can also be applied to unlock situation, judge to unlock action type by unlocking the input duration of fingerprint, to realize the solution of terminal Lock.
Using the embodiment of the present invention, when detecting the fingerprint screen locking request for terminal, can be inputted by obtaining Screen locking fingerprint and the screen locking fingerprint input duration, and determine that the screen locking refers to according to the input duration of the screen locking fingerprint Then fingerprint grade belonging to line obtains the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint, with area Divide different screen locking control information, screen locking operation is finally performed to the terminal according to acquired screen locking control information, is passed through The input duration of screen locking fingerprint obtains different screen locking control information and need not carry out other selection operations, reduces user's operation Complexity, judge that screen locking that terminal should perform operates according to input duration, improve terminal screen locking control it is flexible Property.
Fig. 4 is referred to, is the structure diagram an embodiment of the present invention provides another terminal.As shown in figure 4, the device It can include:Input duration acquiring unit 11, determination unit 12, screen locking control information acquiring unit 13, screen locking execution unit 14, Default unit 15 and judging unit 16.
Duration acquiring unit 11 is inputted, for when detecting the fingerprint screen locking request for terminal, obtaining what is inputted The input duration of screen locking fingerprint and the screen locking fingerprint.
In the specific implementation, when detecting the fingerprint screen locking request for terminal, input duration acquiring unit 11 obtains institute The input duration of the screen locking fingerprint of input and the screen locking fingerprint.Fingerprint identification technology corresponds to a people with his fingerprint Come, be compared by comparing his fingerprint and the fingerprint pre-saved, it is possible to verify his true identity.Everyone (wraps Including including fingerprint) skin lines is different on pattern, breakpoint and crosspoint, that is to say, that it is unique, and throughout one's life not Become.In the present embodiment, it is desirable that terminal has fingerprint identification function, in order to which user carries out fingerprint typing by the terminal.Eventually The fingerprint screen locking request at end operates terminal to generate by user, for example, when terminal is in the state of non-screen locking When, when user is by the fingerprint identification device typing fingerprint of terminal, the fingerprint identification device in terminal gets the fingerprint signal And generate fingerprint screen locking request and be sent to terminal handler, when terminal handler detects the fingerprint screen locking request for terminal When, it is automatic to obtain the screen locking fingerprint inputted by fingerprint identification device, and screen locking fingerprint is obtained by fingerprint identification device Input duration.
Default unit 15 controls corresponding table for predetermined level, and the grade control corresponding table includes at least one finger Line grade and the corresponding screen locking control information of each fingerprint grade.
In the specific implementation, default unit 15 controls corresponding table for predetermined level, the grade control corresponding table includes At least one fingerprint grade and the corresponding screen locking control information of each fingerprint grade, wherein, a fingerprint grade includes one A fingerprint inputs duration threshold range.The fingerprint grade includes first level, second level and third level;The first order Not Dui Ying the first screen locking control information, the first screen locking control information is used to indicate carry out screen locking;The second level Corresponding second screen locking control information, the second screen locking control information are used to indicate carry out screen locking, and in screen locking Simultaneously close off screen display;The third level corresponds to the 3rd screen locking control information, and the 3rd screen locking control information is used to refer to Show that be first back to screen main interface carries out shielding locking again.
In the present embodiment, the default grade control corresponding table is used to be obtained and fingerprint grade according to fingerprint grade Corresponding screen locking control information wherein each fingerprint grade includes a fingerprint input duration threshold range, such as refers to Line grade is that the fingerprint input duration threshold value that includes of level-one is 0-2 seconds (not including 2 seconds), and grade inputs for the fingerprint that includes of two level Duration threshold value is 2-4 seconds (not including 4 seconds comprising 2 seconds), and grade is that the fingerprint input duration threshold value that includes of three-level is 4-8 seconds (bags Containing 4 seconds), wherein first level corresponds to the first screen locking control information, and in the present embodiment, the first screen locking control information includes instruction Screen locking is carried out, when being inputted such as fingerprint at a length of 1 second, then corresponds to fingerprint grade as level-one, corresponding first screen locking control letter Breath includes instruction and carries out screen locking;Second level corresponds to the second screen locking control information, in the present embodiment, the second screen locking control Information includes instruction and carries out screen locking, and closes screen display while screen locking, a length of 3 seconds when being inputted such as fingerprint When, then fingerprint grade is corresponded to as two level, corresponding second screen locking control information includes instruction and carries out screen locking, and in screen lock Screen display is closed while determining;Third level corresponds to the 3rd screen locking control information, in the present embodiment, the 3rd screen locking control letter Breath includes indicating that be first back to screen main interface carries out shielding locking again, when inputting such as fingerprint at a length of 6 seconds, then corresponds to fingerprint etc. Grade is three-level, and corresponding 3rd screen locking control information includes indicating that be first back to screen main interface carries out shielding locking again.
Judging unit 16, for judging whether the screen locking fingerprint is to preset legal fingerprint.
In the specific implementation, judging unit 16 is used to judge whether the screen locking fingerprint is to preset legal fingerprint.In this implementation In example, in order to ensure the security of terminal, it is necessary to control terminal operation permission, legal fingerprint is only considered by terminal Can carry out operation control to terminal, wherein, default legal fingerprint can reserved in the terminal can be used for controlling The legal fingerprint of the user or friend of terminal processed etc. by judging whether the screen locking fingerprint is to preset legal fingerprint, come It verifies whether the user of the screen locking fingerprint has permission and control operation is carried out to terminal.
Determination unit 12, for when the screen locking fingerprint is to preset legal fingerprint, then performing according to the screen locking fingerprint Input duration determine fingerprint grade belonging to the screen locking fingerprint.
In the specific implementation, determination unit 12 is used to when the screen locking fingerprint is to preset legal fingerprint, then perform according to institute The input duration for stating screen locking fingerprint determines fingerprint grade belonging to the screen locking fingerprint.In the present embodiment, mainly using the lock Shield the input duration of fingerprint to distinguish different terminal screen locking operations, by being deposited between the input duration of each user institute screen locking fingerprint In error, therefore it can not judge the frequency locking action type of terminal by specifically inputting duration value, therefore according to need to be according to institute The input duration for stating screen locking fingerprint determines fingerprint grade belonging to the screen locking fingerprint, such as:A length of 2 during the input of frequency locking fingerprint Second, 4 seconds and at 8 seconds, according to preset rules, when (not comprising 4 seconds) 2-4 second a length of when the input of frequency locking fingerprint, fingerprint grade For two level, when the input of frequency locking fingerprint, a length of 4-8 (includes 4 seconds) second, fingerprint grade is three-level, it can be seen that above-mentioned Input duration corresponds to two level, two level and three-level respectively.
It is the structure diagram an embodiment of the present invention provides determination unit specifically, please with reference to Fig. 5.Such as Fig. 5 institutes Show, the determination unit 12 can include:Threshold range determination subelement 121 and fingerprint grade determination subelement 122.
Threshold range determination subelement 121, for according to the predetermined level corresponding table being controlled to determine the screen locking fingerprint Input duration where fingerprint input duration threshold range.
In the specific implementation, when the screen locking fingerprint is to preset legal fingerprint, corresponding table is controlled according to the predetermined level Determine the fingerprint input duration threshold range where the input duration of the screen locking fingerprint.When definite current screen locking fingerprint is pre- If during legal fingerprint, the fingerprint according to where predetermined level controls corresponding table to determine the input duration of the screen locking inputs duration threshold It is worth scope, such as when a length of 1 second when fingerprint inputting, it is determined that fingerprint input duration threshold value is 0-2 second (comprising 2 seconds) scopes, is referred to When a length of 3 seconds when line inputting, it is determined that fingerprint input duration threshold value is 2-4 seconds (do not include 2 seconds and include 4 seconds), when fingerprint inputs At a length of 6 seconds, it is determined that fingerprint input duration threshold value is 4-8 seconds (do not include 4 seconds and include 8 seconds) of second scope.
Fingerprint grade determination subelement 122, for the fingerprint to be inputted fingerprint grade determined by duration threshold range It is determined as the fingerprint grade belonging to the screen locking fingerprint.
In the specific implementation, the fingerprint is inputted finger determined by duration threshold range by fingerprint grade determination subelement 122 Line grade is determined as the fingerprint grade belonging to the screen locking fingerprint, if fingerprint input duration threshold value is 0-2 seconds (including 2 seconds) scopes When, then fingerprint grade is corresponded to as level-one, it is when fingerprint input duration threshold value is 2-4 seconds (do not include 2 seconds and include 4 seconds) of scope, then right Fingerprint grade is answered as two level, when fingerprint input duration threshold value is 4-8 seconds (do not include 4 seconds and include 8 seconds) of second scope, then corresponds to fingerprint Grade is three-level.
Screen locking control information acquiring unit 13, for obtaining the corresponding screen locking of fingerprint grade belonging to the screen locking fingerprint Control information.
In the specific implementation, the fingerprint grade that screen locking control information acquiring unit 13 is obtained belonging to the screen locking fingerprint is corresponding Screen locking control information.In the present embodiment, the corresponding screen locking control letter of fingerprint grade belonging to the screen locking fingerprint is obtained Breath.After fingerprint grade belonging to determine the screen locking fingerprint according to the input duration of the screen locking fingerprint, it will utilize and determine The screen locking fingerprint belonging to fingerprint grade obtain frequency locking control information, in the present embodiment, frequency locking control information refers to Screen is locked and lock-screen while performs other relevant operations etc., corresponding table can be controlled by grade come basis Fingerprint grade described in the screen locking fingerprint obtains corresponding screen locking control information, such as when fingerprint grade is two level, Reference grade controls corresponding table only to lock screen, and when fingerprint grade is three-level, reference grade control corresponding table Screen display is closed while for screen is locked, this screen locking control information is not limited to above-mentioned institute's illustrated example, other The operation that can be performed simultaneously with screen locking action in the terminal is also in the range of the present embodiment protection.
Screen locking execution unit 14, for performing screen locking operation to the terminal according to acquired screen locking control information.
It is grasped in the specific implementation, screen locking execution unit 14 performs screen locking according to acquired screen locking control information to the terminal Make.According to the screen locking control information of acquisition, screen locking operation is performed to terminal, it in the present embodiment, can also be by the screen locking method It can also be applied to unlock situation, judge to unlock action type by unlocking the input duration of fingerprint, to realize the solution of terminal Lock.
Using the embodiment of the present invention, when detecting the fingerprint screen locking request for terminal, inputted lock can be obtained Shield the input duration of fingerprint and the screen locking fingerprint, and predetermined level control corresponding table, to obtain and refer to according to fingerprint grade The opposite screen locking control information of line grade, in order to verify user right, by judging whether the screen locking fingerprint is default legal Fingerprint if whether the screen locking fingerprint is when presetting legal fingerprint, can control corresponding table true according to the predetermined level Fingerprint input duration threshold range where the input duration of the fixed screen locking fingerprint, and the fingerprint is inputted into duration threshold values model Fingerprint grade determined by enclosing is determined as the fingerprint grade belonging to the screen locking fingerprint, then the fingerprint according to belonging to screen locking fingerprint Grade obtains corresponding screen locking control information, and screen locking operation is performed to the terminal according to acquired screen locking control information, By judging whether screen locking fingerprint is to preset legal fingerprint, the security of terminal control operation is improved, passes through screen locking fingerprint Duration is inputted to obtain different screen locking control information and other selection operations need not be carried out, reduces the complexity of user's operation, And screen locking control information is obtained according to input duration, the trouble of manual setting screen locking control action is avoided, simplifies terminal The flow of screen locking control, improves the flexibility of terminal screen locking control.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent variations made according to the claims of the present invention, it is still within the scope of the present invention.

Claims (7)

1. a kind of screen locking method, which is characterized in that including:
When detecting the fingerprint screen locking request for terminal, the input of inputted screen locking fingerprint and the screen locking fingerprint is obtained Duration;
Fingerprint grade according to belonging to the input duration of the screen locking fingerprint determines the screen locking fingerprint;
Obtain the corresponding screen locking control information of fingerprint grade belonging to the screen locking fingerprint;
Screen locking operation is performed to the terminal according to acquired screen locking control information;
Wherein, the input duration according to the screen locking fingerprint determine the screen locking fingerprint belonging to fingerprint grade before, also Including:
Predetermined level controls corresponding table, and the grade control corresponding table includes at least one fingerprint grade and each refers to The corresponding screen locking control information of line grade;
Wherein, a fingerprint grade includes a fingerprint input duration threshold range;
Wherein, the fingerprint grade includes first level, second level and third level;
The first level corresponds to the first screen locking control information, and the first screen locking control information is used to indicate carry out screen lock It is fixed;
The second level corresponds to the second screen locking control information, and the second screen locking control information is used to indicate carry out screen lock It is fixed, and close screen display while screen locking;
The third level corresponds to the 3rd screen locking control information, and the 3rd screen locking control information, which is used to indicate, is first back to screen Main interface carries out shielding locking again.
2. according to the method described in claim 1, it is characterized in that, the input duration according to the screen locking fingerprint determines institute Before stating the fingerprint grade belonging to screen locking fingerprint, further include:
Judge whether the screen locking fingerprint is to preset legal fingerprint;
When the screen locking fingerprint is to preset legal fingerprint, performs and the screen locking is determined according to the input duration of the screen locking fingerprint The step of fingerprint grade belonging to fingerprint.
3. according to the method described in claim 2, it is characterized in that, the input duration according to the screen locking fingerprint determines institute The fingerprint grade belonging to screen locking fingerprint is stated, including:
Fingerprint according to where the predetermined level controls corresponding table to determine the input duration of the screen locking fingerprint inputs duration valve It is worth scope;
Fingerprint grade determined by fingerprint input duration threshold range is determined as to fingerprint belonging to the screen locking fingerprint etc. Grade.
4. a kind of terminal, which is characterized in that including:
Duration acquiring unit is inputted, for when detecting the fingerprint screen locking request for terminal, obtaining inputted screen locking and referring to The input duration of line and the screen locking fingerprint;
Determination unit, for the fingerprint grade belonging to determining the screen locking fingerprint according to the input duration of the screen locking fingerprint;
Screen locking control information acquiring unit, for obtaining the corresponding screen locking control letter of fingerprint grade belonging to the screen locking fingerprint Breath;
Screen locking execution unit, for performing screen locking operation to the terminal according to acquired screen locking control information;
Wherein, the terminal further includes:
Default unit controls corresponding table for predetermined level, and the grade control corresponding table includes at least one fingerprint grade, And the corresponding screen locking control information of each fingerprint grade;
Wherein, a fingerprint grade includes a fingerprint input duration threshold range;
Wherein, the fingerprint grade includes first level, second level and third level;
The first level corresponds to the first screen locking control information, and the first screen locking control information is used to indicate carry out screen lock It is fixed;
The second level corresponds to the second screen locking control information, and the second screen locking control information is used to indicate carry out screen lock It is fixed, and close screen display while screen locking;
The third level corresponds to the 3rd screen locking control information, and the 3rd screen locking control information, which is used to indicate, is first back to screen Main interface carries out shielding locking again.
5. terminal according to claim 4, which is characterized in that the terminal further includes:
Judging unit, for judging whether the screen locking fingerprint is to preset legal fingerprint;
The determination unit is used to, when the screen locking fingerprint is to preset legal fingerprint, perform the input according to the screen locking fingerprint Duration determines the step of fingerprint grade belonging to the screen locking fingerprint.
6. terminal according to claim 5, which is characterized in that the determination unit, including:
Threshold range determination subelement, for according to the predetermined level control corresponding table determine the input of the screen locking fingerprint when Fingerprint input duration threshold range where long;
Fingerprint grade determination subelement, for fingerprint grade determined by fingerprint input duration threshold range to be determined as institute State the fingerprint grade belonging to screen locking fingerprint.
7. a kind of computer read/write memory medium, which is characterized in that the computer read/write memory medium is stored with calculating Machine program, the computer program are used to that relevant hardware to be instructed to carry out the method described in perform claim 1 to 3 any one of requirement.
CN201510386721.5A 2015-06-30 2015-06-30 A kind of screen locking method and terminal Active CN105141750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510386721.5A CN105141750B (en) 2015-06-30 2015-06-30 A kind of screen locking method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510386721.5A CN105141750B (en) 2015-06-30 2015-06-30 A kind of screen locking method and terminal

Publications (2)

Publication Number Publication Date
CN105141750A CN105141750A (en) 2015-12-09
CN105141750B true CN105141750B (en) 2018-05-29

Family

ID=54726949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510386721.5A Active CN105141750B (en) 2015-06-30 2015-06-30 A kind of screen locking method and terminal

Country Status (1)

Country Link
CN (1) CN105141750B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786390A (en) * 2016-03-18 2016-07-20 深圳芯启航科技有限公司 Intelligent terminal and screen control device and method thereof
CN107944237B (en) * 2016-07-27 2021-04-06 Oppo广东移动通信有限公司 Fingerprint unlocking method and related product
CN108664200B (en) * 2018-05-15 2020-03-17 维沃移动通信有限公司 Display control method and mobile terminal
CN108762650A (en) * 2018-05-30 2018-11-06 Oppo广东移动通信有限公司 A kind of method, apparatus and computing device for extinguishing terminal screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853379A (en) * 2009-03-18 2010-10-06 Lg电子株式会社 The method of portable terminal and this portable terminal of control
CN103886237A (en) * 2014-03-26 2014-06-25 深圳市亚略特生物识别科技有限公司 Control method and system for electronic device with fingerprint sensor and touch screen
CN104331228A (en) * 2014-10-17 2015-02-04 小米科技有限责任公司 Screen locking method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125993A1 (en) * 2002-12-30 2004-07-01 Yilin Zhao Fingerprint security systems in handheld electronic devices and methods therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853379A (en) * 2009-03-18 2010-10-06 Lg电子株式会社 The method of portable terminal and this portable terminal of control
CN103886237A (en) * 2014-03-26 2014-06-25 深圳市亚略特生物识别科技有限公司 Control method and system for electronic device with fingerprint sensor and touch screen
CN104331228A (en) * 2014-10-17 2015-02-04 小米科技有限责任公司 Screen locking method and device

Also Published As

Publication number Publication date
CN105141750A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN110851809B (en) Fingerprint identification method and device and touch screen terminal
CN105141750B (en) A kind of screen locking method and terminal
CN105279402B (en) A kind of unlocking method and mobile terminal based on placed angle
CN104464647B (en) A kind of back light brightness regulating method and terminal
CN105825382A (en) Mobile payment method and electronic device
EP3163851A1 (en) User mode control method and system based on iris recognition technology for mobile terminal
CN105574388A (en) Touch screen terminal based unlocking method and apparatus and touch screen terminal
CN103605459A (en) Fast application launching method and fast application launching terminal
CN104866752B (en) A kind of application guard method and user terminal
CN108804006B (en) Unlocking method, device, equipment and storage medium for wearable equipment
CN104809402B (en) A kind of information fuzzy display methods and terminal
CN107609373A (en) A kind of terminal device and its method for safeguard protection
CN104036195A (en) Information processing method and device
CN105912896A (en) Application switching method and terminal
CN109410398A (en) A kind of unlocking method, device, door lock and storage medium
CN108170331A (en) A kind of double switching methods and relevant device for opening application
US20150047019A1 (en) Information processing method and electronic device
CN104506317A (en) An authentication method and device based on multiple authentication modes
CN105404802A (en) Authority configuration method and apparatus
WO2015184894A2 (en) Method and device for implementing multi-user login mode
CN106778160A (en) Data item display methods and device
CN106815502A (en) The method and apparatus for checking message
CN109493079A (en) Payment authentication method and equipment
CN106778344B (en) A kind of data permission control method and terminal
CN107786349B (en) Security management method and device for user account

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.