Fingerprint recognition device and surface foreign matter detection method thereof, and electronic device

By implementing the surface foreign object detection method on the fingerprint identification device and using the difference in capacitance value to identify the foreign object, the problem that the existing fingerprint identification device is easily cracked is solved, the security is improved, and illegal unlocking is prevented.

CN112016364BActive Publication Date: 2024-09-20BYD SEMICON CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910467187.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-31
Publication Date
2024-09-20
Estimated Expiration
2039-05-31

AI Technical Summary

Technical Problem

Existing fingerprint recognition devices have security risks and are easily cracked illegally. For example, they can be cracked easily using conductive pens and transparent tape, allowing anyone to unlock the device.

Method used

By designing a surface foreign object detection method on the fingerprint identification device, the difference in capacitance values ​​obtained under different scanning modes is compared with the preset difference threshold to identify whether there is foreign matter on the surface, thereby protecting the fingerprint identification device and reducing the probability of illegal cracking.

Benefits of technology

It can effectively detect whether there are foreign objects on the surface of the fingerprint recognition device, prevent illegal cracking, improve security, and reduce the risk of being cracked.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112016364B
    Figure CN112016364B
Patent Text Reader

Abstract

The present invention discloses a fingerprint recognition device and a method for detecting foreign matter on its surface, and an electronic device. The method comprises: obtaining a first capacitance value of the fingerprint recognition device in a first scanning mode; obtaining a second capacitance value of the fingerprint recognition device in a second scanning mode; detecting and determining that the difference between the second capacitance value and the first capacitance value is greater than a preset difference threshold, and identifying that there is foreign matter on the surface of the fingerprint recognition device. The method can effectively detect whether there is foreign matter on the surface of the fingerprint recognition device, thereby protecting the fingerprint recognition device and preventing the fingerprint recognition device from being illegally cracked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information identification technology, and in particular to a fingerprint identification device and a surface foreign matter detection method thereof, and an electronic device. Background Art

[0002] With the development of biometric technology, fingerprint recognition has been widely used in people's lives. For example, fingerprint recognition technology is widely used in current smart phones, smart locks and other devices. Although fingerprint recognition technology improves the convenience of people's lives, it also brings security risks to people's lives.

[0003] At present, a method for cracking fingerprint recognition devices has appeared on the Internet. It only needs a conductive pen and a roll of transparent tape to crack most fingerprint recognition devices on the market. It uses a conductive pen to draw some patterns on the transparent tape, and sticks the part of the tape with the conductive pattern on the fingerprint unlocking key of the fingerprint recognition device; further, after repeatedly unlocking the phone with a finger several times, the phone screen is locked. After that, anyone's fingerprint can unlock the fingerprint recognition device. The principle of its cracking is: usually, the fingerprint on the fingerprint recognition device only needs about 30% of the area to match successfully. Therefore, using the self-learning function of the fingerprint recognition device, when the owner successfully unlocks it many times, the fingerprint recognition device will regard the conductive pattern as a part of the legal fingerprint. After that, when other people unlock, they can stick the conductive pattern on the fingerprint recognition device. Then, even if the fingerprint of other people is an illegal fingerprint, since the conductive pattern has been learned as a part of the legal fingerprint, as long as the conductive pattern matches and the success rate reaches more than 30%, the fingerprint recognition device can be unlocked. This makes the current fingerprint recognition device have a great security risk. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art to at least some extent.

[0005] To this end, the first object of the present invention is to provide a method for detecting foreign matter on the surface of a fingerprint recognition device, which can effectively detect whether there is foreign matter on the surface of the fingerprint recognition device, thereby protecting the fingerprint recognition device and preventing the fingerprint recognition device from being illegally cracked.

[0006] A second object of the present invention is to provide a fingerprint recognition device.

[0007] A third object of the present invention is to provide an electronic device.

[0008] A fourth object of the present invention is to provide a computer-readable storage medium.

[0009] To achieve the above-mentioned object, a first aspect of the present invention provides a method for detecting foreign matter on a surface of a fingerprint recognition device, the method comprising:

[0010] Acquire a first capacitance value of the fingerprint recognition device in a first scanning mode;

[0011] Acquire a second capacitance value of the fingerprint recognition device in a second scanning mode;

[0012] It is detected and determined that the difference between the second capacitance value and the first capacitance value is greater than a preset difference threshold, and it is recognized that there is a foreign object on the surface of the fingerprint recognition device.

[0013] According to an embodiment of the present invention, the fingerprint recognition device includes a plurality of detection units, each of which includes a plurality of sensors arranged according to a preset rule.

[0014] According to an embodiment of the present invention, obtaining a first capacitance value of the fingerprint recognition device in the first scanning mode includes:

[0015] Controlling the voltage of all detection units on the fingerprint recognition device to remain unchanged;

[0016] A first coupling capacitance value formed between any detection unit and each remaining detection unit on the fingerprint recognition device is obtained, and the first coupling capacitance value is determined to be the first capacitance value.

[0017] According to an embodiment of the present invention, obtaining a second capacitance value of the fingerprint recognition device in the second scanning mode includes:

[0018] Controlling to continuously select a plurality of first candidate detection units including a second detection unit to be detected on the fingerprint recognition device, wherein the second detection unit is any detection unit in the fingerprint recognition device;

[0019] Controlling each of the remaining detection units to maintain a constant voltage, and controlling the voltage of each detection unit in the plurality of first candidate detection units to change synchronously, so as to generate an excitation signal to excite each of the remaining detection units;

[0020] A second coupling capacitance value formed between the second detection unit and each of the remaining detection units is obtained, and the second coupling capacitance value is determined to be the second capacitance value.

[0021] According to an embodiment of the present invention, obtaining a second capacitance value of the fingerprint recognition device in the second mode includes:

[0022] Controlling to continuously select a plurality of second candidate detection units including a third detection unit to be detected on the fingerprint recognition device, wherein the third detection unit is any detection unit in the fingerprint recognition device;

[0023] Controlling each of the plurality of second candidate detection units to maintain a constant voltage, and controlling the voltage of each of the remaining detection units to change synchronously, so as to generate an excitation signal to excite the plurality of second candidate detection units;

[0024] A third coupling capacitance value formed between the third detection unit and each of the remaining detection units is obtained, and the third coupling capacitance value is determined to be the second capacitance value.

[0025] According to an embodiment of the present invention, before obtaining the first capacitance value of the fingerprint recognition device in the first scanning mode, the method further includes:

[0026] Identify that the fingerprint recognition device is converted from a touch state to a non-touch state.

[0027] According to an embodiment of the present invention, the step of identifying that the fingerprint recognition device is converted from a touch state to a non-touch state includes:

[0028] Detecting and determining that the capacitance value of the upper detection unit of the fingerprint recognition device is greater than or equal to a preset capacitance threshold, and determining that the fingerprint recognition device is in a touch state;

[0029] Detect and determine that the capacitance value of at least one detection unit in the part of the detection units is less than the preset capacitance threshold, and determine that the fingerprint recognition device is in a non-touch state.

[0030] According to one embodiment of the present invention, it also includes:

[0031] Obtaining a duration in which the capacitance values ​​of the part of the detection units are greater than or equal to a preset capacitance threshold;

[0032] If it is detected and determined that the duration is greater than a preset time threshold, the fingerprint recognition device is controlled to be invalid.

[0033] According to an embodiment of the present invention, after determining that there is a foreign object on the surface of the fingerprint recognition device, the method further includes:

[0034] Controlling the sending of a prompt message indicating that there is a foreign object on the surface of the fingerprint recognition device and / or controlling the fingerprint recognition device to fail.

[0035] The surface foreign body detection method of the fingerprint recognition device provided by the embodiment of the present invention obtains the capacitance value of the fingerprint recognition device under different scanning modes, and performs difference calculation on the obtained capacitance value; further, the difference is compared with the preset difference threshold to determine whether there is foreign matter on the surface of the fingerprint recognition device. In the present invention, since the difference between the capacitance values ​​of the fingerprint recognition device obtained under different scanning modes is different when there is foreign matter on the surface of the fingerprint recognition device and when there is no foreign matter, by comparing the difference with the preset difference threshold, it is possible to determine whether there is foreign matter on the surface of the fingerprint recognition device. When it is identified that there is foreign matter on the surface of the fingerprint recognition device, the fingerprint recognition device can be protected to reduce the probability of the fingerprint recognition device being illegally cracked.

[0036] A second aspect of the present invention provides a fingerprint recognition device, the device comprising:

[0037] A first acquisition module, used to acquire a first capacitance value of the fingerprint recognition device in a first scanning mode;

[0038] A second acquisition module, used to acquire a second capacitance value of the fingerprint recognition device in a second scanning mode;

[0039] The detection module is used to detect and determine that the difference between the second capacitance value and the first capacitance value is greater than a preset difference threshold, and recognize that there is a foreign object on the surface of the fingerprint recognition device.

[0040] According to an embodiment of the present invention, the fingerprint recognition device includes a plurality of detection units, each of which includes a plurality of sensors arranged according to a preset rule.

[0041] According to an embodiment of the present invention, the first acquisition module is further used to:

[0042] Controlling the voltage of all detection units on the fingerprint recognition device to remain unchanged;

[0043] A first coupling capacitance value formed between any detection unit and each remaining detection unit on the fingerprint recognition device is obtained, and the first coupling capacitance value is determined to be the first capacitance value.

[0044] According to an embodiment of the present invention, the second acquisition module is further used to:

[0045] Controlling to continuously select a plurality of first candidate detection units including a second detection unit to be detected on the fingerprint recognition device, wherein the second detection unit is any detection unit in the fingerprint recognition device;

[0046] Controlling each of the remaining detection units to maintain a constant voltage, and controlling the voltage of each detection unit in the plurality of first candidate detection units to change synchronously, so as to generate an excitation signal to excite each of the remaining detection units;

[0047] A second coupling capacitance value formed between the second detection unit and each of the remaining detection units is obtained, and the second coupling capacitance value is determined to be the second capacitance value.

[0048] According to an embodiment of the present invention, the second acquisition module is further used to:

[0049] Controlling to continuously select a plurality of second candidate detection units including a third detection unit to be detected on the fingerprint recognition device, wherein the third detection unit is any detection unit in the fingerprint recognition device;

[0050] Controlling each of the plurality of second candidate detection units to maintain a constant voltage, and controlling the voltage of each of the remaining detection units to change synchronously, so as to generate an excitation signal to excite the plurality of second candidate detection units;

[0051] A third coupling capacitance value formed between the third detection unit and each of the remaining detection units is obtained, and the third coupling capacitance value is determined to be the second capacitance value.

[0052] According to an embodiment of the present invention, the first acquisition module is further used to:

[0053] Identify that the fingerprint recognition device is converted from a touch state to a non-touch state.

[0054] According to an embodiment of the present invention, the first acquisition module is further used to:

[0055] Detecting and determining that the capacitance value of the upper detection unit of the fingerprint recognition device is greater than or equal to a preset capacitance threshold, and determining that the fingerprint recognition device is in a touch state;

[0056] Detect and determine that the capacitance value of at least one detection unit in the part of the detection units is less than the preset capacitance threshold, and determine that the fingerprint recognition device is in a non-touch state.

[0057] According to an embodiment of the present invention, the first acquisition module is further used to:

[0058] Obtaining a duration in which the capacitance values ​​of the part of the detection units are greater than or equal to a preset capacitance threshold;

[0059] If it is detected and determined that the duration is greater than a preset time threshold, the fingerprint recognition device is controlled to be invalid.

[0060] According to one embodiment of the present invention, the detection module is further used for:

[0061] Controlling the sending of a prompt message indicating that there is a foreign object on the surface of the fingerprint recognition device and / or controlling the fingerprint recognition device to fail.

[0062] In the fingerprint recognition device provided by the embodiment of the present invention, the detection module compares the difference between the capacitance values ​​of the fingerprint recognition device obtained by the first acquisition module and the second acquisition module with the preset difference threshold value to determine whether there is a foreign object on the surface of the fingerprint recognition device. In the present invention, since the difference between the capacitance values ​​of the fingerprint recognition device obtained in different scanning modes is different when there is a foreign object on the surface of the fingerprint recognition device and when there is no foreign object, by comparing the difference with the preset difference threshold value, it is possible to determine whether there is a foreign object on the surface of the fingerprint recognition device. When it is recognized that there is a foreign object on the surface of the fingerprint recognition device, the fingerprint recognition device can be protected to reduce the probability of the fingerprint recognition device being illegally cracked.

[0063] A third aspect of the present invention provides an electronic device, characterized in that it includes the fingerprint recognition device as described in the second aspect.

[0064] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for detecting foreign matter on a surface of a fingerprint recognition device as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a flow chart of a method for detecting foreign matter on a surface of a fingerprint recognition device according to an embodiment of the present invention;

[0066] Figure 2 It is a schematic diagram of the steps of obtaining a first capacitance value in a surface foreign matter detection method of a fingerprint recognition device according to an embodiment disclosed in the present invention;

[0067] Figure 3 It is a schematic diagram of the arrangement of detection units on a fingerprint recognition device in a surface foreign matter detection method of a fingerprint recognition device according to an embodiment of the present invention;

[0068] Figure 4 It is a schematic diagram of selecting a detection unit on a fingerprint recognition device in a surface foreign matter detection method of a fingerprint recognition device according to an embodiment of the present invention;

[0069] Figure 5 It is a schematic diagram of forming a first coupling capacitor in a surface foreign matter detection method of a fingerprint recognition device according to an embodiment of the present invention;

[0070] Figure 6It is a schematic diagram of the steps of obtaining the current capacitance value of the fingerprint recognition device in a surface foreign matter detection method of the fingerprint recognition device according to another embodiment disclosed by the present invention;

[0071] Figure 7 yes Figure 6 Schematic diagram of selecting the first candidate detection unit in ;

[0072] Figure 8 yes Figure 6 Waveform diagram of voltage changes of each detection unit on the fingerprint recognition device;

[0073] Fig. 9 yes Figure 6 A schematic diagram of forming a second coupling capacitor;

[0074] Fig.10 It is a schematic diagram of the steps of obtaining the current capacitance value of the fingerprint recognition device in a surface foreign matter detection method of the fingerprint recognition device according to another embodiment disclosed by the present invention;

[0075] Fig.11 yes Fig.10 Schematic diagram of selecting the second candidate detection unit in ;

[0076] Fig.12 yes Fig.10 Waveform diagram of voltage changes of each detection unit on the fingerprint recognition device;

[0077] Fig.13 yes Fig.10 A schematic diagram of forming a third coupling capacitor;

[0078] Fig.14 It is a schematic diagram of the steps of determining that a fingerprint recognition device is converted from a touch state to a non-touch state in a surface foreign matter detection method of a fingerprint recognition device according to an embodiment of the present invention;

[0079] Fig.15 It is a schematic diagram of the steps of controlling the failure of a fingerprint recognition device in a method for detecting foreign matter on a surface of a fingerprint recognition device according to an embodiment of the present invention;

[0080] Fig.16 It is a structural schematic diagram of a fingerprint recognition device according to an embodiment of the present invention;

[0081] Fig.17 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0082] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0083] The fingerprint recognition device and the surface foreign matter detection method and device thereof according to the embodiments of the present invention are described below with reference to the accompanying drawings.

[0084] It should be noted that under normal circumstances, if the fingerprint recognition device is in a non-touch state, there should be no conductor on it. At this time, if a conductor appears, it indicates that the fingerprint recognition device may be illegally cracked. Therefore, the embodiment of the present invention protects the fingerprint recognition device by detecting whether there is a foreign object on the fingerprint recognition device, thereby reducing the possibility of being illegally cracked.

[0085] Figure 1 It is a flow chart of a method for detecting foreign matter on a surface of a fingerprint recognition device according to an embodiment of the present invention.

[0086] like Figure 1 As shown, the surface foreign body detection method of the fingerprint recognition device provided in this embodiment includes the following steps:

[0087] S101, obtaining a first capacitance value of a fingerprint recognition device in a first scanning mode.

[0088] In the embodiment of the present invention, the fingerprint recognition device includes a plurality of sensors, wherein the sensors are capacitive sensors. When obtaining the capacitance value of the fingerprint recognition device, it can be obtained through a plurality of scanning modes. In this step, the first scanning mode can be selected, but not limited to, to obtain the first capacitance value of the fingerprint recognition device.

[0089] Specifically, when obtaining the first capacitance value of the fingerprint recognition device through the first scanning mode, it can be achieved through the following steps: Figure 2 As shown, the step includes:

[0090] S201, controlling the voltages of all detection units on the fingerprint recognition device to remain unchanged.

[0091] It should be noted that if Figure 3 As shown, the fingerprint recognition device in this embodiment includes a plurality of detection units, each of which includes a plurality of sensors 31 arranged according to a preset rule. The detection units may be arranged in a column or a row.

[0092] In addition, in this step, the control unit in the fingerprint recognition device may be used, but is not limited to, to control the voltages between all detection units on the fingerprint recognition device to remain constant, so that the sensors in each detection unit are not charged.

[0093] S202: Obtain a first coupling capacitance value formed between any detection unit and each remaining detection unit on the fingerprint recognition device, and determine the first coupling capacitance value as a first capacitance value.

[0094] Specifically, after controlling the voltages on each detection unit to remain unchanged, a detection unit can be arbitrarily selected from the fingerprint recognition device, and the first coupling capacitance value formed between the detection unit and each of the remaining detection units can be obtained. Further, the first coupling capacitance value is used as the first capacitance value.

[0095] For example, if Figure 4 As shown in FIG. 1 , the black-marked part in the figure can be used as the selected detection unit, and the white-marked part can be used as the remaining detection unit. Figure 5 As shown, in the embodiment of the present invention, when a finger is placed on the fingerprint recognition device, the finger will form a capacitor with each sensor. Similarly, when there is a conductive foreign object on the surface of the fingerprint recognition device, the conductive foreign object will also form a capacitor with each sensor below. When there is a conductive foreign object, a capacitor C1 is formed between the first detection unit (the black marked part in the figure) on the fingerprint recognition device and the conductive foreign object, and a capacitor C2 is also formed between each of the remaining detection units (the white marked part in the figure) and the conductive foreign object. When the voltage of each detection unit on the fingerprint recognition device is controlled to remain unchanged, although capacitor C1 and capacitor C2 become series capacitors, since the voltages at both ends of the series capacitors are the same, the series capacitors will not be charged, which makes the first coupling capacitance formed between capacitor C1 and capacitor C2 very small. When there is no conductive foreign object, capacitor C1 and capacitor C2 will not be connected in series, and the voltages at both ends of capacitor C1 and capacitor C2 are the same, therefore, capacitor C1 and capacitor C2 will not be charged, that is, the change of capacitor C1 and capacitor C2 is very small, which makes the first coupling capacitance formed between capacitor C1 and capacitor C2 very small. That is to say, in the first scanning mode, the sensor on the fingerprint recognition device will not be charged.

[0096] S102, obtaining a second capacitance value of the fingerprint recognition device in a second scanning mode.

[0097] It should be noted that in this step, the second capacitance value of the fingerprint recognition device can be obtained by selecting the second scanning mode but is not limited to it.

[0098] Specifically, when obtaining the second capacitance value of the fingerprint recognition device through the second scanning mode, it can be achieved through the following steps: Figure 6 As shown, the step includes:

[0099] S601, controlling the continuous selection of a plurality of first candidate detection units including a second detection unit to be detected on the fingerprint recognition device, wherein the second detection unit is any detection unit in the fingerprint recognition device.

[0100] Specifically, one detection unit is randomly selected from the multiple detection units of the fingerprint recognition device as the second detection unit to be detected. Then, a plurality of first candidate detection units including the second detection unit are continuously selected from the multiple detection units of the fingerprint recognition device.

[0101] For example, if Figure 7 As shown, if a column of sensors 31 marked in black in the figure is selected as the second detection unit to be detected, then the second detection unit and the three columns of sensors 31 marked in gray on its left side and the three columns of sensors 31 marked in gray on its right side can constitute the first candidate detection unit.

[0102] S602: Control each remaining detection unit to maintain a constant voltage, and control the voltage of each detection unit in the plurality of first candidate detection units to change synchronously, so as to generate an excitation signal to excite each remaining detection unit.

[0103] Specifically, each of the remaining detection units can be controlled to maintain a constant voltage, and the voltage of each detection unit in the plurality of first candidate units can be controlled to change synchronously, so as to generate an excitation signal to excite each of the remaining detection units. When the voltage of each detection unit in the plurality of first candidate units is controlled to change synchronously, an excitation signal for exciting each of the remaining detection units will be generated.

[0104] For example, continue to refer to Figure 7 , control the voltage of the six columns of sensors 31 marked with white to remain constant, then control the voltage of one column of sensors 31 marked with black and six columns of sensors 31 marked with gray to change synchronously, and the excitation work of the remaining six columns of sensors 31 marked with white can be completed. Figure 8 As shown in the figure, the voltage waveform of the second detection unit, the voltage waveform of the remaining first candidate detection units and the voltage waveform of each remaining detection unit. It can be seen from the figure that the voltage of the second detection unit and the voltage of the remaining first candidate detection unit keep changing synchronously, while the voltage of each remaining detection unit keeps a constant voltage. It should be understood that since the first candidate detection unit includes the second detection unit, in order to facilitate the distinction, Figure 8 The first candidate detection unit is divided into the second detection unit and the remaining first candidate detection units.

[0105] S603: Acquire a second coupling capacitance value formed between the second detection unit and each of the remaining detection units, and determine the second coupling capacitance value as a second capacitance value.

[0106] Specifically, after completing step S602, the second coupling capacitance value formed between the second detection unit and each of the remaining detection units can be obtained. Further, the obtained second coupling capacitance value can be used as the second capacitance value of the fingerprint recognition device.

[0107] like Fig. 9 As shown, in the embodiment of the present invention, when a finger is placed on the fingerprint recognition device, the finger will form a capacitor with each sensor. Similarly, when there is a conductive foreign object on the surface of the fingerprint recognition device, the conductive foreign object will also form a capacitor with each sensor below. When there is a conductive foreign object, a capacitor C1 is formed between the second detection unit (the black marked part in the figure) of the several first candidate detection units (the black marked and gray marked parts in the figure) on the fingerprint recognition device and the conductive foreign object, and a capacitor C2 is also formed between each of the remaining detection units (the white marked part in the figure) and the conductive foreign object. When the voltage of each detection unit in the several first candidate detection units is controlled to change synchronously, the generated excitation signal will excite each of the remaining detection units, and at this time, the capacitor C1 and the capacitor C2 become series capacitors; due to the different voltages at both ends of the series capacitor, the series capacitor will be charged, thereby obtaining a larger second coupling capacitance value. When there is no conductive foreign object, the capacitor C1 and the capacitor C2 will not be connected in series, and the capacitor C1 and the capacitor C2 are very small, which makes the second coupling capacitance value formed between the capacitor C1 and the capacitor C2 very small.

[0108] S103: Detect and determine that the difference between the second capacitance value and the first capacitance value is greater than a preset difference threshold, and recognize that there is a foreign object on the surface of the fingerprint recognition device.

[0109] Specifically, by obtaining the second capacitance value and the first capacitance value of the fingerprint recognition device, the difference between the two can be obtained. Further, the difference is compared with the preset difference threshold. If there is no conductive foreign matter on the surface of the fingerprint recognition device, the difference is almost the same as the preset difference threshold; if there is a conductive foreign matter on the surface of the fingerprint recognition device, the difference is much different from the preset difference threshold. Therefore, if the difference is greater than the preset difference threshold, it can be identified that there is a foreign matter on the surface of the fingerprint recognition device.

[0110] It should be understood that when a foreign object is identified on the surface of the fingerprint recognition device, in order to prevent the fingerprint recognition device from being cracked, the fingerprint recognition device can also be controlled to issue a prompt message indicating that a foreign object exists on its surface and / or the fingerprint recognition device can be controlled to fail, for example, issuing an alarm or voice reminder message.

[0111] From the above content, it can be known that when a tape with a conductive pattern is attached to the fingerprint recognition device, the method of this embodiment can be used to obtain the first capacitance value of the fingerprint recognition device in the first scanning mode and the second capacitance value of the fingerprint recognition device in the second scanning mode. When the difference between the second capacitance value and the first capacitance value is greater than the preset difference threshold, it can be determined that there is a foreign object on the surface of the fingerprint recognition device. At this time, the fingerprint recognition device can be protected to prevent the fingerprint recognition device from continuing to self-learn, reduce the probability of the fingerprint recognition device being illegally cracked, and improve the security of the fingerprint recognition device.

[0112] In summary, the method for detecting foreign matter on the surface of a fingerprint recognition device provided by an embodiment of the present invention obtains the capacitance value of the fingerprint recognition device under different scanning modes, and performs difference calculation on the obtained capacitance value; further, the difference is compared with a preset difference threshold to determine whether there is foreign matter on the surface of the fingerprint recognition device. In the present invention, since the difference between the capacitance values ​​of the fingerprint recognition device obtained under different scanning modes is different when there is foreign matter on the surface of the fingerprint recognition device and when there is no foreign matter, by comparing the difference with the preset difference threshold, it is possible to determine whether there is foreign matter on the surface of the fingerprint recognition device. When it is identified that there is foreign matter on the surface of the fingerprint recognition device, the fingerprint recognition device can be protected to reduce the probability of the fingerprint recognition device being illegally cracked.

[0113] In some embodiments, the second capacitance value of the fingerprint recognition device in the second scanning mode can be obtained by the following steps: Fig.10 As shown, the step includes:

[0114] S1001, controlling the continuous selection of a plurality of second candidate detection units including a third detection unit to be detected on the fingerprint recognition device, wherein the third detection unit is any detection unit in the fingerprint recognition device.

[0115] Specifically, one detection unit is randomly selected from the multiple detection units of the fingerprint recognition device as the third detection unit to be detected. Then, a plurality of second candidate detection units separated from the third detection unit by a preset distance are selected from the multiple detection units of the fingerprint recognition device.

[0116] For example, if Fig.11 As shown, if the row of sensors 31 marked in black in the figure is selected as the third detection unit to be detected, the six rows of sensors 31 marked in gray in the figure can constitute the second candidate detection unit; in addition, the six rows of sensors 31 marked in white in the figure are the remaining detection units.

[0117] S1002: Control each detection unit among the plurality of second candidate detection units to maintain a constant voltage, and control the voltage of each remaining detection unit to change synchronously, so as to generate an excitation signal to excite the plurality of second candidate detection units.

[0118] Specifically, the voltage of several second candidate detection units including the third detection unit can be controlled to remain constant, and then the voltage of each remaining detection unit can be controlled to change synchronously to generate an excitation signal to excite the several second candidate detection units. When the voltage of each remaining detection unit changes synchronously, an excitation signal for exciting the several second candidate detection units will be generated.

[0119] For example, continue to refer to Fig.11 , control the voltage of the black-marked column of sensors and the voltage of the gray-marked six columns of sensors to remain constant, and then control the voltage of the six columns of sensors marked in white in the figure to change synchronously, so as to complete the excitation work of several second candidate detection units. Fig.12 As shown in the figure, the voltage waveform of the third detection unit, the voltage waveform of the remaining second candidate detection units and the voltage waveform of each remaining detection unit. It can be seen from the figure that the voltage of the third detection unit and the voltage of the remaining second candidate detection unit remain constant, while the voltage of each remaining detection unit changes synchronously. It should be understood that since the second candidate detection unit includes the third detection unit, in order to facilitate distinction, Fig.12 The second candidate detection unit is divided into the third detection unit and the remaining second candidate detection units.

[0120] S1003: Obtain a third coupling capacitance value formed between the third detection unit and each of the remaining detection units, and determine that the third coupling capacitance value is the second capacitance value.

[0121] Specifically, after completing step S1002, the third coupling capacitance value formed between the third detection unit and each of the remaining detection units can be obtained. Further, the third coupling capacitance value obtained can be used as the second capacitance value of the fingerprint recognition device.

[0122] like Fig.13As shown, in the embodiment of the present invention, when a finger is placed on the fingerprint recognition device, the finger will form a capacitor with each sensor. Similarly, when there is a conductive foreign object on the surface of the fingerprint recognition device, the conductive foreign object will also form a capacitor with each sensor below. When there is a conductive foreign object, a capacitor C1 is formed between the third detection unit (the black marked part in the figure) of the several second candidate detection units (the black marked and gray marked parts in the figure) on the fingerprint recognition device and the conductive foreign object, and a capacitor C2 is also formed between each of the remaining detection units (the white marked part in the figure) and the conductive foreign object. When the voltage of each of the remaining detection units is controlled to change synchronously, the generated excitation signal will excite several second candidate detection units. At this time, capacitor C1 and capacitor C2 become series capacitors. Since the voltages at both ends of the series capacitors are different, the series capacitors can be charged, thereby obtaining a larger third coupling capacitance value. When there is no conductive foreign object, capacitor C1 and capacitor C2 will not be connected in series, and capacitor C1 and capacitor C2 are very small, which makes the third coupling capacitance value formed between capacitor C1 and capacitor C2 very small.

[0123] In some embodiments, the first capacitance value and the second capacitance value of the fingerprint recognition device can be controlled to be continuously acquired (i.e., continuous acquisition), or the first capacitance value and the second capacitance value can be acquired when a finger is detected touching the fingerprint recognition device (i.e., conditional acquisition). Considering that continuous acquisition wastes a lot of power, and even if foreign matter is detected on the surface of the fingerprint recognition device, there is a situation where the owner of the fingerprint recognition device is not at home, which results in the inability to notify the owner of the fingerprint recognition device of the detection result in time. Therefore, in this embodiment, before acquiring the first capacitance value of the fingerprint recognition device in the first scanning mode, it is necessary to ensure that the fingerprint recognition device can be identified to be converted from a touch state to a non-touch state.

[0124] Specifically, the following steps can be used to determine whether the fingerprint recognition device is converted from a touch state to a non-touch state: Fig.14 As shown, the step includes:

[0125] S1401, detect and determine that the capacitance value of some detection units on the fingerprint recognition device is greater than or equal to a preset capacitance threshold, and determine that the fingerprint recognition device is in a touch state.

[0126] Specifically, when the fingerprint recognition device is in a touch state, the capacitance value of some detection units on it will change. If the capacitance value of some detection units detected by the capacitance sensor is greater than or equal to the preset capacitance threshold, it can be determined that the fingerprint recognition device is in a touch state.

[0127] For example, there are 50 detection units on the current fingerprint recognition device. If the capacitance values ​​of 30 detection units among them are greater than or equal to the preset capacitance threshold, it can be determined that the fingerprint recognition device is in a touch state.

[0128] Furthermore, if the foreign matter covering the surface of the fingerprint recognition device is too large or the user's finger is not lifted for a long time, the fingerprint recognition device may be kept in a touch state. In order to identify this situation and then remind the owner of the fingerprint recognition device, the following steps can be used to identify the above situation, such as Fig.15 As shown, the step includes:

[0129] S1501, obtaining a duration in which the capacitance values ​​of some detection units are greater than or equal to a preset capacitance threshold.

[0130] Specifically, the duration during which the capacitance values ​​of some detection units are greater than or equal to a preset capacitance threshold value may be acquired through a timer.

[0131] S1502: Detect and determine that the duration is greater than a preset time threshold, and then control the fingerprint recognition device to fail.

[0132] Specifically, a time threshold can be preset. If it is detected that the duration is greater than the preset time threshold, it can be determined that the foreign matter on the surface of the fingerprint recognition device is too large or the user's finger has not been lifted up. At this time, the fingerprint recognition device can be directly controlled to fail and an alarm can be issued.

[0133] Optionally, in order to avoid false alarms, the preset time threshold may be set to any value greater than the normal touch duration, such as 1 hour, or longer, which may be determined according to actual conditions and is not limited here.

[0134] S1402: Detect and determine that the capacitance value of at least one detection unit in some detection units is less than a preset capacitance threshold, and determine that the fingerprint recognition device is in a non-touch state.

[0135] Specifically, when the fingerprint recognition device switches from a touch state to a non-touch state, the capacitance value of one or more detection units in some detection units will return to the initial state or decrease as the user's finger is lifted. Therefore, when it is detected that the capacitance value of at least one detection unit in some detection units is less than a preset capacitance threshold, it can be determined that the fingerprint recognition device is in a non-touch state.

[0136] For example, when the fingerprint recognition device is in a touch state, the capacitance values ​​of 30 detection units out of 50 detection units are greater than the preset capacitance threshold. If the capacitance values ​​of 10 detection units out of the 30 detection units are less than the preset capacitance threshold, it can be determined that the fingerprint recognition device is in a non-touch state.

[0137] In order to implement the above embodiment, the present invention also provides a fingerprint recognition device.

[0138] Fig.16 FIG. 1 is a schematic diagram of a surface foreign body detection device of a fingerprint recognition device according to an embodiment of the present invention. Fig.16 As shown, the device comprises:

[0139] A first acquisition module 1601 is used to acquire a first capacitance value of a fingerprint recognition device in a first scanning mode;

[0140] The second acquisition module 1602 is used to acquire a second capacitance value of the fingerprint recognition device in a second scanning mode;

[0141] The detection module 1603 is used to detect and determine that the difference between the second capacitance value and the first capacitance value is greater than a preset difference threshold, and recognize that there is a foreign object on the surface of the fingerprint recognition device.

[0142] Furthermore, the fingerprint recognition device includes a plurality of detection units, and each detection unit includes a plurality of sensors arranged according to a preset rule.

[0143] Furthermore, the first acquisition module 1601 is further configured to:

[0144] Control the voltage synchronization of all detection units on the fingerprint recognition device;

[0145] A first coupling capacitance value formed between any detection unit and each remaining detection unit on the fingerprint recognition device is obtained, and the first coupling capacitance value is determined to be a first capacitance value.

[0146] Furthermore, the second acquisition module 1602 is further configured to:

[0147] Controlling to continuously select a plurality of first candidate detection units including a second detection unit to be detected on the fingerprint recognition device, wherein the second detection unit is any detection unit in the fingerprint recognition device;

[0148] Controlling each of the remaining detection units to maintain a constant voltage, and controlling the voltage of each detection unit in the plurality of first candidate detection units to change synchronously, so as to generate an excitation signal to excite each of the remaining detection units;

[0149] A second coupling capacitance value formed between the second detection unit and each of the remaining detection units is obtained, and the second coupling capacitance value is determined as a second capacitance value.

[0150] Furthermore, the second acquisition module 1602 is further configured to:

[0151] Controlling to continuously select a plurality of second candidate detection units including a third detection unit to be detected on the fingerprint recognition device, wherein the third detection unit is any detection unit in the fingerprint recognition device;

[0152] Controlling each of the plurality of second candidate detection units to maintain a constant voltage, and controlling the voltage of each of the remaining detection units to change synchronously, so as to generate an excitation signal to excite the plurality of second candidate detection units;

[0153] A third coupling capacitance value formed between the third detection unit and each of the remaining detection units is obtained, and the third coupling capacitance value is determined as a current capacitance value.

[0154] Furthermore, the first acquisition module 1601 is further configured to:

[0155] The fingerprint recognition device is converted from a touch state to a non-touch state.

[0156] Furthermore, the first acquisition module 1601 is further configured to:

[0157] Detect and determine that the capacitance value of the upper detection unit of the fingerprint recognition device is greater than or equal to a preset capacitance threshold, and determine that the fingerprint recognition device is in a touch state;

[0158] It is detected and determined that the capacitance value of at least one detection unit in some detection units is less than a preset capacitance threshold, and it is determined that the fingerprint recognition device is in a non-touch state.

[0159] Furthermore, the first acquisition module 1601 is further configured to:

[0160] Obtaining a duration in which the capacitance values ​​of some detection units are greater than or equal to a preset capacitance threshold;

[0161] If it is detected and determined that the duration is greater than a preset time threshold, the fingerprint recognition device is controlled to fail.

[0162] Furthermore, the detection module 1603 is also used for:

[0163] Control the sending of a prompt message indicating that there is a foreign object on the surface of the fingerprint recognition device and / or control the fingerprint recognition device to fail.

[0164] It should be understood that the above-mentioned device is used to execute the method in the above-mentioned embodiment. The implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method. The working process of the device can refer to the corresponding process in the above-mentioned method, which will not be repeated here.

[0165] In summary, in the surface foreign body detection device of the fingerprint recognition device provided by the embodiment of the present invention, the detection module compares the difference between the capacitance values ​​of the fingerprint recognition device obtained by the first acquisition module and the second acquisition module with the preset difference threshold value to determine whether there is a foreign body on the surface of the fingerprint recognition device. In the present invention, since the difference between the capacitance values ​​of the fingerprint recognition device obtained in different scanning modes is different when there is a foreign body on the surface of the fingerprint recognition device and when there is no foreign body, by comparing the difference with the preset difference threshold value, it is possible to determine whether there is a foreign body on the surface of the fingerprint recognition device. When it is identified that there is a foreign body on the surface of the fingerprint recognition device, the fingerprint recognition device can be protected to reduce the probability of the fingerprint recognition device being illegally cracked.

[0166] In order to implement the above embodiment, the present invention also provides an electronic device, such as Fig.17 As shown, the electronic device includes the fingerprint recognition device 100 in the above embodiment.

[0167] In order to implement the above embodiments, the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the surface foreign matter detection method of the fingerprint recognition device in the above embodiments.

[0168] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0169] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0170] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0171] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0172] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0173] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for detecting foreign matter on the surface of a fingerprint recognition device, It is characterized in that The fingerprint recognition device includes a plurality of detection units, and the method includes: Controlling the voltage of all detection units on the fingerprint recognition device to remain unchanged; obtaining a first coupling capacitance value formed between any detection unit on the fingerprint recognition device and each of the remaining detection units, and determining the first coupling capacitance value to be a first capacitance value; Control to continuously select a plurality of first candidate detection units including a second detection unit to be detected on the fingerprint recognition device, wherein the second detection unit is any detection unit in the fingerprint recognition device; control each of the remaining detection units to maintain a constant voltage, and control the voltage of each detection unit in the plurality of first candidate detection units to change synchronously, so as to generate an excitation signal to excite each of the remaining detection units; obtain a second coupling capacitance value formed between the second detection unit and each of the remaining detection units, and determine that the second coupling capacitance value is a second capacitance value; Alternatively, controlling to continuously select a plurality of second candidate detection units including a third detection unit to be detected on the fingerprint recognition device, wherein the third detection unit is any detection unit in the fingerprint recognition device; controlling each detection unit in the plurality of second candidate detection units to maintain a constant voltage, and controlling the voltage of each remaining detection unit to change synchronously, so as to generate an excitation signal to excite the plurality of second candidate detection units; obtaining a third coupling capacitance value formed between the third detection unit and each of the remaining detection units, and determining that the third coupling capacitance value is the second capacitance value; It is detected and determined that the difference between the second capacitance value and the first capacitance value is greater than a preset difference threshold, and it is recognized that there is a foreign object on the surface of the fingerprint recognition device.

2. The method according to claim 1, It is characterized in that Each detection unit includes a plurality of sensors arranged according to a preset rule.

3. The method according to any one of claims 1 to 2, It is characterized in that Before the step of controlling the voltage of all detection units on the fingerprint recognition device to remain unchanged and obtaining the first coupling capacitance value formed between any detection unit on the fingerprint recognition device and each remaining detection unit, and determining that the first coupling capacitance value is the first capacitance value, the step further includes: Identify that the fingerprint recognition device is converted from a touch state to a non-touch state.

4. The method according to claim 3, It is characterized in that The step of identifying that the fingerprint recognition device is converted from a touch state to a non-touch state includes: Detecting and determining that the capacitance value of the upper detection unit of the fingerprint recognition device is greater than or equal to a preset capacitance threshold, and determining that the fingerprint recognition device is in a touch state; Detect and determine that the capacitance value of at least one detection unit in the part of the detection units is less than the preset capacitance threshold, and determine that the fingerprint recognition device is in a non-touch state.

5. The method according to claim 4, It is characterized in that Also includes: Obtaining a duration in which the capacitance values ​​of the part of the detection units are greater than or equal to a preset capacitance threshold; If it is detected and determined that the duration is greater than a preset time threshold, the fingerprint recognition device is controlled to be invalid.

6. The method according to any one of claims 1 to 2, It is characterized in that After identifying that there is foreign matter on the surface of the fingerprint recognition device, the method further includes: Controlling the sending of a prompt message indicating that there is a foreign object on the surface of the fingerprint recognition device and / or controlling the fingerprint recognition device to fail.

7. A fingerprint recognition device, It is characterized in that The device comprises: A first acquisition module is used to control the voltage of all detection units on the fingerprint recognition device to remain unchanged; obtain a first coupling capacitance value formed between any detection unit on the fingerprint recognition device and each remaining detection unit, and determine that the first coupling capacitance value is a first capacitance value; A second acquisition module is used to control the continuous selection of a number of first candidate detection units including a second detection unit to be detected on the fingerprint recognition device, wherein the second detection unit is any detection unit in the fingerprint recognition device; control each of the remaining detection units to maintain a constant voltage, and control the voltage of each of the first candidate detection units to change synchronously, so as to generate an excitation signal to excite each of the remaining detection units; obtain the second coupling capacitance value formed between the second detection unit and each of the remaining detection units, and determine the second coupling capacitance value to be a second capacitance value; or control the continuous selection of a number of second candidate detection units including a third detection unit to be detected on the fingerprint recognition device, wherein the third detection unit is any detection unit in the fingerprint recognition device; control each of the second candidate detection units to maintain a constant voltage, and control the voltage of each of the remaining detection units to change synchronously, so as to generate an excitation signal to excite the number of second candidate detection units; obtain the third coupling capacitance value formed between the third detection unit and each of the remaining detection units, and determine the third coupling capacitance value to be a second capacitance value; The detection module is used to detect and determine that the difference between the second capacitance value and the first capacitance value is greater than a preset difference threshold, and recognize that there is a foreign object on the surface of the fingerprint recognition device.

8. An electronic device, It is characterized in that include: The fingerprint recognition device as claimed in claim 7.

9. A computer-readable storage medium storing a computer program. It is characterized in that When the program is executed by a processor, the surface foreign matter detection method of the fingerprint recognition device as described in any one of claims 1 to 6 is implemented.