Testing method and testing device for fingerprint detection device
By using a single brightness spot in the fingerprint detection device to irradiate the 3D test head and perform data processing, combined with the black flat test head, the time-consuming problem of the test process is solved, and efficient fingerprint detection device testing is achieved.
Patent Information
- Application Number
- CN202111666236.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2041-12-31
AI Technical Summary
The testing process of existing fingerprint detection devices takes a long time and requires frequent replacement of different types of test heads, resulting in inefficient testing.
A single brightness spot is used to irradiate the 3D test head with a three-dimensional stripe pattern. The stripe information is removed through data processing, and the test data corresponding to the flesh-colored flat test head is obtained. Combined with the black flat test head, the replacement of the flesh-colored flat test head is eliminated and the test is performed using a double test head.
It improves the testing efficiency of the fingerprint detection device, reduces the number of test head replacements, simplifies the testing process, and does not affect the test results.
Smart Images

Figure CN114325858B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of fingerprint detection, and more specifically, to a testing method and a testing device for a fingerprint detection device. Background Art
[0002] In the test process of the fingerprint detection device, it is usually necessary to test three test heads, namely the flesh-colored plane test head, the black plane test head, and the 3D test head (3D Rubber). The three test heads press the fingerprint detection area of the fingerprint detection device in turn, and cooperate with the changes in the light spot brightness or exposure time on the display screen to obtain the test data of the three test heads. Among them, the test data of the plane test head is used to obtain fingerprint background data, which can be used in subsequent fingerprint algorithms to extract fingerprint information from the data collected by the fingerprint detection device; the test data of the 3D stripe test head is used to test whether the assembly of the fingerprint detection device is qualified. Since the three test heads need to be tested under different light spot brightness or exposure times, the current testing process is time-consuming. Summary of the Invention
[0003] The embodiments of the present application provide a testing method and a testing device for a fingerprint detection device, thereby improving the testing efficiency of the fingerprint detection device.
[0004] In a first aspect, a testing method for a fingerprint detection device is provided, wherein the fingerprint detection device is used to be arranged below a display screen of an electronic device, and a fingerprint detection area of the fingerprint detection device is located within the display screen. The fingerprint detection device is used to detect a light signal that is illuminated by the display screen and returned by the finger, and the light signal is used to obtain fingerprint data of the finger.
[0005] The test method includes:
[0006] Determining that a first test head is located within the fingerprint detection area, the first test head includes a three-dimensional stripe pattern, and the first test head is flesh-colored;
[0007] Controlling the display screen to present a first light spot in the fingerprint detection area, and obtaining first test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first light spot is a light spot of a single brightness, and the first test data is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to different depth positions in the fringe pattern;
[0008] The first test data is subjected to first data processing to remove stripe information of the stripe pattern in the first test data, thereby obtaining second test data, wherein the second test data is used to generate fingerprint background data.
[0009] Based on this technical solution, by testing the first test head, two sets of test data corresponding to two different types of test heads can be obtained, wherein the first test head is a flesh-colored 3D test head. When the light spot irradiates the first test head, the first test data collected by the fingerprint detection device is obtained. The first test data can be used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to different depth positions in the first test head. By performing first data processing on the first test data and removing the stripe information of the stripe pattern in the first test data, the second test data corresponding to the flesh-colored plane test head can be obtained. The second test data is used to generate fingerprint background data. It can be seen that by testing the 3D test head and using the corresponding data processing method to process the obtained test data, the first test data corresponding to the 3D test head and the second test data corresponding to the flesh-colored plane test head can be obtained at the same time, thereby eliminating the use of the flesh-colored plane test head in the test process, avoiding the time-consuming operation caused by frequent replacement of the test head, and improving the test efficiency of the fingerprint detection device.
[0010] In a possible implementation, the first data processing includes any one of the following: frequency domain low-pass filtering, frequency domain band-stop filtering, moment matching, and fringe extraction and filling.
[0011] In this embodiment, the stripe information in the 3D test head is removed from the first test data corresponding to the 3D test head by using frequency domain low-pass filtering, frequency domain band-stop filtering, moment matching, and stripe extraction and filling processing. These data processing methods are easy to implement and do not increase the complexity of the testing process.
[0012] In one possible implementation, the testing method further includes: determining that a second test head is located within the fingerprint detection area, the second test head is a planar test head, and the second test head is black; when the first light spot illuminates the second test head, obtaining third test data collected by the fingerprint detection device, and the third test data and the second test data are used together to generate fingerprint background data.
[0013] In this embodiment, dual test heads—a first test head and a second test head—are used to test the fingerprint detection device. The first test head is a 3D test head, while the second test head is a black flat surface test head. By removing the stripe information from the 3D test head from the first test data, the second test data corresponding to the flesh-colored flat surface test head is obtained. This eliminates the need for a flesh-colored flat surface test head to test the fingerprint detection device, significantly improving testing efficiency and without compromising test results.
[0014] In one possible implementation, the second test data is test data corresponding to a third test head, the third test head is a flat test head, and the third test head is flesh-colored. The testing method further includes: performing second data processing on the second test data to convert the second test data into third test data corresponding to a second test head having a different color from the third test head, wherein the second test head is a flat test head and the second test head is black, and the third test data and the second test data are used together to generate fingerprint background data.
[0015] By removing the stripe information from the 3D test head from the first test data corresponding to the 3D test head, second test data corresponding to the flesh-colored plane test head can be obtained. Furthermore, by performing a second data processing on the second test data corresponding to the flesh-colored plane test head using the coefficient matrix, third test data corresponding to the black plane test head can be obtained. This allows the black plane test head to be omitted, allowing the fingerprint detection device to be tested using only the 3D test head, further improving testing efficiency.
[0016] In one possible implementation, the performing the second data processing on the second test data includes: performing the second data processing on the second test data according to a coefficient matrix, wherein the coefficient matrix is the ratio between the test data collected by the fingerprint detection device when the first light spot irradiates the second test head and the test data collected by the fingerprint detection device when the first light spot irradiates the third test head.
[0017] In this embodiment, a coefficient matrix is used to perform second data processing on the second test data corresponding to the flesh-colored plane test head to obtain third test data corresponding to the black plane test head. This coefficient matrix is calculated before the test begins. It represents the ratio between the test data collected when the first light spot illuminates the second test head and the test data collected when the first light spot illuminates the third test head. This allows the black plane test head to be omitted, allowing the fingerprint detection device to be tested using only the 3D test head, further improving testing efficiency.
[0018] In one possible implementation, the first test data includes: test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a first brightness and / or a first exposure time; and test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a second brightness and / or a second exposure time, wherein the first brightness is greater than the second brightness, and the first exposure time is greater than the second exposure time.
[0019] In one possible implementation, the testing method further includes: when the first light spot illuminates the first test head, calibrating the first exposure time according to the test data collected by the fingerprint detection device, wherein the first exposure time is the exposure time used by the fingerprint detection device when performing fingerprint detection on the finger.
[0020] In one possible implementation, the testing method further includes: when the first test head is located in the fingerprint detection area, controlling the display screen to stop emitting light, and obtaining fourth test data collected by the fingerprint detection device, where the fourth test data is associated with circuit noise in the fingerprint detection device.
[0021] In a second aspect, a testing device is provided for testing a fingerprint detection device, wherein the fingerprint detection device is arranged below a display screen of an electronic device, and a fingerprint detection area of the fingerprint detection device is located within the display screen. The fingerprint detection device is used to detect a light signal that is illuminated by the display screen and returned by the finger, and the light signal is used to obtain fingerprint data of the finger.
[0022] The testing device comprises:
[0023] a determining unit, configured to determine that a first test head is located within the fingerprint detection area, the first test head includes a three-dimensional stripe pattern, and the first test head is flesh-colored;
[0024] a detection unit, configured to control the display screen to present a first light spot within the fingerprint detection area, and to obtain first test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first light spot is a light spot of a single brightness, and the first test data is used to test an imaging distance of the fingerprint detection device and a difference in response of the fingerprint detection device to different depth positions in the fringe pattern;
[0025] The detection unit is further configured to perform first data processing on the first test data to remove stripe information of the stripe pattern in the first test data to obtain second test data, wherein the second test data is used to generate fingerprint background data.
[0026] In a possible implementation, the first data processing includes any one of the following: frequency domain low-pass filtering, frequency domain band-stop filtering, moment matching, and fringe extraction and filling.
[0027] In one possible implementation, the determination unit is further used to determine that the second test head is located within the fingerprint detection area, the second test head is a planar test head, and the second test head is black; the detection unit is further used to obtain third test data collected by the fingerprint detection device when the first light spot illuminates the second test head, and the third test data and the second test data are used together to generate fingerprint background data.
[0028] In one possible implementation, the second test data is test data corresponding to a third test head, the third test head is a flat test head, and the third test head is flesh-colored. The testing device further includes: a processing unit, configured to perform second data processing on the second test data to convert the second test data into third test data corresponding to a second test head having a different color from the third test head, wherein the second test head is a flat test head and the second test head is black, and the third test data and the second test data are used together to generate fingerprint background data.
[0029] In one possible implementation, the processing unit is specifically used to perform the second data processing on the second test data according to a coefficient matrix, wherein the coefficient matrix is the ratio between the test data collected by the fingerprint detection device when the first light spot irradiates the second test head and the test data collected by the fingerprint detection device when the first light spot irradiates the third test head.
[0030] In one possible implementation, the first test data includes: test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a first brightness and / or a first exposure time; and test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a second brightness and / or a second exposure time, wherein the first brightness is greater than the second brightness, and the first exposure time is greater than the second exposure time.
[0031] In one possible implementation, the testing device further includes: a calibration unit, configured to calibrate the first exposure time according to the test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first exposure time is the exposure time used by the fingerprint detection device when performing fingerprint detection on the finger.
[0032] In one possible implementation, the detection unit is further used to control the display screen to stop emitting light when the first test head is located in the fingerprint detection area, and obtain fourth test data collected by the fingerprint detection device, where the fourth test data is associated with circuit noise in the fingerprint detection device.
[0033] In a third aspect, a testing device is provided for testing a fingerprint detection device, the testing device comprising a processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the testing method described in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic diagram of the test process of a traditional fingerprint detection device.
[0035] Figure 2 It is a schematic flow chart of a testing method of a fingerprint detection device according to an embodiment of the present application.
[0036] Figure 3 It is a schematic flow chart of the first data processing method of an embodiment of the present application.
[0037] Figure 4 is based on Figure 2 A schematic flow chart of another possible implementation of the test method is shown.
[0038] Figure 5 is based on Figure 4 Schematic diagram of the test flow of the test method shown.
[0039] Figure 6 is based on Figure 2 A schematic flow chart of another possible implementation of the test method is shown.
[0040] Figure 7 is based on Figure 6 Schematic diagram of the test flow of the test method shown.
[0041] Figure 8 This is a schematic block diagram of a test device for a fingerprint detection device according to an embodiment of the present application.
[0042] Figure 9 FIG. 4 is a schematic block diagram of a testing device for a fingerprint detection device according to another embodiment of the present application. DETAILED DESCRIPTION
[0043] The technical solution in this application will be described below with reference to the accompanying drawings.
[0044] In the test process of the fingerprint detection device, it is usually necessary to test three test heads, namely the flesh-colored plane test head, the black plane test head, and the 3D test head (3D Rubber). Figure 1As shown, the display screen presents a circular light spot. First, the flesh-colored plane test head is tested, including calibrating the exposure time, collecting test data from the flesh-colored plane test head at high brightness or high exposure time, and collecting test data from the flesh-colored plane test head at low brightness or low exposure time. Second, the black plane test head is tested, including collecting test data from the black plane test head at high brightness or high exposure time, collecting test data from the black plane test head at low brightness or low exposure time, and collecting test data from the black plane test head when the screen is off. Finally, the 3D test head is tested, including collecting test data from the 3D test head at high brightness or high exposure time.
[0045] Because the test surfaces of the flesh-colored and black-surface test heads are flat, the test data from these two heads can be used to generate fingerprint background data. When a display screen illuminates the flesh-colored test head, the light signal returned includes both reflected and transmitted light from the head. When a display screen illuminates the black-surface test head, the light signal returned includes transmitted light from the black-surface test head. The resulting fingerprint background data can be applied to a fingerprint algorithm. When the fingerprint detection device passes the test and is used for fingerprint detection, the fingerprint algorithm can filter out unnecessary background information from the data collected by the fingerprint detection device, thereby extracting useful data related to the fingerprint information to complete the fingerprint detection.
[0046] In addition, the planar test head can also be used to calibrate the exposure time of the fingerprint detection device so that the signal amount received by the fingerprint detection device is within the desired range. When the fingerprint detection device passes the test and is used for fingerprint detection, the display screen can illuminate the finger in the fingerprint detection area according to the exposure time.
[0047] The test data collected when the screen is off includes circuit noise in the fingerprint detection device, which is used to improve the signal-to-noise ratio of the fingerprint detection device.
[0048] The 3D test head simulates the 3D shape of a fingerprint. Its surface has alternating concave and convex stripes, and is flesh-colored. It can be used to test whether the fingerprint detection device is assembled properly. Specifically, when testing the fingerprint detection device, there is a proportional relationship between the stripe spacing in the image of the 3D test head collected by the fingerprint detection device and the actual stripe spacing on the 3D test head. Based on the ratio between the imaging stripe spacing and the actual stripe spacing, the magnification of the fingerprint detection device can be determined. When the magnification is not within the expected range, the imaging lens in the fingerprint detection device may not be assembled in the appropriate position, and its assembly position needs to be calibrated. In addition, since the fingerprint detection device has different imaging effects on the concave and convex stripes in the 3D test head, the grayscale information of the concave and convex stripes in the image of the 3D test head collected by the fingerprint detection device can be used to evaluate the overall assembly performance of the fingerprint detection device.
[0049] from Figure 1 It can be seen that the test head needs to be replaced frequently during the entire test process, and the test production line takes a long time.
[0050] In order to improve test efficiency, this application proposes a test method for a fingerprint detection device. By changing the display screen light spot or adding a suitable algorithm, different types of test heads can be replaced, thereby reducing the number of times the test head is replaced during the test process and improving test efficiency.
[0051] Figure 4 The test method of the fingerprint detection device of the embodiment of the present application is shown. The fingerprint detection device is used to be arranged under the display screen of the electronic device. The fingerprint detection area of the fingerprint detection device is located within the display screen. The fingerprint detection device is used to detect the light signal that is illuminated by the display screen and returned by the finger. The light signal is used to obtain the fingerprint data of the finger. Figure 4 As shown, the testing method 200 includes some or all of the following steps.
[0052] In step 210 , it is determined that the first test head is located within a fingerprint detection area.
[0053] The first test head includes a three-dimensional stripe pattern and is flesh-colored. Figure 1 The 3D test head shown in .
[0054] In step 220, the display screen is controlled to present a first light spot in the fingerprint detection area, and when the first light spot illuminates the first test head, first test data collected by the fingerprint detection device is obtained.
[0055] The first light spot is a single-brightness light spot, such as a circular light spot. The first test data can be used to test the imaging distance of the fingerprint detection device, namely, the object distance of the imaging lens in the fingerprint detection device. The imaging lens is used to transmit the light signal returned by the finger from the display screen to the fingerprint sensor in the fingerprint detection device to image the fingerprint of the finger. The second test data is also used to test the difference in the fingerprint detection device's response to different depth positions in the fringe pattern. Based on the first test data, the assembly performance of the fingerprint detection device can be evaluated, thereby calibrating the fingerprint detection device if the assembly performance fails to meet the requirements.
[0056] In step 230 , first data processing is performed on the first test data to remove stripe information of the stripe pattern in the first test data to obtain second test data.
[0057] The second test data is used to generate fingerprint background data. This fingerprint background data can be applied to a fingerprint algorithm. When the fingerprint detection device passes the test and is used for fingerprint detection, the fingerprint algorithm can filter out unnecessary background information from the data collected by the fingerprint detection device, thereby extracting useful data related to the fingerprint information to complete the fingerprint detection.
[0058] In this embodiment, by testing a first test head, two sets of test data corresponding to two different types of test heads can be obtained. The first test head is a flesh-colored 3D test head. When a light spot illuminates the first test head, first test data collected by the fingerprint detection device is obtained. This first test data can be used to test the imaging distance of the fingerprint detection device and the difference in the fingerprint detection device's response to different depth positions within the first test head. By performing a first data processing on the first test data to remove the stripe information of the stripe pattern in the first test data, second test data corresponding to the flesh-colored planar test head can be obtained. This second test data is used to generate fingerprint background data.
[0059] Specifically, in step 220, the display screen is controlled to present a first light spot in the fingerprint detection area and illuminate the first test head to obtain first test data. The first test data may be, for example, Figure 1 The test data corresponding to the 3D test head in .
[0060] In step 230, there is no need to replace the 3D test head with a planar test head. By performing the first data processing on the first test data, the second test data can be obtained. For example, the second test data can be Figure 1 The test data corresponding to the flesh-colored plane test head in .
[0061] It can be seen that by testing the 3D test head and using the corresponding data processing method to process the obtained test data, the first test data corresponding to the 3D test head and the second test data corresponding to the flesh-colored plane test head can be obtained at the same time, thereby eliminating the use of the flesh-colored plane test head in the testing process, avoiding the time-consuming operations such as frequent replacement of the test head, and improving the testing efficiency of the fingerprint detection device.
[0062] The first data processing may include, for example, any one of the following: frequency domain low-pass filtering, frequency domain band-stop filtering, moment matching, and fringe extraction and filling. These data processing methods are easy to implement and do not increase the complexity of the test process.
[0063] Figure 3 FIG. 4 shows a process of removing the stripe information of the stripe pattern in the first test data. Figure 3 As shown in (a), the first data processing is performed on the first test data, including: performing frequency domain transformation on the first test data; performing two-dimensional low-pass filtering on the first test data obtained after the frequency domain transformation to remove the stripe information of the stripe pattern in the first test data; and performing inverse frequency domain transformation on the first test data after removing the stripe information to obtain second test data.
[0064] Or, as Figure 3 As shown in (b), the first data processing is performed on the first test data, including: performing frequency domain transformation on the first test data; performing two-dimensional band-stop filtering on the first test data obtained after the frequency domain transformation to remove the stripe information of the stripe pattern in the first test data; and performing inverse frequency domain transformation on the first test data after removing the stripe information to obtain second test data.
[0065] Or, as Figure 3 As shown in (c) of FIG, performing first data processing on the first test data includes: rotating the first test data so that the stripes in the stripe pattern on the surface of the 3D test head are located in the horizontal direction; and performing moment matching processing on the first test data to remove the stripe information in the stripe pattern in the first test data to obtain second test data. For example, moment matching processing can be performed according to the following formula:
[0066]
[0067] Among them, Y j is the jth row data after calibration, X j is the j-th row data before calibration, σ r is the mean square error of the reference row, σ j is the mean square error of the j-th row, μ r is the mean of the reference row, μ j is the mean of the jth row.
[0068] Or, as Figure 3 As described in (d) above, performing first data processing on the first test data includes: performing fringe extraction and filling processing on the first test data to remove fringe information from the fringe pattern in the first test data to obtain second test data. For example, fringe positions in the fringe pattern on the surface of the 3D test head are extracted based on a directional gradient field or an autocorrelation method, and the data corresponding to the fringe positions are filled with the average of the data corresponding to the non-fringe positions on both sides.
[0069] The first test data may include, for example: test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a first brightness and / or a first exposure time; and test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a second brightness and / or a second exposure time, wherein the first brightness is greater than the second brightness, and the first exposure time is greater than the second exposure time.
[0070] First test data is collected under high brightness or high exposure time, and low brightness or low exposure time. The first test data is at least partially used to test whether the fingerprint detection device is assembled properly. Here, "at least partially" can refer to the first test data corresponding to high brightness or high exposure time. This portion of data can be regarded as test data corresponding to a 3D test head and can be used to test whether the fingerprint detection device is assembled properly. After first data processing is performed on the first test data corresponding to high brightness or high exposure time and the first test data corresponding to low brightness or low exposure time, second test data corresponding to high brightness or high exposure time and second test data corresponding to low brightness or low exposure time are obtained. The second test data is test data corresponding to a planar test head and can be used to generate fingerprint background data.
[0071] In one implementation, the testing method 200 further includes: when the first light spot irradiates the first test head, calibrating the exposure time of the fingerprint detection device according to the test data collected by the fingerprint detection device.
[0072] The exposure time is, for example, the first exposure time mentioned above, that is, the first exposure time is the exposure time used when the fingerprint detection device performs fingerprint detection on a finger.
[0073] When calibrating the exposure time of the fingerprint detection device, the first test head can be illuminated using different exposure times until the signal received by the fingerprint detection device falls within the desired range. Once the fingerprint detection device passes the test and is used for fingerprint detection, the display screen can illuminate a finger within the fingerprint detection area using the exposure time.
[0074] In one implementation, the testing method 200 further includes controlling the display screen to stop emitting light when the first test head is located in the fingerprint detection area, and acquiring fourth test data collected by the fingerprint detection device. The fourth test data is associated with circuit noise in the fingerprint detection device. Therefore, the fourth test data can be applied to the fingerprint detection algorithm to improve the signal-to-noise ratio of the fingerprint detection device.
[0075] In one implementation, Figure 4 As shown, the test method 200 may further include step 240 and step 250. Step 240 and step 250 may be performed before or after the above steps 210 to 230, and this is not limited.
[0076] In step 240 , it is determined that the second test head is located within the fingerprint detection area.
[0077] The second test head is a flat test head and is black, that is, the second test head is a black flat test head.
[0078] In step 250, when the first light spot illuminates the second test head, third test data collected by the fingerprint detection device is obtained. The third test data and the second test data are used together to generate fingerprint background data.
[0079] In this embodiment, dual test heads—a first test head and a second test head—are used to test the fingerprint detection device. The first test head is a 3D test head, while the second test head is a black flat surface test head. By removing the stripe information on the 3D test head surface from the first test data corresponding to the 3D test head, the second test data corresponding to the flesh-colored flat surface test head is obtained. This eliminates the need to replace the flesh-colored flat surface test head during testing to complete the fingerprint detection device test, significantly improving testing efficiency and without compromising test results.
[0080] For example, Figure 5 In the test flow shown, step 240 and step 250 can be performed after the above steps 210 to 230, and the fingerprint detection device is tested using a dual test head. Figure 5 In the example, the first test head is a 3D test head and the second test head is a black plane test head. The display screen presents a first light spot of single brightness, such as a circular light spot.
[0081] First, the first test head is mechanically pressed within the fingerprint detection area to test the first test head, including calibrating the exposure time and collecting first test data at high brightness or high exposure time and low brightness or low exposure time. The first test data corresponding to high brightness or high exposure time and the first test data corresponding to low brightness or low exposure time are respectively processed first to obtain second test data corresponding to high brightness or high exposure time and second test data corresponding to low brightness or low exposure time.
[0082] Secondly, replace the test head, replace the first test head with the second test head, and have the second test head mechanically press in the fingerprint detection area to test the second test head, including collecting the third test data under high brightness or high exposure time and low brightness or low exposure time, and collecting the fourth test data when the screen is off.
[0083] Finally, the fingerprint detection device is tested based on the aforementioned test data, and relevant data for fingerprint detection is obtained. For example, fingerprint background data is generated based on the second and third test data. In another example, based on the first test data, the imaging distance of the fingerprint detection device and the difference in the fingerprint detection device's response to the bright and dark stripes in the second light spot are determined to evaluate the assembly performance of the fingerprint detection device. This allows for calibration if the fingerprint detection device's assembly performance fails to meet standards.
[0084] Similarly, step 240 and step 250 may also be performed before step 210 to step 230. For example, Figure 5 Alternatively, the second test head may be tested first, including collecting third test data at high brightness or high exposure time and low brightness or low exposure time, and collecting fourth test data when the screen is off; and then the first test head may be tested, including calibrating the exposure time and collecting first test data at high brightness or high exposure time and low brightness or low exposure time. The first test data corresponding to high brightness or high exposure time and the first test data corresponding to low brightness or low exposure time are processed first to obtain second test data corresponding to high brightness or high exposure time and second test data corresponding to low brightness or low exposure time.
[0085] from Figure 5 It can be seen that the test of the fingerprint detection device was completed by using only the 3D test head and the black plane test head, without using the flesh-colored plane test head, which significantly improves the test efficiency and does not affect the test results.
[0086] In another implementation, Figure 6As shown, the test method 200 may further include step 260. The second test data is test data corresponding to the third test head, the third test head is a flat test head, and the third test head is flesh-colored.
[0087] In step 260 , second data processing is performed on the second test data to convert the second test data into third test data corresponding to a second test head having a different color from the third test head.
[0088] The second test head is a flat test head and is black. The third test data and the second test data are used together to generate fingerprint background data.
[0089] In this embodiment, by removing the stripe information from the 3D test head from the first test data corresponding to the 3D test head, second test data corresponding to the flesh-colored plane test head can be obtained. Furthermore, by performing a second data processing on the second test data corresponding to the flesh-colored plane test head using a coefficient matrix, third test data corresponding to the black plane test head can be obtained. This allows the black plane test head to be omitted, allowing the fingerprint detection device to be tested using only the 3D test head, further improving testing efficiency.
[0090] In one implementation, in step 260 , performing second data processing on the second test data includes: performing second data processing on the second test data according to the coefficient matrix.
[0091] The coefficient matrix is a ratio between the test data collected by the fingerprint detection device when the first light spot irradiates the second test head and the test data collected by the fingerprint detection device when the first light spot irradiates the third test head.
[0092] This coefficient matrix can be calculated before testing begins. During testing, the first test data obtained when the first light spot illuminates the 3D test head undergoes first data processing to filter out the stripe information on the 3D test head surface, obtaining second test data corresponding to the flesh-colored plane test head. Next, using this coefficient matrix, the second test data undergoes second data processing to obtain third test data corresponding to the black plane test head. In this way, the black plane test head can be omitted during actual testing, and the third test data corresponding to the black plane test head can be obtained using only the second test data corresponding to the flesh-colored plane test head.
[0093] The following describes how to calculate this coefficient matrix.
[0094] The test data HF of the third test head and the test data HB of the second test head are collected under high brightness or high exposure time, or the test data LF of the third test head and the test data LB of the second test head are collected under low brightness or low exposure time. Next, a coefficient matrix is calculated based on these test data.
[0095] The coefficient matrix Ratio can be calculated, for example, in the following manner: Ratio=HB / HF; or, Ratio=LB / LF; or, Ratio=(HB / HF+LB / LF) / 2.
[0096] For example, taking 9 pixels as an example, the test data HF of the third test head at high brightness or high exposure time, the test data LF of the third test head at low brightness or low exposure time, the test data HB of the second test head at high brightness or high exposure time, and the test data LB of the second test head at low brightness or low exposure time are as follows:
[0097]
[0098] The coefficient corresponding to each pixel is the ratio of the test data corresponding to the pixel position from the second test head to the test data corresponding to the pixel position from the third test head. Thus, when the coefficient matrix Ratio is calculated using Ratio = HB / HF, Ratio = LB / LF, or Ratio = (HB / HF + LB / LF) / 2, the following calculation results are obtained:
[0099]
[0100] When testing the fingerprint detection device, when the second test data HF and LF corresponding to the third test head are collected based on the 3D test head and the first test data corresponding to the 3D test head are obtained, the third test data HB and LB corresponding to the second test head can be determined as HB=HF*Ratio and LB=LF*Ratio respectively.
[0101] Furthermore, in one implementation, in order to make the coefficient matrix Ratio more accurate, test data can be collected several times, and high-order polynomial fitting can be performed on the test data HF of the third test head under high brightness or high exposure time, the test data LF of the third test head under low brightness or low exposure time, the test data HB of the second test head under high brightness or high exposure time, and the test data LB of the second test head under low brightness or low exposure time to obtain corresponding test data HFS, LFS, HBS and LBS, and then the coefficient matrix Ratio is calculated using the above formula.
[0102] For example, Figure 7As shown, the first test head is a 3D test head, the second test head is a black flat test head, and the third test head is a flesh-colored flat test head. Only the first test head is used to test the fingerprint detection device. The display screen presents a circular light spot.
[0103] First, the first test head is mechanically pressed in the fingerprint detection area to test the first test head, including calibrating the exposure time, collecting first test data at high brightness or high exposure time and low brightness or low exposure time, and collecting fourth test data when the screen is off.
[0104] Secondly, after performing first data processing on the first test data corresponding to high brightness or high exposure time and the first test data corresponding to low brightness or low exposure time, second test data corresponding to high brightness or high exposure time and second test data corresponding to low brightness or low exposure time are obtained.
[0105] Next, according to the second test data HF and LF, and the coefficient matrix Ratio, the third test data can be obtained, ie, HB=HF*Ratio and LB=LF*Ratio.
[0106] Finally, the fingerprint detection device is tested based on the aforementioned test data, and relevant data for fingerprint detection is obtained. For example, fingerprint background data is generated based on the second and third test data. In another example, based on the first test data, the imaging distance of the fingerprint detection device and the difference in the fingerprint detection device's response to the bright and dark stripes in the second light spot are determined to evaluate the assembly performance of the fingerprint detection device. This allows for calibration if the fingerprint detection device's assembly performance fails to meet standards.
[0107] from Figure 7 It can be seen that the test of the fingerprint detection device is completed by using only the first test head, namely the 3D test head, without using the second test head and the third test head, namely the planar test head, which significantly improves the test efficiency and does not affect the test results.
[0108] The above method of calculating the coefficient matrix Ratio is only an example. After obtaining the coefficient matrix Ratio, when testing the fingerprint detection device, the test data corresponding to the third test head can be used to calculate the test data corresponding to the second test head, thereby not only eliminating the third test head but also the second test head.
[0109] Combined with the above Figures 2 to 7 The test method of the fingerprint detection device of the embodiment of the present application is described below. Figure 8 and Figure 9 The test device of the embodiment of the present application is described. The specific details of the test device and the corresponding beneficial effects can be referred to the above description of the test method.
[0110] like Figure 8 As shown, the test device 300 is used to test a fingerprint detection device. The fingerprint detection device is used to be set below the display screen of an electronic device. The fingerprint detection area of the fingerprint detection device is located within the display screen. The fingerprint detection device is used to detect the light signal emitted by the display screen and returned by the finger. The light signal is used to obtain the fingerprint data of the finger. The test device 300 includes:
[0111] a determining unit 310 configured to determine that a first test head is located within the fingerprint detection area, the first test head includes a three-dimensional stripe pattern, and the first test head is flesh-colored;
[0112] a detection unit 320, configured to control the display screen to present a first light spot within the fingerprint detection area, and to obtain first test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first light spot is a light spot of a single brightness, and the first test data is used to test the imaging distance of the fingerprint detection device and the difference in response of the fingerprint detection device to different depth positions in the fringe pattern;
[0113] The detection unit 320 is further configured to perform first data processing on the first test data to remove stripe information of the stripe pattern in the first test data to obtain second test data, wherein the second test data is used to generate fingerprint background data.
[0114] The testing device 300 can obtain two sets of test data by testing the first test head, wherein the first test head is a flesh-colored 3D test head. When the light spot illuminates the first test head, the first test data collected by the fingerprint detection device is obtained. Since the first test head is a 3D test head, the first test data can be used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to different depth positions in the first test head. After performing first data processing on the first test data and removing the stripe information of the stripe pattern in the first test data, second test data can be obtained. The second test data can be used to generate fingerprint background data. It can be seen that by testing the 3D test head and using the corresponding data processing method to process the obtained test data, the first test data corresponding to the 3D test head and the second test data corresponding to the flesh-colored plane test head can be obtained simultaneously, thereby eliminating the use of the flesh-colored plane test head in the testing process, avoiding the time-consuming operation caused by frequent replacement of the test head, and improving the testing efficiency of the fingerprint detection device.
[0115] In one implementation, the first data processing includes any one of the following: frequency domain low-pass filtering processing, frequency domain band-stop filtering processing, moment matching processing, and fringe extraction and filling processing.
[0116] In one implementation, the determination unit is further used to determine that the second test head is located within the fingerprint detection area, the second test head is a planar test head, and the second test head is black; the detection unit is further used to obtain third test data collected by the fingerprint detection device when the first light spot illuminates the second test head, and the third test data and the second test data are used together to generate fingerprint background data.
[0117] In one implementation, the second test data is test data corresponding to a third test head, the third test head is a flat test head, and the third test head is flesh-colored. The testing device further includes: a processing unit 330, configured to perform second data processing on the second test data to convert the second test data into third test data corresponding to a second test head having a different color from the third test head, wherein the second test head is a flat test head, and the second test head is black. The third test data and the second test data are used together to generate fingerprint background data.
[0118] In one implementation, the processing unit 330 is specifically used to perform the second data processing on the second test data according to a coefficient matrix, wherein the coefficient matrix is the ratio between the test data collected by the fingerprint detection device when the first light spot irradiates the second test head and the test data collected by the fingerprint detection device when the first light spot irradiates the third test head.
[0119] In one implementation, the first test data includes: test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a first brightness and / or a first exposure time; and test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a second brightness and / or a second exposure time, wherein the first brightness is greater than the second brightness, and the first exposure time is greater than the second exposure time.
[0120] In one implementation, the testing device 300 also includes: a calibration unit 340, which is used to calibrate the first exposure time according to the test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first exposure time is the exposure time used by the fingerprint detection device when performing fingerprint detection on the finger.
[0121] In one implementation, the detection unit 320 is further used to control the display screen to stop emitting light when the first test head is located in the fingerprint detection area, and obtain fourth test data collected by the fingerprint detection device, where the fourth test data is associated with circuit noise in the fingerprint detection device.
[0122] like Figure 9 As shown, the present application also provides a testing device 400 for testing a fingerprint detection device. The testing device 400 includes a processor 410 and a memory 420. The memory 420 is used to store computer programs, and the processor 410 is used to call and run the computer program stored in the memory to execute the testing method in any of the above implementations.
[0123] The systems, devices, and methods disclosed in the embodiments of the present application may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not performed. The device embodiments described above are merely schematic, and the division of units is merely a logical function division. In actual implementation, there may be other division methods, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling may include electrical, mechanical, or other forms of connection.
[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and equipment and the technical effects produced can refer to the corresponding processes and technical effects in the aforementioned method embodiments, and will not be repeated here.
[0125] It should be noted that, under the premise of no conflict, the various embodiments and / or technical features in each embodiment described in this application can be arbitrarily combined with each other, and the technical solution obtained after the combination should also fall within the scope of protection of this application.
[0126] It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art to better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. Those skilled in the art can make various improvements and modifications based on the above embodiments, and these improvements or modifications all fall within the scope of protection of the present application.
[0127] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for testing a fingerprint detection device, characterized in that: The fingerprint detection device is used to be arranged below the display screen of the electronic device. The fingerprint detection area of the fingerprint detection device is located within the display screen. The fingerprint detection device is used to detect the light signal emitted by the display screen and returned by the finger. The light signal is used to obtain the fingerprint data of the finger. The test method includes: Determining that a first test head is located within the fingerprint detection area, the first test head includes a three-dimensional stripe pattern, and the first test head is flesh-colored; Controlling the display screen to present a first light spot in the fingerprint detection area, and obtaining first test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first light spot is a light spot of a single brightness, and the first test data is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to different depth positions in the fringe pattern; The first test data is subjected to first data processing to remove stripe information of the stripe pattern in the first test data to obtain second test data, wherein the second test data corresponds to a flesh-colored plane test head and is used to generate fingerprint background data.
2. The testing method according to claim 1, wherein: The first data processing includes any one of the following: Frequency domain low-pass filtering, frequency domain band-stop filtering, moment matching, and fringe extraction and filling.
3. The testing method according to claim 1 or 2, characterized in that: The test method further comprises: Determining that a second test head is located within the fingerprint detection area, the second test head is a planar test head, and the second test head is black; When the first light spot irradiates the second test head, third test data collected by the fingerprint detection device is obtained, and the third test data and the second test data are used together to generate fingerprint background data.
4. The testing method according to claim 1 or 2, characterized in that: The second test data is test data corresponding to a third test head, the third test head is a planar test head, and the third test head is flesh-colored. The testing method further includes: Performing second data processing on the second test data to convert the second test data into third test data corresponding to a second test head having a different color from the third test head, wherein the second test head is a planar test head and the second test head is black, and the third test data and the second test data are used together to generate fingerprint background data.
5. The testing method according to claim 4, characterized in that: The performing second data processing on the second test data includes: The second data processing is performed on the second test data according to a coefficient matrix, wherein the coefficient matrix is a ratio between the test data collected by the fingerprint detection device when the first light spot irradiates the second test head and the test data collected by the fingerprint detection device when the first light spot irradiates the third test head.
6. The testing method according to claim 1 or 2, characterized in that: The first test data includes: test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a first brightness and / or a first exposure time; and The test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a second brightness and / or a second exposure time, wherein the first brightness is greater than the second brightness, and the first exposure time is greater than the second exposure time.
7. The testing method according to claim 6, characterized in that: The test method further comprises: When the first light spot illuminates the first test head, the first exposure time is calibrated according to the test data collected by the fingerprint detection device, wherein the first exposure time is the exposure time used by the fingerprint detection device when performing fingerprint detection on the finger.
8. The testing method according to claim 1 or 2, characterized in that: The test method further comprises: When the first test head is located in the fingerprint detection area, the display screen is controlled to stop emitting light, and fourth test data collected by the fingerprint detection device is acquired, where the fourth test data is associated with circuit noise in the fingerprint detection device.
9. A testing device, characterized in that: Used to test a fingerprint detection device, the fingerprint detection device is used to be arranged below the display screen of an electronic device, the fingerprint detection area of the fingerprint detection device is located within the display screen, the fingerprint detection device is used to detect the light signal emitted by the display screen and returned by the finger, and the light signal is used to obtain the fingerprint data of the finger, The testing device comprises: a determining unit, configured to determine that a first test head is located within the fingerprint detection area, the first test head includes a three-dimensional stripe pattern, and the first test head is flesh-colored; a detection unit, configured to control the display screen to present a first light spot within the fingerprint detection area, and to obtain first test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first light spot is a light spot of a single brightness, and the first test data is used to test an imaging distance of the fingerprint detection device and a difference in response of the fingerprint detection device to different depth positions in the fringe pattern; The detection unit is further used to perform first data processing on the first test data to remove stripe information of the stripe pattern in the first test data to obtain second test data, wherein the second test data corresponds to the flesh-colored plane test head, and the second test data is used to generate fingerprint background data.
10. The testing device according to claim 9, characterized in that: The first data processing includes any one of the following: Frequency domain low-pass filtering, frequency domain band-stop filtering, moment matching, and fringe extraction and filling.
11. The testing device according to claim 9 or 10, characterized in that: The determining unit is further configured to determine that a second test head is located within the fingerprint detection area, the second test head is a planar test head, and the second test head is black; The detection unit is further configured to obtain third test data collected by the fingerprint detection device when the first light spot irradiates the second test head, and the third test data and the second test data are used together to generate fingerprint background data.
12. The testing device according to claim 9 or 10, characterized in that: The second test data is test data corresponding to a third test head, the third test head is a planar test head, and the third test head is flesh-colored, and the testing device further includes: a processing unit, configured to perform second data processing on the second test data to convert the second test data into third test data corresponding to a second test head having a different color from the third test head, wherein the second test head is a planar test head and the second test head is black, and the third test data and the second test data are used together to generate fingerprint background data.
13. The testing device according to claim 12, characterized in that: The processing unit is specifically used to perform the second data processing on the second test data according to a coefficient matrix, wherein the coefficient matrix is a ratio between the test data collected by the fingerprint detection device when the first light spot irradiates the second test head and the test data collected by the fingerprint detection device when the first light spot irradiates the third test head.
14. The testing device according to claim 9 or 10, characterized in that: The first test data includes: test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a first brightness and / or a first exposure time; and The test data collected by the fingerprint detection device when the first light spot illuminates the first test head at a second brightness and / or a second exposure time, wherein the first brightness is greater than the second brightness, and the first exposure time is greater than the second exposure time.
15. The testing device according to claim 14, characterized in that: The testing device further comprises: A calibration unit is used to calibrate the first exposure time according to the test data collected by the fingerprint detection device when the first light spot illuminates the first test head, wherein the first exposure time is the exposure time used by the fingerprint detection device when performing fingerprint detection on the finger.
16. The testing device according to claim 9 or 10, characterized in that: The detection unit is further configured to, when the first test head is located in the fingerprint detection area, control the display screen to stop emitting light and obtain fourth test data collected by the fingerprint detection device, where the fourth test data is associated with circuit noise in the fingerprint detection device.
17. A testing device, characterized in that: Used to test a fingerprint detection device, the testing device includes a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to perform the testing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Electronic equipment, and identification system and decryption method thereof
CN106485118A
System and method for imaging evidence deposited on curved surfaces
US20150178545A1