CN108345780A - A kind of solution lock control method and mobile terminal - Google Patents
A kind of solution lock control method and mobile terminal Download PDFInfo
- Publication number
- CN108345780A CN108345780A CN201810141034.0A CN201810141034A CN108345780A CN 108345780 A CN108345780 A CN 108345780A CN 201810141034 A CN201810141034 A CN 201810141034A CN 108345780 A CN108345780 A CN 108345780A
- Authority
- CN
- China
- Prior art keywords
- facial image
- mobile terminal
- identified
- prestores
- threshold value
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Abstract
The invention discloses a kind of solution lock control methods and mobile terminal, this method to include:Obtain the first facial image to be identified for mobile terminal unlock;First facial image to be identified is matched with the facial image that prestores;If the matching degree of the first facial image to be identified and the facial image that prestores is greater than or equal to the first matching threshold and is less than the second preset matching threshold value, controls mobile terminal and first object unlocked state is switched to by lock-out state;When mobile terminal is in first object unlocked state, mobile terminal is ignored user and is operated to the input of mobile terminal screen.When the matching degree of face to be identified and the face that prestores is greater than or equal to the first preset matching threshold value and is less than the second preset matching threshold value, control mobile terminal enters first object unlocked state, and mobile terminal is made not to be in the lock state always, improves user experience.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of solution lock control methods and mobile terminal.
Background technology
In the prior art, there are many unlock control modes of mobile phone, for example, numerical ciphers unlock, pattern unlock, fingerprint knowledge
Not Xie Suo and recognition of face unlock etc. various ways.Recognition of face unlocking manner unlocks convenient and unlock safety due to it
Can be higher and increasingly paid close attention to by user.
The mode of common recognition of face unlock mainly has following steps, the facial image acquired by mobile phone camera with
It prestores and is compared between facial image, when comparison result reaches a predetermined threshold, just mobile phone is unlocked.Due to light
And the other reasons such as photo angle can cause user's face recognition process consuming time longer, also, even owner,
It is possible that the problem of mobile phone unlock failure, cause user experience poor.
Invention content
The present invention provides a kind of solution lock control method and mobile terminals, because that can not unlock when solving recognition of face unlock
Success carries out the problem that recognition of face causes user experience poor for a long time.
In a first aspect, an embodiment of the present invention provides a kind of solution lock control method, it is applied to mobile terminal, including:
Obtain the first facial image to be identified for mobile terminal unlock;
Described first facial image to be identified is matched with the facial image that prestores;
If the matching degree of the facial image to be identified and the facial image that prestores is greater than or equal to the first preset matching threshold value
And be less than the second preset matching threshold value, then it controls the mobile terminal and first object unlocked state, institute is switched to by lock-out state
It is to be used to indicate of the described first facial image to be identified and the facial image successful match that prestores to state the second preset matching threshold value
With threshold value;
Wherein, when the mobile terminal is in first object unlocked state, the mobile terminal ignores user to movement
The input of terminal screen operates.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
First acquisition module, for obtaining the first facial image to be identified for mobile terminal unlock;
First matching module, for matching the described first facial image to be identified with the facial image that prestores;
First control module, if for the described first facial image to be identified and prestore facial image matching degree be more than or
Equal to the first matching threshold and it is less than the second preset matching threshold value, then controls the mobile terminal and switch to first by lock-out state
Target unlocked state, the second preset matching threshold value are to be used to indicate the described first facial image to be identified and the face figure that prestores
As the matching threshold of successful match;
Wherein, when the mobile terminal is in first object unlocked state, the mobile terminal ignores user to movement
The input of terminal screen operates.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including processor, memory and are stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
It realizes such as the step of above-mentioned solution lock control method.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit
It is stored with computer program on storage media, such as above-mentioned solution lock control method is realized when the computer program is executed by processor
The step of.
In this way, in the embodiment of the present invention, it is greater than or equal to the in the matching degree of the first face to be identified and the face that prestores
One predetermined threshold value and less than the second preset matching threshold value when, control mobile terminal by lock-out state switch to first object unlock shape
State completes mobile terminal unlock so that mobile terminal will not be constantly in lock-out state, improve user experience.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 shows one of the flow charts of embodiment of the solution lock control method of the present invention;
Fig. 2 indicates the two of the flow chart of the embodiment of the solution lock control method of the present invention;
Fig. 3 indicates the three of the flow chart of the embodiment of the solution lock control method of the present invention;
Fig. 4 indicates the four of the flow chart of the embodiment of the solution lock control method of the present invention;
Fig. 5 indicates the five of the flow chart of the embodiment of the solution lock control method of the present invention;
Fig. 6 indicates the six of the flow chart of the embodiment of the solution lock control method of the present invention;
Fig. 7 indicates one of the structural schematic diagram of embodiment of mobile terminal of the present invention;
Fig. 8 shows the second structural representations of the embodiment of the mobile terminal of the present invention;
Fig. 9 indicates the block diagram of the embodiment of mobile terminal of the present 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.
Referring to Fig.1, an embodiment of the present invention provides a kind of solution lock control methods, are applied to mobile terminal, including:
Step 101, the first facial image to be identified for mobile terminal unlock is obtained.
Specifically, in embodiments of the present invention, the first face to be identified can be a living body faces, or a plane
Image or 3D rendering.
Mobile terminal carries out Image Acquisition by the first face to be identified of camera pair, and mobile terminal can be only to be configured with
The mobile terminal of single camera is configured with the mobile terminal of front camera and rear camera, and is configured with dual camera
Mobile terminal.It, can be according to user when mobile terminal is the mobile terminal configured with front camera and rear camera
Selection, and the first face to be identified of specific camera pair is selected to carry out Image Acquisition.
In embodiments of the present invention, the facial image to be identified got is multiple different visual angles of the first face to be identified
Image.Can be by a camera pair the to the acquisition of the images of multiple different visual angles of the first facial image to be identified
One facial image to be identified is acquired, and can also obtain the first people to be identified from different directions by multiple and different cameras
The facial image of multiple different visual angles of face image.
Also, in embodiments of the present invention, due to it is possible that the first people to be identified is not present in collected picture
Therefore face in camera collects multiple images, needs to screen out the image there is no face, to obtain multiple different visual angles
The first facial image to be identified.
Step 102, the first facial image to be identified is matched with the facial image that prestores.
Specifically, with reference to Fig. 2, in embodiments of the present invention, which is specially:
Step 201, face characteristic information is extracted from the first facial image to be identified of multiple different visual angles respectively, and obtained
The corresponding face characteristic information group of the first facial image to be identified;
Step 202, the face characteristic information in face characteristic information group is merged using Fusion Features function, is obtained
Fusion feature information;
Step 203, according to the face characteristic information of fusion feature information and the facial image that prestores, the first people to be identified is determined
The matching degree of face and the face that prestores.
Wherein, face characteristic information may include the face characteristic informations such as eyes, mouth, nose, ear, head dummy and shape of face.
In embodiments of the present invention, which is indicated using face feature vector.
In embodiments of the present invention, step 203 specifically includes:Assuming that M1、M2、……MnIt is n of the first face to be identified
The image of different visual angles, f1、f2、……fnFor from M1、M2、……MnThe face characteristic extracted in first facial image to be identified to
Amount, M1() is a Fusion Features function, then the face feature vector at n visual angle after fusion, obtain fusion feature to
Measure formula:
F=M1(f1、f2、……fn)
By the feature vector f of fusion feature vector r and the face that prestoresgIt is compared, to calculate its matching degree.For example, logical
Cross alignment score sgIt indicates the matching degree, and with S () calculates function to indicate matching degree,
Formula can then be passed through:sg=S (f, fg)
Calculate the similarity between the first facial image to be identified and the facial image that prestores.
Wherein, Fusion Features function M1() and matching degree calculate S () can be depending on the demand of practical application, example
Such as, Fusion Features function M1() can take different face feature vectors the maximum of every one-dimensional upper feature, minimum, average value or
Weighted average is calculated.
Step 103, if the first facial image to be identified is matched with the matching degree for the facial image that prestores more than or equal to first
Threshold value and it is less than the second preset matching threshold value, then controls mobile terminal and first object unlocked state is switched to by lock-out state, the
Two preset matching threshold values are to be used to indicate the matching threshold of the first facial image to be identified and the facial image successful match that prestores.
Wherein, when mobile terminal is in first object unlocked state, mobile terminal ignores user to mobile terminal screen
Input operation.
The numerical value of first preset matching threshold value and the second preset matching threshold value can be set by user, or pass through system
It pre-sets.
Specifically, lock-out state refers to part input operation (such as user that mobile terminal can respond preset user
The numerical ciphers unlock operation of input, operation is changed to the screen locking theme of mobile terminal) state;First object unlocked state is
Mobile terminal shows unlock interface, ignores user to the state for fully entering operation on screen.Wherein, mobile terminal is entered
Unlock interface can be mobile terminal initial launch interface (such as system desktop) or mobile terminal upper primary in solution
The Application Program Interface run when lock status.Under the first object unlocked state, mobile terminal can be to the reality in terminal
The input operation of body button (such as power key and/or volume key) is responded or is ignored.
Matching degree between the first facial image to be identified and the facial image that prestores is greater than or equal to the first preset matching
Threshold value and less than the second preset matching threshold value when, at this point, show the first face to be identified be prestore face possibility it is larger, but
Cause mobile terminal that face to be identified is not recognized accurately due to light, shooting angle etc., at this point, mobile whole by controlling
End enters first object unlocked state so that mobile terminal will not rest on the state that recognition of face can not unlock for a long time, carry
High user experience.
With reference to Fig. 3, further, in embodiments of the present invention, method further includes:
Step 104, it is preset if the matching degree of the first facial image to be identified and the facial image that prestores is greater than or equal to second
Matching threshold then controls mobile terminal and switches to the second target unlocked state by lock-out state.
Wherein, when mobile terminal is in the second target unlocked state, mobile terminal responds the input operation of user.
Matching degree between the first facial image to be identified and the facial image that prestores is greater than or equal to the second preset matching
When threshold value, show that the first face to be identified is to prestore face, at this point, switching to the by lock-out state by controlling mobile terminal
Two target unlocked states so that user can manipulate mobile terminal, realize the function of terminal unlocking.
Step 105, if the matching degree of the first facial image to be identified and the facial image that prestores is less than the first preset matching threshold
Value then controls mobile terminal and keeps lock-out state.
When the matching degree of first facial image to be identified and the facial image that prestores is less than the first preset matching threshold value,
Show first face to be identified be prestore face possibility it is extremely low, at this point, by control mobile terminal keep lock-out state,
Ensure the safe to use of mobile terminal.
With reference to Fig. 4, further, in embodiments of the present invention, if the first facial image to be identified and the face figure that prestores
The matching degree of picture is greater than or equal to the first preset matching threshold value and is less than the second preset matching threshold value, then controls mobile terminal by locking
After determining the step of state switches to first object unlocked state, method further includes:
Step 106, the second facial image to be identified for mobile terminal unlock is obtained;
Step 107, the second facial image to be identified is matched with the facial image that prestores;
Step 108, it is preset if the matching degree of the second facial image to be identified and the facial image that prestores is greater than or equal to second
Matching threshold then controls mobile terminal and switches to the second target unlocked state by first object unlocked state.
Wherein, the step 106 to operating in a special time period for step 108 carries out, the starting of the special time period
Moment is to determine that the matching degree of the first facial image to be identified and the facial image that prestores is greater than or equal to the second preset matching threshold
At the time of value, end time can be mobile terminal enter the first object unlocked state during, user is to mobile terminal
At the time of screen carries out touch-control.Wherein, the step of user carries out touch-control to mobile terminal screen can be user to unlock interface
Touch control operation.That is, above-mentioned steps 201 to step 203 and mobile terminal enter the first object unlocked state be synchronize hold
Capable step.Due to different at the time of user is to mobile terminal progress touch-control, which not has for one special
The timing long period.Certainly, in another realization, end time can be and the specific duration in initial time interval.Solution
Lock interface is to remove the interface shown after locking screen interface, and for details, reference can be made to the descriptions of front.
In step 106, the second facial image to be identified refer to mobile terminal camera in the special time period institute
The facial image resurveyed, at this point, the corresponding face of facial image that camera is acquired can be and in step 101
Corresponding first face to be identified of one facial image to be identified is same face, can also be corresponding with step 101 first
The different another face of face to be identified.
Also, in the embodiment of the present invention, to obtaining first in the second facial image to be identified and step 101 in step 106
The acquisition principle of facial image to be identified is consistent, similarly, by the second facial image to be identified and the face that prestores in step 107
It is consistent with the principle in above-mentioned steps 201 to above-mentioned steps 203 that image carries out matched specific steps, here, no longer carrying out
It repeats.
In step 108, when the matching degree of the second facial image to be identified and the facial image that prestores is greater than or equal to second
Recognition of face that preset matching threshold value, i.e. surface carry out in special time period success, at this point, by control mobile terminal by
First object unlocked state switches to the second target unlocked state so that the input that mobile terminal is capable of relative users completely is grasped
Make.
Content in step 106 to step 108 is equivalent to two after mobile terminal enters first object unlocked state
Difference lies in, the step 105 and step 106 it is to hide to execute in secondary recognition of face, with abovementioned steps 101 and step 102,
User can't intuitively observe the action performed by the step 106 to step 108;Mobile terminal is passed after completing step 103
It is up to the message to user:Mobile terminal unlocked success, user can operate mobile terminal.That is, mobile
Terminal is after completing step 103, and actually and not very successful unlock mobile terminal, but mobile terminal shows one to user
Kind has been completely successful the interface of unlock mobile terminal so that and mobile terminal need not rest on recognition of face state for a long time, and
In a special time period, secondary recognition of face is carried out to mobile terminal, and after secondary recognition of face success, controlled mobile whole
End switches to the second target unlocked state by lock-out state so that mobile terminal can respond user and input operation, improve user
Experience.
With reference to Fig. 5, further, in embodiments of the present invention, method further includes:
Step 109, if the matching degree of the second facial image to be identified and the facial image that prestores is less than the second preset matching threshold
Value, then control mobile terminal and switch to lock-out state by first object unlocked state.
If the matching degree of the second facial image to be identified and the facial image that prestores is less than the second preset matching threshold value, show
Mobile terminal is failed by carrying out recognition of face twice, at this point, in order to ensure that mobile terminal is safe to use, by that will move
Terminal switches to lock-out state from the first object unlocked state, and user is prompted to need to carry out the unlock of recognition of face again.
With reference to Fig. 6, further, in embodiments of the present invention, by the first facial image to be identified and the face figure that prestores
Before as the step of being matched, method further includes:
Step 110, determine whether the first facial image to be identified is flat image;
If not then executing the step of being matched the first facial image to be identified with the facial image that prestores.
Wherein, this method further includes:When it is flat image to determine the first facial image to be identified, mobile terminal is controlled
Keep lock-out state.
Specifically, which includes:According to the first facial image to be identified of multiple different visual angles, set by camera shooting
The depth information of standby scaling method reduction face;Determine whether the first face to be identified is flat image according to depth information.
By judging whether first facial image to be identified is flat image, the people before cam lens is determined according to this
Whether face is a true face, prevents criminal using user picture or video image to be unlocked to mobile terminal,
And then ensure the safety of face unlock.
The above method of the present invention, the matching degree between the first facial image to be identified and the facial image that prestores are more than or wait
When the second preset matching threshold value, show that the first face to be identified is the face that prestores, at this point, by controlling mobile terminal by locking
Determine state and switch to the second target unlocked state so that user can manipulate mobile terminal, realize the work(of terminal unlocking
Energy;Matching degree between the first facial image to be identified and the facial image that prestores be greater than or equal to the first preset matching threshold value and
When less than the second preset matching threshold value, at this point, show the first face to be identified be prestore face possibility it is larger, but due to light
The reasons such as line, shooting angle cause mobile terminal that face to be identified is not recognized accurately, at this point, by controlling mobile terminal by locking
Determine state and switch to first object unlocked state, the state that recognition of face can not unlock will not be rested on for a long time, improves user
Experience.
With reference to Fig. 7, according to another aspect of the present invention, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
First acquisition module 301, for obtaining the first facial image to be identified unlocked for mobile terminal 300;
First matching module 302, for matching the first facial image to be identified with the facial image that prestores;
First control module 303, if for the first facial image to be identified and prestore facial image matching degree be more than or
Equal to the first matching threshold and it is less than the second preset matching threshold value, then controls mobile terminal 300 and switch to first by lock-out state
Target unlocked state, the second preset matching threshold value are to be used to indicate the first facial image to be identified to match into the facial image that prestores
The matching threshold of work(;Wherein, when mobile terminal 300 is in first object unlocked state, mobile terminal 300 ignores user to moving
The input operation of 300 screen of dynamic terminal.
With reference to Fig. 8, it is preferable that mobile terminal 300 further includes:
Second control module 304, if for the first facial image to be identified and prestore facial image matching degree be more than or
Equal to the second preset matching threshold value, then controls mobile terminal and the second target unlocked state is switched to by lock-out state;
Third control module 305, if being less than for the matching degree of the first facial image to be identified and the facial image that prestores
One preset matching threshold value then controls mobile terminal and keeps lock-out state;
Wherein, when mobile terminal is in the second target unlocked state, mobile terminal responds the input operation of user.
With reference to Fig. 8, it is preferable that mobile terminal 300 further includes:
Second acquisition module 306, for obtaining the second facial image to be identified for mobile terminal unlock;
Second matching module 307, for matching the second facial image to be identified with the facial image that prestores;
4th control module 308, if for the second facial image to be identified and prestore facial image matching degree be more than or
Equal to the second preset matching threshold value, then controls mobile terminal 300 and second target unlock shape is switched to by first object unlocked state
State.
With reference to Fig. 8, it is preferable that mobile terminal 300 further includes:
5th control module 309, if being less than for the matching degree of the second facial image to be identified and the facial image that prestores
Two preset matching threshold values then control mobile terminal 300 and switch to lock-out state by first object unlocked state.
With reference to Fig. 8, it is preferable that the first matching module 302 includes:
Extraction unit 3021, for extracting face characteristic from the first facial image to be identified of multiple different visual angles respectively
Information, and the corresponding face characteristic information group of the first facial image to be identified of acquisition;
Integrated unit 3022, for being carried out the face characteristic information in face characteristic information group using Fusion Features function
Fusion obtains fusion feature information;
Determination unit 3023, for according to fusion feature information and the face characteristic information of facial image of prestoring, determining the
The matching degree of one face to be identified and the face that prestores.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 6
Each process, to avoid repeating, which is not described herein again.It is more than or waits in the matching degree of the first face to be identified and the face that prestores
In the first predetermined threshold value and less than the second preset matching threshold value when, control mobile terminal first object solution is switched to by lock-out state
Lock status completes mobile terminal unlock so that mobile terminal will not be constantly in lock-out state, improve user experience.
A kind of hardware architecture diagram of Fig. 9 mobile terminals of each embodiment to realize the present invention, the mobile terminal 100
Including but not limited to:Radio frequency unit 401, audio output unit 403, input unit 404, sensor 405, is shown network module 402
Show the components such as unit 406, user input unit 407, interface unit 408, memory 409, processor 410 and power supply 411.
It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 9 does not constitute the restriction to mobile terminal, it is mobile whole
End may include either combining certain components or different components arrangement than illustrating more or fewer components.In the present invention
In embodiment, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear
Wear equipment and pedometer etc..
Wherein, radio frequency unit 401, for carrying out receiving and transmitting signal according to the control of processor 401;
Processor 410, for obtaining the first facial image to be identified for mobile terminal unlock;By the first people to be identified
Face image is matched with the facial image that prestores;If the first facial image to be identified and prestore facial image matching degree be more than or
Equal to the first preset matching threshold value and it is less than the second preset matching threshold value, then controls mobile terminal and switch to first by lock-out state
Target unlocked state, the second preset matching threshold value are to be used to indicate the first facial image to be identified to match into the facial image that prestores
The matching threshold of work(;Wherein, when mobile terminal is in first object unlocked state, mobile terminal ignores user to mobile terminal
The input of screen operates.
It is greater than or equal to the first predetermined threshold value in the matching degree of the first face to be identified and the face that prestores and is less than second in advance
If when matching threshold, control mobile terminal switches to first object unlocked state by lock-out state, mobile terminal unlock is completed, is made
Lock-out state will not be constantly in by obtaining mobile terminal, improve user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 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 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 402 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 403 can receive radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loud speaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 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 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 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 401 by being converted in the case of telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, 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 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear
Display panel 4061 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 mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 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 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 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 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, 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 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 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 410, receiving area
It manages the order that device 410 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 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 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 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touch
The type for touching event provides corresponding visual output on display panel 4061.Although in fig.9, touch panel 4071 and display
Panel 4061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.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 408 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 mobile terminal 100 or can be used in 100 He of mobile terminal
Transmission data between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 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 409 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 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 410 may include one or more processing units;Preferably, processor 410 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 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can be run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned solution lock control 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 solution lock control 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.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.
Claims (11)
1. a kind of solution lock control method is applied to mobile terminal, which is characterized in that including:
Obtain the first facial image to be identified for mobile terminal unlock;
Described first facial image to be identified is matched with the facial image that prestores;
If the matching degree of first facial image to be identified and the facial image that prestores is greater than or equal to the first preset matching threshold value
And be less than the second preset matching threshold value, then it controls the mobile terminal and first object unlocked state, institute is switched to by lock-out state
It is to be used to indicate of the described first facial image to be identified and the facial image successful match that prestores to state the second preset matching threshold value
With threshold value;
Wherein, when the mobile terminal is in the first object unlocked state, the mobile terminal ignores user to movement
The input of terminal screen operates.
2. solution lock control method according to claim 1, which is characterized in that the method further includes:
If the matching degree of first facial image to be identified and the facial image that prestores is greater than or equal to second preset matching
Threshold value then controls mobile terminal and switches to the second target unlocked state by lock-out state;
If the matching degree of first facial image to be identified and the facial image that prestores is less than the first preset matching threshold value,
It controls the mobile terminal and keeps lock-out state;
Wherein, when the mobile terminal is in the second target unlocked state, the input of the mobile terminal response user
Operation.
3. solution lock control method according to claim 2, which is characterized in that if first facial image to be identified with it is pre-
The matching degree for depositing facial image is greater than or equal to the first preset matching threshold value and is less than the second preset matching threshold value, then described in control
After the step of mobile terminal switches to first object unlocked state by lock-out state, the method further includes:
Obtain the second facial image to be identified for mobile terminal unlock;
Described second facial image to be identified is matched with the facial image that prestores;
If the matching degree of second facial image to be identified and the facial image that prestores is greater than or equal to second preset matching
Threshold value then controls the mobile terminal and switches to the second target unlocked state by the first object unlocked state.
4. solution lock control method according to claim 3, which is characterized in that the method further includes:
If the matching degree of second facial image to be identified and the facial image that prestores is less than the second preset matching threshold value,
It controls the mobile terminal and the lock-out state is switched to by the first object unlocked state.
5. solution lock control method according to claim 1, which is characterized in that described by the described first facial image to be identified
The step of being matched with the facial image that prestores include:
Face characteristic information is extracted from the first facial image to be identified of multiple different visual angles respectively, and it is to be identified to obtain first
The corresponding face characteristic information group of facial image;
The face characteristic information in the face characteristic information group is merged using Fusion Features function, obtains fusion feature
Information;
According to the face characteristic information of the fusion feature information and the facial image that prestores, the described first people to be identified is determined
The matching degree of face and the face that prestores.
6. a kind of mobile terminal, which is characterized in that including:
First acquisition module, for obtaining the first facial image to be identified for mobile terminal unlock;
First matching module, for matching the described first facial image to be identified with the facial image that prestores;
First control module, if the matching degree for the described first facial image to be identified and the facial image that prestores is greater than or equal to
First matching threshold and be less than the second preset matching threshold value, then control the mobile terminal and first object switched to by lock-out state
Unlocked state, the second preset matching threshold value are to be used to indicate the described first facial image to be identified and the facial image that prestores
With successful matching threshold;
Wherein, when the mobile terminal is in the first object unlocked state, the mobile terminal ignores user to movement
The input of terminal screen operates.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further includes:
Second control module, if the matching degree for the described first facial image to be identified and the facial image that prestores is greater than or equal to
The second preset matching threshold value then controls mobile terminal and switches to the second target unlocked state by lock-out state;
Third control module, if being less than described for the matching degree of the described first facial image to be identified and the facial image that prestores
One preset matching threshold value then controls the mobile terminal and keeps lock-out state;
Wherein, when the mobile terminal is in the second target unlocked state, the input of the mobile terminal response user
Operation.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further includes:
Second acquisition module, for obtaining the second facial image to be identified for mobile terminal unlock;
Second matching module, for matching the described second facial image to be identified with the facial image that prestores;
4th control module, if the matching degree for the described second facial image to be identified and the facial image that prestores is greater than or equal to
The second preset matching threshold value then controls the mobile terminal and switches to second mesh by the first object unlocked state
Mark unlocked state.
9. mobile terminal according to claim 8, which is characterized in that the mobile terminal further includes:
5th control module, if being less than described for the matching degree of the described second facial image to be identified and the facial image that prestores
Two preset matching threshold values then control first object unlocked state described in the mobile terminal and switch to the lock-out state.
10. mobile terminal according to claim 6, which is characterized in that the first matching module includes:
Extraction unit, for extracting face characteristic information from the first facial image to be identified of multiple different visual angles respectively, and
Obtain the corresponding face characteristic information group of the first facial image to be identified;
Integrated unit, for being melted the face characteristic information in the face characteristic information group using Fusion Features function
It closes, obtains fusion feature information;
Determination unit determines institute for the face characteristic information according to the fusion feature information and the facial image that prestores
State the matching degree of the first face to be identified and the face that prestores.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be 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 solution lock control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810141034.0A CN108345780B (en) | 2018-02-11 | 2018-02-11 | Unlocking control method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810141034.0A CN108345780B (en) | 2018-02-11 | 2018-02-11 | Unlocking control method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108345780A true CN108345780A (en) | 2018-07-31 |
CN108345780B CN108345780B (en) | 2020-06-02 |
Family
ID=62958878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810141034.0A Active CN108345780B (en) | 2018-02-11 | 2018-02-11 | Unlocking control method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108345780B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800644A (en) * | 2018-12-17 | 2019-05-24 | 深圳壹账通智能科技有限公司 | Terminal device switching method, device, medium and terminal based on Expression Recognition |
CN111274899A (en) * | 2020-01-15 | 2020-06-12 | 北京明略软件系统有限公司 | Face matching method and device, electronic equipment and storage medium |
CN111936990A (en) * | 2019-03-13 | 2020-11-13 | 华为技术有限公司 | Method and device for waking up screen |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408343A (en) * | 2014-11-09 | 2015-03-11 | 河南华辰智控技术有限公司 | Threshold value calculating method for identifying biological features through authentication system |
CN107305624A (en) * | 2016-04-20 | 2017-10-31 | 厦门中控智慧信息技术有限公司 | A kind of person recognition method and device based on multi-mode biometric information |
-
2018
- 2018-02-11 CN CN201810141034.0A patent/CN108345780B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408343A (en) * | 2014-11-09 | 2015-03-11 | 河南华辰智控技术有限公司 | Threshold value calculating method for identifying biological features through authentication system |
CN107305624A (en) * | 2016-04-20 | 2017-10-31 | 厦门中控智慧信息技术有限公司 | A kind of person recognition method and device based on multi-mode biometric information |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800644A (en) * | 2018-12-17 | 2019-05-24 | 深圳壹账通智能科技有限公司 | Terminal device switching method, device, medium and terminal based on Expression Recognition |
CN111936990A (en) * | 2019-03-13 | 2020-11-13 | 华为技术有限公司 | Method and device for waking up screen |
CN111274899A (en) * | 2020-01-15 | 2020-06-12 | 北京明略软件系统有限公司 | Face matching method and device, electronic equipment and storage medium |
CN111274899B (en) * | 2020-01-15 | 2024-03-26 | 北京明略软件系统有限公司 | Face matching method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108345780B (en) | 2020-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151180A (en) | A kind of object identifying method and mobile terminal | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN107704086A (en) | A kind of mobile terminal operating method and mobile terminal | |
CN107845057A (en) | One kind is taken pictures method for previewing and mobile terminal | |
CN108509782A (en) | A kind of recognition of face control method and mobile terminal | |
CN108833709A (en) | A kind of the starting method and mobile terminal of camera | |
CN108229420A (en) | A kind of face identification method, mobile terminal | |
CN107679514A (en) | A kind of face identification method and electronic equipment | |
CN109284150A (en) | A kind of method and terminal starting application program | |
CN109688253A (en) | A kind of image pickup method and terminal | |
CN108256308A (en) | A kind of recognition of face solution lock control method and mobile terminal | |
CN110018805A (en) | A kind of display control method and mobile terminal | |
CN108174081B (en) | A kind of image pickup method and mobile terminal | |
CN108345780A (en) | A kind of solution lock control method and mobile terminal | |
CN109544172A (en) | A kind of display methods and terminal device | |
CN109033913A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN109033912A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN107908983A (en) | A kind of method and mobile terminal for controlling mobile terminal screen | |
CN110519443B (en) | Screen lightening method and mobile terminal | |
CN110312035A (en) | A kind of control method of terminal, mobile terminal and computer readable storage medium | |
CN107800968B (en) | A kind of image pickup method and mobile terminal | |
CN109800606A (en) | A kind of display control method and mobile terminal | |
CN109218984A (en) | A kind of method for tracing and mobile terminal | |
CN108055400A (en) | A kind of wallpaper switching method and mobile terminal | |
CN108536513A (en) | A kind of picture display direction method of adjustment and mobile terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |