WO2023202410A1 - Fingerprint unlocking method and apparatus, electronic device, and computer-readable storage medium - Google Patents

Fingerprint unlocking method and apparatus, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
WO2023202410A1
WO2023202410A1 PCT/CN2023/087397 CN2023087397W WO2023202410A1 WO 2023202410 A1 WO2023202410 A1 WO 2023202410A1 CN 2023087397 W CN2023087397 W CN 2023087397W WO 2023202410 A1 WO2023202410 A1 WO 2023202410A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
fingerprint image
light
security level
equal
Prior art date
Application number
PCT/CN2023/087397
Other languages
French (fr)
Chinese (zh)
Other versions
WO2023202410A9 (en
Inventor
席聪聪
李成
耿越
代翼
丰亚洁
李泽飞
祁朝阳
Original Assignee
京东方科技集团股份有限公司
北京京东方传感技术有限公司
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 京东方科技集团股份有限公司, 北京京东方传感技术有限公司 filed Critical 京东方科技集团股份有限公司
Publication of WO2023202410A1 publication Critical patent/WO2023202410A1/en
Publication of WO2023202410A9 publication Critical patent/WO2023202410A9/en

Links

Classifications

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

Definitions

  • the present disclosure relates to the technical field of fingerprint identification, and in particular to a fingerprint unlocking method and device, electronic equipment, and computer-readable storage media.
  • a fingerprint is an innate and unique feature of the human body that can be distinguished from others. It consists of a series of valleys and ridges on the skin surface of the fingertips, and usually includes the bifurcation of the ridge, the end of the ridge, and the tent-like shape of the ridge. Details such as arch, left-hand, right-hand, spiral or double spiral. These details determine the unique characteristics of the fingerprint and can therefore be used for user identification. Based on this, fingerprint recognition technology has been widely used in many fields such as mobile terminals and smart homes to provide security for user information.
  • Embodiments of the present disclosure provide a fingerprint unlocking method and device, electronic equipment, and computer-readable storage media to improve the security of fingerprint unlocking in strong light environments.
  • a fingerprint unlocking method provided by an embodiment of the present disclosure includes:
  • fingerprint unlocking is performed at the first security level. If not, fingerprint unlocking is performed at the second security level. , wherein the security level of the first security level is higher than the second security level. level of security.
  • determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image specifically includes:
  • the ambient light is strong light with a light intensity greater than or equal to a preset intensity value.
  • the above fingerprint unlocking method after obtaining the fingerprint image, and based on the number of overexposure points and grayscale value of the fingerprint image, it is determined whether the ambient light has a light intensity greater than or equal to Before the strong light of the preset intensity value, it also includes: counting the number of overexposure points of the fingerprint image.
  • the ambient light is strong light with a light intensity greater than or equal to a preset intensity value, Specifically include:
  • the method further includes: counting the grayscale values of the fingerprint image.
  • determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the grayscale value of the fingerprint image specifically includes:
  • the above fingerprint unlocking method after obtaining the fingerprint image and before determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image, It also includes: performing noise reduction processing on the fingerprint image.
  • a fingerprint unlocking device including:
  • the collection module is configured to expose and photograph the fingerprint of the target object to obtain a fingerprint image
  • An unlocking module configured to determine whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image. If so, select to perform fingerprint unlocking at the first security level. If not, select to perform fingerprint unlocking at the second security level. Fingerprint unlocking is performed at a security level, where the security level of the first security level is higher than the security level of the second security level.
  • embodiments of the present disclosure provide an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program.
  • the above fingerprint unlocking method provided by the embodiment of the present disclosure is implemented.
  • embodiments of the disclosure provide a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the above fingerprint unlocking method provided by the embodiment of the disclosure is implemented.
  • the fingerprint unlocking method and device, electronic equipment, and computer-readable storage medium include exposing and photographing the fingerprint of the target object to obtain a fingerprint image; and determining whether the ambient light has a light intensity greater than or equal to a preset intensity based on the fingerprint image. value, if yes, then select fingerprint unlocking at the first security level; if not, select fingerprint unlocking at the second security level, where the security level of the first security level is higher than that of the second security level.
  • Security Level The present disclosure can determine strong light scenes and non-strong light scenes based on fingerprint images, and improve the security level of fingerprint unlocking in strong light scenes. Therefore, the security of fingerprint unlocking in strong light scenes can be effectively improved.
  • Figure 1 is a flow chart of a fingerprint unlocking method provided by an embodiment of the present disclosure
  • Figure 2 is a fingerprint image in a non-strong light scene provided by an embodiment of the present disclosure
  • Figure 3 is a fingerprint image in a strong light scene provided by an embodiment of the present disclosure
  • Figure 4 shows the grayscale value of the fingerprint image in a strong light scene and the grayscale value in a non-strong light scene provided by an embodiment of the present disclosure. Comparison of grayscale values of fingerprint images;
  • Figure 5 is another flow chart of a fingerprint unlocking method provided by an embodiment of the present disclosure.
  • Figure 6 is another flow chart of a fingerprint unlocking method provided by an embodiment of the present disclosure.
  • Figure 7 is the fingerprint image after noise reduction processing of Figure 2;
  • Figure 8 is the fingerprint image after noise reduction processing of Figure 3;
  • Figure 9 is a schematic structural diagram of a fingerprint unlocking device provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • fingerprint recognition technologies mainly include optical, capacitive, ultrasonic, thermal, and pressure-sensitive types.
  • capacitive sensors, semiconductor thermal materials, and pressure-sensitive materials have limited recognition distances and cannot collect sufficient signals through display modules.
  • under-screen fingerprint recognition mainly uses optical and ultrasonic methods.
  • ultrasonic fingerprint modules have complex structures and high costs.
  • Optical fingerprint recognition has become the mainstream of current under-screen fingerprint recognition technology.
  • the under-screen optical fingerprint recognition module when used in a scene with strong light (such as sunlight), the fingerprint recognition performance will be interfered by the strong light to a certain extent.
  • strong light such as sunlight
  • a fingerprint unlocking method as shown in Figure 1, which may include the following steps:
  • step S102 Determine whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value (for example, 10000 lux) based on the fingerprint image. If so, it can be determined that the fingerprint image was collected in a strong light scene, and step S103 can be performed. Perform fingerprint unlocking under a security level. If not, it can be determined that the fingerprint image was collected in a non-strong light scene, and step S104 can be performed to perform fingerprint unlocking under a second security level, where the security of the first security level A security level higher than the second security level.
  • a preset intensity value for example, 10000 lux
  • the higher the security level the better the consistency between the collected fingerprint image and the pre-stored fingerprint image. For example, at the first security level, the collected fingerprint image has 90% of the same parts as the pre-stored fingerprint image. ;At the second security level, the collected fingerprint image has 70% of the same parts as the pre-stored fingerprint image.
  • strong light scenes and non-strong light scenes can be determined based on fingerprint images, and the security level of fingerprint unlocking can be improved in strong light scenes. Therefore, fingerprint unlocking in strong light scenes can be effectively improved. Unlocked security.
  • Figure 2 shows a fingerprint image collected in a non-strong light scene
  • Figure 3 shows a fingerprint image collected in a strong light scene. From the comparison, it can be seen that there are two areas between the fingerprint image in the non-strong light scene and the fingerprint image in the strong light scene.
  • the number of pixels with a grayscale value (WL) of 65535 in the fingerprint image is called the number of overexposure points.
  • the number of overexposure points on the fingerprint image in the non-strong light scene is 0, while the number of overexposure points on the fingerprint image in the strong light scene shown in Figure 3 is 197, so the number of overexposure points on the fingerprint image can be used as the characteristic point
  • the basis for judging strong light scenes secondly, there is a difference in grayscale value between the fingerprint images in the two scenes.
  • the grayscale value of the fingerprint image in the strong light scene is generally higher than that of the fingerprint image in the non-strong light scene.
  • 900 The grayscale values of a fingerprint image in a non-strong light scene and 900 fingerprint images in a strong light scene.
  • Area A represents the grayscale value of a fingerprint image in a strong light scene
  • area B represents the grayscale value of a fingerprint image in a non-strong light scene.
  • most of the grayscale value distributions of fingerprint images in strong light scenes and non-strong light scenes have obvious interval isolation, so the characteristic point of the grayscale value of fingerprint images can be used as a basis for judging strong light scenes.
  • step S102 determines whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value based on the fingerprint image.
  • step S102 ' is implemented in a step S102', based on the number of overexposure points and grayscale values of the fingerprint image, determine whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value.
  • step S201 can also be performed to count the number of overexposure points of the fingerprint image.
  • the above-mentioned step S102' determines whether the ambient light is stronger than Bright light equal to the preset intensity value can be achieved by including the following steps:
  • step S1021. Determine whether the number of exposure points of the fingerprint image is greater than a preset value (for example, 50). If so, perform step S1022 to determine whether the ambient light is strong light. If not, determine whether the ambient light is light based on the grayscale value of the fingerprint image. A bright light that is greater than or equal to the preset intensity value.
  • a preset value for example, 50
  • step S202 is also required to count the grayscale values of the fingerprint image. Accordingly, judging whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value based on the grayscale value of the fingerprint image may include the following steps:
  • step S1023. Determine whether the grayscale value of the fingerprint image is greater than or equal to the preset grayscale value (for example, 4500). If so, perform step S1024 to determine that the ambient light is strong light. If not, perform step S1025 to determine that the ambient light is not strong. Light.
  • the preset grayscale value for example, 4500
  • the fingerprint image after performing step S101 to obtain a fingerprint image, and performing step S102 based on the fingerprint image, it is determined whether the ambient light has a light intensity greater than or equal to a predetermined value.
  • the fingerprint image Before setting the intensity value of the bright light, the fingerprint image can also be denoised (dedummy).
  • Figure 7 is a fingerprint image after noise reduction processing of the fingerprint image in the non-strong light scene shown in Figure 2
  • Figure 8 is a fingerprint image after noise reduction processing of the fingerprint image in the strong light scene shown in Figure 3.
  • the fingerprint image quality after noise reduction processing is better.
  • the gray value of the fingerprint image after noise reduction processing shown in Figure 7 is 4159.041
  • the gray value of the fingerprint image after noise reduction processing shown in Figure 8 is 6709.297.
  • an embodiment of the present disclosure provides a fingerprint unlocking device, as shown in Figure 9, including:
  • the acquisition module 901 is configured to expose and photograph the fingerprint of the target object to obtain a fingerprint image
  • the unlocking module 902 is configured to determine, based on the fingerprint image, whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value. If so, select to perform fingerprint unlocking at the first security level. If not, select to perform fingerprint unlocking at the second security level. Fingerprint unlocking is performed at different levels, where the security level of the first security level is higher than the security level of the second security level.
  • the implementation of the fingerprint unlocking device provided by the embodiment of the present disclosure can refer to the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure. The implementation will not be repeated again.
  • an embodiment of the present disclosure provides an electronic device, as shown in Figure 10 , including: a memory 1001, a processor 1002, and an electronic device stored in the memory 1001 and available in the processor 1002.
  • the processor 1002 executes the program 1003 running on the program 1003, the above fingerprint unlocking method provided by the embodiment of the present disclosure is implemented. Since the principle of solving the problem of the electronic device is similar to the principle of solving the problem of the above-mentioned fingerprint unlocking method, therefore, the implementation of the electronic device provided by the embodiment of the present disclosure can refer to the implementation of the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure. No longer.
  • the above-mentioned electronic devices provided by the embodiments of the present disclosure may be: mobile phones, tablet computers, televisions, monitors, notebook computers, digital photo frames, navigators, smart watches, fitness wristbands, personal digital assistants, and any other devices with A product or component that displays functionality.
  • the electronic device includes but is not limited to: radio frequency unit, network module, audio output & input unit, sensor, display unit, user input unit, interface unit, memory, processor, power supply and other components.
  • the above structure does not constitute a limitation on the above-mentioned electronic device provided by the embodiment of the present disclosure.
  • the above-mentioned electronic device provided by the embodiment of the present disclosure may include more or less of the above-mentioned ones. components, or combinations of certain components, or different arrangements of components.
  • the memory 1001 is used as a non-volatile computer-readable storage medium, which can be used to store non-volatile software programs, non-volatile computer executable programs and modules.
  • the memory 1001 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Memory, Disk , CD, etc.
  • Memory may be, but is not limited to, any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer.
  • the memory in the embodiment of the present disclosure may also be a circuit or any other device capable of realizing a storage function, used to store program instructions and/or data.
  • the processor 1002 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or a field programmable gate array (Field Programmable Gate).
  • Array, FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware groups
  • Software can realize or execute each method, step and logical block diagram disclosed in the embodiment of the present disclosure.
  • a general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in conjunction with the embodiments of the present disclosure can be directly implemented as executed by a hardware processor, or executed using a combination of hardware and software modules in the processor.
  • the program 1003 on the memory 1001 and executable on the processor 1002 may include program code.
  • the program code When the program code is executed on an electronic device, the program code is used to cause the electronic device to perform various exemplary implementations according to the present disclosure described in this specification.
  • the electronic device may execute the fingerprint unlocking method described in the embodiments of the present disclosure.
  • the program code may be specified using any known or future developed programming language, such as a high-level programming language such as Objective-C, C, C++, C#, Java, Python, Javascript, other scripting languages, etc., or low-level programming Language, such as machine language or assembler.
  • embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • any one of the above fingerprint unlocking methods is implemented. Since the principle of the computer-readable storage medium to solve the problem is similar to the principle of the above-mentioned fingerprint unlocking method to solve the problem, the implementation of the computer-readable storage medium provided by the embodiment of the present disclosure can refer to the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure. The implementation will not be repeated again.
  • the above-mentioned computer-readable storage media may be non-transitory computer-readable media, such as any available media or data storage devices that a computer can access, including but not limited to magnetic storage (such as floppy disks, hard disks) , magnetic tape, magneto-optical disk (MO), etc.), optical memory (such as CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid state drive (SSD) )wait.
  • magnetic storage such as floppy disks, hard disks
  • magnetic tape such as magneto-optical disk (MO), etc.
  • optical memory such as CD, DVD, BD, HVD, etc.
  • semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid state drive (SSD) )wait.
  • SSD solid state drive
  • embodiments of the present disclosure may be provided as methods, electronic devices, or computer-readable storage media. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present disclosure may employ computer-usable storage media (including, but not limited to, disk storage) having computer-usable program code embodied therein. computer program product implemented on a computer, CD-ROM, optical storage, etc.).
  • computer-usable storage media including, but not limited to, disk storage
  • computer program product implemented on a computer, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions
  • the device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Input (AREA)

Abstract

The present disclosure provides a fingerprint unlocking method and apparatus, an electronic device, and a computer-readable storage medium. The method comprises: performing exposure photographing on a fingerprint of a target subject to obtain a fingerprint image; and determining, on the basis of the fingerprint image, whether ambient light is strong light having a light intensity greater than or equal to a preset intensity value, if yes, selecting to perform fingerprint unlocking at a first security level, and if not, selecting to perform the fingerprint unlocking at a second security level, wherein the first security level is higher than the second security level.

Description

指纹解锁方法及装置、电子设备、计算机可读存储介质Fingerprint unlocking method and device, electronic equipment, computer-readable storage medium
相关申请的交叉引用Cross-references to related applications
本申请要求在2022年04月19日提交中国专利局、申请号为202210412611.1、申请名称为“指纹解锁方法及装置、电子设备、计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted to the China Patent Office on April 19, 2022, with the application number 202210412611.1 and the application name "Fingerprint unlocking method and device, electronic equipment, computer-readable storage medium", and its entire content incorporated herein by reference.
技术领域Technical field
本公开涉及指纹识别技术领域,尤其涉及一种指纹解锁方法及装置、电子设备、计算机可读存储介质。The present disclosure relates to the technical field of fingerprint identification, and in particular to a fingerprint unlocking method and device, electronic equipment, and computer-readable storage media.
背景技术Background technique
随着信息行业的高速发展,生物识别技术受到了越来越广泛的应用。特别地,指纹是人体与生俱来且独一无二并可与他人相区别的特征,它由指端皮肤表面上的一系列谷和脊组成,且通常包括脊的分叉、脊的末端、帐篷式的拱形、左旋、右旋、螺旋或双旋等细节。这些细节决定了指纹的唯一特性,因此可用于进行用户身份确认。基于此,指纹识别技术已经广泛应用在移动终端、智能家居等多个领域,为用户信息提供安全保障。With the rapid development of the information industry, biometric technology has been increasingly widely used. In particular, a fingerprint is an innate and unique feature of the human body that can be distinguished from others. It consists of a series of valleys and ridges on the skin surface of the fingertips, and usually includes the bifurcation of the ridge, the end of the ridge, and the tent-like shape of the ridge. Details such as arch, left-hand, right-hand, spiral or double spiral. These details determine the unique characteristics of the fingerprint and can therefore be used for user identification. Based on this, fingerprint recognition technology has been widely used in many fields such as mobile terminals and smart homes to provide security for user information.
发明内容Contents of the invention
本公开实施例提供一种指纹解锁方法及装置、电子设备、计算机可读存储介质,用以提高强光环境下指纹解锁的安全性。Embodiments of the present disclosure provide a fingerprint unlocking method and device, electronic equipment, and computer-readable storage media to improve the security of fingerprint unlocking in strong light environments.
因此,本公开实施例提供的一种指纹解锁方法,包括:Therefore, a fingerprint unlocking method provided by an embodiment of the present disclosure includes:
对目标对象的指纹进行曝光拍摄,获取指纹图像;Expose and photograph the fingerprint of the target object to obtain a fingerprint image;
基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光,若是,则选择在第一安全等级下进行指纹解锁,若否,则选择在第二安全等级下进行指纹解锁,其中,所述第一安全等级的安全级别高于所述第二安全 等级的安全级别。Based on the fingerprint image, it is determined whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value. If so, fingerprint unlocking is performed at the first security level. If not, fingerprint unlocking is performed at the second security level. , wherein the security level of the first security level is higher than the second security level. level of security.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光,具体包括:In some embodiments, in the above fingerprint unlocking method provided by the embodiments of the present disclosure, determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image specifically includes:
基于所述指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光。Based on the number of overexposure points and the gray scale value of the fingerprint image, it is determined whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,在获取指纹图像之后,且在基于所述指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光之前,还包括:统计所述指纹图像的过曝点数。In some embodiments, in the above fingerprint unlocking method provided by the embodiments of the present disclosure, after obtaining the fingerprint image, and based on the number of overexposure points and grayscale value of the fingerprint image, it is determined whether the ambient light has a light intensity greater than or equal to Before the strong light of the preset intensity value, it also includes: counting the number of overexposure points of the fingerprint image.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,基于所述指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光,具体包括:In some embodiments, in the above fingerprint unlocking method provided by embodiments of the present disclosure, it is determined based on the number of overexposure points and grayscale values of the fingerprint image whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value, Specifically include:
判断所述指纹图像的过曝点数是否大于预设数值,若是,则确定环境光为强光,若否,则根据所述指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光。Determine whether the number of overexposure points of the fingerprint image is greater than a preset value. If so, determine whether the ambient light is strong light. If not, determine whether the ambient light is greater than or equal to the preset intensity based on the grayscale value of the fingerprint image. Worth the glare.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,在确定所述指纹图像的过曝点数小于预设数值之后,且在根据所述指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光之前,还包括:统计所述指纹图像的灰阶值。In some embodiments, in the above fingerprint unlocking method provided by the embodiment of the present disclosure, after determining that the number of overexposure points of the fingerprint image is less than a preset value, and after determining whether the ambient light is based on the grayscale value of the fingerprint image Before the light intensity is greater than or equal to the preset intensity value, the method further includes: counting the grayscale values of the fingerprint image.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,根据所述指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光,具体包括:In some embodiments, in the above-mentioned fingerprint unlocking method provided by the embodiments of the present disclosure, determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the grayscale value of the fingerprint image specifically includes:
判断所述指纹图像的灰阶值是否大于等于预设灰阶值,若是,则确定环境光为强光,若否,则确定环境光为非强光。Determine whether the grayscale value of the fingerprint image is greater than or equal to the preset grayscale value. If so, it is determined that the ambient light is strong light. If not, it is determined that the ambient light is not strong light.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,在获取指纹图像之后,且在基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光之前,还包括:对所述指纹图像进行降噪处理。 In some embodiments, in the above fingerprint unlocking method provided by the embodiments of the present disclosure, after obtaining the fingerprint image and before determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image, It also includes: performing noise reduction processing on the fingerprint image.
基于同一发明构思,本公开实施例提供了一种指纹解锁装置,包括:Based on the same inventive concept, embodiments of the present disclosure provide a fingerprint unlocking device, including:
采集模块,被配置为对目标对象的指纹进行曝光拍摄,获取指纹图像;The collection module is configured to expose and photograph the fingerprint of the target object to obtain a fingerprint image;
解锁模块,被配置为基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光,若是,则选择在第一安全等级下进行指纹解锁,若否,则选择在第二安全等级下进行指纹解锁,其中,所述第一安全等级的安全级别高于所述第二安全等级的安全级别。An unlocking module configured to determine whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image. If so, select to perform fingerprint unlocking at the first security level. If not, select to perform fingerprint unlocking at the second security level. Fingerprint unlocking is performed at a security level, where the security level of the first security level is higher than the security level of the second security level.
基于同一发明构思,本公开实施例提供了一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现本公开实施例提供的上述指纹解锁方法。Based on the same inventive concept, embodiments of the present disclosure provide an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the computer program. When executing the program, the above fingerprint unlocking method provided by the embodiment of the present disclosure is implemented.
基于同一发明构思,本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开实施例提供的上述指纹解锁方法。Based on the same inventive concept, embodiments of the disclosure provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above fingerprint unlocking method provided by the embodiment of the disclosure is implemented.
本公开有益效果如下:The beneficial effects of this disclosure are as follows:
本公开实施例提供的指纹解锁方法及装置、电子设备、计算机可读存储介质,包括对目标对象的指纹进行曝光拍摄,获取指纹图像;基于指纹图像确定环境光是否为光强大于等于预设强度值的强光,若是,则选择在第一安全等级下进行指纹解锁,若否,则选择在第二安全等级下进行指纹解锁,其中,第一安全等级的安全级别高于第二安全等级的安全级别。本公开可根据指纹图像判断强光场景和非强光场景,并在强光场景下提高指纹解锁的安全等级,因此,可有效提高强光场景下指纹解锁的安全性。The fingerprint unlocking method and device, electronic equipment, and computer-readable storage medium provided by the embodiments of the present disclosure include exposing and photographing the fingerprint of the target object to obtain a fingerprint image; and determining whether the ambient light has a light intensity greater than or equal to a preset intensity based on the fingerprint image. value, if yes, then select fingerprint unlocking at the first security level; if not, select fingerprint unlocking at the second security level, where the security level of the first security level is higher than that of the second security level. Security Level. The present disclosure can determine strong light scenes and non-strong light scenes based on fingerprint images, and improve the security level of fingerprint unlocking in strong light scenes. Therefore, the security of fingerprint unlocking in strong light scenes can be effectively improved.
附图说明Description of the drawings
图1为本公开实施例提供的指纹解锁方法的一种流程图;Figure 1 is a flow chart of a fingerprint unlocking method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的在非强光场景下的指纹图像;Figure 2 is a fingerprint image in a non-strong light scene provided by an embodiment of the present disclosure;
图3为本公开实施例提供的在强光场景下的指纹图像;Figure 3 is a fingerprint image in a strong light scene provided by an embodiment of the present disclosure;
图4为本公开实施例提供的强光场景指纹图像的灰阶值和非强光场景下 指纹图像的灰阶值的对比图;Figure 4 shows the grayscale value of the fingerprint image in a strong light scene and the grayscale value in a non-strong light scene provided by an embodiment of the present disclosure. Comparison of grayscale values of fingerprint images;
图5为本公开实施例提供的指纹解锁方法的又一种流程图;Figure 5 is another flow chart of a fingerprint unlocking method provided by an embodiment of the present disclosure;
图6为本公开实施例提供的指纹解锁方法的又一种流程图;Figure 6 is another flow chart of a fingerprint unlocking method provided by an embodiment of the present disclosure;
图7为对图2降噪处理后的指纹图像;Figure 7 is the fingerprint image after noise reduction processing of Figure 2;
图8为对图3降噪处理后的指纹图像;Figure 8 is the fingerprint image after noise reduction processing of Figure 3;
图9为本公开实施例提供的指纹解锁装置的结构示意图;Figure 9 is a schematic structural diagram of a fingerprint unlocking device provided by an embodiment of the present disclosure;
图10为本公开实施例提供的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例的附图,对本公开实施例的技术方案进行清楚、完整地描述。需要注意的是,附图中各图形的尺寸和形状不反映真实比例,目的只是示意说明本公开内容。并且自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. It should be noted that the sizes and shapes of the figures in the drawings do not reflect true proportions and are only intended to illustrate the present disclosure. And the same or similar reference numbers throughout represent the same or similar elements or elements with the same or similar functions.
除非另作定义,此处使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开说明书以及权利要求书中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“内”、“外”、“上”、“下”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。Unless otherwise defined, technical or scientific terms used herein shall have their ordinary meaning understood by a person of ordinary skill in the art to which this disclosure belongs. "First", "second" and similar words used in this disclosure and the claims do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "include" or "comprising" mean that the elements or things appearing before the word include the elements or things listed after the word and their equivalents, without excluding other elements or things. "Inside", "outside", "up", "down", etc. are only used to express relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
随着智能终端的高速发展,不仅要求智能终端的外形美观,还需兼顾给用户带来更出色的视觉体验。各大厂商开始在智能终端上提高屏占比,使得全面屏成为智能终端的一个新竞争点。随着全面屏的发展,在性能和功能上的提升需求也与日俱增,屏下指纹识别模组在不影响高屏占比的前提下,在一定程度上可以带来视觉和使用体验上的冲击感。 With the rapid development of smart terminals, smart terminals are not only required to have a beautiful appearance, but also need to give users a better visual experience. Major manufacturers have begun to increase the screen-to-body ratio on smart terminals, making full-screen displays a new competitive point for smart terminals. With the development of full-screen, the demand for improvement in performance and functions is also increasing day by day. The under-screen fingerprint recognition module can bring visual and user experience impact to a certain extent without affecting the high screen-to-body ratio. .
目前指纹识别技术主要有光学式、电容式、超声波式、热敏式和压感式等,但是电容传感器、半导体热敏材料和压敏材料识别距离有限,无法透过显示模组收集足够的信号进行指纹识别,因此目前屏下指纹识别主要采用光学式和超声波式,但是超声波式的指纹模组结构复杂,成本高,光学式成为目前屏下指纹识别技术的主流。Currently, fingerprint recognition technologies mainly include optical, capacitive, ultrasonic, thermal, and pressure-sensitive types. However, capacitive sensors, semiconductor thermal materials, and pressure-sensitive materials have limited recognition distances and cannot collect sufficient signals through display modules. For fingerprint recognition, currently under-screen fingerprint recognition mainly uses optical and ultrasonic methods. However, ultrasonic fingerprint modules have complex structures and high costs. Optical fingerprint recognition has become the mainstream of current under-screen fingerprint recognition technology.
但是屏下光学式指纹识别模组在强光(例如太阳光)场景下使用时,指纹识别性能会受到强光一定程度上的干扰。例如申请人发现,在采用相关技术中的屏下光学式指纹识别模组进行指纹识别性能评测时,在强光和非强光场景下,终端设备的指纹识别算法设置在同一安全等级的条件下,强光场景相较于非强光场景测试更容易出现识别安全性的问题。However, when the under-screen optical fingerprint recognition module is used in a scene with strong light (such as sunlight), the fingerprint recognition performance will be interfered by the strong light to a certain extent. For example, the applicant found that when using an under-screen optical fingerprint recognition module in related technologies for fingerprint recognition performance evaluation, the fingerprint recognition algorithm of the terminal device was set at the same security level under strong light and non-strong light scenarios. , Strong light scenes are more likely to have identification security problems than non-strong light scene tests.
为了解决相关技术中存在的上述技术问题,本公开实施例提供了一种指纹解锁方法,如图1所示,可以包括以下步骤:In order to solve the above technical problems existing in related technologies, embodiments of the present disclosure provide a fingerprint unlocking method, as shown in Figure 1, which may include the following steps:
S101、对目标对象的指纹进行曝光拍摄,获取指纹图像;S101. Expose and photograph the fingerprint of the target object to obtain the fingerprint image;
S102、基于指纹图像确定环境光是否为光强大于等于预设强度值(例如10000lux)的强光,若是,则可以确定该指纹图像是在强光场景下采集的,可执行步骤S103、在第一安全等级下进行指纹解锁,若否,则可以确定该指纹图像是在非强光场景下采集的,可执行步骤S104、在第二安全等级下进行指纹解锁,其中,第一安全等级的安全级别高于第二安全等级的安全级别。S102. Determine whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value (for example, 10000 lux) based on the fingerprint image. If so, it can be determined that the fingerprint image was collected in a strong light scene, and step S103 can be performed. Perform fingerprint unlocking under a security level. If not, it can be determined that the fingerprint image was collected in a non-strong light scene, and step S104 can be performed to perform fingerprint unlocking under a second security level, where the security of the first security level A security level higher than the second security level.
在一些实施例中,安全级别越高,采集的指纹图像与预存的指纹图像的一致性越好,例如,在第一安全级别下,采集的指纹图像与预存的指纹图像具有90%的相同部分;在第二安全级别下,采集的指纹图像与预存的指纹图像具有70%的相同部分。In some embodiments, the higher the security level, the better the consistency between the collected fingerprint image and the pre-stored fingerprint image. For example, at the first security level, the collected fingerprint image has 90% of the same parts as the pre-stored fingerprint image. ;At the second security level, the collected fingerprint image has 70% of the same parts as the pre-stored fingerprint image.
在本公开实施例提供的上述指纹解锁方法中,可根据指纹图像判断强光场景和非强光场景,并在强光场景下提高指纹解锁的安全等级,因此,可有效提高强光场景下指纹解锁的安全性。In the above fingerprint unlocking method provided by the embodiments of the present disclosure, strong light scenes and non-strong light scenes can be determined based on fingerprint images, and the security level of fingerprint unlocking can be improved in strong light scenes. Therefore, fingerprint unlocking in strong light scenes can be effectively improved. Unlocked security.
图2为在非强光场景下采集的指纹图像,图3为在强光场景下采集的指纹图像。对比可知,非强光场景的指纹图像与强光场景的指纹图像有两个区 别的特征点:其一是两种场景指纹图像存在有无过曝区域的差异,图2所示非强光场景指纹图像的左下角C1处不存在过曝现象,而图3所示强光场景下指纹图像的左下角C2处存在过曝现象,具体而言,在指纹图像中灰阶值(WL)为65535的像素点的个数称为过曝点数,其中,图2所示的非强光场景指纹图像上的过曝点数为0个,而图3所示强光场景指纹图像上的过曝点数为197个,所以可采用指纹图像上的过曝点数这一特征点作为强光场景的判断依据;其二是两种场景指纹图像存在灰阶值的差异,强光场景指纹图像的灰阶值普遍高于非强光场景指纹图像,如图4所示,分别统计900张非强光场景下指纹图像和900张强光场景下指纹图像的灰阶值,其中,A区域表示强光场景下指纹图像的灰阶值,B区域表示非强光场景下指纹图像的灰阶值,由图4可见,强光场景与非强光场景下指纹图像的灰阶值分布大部分有较明显的区间隔离,所以指纹图像的灰阶值这一特征点可作为强光场景判断依据。Figure 2 shows a fingerprint image collected in a non-strong light scene, and Figure 3 shows a fingerprint image collected in a strong light scene. From the comparison, it can be seen that there are two areas between the fingerprint image in the non-strong light scene and the fingerprint image in the strong light scene. Other characteristic points: First, there is a difference in whether there is an overexposure area in the fingerprint images of the two scenes. There is no overexposure at C1 in the lower left corner of the fingerprint image in the non-strong light scene shown in Figure 2, while in the strong light scene shown in Figure 3 There is an overexposure phenomenon at C 2 in the lower left corner of the fingerprint image in a light scene. Specifically, the number of pixels with a grayscale value (WL) of 65535 in the fingerprint image is called the number of overexposure points. As shown in Figure 2 The number of overexposure points on the fingerprint image in the non-strong light scene is 0, while the number of overexposure points on the fingerprint image in the strong light scene shown in Figure 3 is 197, so the number of overexposure points on the fingerprint image can be used as the characteristic point The basis for judging strong light scenes; secondly, there is a difference in grayscale value between the fingerprint images in the two scenes. The grayscale value of the fingerprint image in the strong light scene is generally higher than that of the fingerprint image in the non-strong light scene. As shown in Figure 4, respectively, 900 The grayscale values of a fingerprint image in a non-strong light scene and 900 fingerprint images in a strong light scene. Area A represents the grayscale value of a fingerprint image in a strong light scene, and area B represents the grayscale value of a fingerprint image in a non-strong light scene. As can be seen in Figure 4, most of the grayscale value distributions of fingerprint images in strong light scenes and non-strong light scenes have obvious interval isolation, so the characteristic point of the grayscale value of fingerprint images can be used as a basis for judging strong light scenes.
基于此,在本公开实施例提供的上述指纹解锁方法中,如图5所示,上述步骤S102基于指纹图像确定环境光是否为光强大于等于预设强度值的强光,具体可以通过步骤S102'的方式实现,步骤S102'、基于指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光。Based on this, in the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure, as shown in Figure 5, the above-mentioned step S102 determines whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value based on the fingerprint image. Specifically, step S102 ' is implemented in a step S102', based on the number of overexposure points and grayscale values of the fingerprint image, determine whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,如图6所示,在执行上述步骤S101、获取指纹图像之后,且在执行上述步骤S102'、基于指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光之前,还可以执行步骤S201、统计指纹图像的过曝点数。In some embodiments, in the above fingerprint unlocking method provided by the embodiment of the present disclosure, as shown in Figure 6, after executing the above step S101 to obtain the fingerprint image, and after executing the above step S102', overexposure based on the fingerprint image Points and grayscale values, before determining whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value, step S201 can also be performed to count the number of overexposure points of the fingerprint image.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,如图6所示,上述步骤S102'、基于指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光,具体可以通过包括以下步骤:In some embodiments, in the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure, as shown in Figure 6, the above-mentioned step S102' determines whether the ambient light is stronger than Bright light equal to the preset intensity value can be achieved by including the following steps:
S1021、判断过指纹图像的曝点数是否大于预设数值(例如50),若是,则执行步骤S1022、确定环境光为强光,若否,则根据指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光。S1021. Determine whether the number of exposure points of the fingerprint image is greater than a preset value (for example, 50). If so, perform step S1022 to determine whether the ambient light is strong light. If not, determine whether the ambient light is light based on the grayscale value of the fingerprint image. A bright light that is greater than or equal to the preset intensity value.
在一些实施例中,在确定指纹图像的过曝点数小于预设数值之后,且在 根据指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光之前,如图6所示,还需要执行步骤S202、统计指纹图像的灰阶值。相应地,根据指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光,具体可以包括以下步骤:In some embodiments, after determining that the number of overexposed points of the fingerprint image is less than a preset value, and Before determining whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value according to the grayscale value of the fingerprint image, as shown in Figure 6, step S202 is also required to count the grayscale values of the fingerprint image. Accordingly, judging whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value based on the grayscale value of the fingerprint image may include the following steps:
S1023、判断指纹图像的灰阶值是否大于等于预设灰阶值(例如4500),若是,则执行步骤S1024、确定环境光为强光,若否,则执行步骤S1025、确定环境光为非强光。S1023. Determine whether the grayscale value of the fingerprint image is greater than or equal to the preset grayscale value (for example, 4500). If so, perform step S1024 to determine that the ambient light is strong light. If not, perform step S1025 to determine that the ambient light is not strong. Light.
在一些实施例中,在本公开实施例提供的上述指纹解锁方法中,在执行步骤S101、获取指纹图像之后,且在执行步骤S102、基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光之前,还可以对指纹图像进行降噪(dedummy)处理。例如,图7为图2所示非强光场景下的指纹图像经过降噪处理后的指纹图像,图8为图3所示强光场景下的指纹图像经过降噪处理后的指纹图像。由图7和图8可见,经过降噪处理后的指纹图像质量更好。并且,经测试可得,图7所示降噪处理后的指纹图像的灰度值为4159.041,图8所示降噪处理后的指纹图像的灰度值为6709.297。In some embodiments, in the above fingerprint unlocking method provided by the embodiment of the present disclosure, after performing step S101 to obtain a fingerprint image, and performing step S102 based on the fingerprint image, it is determined whether the ambient light has a light intensity greater than or equal to a predetermined value. Before setting the intensity value of the bright light, the fingerprint image can also be denoised (dedummy). For example, Figure 7 is a fingerprint image after noise reduction processing of the fingerprint image in the non-strong light scene shown in Figure 2, and Figure 8 is a fingerprint image after noise reduction processing of the fingerprint image in the strong light scene shown in Figure 3. As can be seen from Figures 7 and 8, the fingerprint image quality after noise reduction processing is better. Moreover, after testing, it can be found that the gray value of the fingerprint image after noise reduction processing shown in Figure 7 is 4159.041, and the gray value of the fingerprint image after noise reduction processing shown in Figure 8 is 6709.297.
基于同一发明构思,本公开实施例提供了一种指纹解锁装置,如图9所示,包括:Based on the same inventive concept, an embodiment of the present disclosure provides a fingerprint unlocking device, as shown in Figure 9, including:
采集模块901,被配置为对目标对象的指纹进行曝光拍摄,获取指纹图像;The acquisition module 901 is configured to expose and photograph the fingerprint of the target object to obtain a fingerprint image;
解锁模块902,被配置为基于指纹图像确定环境光是否为光强大于等于预设强度值的强光,若是,则选择在第一安全等级下进行指纹解锁,若否,则选择在第二安全等级下进行指纹解锁,其中,第一安全等级的安全级别高于第二安全等级的安全级别。The unlocking module 902 is configured to determine, based on the fingerprint image, whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value. If so, select to perform fingerprint unlocking at the first security level. If not, select to perform fingerprint unlocking at the second security level. Fingerprint unlocking is performed at different levels, where the security level of the first security level is higher than the security level of the second security level.
由于该指纹解锁装置解决问题的原理与本公开实施例提供的上述指纹解锁方法的原理相似,因此,本公开实施例提供的该指纹解锁装置的实施可以参见本公开实施例提供的上述指纹解锁方法的实施,重复之处不再赘述。Since the principle of solving the problem of the fingerprint unlocking device is similar to the principle of the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure, therefore, the implementation of the fingerprint unlocking device provided by the embodiment of the present disclosure can refer to the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure. The implementation will not be repeated again.
基于同一发明构思,本公开实施例提供了一种电子设备,如图10所示,包括:存储器1001、处理器1002及存储在存储器1001上并可在处理器1002 上运行的程序1003,处理器1002执行程序1003时,实现本公开实施例提供的上述指纹解锁方法。由于该电子设备解决问题的原理与上述指纹解锁方法解决问题的原理相似,因此,本公开实施例提供的该电子设备的实施可以参见本公开实施例提供的上述指纹解锁方法的实施,重复之处不再赘述。Based on the same inventive concept, an embodiment of the present disclosure provides an electronic device, as shown in Figure 10 , including: a memory 1001, a processor 1002, and an electronic device stored in the memory 1001 and available in the processor 1002. When the processor 1002 executes the program 1003 running on the program 1003, the above fingerprint unlocking method provided by the embodiment of the present disclosure is implemented. Since the principle of solving the problem of the electronic device is similar to the principle of solving the problem of the above-mentioned fingerprint unlocking method, therefore, the implementation of the electronic device provided by the embodiment of the present disclosure can refer to the implementation of the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure. No longer.
在一些实施例中,本公开实施例提供的上述电子设备可以为:手机、平板电脑、电视机、显示器、笔记本电脑、数码相框、导航仪、智能手表、健身腕带、个人数字助理等任何具有显示功能的产品或部件。该电子设备包括但不限于:射频单元、网络模块、音频输出&输入单元、传感器、显示单元、用户输入单元、接口单元、存储器、处理器、以及电源等部件。另外,本领域技术人员可以理解的是,上述结构并不构成对本公开实施例提供的上述电子设备的限定,换言之,在本公开实施例提供的上述电子设备中可以包括上述更多或更少的部件,或者组合某些部件,或者不同的部件布置。In some embodiments, the above-mentioned electronic devices provided by the embodiments of the present disclosure may be: mobile phones, tablet computers, televisions, monitors, notebook computers, digital photo frames, navigators, smart watches, fitness wristbands, personal digital assistants, and any other devices with A product or component that displays functionality. The electronic device includes but is not limited to: radio frequency unit, network module, audio output & input unit, sensor, display unit, user input unit, interface unit, memory, processor, power supply and other components. In addition, those skilled in the art can understand that the above structure does not constitute a limitation on the above-mentioned electronic device provided by the embodiment of the present disclosure. In other words, the above-mentioned electronic device provided by the embodiment of the present disclosure may include more or less of the above-mentioned ones. components, or combinations of certain components, or different arrangements of components.
在本公开中存储器1001作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。存储器1001可以包括至少一种类型的存储介质,例如可以包括闪存、硬盘、多媒体卡、卡型存储器、随机访问存储器(Random Access Memory,RAM)、静态随机访问存储器(Static Random Access Memory,SRAM)、可编程只读存储器(Programmable Read Only Memory,PROM)、只读存储器(Read Only Memory,ROM)、带电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性存储器、磁盘、光盘等等。存储器可以是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本公开实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。In the present disclosure, the memory 1001 is used as a non-volatile computer-readable storage medium, which can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1001 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Memory, Disk , CD, etc. Memory may be, but is not limited to, any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer. The memory in the embodiment of the present disclosure may also be a circuit or any other device capable of realizing a storage function, used to store program instructions and/or data.
处理器1002可以是通用处理器,例如中央处理器(CPU)、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组 件,可以实现或者执行本公开实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本公开实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。The processor 1002 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or a field programmable gate array (Field Programmable Gate). Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware groups Software can realize or execute each method, step and logical block diagram disclosed in the embodiment of the present disclosure. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in conjunction with the embodiments of the present disclosure can be directly implemented as executed by a hardware processor, or executed using a combination of hardware and software modules in the processor.
在存储器1001上并可在处理器1002上运行的程序1003可以包括程序代码,当程序代码在电子设备上运行时,程序代码用于使电子设备执行本说明书描述的根据本公开各种示例性实施方式的方法中的步骤,例如,电子设备可以执行本公开实施例所记载的指纹解锁方法。可选地,程序代码可以使用任何已知或未来开发的编程语言来规定,诸如高级编程语言,诸如objective-C、C、C++、C#、Java、Python、Javascript、其他脚本语言等,或低级编程语言,诸如机器语言或汇编程序。The program 1003 on the memory 1001 and executable on the processor 1002 may include program code. When the program code is executed on an electronic device, the program code is used to cause the electronic device to perform various exemplary implementations according to the present disclosure described in this specification. For example, the electronic device may execute the fingerprint unlocking method described in the embodiments of the present disclosure. Alternatively, the program code may be specified using any known or future developed programming language, such as a high-level programming language such as Objective-C, C, C++, C#, Java, Python, Javascript, other scripting languages, etc., or low-level programming Language, such as machine language or assembler.
基于同一发明构思,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述任一项指纹解锁方法。由于该计算机可读存储介质解决问题的原理与上述指纹解锁方法解决问题的原理相似,因此,本公开实施例提供的该计算机可读存储介质的实施可以参见本公开实施例提供的上述指纹解锁方法的实施,重复之处不再赘述。Based on the same inventive concept, embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any one of the above fingerprint unlocking methods is implemented. Since the principle of the computer-readable storage medium to solve the problem is similar to the principle of the above-mentioned fingerprint unlocking method to solve the problem, the implementation of the computer-readable storage medium provided by the embodiment of the present disclosure can refer to the above-mentioned fingerprint unlocking method provided by the embodiment of the present disclosure. The implementation will not be repeated again.
可选地,本公开实施例提供的上述计算机可读存储介质可以是非暂时性计算机可读介质,例如计算机能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NANDFLASH)、固态硬盘(SSD))等。Optionally, the above-mentioned computer-readable storage media provided by embodiments of the present disclosure may be non-transitory computer-readable media, such as any available media or data storage devices that a computer can access, including but not limited to magnetic storage (such as floppy disks, hard disks) , magnetic tape, magneto-optical disk (MO), etc.), optical memory (such as CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid state drive (SSD) )wait.
需要说明的是,本公开的实施例可提供为方法、电子设备、或计算机可读存储介质。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储 器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It should be noted that embodiments of the present disclosure may be provided as methods, electronic devices, or computer-readable storage media. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present disclosure may employ computer-usable storage media (including, but not limited to, disk storage) having computer-usable program code embodied therein. computer program product implemented on a computer, CD-ROM, optical storage, etc.).
本公开是参照根据本公开的方法、电子设备和计算机可读存储介质的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices, and computer-readable storage media according to the disclosure. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in one process or multiple processes of the flowchart and/or one block or multiple blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.
尽管本公开已描述了优选实施例,但应当理解的是,本领域的技术人员可以对本公开实施例进行各种改动和变型而不脱离本公开实施例的精神和范围。这样,倘若本公开实施例的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。 Although the present disclosure has described preferred embodiments, it should be understood that those skilled in the art can make various changes and modifications to the disclosed embodiments without departing from the spirit and scope of the disclosed embodiments. In this way, if these modifications and variations of the embodiments of the present disclosure fall within the scope of the claims of the present disclosure and equivalent technologies, the present disclosure is also intended to include these modifications and variations.

Claims (10)

  1. 一种指纹解锁方法,其中,包括:A fingerprint unlocking method, which includes:
    对目标对象的指纹进行曝光拍摄,获取指纹图像;Expose and photograph the fingerprint of the target object to obtain a fingerprint image;
    基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光,若是,则选择在第一安全等级下进行指纹解锁,若否,则选择在第二安全等级下进行指纹解锁,其中,所述第一安全等级的安全级别高于所述第二安全等级的安全级别。Based on the fingerprint image, it is determined whether the ambient light is strong light with a light intensity greater than or equal to the preset intensity value. If so, fingerprint unlocking is performed at the first security level. If not, fingerprint unlocking is performed at the second security level. , wherein the security level of the first security level is higher than the security level of the second security level.
  2. 如权利要求1所述的指纹解锁方法,其中,基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光,具体包括:The fingerprint unlocking method according to claim 1, wherein determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image specifically includes:
    基于所述指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光。Based on the number of overexposure points and the gray scale value of the fingerprint image, it is determined whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value.
  3. 如权利要求2所述的指纹解锁方法,其中,在获取指纹图像之后,且在基于所述指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光之前,还包括:统计所述指纹图像的过曝点数。The fingerprint unlocking method of claim 2, wherein after acquiring the fingerprint image, and based on the number of overexposure points and grayscale values of the fingerprint image, it is determined whether the ambient light is a light intensity greater than or equal to a preset intensity value. Before lighting, it also includes: counting the number of overexposure points of the fingerprint image.
  4. 如权利要求3所述的指纹解锁方法,其中,基于所述指纹图像的过曝点数和灰阶值,确定环境光是否为光强大于等于预设强度值的强光,具体包括:The fingerprint unlocking method according to claim 3, wherein based on the number of overexposure points and gray scale value of the fingerprint image, determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value specifically includes:
    判断所述指纹图像的过曝点数是否大于预设数值,若是,则确定环境光为强光,若否,则根据所述指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光。Determine whether the number of overexposure points of the fingerprint image is greater than a preset value. If so, determine whether the ambient light is strong light. If not, determine whether the ambient light is greater than or equal to the preset intensity based on the grayscale value of the fingerprint image. Worth the glare.
  5. 如权利要求4所述的指纹解锁方法,其中,在确定所述指纹图像的过曝点数小于预设数值之后,且在根据所述指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光之前,还包括:统计所述指纹图像的灰阶值。The fingerprint unlocking method of claim 4, wherein after it is determined that the number of overexposure points of the fingerprint image is less than a preset value, and after determining whether the ambient light has a light intensity greater than or equal to a preset value based on the grayscale value of the fingerprint image. Before setting the intensity value of the strong light, it also includes: counting the grayscale values of the fingerprint image.
  6. 如权利要求5所述的指纹解锁方法,其中,根据所述指纹图像的灰阶值判断环境光是否为光强大于等于预设强度值的强光,具体包括: The fingerprint unlocking method according to claim 5, wherein determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the grayscale value of the fingerprint image specifically includes:
    判断所述指纹图像的灰阶值是否大于等于预设灰阶值,若是,则确定环境光为强光,若否,则确定环境光为非强光。Determine whether the grayscale value of the fingerprint image is greater than or equal to the preset grayscale value. If so, it is determined that the ambient light is strong light. If not, it is determined that the ambient light is not strong light.
  7. 如权利要求1~6任一项所述的指纹解锁方法,其中,在获取指纹图像之后,且在基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光之前,还包括:对所述指纹图像进行降噪处理。The fingerprint unlocking method according to any one of claims 1 to 6, wherein after obtaining the fingerprint image and before determining whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image, Including: performing noise reduction processing on the fingerprint image.
  8. 一种指纹解锁装置,其中,包括:A fingerprint unlocking device, which includes:
    采集模块,被配置为对目标对象的指纹进行曝光拍摄,获取指纹图像;The collection module is configured to expose and photograph the fingerprint of the target object to obtain a fingerprint image;
    解锁模块,被配置为基于所述指纹图像确定环境光是否为光强大于等于预设强度值的强光,若是,则选择在第一安全等级下进行指纹解锁,若否,则选择在第二安全等级下进行指纹解锁,其中,所述第一安全等级的安全级别高于所述第二安全等级的安全级别。An unlocking module configured to determine whether the ambient light is strong light with a light intensity greater than or equal to a preset intensity value based on the fingerprint image. If so, select to perform fingerprint unlocking at the first security level. If not, select to perform fingerprint unlocking at the second security level. Fingerprint unlocking is performed at a security level, where the security level of the first security level is higher than the security level of the second security level.
  9. 一种电子设备,其中,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述处理器执行所述程序时,实现如权利要求1~7中任一项所述的指纹解锁方法。An electronic device, which includes: a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the implementation of claims 1 to 7 is achieved. The fingerprint unlocking method described in any one of the above.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1~7中任一项所述的指纹解锁方法。 A computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the fingerprint unlocking method according to any one of claims 1 to 7 is implemented.
PCT/CN2023/087397 2022-04-19 2023-04-10 Fingerprint unlocking method and apparatus, electronic device, and computer-readable storage medium WO2023202410A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210412611.1 2022-04-19
CN202210412611.1A CN114882540A (en) 2022-04-19 2022-04-19 Fingerprint unlocking method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
WO2023202410A1 true WO2023202410A1 (en) 2023-10-26
WO2023202410A9 WO2023202410A9 (en) 2023-11-23

Family

ID=82672223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/087397 WO2023202410A1 (en) 2022-04-19 2023-04-10 Fingerprint unlocking method and apparatus, electronic device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN114882540A (en)
WO (1) WO2023202410A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114882540A (en) * 2022-04-19 2022-08-09 北京京东方传感技术有限公司 Fingerprint unlocking method and device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170024554A1 (en) * 2015-07-20 2017-01-26 Asher Segal Self-powered, portable fingerprint-activated device for audibly outputting personal data
US20180039819A1 (en) * 2016-08-02 2018-02-08 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for identity verification
CN109241954A (en) * 2018-11-08 2019-01-18 Oppo广东移动通信有限公司 Fingerprint identification method and relevant device
CN113963381A (en) * 2020-07-01 2022-01-21 深圳市万普拉斯科技有限公司 Fingerprint acquisition method and device, mobile terminal and storage medium
CN114882540A (en) * 2022-04-19 2022-08-09 北京京东方传感技术有限公司 Fingerprint unlocking method and device, electronic equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170024554A1 (en) * 2015-07-20 2017-01-26 Asher Segal Self-powered, portable fingerprint-activated device for audibly outputting personal data
US20180039819A1 (en) * 2016-08-02 2018-02-08 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for identity verification
CN109241954A (en) * 2018-11-08 2019-01-18 Oppo广东移动通信有限公司 Fingerprint identification method and relevant device
CN113963381A (en) * 2020-07-01 2022-01-21 深圳市万普拉斯科技有限公司 Fingerprint acquisition method and device, mobile terminal and storage medium
CN114882540A (en) * 2022-04-19 2022-08-09 北京京东方传感技术有限公司 Fingerprint unlocking method and device, electronic equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"DSLR Digital Photography Book. Basic Principles", 31 July 2011, CHINA YOUTH PUBLISHING HOUSE, CN, ISBN: 978-7-5006-9936-1, article DIGITAL PHOTO, JAPAN: "How to check overexposure or underexposure", pages: 98 - 99, XP009549453 *

Also Published As

Publication number Publication date
CN114882540A (en) 2022-08-09
WO2023202410A9 (en) 2023-11-23

Similar Documents

Publication Publication Date Title
US11887005B2 (en) Content adaptive attention model for neural network-based image and video encoders
US10445485B2 (en) Lock screen output controlling method and electronic device for supporting the same
JP6136537B2 (en) Image processing apparatus, image processing method, image processing control program, and recording medium
US11676288B2 (en) Learned feature motion detection
WO2023202410A9 (en) Fingerprint unlocking method and apparatus, electronic device, and computer-readable storage medium
US9262690B2 (en) Method and device for detecting glare pixels of image
US10666874B2 (en) Reducing or eliminating artifacts in high dynamic range (HDR) imaging
US9600869B2 (en) Image editing method and system
KR102316230B1 (en) Image processing method and device
KR102277087B1 (en) Method of classifying contents and electronic device
CN105874776A (en) Image processing apparatus and method
US9058655B2 (en) Region of interest based image registration
CN111539412B (en) Image analysis method, system, device and medium based on OCR
WO2019237747A1 (en) Image cropping method and apparatus, and electronic device and computer-readable storage medium
CN109035158A (en) Image fuzzy processing method, device, storage medium and electronic equipment
CN108898549A (en) Image processing method, picture processing unit and terminal device
CN104620570A (en) System for photograph enhancement by user controlled local image enhancement
CN111080654A (en) Image lesion region segmentation method and device and server
Hao et al. Low-light image enhancement based on retinex and saliency theories
CN113034387B (en) Image denoising method, device, equipment and medium
US10440283B2 (en) Electronic device and method for controlling the same
CN110689478B (en) Image stylization processing method and device, electronic equipment and readable medium
CN115830362A (en) Image processing method, apparatus, device, medium, and product
WO2023010701A1 (en) Image generation method, apparatus, and electronic device
CN115131247A (en) Image processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23791065

Country of ref document: EP

Kind code of ref document: A1