[go: up one dir, main page]

CN105760736B - The method and tripper of application program unlock - Google Patents

The method and tripper of application program unlock Download PDF

Info

Publication number
CN105760736B
CN105760736B CN201610094636.6A CN201610094636A CN105760736B CN 105760736 B CN105760736 B CN 105760736B CN 201610094636 A CN201610094636 A CN 201610094636A CN 105760736 B CN105760736 B CN 105760736B
Authority
CN
China
Prior art keywords
user
face
application program
terminal device
facial feature
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.)
Active
Application number
CN201610094636.6A
Other languages
Chinese (zh)
Other versions
CN105760736A (en
Inventor
王云鹏
刘刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610094636.6A priority Critical patent/CN105760736B/en
Publication of CN105760736A publication Critical patent/CN105760736A/en
Application granted granted Critical
Publication of CN105760736B publication Critical patent/CN105760736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Image Analysis (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The present invention provides the unlocking method of application program and devices, including:Based on security classes application program, the recognition of face unlocking manner of any application program is set;When detecting that user operates the activation trigger for any application program being in the lock state, obtain the image information of terminal device screen front end, subsequently determine whether user's face area in image information relative to terminal device position whether in predetermined identification range, when judge user's face area relative to terminal device position in predetermined identification range when, obtain user's facial feature information, user's facial feature information is then inputted into pre-established judgment models and carries out comparison verification, if it is determined that when the corresponding data that prestores in user's facial feature information and judgment models matches, activate the application program being in the lock state.The present invention greatly improves the safety of unlock, it is ensured that and user's is safe to use, meanwhile, it has provided more easily unlocking manner to the user, has improved the usage experience of user.

Description

应用程序解锁的方法及解锁装置Application program unlocking method and unlocking device

技术领域technical field

本发明涉及计算机技术领域,具体而言,本发明涉及一种应用程序的解锁方法,及一种应用程序的解锁装置。The present invention relates to the field of computer technology, and in particular, the present invention relates to an application program unlocking method and an application program unlocking device.

背景技术Background technique

随着时代的发展,各种终端设备已成为人们生活中必不可少的工具,各种功能强大的终端操作系统及终端应用程序不断涌现,为用户带来了更加便捷的体验。随着终端应用程序安全等级的不断提高,用户可根据自身的安全需求和隐私需求对终端应用程序进行加密锁定,当用户开启经过加密锁定的终端应用程序时,需要通过相应的解锁方式对终端应用程序进行解锁。在现有技术中,普遍采用手势图案或数字的加密及解锁方式,由于此类解锁方式较单一,因此存在一定的安全隐患,且缺乏趣味性,同时,亦会经常发生用户忘记复杂的解锁手势图案或数字密码的情况,对合法用户的正常使用造成负面影响,从而影响用户的使用体验。因此,需要提供一种用户操作便捷且充满趣味性的应用程序的解锁方式,简化用户的解锁操作过程,同时保证加密及解锁方式的具有较高安全性,从而提高了用户的体验。With the development of the times, various terminal devices have become an indispensable tool in people's life, and various powerful terminal operating systems and terminal applications continue to emerge, bringing more convenient experience to users. With the continuous improvement of the security level of terminal applications, users can encrypt and lock terminal applications according to their own security and privacy requirements. The program is unlocked. In the existing technology, the encryption and unlocking methods of gesture patterns or numbers are generally used. Since this type of unlocking method is relatively simple, there are certain security risks and lack of interest. At the same time, users often forget complex unlocking gestures. Patterns or digital passwords will have a negative impact on the normal use of legitimate users, thus affecting the user experience. Therefore, it is necessary to provide an unlocking method of an application program that is convenient and interesting for the user to operate, simplifies the user's unlocking operation process, and at the same time ensures that the encryption and unlocking methods have high security, thereby improving the user's experience.

发明内容Contents of the invention

为克服上述技术问题或者至少部分地解决上述技术问题,特提出以下技术方案:In order to overcome the above-mentioned technical problems or at least partially solve the above-mentioned technical problems, the following technical solutions are proposed:

本发明的实施例提出了一种应用程序的解锁方法,包括:Embodiments of the present invention propose a method for unlocking an application program, including:

基于安全类应用程序,设置任一应用程序的人脸识别解锁方式;Based on the security application, set the face recognition unlock method of any application;

检测到用户对处于锁定状态的任一应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息;When the user's activation trigger operation on any application in the locked state is detected, the image information on the front end of the terminal device's screen is obtained;

判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;Judging whether the position of the user's face area in the image information relative to the terminal device is within the predetermined recognition range;

当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息;When it is judged that the position of the user's facial area relative to the terminal device is within the predetermined recognition range, acquire the user's facial feature information;

将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序。Input the user's facial feature information into the pre-established judgment model for comparison and verification, and if it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, activate the application in the locked state.

优选地,判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内的步骤,包括:Preferably, the step of judging whether the position of the user's face area in the image information relative to the terminal device is within a predetermined recognition range includes:

判断终端设备屏幕前端的图像信息是否包含用户的脸部数据;Determine whether the image information on the front end of the terminal device screen contains the user's face data;

当判断终端设备屏幕前端的图像信息包含用户的脸部数据时,判断用户脸部区域相对于终端设备的位置是否在预定识别范围内。When it is determined that the image information at the front end of the screen of the terminal device contains the user's face data, it is determined whether the position of the user's face area relative to the terminal device is within a predetermined recognition range.

其中,获取用户脸部特征信息,具体通过包括但不限于以下任一项人脸识别方法来实现:Among them, obtaining the user's facial feature information is specifically realized by including but not limited to any of the following face recognition methods:

基于几何特征的人脸识别方法;Face recognition method based on geometric features;

基于特征脸的人脸识别方法;Face recognition method based on eigenface;

基于神经网络的人脸识别方法;Face recognition method based on neural network;

基于弹性图匹配的人脸识别方法;Face recognition method based on elastic graph matching;

基于支持向量机的人脸识别方法。Face recognition method based on support vector machine.

其中,确定用户脸部特征信息与判断模型中预存对应数据相匹配,具体通过包括但不限于以下任一方式来实现:Among them, it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, specifically by including but not limited to any of the following methods:

基于人脸特征点的识别算法;Recognition algorithm based on facial feature points;

基于整幅人脸图像的识别算法;Recognition algorithm based on the whole face image;

基于模板的识别算法;Template-based recognition algorithm;

利用神经网络进行识别的算法。Algorithms for recognition using neural networks.

优选地,将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序,包括:Preferably, the user's facial feature information is input into a pre-established judgment model for comparison and verification, and if it is determined that the user's facial feature information matches the pre-stored corresponding data in the judgment model, the application program in the locked state is activated, including:

当对比校验得到用户脸部特征信息与判断模型中预存对应数据相匹配时,返回校验成功值;When the comparison verification obtains that the user's facial feature information matches the corresponding data pre-stored in the judgment model, return the verification success value;

根据校验成功值,激活处于锁定状态的应用程序。According to the verification success value, activate the application in the locked state.

优选地,检测到用户对处于锁定状态的任一应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息,具体包括:Preferably, when the user's activation trigger operation on any application in the locked state is detected, the image information on the front end of the screen of the terminal device is acquired, specifically including:

检测到用户对处于锁定状态的任一应用程序的激活触发操作时,启动安全类应用程序针对任一应用程序的人脸识别解锁功能。When the user's activation trigger operation on any application in the locked state is detected, the security application's face recognition unlocking function for any application is started.

其中,激活处于锁定状态的应用程序的步骤,具体包括:Among them, the steps of activating the application in the locked state include:

通过安全类应用程序激活处于锁定状态的任一应用程序。Activate any application in a locked state through the security class application.

本发明的另一实施例提出了一种应用程序的解锁装置,包括:Another embodiment of the present invention proposes an application program unlocking device, comprising:

设置模块,用于基于安全类应用程序,设置任一应用程序的人脸识别解锁方式;The setting module is used to set the face recognition unlocking method of any application based on the security application;

检测及获取模块,用于检测到用户对处于锁定状态的应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息;The detection and acquisition module is used to acquire the image information on the front end of the screen of the terminal device when detecting the activation trigger operation of the application program in the locked state by the user;

判断模块,用于判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;A judging module, configured to judge whether the position of the user's face area in the image information relative to the terminal device is within a predetermined recognition range;

获取模块,用于当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息;An acquisition module, configured to acquire user facial feature information when judging that the position of the user's facial area relative to the terminal device is within a predetermined recognition range;

确定及激活模块,用于将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序。The determination and activation module is used to input the user's facial feature information into the pre-established judgment model for comparison and verification, and activate the application program in the locked state when it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model.

优选地,判断模块,包括:Preferably, the judging module includes:

第一判断单元,用于判断终端设备屏幕前端的图像信息是否包含用户的脸部数据;The first judging unit is used to judge whether the image information at the front end of the screen of the terminal device contains the user's facial data;

第二判断单元,用于当判断终端设备屏幕前端的图像信息包含用户的脸部数据时,判断用户脸部区域相对于终端设备的位置是否在预定识别范围内。The second judging unit is configured to judge whether the position of the user's face area relative to the terminal device is within a predetermined recognition range when it is judged that the image information at the front end of the screen of the terminal device includes the user's face data.

其中,获取用户脸部特征信息,具体通过包括但不限于以下任一项人脸识别方法来实现:Among them, obtaining the user's facial feature information is specifically realized by including but not limited to any of the following face recognition methods:

基于几何特征的人脸识别方法;Face recognition method based on geometric features;

基于特征脸的人脸识别方法;Face recognition method based on eigenface;

基于神经网络的人脸识别方法;Face recognition method based on neural network;

基于弹性图匹配的人脸识别方法;Face recognition method based on elastic graph matching;

基于支持向量机的人脸识别方法。Face recognition method based on support vector machine.

其中,确定用户脸部特征信息与判断模型中预存对应数据相匹配,具体通过包括但不限于以下任一方式来实现:Among them, it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, specifically by including but not limited to any of the following methods:

基于人脸特征点的识别算法;Recognition algorithm based on facial feature points;

基于整幅人脸图像的识别算法;Recognition algorithm based on the whole face image;

基于模板的识别算法;Template-based recognition algorithm;

利用神经网络进行识别的算法。Algorithms for recognition using neural networks.

优选地,确定及激活模块,包括:Preferably, the determination and activation module includes:

返回单元,用于当对比校验得到用户脸部特征信息与判断模型中预存对应数据相匹配时,返回校验成功值;The return unit is used to return the verification success value when the user's facial feature information obtained by the comparison verification matches the corresponding data pre-stored in the judgment model;

激活单元,用于根据校验成功值,激活处于锁定状态的应用程序。The activation unit is configured to activate the application program in the locked state according to the verification success value.

优选地,检测及获取模块,具体包括:Preferably, the detection and acquisition module specifically includes:

检测及启动单元,用于检测到用户对处于锁定状态的任一应用程序的激活触发操作时,启动安全类应用程序针对任一应用程序的人脸识别解锁功能。The detecting and starting unit is configured to start the face recognition unlocking function of the security application program for any application program when detecting the activation trigger operation of any application program in the locked state by the user.

其中,确定及激活模块,具体包括:Among them, determining and activating modules, specifically include:

激活单元,用于通过安全类应用程序激活处于锁定状态的任一应用程序。The activation unit is used for activating any application program in a locked state through a security application program.

本发明的实施例中,提出了应用程序的解锁方案,终端设备检测到用户对处于锁定状态的应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息,随后判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内,可判断获取到用户的脸部区域图像是否完整且有效,避免了对无效图像信息的后续处理,提高了人脸识别解锁的效率;当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息,可通过获取用户不同的脸部特征信息实现人脸识别的多样化解锁方式;最后将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序,可快速便捷的完成解锁过程。由于不同人脸部的特征信息都存在不同的差异,因此通过人脸识别的解锁方式极大的提高了解锁的安全性,确保了用户的使用安全,同时,通过自动获取用户脸部特征信息并进行自动识别的方式,减少了用户解锁的操作过程,为用户提供了更为便捷的解锁方式,提高了用户的使用体验,进一步地,由于人脸的特征信息存在多样化,为用户的解锁方式提供了更多的趣味性,加深了用户的使用体验。In the embodiment of the present invention, an application program unlocking scheme is proposed. When the terminal device detects the user's activation trigger operation on the application program in the locked state, it acquires the image information at the front end of the terminal device screen, and then judges the user's face in the image information. Whether the position of the area relative to the terminal device is within the predetermined recognition range can determine whether the acquired image of the user's face area is complete and valid, avoiding subsequent processing of invalid image information and improving the efficiency of face recognition and unlocking; when judging When the position of the user's facial area relative to the terminal device is within the predetermined recognition range, the user's facial feature information can be obtained, and the diversified unlocking methods of face recognition can be realized by obtaining different facial feature information of the user; finally, the user's facial feature The information is input into the pre-established judgment model for comparison and verification. If it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, the application in the locked state is activated to complete the unlocking process quickly and conveniently. Since there are differences in the feature information of different faces, the unlocking method through face recognition greatly improves the security of unlocking and ensures the safety of users. At the same time, by automatically obtaining user face feature information and The way of automatic identification reduces the operation process of user unlocking, provides users with a more convenient unlocking method, and improves the user experience. It provides more fun and deepens the user experience.

本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and will become apparent from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为本发明中一个实施例的应用程序的解锁方法的流程图;FIG. 1 is a flow chart of an application unlocking method according to an embodiment of the present invention;

图2为本发明中另一实施例的应用程序的解锁装置的结构示意图。FIG. 2 is a schematic structural diagram of an application program unlocking device according to another embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

图1为本发明中一个实施例的应用程序的解锁方法的流程图。FIG. 1 is a flow chart of a method for unlocking an application program in an embodiment of the present invention.

本发明的实施例中,各步骤所执行的内容概述如下:步骤S100:基于安全类应用程序,设置任一应用程序的人脸识别解锁方式;步骤S110:检测到用户对处于锁定状态的任一应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息;步骤S120:判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;步骤S130:当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息;步骤S140:将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序。In the embodiment of the present invention, the content of each step is summarized as follows: Step S100: Based on the security application program, set the face recognition unlocking method of any application program; Step S110: Detect that the user has locked any When the activation of the application program triggers an operation, obtain the image information at the front end of the terminal device screen; step S120: judge whether the position of the user's face area in the image information relative to the terminal device is within the predetermined recognition range; step S130: when judging the user's face area When the position relative to the terminal device is within the predetermined recognition range, obtain the user's facial feature information; Step S140: Input the user's facial feature information into the pre-established judgment model for comparison and verification, if it is determined that the user's facial feature information and the judgment model When the pre-stored corresponding data matches, the application in the locked state is activated.

本发明的实施例中,提出了一种应用程序的解锁方法,基于安全类应用程序设置任一应用程序的人脸识别解锁方式;终端设备检测到用户对处于锁定状态的应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息,随后判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内,可判断获取到用户的脸部区域图像是否完整且有效,避免了对无效图像信息的后续处理,提高了人脸识别解锁的效率;当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息,可通过获取用户不同的脸部特征信息实现人脸识别的多样化解锁方式;最后将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序,可快速便捷的完成解锁过程。由于不同人脸部的特征信息都存在不同的差异,因此通过人脸识别的解锁方式极大的提高了解锁的安全性,确保了用户的使用安全,同时,通过自动获取用户脸部特征信息并进行自动识别的方式,减少了用户解锁的操作过程,为用户提供了更为便捷的解锁方式,提高了用户的使用体验,进一步地,由于人脸的特征信息存在多样化,为用户的解锁方式提供了更多的趣味性,加深了用户的使用体验。以下针对各个步骤的具体实现做进一步的说明:In the embodiment of the present invention, an application unlocking method is proposed, and the face recognition unlocking method of any application is set based on the security application; the terminal device detects that the user activates the application that is in the locked state and triggers the operation , obtain the image information at the front end of the terminal device screen, and then judge whether the position of the user's face area relative to the terminal device in the image information is within the predetermined recognition range, and judge whether the acquired user's face area image is complete and valid, avoiding the Subsequent processing of invalid image information improves the efficiency of face recognition unlocking; when it is judged that the position of the user's face area relative to the terminal device is within the predetermined recognition range, the user's facial feature information can be obtained, which can be obtained by obtaining the user's different face facial feature information to realize the diversified unlocking methods of face recognition; finally, input the user facial feature information into the pre-established judgment model for comparison and verification. The application in the locked state can complete the unlocking process quickly and conveniently. Since there are differences in the feature information of different faces, the unlocking method through face recognition greatly improves the security of unlocking and ensures the safety of users. At the same time, by automatically obtaining user face feature information and The way of automatic identification reduces the operation process of user unlocking, provides users with a more convenient unlocking method, and improves the user experience. It provides more fun and deepens the user experience. The following is a further description of the specific implementation of each step:

步骤S100:基于安全类应用程序,设置任一应用程序的人脸识别解锁方式。Step S100: Based on the security application, set the face recognition unlocking method of any application.

例如,通过终端设备的安全类应用程序SecurityApp,设置应用程序App2的解锁方式为人脸识别的解锁方式。步骤S110:检测到用户对处于锁定状态的任一应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息。具体地,检测到用户对处于锁定状态的任一应用程序的激活触发操作时,可启动终端设备的图像获取设备获取终端设备屏幕前端的图像信息。For example, through the security application SecurityApp of the terminal device, the unlocking method of the application App2 is set as the unlocking method of face recognition. Step S110: Acquiring the image information of the front end of the screen of the terminal device when the user's activation trigger operation on any application in the locked state is detected. Specifically, when the user's activation trigger operation on any application in the locked state is detected, the image acquisition device of the terminal device can be started to acquire image information on the front end of the screen of the terminal device.

其中,终端设备的图像获取设备如终端设备的前置摄像头。Wherein, the image acquisition device of the terminal device is, for example, a front camera of the terminal device.

例如,在终端设备中,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息。For example, in the terminal device, when the user's activation trigger operation on the locked application program App1 is detected, the front camera of the terminal device is started to obtain the image information of the front end of the screen of the terminal device.

具体地,所述步骤110还包括步骤S111(图中未示出);步骤S111:检测到用户对处于锁定状态的任一应用程序的激活触发操作时,启动安全类应用程序针对任一应用程序的人脸识别解锁功能。Specifically, the step 110 also includes step S111 (not shown in the figure); step S111: when detecting the activation trigger operation of any application program in the locked state by the user, start the security application program for any application program face recognition unlock function.

例如,当检测到用户对处于锁定状态的应用程序App2的激活触发操作时,启动安全类应用程序SecurityApp针对应用程序App2的人脸识别解锁功能,如通过SecurityApp启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息。For example, when the user's activation trigger operation on the locked application App2 is detected, the face recognition unlocking function of the security application SecurityApp for the application App2 is started, such as starting the front camera of the terminal device through the SecurityApp to obtain the terminal device Image information on the front of the screen.

优选地,通过安全类应用程序激活处于锁定状态的任一应用程序。Preferably, any application program in a locked state is activated through a security application program.

例如,当对比校验得到用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征信息数据相匹配时,向SecurityApp返回一个校验成功值如“True”,随后SecurityApp根据校验成功值为“True”激活处于锁定状态的应用程序App2。For example, when the user's facial feature information matches the pre-stored facial feature information data of the unlocking user in the judgment model, a verification success value such as "True" is returned to SecurityApp, and then SecurityApp "True" activates the locked application App2.

步骤S120:判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内。Step S120: Determine whether the position of the user's face area in the image information relative to the terminal device is within a predetermined recognition range.

其中,判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内的判断依据包括但不限于以下情形:Among them, the basis for judging whether the position of the user's face area in the image information relative to the terminal device is within the predetermined recognition range includes but is not limited to the following situations:

根据用户脸部区域相对于终端设备的距离判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;Determine whether the position of the user's face area relative to the terminal device in the image information is within a predetermined recognition range according to the distance between the user's face area and the terminal device;

根据用户脸部区域相对于终端设备的方向判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;Determine whether the position of the user's face area relative to the terminal device in the image information is within a predetermined recognition range according to the direction of the user's face area relative to the terminal device;

根据用户脸部区域相对于终端设备的倾斜角度判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内。It is determined whether the position of the user's face area relative to the terminal device in the image information is within a predetermined recognition range according to the inclination angle of the user's face area relative to the terminal device.

在一优选实施例中,步骤S120具体包括步骤S121(图中未示出)和步骤S122(图中未示出);步骤S121:判断终端设备屏幕前端的图像信息是否包含用户的脸部数据;步骤S122:当判断终端设备屏幕前端的图像信息包含用户的脸部数据时,判断用户脸部区域相对于终端设备的位置是否在预定识别范围内。In a preferred embodiment, step S120 specifically includes step S121 (not shown in the figure) and step S122 (not shown in the figure); step S121: determine whether the image information on the front end of the terminal device screen contains the user's facial data; Step S122: When it is determined that the image information at the front end of the screen of the terminal device contains the user's face data, determine whether the position of the user's face area relative to the terminal device is within a predetermined recognition range.

例如,在终端设备中,预定用户脸部区域相对于终端设备的远近位置的可识别范围为15厘米至60厘米,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息,如可通过现有人脸识别中的图像处理技术判断终端设备屏幕前端的图像信息包含用户的脸部数据时,根据图像信息中用户脸部区域相对于终端设备的远近位置如20厘米,可判断图像信息中用户脸部区域在预定识别范围内。For example, in the terminal device, the recognizable range of the predetermined user's face area relative to the far and near position of the terminal device is 15 cm to 60 cm. When the user's activation trigger operation on the locked application App1 is detected, the terminal The front camera of the device obtains the image information on the front end of the terminal device screen. For example, if the image information on the front end of the terminal device screen can be judged to contain the user's face data through the existing image processing technology in face recognition, according to the user's face area in the image information Relative to the far and near position of the terminal device, such as 20 centimeters, it can be determined that the user's face area in the image information is within the predetermined recognition range.

又例如,在终端设备中,预定用户脸部区域相对于终端设备的方向位置的可识别范围为用户脸部区域的中心位置在获取图像信息的中心位置的偏离距离为0到1厘米,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息,如可通过现有人脸识别中的图像处理技术判断终端设备屏幕前端的图像信息包含用户的脸部数据时,根据图像信息中用户脸部区域相对于终端设备的方向位置为用户脸部区域的中心位置在获取图像信息的中心位置的偏离距离为0.2厘米,可判断图像信息中用户脸部区域在预定识别范围内。For another example, in the terminal device, the identifiable range of the predetermined user's face area relative to the direction position of the terminal device is that the deviation distance between the center position of the user's face area and the center position of the acquired image information is 0 to 1 cm. When the user triggers the activation of the locked application program App1, start the front camera of the terminal device to obtain the image information of the front end of the terminal device screen. When the image information contains the user's face data, according to the direction position of the user's face area relative to the terminal device in the image information, the deviation distance between the center position of the user's face area and the center position of the acquired image information is 0.2 cm, and the image information can be judged The area of the user's face in the information is within the predetermined recognition range.

又例如,在终端设备中,预定用户脸部区域相对于终端设备的倾斜角度位置的可识别范围为30°至100°,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息,如可通过现有人脸识别中的图像处理技术判断终端设备屏幕前端的图像信息包含用户的脸部数据时,根据图像信息中用户脸部区域相对于终端设备的倾斜角度位置为10°,可判断图像信息中用户脸部区域不在预定识别范围内。For another example, in the terminal device, the identifiable range of the inclination angle position of the predetermined user's face area relative to the terminal device is 30° to 100°. Start the front camera of the terminal device to obtain the image information on the front end of the terminal device screen. For example, if the image information on the front end of the terminal device screen can be judged to contain the user's face data through the existing image processing technology in face recognition, according to the user's face data in the image information, If the tilt angle position of the front area relative to the terminal device is 10°, it can be determined that the user's face area in the image information is not within the predetermined recognition range.

步骤S130:当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息。Step S130: When it is judged that the position of the user's face area relative to the terminal device is within a predetermined recognition range, acquire user's facial feature information.

其中,获取用户脸部特征信息,具体通过包括但不限于以下任一项人脸识别方法来实现:Among them, obtaining the user's facial feature information is specifically realized by including but not limited to any of the following face recognition methods:

基于几何特征的人脸识别方法;Face recognition method based on geometric features;

基于特征脸的人脸识别方法;Face recognition method based on eigenface;

基于神经网络的人脸识别方法;Face recognition method based on neural network;

基于弹性图匹配的人脸识别方法。Face Recognition Method Based on Elastic Graph Matching.

例如,当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,可通过如基于几何特征的人脸识别方法获取用户脸部特征信息,包括获取用户脸部的五官特征信息和用户脸部的表情特征信息等。For example, when it is judged that the position of the user's facial area relative to the terminal device is within the predetermined recognition range, the user's facial feature information can be obtained through a face recognition method based on geometric features, including the acquisition of the user's facial features and user Facial expression feature information, etc.

步骤S140:将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序。Step S140: Input the user's facial feature information into the pre-established judgment model for comparison and verification. If it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, activate the locked application.

其中,确定用户脸部特征信息与判断模型中预存对应数据相匹配,具体通过包括但不限于以下任一方式来实现:Among them, it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, specifically by including but not limited to any of the following methods:

基于人脸特征点的识别算法;Recognition algorithm based on facial feature points;

基于整幅人脸图像的识别算法;Recognition algorithm based on the whole face image;

基于模板的识别算法;Template-based recognition algorithm;

利用神经网络进行识别的算法。Algorithms for recognition using neural networks.

其中,用户脸部特征信息与判断模型中预存对应数据相匹配的情形包括用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征数据相同或用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征数据的差异在预定的差异范围内。Among them, the situation that the user’s facial feature information matches the pre-stored corresponding data in the judgment model includes that the user’s facial feature information is the same as the pre-stored facial feature data corresponding to the unlocking user in the judgment model, or the user’s facial feature information corresponds to the pre-stored data in the judgment model. The difference of the facial feature data of the unlocking user is within a predetermined difference range.

例如,在获取用户脸部特征信息之后,将用户脸部特征信息输入预建立的判断模型通过如基于人脸特征点的识别算法进行对比校验,若确定用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征信息数据相匹配时,激活处于锁定状态的应用程序。For example, after obtaining the user's facial feature information, input the user's facial feature information into the pre-established judgment model and compare and verify it through a recognition algorithm based on facial feature points. When the facial feature information data corresponding to the unlocked user matches, activate the application in the locked state.

在一优选实施例中,步骤S140具体包括步骤S141(图中未示出)和步骤S142(图中未示出);步骤S141:当对比校验得到用户脸部特征信息与判断模型中预存对应数据相匹配时,返回校验成功值;步骤S142:根据校验成功值,激活处于锁定状态的应用程序。In a preferred embodiment, step S140 specifically includes step S141 (not shown in the figure) and step S142 (not shown in the figure); step S141: when the user's facial feature information obtained from the comparison verification corresponds to the pre-stored in the judgment model When the data match, return the verification success value; Step S142: activate the application in the locked state according to the verification success value.

例如,当对比校验得到用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征信息数据相匹配时,返回一个校验成功值如“True”,随后,根据校验成功值为“True”,激活处于锁定状态的应用程序App1。For example, when the user's facial feature information obtained from the comparison check matches the facial feature information data of the corresponding unlocking user stored in the judgment model, a verification success value such as "True" is returned, and then, according to the verification success value, " True" to activate the locked application App1.

图2为本发明中另一实施例的应用程序的解锁装置的结构示意图。其中,解锁装置包括设置模块210、检测及获取模块220、判断模块230、获取模块240和确定及激活模块250。FIG. 2 is a schematic structural diagram of an application program unlocking device according to another embodiment of the present invention. Wherein, the unlocking device includes a setting module 210 , a detection and acquisition module 220 , a judgment module 230 , an acquisition module 240 and a determination and activation module 250 .

本发明的实施例中,各模块所执行的内容如下:基于安全类应用程序,设置模块210设置任一应用程序的人脸识别解锁方式;检测及获取模块220检测到用户对处于锁定状态的应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息;判断模块230判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;获取模块240当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息;确定及激活模块250将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序。In the embodiment of the present invention, the content executed by each module is as follows: based on the security application program, the setting module 210 sets the face recognition unlocking mode of any application program; the detection and acquisition module 220 detects that the user has locked the application When the activation of the program triggers an operation, the image information at the front end of the terminal device screen is obtained; the judging module 230 judges whether the position of the user's face area in the image information relative to the terminal device is within a predetermined recognition range; When the position of the terminal device is within the predetermined recognition range, the user's facial feature information is obtained; the determination and activation module 250 inputs the user's facial feature information into the pre-established judgment model for comparison and verification. When the corresponding data pre-stored in the model matches, the application in the locked state is activated.

本发明的实施例中,提出了一种应用程序的解锁装置,基于安全类应用程序设置任一应用程序的人脸识别解锁方式,在终端设备检测到用户对处于锁定状态的应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息,随后判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内,可判断获取到用户的脸部区域图像是否完整且有效,避免了对无效图像信息的后续处理,提高了人脸识别解锁的效率;当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息,可通过获取用户不同的脸部特征信息实现人脸识别的多样化解锁方式;最后将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序,可快速便捷的完成解锁过程。由于不同人脸部的特征信息都存在不同的差异,因此通过人脸识别的解锁方式极大的提高了解锁的安全性,确保了用户的使用安全,同时,通过自动获取用户脸部特征信息并进行自动识别的方式,减少了用户解锁的操作过程,为用户提供了更为便捷的解锁方式,提高了用户的使用体验,进一步地,由于人脸的特征信息存在多样化,为用户的解锁方式提供了更多的趣味性,加深了用户的使用体验。以下针对各个模块的具体实现做进一步的说明:In the embodiment of the present invention, an application program unlocking device is proposed. Based on the security application program, the face recognition unlocking method of any application program is set, and the terminal device detects the activation trigger of the application program in the locked state by the user. During operation, obtain the image information at the front end of the screen of the terminal device, and then judge whether the position of the user's face area relative to the terminal device in the image information is within the predetermined recognition range, and judge whether the acquired image of the user's face area is complete and valid, to avoid The subsequent processing of invalid image information is improved, and the efficiency of face recognition and unlocking is improved; when it is judged that the position of the user's face area relative to the terminal device is within the predetermined recognition range, the user's facial feature information can be obtained, which can be obtained by obtaining the user's different The facial feature information realizes the diversified unlocking methods of face recognition; finally, the user's facial feature information is input into the pre-established judgment model for comparison and verification. If it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, Activate the locked application to complete the unlocking process quickly and easily. Since there are different differences in the feature information of different faces, the unlocking method through face recognition greatly improves the security of unlocking and ensures the safety of users. At the same time, by automatically obtaining user face feature information and The way of automatic identification reduces the operation process of user unlocking, provides users with a more convenient unlocking method, and improves the user experience. It provides more fun and deepens the user experience. The following is a further description of the specific implementation of each module:

基于安全类应用程序,设置模块210设置任一应用程序的人脸识别解锁方式。Based on the security application, the setting module 210 sets the face recognition unlocking method of any application.

例如,通过终端设备的安全类应用程序SecurityApp,设置应用程序App2的解锁方式为人脸识别的解锁方式。For example, through the security application SecurityApp of the terminal device, the unlocking method of the application App2 is set as the unlocking method of face recognition.

其中,检测及获取模块具体包括检测及启动单元(图中未示出);检测及启动单元用于检测到用户对处于锁定状态的任一应用程序的激活触发操作时,启动安全类应用程序针对任一应用程序的人脸识别解锁功能。Wherein, the detection and acquisition module specifically includes a detection and activation unit (not shown in the figure); the detection and activation unit is used to detect the activation trigger operation of any application program in the locked state by the user, and start the security application for Face recognition unlock for either app.

例如,当检测到用户对处于锁定状态的应用程序App2的激活触发操作时,启动安全类应用程序SecurityApp针对应用程序App2的人脸识别解锁功能,如通过SecurityApp启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息。For example, when the user's activation trigger operation on the locked application App2 is detected, the face recognition unlocking function of the security application SecurityApp for the application App2 is started, such as starting the front camera of the terminal device through the SecurityApp to obtain the terminal device Image information on the front of the screen.

优选地,通过安全类应用程序激活处于锁定状态的任一应用程序。Preferably, any application program in a locked state is activated through a security application program.

例如,当对比校验得到用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征信息数据相匹配时,向SecurityApp返回一个校验成功值如“True”,随后SecurityApp根据校验成功值为“True”激活处于锁定状态的应用程序App2。For example, when the user's facial feature information matches the pre-stored facial feature information data of the unlocking user in the judgment model, a verification success value such as "True" is returned to SecurityApp, and then SecurityApp "True" activates the locked application App2.

检测及获取模块220检测到用户对处于锁定状态的应用程序的激活触发操作时,获取终端设备屏幕前端的图像信息。The detection and acquisition module 220 acquires the image information of the front end of the screen of the terminal device when detecting the activation trigger operation of the application program in the locked state by the user.

具体地,检测到用户对处于锁定状态的应用程序的激活触发操作时,可启动终端设备的图像获取设备获取终端设备屏幕前端的图像信息。Specifically, when a user's activation trigger operation on an application program in a locked state is detected, the image acquisition device of the terminal device may be started to acquire image information on the front end of the screen of the terminal device.

其中,终端设备的图像获取设备如终端设备的前置摄像头。Wherein, the image acquisition device of the terminal device is, for example, a front camera of the terminal device.

例如,在终端设备中,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息。For example, in the terminal device, when the user's activation trigger operation on the locked application program App1 is detected, the front camera of the terminal device is started to obtain the image information of the front end of the screen of the terminal device.

判断模块230判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内。The judging module 230 judges whether the position of the user's face area relative to the terminal device in the image information is within a predetermined recognition range.

其中,判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内的判断依据包括但不限于以下情形:Among them, the basis for judging whether the position of the user's face area in the image information relative to the terminal device is within the predetermined recognition range includes but is not limited to the following situations:

根据用户脸部区域相对于终端设备的距离判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;Determine whether the position of the user's face area relative to the terminal device in the image information is within a predetermined recognition range according to the distance between the user's face area and the terminal device;

根据用户脸部区域相对于终端设备的方向判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内;Determine whether the position of the user's face area relative to the terminal device in the image information is within a predetermined recognition range according to the direction of the user's face area relative to the terminal device;

根据用户脸部区域相对于终端设备的倾斜角度判断图像信息中用户脸部区域相对于终端设备的位置是否在预定识别范围内。It is determined whether the position of the user's face area relative to the terminal device in the image information is within a predetermined recognition range according to the inclination angle of the user's face area relative to the terminal device.

在一优选实施例中,判断模块具体包括第一判断单元(图中未示出)和第二判断单元(图中未示出);第一判断单元判断终端设备屏幕前端的图像信息是否包含用户的脸部数据;第二判断单元当判断终端设备屏幕前端的图像信息包含用户的脸部数据时,判断用户脸部区域相对于终端设备的位置是否在预定识别范围内。In a preferred embodiment, the judgment module specifically includes a first judgment unit (not shown in the figure) and a second judgment unit (not shown in the figure); the first judgment unit judges whether the image information on the front end of the screen of the terminal device contains the face data; the second judging unit judges whether the position of the user's face area relative to the terminal device is within a predetermined recognition range when it is judged that the image information on the front end of the terminal device screen contains the user's face data.

例如,在终端设备中,预定用户脸部区域相对于终端设备的远近位置的可识别范围为15厘米至60厘米,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息,如可通过现有人脸识别中的图像处理技术判断终端设备屏幕前端的图像信息包含用户的脸部数据时,根据图像信息中用户脸部区域相对于终端设备的远近位置如20厘米,可判断图像信息中用户脸部区域在预定识别范围内。For example, in the terminal device, the recognizable range of the predetermined user's face area relative to the far and near position of the terminal device is 15 cm to 60 cm. When the user's activation trigger operation on the locked application App1 is detected, the terminal The front camera of the device obtains the image information on the front end of the terminal device screen. For example, if the image information on the front end of the terminal device screen can be judged to contain the user's face data through the existing image processing technology in face recognition, the user's face area in the image information Relative to the far and near position of the terminal device, such as 20 centimeters, it can be determined that the user's face area in the image information is within the predetermined recognition range.

又例如,在终端设备中,预定用户脸部区域相对于终端设备的方向位置的可识别范围为用户脸部区域的中心位置在获取图像信息的中心位置的偏离距离为0到1厘米,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息,如可通过现有人脸识别中的图像处理技术判断终端设备屏幕前端的图像信息包含用户的脸部数据时,根据图像信息中用户脸部区域相对于终端设备的方向位置为用户脸部区域的中心位置在获取图像信息的中心位置的偏离距离为0.2厘米,可判断图像信息中用户脸部区域在预定识别范围内。For another example, in the terminal device, the identifiable range of the predetermined user's face area relative to the direction position of the terminal device is that the deviation distance between the center position of the user's face area and the center position of the acquired image information is 0 to 1 cm. When the user triggers the activation of the locked application program App1, start the front camera of the terminal device to obtain the image information of the front end of the terminal device screen. When the image information contains the user's face data, according to the direction position of the user's face area relative to the terminal device in the image information, the deviation distance between the center position of the user's face area and the center position of the acquired image information is 0.2 cm, and the image information can be judged The area of the user's face in the information is within the predetermined recognition range.

又例如,在终端设备中,预定用户脸部区域相对于终端设备的倾斜角度位置的可识别范围为30°至100°,当检测到用户对处于锁定状态的应用程序App1的激活触发操作时,启动终端设备的前置摄像头获取终端设备屏幕前端的图像信息,如可通过现有人脸识别中的图像处理技术判断终端设备屏幕前端的图像信息包含用户的脸部数据时,根据图像信息中用户脸部区域相对于终端设备的倾斜角度位置为10°,可判断图像信息中用户脸部区域不在预定识别范围内。For another example, in the terminal device, the identifiable range of the inclination angle position of the predetermined user's face area relative to the terminal device is 30° to 100°. Start the front camera of the terminal device to obtain the image information on the front end of the terminal device screen. For example, if the image information on the front end of the terminal device screen can be judged to contain the user's face data through the existing image processing technology in face recognition, according to the user's face data in the image information, If the tilt angle position of the front area relative to the terminal device is 10°, it can be determined that the user's face area in the image information is not within the predetermined recognition range.

获取模块240当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,获取用户脸部特征信息。When the acquisition module 240 determines that the position of the user's face area relative to the terminal device is within a predetermined recognition range, acquire the user's facial feature information.

其中,获取用户脸部特征信息,具体通过包括但不限于以下任一项人脸识别方法来实现:Among them, obtaining the user's facial feature information is specifically realized by including but not limited to any of the following face recognition methods:

基于几何特征的人脸识别方法;Face recognition method based on geometric features;

基于特征脸的人脸识别方法;Face recognition method based on eigenface;

基于神经网络的人脸识别方法;Face recognition method based on neural network;

基于弹性图匹配的人脸识别方法。Face Recognition Method Based on Elastic Graph Matching.

例如,当判断用户脸部区域相对于终端设备的位置在预定识别范围内时,可通过如基于几何特征的人脸识别方法获取用户脸部特征信息,包括获取用户脸部的五官特征信息和用户脸部的表情特征信息等。For example, when it is judged that the position of the user's facial area relative to the terminal device is within the predetermined recognition range, the user's facial feature information can be obtained through a face recognition method based on geometric features, including the acquisition of the user's facial features and user Facial expression feature information, etc.

确定及激活模块250将用户脸部特征信息输入预建立的判断模型进行对比校验,若确定用户脸部特征信息与判断模型中预存对应数据相匹配时,激活处于锁定状态的应用程序。The determining and activating module 250 inputs the user's facial feature information into the pre-established judgment model for comparison and verification, and if it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, the locked application is activated.

其中,确定用户脸部特征信息与判断模型中预存对应数据相匹配,具体通过包括但不限于以下任一方式来实现:Among them, it is determined that the user's facial feature information matches the corresponding data pre-stored in the judgment model, specifically by including but not limited to any of the following methods:

基于人脸特征点的识别算法;Recognition algorithm based on facial feature points;

基于整幅人脸图像的识别算法;Recognition algorithm based on the whole face image;

基于模板的识别算法;Template-based recognition algorithm;

利用神经网络进行识别的算法。Algorithms for recognition using neural networks.

其中,用户脸部特征信息与判断模型中预存对应数据相匹配的情形包括用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征数据相同或用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征数据的差异在预定的差异范围内。Among them, the situation that the user’s facial feature information matches the pre-stored corresponding data in the judgment model includes that the user’s facial feature information is the same as the pre-stored facial feature data corresponding to the unlocking user in the judgment model, or the user’s facial feature information corresponds to the pre-stored data in the judgment model. The difference of the facial feature data of the unlocking user is within a predetermined difference range.

例如,在获取用户脸部特征信息之后,将用户脸部特征信息输入预建立的判断模型通过如基于人脸特征点的识别算法进行对比校验,若确定用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征信息数据相匹配时,激活处于锁定状态的应用程序。For example, after obtaining the user's facial feature information, input the user's facial feature information into the pre-established judgment model and compare and verify it through a recognition algorithm based on facial feature points. When the facial feature information data corresponding to the unlocked user matches, activate the application in the locked state.

在一优选实施例中,确定及激活模块具体包括返回单元(图中未示出)和激活单元(图中未示出);返回单元当对比校验得到用户脸部特征信息与判断模型中预存对应数据相匹配时,返回校验成功值;激活单元根据校验成功值,激活处于锁定状态的应用程序。In a preferred embodiment, the determination and activation module specifically includes a return unit (not shown in the figure) and an activation unit (not shown in the figure); the return unit obtains the user's facial feature information and the judgment model pre-stored When the corresponding data match, return the verification success value; the activation unit activates the application program in the locked state according to the verification success value.

例如,当对比校验得到用户脸部特征信息与判断模型中预存对应解锁用户的脸部特征信息数据相匹配时,返回一个校验成功值如“True”,随后,根据校验成功值为“True”,激活处于锁定状态的应用程序App1。For example, when the user's facial feature information obtained from the comparison check matches the facial feature information data of the corresponding unlocking user stored in the judgment model, a verification success value such as "True" is returned, and then, according to the verification success value, " True" to activate the locked application App1.

本技术领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable ProgrammableRead-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically ErasableProgrammable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art will appreciate that the present invention includes devices related to performing one or more of the operations described in this application. These devices may be specially designed and fabricated for the required purposes, or they may include known devices found in general purpose computers. These devices have computer programs stored therein that are selectively activated or reconfigured. Such a computer program can be stored in a device (e.g., computer) readable medium, including but not limited to any type of medium suitable for storing electronic instructions and respectively coupled to a bus. Types of disks (including floppy disks, hard disks, CDs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (eg, a computer).

本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。Those skilled in the art will understand that computer program instructions can be used to implement each block in these structural diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in these structural diagrams and/or block diagrams and/or flow diagrams . Those skilled in the art can understand that these computer program instructions can be provided to general-purpose computers, professional computers, or processors of other programmable data processing methods for implementation, so that the computer or processors of other programmable data processing methods can execute the present invention. A scheme specified in a block or blocks of a structure diagram and/or a block diagram and/or a flow diagram of the invention disclosure.

本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, and steps, measures, and schemes in the processes that have been discussed in the present invention can be replaced, changed, combined, or deleted. Furthermore, other steps, measures, and schemes in the various operations, methods, and processes that have been discussed in the present invention may also be replaced, changed, rearranged, decomposed, combined, or deleted. Further, steps, measures, and schemes in the prior art that have operations, methods, and processes disclosed in the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.

以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only part of the embodiments of the present invention. It should be pointed out that those skilled in the art can make some improvements and modifications without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.

Claims (10)

1. a kind of unlocking method of application program, which is characterized in that be in the lock state by the activation of security classes application program Any application program, including:
Based on the security classes application program, the recognition of face unlocking manner of any application program is set;
When detecting that user operates the activation trigger for any application program being in the lock state, start the security classes application Program pin is to the recognition of face unlocking function of any application program, to obtain the image information of terminal device screen front end;
Judge user's face area in described image information relative to the terminal device position whether in predetermined identification range It is interior;
When judge user's face area relative to the terminal device position in predetermined identification range when, obtain user Facial feature information;
User's facial feature information is inputted into pre-established judgment models and carries out comparison verification, however, it is determined that the user face When the corresponding data that prestores in characteristic information and the judgment models matches, the application program being in the lock state is activated.
2. according to the method described in claim 1, judging that user's face area is set relative to the terminal in described image information Standby position whether the step in predetermined identification range, including:
Judge whether the image information of terminal device screen front end includes the face data of user;
When judging that the image information of terminal device screen front end includes the face data of user, the user face is judged Region relative to the terminal device position whether in predetermined identification range.
3. according to the method described in claim 1, user's facial feature information is obtained, especially by least any one of following Face identification method is realized:
Face identification method based on geometric properties;
The face identification method of feature based face;
Face identification method based on neural network;
Face identification method based on elastic graph matching;
Face identification method based on support vector machines.
4. prestoring in user's facial feature information and the judgment models pair according to the method described in claim 1, determining Data match is answered, is realized especially by least following either type:
Recognizer based on human face characteristic point;
Recognizer based on whole picture facial image;
Recognizer based on template;
The algorithm being identified using neural network.
5. being carried out according to the method described in claim 1, user's facial feature information is inputted pre-established judgment models Comparison verification, however, it is determined that when the corresponding data that prestores in user's facial feature information and the judgment models matches, activation The application program being in the lock state, including:
When comparison, which verifies the corresponding data that obtains prestoring in user's facial feature information and judgment models, to match, school is returned to Test success value;
According to the verification success value, the application program being in the lock state is activated.
6. a kind of tripper of application program, which is characterized in that appointed by what security application activation was in the lock state One application program, including:
The recognition of face unlocking manner of any application program is arranged for being based on the security classes application program in setup module;
Detection and acquisition module, for detecting that user operates the activation trigger for any application program being in the lock state When, start the recognition of face unlocking function that the security classes application program is directed to any application program, is set with obtaining terminal The image information of standby screen front end;
Judgment module, for judge user's face area in described image information relative to the terminal device position whether In predetermined identification range;
Acquisition module, for when the position for judging user's face area relative to the terminal device is in predetermined identification range When interior, user's facial feature information is obtained;
Determining and active module, comparison school is carried out for user's facial feature information to be inputted pre-established judgment models It tests, however, it is determined that when the corresponding data that prestores in user's facial feature information and the judgment models matches, activation is in lock Determine the application program of state.
7. device according to claim 6, the judgment module specifically includes:
First judging unit, for judging whether the image information of terminal device screen front end includes face's number of user According to;
Second judgment unit judges the face data that the image information of terminal device screen front end includes user for working as When, judge user's face area relative to the terminal device position whether in predetermined identification range.
8. device according to claim 6 obtains user's facial feature information, especially by least any one of following Face identification method is realized:
Face identification method based on geometric properties;
The face identification method of feature based face;
Face identification method based on neural network;
Face identification method based on elastic graph matching;
Face identification method based on support vector machines.
9. device according to claim 6, determines and prestore in user's facial feature information and the judgment models pair Data match is answered, is realized especially by least following either type:
Recognizer based on human face characteristic point;
Recognizer based on whole picture facial image;
Recognizer based on template;
The algorithm being identified using neural network.
10. device according to claim 6, the determination and active module, including:
Returning unit, for obtaining user's facial feature information and the corresponding data phase that prestores in judgment models when comparison verification When matching, back-checking success value;
Unit is activated, for according to the verification success value, activating the application program being in the lock state.
CN201610094636.6A 2016-02-19 2016-02-19 The method and tripper of application program unlock Active CN105760736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610094636.6A CN105760736B (en) 2016-02-19 2016-02-19 The method and tripper of application program unlock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610094636.6A CN105760736B (en) 2016-02-19 2016-02-19 The method and tripper of application program unlock

Publications (2)

Publication Number Publication Date
CN105760736A CN105760736A (en) 2016-07-13
CN105760736B true CN105760736B (en) 2018-09-07

Family

ID=56330886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610094636.6A Active CN105760736B (en) 2016-02-19 2016-02-19 The method and tripper of application program unlock

Country Status (1)

Country Link
CN (1) CN105760736B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3640828A1 (en) * 2018-10-19 2020-04-22 Beijing Xiaomi Mobile Software Co., Ltd. Methods, mechanisms, and computer-readable storage media for unlocking applications on a mobile terminal with a sliding module

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254334A (en) * 2016-07-29 2016-12-21 捷开通讯(深圳)有限公司 A kind of network traffics method for limiting, system and mobile terminal
CN108875484B (en) * 2017-09-22 2022-06-10 北京旷视科技有限公司 Face unlocking method, device and system for mobile terminal and storage medium
CN107770042B (en) * 2017-09-22 2021-04-20 河源市美晨联合智能硬件电子研究院 Terminal and method and storage device for processing messages based on face recognition
CN107679384B (en) * 2017-10-11 2020-01-14 Oppo广东移动通信有限公司 Unlocking processing method and related equipment
CN107832670B (en) * 2017-10-11 2020-03-24 Oppo广东移动通信有限公司 Face recognition method and related product
CN107729836B (en) * 2017-10-11 2020-03-24 Oppo广东移动通信有限公司 Face recognition method and related product
CN107730364A (en) * 2017-10-31 2018-02-23 北京麒麟合盛网络技术有限公司 user identification method and device
KR20190053675A (en) * 2017-11-10 2019-05-20 삼성전자주식회사 Electronic apparatus and operating method thereof
CN109960912A (en) * 2017-12-23 2019-07-02 深圳阜时科技有限公司 Electronic equipment
CN109211228A (en) * 2018-06-30 2019-01-15 华安鑫创控股(北京)股份有限公司 A kind of intelligent Web inertial navigation method and Related product
CN109084758A (en) * 2018-06-30 2018-12-25 华安鑫创控股(北京)股份有限公司 A kind of inertial navigation method and Related product
CN110909315B (en) * 2018-09-12 2022-03-11 广汽埃安新能源汽车有限公司 Matlab-based encryption method and device for verification model of automobile anti-theft function
CN111241505A (en) * 2018-11-28 2020-06-05 深圳市帝迈生物技术有限公司 Terminal device, login verification method thereof and computer storage medium
CN110795710B (en) * 2019-11-01 2022-11-01 深圳传音控股股份有限公司 Unlocking method of electronic device, electronic device and computer-readable storage medium
CN112926039A (en) * 2021-04-08 2021-06-08 深圳市优服信息技术有限公司 Computing device management software with high safety

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393598A (en) * 2007-09-21 2009-03-25 希姆通信息技术(上海)有限公司 Starting and unblock method decided by human face identification by utilizing mobile phone cam
CN102722664A (en) * 2012-05-21 2012-10-10 北京百纳威尔科技有限公司 Unlocking method and device
CN103605459A (en) * 2013-11-27 2014-02-26 福州瑞芯微电子有限公司 Fast application launching method and fast application launching terminal
CN103617385A (en) * 2013-11-27 2014-03-05 福州瑞芯微电子有限公司 Terminal and method for unlocking screen
CN105335707A (en) * 2015-10-19 2016-02-17 广东欧珀移动通信有限公司 Method and apparatus for acquiring fingerprint image to be identified, and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393598A (en) * 2007-09-21 2009-03-25 希姆通信息技术(上海)有限公司 Starting and unblock method decided by human face identification by utilizing mobile phone cam
CN102722664A (en) * 2012-05-21 2012-10-10 北京百纳威尔科技有限公司 Unlocking method and device
CN103605459A (en) * 2013-11-27 2014-02-26 福州瑞芯微电子有限公司 Fast application launching method and fast application launching terminal
CN103617385A (en) * 2013-11-27 2014-03-05 福州瑞芯微电子有限公司 Terminal and method for unlocking screen
CN105335707A (en) * 2015-10-19 2016-02-17 广东欧珀移动通信有限公司 Method and apparatus for acquiring fingerprint image to be identified, and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于Android平台人脸识别系统的设计与实现";刘超;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130815(第08期);第I138-603页,第3章 *
"基于几何特征的人脸识别算法的研究";姜贺;《中国优秀硕士学位论文全文数据库 信息科技辑》;20090515(第05期);第I138-972页,第1章 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3640828A1 (en) * 2018-10-19 2020-04-22 Beijing Xiaomi Mobile Software Co., Ltd. Methods, mechanisms, and computer-readable storage media for unlocking applications on a mobile terminal with a sliding module
US11822632B2 (en) 2018-10-19 2023-11-21 Beijing Xiaomi Mobile Software Co., Ltd. Methods, mechanisms, and computer-readable storage media for unlocking applications on a mobile terminal with a sliding module

Also Published As

Publication number Publication date
CN105760736A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN105760736B (en) The method and tripper of application program unlock
JP6820062B2 (en) Identity authentication methods and devices, terminals and servers
EP3196801B1 (en) Face recognition method, device and computer readable storage medium
TWI452478B (en) Method and system to access a function on a system
CN105024986B (en) The methods, devices and systems that account number logs in
US10063541B2 (en) User authentication method and electronic device performing user authentication
CN103135792A (en) Method and device for terminal unlocking with gravity sensing principle
WO2018077087A1 (en) Service implementation method and apparatus
CN102137077A (en) Access control system and method for controlling access right by using computer system
CN108804006B (en) Unlocking method, device, device and storage medium for wearable device
TWI680687B (en) Communication method and device
CN105205380A (en) Unlocking method and device of mobile terminal
CN104156648A (en) Screen unlocking method and device
CN107145772B (en) Terminal equipment security control method and device and terminal equipment
CN105868611A (en) Biometric information authentication method, device and mobile terminal
CN104991716A (en) Method and device for unlocking a mobile terminal
CN104063643A (en) Intelligent terminal security authentication method and device based on time interval feature
CN105184135A (en) Fingerprint recognition method and fingerprint recognition system
CN109819114A (en) Screen locking processing method and processing device, electronic equipment and storage medium
US11178142B2 (en) Biometric data synchronization devices
CN107437016B (en) Application control method and related product
CN104407803A (en) Screen unlocking method and device based on handwriting recognition and electronic equipment
CN106897629A (en) The control method and terminal of terminal applies
CN107368722A (en) Biological image verification method, computer readable storage medium, mobile terminal
CN105611036A (en) Method, system and terminal for unlocking verification

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220714

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.