CN108549802A - A kind of unlocking method, device and mobile terminal based on recognition of face - Google Patents

A kind of unlocking method, device and mobile terminal based on recognition of face Download PDF

Info

Publication number
CN108549802A
CN108549802A CN201810205827.4A CN201810205827A CN108549802A CN 108549802 A CN108549802 A CN 108549802A CN 201810205827 A CN201810205827 A CN 201810205827A CN 108549802 A CN108549802 A CN 108549802A
Authority
CN
China
Prior art keywords
screen
face
image
recognition
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
CN201810205827.4A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810205827.4A priority Critical patent/CN108549802A/en
Publication of CN108549802A publication Critical patent/CN108549802A/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, device and mobile terminal based on recognition of face influences the experience of user's normal use to solve the problem of that using existing recognition of face unlocking method lock may be misled.Method includes:In response to the touch operation for screen, start image capture module;If image capture module collects facial image, and when display area that the sight target of the eyes of the facial image is screen, lights the screen;According to the pressing situation of specified physical button, it is determined whether execute recognition of face unlock instruction.

Description

A kind of unlocking method, device and mobile terminal based on recognition of face
Technical field
The present invention relates to biometrics identification technology field more particularly to a kind of unlocking method based on recognition of face, dresses It sets and mobile terminal.
Background technology
When using internet product, it is that a kind of protection user relatively conventional at present believes to carry out authentication to user The mode of safety is ceased, existing method for authenticating user identity is broadly divided into three kinds:One is recognizing based on information such as password passwords Card mode;Second is the certification based on distinctive mark, such as key, identity card;The third is then recognizing for user biological feature Card, the biological characteristic of user may include mainly fingerprint, sound, face, palmmprint, iris, DNA etc..Relative to these three safety Authentication mode, biometric authentication technology have lot of advantages, such as biological characteristic is carried, and will not be forgotten, will not be lost, And it is uniquely bound with user, thus there is higher safety.
Currently, increasingly maturation, a large amount of mobile phones on the market with face recognition technology both increase recognition of face Mobile phone unlocking manner.This unlocking manner by recognition of face, not only easy to operate (user only need to be by face against Mobile phone screen Curtain), and unlock speed is fast, once listing just by the extensive favorable comment of user.
However the influence of the mode of operation due to existing recognition of face unlock, see one when user only needs to light mobile phone screen When the time or date of lower mobile phone, the operating process unlocked at this time according to existing recognition of face, mobile phone equally also can The facial image of user is acquired, and by carrying out recognition of face to collected facial image, to be solved automatically Lock.It is obvious that unlock in this case and non-user original idea, belong to misunderstanding lock, it is normal to greatly affected user Usage experience.
Invention content
The embodiment of the present invention provides a kind of unlocking method, device and mobile terminal based on recognition of face, to solve The problem of lock is misled using existing recognition of face unlocking method, and influences the experience of user's normal use.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, providing a kind of unlocking method based on recognition of face, this method includes:
In response to the touch operation for screen, start image capture module;
If image capture module collects facial image, and the sight target of the eyes of the facial image is the aobvious of screen When showing region, the screen is lighted;
According to the current pressing situation of specified physical button, it is determined whether execute recognition of face unlock instruction.
Second aspect, provides a kind of tripper based on recognition of face, which includes:
Acquisition module control unit, in response to the touch operation for screen, starting image capture module;
Display unit, if collecting facial image, and the sight of the eyes of the facial image for image capture module Target is the display area of screen, lights the screen;
Unlocking unit, for according to the pressing situation for specifying physical button current, it is determined whether release recognition of face locking.
The third aspect provides a kind of terminal device, which includes processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, and the step of method as described in relation to the first aspect is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, in using terminal equipment, user can be triggered end user by touch terminal screen End starts front camera and carries out Image Acquisition, and then terminal device can be according to camera institute the image collected, to judge Whether the image collected is facial image, and the realization target of the eyes of the facial image whether be terminal screen viewing area Domain, when image capture module collects facial image, and the viewing area that the sight target of the eyes of the facial image is screen When domain, then terminal can light the screen, in this case, since terminal is only to light screen, without triggering people Face identification unlock operation, so as to avoid the misunderstanding lock when user simply wants to check the time.And when user needs to carry out face When identification unlock, user is by further pressing the specific physical button of terminal, you can triggering terminal carries out recognition of face unlock. By the unlocking method based on recognition of face provided using the embodiment of the present application, after user triggers image capturing request, Terminal device will not carry out recognition of face at once, and can be according to the image collected and user to specifying physics on terminal device The pressing situation of button is not desired to unlock eventually to determine whether to need to carry out recognition of face unlock so as to avoid in user When end equipment, terminal device misreads the problem of locking.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and constitutes the part of the present invention, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is that the specific implementation flow for the unlocking method based on recognition of face that one embodiment of the present of invention is provided is shown It is intended to;
Fig. 2 is that a kind of human eye that one embodiment of the present of invention is provided watches effect diagram attentively;
Fig. 3 is that a kind of human eye that one embodiment of the present of invention is provided watches sight schematic diagram attentively;
A kind of three-dimensional system of coordinate schematic diagram that Fig. 4 is provided by one embodiment of the present of invention;
A kind of signal for human eye sight intersection point on the three-dimensional system of coordinate that Fig. 5 is provided by one embodiment of the present of invention Figure;
The specific reality for another unlocking method based on recognition of face that Fig. 6 is provided by one embodiment of the present of invention Existing flow diagram;
The concrete structure for the tripper based on recognition of face that Fig. 7 is provided by one embodiment of the present of invention is illustrated Figure;
The structural schematic diagram for the terminal device that Fig. 8 is provided by one embodiment of the present of invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments 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 creative efforts Example, shall fall within the protection scope of the present invention.
Below in conjunction with attached drawing, the technical solution that each embodiment of the application provides is described in detail.
The executive agent of image processing method provided by the embodiments of the present application, can be, but not limited to for mobile phone, tablet computer, PC (Personal Computer, PC) and it is any can be handled with operation image U.S. face application (Appliacation, APP at least one of terminal device).In addition, the executive agent of this method, can also be to be unlocked for realizing recognition of face APP itself.
For ease of description, executive agent hereafter in this way is for mobile terminal device mobile phone to the reality of this method The mode of applying is introduced.It is appreciated that it is a kind of illustrative explanation that the executive agent of this method, which is mobile phone, and should not be understood For the restriction to this method.
The embodiment of the present application provides a kind of unlocking method based on recognition of face, to solve to know using existing face Other unlocking method may mislead lock, and influence the problem of user's normal use is experienced, and the specific implementation flow of this method is shown It is intended to as shown in Figure 1, mainly including the following steps:
Step 101:In response to the touch operation for screen, start image capture module;
Wherein, described image acquisition module can refer to camera on mobile phone, such as the front camera of mobile phone, Huo Zheye Can refer to other image collecting devices of mobile phone.
It should be noted that user may include to the touch operation of screen but be not limited only in operations described below at least one Kind:
Operation 1:Long press operation;
For example, user can start image capture module by long-press mobile phone screen to trigger mobile phone.
There is also the need to explanation, in order to avoid user clicks unintentionally maloperation caused by screen, in the application In embodiment, when the operation setting of control zone startup image capture module is long press operation by user, mobile phone also needs to detect Whether the touch operation for screen is more than preset duration, for example the preset duration is 2s, then when user's long-press mobile phone screen After 2s, mobile phone can just start image capture module.
Operation 2:Slip gesture operates;
For example, user can input specific slip gesture behaviour according to pre-set sliding trace on mobile phone screen Make, starts image capture module to trigger mobile phone.
Operation 3:Clicking operation;
For example, user can start image capture module by way of double-clicking mobile phone screen to trigger mobile phone.
The Image Acquisition mould which kind of mode starts mobile phone can may be used according to the needs of oneself, voluntarily setting in user Block, or when triggering mode voluntarily is not arranged in user, terminal device can randomly choose a kind of triggering mode conduct acquiescence Triggering mode.
In the embodiment of the present application, the desired image capture module for starting mobile phone of user is also required to through above-mentioned several operations Mode, and above-mentioned several modes of operation are generally not easy by user's false triggering under unconscious situation, thus use this side Formula can also avoid the maloperation of user to a certain extent.
After mobile phone detects user through the above way to the touch operation of mobile phone screen, mobile phone can start preposition camera shooting Head, and Image Acquisition is carried out by the front camera.
Step 102:Judge by executing whether step 101 the image collected is facial image, and the facial image Eyes sight target whether be screen display area;If the determination result is YES, 103 are thened follow the steps;If judging result It is no, then continues through image capture module and carry out Image Acquisition;
What needs to be explained here is that usually when user needs to unlock using mobile phone, user often holds mobile phone simultaneously Mobile phone is placed in face of oneself, then in this case, after user triggers image capturing request by aforesaid operations, mobile phone is rung The face-image of user should can be generally collected by the front camera after the request starts front camera;And When user is due to maloperation and when triggering mobile phone and starting the front camera, at this time since user need not use mobile phone, because And before mobile phone will not generally be placed in user plane, mobile phone can not also collect the face of user by the front camera in this case Portion's image.
For these reasons, in the embodiment of the present application, whether mobile phone can will have people on collected first image Face image is as judging whether active user needs one of the foundation using mobile phone.In addition to this, based on same reason, thus Whether user's sight watches mobile phone screen attentively, can also be used as one of the foundation for judging whether active user needs using mobile phone.
Then in the embodiment of the present application, following methods specifically may be used and judge whether the image collected is face figure Picture, and the sight target of the eyes of the facial image whether be screen display area:Face is carried out to the image collected Detection, judges whether described image is facial image;When judging described image for facial image, judge in image whether is human eye Watch the display area of the screen attentively;When judging that human eye watches the display area of the screen attentively in described first image, then may be used To determine that user currently needs to use mobile phone, and then light mobile phone screen.
After collecting image by image capture module by execution step 101 mobile phone, mobile phone first can be to the image Recognition of face is carried out, to judge to whether there is facial image on the image.Specifically, face recognition technology pair may be used in mobile phone First image carries out Face datection and whether there is facial image on first image to determine.Face datection is face recognition technology The first step, the face feature based on people, it may be determined that whether have facial image on the image of input.
Specifically, following five kinds of modes may be used and carry out Face datection:
Mode 1:Reference template method:
Using this method, the template of one or several standard faces can be designed first, then calculate the sample of test acquisition Matching degree between standard form, and by threshold value to determine whether there are faces;
Mode 2:Face rule method:
Since there is face certain structure distribution feature, the method for so-called face rule to extract these features and generate phase The rule answered is to judge whether test sample includes face;
Mode 3:Sample learning method:
This method is using the method for artificial neural network in pattern-recognition, i.e., by opposite as sample sets and non-image surface The study of sample sets generates grader;
Mode 4:Complexion model method:
This method is that the rule of Relatively centralized is distributed in color space to be detected according to the looks colour of skin.
Mode 5:Sub-face of feature method:
This method is all image surface set to be considered as an image surface subspace, and be based on detection sample with it in subspace The distance between projection judge whether image surface.
In the embodiment of the present application, it may be used above-mentioned five kinds of modes to carry out recognition of face to pending image, remove this In addition, the first image of other modes pair can also be used to carry out recognition of face, the embodiment of the present application specifically uses recognition of face Method do not limit, as long as can recognize that by the way that there are facial images in image capture module the image collected.
It, can when mobile phone is determined using the above method by executing in step 101 the image collected there are after facial image To be further determined to the sight of human eye on the facial image, to determine whether the human eye sight falls in mobile phone screen On.Then in the embodiment of the present application, mobile phone judges whether human eye in image is watched the specific method of on-screen display (osd) area attentively and can be wrapped It includes:Determine the sight of human eye in the image;Whether fallen in the display area of the screen according to the human eye sight, determine described in Whether human eye watches the display area of the screen attentively in first image.
In order to may determine that whether user's sight falls on mobile phone screen, in the embodiment of the present application, mobile phone firstly the need of Determine the sight of human eye on facial image in the picture.Usually, we can lead to position of the pupil in eyeball to determine use The current direction of gaze in family as shown in Fig. 2, pupil of human is located at the center of eyeball in Fig. 2, thus can determine that the human eye regards The direction of line is front.And as shown in figure 3, the center of pupil of human is not promising with eyeball center in Fig. 3, at this time in pupil Between the heart and eyeball center at an angle, then in such a case, it is possible to by between human eye eyeball center and pupil center Line, as the sight of the human eye, then in Fig. 3 in the direction of visual lines such as Fig. 3 of the human eye shown in dotted line direction.
Based on above-mentioned thinking, in the embodiment of the present application, the human eye eyeball center point in facial image can be passed through Coordinate is set with pupil of human position coordinates to determine the direction of visual lines of the human eye, can specifically include:It determines in the face figure The human eye center position coordinate as in;Determine the pupil of human position coordinates in the facial image;According to the human eye center Point position coordinates and the pupil of human position coordinates, determine the sight of human eye in the facial image.
It should be noted that can hang down in the embodiment of the present application with mobile phone screen coordinate system X-axis, Y-axis and with screen A straight axis constitutes a three-dimensional system of coordinate.For example, can be by the coordinate of the origin of the three-dimensional system of coordinate and mobile phone screen Origin is arranged in same position, and the X-axis of the three-dimensional system of coordinate is vertical with mobile phone screen and former by mobile phone screen coordinate system The axis of point, the Y-axis of the three-dimensional system of coordinate are the X-axis of the mobile phone screen, and the Z axis of the three-dimensional system of coordinate is the Y of the mobile phone screen Axis, then the three-dimensional system of coordinate is as described in Figure 4.
After the structure for completing three-dimensional system of coordinate according to the method described above, mobile phone can determine the human eye in facial image respectively Position coordinates and pupil center point position in the three-dimensional system of coordinate of the eyeball central point of image in the three-dimensional system of coordinate Coordinate is set, can determine the sight side of the human eye first according to the position of the position coordinates of eyeball central point and pupil center's point To, and then according to the distance between facial image and mobile phone screen and the direction of visual lines of human eye, determine the sight and Mobile phone screen Whether there is intersection point between curtain, then when there are when intersection point, then can determining the people on the direction of visual lines of the human eye and the mobile phone screen An eye line is just being look at the display area of the mobile phone screen.Such as shown in figure 5, it is shown in Fig. 5 in this case, can be true The fixed human eye sight is currently fallen in the display area of the mobile phone screen.
Step 103:Mobile phone lights screen;
Judge to collect facial image by image capture module when by executing step 102, and the facial image When the sight target of eyes is the display area of screen, then show that user may need to use mobile phone at this time, for example check mobile phone Time etc., then mobile phone can light mobile phone screen at this time, so that user checks the time, or carry out other operations.
Step 104:Judge whether user presses specified physical button, if the determination result is YES, thens follow the steps 106;If Judging result is no, thens follow the steps 105;
Wherein, the physical button such as can refer to " home keys " on mobile phone, power key and volume key etc..
Step 105:Continue Image Acquisition using image capture module, and face inspection is carried out to the image collected It surveys, if facial image is not detected in described image acquisition module the image collected, extinguishes the screen.
Using the above method, after user does not use mobile phone, mobile phone meeting automatic distinguishing screen carries out phase without user The operation of pass, while can also avoid the problem that maloperation and electric quantity consumption caused by being always on due to mobile phone screen.
And after mobile phone extinguishes screen, whether the touch operation that mobile phone can further detect to screen terminates, and when prison At the end of measuring the touch operation to the screen, image capture module is closed.
Step 106:Start face identification functions, carries out recognition of face unlock;
It should be noted that mobile phone can be used directly carries out face by executing the collected facial image of step 101 Identification unlock;Or mobile phone can also resurvey a facial image by image capture module, and according to this face figure As carrying out recognition of face, and then after to being identified by of the facial image, recognition of face unlock is carried out.
Then in actual use, the specifically used operational flowchart of user is as shown in fig. 6, specifically include following step:
Step 601:User's long-press screen;
Step 602:Mobile phone judges that user's long press operation whether more than 2s, if the determination result is YES, thens follow the steps 603; If judging result is no, step 611 is executed;
Step 603:Mobile phone starts front camera in response to the image capture instruction triggered by long press operation, carries out Image Acquisition;
Step 604:Judge whether collect facial image in the image collected, if the determination result is YES, then executes step Rapid 605;If judging result is no, 603 are thened follow the steps;
Step 605:Judge whether the human eye on facial image watches screen attentively;If judging result is no, then follow the steps 606;If the determination result is YES, 612 are thened follow the steps;
Step 606:The bright screen of mobile phone;
Step 607:Judge whether user clicks power key, if judging result is no, thens follow the steps 608;If judging knot Fruit is yes, thens follow the steps 612;
Step 608:Mobile phone persistently uses front camera to carry out Face datection under bright screen state, if people is not detected Face thens follow the steps 609;If monitoring face, continue bright screen;
Step 609:Mobile phone extinguishes screen;
Step 610:Whether mobile phone detection user's finger terminates to press screen, if user's finger is held not in pressing screen Row step 611;If user mobile phone continues to press screen, 602 are thened follow the steps;
Step 611:Mobile phone closes camera, and end operation;
Step 612:Mobile phone carries out recognition of face unlock operation.
In embodiments of the present invention, in using terminal equipment, user can be triggered end user by touch terminal screen End starts front camera and carries out Image Acquisition, and then terminal device can be according to camera institute the image collected, to judge Whether the image collected is facial image, and the realization target of the eyes of the facial image whether be terminal screen viewing area Domain, when image capture module collects facial image, and the viewing area that the sight target of the eyes of the facial image is screen When domain, then terminal can light the screen, in this case, since terminal is only to light screen, without triggering people Face identification unlock operation, so as to avoid the misunderstanding lock when user simply wants to check the time.And when user needs to carry out face When identification unlock, user is by further pressing the specific physical button of terminal, you can triggering terminal carries out recognition of face unlock. By the unlocking method based on recognition of face provided using the embodiment of the present application, after user triggers image capturing request, Terminal device will not carry out recognition of face at once, and can be according to the image collected and user to specifying physics on terminal device The pressing situation of button is not desired to unlock eventually to determine whether to need to carry out recognition of face unlock so as to avoid in user When end equipment, terminal device misreads the problem of locking.
The embodiment of the present application also provides a kind of trippers based on recognition of face, to solve to use existing face Identification unlocking method may mislead lock, and influence the problem of user's normal use is experienced.The concrete structure of the device is illustrated Figure is as shown in fig. 7, include mainly:Acquisition module control unit 71, display unit 72, unlocking unit 73.
Wherein, acquisition module control unit 71 when in response to touch operation for screen, starts Image Acquisition mould Block;
Display unit 72, if for image capture module collect facial image, and the eyes of the facial image regard Line target is the display area of screen, lights the screen;
Unlocking unit 73, for according to the pressing situation for specifying physical button current, it is determined whether execute recognition of face solution Lock instruction.
In one embodiment, the acquisition module control unit, is additionally operable to:Judge that the touch for screen is grasped Make whether to be more than preset duration;If the determination result is YES, start described image acquisition module.
In one embodiment, described device further includes pressure detection unit, is used for:Detection is pressed for the specified physics The pressing situation of key;If the pressing detection unit is detected for the pressing operation for specifying physical button, the unlocking unit, For executing recognition of face unlock instruction;If the pressing behaviour for specified physical button is not detected in the pressing detection unit Make, the display unit, for keeping screen illuminating state.
In one embodiment, it is directed to the pressing operation for specifying physical button when pressing detection unit is not detected, shown After showing that unit keeps screen illuminating state, the display unit 72 is additionally operable to:If described image acquisition module does not collect face Image extinguishes the screen.
In one embodiment, acquisition module control unit 71, is additionally operable to:If detecting, the touch to the screen is grasped Work terminates, and closes described image acquisition module.
In embodiments of the present invention, in using terminal equipment, user can be triggered end user by touch terminal screen End starts front camera and carries out Image Acquisition, and then terminal device can be according to camera institute the image collected, to judge Whether the image collected is facial image, and the realization target of the eyes of the facial image whether be terminal screen viewing area Domain, when image capture module collects facial image, and the viewing area that the sight target of the eyes of the facial image is screen When domain, then terminal can light the screen, in this case, since terminal is only to light screen, without triggering people Face identification unlock operation, so as to avoid the misunderstanding lock when user simply wants to check the time.And when user needs to carry out face When identification unlock, user is by further pressing the specific physical button of terminal, you can triggering terminal carries out recognition of face unlock. By the unlocking method based on recognition of face provided using the embodiment of the present application, after user triggers image capturing request, Terminal device will not carry out recognition of face at once, and can be according to the image collected and user to specifying physics on terminal device The pressing situation of button is not desired to unlock eventually to determine whether to need to carry out recognition of face unlock so as to avoid in user When end equipment, terminal device misreads the problem of locking.
A kind of hardware architecture diagram of Fig. 8 mobile terminals of each embodiment to realize the present invention.
In fig. 8, which includes but not limited to:Radio frequency unit 801, network module 802, audio output list Member 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, the components such as processor 810 and power supply 811.It will be understood by those skilled in the art that terminal device knot shown in Fig. 8 Structure does not constitute the restriction to terminal device, and terminal device may include components more more or fewer than diagram, or combine certain A little components or different components arrangement.In embodiments of the present invention, terminal device include but not limited to mobile phone, tablet computer, Laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 810 starts image capture module when detecting the touch operation to screen;Work as image capture module It collects facial image, and when display area that the sight target of the eyes of the facial image is screen, lights the screen; According to the current pressing situation of specified physical button, it is determined whether release recognition of face locking.
In embodiments of the present invention, in using terminal equipment, user can trigger image by specified operation and adopt user Collection request, and then terminal device can start front camera and carry out Image Acquisition, and then terminal device can be according to camera Collected first image of institute, to judge whether user currently meets recognition of face unlocking condition, when terminal device is collecting The first image on identify facial image, and identify that the sight of the facial image is watched attentively when on the screen of terminal device, It can generally determine that user it is expected unlock and using terminal equipment at this time in this case, then recognition of face can be set accordingly Unlocking condition, and when condition meets, the second image is further acquired, and by carrying out recognition of face to second image, To realize unlock operation;And on collected first image it is unidentified go out facial image, or the facial image that identifies When human eye sight does not watch the screen of terminal device attentively, then it can determine that user may not be needed unlock use in the current situation Terminal device, and the image capturing request may be to be triggered by user misoperation, thus in this case, when terminal is set It is standby that terminal device can light screen when judging currently to be unsatisfactory for recognition of face unlocking condition, so as to user can check the time, The information such as weather.By the unlocking method based on recognition of face provided using the embodiment of the present application, image is triggered in user After acquisition request, terminal device will not carry out recognition of face at once, and can judge currently whether meet according to the image collected Recognition of face unlocking condition leads to end so as to avoid when user is not desired to unlock terminal device due to the maloperation of user End equipment misreads the problem of lock.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by radio communication system and network and other set Standby communication.
Terminal device has provided wireless broadband internet to the user by network module 802 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 803 can receive radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end The relevant audio output of specific function that end equipment 800 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loud speaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 801 by being converted in the case of telephone calling model.
Terminal device 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when terminal device 800 is moved in one's ear Display panel 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with terminal device Family is arranged and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and Other input equipments 8072.Touch panel 8071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 8071 or in touch panel 8071 Neighbouring operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area It manages the order that device 810 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touch The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display Panel 8061 is to realize the function that outputs and inputs of terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of terminal device, it is specific this Place does not limit.
Interface unit 808 is the interface that external device (ED) is connect with terminal device 800.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 800 or can be used in 800 He of terminal device Transmission data between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 809, and calls and is stored in storage Data in device 809 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Reason device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Terminal device 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811 Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 800 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 810, and memory 809 is stored in On memory 809 and the computer program that can be run on the processor 810, the computer program are executed by processor 810 Each process of the above-mentioned image processing method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned image processing method embodiment, and energy when being executed by processor Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (11)

1. a kind of unlocking method based on recognition of face, which is characterized in that including:
In response to the touch operation for screen, start image capture module;
If image capture module collects facial image, and the viewing area that the sight target of the eyes of the facial image is screen The screen is lighted in domain;
According to the pressing situation of specified physical button, it is determined whether execute recognition of face unlock instruction.
2. according to the method described in claim 1, it is characterized in that, the touch operation in response to for screen, starts figure As acquisition module, specifically include:
Judge whether the touch operation for screen is more than preset duration;
If the determination result is YES, start described image acquisition module.
3. according to the method described in claim 1, it is characterized in that, the pressing situation of the specified physical button of the basis, determines Recognition of face unlock instruction whether is executed, is specifically included:
Pressing situation of the detection for the specified physical button;
If detecting for the pressing operation of specified physical button, recognition of face unlock instruction is executed;
If the pressing operation for specified physical button is not detected, screen illuminating state is kept.
4. according to the method described in claim 3, it is characterized in that, if the pressing behaviour for specified physical button is not detected Make, after keeping screen illuminating state, the method further includes:
Image Acquisition is carried out using described image acquisition module;
If described image acquisition module does not collect facial image, extinguish the screen.
5. according to the method described in claim 4, it is characterized in that, after extinguishing the screen, the method further includes:
If detecting, the touch operation for the screen terminates, and closes described image acquisition module.
6. a kind of tripper based on recognition of face, which is characterized in that including:
Acquisition module control unit, in response to the touch operation for screen, starting image capture module;
Display unit, if collecting facial image, and the sight target of the eyes of the facial image for image capture module For the display area of screen, the screen is lighted;
Unlocking unit, for pressing situation according to specified physical button, it is determined whether execute recognition of face unlock instruction.
7. device as claimed in claim 6, which is characterized in that acquisition module control unit is additionally operable to:
Judge whether the touch operation for screen is more than preset duration;
If the determination result is YES, start described image acquisition module.
8. device as claimed in claim 6, which is characterized in that further include pressing detection unit, be used for:
Pressing situation of the detection for the specified physical button;
If the pressing detection unit detects that the pressing operation for specified physical button, the unlocking unit execute face Identify unlock instruction;
If the pressing operation for specified physical button, the display unit, for protecting is not detected in the pressing detection unit Hold screen illuminating state.
9. device as claimed in claim 8, which is characterized in that when pressing detection unit is not detected for specified physical button Pressing operation, display unit keep screen illuminating state after, the display unit is additionally operable to:
If described image acquisition module does not collect facial image, extinguish the screen.
10. device as claimed in claim 9, which is characterized in that acquisition module control unit is additionally operable to:
If detecting, the touch operation to the screen terminates, and closes described image acquisition module.
11. a kind of mobile terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in method the step of.
CN201810205827.4A 2018-03-13 2018-03-13 A kind of unlocking method, device and mobile terminal based on recognition of face Pending CN108549802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810205827.4A CN108549802A (en) 2018-03-13 2018-03-13 A kind of unlocking method, device and mobile terminal based on recognition of face

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810205827.4A CN108549802A (en) 2018-03-13 2018-03-13 A kind of unlocking method, device and mobile terminal based on recognition of face

Publications (1)

Publication Number Publication Date
CN108549802A true CN108549802A (en) 2018-09-18

Family

ID=63516274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810205827.4A Pending CN108549802A (en) 2018-03-13 2018-03-13 A kind of unlocking method, device and mobile terminal based on recognition of face

Country Status (1)

Country Link
CN (1) CN108549802A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194834A (en) * 2018-09-27 2019-01-11 上海与德科技有限公司 mobile phone power-saving method, device, equipment and storage medium
CN109325336A (en) * 2018-10-19 2019-02-12 北京小米移动软件有限公司 Unlocking method, device and computer readable storage medium
CN110045834A (en) * 2019-05-21 2019-07-23 广东工业大学 Detection method, device, system, equipment and storage medium for sight locking
CN111327952A (en) * 2018-12-14 2020-06-23 中国移动通信集团山东有限公司 Video switching processing method and device
WO2020181523A1 (en) * 2019-03-13 2020-09-17 华为技术有限公司 Method and apparatus for waking up screen
CN112631432A (en) * 2021-01-05 2021-04-09 Oppo广东移动通信有限公司 Screen control method, wearable device and storage medium
CN113687899A (en) * 2021-08-25 2021-11-23 读书郎教育科技有限公司 Method and device for solving conflict between viewing notification and face unlocking
WO2023065849A1 (en) * 2021-10-19 2023-04-27 Oppo广东移动通信有限公司 Screen brightness adjustment method and apparatus for electronic device, and electronic device
CN109325336B (en) * 2018-10-19 2024-04-19 北京小米移动软件有限公司 Unlocking method, unlocking device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981726A (en) * 2012-11-29 2013-03-20 广东欧珀移动通信有限公司 Method and system for preventing mistakenly unlocking of mobile terminal
CN106371515A (en) * 2016-09-05 2017-02-01 乐视控股(北京)有限公司 Method and device for controlling screen states
CN106708271A (en) * 2016-12-30 2017-05-24 珠海市魅族科技有限公司 Terminal screen control method and device
CN107563168A (en) * 2017-09-05 2018-01-09 广东欧珀移动通信有限公司 Unlocking method, device and the mobile terminal of mobile terminal
CN107590375A (en) * 2017-09-12 2018-01-16 广东欧珀移动通信有限公司 Unlocking method and related product
CN107835286A (en) * 2017-10-27 2018-03-23 维沃移动通信有限公司 It is a kind of to prevent from misreading the method locked and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981726A (en) * 2012-11-29 2013-03-20 广东欧珀移动通信有限公司 Method and system for preventing mistakenly unlocking of mobile terminal
CN106371515A (en) * 2016-09-05 2017-02-01 乐视控股(北京)有限公司 Method and device for controlling screen states
CN106708271A (en) * 2016-12-30 2017-05-24 珠海市魅族科技有限公司 Terminal screen control method and device
CN107563168A (en) * 2017-09-05 2018-01-09 广东欧珀移动通信有限公司 Unlocking method, device and the mobile terminal of mobile terminal
CN107590375A (en) * 2017-09-12 2018-01-16 广东欧珀移动通信有限公司 Unlocking method and related product
CN107835286A (en) * 2017-10-27 2018-03-23 维沃移动通信有限公司 It is a kind of to prevent from misreading the method locked and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194834A (en) * 2018-09-27 2019-01-11 上海与德科技有限公司 mobile phone power-saving method, device, equipment and storage medium
CN109325336A (en) * 2018-10-19 2019-02-12 北京小米移动软件有限公司 Unlocking method, device and computer readable storage medium
US10735578B2 (en) 2018-10-19 2020-08-04 Beijing Xiaomi Mobile Software Co., Ltd. Method for unlocking a mobile terminal, devices using the same, and computer-readable storage media encoding the same
CN109325336B (en) * 2018-10-19 2024-04-19 北京小米移动软件有限公司 Unlocking method, unlocking device and computer readable storage medium
CN111327952A (en) * 2018-12-14 2020-06-23 中国移动通信集团山东有限公司 Video switching processing method and device
WO2020181523A1 (en) * 2019-03-13 2020-09-17 华为技术有限公司 Method and apparatus for waking up screen
CN111936990A (en) * 2019-03-13 2020-11-13 华为技术有限公司 Method and device for waking up screen
CN110045834A (en) * 2019-05-21 2019-07-23 广东工业大学 Detection method, device, system, equipment and storage medium for sight locking
CN112631432A (en) * 2021-01-05 2021-04-09 Oppo广东移动通信有限公司 Screen control method, wearable device and storage medium
CN113687899A (en) * 2021-08-25 2021-11-23 读书郎教育科技有限公司 Method and device for solving conflict between viewing notification and face unlocking
WO2023065849A1 (en) * 2021-10-19 2023-04-27 Oppo广东移动通信有限公司 Screen brightness adjustment method and apparatus for electronic device, and electronic device

Similar Documents

Publication Publication Date Title
CN108549802A (en) A kind of unlocking method, device and mobile terminal based on recognition of face
CN109381165A (en) A kind of skin detecting method and mobile terminal
CN109151180A (en) A kind of object identifying method and mobile terminal
CN108650408B (en) Screen unlocking method and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108427873A (en) A kind of biological feather recognition method and mobile terminal
CN108366220A (en) A kind of video calling processing method and mobile terminal
CN110007758A (en) A kind of control method and terminal of terminal
CN109284150A (en) A kind of method and terminal starting application program
CN108509782A (en) A kind of recognition of face control method and mobile terminal
CN108174012A (en) A kind of authority control method and mobile terminal
CN109525837A (en) The generation method and mobile terminal of image
CN108416203A (en) A kind of unlocking screen method and mobile terminal
CN108280337A (en) A kind of message protection method and mobile terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN109544172A (en) A kind of display methods and terminal device
CN109325334A (en) A kind of touch control terminal control method and touch control terminal
CN108038360A (en) The switching method and mobile terminal of a kind of operational mode
CN108769410A (en) A kind of method for sending information and mobile terminal
CN110312035A (en) A kind of control method of terminal, mobile terminal and computer readable storage medium
CN110225196A (en) Terminal control method and terminal device
CN109800606A (en) A kind of display control method and mobile terminal
CN110519443A (en) A kind of bright screen method and mobile terminal
CN109063462A (en) A kind of right management method and terminal device
CN108898000A (en) A kind of method and terminal solving lock screen

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