[go: up one dir, main page]

CN107463813A - State control method and related products - Google Patents

State control method and related products Download PDF

Info

Publication number
CN107463813A
CN107463813A CN201710569398.4A CN201710569398A CN107463813A CN 107463813 A CN107463813 A CN 107463813A CN 201710569398 A CN201710569398 A CN 201710569398A CN 107463813 A CN107463813 A CN 107463813A
Authority
CN
China
Prior art keywords
information
preset
user
matching
mobile terminal
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
CN201710569398.4A
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 CN201710569398.4A priority Critical patent/CN107463813A/en
Publication of CN107463813A publication Critical patent/CN107463813A/en
Priority to PCT/CN2018/091673 priority patent/WO2019011106A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The embodiment of the invention discloses a state control method and a related product. The method comprises the following steps: acquiring an acquisition strategy and a matching strategy corresponding to a preset scene where a mobile terminal is located; acquiring biological information of at least one user in the preset scene according to the acquisition strategy; and when the biological information of the at least one user is successfully matched with a preset template set according to the matching strategy, switching the current state into a use state matched with the preset scene. The embodiment of the invention is beneficial to improving the accuracy and the safety of the state switching of the mobile terminal in different scenes.

Description

状态控制方法及相关产品State control method and related products

技术领域technical field

本发明涉及移动终端技术领域,具体涉及状态控制方法及相关产品。The invention relates to the technical field of mobile terminals, in particular to a state control method and related products.

背景技术Background technique

随着智能手机的发展,越来越过的应用被安装在用户手机中,人们的衣食住行已经与手机密不可分,如阅读、支付、游戏、听音乐等等。With the development of smart phones, more and more applications are installed in users' mobile phones. People's basic necessities of life have become inseparable from mobile phones, such as reading, payment, games, listening to music and so on.

目前,智能手机的解锁处理、安全性认证等操作中,一般需要获取用户录入的数字密码信息或者指纹信息等进行识别处理,并在识别处理成功后执行对应的操作。At present, in operations such as unlocking processing and security authentication of smart phones, it is generally necessary to obtain digital password information or fingerprint information entered by the user for identification processing, and perform corresponding operations after the identification processing is successful.

发明内容Contents of the invention

本发明实施例提供了状态控制方法及相关产品,可以提高移动终端在不同场景中进行状态切换的准确度和安全性。Embodiments of the present invention provide a state control method and related products, which can improve the accuracy and security of state switching of a mobile terminal in different scenarios.

第一方面,本发明实施例提供一种移动终端,包括生物信息采集装置、处理器、存储器,所述生物信息采集装置连接所述处理器,所述处理器连接所述存储器,其中,In the first aspect, an embodiment of the present invention provides a mobile terminal, including a biological information collection device, a processor, and a memory, the biological information collection device is connected to the processor, and the processor is connected to the memory, wherein,

所述处理器,用于获取移动终端所处的预设场景对应的采集策略和匹配策略;The processor is configured to acquire a collection strategy and a matching strategy corresponding to a preset scene where the mobile terminal is located;

所述生物信息采集装置,用于根据所述采集策略采集所述预设场景中的至少一个用户的生物信息;The biological information collection device is configured to collect biological information of at least one user in the preset scene according to the collection strategy;

所述处理器,还用于根据所述匹配策略将所述至少一个用户的生物信息与所述存储器中的预设模板集合匹配成功时,由当前状态切换为与所述预设场景匹配的使用状态。The processor is further configured to switch from the current state to the use of matching the preset scene when the biological information of the at least one user is successfully matched with the preset template set in the memory according to the matching strategy. state.

第二方面,本发明实施例提供一种状态控制方法,包括:In a second aspect, an embodiment of the present invention provides a state control method, including:

获取移动终端所处的预设场景对应的采集策略和匹配策略;Obtaining a collection strategy and a matching strategy corresponding to a preset scene where the mobile terminal is located;

根据上述采集策略采集上述预设场景中的至少一个用户的生物信息;Collect biological information of at least one user in the preset scene according to the above collection strategy;

根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与上述预设场景匹配的使用状态。When the biological information of the at least one user is successfully matched with the preset template set according to the matching strategy, the current state is switched to the use state matching the preset scene.

第三方面,本发明实施例提供一种移动终端,包括处理单元和采集单元,In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processing unit and a collection unit,

所述处理单元,用于通过所述采集单元获取移动终端所处的预设场景对应的采集策略和匹配策略;The processing unit is configured to obtain the collection strategy and matching strategy corresponding to the preset scene where the mobile terminal is located through the collection unit;

所述采集单元,用于根据所述采集策略采集所述预设场景中的至少一个用户的生物信息;The collection unit is configured to collect biological information of at least one user in the preset scene according to the collection strategy;

所述处理单元,还用于根据所述匹配策略将所述至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与所述预设场景匹配的使用状态。The processing unit is further configured to switch from the current state to a use state matching the preset scene when the biological information of the at least one user is successfully matched with the preset template set according to the matching strategy.

第四方面,本发明实施例提供一种移动终端,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本发明实施例第二方面任一方法中的步骤的指令。In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be processed by the above The above program includes instructions for executing the steps in any method of the second aspect of the embodiments of the present invention.

第五方面,本发明实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本发明实施例第二方面任一方法中所描述的部分或全部步骤,上述计算机包括移动终端。In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute the computer program as described in the first embodiment of the present invention. For some or all of the steps described in any method of the second aspect, the above-mentioned computer includes a mobile terminal.

第六方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括移动终端。In a sixth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the computer program as implemented in the present invention. For example, some or all of the steps described in any method of the second aspect. The computer program product may be a software installation package, and the above-mentioned computer includes a mobile terminal.

可以看出,本发明实施例中,移动终端首先获取所处的预设场景对应的采集策略和匹配策略,其次,根据采集策略采集预设场景中的至少一个用户的生物信息,最后,根据匹配策略将至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与预设场景匹配的使用状态。可见,移动终端能够根据当前所处场景灵活调整生物信息的采集策略和匹配策略,避免始终采用单一生物信息的采集模式和匹配模式而使能很好的适配当前场景的情况发生,有利于提高移动终端在不同场景中进行状态切换的准确度和安全性。It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires the collection policy and matching policy corresponding to the preset scene it is in, and secondly, collects the biological information of at least one user in the preset scene according to the collection policy, and finally, according to the matching When the policy successfully matches at least one user's biological information with the preset template set, the current state is switched to the use state matching the preset scene. It can be seen that the mobile terminal can flexibly adjust the collection strategy and matching strategy of biological information according to the current scene, avoiding the situation that a single collection mode and matching mode of biological information are always used to make a good adaptation to the current scene, which is conducive to improving The accuracy and security of mobile terminal state switching in different scenarios.

附图说明Description of drawings

下面将对本发明实施例所涉及到的附图作简单地介绍。The accompanying drawings involved in the embodiments of the present invention will be briefly introduced below.

图1是本发明实施例提供的一种示例智能手机的架构示意图;FIG. 1 is a schematic structural diagram of an example smart phone provided by an embodiment of the present invention;

图2是本发明实施例提供的一种状态控制方法的流程示意图;FIG. 2 is a schematic flowchart of a state control method provided by an embodiment of the present invention;

图3是本发明实施例公开的一种状态控制方法的流程示意图;Fig. 3 is a schematic flowchart of a state control method disclosed in an embodiment of the present invention;

图4是本发明实施例公开的一种状态控制方法的流程示意图;Fig. 4 is a schematic flowchart of a state control method disclosed in an embodiment of the present invention;

图5发明实施例公开的一种移动终端的结构示意图;Fig. 5 is a schematic structural diagram of a mobile terminal disclosed by an embodiment of the invention;

图6是本发明实施例公开的一种移动终端的功能单元组成框图。Fig. 6 is a block diagram of functional units of a mobile terminal disclosed in an embodiment of the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

本发明实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminaldevice)等等。为方便描述,上面提到的设备统称为移动终端。The mobile terminals involved in the embodiments of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as mobile terminals.

本发明实施例所描述的移动终端设置有生物信息采集装置,该生物信息采集装置具体包括指纹信息采集装置、虹膜信息采集装置和面部信息采集装置,其中,指纹信息采集装置可以是指纹传感器模组、虹膜信息采集装置可以包括红外光源和虹膜摄像头,面部信息采集装置可以是通用摄像头模组,如前置摄像头。下面结合附图对本发明实施例进行介绍。The mobile terminal described in the embodiment of the present invention is provided with a biological information collection device, and the biological information collection device specifically includes a fingerprint information collection device, an iris information collection device, and a facial information collection device, wherein the fingerprint information collection device may be a fingerprint sensor module 1. The iris information collection device may include an infrared light source and an iris camera, and the facial information collection device may be a general camera module, such as a front camera. Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

请参阅图1,图1是本发明实施例提供了一种移动终端100的结构示意图,上述移动终端100包括:壳体、触控显示屏、主板、电池和副板,主板上设置有红外光源21、虹膜摄像头22、前置摄像头23、处理器110、存储器120和SIM卡槽等,副板上设置有振子、一体音腔、VOOC闪充接口和指纹模组24,上述红外光源21和虹膜摄像头22组成该移动终端100的虹膜信息采集装置,上述前置摄像头23组成该移动终端100的面部信息采集装置,上述指纹传感器模组24组成该移动终端100的指纹信息采集装置,上述虹膜信息采集装置、面部信息采集装置和指纹信息采集装置统称为该移动终端100的生物信息采集装置,其中,Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a mobile terminal 100 provided by an embodiment of the present invention. The above-mentioned mobile terminal 100 includes: a housing, a touch display screen, a main board, a battery and a sub-board, and an infrared light source is arranged on the main board. 21. Iris camera 22, front camera 23, processor 110, memory 120, SIM card slot, etc., the sub-board is provided with a vibrator, integrated sound cavity, VOOC flash charging interface and fingerprint module 24, the above-mentioned infrared light source 21 and iris The camera 22 forms the iris information collection device of the mobile terminal 100, the above-mentioned front camera 23 forms the facial information collection device of the mobile terminal 100, the fingerprint sensor module 24 forms the fingerprint information collection device of the mobile terminal 100, and the iris information collection device, facial information collection device and fingerprint information collection device are collectively referred to as the biological information collection device of the mobile terminal 100, wherein,

所述处理器110,用于获取移动终端所处的预设场景对应的采集策略和匹配策略。The processor 110 is configured to obtain a collection strategy and a matching strategy corresponding to a preset scene where the mobile terminal is located.

所述生物信息采集装置,用于根据所述采集策略采集所述预设场景中的至少一个用户的生物信息。The biological information collection device is configured to collect biological information of at least one user in the preset scene according to the collection strategy.

其中,生物信息采集装置为虹膜信息采集装置时,红外光源21用于发射红外光线照射用户的虹膜形成反射光线,虹膜摄像头22用于采集反射光线形成虹膜图像,处理器110获取该虹膜图像后,针对该虹膜图像执行虹膜图像质量评估、虹膜区域定位(包含粗定位和精定位)、虹膜预处理、虹膜特征点提取、虹膜模板生成等处理过程,生成的虹膜模板即上述生物信息。Wherein, when the biological information collection device is an iris information collection device, the infrared light source 21 is used to emit infrared light to irradiate the user's iris to form reflected light, and the iris camera 22 is used to collect the reflected light to form an iris image, and after the processor 110 acquires the iris image, For the iris image, perform iris image quality assessment, iris area positioning (including rough positioning and fine positioning), iris preprocessing, iris feature point extraction, iris template generation and other processing processes, and the generated iris template is the above-mentioned biological information.

其中,生物信息采集装置为面部信息采集装置时,前置摄像头23用于采集用户的面部图像,处理器110获取该面部图像后,针对该面部图像进行预处理,提取面部特征点形成面部模板,该面部模板即上述生物信息。Wherein, when the biological information collection device is a facial information collection device, the front camera 23 is used to collect the facial image of the user, and after the processor 110 obtains the facial image, preprocessing is performed on the facial image, and facial feature points are extracted to form a facial template. The facial template is the above-mentioned biological information.

其中,生物信息采集装置为指纹信息采集装置时,指纹模组24采集用户的指纹图像,处理器110获取该指纹图像后,针对该指纹图像进行预处理,提取指纹特征点形成指纹模板,该指纹模板即上述生物信息。Wherein, when the biometric information collection device is a fingerprint information collection device, the fingerprint module 24 collects the fingerprint image of the user, and after the processor 110 obtains the fingerprint image, preprocessing is performed on the fingerprint image, and fingerprint feature points are extracted to form a fingerprint template. The template is the biological information mentioned above.

所述处理器110,还用于根据所述匹配策略将所述至少一个用户的生物信息与所述存储器中的预设模板集合匹配成功时,由当前状态切换为与所述预设场景匹配的使用状态。The processor 110 is further configured to switch from the current state to one that matches the preset scene when the biological information of the at least one user is successfully matched with the preset template set in the memory according to the matching strategy. status of use.

可以看出,本发明实施例中,移动终端首先获取所处的预设场景对应的采集策略和匹配策略,其次,根据采集策略采集预设场景中的至少一个用户的生物信息,最后,根据匹配策略将至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与预设场景匹配的使用状态。可见,移动终端能够根据当前所处场景灵活调整生物信息的采集策略和匹配策略,避免始终采用单一生物信息的采集模式和匹配模式而使能很好的适配当前场景的情况发生,有利于提高移动终端在不同场景中进行状态切换的准确度和安全性。It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires the collection policy and matching policy corresponding to the preset scene it is in, and secondly, collects the biological information of at least one user in the preset scene according to the collection policy, and finally, according to the matching When the policy successfully matches at least one user's biological information with the preset template set, the current state is switched to the use state matching the preset scene. It can be seen that the mobile terminal can flexibly adjust the collection strategy and matching strategy of biological information according to the current scene, avoiding the situation that a single collection mode and matching mode of biological information are always used to make a good adaptation to the current scene, which is conducive to improving The accuracy and security of mobile terminal state switching in different scenarios.

在一个可能的示例中,所述预设场景关联多个注册用户,所述生物信息为面部信息,所述预设模板集合包含所述多个注册用户的面部信息模板;在所述根据所述采集策略采集所述预设场景中的至少一个用户的生物信息方面,所述生物信息采集装置具体用于:将当前的预览图像发送给所述处理器,所述当前的预览图像用于所述处理器在检测到所述当前的预览图像包含与预设图像匹配的参考图像时,在所述存储器中缓存所述预览图像,并提取所述预览图像中包含的至少一个用户的面部信息。In a possible example, the preset scene is associated with multiple registered users, the biological information is facial information, and the preset template set includes the facial information templates of the multiple registered users; The collection strategy collects biological information of at least one user in the preset scene, and the biological information collection device is specifically configured to: send the current preview image to the processor, and the current preview image is used for the When the processor detects that the current preview image contains a reference image matching the preset image, it caches the preview image in the memory, and extracts facial information of at least one user included in the preview image.

在一个可能的示例中,在所述根据所述匹配策略将所述至少一个用户的生物信息与所述存储器中的预设模板集合匹配成功方面,所述处理器110具体用于:并行的将所述至少一个用户的生物信息中的每个用户的生物信息与所述预设模板集合的面部信息模板进行匹配;以及在检测到所述至少一个用户中任意一个用户的生物信息与所述存储器中的所述预设模板集合的面部信息模板匹配时,确定匹配成功。In a possible example, in terms of successfully matching the biological information of the at least one user with the preset template set in the memory according to the matching strategy, the processor 110 is specifically configured to: The biological information of each user in the biological information of the at least one user is matched with the facial information template of the preset template set; and when the biological information of any user in the at least one user is detected and the memory When the facial information templates in the preset template set match, it is determined that the matching is successful.

在一个可能的示例中,所述预设场景关联单个注册用户,所述生物信息为虹膜信息,所述预设模板集合包含所述单个注册用户的虹膜信息模板;在所述根据所述采集策略采集所述预设场景中的至少一个用户的生物信息方面,所述生物信息采集装置具体用于:在检测到当前的预览图像包含与人眼图像匹配的参考图像时,缓存所述预览图像;以及提取所述预览图像中包含的至少一个人眼的虹膜信息。In a possible example, the preset scene is associated with a single registered user, the biological information is iris information, and the preset template set includes the iris information template of the single registered user; In terms of collecting biological information of at least one user in the preset scene, the biological information collection device is specifically configured to: cache the preview image when it is detected that the current preview image contains a reference image matching the human eye image; And extract iris information of at least one human eye included in the preview image.

在一个可能的示例中,在所述根据所述匹配策略将所述至少一个用户的生物信息与所述存储器中的预设模板集合匹配成功方面,所述处理器110具体用于:并行的将所述至少一个人眼的虹膜信息中的每只人眼的虹膜信息与所述预设模板集合的虹膜信息模板进行匹配;以及在检测到所述至少一个人眼中任意一个人眼的虹膜信息与所述存储器中的所述预设模板集合的虹膜信息模板匹配时,确定匹配成功。In a possible example, in terms of successfully matching the biological information of the at least one user with the preset template set in the memory according to the matching strategy, the processor 110 is specifically configured to: The iris information of each human eye in the iris information of the at least one human eye is matched with the iris information template of the preset template set; and when the iris information of any one human eye in the at least one human eye is detected and When the iris information templates of the preset template set in the memory match, it is determined that the matching is successful.

在一个可能的示例中,在所述由当前状态切换为与所述预设场景匹配的使用状态方面,所述处理器110具体用于:将所述移动终端的操作系统由锁屏状态切换为解锁状态;或者,将所述移动终端的预设应用或预设功能由启用状态切换为关闭状态或禁用状态。In a possible example, in terms of switching from the current state to the use state matching the preset scene, the processor 110 is specifically configured to: switch the operating system of the mobile terminal from the lock screen state to an unlocked state; or, switching the preset application or preset function of the mobile terminal from the enabled state to the closed state or the disabled state.

在一个可能的示例中,所述处理器110在获取移动终端所处的预设场景对应的生物信息采集策略和匹配策略之前,还用于在检测到所述系统状态信息与预设系统状态信息匹配时,确定移动终端处于预设场景。In a possible example, before the processor 110 obtains the biometric information collection policy and matching policy corresponding to the preset scene where the mobile terminal is located, it is further configured to detect that the system state information and the preset system state information When matching, it is determined that the mobile terminal is in a preset scene.

请参阅图2,图2是本发明实施例提供了一种状态控制方法的流程示意图,如图所示,本状态控制方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a state control method provided by an embodiment of the present invention. As shown in the figure, the state control method includes:

S201,移动终端获取移动终端所处的预设场景对应的采集策略和匹配策略。S201. The mobile terminal acquires a collection strategy and a matching strategy corresponding to a preset scene where the mobile terminal is located.

其中,预设场景包括关联多个注册用户的预设场景和关联单个注册用户的预设场景,该关联多个注册用户的预设场景例如可以是视频场景、游戏场景等,该单个注册用户关联的预设场景例如可以是聊天场景、支付场景等。Wherein, the preset scene includes a preset scene associated with multiple registered users and a preset scene associated with a single registered user. The preset scene associated with multiple registered users can be, for example, a video scene, a game scene, etc. The preset scene of , for example, can be a chat scene, a payment scene, and the like.

其中,每种场景对应的采集策略和匹配策略可以由系统设定或用户设置,此处不做限定。举例来说,针对视频场景,可以预设该场景对应的采集策略为通过摄像头模组在检测到当前的预览图像包含用户的眼镜图像时,缓存该图像,并提取该预览图像中包含的至少一个用户的面部图像。Wherein, the acquisition strategy and matching strategy corresponding to each scenario may be set by the system or by the user, and are not limited here. For example, for a video scene, the acquisition strategy corresponding to the scene can be preset to cache the image when the camera module detects that the current preview image contains the user's glasses image, and extract at least one of the images contained in the preview image. User's facial image.

S202,上述移动终端根据上述采集策略采集上述预设场景中的至少一个用户的生物信息。S202. The above-mentioned mobile terminal collects biological information of at least one user in the above-mentioned preset scene according to the above-mentioned collection policy.

其中,生物信息包含虹膜信息和/或面部信息,虹膜信息为虹膜图像中的特征点数据,面部信息为面部图像中的特征点数据。Wherein, the biological information includes iris information and/or face information, iris information is feature point data in the iris image, and face information is feature point data in the face image.

S203,上述移动终端根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与上述预设场景匹配的使用状态。S203. When the mobile terminal successfully matches the biological information of the at least one user with the preset template set according to the matching strategy, switch from the current state to a use state matching the preset scene.

可以看出,本发明实施例中,移动终端首先获取所处的预设场景对应的采集策略和匹配策略,其次,根据采集策略采集预设场景中的至少一个用户的生物信息,最后,根据匹配策略将至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与预设场景匹配的使用状态。可见,移动终端能够根据当前所处场景灵活调整生物信息的采集策略和匹配策略,避免始终采用单一生物信息的采集模式和匹配模式而使能很好的适配当前场景的情况发生,有利于提高移动终端在不同场景中进行状态切换的准确度和安全性。It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires the collection policy and matching policy corresponding to the preset scene it is in, and secondly, collects the biological information of at least one user in the preset scene according to the collection policy, and finally, according to the matching When the policy successfully matches at least one user's biological information with the preset template set, the current state is switched to the use state matching the preset scene. It can be seen that the mobile terminal can flexibly adjust the collection strategy and matching strategy of biological information according to the current scene, avoiding the situation that a single collection mode and matching mode of biological information are always used to make a good adaptation to the current scene, which is conducive to improving The accuracy and security of mobile terminal state switching in different scenarios.

在一个可能的示例中,上述预设场景关联多个注册用户,上述生物信息为面部信息,上述预设模板集合包含上述多个注册用户的面部信息模板;上述移动终端根据上述采集策略采集上述预设场景中的至少一个用户的生物信息,包括:移动终端在检测到当前的预览图像包含与预设图像匹配的参考图像时,缓存所述预览图像;移动终端提取上述预览图像中包含的至少一个用户的面部信息。In a possible example, the above-mentioned preset scene is associated with multiple registered users, the above-mentioned biological information is facial information, and the above-mentioned preset template set includes the facial information templates of the above-mentioned multiple registered users; the above-mentioned mobile terminal collects the above-mentioned preset The biological information of at least one user in the scene includes: the mobile terminal caches the preview image when it detects that the current preview image contains a reference image matching the preset image; the mobile terminal extracts at least one of the preview images contained in the above preview image User's facial information.

其中,该预设图像包括:上述多个注册用户关联的特征图像,该特征图像例如可以是上述多个注册用户中某个注册用户的眼镜或镜框图像、上述多个注册用户中某个注册用户的耳环图像等,此处不做唯一限定。Wherein, the preset image includes: characteristic images associated with the above-mentioned multiple registered users. Earring images, etc., are not limited here.

可见,本示例中,移动终端能够通过局部特征图像快速模式匹配,尽快确定并缓存预览图像后,提取预览图像包含的至少一个用户的面部信息,如此可以尽可能准确快速的获取用户的面部信息,提高面部信息采集效率和准确度。It can be seen that in this example, the mobile terminal can quickly determine and cache the preview image through local feature image fast pattern matching, and extract at least one user's facial information contained in the preview image, so that the user's facial information can be obtained as accurately and quickly as possible. Improve the efficiency and accuracy of facial information collection.

在本可能的示例中,上述移动终端根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功,包括:移动终端并行的将上述至少一个用户的生物信息中的每个用户的生物信息与上述预设模板集合的面部信息模板进行匹配;移动终端在检测到上述至少一个用户中任意一个用户的生物信息与上述预设模板集合的面部信息模板匹配时,确定匹配成功。In this possible example, the above-mentioned mobile terminal successfully matches the above-mentioned at least one user's biological information with the preset template set according to the above-mentioned matching strategy, including: the mobile terminal parallelly matches each user's biological information of the above-mentioned at least one user The biological information is matched with the facial information template of the preset template set; when the mobile terminal detects that the biological information of any one of the at least one user matches the facial information template of the preset template set, it determines that the matching is successful.

其中,上述并行的每个用户的生物信息的匹配过程可以相同,也可以不同,此处不做限定。Wherein, the above parallel matching process of each user's biometric information may be the same or different, which is not limited here.

可见,本示例中,由于关联多注册用户的预设场景一般安全性要求不是非常高,如游戏场景或视频场景,故而移动终端可以通过并行多个用户的面部信息的匹配过程,并只要在有一个用户的面部信息匹配成功时,即确定匹配成功,如此有利于提高移动终端在关联多注册用户的预设场景中进行状态切换的效率。It can be seen that in this example, since the preset scenes associated with multiple registered users generally do not have very high security requirements, such as game scenes or video scenes, the mobile terminal can match the facial information of multiple users in parallel, and as long as there are When the facial information of a user is successfully matched, it is determined that the matching is successful, which is beneficial to improving the efficiency of the mobile terminal switching states in the preset scene associated with multiple registered users.

在一个可能的示例中,上述预设场景关联单个注册用户,上述生物信息为虹膜信息,上述预设模板集合包含上述单个注册用户的虹膜信息模板;上述移动终端根据上述采集策略采集上述预设场景中的至少一个用户的生物信息,包括:移动终端在检测到当前的预览图像包含与人眼图像匹配的参考图像时,缓存所述预览图像;移动终端提取上述预览图像中包含的至少一个人眼的虹膜信息。In a possible example, the above-mentioned preset scene is associated with a single registered user, the above-mentioned biological information is iris information, and the above-mentioned preset template set includes the iris information template of the above-mentioned single registered user; the above-mentioned mobile terminal collects the above-mentioned preset scene according to the above-mentioned acquisition strategy The biological information of at least one user in the above includes: when the mobile terminal detects that the current preview image contains a reference image matching the human eye image, it caches the preview image; the mobile terminal extracts at least one human eye image contained in the preview image iris information.

其中,上述人眼图像可以是注册用户或任意用户的人眼图像,这里是为了快速模糊匹配出当前预览图像包含人脸图像。Wherein, the above-mentioned human eye image may be the human eye image of a registered user or any user, and here is for quickly fuzzy matching to find out that the current preview image contains a human face image.

可见,本示例中,移动终端能够通过快速局部特征图像模式匹配,快速确定并缓存预览图像,提取预览图像包含的用户的人眼的虹膜信息,如此可以尽可能准确快速的获取用户的虹膜信息,提高虹膜信息采集效率和准确度。It can be seen that in this example, the mobile terminal can quickly determine and cache the preview image through fast local feature image pattern matching, and extract the user's iris information contained in the preview image, so that the user's iris information can be obtained as accurately and quickly as possible. Improve the efficiency and accuracy of iris information collection.

在本可能的示例中,上述移动终端根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功,包括:移动终端并行的将上述至少一个人眼的虹膜信息中的每只人眼的虹膜信息与上述预设模板集合的虹膜信息模板进行匹配;移动终端在检测到上述至少一个人眼中任意一个人眼的虹膜信息与上述预设模板集合的虹膜信息模板匹配时,确定匹配成功。In this possible example, the above-mentioned mobile terminal successfully matches the above-mentioned at least one user's biological information with the preset template set according to the above-mentioned matching strategy. The iris information of the eye is matched with the iris information template of the above-mentioned preset template set; when the mobile terminal detects that the iris information of any one of the above-mentioned at least one human eye matches the iris information template of the above-mentioned preset template set, it determines that the matching is successful .

其中,上述任意一个人眼的虹膜信息的匹配过程可以相同,也可以不同,此处不做限定。Wherein, the matching process of the iris information of any one of the above human eyes may be the same or different, which is not limited here.

可见,本示例中,由于关联单个注册用户的预设场景一般隐私性、安全性要求较高,如支付场景或聊天场景,故而移动终端可以通过匹配虹膜信息来保证安全性,同时通过并行多个人眼的虹膜信息的匹配过程,并只要在有一个人眼的虹膜信息匹配成功时,即确定匹配成功,如此有利于提高移动终端在关联单个注册用户的预设场景中进行状态切换的效率。It can be seen that in this example, since the preset scenarios associated with a single registered user generally have high privacy and security requirements, such as payment scenarios or chat scenarios, the mobile terminal can ensure security by matching iris information. The matching process of the iris information of the human eye, and as long as the iris information of one human eye is successfully matched, it is determined that the matching is successful, which is conducive to improving the efficiency of the mobile terminal in the preset scene associated with a single registered user.

在一个可能的示例中,上述移动终端由当前状态切换为与上述预设场景匹配的使用状态,包括:移动终端将操作系统由锁屏状态切换为解锁状态;或者,移动终端将预设应用或预设功能由启用状态切换为关闭状态或禁用状态。In a possible example, the above-mentioned mobile terminal is switched from the current state to the use state matching the above-mentioned preset scene, including: the mobile terminal switches the operating system from the locked screen state to the unlocked state; or, the mobile terminal switches the preset application or The preset function is switched from enabled to off or disabled.

其中,上述由锁屏状态切换为解锁状态,不仅适用于熄屏解锁,也适用于亮屏解锁,也就是说,移动终端在熄屏锁屏状态下,也能够触发前述步骤S201和S202的处理过程,故而本状态控制方法不仅适用于亮屏状态,还适用于熄屏锁屏状态。Wherein, the above-mentioned switching from the locked screen state to the unlocked state is not only applicable to unlocking with the screen off, but also applicable to unlocking with the screen on. That is to say, the mobile terminal can also trigger the processing of the aforementioned steps S201 and S202 when the screen is off and locked. process, so this state control method is not only applicable to the on-screen state, but also applicable to the off-screen and locked-screen state.

其中,上述预设应用例如可以是安全性要求较高的应用,如支付宝等,上述功能可以是系统功能或者应用中的具体功能,当为应用中的具体功能时,移动终端通过本方法能够实现对应用的具体功能的精细化控制,如针对微信的支付功能,在某些安全性等级较低的场景中,移动终端可以将该支付功能切换为禁用状态等。Wherein, the above-mentioned preset application can be, for example, an application with high security requirements, such as Alipay, etc., and the above-mentioned function can be a system function or a specific function in the application. When it is a specific function in the application, the mobile terminal can realize it through this method. Fine-grained control of the specific functions of the application, such as the payment function for WeChat, in some scenarios with low security levels, the mobile terminal can switch the payment function to a disabled state, etc.

可见,本示例中,通过使用状态切换,移动终端能够对系统状态、应用启用状态、应用中的具体功能的使用状态进行智能控制,有利于提高移动终端的智能化水平和精细化管理效率。It can be seen that, in this example, by switching the use state, the mobile terminal can intelligently control the system state, application activation state, and use state of specific functions in the application, which is conducive to improving the intelligence level and refined management efficiency of the mobile terminal.

在一个可能的示例中,上述获取移动终端所处的预设场景对应的生物信息采集策略和匹配策略之前,上述方法还包括:移动终端在检测到系统状态信息与预设系统状态信息匹配时,确定移动终端处于预设场景。In a possible example, before acquiring the biological information collection policy and matching policy corresponding to the preset scene where the mobile terminal is located, the above method further includes: when the mobile terminal detects that the system status information matches the preset system status information, It is determined that the mobile terminal is in a preset scene.

其中,上述系统状态信息包括以下至少一种:系统信息和环境信息,上述系统信息包括以下至少一种:时间信息、位置信息、显示屏亮度、可用电量、移动速度,上述环境信息包括上述当前场景的环境光亮度、上述当前场景的环境音强度。Wherein, the above-mentioned system state information includes at least one of the following: system information and environment information, the above-mentioned system information includes at least one of the following: time information, location information, brightness of the display screen, available power, and moving speed, and the above-mentioned environment information includes the above-mentioned current scene The brightness of the ambient light and the ambient sound intensity of the above-mentioned current scene.

可见,本示例中,移动终端通过对内部和/外部的状态信息识别处理,能够准确确定当前所处的场景,有利于提高移动终端进行场景确定的准确度。It can be seen that in this example, the mobile terminal can accurately determine the current scene by identifying and processing internal and/or external state information, which is beneficial to improving the accuracy of scene determination by the mobile terminal.

与上述图2所示的实施例一致的,请参阅图3,图3是本发明实施例提供的一种状态控制方法的流程示意图。如图所示,本状态控制方法包括:Consistent with the above embodiment shown in FIG. 2 , please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a state control method provided by an embodiment of the present invention. As shown in the figure, the state control method includes:

S301,移动终端获取移动终端所处的预设场景对应的采集策略和匹配策略。S301. The mobile terminal acquires a collection policy and a matching policy corresponding to a preset scene where the mobile terminal is located.

其中,上述预设场景关联多个注册用户,生物信息为面部信息,预设模板集合包含多个注册用户的面部信息模板;Wherein, the above preset scene is associated with multiple registered users, the biological information is facial information, and the preset template set includes facial information templates of multiple registered users;

S302,上述移动终端在检测到当前的预览图像包含与预设图像匹配的参考图像时,缓存所述预览图像。S302. When the mobile terminal detects that the current preview image includes a reference image matching a preset image, cache the preview image.

S303,上述移动终端提取上述预览图像中包含的至少一个用户的面部信息。S303. The mobile terminal extracts facial information of at least one user included in the preview image.

S304,上述移动终端并行的将上述至少一个用户的生物信息中的每个用户的生物信息与上述预设模板集合的面部信息模板进行匹配。S304. The mobile terminal matches the biological information of each user in the biological information of the at least one user with the face information template of the preset template set in parallel.

S304,上述移动终端在检测到上述至少一个用户中任意一个用户的生物信息与上述预设模板集合的面部信息模板匹配时,确定匹配成功。S304. When the mobile terminal detects that the biological information of any one of the at least one user matches the face information template of the preset template set, determine that the matching is successful.

可以看出,本发明实施例中,移动终端首先获取所处的预设场景对应的采集策略和匹配策略,其次,根据采集策略采集预设场景中的至少一个用户的生物信息,最后,根据匹配策略将至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与预设场景匹配的使用状态。可见,移动终端能够根据当前所处场景灵活调整生物信息的采集策略和匹配策略,避免始终采用单一生物信息的采集模式和匹配模式而使能很好的适配当前场景的情况发生,有利于提高移动终端在不同场景中进行状态切换的准确度和安全性。It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires the collection policy and matching policy corresponding to the preset scene it is in, and secondly, collects the biological information of at least one user in the preset scene according to the collection policy, and finally, according to the matching When the policy successfully matches at least one user's biological information with the preset template set, the current state is switched to the use state matching the preset scene. It can be seen that the mobile terminal can flexibly adjust the collection strategy and matching strategy of biological information according to the current scene, avoiding the situation that a single collection mode and matching mode of biological information are always used to make a good adaptation to the current scene, which is conducive to improving The accuracy and security of mobile terminal state switching in different scenarios.

此外,移动终端能够通过局部特征图像快速模式匹配,尽快确定并缓存预览图像后,提取预览图像包含的至少一个用户的面部信息,如此可以尽可能准确快速的获取用户的面部信息,提高面部信息采集效率和准确度。In addition, the mobile terminal can quickly determine and cache the preview image through local feature image fast pattern matching, and then extract at least one user's facial information contained in the preview image, so that the user's facial information can be obtained as accurately and quickly as possible, and facial information collection can be improved. efficiency and accuracy.

此外,由于关联多注册用户的预设场景一般安全性要求不是非常高,如游戏场景或视频场景,故而移动终端可以通过并行多个用户的生物信息的匹配过程,并只要在有一个用户的生物信息匹配成功时,即确定匹配成功,如此有利于提高移动终端在关联多注册用户的预设场景中进行状态切换的效率。In addition, since the preset scenes associated with multiple registered users generally do not have very high security requirements, such as game scenes or video scenes, the mobile terminal can pass the matching process of biometric information of multiple users in parallel, and as long as there is one user's biometric information When the information is successfully matched, it is determined that the matching is successful, which is beneficial to improving the efficiency of the mobile terminal performing state switching in a preset scene associated with multiple registered users.

与上述图2所示的实施例一致的,请参阅图4,图4是本发明实施例提供的一种状态控制方法的流程示意图。如图所示,本状态控制方法包括:Consistent with the above embodiment shown in FIG. 2 , please refer to FIG. 4 , which is a schematic flowchart of a state control method provided by an embodiment of the present invention. As shown in the figure, the state control method includes:

S401,移动终端获取移动终端所处的预设场景对应的采集策略和匹配策略。S401. The mobile terminal acquires a collection policy and a matching policy corresponding to a preset scene where the mobile terminal is located.

其中,上述预设场景关联单个注册用户,生物信息为虹膜信息,预设模板集合包含上述单个注册用户的虹膜信息模板。Wherein, the above-mentioned preset scene is associated with a single registered user, the biometric information is iris information, and the preset template set includes the iris information template of the above-mentioned single registered user.

S402,上述移动终端在检测到当前的预览图像包含与人眼图像匹配的参考图像时,缓存所述预览图像。S402. When the mobile terminal detects that the current preview image includes a reference image matching the human eye image, cache the preview image.

S403,上述移动终端提取上述预览图像中包含的至少一个人眼的虹膜信息。S403. The mobile terminal extracts iris information of at least one human eye included in the preview image.

S404,上述移动终端并行的将上述至少一个人眼的虹膜信息中的每只人眼的虹膜信息与上述预设模板集合的虹膜信息模板进行匹配。S404, the mobile terminal parallelly matches the iris information of each human eye in the iris information of the at least one human eye with the iris information template of the preset template set.

S405,上述移动终端在检测到上述至少一个人眼中任意一个人眼的虹膜信息与上述预设模板集合的虹膜信息模板匹配时,确定匹配成功。S405. When the mobile terminal detects that the iris information of any one of the at least one human eye matches the iris information template of the preset template set, determine that the matching is successful.

可以看出,本发明实施例中,移动终端首先获取所处的预设场景对应的采集策略和匹配策略,其次,根据采集策略采集预设场景中的至少一个用户的生物信息,最后,根据匹配策略将至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与预设场景匹配的使用状态。可见,移动终端能够根据当前所处场景灵活调整生物信息的采集策略和匹配策略,避免始终采用单一生物信息的采集模式和匹配模式而使能很好的适配当前场景的情况发生,有利于提高移动终端在不同场景中进行状态切换的准确度和安全性。It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires the collection policy and matching policy corresponding to the preset scene it is in, and secondly, collects the biological information of at least one user in the preset scene according to the collection policy, and finally, according to the matching When the policy successfully matches at least one user's biological information with the preset template set, the current state is switched to the use state matching the preset scene. It can be seen that the mobile terminal can flexibly adjust the collection strategy and matching strategy of biological information according to the current scene, avoiding the situation that a single collection mode and matching mode of biological information are always used to make a good adaptation to the current scene, which is conducive to improving The accuracy and security of mobile terminal state switching in different scenarios.

此外,移动终端能够通过快速局部特征图像模式匹配,快速确定并缓存预览图像,提取预览图像包含的用户的人眼的虹膜信息,如此可以尽可能准确快速的获取用户的虹膜信息,提高虹膜信息采集效率和准确度。In addition, the mobile terminal can quickly determine and cache the preview image through fast local feature image pattern matching, and extract the iris information of the user's human eye contained in the preview image, so that the user's iris information can be obtained as accurately and quickly as possible, and the collection of iris information can be improved. efficiency and accuracy.

此外,由于关联单个注册用户的预设场景一般隐私性、安全性要求较高,如支付场景或聊天场景,故而移动终端可以通过匹配虹膜信息来保证安全性,同时通过并行多个人眼的虹膜信息的匹配过程,并只要在有一个人眼的虹膜信息匹配成功时,即确定匹配成功,如此有利于提高移动终端在关联单个注册用户的预设场景中进行状态切换的效率。In addition, since the preset scenarios associated with a single registered user generally have high privacy and security requirements, such as payment scenarios or chat scenarios, mobile terminals can ensure security by matching iris information, and at the same time, use iris information of multiple human eyes in parallel The matching process, and as long as the iris information of one human eye is successfully matched, it is determined that the matching is successful, which is conducive to improving the efficiency of the mobile terminal's state switching in the preset scene associated with a single registered user.

与上述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本发明实施例提供的一种移动终端的结构示意图,如图所示,该移动终端包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令;Consistent with the above embodiments shown in FIG. 2 , FIG. 3 , and FIG. 4 , please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in the figure, the mobile terminal includes processing A memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;

获取移动终端所处的预设场景对应的采集策略和匹配策略;Obtaining a collection strategy and a matching strategy corresponding to a preset scene where the mobile terminal is located;

根据上述采集策略采集上述预设场景中的至少一个用户的生物信息;Collect biological information of at least one user in the preset scene according to the above collection strategy;

根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与上述预设场景匹配的使用状态。When the biological information of the at least one user is successfully matched with the preset template set according to the matching strategy, the current state is switched to the use state matching the preset scene.

可以看出,本发明实施例中,移动终端首先获取所处的预设场景对应的采集策略和匹配策略,其次,根据采集策略采集预设场景中的至少一个用户的生物信息,最后,根据匹配策略将至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与预设场景匹配的使用状态。可见,移动终端能够根据当前所处场景灵活调整生物信息的采集策略和匹配策略,避免始终采用单一生物信息的采集模式和匹配模式而使能很好的适配当前场景的情况发生,有利于提高移动终端在不同场景中进行状态切换的准确度和安全性。It can be seen that, in the embodiment of the present invention, the mobile terminal first acquires the collection policy and matching policy corresponding to the preset scene it is in, and secondly, collects the biological information of at least one user in the preset scene according to the collection policy, and finally, according to the matching When the policy successfully matches at least one user's biological information with the preset template set, the current state is switched to the use state matching the preset scene. It can be seen that the mobile terminal can flexibly adjust the collection strategy and matching strategy of biological information according to the current scene, avoiding the situation that a single collection mode and matching mode of biological information are always used to make a good adaptation to the current scene, which is conducive to improving The accuracy and security of mobile terminal state switching in different scenarios.

在一个可能的示例中,上述预设场景关联多个注册用户,上述生物信息为面部信息,上述预设模板集合包含上述多个注册用户的面部信息模板;在上述根据上述采集策略采集上述预设场景中的至少一个用户的生物信息方面,上述程序中的指令具体用于执行以下步骤:在检测到当前的预览图像包含与预设图像匹配的参考图像时,缓存所述预览图像;以及提取上述预览图像中包含的至少一个用户的面部信息。In a possible example, the above-mentioned preset scene is associated with multiple registered users, the above-mentioned biological information is facial information, and the above-mentioned preset template set includes the facial information templates of the above-mentioned multiple registered users; Regarding the biological information of at least one user in the scene, the instructions in the above program are specifically used to perform the following steps: when it is detected that the current preview image contains a reference image that matches the preset image, cache the preview image; and extract the above-mentioned Facial information of at least one user included in the preview image.

在本可能的示例中,在上述根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功方面,上述程序中的指令具体用于执行以下步骤:并行的将上述至少一个用户的生物信息中的每个用户的生物信息与上述预设模板集合的面部信息模板进行匹配;以及在检测到上述至少一个用户中任意一个用户的生物信息与上述预设模板集合的面部信息模板匹配时,确定匹配成功。In this possible example, in terms of successfully matching the above-mentioned at least one user's biological information with the preset template set according to the above-mentioned matching strategy, the instructions in the above-mentioned program are specifically used to perform the following steps: parallelly combine the above-mentioned at least one user's biological information The biological information of each user in the biological information is matched with the facial information template of the preset template set; and when the biological information of any one of the at least one user is detected to match the facial information template of the preset template set , to determine a successful match.

在一个可能的示例中,上述预设场景关联单个注册用户,上述生物信息为虹膜信息,上述预设模板集合包含上述单个注册用户的虹膜信息模板;在上述根据上述采集策略采集上述预设场景中的至少一个用户的生物信息方面,上述程序中的指令具体用于执行以下步骤:在检测到当前的预览图像包含与人眼图像匹配的参考图像时,缓存所述预览图像;以及提取上述预览图像中包含的至少一个人眼的虹膜信息。In a possible example, the above-mentioned preset scene is associated with a single registered user, the above-mentioned biological information is iris information, and the above-mentioned preset template set includes the iris information template of the above-mentioned single registered user; In terms of biological information of at least one user, the instructions in the above program are specifically used to perform the following steps: when it is detected that the current preview image contains a reference image that matches the human eye image, cache the preview image; and extract the above preview image The iris information of at least one human eye contained in .

在本可能的示例中,在上述根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功方面,上述程序中的指令具体用于执行以下步骤:并行的将上述至少一个人眼的虹膜信息中的每只人眼的虹膜信息与上述预设模板集合的虹膜信息模板进行匹配;以及在检测到上述至少一个人眼中任意一个人眼的虹膜信息与上述预设模板集合的虹膜信息模板匹配时,确定匹配成功。In this possible example, in terms of successfully matching the above-mentioned at least one user's biological information with the preset template set according to the above-mentioned matching strategy, the instructions in the above-mentioned program are specifically used to perform the following steps: The iris information of each human eye in the iris information is matched with the iris information template of the above-mentioned preset template set; When the template matches, it is determined that the match is successful.

在一个可能的示例中,在上述由当前状态切换为与上述预设场景匹配的使用状态方面,上述程序中的指令具体用于执行以下步骤:将上述移动终端的操作系统由锁屏状态切换为解锁状态;或者,将上述移动终端的预设应用或预设功能由启用状态切换为关闭状态或禁用状态。In a possible example, in terms of switching from the current state to the use state that matches the above preset scene, the instructions in the above program are specifically used to perform the following steps: switch the operating system of the mobile terminal from the lock screen state to an unlocked state; or, switching the preset application or preset function of the above-mentioned mobile terminal from the enabled state to the closed state or the disabled state.

在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:在获取移动终端所处的预设场景对应的生物信息采集策略和匹配策略之前,在检测到系统状态信息与预设系统状态信息匹配时,确定移动终端处于预设场景,上述系统状态信息包括以下至少一种:系统信息和环境信息,上述系统信息包括以下至少一种:时间信息、位置信息、显示屏亮度、可用电量、移动速度,上述环境信息包括上述当前场景的环境光亮度、上述当前场景的环境音强度。In a possible example, the above program further includes instructions for performing the following steps: before obtaining the biological information collection policy and matching policy corresponding to the preset scene where the mobile terminal is located, after detecting that the system status information is consistent with the preset system When the status information matches, it is determined that the mobile terminal is in a preset scene. The above-mentioned system status information includes at least one of the following: system information and environment information. The above-mentioned system information includes at least one of the following: time information, location information, display brightness, and available power . Moving speed, the environmental information includes the ambient light brightness of the current scene and the ambient sound intensity of the current scene.

上述主要从方法侧执行过程的角度对本发明实施例的方案进行了介绍。可以理解的是,移动终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solutions of the embodiments of the present invention from the perspective of executing the process on the method side. It can be understood that, in order to realize the above functions, the mobile terminal includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that the present invention can be realized in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

本发明实施例可以根据上述方法示例对移动终端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present invention, the functional units of the mobile terminal may be divided according to the above method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of the units in the embodiment of the present invention is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

在采用集成的单元的情况下,图6示出了上述实施例中所涉及的移动终端的一种可能的功能单元组成框图。移动终端600包括:处理单元602和采集单元603。处理单元602用于对移动终端的动作进行控制管理,例如,处理单元602用于支持移动终端执行图2中的步骤S201-S203、图3中的步骤S301-S305、图4中的步骤S401-S405和/或用于本文所描述的技术的其它过程。采集单元603用于支持移动终端与其他设备的通信。移动终端还可以包括存储单元601,用于存储移动终端的程序代码和数据。In the case of using integrated units, FIG. 6 shows a possible functional unit composition block diagram of the mobile terminal involved in the above embodiments. The mobile terminal 600 includes: a processing unit 602 and a collection unit 603 . The processing unit 602 is used to control and manage the actions of the mobile terminal. For example, the processing unit 602 is used to support the mobile terminal to execute steps S201-S203 in FIG. 2, steps S301-S305 in FIG. 3, and steps S401-S401 in FIG. S405 and/or other processes for the techniques described herein. The collection unit 603 is used to support communication between the mobile terminal and other devices. The mobile terminal may also include a storage unit 601 for storing program codes and data of the mobile terminal.

其中,上述处理单元602,用于获取移动终端所处的预设场景对应的采集策略和匹配策略;Wherein, the above-mentioned processing unit 602 is configured to obtain the acquisition strategy and matching strategy corresponding to the preset scene where the mobile terminal is located;

所述采集单元603,用于根据上述采集策略采集上述预设场景中的至少一个用户的生物信息;The collection unit 603 is configured to collect biological information of at least one user in the above-mentioned preset scene according to the above-mentioned collection strategy;

所述处理单元602,还用于根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功时,由当前状态切换为与上述预设场景匹配的使用状态。The processing unit 602 is further configured to switch from the current state to a usage state matching the preset scene when the biological information of the at least one user is successfully matched with the preset template set according to the matching strategy.

在一个可能的示例中,上述预设场景关联多个注册用户,上述生物信息为面部信息,上述预设模板集合包含上述多个注册用户的面部信息模板;在上述根据上述采集策略采集上述预设场景中的至少一个用户的生物信息方面,上述采集单元603具体用于:在检测到当前的预览图像包含与预设图像匹配的参考图像时,缓存上述预览图像;以及提取上述预览图像中包含的至少一个用户的面部信息。In a possible example, the above-mentioned preset scene is associated with multiple registered users, the above-mentioned biological information is facial information, and the above-mentioned preset template set includes the facial information templates of the above-mentioned multiple registered users; In terms of biological information of at least one user in the scene, the collection unit 603 is specifically configured to: cache the preview image when it is detected that the current preview image contains a reference image matching the preset image; and extract the preview image contained in the preview image. Facial information of at least one user.

在本可能的示例中,在上述根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功方面,上述处理单元602具体用于:并行的将上述至少一个用户的生物信息中的每个用户的生物信息与上述预设模板集合的面部信息模板进行匹配;以及在检测到上述至少一个用户中任意一个用户的生物信息与上述预设模板集合的面部信息模板匹配时,确定匹配成功。In this possible example, in terms of successfully matching the above-mentioned at least one user's biological information with the preset template set according to the above-mentioned matching strategy, the above-mentioned processing unit 602 is specifically configured to: parallelly combine the above-mentioned at least one user's biological information The biological information of each user is matched with the facial information template of the preset template set; and when the biological information of any one of the at least one user is detected to match the facial information template of the preset template set, it is determined that the matching is successful .

在一个可能的示例中,上述预设场景关联单个注册用户,上述生物信息为虹膜信息,上述预设模板集合包含上述单个注册用户的虹膜信息模板;在上述根据上述采集策略采集上述预设场景中的至少一个用户的生物信息方面,上述采集单元603具体用于:在检测到当前的预览图像包含与人眼图像匹配的参考图像时,缓存上述预览图像;以及提取上述预览图像中包含的至少一个人眼的虹膜信息。In a possible example, the above-mentioned preset scene is associated with a single registered user, the above-mentioned biological information is iris information, and the above-mentioned preset template set includes the iris information template of the above-mentioned single registered user; In terms of the biological information of at least one user, the collection unit 603 is specifically configured to: cache the preview image when it is detected that the current preview image contains a reference image matching the human eye image; and extract at least one of the preview images contained in the preview image Iris information of the human eye.

在本可能的示例中,在上述根据上述匹配策略将上述至少一个用户的生物信息与预设模板集合匹配成功方面,上述处理单元602具体用于:并行的将上述至少一个人眼的虹膜信息中的每只人眼的虹膜信息与上述预设模板集合的虹膜信息模板进行匹配;以及在检测到上述至少一个人眼中任意一个人眼的虹膜信息与上述预设模板集合的虹膜信息模板匹配时,确定匹配成功。In this possible example, in terms of successfully matching the above-mentioned at least one user's biological information with the preset template set according to the above-mentioned matching strategy, the above-mentioned processing unit 602 is specifically configured to: parallelly combine the iris information of the above-mentioned at least one human eye The iris information of each human eye is matched with the iris information template of the preset template set; and when the iris information of any one of the at least one human eye is detected to match the iris information template of the preset template set, Make sure the match is successful.

在一个可能的示例中,在上述由当前状态切换为与上述预设场景匹配的使用状态方面,上述处理单元602具体用于:将上述移动终端的操作系统由锁屏状态切换为解锁状态;或者,将上述移动终端的预设应用或预设功能由启用状态切换为关闭状态或禁用状态。In a possible example, in terms of switching from the current state to the use state matching the preset scene, the processing unit 602 is specifically configured to: switch the operating system of the mobile terminal from a locked screen state to an unlocked state; or , switching the preset application or preset function of the above-mentioned mobile terminal from an enabled state to an off state or a disabled state.

在一个可能的示例中,上述处理单元602在获取移动终端所处的预设场景对应的生物信息采集策略和匹配策略之前,还用于在检测到系统状态信息与预设系统状态信息匹配时,确定移动终端处于预设场景,上述系统状态信息包括以下至少一种:系统信息和环境信息,上述系统信息包括以下至少一种:时间信息、位置信息、显示屏亮度、可用电量、移动速度,上述环境信息包括上述当前场景的环境光亮度、上述当前场景的环境音强度。In a possible example, before acquiring the biological information collection policy and matching policy corresponding to the preset scene where the mobile terminal is located, the processing unit 602 is further configured to, when detecting that the system status information matches the preset system status information, Determine that the mobile terminal is in a preset scene, the above system status information includes at least one of the following: system information and environment information, the above system information includes at least one of the following: time information, location information, display brightness, available power, moving speed, the above The environment information includes the ambient light brightness of the current scene and the ambient sound intensity of the current scene.

其中,处理单元602可以是处理器或控制器,采集单元603可以是生物信息采集装置,如虹膜信息采集装置、面部信息采集装置、指纹信息采集装置等,存储单元601可以是存储器。Wherein, the processing unit 602 may be a processor or a controller, the collection unit 603 may be a biological information collection device, such as an iris information collection device, a facial information collection device, a fingerprint information collection device, etc., and the storage unit 601 may be a memory.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括移动终端。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the computer includes a mobile terminal.

本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。An embodiment of the present invention also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the method described in the above method embodiments. Some or all of the steps of any method. The computer program product may be a software installation package, and the computer includes a mobile terminal.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The above-mentioned memory includes: various media capable of storing program codes such as USB flash drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for Those skilled in the art will have changes in the specific implementation and scope of application according to the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (18)

1. A mobile terminal, comprising a biological information collection device, a processor, and a memory, wherein the biological information collection device is connected with the processor, the processor is connected with the memory, wherein,
the processor is used for acquiring an acquisition strategy and a matching strategy corresponding to a preset scene where the mobile terminal is located;
the biological information acquisition device is used for acquiring biological information of at least one user in the preset scene according to the acquisition strategy;
and the processor is further used for switching the current state into the use state matched with the preset scene when the biological information of the at least one user is successfully matched with the preset template set in the memory according to the matching strategy.
2. The mobile terminal according to claim 1, wherein the preset scene is associated with a plurality of registered users, the biometric information is facial information, and the preset template set includes facial information templates of the plurality of registered users; in the aspect of acquiring the biological information of at least one user in the preset scene according to the acquisition policy, the biological information acquisition device is specifically configured to: sending a current preview image to the processor, wherein the current preview image is used for caching the preview image in the memory and extracting the face information of at least one user contained in the preview image when the processor detects that the current preview image contains a reference image matched with a preset image.
3. The mobile terminal according to claim 2, wherein in terms of successful matching of the biometric information of the at least one user with a preset set of templates in the memory according to the matching policy, the processor is specifically configured to: parallelly matching the biological information of each user in the biological information of the at least one user with a face information template of the preset template set; and determining that the matching is successful when it is detected that the biometric information of any one of the at least one user matches the face information template of the preset template set in the memory.
4. The mobile terminal according to claim 1, wherein the preset scene is associated with a single registered user, the biometric information is iris information, and the preset template set includes iris information templates of the single registered user; in the aspect of acquiring the biological information of at least one user in the preset scene according to the acquisition policy, the biological information acquisition device is specifically configured to: caching the preview image when detecting that the current preview image contains a reference image matched with the human eye image; and extracting iris information of at least one human eye included in the preview image.
5. The mobile terminal according to claim 4, wherein in terms of successful matching of the biometric information of the at least one user with the preset template set in the memory according to the matching policy, the processor is specifically configured to: matching iris information of each human eye in the iris information of the at least one human eye with an iris information template of the preset template set in parallel; and when detecting that the iris information of any one of the at least one human eye is matched with the iris information template of the preset template set in the memory, determining that the matching is successful.
6. The mobile terminal according to any of claims 1 to 5, wherein in the aspect of switching from the current state to the use state matching the preset scenario, the processor is specifically configured to: switching the operating system of the mobile terminal from a screen locking state to an unlocking state; or switching the preset application or the preset function of the mobile terminal from an enabling state to a closing state or a disabling state.
7. The mobile terminal according to any of claims 1 to 6, wherein the processor is further configured to determine that the mobile terminal is in the preset scene when it is detected that the system state information matches the preset system state information before acquiring the bio-information collection policy and the matching policy corresponding to the preset scene in which the mobile terminal is located.
8. A state control method, comprising:
acquiring an acquisition strategy and a matching strategy corresponding to a preset scene where a mobile terminal is located;
acquiring biological information of at least one user in the preset scene according to the acquisition strategy;
and when the biological information of the at least one user is successfully matched with a preset template set according to the matching strategy, switching the current state into a use state matched with the preset scene.
9. The method according to claim 7, wherein the preset scene is associated with a plurality of registered users, the biological information is facial information, and the preset template set comprises facial information templates of the plurality of registered users; the acquiring biological information of at least one user in the preset scene according to the acquisition strategy comprises the following steps:
caching the preview image when detecting that the current preview image contains a reference image matched with a preset image;
extracting face information of at least one user included in the preview image.
10. The method according to claim 9, wherein the matching the biometric information of the at least one user with a preset template set according to the matching policy is successful, comprising:
parallelly matching the biological information of each user in the biological information of the at least one user with a face information template of the preset template set;
and when the matching of the biological information of any one of the at least one user and the face information template of the preset template set is detected, determining that the matching is successful.
11. The method according to claim 8, wherein the preset scene is associated with a single registered user, the biological information is iris information, and the preset template set comprises iris information templates of the single registered user; the acquiring biological information of at least one user in the preset scene according to the acquisition strategy comprises the following steps:
caching the preview image when detecting that the current preview image contains a reference image matched with the human eye image;
extracting iris information of at least one human eye included in the preview image.
12. The method according to claim 11, wherein the matching the biometric information of the at least one user with a preset template set according to the matching policy is successful, comprising:
matching iris information of each human eye in the iris information of the at least one human eye with an iris information template of the preset template set in parallel;
and when detecting that the iris information of any one of the at least one human eye is matched with the iris information template of the preset template set, determining that the matching is successful.
13. The method according to any one of claims 8-12, wherein the switching from the current state to the use state matching the preset scenario comprises:
switching the operating system of the mobile terminal from a screen locking state to an unlocking state; or,
and switching the preset application or the preset function of the mobile terminal from an enabled state to a closed state or a disabled state.
14. The method according to any one of claims 8 to 13, wherein before the acquiring the biological information collection policy and the matching policy corresponding to the preset scene where the mobile terminal is located, the method further comprises:
and when the system state information is matched with the preset system state information, determining that the mobile terminal is in a preset scene.
15. A mobile terminal is characterized by comprising a processing unit and an acquisition unit,
the processing unit is used for acquiring an acquisition strategy and a matching strategy corresponding to a preset scene where the mobile terminal is located through the acquisition unit;
the acquisition unit is used for acquiring biological information of at least one user in the preset scene according to the acquisition strategy;
and the processing unit is further used for switching the current state into the use state matched with the preset scene when the biological information of the at least one user is successfully matched with the preset template set according to the matching strategy.
16. The mobile terminal according to claim 15, wherein the preset scene is associated with a plurality of registered users, the biometric information is facial information, and the preset template set includes facial information templates of the plurality of registered users; in the aspect of acquiring the biological information of at least one user in the preset scene according to the acquisition policy, the acquisition unit is specifically configured to: caching the preview image when detecting that the current preview image contains a reference image matched with a preset image; and extracting face information of at least one user included in the preview image.
17. A mobile terminal comprising a processor, memory, a communications interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 8-14.
18. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 8-14, the computer comprising a mobile terminal.
CN201710569398.4A 2017-07-13 2017-07-13 State control method and related products Pending CN107463813A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710569398.4A CN107463813A (en) 2017-07-13 2017-07-13 State control method and related products
PCT/CN2018/091673 WO2019011106A1 (en) 2017-07-13 2018-06-15 State control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710569398.4A CN107463813A (en) 2017-07-13 2017-07-13 State control method and related products

Publications (1)

Publication Number Publication Date
CN107463813A true CN107463813A (en) 2017-12-12

Family

ID=60546535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710569398.4A Pending CN107463813A (en) 2017-07-13 2017-07-13 State control method and related products

Country Status (2)

Country Link
CN (1) CN107463813A (en)
WO (1) WO2019011106A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108229420A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A face recognition method, mobile terminal
CN108415564A (en) * 2018-02-26 2018-08-17 广东欧珀移动通信有限公司 Electronic device, apparatus control method and Related product
WO2019011106A1 (en) * 2017-07-13 2019-01-17 Oppo广东移动通信有限公司 State control method and related product
CN109598232A (en) * 2018-12-03 2019-04-09 恒睿(重庆)人工智能技术研究院有限公司 A kind of integrated bio identification technology control method and its device
CN110826045A (en) * 2018-08-13 2020-02-21 深圳市商汤科技有限公司 Authentication method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447368A (en) * 2015-11-13 2016-03-30 广东欧珀移动通信有限公司 User terminal access right control method and user terminal
CN106022071A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking method and terminal
US20160315942A1 (en) * 2015-04-21 2016-10-27 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device with addiction-prevention function and method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024152A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method, device and intelligent terminal for switching between multipurpose modes
CN104102409A (en) * 2013-04-12 2014-10-15 三星电子(中国)研发中心 Scenario adaptation device and method for user interface
CN104424410B (en) * 2013-09-05 2018-10-19 深圳市艾酷通信软件有限公司 Mobile intelligent terminal divides the method and its system that safe class quickly starting is applied
CN104346073B (en) * 2014-09-22 2018-06-05 联想(北京)有限公司 An information processing method and electronic device
CN107463813A (en) * 2017-07-13 2017-12-12 广东欧珀移动通信有限公司 State control method and related products

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160315942A1 (en) * 2015-04-21 2016-10-27 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device with addiction-prevention function and method thereof
CN105447368A (en) * 2015-11-13 2016-03-30 广东欧珀移动通信有限公司 User terminal access right control method and user terminal
CN106022071A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Fingerprint unlocking method and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019011106A1 (en) * 2017-07-13 2019-01-17 Oppo广东移动通信有限公司 State control method and related product
CN108229420A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A face recognition method, mobile terminal
CN108415564A (en) * 2018-02-26 2018-08-17 广东欧珀移动通信有限公司 Electronic device, apparatus control method and Related product
CN110826045A (en) * 2018-08-13 2020-02-21 深圳市商汤科技有限公司 Authentication method and device, electronic equipment and storage medium
CN110826045B (en) * 2018-08-13 2022-04-05 深圳市商汤科技有限公司 Authentication method and device, electronic device and storage medium
CN109598232A (en) * 2018-12-03 2019-04-09 恒睿(重庆)人工智能技术研究院有限公司 A kind of integrated bio identification technology control method and its device

Also Published As

Publication number Publication date
WO2019011106A1 (en) 2019-01-17

Similar Documents

Publication Publication Date Title
CN110348186B (en) A display method and electronic device based on user identity recognition
CN107480601B (en) Detection method and related product
CN107527021B (en) Biometric pattern opening method and related product
CN107516032B (en) Solve lock control method and Related product
CN107657161A (en) Mobile payment method and related products based on face recognition
CN107463813A (en) State control method and related products
CN107451449A (en) Bio-identification unlocking method and Related product
CN107273875A (en) Face living body detection method and related product
CN107808127A (en) Face recognition method and related products
CN107451543A (en) Event processing method and related products
CN107451453A (en) Solve lock control method and Related product
CN107506697B (en) Anti-counterfeiting processing method and related product
CN107527019B (en) Unlocking control method and related product
CN107622191A (en) Unlock control method and related products
CN107277265A (en) Unlock control method and related products
CN107454251B (en) Unlocking control method and related product
CN107437016A (en) Application control method and related product
CN107402787B (en) Iris recognition mode opening method and related products
CN107508965B (en) Image acquisition method and related product
CN107592408A (en) Mobile terminal control method and related products
CN107517298B (en) Unlocking methods and related products
CN107493368B (en) Unlocking method and related product
CN107465512A (en) Authorization processing method and Related product
CN107451447A (en) Biometric methods and related products
CN107426421B (en) Biometric identification mode opening method and related products

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

Application publication date: 20171212