WO2020172991A1 - 终端解锁方法及终端 - Google Patents

终端解锁方法及终端 Download PDF

Info

Publication number
WO2020172991A1
WO2020172991A1 PCT/CN2019/085336 CN2019085336W WO2020172991A1 WO 2020172991 A1 WO2020172991 A1 WO 2020172991A1 CN 2019085336 W CN2019085336 W CN 2019085336W WO 2020172991 A1 WO2020172991 A1 WO 2020172991A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
brightness
recognition mode
environment
visible light
Prior art date
Application number
PCT/CN2019/085336
Other languages
English (en)
French (fr)
Inventor
梁卉卉
郭辉奇
周晓峰
Original Assignee
深圳传音通讯有限公司
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
Priority claimed from CN201910155139.6A external-priority patent/CN109857238B/zh
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Publication of WO2020172991A1 publication Critical patent/WO2020172991A1/zh

Links

Images

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

Definitions

  • This application relates to the technical field of terminal unlocking, and specifically to a terminal unlocking method and a terminal to which the terminal unlocking method is applied.
  • the purpose of this application is to provide a terminal unlocking method and terminal, which can reduce the energy consumption of the terminal when performing face recognition, save power, and can effectively realize the face recognition of the user for fast and effective Unlocking the terminal improves the user experience.
  • the present application provides a terminal unlocking method.
  • the terminal unlocking method is applied to the terminal.
  • the terminal unlocking method includes: receiving environment brightness information sent by a brightness sensor. According to the environmental brightness information, it is determined whether the brightness of the environment where the terminal is located is lower than the preset brightness. When the brightness of the environment where the terminal is located is lower than the preset brightness, the face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the method further includes: when the brightness of the environment where the terminal is located is higher than or equal to the preset brightness, controlling the face recognition mode of the terminal to remain at Visible light recognition mode.
  • the step of controlling the face recognition mode of the terminal to remain in the visible light recognition mode includes: when the brightness of the environment where the terminal is located is greater than or equal to the preset brightness, Then obtain the image information corresponding to the user. Recognizing the image information is performed to obtain the first brightness of the position corresponding to the user's face in the image information. Determine whether the first brightness is higher than the first preset brightness. When the first brightness is higher than the first preset brightness, the face recognition mode of the control terminal is maintained in the visible light recognition mode.
  • the method further includes: when the first brightness is lower than or equal to the first preset brightness, controlling the face recognition mode of the terminal to automatically switch from the visible light recognition mode To infrared light recognition mode.
  • the step of controlling the face recognition mode of the terminal to remain in the visible light recognition mode includes: receiving user image information sent by the visible light camera. Recognize the user image information to obtain the recognition result. The recognition result is verified with the face model in the pre-stored face database. When the verification is passed, the control terminal is automatically unlocked.
  • the method further includes: generating prompt information when the verification fails. Display prompt information on the user interface of the terminal.
  • the step of controlling the face recognition mode of the terminal to automatically switch from the visible light recognition mode to the infrared light recognition mode includes: the brightness of the environment where the terminal is located is lower than the preset brightness When, an infrared start signal is generated.
  • the infrared camera in the terminal is activated according to the infrared activation signal, and the visible light camera in the terminal is turned off, so that the face recognition mode of the terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the step of controlling the face recognition mode of the terminal to automatically switch from the visible light recognition mode to the infrared light recognition mode it further includes: starting the infrared camera to control the infrared camera collection User image information. Recognize the user image information to obtain the recognition result. The recognition result is verified with the face model in the pre-stored face database. When the verification is passed, the control terminal is automatically unlocked.
  • the step of controlling the face recognition mode of the terminal to automatically switch from the visible light recognition mode to the infrared light recognition mode includes: For brightness, it is determined whether the user's facial image information is obtained. When the user's facial image information is acquired, the face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode. When the user's facial image information is not obtained, returning to the step of judging whether the user's facial image information is obtained when the brightness of the environment where the terminal is located is lower than the preset brightness.
  • the present application also provides a terminal, including: a memory for storing executable program code. And the processor is used to call the executable program code in the memory to realize the terminal unlocking method as described above.
  • the terminal unlocking method and terminal receive the environment brightness information sent by the brightness sensor, and determine whether the brightness of the environment where the terminal is located is lower than the preset brightness according to the environment brightness information, so that the brightness of the environment where the terminal is located is low.
  • the face recognition mode of the terminal is controlled to automatically switch from the visible light recognition mode to the infrared light recognition mode, which can reduce the power consumption of the terminal when performing face recognition, save power, and can effectively realize the user’s Face recognition can quickly and effectively unlock the terminal, which improves the user experience.
  • FIG. 1 is a schematic flowchart of a terminal unlocking method according to the first embodiment of this application
  • FIG. 2 is a schematic flowchart of a terminal unlocking method according to a second embodiment of this application.
  • FIG. 3 is a schematic flowchart of a terminal unlocking method according to a third embodiment of this application.
  • FIG. 4 is a schematic flowchart of a terminal unlocking method according to a fourth embodiment of this application.
  • FIG. 5 is a schematic flowchart of a terminal unlocking method according to a fifth embodiment of this application.
  • FIG. 6 is a schematic flowchart of a terminal unlocking method according to a sixth embodiment of this application.
  • FIG. 7 is a schematic flowchart of a terminal unlocking method according to a seventh embodiment of this application.
  • FIG. 8 is a schematic flowchart of a terminal unlocking method according to an eighth embodiment of this application.
  • FIG. 9 is a schematic flowchart of a terminal unlocking method according to a ninth embodiment of this application.
  • FIG. 10 is a structural block diagram of a terminal according to a tenth embodiment of this application.
  • FIG. 1 is a schematic flowchart of a terminal unlocking method according to the first embodiment of this application.
  • This embodiment is a terminal unlocking method executed by the terminal.
  • the terminal unlocking method of this embodiment may include the following steps:
  • Step S11 Receive environmental brightness information sent by the brightness sensor.
  • a brightness sensor is provided in the terminal, and the brightness sensor collects the ambient brightness around the terminal in real time to generate ambient brightness information according to the ambient brightness. Specifically, the brightness sensor transmits the environmental brightness information acquired in real time to the processor of the terminal.
  • Step S12 Determine whether the brightness of the environment where the terminal is located is lower than the preset brightness according to the environment brightness information.
  • the processor in the terminal processes the environmental brightness information to obtain the environmental brightness corresponding to the current environment. Specifically, the processor in the terminal determines whether the brightness of the environment where the terminal is located is lower than the preset brightness.
  • the preset brightness may, but is not limited to, a brightness value corresponding to the processor in the terminal that fails to recognize the user image collected by the visible light camera.
  • Step S13 The face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the visible light camera of the terminal collects
  • the terminal's processor controls the terminal's face recognition mode to automatically switch from the visible light recognition mode to the infrared light recognition mode, thereby enabling Realize face recognition more accurately and effectively to unlock the terminal and improve the user's unlocking experience.
  • FIG. 2 is a schematic flowchart of a terminal unlocking method according to a second embodiment of this application.
  • This embodiment is a terminal unlocking method executed by the terminal.
  • the terminal unlocking method of this embodiment may include the following steps:
  • Step S21 Receive environmental brightness information sent by the brightness sensor.
  • a brightness sensor is provided in the terminal, and the brightness sensor collects the ambient brightness around the terminal in real time to generate ambient brightness information according to the ambient brightness. Specifically, the brightness sensor transmits the environmental brightness information acquired in real time to the processor of the terminal.
  • Step S22 Determine whether the brightness of the environment where the terminal is located is lower than the preset brightness according to the environment brightness information.
  • the processor in the terminal processes the environmental brightness information to obtain the environmental brightness corresponding to the current environment. Specifically, the processor in the terminal determines whether the brightness of the environment where the terminal is located is lower than the preset brightness.
  • the preset brightness may, but is not limited to, a brightness value corresponding to the processor in the terminal that fails to recognize the user image collected by the visible light camera.
  • step S23 when the brightness of the environment where the terminal is located is lower than the preset brightness, step S23 is executed.
  • step S24 is executed.
  • Step S23 The face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the visible light camera of the terminal collects
  • the terminal's processor controls the terminal's face recognition mode to automatically switch from the visible light recognition mode to the infrared light recognition mode, thereby enabling Realize face recognition more accurately and effectively to unlock the terminal and improve the user's unlocking experience.
  • Step S24 The face recognition mode of the control terminal is maintained in the visible light recognition mode.
  • the processor in the terminal controls the face recognition mode of the terminal to remain in the visible light recognition mode, which can reduce the power consumption of the terminal when performing face recognition, save power, and can effectively achieve the user Face recognition to unlock the terminal quickly and effectively, which improves the user experience.
  • FIG. 3 is a schematic flowchart of a terminal unlocking method according to a third embodiment of this application.
  • the step of controlling the face recognition mode of the terminal to remain in the visible light recognition mode specifically includes The following steps:
  • Step S31 When the brightness of the environment where the terminal is located is higher than or equal to the preset brightness, obtain image information corresponding to the user.
  • the terminal controls the visible light camera to collect image information corresponding to the user.
  • the visible light camera sends the collected image information to the processor in the terminal.
  • Step S32 Recognizing the image information to obtain the first brightness of the position corresponding to the user's face in the image information.
  • the processor in the terminal uses image recognition technology to preprocess the image information to obtain the first brightness corresponding to the position of the user’s face in the image information, for example, the position of the user’s face in the image. Shading.
  • Step S33 Determine whether the first brightness is higher than the first preset brightness.
  • the processor in the terminal compares the first brightness with a preset first preset brightness to determine whether the first brightness is higher than the first preset brightness.
  • the first preset brightness may be, but is not limited to, a brightness value corresponding to the processor in the terminal that fails to recognize the user image collected by the visible light camera.
  • step S24 when the first brightness is higher than the first preset brightness, step S24 is executed.
  • step S25 is executed.
  • Step S34 The face recognition mode of the control terminal is maintained in the visible light recognition mode.
  • the processor in the terminal can clearly recognize the feature information of the user's face under the first brightness, and can effectively extract The corresponding feature information is processed to obtain the recognition result according to the extracted feature information.
  • the face recognition mode of the terminal is kept in the visible light recognition mode, which can reduce the energy consumption of the terminal when performing face recognition, save power, and It can effectively realize the face recognition of the user, so as to unlock the terminal quickly and effectively, which improves the user experience.
  • Step S35 The face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the face information in the image information corresponding to the user collected by the visible light camera is dark. Affects the recognition of image information by the processor in the terminal.
  • the processor in the terminal controls the face recognition mode of the terminal to automatically switch from the visible light recognition mode to the infrared light recognition mode, so as to achieve more accurate and effective face recognition , In order to realize the unlocking of the terminal and improve the user's unlocking experience.
  • FIG. 4 is a schematic flowchart of a terminal unlocking method according to a fourth embodiment of this application.
  • the terminal unlocking method provided in this embodiment when the brightness of the environment where the terminal is located is higher than or equal to the preset brightness, the face recognition mode of the control terminal is maintained in the visible light recognition mode. It includes the following steps:
  • Step S41 Receive user image information sent by the visible light camera.
  • the terminal controls the visible light camera to collect user image information in real time.
  • the visible light camera sends the collected user image information to the processor of the terminal.
  • Step S42 Recognizing the user image information to obtain a recognition result.
  • the processor in the terminal uses image recognition technology to recognize user image information, such as image preprocessing, image segmentation, facial recognition, etc., to obtain corresponding recognition. result.
  • Step S43 verify the recognition result with the face model in the pre-stored face database.
  • the processor in the terminal compares the recognition result with a face model in a pre-stored face database to verify whether the recognition result is consistent with the face model. Specifically, when the recognition result is consistent with the face model, the verification is passed, and when the recognition result is inconsistent with the face model, the verification is failed.
  • Step S44 When the verification is passed, the control terminal is automatically unlocked.
  • the processor in the terminal when the verification is passed, the processor in the terminal generates an unlocking signal to control the terminal to automatically unlock according to the unlocking signal, which improves the unlocking experience of the user.
  • FIG. 5 is a schematic flowchart of a terminal unlocking method according to a fifth embodiment of this application.
  • the terminal unlocking method provided in this embodiment includes the following steps after the step of verifying the recognition result with the face model in the pre-stored face database:
  • Step S51 When the verification fails, a prompt message is generated.
  • the processor in the terminal when the verification fails, the processor in the terminal generates prompt information.
  • the prompt information may be, but is not limited to, a terminal unlocking failure.
  • Step S52 Display prompt information on the user interface of the terminal.
  • the processor in the terminal sends the prompt information to the display screen of the terminal to display the prompt information on the user interface of the terminal display screen.
  • FIG. 6 is a schematic flowchart of a terminal unlocking method according to a sixth embodiment of this application.
  • the terminal unlocking method provided in this embodiment controls the terminal's face recognition mode to automatically switch from visible light recognition mode to infrared light recognition mode when the brightness of the environment where the terminal is located is lower than the preset brightness
  • the steps specifically include the following steps:
  • Step S61 When the brightness of the environment where the terminal is located is lower than the preset brightness, an infrared start signal is generated.
  • the visible light camera of the terminal collects When the image information of the terminal is not clear, causing the terminal's processor to fail to effectively recognize the image collected by the visible light camera, the terminal's processor generates an infrared activation signal and sends the infrared activation signal to the infrared camera to control the activation of the infrared camera.
  • Step S62 Start the infrared camera in the terminal according to the infrared start signal, and turn off the visible light camera in the terminal, so that the face recognition mode of the terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the processor in the terminal activates the infrared camera in the terminal according to the infrared activation signal, and turns off the visible light camera in the terminal at the same time as the infrared camera is activated, so as to save energy consumption in the identification process of the terminal, so that
  • the face recognition mode of the terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode, so that the infrared camera is activated when the terminal needs to switch to the infrared light recognition mode, so that the face recognition can be realized more accurately and effectively to realize the terminal
  • the unlocking improves the user’s unlocking experience.
  • FIG. 7 is a schematic flowchart of a terminal unlocking method according to a seventh embodiment of this application.
  • the terminal unlocking method provided in this embodiment controls the terminal's face recognition mode to automatically switch from visible light recognition mode to infrared light recognition mode when the brightness of the environment where the terminal is located is lower than the preset brightness
  • the following steps are included:
  • Step S71 Start the infrared camera to control the infrared camera to collect user image information.
  • the terminal controls the infrared camera to collect user image information after automatically starting the infrared camera.
  • the infrared camera sends the collected user image information to the processor in the terminal.
  • Step S72 Perform recognition processing on the user image information to obtain a recognition result.
  • the processor in the terminal uses image recognition technology to recognize user image information, such as image preprocessing, image segmentation, facial recognition, etc., to obtain corresponding recognition. result.
  • Step S73 Verify the recognition result with the face model in the pre-stored face database.
  • the processor in the terminal compares the recognition result with a face model in a pre-stored face database to verify whether the recognition result is consistent with the face model. Specifically, when the recognition result is consistent with the face model, the verification is passed, and when the recognition result is inconsistent with the face model, the verification is failed.
  • Step S74 When the verification is passed, the control terminal is automatically unlocked.
  • the processor in the terminal when the verification is passed, the processor in the terminal generates an unlocking signal to control the terminal to automatically unlock according to the unlocking signal, which improves the unlocking experience of the user.
  • FIG. 8 is a schematic flowchart of a terminal unlocking method according to an eighth embodiment of this application.
  • the terminal unlocking method provided in this embodiment includes the following steps after the step of verifying the recognition result with the face model stored in the face database:
  • Step S81 When the verification fails, a prompt message is generated.
  • the processor in the terminal when the verification fails, the processor in the terminal generates prompt information.
  • the prompt information may be, but is not limited to, a terminal unlocking failure.
  • Step S82 Display prompt information on the user interface of the terminal.
  • the processor in the terminal sends the prompt information to the display screen of the terminal to display the prompt information on the user interface of the terminal display screen.
  • FIG. 9 is a schematic flowchart of a terminal unlocking method according to a ninth embodiment of this application.
  • the terminal unlocking method provided in this embodiment controls the terminal's face recognition mode to automatically switch from visible light recognition mode to infrared light recognition mode when the brightness of the environment where the terminal is located is lower than the preset brightness
  • the steps specifically include the following steps:
  • Step S91 When the brightness of the environment where the terminal is located is lower than the preset brightness, it is determined whether the user's facial image information is obtained.
  • the visible light camera of the terminal collects When the image information of the terminal is not clear, causing the processor of the terminal to fail to effectively recognize the image collected by the visible light camera, the processor in the terminal also determines in real time whether the user's facial image information is obtained.
  • step S92 is executed.
  • step S92 is executed.
  • Step S92 The face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the visible light camera sends the collected image information to the processor of the terminal, and when the processor recognizes the user's facial contour, it generates an infrared start signal to According to the infrared start signal, the face recognition mode of the terminal is automatically switched from visible light recognition mode to infrared light recognition mode, so as to avoid starting the infrared camera when the terminal is placed in a dark environment such as a pocket, saving the terminal’s energy consumption, so that users can be acquired
  • the face recognition mode is switched when the face is contoured, so that face recognition can be realized more accurately and effectively, so as to unlock the terminal and improve the unlocking experience of the user.
  • FIG. 10 is a structural block diagram of a terminal according to a tenth embodiment of this application. As shown in FIG. 10, the terminal 100 provided in this embodiment is used to execute a terminal unlocking method, and the terminal 100 provided in this embodiment includes a memory 110 and a processor 120.
  • the memory 110 is used to store executable program codes.
  • the processor 120 is configured to call executable program codes in the memory to implement the terminal unlocking method.
  • the steps performed include: receiving environment brightness information sent by the brightness sensor; judging whether the brightness of the environment where the terminal is located is lower than the preset brightness according to the environment brightness information ; When the brightness of the environment where the terminal is located is lower than the preset brightness, the face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the step further executed includes: the brightness of the environment where the terminal is located is higher than or equal to the preset brightness.
  • the face recognition mode of the control terminal remains in the visible light recognition mode.
  • the processor 120 executes the step of controlling the face recognition mode of the terminal to remain in the visible light recognition mode when the brightness of the environment where the terminal is located is higher than or equal to the preset brightness.
  • the specific steps performed include: When the brightness of the environment where the terminal is located is higher than or equal to the preset brightness, the image information corresponding to the user is acquired; the image information is recognized to obtain the first brightness of the position corresponding to the user's face in the image information; whether the first brightness is determined Higher than the first preset brightness; when the first brightness is higher than the first preset brightness, the face recognition mode of the control terminal is maintained in the visible light recognition mode.
  • the step performed by the processor 120 after the step of determining whether the first brightness is higher than the first preset brightness includes: when the first brightness is lower than or equal to the first preset brightness, Then the face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode.
  • the processor 120 executes the step of controlling the face recognition mode of the terminal to remain in the visible light recognition mode when the brightness of the environment where the terminal is located is higher than or equal to the preset brightness. : Receive the user image information sent by the visible light camera; perform recognition processing on the user image information to obtain the recognition result; verify the recognition result with the face model in the pre-stored face database; when the verification is passed, the control terminal is automatically unlocked.
  • the step further executed includes: when the verification fails, generating a prompt message ; Display prompt information on the user interface of the terminal.
  • the processor 120 executes the step of controlling the face recognition mode of the terminal to automatically switch from the visible light recognition mode to the infrared light recognition mode when the brightness of the environment where the terminal is located is lower than the preset brightness.
  • the steps include: when the brightness of the environment where the terminal is located is lower than the preset brightness, an infrared start signal is generated; the infrared camera in the terminal is started according to the infrared start signal, and the visible light camera in the terminal is turned off to make the terminal face recognition mode Automatically switch from visible light recognition mode to infrared light recognition mode.
  • the processor 120 executes the step of controlling the face recognition mode of the terminal to automatically switch from the visible light recognition mode to the infrared light recognition mode when the brightness of the environment where the terminal is located is lower than the preset brightness.
  • the execution steps include: starting the infrared camera to control the infrared camera to collect user image information; recognizing the user image information to obtain the recognition result; verifying the recognition result with the face model in the pre-stored face database; When the time, the control terminal is automatically unlocked.
  • the step further executed includes: when the verification fails, generating a prompt message ; Display prompt information on the user interface of the terminal.
  • the terminal unlocking method and terminal receive the environment brightness information sent by the brightness sensor, and determine whether the brightness of the environment where the terminal is located is lower than the preset brightness according to the environment brightness information, so that the brightness of the environment where the terminal is located is low.
  • the face recognition mode of the control terminal is automatically switched from the visible light recognition mode to the infrared light recognition mode, and when the brightness of the environment where the terminal is located is higher than or equal to the preset brightness, the face recognition mode of the control terminal remains in the visible light recognition mode Mode, which can reduce the energy consumption of the terminal when performing face recognition, save power, and can effectively realize the face recognition of the user, so as to unlock the terminal quickly and effectively, and improve the user experience.
  • the embodiments of the present application also provide a computer-readable storage medium in which computer-executable instructions are stored.
  • the above-mentioned computer-readable storage medium is, for example, a non-volatile memory such as an optical disk, a hard disk, or a flash memory.
  • the foregoing computer-executable instructions are used to enable a computer or similar computing device to complete various operations in the foregoing terminal unlocking method.

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

一种终端解锁方法及终端(100),该终端解锁方法应用于终端(100),该终端解锁方法包括:接收亮度传感器发送的环境亮度信息(S11);根据该环境亮度信息判断该终端所在环境的亮度是否低于预设亮度(S12);在该终端所在环境的亮度低于该预设亮度时,则控制该终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式(S13)。该终端解锁方法及终端(100),能够降低终端(100)在进行人脸识别时的能耗,节约电能,并可以有效地实现对用户的人脸识别,以进行快速有效地的对终端(100)解锁,提升了用户的体验。

Description

终端解锁方法及终端 技术领域
本申请涉及终端解锁技术领域,具体涉及一种终端解锁方法,以及应用所述终端解锁方法的终端。
背景技术
随着人们对移动设备的私密性要求越来越高,使用应用锁来对私密信息进行保护等工具的用户也越来越多。
现有技术中所有的移动设备的应用锁都是使用繁琐的解锁方式,例如滑动解锁、指纹解锁及2D人脸识别等方式进行解锁移动设备。然而,滑动解锁不够快捷,指纹解锁在全面屏方案影响外观设计,且用户在湿手或者沾汗的情况下,滑动解锁与指纹解锁无法对移动设备解锁,降低用户体验。而2D人脸识别在环境光达不到亮度要求的时候,无法对人脸进行识别导致解锁失败,造成了糟糕的解锁体验。
针对上述问题,本领域技术人员一直在寻求解决办法。
发明内容
本申请的目的在于,提供了一种终端解锁方法及终端,能够降低终端在进行人脸识别时的能耗,节约电能,并可以有效地实现对用户的人脸识别,以进行快速有效地的对终端解锁,提升了用户的体验。
为解决上述技术问题,本申请提供一种终端解锁方法,终端解锁方法应用于终端,终端解锁方法包括:接收亮度传感器发送的环境亮度信息。根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度。在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度的 步骤之后还包括:在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式。
具体地,在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式的步骤包括:在终端所在环境的亮度高于或等于预设亮度时,则获取与用户对应的图像信息。对图像信息进行识别处理得到与图像信息中用户面部对应的位置的第一亮度。判断第一亮度是否高于第一预设亮度。在第一亮度高于第一预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式。
具体地,判断第一亮度是否高于第一预设亮度的步骤之后还包括:在第一亮度低于或等于第一预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式的步骤之后包括:接收可见光摄像头发送的用户图像信息。对用户图像信息进行识别处理得到识别结果。将识别结果与预先存储的人脸数据库中的人脸模型进行验证。在验证通过时,则控制终端自动解锁。
具体地,将识别结果与预先存储的人脸数据库中的人脸模型进行验证的步骤之后还包括:在验证不通过时,则生成提示信息。在终端的用户界面展示提示信息。
具体地,在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤包括:在终端所在环境的亮度低于预设亮度时,则生成红外启动信号。根据红外启动信号启动终端内的红外摄像头,且关闭终端内的可见光摄像头,以使终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤之后还包括:启动红外摄像头,以控制红外摄像头采集用户图像信息。对用户图像信息进行识别处理得到识别结果。将识别结果与预先存储的人脸数据库中的人脸模型进行验证。在验证通过时,则控制终端自动解锁。
具体地,述在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识 别模式从可见光识别模式自动切换至红外光识别模式的步骤包括:在终端所在环境的亮度低于预设亮度时,则判断是否获取到用户脸部图像信息。在获取到用户脸部图像信息时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。在未获取到用户脸部图像信息时,则返回在终端所在环境的亮度低于预设亮度时,则判断是否获取到用户脸部图像信息的步骤。
本申请还提供一种终端,包括:存储器,用于存储可执行程序代码。以及处理器,用于调用存储器中的可执行程序代码,以实现如上述的终端解锁方法。
具体地,本实施例提供的终端解锁方法及终端,通过接收亮度传感器发送的环境亮度信息,并根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度,以在终端所在环境的亮度低于预设亮度时控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式,从而能够降低终端在进行人脸识别时的能耗,节约电能,并可以有效地实现对用户的人脸识别,以进行快速有效地的对终端解锁,提升了用户的体验。
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。
附图说明
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请第一实施例的终端解锁方法的流程示意图;
图2为本申请第二实施例的终端解锁方法的流程示意图;
图3为本申请第三实施例的终端解锁方法的流程示意图;
图4为本申请第四实施例的终端解锁方法的流程示意图;
图5为本申请第五实施例的终端解锁方法的流程示意图;
图6为本申请第六实施例的终端解锁方法的流程示意图;
图7为本申请第七实施例的终端解锁方法的流程示意图;
图8为本申请第八实施例的终端解锁方法的流程示意图;
图9为本申请第九实施例的终端解锁方法的流程示意图;
图10为本申请第十实施例的终端的结构框图。
具体实施方式
为更进一步阐述本申请为达成预定申请目的所采取的技术手段及功效,以下结合附图及较佳实施例,对本申请详细说明如下。
通过具体实施方式的说明,当可对本申请为达成预定目的所采取的技术手段及效果得以更加深入且具体的了解,然而所附图式仅是提供参考与说明之用,并非用来对本申请加以限制。
图1为本申请第一实施例的终端解锁方法的流程示意图。本实施例为终端执行的终端解锁方法。如图1所示,本实施例的终端解锁方法可包括以下步骤:
步骤S11:接收亮度传感器发送的环境亮度信息。
具体地,在一实施例中,在终端内设有亮度传感器,亮度传感器实时采集终端周围的环境亮度,以根据环境亮度生成环境亮度信息。具体地,亮度传感器将实时获取到的环境亮度信息传输至终端的处理器中。
步骤S12:根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度。
具体地,在一实施例中,终端中的处理器在接收到亮度传感器发送的环境亮度信息后,对环境亮度信息进行处理得到与当前环境对应的环境亮度。具体地,终端中的处理器判断终端所在环境亮度是否低于预设亮度。
具体地,在一实施方式中,预设亮度可以但不限于为终端中的处理器对可见光摄像头采集到的用户图像未能识别所对应的亮度值。
步骤S13:控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在一实施例中,在终端所在环境的亮度低于预设亮度时,例如,终端处于黑暗的环境内,或者在光线较弱的环境中时,这时终端的可见光摄像头所采集到的图像信息不清晰,导致终端的处理器对可见光摄像头采集到的图像未能有效识别时,终端中的处理器控制终端的人脸识别模式从可见光识别模 式自动切换至红外光识别模式,从而能够更准确更有效地实现人脸识别,以实现对终端的解锁,提升了用户的解锁体验。
图2为本申请第二实施例的终端解锁方法的流程示意图。本实施例为终端执行的终端解锁方法。如图2所示,本实施例的终端解锁方法可包括以下步骤:
步骤S21:接收亮度传感器发送的环境亮度信息。
具体地,在一实施例中,在终端内设有亮度传感器,亮度传感器实时采集终端周围的环境亮度,以根据环境亮度生成环境亮度信息。具体地,亮度传感器将实时获取到的环境亮度信息传输至终端的处理器中。
步骤S22:根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度。
具体地,在一实施例中,终端中的处理器在接收到亮度传感器发送的环境亮度信息后,对环境亮度信息进行处理得到与当前环境对应的环境亮度。具体地,终端中的处理器判断终端所在环境亮度是否低于预设亮度。
具体地,在一实施方式中,预设亮度可以但不限于为终端中的处理器对可见光摄像头采集到的用户图像未能识别所对应的亮度值。
具体地,在终端所在环境的亮度低于预设亮度时,则执行步骤S23。在终端所在环境的亮度高于或等于预设亮度时,则执行步骤S24。
步骤S23:控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在一实施例中,在终端所在环境的亮度低于预设亮度时,例如,终端处于黑暗的环境内,或者在光线较弱的环境中时,这时终端的可见光摄像头所采集到的图像信息不清晰,导致终端的处理器对可见光摄像头采集到的图像未能有效识别时,终端中的处理器控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式,从而能够更准确更有效地实现人脸识别,以实现对终端的解锁,提升了用户的解锁体验。
步骤S24:控制终端的人脸识别模式保持在可见光识别模式。
具体地,在一实施例中,在终端所在环境的亮度高于或等于预设亮度时,例如,终端所处环境光亮,终端的可见光摄像头所采集到的图像信息清晰,终端中的处理器能够清晰识别到识别结果,这时终端中的处理器控制终端的人脸识别模式保持在可见光识别模式,从而能够降低终端在进行人脸识别时的能耗,节约电能,并可以有效地实现对用户的人脸识别,以进行快速有效地的对终端 解锁,提升了用户的体验。
请参考图3,图3为本申请第三实施例的终端解锁方法的流程示意图。如图2与图3所示,本实施例提供的终端解锁方法,在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式的步骤具体包括以下步骤:
步骤S31:在终端所在环境的亮度高于或等于预设亮度时,则获取与用户对应的图像信息。
具体地,在一实施例中,在终端所在环境的亮度高于或等于预设亮度时,终端所处环境光亮,终端控制可见光摄像头采集与用户对应的图像信息。具体地,可见光摄像头将采集到的图像信息发送至终端中的处理器中。
步骤S32:对图像信息进行识别处理得到与图像信息中用户面部对应的位置的第一亮度。
具体地,在一实施例中,终端中的处理器利用图像识别技术对图像信息进行预处理得到与图像信息中的用户面部所在位置的第一亮度,例如,用户在图像中的脸部位置的明暗度。
步骤S33:判断第一亮度是否高于第一预设亮度。
具体地,在一实施例中,终端中的处理器将第一亮度与预先设置的第一预设亮度进行比对,以判断第一亮度是否高于第一预设亮度。
具体地,在一实施方式中,第一预设亮度可以但不限于为终端中的处理器对可见光摄像头采集到的用户图像未能识别所对应的亮度值。
具体地,在第一亮度高于第一预设亮度时,则执行步骤S24。在第一亮度低于或等于第一预设亮度时,则执行步骤S25。
步骤S34:控制终端的人脸识别模式保持在可见光识别模式。
具体地,在一实施例中,在第一亮度高于第一预设亮度时,例如,在第一亮度下终端中的处理器能够清晰识别到用户脸部的特征信息,并能够有效地提取到对应的特征信息,以根据提取到的特征信息处理得到识别结果,这时终端的人脸识别模式保持在可见光识别模式,从而能够降低终端在进行人脸识别时的能耗,节约电能,并可以有效地实现对用户的人脸识别,以进行快速有效地的对终端解锁,提升了用户的体验。
步骤S35:控制终端的人脸识别模式从可见光识别模式自动切换至红外光 识别模式。
具体地,在一实施例中,在第一亮度低于或等于第一预设亮度时,例如,用户在背光情况下,可见光摄像头采集到的用户对应的图像信息中的脸部信息较暗,影响了终端中的处理器对图像信息的识别,这时终端中的处理器控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式,从而能够更准确更有效地实现人脸识别,以实现对终端的解锁,提升了用户的解锁体验。
请参考图4,图4为本申请第四实施例的终端解锁方法的流程示意图。如图2与图4所示,本实施例提供的终端解锁方法,在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式的步骤之后还包括以下步骤:
步骤S41:接收可见光摄像头发送的用户图像信息。
具体地,在一实施例中,终端控制可见光摄像头实时采集用户图像信息。具体地,可见光摄像头将采集到的用户图像信息发送至终端的处理器中。
步骤S42:对用户图像信息进行识别处理得到识别结果。
具体地,在一实施例中,终端中的处理器利用图像识别技术对用户图像信息进行识别处理,例如进行对用户图像信息进行图像预处理、图像分割、面部识别等等,以得到对应的识别结果。
步骤S43:将识别结果与预先存储的人脸数据库中的人脸模型进行验证。
具体地,在一实施例中,终端中的处理器将识别结果与预先存储的人脸数据库中的人脸模型进行比对,以验证识别结果与人脸模型是否一致。具体地,在识别结果与人脸模型一致时为验证通过,而在识别结果与人脸模型不一致时为验证不通过。
步骤S44:在验证通过时,则控制终端自动解锁。
具体地,在一实施例中,在验证通过时,终端中的处理器生成解锁信号,以根据解锁信号控制终端自动解锁,提升了用户的解锁体验。
请参考图5,图5为本申请第五实施例的终端解锁方法的流程示意图。如图4与图5所示,本实施例提供的终端解锁方法,将识别结果与预先存储的人脸数据库中的人脸模型进行验证的步骤之后还包括以下步骤:
步骤S51:在验证不通过时,则生成提示信息。
具体地,在一实施例中,在验证不通过时,终端中的处理器生成提示信息。 具体地,在一实施方式中,提示信息可以但不限于为终端解锁失败。
步骤S52:在终端的用户界面展示提示信息。
具体地,在一实施例中,终端中的处理器将提示信息发送至终端的显示屏,以在终端显示屏的用户界面展示提示信息。
请参考图6,图6为本申请第六实施例的终端解锁方法的流程示意图。如图1与图6所示,本实施例提供的终端解锁方法,在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤具体包括以下步骤:
步骤S61:在终端所在环境的亮度低于预设亮度时,则生成红外启动信号。
具体地,在一实施例中,在终端所在环境的亮度低于预设亮度时,例如,终端处于黑暗的环境内,或者在光线较弱的环境中时,这时终端的可见光摄像头所采集到的图像信息不清晰,导致终端的处理器对可见光摄像头采集到的图像未能有效识别时,终端中的处理器生成红外启动信号,并将红外启动信号发送至红外摄像头,以控制红外摄像头启动。
步骤S62:根据红外启动信号启动终端内的红外摄像头,且关闭终端内的可见光摄像头,以使终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在一实施例中,终端中的处理器根据红外启动信号启动终端内的红外摄像头,且在启动红外摄像头的同时关闭终端内的可见光摄像头,以节省终端的识别过程的能耗,使得终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式,以在终端需要切换至红外光识别模式时才启动红外摄像头,从而能够更准确更有效地实现人脸识别,以实现对终端的解锁,提升了用户的解锁体验。
请参考图7,图7为本申请第七实施例的终端解锁方法的流程示意图。如图1与图7所示,本实施例提供的终端解锁方法,在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤之后还包括以下步骤:
步骤S71:启动红外摄像头,以控制红外摄像头采集用户图像信息。
具体地,在一实施例中,终端在自动启动红外摄像头后,控制红外摄像头采集用户图像信息。具体地,红外摄像头将采集到的用户图像信息发送至终端 中的处理器。
步骤S72:对用户图像信息进行识别处理得到识别结果。
具体地,在一实施例中,终端中的处理器利用图像识别技术对用户图像信息进行识别处理,例如进行对用户图像信息进行图像预处理、图像分割、面部识别等等,以得到对应的识别结果。
步骤S73:将识别结果与预先存储的人脸数据库中的人脸模型进行验证。
具体地,在一实施例中,终端中的处理器将识别结果与预先存储的人脸数据库中的人脸模型进行比对,以验证识别结果与人脸模型是否一致。具体地,在识别结果与人脸模型一致时为验证通过,而在识别结果与人脸模型不一致时为验证不通过。
步骤S74:在验证通过时,则控制终端自动解锁。
具体地,在一实施例中,在验证通过时,终端中的处理器生成解锁信号,以根据解锁信号控制终端自动解锁,提升了用户的解锁体验。
请参考图8,图8为本申请第八实施例的终端解锁方法的流程示意图。如图7与图8所示,本实施例提供的终端解锁方法,将识别结果与预先存储的人脸数据库中的人脸模型进行验证的步骤之后还包括以下步骤:
步骤S81:在验证不通过时,则生成提示信息。
具体地,在一实施例中,在验证不通过时,终端中的处理器生成提示信息。具体地,在一实施方式中,提示信息可以但不限于为终端解锁失败。
步骤S82:在终端的用户界面展示提示信息。
具体地,在一实施例中,终端中的处理器将提示信息发送至终端的显示屏,以在终端显示屏的用户界面展示提示信息。
请参考图9,图9为本申请第九实施例的终端解锁方法的流程示意图。如图1与图9所示,本实施例提供的终端解锁方法,在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤具体包括以下步骤:
步骤S91:在终端所在环境的亮度低于预设亮度时,则判断是否获取到用户脸部图像信息。
具体地,在一实施例中,在终端所在环境的亮度低于预设亮度时,例如,终端处于黑暗的环境内,或者在光线较弱的环境中时,这时终端的可见光摄像 头所采集到的图像信息不清晰,导致终端的处理器对可见光摄像头采集到的图像未能有效识别时,终端中的处理器还实时判断是否获取到用户脸部图像信息。
具体地,在获取到用户脸部图像信息时,则执行步骤S92。在未获取到用户脸部图像信息时,则返回步骤S91。
步骤S92:控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在一实施例中,在获取到用户脸部图像信息时,例如,可见光摄像头将采集到的影像信息发送至终端的处理器,处理器识别到用户面部轮廓时生成红外启动信号,以根据红外启动信号控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式,以避免终端放置在口袋等黑暗环境下时启动红外摄像头,节省终端的能耗,从而能够在获取到用户脸部轮廓时进行人脸识别模式的切换,进而能够更准确更有效地实现人脸识别,以实现对终端的解锁,提升了用户的解锁体验。
图10为本申请第十实施例的终端的结构框图。如图10所示,本实施例提供的终端100用于执行终端解锁方法,本实施例提供的终端100包括存储器110与处理器120。
具体地,在本实施例中,存储器110用于存储可执行程序代码。处理器120用于调用存储器中的可执行程序代码,以实现终端解锁方法所执行的步骤包括:接收亮度传感器发送的环境亮度信息;根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度;在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在一实施例中,处理器120,执行根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度的步骤之后还执行的步骤包括:在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式。
具体地,在一实施例中,处理器120,执行在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式的步骤具体执行的步骤包括:在终端所在环境的亮度高于或等于预设亮度时,则获取与用户对应的图像信息;对图像信息进行识别处理得到与图像信息中用户面部对应的位置的第一亮度;判断第一亮度是否高于第一预设亮度;在第一亮度高于 第一预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式。
具体地,在一实施例中,处理器120,执行判断第一亮度是否高于第一预设亮度的步骤之后还执行的步骤包括:在第一亮度低于或等于第一预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在一实施例中,处理器120,执行在终端所在环境的亮度高于或等于预设亮度时,则控制终端的人脸识别模式保持在可见光识别模式的步骤之后还执行的步骤包括:接收可见光摄像头发送的用户图像信息;对用户图像信息进行识别处理得到识别结果;将识别结果与预先存储的人脸数据库中的人脸模型进行验证;在验证通过时,则控制终端自动解锁。
具体地,在一实施例中,处理器120,执行将识别结果与预先存储的人脸数据库中的人脸模型进行验证的步骤之后还执行的步骤包括:在验证不通过时,则生成提示信息;在终端的用户界面展示提示信息。
具体地,在一实施例中,处理器120,执行在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤具体执行的步骤包括:在终端所在环境的亮度低于预设亮度时,则生成红外启动信号;根据红外启动信号启动终端内的红外摄像头,且关闭终端内的可见光摄像头,以使终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
具体地,在一实施例中,处理器120,执行在终端所在环境的亮度低于预设亮度时,则控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤之后还执行的步骤包括:启动红外摄像头,以控制红外摄像头采集用户图像信息;对用户图像信息进行识别处理得到识别结果;将识别结果与预先存储的人脸数据库中的人脸模型进行验证;在验证通过时,则控制终端自动解锁。
具体地,在一实施例中,处理器120,执行将识别结果与预先存储的人脸数据库中的人脸模型进行验证的步骤之后还执行的步骤包括:在验证不通过时,则生成提示信息;在终端的用户界面展示提示信息。
本实施例对终端100的各功能单元实现各自功能的具体过程,请参见上述图1至图9所示实施例中描述的具体内容,在此不再赘述。
具体地,本实施例提供的终端解锁方法及终端,通过接收亮度传感器发送 的环境亮度信息,并根据环境亮度信息判断终端所在环境的亮度是否低于预设亮度,以在终端所在环境的亮度低于预设亮度时控制终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式,而在终端所在环境的亮度高于或等于预设亮度时控制终端的人脸识别模式保持在可见光识别模式,从而能够降低终端在进行人脸识别时的能耗,节约电能,并可以有效地实现对用户的人脸识别,以进行快速有效地的对终端解锁,提升了用户的体验。
此外,本申请实施例还提供一种计算机可读存储介质,其内存储有计算机可执行指令,上述的计算机可读存储介质例如为非易失性存储器例如光盘、硬盘、或者闪存。上述的计算机可执行指令用于让计算机或者类似的运算装置完成上述的终端解锁方法中的各种操作。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于终端类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。

Claims (10)

  1. 一种终端解锁方法,其特征在于,所述终端解锁方法应用于终端,所述终端解锁方法包括:
    接收亮度传感器发送的环境亮度信息;
    根据所述环境亮度信息判断所述终端所在环境的亮度是否低于预设亮度;
    在所述终端所在环境的亮度低于所述预设亮度时,则控制所述终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式。
  2. 如权利要求1所述的终端解锁方法,其特征在于,所述根据所述环境亮度信息判断所述终端所在环境的亮度是否低于预设亮度的步骤之后还包括:
    在所述终端所在环境的亮度高于或等于所述预设亮度时,则控制所述终端的所述人脸识别模式保持在所述可见光识别模式。
  3. 如权利要求2所述的终端解锁方法,其特征在于,所述在所述终端所在环境的亮度高于或等于所述预设亮度时,则控制所述终端的所述人脸识别模式保持在所述可见光识别模式的步骤包括:
    在所述终端所在环境的亮度高于或等于所述预设亮度时,则获取与用户对应的图像信息;
    对所述图像信息进行识别处理得到与所述图像信息中用户面部对应的位置的第一亮度;
    判断所述第一亮度是否高于第一预设亮度;
    在所述第一亮度高于所述第一预设亮度时,则控制所述终端的所述人脸识别模式保持在所述可见光识别模式。
  4. 如权利要求3所述的终端解锁方法,其特征在于,所述判断所述第一亮度是否高于第一预设亮度的步骤之后还包括:
    在所述第一亮度低于或等于所述第一预设亮度时,则控制所述终端的所述人脸识别模式从所述可见光识别模式自动切换至所述红外光识别模式。
  5. 如权利要求2所述的终端解锁方法,其特征在于,所述在所述终端所在环境的亮度高于或等于所述预设亮度时,则控制所述终端的所述人脸识别模式保持在所述可见光识别模式的步骤之后包括:
    接收可见光摄像头发送的用户图像信息;
    对所述用户图像信息进行识别处理得到识别结果;
    将所述识别结果与预先存储的人脸数据库中的人脸模型进行验证;
    在验证通过时,则控制所述终端自动解锁。
  6. 如权利要求5所述的终端解锁方法,其特征在于,所述将所述识别结果与预先存储的人脸数据库中的人脸模型进行验证的步骤之后还包括:
    在验证不通过时,则生成提示信息;
    在所述终端的用户界面展示所述提示信息。
  7. 如权利要求1所述的终端解锁方法,其特征在于,所述在所述终端所在环境的亮度低于所述预设亮度时,则控制所述终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤包括:
    在所述终端所在环境的亮度低于所述预设亮度时,则生成红外启动信号;
    根据所述红外启动信号启动所述终端内的红外摄像头,且关闭所述终端内的可见光摄像头,以使所述终端的人脸识别模式从所述可见光识别模式自动切换至所述红外光识别模式。
  8. 如权利要求1所述的终端解锁方法,其特征在于,所述在所述终端所在环境的亮度低于所述预设亮度时,则控制所述终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤之后还包括:
    启动红外摄像头,以控制所述红外摄像头采集用户图像信息;
    对所述用户图像信息进行识别处理得到识别结果;
    将所述识别结果与预先存储的人脸数据库中的人脸模型进行验证;
    在验证通过时,则控制所述终端自动解锁。
  9. 如权利要求1所述的终端解锁方法,其特征在于,所述在所述终端所在环境的亮度低于所述预设亮度时,则控制所述终端的人脸识别模式从可见光识别模式自动切换至红外光识别模式的步骤包括:
    在所述终端所在环境的亮度低于所述预设亮度时,则判断是否获取到用户脸部图像信息;
    在获取到所述用户脸部图像信息时,则控制所述终端的人脸识别模式从所述可见光识别模式自动切换至所述红外光识别模式;
    在未获取到所述用户脸部图像信息时,则返回在所述终端所在环境的亮度 低于所述预设亮度时,则判断是否获取到用户脸部图像信息的步骤。
  10. 一种终端,其特征在于,所述终端包括:
    存储器,用于存储可执行程序代码;以及
    处理器,用于调用所述存储器中的所述可执行程序代码,以实现如权利要求1至9中任一项所述的终端解锁方法。
PCT/CN2019/085336 2019-02-25 2019-04-30 终端解锁方法及终端 WO2020172991A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910155139.6A CN109857238B (zh) 2019-02-25 终端解锁方法及终端
CN201910155139.6 2019-02-25

Publications (1)

Publication Number Publication Date
WO2020172991A1 true WO2020172991A1 (zh) 2020-09-03

Family

ID=66899413

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085336 WO2020172991A1 (zh) 2019-02-25 2019-04-30 终端解锁方法及终端

Country Status (1)

Country Link
WO (1) WO2020172991A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650379A (zh) * 2020-12-29 2021-04-13 深圳市商汤科技有限公司 激活方法及装置、电子设备及计算机可读存储介质
CN112800402A (zh) * 2021-02-26 2021-05-14 西安热工研究院有限公司 一种计算机自动安全锁定系统及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080232651A1 (en) * 2007-03-22 2008-09-25 Artnix Inc. Apparatus and method for detecting face region
CN104376244A (zh) * 2014-10-16 2015-02-25 上海嘉炽自动化系统工程有限公司 人机界面的控制装置、方法及电气设备
CN107220621A (zh) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 终端进行人脸识别的方法及装置
CN108012075A (zh) * 2017-11-06 2018-05-08 信利光电股份有限公司 一种监控设备及照明设备的集成控制方法及系统
CN108280431A (zh) * 2018-01-25 2018-07-13 广东欧珀移动通信有限公司 人脸识别处理方法、人脸识别处理装置及智能终端
CN208433032U (zh) * 2018-06-20 2019-01-25 智慧工匠科技有限公司 一种具有人脸识别功能的门禁系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080232651A1 (en) * 2007-03-22 2008-09-25 Artnix Inc. Apparatus and method for detecting face region
CN104376244A (zh) * 2014-10-16 2015-02-25 上海嘉炽自动化系统工程有限公司 人机界面的控制装置、方法及电气设备
CN107220621A (zh) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 终端进行人脸识别的方法及装置
CN108012075A (zh) * 2017-11-06 2018-05-08 信利光电股份有限公司 一种监控设备及照明设备的集成控制方法及系统
CN108280431A (zh) * 2018-01-25 2018-07-13 广东欧珀移动通信有限公司 人脸识别处理方法、人脸识别处理装置及智能终端
CN208433032U (zh) * 2018-06-20 2019-01-25 智慧工匠科技有限公司 一种具有人脸识别功能的门禁系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650379A (zh) * 2020-12-29 2021-04-13 深圳市商汤科技有限公司 激活方法及装置、电子设备及计算机可读存储介质
CN112800402A (zh) * 2021-02-26 2021-05-14 西安热工研究院有限公司 一种计算机自动安全锁定系统及装置
CN112800402B (zh) * 2021-02-26 2023-06-20 西安热工研究院有限公司 一种计算机自动安全锁定系统及装置

Also Published As

Publication number Publication date
CN109857238A (zh) 2019-06-07

Similar Documents

Publication Publication Date Title
TWI416366B (zh) 生物特徵資料建立方法、電子裝置及電腦程式產品
WO2018166399A1 (zh) 一种显示控制方法及移动终端
WO2020164264A1 (zh) 人脸图像识别方法、装置及计算机设备
WO2016172872A1 (zh) 用于验证活体人脸的方法、设备和计算机程序产品
CN104077516A (zh) 一种生物认证方法及终端
US20170053149A1 (en) Method and apparatus for fingerprint identification
KR20180037919A (ko) 디스플레이 스크린 및 전자 기기에 기초한 지문 획득 제어 방법 및 장치
CN109032675A (zh) 终端设备的屏幕解锁方法、装置及终端设备
US20120320181A1 (en) Apparatus and method for security using authentication of face
TW201842467A (zh) 指紋識別控制方法及觸控面板、觸控顯示裝置
CN103617385A (zh) 实现屏幕解锁的终端及方法
US20140347161A1 (en) Authorizing system and method of portable electronic device
WO2020172991A1 (zh) 终端解锁方法及终端
TW202006630A (zh) 支付方法、裝置及系統
CN105426730A (zh) 登录验证处理方法、装置及终端设备
US20200275271A1 (en) Authentication of a user based on analyzing touch interactions with a device
WO2019129042A1 (zh) 一种双开应用的切换方法及相关设备
KR101576557B1 (ko) 모바일 단말기용 지문인식 해킹방지 장치 및 지문 해킹방지용 표면부재와 그 지문해킹 방지방법
CN109814964B (zh) 一种界面展示方法、终端设备及计算机可读存储介质
TW202018577A (zh) 基於資料融合的人員辨識方法
TWM574279U (zh) 生物辨識智慧電鎖系統
CN110647732B (zh) 一种基于生物识别特征的语音交互方法、系统、介质和设备
CN112989299A (zh) 一种交互式身份识别方法、系统、设备及介质
Beton et al. Biometric secret path for mobile user authentication: A preliminary study
CN112699811B (zh) 活体检测方法、装置、设备、储存介质及程序产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19917050

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19917050

Country of ref document: EP

Kind code of ref document: A1