CN107656772A - Face identification method and Related product - Google Patents
Face identification method and Related product Download PDFInfo
- Publication number
- CN107656772A CN107656772A CN201710885485.0A CN201710885485A CN107656772A CN 107656772 A CN107656772 A CN 107656772A CN 201710885485 A CN201710885485 A CN 201710885485A CN 107656772 A CN107656772 A CN 107656772A
- Authority
- CN
- China
- Prior art keywords
- component
- lock set
- touch operation
- camera
- processor
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of face identification method and Related product, wherein method includes:Under bright screen state, the first touch operation is detected;Multiple components corresponding with first touch operation are shown on screen locking desktop, the multiple component includes at least one lock set to be solved;For the selection operation of target solution lock set, the target solution lock set is one at least one lock set to be solved for detection;Start camera and carry out recognition of face.Using the present invention, the accuracy of recognition of face startup can be improved, and saves the power consumption of mobile terminal.
Description
Technical field
The present invention relates to technical field of mobile terminals, has related generally to a kind of face identification method and Related product.
Background technology
With the continuous development of mobile terminal technology, the use of the mobile terminal such as mobile phone, computer, flat board is more and more general
And and allow to be unlocked using face identification method.In the prior art, when lighting touching display screen, start camera and adopt
Collect facial image to be verified.However, sometimes user lights touching display screen and is intended merely to check time or notification message, such as
The accuracy what improves startup recognition of face is the problem of those skilled in the art need research.
The content of the invention
The embodiments of the invention provide a kind of face identification method and Related product, can improve the standard that recognition of face starts
True property and security, and save the power consumption of mobile terminal.
In a first aspect, the embodiment of the present invention provides a kind of face identification method, including:
Under bright screen state, the first touch operation is detected;
Multiple components corresponding with first touch operation are shown on screen locking desktop, the multiple component is included at least
One lock set to be solved;
For the selection operation of target solution lock set, the target solution lock set at least one treats unblock group to be described for detection
One in part;
Start camera and carry out recognition of face.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, including processor, be connected with the processor it is tactile
Display screen and camera are controlled, wherein:
The processor, for obtaining multiple components corresponding with the first touch operation, the multiple component is included at least
One lock set to be solved;
The touching display screen, under bright screen state, detecting first touch operation;Opened up on screen locking desktop
Show multiple components corresponding with first touch operation;And detection is for the selection operation of target solution lock set, the mesh
Mark solution lock set is one at least one lock set to be solved;
The camera, for gathering target facial image.
The third aspect, the embodiment of the present invention provide a kind of face identification device, including:
First detection unit, under bright screen state, detecting the first touch operation;
Display unit is described more for showing multiple components corresponding with first touch operation on screen locking desktop
Individual component includes at least one lock set to be solved;
Second detection unit, for receiving the selection instruction for target solution lock set, the target solution lock set is institute
State one at least one lock set to be solved;
Start unit, recognition of face is carried out for starting camera.
Fourth aspect, the embodiments of the invention provide another face identification method, applied to including processor, with it is described
The touching display screen of processor connection and the mobile terminal of camera, wherein:
The processor obtains multiple components corresponding with the first touch operation, and the multiple component includes at least one treat
Solve lock set;
The touching display screen detects first touch operation under bright screen state;On screen locking desktop displaying with
Multiple components corresponding to first touch operation;And detection is for the selection operation of target solution lock set, the target solution
Lock set is one at least one lock set to be solved;
The camera gathers target facial image.
5th aspect, the embodiment of the present invention provide another mobile terminal, including processor, memory, communication interface with
And one or more programs, wherein, said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned
Computing device, described program include being used for such as the instruction of the part or all of step described in first aspect.
6th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, it is described computer-readable
Storage medium stores computer program, wherein, the computer program causes computer to perform such as first party of the embodiment of the present invention
Part or all of step described in face.
7th aspect, the embodiments of the invention provide a kind of computer program product, wherein, the computer program product
Non-transient computer-readable recording medium including storing computer program, the computer program are operable to make calculating
Machine is performed such as the part or all of step described in first aspect of the embodiment of the present invention.The computer program product can be one
Individual software installation bag.
Implement the embodiment of the present invention, will have the advantages that:
After employing above-mentioned face identification method and Related product, under bright screen state, if detecting the first touch
Operation, then multiple components corresponding with the first touch operation are shown on screen locking desktop.And in detecting for multiple components
Target solution lock set selection operation when, start camera carry out recognition of face.That is, under bright screen state, do not have
Directly initiate camera carry out recognition of face, but according to user for mobile terminal the first touch operation displaying corresponding to group
Part, and recognition of face is carried out just to start camera when lock set is solved in the component of user's selection, camera is otherwise not turned on,
So as to improve the accuracy of recognition of face startup, and save the power consumption of mobile terminal.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Wherein:
Fig. 1 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention;
Figure 1A is a kind of schematic diagram of a scenario of the multiple components of screen locking desktop presentation provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of face identification method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another face identification method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of face identification device provided in an embodiment of the present invention;
Fig. 4 A are a kind of structural representation of first acquisition unit provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another mobile terminal provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap
Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments
In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
The embodiments of the invention provide a kind of face identification method and Related product, can improve the standard that recognition of face starts
True property and security, and save the power consumption of mobile terminal.
Referring to Fig. 1, Fig. 1 is that the embodiments of the invention provide a kind of structural representation of mobile terminal 100, above-mentioned movement
Terminal 100 includes:Housing, touching display screen 130, mainboard, battery and subplate, front camera 21, processing are provided with mainboard
Device 110, memory 120 and client identification module (Subscriber Identity Module, SIM) neck etc., set on subplate
It is equipped with oscillator, integral sound chamber and VOOC and dodges and fill interface, above-mentioned front camera 21 forms the face recognition mould of the mobile terminal 100
Block.
The embodiment of the present invention is not construed as limiting for the concrete form of camera, specifically be can refer to and is configured in mobile terminal 100
Camera, be defaulted as front camera 21, can be with rear camera or rotating camera etc..Carried out by a variety of cameras
IMAQ, improve the convenience of operation and the flexibility of unblock.
Screen locking desktop is the page that touching display screen 130 is shown, it may include lock set to be solved and non-solution under screen lock state
Lock set.Lock set to be solved involved by the embodiment of the present invention is proved to be successful Shi Caiyou for unblock and uses the corresponding application of the component
Authority, non-solution lock set are the component that part or all of function can be used in the case of without unblock.Lock set to be solved
It may include message components, searching component, start solution lock set, Video Applications component or friend-making application component etc., non-unblock group
Part may include component corresponding to application component, flashlight, calculator, bluetooth mode, wireless connection etc. of taking pictures.
For example, when user selection be start solution lock set when, start facial recognition modules be unlocked checking,
Into the homepage of mobile terminal when unblock is proved to be successful;When user selection application component of taking pictures be when lock set is solved,
Unblock can just enable application of taking pictures when being proved to be successful, and otherwise verify again;When the application component of taking pictures of user's selection is non-unblock
During component, application of taking pictures is directly entered, touching display screen shows the image of camera collection.
Based on the mobile terminal 100 described by Fig. 1, operations described below can perform:
In embodiments of the present invention, touching display screen 130 is used under bright screen state, detects the first touch operation;
Multiple components corresponding with first touch operation are shown on screen locking desktop;And detection is for the selection of target solution lock set
Operation.
Wherein, multiple components include at least one lock set to be solved, and target solution lock set treats unblock group to be at least one
One in part.That is, needing to start unblock application when user's selection target solution lock set, and it is proved to be successful in unblock
Into the page corresponding to target solution lock set.
The embodiment of the present invention is not construed as limiting for the concrete form of the first touch operation, can be click, double-click, drawing a circle,
Draw S or other forms.Touching display screen 130 shows corresponding component for each touch operation, optionally, described to deposit
Reservoir 120 is used to store the mapping relations between touch operation and display module;First is detected in the touching display screen 130
After touch operation, the processor 110 is used for according to mapping relationship searching institute corresponding with first touch operation
State multiple components.
That is, memory 120 has prestored various touch operations and corresponding display module, processor
110 is multiple according to corresponding to the first touch operation that the mapping relationship searching touching display screen 130 that memory 120 stores detects
Component, improve search efficiency.And under bright screen state, touching display screen 130 shows that time, date, signal, electricity etc. are basic
Information, could be shown after the touch operation specified of user's input corresponding to component, improve the security of data, and save
The power consumption of mobile terminal.
For example, the mapping relations between touch operation as shown in table 1 and display module, it is assumed that the first touch operation
To click, understand that display module corresponding to the first touch operation includes Video Applications component and started to solve lock set by tabling look-up.
Table 1
The embodiment of the present invention, can be according to multiple components for how on screen locking desktop to show that multiple components are not construed as limiting
In the predeterminated position of each component be shown, can also be shown according to the predeterminated position in the first touch operation, may be used also
To be shown according to the incidence relation in multiple components between each component and current screen locking desktop.
Optionally, the processor 110 is used to obtain each display priority corresponding to component in the multiple component, obtains
To multiple display priorities;Shown in the touching display screen 130 on screen locking desktop corresponding with first touch operation
In terms of multiple components, the touching display screen 130 is specifically used on the screen locking desktop according to the multiple display priority
Show the multiple component.
That is, being shown by the rank of the display priority of each component, its display priority is bigger, is locking
The display location shielded on desktop is more obvious, i.e., position is more forward, the position shared by component is bigger or the mode of displaying is more prominent, instead
It, display priority is smaller, it may be necessary to which page turning or expansion can just be checked, improve displaying efficiency.
Acquisition of the embodiment of the present invention for display priority does not also limit, and optionally, obtains in the multiple component
The frequency of use and backstage active degree of each component;It is living according to the frequency of use of each component in the multiple component and backstage
Jump degree determines the display priority of the application.
Wherein, frequency of use is that user is counted in preset duration using the number of the component;Backstage active degree is to work as
Internet resources, processor resource or memory source taken on backstage etc. is applied to take the proportion of resource corresponding to front assembly.It is logical
Cross the frequency of use of each component and backstage active degree calculates the display priority of the corresponding application of the component, and according to its display
Priority is shown, and waits user to select the component shown on touching display screen 130.
As an example it is assumed that multiple components corresponding to the first touch operation are Video Applications component, application component of taking pictures, led to
Talk about application component and start solution lock set, weights corresponding to Internet resources are 0.2, weights corresponding to processor resource are 0.5, interior
Weights corresponding to resource are deposited as 0.3.Wherein, the resource occupying rate of Video Applications component is 80%, processor resource 30%
With memory source 10%;The resource occupying rate for application component of taking pictures is 8%, processor resource 10% and memory source 5%;
The resource occupying rate of talk application component is 0, processor resource 3% and memory source 3%;Start the network of solution lock set
Resources occupation rate is 0, processor resource 1% and memory source 1%.By calculating acquisition Video Applications component, taking pictures using group
Part, talk application component and start solution lock set backstage active degree be respectively:0.34、0.081、0.024、0.008.
Optionally, according to the frequency of use of each component, backstage active degree, frequency of use weights and backstage active degree
Weights obtain the display numerical value of the component, and the display priority of the component is determined according to the display numerical value.Same display is excellent
The component of first level is placed in the range of same viewing area, improves display efficiency.
For example, mapping relations of the table 2 between display numerical value and display priority, it is assumed that the first touch operation is corresponding
Multiple components for Video Applications component, application component of taking pictures, talk application component and start solution lock set, frequency of use weights
For 0.4, backstage active degree weights are 0.6.Obtain Video Applications component, application component of taking pictures, talk application component and startup
Solution lock set backstage active degree be respectively:0.34th, 0.081,0.024,0.008, obtain Video Applications component, application of taking pictures
The frequency of use of component, talk application component and startup solution lock set is respectively 5,4,3,10, then obtains Video Applications component, claps
According to application component, talk application component and start solution lock set display numerical value be respectively:2.204、1.6486、1.2144、
4.0048, then learnt according to table 2, start the display location of solution lock set as shown in Figure 1A on other three components, video
Application component display location on take pictures application component and talk application component, application component of taking pictures and talk application component
Display location is parallel, and the display location for application component of taking pictures is located at before the display location of talk application component.
Table 2
Show numerical value | Display priority |
[0,1] | 1 |
[1,2] | 2 |
[2,3] | 3 |
[3,4] | 4 |
[4,5] | 5 |
The embodiment of the present invention by touching display screen 130 to target solution lock set carry out single-click operation, double click operation,
Long-press or drag operation are as the selection operation for target solution lock set.Camera is used to gather target facial image.Exist
When touching display screen 130 detects the selection operation for target solution lock set, processor 110 notifies camera collection target person
Face image, so that mobile terminal 100 carries out recognition of face.
It is appreciated that under bright screen state, touching display screen detects the first touch operation, and displaying is obtained by processor
Multiple components corresponding to first touch operation.The selection operation for the target solution lock set in multiple components is detected again, is passed through
Camera gathers target facial image, so that mobile terminal carries out recognition of face.That is, shown according to user for touch-control
Whether the component on screen needs unblock checking to start recognition of face, rather than just starts when touching display screen enters bright screen and take the photograph
As head, the accuracy of recognition of face startup is improved, and saves the power consumption of mobile terminal.
Optionally, the multiple component also includes application component of taking pictures, and the application component of taking pictures is non-solution lock set;Institute
Memory 120 is stated to be additionally operable to store first threshold;The touching display screen 130 is additionally operable to detection for the application component of taking pictures
Selection operation;The processor 110 is additionally operable to when the opening time of the camera is more than the first threshold, obtains institute
State target facial image;And it is unlocked when the target facial image is proved to be successful.
Wherein, first threshold is used to start face recognition module, i.e., when the opening time of camera is more than first threshold,
Verify the target facial image of camera collection.When the application component of taking pictures of user's selection is non-solution lock set, it is directly entered
Take pictures application, touching display screen 130 shows the image of camera collection.And the opening time in camera is more than first threshold
When, obtain the target facial image of camera collection, and verify target facial image, be unlocked if being proved to be successful, otherwise after
It is continuous to perform shooting action until user exits application of taking pictures.That is, it is not necessary to restarting camera carries out recognition of face,
And the process of the recognition of face need not specially carry out image and take, the convenience of operation and the flexibility of unblock are improved.
It should be noted that target facial image can be this camera open the image that stores afterwards or
After opening time reaches first threshold, camera acquired image.
It is consistent with Fig. 1 embodiment, Fig. 2 is refer to, Fig. 2 is a kind of face identification method provided in an embodiment of the present invention,
Applied to mobile terminal as described in Figure 1.Wherein:
201:Processor obtains multiple components corresponding with the first touch operation.
202:Touching display screen detects the first touch operation under bright screen state;The displaying and first on screen locking desktop
Multiple components corresponding to touch operation;And detection is for the selection operation of target solution lock set.
203:Camera gathers target facial image.
Wherein, multiple components include at least one lock set to be solved;Target solution lock set is at least one lock set to be solved
In one.
Face identification method as shown in Figure 2, under bright screen state, touching display screen detects the first touch operation, displaying
Multiple components corresponding to the first touch operation obtained by processor.Detect again for the target solution lock set in multiple components
Selection operation, by camera gather target facial image so that mobile terminal carry out recognition of face.That is, according to
Whether user needs unblock checking to enter to start recognition of face, rather than in touching display screen for the component on touching display screen
Just start camera when entering bright screen, improve the accuracy of recognition of face startup, and save the power consumption of mobile terminal.
In a possible example, the processor, which obtains multiple components corresponding with the first touch operation, to be included:Institute
State the mapping relations between memory storage touch operation and display module;Touched according to the mapping relationship searching and described first
Touch the multiple component corresponding to operation.
In a possible example, the touching display screen under bright screen state with first touch on screen locking desktop by displaying
Multiple components corresponding to touching operation include:It is preferential that the processor obtains display corresponding to each component in the multiple component
Level, obtains multiple display priorities;The touching display screen is on the screen locking desktop according to the multiple display priority exhibition
Show the multiple component.
In a possible example, it is preferential that the processor obtains display corresponding to each component in the multiple component
Level includes:The processor obtains the frequency of use and backstage active degree of each component in the multiple component;According to described
The frequency of use of each component and backstage active degree determine the display priority of the application in multiple components.
In a possible example, the multiple component also includes application component of taking pictures, and the application component of taking pictures is
Non- solution lock set;Methods described also includes:The memory storage first threshold;The touching display screen detection is directed to the bat
According to the selection operation of application component;The processor obtains when the opening time of the camera is more than the first threshold
The target facial image;And when the target facial image is proved to be successful, it is unlocked.
Fig. 3 is refer to, Fig. 3 is another face identification method provided in an embodiment of the present invention, applied to as depicted in fig. 1
Mobile terminal.As shown in figure 3, including:
301:Under bright screen state, the first touch operation is detected.
The embodiment of the present invention is not construed as limiting for the concrete form of the first touch operation, can be click, double-click, drawing a circle,
Draw S or other forms.Touching display screen shows corresponding component for each touch operation on screen locking desktop, optional
, after the first touch operation of the detection, methods described also includes:According to the mapping between touch operation and display module
Relation searches the multiple component corresponding with first touch operation.
That is, memory has prestored various touch operations and corresponding display module, processor according to
Multiple components corresponding to the first touch operation that the mapping relationship searching touching display screen of memory storage detects, improve and look into
Look for efficiency.And under bright screen state, touching display screen shows the essential informations such as time, date, signal, electricity, is inputted in user
Component corresponding to could being shown after the touch operation specified, improves the security of data, and save the power consumption of mobile terminal.
302:Multiple components corresponding with the first touch operation are shown on screen locking desktop.
Wherein, multiple components include at least one lock set to be solved, and target solution lock set is at least one lock set to be solved
In one.That is, when user's selection target solution lock set need start unblock application, and unblock be proved to be successful into
Enter the page corresponding to target solution lock set.
The embodiment of the present invention, can be according to multiple components for how on screen locking desktop to show that multiple components are not construed as limiting
In the predeterminated position of each component be shown, can also be shown according to the predeterminated position in the first touch operation, may be used also
To be shown according to the incidence relation in multiple components between each component and current screen locking desktop.
Optionally, displaying multiple components corresponding with first touch operation on screen locking desktop, including:Obtain
Each display priority corresponding to component, obtains multiple display priorities in the multiple component;The root on the screen locking desktop
The multiple component is shown according to the multiple display priority.
That is, being shown by the rank of the display priority of each component, its display priority is bigger, is locking
The display location shielded on desktop is more obvious, i.e., position is more forward, the position shared by component is bigger or the mode of displaying is more prominent, instead
It, display priority is smaller, it may be necessary to which page turning or expansion can just be checked, improve displaying efficiency.
Acquisition of the embodiment of the present invention for display priority does not also limit, optionally, described to obtain the multiple group
Each display priority corresponding to component in part, including:Obtain the frequency of use of each component and backstage in the multiple component
Active degree;Determine that the display of the application is excellent according to the frequency of use of each component and backstage active degree in the multiple component
First level.
Wherein, frequency of use is that user is counted in preset duration using the number of the component;Backstage active degree is to work as
Internet resources, processor resource or memory source taken on backstage etc. is applied to take the proportion of resource corresponding to front assembly.It is logical
Cross the frequency of use of each component and backstage active degree calculates the display priority of the corresponding application of the component, and according to its display
Priority is shown, and waits user to select the component shown on touching display screen.
Optionally, according to the frequency of use of each component, backstage active degree, frequency of use weights and backstage active degree
Weights obtain the display numerical value of the component, and the display priority of the component is determined according to the display numerical value.Same display is excellent
The component of first level is placed in the range of same viewing area, improves display efficiency.
303:Selection operation of the detection for target solution lock set.
The embodiment of the present invention is by the single-click operation carried out on touching display screen to target solution lock set, double click operation or drags
Dynamic operation is as the selection operation for target solution lock set.Camera is used to gather target facial image.Shown in touch-control
When screen detects the selection operation for target solution lock set, processor notice camera collection target facial image, so as to move
Dynamic terminal carries out recognition of face.
304:Start camera and carry out recognition of face.
In embodiments of the present invention, after starting camera, camera collection target facial image, target face figure is verified
Picture, it is unlocked when target facial image is proved to be successful.
In face identification method as shown in Figure 3, under bright screen state, if the first touch operation is detected, in screen locking
Multiple components corresponding with the first touch operation are shown on desktop.And the target solution lock set in detecting for multiple components
Selection operation when, start camera carry out recognition of face.That is, under bright screen state, camera is not directly initiated
Progress recognition of face, but the component according to corresponding to user for the first touch operation displaying of mobile terminal, and selected in user
The component selected is just to start camera when lock set is solved to carry out recognition of face, camera is otherwise not turned on, so as to improve face
The accuracy started is identified, and saves the power consumption of mobile terminal.
Optionally, the multiple component also includes taking pictures application component, and the application component of taking pictures is non-solution lock set, institute
Stating method also includes:Detection starts the camera for the selection operation of the application component of taking pictures;In the camera
When opening time is more than first threshold, the target facial image of collection is obtained;When the target facial image is proved to be successful, enter
Row unblock.
Wherein, first threshold is used to start face recognition module, i.e., when the opening time of camera is more than first threshold,
Verify the target facial image of camera collection.When the application component of taking pictures of user's selection is non-solution lock set, it is directly entered
Take pictures application, touching display screen shows the image of camera collection.And when the opening time of camera is more than first threshold, obtain
The target facial image for taking camera to gather, and target facial image is verified, it is unlocked if being proved to be successful, otherwise continues executing with
Shooting action is until user exits application of taking pictures.That is, it is not necessary to restarting camera carries out recognition of face, and the people
The process of face identification need not specially carry out image and take, and improve the convenience of operation and the flexibility of unblock.
It should be noted that target facial image can be this camera open the image that stores afterwards or
After opening time reaches first threshold, camera acquired image.
It is consistent with Fig. 3 embodiment, Fig. 4 is refer to, Fig. 4 is a kind of face identification device provided in an embodiment of the present invention,
Applied to mobile terminal as described in Figure 1.As shown in figure 4, the face identification device 400 includes:
First detection unit 401, under bright screen state, detecting the first touch operation.
Display unit 402, it is described for showing multiple components corresponding with first touch operation on screen locking desktop
Multiple components include at least one lock set to be solved.
Second detection unit 403, for receiving the selection instruction for target solution lock set, the target solution lock set is
One at least one lock set to be solved.
Start unit 404, recognition of face is carried out for starting camera.
In face identification device as shown in Figure 4, under bright screen state, if the first touch operation is detected, in screen locking
Multiple components corresponding with the first touch operation are shown on desktop.And the target solution lock set in detecting for multiple components
Selection operation when, start camera carry out recognition of face.That is, under bright screen state, camera is not directly initiated
Progress recognition of face, but the component according to corresponding to user for the first touch operation displaying of mobile terminal, and selected in user
The component selected is just to start camera when lock set is solved to carry out recognition of face, camera is otherwise not turned on, so as to improve face
The accuracy started is identified, and saves the power consumption of mobile terminal.
In a possible example, described device 400 also includes:
Searching unit 405, for being touched according to the mapping relationship searching between touch operation and display module and described first
Touch the multiple component corresponding to operation.
In a possible example, described device 400 also includes:
First acquisition unit 406, for obtaining each display priority corresponding to component in the multiple component, obtain more
Individual display priority;As the display unit 402 on the screen locking desktop according to the multiple display priority displaying described in
Multiple components.
In a possible example, as shown in Figure 4 A, the first acquisition unit 406 includes:
Acquisition module 4061, for obtaining the frequency of use and backstage active degree of each component in the multiple component;
Determining module 4062, for true according to the frequency of use of each component and backstage active degree in the multiple component
The display priority of the fixed application.
In a possible example, the multiple component also includes application component of taking pictures, and the application component of taking pictures is
Non- solution lock set, the start unit 404 are additionally operable to detect in second detection unit 403 and taken pictures for described using group
During the selection operation of part, start the camera;Described device 400 also includes:
Second acquisition unit 407, for when the opening time of the camera is more than first threshold, obtaining the mesh of collection
Mark facial image;
Unlocking unit 408, for when the target facial image is proved to be successful, being unlocked.
It is understood that each program unit of the face identification device of the present embodiment or the function of module can be according to methods
Method specific implementation in embodiment, its specific implementation process are referred to the associated description of embodiment of the method, no longer superfluous herein
State.
It is consistent with Fig. 1, Fig. 2, Fig. 3 and Fig. 4 embodiment, Fig. 5 is refer to, Fig. 5 is one kind provided in an embodiment of the present invention
The structural representation of mobile terminal, as shown in figure 5, the mobile terminal 500 includes processor 510, memory 520, communication interface
530 and one or more programs 540, wherein, one or more programs 540 are stored in memory 520, and are configured
Performed by processor 510, program 540 includes being used for the instruction for performing following steps:
Under bright screen state, the first touch operation is detected;
Multiple components corresponding with first touch operation are shown on screen locking desktop, the multiple component is included at least
One lock set to be solved;
For the selection operation of target solution lock set, the target solution lock set at least one treats unblock group to be described for detection
One in part;
Start camera and carry out recognition of face.
As can be seen that in the embodiment of the present invention, under bright screen state, if detecting the first touch operation, in screen locking table
Multiple components corresponding with the first touch operation are shown on face.And the target solution lock set in detecting for multiple components
During selection operation, start camera and carry out recognition of face.That is, under bright screen state, do not directly initiate camera and enter
Row recognition of face, but the component according to corresponding to user for the first touch operation displaying of mobile terminal, and selected in user
Component be when lock set solve just start camera progress recognition of face, be otherwise not turned on camera, so as to improve face knowledge
The accuracy not started, and save the power consumption of mobile terminal.
As a kind of optional embodiment, after the first touch operation of the detection, said procedure 540 is additionally operable to perform
The instruction of following steps:
According to the mapping relationship searching between touch operation and display module is corresponding with first touch operation
Multiple components.
It is corresponding more with first touch operation in the displaying on screen locking desktop as a kind of optional embodiment
In terms of individual component, said procedure 540 is specifically used for the instruction for performing following steps:
Each display priority corresponding to component in the multiple component is obtained, obtains multiple display priorities;
The multiple component is shown according to the multiple display priority on the screen locking desktop.
As a kind of optional embodiment, in the display priority corresponding to each component in obtaining the multiple component
Aspect, said procedure 540 are specifically used for the instruction for performing following steps:
Obtain the frequency of use and backstage active degree of each component in the multiple component;
Determine that the display of the application is excellent according to the frequency of use of each component and backstage active degree in the multiple component
First level.
As a kind of optional embodiment, the multiple component also includes application component of taking pictures, the application component of taking pictures
For non-solution lock set, said procedure 540 is additionally operable to perform the instruction of following steps:
Detection starts the camera for the selection operation of the application component of taking pictures;
When the opening time of the camera is more than first threshold, the target facial image of collection is obtained;
When the target facial image is proved to be successful, it is unlocked.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for depositing
Computer program is stored up, the computer program causes computer to perform the part or complete of the either method as described in embodiment of the method
Portion's step, computer include mobile terminal.
The embodiment of the present invention also provides a kind of computer program product, and computer program product includes storing computer journey
The non-transient computer-readable recording medium of sequence, computer program are operable to make computer perform as in embodiment of the method remembered
The part or all of step of the either method of load.The computer program product can be a software installation bag, and computer includes
Mobile terminal.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In embodiment, the description to each embodiment all emphasizes particularly on different fields, and does not have the part being described in detail in some embodiment, can
With referring to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, for example, the division of unit, only a kind of logic
Function divides, and can have other dividing mode when actually realizing, such as multiple units or component can be combined or can collected
Into to another system, or some features can be ignored, or not perform.Another, shown or discussed mutual coupling
Close or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be with
It is electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit
Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks
On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Integrated unit was both
It can be realized, can also be realized in the form of SFU software functional unit in the form of hardware.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can
To be stored in a computer-readable access to memory.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or all or part of the technical scheme can be embodied in the form of software product
Come, the computer software product is stored in a memory, including some instructions are causing a computer equipment (can be
Personal computer, server or network equipment etc.) perform all or part of step of each embodiment method of the present invention.It is and preceding
The memory stated includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and
Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention;
Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications
There is change part, to sum up, this specification content should not be construed as limiting the invention.
Claims (14)
- A kind of 1. face identification method, it is characterised in that including:Under bright screen state, the first touch operation is detected;Multiple components corresponding with first touch operation are shown on screen locking desktop, the multiple component includes at least one Lock set to be solved;For the selection operation of target solution lock set, the target solution lock set is at least one lock set to be solved for detection One;Start camera and carry out recognition of face.
- 2. according to the method for claim 1, it is characterised in that after the first touch operation of the detection, methods described Also include:It is corresponding the multiple according to the mapping relationship searching between touch operation and display module and first touch operation Component.
- 3. according to the method for claim 1, it is characterised in that the displaying on screen locking desktop touches with described first grasps Multiple components corresponding to work, including:Each display priority corresponding to component in the multiple component is obtained, obtains multiple display priorities;The multiple component is shown according to the multiple display priority on the screen locking desktop.
- 4. according to the method for claim 3, it is characterised in that described to obtain in the multiple component corresponding to each component Display priority, including:Obtain the frequency of use and backstage active degree of each component in the multiple component;The display priority of the application is determined according to the frequency of use of each component and backstage active degree in the multiple component.
- 5. according to the method described in claim any one of 1-4, it is characterised in that the multiple component also includes taking pictures using group Part, the application component of taking pictures is non-solution lock set, and methods described also includes:Detection starts the camera for the selection operation of the application component of taking pictures;When the opening time of the camera is more than first threshold, the target facial image of collection is obtained;When the target facial image is proved to be successful, it is unlocked.
- 6. a kind of mobile terminal, it is characterised in that the touching display screen being connected including processor, with the processor and shooting Head, wherein:The processor, for obtaining multiple components corresponding with the first touch operation, the multiple component includes at least one Lock set to be solved;The touching display screen, under bright screen state, detecting first touch operation;On screen locking desktop displaying with Multiple components corresponding to first touch operation;And detection is for the selection operation of target solution lock set, the target solution Lock set is one at least one lock set to be solved;The camera, for gathering target facial image.
- 7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes connecting with the processor The memory connect;The memory, for storing the mapping relations between touch operation and display module;In terms of the processor obtains multiple components corresponding with the first touch operation, the processor is specifically used for according to institute State mapping relationship searching the multiple component corresponding with first touch operation.
- 8. mobile terminal according to claim 6, it is characterised in that the processor, be additionally operable to obtain the multiple group Each display priority corresponding to component, obtains multiple display priorities in part;It is described in terms of the touching display screen shows multiple components corresponding with first touch operation on screen locking desktop Touching display screen is specifically used for showing the multiple component according to the multiple display priority on the screen locking desktop.
- 9. mobile terminal according to claim 8, it is characterised in that every in the processor obtains the multiple component In terms of display priority corresponding to individual component, the processor is specifically used for obtaining the use of each component in the multiple component Frequency and backstage active degree;Determine to answer according to the frequency of use of each component in the multiple component and backstage active degree Display priority.
- 10. according to the mobile terminal described in claim any one of 6-9, it is characterised in that the multiple component also includes taking pictures Application component, the application component of taking pictures is non-solution lock set;The memory, it is additionally operable to store first threshold;The touching display screen, it is additionally operable to selection operation of the detection for the application component of taking pictures;The processor, it is additionally operable to, when the opening time of the camera is more than the first threshold, obtain the target person Face image;And when the target facial image is proved to be successful, it is unlocked.
- A kind of 11. face identification device, it is characterised in that including:First detection unit, under bright screen state, detecting the first touch operation;Display unit, for showing corresponding with first touch operation multiple components on screen locking desktop, the multiple group Part includes at least one lock set to be solved;Second detection unit, for receiving the selection instruction for target solution lock set, the target solution lock set for it is described extremely One in a few lock set to be solved;Start unit, recognition of face is carried out for starting camera.
- 12. a kind of face identification method, it is characterised in that show applied to the touch-control being connected including processor, with the processor The mobile terminal of display screen and camera, wherein:The processor obtains multiple components corresponding with the first touch operation, and the multiple component is waited to unlock including at least one Component;The touching display screen detects first touch operation under bright screen state;On screen locking desktop displaying with it is described Multiple components corresponding to first touch operation;And detection is for the selection operation of target solution lock set, the target unblock group Part is one at least one lock set to be solved;The camera gathers target facial image.
- A kind of 13. mobile terminal, it is characterised in that including processor, memory, communication interface and one or more programs, Wherein, one or more of programs are stored in the memory, and are configured by the computing device, the journey Sequence includes being used for the instruction that perform claim requires the step in any one of 1-5 method.
- A kind of 14. computer-readable recording medium, it is characterised in that it is used to store computer program, wherein, the computer Program causes computer to perform the method as described in claim any one of 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710885485.0A CN107656772B (en) | 2017-09-26 | 2017-09-26 | Face recognition method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710885485.0A CN107656772B (en) | 2017-09-26 | 2017-09-26 | Face recognition method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107656772A true CN107656772A (en) | 2018-02-02 |
CN107656772B CN107656772B (en) | 2021-08-06 |
Family
ID=61115963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710885485.0A Active CN107656772B (en) | 2017-09-26 | 2017-09-26 | Face recognition method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107656772B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108959857A (en) * | 2018-06-12 | 2018-12-07 | Oppo广东移动通信有限公司 | Application program launching control method, device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037064A (en) * | 2011-10-08 | 2013-04-10 | 英华达(上海)科技有限公司 | Individual screen unlocking method and system thereof |
CN104571838A (en) * | 2013-10-15 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Method and device for quickly starting application program |
CN104750550A (en) * | 2015-04-20 | 2015-07-01 | 上海斐讯数据通信技术有限公司 | Mobile terminal application management system and method and use time record generating method |
CN105224364A (en) * | 2015-09-24 | 2016-01-06 | 北京金山安全软件有限公司 | Application program unlocking method and device based on screen locking |
CN105607894A (en) * | 2014-11-19 | 2016-05-25 | 中兴通讯股份有限公司 | Terminal application control method and device, and terminal |
CN106033507A (en) * | 2015-03-09 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Screen unlocking methods and devices for touch screen devices |
CN106791440A (en) * | 2017-01-20 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | Control the method and device of Face datection function |
-
2017
- 2017-09-26 CN CN201710885485.0A patent/CN107656772B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037064A (en) * | 2011-10-08 | 2013-04-10 | 英华达(上海)科技有限公司 | Individual screen unlocking method and system thereof |
CN104571838A (en) * | 2013-10-15 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Method and device for quickly starting application program |
CN105607894A (en) * | 2014-11-19 | 2016-05-25 | 中兴通讯股份有限公司 | Terminal application control method and device, and terminal |
CN106033507A (en) * | 2015-03-09 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Screen unlocking methods and devices for touch screen devices |
CN104750550A (en) * | 2015-04-20 | 2015-07-01 | 上海斐讯数据通信技术有限公司 | Mobile terminal application management system and method and use time record generating method |
CN105224364A (en) * | 2015-09-24 | 2016-01-06 | 北京金山安全软件有限公司 | Application program unlocking method and device based on screen locking |
CN106791440A (en) * | 2017-01-20 | 2017-05-31 | 奇酷互联网络科技(深圳)有限公司 | Control the method and device of Face datection function |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108959857A (en) * | 2018-06-12 | 2018-12-07 | Oppo广东移动通信有限公司 | Application program launching control method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107656772B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106446786B (en) | Fingerprint identification method, fingerprint identification device and terminal device | |
CN110888746B (en) | Memory management method and device, storage medium and electronic equipment | |
CN104503691B (en) | Apparatus control method, device and intelligent terminal | |
CN103399896B (en) | The method and system of incidence relation between identification user | |
CN107566650A (en) | Solve lock control method and Related product | |
CN111274039B (en) | Memory recycling method and device, storage medium and electronic equipment | |
CN110443224A (en) | Page turning detection method, device, electronic equipment and storage medium | |
WO2019047715A1 (en) | Unlocking control method and related product | |
CN109151337A (en) | Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal | |
CN109284594A (en) | A kind of smart machine screen locking control method and device based on Face datection | |
CN113220393A (en) | Display method and device and electronic equipment | |
CN107194232A (en) | Solve lock control method, device, computer installation and computer-readable recording medium | |
CN110166696A (en) | Image pickup method, device, terminal device and computer readable storage medium | |
WO2020048159A1 (en) | Unlocking control method and related device | |
CN108234758B (en) | Application display method and device, storage medium and electronic equipment | |
CN107656772A (en) | Face identification method and Related product | |
CN107450895A (en) | Application icon display methods and system | |
CN103984415A (en) | Information processing method and electronic equipment | |
CN107729832B (en) | Face detection method and related product | |
US11287949B2 (en) | Method and device for displaying icon | |
CN108062405B (en) | Picture classification method and device, storage medium and electronic equipment | |
US20160357822A1 (en) | Using locations to define moments | |
CN107272989B (en) | Using starting method, apparatus and terminal device | |
CN113282850B (en) | Resource tag management method, device, electronic equipment, system and storage medium | |
CN107463819A (en) | Unlocking processing method and Related product |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |