WO2019062660A1 - Fingerprint recognition method and device, terminal, and computer readable storage medium - Google Patents

Fingerprint recognition method and device, terminal, and computer readable storage medium Download PDF

Info

Publication number
WO2019062660A1
WO2019062660A1 PCT/CN2018/106950 CN2018106950W WO2019062660A1 WO 2019062660 A1 WO2019062660 A1 WO 2019062660A1 CN 2018106950 W CN2018106950 W CN 2018106950W WO 2019062660 A1 WO2019062660 A1 WO 2019062660A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
threshold
gray value
dispersion
value data
Prior art date
Application number
PCT/CN2018/106950
Other languages
French (fr)
Chinese (zh)
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 WO2019062660A1 publication Critical patent/WO2019062660A1/en

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Definitions

  • the present invention relates to the field of touch detection technologies, and in particular, to a method, an apparatus, a terminal, and a computer readable storage medium for fingerprint recognition.
  • a fingerprint detection array is generally used to perform fingerprint recognition work.
  • the fingerprint detection array performs full array scanning according to a preset frequency to obtain fingerprint data.
  • a fingerprint image is formed for fingerprint recognition. That is, the method requires the fingerprint detection array to be in the working state of the full array scan, which causes the power consumption of the mobile terminal to be large. Therefore, how to reduce the power consumption when the terminal performs fingerprint recognition is a technical problem that a person skilled in the art needs to solve.
  • An object of the present invention is to provide a method, a device, a terminal, and a computer readable storage medium for fingerprint recognition, which prevent all fingerprint detection arrays from being turned on due to misjudgment and reduce terminal power consumption.
  • the invention provides a method for fingerprint recognition, the method comprising:
  • the invention also provides a device for fingerprint recognition, comprising:
  • a first determining module configured to determine whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detecting array exceeds a first threshold
  • a discreteness calculation module configured to calculate a degree of dispersion of the gray value data when the average gray value exceeds the first threshold
  • a second determining module configured to determine whether the degree of dispersion is within a startup range
  • a startup module configured to: when the degree of dispersion is within the startup range, initiate all fingerprint detection arrays for fingerprint scanning.
  • the invention also provides a terminal with a fingerprint identification function, comprising:
  • a memory for storing a computer program
  • the processor when executed to execute the computer program, implements the following steps:
  • the degree of dispersion of the gray value data is calculated
  • the present invention also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • the degree of dispersion of the gray value data is calculated
  • the present invention provides a fingerprint identification method for determining whether an average gray value corresponding to a gray value data scanned by a partial fingerprint detection array exceeds a first threshold; if the first threshold is exceeded, the gray is calculated.
  • the degree of dispersion of the degree data determine whether the degree of dispersion is within the startup range; if within the startup range, initiate all fingerprint detection arrays for fingerprint scanning. That is, only when the above conditions are satisfied (when determining that the object in the fingerprint identification area of the terminal is a fingerprint, that is, the surface texture of the object conforms to the characteristics of the fingerprint), all the fingerprint detection arrays are started to perform fingerprint scanning, thereby avoiding the false determination of the fingerprint object. All the fingerprint detection arrays are turned on, which reduces the power consumption of the terminal.
  • the invention also provides a device for fingerprint identification, a terminal and a computer readable storage medium, which have the above-mentioned beneficial effects, and are not described herein again.
  • FIG. 1 is a flowchart of a method for fingerprint identification according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a specific fingerprint identification method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a fingerprint detection array according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a state in a working process of a partial fingerprint detection array according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of an apparatus for fingerprint identification according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of another apparatus for fingerprint identification according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a terminal with a fingerprint identification function according to an embodiment of the present invention.
  • the invention provides a fingerprint identification method, device, terminal and computer readable storage medium, which avoids opening all fingerprint detection arrays caused by misjudgment and reduces terminal power consumption.
  • the current fingerprint detection array initiates detection of all fingerprint detection arrays when there is an object in the fingerprint recognition area. It is impossible to distinguish between smooth skin or other conductors such as keys, which may cause a false triggering situation, resulting in an erroneous operation of the mobile terminal without the user's knowledge, and reducing the user experience. For example, when the user puts the mobile phone into the trouser pocket, the skin of the leg may always trigger the detection of all the fingerprint detection arrays; and if there are smooth conductors such as keys or coins in the trouser pocket, and the conductors and the identification area are partially in contact, It may trigger the detection of all fingerprint detection arrays.
  • FIG. 1 is a flowchart of a method for fingerprint identification according to an embodiment of the present invention.
  • the method may include:
  • the fingerprint detection array is divided into a partial fingerprint detection array and all the fingerprint detection arrays, and the partial fingerprint detection array is used for the fingerprint identification area (that is, the area for detecting the fingerprint exists in the terminal, the embodiment is not correct.
  • the shape, position, and the like of the area are limited, and only the area is used for collecting fingerprint information.
  • the existing object is initially identified to exclude other objects that are not fingerprints, such as smooth skin or coin keys.
  • the screening of partial fingerprint detection arrays can improve the reliability of starting fingerprint scanning of all fingerprint detection arrays, that is, avoiding that all fingerprint detection arrays are always in the working state of full array scanning, and the power consumption of the terminals is large, and false triggering is avoided.
  • Fingerprint recognition improves the accuracy of fingerprint recognition of terminals.
  • part of the fingerprint detection array is part of all fingerprint detection arrays. Users can specify according to their needs.
  • the selection of the partial fingerprint detection array is not limited, that is, the proportion of the partial fingerprint detection array in all the fingerprint detection arrays, and the position of the partial fingerprint detection array in all the fingerprint detection arrays are not limited.
  • This step can initially exclude the situation that the contact area with the fingerprint recognition area is small by comparing the average gray value with the first threshold, because in general, the user needs to open the terminal or need to perform fingerprint recognition. Covered in the fingerprint identification area of the terminal. Therefore, at this time, the fingerprint recognition area can be covered almost by the fingertip. When the coverage area of the object in the fingerprint recognition area is very small, it can be considered that the fingerprint recognition operation is not performed.
  • This embodiment does not limit the size of the specific first threshold.
  • the average gray value is obtained by averaging the gray value data scanned by the partial fingerprint detecting array.
  • This embodiment does not limit the triggering process of the gray value data scanned by the partial fingerprint detection array.
  • step S110 is performed as long as the average gray value corresponding to the gray value data scanned by the partial fingerprint detection array is obtained.
  • the terminal may use a partial fingerprint detection array to scan, and compare the average gray value corresponding to the gray value data scanned by the partial fingerprint detection array with the first threshold.
  • the partial fingerprint detection array is used for scanning, and the corresponding gray value of the gray value data scanned by the partial fingerprint detection array is compared with the first threshold (this is not a certain condition).
  • the latter can further save power consumption of the terminal compared to the former.
  • it can be detected by capacitance or optical fingerprint detection. If the selection of the capacitance detection is performed to trigger the use of the partial fingerprint detection array for scanning, the determination may be included before determining whether the average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds the first threshold.
  • a partial fingerprint detection array is activated to perform fingerprint scanning to obtain gray value data.
  • the preliminary finger detection of the fingerprint identification area of the terminal is realized by using the capacitor electrode, that is, the preliminary finger detection of the fingerprint identification area of the terminal is realized by using the capacitance detection. That is, in order to achieve low power consumption, the fingerprint detection array is turned off when no finger touches the fingerprint recognition area, and the preliminary finger detection is performed by means of capacitance detection. When the capacitance value exceeds the capacitance threshold, it is initially determined that there is a finger touch. At this time, the partial fingerprint detection array is opened for fingerprint scanning to obtain the gray value on the sensing unit corresponding to the partial fingerprint detection array.
  • the gray value data here includes a collection of gray values on the corresponding sensing units obtained by fingerprint scanning of all partial fingerprint detection arrays.
  • the low-power detection method such as self-capacity detection is used for preliminary judgment, and the power consumption of the terminal can be reduced.
  • This test can be ended if the capacitance threshold is not exceeded. That is, it is possible to return to the step of continuing to perform the detection of the capacitance value on the capacitor electrode.
  • This embodiment does not limit the specific form of capacitance detection. For example, it may be self-capacity detection or mutual capacitance detection.
  • the average gray value exceeds the first threshold, it is proved that a conductor (which can be understood as an object to be detected on the fingerprint recognition area) contacts the surface of the fingerprint array at this time, and the contact area is sufficiently large. However, at this time, it is not excluded from other objects such as coins or smooth skin. Therefore, in order to improve the accuracy, all the fingerprint detection arrays caused by misjudgment are avoided, and the power consumption of the terminal is reduced. Further, it is necessary to further determine whether the surface of the conductor is uneven, that is, whether the surface texture of the object conforms to the characteristics of the fingerprint, thereby avoiding the fingerprint array.
  • the detection column When the detection column is covered by a smooth conductor such as a key, all the fingerprint detection arrays are triggered to be detected for power consumption, or are triggered by other conductors with particularly rough texture. That is, if the first threshold is exceeded, the degree of dispersion of the gradation data is calculated. Whether the object in the fingerprint identification area of the terminal is a fingerprint, that is, whether the surface texture of the object conforms to the characteristics of the fingerprint is determined by the degree of dispersion.
  • the number of gradation value data used in calculating the degree of dispersion is not limited in this embodiment.
  • the degree of dispersion may be calculated using all of the gray value data, or the gray value data of the selected portion may be used to calculate the degree of dispersion.
  • the embodiment does not limit the specific selection manner, and may be randomly selected, or may be selected according to the closeness of the contact object corresponding to the gray value (for example, selecting close contact). By further screening, for example, selecting the gray value data of the sensing unit corresponding to the fingerprint detecting array in close contact is more accurate, and the accuracy of the recognition can be improved.
  • the activation range of the corresponding setting may be changed due to the range of the calculation data selection. This embodiment is not limited herein.
  • the current test is terminated and the initial step is returned. For example, it is possible to return to the step of continuing to perform the detection of the capacitance value on the capacitor electrode.
  • the value of the degree of dispersion satisfies the starting condition, that is, whether it is within the starting range.
  • the start range here is a gray value interval, for example, a value exceeding the lower limit gray value (ie, the lower limit threshold) is less than the upper limit gray value (ie, the upper limit threshold), or a range larger than the set gray value. This embodiment does not limit the specific numerical value of the starting range.
  • determining whether the degree of dispersion is within the startup range includes:
  • the embodiment does not limit the size of the third degree of dispersion threshold, and may be determined according to actual conditions. If the starting range only sets the lower threshold, that is, the third dispersion threshold, when the degree of dispersion is less than the third dispersion threshold, the object is not a fingerprint, but a smooth conductor such as a smooth skin or a key. Therefore, the third discrete degree threshold can avoid the problem of false touches caused by smooth conductors such as skin, keys and the like. Improve the accuracy of fingerprint triggering. Further, the object at this time is likely to be a fingerprint, but there is also a degree of dispersion corresponding to a conductor that is coarser than the fingerprint, which is also within the starting range. Therefore, in order to avoid the problem of false touch caused by a rougher conductor, it is optional to determine whether the degree of dispersion is within the starting range:
  • the embodiment does not limit the size of the fourth dispersion degree threshold (ie, the upper threshold), and may be determined according to actual conditions.
  • the erroneous triggering of the smooth conductor smaller than the degree of dispersion of the fingerprint and the rough conductor larger than the degree of dispersion of the fingerprint is eliminated, thereby ensuring the reliability of the fingerprint triggering, thereby avoiding the fingerprint array.
  • the detection column is covered by a smooth conductor portion such as a key, the finger detection is always triggered to consume power, or it is triggered by another conductor having a particularly rough texture. That is, all fingerprint detection arrays caused by misjudgment are avoided, and the power consumption of the terminal is reduced.
  • all fingerprint detection arrays are activated for fingerprint scanning. If it is not within the startup range, the test is terminated. For example, it is possible to return to the step of continuing to detect the capacitance value on the self-capacitance electrode.
  • This embodiment does not limit the process of fingerprint recognition after fingerprint scanning by all fingerprint detection arrays, as long as fingerprint recognition can be implemented, for example, optical fingerprint detection.
  • the fingerprint identification method can determine that a conductor contacts the surface of the fingerprint detection array when the average gray value exceeds the first threshold, and the contact area is sufficiently large. Then, the degree of dispersion is used to further determine whether the surface of the conductor is uneven, that is, the surface texture of the conductor conforms to the characteristics of the fingerprint. Therefore, when the fingerprint detection array is covered by a smooth conductor portion such as a key, the entire fingerprint detection array is always triggered to be detected for power consumption, or is triggered by another conductor with particularly rough texture. That is, only when the degree of dispersion meets the condition, all fingerprint detection arrays are started to perform fingerprint scanning, which significantly improves the number of times all fingerprint detection arrays are turned on due to misjudgment of fingerprint objects, thereby reducing terminal power consumption.
  • the degree of dispersion of the gray value data may specifically include:
  • the corresponding degree of dispersion is calculated using the preselected gray value data.
  • the embodiment does not specifically limit the value of the second threshold.
  • the gray value data exceeding the second threshold is selected from the gray value data as the preselected gray value data, so as to ensure that the sensing units of the fingerprint detection array corresponding to the selected gray values are both Being in close contact with the conductor. That is, in the embodiment, it is determined whether the surface of the conductor is uneven, and the determining process is: selecting a sensing unit corresponding to a part of the fingerprint detecting array from the partial fingerprint detecting array, and the gray values on the sensing units need to exceed the second threshold. It is to ensure that these selected sensing units are in close contact with the conductors, and then calculate the dispersion of the gray values of the sensing units.
  • the degree of dispersion When the degree of dispersion is within the value corresponding to the starting range (eg, exceeding the lower threshold and less than the upper threshold, or only exceeding the lower threshold), it is determined that the surface texture of the conductor conforms to the characteristics of the fingerprint. Therefore, when the fingerprint array is covered by the smooth conductor portion such as the key, the fingerprint detection array is always triggered to be detected for power consumption, or is triggered by another conductor with particularly rough texture. That is, only when the degree of dispersion satisfies the condition, all fingerprint detection arrays are started to perform fingerprint scanning, which significantly improves the number of times all the fingerprint detection arrays are turned on due to misjudgment of the fingerprint object, thereby reducing the power consumption of the terminal.
  • the degree of dispersion satisfies the condition
  • all of the preselected gradation value data may be used as the calculation source data, or the calculation amount may be selected by selecting a predetermined ratio of preselected gradation value data from the preselected gradation value data as the dispersion gradation.
  • the value data is then calculated using the dispersion to calculate the corresponding degree of dispersion.
  • the former calculates the degree of dispersion more accurately, while the latter calculates less amount of hardware resources, and the user can determine it according to the actual situation.
  • the numerical value of the predetermined ratio is not limited in the embodiment.
  • the predetermined ratio may be all pre-selected gray values, or may be 90% pre-selected gray values. Users can set according to the actual situation.
  • the capacitance threshold is set to 2 pF
  • the first threshold is 100
  • the second threshold is 80
  • the lower threshold of the startup range ie, the third dispersion threshold
  • the upper threshold ie, the fourth dispersion threshold
  • the gray grid in the figure below is a partial fingerprint detection array used for finger detection. Simulate a finger detection process based on the above thresholds as follows:
  • the capacitance value is detected as 1pF. Since 1pF ⁇ 2pF threshold, the self-capacity detection is continued.
  • the capacitance value is detected as 2.2pF, due to 2.2pF. >2pF, thus opening part of the fingerprint detection array;
  • the current state at time T3 is partial fingerprint detection array detection, and the average value of gray value obtained by some fingerprint detection arrays is 90. Since 90 ⁇ 100, part of the fingerprint detection array is closed.
  • the self-capacity value is detected to be 2.1pF.
  • the current state at time T5 is partial fingerprint detection array detection, part The average value of the gray value obtained by the fingerprint detection array is 105. Since 105>100, the next step is to select an effective contact sensing unit from the partial fingerprint detection array; the current state at time T6 is to select a part of the effective contact sensing unit, and the gray value (The sensing value of the sensing unit) may be the corresponding gray value obtained at time T5, and may be selected according to the second threshold. For example, the result of the selection is as follows: the dark gray grid shown in FIG.
  • the gray value corresponding to the dark gray grid is More than 80, and the gray value corresponding to the light gray grid is less than 80;
  • the current state at time T7 is the degree of dispersion of calculating the gray value of the effective contact sensing unit, and the gray value (the sensing value of the sensing unit) is obtained using the time T5.
  • Corresponding gray value can be used. It is assumed that the calculated degree of dispersion is 20, because 15 ⁇ 20 and 20 ⁇ 50, it is judged that this is effective finger detection.
  • the embodiment may further include:
  • the embodiment does not limit the specific predetermined time and the value of the number of times threshold, but this time should be a small time interval. For example 10 seconds. That is, if the number of times in which the degree of dispersion is not within the starting range within 10 seconds (that is, the conductor in the fingerprint recognition area is considered to be not a finger) exceeds the threshold of the number of times, a prompt message is issued.
  • the prompt information can prompt the user, so that the user can adjust according to the actual situation, for example, the non-fingerprint contact, or the user uses the finger but has a misjudgment, and the adjustment range can be adaptively adjusted at this time.
  • the terminal may also be prompted to receive the feedback information of the user after receiving the prompt information, and adjust the startup range according to the feedback information of the user. That is, through the prompt information, the reliability of the startup range can be ensured, and the recognition accuracy can be improved while reducing the power consumption of the terminal, thereby improving the user experience.
  • the apparatus for identifying fingerprints, the terminal, and the computer readable storage medium provided by the embodiments of the present invention are described below.
  • the apparatus, terminal, and computer readable storage medium described below and the fingerprint identification method described above can be mutually referenced. .
  • FIG. 5 is a schematic structural diagram of a device for fingerprint identification according to an embodiment of the present invention.
  • the first determining module 100 is configured to determine whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detecting array exceeds a first threshold
  • the discreteness calculation module 200 is configured to calculate a degree of dispersion of the gray value data when the average gray value exceeds the first threshold;
  • the second determining module 300 is configured to determine whether the degree of dispersion is within the startup range
  • the startup module 400 is configured to start all fingerprint detection arrays for fingerprint scanning when the degree of dispersion is within the startup range.
  • the apparatus may further include:
  • the capacitance detecting module 500 is configured to detect a capacitance value on the capacitor electrode
  • the third determining module 600 is configured to determine whether the capacitance value exceeds a capacitance threshold
  • the detecting module 700 is configured to start a partial fingerprint detecting array to perform fingerprint scanning to obtain gray value data when the capacitance value exceeds the capacitance threshold.
  • the discreteness calculation module 200 can include:
  • a first selection unit configured to select gray value data exceeding a second threshold from the gray value data as the preselected gray value data; wherein the second threshold is greater than the first threshold;
  • a discreteness calculation unit is configured to calculate a corresponding degree of dispersion using the preselected gray value data.
  • the apparatus may further include:
  • the prompting module is configured to count the number of times that the discrete degree of occurrence is not within the starting range within a predetermined time; when the number of times is greater than the threshold of the number of times, a prompt message is sent.
  • FIG. 7 is a structural block diagram of a terminal with a fingerprint identification function according to an embodiment of the present invention.
  • the terminal may vary considerably depending on configuration or performance, and may include one or more central processing units (CPU) 810 (eg, one or more processors) and memory 832, one or more stores.
  • Application 842 or storage medium 830 of data 844 eg, one or one storage device in Shanghai.
  • the memory 832 and the storage medium 830 may be short-term storage or persistent storage.
  • Memory 832 and storage medium 830 may also exist as a unified memory.
  • the program stored on storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations in the terminal.
  • the processor 812 can be configured to communicate with the storage medium 830 to perform a series of instruction operations in the storage medium 830 on the terminal 800.
  • Terminal 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and/or one or more operating systems 841, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • operating systems 841 such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the terminal embodiments described above are merely illustrative.
  • the division of modules or units is only a logical function division.
  • there may be another division manner for example, multiple modules or units may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device, module or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separate, and the components displayed as modules or units may or may not be physical modules or units, ie may be located in one place, or may be distributed to multiple network modules. Or on the unit. Some or all of the modules or units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional module or unit in each embodiment of the present application may be integrated into one processing unit, or each module or unit may exist physically separately, or two or more modules or units may be integrated into one processing unit. in.
  • the above integrated modules or units can be implemented in the form of hardware or in the form of software functional modules or units.
  • An integrated unit if implemented as a software function module or unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present application in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, a function invoking device, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
  • the steps in the method of each embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
  • the modules and units in the devices and terminals of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Abstract

A fingerprint recognition method and device, a terminal, and a computer readable storage medium, the method comprising: determining whether an average grayscale value corresponding to grayscale value data scanned by a partial fingerprint detection array exceeds a first threshold; if the first threshold is exceeded, calculating the discrete degree of the grayscale value data; determining whether the discrete degree is within a start range; and if it is within the start range, starting all the fingerprint detection arrays for fingerprint scanning. The method starts all the fingerprint detection arrays only when an object within a terminal fingerprint recognition area is determined as a fingerprint, that is to say, whether the surface texture of the object complies with features of the fingerprint, preventing all the fingerprint detection arrays from being turned on due to an erroneous determination, and reducing terminal power consumption.

Description

一种指纹识别的方法、装置、终端及计算机可读存储介质Method, device, terminal and computer readable storage medium for fingerprint identification
本申请要求于2017年9月26日提交中国专利局、申请号为201710883702.2、发明名称为“一种指纹识别的方法、装置、终端及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to the Chinese Patent Application, filed on Sep. 26, 2017, with the application number No. 201710883702.2, entitled "A method, apparatus, terminal, and computer readable storage medium for fingerprint identification". The entire contents are incorporated herein by reference.
技术领域Technical field
本发明涉及触摸检测技术领域,特别涉及一种指纹识别的方法、装置、终端及计算机可读存储介质。The present invention relates to the field of touch detection technologies, and in particular, to a method, an apparatus, a terminal, and a computer readable storage medium for fingerprint recognition.
背景技术Background technique
目前指纹识别技术应用的范围越来越广,尤其是在移动终端中作为身份识别手段被广泛使用。一般都采用指纹检测阵列来执行指纹识别工作。其中,指纹检测阵列按照预设的频率进行全阵列扫描以得到指纹数据,当根据该指纹数据识别为存在手指触摸时,形成指纹图像进行指纹识别。即该方式要求指纹检测阵列一直处于全阵列扫描的工作状态,这样会导致移动终端的功耗很大。因此,如何降低终端进行指纹识别时的功耗,是本领域技术人员需要解决的技术问题。At present, the application of fingerprint recognition technology is more and more widely used, especially in mobile terminals as an identification means. A fingerprint detection array is generally used to perform fingerprint recognition work. The fingerprint detection array performs full array scanning according to a preset frequency to obtain fingerprint data. When it is recognized that there is a finger touch according to the fingerprint data, a fingerprint image is formed for fingerprint recognition. That is, the method requires the fingerprint detection array to be in the working state of the full array scan, which causes the power consumption of the mobile terminal to be large. Therefore, how to reduce the power consumption when the terminal performs fingerprint recognition is a technical problem that a person skilled in the art needs to solve.
发明内容Summary of the invention
本发明的目的是提供一种指纹识别的方法、装置、终端及计算机可读存储介质,避免了由于误判断导致的全部指纹检测阵列开启,降低终端功耗。An object of the present invention is to provide a method, a device, a terminal, and a computer readable storage medium for fingerprint recognition, which prevent all fingerprint detection arrays from being turned on due to misjudgment and reduce terminal power consumption.
本发明提供一种指纹识别的方法,所述方法包括:The invention provides a method for fingerprint recognition, the method comprising:
判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值;Determining whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds a first threshold;
若超过所述第一阈值,则计算所述灰度值数据的离散程度;If the first threshold is exceeded, calculating a degree of dispersion of the gray value data;
判断所述离散程度是否在启动范围内;Determining whether the degree of dispersion is within a starting range;
若在所述启动范围内,则启动全部指纹检测阵列进行指纹扫描。If within the startup range, all fingerprint detection arrays are activated for fingerprint scanning.
本发明还提供一种指纹识别的装置,包括:The invention also provides a device for fingerprint recognition, comprising:
第一判断模块,用于判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值;a first determining module, configured to determine whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detecting array exceeds a first threshold;
离散程度计算模块,用于当所述平均灰度值超过所述第一阈值时,计算所述灰度值数据的离散程度;a discreteness calculation module, configured to calculate a degree of dispersion of the gray value data when the average gray value exceeds the first threshold;
第二判断模块,用于判断所述离散程度是否在启动范围内;a second determining module, configured to determine whether the degree of dispersion is within a startup range;
启动模块,用于当所述离散程度在所述启动范围内时,则启动全部指纹检测阵列进行指纹扫描。And a startup module, configured to: when the degree of dispersion is within the startup range, initiate all fingerprint detection arrays for fingerprint scanning.
本发明还提供一种具有指纹识别功能的终端,包括:The invention also provides a terminal with a fingerprint identification function, comprising:
存储器,用于存储计算机程序;a memory for storing a computer program;
处理器,用于执行所述计算机程序时实现以下步骤:The processor, when executed to execute the computer program, implements the following steps:
判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值;Determining whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds a first threshold;
若超过第一阈值,则计算灰度值数据的离散程度;If the first threshold is exceeded, the degree of dispersion of the gray value data is calculated;
判断离散程度是否在启动范围内;Determine whether the degree of dispersion is within the starting range;
若在启动范围内,则启动全部指纹检测阵列进行指纹扫描。本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:If it is within the startup range, all fingerprint detection arrays are activated for fingerprint scanning. The present invention also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值;Determining whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds a first threshold;
若超过第一阈值,则计算灰度值数据的离散程度;If the first threshold is exceeded, the degree of dispersion of the gray value data is calculated;
判断离散程度是否在启动范围内;Determine whether the degree of dispersion is within the starting range;
若在启动范围内,则启动全部指纹检测阵列进行指纹扫描。If it is within the startup range, all fingerprint detection arrays are activated for fingerprint scanning.
本发明所提供的本发明公开了一种指纹识别的方法,通过判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值;若超过第一阈值,则计算灰度值数据的离散程度;判断离散程度是否在启动范围内;若在启动范围内,则启动全部指纹检测阵列进行指纹扫描。即只有在以上条件满足的情况下(在确定终端指纹识别区域内的物体为指纹,即物体的表面纹理符合指纹的特征时)才启动全部指纹检测阵列进行指纹 扫描,避免了由于误判断指纹物体导致的全部指纹检测阵列开启,进而降低终端功耗。本发明还提供了一种指纹识别的装置、终端及计算机可读存储介质,具有上述有益效果,在此不再赘述。The present invention provides a fingerprint identification method for determining whether an average gray value corresponding to a gray value data scanned by a partial fingerprint detection array exceeds a first threshold; if the first threshold is exceeded, the gray is calculated. The degree of dispersion of the degree data; determine whether the degree of dispersion is within the startup range; if within the startup range, initiate all fingerprint detection arrays for fingerprint scanning. That is, only when the above conditions are satisfied (when determining that the object in the fingerprint identification area of the terminal is a fingerprint, that is, the surface texture of the object conforms to the characteristics of the fingerprint), all the fingerprint detection arrays are started to perform fingerprint scanning, thereby avoiding the false determination of the fingerprint object. All the fingerprint detection arrays are turned on, which reduces the power consumption of the terminal. The invention also provides a device for fingerprint identification, a terminal and a computer readable storage medium, which have the above-mentioned beneficial effects, and are not described herein again.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can obtain other drawings according to the provided drawings without any creative work.
图1为本发明实施例所提供的指纹识别的方法的流程图;FIG. 1 is a flowchart of a method for fingerprint identification according to an embodiment of the present invention;
图2为本发明实施例所提供的具体指纹识别的方法的流程示意图;2 is a schematic flowchart of a specific fingerprint identification method according to an embodiment of the present invention;
图3为本发明实施例所提供的指纹检测阵列的示意图;3 is a schematic diagram of a fingerprint detection array according to an embodiment of the present invention;
图4为本发明实施例所提供的部分指纹检测阵工作过程中的状态示意图;4 is a schematic diagram of a state in a working process of a partial fingerprint detection array according to an embodiment of the present invention;
图5为本发明实施例所提供的指纹识别的装置的结构框图;FIG. 5 is a structural block diagram of an apparatus for fingerprint identification according to an embodiment of the present invention;
图6为本发明实施例所提供的另一指纹识别的装置的结构框图;FIG. 6 is a structural block diagram of another apparatus for fingerprint identification according to an embodiment of the present invention;
图7为本发明实施例所提供的具有指纹识别功能的终端的结构框图。FIG. 7 is a structural block diagram of a terminal with a fingerprint identification function according to an embodiment of the present invention.
具体实施方式Detailed ways
本发明提供一种指纹识别的方法、装置、终端及计算机可读存储介质,避免了由于误判断导致的全部指纹检测阵列开启,降低终端功耗。The invention provides a fingerprint identification method, device, terminal and computer readable storage medium, which avoids opening all fingerprint detection arrays caused by misjudgment and reduces terminal power consumption.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
目前的指纹检测阵列当指纹识别区域存在物体时就是启动全部的指纹检测阵列进行检测。不能区分光滑皮肤或者钥匙等其他导体,从而会出现误触发情况,导致在用户不知情的情况下出现错误操作移动终端的情况, 降低用户的使用体验。例如当用户把手机放入裤兜,此时腿部皮肤有可能会一直触发启动全部的指纹检测阵列进行检测;另外如果裤兜内有钥匙或者硬币等光滑导体,而这些导体和识别区域部分接触,也可能会触发启动全部的指纹检测阵列进行检测。而本实施例可以提高启动全部指纹检测阵列进行指纹扫描的准确率从而降低终端功耗,以及使终端具备防止误触发的功能。具体请参考图1,图1为本发明实施例所提供的指纹识别的方法的流程图;该方法可以包括:The current fingerprint detection array initiates detection of all fingerprint detection arrays when there is an object in the fingerprint recognition area. It is impossible to distinguish between smooth skin or other conductors such as keys, which may cause a false triggering situation, resulting in an erroneous operation of the mobile terminal without the user's knowledge, and reducing the user experience. For example, when the user puts the mobile phone into the trouser pocket, the skin of the leg may always trigger the detection of all the fingerprint detection arrays; and if there are smooth conductors such as keys or coins in the trouser pocket, and the conductors and the identification area are partially in contact, It may trigger the detection of all fingerprint detection arrays. In this embodiment, the accuracy of starting the fingerprint scanning of all the fingerprint detection arrays is improved, thereby reducing the power consumption of the terminal, and the terminal is provided with a function of preventing false triggering. Please refer to FIG. 1 , which is a flowchart of a method for fingerprint identification according to an embodiment of the present invention; the method may include:
S110、判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值。S110. Determine whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds a first threshold.
具体的,本实施例通过将指纹检测阵列划分为部分指纹检测阵列和全部指纹检测阵列,通过部分指纹检测阵列对指纹识别区域(即终端中存在用于进行指纹检测的区域,本实施例并不对该区域形状、位置等做出限定,仅仅表示有这个区域用于采集指纹信息)存在物体进行初步识别,以便排除掉非指纹的其他物体,例如光滑皮肤或硬币钥匙等。经过部分指纹检测阵列的筛选可以提高启动全部指纹检测阵列进行指纹扫描的可靠性,即避免了全部指纹检测阵列一直处于全阵列扫描的工作状态导致的终端的功耗很大,又避免了误触发指纹识别,提高终端指纹识别的准确性。Specifically, in this embodiment, the fingerprint detection array is divided into a partial fingerprint detection array and all the fingerprint detection arrays, and the partial fingerprint detection array is used for the fingerprint identification area (that is, the area for detecting the fingerprint exists in the terminal, the embodiment is not correct. The shape, position, and the like of the area are limited, and only the area is used for collecting fingerprint information. The existing object is initially identified to exclude other objects that are not fingerprints, such as smooth skin or coin keys. The screening of partial fingerprint detection arrays can improve the reliability of starting fingerprint scanning of all fingerprint detection arrays, that is, avoiding that all fingerprint detection arrays are always in the working state of full array scanning, and the power consumption of the terminals is large, and false triggering is avoided. Fingerprint recognition improves the accuracy of fingerprint recognition of terminals.
其中,部分指纹检测阵列为全部指纹检测阵列中的一部分。用户可以根据自己的需求进行指定。本实施例并不对部分指纹检测阵列的选取进行限制,即不限定部分指纹检测阵列在全部指纹检测阵列中所占的比例,以及部分指纹检测阵列在全部指纹检测阵列中的位置等。Among them, part of the fingerprint detection array is part of all fingerprint detection arrays. Users can specify according to their needs. In this embodiment, the selection of the partial fingerprint detection array is not limited, that is, the proportion of the partial fingerprint detection array in all the fingerprint detection arrays, and the position of the partial fingerprint detection array in all the fingerprint detection arrays are not limited.
该步骤通过将平均灰度值与第一阈值进行比较可以初步排除与指纹识别区域接触面积很小的情况,因为一般情况下,用户需要打开终端或者需要进行指纹识别时都会将录入过指纹的手指覆盖在终端的指纹识别区域中。因此此时指纹识别区域几乎可以被手指指尖覆盖,当指纹识别区域中物体的覆盖面积非常小时,可以认为并不是要执行指纹识别操作。本实施例并不限定具体的第一阈值的大小。This step can initially exclude the situation that the contact area with the fingerprint recognition area is small by comparing the average gray value with the first threshold, because in general, the user needs to open the terminal or need to perform fingerprint recognition. Covered in the fingerprint identification area of the terminal. Therefore, at this time, the fingerprint recognition area can be covered almost by the fingertip. When the coverage area of the object in the fingerprint recognition area is very small, it can be considered that the fingerprint recognition operation is not performed. This embodiment does not limit the size of the specific first threshold.
本实施例中平均灰度值是将部分指纹检测阵列扫描到的灰度值数据取平均值获得的。本实施例并不限定部分指纹检测阵列扫描到的灰度值数据 的触发过程。本实施例只要得到部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值时就会执行步骤S110。In this embodiment, the average gray value is obtained by averaging the gray value data scanned by the partial fingerprint detecting array. This embodiment does not limit the triggering process of the gray value data scanned by the partial fingerprint detection array. In this embodiment, step S110 is performed as long as the average gray value corresponding to the gray value data scanned by the partial fingerprint detection array is obtained.
例如,本实施例中可以使终端一直使用部分指纹检测阵列进行扫描,并将部分指纹检测阵列扫描到的灰度值数据计算对应的平均灰度值与第一阈值进行比较。也可以是满足某种条件时触发使用部分指纹检测阵列进行扫描,并将部分指纹检测阵列扫描到的灰度值数据计算对应的平均灰度值与第一阈值进行比较(这里并不对某种条件进行限定,可以选择功耗更小的方式进行筛选检测)。后者相比于前者能够进一步节省终端的功耗。例如可以通过电容检测,或者光学式的指纹检测。若选择电容检测实现满足某种条件时触发使用部分指纹检测阵列进行扫描时可选的,判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值之前还可以包括:For example, in this embodiment, the terminal may use a partial fingerprint detection array to scan, and compare the average gray value corresponding to the gray value data scanned by the partial fingerprint detection array with the first threshold. Alternatively, when a certain condition is met, the partial fingerprint detection array is used for scanning, and the corresponding gray value of the gray value data scanned by the partial fingerprint detection array is compared with the first threshold (this is not a certain condition). By limiting, you can choose a less power-consuming way to perform screening tests). The latter can further save power consumption of the terminal compared to the former. For example, it can be detected by capacitance or optical fingerprint detection. If the selection of the capacitance detection is performed to trigger the use of the partial fingerprint detection array for scanning, the determination may be included before determining whether the average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds the first threshold. :
检测电容电极上的电容值;Detecting the capacitance value on the capacitor electrode;
判断电容值是否超过电容阈值;Determine whether the capacitance value exceeds the capacitance threshold;
若超过电容阈值,则启动部分指纹检测阵列进行指纹扫描得到灰度值数据。If the capacitance threshold is exceeded, a partial fingerprint detection array is activated to perform fingerprint scanning to obtain gray value data.
具体的,该具体实施例中利用电容电极实现对终端指纹识别区域的初步手指检测即利用电容检测实现对终端指纹识别区域的初步手指检测。即为了实现低功耗,没有手指触摸指纹识别区域时指纹检测阵列是关闭的,利用电容检测的方式循环做初步手指检测。电容值超过电容阈值时,则初步判断为有手指触摸,此时打开部分指纹检测阵列进行指纹扫描获取部分指纹检测阵列对应的感应单元上的灰度值。这里的灰度值数据包含全部的部分指纹检测阵列进行指纹扫描得到的对应的感应单元上的灰度值的汇集。即通过自容检测这样的低功耗检测方式来做初步判断,可以降低终端功耗。若未超过电容阈值时可以结束本次检测。即可以返回继续执行检测电容电极上的电容值的步骤。本实施例并不限定具体的电容检测的形式,例如可以是自容检测也可以是互容检测。Specifically, in the specific embodiment, the preliminary finger detection of the fingerprint identification area of the terminal is realized by using the capacitor electrode, that is, the preliminary finger detection of the fingerprint identification area of the terminal is realized by using the capacitance detection. That is, in order to achieve low power consumption, the fingerprint detection array is turned off when no finger touches the fingerprint recognition area, and the preliminary finger detection is performed by means of capacitance detection. When the capacitance value exceeds the capacitance threshold, it is initially determined that there is a finger touch. At this time, the partial fingerprint detection array is opened for fingerprint scanning to obtain the gray value on the sensing unit corresponding to the partial fingerprint detection array. The gray value data here includes a collection of gray values on the corresponding sensing units obtained by fingerprint scanning of all partial fingerprint detection arrays. That is, the low-power detection method such as self-capacity detection is used for preliminary judgment, and the power consumption of the terminal can be reduced. This test can be ended if the capacitance threshold is not exceeded. That is, it is possible to return to the step of continuing to perform the detection of the capacitance value on the capacitor electrode. This embodiment does not limit the specific form of capacitance detection. For example, it may be self-capacity detection or mutual capacitance detection.
S120、若超过第一阈值,则计算灰度值数据的离散程度。S120. If the first threshold is exceeded, calculate the degree of dispersion of the gradation value data.
具体的,平均灰度值超过第一阈值,则证明此时有导体(可以理解为 指纹识别区域上的待检测物体)接触指纹阵列表面,且接触面积足够大。但是此时并没有排除是硬币或者光滑皮肤等其他物体的情况。因此为了提高准确性,避免了由于误判断导致的全部指纹检测阵列开启,降低终端功耗,还需要进一步判断该导体表面是否凹凸不平,即物体的表面纹理是否符合指纹的特征,从而避免指纹阵检测列被钥匙等光滑导体部分覆盖时,一直触发全部指纹检测阵列开启进行检测从而耗电的情况出现,又或者被别的纹理特别粗糙的导体一直触发。即若超过第一阈值,则计算灰度值数据的离散程度。通过离散程度来确定终端指纹识别区域内的物体是否为指纹即物体的表面纹理是否符合指纹的特征。Specifically, if the average gray value exceeds the first threshold, it is proved that a conductor (which can be understood as an object to be detected on the fingerprint recognition area) contacts the surface of the fingerprint array at this time, and the contact area is sufficiently large. However, at this time, it is not excluded from other objects such as coins or smooth skin. Therefore, in order to improve the accuracy, all the fingerprint detection arrays caused by misjudgment are avoided, and the power consumption of the terminal is reduced. Further, it is necessary to further determine whether the surface of the conductor is uneven, that is, whether the surface texture of the object conforms to the characteristics of the fingerprint, thereby avoiding the fingerprint array. When the detection column is covered by a smooth conductor such as a key, all the fingerprint detection arrays are triggered to be detected for power consumption, or are triggered by other conductors with particularly rough texture. That is, if the first threshold is exceeded, the degree of dispersion of the gradation data is calculated. Whether the object in the fingerprint identification area of the terminal is a fingerprint, that is, whether the surface texture of the object conforms to the characteristics of the fingerprint is determined by the degree of dispersion.
本实施例中并不限定计算离散程度时使用灰度值数据的数量。既可以是利用全部的灰度值数据计算离散程度,也可以是选取部分的灰度值数据来计算离散程度。本实施例也不限定具体的选择方式,可以是随机选取,也可以是根据灰度值对应的接触物体的紧密程度去选择(如选择紧密接触的)。通过进一步的筛选例如选取紧密接触的指纹检测阵列对应的感应单元的灰度值数据得到的离散程度更加准确,可以提高识别的准确性。这里由于计算数据选取的范围的不同对应设置的启动范围也可以适应性的改变。本实施例在此不再进行限定。The number of gradation value data used in calculating the degree of dispersion is not limited in this embodiment. The degree of dispersion may be calculated using all of the gray value data, or the gray value data of the selected portion may be used to calculate the degree of dispersion. The embodiment does not limit the specific selection manner, and may be randomly selected, or may be selected according to the closeness of the contact object corresponding to the gray value (for example, selecting close contact). By further screening, for example, selecting the gray value data of the sensing unit corresponding to the fingerprint detecting array in close contact is more accurate, and the accuracy of the recognition can be improved. Here, the activation range of the corresponding setting may be changed due to the range of the calculation data selection. This embodiment is not limited herein.
若未超过第一阈值,则结束本次检测,返回起始步骤。例如可以返回继续执行检测电容电极上的电容值的步骤。If the first threshold is not exceeded, the current test is terminated and the initial step is returned. For example, it is possible to return to the step of continuing to perform the detection of the capacitance value on the capacitor electrode.
S130、判断离散程度是否在启动范围内。S130. Determine whether the degree of dispersion is within the startup range.
具体的,在计算得到离散程度后可以判断该离散程度的数值是否满足启动条件即是否在启动范围内。这里的启动范围是灰度值区间,例如超过下限灰度值(即下限阈值)小于上限灰度值(即上限阈值),或者是大于设定灰度值的范围。本实施例并不对该启动范围的具体数值进行限定。Specifically, after calculating the degree of dispersion, it can be determined whether the value of the degree of dispersion satisfies the starting condition, that is, whether it is within the starting range. The start range here is a gray value interval, for example, a value exceeding the lower limit gray value (ie, the lower limit threshold) is less than the upper limit gray value (ie, the upper limit threshold), or a range larger than the set gray value. This embodiment does not limit the specific numerical value of the starting range.
可选的,判断离散程度是否在启动范围内包括:Optionally, determining whether the degree of dispersion is within the startup range includes:
判断所述离散程度是否大于预设第三离散程度阈值;若大于,则判断在启动范围内。Determining whether the degree of dispersion is greater than a preset third dispersion degree threshold; if greater than, determining to be within a startup range.
具体的,本实施例并不限定第三离散程度阈值的大小,可根据实际情况确定。若启动范围仅仅设置下限阈值即第三离散程度阈值时,当离散程 度小于该第三离散程度阈值时说明该物体不是指纹,而是光滑的导体,例如光滑的皮肤或钥匙。因此通过第三离散程度阈值能够避免光滑的导体比如皮肤,钥匙等带来的误触问题。提高指纹触发的准确性。进一步此时的物体为指纹的可能性很大,但是还会存在比指纹更加粗糙的导体对应的离散程度也处于启动范围内。因此为了避免更为粗糙的导体带来的误触问题,可选的,判断离散程度是否在启动范围内包括:Specifically, the embodiment does not limit the size of the third degree of dispersion threshold, and may be determined according to actual conditions. If the starting range only sets the lower threshold, that is, the third dispersion threshold, when the degree of dispersion is less than the third dispersion threshold, the object is not a fingerprint, but a smooth conductor such as a smooth skin or a key. Therefore, the third discrete degree threshold can avoid the problem of false touches caused by smooth conductors such as skin, keys and the like. Improve the accuracy of fingerprint triggering. Further, the object at this time is likely to be a fingerprint, but there is also a degree of dispersion corresponding to a conductor that is coarser than the fingerprint, which is also within the starting range. Therefore, in order to avoid the problem of false touch caused by a rougher conductor, it is optional to determine whether the degree of dispersion is within the starting range:
判断所述离散程度是否大于预设第三离散程度阈值且小于预设第四离散程度阈值;若是,则判断在启动范围内。Determining whether the degree of dispersion is greater than a preset third dispersion degree threshold and less than a preset fourth dispersion degree threshold; if yes, determining to be within a startup range.
具体的,本实施例并不限定第四离散程度阈值(即上限阈值)的大小,可根据实际情况确定。该实施例中通过确定指纹对应的离散程度范围来排除了比指纹离散程度小的光滑的导体以及比指纹离散程度大的粗糙的导体的误触发,保证了指纹触发的可靠性,从而避免指纹阵检测列被钥匙等光滑导体部分覆盖时,一直触发手指检测从而耗电的情况出现,又或者被别的纹理特别粗糙的导体一直触发。即避免了由于误判断导致的全部指纹检测阵列开启,降低终端功耗。Specifically, the embodiment does not limit the size of the fourth dispersion degree threshold (ie, the upper threshold), and may be determined according to actual conditions. In this embodiment, by determining the range of the degree of dispersion corresponding to the fingerprint, the erroneous triggering of the smooth conductor smaller than the degree of dispersion of the fingerprint and the rough conductor larger than the degree of dispersion of the fingerprint is eliminated, thereby ensuring the reliability of the fingerprint triggering, thereby avoiding the fingerprint array. When the detection column is covered by a smooth conductor portion such as a key, the finger detection is always triggered to consume power, or it is triggered by another conductor having a particularly rough texture. That is, all fingerprint detection arrays caused by misjudgment are avoided, and the power consumption of the terminal is reduced.
通过步骤S120和S130来排除光滑皮肤和钥匙等导体的误触发情况。The false triggering of the conductors such as smooth skin and keys is eliminated by steps S120 and S130.
S140、若在启动范围内,则启动全部指纹检测阵列进行指纹扫描。S140. If it is within the startup range, start all fingerprint detection arrays for fingerprint scanning.
具体的,若在启动范围内,则启动全部指纹检测阵列进行指纹扫描。若不在启动范围内,则结束本次检测。例如可以返回继续执行检测自容电极上的电容值的步骤。Specifically, if it is within the startup range, all fingerprint detection arrays are activated for fingerprint scanning. If it is not within the startup range, the test is terminated. For example, it is possible to return to the step of continuing to detect the capacitance value on the self-capacitance electrode.
本实施例并不限定全部指纹检测阵列进行指纹扫描后的指纹识别的过程,只要可以实现指纹识别即可,例如可以是光学式指纹检测。This embodiment does not limit the process of fingerprint recognition after fingerprint scanning by all fingerprint detection arrays, as long as fingerprint recognition can be implemented, for example, optical fingerprint detection.
基于上述技术方案,本发明实施例提供的指纹识别的方法,当平均灰度值超过第一阈值时,可判断此时有导体接触指纹检测阵列表面,且接触面积足够大。然后利用离散程度进一步判断该导体表面是否凹凸不平,即判断该导体的表面纹理符合指纹的特征。从而避免指纹检测阵列被钥匙等光滑导体部分覆盖时,一直触发全部指纹检测阵列开启进行检测从而耗电的情况出现,又或者被别的纹理特别粗糙的导体一直触发。即只有在离散程度满足条件的情况下才启动全部指纹检测阵列进行指纹扫描,明显改善 了由于误判断指纹物体导致的全部指纹检测阵列开启的次数,进而降低终端功耗。Based on the above technical solution, the fingerprint identification method provided by the embodiment of the present invention can determine that a conductor contacts the surface of the fingerprint detection array when the average gray value exceeds the first threshold, and the contact area is sufficiently large. Then, the degree of dispersion is used to further determine whether the surface of the conductor is uneven, that is, the surface texture of the conductor conforms to the characteristics of the fingerprint. Therefore, when the fingerprint detection array is covered by a smooth conductor portion such as a key, the entire fingerprint detection array is always triggered to be detected for power consumption, or is triggered by another conductor with particularly rough texture. That is, only when the degree of dispersion meets the condition, all fingerprint detection arrays are started to perform fingerprint scanning, which significantly improves the number of times all fingerprint detection arrays are turned on due to misjudgment of fingerprint objects, thereby reducing terminal power consumption.
基于上述实施例,为了提高离散程度计算的可靠性,计算灰度值数据的离散程度具体可以包括:Based on the above embodiment, in order to improve the reliability of the calculation of the degree of dispersion, the degree of dispersion of the gray value data may specifically include:
从灰度值数据中选择超过第二阈值的灰度值数据作为预选灰度值数据;其中,第二阈值大于第一阈值;Selecting gray value data exceeding the second threshold from the gray value data as the preselected gray value data; wherein the second threshold is greater than the first threshold;
利用所述预选灰度值数据计算对应的离散程度。The corresponding degree of dispersion is calculated using the preselected gray value data.
其中,本实施例并不具体限定第二阈值的数值,The embodiment does not specifically limit the value of the second threshold.
具体的,本实施例中从灰度值数据中选择超过第二阈值的灰度值数据作为预选灰度值数据的目的是为了确保这些挑选出来的灰度值对应的指纹检测阵列的感应单元都被导体紧密接触。即本实施例中判断该导体表面是否凹凸不平,判断过程是:从部分指纹检测阵列中挑选出一部分指纹检测阵列对应的感应单元,这些感应单元上的灰度值都需要超过第二阈值,这是为了确保这些挑选出来的感应单元都被导体紧密接触,然后计算这批感应单元的灰度值的离散程度。当离散程度位于启动范围对应的数值内时(如超过下限阈值且小于上限阈值,或仅仅超过下限阈值),判断该导体的表面纹理符合指纹的特征。从而避免指纹阵列被钥匙等光滑导体部分覆盖时,一直触发全部指纹检测阵列开启进行检测从而耗电的情况出现,又或者被别的纹理特别粗糙的导体一直触发。即只有在离散程度满足条件的情况下才启动全部指纹检测阵列进行指纹扫描,明显改善了由于误判断指纹物体导致的全部指纹检测阵列开启的次数,进而降低终端功耗。Specifically, in the embodiment, the gray value data exceeding the second threshold is selected from the gray value data as the preselected gray value data, so as to ensure that the sensing units of the fingerprint detection array corresponding to the selected gray values are both Being in close contact with the conductor. That is, in the embodiment, it is determined whether the surface of the conductor is uneven, and the determining process is: selecting a sensing unit corresponding to a part of the fingerprint detecting array from the partial fingerprint detecting array, and the gray values on the sensing units need to exceed the second threshold. It is to ensure that these selected sensing units are in close contact with the conductors, and then calculate the dispersion of the gray values of the sensing units. When the degree of dispersion is within the value corresponding to the starting range (eg, exceeding the lower threshold and less than the upper threshold, or only exceeding the lower threshold), it is determined that the surface texture of the conductor conforms to the characteristics of the fingerprint. Therefore, when the fingerprint array is covered by the smooth conductor portion such as the key, the fingerprint detection array is always triggered to be detected for power consumption, or is triggered by another conductor with particularly rough texture. That is, only when the degree of dispersion satisfies the condition, all fingerprint detection arrays are started to perform fingerprint scanning, which significantly improves the number of times all the fingerprint detection arrays are turned on due to misjudgment of the fingerprint object, thereby reducing the power consumption of the terminal.
进一步在计算离散程度时,可以利用全部的预选灰度值数据作为计算源数据,也可以是减小计算量从预选灰度值数据中选择预定比例的预选灰度值数据作为离散度计算灰度值数据,然后利用离散度计算灰度值数据计算对应的离散程度。前者计算得到的离散程度更加精确,后者计算量更少节省硬件资源,用户可以根据实际情况进行确定。Further, when calculating the degree of dispersion, all of the preselected gradation value data may be used as the calculation source data, or the calculation amount may be selected by selecting a predetermined ratio of preselected gradation value data from the preselected gradation value data as the dispersion gradation. The value data is then calculated using the dispersion to calculate the corresponding degree of dispersion. The former calculates the degree of dispersion more accurately, while the latter calculates less amount of hardware resources, and the user can determine it according to the actual situation.
其中,本实施例中并不限定预定比例的数值。例如预定比例可以是全部的预选灰度值,也可以是90%的预选灰度值。用户可以根据实际情况进 行设置。However, the numerical value of the predetermined ratio is not limited in the embodiment. For example, the predetermined ratio may be all pre-selected gray values, or may be 90% pre-selected gray values. Users can set according to the actual situation.
下面请参考图2,给出了一种具体的指纹识别的方法的具体过程。当设置电容阈值为2pF,第一阈值为100,第二阈值为80,启动范围的下限阈值(即第三离散程度阈值)为15,上限阈值(即第四离散程度阈值)为50。请参考图3,假设整个指纹检测阵列是10x10,则下图灰色格子就是做手指检测用到的部分指纹检测阵列。根据以上阈值模拟某次手指检测过程如下:Referring to FIG. 2 below, a specific process of a specific fingerprint identification method is given. When the capacitance threshold is set to 2 pF, the first threshold is 100, the second threshold is 80, the lower threshold of the startup range (ie, the third dispersion threshold) is 15, and the upper threshold (ie, the fourth dispersion threshold) is 50. Referring to FIG. 3, assuming that the entire fingerprint detection array is 10x10, the gray grid in the figure below is a partial fingerprint detection array used for finger detection. Simulate a finger detection process based on the above thresholds as follows:
T1时刻的当前状态为自容检测时,检测到电容值1pF,由于1pF<2pF阈值,因此继续自容检测;T2时刻的当前状态为自容检测时,检测到电容值2.2pF,由于2.2pF>2pF,因此打开部分指纹检测阵列;T3时刻的当前状态为部分指纹检测阵列检测,部分指纹检测阵列得到的灰度值平均值为90,由于90<100,因此关闭部分指纹检测阵列。继续自容检测;T4时刻的当前状态为自容检测时,检测到自容值2.1pF,由于2.1pF>2pF,因此打开部分指纹检测阵列;T5时刻的当前状态为部分指纹检测阵列检测,部分指纹检测阵列得到的灰度值平均值为105,由于105>100,因此下一步从部分指纹检测阵列中挑选出有效接触感应单元;T6时刻的当前状态为挑选部分有效接触感应单元,灰度值(感应单元的感应值)使用T5时刻获取的对应的灰度值即可,根据第二阈值挑选,例如挑选结果如下图4所示深灰色格子,也就是深灰色格子对应的灰度值都是大于80,而浅灰色格子对应的灰度值都是小于80;T7时刻的当前状态为计算有效接触感应单元灰度值的离散程度,灰度值(感应单元的感应值)使用T5时刻获取的对应的灰度值即可,假设计算出来的离散程度为20,因为15<20,且20<50,则判断此时为有效手指检测。When the current state at time T1 is self-capacity detection, the capacitance value is detected as 1pF. Since 1pF<2pF threshold, the self-capacity detection is continued. When the current state at T2 is self-capacity detection, the capacitance value is detected as 2.2pF, due to 2.2pF. >2pF, thus opening part of the fingerprint detection array; the current state at time T3 is partial fingerprint detection array detection, and the average value of gray value obtained by some fingerprint detection arrays is 90. Since 90<100, part of the fingerprint detection array is closed. Continue to self-contained detection; when the current state of T4 is self-capacity detection, the self-capacity value is detected to be 2.1pF. Since 2.1pF>2pF, part of the fingerprint detection array is opened; the current state at time T5 is partial fingerprint detection array detection, part The average value of the gray value obtained by the fingerprint detection array is 105. Since 105>100, the next step is to select an effective contact sensing unit from the partial fingerprint detection array; the current state at time T6 is to select a part of the effective contact sensing unit, and the gray value (The sensing value of the sensing unit) may be the corresponding gray value obtained at time T5, and may be selected according to the second threshold. For example, the result of the selection is as follows: the dark gray grid shown in FIG. 4, that is, the gray value corresponding to the dark gray grid is More than 80, and the gray value corresponding to the light gray grid is less than 80; the current state at time T7 is the degree of dispersion of calculating the gray value of the effective contact sensing unit, and the gray value (the sensing value of the sensing unit) is obtained using the time T5. Corresponding gray value can be used. It is assumed that the calculated degree of dispersion is 20, because 15<20 and 20<50, it is judged that this is effective finger detection.
基于上述实施例,为了提高各个设置阈值的可靠性,本实施例还可以包括:Based on the foregoing embodiment, in order to improve the reliability of each setting threshold, the embodiment may further include:
在预定时间内统计连续出现离散程度不在启动范围内的次数;Counting the number of times in which the discrete degree is not within the starting range within a predetermined time;
当次数大于次数阈值时,发出提示信息。When the number of times is greater than the number of times threshold, a message is sent.
具体的,本实施例并不限定具体的预定时间、以及次数阈值的数值, 但是这个时间应该是一个较小的时间间隔。例如10秒。即若在10秒内连续出现离散程度不在启动范围内的(即指纹识别区域存在导体,但都认为其不是手指)的次数超过次数阈值时,就会发出提示信息。提示信息可以提示用户,使用户可以根据实际情况,例如确实都是非指纹接触,或者是用户使用了手指但是出现了误判断,此时可以适应性的调整启动范围。也可以是提示给终端,终端接收到提示信息后会收集用户的反馈信息,并根据用户的反馈信息进行启动范围的调整。即通过提示信息,可以确保启动范围的可靠性,进行在降低终端功耗的情况下,提高识别准确性,从而提高用户体验。Specifically, the embodiment does not limit the specific predetermined time and the value of the number of times threshold, but this time should be a small time interval. For example 10 seconds. That is, if the number of times in which the degree of dispersion is not within the starting range within 10 seconds (that is, the conductor in the fingerprint recognition area is considered to be not a finger) exceeds the threshold of the number of times, a prompt message is issued. The prompt information can prompt the user, so that the user can adjust according to the actual situation, for example, the non-fingerprint contact, or the user uses the finger but has a misjudgment, and the adjustment range can be adaptively adjusted at this time. The terminal may also be prompted to receive the feedback information of the user after receiving the prompt information, and adjust the startup range according to the feedback information of the user. That is, through the prompt information, the reliability of the startup range can be ensured, and the recognition accuracy can be improved while reducing the power consumption of the terminal, thereby improving the user experience.
下面对本发明实施例提供的指纹识别的装置、终端及计算机可读存储介质进行介绍,下文描述的指纹识别的装置、终端及计算机可读存储介质与上文描述的指纹识别的方法可相互对应参照。The apparatus for identifying fingerprints, the terminal, and the computer readable storage medium provided by the embodiments of the present invention are described below. The apparatus, terminal, and computer readable storage medium described below and the fingerprint identification method described above can be mutually referenced. .
请参考图5,图5为本发明实施例所提供的指纹识别的装置的结构示意图;该装置可以包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a device for fingerprint identification according to an embodiment of the present invention;
第一判断模块100,用于判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值;The first determining module 100 is configured to determine whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detecting array exceeds a first threshold;
离散程度计算模块200,用于当平均灰度值超过第一阈值时,计算灰度值数据的离散程度;The discreteness calculation module 200 is configured to calculate a degree of dispersion of the gray value data when the average gray value exceeds the first threshold;
第二判断模块300,用于判断离散程度是否在启动范围内;The second determining module 300 is configured to determine whether the degree of dispersion is within the startup range;
启动模块400,用于当离散程度在启动范围内时,则启动全部指纹检测阵列进行指纹扫描。The startup module 400 is configured to start all fingerprint detection arrays for fingerprint scanning when the degree of dispersion is within the startup range.
基于上述实施例,请参考图6,该装置还可以包括:Based on the above embodiment, referring to FIG. 6, the apparatus may further include:
电容检测模块500,用于检测电容电极上的电容值;The capacitance detecting module 500 is configured to detect a capacitance value on the capacitor electrode;
第三判断模块600,用于判断电容值是否超过电容阈值;The third determining module 600 is configured to determine whether the capacitance value exceeds a capacitance threshold;
检测模块700,用于当电容值超过电容阈值时,启动部分指纹检测阵列进行指纹扫描得到灰度值数据。The detecting module 700 is configured to start a partial fingerprint detecting array to perform fingerprint scanning to obtain gray value data when the capacitance value exceeds the capacitance threshold.
基于上述任意实施例,离散程度计算模块200可以包括:Based on any of the above embodiments, the discreteness calculation module 200 can include:
第一选择单元,用于从灰度值数据中选择超过第二阈值的灰度值数据 作为预选灰度值数据;其中,第二阈值大于第一阈值;a first selection unit, configured to select gray value data exceeding a second threshold from the gray value data as the preselected gray value data; wherein the second threshold is greater than the first threshold;
离散程度计算单元,用于利用预选灰度值数据计算对应的离散程度。A discreteness calculation unit is configured to calculate a corresponding degree of dispersion using the preselected gray value data.
基于上述任意实施例,该装置还可以包括:Based on any of the above embodiments, the apparatus may further include:
提示模块,用于在预定时间内统计连续出现离散程度不在启动范围内的次数;当次数大于次数阈值时,发出提示信息。The prompting module is configured to count the number of times that the discrete degree of occurrence is not within the starting range within a predetermined time; when the number of times is greater than the threshold of the number of times, a prompt message is sent.
请参考图7,图7为本发明实施例所提供的具有指纹识别功能的终端的结构框图。该终端可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(central processing units,CPU)810(例如,一个或一个以上处理器)和存储器832,一个或一个以上存储应用程序842或数据844的存储介质830(例如一个或一个以上海量存储设备)。其中,存储器832和存储介质830可以是短暂存储或持久存储。存储器832和存储介质830亦可作为一个统一的存储器存在。存储在存储介质830的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对终端中的一系列指令操作。更进一步地,处理器812可以设置为与存储介质830通信,在终端800上执行存储介质830中的一系列指令操作。Please refer to FIG. 7. FIG. 7 is a structural block diagram of a terminal with a fingerprint identification function according to an embodiment of the present invention. The terminal may vary considerably depending on configuration or performance, and may include one or more central processing units (CPU) 810 (eg, one or more processors) and memory 832, one or more stores. Application 842 or storage medium 830 of data 844 (eg, one or one storage device in Shanghai). Among them, the memory 832 and the storage medium 830 may be short-term storage or persistent storage. Memory 832 and storage medium 830 may also exist as a unified memory. The program stored on storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations in the terminal. Still further, the processor 812 can be configured to communicate with the storage medium 830 to perform a series of instruction operations in the storage medium 830 on the terminal 800.
终端800还可以包括一个或一个以上电源826,一个或一个以上有线或无线网络接口850,一个或一个以上输入输出接口858,和/或,一个或一个以上操作系统841,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Terminal 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and/or one or more operating systems 841, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
上述图1至图4所描述的指纹识别的方法中的步骤由终端基于该图7所示的结构实现。The steps in the method of fingerprint recognition described above with reference to FIGS. 1 through 4 are implemented by the terminal based on the structure shown in FIG.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的终端实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或单元可以结合或者可以集 成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置、模块或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the terminal embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or units may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device, module or unit, and may be electrical, mechanical or otherwise.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为模块或单元显示的部件可以是或者也可以不是物理模块或单元,即可以位于一个地方,或者也可以分布到多个网络模块或单元上。可以根据实际的需要选择其中的部分或者全部模块或单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components displayed as modules or units may or may not be physical modules or units, ie may be located in one place, or may be distributed to multiple network modules. Or on the unit. Some or all of the modules or units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
另外,在本申请各个实施例中的各功能模块或单元可以集成在一个处理单元中,也可以是各个模块或单元单独物理存在,也可以两个或两个以上模块或单元集成在一个处理单元中。上述集成的模块或单元既可以采用硬件的形式实现,也可以采用软件功能模块或单元的形式实现。In addition, each functional module or unit in each embodiment of the present application may be integrated into one processing unit, or each module or unit may exist physically separately, or two or more modules or units may be integrated into one processing unit. in. The above integrated modules or units can be implemented in the form of hardware or in the form of software functional modules or units.
集成的单元如果以软件功能模块或单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,功能调用装置,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。An integrated unit, if implemented as a software function module or unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, a function invoking device, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
本发明各实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。本发明各实施例种装置及终端中的模块和单元可以根据实际需要进行合并、划分和删减。The steps in the method of each embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs. The modules and units in the devices and terminals of the embodiments of the present invention may be combined, divided, and deleted according to actual needs.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来 实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。A person skilled in the art will further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate the hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
以上对本发明所提供的一只指纹识别的方法、装置、终端及计算机可读存储介质进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method, device, terminal and computer readable storage medium for fingerprint identification provided by the present invention are described in detail above. The principles and embodiments of the present invention have been described herein with reference to specific examples, and the description of the above embodiments is only to assist in understanding the method of the present invention and its core idea. It should be noted that those skilled in the art can make various modifications and changes to the present invention without departing from the spirit and scope of the invention.

Claims (10)

  1. 一种指纹识别的方法,其特征在于,所述方法包括:A method for fingerprint identification, the method comprising:
    判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值;Determining whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds a first threshold;
    若超过所述第一阈值,则计算所述灰度值数据的离散程度;If the first threshold is exceeded, calculating a degree of dispersion of the gray value data;
    判断所述离散程度是否在启动范围内;Determining whether the degree of dispersion is within a starting range;
    若在所述启动范围内,则启动全部指纹检测阵列进行指纹扫描。If within the startup range, all fingerprint detection arrays are activated for fingerprint scanning.
  2. 根据权利要求1所述的方法,其特征在于,所述判断部分指纹检测阵列扫描到的灰度值数据对应的平均灰度值是否超过第一阈值之前,还包括:The method according to claim 1, wherein the determining whether the average gray value corresponding to the gray value data scanned by the partial fingerprint detection array exceeds the first threshold further comprises:
    检测电容电极上的电容值;Detecting the capacitance value on the capacitor electrode;
    判断所述电容值是否超过电容阈值;Determining whether the capacitance value exceeds a capacitance threshold;
    若超过所述电容阈值,则启动所述部分指纹检测阵列进行指纹扫描得到所述灰度值数据。If the capacitance threshold is exceeded, the partial fingerprint detection array is activated to perform fingerprint scanning to obtain the gray value data.
  3. 根据权利要求1或2所述的方法,其特征在于,计算所述灰度值数据的离散程度,包括:The method according to claim 1 or 2, wherein calculating the degree of dispersion of the gray value data comprises:
    从所述灰度值数据中选择超过第二阈值的灰度值数据作为预选灰度值数据;其中,所述第二阈值大于所述第一阈值;Selecting gray value data exceeding the second threshold from the gray value data as preselected gray value data; wherein the second threshold is greater than the first threshold;
    利用所述预选灰度值数据计算对应的离散程度。The corresponding degree of dispersion is calculated using the preselected gray value data.
  4. 根据权利要求1所述的方法,其特征在于,所述判断所述离散程度是否在启动范围内,包括:The method according to claim 1, wherein the determining whether the degree of dispersion is within a startup range comprises:
    判断所述离散程度是否大于预设第三离散程度阈值;Determining whether the degree of dispersion is greater than a preset third dispersion degree threshold;
    若大于,则判断在启动范围内。If it is greater than, it is judged to be within the startup range.
  5. 根据权利要求3所述的方法,其特征在于,还包括:The method of claim 3, further comprising:
    在预定时间内统计连续出现所述离散程度不在所述启动范围内的次数;Counting the number of times that the degree of dispersion is not within the startup range continuously within a predetermined time;
    当所述次数大于次数阈值时,发出提示信息。When the number of times is greater than the number of times threshold, a prompt message is issued.
  6. 一种指纹识别的装置,其特征在于,包括:A device for fingerprint recognition, comprising:
    第一判断模块,用于判断部分指纹检测阵列扫描到的灰度值数据对应 的平均灰度值是否超过第一阈值;a first determining module, configured to determine whether an average gray value corresponding to the gray value data scanned by the partial fingerprint detecting array exceeds a first threshold;
    离散程度计算模块,用于当所述平均灰度值超过所述第一阈值时,计算所述灰度值数据的离散程度;a discreteness calculation module, configured to calculate a degree of dispersion of the gray value data when the average gray value exceeds the first threshold;
    第二判断模块,用于判断所述离散程度是否在启动范围内;a second determining module, configured to determine whether the degree of dispersion is within a startup range;
    启动模块,用于当所述离散程度在所述启动范围内时,则启动全部指纹检测阵列进行指纹扫描。And a startup module, configured to: when the degree of dispersion is within the startup range, initiate all fingerprint detection arrays for fingerprint scanning.
  7. 根据权利要求6所述的装置,其特征在于,还包括:The device according to claim 6, further comprising:
    电容检测模块,用于检测电容电极上的电容值;a capacitance detecting module for detecting a capacitance value on the capacitor electrode;
    第三判断模块,用于判断所述电容值是否超过电容阈值;a third determining module, configured to determine whether the capacitance value exceeds a capacitance threshold;
    检测模块,用于当所述电容值超过所述电容阈值时,启动所述部分指纹检测阵列进行指纹扫描得到所述灰度值数据。And a detecting module, configured to: when the capacitance value exceeds the capacitance threshold, start the partial fingerprint detection array to perform fingerprint scanning to obtain the gray value data.
  8. 根据权利要求6或7所述的装置,其特征在于,所述离散程度计算模块,包括:The apparatus according to claim 6 or 7, wherein the discreteness calculation module comprises:
    第一选择单元,用于从所述灰度值数据中选择超过第二阈值的灰度值数据作为预选灰度值数据;其中,所述第二阈值大于所述第一阈值;a first selection unit, configured to select gray value data exceeding the second threshold from the gray value data as preselected gray value data; wherein the second threshold is greater than the first threshold;
    离散程度计算单元,用于利用所述预选灰度值数据计算对应的离散程度。And a discreteness calculation unit configured to calculate a corresponding degree of dispersion by using the preselected gray value data.
  9. 一种具有指纹识别功能的终端,其特征在于,包括:A terminal having a fingerprint identification function, comprising:
    存储器,用于存储计算机程序;a memory for storing a computer program;
    处理器,用于执行所述计算机程序时实现如权利要求1至5任一项所述指纹识别的方法的步骤。A processor, the method of implementing the method of fingerprint recognition according to any one of claims 1 to 5 when the computer program is executed.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述指纹识别的方法的步骤。A computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the fingerprint recognition method according to any one of claims 1 to 5. A step of.
PCT/CN2018/106950 2017-09-26 2018-09-21 Fingerprint recognition method and device, terminal, and computer readable storage medium WO2019062660A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710883702.2A CN109558772B (en) 2017-09-26 2017-09-26 Fingerprint identification method, fingerprint identification device, terminal and computer readable storage medium
CN201710883702.2 2017-09-26

Publications (1)

Publication Number Publication Date
WO2019062660A1 true WO2019062660A1 (en) 2019-04-04

Family

ID=65863102

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106950 WO2019062660A1 (en) 2017-09-26 2018-09-21 Fingerprint recognition method and device, terminal, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109558772B (en)
WO (1) WO2019062660A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120127179A1 (en) * 2010-11-19 2012-05-24 Nokia Corporation Method, apparatus and computer program product for user interface
CN105488483A (en) * 2015-12-07 2016-04-13 友达光电股份有限公司 Optical sensor capable of improving quality of fingerprint scan image
CN106993094A (en) * 2017-03-30 2017-07-28 努比亚技术有限公司 A kind of mobile terminal and scan method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940526A (en) * 1997-05-16 1999-08-17 Harris Corporation Electric field fingerprint sensor having enhanced features and related methods
KR100607579B1 (en) * 2004-11-05 2006-08-02 (주)니트 젠 Method and apparatus for distinguishing forged fingerprint using laser beam
US7505613B2 (en) * 2005-07-12 2009-03-17 Atrua Technologies, Inc. System for and method of securing fingerprint biometric systems against fake-finger spoofing
US8031046B2 (en) * 2006-08-02 2011-10-04 Authentec, Inc. Finger sensing device with low power finger detection and associated methods
US8300902B2 (en) * 2008-10-20 2012-10-30 Union Community Co., Ltd. Apparatus for distinguishing forged fingerprint and method thereof
KR101179559B1 (en) * 2009-12-18 2012-09-04 주식회사 유니온커뮤니티 Fingerprint Recognition Apparatus for Distinguishing Forged Fingerprint and Method therof
CN104318222B (en) * 2014-11-14 2019-10-11 深圳市汇顶科技股份有限公司 Detection method and device for fingerprint detection
CN104794433A (en) * 2015-03-27 2015-07-22 深圳市汇顶科技股份有限公司 Fingerprint recognition system and fingerprint recognition method
CN107592419B (en) * 2015-10-19 2019-05-14 Oppo广东移动通信有限公司 Display screen awakening method, device and mobile terminal based on fingerprint sensor
CN106203366B (en) * 2016-07-14 2019-02-12 浙江赢视科技有限公司 Capacitance type fingerprint identification device and its recognition methods
CN206388194U (en) * 2016-10-08 2017-08-08 成都方程式电子有限公司 A kind of fingerprint detection system
CN106873849B (en) * 2017-01-06 2020-06-05 普联技术有限公司 Detection method and device for preventing screen false triggering and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120127179A1 (en) * 2010-11-19 2012-05-24 Nokia Corporation Method, apparatus and computer program product for user interface
CN105488483A (en) * 2015-12-07 2016-04-13 友达光电股份有限公司 Optical sensor capable of improving quality of fingerprint scan image
CN106993094A (en) * 2017-03-30 2017-07-28 努比亚技术有限公司 A kind of mobile terminal and scan method

Also Published As

Publication number Publication date
CN109558772A (en) 2019-04-02
CN109558772B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
EP3355222B1 (en) Fingerprint identification terminal screen unlocking method and terminal
US20160034741A1 (en) Control method for fingerprint recognition apparatus
CN106775084B (en) A kind of false-touch prevention method, device and mobile terminal of touch screen
EP2579130B1 (en) Adaptive method and device for user touch operation mode
JP6077990B2 (en) Multi-touch input discrimination
WO2018082411A1 (en) Method and terminal for preventing false touch
US10061970B2 (en) Method for controlling unlocking and mobile terminal
WO2008085403A2 (en) Far-field input identification
WO2008085458A2 (en) Irregular input identification
US20180203568A1 (en) Method for Enabling Function Module of Terminal, and Terminal Device
WO2008127325A1 (en) Peripheral pixel noise reduction
CN106022062B (en) Unlocking method and mobile terminal
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
EP3232312B1 (en) Method, apparatus and terminal device for setting interrupt threshold for fingerprint identification device
CN107291313A (en) Control method, device, storage medium and mobile terminal that a kind of fingerprint wakes up
WO2018072171A1 (en) Fingerprint-based pressure measurement method and device
US20170344803A1 (en) Method for unlocking mobile terminal and mobile terminal
CN106258009A (en) A kind of gather the method for fingerprint, fingerprint capturer and terminal
JP2018521413A (en) Use of capacitance to detect touch pressure
CN109669566B (en) Method and device for controlling report point output
CN105426091B (en) Method and terminal for controlling black screen gesture processing
WO2019041243A1 (en) Method for verifying function of fingerprint sensor and terminal
CN113552995A (en) Mobile terminal false touch prevention method and device, computer equipment and storage medium
CN107451536B (en) Biometric pattern opening method and related product
WO2020135397A1 (en) Screen display control method and apparatus

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: 18863733

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18863733

Country of ref document: EP

Kind code of ref document: A1