CN109543558B - Fingerprint image processing method and related product - Google Patents

Fingerprint image processing method and related product Download PDF

Info

Publication number
CN109543558B
CN109543558B CN201811283339.1A CN201811283339A CN109543558B CN 109543558 B CN109543558 B CN 109543558B CN 201811283339 A CN201811283339 A CN 201811283339A CN 109543558 B CN109543558 B CN 109543558B
Authority
CN
China
Prior art keywords
area
screen
light
fingerprint
effective collection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811283339.1A
Other languages
Chinese (zh)
Other versions
CN109543558A (en
Inventor
吴安平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811283339.1A priority Critical patent/CN109543558B/en
Publication of CN109543558A publication Critical patent/CN109543558A/en
Priority to PCT/CN2019/107148 priority patent/WO2020088143A1/en
Priority to EP19880660.6A priority patent/EP3866053A4/en
Priority to US17/243,227 priority patent/US20210248343A1/en
Application granted granted Critical
Publication of CN109543558B publication Critical patent/CN109543558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1324Sensors therefor by using geometrical optics, e.g. using prisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1341Sensing with light passing through the finger

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Collating Specific Patterns (AREA)

Abstract

本申请实施例公开了一种指纹图像处理方法及相关产品,包括:当在检测到指纹采集指令时,确定屏幕待点亮的第二区域和屏下指纹模组的有效采集区域;点亮所述屏幕的第二区域,第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,第一光学噪声包括反射光线,反射光线为第二光线经屏幕反射的光线,第二光线为发射光线中照射方向延屏幕Z轴正向的光线,第二光学噪声包括直射光线,直射光线为发射光线中照射方向延屏幕Z轴反向的光线,第一光线为发射光线经用户指纹反射的光线;通过有效采集区域仅采集第一光线,处理后得到指纹图像。本申请实施例有利于降低光学噪声对指纹图像获取的影响,提升指纹图像处理的准确性和速度。

Embodiments of the present application disclose a fingerprint image processing method and related products, which include: when a fingerprint collection instruction is detected, determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module; lighting all The second area of the screen, the emitted light in the second area is associated with the first optical noise, the second optical noise and the first light, the first optical noise includes the reflected light, the reflected light is the light of the second light reflected by the screen, the second The light is the light whose illumination direction extends along the positive Z-axis of the screen. The second optical noise includes direct light. The direct light is the light whose illumination direction is reverse along the Z-axis of the screen. The first light is the emitted light passing through the user's fingerprint. Reflected light; only the first light is collected through the effective collection area, and the fingerprint image is obtained after processing. The embodiments of the present application are beneficial to reducing the impact of optical noise on fingerprint image acquisition and improving the accuracy and speed of fingerprint image processing.

Description

指纹图像处理方法及相关产品Fingerprint image processing methods and related products

技术领域Technical field

本申请涉及电子设备技术领域,具体涉及一种指纹图像处理方法及相关产品。This application relates to the technical field of electronic equipment, and specifically to a fingerprint image processing method and related products.

背景技术Background technique

屏下指纹采集原理是利用屏幕发出的光来照射放在屏幕上的手指,屏幕发出的光达到手指时发生反射,设置在屏幕下方的光学指纹模组接收到反射的光信号,形成指纹图像。The principle of under-screen fingerprint collection is to use the light emitted by the screen to illuminate the finger placed on the screen. When the light emitted by the screen reaches the finger, it is reflected. The optical fingerprint module set under the screen receives the reflected light signal and forms a fingerprint image.

目前,由于指纹凹凸不平的纹路,光线吸收幅度不同,从而得到明暗不同的指纹图像,而光学指纹模组会因一些光学噪声影响到采集的指纹图像的质量,进而影响指纹图像的处理和匹配。At present, due to the uneven texture of fingerprints, the light absorption amplitude is different, resulting in fingerprint images with different light and dark. The optical fingerprint module will affect the quality of the collected fingerprint images due to some optical noise, which in turn affects the processing and matching of fingerprint images.

发明内容Contents of the invention

本申请实施例提供了一种指纹图像处理方法及相关产品,可以降低光学噪声对指纹图像获取的影响,提升指纹图像处理的准确性和速度。Embodiments of the present application provide a fingerprint image processing method and related products, which can reduce the impact of optical noise on fingerprint image acquisition and improve the accuracy and speed of fingerprint image processing.

第一方面,本申请实施例提供了一种指纹图像处理方法,应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,所述方法包括:In a first aspect, embodiments of the present application provide a fingerprint image processing method applied to an electronic device. The electronic device includes a screen and an under-screen fingerprint module arranged relative to a first area of the screen. The method includes:

在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域;When a fingerprint collection instruction is detected, determine the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module. The second area includes an annular area or a non-annular independent area or multiple separate areas. , the collection area corresponding to the unlit display area surrounded by the inner ring of the annular area is the effective collection area, and the collection area corresponding to the area of the screen other than the non-annular independent area includes the effective collection area. Collection area, the collection area corresponding to the unlit display area between at least two separation areas among the plurality of separation areas is the effective collection area;

点亮所述屏幕的第二区域,其中,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;Lighting a second area of the screen, wherein the emitted light of the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, and the reflected light is The second light is the light reflected by the screen. The second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light. The second optical noise includes direct light, and the direct light is the Among the emitted light rays, the illumination direction is in the opposite direction along the Z-axis of the screen, and the first light ray is the light ray reflected by the user's fingerprint by the emitted light ray;

通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。Only the first light is collected through the effective collection area, and a fingerprint image is obtained after processing.

第二方面,本申请实施例提供了一种指纹图像处理装置,应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,所述指纹图像处理装置包括确定单元、点亮单元和处理单元,其中:In a second aspect, embodiments of the present application provide a fingerprint image processing device for use in electronic equipment. The electronic equipment includes a screen and an under-screen fingerprint module arranged relative to a first area of the screen. The fingerprint image processing device The device includes a determination unit, a lighting unit and a processing unit, wherein:

所述确定单元,用于在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域;The determination unit is configured to determine the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module when a fingerprint collection instruction is detected. The second area includes an annular area or a non-annular area. Independent area or multiple separated areas, the collection area corresponding to the unlit display area surrounded by the inner ring of the annular area is the effective collection area, and the area of the screen other than the non-annular independent area corresponds to The collection area includes the effective collection area, and the collection area corresponding to the unlit display area between at least two separation areas among the plurality of separation areas is the effective collection area;

所述点亮单元,用于点亮所述屏幕的第二区域,其中,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;The lighting unit is used to light a second area of the screen, wherein the emitted light of the second area is associated with first optical noise, second optical noise and first light, and the first optical noise includes Reflected light, the reflected light is the second light reflected by the screen, the second light is the light of the emitted light whose illumination direction extends along the positive Z-axis of the screen, the second optical noise includes direct light , the direct light is the light whose illumination direction is reversed along the Z-axis of the screen in the emitted light, and the first light is the light reflected by the user's fingerprint of the emitted light;

所述处理单元,用于通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。The processing unit is configured to collect only the first light through the effective collection area, and obtain a fingerprint image after processing.

第三方面,本申请实施例提供了一种电子设备,包括:处理器,存储器,以及一个或多个程序;所述一个或多个程序被存储在上述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行本申请实施例第一方面任一方法中所描述的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including: a processor, a memory, and one or more programs; the one or more programs are stored in the above-mentioned memory and are configured to be configured by the The processor executes the program, and the program includes instructions for executing the steps described in any method of the first aspect of the embodiment of the present application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储有用于电子数据交换的计算机程序,该计算机程序具体包括指令,所述指令用于执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤,所述计算机包括电子设备。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange. The computer program specifically includes instructions, and the instructions are used to execute As part or all of the steps described in any method of the first aspect of the embodiment of this application, the computer includes an electronic device.

第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括电子设备。In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause the computer to execute the following steps: Some or all of the steps described in any method of the first aspect of the application embodiment. The computer program product may be a software installation package, and the computer includes electronic equipment.

可以看出,本申请实施例中,电子设备首先在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,然后,点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,最后,通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。可见,电子设备仅点亮第二区域,而不点亮指纹模组的有效采集区域,可以有效避免第一光学噪声和第二光学噪声对指纹模组采集指纹图像时的影响,仅采集通过指纹反射到有效采集区域的第一光线,有利于提升指纹图像形成的准确性,以及在获取第一光线后,可以减少滤除光学噪声的过程,直接形成指纹图像,有利于提升指纹图像形成的速度。It can be seen that in the embodiment of the present application, when the electronic device detects a fingerprint collection instruction, it first determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, and then lights all the areas. The second area of the screen, the emitted light in the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, the reflected light is the second light passing through The light reflected by the screen, the second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light, and the second optical noise includes direct light, and the direct light is the illumination direction of the emitted light. The light extending in the opposite direction along the Z-axis of the screen, and finally, only the first light is collected through the effective collection area, and the fingerprint image is obtained after processing. It can be seen that the electronic device only lights up the second area and does not light up the effective collection area of the fingerprint module, which can effectively avoid the impact of the first optical noise and the second optical noise on the fingerprint module when collecting fingerprint images, and only collects passed fingerprints. The first light reflected to the effective collection area is beneficial to improving the accuracy of fingerprint image formation, and after acquiring the first light, the process of filtering out optical noise can be reduced and the fingerprint image is directly formed, which is beneficial to improving the speed of fingerprint image formation. .

附图说明Description of drawings

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

图1A是本申请实施例公开的一种指纹图像处理方法的流程示意图;Figure 1A is a schematic flowchart of a fingerprint image processing method disclosed in an embodiment of the present application;

图1B是本申请实施例公开的一种屏下指纹模组的示意图;Figure 1B is a schematic diagram of an under-screen fingerprint module disclosed in an embodiment of the present application;

图1C是本申请实施例公开的一种屏下指纹模组的有效采集区域与第二区域的示意图;Figure 1C is a schematic diagram of the effective collection area and the second area of an under-screen fingerprint module disclosed in the embodiment of the present application;

图1D是本申请实施例公开的另一种屏下指纹模组的有效采集区域与第二区域的示意图;Figure 1D is a schematic diagram of the effective collection area and the second area of another under-screen fingerprint module disclosed in the embodiment of the present application;

图1E是本申请实施例公开的又一种屏下指纹模组的有效采集区域与第二区域的示意图;1E is a schematic diagram of the effective collection area and the second area of another under-screen fingerprint module disclosed in the embodiment of the present application;

图1F是本申请实施例公开的第二区域发射光线的示意图;Figure 1F is a schematic diagram of the second area emitting light disclosed in the embodiment of the present application;

图1G是本申请实施例公开的一种第一接触区域、第一屏幕参考区域和第二区域的位置关系示意图;1G is a schematic diagram of the positional relationship between the first contact area, the first screen reference area and the second area disclosed in the embodiment of the present application;

图2是本申请实施例公开的另一种指纹图像处理方法的流程示意图;Figure 2 is a schematic flow chart of another fingerprint image processing method disclosed in the embodiment of the present application;

图3是本申请实施例公开的另一种指纹图像处理方法的流程示意图;Figure 3 is a schematic flow chart of another fingerprint image processing method disclosed in the embodiment of the present application;

图4是本申请实施例公开的一种电子设备的结构示意图;Figure 4 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;

图5是本申请实施例公开的一种指纹图像处理装置的功能单元组成框图;Figure 5 is a functional unit block diagram of a fingerprint image processing device disclosed in the embodiment of the present application;

图6是本申请实施例公开的一种智能手机的结构示意图。Figure 6 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those in the technical field to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only These are part of the embodiments of this application, but not all of them. 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.

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

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

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

请参阅图1A,图1A是本申请实施例提供了一种指纹图像处理方法的流程示意图,应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,如图所示,本指纹图像处理方法包括:Please refer to FIG. 1A. FIG. 1A is a schematic flow chart of a fingerprint image processing method provided by an embodiment of the present application. It is applied to an electronic device. The electronic device includes a screen and an under-screen fingerprint model arranged relative to a first area of the screen. Group, as shown in the figure, this fingerprint image processing method includes:

S101,电子设备在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域;S101. When the electronic device detects a fingerprint collection instruction, it determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module;

其中,所述屏下指纹模组设置在屏幕第一区域对应的屏幕与后壳中间的空间中,如图1B所示,所述第一区域的形状可以是多种多样的,例如可以是椭圆形,矩形等,所述第一区域的大小为小于或者等于所述屏幕的大小,在此不做限定。Wherein, the under-screen fingerprint module is arranged in the space between the screen and the back shell corresponding to the first area of the screen. As shown in Figure 1B, the shape of the first area can be various, for example, it can be an ellipse. shape, rectangle, etc., the size of the first area is smaller than or equal to the size of the screen, which is not limited here.

其中,所述指纹采集指令可以是手指在屏幕为熄屏状态下按压屏幕,或者可以是屏幕为亮屏状态下,采集指纹进行支付的指令等,在此不做限定。The fingerprint collection instruction may be a finger pressing the screen when the screen is off, or it may be an instruction to collect fingerprints for payment when the screen is on, etc., which are not limited here.

其中,所述第二区域与所述屏下指纹模组的有效采集区域不存在重叠区域,且,所述第二区域点亮后的发射光线包括可以照射到用户手指的光线,该部分光线可以经用户手指反射到屏下指纹模组的有效采集区域,供屏下指纹模组采集指纹图像,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域,如图1C所示,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域,如图1D所示,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域,如图1E所示。There is no overlapping area between the second area and the effective collection area of the under-screen fingerprint module, and the emitted light after the second area is lit includes light that can illuminate the user's finger, and this part of the light can It is reflected by the user's finger to the effective collection area of the under-screen fingerprint module for the under-screen fingerprint module to collect fingerprint images. The second area includes an annular area or a non-annular independent area or multiple separate areas. The inner area of the annular area is The collection area corresponding to the unlit display area surrounded by the ring is the effective collection area. As shown in Figure 1C, the collection area corresponding to the area of the screen other than the non-annular independent area includes the effective collection area. area, as shown in FIG. 1D , the collection area corresponding to the unlit display area between at least two separation areas among the plurality of separation areas is the effective collection area, as shown in FIG. 1E .

S102,所述电子设备点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;S102. The electronic device lights up a second area of the screen. The emitted light in the second area is associated with first optical noise, second optical noise and first light. The first optical noise includes reflected light, so The reflected light is a second light reflected by the screen, and the second light is a light whose illumination direction extends along the positive Z-axis of the screen in the emitted light. The second optical noise includes direct light, and the direct light The light is the light whose illumination direction is reversed along the Z-axis of the screen in the emitted light, and the first light is the light reflected by the user's fingerprint of the emitted light;

其中,覆盖在所述屏下指纹模组的有效采集区域的屏幕区域为熄灭状态。Among them, the screen area covering the effective collection area of the under-screen fingerprint module is in an extinguished state.

其中,第一光学噪声为第二区域发射光线中照射方向延屏幕Z轴正向的光线的反射光线,那么第一光学噪声则为照射方向延屏幕Z轴负向的光线,即第二区域中垂直屏幕向下的光线,由于屏下指纹模组的有效采集区域的设置与第二区域不存在重叠部分,所以,第一光学噪声不会被采集,也就不会对指纹图像的采集造成影响,可以消除第一光学噪声。Among them, the first optical noise is the reflected light of the light ray whose illumination direction extends along the positive Z-axis of the screen in the second area. Then the first optical noise is the light whose illumination direction extends along the negative Z-axis of the screen, that is, in the second area For light directed downwards from the vertical screen, since the effective collection area of the under-screen fingerprint module is set to have no overlap with the second area, the first optical noise will not be collected and will not affect the collection of fingerprint images. , the first optical noise can be eliminated.

其中,第二光学噪声为第二区域发射光线中照射方向延屏幕Z轴反向的直射光线,同样为第二区域中垂直屏幕向下的光线,因此,基于与上述第一光学噪声相同的理由,可以消除第二光学噪声,如图1F所示,包括第一光学噪声,第二光学噪声和第一光线。Among them, the second optical noise is the direct light ray whose illumination direction is opposite to the Z-axis of the screen among the light emitted in the second area. It is also the light downward vertical to the screen in the second area. Therefore, it is based on the same reason as the above-mentioned first optical noise. , the second optical noise can be eliminated, as shown in Figure 1F, including the first optical noise, the second optical noise and the first light.

S103,所述电子设备通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。S103: The electronic device collects only the first light through the effective collection area, and obtains a fingerprint image after processing.

可以看出,本申请实施例中,电子设备首先在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,然后,点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,最后,通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。可见,电子设备仅点亮第二区域,而不点亮指纹模组的有效采集区域,可以有效避免第一光学噪声和第二光学噪声对指纹模组采集指纹图像时的影响,仅采集通过指纹反射到有效采集区域的第一光线,有利于提升指纹图像形成的准确性,以及在获取第一光线后,可以减少滤除光学噪声的过程,直接形成指纹图像,有利于提升指纹图像形成的速度。It can be seen that in the embodiment of the present application, when the electronic device detects a fingerprint collection instruction, it first determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, and then lights all the areas. The second area of the screen, the emitted light in the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, the reflected light is the second light passing through The light reflected by the screen, the second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light, and the second optical noise includes direct light, and the direct light is the illumination direction of the emitted light. The light extending in the opposite direction along the Z-axis of the screen, and finally, only the first light is collected through the effective collection area, and the fingerprint image is obtained after processing. It can be seen that the electronic device only lights up the second area and does not light up the effective collection area of the fingerprint module, which can effectively avoid the impact of the first optical noise and the second optical noise on the fingerprint module when collecting fingerprint images, and only collects passed fingerprints. The first light reflected to the effective collection area is beneficial to improving the accuracy of fingerprint image formation, and after acquiring the first light, the process of filtering out optical noise can be reduced and the fingerprint image is directly formed, which is beneficial to improving the speed of fingerprint image formation. .

在一个可能的示例中,所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,包括:In a possible example, determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module includes:

获取用户手指与所述屏幕的第一接触区域;Obtain the first contact area between the user's finger and the screen;

确定包括所述第一接触区域的第一屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;Determine that the collection area corresponding to the first screen reference area including the first contact area is the effective collection area of the under-screen fingerprint module;

确定所述屏幕中包围区域包括所述第一屏幕参考区域的环形区域为所述第二区域,所述包围区域为所述环形区域的内环所包围的区域。It is determined that an annular area in the screen whose surrounding area includes the first screen reference area is the second area, and the surrounding area is an area surrounded by an inner ring of the annular area.

其中,所述包括所述第一接触区域的第一屏幕参考区域的面积大于或者等于所述第一接触区域,且所述第一屏幕参考区域的面积小于第一预设面积阈值,这是由于,如果第一屏幕参考区域的面积大于第一预设面积阈值时,会导致第二区域的位置距离手指较远,继而导致第二区域的发射光线无法照射到用户手指形成指纹图像,基于相同的理由,所述包围区域的面积应大于或等于所述第一屏幕参考区域,且小于第二预设面积阈值,所述第一接触区域、所述第一屏幕参考区域和所述第二区域的位置关系,如图1G所示。Wherein, the area of the first screen reference area including the first contact area is greater than or equal to the first contact area, and the area of the first screen reference area is less than the first preset area threshold. This is because , if the area of the first screen reference area is greater than the first preset area threshold, it will cause the second area to be far away from the finger, and then the emitted light from the second area will not be able to illuminate the user's finger to form a fingerprint image. Based on the same The reason is that the area of the surrounding area should be greater than or equal to the first screen reference area and less than the second preset area threshold. The area of the first contact area, the first screen reference area and the second area The positional relationship is shown in Figure 1G.

其中,所述第一预设面积阈值和所述第二面积阈值为经验值,可以是电子设备的技术开发人员在电子设备出厂前根据多次验证数据进行设置的数值,在此不做限定。The first preset area threshold and the second area threshold are empirical values, which can be values set by technical developers of the electronic device based on multiple verification data before the electronic device leaves the factory, and are not limited here.

可见,本示例中,电子设备根据用户手指与所述屏幕的第一接触区域确定屏下指纹模组的有效采集区域和第二区域,有利于提升区域设置的准确性,而且,将第二区域设置为环形区域,有利于提升指纹图像获取的完整性。It can be seen that in this example, the electronic device determines the effective collection area and the second area of the under-screen fingerprint module based on the first contact area between the user's finger and the screen, which is beneficial to improving the accuracy of area setting, and the second area is Setting it as a ring area is beneficial to improving the integrity of fingerprint image acquisition.

在一个可能的示例中,所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,包括:In a possible example, determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module includes:

获取用户手指与所述屏幕的第二接触区域;Obtain the second contact area between the user's finger and the screen;

确定包括所述第二接触区域的第二屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;Determine that the collection area corresponding to the second screen reference area including the second contact area is the effective collection area of the under-screen fingerprint module;

确定所述屏幕中除所述第二屏幕参考区域之外的非环形独立区域为所述第二区域,所述非环形独立区域的照射光线包括照射到所述接触区域的光线。A non-annular independent area in the screen other than the second screen reference area is determined to be the second area, and the irradiation light of the non-annular independent area includes the light irradiating to the contact area.

其中,所述非环形独立区域的形状可以是半个环形,或者四分之三个环形,或者半个矩形等,在此不做限定,所述第二屏幕参考区域同上述第一屏幕参考区域的设置方法。The shape of the non-annular independent area may be half annular, or three-quarter annular, or half rectangular, etc., which is not limited here. The second screen reference area is the same as the above-mentioned first screen reference area. setting method.

其中,所述确定所述屏幕中除所述第二屏幕参考区域之外的非环形独立区域为所述第二区域的具体实现方式可以是多种多样的,例如可以是根据当前的电量确定可以电量的屏幕的面积,根据面积确定非环形独立区域,而且,为了尽量保障在点亮非环形独立区域之后,指纹图像获取的完整性,相同面积下,所述非环形独立区域的形状应该尽量多的包括所述第二接触区域,也就是说,所述非环形独立区域的形状可以使照射光线中包括尽可能多的照射到所述接触区域不同位置的光线,而不要只设置在接触区域的一侧位置,或者可以是根据显示屏的碎屏状态确定所述非环形独立区域,在此不做限定。The specific implementation methods for determining that the non-annular independent area in the screen other than the second screen reference area is the second area can be various. For example, it can be determined based on the current power level. The area of the screen based on the battery capacity determines the non-annular independent area based on the area. Moreover, in order to ensure the integrity of the fingerprint image acquisition after lighting up the non-annular independent area, the shape of the non-annular independent area should be as large as possible under the same area. Including the second contact area, that is to say, the shape of the non-annular independent area can make the illumination light include as much light as possible that illuminates different positions of the contact area, rather than just being provided in the contact area. The position on one side, or the non-annular independent area may be determined based on the broken screen state of the display screen, which is not limited here.

可见,本示例中,电子设备根据用户手指与屏幕的第二接触区域来确定屏下指纹模组的有效采集区域和第二区域,有利于提升第二区域的多样性,而且,将第二区域设置为非环形独立区域,相比于环形区域可以减小电量消耗。It can be seen that in this example, the electronic device determines the effective collection area and the second area of the under-screen fingerprint module based on the second contact area between the user's finger and the screen, which is beneficial to improving the diversity of the second area, and furthermore, converting the second area Setting it as a non-annular independent area can reduce power consumption compared to an annular area.

在一个可能的示例中,所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,包括:In a possible example, determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module includes:

获取用户手指与所述屏幕的第三接触区域;Obtain the third contact area between the user's finger and the screen;

确定包括所述第三接触区域的第三屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;Determine that the collection area corresponding to the third screen reference area including the third contact area is the effective collection area of the under-screen fingerprint module;

根据所述第三接触区域确定所述屏幕待点亮的最大参考区域;Determine the maximum reference area of the screen to be lit based on the third contact area;

确定所述最大参考区域中的多个分离区域为所述第二区域,每个所述分离区域的照射光线包括照射到所述接触区域的光线。A plurality of separation areas in the maximum reference area are determined to be the second areas, and the irradiation light of each separation area includes the light irradiation to the contact area.

其中,所述多个分离区域中每个分离区域的形状可以相同,也可以不同,例如可以是矩形、三角形、圆形等,在此不做限定,所述第三屏幕参考区域同上述第一屏幕参考区域的设置方法。Wherein, the shape of each separation area in the plurality of separation areas may be the same or different, for example, it may be a rectangle, a triangle, a circle, etc., which is not limited here. The third screen reference area is the same as the above-mentioned first How to set the screen reference area.

其中,所述最大参考区域为可以是设置为第二区域的最大区域,也就是说,除最大参考区域和第三屏幕参考区域之外的区域的发射光线是不包括照射到接触区域的光线的,所述根据所述第三接触区域确定所述屏幕待点亮的最大参考区域的具体是实现方式可以是多种多样的,例如可以是根据第三接触区域的位置和预设的第三接触区域的位置与最大参考区域的位置关系确定的最大参考区域,或者可以是根据第三接触区域的面积和最大参考区域的面积之间的映射关系,确定最大参考区域,在此不做限定。Wherein, the maximum reference area is the maximum area that can be set as the second area, that is to say, the emitted light rays in areas other than the maximum reference area and the third screen reference area do not include light irradiating the contact area. , the specific implementation method of determining the maximum reference area of the screen to be lit according to the third contact area may be various, for example, it may be based on the position of the third contact area and the preset third contact The maximum reference area is determined by the positional relationship between the area and the maximum reference area, or the maximum reference area can be determined based on the mapping relationship between the area of the third contact area and the area of the maximum reference area, which is not limited here.

其中,所述电子设备确定所述最大参考区域中的多个分离区域为所述第二区域时,每次设置的多个分离区域的位置和形状可以是随机的,增强设置的多样性。Wherein, when the electronic device determines that the plurality of separation areas in the maximum reference area are the second areas, the positions and shapes of the plurality of separation areas set each time may be random, thereby enhancing the diversity of the setting.

可见,本示例中,电子设备根据用户手指与屏幕的第三接触区域确定屏下指纹模组的有效采集区域和第二区域,有利于提升有效采集区域和第二区域设置的准确性,而且,将第二区域设置为多个分离区域,有利于提升第二区域设置的多样性和趣味性。It can be seen that in this example, the electronic device determines the effective collection area and the second area of the under-screen fingerprint module based on the third contact area between the user's finger and the screen, which is beneficial to improving the accuracy of the effective collection area and the second area setting, and, Setting the second area into multiple separate areas will help improve the diversity and interest of the second area setting.

在一个可能的示例中,所述通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像之后,所述方法还包括:In a possible example, after collecting only the first light through the effective collection area and obtaining the fingerprint image after processing, the method further includes:

根据所述指纹图像执行指纹比对过程,得到比对结果;Perform a fingerprint comparison process according to the fingerprint image to obtain a comparison result;

若所述比对结果为匹配,则执行解锁操作;If the comparison result is a match, perform an unlocking operation;

若所述比对结果为不匹配,则不执行所述解锁操作。If the comparison result is no match, the unlocking operation is not performed.

其中,当指纹比对过程中指纹图像与预设指纹图像的匹配度小于预设匹配度阈值,则为不匹配,如果大于或者等于匹配度阈值,则为匹配。Among them, when the matching degree between the fingerprint image and the preset fingerprint image during the fingerprint comparison process is less than the preset matching degree threshold, it is a mismatch, and if it is greater than or equal to the matching degree threshold, it is a match.

可见,本示例中,电子设备根据指纹图像执行指纹比对过程,当比对结果为匹配时,才执行解锁操作,有利于提升电子设备的安全性。It can be seen that in this example, the electronic device performs a fingerprint comparison process based on the fingerprint image. When the comparison result is a match, the unlocking operation is performed, which is beneficial to improving the security of the electronic device.

在这个可能的示例中,所述若所述比对结果为匹配,则执行解锁操作,包括:In this possible example, if the comparison result is a match, performing an unlocking operation includes:

确定所述屏幕待点亮的第二区域的照射光线照射到用户手指的区域的面积大小;Determine the area size of the area where the irradiation light of the second area to be lit on the screen irradiates the user's finger;

根据所述面积大小确定目标匹配度;Determine the target matching degree according to the size of the area;

当所述比对结果的匹配度大于所述目标匹配度时,则执行所述解锁操作。When the matching degree of the comparison result is greater than the target matching degree, the unlocking operation is performed.

举例来说,当第二区域为环形区域时,照射光线可以照射到用户手指的全部区域,而当第二区域为非环形独立区域时,照射光线可以照射到用户手指的部分区域,因此,不同区域获取的指纹图像的完整度不同,故而采用不同的目标匹配度。For example, when the second area is a ring-shaped area, the illuminating light can illuminate the entire area of the user's finger, and when the second area is a non-annular independent area, the illuminating light can illuminate part of the user's finger. Therefore, different The completeness of the fingerprint images acquired in the region is different, so different target matching degrees are used.

可见,本示例中,电子设备根据第二区域照射光线可以照射到用户手指的区域的面积的大小确定目标匹配度,有利于提升指纹图像匹配的合理性,以及提升匹配的成功率。It can be seen that in this example, the electronic device determines the target matching degree based on the size of the area where the second area irradiation light can illuminate the user's finger, which is beneficial to improving the rationality of fingerprint image matching and improving the success rate of matching.

在一个可能的示例中,所述在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域之前,所述方法还包括:In a possible example, before determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module when a fingerprint collection instruction is detected, the method further includes:

检测所述屏幕的显示状态;Detect the display status of the screen;

当检测到所述屏幕的显示状态为亮屏状态时,熄灭所述第一区域。When it is detected that the display state of the screen is a bright screen state, the first area is turned off.

可见,本示例中,电子设备在确定第二区域和有效采集区域之前,先检测屏幕的显示状态,当屏幕处于整屏亮屏状态时,熄灭第一区域,即包括有效采集区域的第一区域,有利于提升准确消灭第一光学噪声和第二光学噪声的影响。It can be seen that in this example, before determining the second area and the effective collection area, the electronic device first detects the display state of the screen. When the screen is in the full screen bright state, the first area, that is, the first area including the effective collection area is turned off. , which is conducive to improving the accuracy of eliminating the influence of the first optical noise and the second optical noise.

与所述图1A所示的实施例一致的,请参阅图2,图2是本申请实施例提供的另一种指纹图像处理方法的流程示意图,应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,如图所示,本指纹图像处理方法包括:Consistent with the embodiment shown in Figure 1A, please refer to Figure 2. Figure 2 is a schematic flow chart of another fingerprint image processing method provided by an embodiment of the present application, applied to an electronic device, and the electronic device includes a screen and As shown in the figure, the fingerprint image processing method includes:

S201,电子设备在检测到指纹采集指令时,获取用户手指与所述屏幕的第一接触区域。S201. When the electronic device detects a fingerprint collection instruction, obtain the first contact area between the user's finger and the screen.

S202,所述电子设备确定包括所述第一接触区域的第一屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域。S202: The electronic device determines that the collection area corresponding to the first screen reference area including the first contact area is the effective collection area of the under-screen fingerprint module.

S203,所述电子设备确定所述屏幕中包围区域包括所述第一屏幕参考区域的环形区域为第二区域,所述包围区域为所述环形区域的内环所包围的区域。S203: The electronic device determines that the annular area in the screen that is surrounded by the first screen reference area is the second area, and the enclosing area is the area surrounded by the inner ring of the annular area.

S204,所述电子设备点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线。S204, the electronic device lights a second area of the screen, the emitted light of the second area is associated with the first optical noise, the second optical noise and the first light, the first optical noise includes reflected light, so The reflected light is a second light reflected by the screen, and the second light is a light whose illumination direction extends along the positive Z-axis of the screen in the emitted light. The second optical noise includes direct light, and the direct light The light is the light whose illumination direction is reversed along the Z-axis of the screen in the emitted light, and the first light is the light reflected by the user's fingerprint of the emitted light.

S205,所述电子设备通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。S205: The electronic device collects only the first light through the effective collection area, and obtains a fingerprint image after processing.

S206,所述电子设备根据所述指纹图像执行指纹比对过程,得到比对结果。S206: The electronic device performs a fingerprint comparison process based on the fingerprint image to obtain a comparison result.

S207,所述电子设备确定所述屏幕待点亮的第二区域的照射光线照射到用户手指的区域的面积大小。S207: The electronic device determines the area size of the area where the irradiation light of the second area to be lit on the screen irradiates the user's finger.

S208,所述电子设备根据所述面积大小确定目标匹配度。S208: The electronic device determines the target matching degree according to the area size.

S209,所述电子设备当所述比对结果的匹配度大于所述目标匹配度时,则执行所述解锁操作。S209: When the matching degree of the comparison result is greater than the target matching degree, the electronic device performs the unlocking operation.

可以看出,本申请实施例中,电子设备首先在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,然后,点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,最后,通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。可见,电子设备仅点亮第二区域,而不点亮指纹模组的有效采集区域,可以有效避免第一光学噪声和第二光学噪声对指纹模组采集指纹图像时的影响,仅采集通过指纹反射到有效采集区域的第一光线,有利于提升指纹图像形成的准确性,以及在获取第一光线后,可以减少滤除光学噪声的过程,直接形成指纹图像,有利于提升指纹图像形成的速度。It can be seen that in the embodiment of the present application, when the electronic device detects a fingerprint collection instruction, it first determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, and then lights all the areas. The second area of the screen, the emitted light in the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, the reflected light is the second light passing through The light reflected by the screen, the second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light, and the second optical noise includes direct light, and the direct light is the illumination direction of the emitted light. The light extending in the opposite direction along the Z-axis of the screen, and finally, only the first light is collected through the effective collection area, and the fingerprint image is obtained after processing. It can be seen that the electronic device only lights up the second area and does not light up the effective collection area of the fingerprint module, which can effectively avoid the impact of the first optical noise and the second optical noise on the fingerprint module when collecting fingerprint images, and only collects passed fingerprints. The first light reflected to the effective collection area is beneficial to improving the accuracy of fingerprint image formation, and after acquiring the first light, the process of filtering out optical noise can be reduced and the fingerprint image is directly formed, which is beneficial to improving the speed of fingerprint image formation. .

此外,电子设备根据用户手指与所述屏幕的第一接触区域确定屏下指纹模组的有效采集区域和第二区域,有利于提升区域设置的准确性,而且,将第二区域设置为环形区域,有利于提升指纹图像获取的完整性。In addition, the electronic device determines the effective collection area and the second area of the under-screen fingerprint module based on the first contact area between the user's finger and the screen, which is beneficial to improving the accuracy of area setting, and the second area is set as a ring area. , which is conducive to improving the integrity of fingerprint image acquisition.

此外,电子设备根据第二区域照射光线可以照射到用户手指的区域的面积的大小确定目标匹配度,有利于提升指纹图像匹配的合理性,以及提升匹配的成功率。In addition, the electronic device determines the target matching degree based on the size of the area where the second area irradiation light can illuminate the user's finger, which is beneficial to improving the rationality of fingerprint image matching and improving the success rate of matching.

与所述图1A所示的实施例一致的,请参阅图3,图3是本申请实施例提供的另一种指纹图像处理方法的流程示意图,应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,如图所示,本指纹图像处理方法包括:Consistent with the embodiment shown in FIG. 1A , please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another fingerprint image processing method provided by an embodiment of the present application. It is applied to an electronic device. The electronic device includes a screen and a screen. As shown in the figure, the fingerprint image processing method includes:

S301,电子设备检测所述屏幕的显示状态。S301. The electronic device detects the display state of the screen.

S302,所述电子设备当检测到所述屏幕的显示状态为亮屏状态时,熄灭所述第一区域。S302: When the electronic device detects that the display state of the screen is a bright screen state, the electronic device turns off the first area.

S303,所述电子设备在检测到指纹采集指令时,获取用户手指与所述屏幕的第三接触区域。S303: When the electronic device detects a fingerprint collection instruction, obtain the third contact area between the user's finger and the screen.

S304,所述电子设备确定包括所述第三接触区域的第三屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域。S304: The electronic device determines that the collection area corresponding to the third screen reference area including the third contact area is the effective collection area of the under-screen fingerprint module.

S305,所述电子设备根据所述第三接触区域确定所述屏幕待点亮的最大参考区域。S305: The electronic device determines the maximum reference area of the screen to be lit based on the third contact area.

S306,所述电子设备确定所述最大参考区域中的多个分离区域为第二区域,每个所述分离区域的照射光线包括照射到所述接触区域的光线。S306: The electronic device determines a plurality of separation areas in the maximum reference area as second areas, and the irradiation light of each separation area includes the light irradiation to the contact area.

S307,所述电子设备点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线。S307. The electronic device lights up a second area of the screen. The emitted light in the second area is associated with first optical noise, second optical noise and first light. The first optical noise includes reflected light, so The reflected light is a second light reflected by the screen, and the second light is a light whose illumination direction extends along the positive Z-axis of the screen in the emitted light. The second optical noise includes direct light, and the direct light The light is the light whose illumination direction is reversed along the Z-axis of the screen in the emitted light, and the first light is the light reflected by the user's fingerprint of the emitted light.

S308,所述电子设备通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。S308: The electronic device collects only the first light through the effective collection area, and obtains a fingerprint image after processing.

可以看出,本申请实施例中,电子设备首先在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,然后,点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,最后,通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。可见,电子设备仅点亮第二区域,而不点亮指纹模组的有效采集区域,可以有效避免第一光学噪声和第二光学噪声对指纹模组采集指纹图像时的影响,仅采集通过指纹反射到有效采集区域的第一光线,有利于提升指纹图像形成的准确性,以及在获取第一光线后,可以减少滤除光学噪声的过程,直接形成指纹图像,有利于提升指纹图像形成的速度。It can be seen that in the embodiment of the present application, when the electronic device detects a fingerprint collection instruction, it first determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, and then lights all the areas. The second area of the screen, the emitted light in the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, the reflected light is the second light passing through The light reflected by the screen, the second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light, and the second optical noise includes direct light, and the direct light is the illumination direction of the emitted light. The light extending in the opposite direction along the Z-axis of the screen, and finally, only the first light is collected through the effective collection area, and the fingerprint image is obtained after processing. It can be seen that the electronic device only lights up the second area and does not light up the effective collection area of the fingerprint module, which can effectively avoid the impact of the first optical noise and the second optical noise on the fingerprint module when collecting fingerprint images, and only collects passed fingerprints. The first light reflected to the effective collection area is beneficial to improving the accuracy of fingerprint image formation, and after acquiring the first light, the process of filtering out optical noise can be reduced and the fingerprint image is directly formed, which is beneficial to improving the speed of fingerprint image formation. .

此外,电子设备根据用户手指与屏幕的第三接触区域确定屏下指纹模组的有效采集区域和第二区域,有利于提升有效采集区域和第二区域设置的准确性,而且,将第二区域设置为多个分离区域,有利于提升第二区域设置的多样性和趣味性。In addition, the electronic device determines the effective collection area and the second area of the under-screen fingerprint module based on the third contact area between the user's finger and the screen, which is conducive to improving the accuracy of setting the effective collection area and the second area, and the second area is Setting it up as multiple separate areas will help improve the diversity and interest of the second area setting.

此外,电子设备在确定第二区域和有效采集区域之前,先检测屏幕的显示状态,当屏幕处于整屏亮屏状态时,熄灭第一区域,即包括有效采集区域的第一区域,有利于提升准确消灭第一光学噪声和第二光学噪声的影响。In addition, before determining the second area and the effective collection area, the electronic device first detects the display state of the screen. When the screen is in the full-screen bright state, the first area, that is, the first area including the effective collection area, is beneficial to improvement. Accurately eliminate the influence of the first optical noise and the second optical noise.

与上述图1A、图2、图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种电子设备的结构示意图,该电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,如图所示,该电子设备包括处理器401、存储器402、通信接口403以及一个或多个程序404,其中,上述一个或多个程序404被存储在上述存储器402中,并且被配置由上述处理器401执行,上述程序404包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 1A, FIG. 2, and FIG. 3, please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device includes a screen and a screen relative to the screen. An under-screen fingerprint module is provided in the first area. As shown in the figure, the electronic device includes a processor 401, a memory 402, a communication interface 403, and one or more programs 404, wherein the one or more programs 404 are stored In the above-mentioned memory 402, and configured to be executed by the above-mentioned processor 401, the above-mentioned program 404 includes instructions for performing the following steps;

在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域;When a fingerprint collection instruction is detected, determine the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module. The second area includes an annular area or a non-annular independent area or multiple separate areas. , the collection area corresponding to the unlit display area surrounded by the inner ring of the annular area is the effective collection area, and the collection area corresponding to the area of the screen other than the non-annular independent area includes the effective collection area. Collection area, the collection area corresponding to the unlit display area between at least two separation areas among the plurality of separation areas is the effective collection area;

点亮所述屏幕的第二区域,其中,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;Lighting a second area of the screen, wherein the emitted light of the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, and the reflected light is The second light is the light reflected by the screen. The second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light. The second optical noise includes direct light, and the direct light is the Among the emitted light rays, the illumination direction is in the opposite direction along the Z-axis of the screen, and the first light ray is the light ray reflected by the user's fingerprint by the emitted light ray;

通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。Only the first light is collected through the effective collection area, and a fingerprint image is obtained after processing.

可以看出,本申请实施例中,电子设备首先在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,然后,点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,最后,通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。可见,电子设备仅点亮第二区域,而不点亮指纹模组的有效采集区域,可以有效避免第一光学噪声和第二光学噪声对指纹模组采集指纹图像时的影响,仅采集通过指纹反射到有效采集区域的第一光线,有利于提升指纹图像形成的准确性,以及在获取第一光线后,可以减少滤除光学噪声的过程,直接形成指纹图像,有利于提升指纹图像形成的速度。It can be seen that in the embodiment of the present application, when the electronic device detects a fingerprint collection instruction, it first determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, and then lights all the areas. The second area of the screen, the emitted light in the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, the reflected light is the second light passing through The light reflected by the screen, the second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light, and the second optical noise includes direct light, and the direct light is the illumination direction of the emitted light. The light extending in the opposite direction along the Z-axis of the screen, and finally, only the first light is collected through the effective collection area, and the fingerprint image is obtained after processing. It can be seen that the electronic device only lights up the second area and does not light up the effective collection area of the fingerprint module, which can effectively avoid the impact of the first optical noise and the second optical noise on the fingerprint module when collecting fingerprint images, and only collects passed fingerprints. The first light reflected to the effective collection area is beneficial to improving the accuracy of fingerprint image formation, and after acquiring the first light, the process of filtering out optical noise can be reduced and the fingerprint image is directly formed, which is beneficial to improving the speed of fingerprint image formation. .

在一个可能的示例中,在所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域方面,所述程序404中的指令具体用于执行以下操作:获取用户手指与所述屏幕的第一接触区域;以及用于确定包括所述第一接触区域的第一屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;以及用于确定所述屏幕中包围区域包括所述第一屏幕参考区域的环形区域为所述第二区域,所述包围区域为所述环形区域的内环所包围的区域。In one possible example, in terms of determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, the instructions in the program 404 are specifically used to perform the following operations: obtain The first contact area between the user's finger and the screen; and for determining that the collection area corresponding to the first screen reference area including the first contact area is the effective collection area of the under-screen fingerprint module; and for determining The annular area in the screen that includes the first screen reference area is the second area, and the enclosing area is the area surrounded by the inner ring of the annular area.

在一个可能的示例中,在所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域方面,所述程序404中的指令具体用于执行以下操作:获取用户手指与所述屏幕的第二接触区域;以及用于确定包括所述第二接触区域的第二屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;以及用于确定所述屏幕中除所述第二屏幕参考区域之外的非环形独立区域为所述第二区域,所述非环形独立区域的照射光线包括照射到所述接触区域的光线。In one possible example, in terms of determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, the instructions in the program 404 are specifically used to perform the following operations: obtain The second contact area between the user's finger and the screen; and for determining that the collection area corresponding to the second screen reference area including the second contact area is the effective collection area of the under-screen fingerprint module; and for determining The non-annular independent area in the screen except the second screen reference area is the second area, and the irradiation light of the non-annular independent area includes the light irradiating to the contact area.

在一个可能的示例中,在所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域方面,所述程序404中的指令具体用于执行以下操作:获取用户手指与所述屏幕的第三接触区域;以及用于确定包括所述第三接触区域的第三屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;以及用于根据所述第三接触区域确定所述屏幕待点亮的最大参考区域;以及用于确定所述最大参考区域中的多个分离区域为所述第二区域,每个所述分离区域的照射光线包括照射到所述接触区域的光线。In one possible example, in terms of determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, the instructions in the program 404 are specifically used to perform the following operations: obtain The third contact area between the user's finger and the screen; and for determining that the collection area corresponding to the third screen reference area including the third contact area is the effective collection area of the under-screen fingerprint module; and for determining according to The third contact area determines the maximum reference area of the screen to be lit; and is used to determine a plurality of separated areas in the maximum reference area as the second area, and the irradiation light of each separated area includes Light hitting the contact area.

在一个可能的示例中,上述程序404还包括用于执行以下步骤的指令:所述通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像之后,根据所述指纹图像执行指纹比对过程,得到比对结果;以及用于若所述比对结果为匹配,则执行解锁操作;以及用于若所述比对结果为不匹配,则不执行所述解锁操作。In a possible example, the above program 404 also includes instructions for performing the following steps: collecting only the first light ray through the effective collection area, obtaining a fingerprint image after processing, and performing fingerprint processing based on the fingerprint image. A comparison process to obtain a comparison result; and for performing an unlocking operation if the comparison result is a match; and for not performing the unlocking operation if the comparison result is a mismatch.

在这个可能的示例中,在所述若所述比对结果为匹配,则执行解锁操作方面,所述程序404中的指令具体用于执行以下操作:确定所述屏幕待点亮的第二区域的照射光线照射到用户手指的区域的面积大小;以及用于根据所述面积大小确定目标匹配度;以及用于当所述比对结果的匹配度大于所述目标匹配度时,则执行所述解锁操作。In this possible example, in terms of performing an unlocking operation if the comparison result is a match, the instructions in the program 404 are specifically used to perform the following operations: determine the second area of the screen to be lit. The area size of the area where the illumination light irradiates the user's finger; and for determining the target matching degree according to the area size; and for executing the step when the matching degree of the comparison result is greater than the target matching degree. Unlock operation.

在一个可能的示例中,上述程序404还包括用于执行以下步骤的指令:所述在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域之前,检测所述屏幕的显示状态;以及当检测到所述屏幕的显示状态为亮屏状态时,熄灭所述第一区域。In a possible example, the above program 404 also includes instructions for performing the following steps: when detecting a fingerprint collection instruction, determining the second area of the screen to be lit and the location of the under-screen fingerprint module. Before effectively collecting the area, the display state of the screen is detected; and when it is detected that the display state of the screen is a bright screen state, the first area is turned off.

上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that, in order to implement the above functions, the electronic device includes corresponding hardware structures and/or software modules that perform each function. Persons skilled in the art should easily realize that, with the units and algorithm steps of each example described in conjunction with the embodiments provided 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. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.

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

图5是本申请实施例中所涉及的指纹图像处理装置500的功能单元组成框图。该指纹图像处理装置500应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,该指纹图像处理装置500包括确定单元501、点亮单元502和处理单元503,其中,FIG. 5 is a functional unit block diagram of the fingerprint image processing device 500 involved in the embodiment of the present application. The fingerprint image processing device 500 is applied to electronic equipment. The electronic device includes a screen and an under-screen fingerprint module arranged relative to a first area of the screen. The fingerprint image processing device 500 includes a determining unit 501, a lighting unit 502 and a Processing unit 503, wherein,

所述确定单元501,用于在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域;The determination unit 501 is configured to determine the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module when a fingerprint collection instruction is detected. The second area includes an annular area or a non-circular area. An annular independent area or multiple separate areas, the collection area corresponding to the unlit display area surrounded by the inner ring of the annular area is the effective collection area, and the area of the screen other than the non-annular independent area The corresponding collection area includes the effective collection area, and the collection area corresponding to the unlit display area between at least two separation areas among the plurality of separation areas is the effective collection area;

所述点亮单元502,用于点亮所述屏幕的第二区域,其中,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;The lighting unit 502 is used to light a second area of the screen, wherein the emitted light of the second area is associated with first optical noise, second optical noise and first light, and the first optical noise Including reflected light, the reflected light is the light reflected by the screen of the second light, the second light is the light of the emitted light whose illumination direction extends along the positive Z-axis of the screen, the second optical noise includes direct radiation Light, the direct light is the light whose illumination direction is reversed along the Z-axis of the screen in the emitted light, and the first light is the light reflected by the user's fingerprint of the emitted light;

所述处理单元503,用于通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。The processing unit 503 is configured to collect only the first light through the effective collection area, and obtain a fingerprint image after processing.

可以看出,本申请实施例中,电子设备首先在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,然后,点亮所述屏幕的第二区域,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,最后,通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。可见,电子设备仅点亮第二区域,而不点亮指纹模组的有效采集区域,可以有效避免第一光学噪声和第二光学噪声对指纹模组采集指纹图像时的影响,仅采集通过指纹反射到有效采集区域的第一光线,有利于提升指纹图像形成的准确性,以及在获取第一光线后,可以减少滤除光学噪声的过程,直接形成指纹图像,有利于提升指纹图像形成的速度。It can be seen that in the embodiment of the present application, when the electronic device detects a fingerprint collection instruction, it first determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, and then lights all the areas. The second area of the screen, the emitted light in the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, the reflected light is the second light passing through The light reflected by the screen, the second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light, and the second optical noise includes direct light, and the direct light is the illumination direction of the emitted light. The light extending in the opposite direction along the Z-axis of the screen, and finally, only the first light is collected through the effective collection area, and the fingerprint image is obtained after processing. It can be seen that the electronic device only lights up the second area and does not light up the effective collection area of the fingerprint module, which can effectively avoid the impact of the first optical noise and the second optical noise on the fingerprint module when collecting fingerprint images, and only collects passed fingerprints. The first light reflected to the effective collection area is beneficial to improving the accuracy of fingerprint image formation, and after acquiring the first light, the process of filtering out optical noise can be reduced and the fingerprint image is directly formed, which is beneficial to improving the speed of fingerprint image formation. .

在一个可能的示例中,在所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域方面,所述确定单元501具体用于:获取用户手指与所述屏幕的第一接触区域;以及用于确定包括所述第一接触区域的第一屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;以及用于确定所述屏幕中包围区域包括所述第一屏幕参考区域的环形区域为所述第二区域,所述包围区域为所述环形区域的内环所包围的区域。In one possible example, in determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, the determination unit 501 is specifically configured to: obtain the relationship between the user's finger and the The first contact area of the screen; and for determining that the collection area corresponding to the first screen reference area including the first contact area is the effective collection area of the under-screen fingerprint module; and for determining the area surrounding the screen An annular area including the first screen reference area is the second area, and the surrounding area is an area surrounded by an inner ring of the annular area.

在一个可能的示例中,在所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域方面,所述确定单元501具体用于:获取用户手指与所述屏幕的第二接触区域;以及用于确定包括所述第二接触区域的第二屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;以及用于确定所述屏幕中除所述第二屏幕参考区域之外的非环形独立区域为所述第二区域,所述非环形独立区域的照射光线包括照射到所述接触区域的光线。In one possible example, in determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, the determination unit 501 is specifically configured to: obtain the relationship between the user's finger and the The second contact area of the screen; and for determining that the collection area corresponding to the second screen reference area including the second contact area is the effective collection area of the under-screen fingerprint module; and for determining the area except for the second contact area on the screen. The non-annular independent area outside the second screen reference area is the second area, and the irradiation light of the non-annular independent area includes the light irradiating to the contact area.

在一个可能的示例中,在所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域方面,所述确定单元501具体用于:获取用户手指与所述屏幕的第三接触区域;以及用于确定包括所述第三接触区域的第三屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;以及用于根据所述第三接触区域确定所述屏幕待点亮的最大参考区域;以及用于确定所述最大参考区域中的多个分离区域为所述第二区域,每个所述分离区域的照射光线包括照射到所述接触区域的光线。In one possible example, in determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, the determination unit 501 is specifically configured to: obtain the relationship between the user's finger and the The third contact area of the screen; and for determining that the collection area corresponding to the third screen reference area including the third contact area is the effective collection area of the under-screen fingerprint module; and for determining according to the third contact area The area determines the maximum reference area of the screen to be lit; and is used to determine a plurality of separated areas in the maximum reference area as the second area, and the irradiation light of each of the separated areas includes irradiation to the contact area of light.

在一个可能的示例中,所述处理单元503在所述通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像之后,还用于:根据所述指纹图像执行指纹比对过程,得到比对结果;以及用于若所述比对结果为匹配,则执行解锁操作;以及用于若所述比对结果为不匹配,则不执行所述解锁操作。In a possible example, the processing unit 503 collects only the first light through the effective collection area and obtains a fingerprint image after processing, and is further configured to: perform a fingerprint comparison process based on the fingerprint image. , to obtain the comparison result; and for performing the unlocking operation if the comparison result is a match; and for not performing the unlocking operation if the comparison result is a mismatch.

在这个可能的示例中,在所述若所述比对结果为匹配,则执行解锁操作方面,所述处理单元503具体用于:确定所述屏幕待点亮的第二区域的照射光线照射到用户手指的区域的面积大小;以及用于根据所述面积大小确定目标匹配度;以及用于当所述比对结果的匹配度大于所述目标匹配度时,则执行所述解锁操作。In this possible example, in terms of performing an unlocking operation if the comparison result is a match, the processing unit 503 is specifically configured to: determine whether the irradiation light of the second area to be lit on the screen is illuminated. The area size of the area of the user's finger; and for determining a target matching degree according to the area size; and for performing the unlocking operation when the matching degree of the comparison result is greater than the target matching degree.

在一个可能的示例中,所述点亮单元在所述在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域之前,还用于:检测所述屏幕的显示状态;以及当检测到所述屏幕的显示状态为亮屏状态时,熄灭所述第一区域。In a possible example, the lighting unit further uses To: detect the display state of the screen; and when it is detected that the display state of the screen is a bright screen state, extinguish the first area.

其中,确定单元501、处理单元503可以是处理器,所述点亮单元502可以是显示器。The determining unit 501 and the processing unit 503 may be processors, and the lighting unit 502 may be a display.

请参阅图6,图6是本申请实施例提供了一种智能手机600的结构示意图,上述智能手机600包括:壳体610、屏幕620、主板630,主板630上设置有摄像头631、处理器632、存储器633、电源管理芯片634、屏下指纹模组635等。Please refer to Figure 6. Figure 6 is a schematic structural diagram of a smart phone 600 provided by an embodiment of the present application. The smart phone 600 includes: a casing 610, a screen 620, and a mainboard 630. The mainboard 630 is provided with a camera 631 and a processor 632. , memory 633, power management chip 634, under-screen fingerprint module 635, etc.

其中,该智能手机600在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域;点亮所述屏幕的第二区域,其中,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。Wherein, when the smartphone 600 detects the fingerprint collection instruction, it determines the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module. The second area includes an annular area or a non-annular independent area. area or multiple separate areas, the collection area corresponding to the unlit display area surrounded by the inner ring of the annular area is the effective collection area, and the area corresponding to the area of the screen other than the non-annular independent area The collection area includes the effective collection area, and the collection area corresponding to the unlit display area between at least two separation areas among the plurality of separation areas is the effective collection area; the second area of the screen is lit , wherein the emitted light in the second area is associated with first optical noise, second optical noise and first light. The first optical noise includes reflected light, and the reflected light is the second light reflected by the screen. Light, the second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light, and the second optical noise includes direct light, and the direct light is the illumination direction of the emitted light which extends along the Z-axis of the screen Reverse light, the first light is the light reflected by the user's fingerprint from the emitted light; only the first light is collected through the effective collection area, and a fingerprint image is obtained after processing.

上述处理器632是智能手机的控制中心,利用各种接口和线路连接整个智能手机的各个部分,通过运行或执行存储在存储器633内的软件程序和/或模块,以及调用存储在存储器633内的数据,执行智能手机的各种功能和处理数据,从而对智能手机进行整体监控。可选的,处理器632可包括一个或多个处理单元;优选的,处理器632可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器632中。该处理器632例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable GateArray,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。上述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The above-mentioned processor 632 is the control center of the smartphone, using various interfaces and lines to connect various parts of the entire smartphone, by running or executing software programs and/or modules stored in the memory 633, and calling software programs stored in the memory 633. data, perform various functions of the smartphone and process the data, thereby performing overall monitoring of the smartphone. Optionally, the processor 632 may include one or more processing units; preferably, the processor 632 may integrate an application processor and a modem processor, where the application processor mainly processes operating systems, user interfaces, application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 632. The processor 632 may be, for example, a central processing unit (Central Processing Unit, CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), or field programmable. Gate array (Field Programmable GateArray, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with this disclosure. The above-mentioned processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.

上述存储器633可用于存储软件程序以及模块,处理器632通过运行存储在存储器633的软件程序以及模块,从而执行智能手机的各种功能应用以及数据处理。存储器633可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据智能手机的使用所创建的数据等。此外,存储器633可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。该存储器633例如可以是随机存取存储器(RandomAccess Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(ElectricallyEPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质。The above-mentioned memory 633 can be used to store software programs and modules. The processor 632 executes various functional applications and data processing of the smart phone by running the software programs and modules stored in the memory 633 . The memory 633 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, at least one application program required for a function, etc.; the stored data area may store data created according to the use of the smart phone, etc. In addition, the memory 633 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, or other volatile solid-state storage device. The memory 633 can be, for example, random access memory (Random Access Memory, RAM), flash memory, read only memory (Read Only Memory, ROM), erasable programmable read only memory (Erasable Programmable ROM, EPROM), electrically erasable memory. Programming read-only memory (Electrically EPROM, EEPROM), register, hard disk, mobile hard disk, CD-ROM or any other form of storage media well known in the art.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种指纹图像处理方法的部分或全部步骤,上述计算机包括移动终端。Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute any of the fingerprint image processing methods described in the above method embodiments. For some or all of the steps, the above-mentioned computer includes a mobile terminal.

本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种指纹图像处理方法的部分或全部步骤,上述计算机包括移动终端。Embodiments of the present application also provide a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program. The computer program is operable to cause the computer to execute the steps described in the above method embodiments. Some or all steps of any fingerprint image processing method, the above-mentioned computer includes a mobile terminal.

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

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

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

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

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

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

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

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

Claims (10)

1.一种指纹图像处理方法,其特征在于,应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,所述方法包括:1. A fingerprint image processing method, characterized in that it is applied to an electronic device. The electronic device includes a screen and an under-screen fingerprint module arranged relative to a first area of the screen. The method includes: 在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,所述第二区域位于所述第一区域内且与所述屏下指纹模组的有效采集区域不存在重叠区域,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,若所述第二区域包括环形区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域;若所述第二区域包括非环形独立区域,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域;若所述第二区域包括多个分离区域,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域;When a fingerprint collection instruction is detected, the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module are determined. The second area is located in the first area and is connected to the under-screen fingerprint module. There is no overlapping area in the effective collection area of the fingerprint module. The second area includes an annular area or a non-annular independent area or multiple separate areas. If the second area includes an annular area, the inner ring of the annular area is surrounded by The collection area corresponding to the unlit display area is the effective collection area; if the second area includes a non-annular independent area, the collection area corresponding to the area of the screen other than the non-annular independent area includes all The effective collection area; if the second area includes multiple separation areas, the collection area corresponding to the unlit display area between at least two separation areas among the multiple separation areas is the effective collection area; 点亮所述屏幕的第二区域,其中,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;Lighting a second area of the screen, wherein the emitted light of the second area is associated with first optical noise, second optical noise and first light, the first optical noise includes reflected light, and the reflected light is The second light is the light reflected by the screen. The second light is the light whose illumination direction extends along the positive Z-axis of the screen in the emitted light. The second optical noise includes direct light, and the direct light is the Among the emitted light rays, the illumination direction is in the opposite direction along the Z-axis of the screen, and the first light ray is the light ray reflected by the user's fingerprint by the emitted light ray; 通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。Only the first light is collected through the effective collection area, and a fingerprint image is obtained after processing. 2.根据权利要求1所述的方法,其特征在于,所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,包括:2. The method of claim 1, wherein determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module includes: 获取用户手指与所述屏幕接触时对应的第一接触区域;Obtain the first contact area corresponding to when the user's finger contacts the screen; 确定包括所述第一接触区域的第一屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;Determine that the collection area corresponding to the first screen reference area including the first contact area is the effective collection area of the under-screen fingerprint module; 确定所述屏幕中包围所述第一屏幕参考区域的环形区域为所述第二区域。The annular area surrounding the first screen reference area in the screen is determined to be the second area. 3.根据权利要求1所述的方法,其特征在于,所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,包括:3. The method of claim 1, wherein determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module includes: 获取用户手指与所述屏幕的第二接触区域;Obtain the second contact area between the user's finger and the screen; 确定包括所述第二接触区域的第二屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;Determine that the collection area corresponding to the second screen reference area including the second contact area is the effective collection area of the under-screen fingerprint module; 确定所述屏幕中除所述第二屏幕参考区域之外的非环形独立区域为所述第二区域,所述非环形独立区域的照射光线包括照射到所述接触区域的光线。A non-annular independent area in the screen other than the second screen reference area is determined to be the second area, and the irradiation light of the non-annular independent area includes the light irradiating to the contact area. 4.根据权利要求1所述的方法,其特征在于,所述确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,包括:4. The method of claim 1, wherein determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module includes: 获取用户手指与所述屏幕的第三接触区域;Obtain the third contact area between the user's finger and the screen; 确定包括所述第三接触区域的第三屏幕参考区域对应的采集区域为所述屏下指纹模组的有效采集区域;Determine that the collection area corresponding to the third screen reference area including the third contact area is the effective collection area of the under-screen fingerprint module; 根据所述第三接触区域确定所述屏幕待点亮的最大参考区域;Determine the maximum reference area of the screen to be lit based on the third contact area; 确定所述最大参考区域中的多个分离区域为所述第二区域,每个所述分离区域的照射光线包括照射到所述接触区域的光线。A plurality of separation areas in the maximum reference area are determined to be the second areas, and the irradiation light of each separation area includes the light irradiation to the contact area. 5.根据权利要求1-4任一项所述的方法,其特征在于,所述通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像之后,所述方法还包括:5. The method according to any one of claims 1 to 4, characterized in that after collecting only the first light through the effective collection area and obtaining the fingerprint image after processing, the method further includes: 根据所述指纹图像执行指纹比对过程,得到比对结果;Perform a fingerprint comparison process according to the fingerprint image to obtain a comparison result; 若所述比对结果为匹配,则执行解锁操作;If the comparison result is a match, perform an unlocking operation; 若所述比对结果为不匹配,则不执行所述解锁操作。If the comparison result is no match, the unlocking operation is not performed. 6.根据权利要求5所述的方法,其特征在于,所述若所述比对结果为匹配,则执行解锁操作,包括:6. The method of claim 5, wherein if the comparison result is a match, performing an unlocking operation includes: 确定所述屏幕待点亮的第二区域的照射光线照射到用户手指的区域的面积大小;Determine the area size of the area where the irradiation light of the second area to be lit on the screen irradiates the user's finger; 根据所述面积大小确定目标匹配度;Determine the target matching degree according to the size of the area; 当所述比对结果的匹配度大于所述目标匹配度时,则执行所述解锁操作。When the matching degree of the comparison result is greater than the target matching degree, the unlocking operation is performed. 7.根据权利要求6所述的方法,其特征在于,所述在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域之前,所述方法还包括:7. The method of claim 6, wherein when a fingerprint collection instruction is detected, before determining the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module, The method also includes: 检测所述屏幕的显示状态;Detect the display status of the screen; 当检测到所述屏幕的显示状态为亮屏状态时,熄灭所述第一区域。When it is detected that the display state of the screen is a bright screen state, the first area is turned off. 8.一种指纹图像处理装置,其特征在于,应用于电子设备,所述电子设备包括屏幕和相对所述屏幕的第一区域设置的屏下指纹模组,所述指纹图像处理装置包括确定单元、点亮单元和处理单元,其中:8. A fingerprint image processing device, characterized in that it is applied to an electronic device. The electronic device includes a screen and an under-screen fingerprint module arranged relative to a first area of the screen. The fingerprint image processing device includes a determination unit. , lighting unit and processing unit, where: 所述确定单元,用于在检测到指纹采集指令时,确定所述屏幕待点亮的第二区域和所述屏下指纹模组的有效采集区域,所述第二区域位于所述第一区域内且与所述屏下指纹模组的有效采集区域不存在重叠区域,所述第二区域包括环形区域或者非环形独立区域或者多个分离区域,若所述第二区域包括环形区域,所述环形区域的内环包围的未点亮的显示区域对应的采集区域为所述有效采集区域;若所述第二区域包括非环形独立区域,所述屏幕的除所述非环形独立区域之外的区域对应的采集区域包括所述有效采集区域;若所述第二区域包括多个分离区域,所述多个分离区域中至少两个分离区域之间的未点亮的显示区域对应的采集区域为所述有效采集区域;The determination unit is configured to determine the second area of the screen to be lit and the effective collection area of the under-screen fingerprint module when a fingerprint collection instruction is detected, and the second area is located in the first area. There is no overlapping area with the effective collection area of the under-screen fingerprint module. The second area includes an annular area or a non-annular independent area or multiple separate areas. If the second area includes an annular area, the second area includes an annular area. The collection area corresponding to the unlit display area surrounded by the inner ring of the annular area is the effective collection area; if the second area includes a non-annular independent area, the other areas of the screen other than the non-annular independent area The collection area corresponding to the area includes the effective collection area; if the second area includes multiple separation areas, the collection area corresponding to the unlit display area between at least two separation areas in the multiple separation areas is The effective collection area; 所述点亮单元,用于点亮所述屏幕的第二区域,其中,所述第二区域的发射光线关联第一光学噪声、第二光学噪声和第一光线,所述第一光学噪声包括反射光线,所述反射光线为第二光线经所述屏幕反射的光线,所述第二光线为所述发射光线中照射方向延屏幕Z轴正向的光线,所述第二光学噪声包括直射光线,所述直射光线为所述发射光线中照射方向延屏幕Z轴反向的光线,所述第一光线为所述发射光线经用户指纹反射的光线;The lighting unit is used to light a second area of the screen, wherein the emitted light of the second area is associated with first optical noise, second optical noise and first light, and the first optical noise includes Reflected light, the reflected light is the second light reflected by the screen, the second light is the light of the emitted light whose illumination direction extends along the positive Z-axis of the screen, the second optical noise includes direct light , the direct light is the light whose illumination direction is reversed along the Z-axis of the screen in the emitted light, and the first light is the light reflected by the user's fingerprint of the emitted light; 所述处理单元,用于通过所述有效采集区域仅采集所述第一光线,处理后得到指纹图像。The processing unit is configured to collect only the first light through the effective collection area, and obtain a fingerprint image after processing. 9.一种电子设备,其特征在于,包括:处理器,存储器,以及一个或多个程序;所述一个或多个程序被存储在所述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行如权利要求1-7任一项所描述的方法中的步骤的指令。9. An electronic device, characterized by comprising: a processor, a memory, and one or more programs; the one or more programs are stored in the memory and configured to be executed by the processor , the program includes instructions for performing steps in the method described in any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-7任一项所述的方法,所述计算机包括电子设备。10. A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes the computer to execute the method according to any one of claims 1-7, the computer Includes electronic equipment.
CN201811283339.1A 2018-10-30 2018-10-30 Fingerprint image processing method and related product Active CN109543558B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201811283339.1A CN109543558B (en) 2018-10-30 2018-10-30 Fingerprint image processing method and related product
PCT/CN2019/107148 WO2020088143A1 (en) 2018-10-30 2019-09-21 Fingerprint image processing method and related product
EP19880660.6A EP3866053A4 (en) 2018-10-30 2019-09-21 FINGERPRINT IMAGE PROCESSING PROCESS AND RELATED PRODUCT
US17/243,227 US20210248343A1 (en) 2018-10-30 2021-04-28 Method for fingerprint image processing and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811283339.1A CN109543558B (en) 2018-10-30 2018-10-30 Fingerprint image processing method and related product

Publications (2)

Publication Number Publication Date
CN109543558A CN109543558A (en) 2019-03-29
CN109543558B true CN109543558B (en) 2023-12-26

Family

ID=65845607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811283339.1A Active CN109543558B (en) 2018-10-30 2018-10-30 Fingerprint image processing method and related product

Country Status (1)

Country Link
CN (1) CN109543558B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3866053A4 (en) * 2018-10-30 2021-12-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. FINGERPRINT IMAGE PROCESSING PROCESS AND RELATED PRODUCT
CN110291530B (en) * 2019-05-14 2023-06-30 深圳市汇顶科技股份有限公司 Fingerprint identification method, fingerprint identification device and terminal equipment
CN110705517B (en) * 2019-10-18 2022-09-06 深圳市汇顶科技股份有限公司 Method for fingerprint identification and electronic equipment
CN111507326A (en) * 2020-03-19 2020-08-07 北京集创北方科技股份有限公司 Biometric feature collection method and device, display panel and electronic device
CN112417982A (en) * 2020-10-28 2021-02-26 北京集创北方科技股份有限公司 Large-area under-screen fingerprint area display method, device, equipment and storage medium
TWI840088B (en) 2022-06-21 2024-04-21 聯詠科技股份有限公司 Fingerprint identification method, apparatus and electronic product

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150944A (en) * 2001-11-09 2003-05-23 Canon Inc Image recognizing device, image recognition method, recording medium and program
CN104699320A (en) * 2015-04-01 2015-06-10 上海天马微电子有限公司 Array substrate, color film substrate and touch display device
CN105989323A (en) * 2015-01-29 2016-10-05 深圳印象认知技术有限公司 Finger palm touch inductor, finger palm image acquisition device and electronic device
CN107194331A (en) * 2017-05-08 2017-09-22 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107220533A (en) * 2017-05-10 2017-09-29 广东欧珀移动通信有限公司 Unlock control method and related products
CN107222591A (en) * 2017-05-03 2017-09-29 广东欧珀移动通信有限公司 Image sensors, camera modules and electronics
CN107392175A (en) * 2017-08-09 2017-11-24 广东欧珀移动通信有限公司 Fingerprint collecting method for detecting area, device and mobile terminal
CN107656665A (en) * 2016-07-25 2018-02-02 印象认知(北京)科技有限公司 Fingerprint collecting control method, device and electronic equipment based on display screen
KR20180059720A (en) * 2016-11-25 2018-06-05 엘지디스플레이 주식회사 Display device
CN108256396A (en) * 2016-12-28 2018-07-06 南昌欧菲生物识别技术有限公司 Touching display screen and electronic device
CN108446670A (en) * 2018-04-16 2018-08-24 珠海市魅族科技有限公司 Fingerprint identification method and fingerprint identification device
FR3064112A1 (en) * 2017-03-16 2018-09-21 Commissariat A L'energie Atomique Et Aux Energies Alternatives OPTICAL IMAGING DEVICE
CN209103320U (en) * 2018-10-30 2019-07-12 Oppo广东移动通信有限公司 an electronic device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150944A (en) * 2001-11-09 2003-05-23 Canon Inc Image recognizing device, image recognition method, recording medium and program
CN105989323A (en) * 2015-01-29 2016-10-05 深圳印象认知技术有限公司 Finger palm touch inductor, finger palm image acquisition device and electronic device
CN104699320A (en) * 2015-04-01 2015-06-10 上海天马微电子有限公司 Array substrate, color film substrate and touch display device
CN107656665A (en) * 2016-07-25 2018-02-02 印象认知(北京)科技有限公司 Fingerprint collecting control method, device and electronic equipment based on display screen
KR20180059720A (en) * 2016-11-25 2018-06-05 엘지디스플레이 주식회사 Display device
CN108256396A (en) * 2016-12-28 2018-07-06 南昌欧菲生物识别技术有限公司 Touching display screen and electronic device
FR3064112A1 (en) * 2017-03-16 2018-09-21 Commissariat A L'energie Atomique Et Aux Energies Alternatives OPTICAL IMAGING DEVICE
CN107222591A (en) * 2017-05-03 2017-09-29 广东欧珀移动通信有限公司 Image sensors, camera modules and electronics
CN107194331A (en) * 2017-05-08 2017-09-22 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107220533A (en) * 2017-05-10 2017-09-29 广东欧珀移动通信有限公司 Unlock control method and related products
CN107392175A (en) * 2017-08-09 2017-11-24 广东欧珀移动通信有限公司 Fingerprint collecting method for detecting area, device and mobile terminal
CN108446670A (en) * 2018-04-16 2018-08-24 珠海市魅族科技有限公司 Fingerprint identification method and fingerprint identification device
CN209103320U (en) * 2018-10-30 2019-07-12 Oppo广东移动通信有限公司 an electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A New Full Screen Flexible AMOLED Solution with Fingerprint;Wei-Feng Zhou et al;《SID symposium digest of technical papers》;第49卷(第1期);1-3 *
屏下指纹识别的概念、技术与发展;李鹏飞 等;《中国科技术语》;第20卷(第4期);78-79 *

Also Published As

Publication number Publication date
CN109543558A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109543558B (en) Fingerprint image processing method and related product
CN107220592B (en) Optical fingerprint acquisition method and related product
CN109886177B (en) Display module, electronic device and fingerprint image processing method
CN107527048B (en) Fingerprint identification method, device, storage medium and mobile terminal
CN106681636B (en) Method and device for preventing false touch and mobile terminal
US11508179B2 (en) Electronic device, fingerprint image processing method and related products
WO2017113794A1 (en) Gesture recognition method, control method and apparatus, and wrist-type device
CN110245483B (en) Biometric identification method and related product
CN108090340B (en) Face recognition processing method, face recognition processing device and intelligent terminal
CN107527021A (en) Bio-identification pattern open method and Related product
WO2017185728A1 (en) Method and device for identifying key operation
CN107483717A (en) Setting method of infrared supplementary light and related products
CN103067598A (en) A mobile terminal music switching method and system
CN107729833A (en) Method for detecting human face and Related product
US20210248343A1 (en) Method for fingerprint image processing and related products
CN104423661B (en) A kind of mobile terminal and the method for preventing touch screen mistaken touch
CN107402787B (en) Iris recognition mode opening method and related products
CN103473145A (en) Terminal crash reset method, device and terminal
CN112163515A (en) Iris image acquisition method and related product
CN107463885B (en) Biometric pattern control method and related products
CN107451536A (en) Bio-identification pattern open method and Related product
CN113391710B (en) Detection method and electronic terminal of active pen touch position
CN107295192B (en) Unlocking control method and related product
CN107463882B (en) Pattern processing method and related products
CN209103320U (en) an electronic device

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
GR01 Patent grant
GR01 Patent grant