CN107679384A - A kind of unlocking processing method and relevant device - Google Patents
A kind of unlocking processing method and relevant device Download PDFInfo
- Publication number
- CN107679384A CN107679384A CN201710945832.4A CN201710945832A CN107679384A CN 107679384 A CN107679384 A CN 107679384A CN 201710945832 A CN201710945832 A CN 201710945832A CN 107679384 A CN107679384 A CN 107679384A
- Authority
- CN
- China
- Prior art keywords
- face
- terminal device
- face recognition
- recognition model
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 9
- 230000001815 facial effect Effects 0.000 claims abstract description 77
- 238000000034 method Methods 0.000 claims abstract description 50
- 230000015654 memory Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 14
- 230000006399 behavior Effects 0.000 claims 1
- 238000013497 data interchange Methods 0.000 claims 1
- 230000008569 process Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 238000013507 mapping Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000003860 storage Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/66—Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
- H04M1/667—Preventing unauthorised calls from a telephone set
- H04M1/67—Preventing unauthorised calls from a telephone set by electronic means
-
- 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
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of unlocking processing method and relevant device, and method includes:Load facial identification model;When detecting that pending event needs face unblock, the face recognition model is called to perform facial image acquisition operation, to gather the face-image of user by the facial image acquisition device;Call the face recognition model to perform facial images match operation, the face-image of the user is matched with face template;When the face-image of the user matches with face template, the pending event is performed.The speed of face unblock can be lifted using the embodiment of the present invention.
Description
Technical field
The application is related to electronic technology field, more particularly to a kind of unlocking processing method and relevant device.
Background technology
Nowadays, with the rapid development of science and technology, facial unlocking technology have been widely used for terminal device (such as
Smart mobile phone, tablet personal computer etc.), facial unlocking technology is that the face of the foundation mankind is one that this unique characteristic is carried out
Kind technology.At present, the process of face unblock is typically:First, terminal device starts facial unlocking function, then loads facial mould
Type, face unblock operation is subsequently carried out according to mask.
The content of the invention
The embodiment of the present application provides a kind of unblock processing and relevant device, with the speed of lifting face unblock.
In a first aspect, the embodiment of the present application provides a kind of unlocking processing method, applied to including facial image acquisition device
Terminal device, including:
Load facial identification model;
When detecting that pending event needs face unblock, the face recognition model is called to perform facial image acquisition
Operation, to gather the face-image of user by the facial image acquisition device;
The face recognition model is called to perform facial images match operation, by the face-image of the user and face
Template is matched;
When the face-image of the user matches with face template, the pending event is performed.
Second aspect, the embodiment of the present invention provide a kind of terminal device, including facial information harvester and processor, its
In,
The processor, for loading facial identification model;
The processor, it is additionally operable to, when detecting that pending event needs face unblock, call the face recognition mould
Type performs facial image acquisition operation, to gather the face-image of user by the facial image acquisition device;
The processor, it is additionally operable to call the face recognition model to perform facial images match operation, by the use
The face-image at family is matched with face template;
The processor, it is additionally operable to, when the face-image of the user matches with face template, wait to locate described in execution
Director's part.
The third aspect, the embodiment of the present invention provide a kind of terminal device, including:
Model loading unit, for loading facial identification model;
Call unit, for when detecting that pending event needs face unblock, calling the face recognition model to hold
Row facial image acquisition operates, to gather the face-image of user by the facial image acquisition device;Call the face
Identification model performs facial images match operation, and the face-image of the user is matched with face template;
Execution unit, for when the face-image of the user matches with face template, performing the pending thing
Part.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including one or more processors, one or more
Memory, one or more transceivers, and one or more programs, one or more of programs are stored in the storage
In device, and it is configured by one or more of computing devices, described program includes being used to perform as described in relation to the first aspect
Method in step instruction.
5th aspect, the embodiment of the present application provide a kind of computer-readable recording medium, and it is stored hands over for electronic data
The computer program changed, wherein, the computer program causes computer to perform method as described in relation to the first aspect.
6th aspect, the embodiment of the present application provide a kind of computer program product, and the computer program product includes depositing
The non-transient computer-readable recording medium of computer program is stored up, the computer program is operable to perform computer
Method as described in relation to the first aspect.
At present, face recognition model is dynamic load, even if the used time loads, is discharged when not in use.Due to face recognition
Model loading procedure is extremely time-consuming, and usual total time-consuming is about 750ms, if face recognition model is to load when in use, like that
Total time-consuming of face unblock can be increased, and then reduce Consumer's Experience.In this application, face recognition model is changed to static add
Carry, i.e., first load, do not discharge when not in use before the use, so need not just reload face recognition in follow-up face unblock
Model, directly invoke the face recognition model and carry out facial unblock, can so subtract for whole facial releasing process
The load time of few face recognition model, and then improve the speed of face unblock.
These aspects or other aspects of the application can more straightforward in the following description.
Brief description of the drawings
In order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art, the application will be implemented below
The required accompanying drawing used is briefly described in example or description of the prior art, it should be apparent that, drawings in the following description are only
Only it is some embodiments of the present application, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet for unlocking processing method that the embodiment of the present application provides;
Fig. 2 is the schematic flow sheet for another unlocking processing method that the embodiment of the present application provides;
Fig. 3 is a kind of structural representation for terminal device that the embodiment of the present application provides;
Fig. 4 is the structural representation for another terminal device that the embodiment of the present application provides;
Fig. 5 is the structural representation for another terminal device that the embodiment of the present application provides.
Embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application
Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application part, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model of the application protection
Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in the description and claims of this application and the accompanying drawing and "
Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method,
The step of system, product or equipment are not limited to list or unit, but alternatively also include the step of not listing or
Unit, or alternatively also include for the intrinsic other 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
It is contained at least one embodiment of the application.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.
Hereinafter, the part term in the application is explained, in order to skilled artisan understands that.
(1) terminal device, also referred to as user equipment (User Equipment, UE), are that one kind provides a user voice
And/or the equipment of data connectivity, for example, portable equipment, mobile unit with unlimited linkage function etc..Common terminal
Such as including:Mobile phone, tablet personal computer, notebook computer, palm PC, mobile internet device (mobile internet
Device, MID), wearable device, such as intelligent watch, Intelligent bracelet, pedometer etc..
(2) face recognition model is the algorithm that terminal device is used to perform face unblock.Face recognition model includes matching
Model and/or vivo identification model.
(3) parallel perform refers to that at least two actions are synchronously carried out in different processes, for example acts A and move
Make B, action A is performed in process 1, and action B is performed in process 2, and is acted B and carried out in A implementation procedures are acted.
(4) pending event includes:Payment events, unlocking screen event, video-encryption chat event, using log-in events
Etc..
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet for unlocking processing method that the embodiment of the present application provides, and is applied to
Include the terminal device of facial image acquisition device, wherein, facial image acquisition device can be the preposition shooting of terminal device
Head, or common camera module, are not limited thereto, this method includes:
Step 101:Terminal device loads facial identification model.
Wherein, the face recognition model stored in terminal device can be one or N number of, and N is whole more than 1
Number, is not limited thereto.
In one embodiment, the embodiment that terminal device loads facial identification model has:Started shooting in terminal device
When, or at the sleep awakening moment of the user, or at the first setting moment, load facial identification model.
Specifically, when being stored with N number of face recognition model in terminal device, terminal device loads this simultaneously in start
N number of face recognition model, or, at the sleep awakening moment of user, terminal device loads this N number of face recognition mould simultaneously
Type.
Wherein, the sleep awakening moment of user is user-defined.Or the sleep awakening moment of user is that terminal is set
Standby determination, specifically have:The sleep awakening moment of the user be terminal device according to the alarm clock set in terminal device when
Between determine.For example the alarm clock set in terminal device has working day (such as the week) morning 7:00 wake-up alarm, work
Make day (such as the week) morning 6:50 wake-up alarm, nonworkdays 9 points of wake-up alarm in (such as Saturday and Sunday) morning,
So terminal device is by morning 7:00 or sleep awakening moment of the 6:00 AM 50 as user described in working day, by 9 points of works in morning
For the sleep awakening moment of user described in nonworkdays.
In addition, when being stored with N number of face recognition model in terminal device, at the first setting moment, terminal device can
This N number of face recognition model is loaded simultaneously, this N number of face recognition model, N can also be loaded respectively at the N number of first setting moment
The individual first setting moment corresponds with N number of face recognition model.
In one embodiment, when being stored with N number of face recognition model in terminal device, at the first setting moment,
In terms of terminal device can load this N number of face recognition model simultaneously, the first setting moment was user-defined.Or first
The setting moment is that terminal device determines, is not limited thereto.
In one embodiment, when being stored with N number of face recognition model in terminal device, the moment is set N number of first
In terms of loading this N number of face recognition model respectively, different face recognition models corresponds to different pending events, face recognition
The first setting moment was that pending event determines according to corresponding to it corresponding to model.
Specifically, if being stored with N number of face recognition model in terminal device, and this N number of face recognition model is to use
When different pending events are handled, if terminal device loads this N number of face recognition model simultaneously it is possible that loading
Some face recognition models within a very long time be not used, can so cause the power consumption of terminal device to increase.Therefore, it is
Some degree give terminal device to reduce power consumption, and in this application, terminal device loads this at the N number of first setting moment respectively
N number of face recognition model.
Wherein, the first setting moment was that pending event determines according to corresponding to it corresponding to face recognition model, tool
Body has:The mapping relations and pending event corresponding first of face recognition model and pending event are stored with terminal device
The mapping relations at moment are set, terminal device can be determined according to the two mapping relations first corresponding to each face recognition model
Set the moment.
As an example it is assumed that N=4, this 4 face recognition models have:Face recognition model 1, face recognition model 2, face
4,4 pending events of portion's identification model 3 and face recognition model have:Payment events, unlocking screen event, video-encryption chat
Event and using log-in events.Face recognition model corresponding with the mapping relations of pending event and pending event first is set
The mapping relations that timing is carved are as shown in table 1, and first sets the moment as 11 according to corresponding to table 1 can obtain face recognition model 1:
00am, first sets the moment as 7 corresponding to face recognition model 2:00am, the first setting moment corresponding to face recognition model 3
For 14:00am, first sets the moment as 8 corresponding to face recognition model 4:00am.
Table 1
In one embodiment, methods described also includes:
At the sleep moment of the user, or at the second setting moment, terminal device discharges the face recognition
Model.
Specifically, when being stored with N number of face recognition model in terminal device, due to present many users' long-times all not
Terminal device is shut down, if this N number of face recognition model does not discharge always extra power consumption is brought to terminal device, because
This, in order to reduce the power consumption of terminal device in some degree, in this application, at the sleep moment of user, terminal device is same
When discharge this N number of face recognition model.
Wherein, the sleep moment of user is user-defined.Or the sleep moment of user is that terminal device determines
, specifically have:The sleep awakening moment of the user is that terminal device determines according to the time of the alarm clock set in terminal device
's.For example the alarm clock set in terminal device has evening on working day (such as the week) 11:00 sleep alarm clock, working day
(such as the week) evening 10:30 sleep alarm clock, nonworkdays (such as Saturday and Sunday) evening 11:30 sleep alarm clock,
So terminal device will evening 11:00 or at night 10:The 30 sleep moment as user described in working day, will evening 11:30 make
For the sleep moment of user described in nonworkdays.
In addition, when being stored with N number of face recognition model in terminal device, at the second setting moment, terminal device can
This N number of face recognition model is discharged simultaneously, this N number of face recognition model, N can also be discharged respectively at the N number of second setting moment
The individual first setting moment corresponds with N number of face recognition model.
In one embodiment, when being stored with N number of face recognition model in terminal device, at the second setting moment,
In terms of terminal device can discharge this N number of face recognition model simultaneously, the second setting moment was user-defined.Or second
The setting moment is that terminal device determines, is not limited thereto.
In one embodiment, when being stored with N number of face recognition model in terminal device, the moment is set N number of second
In terms of discharging this N number of face recognition model respectively, different face recognition models corresponds to different pending events, face recognition
The second setting moment was that pending event determines according to corresponding to it corresponding to model.
Specifically, if being stored with N number of face recognition model in terminal device, and this N number of face recognition model is to use
When different pending events are handled, if terminal device discharges this N number of face recognition model it is possible that some simultaneously
Face recognition model will also use in follow-up time, so may result in the follow-up face unblock of some pending events and taken
Between it is longer.Therefore, in order to further lift the performance of terminal device, in this application, terminal device is set N number of second respectively
Timing, which is carved, discharges this N number of face recognition model.
Wherein, the second setting moment was that pending event determines according to corresponding to it corresponding to face recognition model, tool
Body has:The mapping relations and pending event corresponding second of face recognition model and pending event are stored with terminal device
The mapping relations at moment are set, terminal device can be determined according to the two mapping relations second corresponding to each face recognition model
Set the moment.
As an example it is assumed that N=4, this 4 face recognition models have:Face recognition model 1, face recognition model 2, face
4,4 pending events of portion's identification model 3 and face recognition model have:Payment events, unlocking screen event, video-encryption chat
Event and using log-in events.Face recognition model corresponding with the mapping relations of pending event and pending event second is set
The mapping relations that timing is carved are as shown in table 2, and second sets the moment as 10 according to corresponding to table 2 can obtain face recognition model 1:
00pm, second sets the moment as 11 corresponding to face recognition model 2:00pm, the second setting moment corresponding to face recognition model 3
For 10:30pm, second sets the moment as 10 corresponding to face recognition model 4:40pm.
Table 2
Step 102:When terminal device detects that pending event needs face unblock, terminal device calls the face
Identification model performs facial image acquisition operation, to gather the face-image of user by the facial image acquisition device.
Wherein, when pending event is unlocking screen event, and the face recognition model is called to perform in terminal device
When terminal device is in black state before facial image acquisition operation, terminal device needs to call the face in terminal device
Identification model lights the touching display screen of terminal device before performing facial image acquisition operation.
Further, when gathering the face-image of user, the brightness of touching display screen is under different pending events
It is identical.Or when gathering the face-image of user, the brightness of touching display screen is determined according to pending event,
Specifically have:The corresponding safe class of each pending event, safe class is higher when gathering the face-image of user, touches
The brightness of control display screen is higher, and safe class is lower when gathering the face-image of user, and the brightness of touching display screen is lower.Or
Person, when gathering the face-image of user, the brightness of touching display screen is to determine specifically have according to the brightness of ambient light:Ring
The brightness of border light is higher, and when gathering the face-image of user, the brightness of touching display screen is lower, the brightness of ambient light it is lower
When gathering the face-image of user, the brightness of touching display screen is higher.Or different periods correspond to different brightness, gathering
During the face-image of user, the brightness of touching display screen was determined according to the time of current system.
Step 103:Terminal device calls the face recognition model to perform facial images match operation, by the user
Face-image matched with face template.
In one embodiment, when the face-image of the facial image acquisition device continuous acquisition M users, M are
During integer more than 1, the embodiment that the face-image by the user is matched with face template has:
Call and concurrently matched the face-image of the N users with face template;
When having at least one in the face-image of the N users and the face template matches, it is determined that institute
The face-image and the face template for stating user match;
When the face-image of the N users mismatches with the face template, it is determined that the face of the user
Image mismatches with the face template.
As an example it is assumed that N=3, facial image acquisition device continuous acquisition 3 opens the face-image of user, this 3 users
Face-image be, for example,:Face-image 1, face-image 2 and face-image 3, terminal device is in first process by face
Image 1 and face template matching, terminal device match face-image 2 and face template in second process, terminal device
Face-image 3 and face template are matched in the 3rd process, if this 3 face-images no one and face template,
Then represent to mismatch with face template, otherwise, expression matches with face template.
Further, different pending event M value is identical, for example is all 3, or is all 4 or is all 5
It is individual, or other values, etc..Or M value is determined according to pending event.Specifically have:Each pending event pair
A safe class is answered, the higher M of safe class value is bigger, and the lower M of safe class value is smaller.
Step 104:When the face-image of the user matches with face template, terminal device performs described pending
Event.
It should be noted that when the face-image of user and the matching value of face template are more than a setting value, ability table
The face-image and face template for showing user match, and otherwise, face-image and the face template of user mismatch.It is in addition, right
In different pending events, the setting value can be identical or different, be not limited thereto.
In this application, face recognition model is changed to static loading, i.e., first loaded before the use, do not released when not in use
Put, so need not just reload face recognition model in follow-up face unblock, directly invoke the face recognition model and carry out face
Portion is unlocked, and the load time of face recognition model can be so reduced for whole facial releasing process, and then is lifted
The speed of facial unblock.
The embodiment of the present application additionally provides another more detailed method flow, as shown in Fig. 2 including:
Step 201:When the terminal device is started shooting, or at the sleep awakening moment of the user, or
During one setting moment, terminal device loads facial identification model.
Step 202:When detecting that pending event needs face unblock, terminal device calls the face recognition model
Facial image acquisition operation is performed, to gather the face-image of user by the facial image acquisition device.
Step 203:Terminal device calls the face recognition model to perform facial images match operation, by the user
Face-image matched with face template.
Step 204:When the face-image of the user matches with face template, terminal device performs described pending
Event.
Step 205:At the sleep moment of the user, or at the second setting moment, described in terminal device release
Face recognition model.
It should be noted that the specific implementation process of each step of method shown in Fig. 2 can be found in described in the above method
Specific implementation process, no longer describe herein.
The above-mentioned method for illustrating the embodiment of the present application, the device of the embodiment of the present application is provided below.
Fig. 3 is referred to, Fig. 3 is a kind of terminal device 300 that the embodiment of the present application provides, including:At least one processor,
At least one memory and at least one communication interface;And one or more programs;
One or more of programs are stored in the memory, and are configured to by the computing device,
Described program includes being used for the instruction for performing following steps:
Load facial identification model;
When detecting that pending event needs face unblock, the face recognition model is called to perform facial image acquisition
Operation, to gather the face-image of user by the facial image acquisition device;
The face recognition model is called to perform facial images match operation, by the face-image of the user and face
Template is matched;
When the face-image of the user matches with face template, the pending event is performed.
In one embodiment, in terms of facial identification model is loaded, described program includes being specifically used for performing following steps
Instruction:
When the terminal device is started shooting, or at the sleep awakening moment of the user, or when first sets
During quarter, facial identification model is loaded.
In one embodiment, described program includes being additionally operable to the instruction for performing following steps:
At the sleep moment of the user, or at the second setting moment, discharge the face recognition model.
In one embodiment, multiple face recognition models, different face recognition models are stored with the terminal device
Corresponding different pending event, the first setting moment corresponding to face recognition model is that pending event is true according to corresponding to it
Fixed.
In one embodiment, the second setting moment was that pending event is true according to corresponding to it corresponding to face recognition model
Fixed.
It should be noted that the specific implementation of the content described in the present embodiment can be found in the above method, herein no longer
Narration.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that
, for terminal device in order to realize above-mentioned function, it comprises perform the corresponding hardware configuration of each function and/or software mould
Block.Those skilled in the art should be readily appreciated that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
The mode of hardware or computer software driving hardware performs, application-specific and design constraint bar depending on technical scheme
Part.Professional and technical personnel can specifically realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to terminal device, for example, can
Each functional unit is divided with corresponding each function, two or more functions can also be integrated in a processing unit
In.Above-mentioned integrated unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.Need
It is noted that the division in the embodiment of the present application to unit is schematical, only a kind of division of logic function is actual real
There can be other dividing mode now.
In the case of using integrated unit, Fig. 4 shows one kind of terminal device involved in above-described embodiment
Possible functional unit forms block diagram.Terminal device 400 includes:Processing unit 401, communication unit 402 and memory cell 403,
Processing unit 401 includes model loading unit 4011, call unit 4012, execution unit 4013 and releasing unit 4014.Storage
Unit 603 is used for the program code and data of storage terminal device.Communication unit 602 is used to support terminal device and other equipment
Communication.Above-mentioned some units (model loading unit 4011, call unit 4012, execution unit 4013 and releasing unit 4014)
For performing the correlation step of the above method.
Wherein, model loading unit 4011, for loading facial identification model;
Call unit 4012, for when detecting that pending event needs face unblock, calling the face recognition mould
Type performs facial image acquisition operation, to gather the face-image of user by the facial image acquisition device;Described in calling
Face recognition model performs facial images match operation, and the face-image of the user is matched with face template;
Execution unit 4013, for when the face-image of the user matches with face template, waiting to locate described in execution
Director's part.
In one embodiment, in terms of facial identification model is loaded, model loading unit 4011 is specifically used for:
When the terminal device is started shooting, or at the sleep awakening moment of the user, or when first sets
During quarter, facial identification model is loaded.
In one embodiment, releasing unit 4014, the moment is set at the sleep moment of the user, or second
When, discharge the face recognition model.
In one embodiment, multiple face recognition models, different face recognition models are stored with the terminal device
Corresponding different pending event, the first setting moment corresponding to face recognition model is that pending event is true according to corresponding to it
Fixed.
In one embodiment, the second setting moment was that pending event is true according to corresponding to it corresponding to face recognition model
Fixed.
Wherein, processing unit 601 can be processor or controller, (such as can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Application specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array
It is (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard
Part part or its any combination.What it can realize or perform with reference to described by present disclosure various exemplary patrols
Collect square frame, module and circuit.The processor can also be the combination for realizing computing function, such as include one or more micro- places
Manage device combination, combination of DSP and microprocessor etc.).Memory cell 403 can be memory, and communication unit 402 can be received
Send out device, transmission circuit, radio frequency chip, communication interface etc..
The embodiment of the present application additionally provides a kind of terminal device, as shown in figure 5, for convenience of description, illustrate only and this
Apply for the related part of embodiment, particular technique details does not disclose, refer to the embodiment of the present application method part.
A kind of structural representation of terminal device 500, above-mentioned terminal are provided referring to Fig. 5, Fig. 5 is the embodiment of the present application
Equipment 500 includes:Housing 10, mainboard 20, touching display screen 30, battery 40 and subplate 50, infrared light supply is provided with mainboard 20
21st, iris camera 22, front camera 23, processor 24, memory 25 and sim card slot 26 etc., are provided with oscillator on subplate
51st, integral sound chamber 52, VOOC, which dodge, fills interface 53 and fingerprint module 54, and above-mentioned front camera 23 forms the terminal device 700
Facial information harvester.
Wherein, processor 24, for loading facial identification model;
Processor 24, it is additionally operable to, when detecting that pending event needs face unblock, call the face recognition model
Facial image acquisition operation is performed, to gather the face-image of user by the facial image acquisition device;
Processor 24, it is additionally operable to call the face recognition model to perform facial images match operation, by the user
Face-image matched with face template;
Processor 24, it is additionally operable to, when the face-image of the user matches with face template, perform described pending
Event.
In one embodiment, in terms of facial identification model is loaded, the processor 24 is specifically used for:
When the terminal device is started shooting, or at the sleep awakening moment of the user, or when first sets
During quarter, facial identification model is loaded.
In one embodiment, the processor 24 is specifically used for:
At the sleep moment of the user, or at the second setting moment, discharge the face recognition model.
In one embodiment, multiple face recognition models, different face recognition models are stored with the terminal device
Corresponding different pending event, the first setting moment corresponding to face recognition model is that pending event is true according to corresponding to it
Fixed.
In one embodiment, the second setting moment was that pending event is true according to corresponding to it corresponding to face recognition model
Fixed.
It should be noted that the specific implementation of the content described in the present embodiment can be found in the above method, herein no longer
Narration.
The embodiment of the present application also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity
The computer program that subdata exchanges, the computer program cause computer to perform any as described in above-mentioned embodiment of the method
The part or all of step of method, the computer include terminal device.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform side as described above
The part or all of step of either method described in method embodiment.The computer program product can be a software installation
Bag, the computer include terminal device.
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 application is not limited by described sequence of movement because
According to the application, 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, involved action and module not necessarily the application
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer 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, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the application 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.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, the technical scheme of the application substantially or
Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body
Reveal and, 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.) performs all or part of each embodiment methods described of the application
Step.And foregoing memory 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.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory
It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is set forth, and the explanation of above example is only intended to help and understands the present processes and its core concept;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change part, in summary, this specification content should not be construed as the limitation to the application.
Claims (13)
- A kind of 1. unlocking processing method, it is characterised in that applied to the terminal device for including facial image acquisition device, including:Load facial identification model;When detecting that pending event needs face unblock, the face recognition model is called to perform facial image acquisition behaviour Make, to gather the face-image of user by the facial image acquisition device;The face recognition model is called to perform facial images match operation, by the face-image and face template of the user Matched;When the face-image of the user matches with face template, the pending event is performed.
- 2. according to the method for claim 1, it is characterised in that the facial identification model of loading, including:When the terminal device is started shooting, or at the sleep awakening moment of the user, or at the first setting moment, Load facial identification model.
- 3. method according to claim 1 or 2, it is characterised in that methods described also includes:At the sleep moment of the user, or at the second setting moment, discharge the face recognition model.
- 4. according to the method in claim 2 or 3, it is characterised in that multiple face recognitions are stored with the terminal device Model, different face recognition models correspond to different pending events, and the first setting moment corresponding to face recognition model is Pending event determines according to corresponding to it.
- 5. according to the method for claim 4, it is characterised in that the second setting moment was basis corresponding to face recognition model Pending event determines corresponding to it.
- A kind of 6. terminal device, it is characterised in that including facial information harvester and processor, wherein,The processor, for loading facial identification model;The processor, it is additionally operable to, when detecting that pending event needs face unblock, call the face recognition model to hold Row facial image acquisition operates, to gather the face-image of user by the facial image acquisition device;The processor, it is additionally operable to call the face recognition model to perform facial images match operation, by the user's Face-image is matched with face template;The processor, it is additionally operable to, when the face-image of the user matches with face template, perform the pending thing Part.
- 7. terminal device according to claim 6, it is characterised in that the processor is specifically used for:When the terminal device is started shooting, or at the sleep awakening moment of the user, or at the first setting moment, Load facial identification model.
- 8. the terminal device according to claim 6 or 7, it is characterised in that the processor is specifically used for:At the sleep moment of the user, or at the second setting moment, discharge the face recognition model.
- 9. according to the terminal device described in claim any one of 6-8, it is characterised in that be stored with the terminal device multiple Face recognition model, different face recognition models correspond to different pending events, and first sets corresponding to face recognition model It is that pending event determines according to corresponding to it that timing, which is carved,.
- 10. terminal device according to claim 9, it is characterised in that the second setting moment corresponding to face recognition model It is that pending event determines according to corresponding to it.
- A kind of 11. terminal device, it is characterised in that including:Model loading unit, for loading facial identification model;Call unit, for when detecting that pending event needs face unblock, calling the face recognition model to perform face Portion's IMAQ operation, to gather the face-image of user by the facial image acquisition device;Call the face recognition Model performs facial images match operation, and the face-image of the user is matched with face template;Execution unit, for when the face-image of the user matches with face template, performing the pending event.
- A kind of 12. terminal device, it is characterised in that including one or more processors, one or more memories, one or more Individual transceiver, and one or more programs, one or more of programs are stored in the memory, and are configured By one or more of computing devices, described program includes being used to perform the method as described in claim any one of 1-5 In step instruction.
- A kind of 13. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, 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 |
---|---|---|---|
CN201710945832.4A CN107679384B (en) | 2017-10-11 | 2017-10-11 | Unlocking processing method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710945832.4A CN107679384B (en) | 2017-10-11 | 2017-10-11 | Unlocking processing method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107679384A true CN107679384A (en) | 2018-02-09 |
CN107679384B CN107679384B (en) | 2020-01-14 |
Family
ID=61140530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710945832.4A Expired - Fee Related CN107679384B (en) | 2017-10-11 | 2017-10-11 | Unlocking processing method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107679384B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140354405A1 (en) * | 2013-05-31 | 2014-12-04 | Secure Planet, Inc. | Federated Biometric Identity Verifier |
CN105760736A (en) * | 2016-02-19 | 2016-07-13 | 北京奇虎科技有限公司 | Unlocking method and unlocking device of application program |
CN107122649A (en) * | 2017-04-28 | 2017-09-01 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
-
2017
- 2017-10-11 CN CN201710945832.4A patent/CN107679384B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140354405A1 (en) * | 2013-05-31 | 2014-12-04 | Secure Planet, Inc. | Federated Biometric Identity Verifier |
CN105760736A (en) * | 2016-02-19 | 2016-07-13 | 北京奇虎科技有限公司 | Unlocking method and unlocking device of application program |
CN107122649A (en) * | 2017-04-28 | 2017-09-01 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
Also Published As
Publication number | Publication date |
---|---|
CN107679384B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3422529B1 (en) | Electronic device | |
EP2879095B1 (en) | Method, apparatus and terminal device for image processing | |
CN105630129A (en) | Power control method and apparatus for reducing power consumption | |
CN108304265A (en) | EMS memory management process, device and storage medium | |
CN107317916B (en) | Application control method and Related product | |
CN109213732A (en) | A kind of method, mobile terminal and computer readable storage medium improving photograph album classification | |
CN107832595A (en) | A kind of locking means and relevant device | |
CN108921941A (en) | Image processing method, device, storage medium and electronic equipment | |
WO2021000943A1 (en) | Method and apparatus for managing fingerprint switch | |
CN111242273B (en) | Neural network model training method and electronic equipment | |
CN107330316A (en) | unlocking processing method and related product | |
CN107193598A (en) | One kind application startup method, mobile terminal and computer-readable recording medium | |
CN108259758A (en) | Image processing method, device, storage medium and electronic equipment | |
CN105279186A (en) | Image processing method and system | |
US11881011B2 (en) | Fingerprint anti-counterfeiting method and electronic device | |
CN109116655A (en) | Apparatus control method, device, storage medium and electronic equipment | |
CN110429678A (en) | Mobile terminal method of supplying power to, system, storage medium and mobile terminal | |
CN107657221A (en) | A kind of facial information acquisition method and relevant device | |
CN107479809A (en) | Based reminding method and Related product | |
CN106814840A (en) | Low power state for processor keeps pattern | |
CN108601069A (en) | One kind putting out screen clock control method, system and terminal device | |
WO2024037053A1 (en) | Fingerprint recognition method and apparatus | |
CN108156310A (en) | A kind of method and system of finger prints processing, terminal device and computer-readable medium | |
CN107679384A (en) | A kind of unlocking processing method and relevant device | |
CN111309137A (en) | Chip control method and device, chip and terminal equipment |
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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200114 |
|
CF01 | Termination of patent right due to non-payment of annual fee |