CN109857238A - Terminal unlock method and terminal - Google Patents

Terminal unlock method and terminal Download PDF

Info

Publication number
CN109857238A
CN109857238A CN201910155139.6A CN201910155139A CN109857238A CN 109857238 A CN109857238 A CN 109857238A CN 201910155139 A CN201910155139 A CN 201910155139A CN 109857238 A CN109857238 A CN 109857238A
Authority
CN
China
Prior art keywords
terminal
recognition
brightness
mode
face
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
CN201910155139.6A
Other languages
Chinese (zh)
Other versions
CN109857238B (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.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion 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 Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Priority to CN201910155139.6A priority Critical patent/CN109857238B/en
Priority to PCT/CN2019/085336 priority patent/WO2020172991A1/en
Publication of CN109857238A publication Critical patent/CN109857238A/en
Application granted granted Critical
Publication of CN109857238B publication Critical patent/CN109857238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of terminal unlock method and terminal, the terminal unlock method is applied to terminal, and the terminal unlock method includes: the ambient brightness information for receiving luminance sensor and sending;Whether the brightness of environment is lower than predetermined luminance where judging the terminal according to the ambient brightness information;When the brightness of environment where the terminal is lower than the predetermined luminance, then the recognition of face mode for controlling the terminal automatically switches to infrared light recognition mode from visible light recognition mode.A kind of terminal unlock method and terminal provided by the invention, can reduce energy consumption of the terminal when carrying out recognition of face, save electric energy, and can effectively realize the recognition of face to user, with carry out fast and effeciently to terminal unlocking, improve the experience of user.

Description

Terminal unlock method and terminal
Technical field
The present invention relates to terminal unlocking technical field more particularly to a kind of terminal unlock methods and terminal.
Background technique
As privacy of the people to mobile device requires higher and higher, private information is protected using application lock The user of equal tools is also more and more.
In the prior art the application lock of all mobile devices be all using cumbersome unlocking manner, such as sliding unlock, The modes such as unlocked by fingerprint and 2D recognition of face are unlocked mobile device.However, sliding unlock is not fast enough, unlocked by fingerprint is complete Face scheme influences design, and user, in wet hand or in the case where be stained with sweat, sliding unlock can not be to shifting with unlocked by fingerprint Dynamic equipment unlock, reduces user experience.And 2D recognition of face is when brightness requirement is not achieved in environment light, can not to face into Row identification causes unlock to fail, and causes bad unlock experience.
In view of the above-mentioned problems, those skilled in the art are seeking redress always.
Summary of the invention
In view of this, can reduce terminal the present invention provides a kind of terminal unlock method and terminal and carrying out face knowledge Energy consumption when other saves electric energy, and can effectively realize the recognition of face to user, with carry out fast and effeciently to terminal Unlock, improves the experience of user.
The present invention provides a kind of terminal unlock method, and the terminal unlock method is applied to terminal, the terminal unlocking side Method includes: the ambient brightness information for receiving luminance sensor and sending;The terminal place is judged according to the ambient brightness information Whether the brightness of environment is lower than predetermined luminance;When the brightness of environment where the terminal is lower than the predetermined luminance, then control The recognition of face mode of the terminal automatically switches to infrared light recognition mode from visible light recognition mode.
Specifically, it is described the terminal is judged according to the ambient brightness information where environment brightness whether be lower than it is default After the step of brightness further include: when the brightness of environment where the terminal is greater than or equal to the predetermined luminance, then control The recognition of face mode of the terminal is maintained at the visible light recognition mode.
Specifically, when the brightness of the environment where the terminal is greater than or equal to the predetermined luminance, then institute is controlled Stating the step of the recognition of face mode of terminal is maintained at the visible light recognition mode includes: in environment where the terminal Brightness when being greater than or equal to the predetermined luminance, then obtain the image information corresponding with the user;To described image Information carries out identifying processing and obtains the first brightness of position corresponding with user's face in described image information;Judge described first Whether brightness is higher than first predetermined luminance;When first brightness is higher than first predetermined luminance, then described in control The recognition of face mode of terminal is maintained at the visible light recognition mode.
Specifically, it is described judge the step of whether first brightness is higher than first predetermined luminance after further include: When first brightness is less than or equal to first predetermined luminance, then control the recognition of face mode of the terminal from Light recognition mode automatically switches to infrared light recognition mode.
Specifically, when the brightness of the environment where the terminal is greater than or equal to the predetermined luminance, then institute is controlled It include: reception visible image capturing after stating the step of the recognition of face mode of terminal is maintained at the visible light recognition mode The user images information that hair is sent;Identifying processing is carried out to the user images information and obtains recognition result;The identification is tied Fruit is verified with the faceform in pre-stored face database;When being verified, then it is automatic to control the terminal Unlock.
Specifically, the faceform by the recognition result and pre-stored face database verifies After step further include: it is obstructed out-of-date verifying, then generate prompt information;It is prompted described in the user interface presentation of the terminal Information.
Specifically, when the brightness of the environment where the terminal is lower than the predetermined luminance, then the terminal is controlled Recognition of face mode the step of automatically switching to infrared light recognition mode from visible light recognition mode include: in the terminal institute When the brightness of environment is lower than the predetermined luminance, then infared startup signal is generated;According to the infared startup signal enabling institute The infrared camera in terminal is stated, and closes the visible image capturing head in the terminal, so that the recognition of face mould of the terminal Formula automatically switches to infrared light recognition mode from visible light recognition mode.
Specifically, when the brightness of the environment where the terminal is lower than the predetermined luminance, then the terminal is controlled Recognition of face mode the step of automatically switching to infrared light recognition mode from visible light recognition mode after further include: starting is red Outer camera, to control the infrared camera acquisition user images information;Identifying processing is carried out to the user images information Obtain recognition result;The recognition result and the faceform in pre-stored face database are verified;It is verifying By when, then control the terminal automatic unlocking.
Specifically, it states when the brightness of environment where the terminal is lower than the predetermined luminance, then controls the terminal The step of recognition of face mode automatically switches to infrared light recognition mode from visible light recognition mode includes: where the terminal When the brightness of environment is lower than the predetermined luminance, then judge whether to get user's facial image information;Getting the use When the facial image information of family, then the recognition of face mode for controlling the terminal automatically switches to infrared light from visible light recognition mode Recognition mode;When user's facial image information has not been obtained, then the brightness returned in environment where the terminal is lower than When the predetermined luminance, then judge whether the step of getting user's facial image information.
The present invention also provides a kind of terminals, comprising: memory, for storing executable program code;And processor, it uses In calling the executable program code in the memory, to realize such as above-mentioned terminal unlock method.
Specifically, terminal unlock method and terminal provided in this embodiment, the environment sent by receiving luminance sensor Luminance information, and judge whether the brightness of terminal place environment is lower than predetermined luminance according to ambient brightness information, in terminal institute When the brightness of environment is lower than predetermined luminance, the recognition of face mode of controlling terminal automatically switches to red from visible light recognition mode Outer smooth recognition mode saves electric energy, and can effectively realize so as to reduce energy consumption of the terminal when carrying out recognition of face Recognition of face to user, with carry out fast and effeciently to terminal unlocking, improve the experience of user.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the invention can It is clearer and more comprehensible, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Detailed description of the invention
Fig. 1 is the flow diagram of the terminal unlock method of first embodiment of the invention;
Fig. 2 is the flow diagram of the terminal unlock method of second embodiment of the invention;
Fig. 3 is the flow diagram of the terminal unlock method of third embodiment of the invention;
Fig. 4 is the flow diagram of the terminal unlock method of fourth embodiment of the invention;
Fig. 5 is the flow diagram of the terminal unlock method of fifth embodiment of the invention;
Fig. 6 is the flow diagram of the terminal unlock method of sixth embodiment of the invention;
Fig. 7 is the flow diagram of the terminal unlock method of seventh embodiment of the invention;
Fig. 8 is the flow diagram of the terminal unlock method of eighth embodiment of the invention;
Fig. 9 is the flow diagram of the terminal unlock method of ninth embodiment of the invention;
Figure 10 is the structural block diagram of the terminal of tenth embodiment of the invention.
Specific embodiment
It is of the invention to reach the technical means and efficacy that predetermined goal of the invention is taken further to illustrate, below in conjunction with Attached drawing and preferred embodiment, the present invention is described in detail as follows.
Fig. 1 is the flow diagram of the terminal unlock method of first embodiment of the invention.The present embodiment is what terminal executed Terminal unlock method.As shown in Figure 1, the terminal unlock method of the present embodiment can comprise the following steps that
Step S11: the ambient brightness information that luminance sensor is sent is received.
Specifically, in one embodiment, luminance sensor is equipped in terminal, around the real-time acquisition terminal of luminance sensor Ambient brightness, according to ambient brightness build environment luminance information.Specifically, the environment that luminance sensor will be got in real time Luminance information is transmitted in the processor of terminal.
Step S12: whether the brightness of environment is lower than predetermined luminance where judging terminal according to ambient brightness information.
Specifically, in one embodiment, the processor in terminal is in the ambient brightness letter for receiving luminance sensor transmission After breath, ambient brightness information is handled to obtain ambient brightness corresponding with current environment.Specifically, the processor in terminal Judge whether ambient brightness where terminal is lower than predetermined luminance.
Specifically, in one embodiment, predetermined luminance can be, but not limited to take the photograph visible light for the processor in terminal As a collected user images fail to identify corresponding brightness value.
Step S13: the recognition of face mode of controlling terminal automatically switches to infrared light identification mould from visible light recognition mode Formula.
Specifically, in one embodiment, when the brightness of environment where terminal is lower than predetermined luminance, for example, terminal is in In dark environment, or when in the weaker environment of light, at this moment visible image capturing head institute's acquired image letter of terminal Cease unintelligible place when the processor of terminal being caused to fail effectively to identify to visible image capturing head acquired image, in terminal The recognition of face mode of reason device controlling terminal automatically switches to infrared light recognition mode from visible light recognition mode, so as to more It accurately more effectively realizes recognition of face, to realize the unlock to terminal, improves the unlock experience of user.
Fig. 2 is the flow diagram of the terminal unlock method of second embodiment of the invention.The present embodiment is what terminal executed Terminal unlock method.As shown in Fig. 2, the terminal unlock method of the present embodiment can comprise the following steps that
Step S21: the ambient brightness information that luminance sensor is sent is received.
Specifically, in one embodiment, luminance sensor is equipped in terminal, around the real-time acquisition terminal of luminance sensor Ambient brightness, according to ambient brightness build environment luminance information.Specifically, the environment that luminance sensor will be got in real time Luminance information is transmitted in the processor of terminal.
Step S22: whether the brightness of environment is lower than predetermined luminance where judging terminal according to ambient brightness information.
Specifically, in one embodiment, the processor in terminal is in the ambient brightness letter for receiving luminance sensor transmission After breath, ambient brightness information is handled to obtain ambient brightness corresponding with current environment.Specifically, the processor in terminal Judge whether ambient brightness where terminal is lower than predetermined luminance.
Specifically, in one embodiment, predetermined luminance can be, but not limited to take the photograph visible light for the processor in terminal As a collected user images fail to identify corresponding brightness value.
Specifically, when the brightness of environment where terminal is lower than predetermined luminance, S23 is thened follow the steps.The ring where terminal When the brightness in border is greater than or equal to predetermined luminance, S24 is thened follow the steps.
Step S23: the recognition of face mode of controlling terminal automatically switches to infrared light identification mould from visible light recognition mode Formula.
Specifically, in one embodiment, when the brightness of environment where terminal is lower than predetermined luminance, for example, terminal is in In dark environment, or when in the weaker environment of light, at this moment visible image capturing head institute's acquired image letter of terminal Cease unintelligible place when the processor of terminal being caused to fail effectively to identify to visible image capturing head acquired image, in terminal The recognition of face mode of reason device controlling terminal automatically switches to infrared light recognition mode from visible light recognition mode, so as to more It accurately more effectively realizes recognition of face, to realize the unlock to terminal, improves the unlock experience of user.
Step S24: the recognition of face mode of controlling terminal is maintained at visible light recognition mode.
Specifically, in one embodiment, when the brightness of environment where terminal is greater than or equal to predetermined luminance, for example, eventually Hold local environment bright, the visible image capturing head institute acquired image information of terminal is clear, and the processor in terminal can be clear Clear to recognize recognition result, at this moment the recognition of face mode of the processor controlling terminal in terminal is maintained at visible light identification mould Formula saves electric energy, and can effectively realize the people to user so as to reduce energy consumption of the terminal when carrying out recognition of face Face identification, with carry out fast and effeciently to terminal unlocking, improve the experience of user.
Referring to FIG. 3, Fig. 3 is the flow diagram of the terminal unlock method of third embodiment of the invention.Such as Fig. 2 and Fig. 3 Shown, terminal unlock method provided in this embodiment is then controlled when the brightness of environment where terminal is greater than or equal to predetermined luminance The step of recognition of face mode of terminal processed is maintained at visible light recognition mode specifically includes the following steps:
Step S31: when the brightness of environment where terminal is greater than or equal to predetermined luminance, then figure corresponding to the user is obtained As information.
Specifically, in one embodiment, when the brightness of environment where terminal is greater than or equal to predetermined luminance, locating for terminal Environment bright, terminal control visible image capturing head acquire image information corresponding to the user.Specifically, it is seen that light video camera head will be adopted The image information collected is sent in the processor in terminal.
Step S32: identifying processing is carried out to image information and obtains the of position corresponding with user's face in image information One brightness.
Specifically, in one embodiment, the processor in terminal locates image information using image recognition technology in advance Reason obtains the first brightness with the user's face position in image information, for example, the face location of user in the picture Shading value.
Step S33: judge whether the first brightness is higher than the first predetermined luminance.
Specifically, in one embodiment, the processor in terminal is by the first brightness and pre-set first predetermined luminance It is compared, to judge whether the first brightness is higher than the first predetermined luminance.
Specifically, in one embodiment, the first predetermined luminance can be, but not limited to as the processor in terminal to visible The collected user images of light video camera head fail to identify corresponding brightness value.
Specifically, when the first brightness is higher than the first predetermined luminance, S24 is thened follow the steps.It is lower than or waits in the first brightness When the first predetermined luminance, S25 is thened follow the steps.
Step S34: the recognition of face mode of controlling terminal is maintained at visible light recognition mode.
Specifically, in one embodiment, when the first brightness is higher than the first predetermined luminance, for example, under the first brightness eventually Processor in end can clearly recognize the characteristic information of user face, and can efficiently extract corresponding feature letter Breath, to obtain recognition result according to the feature information processing extracted, at this moment the recognition of face mode of terminal is maintained at visible light Recognition mode saves electric energy so as to reduce energy consumption of the terminal when carrying out recognition of face, and can effectively realize to The recognition of face at family, with carry out fast and effeciently to terminal unlocking, improve the experience of user.
Step S35: the recognition of face mode of controlling terminal automatically switches to infrared light identification mould from visible light recognition mode Formula.
Specifically, in one embodiment, when the first brightness is less than or equal to the first predetermined luminance, for example, user is carrying on the back In light situation, it is seen that the facial information in the corresponding image information of the collected user of light video camera head is darker, affects in terminal Identification of the processor to image information, at this moment the recognition of face mode of the processor controlling terminal in terminal is identified from visible light Mode automatically switches to infrared light recognition mode, more effectively realizes recognition of face so as to more acurrate, to realize to terminal Unlock, improve user unlock experience.
Referring to FIG. 4, Fig. 4 is the flow diagram of the terminal unlock method of fourth embodiment of the invention.Such as Fig. 2 and Fig. 4 Shown, terminal unlock method provided in this embodiment is then controlled when the brightness of environment where terminal is greater than or equal to predetermined luminance It is further comprising the steps of after the step of recognition of face mode of terminal processed is maintained at visible light recognition mode:
Step S41: the user images information that visible image capturing hair is sent is received.
Specifically, in one embodiment, terminal control visible image capturing head acquires user images information in real time.Specifically, Collected user images information is sent in the processor of terminal by visible image capturing head.
Step S42: identifying processing is carried out to user images information and obtains recognition result.
Specifically, in one embodiment, the processor in terminal carries out user images information using image recognition technology Identifying processing, such as carry out carrying out image preprocessing, image segmentation, face recognition etc. to user images information, to obtain pair The recognition result answered.
Step S43: recognition result and the faceform in pre-stored face database are verified.
Specifically, in one embodiment, the processor in terminal will be in recognition result and pre-stored face database Faceform be compared, it is whether consistent with faceform to verify recognition result.Specifically, in recognition result and face mould To be verified when type is consistent, and do not pass through when recognition result is inconsistent with faceform for verifying.
Step S44: when being verified, then controlling terminal automatic unlocking.
Specifically, in one embodiment, when being verified, the processor in terminal generates unlocking signal, according to solution Lock signal controlling terminal automatic unlocking improves the unlock experience of user.
Referring to FIG. 5, Fig. 5 is the flow diagram of the terminal unlock method of fifth embodiment of the invention.Such as Fig. 4 and Fig. 5 It is shown, terminal unlock method provided in this embodiment, by the faceform in recognition result and pre-stored face database It is further comprising the steps of after the step of being verified:
Step S51: it is obstructed out-of-date verifying, then generate prompt information.
Specifically, in one embodiment, obstructed out-of-date processor generation prompt information in terminal is being verified.Specifically, In one embodiment, prompt information can be, but not limited to as terminal unlocking failure.
Step S52: in the user interface presentation prompt information of terminal.
Specifically, in one embodiment, the processor in terminal will be prompted to the display screen that information is sent to terminal, at end Hold the user interface presentation prompt information of display screen.
Referring to FIG. 6, Fig. 6 is the flow diagram of the terminal unlock method of sixth embodiment of the invention.Such as Fig. 1 and Fig. 6 It is shown, terminal unlock method provided in this embodiment, when the brightness of environment where terminal is lower than predetermined luminance, then controlling terminal Recognition of face mode the step of automatically switching to infrared light recognition mode from visible light recognition mode specifically includes the following steps:
Step S61: when the brightness of environment where terminal is lower than predetermined luminance, then infared startup signal is generated.
Specifically, in one embodiment, when the brightness of environment where terminal is lower than predetermined luminance, for example, terminal is in In dark environment, or when in the weaker environment of light, at this moment visible image capturing head institute's acquired image letter of terminal Cease unintelligible place when the processor of terminal being caused to fail effectively to identify to visible image capturing head acquired image, in terminal It manages device and generates infared startup signal, and infared startup signal is sent to infrared camera, to control infrared camera starting.
Step S62: according to the infrared camera in infared startup signal enabling terminal, and the visible light closed in terminal is taken the photograph As head, so that the recognition of face mode of terminal automatically switches to infrared light recognition mode from visible light recognition mode.
Specifically, in one embodiment, the processor in terminal is taken the photograph according to infrared in infared startup signal enabling terminal As head, and visible image capturing head while start infrared camera in closing terminal, to save the identification process of terminal Energy consumption, so that the recognition of face mode of terminal automatically switches to infrared light recognition mode from visible light recognition mode, in terminal Just start infrared camera when needing to switch to infrared light recognition mode, more effectively realizes that face is known so as to more acurrate Not, to realize the unlock to terminal, the unlock experience of user is improved.
Referring to FIG. 7, Fig. 7 is the flow diagram of the terminal unlock method of seventh embodiment of the invention.Such as Fig. 1 and Fig. 7 It is shown, terminal unlock method provided in this embodiment, when the brightness of environment where terminal is lower than predetermined luminance, then controlling terminal Recognition of face mode the step of automatically switching to infrared light recognition mode from visible light recognition mode after further include following step It is rapid:
Step S71: starting infrared camera, to control infrared camera acquisition user images information.
Specifically, in one embodiment, for terminal after starting infrared camera automatically, control infrared camera acquires user Image information.Specifically, collected user images information is sent to the processor in terminal by infrared camera.
Step S72: identifying processing is carried out to user images information and obtains recognition result.
Specifically, in one embodiment, the processor in terminal carries out user images information using image recognition technology Identifying processing, such as carry out carrying out image preprocessing, image segmentation, face recognition etc. to user images information, to obtain pair The recognition result answered.
Step S73: recognition result and the faceform in pre-stored face database are verified.
Specifically, in one embodiment, the processor in terminal will be in recognition result and pre-stored face database Faceform be compared, it is whether consistent with faceform to verify recognition result.Specifically, in recognition result and face mould To be verified when type is consistent, and do not pass through when recognition result is inconsistent with faceform for verifying.
Step S74: when being verified, then controlling terminal automatic unlocking.
Specifically, in one embodiment, when being verified, the processor in terminal generates unlocking signal, according to solution Lock signal controlling terminal automatic unlocking improves the unlock experience of user.
Referring to FIG. 8, Fig. 8 is the flow diagram of the terminal unlock method of eighth embodiment of the invention.Such as Fig. 7 and Fig. 8 It is shown, terminal unlock method provided in this embodiment, by the faceform in recognition result and pre-stored face database It is further comprising the steps of after the step of being verified:
Step S81: it is obstructed out-of-date verifying, then generate prompt information.
Specifically, in one embodiment, obstructed out-of-date processor generation prompt information in terminal is being verified.Specifically, In one embodiment, prompt information can be, but not limited to as terminal unlocking failure.
Step S82: in the user interface presentation prompt information of terminal.
Specifically, in one embodiment, the processor in terminal will be prompted to the display screen that information is sent to terminal, at end Hold the user interface presentation prompt information of display screen.
Referring to FIG. 9, Fig. 9 is the flow diagram of the terminal unlock method of eighth embodiment of the invention.Such as Fig. 1 and Fig. 9 It is shown, terminal unlock method provided in this embodiment, when the brightness of environment where terminal is lower than predetermined luminance, then controlling terminal Recognition of face mode the step of automatically switching to infrared light recognition mode from visible light recognition mode specifically includes the following steps:
Step S91: when the brightness of environment where terminal is lower than predetermined luminance, then judge whether to get user face figure As information.
Specifically, in one embodiment, when the brightness of environment where terminal is lower than predetermined luminance, for example, terminal is in In dark environment, or when in the weaker environment of light, at this moment visible image capturing head institute's acquired image letter of terminal Cease unintelligible place when the processor of terminal being caused to fail effectively to identify to visible image capturing head acquired image, in terminal Whether reason device also real-time judge gets user's facial image information.
Specifically, when getting user's facial image information, S92 is thened follow the steps.User face figure is having not been obtained When as information, then return step S91.
Step S92: the recognition of face mode of controlling terminal automatically switches to infrared light identification mould from visible light recognition mode Formula.
Specifically, in one embodiment, when getting user's facial image information, for example, visible image capturing head will be adopted The image information collected is sent to the processor of terminal, and processor generates infared startup signal when recognizing user's face profile, To automatically switch to infrared light identification from visible light recognition mode according to the recognition of face mode of infared startup signal control terminal Mode starts infrared camera when being placed under the dark surrounds such as pocket to avoid terminal, saves the energy consumption of terminal, so as to The switching of recognition of face mode is carried out when getting user's face mask, and then more acurrate can more effectively realize that face is known Not, to realize the unlock to terminal, the unlock experience of user is improved.
Figure 10 is the structural block diagram of the terminal 100 of tenth embodiment of the invention.As shown in Figure 10, end provided in this embodiment End 100 includes memory 110 and processor 120 for executing terminal unlock method, terminal 100 provided in this embodiment.
Specifically, in the present embodiment, memory 110 is for storing executable program code.Processor 120 is for calling Executable program code in memory, to realize that step performed by terminal unlock method includes: to receive luminance sensor hair The ambient brightness information sent;Whether the brightness of environment is lower than predetermined luminance where judging terminal according to ambient brightness information;At end When the brightness of environment is lower than predetermined luminance where end, then the recognition of face mode of controlling terminal is cut automatically from visible light recognition mode Shift to infrared light recognition mode.
Specifically, in one embodiment, processor 120 execute environment where judging terminal according to ambient brightness information The step of also executing after the step of whether brightness is lower than predetermined luminance includes: that the brightness of environment where terminal is greater than or equal to When predetermined luminance, then the recognition of face mode of controlling terminal is maintained at visible light recognition mode.
Specifically, in one embodiment, processor 120, the brightness for executing the environment where terminal, which is greater than or equal to, to be preset When brightness, then the step of the step of recognition of face mode of controlling terminal is maintained at visible light recognition mode specifically executes, includes: When the brightness of environment where terminal is greater than or equal to predetermined luminance, then image information corresponding to the user is obtained;Image is believed Breath carries out identifying processing and obtains the first brightness of position corresponding with user's face in image information;Judge whether the first brightness is high In the first predetermined luminance;When the first brightness is higher than the first predetermined luminance, then be maintained at can for the recognition of face mode of controlling terminal Light-exposed recognition mode.
Specifically, in one embodiment, processor 120, execution judge whether the first brightness is higher than the first predetermined luminance The step of also executing after step includes: the then face of controlling terminal when the first brightness is less than or equal to the first predetermined luminance Recognition mode automatically switches to infrared light recognition mode from visible light recognition mode.
Specifically, in one embodiment, processor 120, the brightness for executing the environment where terminal, which is greater than or equal to, to be preset When brightness, then the step of also being executed after the step of recognition of face mode of controlling terminal is maintained at visible light recognition mode packet It includes: receiving the user images information that visible image capturing hair is sent;Identifying processing is carried out to user images information and obtains recognition result; Recognition result and the faceform in pre-stored face database are verified;When being verified, then controlling terminal Automatic unlocking.
Specifically, in one embodiment, processor 120, executing will be in recognition result and pre-stored face database Faceform the step of verifying after the step of also executing include: to verify obstructed out-of-date, then generate prompt information;? The user interface presentation prompt information of terminal.
Specifically, in one embodiment, processor 120 are executed when the brightness of environment where terminal is lower than predetermined luminance, The step of then the recognition of face mode of controlling terminal automatically switches to infrared light recognition mode from visible light recognition mode is specifically held Capable step includes: then to generate infared startup signal when the brightness of environment where terminal is lower than predetermined luminance;It is opened according to infrared Infrared camera in dynamic signal enabling terminal, and the visible image capturing head in terminal is closed, so that the recognition of face mould of terminal Formula automatically switches to infrared light recognition mode from visible light recognition mode.
Specifically, in one embodiment, processor 120 are executed when the brightness of environment where terminal is lower than predetermined luminance, After the step of then the recognition of face mode of controlling terminal automatically switches to infrared light recognition mode from visible light recognition mode also The step of execution includes: starting infrared camera, to control infrared camera acquisition user images information;To user images information It carries out identifying processing and obtains recognition result;Recognition result and the faceform in pre-stored face database are tested Card;When being verified, then controlling terminal automatic unlocking.
Specifically, in one embodiment, processor 120, executing will be in recognition result and pre-stored face database Faceform the step of verifying after the step of also executing include: to verify obstructed out-of-date, then generate prompt information;? The user interface presentation prompt information of terminal.
The present embodiment realizes the detailed process of respective function to each functional unit of terminal 100, refers to above-mentioned Fig. 1 to figure Particular content described in 9 illustrated embodiments, details are not described herein.
Specifically, terminal unlock method and terminal provided in this embodiment, the environment sent by receiving luminance sensor Luminance information, and judge whether the brightness of terminal place environment is lower than predetermined luminance according to ambient brightness information, in terminal institute When the brightness of environment is lower than predetermined luminance, the recognition of face mode of controlling terminal automatically switches to red from visible light recognition mode Outer smooth recognition mode, and the brightness of environment where terminal be greater than or equal to predetermined luminance when controlling terminal recognition of face mode It is maintained at visible light recognition mode, so as to reduce energy consumption of the terminal when carrying out recognition of face, saves electric energy, and can have Recognition of face to user is realized on effect ground, with carry out fast and effeciently to terminal unlocking, improve the experience of user.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is executable to be stored with computer Instruction, above-mentioned computer readable storage medium is, for example, nonvolatile memory such as CD, hard disk or flash memory.It is above-mentioned Computer executable instructions for allow computer or similar arithmetic unit to complete each in above-mentioned terminal unlock method Kind operation.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For terminal class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.

Claims (10)

1. a kind of terminal unlock method, which is characterized in that the terminal unlock method is applied to terminal, the terminal unlock method Include:
Receive the ambient brightness information that luminance sensor is sent;
Whether the brightness of environment is lower than predetermined luminance where judging the terminal according to the ambient brightness information;
When the brightness of environment where the terminal is lower than the predetermined luminance, then control the recognition of face mode of the terminal from Visible light recognition mode automatically switches to infrared light recognition mode.
2. terminal unlock method as described in claim 1, which is characterized in that described to judge institute according to the ambient brightness information After the step of whether brightness of environment is lower than predetermined luminance where stating terminal further include:
When the brightness of environment where the terminal is greater than or equal to the predetermined luminance, then the face of the terminal is controlled Recognition mode is maintained at the visible light recognition mode.
3. terminal unlock method as claimed in claim 2, which is characterized in that the brightness of the environment where the terminal is high When the predetermined luminance, then the recognition of face mode for controlling the terminal is maintained at the visible light identification mould The step of formula includes:
When the brightness of environment where the terminal is greater than or equal to the predetermined luminance, then obtain described corresponding with the user Image information;
Identifying processing is carried out to described image information and obtains the first bright of position corresponding with user's face in described image information Degree;
Judge whether first brightness is higher than first predetermined luminance;
When first brightness is higher than first predetermined luminance, then the recognition of face mode for controlling the terminal is kept In the visible light recognition mode.
4. terminal unlock method as claimed in claim 3, which is characterized in that described to judge whether first brightness is higher than institute After the step of stating the first predetermined luminance further include:
When first brightness is less than or equal to first predetermined luminance, then control the recognition of face mode of the terminal from Visible light recognition mode automatically switches to infrared light recognition mode.
5. terminal unlock method as claimed in claim 2, which is characterized in that the brightness of the environment where the terminal is high When the predetermined luminance, then the recognition of face mode for controlling the terminal is maintained at the visible light identification mould Include: after the step of formula
Receive the user images information that visible image capturing hair is sent;
Identifying processing is carried out to the user images information and obtains recognition result;
The recognition result and the faceform in pre-stored face database are verified;
When being verified, then the terminal automatic unlocking is controlled.
6. terminal unlock method as claimed in claim 5, which is characterized in that it is described by the recognition result with it is pre-stored After the step of faceform in face database verifies further include:
It is obstructed out-of-date verifying, then generate prompt information;
The prompt information described in the user interface presentation of the terminal.
7. terminal unlock method as described in claim 1, which is characterized in that the brightness of the environment where the terminal is low When the predetermined luminance, then the recognition of face mode for controlling the terminal automatically switches to infrared light from visible light recognition mode The step of recognition mode includes:
When the brightness of environment where the terminal is lower than the predetermined luminance, then infared startup signal is generated;
According to the infrared camera in terminal described in the infared startup signal enabling, and the visible light closed in the terminal is taken the photograph As head, so that the recognition of face mode of the terminal automatically switches to infrared light recognition mode from visible light recognition mode.
8. terminal unlock method as described in claim 1, which is characterized in that the brightness of the environment where the terminal is low When the predetermined luminance, then the recognition of face mode for controlling the terminal automatically switches to infrared light from visible light recognition mode After the step of recognition mode further include:
Start infrared camera, to control the infrared camera acquisition user images information;
Identifying processing is carried out to the user images information and obtains recognition result;
The recognition result and the faceform in pre-stored face database are verified;
When being verified, then the terminal automatic unlocking is controlled.
9. terminal unlock method as described in claim 1, which is characterized in that the brightness of the environment where the terminal is low When the predetermined luminance, then the recognition of face mode for controlling the terminal automatically switches to infrared light from visible light recognition mode The step of recognition mode includes:
When the brightness of environment where the terminal is lower than the predetermined luminance, then judge whether to get user's face image letter Breath;
When getting user's facial image information, then the recognition of face mode for controlling the terminal identifies mould from visible light Formula automatically switches to infrared light recognition mode;
When user's facial image information has not been obtained, then the brightness in environment where the terminal is returned lower than described pre- If when brightness, then judging whether the step of getting user's facial image information.
10. a kind of terminal, which is characterized in that the terminal includes:
Memory, for storing executable program code;And
Processor, for calling the executable program code in the memory, to realize as appointed in claim 1 to 9 Terminal unlock method described in one.
CN201910155139.6A 2019-02-25 2019-02-25 Terminal unlocking method and terminal Active CN109857238B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910155139.6A CN109857238B (en) 2019-02-25 2019-02-25 Terminal unlocking method and terminal
PCT/CN2019/085336 WO2020172991A1 (en) 2019-02-25 2019-04-30 Terminal unlocking method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910155139.6A CN109857238B (en) 2019-02-25 2019-02-25 Terminal unlocking method and terminal

Publications (2)

Publication Number Publication Date
CN109857238A true CN109857238A (en) 2019-06-07
CN109857238B CN109857238B (en) 2024-09-24

Family

ID=66899413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910155139.6A Active CN109857238B (en) 2019-02-25 2019-02-25 Terminal unlocking method and terminal

Country Status (2)

Country Link
CN (1) CN109857238B (en)
WO (1) WO2020172991A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287668A (en) * 2019-06-18 2019-09-27 Oppo广东移动通信有限公司 Unlocking method and Related product
CN110334496A (en) * 2019-06-27 2019-10-15 Oppo广东移动通信有限公司 A kind of solution lock control method, terminal and computer readable storage medium
CN111814561A (en) * 2020-06-11 2020-10-23 浙江大华技术股份有限公司 Face recognition method, face recognition equipment and access control system
CN111862434A (en) * 2020-07-30 2020-10-30 上海茂声智能科技有限公司 Pedestrian passing control system and method
CN111862416A (en) * 2020-08-12 2020-10-30 上海茂声智能科技有限公司 Pedestrian passing control system and method
CN111882737A (en) * 2020-06-22 2020-11-03 浙江大华技术股份有限公司 Access control detection method, device, system, computer equipment and storage medium
CN112752031A (en) * 2020-07-31 2021-05-04 腾讯科技(深圳)有限公司 Image acquisition detection method and device, electronic equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650379B (en) * 2020-12-29 2024-11-05 深圳市商汤科技有限公司 Activation method and device, electronic equipment and computer readable storage medium
CN112800402B (en) * 2021-02-26 2023-06-20 西安热工研究院有限公司 Automatic safety locking system and device for computer

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713780A (en) * 2017-01-16 2017-05-24 维沃移动通信有限公司 Control method for flash lamp and mobile terminal
WO2017161867A1 (en) * 2016-03-22 2017-09-28 中兴通讯股份有限公司 Screen brightness adjustment method and apparatus, and intelligent terminal
CN107220621A (en) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 Terminal carries out the method and device of recognition of face
CN107370955A (en) * 2017-08-21 2017-11-21 深圳市天视通电子科技有限公司 Can be automatically switched web camera, implementation method and the monitoring system of diurnal pattern
CN107483811A (en) * 2017-07-28 2017-12-15 广东欧珀移动通信有限公司 Imaging method and electronic installation
CN107967418A (en) * 2017-11-28 2018-04-27 维沃移动通信有限公司 Face identification method and mobile terminal
CN108830061A (en) * 2018-05-25 2018-11-16 努比亚技术有限公司 Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100795160B1 (en) * 2007-03-22 2008-01-16 주식회사 아트닉스 Apparatus for face detection and recognition and method for face detection and recognition
CN104376244A (en) * 2014-10-16 2015-02-25 上海嘉炽自动化系统工程有限公司 Control device and method for human-computer interface and electrical equipment
CN108012075B (en) * 2017-11-06 2020-06-05 信利光电股份有限公司 Integrated control method and system for monitoring equipment and lighting equipment
CN108280431B (en) * 2018-01-25 2021-04-30 Oppo广东移动通信有限公司 Face recognition processing method, face recognition processing device and intelligent terminal
CN208433032U (en) * 2018-06-20 2019-01-25 智慧工匠科技有限公司 A kind of access control system with face identification functions

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161867A1 (en) * 2016-03-22 2017-09-28 中兴通讯股份有限公司 Screen brightness adjustment method and apparatus, and intelligent terminal
CN106713780A (en) * 2017-01-16 2017-05-24 维沃移动通信有限公司 Control method for flash lamp and mobile terminal
CN107220621A (en) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 Terminal carries out the method and device of recognition of face
CN107483811A (en) * 2017-07-28 2017-12-15 广东欧珀移动通信有限公司 Imaging method and electronic installation
CN107370955A (en) * 2017-08-21 2017-11-21 深圳市天视通电子科技有限公司 Can be automatically switched web camera, implementation method and the monitoring system of diurnal pattern
CN107967418A (en) * 2017-11-28 2018-04-27 维沃移动通信有限公司 Face identification method and mobile terminal
CN108830061A (en) * 2018-05-25 2018-11-16 努比亚技术有限公司 Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287668A (en) * 2019-06-18 2019-09-27 Oppo广东移动通信有限公司 Unlocking method and Related product
CN110334496A (en) * 2019-06-27 2019-10-15 Oppo广东移动通信有限公司 A kind of solution lock control method, terminal and computer readable storage medium
CN111814561A (en) * 2020-06-11 2020-10-23 浙江大华技术股份有限公司 Face recognition method, face recognition equipment and access control system
CN111882737A (en) * 2020-06-22 2020-11-03 浙江大华技术股份有限公司 Access control detection method, device, system, computer equipment and storage medium
CN111862434A (en) * 2020-07-30 2020-10-30 上海茂声智能科技有限公司 Pedestrian passing control system and method
CN112752031A (en) * 2020-07-31 2021-05-04 腾讯科技(深圳)有限公司 Image acquisition detection method and device, electronic equipment and storage medium
CN112752031B (en) * 2020-07-31 2024-02-06 腾讯科技(深圳)有限公司 Image acquisition and detection method and device, electronic equipment and storage medium
CN111862416A (en) * 2020-08-12 2020-10-30 上海茂声智能科技有限公司 Pedestrian passing control system and method

Also Published As

Publication number Publication date
WO2020172991A1 (en) 2020-09-03
CN109857238B (en) 2024-09-24

Similar Documents

Publication Publication Date Title
CN109857238A (en) Terminal unlock method and terminal
US10650259B2 (en) Human face recognition method and recognition system based on lip movement information and voice information
US9652663B2 (en) Using facial data for device authentication or subject identification
CN110955912B (en) Privacy protection method, device, equipment and storage medium based on image recognition
CN105488371B (en) Face recognition method and device
JP6417676B2 (en) Information processing apparatus, information processing method, eyewear terminal, and authentication system
CN108090405A (en) A kind of face identification method and terminal
CN110620946B (en) Subtitle display method and device
CN102193962B (en) Matching device, digital image processing system, and matching device control method
CN106557678B (en) Intelligent terminal mode switching method and device
CN106127167B (en) Recognition methods, device and the mobile terminal of target object in a kind of augmented reality
EP2339536A2 (en) Image processing system, image processing apparatus, image processing method, and program
CN113177437A (en) Face recognition method and device
US11042725B2 (en) Method for selecting frames used in face processing
CN103617385A (en) Terminal and method for unlocking screen
US10846514B2 (en) Processing images from an electronic mirror
WO2022116604A1 (en) Image captured image processing method and electronic device
CN107665482B (en) Video data real-time processing method and device for realizing double exposure and computing equipment
EP2602737A2 (en) Display apparatus and control method thereof
CN108154465A (en) Image processing method and device
CN106126067B (en) A kind of method, device and mobile terminal that triggering augmented reality function is opened
CN109190453A (en) The method and apparatus for preventing iris information from revealing
CN106161970B (en) A kind of image pickup method, device and mobile terminal
CN110837901A (en) Cloud test drive appointment auditing method and device, storage medium and cloud server
CN109145878A (en) image extraction method and 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