CN108733999A - A kind of unlocking method and device, terminal device and readable storage medium storing program for executing - Google Patents

A kind of unlocking method and device, terminal device and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108733999A
CN108733999A CN201810375264.3A CN201810375264A CN108733999A CN 108733999 A CN108733999 A CN 108733999A CN 201810375264 A CN201810375264 A CN 201810375264A CN 108733999 A CN108733999 A CN 108733999A
Authority
CN
China
Prior art keywords
face characteristic
image
display screen
object point
user
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.)
Pending
Application number
CN201810375264.3A
Other languages
Chinese (zh)
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201810375264.3A priority Critical patent/CN108733999A/en
Publication of CN108733999A publication Critical patent/CN108733999A/en
Pending legal-status Critical Current

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
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Abstract

The invention discloses a kind of unlocking method and device, terminal device and readable storage medium storing program for executing, wherein the unlocking method includes:Receive unlock instruction, first coordinate position of the control first object point in display screen;Obtain the first image when user is look at the first object point;The first pupil feature and the first face characteristic are determined according to described first image;If first pupil feature and the corresponding combination of first face characteristic, first in combinatorial libraries between preset pupil feature and face characteristic presets the matching degree between combining and is more than the first predetermined threshold value, responds the unlock instruction.For solving existing unlocking method, there are the relatively low technical problems of discrimination, improve the knowledge rate of unlocking method.

Description

A kind of unlocking method and device, terminal device and readable storage medium storing program for executing
Technical field
The present invention relates to electronic technology field, more particularly to a kind of unlocking method and device, terminal device and readable storage Medium.
Background technology
With the development of science and technology, there is the terminal device of various multifunction design.
In the prior art, in order to improve the safety of terminal device, the unlocking manner of existing terminal device has following several Kind, password unlock is generally composed of digital alphabet, is often easy to be cracked.Figure unlocks, for example, nine grids figure Unlock, if figure is too complicated, the troublesome and user that unlocks is not easy to remember.If figure is too simple, it is easy to be guessed by people.In addition, In releasing process, usually unlocking figure can stay for some time in face on a display screen, such as 1 second, it is easy to be seen by other people.
It is often unique since the biological characteristic of human body is that user itself possesses, in order to further increase unlock There is biological characteristic unlock in safety.Existing biological characteristic unlock has unlocked by fingerprint, vocal print unlock, face unlock, iris Unlock etc..For unlocked by fingerprint, user often uses a unlocked by fingerprint, all can be in the corresponding equipment of fingerprint capturer Fingerprints trace, and the finger mark left, it is easy to be replicated by criminal, pass through verification to forge fingerprint.For For vocal print unlock, once criminal imitates equipment owner, passes through verification to forge owner's sound using recording.For Face unlock for, since impacted factor is too many, such as expression, cosmetics use, accuracy is to be improved, and once Criminal uses the photo containing equipment owner, or the video image containing equipment owner, can pass through verification.People's Eye structure is made of the part such as sclera, iris, pupil crystalline lens, retina, wherein iris is positioned at black pupil and white Annular formations between sclera have the minutias such as many interlaced spot, filament, coronal, striped, crypts.And Iris will continue to have after prenatal development stage is formed in entire life course.These features determine iris spy The uniqueness of sign, while also determining the uniqueness of identification.Therefore, for iris unlock, iris unlock can be fast It is prompt easy and to be imitated by verification, it is also that can not unlock using the iris in photo.In contrast, iris unlocks Safety is higher.However, iris unlock is easily influenced by surrounding enviroment, for example, user's sight, light luminance, etc..Namely It says, the ability of iris unlock is relatively limited.
As it can be seen that there are the relatively low technical problems of discrimination for existing unlocking method.
Invention content
A kind of unlocking method and device of offer of the embodiment of the present invention, terminal device and readable storage medium storing program for executing, it is existing for solving With the presence of the relatively low technical problem of unlocking method discrimination, improve the discrimination of unlocking method.
On the one hand, an embodiment of the present invention provides a kind of unlocking methods, including:
Receive unlock instruction, first coordinate position of the control first object point in display screen;
Obtain the first image when user is look at the first object point;
The first pupil feature and the first face characteristic are determined according to described first image;
If first pupil feature and the corresponding combination of first face characteristic, with preset pupil feature and face The matching degree between the default combination of first in combinatorial libraries between feature is more than the first predetermined threshold value, responds the unlock instruction.
Optionally, before the first coordinate position of display screen, the method further includes control first object point:
Open front camera;
By the front camera, acquisition obtains the second image for the user;
If the second face characteristic of second image, the matching degree between preset face characteristic is more than the second default threshold Value, control the first object point the display screen first coordinate position.
Optionally, the first object point is controlled before first coordinate position of the display screen, the method Further include:
A graphical boxes are shown on the display screen, wherein the graphical boxes are for prompting user's adjustment and terminal The relative position of equipment room;
If the face characteristic quantity in the graphical boxes is more than third predetermined threshold value, acquires and obtain second image.
Optionally, if multiple combinations of the combinatorial libraries including the described first default combination and the second default combination, Wherein, the described second default combination is preset with described first combines difference, and the method further includes:
If first pupil feature and the corresponding combination of first face characteristic, preset with described first between combining Matching degree is more than first predetermined threshold value, and control second target point different from the first object point is in the display screen Second coordinate position;
Obtain the third image when user is look at second target point;
Determine the second pupil feature and third face characteristic of the third image;
If second pupil feature and the corresponding combination of the third face characteristic, preset with described second between combining Matching degree is more than first predetermined threshold value, responds the unlock instruction.
Optionally, the first object point is specially the object including at least specific shape and particular color.
On the other hand, the embodiment of the present invention additionally provides a kind of tripper, is applied to a terminal device, including:
First control unit, for receiving unlock instruction, first coordinate position of the control first object point in display screen;
First obtains unit, for obtaining the first image when user is look at the first object point;
First determination unit, for determining the first pupil feature and the first face characteristic according to described first image;
First response unit, it is and preset if first pupil feature and the corresponding combination of first face characteristic The matching degree between the default combination of first in combinatorial libraries between pupil feature and face characteristic is more than the first predetermined threshold value, responds institute State unlock instruction.
Optionally, first control unit controls first object point before the first coordinate position of display screen, described Device further includes:
Opening unit, for opening front camera;
First collecting unit, for by the front camera, acquisition to obtain the second image for the user;
Second control unit, if the second face characteristic of second image, with the matching degree between preset face characteristic More than the second predetermined threshold value, control the first object point the display screen first coordinate position.
Optionally, first control unit control the first object point the display screen first coordinate bit Before setting, described device further includes:
Display unit shows a graphical boxes for controlling the display screen, wherein the graphical boxes are for prompting the use Family adjusts the relative position between terminal device;
Second collecting unit acquires acquisition if the face characteristic quantity in the graphical boxes is more than third predetermined threshold value Second image.
Optionally, if multiple combinations of the combinatorial libraries including the described first default combination and the second default combination, Wherein, the described second default combination is preset with described first combines difference, and described device further includes:
Third control unit, if first pupil feature and the corresponding combination of first face characteristic, with described Matching degree between one default combination is more than first predetermined threshold value, control second target point different from the first object point In the second coordinate position of the display screen;
Second obtaining unit, for obtaining the third image when user is look at second target point;
Second determination unit, the second pupil feature for determining the third image and third face characteristic;
Second response unit, if second pupil feature and the corresponding combination of the third face characteristic, with described Matching degree between two default combinations is more than first predetermined threshold value, responds the unlock instruction.
On the other hand, the embodiment of the present invention additionally provides a kind of terminal device, and the terminal device includes processor, described The step of processor when executing the computer program stored in memory for realizing unlocking method as described above.
On the other hand, the embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, institute State the step of realizing unlocking method as described above when computer program is executed by processor.
Said one in the embodiment of the present invention or multiple technical solutions at least have following one or more technology effects Fruit:
In the technical solution of the embodiment of the present invention, unlock instruction is received, control first object point is the first of display screen Coordinate position;Obtain the first image when user is look at the first object point;The first pupil is determined according to described first image Hole characteristic and the first face characteristic;It is and preset if first pupil feature and the corresponding combination of first face characteristic Pupil feature and face characteristic between combinatorial libraries in the first default combination between matching degree be more than the first predetermined threshold value, response The unlock instruction.That is, being look in the arbitrary coordinate position of display screen to obtain user by control targe point The image when target point, then, by carrying out feature recognition to pupil of the user in the image under current behavior and face, Whether further determine to the unlock of terminal device, that is, verified in conjunction with the pupil behavioural characteristic and face characteristic of user Whether unlock, the discrimination of unlocking method is improved.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment.
Fig. 1 is a kind of method flow diagram of the unlocking method provided in the embodiment of the present invention one;
Fig. 2 is the step flow chart before step S101 in a kind of unlocking method provided in the embodiment of the present invention one;
Fig. 3 is in a kind of unlocking method provided in the embodiment of the present invention one in step:It is aobvious to control the first object point Show the step flow chart before first coordinate position of the display screen;
Fig. 4 is that graphical boxes are face frame in a kind of unlocking method provided in the embodiment of the present invention one, and mark point is red The schematic diagram of dot;
Fig. 5 is to include at least the first tongue-tied combination in combinatorial libraries in a kind of unlocking method provided in the embodiment of the present invention one With method flow diagram when the second default combination;
Fig. 6 is to provide a kind of structural schematic diagram of tripper in the embodiment of the present invention two.
Specific implementation mode
A kind of unlocking method and device of offer of the embodiment of the present invention, terminal device and readable storage medium storing program for executing, it is existing for solving With the presence of the relatively low technical problem of unlocking method discrimination, improve the discrimination of unlocking method.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present invention:
A kind of unlocking method is applied to a terminal device, including:
Receive unlock instruction, first coordinate position of the control first object point in display screen;
Obtain the first image when user is look at the first object point;
The first pupil feature and the first face characteristic are determined according to described first image;
If first pupil feature and the corresponding combination of first face characteristic, with preset pupil feature and face The matching degree between the default combination of first in combinatorial libraries between feature is more than the first predetermined threshold value, responds the unlock instruction.
In the technical solution of the embodiment of the present invention, unlock instruction is received, control first object point is the first of display screen Coordinate position;Obtain the first image when user is look at the first object point;The first pupil is determined according to described first image Hole characteristic and the first face characteristic;It is and preset if first pupil feature and the corresponding combination of first face characteristic Pupil feature and face characteristic between combinatorial libraries in the first default combination between matching degree be more than the first predetermined threshold value, response The unlock instruction.That is, being look in the arbitrary coordinate position of display screen to obtain user by control targe point The image when target point, then, by carrying out feature recognition to pupil of the user in the image under current behavior and face, Whether further determine to the unlock of terminal device, that is, verified in conjunction with the pupil behavioural characteristic and face characteristic of user Whether unlock, the discrimination of unlocking method is improved.
" first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing difference Object, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformation, it is intended that Non-exclusive include in covering.Such as process, method, system, product or the equipment for containing series of steps or unit do not have It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or further include optionally For the intrinsic other steps of these processes, method, product or equipment or unit.
" embodiment " is referred in me it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In embodiments of the present invention, terminal device can be the handheld device such as smart mobile phone, flat for including camera Plate computer, etc..It can also be wearable device, etc..In addition, the terminal device is in addition to including common preposition camera shooting Head is outer, can also include iris camera, etc..Wherein, front camera can obtain the iris feature of user, iris camera shooting Head can more accurately acquire the iris feature of user.In specific implementation process, the front camera of the terminal device It can also obtain while include the image of face characteristic and iris feature.Certainly, those skilled in the art can be according to user Actual use be accustomed to designing the photographic device that the terminal device is acquired user images, just differ a citing herein It illustrates.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than to the restriction of technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and embodiment In technical characteristic can be combined with each other.
Embodiment one
Referring to FIG. 1, the embodiment of the present invention one provides a kind of unlocking method, it is applied to a terminal device, including:
S101:Receive unlock instruction, first coordinate position of the control first object point in display screen;
S102:Obtain the first image when user is look at the first object point;
S103:The first pupil feature and the first face characteristic are determined according to described first image;
S104:If first pupil feature and the corresponding combination of first face characteristic, with preset pupil feature The matching degree between the default combination of first in combinatorial libraries between face characteristic is more than the first predetermined threshold value, responds the unlock and refers to It enables.
In specific implementation process, step S101 to step S104's the specific implementation process is as follows:
First, unlock instruction is received, for example, user operates for the unlock of solving locking key, for another example, user lifts terminal and sets The corresponding unlock instruction of the standby unlocking screen operation carried out, the verification operation institute that user carries out for payment button for another example Corresponding unlock instruction, etc..Then, first coordinate position of the control first object point in display screen, wherein first mesh Punctuate is specially the object including at least specific shape and particular color, for example, first object point is one round red Display object.For another example, the first object point is the display object of rectangular green.In addition, the first object point may be used also To be the display object with certain brightness value.For example, the corresponding brightness value of the first object point is 20.Certainly, this field Technical staff can also be accustomed to according to the actual use of user to design the shape of the first object point, color, brightness value, Size, etc., just differ one has been illustrated herein.In specific implementation process, first coordinate position can be described Any position of display screen, those skilled in the art can be accustomed to according to the actual use of user to select first coordinate bit It sets, just differ one has been illustrated herein.
Then, the first image when user is look at the first object point is obtained, wherein described first image can be One image, the image had not only included face characteristic but also had included pupil feature;Described first image can also be two images, than Such as, a facial image obtained for common camera acquisition, another pupil image obtained for the acquisition of iris camera, In, corresponding face characteristic can be determined by carrying out signature analysis to facial image, and carrying out signature analysis to pupil image can be with Determine corresponding pupil feature.For by taking described first image includes the first facial image and the first pupil image as an example, When the first object point is shown in the position apart from 30 ° of the display screen center upper right corner, once human eye watches described first attentively Target point, will obtain the first pupil image when human eye is look at the position in 30 ° of the display screen center upper right corner and First facial image.For another example, it is shown in apart from the position in 45 ° of the display screen center upper left corner in the first object point When setting, once human eye watches the first object point attentively, face will be obtained and be look at 45 ° of the display screen center upper left corner Pupil image when position and facial image.That is, once user watches the first object point attentively, user will be obtained and worked as Before watch pupil image and facial image under behavior attentively.
Then, according to the first pupil feature of the determination of described first image and the first face characteristic.It had been embodied Cheng Zhong, first pupil feature include the characteristic informations such as pupil angle, iris feature (pupil size).First face Feature is for example, relative distance and relative direction, eye spacing, face size, etc. between eyes figure, lip lines, face.
Then, by first pupil feature and the corresponding combination of first face characteristic, with preset pupil feature Each of combinatorial libraries between face characteristic, which close, carries out matching degree comparison.For example, being user in first pupil feature Gaze angle is 30 ° of the upper right corner, and iris feature A, first face is characterized as face feature B, then first pupil is special The corresponding gaze angle that is combined as of first face characteristic of seeking peace is 30 °, iris feature A of the upper right corner, the feature of face feature B Combination.For another example, be user's gaze angle in first pupil feature it is 45 ° of the lower left corner, iris feature C, described first Face characteristic is face feature D, then first pupil feature and first face characteristic is corresponding is combined as gaze angle For 45 °, iris feature C, face feature D of the feature combination in the lower left corner.Certainly, user is look at the first object point when institute It obtains the combination corresponding to first pupil feature and first face characteristic and can also be combination under other forms, This, which just differs, one has been illustrated.
In specific implementation process, at least one combination of the combinatorial libraries including the described first default combination.Institute It can be user when using the terminal device to state the combinatorial libraries between preset pupil feature and face characteristic, pre-stored Difference watch attentively in the case of pupil feature and face characteristic combination acquire and store for example, when user setting unlocking pin Difference watch attentively in the case of pupil feature and face characteristic combination.For example, user acquires when unlocking pin is arranged and stores use Pupil feature and face characteristic when family human eye is look at the target point a for appearing in 30 ° of display screen upper right corner coordinate position combine aa;User's human eye is look at pupil feature and face characteristic when the target point b for appearing in 45 ° of display screen upper left corner coordinate position Combine bb;User's human eye is look at pupil feature and face when the target point c for appearing in 60 ° of display screen lower left corner coordinate position Feature combines cc;User's human eye is look at the pupil feature and face characteristic group for appearing in 75 ° of display screen lower right corner coordinate position d Close dd.Certainly, in the case of user can watch attentively according to actual use custom come preset user's human eye difference, pupil feature and face Combination between feature, so obtain include the corresponding combination combinatorial libraries, just differ one has been illustrated herein.
If first pupil feature and the corresponding combination of first face characteristic, with preset pupil feature and face The matching degree between the default combination of first in combinatorial libraries between feature is more than the first predetermined threshold value, responds the unlock instruction.Its In, first predetermined threshold value can be specifically the numerical value of user's manual setting, can also be those skilled in the art according to Numerical value set by the actual use custom at family, for example, 90 percent.For giving a concrete illustration, noted in user's human eye When target point a depending on appearing in 30 ° of the display screen upper right corner, first pupil feature and first face characteristic pair of acquisition The combination ee answered, it is big that the feature in combinatorial libraries between preset pupil feature and face characteristic combines the characteristic matching degree between aa In 90 percent.Then, the unlock instruction is responded, realizes the unlock to the terminal device.For example, can be for aobvious The unlock of display screen can also be the unlock for gate inhibition, can also be the unlock, etc. for encryption folder, herein just not It has been illustrated one by one.
In embodiments of the present invention, in order to further improve the unlock efficiency for the terminal device, it is extra to avoid Idle work, referring to FIG. 2, in step S101:Receive unlock instruction, first coordinate bit of the control first object point in display screen Before setting, the method further includes:
S201:Open front camera;
S202:By the front camera, acquisition obtains the second image for the user;
S203:If the second face characteristic of second image, the matching degree between preset face characteristic is more than second Predetermined threshold value, control the first object point the display screen first coordinate position.
In specific implementation process, step S201 to step S203's the specific implementation process is as follows:
First, the front camera of the terminal device is opened;Wherein, the front camera can be common camera shooting Head can also be infrared camera, etc., and just differ one has been illustrated herein.Then, it by the front camera, adopts Collection obtains the second image for the user.If for example, the terminal device receives unlock instruction, the terminal is opened The front camera of equipment, the image current to user are acquired, and then obtain the second image for user.Then, it examines Whether the matching degree surveyed between the second face characteristic and preset face characteristic of second image is more than the second predetermined threshold value, In, second predetermined threshold value is specially user's pre-set characteristic threshold value of institute when the terminal device is encrypted, Can also be those skilled in the art according to user the set characteristic threshold value of actual use custom, for example, percent 95, just differ one has been illustrated herein.
If the second face characteristic of second image, it is pre- to be more than described second with the matching degree being preset between face characteristic If threshold value, control the first object point the display screen first coordinate position.If that is, the terminal is set It is standby to receive unlock instruction, then it opens the front camera and Image Acquisition is carried out to user, then, it is special to carry out preliminary face Sign detection, if the second face characteristic of second image currently acquired, the matching degree between preset face characteristic are big In second predetermined threshold value, then further, control the first object point the display screen first coordinate bit It sets, acquisition and the unlock of the first image when then carrying out being look at user the first object point again are verified.Specific real During applying, if the matching degree between second face characteristic and preset face characteristic is less than second predetermined threshold value, Authentication failed, and then unlock failure.Start the front camera due to before unlock is verified, first passing through and come institute to acquisition Second face characteristic stated in the second image is verified, and is verified, is further improved so as to avoid invalid unlock The efficiency of unlock verification.
In embodiments of the present invention, in order to further improve the accuracy of unlock verification, referring to FIG. 3, in step:Control The first object point is made before first coordinate position of the display screen, the method further includes:
S301:Show a graphical boxes on the display screen, wherein the graphical boxes for prompt user adjustment with Relative position between terminal device;
S302:If the face characteristic quantity in the graphical boxes is more than third predetermined threshold value, acquisition described second is acquired Image.
In specific implementation process, step S301 to step S302's the specific implementation process is as follows:
First, a graphical boxes are shown on the display screen, wherein the graphical boxes for prompt user adjustment with Relative position between the terminal device;Wherein, the graphical boxes can be square box, can also be circular frame, certainly, may be used also To be face frame as shown in Figure 4, the dot in Fig. 4 is mark point, etc., and just differ one has been illustrated herein.Only when Relative position between user and the terminal device in a certain range when, the face characteristic of the user can just be shown in described In graphical boxes.
Then, whether the face characteristic quantity in the graphical boxes is judged more than third predetermined threshold value, wherein institute It can be numerical value of the user set by actual conditions to state third predetermined threshold value, can also be those skilled in the art according to The set numerical value of the actual use custom of user, for example, 80 percent, just differ one has been illustrated herein.
Then, if the face characteristic quantity in the graphical boxes is more than third predetermined threshold value, acquisition described second is acquired Then image parses the face characteristic in second image.Due to only when enough face characteristics appear in When the graphical boxes, the acquisition of second image is just carried out, the feature analysis with second facial image, the face of extraction Feature is more, and further characteristics of image verification accuracy is then higher, to improve the accuracy of unlock.
In addition, in embodiments of the present invention, if the terminal device receives unlock instruction, showing on the display screen The graphical boxes control first object point aobvious if the face characteristic quantity in the graphical boxes is more than third predetermined threshold value Then first coordinate position of display screen, then carries out pupil feature when user watches the first object point attentively and face characteristic Combined authentication.Since the unlock being all based under a certain specific range between user and the terminal device is verified, it improves The speed and efficiency of unlock verification.
In embodiments of the present invention, in order to further improve the safety of verification, the combinatorial libraries include described first Default combination and multiple combinations including the second default combination, wherein the described second default combination is preset with described first combines Difference, can carry out multigroup unlock verification, and the target point of difference group unlock verification is different.For example, user is being encrypted When operation, be prefixed aa, bb between pupil feature and face characteristic, cc ..., jj totally 10 combinations, wherein under each combination It is different between corresponding pupil feature and face characteristic, if setting need to be unlocked verification three times, only when three Secondary unlock verification by when, then unlock success.For giving a concrete illustration, when unlock is verified for the first time, jj is combined down Corresponding target point is shown in the first coordinate position of display screen, verifies pupil feature when user is look at the target point and people Face feature.If being verified, then second of unlock verification is carried out, it includes the of display screen that cc, which is combined down corresponding target point, Two coordinate positions verify pupil feature and face characteristic when user is look at the target point.If being verified, then carry out third Secondary unlock verification, it includes the third coordinate position in display screen that aa, which is combined down corresponding target point, verifies user and is look at this Pupil feature when target point and face characteristic.Certainly, for unlock three times verification in the case of combine, can be from 10 combine Middle 3 randomly choosed out combination, the entire verification process randomness that unlocks is very strong, safety higher.
In embodiments of the present invention, it is to preset combination including at least first and preset with described first to combine not with combinatorial libraries With the second default combination, and for verification need to be unlocked twice, as shown in figure 5, the method further includes:
S401:If first pupil feature and the corresponding combination of first face characteristic, with first preset group Matching degree between conjunction is more than first predetermined threshold value, and control second target point different from the first object point is described aobvious Second coordinate position of display screen;
S402:Obtain the third image when user is look at second target point;
S403:Determine the second pupil feature and third face characteristic of the third image;
S404:If second pupil feature and the corresponding combination of the third face characteristic, with second preset group Matching degree between conjunction is more than first predetermined threshold value, responds the unlock instruction.
In specific implementation process, step S401 to step S404's the specific implementation process is as follows:
First, if first pupil feature and the corresponding combination of first face characteristic, with first preset group Matching degree between conjunction is more than first predetermined threshold value, and control second target point different from the first object point is shown in institute State the second coordinate position of display screen;Wherein, can be coordinate bit between the first object point and described second target point the two Difference is set, can also be brightness value difference, color value difference, etc..Wherein, second coordinate position can be with described first Coordinate position is identical, can also be different.For giving a concrete illustration, if receiving unlock instruction, the first object is controlled Point is shown in for 20 at coordinate position (20,20) with red, brightness value.It is described if user is look at the first object point First pupil feature and the corresponding combination of first face characteristic, with described first it is default combine between matching degree be more than described in First predetermined threshold value is controlled second target point and is shown at coordinate position (50,50) for 50 with red, brightness value.
Then, the third image when user is look at second target point is obtained;Further, it is determined that described The second pupil feature and third face characteristic of three images;Then, special to second pupil feature and the third face Corresponding combination is levied, presetting the matching degree between combining with described second is judged, if more than first predetermined threshold value, is then rung Answer the unlock instruction.Specific implementation process and above-mentioned steps S102 for step S402 to step S404 are to step S104 Specific implementation process it is identical, just no longer repeat one by one herein.
In embodiments of the present invention, in order to further improve the performance of the terminal device, in step S104 The response unlock instruction after, the method further includes:
The first prompt message is generated and exports, for prompting the user to unlock successfully.
In specific implementation process, first prompt message can be specifically vibration information, can also be such as " unlock The voice messaging of success " can also be the prompt message for being such as switched to solution screen lock state by screen lock state, can also be such as The text information of " unlocking successfully " can also be user's set information, etc. according to their needs, just differ herein at one stroke Example illustrates.
In embodiments of the present invention, in order to further improve the performance of the terminal device, in step:Control institute First object point is stated after the first coordinate position of display screen, it can be with:It generates and exports the second prompt message, for prompting The user watches the first object point of first coordinate position attentively, wherein second prompt message can be specifically Vibration information can also be the voice messaging that such as " please watch first object point attentively ", and can also be such as " please watch first object attentively The text information of point ", certainly, those skilled in the art can also be accustomed to according to the actual use of user to design described second Prompt message does not just repeat one by one herein.
The unlocking method provided in the embodiment of the present invention can be used for the needs such as unlocking screen, mobile-phone payment progress safety and recognize The scene of card, use occasion is relatively broad, and the performance of corresponding tripper is preferable.
Embodiment two
Based on inventive concept same as the embodiment of the present invention one, referring to FIG. 6, the embodiment of the present invention additionally provides one kind Tripper is applied to a terminal device, including:
First control unit 10, for receiving unlock instruction, first coordinate position of the control first object point in display screen;
First obtains unit 20, for obtaining the first image when user is look at the first object point;
First determination unit 30, for determining the first pupil feature and the first face characteristic according to described first image;
First response unit 40, it is and preset if first pupil feature and the corresponding combination of first face characteristic Pupil feature and face characteristic between combinatorial libraries in the first default combination between matching degree be more than the first predetermined threshold value, response The unlock instruction.
In embodiments of the present invention, the first control unit 10 control first object point display screen the first coordinate position it Before, described device further includes:
Opening unit, for opening front camera;
First collecting unit, for by the front camera, acquisition to obtain the second image for the user;
Second control unit, if the second face characteristic of second image, with the matching degree between preset face characteristic More than the second predetermined threshold value, control the first object point the display screen first coordinate position.
In embodiments of the present invention, the first control unit 10 control first object point is sat described the first of the display screen Before cursor position, described device further includes:
Display unit shows a graphical boxes for controlling the display screen, wherein the graphical boxes are for prompting the use Family adjusts the relative position between terminal device;
Second collecting unit acquires acquisition if the face characteristic quantity in the graphical boxes is more than third predetermined threshold value Second image.
In embodiments of the present invention, if the combinatorial libraries are including the described first default combination and the second default combination Multiple combinations, wherein the described second default combination is preset with described first combines difference, and described device further includes:
Third control unit, if first pupil feature and the corresponding combination of first face characteristic, with described Matching degree between one default combination is more than first predetermined threshold value, control second target point different from the first object point In the second coordinate position of the display screen;
Second obtaining unit, for obtaining the third image when user is look at second target point;
Second determination unit, the second pupil feature for determining the third image and third face characteristic;
Second response unit, if second pupil feature and the corresponding combination of the third face characteristic, with described Matching degree between two default combinations is more than first predetermined threshold value, responds the unlock instruction.
The another aspect of the embodiment of the present invention provides a kind of terminal device, and the terminal device includes processor, storage Device and it is stored in the computer program that can be run in the memory and on the processor, such as:Unlock instruction is received, First coordinate position of the control first object point in display screen;Obtain the first figure when user is look at the first object point Picture;The first pupil feature and the first face characteristic are determined according to described first image;If first pupil feature and described The corresponding combination of first face characteristic, first in combinatorial libraries between preset pupil feature and face characteristic is default combine between Matching degree be more than the first predetermined threshold value, respond the unlock instruction.The processor is realized when executing the computer program The step in embodiment of the method described in above-mentioned various aspects, such as method and step shown in FIG. 1.Alternatively, the processor executes The function of each unit in above-mentioned each device embodiment is realized when the computer program.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or more A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing institute State implementation procedure of the computer program in the tripper/terminal device.For example, the computer program can be divided At the first control unit, first obtains unit, the first determination unit, the first response unit, each module concrete function is as follows:It is described First control unit, for receiving unlock instruction, first coordinate position of the control first object point in display screen;Described first obtains Unit is obtained, for obtaining the first image when user is look at the first object point;First determination unit is used for basis Described first image determines the first pupil feature and the first face characteristic;First response unit, if first pupil Feature and the corresponding combination of first face characteristic, first in combinatorial libraries between preset pupil feature and face characteristic Matching degree between default combination is more than the first predetermined threshold value, responds the unlock instruction.
Tripper/the terminal device can be desktop PC, notebook, palm PC and cloud server etc. Computing device.Tripper/the terminal device may include, but be not limited only to, processor, memory.Those skilled in the art It is appreciated that the schematic diagram is only the example of tripper/terminal device, do not constitute to tripper/terminal device Restriction, may include either combining certain components or different components, such as institute than illustrating more or fewer components It can also includes input-output equipment, network access equipment, bus etc. to state tripper/terminal device.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the tripper/terminal device, entirely described using various interfaces and connection The various pieces of tripper/terminal device.
The memory can be used for storing the computer program and/or module, and the processor is by running or executing Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of tripper/terminal device.The memory can include mainly storing program area and storage data field, wherein Storing program area can storage program area, (for example sound-playing function, image play the application program needed at least one function Function etc.) etc.;Storage data field can be stored uses created data (such as audio data, phone directory etc.) according to mobile phone Deng.Can also include nonvolatile memory in addition, memory may include high-speed random access memory, such as hard disk, interior It deposits, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The another aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence realizes the method as described in above-mentioned various aspects when the computer program is executed by processor.Tripper/the terminal is set It, can if standby integrated module/unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes in above-described embodiment method All or part of flow, relevant hardware can also be instructed to complete by computer program, the computer program It can be stored in a computer readable storage medium, the computer program is when being executed by processor, it can be achieved that above-mentioned each side The step of method embodiment.Wherein, the computer program includes computer program code, and the computer program code can be Source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can wrap It includes:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, light of the computer program code can be carried Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer The content that readable medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice, such as In certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
In the technical solution of the embodiment of the present invention, unlock instruction is received, control first object point is the first of display screen Coordinate position;Obtain the first image when user is look at the first object point;The first pupil is determined according to described first image Hole characteristic and the first face characteristic;It is and preset if first pupil feature and the corresponding combination of first face characteristic Pupil feature and face characteristic between combinatorial libraries in the first default combination between matching degree be more than the first predetermined threshold value, response The unlock instruction.That is, being look in the arbitrary coordinate position of display screen to obtain user by control targe point The image when target point, then, by carrying out feature recognition to pupil of the user in the image under current behavior and face, Whether further determine to the unlock of terminal device, that is, verified in conjunction with the pupil behavioural characteristic and face characteristic of user Whether unlock, the discrimination of unlocking method is improved.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of unlocking method, which is characterized in that including:
Receive unlock instruction, first coordinate position of the control first object point in display screen;
Obtain the first image when user is look at the first object point;
The first pupil feature and the first face characteristic are determined according to described first image;
If first pupil feature and the corresponding combination of first face characteristic, with preset pupil feature and face characteristic Between combinatorial libraries in the first default combination between matching degree be more than the first predetermined threshold value, respond the unlock instruction.
2. the method as described in claim 1, which is characterized in that control first object point display screen the first coordinate position it Before, the method further includes:
Open front camera;
By the front camera, acquisition obtains the second image for the user;
If the second face characteristic of second image, the matching degree between preset face characteristic is more than the second predetermined threshold value, Control the first object point the display screen first coordinate position.
3. method as claimed in claim 2, which is characterized in that control the first object point described the of the display screen Before one coordinate position, the method further includes:
A graphical boxes are shown on the display screen, wherein the graphical boxes are for prompting user's adjustment and terminal device Between relative position;
If the face characteristic quantity in the graphical boxes is more than third predetermined threshold value, acquires and obtain second image.
4. the method as described in claim 1, which is characterized in that if the combinatorial libraries include the described first default combination and second Multiple combinations including default combination, wherein the described second default combination is preset with described first combines difference, and the method is also Including:
If first pupil feature and the corresponding combination of first face characteristic, the matching between combining is preset with described first Degree is more than first predetermined threshold value, and control second target point different from the first object point is the second of the display screen Coordinate position;
Obtain the third image when user is look at second target point;
Determine the second pupil feature and third face characteristic of the third image;
If second pupil feature and the corresponding combination of the third face characteristic, the matching between combining is preset with described second Degree is more than first predetermined threshold value, responds the unlock instruction.
5. the method as described in claim 1, which is characterized in that the first object point be specially include at least specific shape with And the object of particular color.
6. a kind of tripper is applied to a terminal device, which is characterized in that including:
First control unit, for receiving unlock instruction, first coordinate position of the control first object point in display screen;
First obtains unit, for obtaining the first image when user is look at the first object point;
First determination unit, for determining the first pupil feature and the first face characteristic according to described first image;
First response unit, if first pupil feature and the corresponding combination of first face characteristic, with preset pupil The matching degree between the default combination of first in combinatorial libraries between feature and face characteristic is more than the first predetermined threshold value, responds the solution Lock instruction.
7. device as claimed in claim 6, which is characterized in that first control unit controls first object point in display screen The first coordinate position before, described device further includes:
Opening unit, for opening front camera;
First collecting unit, for by the front camera, acquisition to obtain the second image for the user;
Second control unit, if the second face characteristic of second image, the matching degree between preset face characteristic are more than Second predetermined threshold value, control the first object point the display screen first coordinate position.
8. device as claimed in claim 7, which is characterized in that first control unit controls the first object point in institute Before first coordinate position for stating display screen, described device further includes:
Display unit shows a graphical boxes for controlling the display screen, wherein the graphical boxes are for prompting user's tune The whole relative position between terminal device;
Second collecting unit acquires if the face characteristic quantity in the graphical boxes is more than third predetermined threshold value described in acquisition Second image.
9. a kind of terminal device, which is characterized in that the terminal device includes processor, and the processor is for executing memory The step of unlocking method as described in any one of claim 1-5 is realized when the computer program of middle storage.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, it is characterised in that:The computer program is handled The step of unlocking method as described in any one of claim 1-5 is realized when device executes.
CN201810375264.3A 2018-04-24 2018-04-24 A kind of unlocking method and device, terminal device and readable storage medium storing program for executing Pending CN108733999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810375264.3A CN108733999A (en) 2018-04-24 2018-04-24 A kind of unlocking method and device, terminal device and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810375264.3A CN108733999A (en) 2018-04-24 2018-04-24 A kind of unlocking method and device, terminal device and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN108733999A true CN108733999A (en) 2018-11-02

Family

ID=63939801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810375264.3A Pending CN108733999A (en) 2018-04-24 2018-04-24 A kind of unlocking method and device, terminal device and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN108733999A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492590A (en) * 2018-11-13 2019-03-19 广东小天才科技有限公司 A kind of distance detection method, distance detection device and terminal device
CN111563241A (en) * 2019-02-14 2020-08-21 南宁富桂精密工业有限公司 Device unlocking method and electronic device using same
CN113596345A (en) * 2021-08-09 2021-11-02 荣耀终端有限公司 Parameter adjustment method, display control method, electronic device, and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123161A (en) * 2014-07-25 2014-10-29 西安交通大学 Screen unlocking and application starting method through human eye watching point
US9280652B1 (en) * 2011-03-30 2016-03-08 Amazon Technologies, Inc. Secure device unlock with gaze calibration
CN105892647A (en) * 2016-03-23 2016-08-24 京东方科技集团股份有限公司 Display screen adjusting method and device as well as display device
CN106371566A (en) * 2015-07-24 2017-02-01 由田新技股份有限公司 Correction module, method and computer readable recording medium for eye tracking
CN107451454A (en) * 2017-07-29 2017-12-08 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107451453A (en) * 2017-07-28 2017-12-08 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107527019A (en) * 2017-07-28 2017-12-29 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107797664A (en) * 2017-10-27 2018-03-13 广东欧珀移动通信有限公司 Content display method, device and electronic installation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9280652B1 (en) * 2011-03-30 2016-03-08 Amazon Technologies, Inc. Secure device unlock with gaze calibration
CN104123161A (en) * 2014-07-25 2014-10-29 西安交通大学 Screen unlocking and application starting method through human eye watching point
CN106371566A (en) * 2015-07-24 2017-02-01 由田新技股份有限公司 Correction module, method and computer readable recording medium for eye tracking
CN105892647A (en) * 2016-03-23 2016-08-24 京东方科技集团股份有限公司 Display screen adjusting method and device as well as display device
CN107451453A (en) * 2017-07-28 2017-12-08 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107527019A (en) * 2017-07-28 2017-12-29 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107451454A (en) * 2017-07-29 2017-12-08 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107797664A (en) * 2017-10-27 2018-03-13 广东欧珀移动通信有限公司 Content display method, device and electronic installation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492590A (en) * 2018-11-13 2019-03-19 广东小天才科技有限公司 A kind of distance detection method, distance detection device and terminal device
CN111563241A (en) * 2019-02-14 2020-08-21 南宁富桂精密工业有限公司 Device unlocking method and electronic device using same
CN113596345A (en) * 2021-08-09 2021-11-02 荣耀终端有限公司 Parameter adjustment method, display control method, electronic device, and medium

Similar Documents

Publication Publication Date Title
US11468155B2 (en) Embedded authentication systems in an electronic device
JP4699139B2 (en) Security system
US9547760B2 (en) Method and system for authenticating user of a mobile device via hybrid biometics information
EP3163483B1 (en) Mobile terminal user mode starting method and system based on iris identification
US9773151B2 (en) System and methods for contactless biometrics-based identification
US20190042835A1 (en) Multiple enrollments in facial recognition
US20070009139A1 (en) Facial recognition device for a handheld electronic device and a method of using the same
CN105787454B (en) Method and system for biometric verification
CN104899490B (en) A kind of method of locating terminal and user terminal
JP4826234B2 (en) Face authentication apparatus, security strength changing method and program
EP3163851A1 (en) User mode control method and system based on iris recognition technology for mobile terminal
CN106096585A (en) A kind of auth method and terminal
CN110555359A (en) automatic retry of facial recognition
CN104715236A (en) Face beautifying photographing method and device
US10452823B2 (en) Terminal device and computer program
JP2007135149A (en) Mobile portable terminal
US20150278495A1 (en) Fingerprint password
CN108733999A (en) A kind of unlocking method and device, terminal device and readable storage medium storing program for executing
CN105320871A (en) Screen unlocking method and screen unlocking apparatus
AU2013205126A1 (en) Facial recognition streamlined login
CN108566371B (en) Social authentication method, system and terminal equipment
CN106600845A (en) Method and device for retrieving captured card in self-service manner
WO2019236284A1 (en) Multiple enrollments in facial recognition
KR20120114934A (en) A face recognition system for user authentication of an unmanned receipt system
CN107786349B (en) Security management method and device for user account

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181102