CN117711032A - Fingerprint identification methods and electronic equipment - Google Patents
Fingerprint identification methods and electronic equipment Download PDFInfo
- Publication number
- CN117711032A CN117711032A CN202311050684.1A CN202311050684A CN117711032A CN 117711032 A CN117711032 A CN 117711032A CN 202311050684 A CN202311050684 A CN 202311050684A CN 117711032 A CN117711032 A CN 117711032A
- Authority
- CN
- China
- Prior art keywords
- fingerprint
- template
- electronic device
- similarity
- adjacent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1365—Matching; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/761—Proximity, similarity or dissimilarity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/13—Sensors therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Telephone Function (AREA)
Abstract
本申请提供了一种指纹识别方法及电子设备,该方法包括:电子设备将用户的指纹对应的指纹图像进行多模板匹配,其中,多模板之间的相似度满足预设条件,从而可有效提高指纹识别的准确性。
This application provides a fingerprint identification method and an electronic device. The method includes: the electronic device performs multi-template matching on the fingerprint image corresponding to the user's fingerprint, wherein the similarity between the multi-templates satisfies the preset conditions, thereby effectively improving the Accuracy of fingerprint recognition.
Description
技术领域Technical field
本申请涉及终端设备领域,尤其涉及一种指纹识别方法及电子设备。The present application relates to the field of terminal equipment, and in particular, to a fingerprint identification method and electronic equipment.
背景技术Background technique
目前,终端设备的解锁方式包括但不限于:指纹解锁、密码解锁以及人脸解锁等。在通过指纹解锁终端设备的场景中,用户需要提前录入指纹,以在解锁时使用的手指的指纹与已录入的指纹匹配的情况下,解锁手机。目前的解锁方式通常是将用户的手指指纹与预先录入的指纹模板进行匹配,但是,由于电子设备获取到的用户的手指指纹的质量可能较低,将会导致指纹识别失败。Currently, the unlocking methods of terminal devices include but are not limited to: fingerprint unlocking, password unlocking, face unlocking, etc. In the scenario of unlocking the terminal device through fingerprint, the user needs to register the fingerprint in advance so that the phone can be unlocked when the fingerprint of the finger used for unlocking matches the registered fingerprint. The current unlocking method usually matches the user's fingerprint with a pre-entered fingerprint template. However, because the quality of the user's fingerprint obtained by the electronic device may be low, fingerprint recognition will fail.
发明内容Contents of the invention
本申请提供一种指纹识别方法及电子设备。在该方法中,电子设备可将用户的指纹与多个指纹模板进行匹配,从而提高指纹识别的准确性。This application provides a fingerprint identification method and electronic device. In this method, the electronic device can match the user's fingerprint with multiple fingerprint templates, thereby improving the accuracy of fingerprint recognition.
第一方面,本申请提供一种指纹识别方法。该方法包括:电子设备响应于接收到的第一用户操作,在显示屏上显示指纹感应区。电子设备获取指纹传感器检测到的手指覆于指纹感应区时的指纹图像。电子设备将指纹图像与第一指纹模板和第一指纹模板的至少一个临近模板进行相似度匹配;其中,第一指纹模板与第一指纹模板的至少一个临近模板中的每个临近模板之间的相似度大于第一阈值。电子设备获取指纹图像与第一指纹模板的第一相似度值、以及指纹图像与第一指纹模板的至少一个临近模板的至少一个第二相似度值。电子设备若第一相似度值与至少一个第二相似度值满足相似度条件,确定手指对应的指纹图像匹配成功,并解锁电子设备。这样,电子设备将用户的指纹与已存储的多个指纹模板进行匹配,可有效提高指纹识别的成功率。In a first aspect, this application provides a fingerprint identification method. The method includes: the electronic device displays a fingerprint sensing area on the display screen in response to the received first user operation. The electronic device acquires the fingerprint image when the finger detected by the fingerprint sensor covers the fingerprint sensing area. The electronic device performs similarity matching between the fingerprint image and the first fingerprint template and at least one adjacent template of the first fingerprint template; wherein the distance between the first fingerprint template and each of the at least one adjacent template of the first fingerprint template is The similarity is greater than the first threshold. The electronic device obtains a first similarity value between the fingerprint image and the first fingerprint template, and at least a second similarity value between the fingerprint image and at least one neighboring template of the first fingerprint template. If the first similarity value and at least one second similarity value satisfy the similarity condition, the electronic device determines that the fingerprint image corresponding to the finger is successfully matched, and unlocks the electronic device. In this way, the electronic device matches the user's fingerprint with multiple stored fingerprint templates, which can effectively improve the success rate of fingerprint recognition.
在一种可能的实现方式中,响应于接收到的用户操作,在显示屏上显示指纹感应区之前,方法还包括:电子设备响应于接收到的第一用户操作,显示新建指纹界面。电子设备获取指纹传感器检测到的手指覆于指纹感应区时的多个指纹模板,多个指纹模板中包括第一指纹模板。电子设备将第一指纹模板与其它指纹模板进行相似度匹配,并确定与第一指纹模板之间的相似度大于第一阈值的模板为第一指纹模板的临近模板。电子设备保存第一指纹模板与第一指纹模板的至少一个临近模板之间的对应关系。电子设备将第二指纹模板与其它指纹模板进行相似度匹配,并确定与第二指纹模板之间的相似度大于第一阈值的模板为第二指纹模板的临近模板。电子设备保存第二指纹模板与第二指纹模板的至少一个临近模板之间的对应关系。这样,电子设备可基于多个模板之间的相似度,以查找到每个模板对应的临近模板,并保存对应关系。相应的,在指纹识别过程中,电子设备是基于相似度较高的多个模板对指纹进行识别,以提高指纹匹配的成功率。In a possible implementation, before displaying the fingerprint sensing area on the display screen in response to the received user operation, the method further includes: the electronic device displays a new fingerprint interface in response to the received first user operation. The electronic device acquires multiple fingerprint templates when the finger detected by the fingerprint sensor covers the fingerprint sensing area, and the multiple fingerprint templates include the first fingerprint template. The electronic device performs similarity matching between the first fingerprint template and other fingerprint templates, and determines that the template whose similarity to the first fingerprint template is greater than a first threshold is a neighboring template of the first fingerprint template. The electronic device stores a correspondence between the first fingerprint template and at least one adjacent template of the first fingerprint template. The electronic device performs similarity matching between the second fingerprint template and other fingerprint templates, and determines that the template whose similarity to the second fingerprint template is greater than the first threshold is a neighboring template of the second fingerprint template. The electronic device stores a correspondence relationship between the second fingerprint template and at least one adjacent template of the second fingerprint template. In this way, the electronic device can find adjacent templates corresponding to each template based on the similarity between multiple templates, and save the corresponding relationship. Correspondingly, during the fingerprint identification process, the electronic device identifies fingerprints based on multiple templates with high similarity to improve the success rate of fingerprint matching.
在一种可能的实现方式中,将指纹图像与第一指纹模板和第一指纹模板的至少一个临近模板进行相似度匹配,包括:电子设备基于第一指纹模板与第一指纹模板的至少一个临近模板之间的对应关系,获取预先存储的第一指纹模板与第一指纹模板的至少一个临近模板。这样,电子设备通过预先存储指纹模板与临近模板之间的对应关系,从而在指纹识别过程中,能够基于对应关系,快速查找到对应的临近模板。In a possible implementation, similarity matching between the fingerprint image and the first fingerprint template and at least one adjacent template of the first fingerprint template includes: the electronic device based on the first fingerprint template and at least one adjacent template of the first fingerprint template The corresponding relationship between the templates is to obtain the pre-stored first fingerprint template and at least one adjacent template of the first fingerprint template. In this way, the electronic device pre-stores the corresponding relationship between the fingerprint template and the adjacent template, so that during the fingerprint recognition process, the corresponding adjacent template can be quickly found based on the corresponding relationship.
在一种可能的实现方式中,将指纹图像与第一指纹模板和第一指纹模板的至少一个临近模板进行相似度匹配之前,方法还包括:电子设备将指纹图像与第二指纹模板和第二指纹模板的至少一个临近模板进行相似度匹配。电子设备获取指纹图像与第二指纹模板的第三相似度值、以及指纹图像与第二指纹模板的至少一个临近模板的至少一个第四相似度值。电子设备第三相似度值与至少一个第四相似度值不满足相似度条件,继续将指纹图像与第一指纹模板和第一指纹模板的至少一个临近模板进行相似度匹配。这样,电子设备可逐一对模板库中的模板及其对应的临近模板进行匹配,以确定用户的指纹是否匹配成功。In a possible implementation, before performing similarity matching between the fingerprint image and the first fingerprint template and at least one adjacent template of the first fingerprint template, the method further includes: the electronic device matching the fingerprint image with the second fingerprint template and the second fingerprint template. Similarity matching is performed on at least one adjacent template of the fingerprint template. The electronic device obtains a third similarity value between the fingerprint image and the second fingerprint template, and at least a fourth similarity value between the fingerprint image and at least one neighboring template of the second fingerprint template. If the third similarity value and at least one fourth similarity value of the electronic device do not meet the similarity condition, similarity matching between the fingerprint image and the first fingerprint template and at least one adjacent template of the first fingerprint template continues. In this way, the electronic device can match the templates in the template library and their corresponding adjacent templates one by one to determine whether the user's fingerprint is successfully matched.
在一种可能的实现方式中,相似度条件包括以下至少之一:各相似度值之和大于第三阈值;或者,各相似度值大于对应的预设阈值。这样,即使用户的指纹图像与各模板之间的相似度未达到一定阈值的情况下,同样可以通过将各相似度进行融合的方式,判断用户的指纹是否匹配成功,从而提高指纹识别的成功率和准确性。In a possible implementation, the similarity condition includes at least one of the following: the sum of the similarity values is greater than the third threshold; or each similarity value is greater than the corresponding preset threshold. In this way, even if the similarity between the user's fingerprint image and each template does not reach a certain threshold, it can still be judged whether the user's fingerprint is successfully matched by fusing the similarities, thereby improving the success rate of fingerprint recognition. and accuracy.
第二方面,本申请提供一种电子设备,包括:一个或多个处理器、存储器;以及一个或多个计算机程序,其中一个或多个计算机程序存储在存储器上,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:响应于接收到的第一用户操作,在显示屏上显示指纹感应区;获取指纹传感器检测到的手指覆于指纹感应区时的指纹图像;将指纹图像与第一指纹模板和第一指纹模板的至少一个临近模板进行相似度匹配;其中,第一指纹模板与第一指纹模板的至少一个临近模板中的每个临近模板之间的相似度大于第一阈值;获取指纹图像与第一指纹模板的第一相似度值、以及指纹图像与第一指纹模板的至少一个临近模板的至少一个第二相似度值;若第一相似度值与至少一个第二相似度值满足相似度条件,确定手指对应的指纹图像匹配成功,并解锁电子设备。In a second aspect, the present application provides an electronic device, including: one or more processors, a memory; and one or more computer programs, wherein one or more computer programs are stored on the memory, and when the computer program is processed by one or more When the processor is executed, the electronic device performs the following steps: in response to the received first user operation, display the fingerprint sensing area on the display screen; obtain the fingerprint image when the finger detected by the fingerprint sensor covers the fingerprint sensing area; The fingerprint image performs similarity matching with the first fingerprint template and at least one adjacent template of the first fingerprint template; wherein the similarity between the first fingerprint template and each of the at least one adjacent template of the first fingerprint template is greater than a first threshold; obtain a first similarity value between the fingerprint image and the first fingerprint template, and at least a second similarity value between the fingerprint image and at least one adjacent template of the first fingerprint template; if the first similarity value is consistent with at least one The second similarity value meets the similarity condition, it is determined that the fingerprint image corresponding to the finger is successfully matched, and the electronic device is unlocked.
在一种可能的实现方式中,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:响应于接收到的第一用户操作,显示新建指纹界面;获取指纹传感器检测到的手指覆于指纹感应区时的多个指纹模板,多个指纹模板中包括第一指纹模板;将第一指纹模板与其它指纹模板进行相似度匹配,并确定与第一指纹模板之间的相似度大于第一阈值的模板为第一指纹模板的临近模板;保存第一指纹模板与第一指纹模板的至少一个临近模板之间的对应关系;将第二指纹模板与其它指纹模板进行相似度匹配,并确定与第二指纹模板之间的相似度大于第一阈值的模板为第二指纹模板的临近模板;保存第二指纹模板与第二指纹模板的至少一个临近模板之间的对应关系。In a possible implementation, when the computer program is executed by one or more processors, the electronic device is caused to perform the following steps: in response to the received first user operation, display a new fingerprint interface; obtain the fingerprint detected by the fingerprint sensor Multiple fingerprint templates when the finger covers the fingerprint sensing area, including the first fingerprint template; perform similarity matching between the first fingerprint template and other fingerprint templates, and determine the similarity with the first fingerprint template Templates greater than the first threshold are adjacent templates of the first fingerprint template; save the correspondence between the first fingerprint template and at least one adjacent template of the first fingerprint template; perform similarity matching between the second fingerprint template and other fingerprint templates, And determine that the template whose similarity to the second fingerprint template is greater than the first threshold is a neighboring template of the second fingerprint template; and save the correspondence between the second fingerprint template and at least one neighboring template of the second fingerprint template.
在一种可能的实现方式中,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:基于第一指纹模板与第一指纹模板的至少一个临近模板之间的对应关系,获取预先存储的第一指纹模板与第一指纹模板的至少一个临近模板。In a possible implementation, when the computer program is executed by one or more processors, the electronic device is caused to perform the following steps: based on the correspondence between the first fingerprint template and at least one adjacent template of the first fingerprint template, Obtain a pre-stored first fingerprint template and at least one adjacent template of the first fingerprint template.
在一种可能的实现方式中,当计算机程序被一个或多个处理器执行时,使得电子设备执行以下步骤:将指纹图像与第二指纹模板和第二指纹模板的至少一个临近模板进行相似度匹配;获取指纹图像与第二指纹模板的第三相似度值、以及指纹图像与第二指纹模板的至少一个临近模板的至少一个第四相似度值;第三相似度值与至少一个第四相似度值不满足相似度条件,继续将指纹图像与第一指纹模板和第一指纹模板的至少一个临近模板进行相似度匹配。In a possible implementation, when the computer program is executed by one or more processors, the electronic device is caused to perform the following steps: performing a similarity comparison between the fingerprint image and the second fingerprint template and at least one adjacent template of the second fingerprint template. Match; obtain a third similarity value between the fingerprint image and the second fingerprint template, and at least a fourth similarity value between the fingerprint image and at least one adjacent template of the second fingerprint template; the third similarity value is similar to at least a fourth similarity value If the degree value does not meet the similarity condition, similarity matching between the fingerprint image and the first fingerprint template and at least one adjacent template of the first fingerprint template continues.
在一种可能的实现方式中,相似度条件包括以下至少之一:各相似度值之和大于第三阈值;或者,各相似度值大于对应的预设阈值。In a possible implementation, the similarity condition includes at least one of the following: the sum of the similarity values is greater than the third threshold; or each similarity value is greater than the corresponding preset threshold.
第二方面以及第二方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第二方面以及第二方面的任意一种实现方式所对应的技术效果可参见上述第一方面以及第一方面的任意一种实现方式所对应的技术效果,此处不再赘述。The second aspect and any implementation manner of the second aspect respectively correspond to the first aspect and any implementation manner of the first aspect. The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the above-mentioned first aspect and any implementation manner of the first aspect, which will not be described again here.
第三方面,本申请提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a third aspect, the present application provides a computer-readable medium for storing a computer program, the computer program comprising instructions for performing a method in the first aspect or any possible implementation of the first aspect.
第四方面,本申请提供了一种计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a fourth aspect, the present application provides a computer program, the computer program comprising instructions for performing a method in the first aspect or any possible implementation of the first aspect.
第五方面,本申请提供了一种芯片,该芯片包括处理电路、收发管脚。其中,该收发管脚、和该处理电路通过内部连接通路互相通信,该处理电路执行第一方面或第一方面的任一种可能的实现方式中的方法,以控制接收管脚接收信号,以控制发送管脚发送信号。In a fifth aspect, this application provides a chip, which includes a processing circuit and transceiver pins. Wherein, the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect or any possible implementation of the first aspect to control the receiving pin to receive the signal, so as to Control the sending pin to send signals.
附图说明Description of the drawings
图1为示例性示出的电子设备的硬件结构示意图;Figure 1 is a schematic diagram of the hardware structure of an exemplary electronic device;
图2为示例性示出的指纹传感器的位置示意图;Figure 2 is a schematic diagram showing the location of a fingerprint sensor;
图3为示例性示出的电子设备的软件结构框图;Figure 3 is a software structure block diagram of an exemplary electronic device;
图4为示例性示出的电子设备的系统架构图;Figure 4 is a system architecture diagram of an exemplary electronic device;
图5a为示例性示出的用户界面示意图;Figure 5a is a schematic diagram of an exemplary user interface;
图5b为示例性示出的用户界面示意图;Figure 5b is a schematic diagram of an exemplary user interface;
图6为示例性示出的用户界面示意图;Figure 6 is a schematic diagram of an exemplary user interface;
图7为示例性示出的指纹识别流程示意图;Figure 7 is a schematic diagram of an exemplary fingerprint identification process;
图8为示例性示出的指纹模板示意图;Figure 8 is a schematic diagram of an exemplary fingerprint template;
图9为示例性示出的解锁场景示意图;Figure 9 is a schematic diagram of an unlocking scene exemplarily shown;
图10为示例性示出的一种指纹验证方式示意图;Figure 10 is a schematic diagram illustrating a fingerprint verification method;
图11为示例性示出的临近模板匹配示意图;Figure 11 is an exemplary schematic diagram of adjacent template matching;
图12为示例性示出的指纹匹配示意图;Figure 12 is an exemplary fingerprint matching schematic diagram;
图13为示例性示出的装置的结构示意图。Figure 13 is a schematic structural diagram of an exemplary device.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is just an association relationship that describes related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations.
本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms “first” and “second” in the description and claims of the embodiments of this application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first target object, the second target object, etc. are used to distinguish different target objects, rather than to describe a specific order of the target objects.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "such as" in the embodiments of the present application is not to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of this application, unless otherwise specified, the meaning of “plurality” refers to two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
可选地,本申请实施例中,电子设备设备可以是手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等具有指纹识别功能的设备,本申请不做限定。Optionally, in the embodiment of this application, the electronic device may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a laptop, a super Mobile personal computers (ultra-mobile personal computers, UMPCs), netbooks, personal digital assistants (personal digital assistants, PDAs) and other devices with fingerprint recognition functions are not limited in this application.
图1示出了电子设备100的结构示意图。应该理解的是,图1所示电子设备100仅是电子设备的一个范例,并且电子设备100可以具有比图中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图1中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。FIG. 1 shows a schematic structural diagram of an electronic device 100 . It should be understood that the electronic device 100 shown in FIG. 1 is only an example of an electronic device, and the electronic device 100 may have more or fewer components than shown in the figure, and two or more components may be combined. , or can have different component configurations. The various components shown in Figure 1 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2. Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, And subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), an image signal processor ( image signal processor (ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. . Among them, different processing units can be independent devices or integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100 . The controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or Universal serial bus (USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 can separately couple the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces. For example, the processor 110 can be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device 100 .
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 can be coupled with the audio module 170 through the I2S bus to implement communication between the processor 110 and the audio module 170 . In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface to implement the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface to implement the function of answering calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 and the wireless communication module 160 . For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(displayserial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . MIPI interfaces include camera serial interface (CSI), display serial interface (displayserial interface, DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the electronic device 100 . The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100 .
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, display screen 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface that complies with USB standard specifications, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through them. This interface can also be used to connect other electronic devices, such as AR devices, etc.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142, it can also provide power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, wireless communication module 160, etc. The power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters. In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions for wireless communication including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be disposed in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110 and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (bluetooth, BT), and global navigation satellite system. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidounavigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellitesystem,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (codedivision multiple access, CDMA), broadband code Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou satellite navigation system (beidounavigation satellite system, BDS), quasi-zenith satellite system (quasi- zenith satellitesystem (QZSS) and/or satellite based augmentation systems (SBAS)
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, etc. Display 194 includes a display panel. The display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode). (AMOLED), flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera sensor through the lens, the optical signal is converted into an electrical signal, and the camera sensor passes the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object passes through the lens to produce an optical image that is projected onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other format image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can continuously learn by itself. Intelligent cognitive applications of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. Such as saving music, videos, etc. files in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes instructions stored in the internal memory 121 to execute various functional applications and data processing of the electronic device 100 . The internal memory 121 may include a program storage area and a data storage area. Among them, the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.). The storage data area may store data created during use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), etc.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor may include at least two parallel plates of conductive material. When a force is applied to pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is performed on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch location but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the motion posture of the electronic device 100 . In some embodiments, the angular velocity of electronic device 100 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyro sensor 180B detects the angle at which the electronic device 100 shakes, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shake of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。Air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。Magnetic sensor 180D includes a Hall sensor. The electronic device 100 may utilize the magnetic sensor 180D to detect opening and closing of the flip holster. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. Then, based on the detected opening and closing status of the leather case or the opening and closing status of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices and be used in horizontal and vertical screen switching, pedometer and other applications.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F for measuring distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may utilize the distance sensor 180F to measure distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outwardly through the light emitting diode. Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 . The electronic device 100 can use the proximity light sensor 180G to detect when the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in holster mode, and pocket mode automatically unlocks and locks the screen.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touching.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。示例性的,在本申请实施例中,指纹传感器180H可将采集的指纹输出至处理器110,处理器110可对指纹进行识别、录入等操作,以实现指纹录入、指纹解锁等功能。图2为示例性示出的指纹传感器的位置示意图。请参照图2,示例性的,以电子设备100为手机为例,指纹传感器可设置于手机的显示屏下,简称屏下指纹传感器,可用于屏下指纹解锁。可选地,指纹传感器通常可根据手机的宽度和长度设置相应的位置,以使得用户单手握住手机时,用户的拇指能够触摸到指纹传感器对应的指纹感应区。当然,上述设置方式仅为示意性举例,在其他实施例中,手机可设置多个指纹传感器,并且,指纹传感器的位置可根据实际需求设置,本申请不做限定。例如,指纹传感器可分布在显示屏的屏下的多个位置,使得用户可在屏幕上的任意位置按压并输入指纹。示例性的,本申请实施例中的指纹传感器为屏下(即显示屏下)传感器,即指纹传感器设置于显示屏中(或显示屏下)。在其他实施例中,指纹传感器也可以设置于显示屏外,例如可设置于HOME键下,或者可以设置在侧边框,还可以设置与手机背面,本申请不做限定。Fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering of incoming calls, etc. For example, in the embodiment of the present application, the fingerprint sensor 180H can output the collected fingerprints to the processor 110, and the processor 110 can perform fingerprint recognition, entry and other operations to implement fingerprint entry, fingerprint unlocking and other functions. FIG. 2 is a schematic diagram illustrating the location of a fingerprint sensor. Please refer to FIG. 2 . Taking the electronic device 100 as a mobile phone as an example, the fingerprint sensor can be disposed under the display screen of the mobile phone, referred to as an under-screen fingerprint sensor, and can be used for under-screen fingerprint unlocking. Optionally, the fingerprint sensor can usually be positioned correspondingly according to the width and length of the mobile phone, so that when the user holds the mobile phone with one hand, the user's thumb can touch the fingerprint sensing area corresponding to the fingerprint sensor. Of course, the above setting method is only a schematic example. In other embodiments, a mobile phone can be equipped with multiple fingerprint sensors, and the position of the fingerprint sensor can be set according to actual needs, which is not limited in this application. For example, fingerprint sensors can be distributed in multiple locations under the display screen, allowing users to press and input fingerprints anywhere on the screen. For example, the fingerprint sensor in the embodiment of the present application is an under-screen (ie, under the display screen) sensor, that is, the fingerprint sensor is arranged in the display screen (or under the display screen). In other embodiments, the fingerprint sensor can also be arranged outside the display screen, for example, it can be arranged under the HOME button, or it can be arranged on the side frame, or it can also be arranged on the back of the mobile phone, which is not limited in this application.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。Temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 utilizes the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the low temperature from causing the electronic device 100 to shut down abnormally. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation on or near the touch sensor 180K. The touch sensor can pass the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a location different from that of the display screen 194 .
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。Bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human body's vocal part. The bone conduction sensor 180M can also contact the human body's pulse and receive blood pressure beating signals. In some embodiments, the bone conduction sensor 180M can also be provided in an earphone and combined into a bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibrating bone obtained by the bone conduction sensor 180M to implement the voice function. The application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M to implement the heart rate detection function.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The buttons 190 include a power button, a volume button, etc. Key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback. For example, touch operations for different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. The motor 191 can also respond to different vibration feedback effects for touch operations in different areas of the display screen 194 . Different application scenarios (such as time reminders, receiving information, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 . The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of this application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
图3是本申请实施例的电子设备100的软件结构框图。FIG. 3 is a software structure block diagram of the electronic device 100 according to the embodiment of the present application.
电子设备100的分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture of the electronic device 100 divides the software into several layers, and each layer has clear roles and division of labor. The layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime (Android runtime) and system libraries, and kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图3所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息,指纹等应用程序。示例性的,指纹应用程序可实现本申请实施例中的指纹录入方法。As shown in Figure 3, the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, fingerprint and other applications. For example, a fingerprint application program can implement the fingerprint entry method in the embodiment of this application.
应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 3, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make this data accessible to applications. Said data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, etc. A view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, call status management (including connected, hung up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager allows applications to display notification information in the status bar, which can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text information is prompted in the status bar, a beep sounds, the electronic device vibrates, the indicator light flashes, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library contains two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and application framework layer into binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。System libraries can include multiple functional modules. For example: surface manager (surface manager), media libraries (Media Libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, composition, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D Graphics Engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
可以理解的是,图3示出的系统框架层、系统库与运行时层包含的部件,并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。It can be understood that the components included in the system framework layer, system library and runtime layer shown in Figure 3 do not constitute specific limitations on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
在本申请实施例中,如图4所示的电子设备的系统架构中,包括可信执行环境(trusted execution environment,TEE)和富执行环境(rich execution environment,REE)。将高安全敏感的应用与通用的软件环境进行隔离,提供专门的可信执行环境TEE,并保护应用的资源和数据的保密性、完整性和访问权限;对Android等容易被攻击的传统操作系统提供通用的富执行环境REE。在REE侧执行的应用称为客户端应用程序(clientapplication,CA),比如银行类应用等第三方支付应用,在TEE侧执行的应用称为可信应用程序(trusted application,TA),比如执行签名、加解密计算等关键服务的应用。由于TA运行在可信执行环境TEE中,TA的部署/升级操作需要严格遵循TEE发行方(通常是终端厂商)的安全验证规范,比如使用数字签名等措施,确保TEE各个环节是真正可信的。可信执行环境TEE中包括可信执行环境内部应用程序编程接口(trusted execution environmentinternal application programming interface,TEE Internal API)和可信操作系统部件,TEE Internal API的主要作用为:向上提供可信操作系统部件的功能、与客户端应用程序CA通信、实现TA与TA通信、提供安全存储、密码学功能、时间功能等;可信操作系统部件主要包括可信核心框架、可信功能、可信内核和可信执行环境TEE通信代理,其中,可信核心框架为TA提供类似操作系统的功能;可信功能为应用开发者提供支持能力;可信内核用于与平台硬件中的可信设备进行交互;可信执行环境通信代理为TA和CA提供一个安全的通信通道,例如,可信执行环境通信代理通过平台硬件将消息传递至富执行环境通信代理,实现TA和CA的交互。富执行环境REE中包括可信执行环境客户端应用程序编程接口(trustedexecution environment client application programming interface,TEE ClientAPI)、可信执行环境功能应用程序编程接口(trusted execution environmentfunctional application programming interface,TEE Functional API)和多媒体操作系统,多媒体操作系统部件主要包括公共设备驱动和富执行环境通信代理,其中,富执行环境通信代理用于与TEE进行通信,CA和TA提供一个安全的通信通道,公共设备驱动用于驱动平台硬件中的公共设备。CA使用TEE Client API、TEE Functional API接入到由TA提供的安全服务。In this embodiment of the present application, the system architecture of the electronic device as shown in Figure 4 includes a trusted execution environment (trusted execution environment, TEE) and a rich execution environment (rich execution environment, REE). Isolate highly security-sensitive applications from the general software environment, provide a specialized trusted execution environment TEE, and protect the confidentiality, integrity and access rights of application resources and data; it also protects traditional operating systems such as Android that are easily attacked Provides a general rich execution environment REE. Applications executed on the REE side are called client applications (CA), such as banking applications and other third-party payment applications. Applications executed on the TEE side are called trusted applications (TA), such as signature execution. , encryption and decryption calculation and other key service applications. Since TA runs in the trusted execution environment TEE, the deployment/upgrade operation of TA needs to strictly follow the security verification specifications of the TEE issuer (usually the terminal manufacturer), such as using digital signatures and other measures to ensure that all aspects of the TEE are truly trustworthy. . The trusted execution environment TEE includes the trusted execution environment internal application programming interface (TEE Internal API) and trusted operating system components. The main function of the TEE Internal API is to provide trusted operating system components upwards. functions, communicate with the client application CA, realize TA-TA communication, provide secure storage, cryptography functions, time functions, etc.; the trusted operating system components mainly include trusted core framework, trusted functions, trusted kernel and trustworthy core. Trust execution environment TEE communication agent, in which the trusted core framework provides TA with operating system-like functions; the trusted function provides support capabilities for application developers; the trusted core is used to interact with trusted devices in the platform hardware; The Trusted Execution Environment Communication Agent provides a secure communication channel for TA and CA. For example, the Trusted Execution Environment Communication Agent passes messages to the Rich Execution Environment Communication Agent through the platform hardware to realize the interaction between TA and CA. Rich execution environment REE includes trusted execution environment client application programming interface (TEE ClientAPI), trusted execution environment functional application programming interface (TEE Functional API) and Multimedia operating system. Multimedia operating system components mainly include public device drivers and rich execution environment communication agents. Among them, rich execution environment communication agents are used to communicate with TEEs. CA and TA provide a secure communication channel. Public device drivers are used to drive Common devices in platform hardware. CA uses TEE Client API and TEE Functional API to access the security services provided by TA.
在本申请实施例中,指纹的录入、保存、识别(或匹配)等步骤可在TEE环境执行,以保证指纹信息的安全性和隐私性。In the embodiment of this application, steps such as fingerprint entry, saving, and identification (or matching) can be performed in a TEE environment to ensure the security and privacy of fingerprint information.
本申请实施例中指纹识别方法主要分为两个部分,第一部分为指纹录入、第二部分为指纹解锁。The fingerprint identification method in the embodiment of this application is mainly divided into two parts, the first part is fingerprint entry, and the second part is fingerprint unlocking.
下面以具体实施例对本申请实施例中的指纹录入方法进行详细说明。图5a为示例性示出的用户界面示意图。请参照图5a的(1),示例性的,手机的显示屏上显示主界面501(也可以称为桌面)。主界面501中包括一个或多个控件。控件包括但不限于:电量控件、网络控件、应用图标控件等。用户可点击设置图标控件502,以启动设置应用。示例性的,手机响应于接收到的用户操作,显示设置界面。请参照图5a的(2),示例性的,设置界面503中包括一个或多个设置选项。设置选项包括但不限于:声音和振动选项、通知选项、生物识别和密码选项504、应用选项、电池选项等。用户可点击生物识别和密码选项504,以启动生物识别和密码应用。请参照图5a的(3),示例性的,手机响应于接收到的用户操作,显示生物识别和密码界面505。生物识别和密码界面505中包括一个或多个选项。选项包括但不限于:指纹选项506、人脸识别选项、锁屏密码选项等。用户可点击指纹选项506,以启动指纹应用。请参照图5a的(4),示例性的,手机响应于接收到的用户操作,显示输入锁屏密码界面507。也就是说,在用户输入正确的锁屏密码后,手机才会显示指纹设置界面,以确保手机的安全性。The fingerprint entry method in the embodiment of the present application will be described in detail below with specific examples. Figure 5a is a schematic diagram of an exemplary user interface. Please refer to (1) of Figure 5a. As an example, a main interface 501 (which may also be called a desktop) is displayed on the display screen of the mobile phone. The main interface 501 includes one or more controls. Controls include but are not limited to: power control, network control, application icon control, etc. The user can click the settings icon control 502 to launch the settings application. Exemplarily, the mobile phone displays the setting interface in response to the received user operation. Please refer to (2) of Figure 5a. In an exemplary embodiment, the setting interface 503 includes one or more setting options. Setting options include but are not limited to: sound and vibration options, notification options, biometric and password options 504, application options, battery options, etc. The user can click on the biometric and password option 504 to launch the biometric and password application. Please refer to (3) of Figure 5a. Exemplarily, the mobile phone displays the biometric and password interface 505 in response to the received user operation. One or more options are included in the biometrics and password interface 505. Options include but are not limited to: fingerprint option 506, face recognition option, lock screen password option, etc. The user can click the fingerprint option 506 to launch the fingerprint application. Please refer to (4) of Figure 5a. As an example, the mobile phone displays a screen lock password input interface 507 in response to the received user operation. In other words, after the user enters the correct lock screen password, the phone will display the fingerprint setting interface to ensure the security of the phone.
请继续参照图5a的(4),示例性的,输入锁屏密码界面507包括但不限于:密码行508、键盘509。示例性的,用户可在键盘509中点击锁屏密码对应的数字,以输入锁屏密码。在用户点击锁屏密码数字的过程中,密码行508中对应的密码位可以闪烁、填充等方式提示用户当前输入的密码位。举例说明,若锁屏密码为123456,当用户点击数字1时,密码行508中的首个密码位可以填充为黑色(也可以是其他颜色,本申请不做限定)。用户继续输入其他数字,当用户输入最后一位数字“6”,手机响应于接收到的6位密码,与预先存储的锁屏密码进行匹配。若匹配成功,则手机显示指纹设置界面。若匹配失败,则可提示用户重新输入锁屏密码。需要说明的是,本申请实施例中以6位锁屏密码为例进行说明,在其他实施例中,也可以是其他位数,本申请不做限定。Please continue to refer to (4) of Figure 5a. For example, the lock screen password input interface 507 includes but is not limited to: a password line 508 and a keyboard 509. For example, the user can click the number corresponding to the lock screen password on the keyboard 509 to enter the lock screen password. When the user clicks on the lock screen password number, the corresponding password digit in the password line 508 may flash, fill, or other methods to prompt the user for the currently entered password digit. For example, if the lock screen password is 123456, when the user clicks on the number 1, the first password digit in the password line 508 can be filled with black (it can also be other colors, which is not limited by this application). The user continues to enter other numbers. When the user enters the last digit "6", the phone responds to the received 6-digit password and matches it with the pre-stored lock screen password. If the match is successful, the phone displays the fingerprint setting interface. If matching fails, the user can be prompted to re-enter the lock screen password. It should be noted that in the embodiment of this application, a 6-digit screen lock password is used as an example for explanation. In other embodiments, it can also be other digits, which is not limited in this application.
请参照图5b,示例性的,手机响应于接收到的用户操作,在接收到的6位密码与预先存储的锁屏密码匹配成功后,显示指纹设置界面510(也可以称为指纹应用界面)。示例性的,指纹设置界面501包括但不限于:指纹应用选项,指纹列表514,新建指纹选项515、识别指纹选项516等。示例性的,指纹应用选项可选地包括但不限于:解锁设备选项511、访问保密柜选项512、访问应用锁选项513。示例性的,用户可通过设置上述选项,以设置指纹的应用场景。例如,若用户点击解锁设备选项511,以开启解锁设备选项。手机响应于接收到的用户操作,确定录入的指纹将应用于设备解锁,也就是说,用户可通过指纹解锁的方式,解锁处于熄屏或锁屏模式的手机。Please refer to Figure 5b. Exemplarily, in response to the received user operation, the mobile phone displays the fingerprint setting interface 510 (which can also be called the fingerprint application interface) after the received 6-digit password successfully matches the pre-stored lock screen password. . Exemplarily, the fingerprint setting interface 501 includes but is not limited to: fingerprint application options, fingerprint list 514, new fingerprint options 515, fingerprint recognition options 516, etc. Exemplarily, the fingerprint application options optionally include, but are not limited to: unlocking the device option 511, accessing the safe option 512, and accessing the application lock option 513. For example, the user can set the fingerprint application scenario by setting the above options. For example, if the user clicks the unlock device option 511 to open the unlock device option. In response to the received user operation, the mobile phone determines that the entered fingerprint will be used to unlock the device. That is to say, the user can unlock the mobile phone in the screen-off or screen-lock mode through fingerprint unlocking.
请继续参照图5b,示例性的,指纹列表514用于显示已录入的指纹的信息。图5b中的指纹列表514为空,即表示当前暂未录入指纹。指纹的具体录入方式将在下面的实施例中说明。示例性的,指纹列表还可以包括列表信息,例如图中的“(0/5)”,其中,数字“5”可表示可录入的指纹上限,即,最多可录入5个指纹。数字“0”表示当前已录入的指纹数量为0。需要说明的是,可录入的指纹上限仅为示意性举例,在其他实施例中,可根据实际需求设置,本申请不做限定。示例性的,用户点击新建指纹选项415。手机响应于接收到的用户操作,执行指纹录入流程。Please continue to refer to FIG. 5b. Exemplarily, the fingerprint list 514 is used to display the information of the entered fingerprints. The fingerprint list 514 in Figure 5b is empty, which means that no fingerprints have been entered yet. The specific input method of fingerprints will be explained in the following embodiments. For example, the fingerprint list may also include list information, such as "(0/5)" in the figure, where the number "5" may represent the upper limit of the fingerprints that can be entered, that is, up to 5 fingerprints can be entered. The number "0" indicates that the number of fingerprints currently entered is 0. It should be noted that the upper limit of the fingerprints that can be entered is only a schematic example. In other embodiments, it can be set according to actual needs, and is not limited in this application. For example, the user clicks the new fingerprint option 415. The mobile phone responds to the received user operation and executes the fingerprint entry process.
请参照图6的(1),示例性的,手机显示新建指纹界面601。新建指纹界面601包括但不限于:录入演示画面602、提示信息603以及开始录入选项604。Please refer to (1) of Figure 6. As an example, the mobile phone displays a new fingerprint interface 601. The new fingerprint interface 601 includes but is not limited to: input demonstration screen 602, prompt information 603, and start input option 604.
示例性的,录入演示画面602可选地以动画或图片的形式,提示用户指纹录入的方式。例如,动画显示的内容可以为用户手持手机,并将拇指放在指纹传感器对应的指纹感应区上按压。For example, the input demonstration screen 602 may optionally prompt the user on how to input fingerprints in the form of animation or pictures. For example, the content displayed in the animation can be that the user holds the mobile phone and puts his thumb on the fingerprint sensing area corresponding to the fingerprint sensor and presses it.
示例性的,提示信息603用于提示用户将手指放在屏内指纹感应区,并稍许用力按压。For example, the prompt information 603 is used to prompt the user to place his finger on the fingerprint sensing area on the screen and press it with a little force.
示例性的,用户可点击开始录入选项604。一个示例中,请参照图6的(2),手机响应于接收到的用户操作,在新建指纹界面601中显示提示信息605和指纹感应区606。示例性的,提示信息605用于提示用户当前需要做的动作,例如“放置手指”。并且,提示信息还用于提示用户“手指按压屏内感应区,感受到震动后移开,重复此步骤”。示例性的,指纹感应区606可对应于图2中所示的指纹传感器。可选地,指纹感应区的可以小于、等于指纹传感器的大小,本申请不做限定。可选地,指纹感应区的形状与指纹传感器的形状相同或不同。当然,指纹感应区也可以略大于指纹传感器的大小,而大于指纹传感器的区域则为无效录制区域,即,即使用户将手指放在该区域中,手机也可能无法识别到该区域内的指纹。示例性的,指纹感应区的形状、大小及位置仅为示意性举例。在其他实施例中,可根据实际需求设置。例如,指纹感应区域可以是矩形或椭圆形,本申请不做限定。示例性的,指纹感应区606中可包括指纹纹路图像,可用于提示该区域为指纹感应区域。For example, the user can click the start entry option 604. In an example, please refer to (2) of FIG. 6 . In response to the received user operation, the mobile phone displays prompt information 605 and fingerprint sensing area 606 in the new fingerprint interface 601 . For example, the prompt information 605 is used to prompt the user of the action that currently needs to be performed, such as "place your finger." Moreover, the prompt information is also used to prompt the user to "press your finger on the sensing area in the screen, move away after feeling the vibration, and repeat this step." For example, the fingerprint sensing area 606 may correspond to the fingerprint sensor shown in FIG. 2 . Optionally, the size of the fingerprint sensing area may be less than or equal to the size of the fingerprint sensor, which is not limited in this application. Optionally, the shape of the fingerprint sensing area is the same as or different from the shape of the fingerprint sensor. Of course, the fingerprint sensing area can also be slightly larger than the size of the fingerprint sensor, and the area larger than the fingerprint sensor is an invalid recording area, that is, even if the user places his finger in this area, the mobile phone may not be able to recognize the fingerprint in this area. Illustratively, the shape, size and position of the fingerprint sensing area are only illustrative examples. In other embodiments, it can be set according to actual needs. For example, the fingerprint sensing area may be rectangular or elliptical, which is not limited in this application. For example, the fingerprint sensing area 606 may include a fingerprint texture image, which may be used to indicate that the area is a fingerprint sensing area.
另一个示例中,请参照图6的(3),手机响应于接收到的用户点击开始录入选项504的操作,在新建指纹界面601中显示提示信息605、指纹感应区606,还可以包括指纹显示区域607。示例性的,指纹显示区域607可用于显示后续录入的指纹纹路。可选地,本申请实施例中以指纹显示区域607的形状为椭圆形为例进行说明。在其他实施例中,指纹显示区域607的形状、边框、大小及位置可根据实际需求设置。可选地,指纹显示区域607的背景色可以与新建指纹界面501的背景色相同,也可以不同。本申请不做限定。In another example, please refer to (3) of Figure 6. In response to the received user click to start the input option 504, the mobile phone displays prompt information 605 and fingerprint sensing area 606 in the new fingerprint interface 601, and may also include a fingerprint display. Area 607. For example, the fingerprint display area 607 can be used to display fingerprint patterns that are subsequently entered. Optionally, in the embodiment of the present application, the shape of the fingerprint display area 607 is an ellipse as an example for description. In other embodiments, the shape, frame, size and position of the fingerprint display area 607 can be set according to actual needs. Optionally, the background color of the fingerprint display area 607 may be the same as the background color of the new fingerprint interface 501, or may be different. This application is not limited.
示例性的,新建指纹界面601的背景色可以是饱和度较低的背景色,例如可以是深蓝色。也可以是饱和度较高的背景色,例如可以是白色,本申请不做限定。For example, the background color of the new fingerprint interface 601 may be a background color with lower saturation, for example, dark blue. It may also be a background color with higher saturation, such as white, which is not limited in this application.
示例性的,以用户需要录入的指纹为右手拇指指纹为例进行说明。当然,对于用户的其他手指的指纹的录入,同样可参照右手拇指指纹的录制方式,本申请不再逐一说明。请参照图6的(4),示例性的,用户将右手拇指指纹覆于指纹感应区606。需要说明的是,图6的(4)中所示的右手拇指在指纹感应区606中的位置仅为示意性举例,本申请仅以右手拇指当前在指纹感应区606中的位置为例进行说明。For example, the fingerprint to be entered by the user is the right thumb fingerprint. Of course, for recording the fingerprints of the user's other fingers, reference can also be made to the recording method of the right thumb fingerprint, which will not be described one by one in this application. Please refer to (4) of FIG. 6 , for example, the user covers the fingerprint of the right thumb on the fingerprint sensing area 606 . It should be noted that the position of the right thumb in the fingerprint sensing area 606 shown in (4) of FIG. 6 is only a schematic example. This application only takes the current position of the right thumb in the fingerprint sensing area 606 as an example for explanation. .
仍参照图6的(4),示例性的,用户的右手拇指按压指纹感应区606,并保持静止。需要说明的是,按压的方式可增加指纹识别的准确性,若用户未按压指纹感应区606,例如,用户只是将右手拇指覆于指纹感应区606中,而未用力按压,则可能会导致手机无法准确识别到用户指纹。进一步需要说明的是,保持在按压的同时,保持静止,也可以理解为使用静止手势按压,可进一步提升指纹识别的准确性。Still referring to (4) of FIG. 6 , for example, the user's right thumb presses the fingerprint sensing area 606 and remains still. It should be noted that the pressing method can increase the accuracy of fingerprint recognition. If the user does not press the fingerprint sensing area 606, for example, the user just covers the fingerprint sensing area 606 with his right thumb without pressing hard, it may cause the phone to malfunction. The user's fingerprint cannot be accurately identified. It should be further noted that keeping still while pressing can also be understood as pressing with a static gesture, which can further improve the accuracy of fingerprint recognition.
示例性的,手机的指纹传感器可识别到指纹感应区606中的指纹。指纹传感器将识别到的指纹输出至指纹应用。指纹应用可在指纹显示区域607中显示对应的指纹纹路608,以指示指纹纹路608所对应的区域的指纹已录入。For example, the fingerprint sensor of the mobile phone can recognize the fingerprint in the fingerprint sensing area 606. The fingerprint sensor outputs the recognized fingerprint to the fingerprint application. The fingerprint application may display the corresponding fingerprint pattern 608 in the fingerprint display area 607 to indicate that the fingerprint in the area corresponding to the fingerprint pattern 608 has been entered.
图7为示例性示出的指纹识别流程示意图,请参照图7,示例性的,电子设备在用户录入指纹的过程中,获取指纹模板,并将指纹模板存储至模板库。如上文所述,模板库位于TEE环境,以保证指纹模板的安全性和隐私性。FIG. 7 is a schematic diagram of an exemplary fingerprint identification process. Please refer to FIG. 7 . In an exemplary embodiment, when a user enters a fingerprint, the electronic device obtains a fingerprint template and stores the fingerprint template in a template library. As mentioned above, the template library is located in the TEE environment to ensure the security and privacy of fingerprint templates.
图8为示例性示出的指纹模板示意图,请参照图8,在指纹录入过程中,电子设备在保存指纹模板时,实际上是对每个录入的区域进行拍照(例如图8中的虚线框),并存储对应的指纹图像,即为指纹模板,示例性的,指纹模板用于存储指纹纹路信息。Figure 8 is a schematic diagram of an exemplary fingerprint template. Please refer to Figure 8. During the fingerprint entry process, when the electronic device saves the fingerprint template, it actually takes a photo of each entered area (such as the dotted box in Figure 8 ), and stores the corresponding fingerprint image, which is a fingerprint template. For example, the fingerprint template is used to store fingerprint texture information.
示例性的,用户在录入指纹时,电子设备采用多区域采集的方式。即,电子设备可提示用户当前需要采集的指纹区域,用户可将该区域的指纹用力按压在指纹感应区中。电子设备可获取到该区域的指纹信息,并生成对应的图像,也可以理解为是对该区域进行快照,以保存对应的指纹图像。用户重复按压指纹的过程中,电子设备可获取到多个区域对应的指纹信息(也可以称为指纹纹路),并获取到对应的图像(即为指纹模板)。For example, when a user enters a fingerprint, the electronic device adopts a multi-region collection method. That is, the electronic device can prompt the user for the fingerprint area that currently needs to be collected, and the user can press the fingerprint in this area firmly into the fingerprint sensing area. The electronic device can obtain the fingerprint information of the area and generate a corresponding image. It can also be understood as taking a snapshot of the area to save the corresponding fingerprint image. When the user repeatedly presses the fingerprint, the electronic device can obtain fingerprint information corresponding to multiple areas (also called fingerprint lines) and obtain the corresponding image (ie, fingerprint template).
其中,指纹模板之间可以有重复的部分。并且,部分指纹模板在保存时,可保存对应的变换关系。例如,如图8所示,指纹模板2(以下称为模板2)在录入过程中,电子设备对该指纹区域进行拍照,以获取到模板2。电子设备获取模板2的变换关系(例如在x和y轴的旋转角度,坐标系可根据实际需求设置,本申请不做限定),该变换关系可以理解为是模板2在存入到模板库时,是按照正常规格存储的。电子设备可通过已记录的变换关系,以旋转模板2,从而得到模板2在指纹录入过程中的实际图像。Among them, there may be repeated parts between fingerprint templates. Moreover, when saving some fingerprint templates, the corresponding transformation relationships can be saved. For example, as shown in Figure 8, during the input process of fingerprint template 2 (hereinafter referred to as template 2), the electronic device takes a photo of the fingerprint area to obtain template 2. The electronic device obtains the transformation relationship of template 2 (for example, the rotation angle of the x and y axes, the coordinate system can be set according to actual needs, and is not limited in this application). This transformation relationship can be understood as when template 2 is stored in the template library. , are stored according to normal specifications. The electronic device can rotate the template 2 through the recorded transformation relationship, thereby obtaining the actual image of the template 2 during the fingerprint entry process.
图9为示例性示出的解锁场景示意图。请参照图9的(1),示例性的,手机处于熄屏模式。用户可点击熄屏界面901。请参照图9的(2),手机响应于接收到的用户操作,在熄屏界面901中显示指纹感应区902。请参照图9的(3),示例性的,用户的使用右手食指按压指纹感应区902。示例性的,指纹传感器将识别到的指纹输出至指纹应用,指纹应用将指纹传感器输入的指纹与保存的一个或多个指纹进行比对。一个示例中,假设手机中已录入用户的右手食指指纹,相应的,指纹应用确定指纹比对成功。指纹应用可指示手机解锁。请参照图9的(4),示例性的,手机显示桌面903。另一个示例中,假设手机中未录入用户的右手食指指纹,相应的,指纹应用确定指纹比对失败,手机不解锁。FIG. 9 is a schematic diagram of an unlocking scene as an example. Please refer to (1) of Figure 9. For example, the mobile phone is in the screen-off mode. The user can click on the screen-off interface 901. Please refer to (2) of FIG. 9 . In response to the received user operation, the mobile phone displays the fingerprint sensing area 902 in the screen-off interface 901 . Referring to (3) of FIG. 9 , for example, the user presses the fingerprint sensing area 902 with the index finger of the right hand. For example, the fingerprint sensor outputs the recognized fingerprint to the fingerprint application, and the fingerprint application compares the fingerprint input by the fingerprint sensor with one or more stored fingerprints. In one example, it is assumed that the fingerprint of the user's right index finger has been recorded in the mobile phone. Accordingly, the fingerprint application determines that the fingerprint comparison is successful. The fingerprint app instructs the phone to unlock. Please refer to (4) of Figure 9 , for example, the mobile phone displays the desktop 903. In another example, it is assumed that the fingerprint of the user's right index finger is not recorded in the mobile phone. Accordingly, the fingerprint application determines that the fingerprint comparison fails and the mobile phone is not unlocked.
示例性的,如图7所示,用户在指纹解锁过程中,输入指纹。电子设备获取到用户的指纹对应的指纹图像,并从模板库中提取已存储的多个指纹模板。电子设备可将指纹图像与模板库中的模板进行匹配,以对用户的指纹进行验证。一个示例中,如果验证成功,则手机解锁。如果验证不成功,则手机不解锁,并显示指纹识别失败的提示信息。For example, as shown in Figure 7, the user enters a fingerprint during the fingerprint unlocking process. The electronic device obtains the fingerprint image corresponding to the user's fingerprint, and extracts multiple stored fingerprint templates from the template library. The electronic device can match the fingerprint image with templates in the template library to verify the user's fingerprint. In one example, if the verification is successful, the phone is unlocked. If the verification is unsuccessful, the phone will not be unlocked and a message indicating that fingerprint recognition failed will be displayed.
图10为示例性示出的一种指纹验证方式。如图10所示,电子设备将指纹图像与模板库中的模板进行逐一匹配。如果任意一个模板与指纹图像匹配成功,例如相似程度大于阈值(例如为80%,可根据实际需求设置,本申请不做限定),则可确定匹配成功(即验证成功)。如果模板与指纹图像均匹配失败(即所有模板与指纹图像的相似度均低于阈值),则可确定匹配失败。Figure 10 is an exemplary fingerprint verification method. As shown in Figure 10, the electronic device matches the fingerprint image with the templates in the template library one by one. If any template successfully matches the fingerprint image, for example, the similarity is greater than a threshold (for example, 80%, which can be set according to actual needs and is not limited in this application), then the matching can be determined to be successful (that is, the verification is successful). If the template and the fingerprint image all fail to match (that is, the similarity between all templates and the fingerprint image is lower than the threshold), it can be determined that the matching fails.
但是,该种匹配方式在低温以及用户手指比较干燥的场景中,使得电子设备获取到的指纹图像的质量较差,因此,可能导致用户的指纹多次匹配失败,影响用户使用体验。However, this matching method makes the quality of the fingerprint image obtained by the electronic device poor in low temperatures and when the user's fingers are relatively dry. Therefore, it may cause the user's fingerprint to fail to match multiple times, affecting the user experience.
本申请实施例提供一种指纹识别方式,可基于多模板进行指纹的识别,以提高指纹识别的准确性。Embodiments of the present application provide a fingerprint identification method that can identify fingerprints based on multiple templates to improve the accuracy of fingerprint identification.
在本申请实施例中,电子设备在录入指纹的过程中(过程可参照图6)可获取到多个指纹模板,指纹模板可参照图8中的描述,此处不再赘述。电子设备可将以获取到的多个模板进行匹配,以为每个指纹模板确定对应的临近模板。In this embodiment of the present application, the electronic device can obtain multiple fingerprint templates during the process of entering fingerprints (for the process, please refer to Figure 6). For fingerprint templates, please refer to the description in Figure 8, which will not be described again here. The electronic device can match multiple acquired templates to determine a corresponding adjacent template for each fingerprint template.
图11为示例性示出的临近模板匹配示意图。请参照图11,电子设备获取到多个模板,例如模板1、模板2……模板n。电子设备可按照存储顺序(也可以是其他顺序,本申请不做限定)逐一对每个模板进行匹配,以获取到每个模板对应的临近模板。以模板1为例,电子设备将模板1和模板2进行匹配,检测到模板1的图像与模板2的图像相似度超过阈值(例如60%,可根据实际需求设置,本申请不做限定),可确定模板2为模板1的临近模板。电子设备可维护有临近模板列表,以记录每个模板对应的临近模板。电子设备可将模板1和模板2的标识信息(可以是模板的名称等,本申请不做限定),对应记录到临近模板列表中。需要说明的是,模板2为模板1的临近模板,相应的,模板1也是模板2的临近模板。进一步需要说明的是,本申请实施例中的各图像(包括指纹图像和模板)进行图像匹配,以获取图像之间的相似度的方式可参照已有技术,本申请不做限定。Figure 11 is a schematic diagram illustrating adjacent template matching. Referring to Figure 11, the electronic device obtains multiple templates, such as template 1, template 2...template n. The electronic device can match each template one by one according to the storage order (or other order, which is not limited in this application) to obtain adjacent templates corresponding to each template. Taking template 1 as an example, the electronic device matches template 1 and template 2, and detects that the similarity between the image of template 1 and the image of template 2 exceeds the threshold (for example, 60%, which can be set according to actual needs and is not limited in this application). It can be determined that template 2 is a neighboring template of template 1. The electronic device may maintain a neighboring template list to record the neighboring templates corresponding to each template. The electronic device can correspondingly record the identification information of template 1 and template 2 (which may be the name of the template, etc., which is not limited in this application) into the adjacent template list. It should be noted that template 2 is an adjacent template to template 1, and correspondingly, template 1 is also an adjacent template to template 2. It should be further noted that the method of performing image matching on each image (including fingerprint image and template) in the embodiment of the present application to obtain the similarity between the images may refer to the existing technology, which is not limited by this application.
可选地,如上文所述,各指纹模板对应有变换关系信息。电子设备在对模板进行临近模板匹配时,可以按照变换关系信息将模板进行旋转之后,再检测模板之间的相似度,从而提高临近模板识别的准确性。Optionally, as mentioned above, each fingerprint template corresponds to transformation relationship information. When performing adjacent template matching on a template, the electronic device can rotate the template according to the transformation relationship information and then detect the similarity between the templates, thereby improving the accuracy of adjacent template recognition.
在本申请实施例中,模板之间的相似度以及下文中所述的指纹图像与模板之间的图像相似度,可以理解为是各图像(包括指纹图像与模板)中所保存的指纹纹路之间的相似度。In the embodiment of the present application, the similarity between templates and the image similarity between the fingerprint image and the template described below can be understood as one of the fingerprint textures saved in each image (including the fingerprint image and the template). similarity between.
仍参照图11,电子设备将模板1与模板3进行匹配,并检测到模板1与模板3的图像之间的相似度低于阈值,则确定模板1与模板3非临近模板。Still referring to Figure 11, the electronic device matches template 1 and template 3, and detects that the similarity between the images of template 1 and template 3 is lower than the threshold, and then determines that template 1 and template 3 are not adjacent templates.
电子设备将模板1与模板4进行匹配,并检测到模板1与模板4的图像之间的相似度高于阈值,则确定模板1与模板4为临近模板。电子设备按照上述方式,逐一对每个模板进行遍历,以获取到对应的临近模板。可选地,可能存在未对应有临近模板的模板,即,模板与其它模板之间的相似度均低于阈值,本申请不做限定。The electronic device matches template 1 and template 4, and detects that the similarity between the images of template 1 and template 4 is higher than the threshold, and then determines that template 1 and template 4 are adjacent templates. The electronic device traverses each template one by one in the above manner to obtain the corresponding adjacent template. Optionally, there may be templates that do not correspond to adjacent templates, that is, the similarities between the template and other templates are lower than the threshold, which is not limited in this application.
如表1为示例性示出的临近模板列表:Table 1 is an exemplary list of adjacent templates:
表1Table 1
可选地,列表中还可以记录各临近模板对应的变换关系。Optionally, the transformation relationship corresponding to each adjacent template can also be recorded in the list.
示例性的,在指纹解锁过程(用户界面可参照图9,此处不再赘述)中,电子设备获取到用户的指纹图像。如图12为示例性示出的指纹匹配示意图。请参照图12,电子设备将用户的指纹图像与模板库中的模板进行多模板匹配。具体的,电子设备按照存储顺序(也可以是其他顺序)逐一遍历模板,并获取模板对应的临近模板。电子设备可将指纹图像与模板以及对应的临近模板进行匹配,以获取到对应的相似度。电子设备可将多个相似度进行融合,以基于融合后的相似度,确定是否匹配成功。Exemplarily, during the fingerprint unlocking process (for the user interface, refer to FIG. 9 , which will not be described again here), the electronic device acquires the user's fingerprint image. Figure 12 is an exemplary fingerprint matching schematic diagram. Referring to Figure 12, the electronic device performs multi-template matching on the user's fingerprint image and templates in the template library. Specifically, the electronic device traverses the templates one by one according to the storage order (or other order), and obtains adjacent templates corresponding to the templates. The electronic device can match the fingerprint image with the template and the corresponding adjacent template to obtain the corresponding similarity. The electronic device can fuse multiple similarities to determine whether the match is successful based on the fused similarities.
举例说明,仍参照图12,以模板1为例,电子设备基于表1,可确定模板1对应的临近模板为模板2和模板4。电子设备将指纹图像与模板1进行匹配,获取到相似度为相似度1。可选地,电子设备可基于对应的相似度,为模板的相似度进行打分,例如指纹图像与模板1之间的相似度评分为Score_1。其中,相似度越高,评分越高。For example, still referring to Figure 12, taking template 1 as an example, based on Table 1, the electronic device can determine that the adjacent templates corresponding to template 1 are template 2 and template 4. The electronic device matches the fingerprint image with template 1 and obtains a similarity of 1. Optionally, the electronic device can score the similarity of the template based on the corresponding similarity. For example, the similarity score between the fingerprint image and template 1 is Score_1. Among them, the higher the similarity, the higher the score.
接着,电子设备将指纹图像与模板2进行匹配,获取到相似度为相似度2。可选地,电子设备可基于对应的相似度,为模板的相似度进行打分,例如指纹图像与模板2之间的相似度评分为Score_2。Then, the electronic device matches the fingerprint image with template 2, and obtains a similarity of similarity 2. Optionally, the electronic device can score the similarity of the template based on the corresponding similarity. For example, the similarity score between the fingerprint image and template 2 is Score_2.
电子设备将指纹图像与模板4进行匹配,获取到相似度为相似度3。并确定指纹图像与模板4之间的相似度评分为Score_3。The electronic device matches the fingerprint image with template 4 and obtains a similarity of 3. And determine the similarity score between the fingerprint image and template 4 as Score_3.
电子设备可将指纹图像与模板及其临近模板之间的相似度进行融合。一种可能的实现方式中,相似度的融合方式可以是采用将多个相似度(即相似度评分)进行相加。另一种可能的实现方式中,相似度的融合方式可以是检测每个相似度是否均大于相似度阈值。其中,该相似度阈值是小于图10场景中的相似度阈值的。也就是说,通过本申请实施例中的方法,可以降低相似度。例如,图10中的场景中,指纹图像与任意模板之间的相似度需要大于60%,才能确定匹配成功。在本申请实施例中,如果指纹图像与模板1的相似度大于第一阈值(例如为60%)、指纹图像与模板2的相似度大于第二阈值(例如为20%),且指纹图像与模板4之间的相似度大于第二阈值(也可以与第二阈值不同,本申请不做限定),即可确定匹配成功。在又一种可能的实现方式中,电子设备还可以采用决策树分类判别的方式,对相似度进行融合,以确定是否匹配成功,本申请不做限定。The electronic device fuses the fingerprint image with similarities between the template and its neighboring templates. In one possible implementation, the similarity fusion method may be to add multiple similarities (ie, similarity scores). In another possible implementation, the similarity fusion method may be to detect whether each similarity is greater than a similarity threshold. Among them, the similarity threshold is smaller than the similarity threshold in the scene in Figure 10. In other words, through the method in the embodiment of this application, the similarity can be reduced. For example, in the scenario in Figure 10, the similarity between the fingerprint image and any template needs to be greater than 60% to determine a successful match. In the embodiment of the present application, if the similarity between the fingerprint image and template 1 is greater than the first threshold (for example, 60%), the similarity between the fingerprint image and template 2 is greater than the second threshold (for example, 20%), and the fingerprint image is If the similarity between the templates 4 is greater than the second threshold (it may also be different from the second threshold, which is not limited in this application), it can be determined that the matching is successful. In another possible implementation manner, the electronic device can also use a decision tree classification method to fuse the similarities to determine whether the matching is successful, which is not limited in this application.
举例说明,以电子设备获取到的指纹图像中仅能识别到20个准确的点(仅为示意性距离,本申请不做限定)为例进行说明。在图10所示的场景中,假设指纹图像中的20个点,与模板1~模板n之间的相似度均小于80%,电子设备将确定匹配失败。而在本申请实施例中,电子设备将指纹图像与模板1及其临近模板(模板2和模板4)分别进行匹配。其中,可能存在部分点位于模板1中,对应的相似度为20%(数值也可以理解为是相似度评分),部分点位于模板2中,对应的相似度为30%,部分点位于模板4中,相似度为30%。电子设备将各相似度评分进行融合(即20%+30%+30%),可确定融合后的相似度评分为80%,确定达到相似度阈值,可确定匹配成功。As an example, the fingerprint image acquired by the electronic device can only identify 20 accurate points (the distance is only schematic, and this application does not limit it). In the scenario shown in Figure 10, assuming that the similarity between the 20 points in the fingerprint image and templates 1 to template n is less than 80%, the electronic device will determine that the matching fails. In the embodiment of the present application, the electronic device matches the fingerprint image with template 1 and its adjacent templates (template 2 and template 4) respectively. Among them, there may be some points located in template 1, with a corresponding similarity of 20% (the value can also be understood as a similarity score), some points located in template 2, with a corresponding similarity of 30%, and some points located in template 4. Medium, the similarity is 30%. The electronic device fuses the similarity scores (ie, 20% + 30% + 30%), and determines that the fused similarity score is 80%, determines that the similarity threshold is reached, and determines that the matching is successful.
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to implement the above functions, the electronic device includes corresponding hardware and/or software modules that perform each function. In conjunction with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions in conjunction with the embodiments for each specific application, but such implementations should not be considered to be beyond the scope of this application.
一个示例中,图13示出了本申请实施例的一种装置1300的示意性框图装置1300可包括:处理器1301和收发器/收发管脚1302,可选地,还包括存储器1303。In one example, FIG. 13 shows a schematic block diagram of a device 1300 according to an embodiment of the present application. The device 1300 may include: a processor 1301 and a transceiver/transceiver pin 1302, and optionally, a memory 1303.
装置1300的各个组件通过总线1304耦合在一起,其中总线1304除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图中将各种总线都称为总线1304。The various components of device 1300 are coupled together by bus 1304, which includes, in addition to a data bus, a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are referred to as bus 1304 in the figure.
可选地,存储器1303可以用于前述方法实施例中的指令。该处理器1301可用于执行存储器1303中的指令,并控制接收管脚接收信号,以及控制发送管脚发送信号。Optionally, the memory 1303 may be used for instructions in the foregoing method embodiments. The processor 1301 can be used to execute instructions in the memory 1303, and control the receiving pin to receive signals, and control the transmitting pin to send signals.
装置1300可以是上述方法实施例中的电子设备或电子设备的芯片。The device 1300 may be the electronic device or a chip of the electronic device in the above method embodiment.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All relevant content of each step involved in the above method embodiments can be quoted from the functional description of the corresponding functional module, and will not be described again here.
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的法。This embodiment also provides a computer storage medium that stores computer instructions. When the computer instructions are run on an electronic device, the electronic device executes the above related method steps to implement the method in the above embodiment.
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的方法。This embodiment also provides a computer program product. When the computer program product is run on a computer, it causes the computer to perform the above related steps to implement the method in the above embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的方法。In addition, embodiments of the present application also provide a device. This device may be a chip, a component or a module. The device may include a connected processor and a memory. The memory is used to store computer execution instructions. When the device is running, The processor can execute computer execution instructions stored in the memory, so that the chip executes the methods in each of the above method embodiments.
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the electronic equipment, computer storage media, computer program products or chips provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the corresponding methods provided above. The beneficial effects of the method will not be repeated here.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still make the foregoing technical solutions. The technical solutions described in each embodiment may be modified, or some of the technical features may be equivalently replaced; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions in each embodiment of the present application.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311050684.1A CN117711032B (en) | 2023-08-18 | 2023-08-18 | Fingerprint identification method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311050684.1A CN117711032B (en) | 2023-08-18 | 2023-08-18 | Fingerprint identification method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117711032A true CN117711032A (en) | 2024-03-15 |
CN117711032B CN117711032B (en) | 2025-07-04 |
Family
ID=90159427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311050684.1A Active CN117711032B (en) | 2023-08-18 | 2023-08-18 | Fingerprint identification method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117711032B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017156963A1 (en) * | 2016-03-15 | 2017-09-21 | 广东欧珀移动通信有限公司 | Method for fingerprint unlocking, and terminal |
US20180121708A1 (en) * | 2016-03-15 | 2018-05-03 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Fingerprint Unlocking Method and Terminal |
WO2020172773A1 (en) * | 2019-02-25 | 2020-09-03 | 深圳市汇顶科技股份有限公司 | Fingerprint recognition method, apparatus, and electronic device |
CN112183208A (en) * | 2020-08-27 | 2021-01-05 | 华为技术有限公司 | Identity recognition method and equipment |
CN114078258A (en) * | 2020-07-31 | 2022-02-22 | 华为技术有限公司 | Image matching method applied to fingerprint identification and related device |
CN114299555A (en) * | 2022-01-27 | 2022-04-08 | 敦泰电子(深圳)有限公司 | Fingerprint identification method, fingerprint module and electronic equipment |
CN115050058A (en) * | 2021-02-26 | 2022-09-13 | 华为技术有限公司 | Fingerprint identification method and electronic equipment |
CN115131835A (en) * | 2022-09-02 | 2022-09-30 | 荣耀终端有限公司 | Fingerprint identification method and electronic device |
CN116206343A (en) * | 2021-11-30 | 2023-06-02 | 华为技术有限公司 | Fingerprint identification method, electronic device and system |
CN116311388A (en) * | 2022-08-18 | 2023-06-23 | 荣耀终端有限公司 | Fingerprint identification method and device |
CN116386091A (en) * | 2022-11-18 | 2023-07-04 | 荣耀终端有限公司 | Fingerprint identification method and device |
-
2023
- 2023-08-18 CN CN202311050684.1A patent/CN117711032B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017156963A1 (en) * | 2016-03-15 | 2017-09-21 | 广东欧珀移动通信有限公司 | Method for fingerprint unlocking, and terminal |
US20180121708A1 (en) * | 2016-03-15 | 2018-05-03 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Fingerprint Unlocking Method and Terminal |
WO2020172773A1 (en) * | 2019-02-25 | 2020-09-03 | 深圳市汇顶科技股份有限公司 | Fingerprint recognition method, apparatus, and electronic device |
CN114078258A (en) * | 2020-07-31 | 2022-02-22 | 华为技术有限公司 | Image matching method applied to fingerprint identification and related device |
CN112183208A (en) * | 2020-08-27 | 2021-01-05 | 华为技术有限公司 | Identity recognition method and equipment |
CN115050058A (en) * | 2021-02-26 | 2022-09-13 | 华为技术有限公司 | Fingerprint identification method and electronic equipment |
CN116206343A (en) * | 2021-11-30 | 2023-06-02 | 华为技术有限公司 | Fingerprint identification method, electronic device and system |
CN114299555A (en) * | 2022-01-27 | 2022-04-08 | 敦泰电子(深圳)有限公司 | Fingerprint identification method, fingerprint module and electronic equipment |
CN116311388A (en) * | 2022-08-18 | 2023-06-23 | 荣耀终端有限公司 | Fingerprint identification method and device |
CN115131835A (en) * | 2022-09-02 | 2022-09-30 | 荣耀终端有限公司 | Fingerprint identification method and electronic device |
CN116386091A (en) * | 2022-11-18 | 2023-07-04 | 荣耀终端有限公司 | Fingerprint identification method and device |
Also Published As
Publication number | Publication date |
---|---|
CN117711032B (en) | 2025-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12130966B2 (en) | Function enabling method and electronic device | |
CN112130742B (en) | Full screen display method and device of mobile terminal | |
WO2020238728A1 (en) | Login method for intelligent terminal, and electronic device | |
CN112751954B (en) | Operation prompting method and electronic equipment | |
CN112930533B (en) | A control method for electronic equipment and electronic equipment | |
CN113641271B (en) | Application window management method, terminal device and computer readable storage medium | |
CN113660370B (en) | Fingerprint input method and electronic equipment | |
CN112698756A (en) | Display method of user interface and electronic equipment | |
CN110780929A (en) | Method and electronic device for calling hardware interface | |
CN113723144A (en) | Face watching unlocking method and electronic equipment | |
WO2022022381A1 (en) | Method and apparatus for generating graffiti patterns, electronic device, and storage medium | |
CN115050058A (en) | Fingerprint identification method and electronic equipment | |
CN116339510B (en) | Eye movement tracking method, eye movement tracking device, electronic equipment and computer readable storage medium | |
WO2023071415A1 (en) | Application display method, electronic device, and storage medium | |
CN117711032B (en) | Fingerprint identification method and electronic equipment | |
CN116527266A (en) | Data collection method and related equipment | |
CN117234351A (en) | Touch processing method, terminal equipment and storage medium | |
CN114692132A (en) | Application program control method and device, electronic equipment and readable storage medium | |
CN114443238A (en) | Application calling method, device, terminal device and medium | |
CN115495721A (en) | Access control method and related device | |
CN115185441A (en) | Control method, control device, electronic equipment and readable storage medium | |
CN115952564B (en) | Data writing method and terminal equipment | |
WO2022222702A1 (en) | Screen unlocking method and electronic device | |
CN113204308B (en) | Touch method based on distorted fingerprints and electronic equipment | |
WO2025045045A1 (en) | Fingerprint recognition method, electronic device and storage medium |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Country or region after: China Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Applicant after: Honor Terminal Co.,Ltd. Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Applicant before: Honor Device Co.,Ltd. Country or region before: China |
|
GR01 | Patent grant | ||
GR01 | Patent grant |