CN107491685A - A kind of face identification method and mobile terminal - Google Patents

A kind of face identification method and mobile terminal Download PDF

Info

Publication number
CN107491685A
CN107491685A CN201710891136.XA CN201710891136A CN107491685A CN 107491685 A CN107491685 A CN 107491685A CN 201710891136 A CN201710891136 A CN 201710891136A CN 107491685 A CN107491685 A CN 107491685A
Authority
CN
China
Prior art keywords
face
information
mobile terminal
face information
database
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
Application number
CN201710891136.XA
Other languages
Chinese (zh)
Other versions
CN107491685B (en
Inventor
任忠杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710891136.XA priority Critical patent/CN107491685B/en
Publication of CN107491685A publication Critical patent/CN107491685A/en
Application granted granted Critical
Publication of CN107491685B publication Critical patent/CN107491685B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User 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)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The present invention, which provides a kind of face identification method and mobile terminal, this method, to be included:Gather the first face information and the second face information;Judge whether second face information matches with the characteristic information in face database;If second face information matches with the characteristic information in the face database, first face information is added in the face database as characteristic information.The present invention is when the second face information collected matches with the characteristic information in face database, it is added to using the first face information as characteristic information in face database, the risk of privacy leakage can be effectively reduced, makes the function of recognition of face more perfect, improves the security of mobile terminal.

Description

A kind of face identification method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of face identification method and mobile terminal.
Background technology
At present, in order to prevent leakage of private information, when being unlocked to mobile terminal, it is necessary to pass through authentication ability Unlock successfully.The mode of authentication can be that finger print information checking, numerical ciphers checking, pattern password authentification and face are known Not Yan Zheng etc..
This mode is verified for recognition of face, and user can the typing in advance facial feature information of oneself.Carry out every time During unlocking screen, if the facial feature information that mobile terminal collects matches with the facial feature information prestored, just Success can be unlocked.But mobile terminal is lent other people in use, other people can also typing by user in the unlocked state The facial feature information of oneself, and then the authority of unlocking screen is obtained, and the owner of mobile terminal knows nothing to this.Obtain The people of unlocking screen authority can unlock mobile terminal in the case of the owner of mobile terminal is careless, and then can spy upon shifting Content in dynamic terminal, the risk of privacy leakage be present.Therefore, in the prior art, the function of recognition of face is not perfect enough, causes Security risk be present in mobile terminal.
The content of the invention
The embodiment of the present invention provides a kind of face identification method and mobile terminal, with solve due to recognition of face function not Enough improve and cause mobile terminal the problem of security risk to be present.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of face identification method, including:
Gather the first face information and the second face information;
Judge whether second face information matches with the characteristic information in face database;
If second face information matches with the characteristic information in the face database, by first face Information is added in the face database as characteristic information.
In a first aspect, the embodiments of the invention provide a kind of face identification method, including:
Gather the first face information and the second face information;
Judge whether second face information matches with the characteristic information in face database;
If second face information matches with the characteristic information in the face database, by first face Information is added in the face database as characteristic information.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
Acquisition module, for gathering the first face information and the second face information;
Judge module, for judging whether second face information matches with the characteristic information in face database;
Add module, if matching for second face information with the characteristic information in the face database, First face information is added in the face database as characteristic information.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, memory and are stored in described On memory and the computer program that can run on the processor, the computer program is by real during the computing device The step of existing above-mentioned face identification method.
Fourth aspect, the embodiment of the present invention also provides a kind of computer read/write memory medium, described computer-readable Computer program is stored with storage medium, the computer program realizes above-mentioned face identification method when being executed by processor Step.
The embodiment of the present invention, will when the second face information collected matches with the characteristic information in face database First face information is added in face database as characteristic information, can effectively reduce the risk of privacy leakage, make face The function of identification is more perfect, improves the security of mobile terminal.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of face identification method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another face identification method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another face identification method provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of prompting frame provided in an embodiment of the present invention;
Fig. 5 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of face identification method provided in an embodiment of the present invention, applied to mobile whole End.As shown in figure 1, comprise the following steps:
Step 101, the first face information of collection and the second face information.
In a step 101, the owner of mobile terminal the mobile terminal under released state lent other people in use, If other people go for recognition of face unblock authority, mobile terminal can gather user's to be added by front camera Facial feature information, i.e. mobile terminal can gather the first face information by front camera;And pass through rear camera Gather the second face information.Wherein, the first face information is that the face for the user for going for recognition of face unblock authority is special Reference ceases.
Step 102, judge whether second face information matches with the characteristic information in face database.
In a step 102, mobile terminal may determine that whether is characteristic information in the second face information and face database Matching.Wherein, the characteristic information in face database is the facial feature information of primary user, and primary user is first acquisition people The user of face identification unblock authority, it is generally the case that primary user is the owner of mobile terminal.
If step 103, second face information match with the characteristic information in the face database, by described in First face information is added in the face database as characteristic information.
In step 103, if the second face information matches with the characteristic information in face database, i.e., if second The facial feature information of face information and primary user match, namely if the face of the owner of the second face information and mobile terminal Portion's characteristic information matches, then can be added to above-mentioned first face information in face database as characteristic information. So that the first face information is arranged into the characteristic information with unblock authority.I.e. if now mobile terminal is in screen lock state, The user to be added that above-mentioned facial feature information is arranged to the characteristic information with unblock authority can carry out face knowledge immediately Not and solve lock screen.
It is arranged to treating for the characteristic information with unblock authority it should be noted that can deserve to be called and state facial feature information Addition user is Guest User.Wherein, Guest User be in addition to primary user, and with recognition of face unblock authority use Family, namely Guest User be in addition to the owner of mobile terminal, and with recognition of face unblock authority user.Guest User Can have multiple.
If the second face information mismatches with the characteristic information in face database, i.e., if the second face information and master The facial feature information of user mismatches, namely if the facial feature information of the owner of the second face information and mobile terminal not Matching, then it is the characteristic information without unblock authority that can determine the first face information, and now mobile terminal can be preserved and treated The facial feature information of user is added, i.e. mobile terminal can preserve the first face information.
It should be noted that although mobile terminal saves the facial feature information of user to be added, though i.e. mobile terminal The first face information is so saved, but because the facial feature information of user to be added is confirmed as without unblock authority Characteristic information, i.e., because the first face information is confirmed as the characteristic information without unblock authority, so if now moving Terminal is in screen lock state, and above-mentioned facial feature information is confirmed as the user to be added of the characteristic information without unblock authority Lock screen can not be solved by recognition of face immediately.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
The face identification method of the embodiment of the present invention, applied to mobile terminal, in the second face information collected and people When characteristic information in face database matches, it is added to using the first face information as characteristic information in face database, energy Enough risks for effectively reducing privacy leakage, make the function of recognition of face more perfect, improve the security of mobile terminal.
Referring to Fig. 2, Fig. 2 is the flow chart of another face identification method provided in an embodiment of the present invention, applied to movement Terminal.The present embodiment and the main distinction of previous embodiment are to be added to face using the first face information as characteristic information After in database, when detecting authority solution division operation, the first face information can also be deleted from face database.This When the first face information be changed into without unblock authority characteristic information.As shown in Fig. 2 comprise the following steps:
Step 201, the mobile terminal have front camera and rear camera;Adopted by the front camera While collecting first face information, second face information is gathered by the rear camera.
In step 201, mobile terminal has front camera and rear camera.The owner of mobile terminal will be in solution If the mobile terminal under lock status lends other people in use, other people go for recognition of face unblock authority, movement is eventually End can gather the facial feature information of user to be added by front camera, i.e. mobile terminal can pass through front camera Gather the first face information;Meanwhile the second face information can be gathered by rear camera.Wherein, the first face information is To go for the facial feature information that recognition of face unlocks the user of authority.
Step 202, judge whether second face information matches with the characteristic information in face database.
In step 202, mobile terminal may determine that whether is characteristic information in the second face information and face database Matching.Wherein, the characteristic information in face database is the facial feature information of primary user, and primary user is first acquisition face The user of identification unblock authority, it is generally the case that primary user is the owner of mobile terminal.
If step 203, second face information match with the characteristic information in the face database, by described in First face information is added in the face database as characteristic information.
In step 203, if the second face information matches with the characteristic information in face database, i.e., if second The facial feature information of face information and primary user match, namely if the face of the owner of the second face information and mobile terminal Portion's characteristic information matches, then can be added to using the first face information as characteristic information in face database.It can incite somebody to action First face information is arranged to the characteristic information with unblock authority.It is above-mentioned i.e. if now mobile terminal is in screen lock state The user to be added that facial feature information is arranged to the characteristic information with unblock authority can carry out recognition of face simultaneously immediately Solve lock screen.
It is arranged to treating for the characteristic information with unblock authority it should be noted that can deserve to be called and state facial feature information Addition user is Guest User.Wherein, Guest User be in addition to primary user, and with recognition of face unblock authority use Family, namely Guest User be in addition to the owner of mobile terminal, and with recognition of face unblock authority user.Guest User Can have multiple.
Step 204, when detecting authority solution division operation, first face information is deleted from the face database Remove.
In step 204, Guest User can be managed.For example, primary user can release according to the wish of oneself The recognition of face unblock authority of some Guest User.
It should be noted that when wanting to be managed Guest User every time, the preposition shooting of mobile terminal will be passed through Head collection facial feature information, the facial feature information for judging the facial feature information and primary user collected by mobile terminal are No matching.When mobile terminal judges that the facial feature information of the facial feature information and primary user collected matches, When determining that primary user is on the scene, it can just allow to be managed Guest User.So it can effectively prevent Guest User primary Other Guest Users are managed privately in the case of family is careless.
For example, the recognition of face unlocking right that primary user wants to release some Guest User is prescribed a time limit, mobile terminal can be utilized Front camera gather the facial feature information of oneself.And then mobile terminal can by the facial feature information collected with advance The facial feature information of the primary user of storage is compared.
Now mobile terminal may determine that the facial feature information collected and the face of the primary user prestored are special Levy information match, you can to determine that primary user is on the scene, and then mobile terminal can detect authority and release operation.
When mobile terminal detects authority solution division operation, the first face information can be deleted from face database. I.e. when mobile terminal detects authority solution division operation, the unblock authority of the first face information can be released, namely when mobile whole When end detects authority solution division operation, the recognition of face unblock authority of some Guest User can be released.So, it is released from face The Guest User of identification unblock authority cannot unlock the screen of mobile terminal by recognition of face.
The face identification method of the embodiment of the present invention, applied to mobile terminal.Only when the second face information collected Match with the characteristic information in face database, just can be added to face database using the first face information as characteristic information In.Further, after the first face information is added in face database as characteristic information, when detect authority release During operation, the first face information can also be deleted from face database.Now the first face information is changed into without unblock The characteristic information of authority.The risk of privacy leakage can be effectively reduced, makes the function of recognition of face more perfect.
Referring to Fig. 3, Fig. 3 is the flow chart of another face identification method provided in an embodiment of the present invention, applied to movement Terminal.The main distinction of the present embodiment and previous embodiment is to determine that the first face information is the spy without unblock authority After reference breath, primary user can also decide whether for the first face information to be re-set as having unblock according to the wish of oneself The characteristic information of authority.As shown in figure 3, comprise the following steps:
Step 301, the first face information is first gathered, then gather the second face information.
In step 301, the owner of mobile terminal the mobile terminal under released state lent other people in use, If other people go for recognition of face unblock authority, mobile terminal can first pass through front camera and gather user to be added Facial feature information, i.e., mobile terminal can first pass through front camera gather the first face information.If primary user does not exist , i.e., if the owner of mobile terminal is absent from the scene, mobile terminal can not just collect the facial feature information of primary user.Now, Mobile terminal can preserve the facial feature information of user to be added, i.e. mobile terminal can preserve the first face information.
It should be noted that although mobile terminal saves the facial feature information of user to be added, though i.e. mobile terminal The first face information so is saved, but the first face information preserved can be confirmed as the feature letter without unblock authority Breath.So if now mobile terminal is in screen lock state, above-mentioned facial feature information is confirmed as without unblock authority The user to be added of characteristic information can not solve lock screen by recognition of face immediately.
When mobile terminal is turned again in the hand of primary user, if mobile terminal is in screen lock state, primary user can be with The facial feature information of oneself is gathered using the front camera of mobile terminal, i.e. mobile terminal can gather the second face letter Breath.
Step 302, judge whether second face information matches with the characteristic information in face database.
In step 302, mobile terminal may determine that whether is characteristic information in the second face information and face database Matching.Wherein, the characteristic information in face database is the facial feature information of primary user, and primary user is first acquisition face The user of identification unblock authority, primary user is the owner of mobile terminal under normal circumstances.
If step 303, second face information match with the characteristic information in the face database, institute is shown State the first face information.
In step 303, now mobile terminal may determine that in the second face information collected and face database Characteristic information match, and then the screen of mobile terminal will be unlocked, and can determine the use of current manipulation mobile terminal Family is primary user.
Next, mobile terminal can show the first face information, for example, after unlocking screen, one can be ejected and carried Show frame, the first face information is shown in prompting frame, and can be with text prompt:" user asks to obtain recognition of face unlocking right Limit "." come into force button " and " deletion button " can also be shown in prompting frame.As shown in figure 4, the schematic diagram for prompting frame.
If step 304, second face information match with the characteristic information in the face database, and detected First face information, then be added in the face database by authority addition operation as characteristic information.
In step 304, if primary user agrees to that user to be added obtains recognition of face unblock authority, it can click on and carry Show " come into force button " in frame, now mobile terminal will detect authority addition operation.
And then mobile terminal can add according to the authority addition operation detected using the first face information as characteristic information It is added in face database.I.e. the first face information can be arranged to have by mobile terminal according to the authority addition operation detected There is the characteristic information of unblock authority.Namely mobile terminal can will be believed face feature before according to the authority addition operation detected The user to be added that breath is confirmed as the characteristic information without unblock authority is redefined as with recognition of face unblock authority Guest User.
Step 305, when detect delete information operation when, by the first face information deletion.
In step 305, if primary user disagrees user to be added and obtains recognition of face unblock authority, can click on " deletion button " in prompting frame, now mobile terminal, which will detect, deletes information operation.And then mobile terminal can basis The deletion information detected is operated the first face information deletion.
The face identification method of the embodiment of the present invention, applied to mobile terminal.Only when the second face information collected Match with the characteristic information in face database, just can be added to face database using the first face information as characteristic information In.Further, it is that primary user can also be according to certainly without after the characteristic information for unlocking authority to determine the first face information Oneself wish decides whether the first face information being re-set as the characteristic information with unblock authority.Can effectively it reduce hidden The risk of private leakage, makes the function of recognition of face more perfect.
Referring to Fig. 5, Fig. 5 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 5, mobile terminal 500 wraps Acquisition module 501, judge module 502 and add module 503 are included, wherein:
Acquisition module 501, for gathering the first face information and the second face information;
Judge module 502, for judging whether second face information matches with the characteristic information in face database;
Add module 503, if matching for second face information with the characteristic information in the face database, Then first face information is added in the face database as characteristic information.
Optionally, the mobile terminal has front camera and rear camera;
The acquisition module 501 is specifically used for:
While first face information is gathered by the front camera, gathered by the rear camera Second face information.
Optionally, as shown in fig. 6, the acquisition module 501 is specifically used for:
The first face information is first gathered, then gathers the second face information;
The mobile terminal also includes:
Display module 504, if matching for second face information with the characteristic information in the face database, Then show first face information;
The add module 503 is specifically used for:
If second face information matches with the characteristic information in the face database, and detects that authority is added First face information, then be added in the face database by operation as characteristic information.
Optionally, as shown in fig. 7, the mobile terminal also includes:
First removing module 505, for when detect delete information operation when, by the first face information deletion.
Optionally, as shown in figure 8, the mobile terminal also includes:
Second removing module 506, for when detecting authority solution division operation, by first face information from the people Deleted in face database.
Mobile terminal 500 can realize each process that mobile terminal is realized in Fig. 1, Fig. 2 and Fig. 3 embodiment of the method, To avoid repeating, repeat no more here.Mobile terminal 500 is in the second face information collected and the feature in face database During information match, it is added to using the first face information as characteristic information in face database, can effectively reduces privacy and let out The risk of dew, make the function of recognition of face more perfect, improve the security of mobile terminal.
Fig. 9 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
The mobile terminal 900 includes but is not limited to:It is radio frequency unit 901, mixed-media network modules mixed-media 902, audio output unit 903, defeated Enter unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, processor The part such as 910 and power supply 911.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 9 is not formed Restriction to mobile terminal, mobile terminal can be included than illustrating more or less parts, either combine some parts or Different part arrangements.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 910, for gathering the first face information and the second face information;Judge second face information and people Whether the characteristic information in face database matches;If second face information and the characteristic information phase in the face database First face information, then be added in the face database by matching as characteristic information.
, just can will be the first only when the second face information collected matches with the characteristic information in face database Face information is added in face database as characteristic information.The risk of privacy leakage can be effectively reduced, makes recognition of face Function is more perfect.
It should be understood that in the embodiment of the present invention, radio frequency unit 901 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 910;In addition, will be up Data are sent to base station.Generally, radio frequency unit 901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 902 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 903 can be receiving by radio frequency unit 901 or mixed-media network modules mixed-media 902 or in memory 909 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 903 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 900 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 903 includes loudspeaker, buzzer and receiver etc..
Input block 904 is used to receive audio or video signal.Input block 904 can include graphics processor (Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 906.Picture frame after the processing of graphics processor 9041 can be deposited Storage is transmitted in memory 909 (or other storage mediums) or via radio frequency unit 901 or mixed-media network modules mixed-media 902.Mike Wind 9042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 901 by being converted in the case of telephone calling model.
Mobile terminal 900 also includes at least one sensor 905, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 9061, and proximity transducer can close when mobile terminal 900 is moved in one's ear Display panel 9061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 906 is used for the information for showing the information inputted by user or being supplied to user.Display unit 906 can wrap Display panel 9061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 9061.
User input unit 907 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 907 include contact panel 9071 and Other input equipments 9072.Contact panel 9071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 9071 or in contact panel 9071 Neighbouring operation).Contact panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receiving area Manage the order that device 910 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 9071.Except contact panel 9071, user input unit 907 can also include other input equipments 9072.Specifically, other input equipments 9072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 9071 can be covered on display panel 9061, when contact panel 9071 is detected at it On or near touch operation after, send processor 910 to determine the type of touch event, be followed by subsequent processing device 910 according to touch The type for touching event provides corresponding visual output on display panel 9061.Although in fig.9, contact panel 9071 and display Panel 9061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 9071 and display panel 9061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 908 is the interface that external device (ED) is connected with mobile terminal 900.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 908 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 900 can be used in the He of mobile terminal 900 Data are transmitted between external device (ED).
Memory 909 can be used for storage software program and various data.Memory 909 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 909 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 910 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 909, and call and be stored in storage Data in device 909, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 910 may include one or more processing units;Preferably, processor 910 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 910.
Mobile terminal 900 can also include the power supply 911 (such as battery) to all parts power supply, it is preferred that power supply 911 Can be logically contiguous by power-supply management system and processor 910, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 900 includes some unshowned functional modules, will not be repeated here.
Optionally, the mobile terminal has front camera and rear camera, and processor 910 is additionally operable to:
While first face information is gathered by the front camera, gathered by the rear camera Second face information.
Optionally, processor 910 is additionally operable to:
The first face information is first gathered, then gathers the second face information;
If second face information matches with the characteristic information in the face database, show described the first Face information;
If second face information matches with the characteristic information in the face database, and detects that authority is added First face information, then be added in the face database by operation as characteristic information.
Optionally, processor 910 is additionally operable to:
When detecting that deleting information operates, by the first face information deletion.
Optionally, processor 910 is additionally operable to:
When detecting authority solution division operation, first face information is deleted from the face database.
Mobile terminal 900 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.Mobile terminal 900, will when the second face information collected matches with the characteristic information in face database First face information is added in face database as characteristic information, can effectively reduce the risk of privacy leakage, make face The function of identification is more perfect, improves the security of mobile terminal.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 910, memory 909, is stored in On memory 909 and the computer program that can be run on the processor 910, the computer program are performed by processor 910 Each process of the above-mentioned face identification method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here Repeat no more.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned face identification method embodiment, and energy when being executed by processor Reach identical technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (12)

1. a kind of face identification method, applied to mobile terminal, it is characterised in that methods described includes:
Gather the first face information and the second face information;
Judge whether second face information matches with the characteristic information in face database;
If second face information matches with the characteristic information in the face database, by first face information It is added to as characteristic information in the face database.
2. the method as described in claim 1, it is characterised in that the mobile terminal has front camera and rearmounted shooting Head;
The first face information of the collection and the second face information, including:
While first face information is gathered by the front camera, by described in rear camera collection Second face information.
3. the method as described in claim 1, it is characterised in that the first face information of the collection and the second face information, bag Include:
The first face information is first gathered, then gathers the second face information;
It is described judge the step of whether second face information matches with the characteristic information in face database after, also wrap Include:
If second face information matches with the characteristic information in the face database, the first face letter is shown Breath;
If second face information matches with the characteristic information in the face database, by first face Information is added in the face database as characteristic information, including:
If second face information matches with the characteristic information in the face database, and detects authority addition behaviour Make, be then added to first face information in the face database as characteristic information.
4. method as claimed in claim 3, it is characterised in that after the step of displaying first face information, Methods described also includes:
When detecting that deleting information operates, by the first face information deletion.
5. method as claimed in claim 1 or 2, it is characterised in that believe described using first face information as feature Breath is added to after the step in the face database, and methods described also includes:
When detecting authority solution division operation, first face information is deleted from the face database.
A kind of 6. mobile terminal, it is characterised in that including:
Acquisition module, for gathering the first face information and the second face information;
Judge module, for judging whether second face information matches with the characteristic information in face database;
Add module, if matching for second face information with the characteristic information in the face database, by institute The first face information is stated as characteristic information to be added in the face database.
7. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal has front camera and rearmounted taken the photograph As head;
The acquisition module is specifically used for:
While first face information is gathered by the front camera, by described in rear camera collection Second face information.
8. mobile terminal as claimed in claim 6, it is characterised in that the acquisition module is specifically used for:
The first face information is first gathered, then gathers the second face information;
The mobile terminal also includes:
Display module, if matching for second face information with the characteristic information in the face database, show First face information;
The add module is specifically used for:
If second face information matches with the characteristic information in the face database, and detects authority addition behaviour Make, be then added to first face information in the face database as characteristic information.
9. mobile terminal as claimed in claim 8, it is characterised in that the mobile terminal also includes:
First removing module, for when detect delete information operation when, by the first face information deletion.
10. mobile terminal as claimed in claims 6 or 7, it is characterised in that the mobile terminal also includes:
Second removing module, for when detecting authority solution division operation, by first face information from the human face data Deleted in storehouse.
11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 5 during the computing device Any one of face identification method the step of.
12. a kind of computer read/write memory medium, it is characterised in that meter is stored with the computer read/write memory medium Calculation machine program, the recognition of face as any one of claim 1 to 5 is realized when the computer program is executed by processor The step of method.
CN201710891136.XA 2017-09-27 2017-09-27 Face recognition method and mobile terminal Active CN107491685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710891136.XA CN107491685B (en) 2017-09-27 2017-09-27 Face recognition method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710891136.XA CN107491685B (en) 2017-09-27 2017-09-27 Face recognition method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107491685A true CN107491685A (en) 2017-12-19
CN107491685B CN107491685B (en) 2020-06-26

Family

ID=60653322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710891136.XA Active CN107491685B (en) 2017-09-27 2017-09-27 Face recognition method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107491685B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875654A (en) * 2018-06-25 2018-11-23 深圳云天励飞技术有限公司 A kind of face characteristic acquisition method and device
CN109993539A (en) * 2019-04-09 2019-07-09 佛山单常科技有限公司 A kind of face identification method and mobile terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7131132B1 (en) * 2001-06-11 2006-10-31 Lucent Technologies Inc. Automatic access denial
CN101925915A (en) * 2007-11-21 2010-12-22 格斯图尔泰克股份有限公司 Device access control
CN103795919A (en) * 2014-01-13 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Image processing method and shooting terminal
CN104850771A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Identity verification method and related equipment
CN104980719A (en) * 2014-04-03 2015-10-14 索尼公司 Image processing method, image processing apparatus and electronic equipment
CN105787400A (en) * 2016-02-25 2016-07-20 上海斐讯数据通信技术有限公司 Safety protection method and system based on mobile terminal
CN106445328A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Unlocking method of mobile terminal screen, and mobile terminal
CN106713764A (en) * 2017-01-24 2017-05-24 维沃移动通信有限公司 Photographic method and mobile terminal
CN107085718A (en) * 2017-05-25 2017-08-22 广东欧珀移动通信有限公司 Method for detecting human face and device, computer equipment, computer-readable recording medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7131132B1 (en) * 2001-06-11 2006-10-31 Lucent Technologies Inc. Automatic access denial
CN101925915A (en) * 2007-11-21 2010-12-22 格斯图尔泰克股份有限公司 Device access control
CN103795919A (en) * 2014-01-13 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Image processing method and shooting terminal
CN104980719A (en) * 2014-04-03 2015-10-14 索尼公司 Image processing method, image processing apparatus and electronic equipment
CN104850771A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Identity verification method and related equipment
CN105787400A (en) * 2016-02-25 2016-07-20 上海斐讯数据通信技术有限公司 Safety protection method and system based on mobile terminal
CN106445328A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Unlocking method of mobile terminal screen, and mobile terminal
CN106713764A (en) * 2017-01-24 2017-05-24 维沃移动通信有限公司 Photographic method and mobile terminal
CN107085718A (en) * 2017-05-25 2017-08-22 广东欧珀移动通信有限公司 Method for detecting human face and device, computer equipment, computer-readable recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875654A (en) * 2018-06-25 2018-11-23 深圳云天励飞技术有限公司 A kind of face characteristic acquisition method and device
CN108875654B (en) * 2018-06-25 2021-03-05 深圳云天励飞技术有限公司 Face feature acquisition method and device
CN109993539A (en) * 2019-04-09 2019-07-09 佛山单常科技有限公司 A kind of face identification method and mobile terminal

Also Published As

Publication number Publication date
CN107491685B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN107608514A (en) Information processing method and mobile terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN107613131A (en) A kind of application program disturbance-free method and mobile terminal
CN107704086A (en) A kind of mobile terminal operating method and mobile terminal
CN108021825A (en) A kind of method for protecting privacy, mobile terminal
CN107845057A (en) One kind is taken pictures method for previewing and mobile terminal
CN107742072A (en) Face identification method and mobile terminal
CN107679514A (en) A kind of face identification method and electronic equipment
CN109284150A (en) A kind of method and terminal starting application program
CN108376096A (en) A kind of message display method and mobile terminal
CN107704182A (en) A kind of barcode scanning method and mobile terminal
CN107609363A (en) A kind of unlocking method and mobile terminal
CN107707554A (en) A kind of login method and mobile terminal of application program account
CN107786739A (en) A kind of information acquisition method and mobile terminal
CN110213438A (en) A kind of processing method and terminal device of application program
CN109828668A (en) A kind of display control method and electronic equipment
CN109218984A (en) A kind of method for tracing and mobile terminal
CN107809515A (en) A kind of display control method and mobile terminal
CN107491685A (en) A kind of face identification method and mobile terminal
CN108345780A (en) A kind of solution lock control method and mobile terminal
CN107800968A (en) A kind of image pickup method and mobile terminal
CN107911563A (en) A kind of image processing method and mobile terminal
CN107885423A (en) The processing method and mobile terminal of a kind of picture
CN109963033A (en) A kind of voice-based control method and terminal device
CN109086599A (en) A kind of application program locking method, unlocking method and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant