[go: up one dir, main page]

CN107563168A - Unlocking method and device for mobile terminal and mobile terminal - Google Patents

Unlocking method and device for mobile terminal and mobile terminal Download PDF

Info

Publication number
CN107563168A
CN107563168A CN201710790867.5A CN201710790867A CN107563168A CN 107563168 A CN107563168 A CN 107563168A CN 201710790867 A CN201710790867 A CN 201710790867A CN 107563168 A CN107563168 A CN 107563168A
Authority
CN
China
Prior art keywords
mobile terminal
registered user
camera
facial image
screen
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.)
Pending
Application number
CN201710790867.5A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710790867.5A priority Critical patent/CN107563168A/en
Publication of CN107563168A publication Critical patent/CN107563168A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The application discloses a mobile terminal unlocking method and device and a mobile terminal. The method comprises the following steps: under the condition that the mobile terminal is in a screen locking state, if the motion state of the mobile terminal is detected to meet a first preset condition, starting a camera; acquiring a face image of a target user through a camera; detecting whether the face image of the target user is matched with the face image of the registered user; and if the face image of the target user is matched with the face image of the registered user, controlling the mobile terminal to be switched from the screen locking state to the unlocking state. According to the unlocking method and the unlocking device, unlocking is performed based on face recognition, and compared with the existing unlocking method, the unlocking method is more convenient and efficient.

Description

移动终端的解锁方法、装置及移动终端Unlocking method and device for mobile terminal and mobile terminal

技术领域technical field

本申请实施例涉及人机交互技术领域,特别涉及一种移动终端的解锁方法、装置及移动终端。The embodiments of the present application relate to the technical field of human-computer interaction, and in particular, to a method and device for unlocking a mobile terminal, and a mobile terminal.

背景技术Background technique

诸如手机、平板电脑之类的移动终端通常具有锁屏功能。当用户对移动终端进行操作时,需要先对该移动终端进行屏幕解锁,以达到对用户进行身份验证的目的。Mobile terminals such as mobile phones and tablet computers usually have a screen locking function. When the user operates the mobile terminal, it is necessary to unlock the screen of the mobile terminal first, so as to achieve the purpose of authenticating the user.

目前,常见的解锁方式包括两类,一类是密码解锁,另一类是指纹解锁。密码解锁的方式需要用户输入数字密码或者手势密码,用户输入正确的密码之后成功解锁。指纹解锁的方式需要用户手指按压某一特定区域以供移动终端采集指纹,待指纹匹配通过后成功解锁。At present, common unlocking methods include two types, one is password unlocking, and the other is fingerprint unlocking. The password unlocking method requires the user to enter a digital password or a gesture password, and the user successfully unlocks after entering the correct password. The fingerprint unlocking method requires the user's finger to press a specific area for the mobile terminal to collect fingerprints, and it will be successfully unlocked after the fingerprints are matched.

上述两种解锁方式各自都存在一些问题,密码解锁的方式较为复杂,需要用户手动输入密码,而指纹解锁的方式对用户手指的洁净程度、按压位置、按压力度等都提出了较高的要求,经常会出现指纹采集不成功的情况,需要用户多次重按指纹。因此,目前的解锁方式不够便捷,影响解锁的效率。There are some problems in the above two unlocking methods. The password unlocking method is more complicated and requires the user to manually enter the password, while the fingerprint unlocking method puts forward higher requirements on the cleanliness of the user's fingers, pressing position, and pressing force. It often happens that the fingerprint collection is unsuccessful, and the user needs to re-press the fingerprint many times. Therefore, the current unlocking method is not convenient enough, which affects the efficiency of unlocking.

发明内容Contents of the invention

本申请实施例提供了一种移动终端的解锁方法、装置及移动终端,可用于解决目前的解锁方式不够便捷、效率较低的问题。所述技术方案如下:Embodiments of the present application provide an unlocking method and device for a mobile terminal, and a mobile terminal, which can be used to solve the problems that the current unlocking methods are not convenient enough and have low efficiency. Described technical scheme is as follows:

第一方面,提供了一种移动终端的解锁方法,所述方法包括:In a first aspect, a method for unlocking a mobile terminal is provided, the method comprising:

在移动终端处于锁屏状态的情况下,若检测到所述移动终端的运动状态符合第一预设条件,则启动摄像头;When the mobile terminal is in a locked screen state, if it is detected that the motion state of the mobile terminal meets the first preset condition, then start the camera;

通过所述摄像头采集目标用户的人脸图像;Collecting the face image of the target user through the camera;

检测所述目标用户的人脸图像是否与注册用户的人脸图像相匹配;Detecting whether the face image of the target user matches the face image of the registered user;

若所述目标用户的人脸图像与所述注册用户的人脸图像相匹配,则控制所述移动终端由所述锁屏状态切换至解锁状态。If the face image of the target user matches the face image of the registered user, the mobile terminal is controlled to switch from the locked screen state to an unlocked state.

可选地,所述控制所述移动终端由所述锁屏状态切换至解锁状态之前,还包括:Optionally, before the controlling the mobile terminal to switch from the locked screen state to the unlocked state, further includes:

若所述目标用户的人脸图像与所述注册用户的人脸图像相匹配,则在解锁界面中显示解锁提示信息,所述解锁提示信息用于提示执行解锁操作;If the face image of the target user matches the face image of the registered user, an unlock prompt message is displayed on the unlock interface, and the unlock prompt message is used to prompt the execution of an unlock operation;

当获取到在所述解锁界面中输入的解锁操作信号,且所述解锁操作信号符合第二预设条件时,执行所述控制所述移动终端由所述锁屏状态切换至解锁状态的步骤。When the unlocking operation signal input in the unlocking interface is obtained and the unlocking operation signal meets a second preset condition, the step of controlling the mobile terminal to switch from the locked screen state to the unlocked state is executed.

可选地,所述在移动终端处于锁屏状态的情况下,若检测到所述移动终端的运动状态符合第一预设条件,则启动摄像头,包括:Optionally, when the mobile terminal is in a locked screen state, if it is detected that the motion state of the mobile terminal meets the first preset condition, then starting the camera includes:

在所述移动终端处于所述锁屏状态的情况下,获取陀螺仪采集的角速度数据;When the mobile terminal is in the locked screen state, acquiring angular velocity data collected by the gyroscope;

根据所述角速度数据确定所述移动终端的运动状态;determining the motion state of the mobile terminal according to the angular velocity data;

若所述移动终端的运动状态符合所述第一预设条件,则启动所述摄像头;其中,所述第一预设条件是指所述移动终端绕着轴转动的状态。If the motion state of the mobile terminal meets the first preset condition, start the camera; wherein the first preset condition refers to a state that the mobile terminal rotates around an axis.

可选地,所述检测所述目标用户的人脸图像是否与注册用户的人脸图像相匹配,包括:Optionally, the detecting whether the face image of the target user matches the face image of the registered user includes:

从所述目标用户的人脸图像中提取所述目标用户的人脸特征;extracting the face features of the target user from the face image of the target user;

计算所述目标用户的人脸特征与所述注册用户的人脸特征之间的相似度,所述注册用户的人脸特征是从所述注册用户的人脸图像中提取的;Calculating the similarity between the facial features of the target user and the facial features of the registered user, where the facial features of the registered user are extracted from the facial images of the registered user;

若所述相似度大于预设门限值,则确定所述目标用户的人脸图像与所述注册用户的人脸图像相匹配。If the similarity is greater than a preset threshold, it is determined that the face image of the target user matches the face image of the registered user.

可选地,所述检测所述目标用户的人脸图像是否与注册用户的人脸图像相匹配之前,还包括:Optionally, before the detecting whether the face image of the target user matches the face image of the registered user, it may further include:

通过所述摄像头采集所述注册用户的多张人脸图像,所述注册用户的多张人脸图像对应于所述注册用户的人脸的多个不同角度;collecting multiple facial images of the registered user through the camera, and the multiple facial images of the registered user correspond to multiple different angles of the registered user's face;

从所述注册用户的多张人脸图像中提取所述注册用户的人脸特征。The face features of the registered user are extracted from the multiple face images of the registered user.

可选地,所述摄像头为前置摄像头,所述启动摄像头之后,还包括:Optionally, the camera is a front camera, and after starting the camera, it also includes:

在屏幕中显示所述前置摄像头拍摄的图像。The image captured by the front camera is displayed on the screen.

可选地,所述检测所述目标用户的人脸图像是否与注册用户的人脸图像相匹配之后,还包括:Optionally, after detecting whether the face image of the target user matches the face image of the registered user, the method further includes:

若所述目标用户的人脸图像与所述注册用户的人脸图像不匹配,则获取检测结果为不匹配的连续次数;If the face image of the target user does not match the face image of the registered user, then obtain the number of consecutive times that the detection result is a mismatch;

当所述连续次数达到预设阈值时,显示密码输入界面;When the number of consecutive times reaches a preset threshold, a password input interface is displayed;

获取在所述密码输入界面中输入的解锁密码;Obtain the unlocking password input in the password input interface;

若所述解锁密码正确,则控制所述移动终端由所述锁屏状态切换至所述解锁状态;If the unlocking password is correct, then controlling the mobile terminal to switch from the locked screen state to the unlocked state;

若所述解锁密码不正确,则保存所述摄像头采集的目标图像,并锁定所述移动终端;其中,所述目标图像为所述目标用户的人脸图像,或者,所述目标图像为在确定所述解锁密码不正确之后通过所述摄像头采集的屏幕前方的图像。If the unlock password is incorrect, then save the target image collected by the camera, and lock the mobile terminal; wherein, the target image is the face image of the target user, or the target image is determined at The image in front of the screen captured by the camera after the unlock password is incorrect.

第二方面,提供了一种移动终端的解锁装置,所述装置包括:In a second aspect, an unlocking device for a mobile terminal is provided, the device comprising:

运动检测模块,用于在移动终端处于锁屏状态的情况下,若检测到所述移动终端的运动状态符合第一预设条件,则启动摄像头;The motion detection module is configured to start the camera if it is detected that the motion state of the mobile terminal meets the first preset condition when the mobile terminal is in a locked screen state;

人脸采集模块,用于通过所述摄像头采集目标用户的人脸图像;A face collection module, configured to collect a face image of a target user through the camera;

人脸匹配模块,用于检测所述目标用户的人脸图像是否与注册用户的人脸图像相匹配;The face matching module is used to detect whether the face image of the target user matches the face image of the registered user;

解锁模块,用于当所述目标用户的人脸图像与所述注册用户的人脸图像相匹配时,控制所述移动终端由所述锁屏状态切换至解锁状态。An unlocking module, configured to control the mobile terminal to switch from the locked screen state to an unlocked state when the face image of the target user matches the face image of the registered user.

可选地,所述装置还包括:Optionally, the device also includes:

第一显示模块,用于当所述目标用户的人脸图像与所述注册用户的人脸图像相匹配时,在解锁界面中显示解锁提示信息,所述解锁提示信息用于提示执行解锁操作;A first display module, configured to display unlocking prompt information on an unlocking interface when the face image of the target user matches the face image of the registered user, and the unlocking prompt information is used to prompt the execution of an unlocking operation;

所述解锁模块,还用于当获取到在所述解锁界面中输入的解锁操作信号,且所述解锁操作信号符合第二预设条件时,控制所述移动终端由所述锁屏状态切换至所述解锁状态。The unlocking module is further configured to control the mobile terminal to switch from the locked screen state to The unlocked state.

可选地,所述运动检测模块,用于:Optionally, the motion detection module is used for:

在所述移动终端处于所述锁屏状态的情况下,获取陀螺仪采集的角速度数据;When the mobile terminal is in the locked screen state, acquiring angular velocity data collected by the gyroscope;

根据所述角速度数据确定所述移动终端的运动状态;determining the motion state of the mobile terminal according to the angular velocity data;

当所述移动终端的运动状态符合所述第一预设条件时,启动所述摄像头;其中,所述第一预设条件是指所述移动终端绕着轴转动的状态。When the motion state of the mobile terminal meets the first preset condition, start the camera; wherein the first preset condition refers to a state that the mobile terminal rotates around an axis.

可选地,所述人脸匹配模块,用于:Optionally, the face matching module is used for:

从所述目标用户的人脸图像中提取所述目标用户的人脸特征;extracting the face features of the target user from the face image of the target user;

计算所述目标用户的人脸特征与所述注册用户的人脸特征之间的相似度,所述注册用户的人脸特征是从所述注册用户的人脸图像中提取的;Calculating the similarity between the facial features of the target user and the facial features of the registered user, where the facial features of the registered user are extracted from the facial images of the registered user;

当所述相似度大于预设门限值时,确定所述目标用户的人脸图像与所述注册用户的人脸图像相匹配。When the similarity is greater than a preset threshold value, it is determined that the face image of the target user matches the face image of the registered user.

可选地,所述人脸采集模块,还用于通过所述摄像头采集所述注册用户的多张人脸图像,所述注册用户的多张人脸图像对应于所述注册用户的人脸的多个不同角度;Optionally, the face collection module is further configured to collect multiple face images of the registered user through the camera, and the multiple face images of the registered user correspond to the faces of the registered user. many different angles;

所述人脸匹配模块,还用于从所述注册用户的多张人脸图像中提取所述注册用户的人脸特征。The face matching module is further configured to extract the face features of the registered user from multiple face images of the registered user.

可选地,所述摄像头为前置摄像头,所述装置还包括:Optionally, the camera is a front camera, and the device also includes:

第二显示模块,用于在屏幕中显示所述前置摄像头拍摄的图像。The second display module is used to display the image captured by the front camera on the screen.

可选地,所述装置还包括:Optionally, the device also includes:

次数获取模块,用于当所述目标用户的人脸图像与所述注册用户的人脸图像不匹配时,获取检测结果为不匹配的连续次数;The number of times acquisition module is used to obtain the consecutive times that the detection result is a mismatch when the face image of the target user does not match the face image of the registered user;

第三显示模块,用于当所述连续次数达到预设次数时,显示密码输入界面;The third display module is used to display a password input interface when the number of consecutive times reaches a preset number of times;

密码获取模块,获取在所述密码输入界面中输入的解锁密码;A password acquisition module, which acquires the unlock password input in the password input interface;

安全保护模块,用于当所述解锁密码不正确时,保存所述摄像头采集的目标图像,并锁定所述移动终端;其中,所述目标图像为所述目标用户的人脸图像,或者,所述目标图像为在确定所述解锁密码不正确之后通过所述摄像头采集的屏幕前方的图像;A security protection module, configured to save the target image collected by the camera and lock the mobile terminal when the unlock password is incorrect; wherein the target image is a face image of the target user, or the The target image is an image in front of the screen collected by the camera after determining that the unlock password is incorrect;

所述解锁模块,还用于当所述解锁密码正确时,控制所述移动终端由所述锁屏状态切换至所述解锁状态。The unlocking module is further configured to control the mobile terminal to switch from the locked screen state to the unlocked state when the unlock password is correct.

第三方面,提供了一种移动终端,其特征在于,所述移动终端包括处理器和存储器,所述存储器存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如第一方面所述的移动终端的解锁方法。In a third aspect, a mobile terminal is provided, wherein the mobile terminal includes a processor and a memory, the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the following: The unlocking method of the mobile terminal described in the first aspect.

第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如第一方面所述的移动终端的解锁方法。In a fourth aspect, a computer-readable storage medium is provided, at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is loaded and executed by a processor to implement the mobile terminal as described in the first aspect unlock method.

本申请实施例提供的技术方案可以带来如下有益效果:The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:

本申请实施例提供了一种基于人脸识别进行解锁的方式。相较于密码解锁的方式,用户无需手动输入密码,简化操作。相较于指纹解锁的方式,降低了对用户的操作要求,用户仅需将人脸对着移动终端的摄像头即可。因此,本申请实施例提供的解锁方式,相较于目前的解锁方式更为便捷,有助于提高解锁的效率。The embodiment of the present application provides an unlocking method based on face recognition. Compared with the password unlocking method, the user does not need to manually enter the password, which simplifies the operation. Compared with the fingerprint unlocking method, the operation requirements for the user are reduced, and the user only needs to face the camera of the mobile terminal. Therefore, the unlocking method provided by the embodiment of the present application is more convenient than the current unlocking method, and helps to improve the efficiency of unlocking.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是根据一示例性实施例示出的一种移动终端的解锁方法的流程图;Fig. 1 is a flow chart showing a method for unlocking a mobile terminal according to an exemplary embodiment;

图2示例性示出了的一种移动终端点亮屏幕过程的示意图;FIG. 2 exemplarily shows a schematic diagram of a process of turning on the screen of a mobile terminal;

图3示例性示出了一种移动终端显示解锁界面的示意图;FIG. 3 exemplarily shows a schematic diagram of a mobile terminal displaying an unlocking interface;

图4是根据另一示例性实施例示出的一种移动终端的解锁方法的流程图;Fig. 4 is a flowchart of a method for unlocking a mobile terminal according to another exemplary embodiment;

图5是根据一示例性实施例示出的一种移动终端的解锁装置的框图;Fig. 5 is a block diagram of an unlocking device for a mobile terminal according to an exemplary embodiment;

图6是根据一示例性实施例示出的一种移动终端的结构示意图;Fig. 6 is a schematic structural diagram of a mobile terminal according to an exemplary embodiment;

图7A和图7B是根据另一示例性实施例示出的一种移动终端的结构示意图;7A and 7B are schematic structural diagrams of a mobile terminal according to another exemplary embodiment;

图8A至图8F是根据一示例性实施例示出的终端触摸显示屏的结构示意图。8A to 8F are schematic structural diagrams of a terminal touch screen according to an exemplary embodiment.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

在本申请实施例中,提供了一种基于人脸识别进行解锁的方式。相较于密码解锁的方式,用户无需手动输入密码,简化操作。相较于指纹解锁的方式,降低了对用户的操作要求,用户仅需将人脸对着移动终端的摄像头即可。因此,本申请实施例提供的解锁方式,相较于目前的解锁方式更为便捷,有助于提高解锁的效率。In the embodiment of the present application, a manner of unlocking based on face recognition is provided. Compared with the password unlocking method, the user does not need to manually enter the password, which simplifies the operation. Compared with the fingerprint unlocking method, the operation requirements for the user are reduced, and the user only needs to face the camera of the mobile terminal. Therefore, the unlocking method provided by the embodiment of the present application is more convenient than the current unlocking method, and helps to improve the efficiency of unlocking.

本申请实施例提供的方法,各步骤的执行主体为移动终端,上述移动终端可以是手机、平板电脑、电子书阅读器、多媒体播放设备、可穿戴设备等便携式电子设备。移动终端具备摄像头和触摸显示屏。In the method provided in the embodiment of the present application, each step is executed by a mobile terminal, which may be a portable electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, or a wearable device. The mobile terminal has a camera and a touch screen.

摄像头用于采集用户的人脸图像。触摸显示屏用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏通常设置在终端的前面板。触摸显示屏可被设计成为全面屏、曲面屏或异型屏,也可以设置为其它形式的屏幕,此次不做限定。触摸显示屏还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。有关全面屏、曲面屏、异型屏的介绍说明可参见下文。The camera is used to collect the face image of the user. The touch display screen is used to receive a user's touch operation on or near it using any suitable object such as a finger or a touch pen, and to display user interfaces of various application programs. The touch screen is usually set on the front panel of the terminal. The touch display screen can be designed as a full screen, a curved screen or a special-shaped screen, and can also be set as a screen in other forms, which is not limited this time. The touch display screen can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment. For the introduction of full screen, curved screen and special-shaped screen, please refer to the following.

图1是根据一示例性实施例示出的一种移动终端的解锁方法的流程图。该方法可以包括如下几个步骤:Fig. 1 is a flowchart showing a method for unlocking a mobile terminal according to an exemplary embodiment. The method may include the following steps:

步骤101,在移动终端处于锁屏状态的情况下,若检测到移动终端的运动状态符合第一预设条件,则启动摄像头。Step 101, when the mobile terminal is in a screen-locked state, if it is detected that the motion state of the mobile terminal meets a first preset condition, start the camera.

当移动终端处于锁屏状态下时,移动终端的屏幕处于锁屏状态,用户无法使用移动终端,若要使用移动终端,则必须解锁移动终端即将移动终端由锁屏状态切换至解锁状态。移动终端处于锁屏状态下时,会检测自身的运动状态是否符合第一预设条件。可选地,第一预设条件是指移动终端绕着轴转动的状态。当用户拿起移动终端准备解锁使用时,移动终端会有绕着轴转动的运动状态,其中,上述移动终端所绕着的轴可以是移动终端所在平面内的任一轴。当移动终端检测到自身的运动状态符合第一预设条件时,表明移动终端被拿起,则启动摄像头。When the mobile terminal is in the locked screen state, the screen of the mobile terminal is in the locked screen state, and the user cannot use the mobile terminal. If the mobile terminal is to be used, the mobile terminal must be unlocked, which is to switch the mobile terminal from the locked screen state to the unlocked state. When the mobile terminal is in a screen-locked state, it will detect whether its own motion state meets the first preset condition. Optionally, the first preset condition refers to a state that the mobile terminal rotates around an axis. When the user picks up the mobile terminal and prepares to unlock it for use, the mobile terminal will be in a motion state of rotating around an axis, wherein the axis around which the mobile terminal revolves can be any axis in the plane where the mobile terminal is located. When the mobile terminal detects that its own motion state meets the first preset condition, it indicates that the mobile terminal is picked up, and then starts the camera.

在一种可能的实施方式中,上述步骤101包括如下几个子步骤:In a possible implementation manner, the above-mentioned step 101 includes the following several sub-steps:

1、在移动终端处于锁屏状态的情况下,获取陀螺仪采集的角速度数据;1. Obtain the angular velocity data collected by the gyroscope when the mobile terminal is in the lock screen state;

陀螺仪用于采集移动终端的角速度数据。陀螺仪是用于采集物体角速度的传感器,在本申请实施例中移动终端的陀螺仪为低功耗陀螺仪,因为移动终端处于锁屏状态时始终在采集角速度数据,所以采用低功耗陀螺仪能够节约电量消耗。The gyroscope is used to collect the angular velocity data of the mobile terminal. The gyroscope is a sensor used to collect the angular velocity of an object. In the embodiment of the present application, the gyroscope of the mobile terminal is a low-power gyroscope. Because the mobile terminal is always collecting angular velocity data when the screen is locked, the low-power gyroscope can be used. Save power consumption.

2、根据角速度数据确定移动终端的运动状态;2. Determine the motion state of the mobile terminal according to the angular velocity data;

移动终端根据陀螺仪采集到的角速度数据,能够确定其自身的运动状态。移动终端记录着角速度数据与运动状态之间的对应关系,通过该对应关系以及陀螺仪采集到的角速度数据,就能够确定移动终端的运动状态。The mobile terminal can determine its own motion state according to the angular velocity data collected by the gyroscope. The mobile terminal records the correspondence between the angular velocity data and the motion state, and through the correspondence and the angular velocity data collected by the gyroscope, the motion state of the mobile terminal can be determined.

3、若移动终端的运动状态符合第一预设条件,则启动摄像头。3. If the motion state of the mobile terminal meets the first preset condition, start the camera.

通过上述方式,能够在确认移动终端被用户拿起使用的情况下,再启动摄像头,能够避免误启动摄像头的情况发生。Through the above method, the camera can be restarted when it is confirmed that the mobile terminal is picked up by the user for use, and the situation of mistakenly starting the camera can be avoided.

可选地,当检测到移动终端的运动状态符合第一预设条件时,移动终端点亮屏幕,显示解锁界面。若移动终端的运动状态符合第一预设条件,启动摄像头的同时点亮移动终端的屏幕。示例性地,请参考图2,移动终端201处于锁屏状态,当用户拿起移动终端201时,移动终端201根据获取的角速度数据,确定自身的运动状态为绕着自身所在平面内的某一轴转动的运动状态,则移动终端点亮屏幕显示解锁界面202,并启动摄像头。通过在启动摄像头的同时点亮屏幕,能够使得摄像头在光线不足的环境中,利用屏幕光源来采集更为清晰的人脸图像。Optionally, when it is detected that the motion state of the mobile terminal meets the first preset condition, the mobile terminal lights up the screen and displays the unlock interface. If the motion state of the mobile terminal meets the first preset condition, the screen of the mobile terminal is turned on while the camera is started. For example, please refer to FIG. 2 , the mobile terminal 201 is in a locked screen state. When the user picks up the mobile terminal 201, the mobile terminal 201 determines that its own motion state is to revolve around a certain point in the plane where it is located according to the acquired angular velocity data. If the axis is rotating, the mobile terminal lights up the screen to display the unlock interface 202, and starts the camera. By turning on the screen while starting the camera, the camera can use the screen light source to collect clearer face images in an environment with insufficient light.

可选地,上述摄像头为前置摄像头。该前置摄像头可以是安置在移动终端屏幕上方的前面板上的摄像头,也可以是具备全面屏的移动终端中集成在屏幕中的摄像头。Optionally, the aforementioned camera is a front camera. The front camera may be a camera arranged on the front panel above the screen of the mobile terminal, or may be a camera integrated in the screen of a mobile terminal with a full screen.

步骤102,通过摄像头采集目标用户的人脸图像。Step 102, collect the face image of the target user through the camera.

移动终端在启动摄像头之后,通过摄像头采集目标用户的人脸图像,目标用户是指当前使用移动终端进行解锁的用户。可选地,在前置摄像头采集图像的过程中,移动终端在屏幕中显示前置摄像头拍摄的图像。例如,移动终端在通过前置摄像头采集目标用户的人脸图像时,已经点亮屏幕,则在解锁界面中显示前置摄像头拍摄的图像。After starting the camera, the mobile terminal collects the face image of the target user through the camera, and the target user refers to the user currently using the mobile terminal to unlock. Optionally, during the process of collecting images by the front camera, the mobile terminal displays the images captured by the front camera on the screen. For example, when the screen of the mobile terminal is already turned on when the face image of the target user is collected by the front camera, the image captured by the front camera is displayed on the unlock interface.

可选地,若移动终端在启动摄像头之后的预设时长内未采集到目标用户的人脸图像,则关闭摄像头,停止采集,避免移动终端电量的浪费,其中,预设时长可以是预先设定的经验值,例如预设时长为8秒。Optionally, if the mobile terminal does not collect the face image of the target user within the preset time period after starting the camera, then turn off the camera and stop the collection to avoid waste of power in the mobile terminal, wherein the preset time length can be a preset experience value, for example, the default duration is 8 seconds.

步骤103,检测目标用户的人脸图像是否与注册用户的人脸图像相匹配。Step 103, detecting whether the face image of the target user matches the face image of the registered user.

移动终端在获取到目标用户的人脸图像后,检测目标用户的人脸图像是否与注册用户的人脸图像相匹配,通过人脸匹配的方式,对目标用户进行身份验证,检测该目标用户是否是拥有解锁移动终端的权限的注册用户之一,以确定能否解锁移动终端,其中,注册用户的人脸图像已经事先通过移动终端的摄像头采集并记录过。需要一提的是,移动终端可能有多个注册用户,只要目标用户的人脸图像与多个注册用户的人脸图像中的任意一个相匹配,则认为目标用户的人脸图像与注册用户的人脸图像相匹配。After the mobile terminal obtains the face image of the target user, it detects whether the face image of the target user matches the face image of the registered user, performs identity verification on the target user through face matching, and detects whether the target user is It is one of the registered users who have the authority to unlock the mobile terminal to determine whether the mobile terminal can be unlocked, wherein the face image of the registered user has been collected and recorded by the camera of the mobile terminal in advance. It should be mentioned that the mobile terminal may have multiple registered users, as long as the face image of the target user matches any one of the face images of the multiple registered users, it is considered that the face image of the target user matches that of the registered user. Face images are matched.

在一种可能的实施方式中,上述步骤103包括如下几个子步骤:In a possible implementation manner, the above-mentioned step 103 includes the following several sub-steps:

1、从目标用户的人脸图像中提取目标用户的人脸特征;1. Extract the face features of the target user from the face image of the target user;

移动终端获取目标用户的人脸图像中的特征点,根据上述特征点获取目标用户的人脸特征。其中,特征点是指人脸中诸如眼角、眼球中心、鼻尖、嘴角之类的特征点。人脸特征包括眼球中心到鼻尖的距离、两侧嘴角之间的距离、眼角宽度等等。The mobile terminal obtains feature points in the face image of the target user, and obtains face features of the target user according to the above feature points. Among them, the feature points refer to feature points in the human face such as the corners of the eyes, the center of the eyeballs, the tip of the nose, and the corners of the mouth. Facial features include the distance from the center of the eyeball to the tip of the nose, the distance between the corners of the mouth on both sides, the width of the corners of the eyes, and so on.

2、计算目标用户的人脸特征与注册用户的人脸特征之间的相似度,注册用户的人脸特征是从注册用户的人脸图像中提取的;2. Calculate the similarity between the face features of the target user and the face features of the registered user. The face features of the registered user are extracted from the face image of the registered user;

移动终端在获取目标用户的人脸图像中的特征点之后,从注册用户的人脸图像中获取上述特征点,并根据上述特征点在注册用户的人脸图像中的位置,获取注册用户的人脸特征。例如,移动终端从目标用户的人脸图像中获取30个特征点,而后从注册用户的人脸图像中获取该30个特征点,并根据该30个特征点在注册用户的人脸图像中的位置,获取注册用户的人脸特征。之后,移动终端计算目标用户的人脸特征与注册用户的人脸特征之间的相似度。示例性地,可以运用特征脸(Eigen face)算法、局部特征分析算法等算法计算上述相似度,本申请实施例对此不作限定。After acquiring the feature points in the face image of the target user, the mobile terminal acquires the feature points from the face image of the registered user, and obtains the face image of the registered user according to the position of the feature points in the face image of the registered user. facial features. For example, the mobile terminal obtains 30 feature points from the target user's face image, and then obtains the 30 feature points from the registered user's face image, and according to the 30 feature points in the registered user's face image Location, to obtain the facial features of the registered user. Afterwards, the mobile terminal calculates the similarity between the face features of the target user and the face features of the registered user. Exemplarily, algorithms such as an eigen face (Eigen face) algorithm and a local feature analysis algorithm may be used to calculate the similarity, which is not limited in this embodiment of the present application.

3、若相似度大于预设门限值,则确定目标用户的人脸图像与注册用户的人脸图像相匹配。3. If the similarity is greater than the preset threshold value, it is determined that the face image of the target user matches the face image of the registered user.

若相似度大于预设门限值,则确定目标用户的人脸图像与注册用户的人脸图像相匹配;若相似度不大于预设门限值,则确定目标用户的人脸图像与注册用户的人脸图像不匹配,即目标用户不是注册用户之一。其中,预设门限值根据实际经验设定,例如可以设定为70%,当相似度大于70%时,确定目标用户的人脸图像与注册用户的人脸图像相匹配。If the similarity is greater than the preset threshold value, then determine that the face image of the target user matches the face image of the registered user; if the similarity is not greater than the preset threshold value, then determine that the face image of the target user matches the registered user The face image of the target user does not match, that is, the target user is not one of the registered users. Wherein, the preset threshold value is set according to actual experience, for example, it can be set to 70%, and when the similarity is greater than 70%, it is determined that the face image of the target user matches the face image of the registered user.

在一种可能的实施方式中,采用如下方式获取注册用户的人脸图像:通过摄像头采集注册用户的多张人脸图像,注册用户的多张人脸图像对应于注册用户的人脸的多个不同角度;从注册用户的多张人脸图像中提取注册用户的人脸特征。在注册阶段,通过从注册用户的人脸的多个不同角度(如人脸的正前方、正右方、正左方、斜上方、斜下方、右前方和左前方6个不同角度)采集注册用户的多张人脸图像,从而确保能够提取到注册用户较为完整的人脸特征。这样,在后续的解锁过程中,从目标用户的人脸的任意一个角度采集目标用户的人脸图像,即可完成人脸匹配,降低解锁过程中对人脸角度和姿态的要求,有助于提升解锁效率。In a possible implementation manner, the face image of the registered user is acquired in the following manner: multiple face images of the registered user are collected by a camera, and the multiple face images of the registered user correspond to multiple face images of the registered user. Different angles; extract the facial features of the registered user from multiple face images of the registered user. In the registration phase, the registration is collected from multiple different angles of the registered user's face (such as six different angles: front, right, left, obliquely above, obliquely below, right front, and left front) Multiple face images of the user, so as to ensure that more complete facial features of the registered user can be extracted. In this way, in the subsequent unlocking process, the face image of the target user can be collected from any angle of the target user's face to complete face matching, which reduces the requirements for face angle and posture in the unlocking process, and helps Improve unlocking efficiency.

步骤104,若目标用户的人脸图像与注册用户的人脸图像相匹配,则控制移动终端由锁屏状态切换至解锁状态。Step 104, if the face image of the target user matches the face image of the registered user, control the mobile terminal to switch from the locked screen state to the unlocked state.

若目标用户的人脸图像与注册用户的人脸图像相匹配,则确定目标用户为注册用户之一,即已经对目标用户的身份进行了验证,确定其为能够解锁移动终端的注册用户之一,此时,控制移动终端由锁屏状态切换至解锁状态,移动终端解锁成功。If the face image of the target user matches the face image of the registered user, it is determined that the target user is one of the registered users, that is, the identity of the target user has been verified, and it is determined that it is one of the registered users who can unlock the mobile terminal , at this time, the mobile terminal is controlled to switch from the locked screen state to the unlocked state, and the mobile terminal is successfully unlocked.

可选地,上述步骤104之前还包括如下步骤:Optionally, before the above step 104, the following steps are also included:

1、若目标用户的人脸图像与注册用户的人脸图像相匹配,则在解锁界面中显示解锁提示信息。1. If the face image of the target user matches the face image of the registered user, an unlock prompt message will be displayed on the unlock interface.

在确定目标用户的人脸图像与注册用户的人脸图像相匹配后,移动终端并不直接解锁,而是在解锁界面中显示解锁提示信息,该解锁提示信息用于提示执行解锁操作。After it is determined that the target user's face image matches the registered user's face image, the mobile terminal is not directly unlocked, but an unlocking prompt message is displayed on the unlocking interface, and the unlocking prompt message is used to prompt to perform an unlocking operation.

示例性地,请参考图3,移动终端201采集目标用户的人脸图像,并检测目标用户的人脸图像与注册用户的人脸图像相匹配后,在解锁界面202中显示的解锁提示信息包括箭头203与文字204,其中文字204的内容为滑动以解锁,从而提示目标用户通过按照箭头203所指示的方向执行向上滑动操作以完成解锁。For example, please refer to FIG. 3 , the mobile terminal 201 collects the face image of the target user, and after detecting that the face image of the target user matches the face image of the registered user, the unlock prompt information displayed on the unlock interface 202 includes The arrow 203 and the text 204, wherein the content of the text 204 is to slide to unlock, thereby prompting the target user to perform an upward sliding operation in the direction indicated by the arrow 203 to complete the unlocking.

2、当获取到在解锁界面中输入的解锁操作信号,且解锁操作信号符合第二预设条件时,控制移动终端由锁屏状态切换至解锁状态。2. When the unlocking operation signal input in the unlocking interface is obtained, and the unlocking operation signal meets the second preset condition, control the mobile terminal to switch from the locked screen state to the unlocked state.

当用户根据解锁提示信息执行相应的解锁操作时,移动终端获取解锁操作信号,若解锁操作信号符合第二预设条件,则移动终端由锁屏状态切换至解锁状态;若解锁操作信号不符合第二预设条件,则移动终端继续保持锁屏状态。上述解锁操作是指对于用户来说能够在移动终端上执行的简单易行的操作,例如点击移动终端的屏幕、在移动终端的屏幕上滑动,其中,第二预设条件设定为使得能够解锁移动终端的解锁操作简单易行的条件,例如第二预设条件为解锁操作信号是沿指定方向的滑动操作信号,又例如第二预设条件为解锁操作信号是作用于屏幕某一指定区域的点击操作信号等。When the user performs the corresponding unlocking operation according to the unlocking prompt information, the mobile terminal obtains the unlocking operation signal, and if the unlocking operation signal meets the second preset condition, the mobile terminal switches from the locked screen state to the unlocked state; if the unlocking operation signal does not meet the second preset condition Two preset conditions, the mobile terminal continues to maintain the lock screen state. The above-mentioned unlocking operation refers to a simple and easy operation that can be performed on the mobile terminal for the user, such as clicking on the screen of the mobile terminal, sliding on the screen of the mobile terminal, wherein the second preset condition is set to enable unlocking The condition that the unlocking operation of the mobile terminal is simple and feasible, for example, the second preset condition is that the unlocking operation signal is a sliding operation signal along a specified direction, and another example is that the second preset condition is that the unlocking operation signal acts on a specified area of the screen Click action signal etc.

可选地,若目标用户的人脸图像与注册用户的人脸图像不匹配,则人脸匹配失败,移动终端不在解锁界面中显示解锁提示信息,而是再次采集目标用户的人脸图像进行人脸匹配。可选地,若目标用户的人脸图像与注册用户的人脸图像不匹配,则移动终端获取检测结果为不匹配的连续次数,当该连续次数达到预设阈值时,显示密码输入界面;当该连续次数未达到预设阈值时,再次从上述步骤102开始执行。其中,预设阈值根据实际经验设定例如设定为3次。移动终端获取目标用户在密码输入界面中输入的解锁密码,并检测该解锁密码是否正确。注册用户能够预先设定解锁密码。移动终端检测目标用户输入的解锁密码与注册用户预先设定的解锁密码是否一致;若是,则目标用户输入的解锁密码正确;若否,则目标用户输入的解锁密码不正确。若解锁密码正确,则控制移动终端由锁屏状态切换至解锁状态;若解锁密码不正确,则保存摄像头采集的目标图像,并锁定移动终端,其中,目标图像为目标用户的人脸图像,或者,目标图像为在确定解锁密码不正确之后通过摄像头采集的屏幕前方的图像。通过上述方式,能够在人脸匹配失败的情况下,给用户提供其它解锁移动终端的方式,且在提供的进行身份验证的方法都失败的情况下,通过锁定移动终端,确保用户的移动终端内的数据安全。Optionally, if the face image of the target user does not match the face image of the registered user, the face matching fails, and the mobile terminal does not display the unlock prompt information in the unlock interface, but collects the face image of the target user again for verification. The face matches. Optionally, if the face image of the target user does not match the face image of the registered user, the mobile terminal obtains the number of consecutive times that the detection result does not match, and when the number of consecutive times reaches a preset threshold, the password input interface is displayed; When the number of consecutive times does not reach the preset threshold, the execution starts from the above step 102 again. Wherein, the preset threshold is set according to actual experience, for example, set to 3 times. The mobile terminal obtains the unlocking password input by the target user in the password input interface, and detects whether the unlocking password is correct. Registered users can pre-set the unlock password. The mobile terminal detects whether the unlocking password input by the target user is consistent with the unlocking password preset by the registered user; if so, the unlocking password input by the target user is correct; if not, the unlocking password input by the target user is incorrect. If the unlocking password is correct, then control the mobile terminal to switch from the locked screen state to the unlocking state; if the unlocking password is incorrect, then save the target image collected by the camera and lock the mobile terminal, wherein the target image is the face image of the target user, or , the target image is the image in front of the screen captured by the camera after the unlock password is determined to be incorrect. Through the above method, when the face matching fails, the user can be provided with other ways to unlock the mobile terminal, and in the case that the provided methods for identity verification fail, by locking the mobile terminal, it is possible to ensure that the user's mobile terminal is unlocked. data security.

可选地,在通过摄像头采集目标用户的人脸图像或检测目标用户的人脸图像是否与注册用户的人脸图像相匹配的过程中,移动终端显示的解锁界面中包括密码输入控件,当获取到对应于解锁界面中的密码输入控件的触发信号时,显示密码输入界面,提供输入解锁密码进行身份验证的方式解锁移动终端。移动终端获取在密码输入界面中输入的解锁密码;若解锁密码正确,则移动终端由锁屏状态切换至解锁状态;若解锁密码不正确,则保存通过摄像头采集的屏幕前方的图像,并锁定移动终端。Optionally, during the process of collecting the face image of the target user through the camera or detecting whether the face image of the target user matches the face image of the registered user, the unlocking interface displayed by the mobile terminal includes a password input control. When a trigger signal corresponding to the password input control in the unlocking interface is received, the password input interface is displayed, and the mobile terminal is unlocked by inputting the unlocking password for authentication. The mobile terminal obtains the unlock password entered in the password input interface; if the unlock password is correct, the mobile terminal switches from the locked screen state to the unlocked state; if the unlock password is incorrect, saves the image in front of the screen captured by the camera, and locks the mobile terminal terminal.

综上所述,在本申请实施例中,提供了一种基于人脸识别进行解锁的方式。相较于密码解锁的方式,用户无需手动输入密码,简化操作。相较于指纹解锁的方式,降低了对用户的操作要求,用户仅需将人脸对着移动终端的摄像头即可。因此,本申请实施例提供的解锁方式,相较于目前的解锁方式更为便捷,有助于提高解锁的效率。To sum up, in the embodiment of the present application, an unlocking method based on face recognition is provided. Compared with the password unlocking method, the user does not need to manually enter the password, which simplifies the operation. Compared with the fingerprint unlocking method, the operation requirements for the user are reduced, and the user only needs to face the camera of the mobile terminal. Therefore, the unlocking method provided by the embodiment of the present application is more convenient than the current unlocking method, and helps to improve the efficiency of unlocking.

另外,在本申请实施例中,在人脸匹配通过之后,并不直接解锁,而是在接收到用户触发的解锁操作信号时解锁,能够避免误解锁的情况发生。In addition, in the embodiment of the present application, after the face matching is passed, it is not directly unlocked, but unlocked when an unlock operation signal triggered by the user is received, which can avoid the occurrence of accidental unlocking.

图4是根据另一示例性实施例示出的一种移动终端的解锁方法的流程图。该方法可以包括如下几个步骤:Fig. 4 is a flowchart showing a method for unlocking a mobile terminal according to another exemplary embodiment. The method may include the following steps:

步骤401,在移动终端处于锁屏状态的情况下,若检测到移动终端的运动状态符合第一预设条件,则启动摄像头。Step 401, when the mobile terminal is in a screen-locked state, if it is detected that the motion state of the mobile terminal meets the first preset condition, start the camera.

步骤402,通过摄像头采集目标用户的人脸图像。Step 402, collecting the face image of the target user through the camera.

步骤403,检测目标用户的人脸图像是否与注册用户的人脸图像相匹配。Step 403, detecting whether the face image of the target user matches the face image of the registered user.

步骤404,若目标用户的人脸图像与注册用户的人脸图像相匹配,则点亮屏幕,显示解锁界面,并在解锁界面中显示解锁提示信息。Step 404, if the face image of the target user matches the face image of the registered user, turn on the screen, display an unlock interface, and display unlock prompt information on the unlock interface.

步骤405,当获取到在解锁界面中输入的解锁操作信号,且解锁操作信号符合第二预设条件时,控制移动终端由锁屏状态切换至解锁状态。Step 405, when the unlocking operation signal input in the unlocking interface is acquired, and the unlocking operation signal meets the second preset condition, control the mobile terminal to switch from the locked screen state to the unlocked state.

与图1实施例所不同的是,在本实施例中,移动终端在检测到自身被拿起使用时,仅启动摄像头采集目标用户的人脸图像,在采集目标用户的人脸图像的过程中并不点亮屏幕,待人脸匹配通过后再点亮屏幕,有助于节省移动终端的电量。The difference from the embodiment in FIG. 1 is that in this embodiment, when the mobile terminal detects that it is picked up for use, it only starts the camera to collect the face image of the target user. During the process of collecting the face image of the target user The screen is not turned on, and the screen is turned on after the face matching is passed, which helps to save the power of the mobile terminal.

可选地,移动终端设置有亮度传感器,该亮度传感器用于采集环境光亮度。移动终端在处于锁屏状态且检测到自身的运动状态符合第一预设条件时,若当前采集的环境光亮度小于预设亮度,则移动终端点亮屏幕并启动摄像头,借助于屏幕提供给摄像头充足的光线,确保摄像头能够采集清晰可用的人脸图像。另外,若当前采集的环境光亮度大于预设亮度,则移动终端仅启动摄像头但不点亮屏幕,待后续人脸匹配通过后再点亮屏幕,以节省移动终端的电量。上述预设亮度可以是预先设定的经验值,以确保摄像头能够采集到清晰可用的人脸图像为准。Optionally, the mobile terminal is provided with a brightness sensor, and the brightness sensor is used to collect ambient light brightness. When the mobile terminal is in the locked screen state and detects that its own motion state meets the first preset condition, if the currently collected ambient light brightness is less than the preset brightness, the mobile terminal lights up the screen and starts the camera, and provides the camera with the help of the screen. Sufficient light ensures that the camera can capture clear and usable facial images. In addition, if the brightness of the currently collected ambient light is greater than the preset brightness, the mobile terminal only starts the camera but does not turn on the screen, and turns on the screen after the subsequent face matching is passed, so as to save the power of the mobile terminal. The aforementioned preset brightness may be a preset empirical value, which shall prevail to ensure that the camera can capture a clear and usable face image.

下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

图5是根据一示例性实施例示出的一种移动终端的解锁装置的框图。该装置具有实现上述方法示例的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:运动检测模块510、人脸采集模块520、人脸匹配模块530和解锁模块540。Fig. 5 is a block diagram showing an unlocking device for a mobile terminal according to an exemplary embodiment. The device has the function of realizing the above-mentioned method example, and the function may be realized by hardware, or may be realized by executing corresponding software by the hardware. The device may include: a motion detection module 510 , a face collection module 520 , a face matching module 530 and an unlocking module 540 .

运动检测模块510,用于在移动终端处于锁屏状态的情况下,若检测到所述移动终端的运动状态符合第一预设条件,则启动摄像头。The motion detection module 510 is configured to activate the camera if it is detected that the motion state of the mobile terminal meets the first preset condition when the mobile terminal is in a screen-locked state.

人脸采集模块520,用于通过所述摄像头采集目标用户的人脸图像。The face collection module 520 is configured to collect the face image of the target user through the camera.

人脸匹配模块530,用于检测所述目标用户的人脸图像是否与注册用户的人脸图像相匹配。The face matching module 530 is configured to detect whether the face image of the target user matches the face image of the registered user.

解锁模块540,用于当所述目标用户的人脸图像与所述注册用户的人脸图像相匹配时,控制所述移动终端由所述锁屏状态切换至解锁状态。An unlocking module 540, configured to control the mobile terminal to switch from the locked screen state to an unlocked state when the face image of the target user matches the face image of the registered user.

综上所述,在本申请实施例中,提供了一种基于人脸识别进行解锁的方式。相较于密码解锁的方式,用户无需手动输入密码,简化操作。相较于指纹解锁的方式,降低了对用户的操作要求,用户仅需将人脸对着移动终端的摄像头即可。因此,本申请实施例提供的解锁方式,相较于目前的解锁方式更为便捷,有助于提高解锁的效率。To sum up, in the embodiment of the present application, an unlocking method based on face recognition is provided. Compared with the password unlocking method, the user does not need to manually enter the password, which simplifies the operation. Compared with the fingerprint unlocking method, the operation requirements for the user are reduced, and the user only needs to face the camera of the mobile terminal. Therefore, the unlocking method provided by the embodiment of the present application is more convenient than the current unlocking method, and helps to improve the efficiency of unlocking.

在基于图5实施例提供的一个可选实施例中,所述装置还包括:第一显示模块(图中未示出)。In an optional embodiment provided based on the embodiment in FIG. 5 , the device further includes: a first display module (not shown in the figure).

第一显示模块,用于当所述目标用户的人脸图像与所述注册用户的人脸图像相匹配时,在解锁界面中显示解锁提示信息,所述解锁提示信息用于提示执行解锁操作。The first display module is configured to display unlocking prompt information on an unlocking interface when the face image of the target user matches the face image of the registered user, and the unlocking prompt information is used to prompt to perform an unlocking operation.

所述解锁模块540,还用于当获取到在所述解锁界面中输入的解锁操作信号,且所述解锁操作信号符合第二预设条件时,控制所述移动终端由所述锁屏状态切换至所述解锁状态。The unlocking module 540 is further configured to control the mobile terminal to switch from the locked screen state when the unlocking operation signal input in the unlocking interface is acquired and the unlocking operation signal meets a second preset condition to the unlocked state.

在基于图5实施例提供的另一个可选实施例中,所述运动检测模块510,用于:在所述移动终端处于所述锁屏状态的情况下,获取陀螺仪采集的角速度数据;根据所述角速度数据确定所述移动终端的运动状态;当所述移动终端的运动状态符合所述第一预设条件时,启动所述摄像头;其中,所述第一预设条件是指所述移动终端绕着轴转动的状态。In another optional embodiment provided based on the embodiment in FIG. 5 , the motion detection module 510 is configured to: acquire the angular velocity data collected by the gyroscope when the mobile terminal is in the lock screen state; The angular velocity data determines the motion state of the mobile terminal; when the motion state of the mobile terminal meets the first preset condition, start the camera; wherein the first preset condition refers to the movement The state in which the terminal rotates about an axis.

在基于图5实施例提供的另一个可选实施例中,所述人脸匹配模块530,用于:从所述目标用户的人脸图像中提取所述目标用户的人脸特征;计算所述目标用户的人脸特征与所述注册用户的人脸特征之间的相似度,所述注册用户的人脸特征是从所述注册用户的人脸图像中提取的;当所述相似度大于预设门限值时,确定所述目标用户的人脸图像与所述注册用户的人脸图像相匹配。In another optional embodiment provided based on the embodiment in FIG. 5 , the face matching module 530 is configured to: extract the face features of the target user from the face image of the target user; calculate the The similarity between the facial features of the target user and the facial features of the registered user, the facial features of the registered user are extracted from the facial image of the registered user; when the similarity is greater than the preset When a threshold is set, it is determined that the face image of the target user matches the face image of the registered user.

在基于图5实施例提供的另一个可选实施例中,所述人脸采集模块520,还用于通过所述摄像头采集所述注册用户的多张人脸图像,所述注册用户的多张人脸图像对应于所述注册用户的人脸的多个不同角度;所述人脸匹配模块530,还用于从所述注册用户的多张人脸图像中提取所述注册用户的人脸特征。In another optional embodiment provided based on the embodiment in FIG. 5 , the face collection module 520 is also configured to collect multiple face images of the registered user through the camera, and the multiple face images of the registered user The face image corresponds to multiple different angles of the face of the registered user; the face matching module 530 is also used to extract the face features of the registered user from the multiple face images of the registered user .

在基于图5实施例提供的另一个可选实施例中,所述摄像头为前置摄像头,所述装置还包括:第二显示模块。所述第二显示模块,用于在屏幕中显示所述前置摄像头拍摄的图像。In another optional embodiment provided based on the embodiment in FIG. 5 , the camera is a front camera, and the device further includes: a second display module. The second display module is used to display the image captured by the front camera on the screen.

在基于图5实施例提供的另一个可选实施例中,所述装置还包括:次数获取模块、第三显示模块、密码获取模块和安全保护模块(图中未示出)。In another optional embodiment provided based on the embodiment in FIG. 5 , the device further includes: a count acquisition module, a third display module, a password acquisition module, and a security protection module (not shown in the figure).

次数获取模块,用于当所述目标用户的人脸图像与所述注册用户的人脸图像不匹配时,获取检测结果为不匹配的连续次数。The number of times acquisition module is used to acquire the continuous number of times that the detection result is a mismatch when the face image of the target user does not match the face image of the registered user.

第三显示模块,用于当所述连续次数达到预设阈值时,显示密码输入界面。The third display module is configured to display a password input interface when the number of consecutive times reaches a preset threshold.

密码获取模块,获取在所述密码输入界面中输入的解锁密码。A password obtaining module, configured to obtain the unlocking password input in the password input interface.

安全保护模块,用于当所述解锁密码不正确时,保存所述摄像头采集的目标图像,并锁定所述移动终端,其中,所述目标图像为所述目标用户的人脸图像,或者,所述目标图像为在确定所述解锁密码不正确之后通过所述摄像头采集的屏幕前方的图像。A security protection module, configured to save the target image collected by the camera and lock the mobile terminal when the unlock password is incorrect, wherein the target image is the face image of the target user, or the The target image is an image in front of the screen captured by the camera after it is determined that the unlock password is incorrect.

所述解锁模块540,还用于当所述解锁密码正确时,控制所述移动终端由所述锁屏状态切换至所述解锁状态。The unlocking module 540 is further configured to control the mobile terminal to switch from the locked screen state to the unlocked state when the unlock password is correct.

需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the device provided by the above embodiment realizes its functions, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and the method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

参考图6所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是手机、平板电脑、可穿戴设备等便携式电子设备。本申请实施例中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。Referring to FIG. 6 , it shows a structural block diagram of a terminal 100 provided by an exemplary embodiment of the present application. The terminal 100 may be a portable electronic device such as a mobile phone, a tablet computer, or a wearable device. The terminal 100 in this embodiment of the present application may include one or more of the following components: a processor 110 , a memory 120 and a touch display 130 .

处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100's of various functions and processing data. Optionally, the processor 110 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch screen 130 ; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but implemented by a single chip.

存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。The memory 120 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data created according to the use of the terminal 100 (such as audio data, phonebook) and the like.

以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图7A所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有Android运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the operating system as an Android system as an example, the programs and data stored in the memory 120 are as shown in Figure 7A, the memory 120 is stored with a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260 and an application layer 280 . The Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and so on. The system runtime layer 240 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support. The Android runtime library (Android Runtime) is also provided in the system runtime library layer 240, which mainly provides some core libraries and can allow developers to use the Java language to write Android applications. The application framework layer 260 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, location management. There is at least one application program running in the application layer 280, and these application programs can be contact programs, SMS programs, clock programs, camera applications, etc. Communication programs, photo beautification programs, etc.

以操作系统为IOS系统为例,存储器120中存储的程序和数据如图7B所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the program and data stored in the memory 120 are as shown in Figure 7B, the IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core Services layer), a media layer 360 (Media layer), touchable layer 380 (Cocoa Touch Layer). The core operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 340 . The core service layer 340 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertisement framework, data storage framework, network connection framework, geographic location framework, exercise framework and so on. The media layer 360 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces of audio and video transmission technologies. The touchable layer 380 provides various commonly used interface-related frameworks for application development, and the touchable layer 380 is responsible for the user's touch interaction operation on the terminal 100 . Such as local notification service, remote push service, advertisement framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.

在图7B所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。Among the frameworks shown in FIG. 7B , frameworks related to most applications include, but are not limited to: the basic framework in the core service layer 340 and the UIKit framework in the touchable layer 380 . The basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI. The class provided by the UIKit framework is a basic UI class library for creating a touch-based user interface. iOS applications can provide UI based on the UIKit framework, so it provides the infrastructure of the application for building user interfaces, drawing , Handle and user interaction events, respond to gestures, and more.

触摸显示屏130用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏130通常设置在终端130的前面板。触摸显示屏130可被设计成为全面屏、曲面屏或异型屏。触摸显示屏130还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。其中:The touch display screen 130 is used to receive a user's touch operation on or near it using any suitable object such as a finger or a touch pen, and to display user interfaces of various application programs. The touch display screen 130 is usually arranged on the front panel of the terminal 130 . The touch display screen 130 can be designed as a full screen, a curved screen or a special-shaped screen. The touch display screen 130 can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment. in:

全面屏full screen

全面屏可以是指触摸显示屏130占用终端100的前面板的屏占比超过阈值(比如80%或90%或95%)的屏幕设计。屏占比的一种计算方式为:(触摸显示屏130的面积/终端100的前面板的面积)*100%;屏占比的另一种计算方式为:(触摸显示屏130中实际显示区域的面积/终端100的前面板的面积)*100%;屏占比的再一种计算方式为:(触摸显示屏130的对角线/终端100的前面板的对角线)*100%。示意性的如图8A所示的例子中,终端100的前面板上近乎所有区域均为触摸显示屏130,在终端100的前面板40上,除中框41所产生的边缘之外的其它区域,全部为触摸显示屏130。该触摸显示屏130的四个角可以是直角或者圆角。The full screen may refer to a screen design in which the screen-to-body ratio occupied by the touch display screen 130 on the front panel of the terminal 100 exceeds a threshold (such as 80% or 90% or 95%). One calculation method of the screen-to-body ratio is: (area of the touch screen 130/area of the front panel of the terminal 100)*100%; another calculation method of the screen-to-body ratio is: (the actual display area in the touch screen 130 Area of the screen/area of the front panel of the terminal 100)*100%; another calculation method of the screen-to-body ratio is: (diagonal line of the touch display screen 130/diagonal line of the front panel of the terminal 100)*100%. In the schematic example shown in FIG. 8A , almost all areas on the front panel of the terminal 100 are touch display screens 130 , and on the front panel 40 of the terminal 100 , other areas except the edge generated by the middle frame 41 , all of which are touch screens 130 . The four corners of the touch display screen 130 may be right angles or rounded corners.

全面屏还可以是将至少一种前面板部件集成在触摸显示屏130内部或下层的屏幕设计。可选地,该至少一种前面板部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,将传统终端的前面板上的其他部件集成在触摸显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏130中每个显示像素中的黑色区域中。由于将至少一种前面板部件集成在了触摸显示屏130的内部,所以全面屏具有更高的屏占比。The full screen may also be a screen design in which at least one front panel component is integrated inside or under the touch display screen 130 . Optionally, the at least one front panel component includes: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, other components on the front panel of the traditional terminal are integrated into all or part of the area of the touch display 130, for example, after splitting the photosensitive element in the camera into multiple photosensitive pixels, each photosensitive Pixels are integrated in the black area of each display pixel in the touch display screen 130 . Since at least one front panel component is integrated inside the touch display screen 130 , the full screen has a higher screen-to-body ratio.

当然在另外一些实施例中,也可以将传统终端的前面板上的前面板部件设置在终端100的侧边或背面,比如将超声波指纹传感器设置在触摸显示屏130的下方、将骨传导式的听筒设置在终端130的内部、将摄像头设置成位于终端的侧边且可插拔的结构。Of course, in some other embodiments, the front panel components on the front panel of the traditional terminal can also be arranged on the side or back of the terminal 100, for example, the ultrasonic fingerprint sensor is arranged under the touch screen 130, the bone conduction The handset is disposed inside the terminal 130, and the camera is disposed on a side of the terminal in a pluggable structure.

在一些可选的实施例中,当终端100采用全面屏时,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器120,该边缘触控传感器120用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器120可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器120上施加操作,对终端100中的应用程序进行控制。In some optional embodiments, when the terminal 100 adopts a full screen, a single side of the middle frame of the terminal 100, or two sides (such as left and right sides), or four sides (such as Edge touch sensors 120 are arranged on the upper, lower, left, and right sides), and the edge touch sensors 120 are used to detect touch operations, click operations, press operations, and slide operations of the user on the middle frame. at least one action. The edge touch sensor 120 may be any one of a touch sensor, a heat sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor 120 to control the application programs in the terminal 100 .

曲面屏curved screen

曲面屏是指触摸显示屏130的屏幕区域不处于一个平面内的屏幕设计。一般的,曲面屏至少存在这样一个截面:该截面呈弯曲形状,且曲面屏在沿垂直于该截面的任意平面方向上的投影为平面的屏幕设计,其中,该弯曲形状可以是U型。可选地,曲面屏是指至少一个侧边是弯曲形状的屏幕设计方式。可选地,曲面屏是指触摸显示屏130的至少一个侧边延伸覆盖至终端100的中框上。由于触摸显示屏130的侧边延伸覆盖至终端100的中框,也即将原本不具有显示功能和触控功能的中框覆盖为可显示区域和/或可操作区域,从而使得曲面屏具有了更高的屏占比。可选地,如图8B所示的例子中,曲面屏是指左右两个侧边42是弯曲形状的屏幕设计;或者,曲面屏是指上下两个侧边是弯曲形状的屏幕设计;或者,曲面屏是指上、下、左、右四个侧边均为弯曲形状的屏幕设计。在可选的实施例中,曲面屏采用具有一定柔性的触摸屏材料制备。The curved screen refers to a screen design in which the screen area of the touch display 130 is not in a plane. Generally, the curved screen has at least one section: the section is curved, and the projection of the curved screen on any plane direction perpendicular to the section is a planar screen design, wherein the curved shape can be U-shaped. Optionally, the curved screen refers to a screen design in which at least one side is curved. Optionally, the curved screen means that at least one side of the touch display screen 130 extends to cover the middle frame of the terminal 100 . Since the side of the touch display screen 130 extends to cover the middle frame of the terminal 100, that is, the middle frame that originally does not have a display function and a touch function is covered as a displayable area and/or an operable area, so that the curved screen has more features. High screen-to-body ratio. Optionally, in the example shown in FIG. 8B , a curved screen refers to a screen design in which the left and right sides 42 are curved; or, a curved screen refers to a screen design in which the upper and lower sides are curved; or, A curved screen refers to a screen design in which the upper, lower, left, and right sides are curved. In an optional embodiment, the curved screen is made of a touch screen material with certain flexibility.

异型屏Shaped screen

异型屏是外观形状为不规则形状的触摸显示屏,不规则形状不是矩形或圆角矩形。可选地,异型屏是指在矩形或圆角矩形的触摸显示屏130上设置有凸起、缺口和/或挖孔的屏幕设计。可选地,该凸起、缺口和/或挖孔可以位于触摸显示屏130的边缘、屏幕中央或两者均有。当凸起、缺口和/或挖孔设置在一条边缘时,可以设置在该边缘的中间位置或两端;当凸起、缺口和/或挖孔设置在屏幕中央时,可以设置在屏幕的上方区域、左上方区域、左侧区域、左下方区域、下方区域、右下方区域、右侧区域、右上方区域中的一个或多个区域中。当设置在多个区域中时,凸起、缺口和挖孔可以集中分布,也可以分散分布;可以对称分布,也可以不对称分布。可选地,该凸起、缺口和/或挖孔的数量也不限。A shaped screen is a touch display screen with an irregular appearance, and the irregular shape is not a rectangle or a rounded rectangle. Optionally, the special-shaped screen refers to a screen design in which protrusions, notches and/or holes are provided on the rectangular or rounded rectangular touch display screen 130 . Optionally, the protrusion, notch and/or hole can be located on the edge of the touch display screen 130, in the center of the screen or both. When the protrusion, notch and/or digging hole is set on one edge, it can be set in the middle or both ends of the edge; when the protrusion, notch and/or digging hole is set in the center of the screen, it can be set on the top of the screen region, upper left region, left region, lower left region, lower region, lower right region, right region, upper right region. When arranged in multiple regions, the protrusions, notches and digging holes can be distributed in a concentrated manner or in a dispersed manner; they can be distributed symmetrically or asymmetrically. Optionally, the number of the protrusions, notches and/or holes is not limited.

由于异型屏将触摸显示屏的上额区和/或下额区覆盖为可显示区域和/或可操作区域,使得触摸显示屏在终端的前面板上占据更多的空间,所以异型屏也具有更大的屏占比。在一些实施例中,缺口和/或挖孔中用于容纳至少一种前面板部件,该前面板部件包括摄像头、指纹传感器、接近光传感器、距离传感器、听筒、环境光亮度传感器、物理按键中的至少一种。Since the special-shaped screen covers the upper forehead area and/or the lower forehead area of the touch display screen as a displayable area and/or an operable area, the touch display screen occupies more space on the front panel of the terminal, so the special-shaped screen also has Larger screen-to-body ratio. In some embodiments, the notch and/or the hole is used to accommodate at least one front panel component, the front panel component includes a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, an earpiece, an ambient light sensor, a physical button, etc. at least one of .

示例性的,该缺口可以设置在一个或多个边缘上,该缺口可以是半圆形缺口、直角矩形缺口、圆角矩形缺口或不规则形状缺口。示意性的如图8C所示的例子中,异型屏可以是在触摸显示屏130的上边缘的中央位置设置有半圆形缺口43的屏幕设计,该半圆形缺口43所空出的位置用于容纳摄像头、距离传感器(又称接近传感器)、听筒、环境光亮度传感器中的至少一种前面板部件;示意性的如图8D所示,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半圆形缺口44的屏幕设计,该半圆形缺口44所空出的位置用于容纳物理按键、指纹传感器、麦克风中的至少一种部件;示意性的如图8E所示的例子中,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半椭圆形缺口45的屏幕设计,同时在终端100的前面板上还形成有一个半椭圆型缺口,两个半椭圆形缺口围合成一个椭圆形区域,该椭圆形区域用于容纳物理按键或者指纹识别模组;示意性的如图8F所示的例子中,异型屏可以是在触摸显示屏130中的上半部中设置有至少一个小孔45的屏幕设计,该小孔45所空出的位置用于容纳摄像头、距离传感器、听筒、环境光亮度传感器中的至少一种前面板部件。Exemplarily, the notch can be provided on one or more edges, and the notch can be a semicircular notch, a right-angled rectangular notch, a rounded rectangular notch or an irregular-shaped notch. In the schematic example shown in FIG. 8C , the special-shaped screen may be a screen design in which a semicircular notch 43 is provided at the central position of the upper edge of the touch display 130, and the position vacated by the semicircular notch 43 is used for It is used to accommodate at least one front panel component in a camera, a distance sensor (also known as a proximity sensor), an earpiece, and an ambient light brightness sensor; as shown schematically in FIG. A screen design with a semicircular notch 44 in the central position, the position vacated by the semicircular notch 44 is used to accommodate at least one of the physical buttons, fingerprint sensor, and microphone; schematically shown in Figure 8E In an example, the special-shaped screen may be a screen design in which a semi-elliptical notch 45 is provided at the center of the lower edge of the touch display 130, and at the same time, a semi-elliptical notch is formed on the front panel of the terminal 100, and two semi-elliptical notches are formed. Shaped gaps form an elliptical area, which is used to accommodate physical keys or fingerprint recognition modules; in the example shown in Figure 8F, the special-shaped screen can be in the upper half of the touch display screen 130 The screen design is provided with at least one small hole 45, and the position vacated by the small hole 45 is used to accommodate at least one front panel component among the camera, the distance sensor, the earpiece, and the ambient light brightness sensor.

除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements. For example, the terminal 100 also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, WiFi) module, a power supply, and a Bluetooth module, which will not be repeated here.

在示例性实施例中,还提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令在被移动终端的处理器执行时以实现上述实施例提供的解锁方法。可选地,上述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a computer-readable storage medium is also provided, and at least one instruction is stored in the storage medium, and when the instruction is executed by the processor of the mobile terminal, the unlocking method provided by the above-mentioned embodiment is implemented. . Optionally, the above-mentioned computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在示例性实施例中,还提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于实现上述方法实施例中提供的解锁方法。In an exemplary embodiment, a computer program product is also provided, and when the computer program product is executed, it is used to implement the unlocking method provided in the above method embodiments.

应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that the "plurality" mentioned herein refers to two or more than two. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.

以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only exemplary embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.

Claims (16)

1. a kind of unlocking method of mobile terminal, it is characterised in that methods described includes:
In the case where mobile terminal is in screen lock state, if detecting, the motion state of the mobile terminal meets first and preset Condition, then start camera;
The facial image of targeted customer is gathered by the camera;
Whether the facial image for detecting the targeted customer matches with the facial image of registered user;
If the facial image of the targeted customer and the facial image of the registered user match, the mobile terminal is controlled Released state is switched to by the screen lock state.
2. according to the method for claim 1, it is characterised in that the control mobile terminal is cut by the screen lock state Shift to before released state, in addition to:
If the facial image of the targeted customer and the facial image of the registered user match, shown in unlock interface Prompt message is unlocked, the unblock prompt message is used to prompt to perform unblock operation;
When getting the unblock operation signal that is inputted in the unlock interface, and to meet second default for the unblock operation signal During condition, the step of control mobile terminal switches to released state by the screen lock state is performed.
3. according to the method for claim 1, it is characterised in that it is described in the case where mobile terminal is in screen lock state, If detecting, the motion state of the mobile terminal meets the first preparatory condition, starts camera, including:
In the case where the mobile terminal is in the screen lock state, the angular velocity data of gyroscope collection is obtained;
The motion state of the mobile terminal is determined according to the angular velocity data;
If the motion state of the mobile terminal meets first preparatory condition, start the camera;Wherein, described One preparatory condition refers to the state that the mobile terminal rotates around axle.
4. according to the method for claim 1, it is characterised in that the facial image of the detection targeted customer whether with The facial image of registered user matches, including:
The face characteristic of the targeted customer is extracted from the facial image of the targeted customer;
The similarity between the face characteristic of the targeted customer and the face characteristic of the registered user is calculated, the registration is used The face characteristic at family is extracted from the facial image of the registered user;
If the similarity is more than predetermined threshold value, it is determined that the facial image of the targeted customer and the people of the registered user Face image matches.
5. according to the method for claim 4, it is characterised in that the facial image of the detection targeted customer whether with Before the facial image of registered user matches, in addition to:
Multiple facial images of the registered user, multiple facial images pair of the registered user are gathered by the camera Multiple different angles of the face of registered user described in Ying Yu;
The face characteristic of the registered user is extracted from multiple facial images of the registered user.
6. according to the method described in any one of claim 1 to 5, it is characterised in that the camera is front camera, described After starting camera, in addition to:
The image of the front camera shooting is shown in screen.
7. according to the method described in any one of claim 1 to 5, it is characterised in that the face of the detection targeted customer After whether image matches with the facial image of registered user, in addition to:
If the facial image of the targeted customer and the facial image of the registered user mismatch, testing result is obtained as not The read-around ratio of matching;
When the read-around ratio reaches predetermined threshold value, interface for password input is shown;
Obtain the unlocking pin inputted in the interface for password input;
If the unlocking pin is correct, the mobile terminal is controlled to switch to the released state by the screen lock state;
If the unlocking pin is incorrect, the target image of the camera collection is preserved, and locks the mobile terminal;Its In, the target image is the facial image of the targeted customer, or, the target image is it is determined that the unlocking pin The image in front of screen gathered after incorrect by the camera.
8. a kind of tripper of mobile terminal, it is characterised in that described device includes:
Motion detection block, in the case of being in screen lock state in mobile terminal, if detecting the fortune of the mobile terminal Dynamic state meets the first preparatory condition, then starts camera;
Face acquisition module, for gathering the facial image of targeted customer by the camera;
Face matching module, for detect the targeted customer facial image whether the facial image phase with registered user Match somebody with somebody;
Unlocked state, for when the facial image of the targeted customer matches with the facial image of the registered user, controlling Make the mobile terminal and released state is switched to by the screen lock state.
9. device according to claim 8, it is characterised in that described device also includes:
First display module, match for the facial image and the facial image of the registered user as the targeted customer When, unblock prompt message is shown in unlock interface, the unblock prompt message is used to prompt to perform unblock operation;
The unlocked state, it is additionally operable to work as the unblock operation signal for getting and inputting in the unlock interface, and the unblock When operation signal meets the second preparatory condition, the mobile terminal is controlled to switch to the released state by the screen lock state.
10. device according to claim 8, it is characterised in that the motion detection block, be used for:
In the case where the mobile terminal is in the screen lock state, the angular velocity data of gyroscope collection is obtained;
The motion state of the mobile terminal is determined according to the angular velocity data;
When the motion state of the mobile terminal meets first preparatory condition, start the camera;Wherein, described One preparatory condition refers to the state that the mobile terminal rotates around axle.
11. device according to claim 8, it is characterised in that the face matching module, be used for:
The face characteristic of the targeted customer is extracted from the facial image of the targeted customer;
The similarity between the face characteristic of the targeted customer and the face characteristic of the registered user is calculated, the registration is used The face characteristic at family is extracted from the facial image of the registered user;
When the similarity is more than predetermined threshold value, the facial image of the targeted customer and the people of the registered user are determined Face image matches.
12. device according to claim 11, it is characterised in that
The face acquisition module, it is additionally operable to gather multiple facial images of the registered user by the camera, it is described Multiple facial images of registered user correspond to multiple different angles of the face of the registered user;
The face matching module, it is additionally operable to extract the people of the registered user from multiple facial images of the registered user Face feature.
13. according to the device described in any one of claim 8 to 12, it is characterised in that the camera is front camera, institute Stating device also includes:
Second display module, for showing the image of the front camera shooting in screen.
14. according to the device described in any one of claim 8 to 12, it is characterised in that described device also includes:
Number acquisition module, for being mismatched when the facial image of the targeted customer and the facial image of the registered user When, acquisition testing result is unmatched read-around ratio;
3rd display module, for when the read-around ratio reaches predetermined threshold value, showing interface for password input;
Password acquisition module, obtain the unlocking pin inputted in the interface for password input;
Security protection module, for when the unlocking pin is incorrect, preserving the target image of the camera collection, and lock The fixed mobile terminal;Wherein, the target image is the facial image of the targeted customer, or, the target image is The image in front of screen gathered after it is determined that the unlocking pin is incorrect by the camera;
The unlocked state, it is additionally operable to, when the unlocking pin is correct, control the mobile terminal to be cut by the screen lock state Shift to the released state.
15. a kind of mobile terminal, it is characterised in that the mobile terminal includes processor and memory, the memory storage There is at least one instruction, at least one instruction is loaded by the processor and performed to realize as claim 1 to 7 is any The unlocking method of mobile terminal described in.
16. a kind of computer-readable recording medium, it is characterised in that at least one is stored with the computer-readable recording medium Bar is instructed, and at least one instruction is loaded as processor and performed to realize the movement as described in any one of claim 1 to 7 The unlocking method of terminal.
CN201710790867.5A 2017-09-05 2017-09-05 Unlocking method and device for mobile terminal and mobile terminal Pending CN107563168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710790867.5A CN107563168A (en) 2017-09-05 2017-09-05 Unlocking method and device for mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710790867.5A CN107563168A (en) 2017-09-05 2017-09-05 Unlocking method and device for mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
CN107563168A true CN107563168A (en) 2018-01-09

Family

ID=60979299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710790867.5A Pending CN107563168A (en) 2017-09-05 2017-09-05 Unlocking method and device for mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN107563168A (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255531A (en) * 2018-01-10 2018-07-06 德淮半导体有限公司 Electronic equipment and its visual identifying system and method
CN108288044A (en) * 2018-01-31 2018-07-17 广东欧珀移动通信有限公司 Electronic device, face identification method and Related product
CN108549802A (en) * 2018-03-13 2018-09-18 维沃移动通信有限公司 An unlocking method, device and mobile terminal based on face recognition
CN108595930A (en) * 2018-04-23 2018-09-28 北京小米移动软件有限公司 Terminal equipment control method and device
CN108595946A (en) * 2018-03-29 2018-09-28 维沃移动通信有限公司 A kind of method and terminal of protection privacy
CN108629169A (en) * 2018-03-22 2018-10-09 广东小天才科技有限公司 Unlocking method and device of smart watch, smart watch and storage medium
CN108920922A (en) * 2018-06-15 2018-11-30 Oppo广东移动通信有限公司 unlocking method, device, mobile terminal and computer-readable medium
CN109325336A (en) * 2018-10-19 2019-02-12 北京小米移动软件有限公司 Unlocking method, device and computer-readable storage medium
CN109408676A (en) * 2018-01-25 2019-03-01 维沃移动通信有限公司 A kind of method and terminal device showing user information
CN109858227A (en) * 2019-02-02 2019-06-07 Oppo广东移动通信有限公司 Fingerprint input method and device, electronic equipment and storage medium
CN109919004A (en) * 2019-01-23 2019-06-21 深圳职业技术学院 A kind of Face datection algorithm neural network based
CN110209245A (en) * 2019-06-17 2019-09-06 Oppo广东移动通信有限公司 Face recognition method and related product
CN110249340A (en) * 2019-04-24 2019-09-17 深圳市汇顶科技股份有限公司 Face registration method, face recognition device, recognition device and storable medium
CN110505345A (en) * 2019-08-23 2019-11-26 中国联合网络通信集团有限公司 A terminal unlocking mode switching management method, terminal and switching server
CN110728204A (en) * 2019-09-23 2020-01-24 维沃移动通信(杭州)有限公司 Face recognition method and terminal equipment
CN112422743A (en) * 2020-09-28 2021-02-26 深圳市修远文化创意有限公司 Method for starting fingerprint module under mobile phone screen and mobile phone
CN112446014A (en) * 2019-08-30 2021-03-05 宏达国际电子股份有限公司 User authentication method and mobile device
CN112585942A (en) * 2018-08-31 2021-03-30 索尼半导体解决方案公司 Electronic device and solid-state image pickup device
CN113056718A (en) * 2018-11-14 2021-06-29 华为技术有限公司 Handheld mobile terminal control method and related device
CN113688373A (en) * 2020-05-19 2021-11-23 中移(成都)信息通信科技有限公司 Slide unlocking method, apparatus, device, and medium
CN114090984A (en) * 2020-07-17 2022-02-25 宇龙计算机通信科技(深圳)有限公司 Screen locking control method and device, storage medium and terminal
CN114341843A (en) * 2019-11-12 2022-04-12 深圳市欢太科技有限公司 Safety protection method and device, mobile terminal and storage medium
CN114821937A (en) * 2022-04-27 2022-07-29 松灵机器人(深圳)有限公司 An anti-theft method and related device
US11595608B2 (en) 2018-08-31 2023-02-28 Sony Corporation Imaging apparatus, imaging system, imaging method, and imaging program including sequential recognition processing on units of readout
CN115731590A (en) * 2021-08-30 2023-03-03 中兴通讯股份有限公司 Control method, device, equipment and storage medium
CN116373789A (en) * 2023-03-21 2023-07-04 重庆蓝鲸智联科技有限公司 A car child lock system and method based on image recognition
CN116798089A (en) * 2022-03-15 2023-09-22 北京小米移动软件有限公司 Equipment control method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130216108A1 (en) * 2012-02-22 2013-08-22 Pantech Co., Ltd. Electronic device and method for user identification
CN104571869A (en) * 2015-01-16 2015-04-29 深圳市中兴移动通信有限公司 Unlocking method and device of mobile terminal
CN104965703A (en) * 2015-06-17 2015-10-07 广东欧珀移动通信有限公司 Method and mobile terminal for controlling screen-on of mobile terminal
CN105488371A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Face recognition method and device
CN105827792A (en) * 2015-05-20 2016-08-03 维沃移动通信有限公司 Screen unlock method of electronic device and electronic device
CN106357985A (en) * 2016-08-22 2017-01-25 广东欧珀移动通信有限公司 A Screen Supplementary Lighting Photographing Method, Device and Mobile Terminal
CN106570371A (en) * 2016-10-08 2017-04-19 珠海格力电器股份有限公司 Unlocking method and device
CN106790983A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 A kind of screen lighting method and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130216108A1 (en) * 2012-02-22 2013-08-22 Pantech Co., Ltd. Electronic device and method for user identification
CN105488371A (en) * 2014-09-19 2016-04-13 中兴通讯股份有限公司 Face recognition method and device
CN104571869A (en) * 2015-01-16 2015-04-29 深圳市中兴移动通信有限公司 Unlocking method and device of mobile terminal
CN105827792A (en) * 2015-05-20 2016-08-03 维沃移动通信有限公司 Screen unlock method of electronic device and electronic device
CN104965703A (en) * 2015-06-17 2015-10-07 广东欧珀移动通信有限公司 Method and mobile terminal for controlling screen-on of mobile terminal
CN106357985A (en) * 2016-08-22 2017-01-25 广东欧珀移动通信有限公司 A Screen Supplementary Lighting Photographing Method, Device and Mobile Terminal
CN106570371A (en) * 2016-10-08 2017-04-19 珠海格力电器股份有限公司 Unlocking method and device
CN106790983A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 A kind of screen lighting method and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘展等: "《玩转Android手机》", 29 February 2012, 中国电力出版社 *

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255531A (en) * 2018-01-10 2018-07-06 德淮半导体有限公司 Electronic equipment and its visual identifying system and method
CN109408676A (en) * 2018-01-25 2019-03-01 维沃移动通信有限公司 A kind of method and terminal device showing user information
CN108288044B (en) * 2018-01-31 2020-11-20 Oppo广东移动通信有限公司 Electronic device, face recognition method and related products
CN108288044A (en) * 2018-01-31 2018-07-17 广东欧珀移动通信有限公司 Electronic device, face identification method and Related product
CN108549802A (en) * 2018-03-13 2018-09-18 维沃移动通信有限公司 An unlocking method, device and mobile terminal based on face recognition
CN108629169A (en) * 2018-03-22 2018-10-09 广东小天才科技有限公司 Unlocking method and device of smart watch, smart watch and storage medium
CN108595946A (en) * 2018-03-29 2018-09-28 维沃移动通信有限公司 A kind of method and terminal of protection privacy
CN108595946B (en) * 2018-03-29 2021-07-06 维沃移动通信有限公司 A method and terminal for protecting privacy
CN108595930A (en) * 2018-04-23 2018-09-28 北京小米移动软件有限公司 Terminal equipment control method and device
CN108595930B (en) * 2018-04-23 2023-01-10 北京小米移动软件有限公司 Terminal device control method and device
CN108920922A (en) * 2018-06-15 2018-11-30 Oppo广东移动通信有限公司 unlocking method, device, mobile terminal and computer-readable medium
CN108920922B (en) * 2018-06-15 2022-06-21 Oppo广东移动通信有限公司 Unlocking method, device, mobile terminal and computer readable medium
US11704904B2 (en) 2018-08-31 2023-07-18 Sony Corporation Imaging apparatus, imaging system, imaging method, and imaging program
CN112585942A (en) * 2018-08-31 2021-03-30 索尼半导体解决方案公司 Electronic device and solid-state image pickup device
US12183069B2 (en) 2018-08-31 2024-12-31 Sony Group Corporation Imaging apparatus, imaging system, imaging method, and imaging program
US11595608B2 (en) 2018-08-31 2023-02-28 Sony Corporation Imaging apparatus, imaging system, imaging method, and imaging program including sequential recognition processing on units of readout
US12159455B2 (en) 2018-08-31 2024-12-03 Sony Group Corporation Imaging apparatus, imaging system, imaging method, and imaging program
US12080061B2 (en) 2018-08-31 2024-09-03 Sony Group Corporation Imaging apparatus, imaging system, imaging method, and imaging program
CN112585942B (en) * 2018-08-31 2024-04-26 索尼半导体解决方案公司 Electronic device and solid-state imaging device
US11741700B2 (en) 2018-08-31 2023-08-29 Sony Corporation Imaging apparatus, imaging system, imaging method, and imaging program
US11763554B2 (en) 2018-08-31 2023-09-19 Sony Corporation Imaging apparatus, imaging system, imaging method, and imaging program
US11889177B2 (en) 2018-08-31 2024-01-30 Sony Semiconductor Solutions Corporation Electronic device and solid-state imaging device
CN109325336B (en) * 2018-10-19 2024-04-19 北京小米移动软件有限公司 Unlocking method, unlocking device and computer readable storage medium
CN109325336A (en) * 2018-10-19 2019-02-12 北京小米移动软件有限公司 Unlocking method, device and computer-readable storage medium
US10735578B2 (en) 2018-10-19 2020-08-04 Beijing Xiaomi Mobile Software Co., Ltd. Method for unlocking a mobile terminal, devices using the same, and computer-readable storage media encoding the same
CN113056718A (en) * 2018-11-14 2021-06-29 华为技术有限公司 Handheld mobile terminal control method and related device
CN109919004A (en) * 2019-01-23 2019-06-21 深圳职业技术学院 A kind of Face datection algorithm neural network based
CN109858227A (en) * 2019-02-02 2019-06-07 Oppo广东移动通信有限公司 Fingerprint input method and device, electronic equipment and storage medium
CN109858227B (en) * 2019-02-02 2021-04-06 Oppo广东移动通信有限公司 Fingerprint entry method, device, electronic device and storage medium
CN110249340A (en) * 2019-04-24 2019-09-17 深圳市汇顶科技股份有限公司 Face registration method, face recognition device, recognition device and storable medium
CN110209245A (en) * 2019-06-17 2019-09-06 Oppo广东移动通信有限公司 Face recognition method and related product
CN110505345B (en) * 2019-08-23 2022-01-21 中国联合网络通信集团有限公司 Terminal unlocking mode switching management method, terminal and switching server
CN110505345A (en) * 2019-08-23 2019-11-26 中国联合网络通信集团有限公司 A terminal unlocking mode switching management method, terminal and switching server
CN112446014A (en) * 2019-08-30 2021-03-05 宏达国际电子股份有限公司 User authentication method and mobile device
CN110728204B (en) * 2019-09-23 2024-01-02 维沃移动通信(杭州)有限公司 Face recognition method and terminal equipment
CN110728204A (en) * 2019-09-23 2020-01-24 维沃移动通信(杭州)有限公司 Face recognition method and terminal equipment
CN114341843A (en) * 2019-11-12 2022-04-12 深圳市欢太科技有限公司 Safety protection method and device, mobile terminal and storage medium
CN113688373A (en) * 2020-05-19 2021-11-23 中移(成都)信息通信科技有限公司 Slide unlocking method, apparatus, device, and medium
CN113688373B (en) * 2020-05-19 2024-05-24 中移(成都)信息通信科技有限公司 Sliding unlocking method, device, equipment and medium
CN114090984A (en) * 2020-07-17 2022-02-25 宇龙计算机通信科技(深圳)有限公司 Screen locking control method and device, storage medium and terminal
CN112422743A (en) * 2020-09-28 2021-02-26 深圳市修远文化创意有限公司 Method for starting fingerprint module under mobile phone screen and mobile phone
CN115731590A (en) * 2021-08-30 2023-03-03 中兴通讯股份有限公司 Control method, device, equipment and storage medium
CN116798089A (en) * 2022-03-15 2023-09-22 北京小米移动软件有限公司 Equipment control method, device, equipment and storage medium
CN114821937A (en) * 2022-04-27 2022-07-29 松灵机器人(深圳)有限公司 An anti-theft method and related device
CN116373789A (en) * 2023-03-21 2023-07-04 重庆蓝鲸智联科技有限公司 A car child lock system and method based on image recognition

Similar Documents

Publication Publication Date Title
CN107563168A (en) Unlocking method and device for mobile terminal and mobile terminal
CN107704744B (en) Identity verification method and device and mobile terminal
CN107491683B (en) Application decryption method and device, terminal and computer readable storage medium
EP3640827B1 (en) Fingerprint recognition method and device, mobile terminal, and storage medium
CN107831999B (en) Screen control method and device and terminal
US11449591B2 (en) Method and device for triggering function of function widget based on fingerprint recognition, terminal, and storage medium
CN107563174B (en) Fingerprint identification method and device
CN109034115A (en) Video image recognizing method, device, terminal and storage medium
WO2020088167A1 (en) Application activation method, device, terminal and storage medium
CN107608615B (en) Fingerprint identification function starting method and device, terminal and storage medium
CN107765968A (en) Target switching method, device, terminal and computer-readable recording medium
WO2019047738A1 (en) Message display method, device, mobile terminal and storage medium
CN107562361A (en) Message processing method and device and terminal
CN109726539B (en) Application starting method, device, terminal and storage medium
CN107871121A (en) Method and device for fingerprint recognition
CN107526477B (en) Screen unlocking method, device and terminal
CN111125663B (en) Control method and device for child mode, storage medium and terminal
CN107562475A (en) Message display method, device and terminal
WO2020156199A1 (en) Application login method and device, terminal and storage medium
CN107545167A (en) Screen unlocking method, device and terminal
CN108197450A (en) Face identification method, face identification device, storage medium and electronic equipment
CN107562346A (en) Terminal control method, device, terminal and computer-readable storage medium
CN107798230B (en) Terminal control method, device, terminal and computer readable storage medium
CN108845733A (en) Screenshot method, device, terminal and storage medium
WO2019047184A1 (en) Information display method, apparatus, and terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109

RJ01 Rejection of invention patent application after publication