Testing method and testing device for fingerprint detection device
By presenting specific spots on the display screen of the fingerprint detection device and processing test data, using coefficient matrix or spots in different brightness areas to simulate multiple test heads, the time-consuming problem of the fingerprint detection device testing process is solved, and efficient testing is achieved.
Patent Information
- Application Number
- CN202111676066.9
- 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.
By presenting specific spots on the display screen of the fingerprint detection device and processing the test data, the coefficient matrix or spots in different brightness areas are used to simulate the test effects of multiple test heads, eliminating frequent replacement of test heads, and multiple types of test data can be obtained using only one or two test heads.
It improves the testing efficiency of the fingerprint detection device, reduces the time-consuming operation of test head replacement, and simplifies the testing process.
Smart Images

Figure CN114355468B_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, which have high testing efficiency.
[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 in the fingerprint detection area, wherein the first test head is a planar test head;
[0007] controlling the display screen to present a first light spot in the fingerprint detection area, and acquiring first test data when the first light spot illuminates the first test head;
[0008] Performing first data processing on the first test data to convert the first test data into second test data corresponding to a second test head having a different color from the first test head, the first test data and the second test data being used to generate fingerprint background data, wherein the second test head is a planar test head, and the color of the second test head is one of black and flesh-colored, and the color of the first test head is the other of black and flesh-colored.
[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 planar test head. When the display screen presents a first light spot in the fingerprint detection area and illuminates the first test head, the first test data can be obtained directly or indirectly. By performing first data processing on the first test data, second test data corresponding to a second test head having a different color from the first test head can be obtained. The second test head is also a planar test head. The first test data and the second test data can be used to generate fingerprint background data. It can be seen that by testing the first test head and processing the obtained first test data, the second test data corresponding to the second test head can be obtained. Only one planar test head is used to obtain the test data corresponding to the two planar test heads, eliminating the use of the second test head in the test process, avoiding the time-consuming operations such as frequent replacement of the test head, and improving the test efficiency of the fingerprint detection device.
[0010] In one possible implementation, the performing the first data processing on the first test data includes: performing the first data processing on the first 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 first test head.
[0011] In this embodiment, a coefficient matrix is used to process the first test data obtained when the first light spot illuminates the first test head to obtain the second test data corresponding to the second test head. This coefficient matrix is calculated before the test begins. It represents the ratio of the test data collected when the first light spot illuminates the second test head to the test data collected when the first light spot illuminates the first test head. This allows the second test head to be omitted during the actual test process, allowing the first test data corresponding to the first test head and the second test data corresponding to the second test head to be obtained using only the first test head.
[0012] In one possible implementation, the first light spot is a light spot of single brightness, and the testing method further includes: controlling the display screen to present a second light spot in the fingerprint detection area, and obtaining third test data collected by the fingerprint detection device when the second light spot illuminates the first test head, wherein the second light spot includes areas of different brightness, and the third test data is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to the different brightness areas.
[0013] In this embodiment, the second light spot includes areas of different brightness. By controlling the display screen to present light spots with different brightness areas and irradiating the first test head, i.e., the planar test head, the test effect of the 3D test head under the illumination of a light spot of a single brightness is simulated. This can further eliminate the use of the 3D test head in the test process, avoid the time-consuming operations such as frequent replacement of the test head, and improve the test efficiency of the fingerprint detection device.
[0014] In one possible implementation, the first light spot is a light spot of single brightness, and the testing method further includes: determining that a second test head is located within the fingerprint detection area, the second test head includes a three-dimensional stripe pattern, and the third test head is flesh-colored; 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 is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to the different brightness areas.
[0015] 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 planar test head, while the second test head is a 3D test head. Using both the first and 3D test heads allows for the acquisition of test data corresponding to the two planar test heads of different colors, as well as test data corresponding to the 3D test head. This significantly improves testing efficiency without compromising test results.
[0016] In one possible implementation, the first light spot includes areas of different brightness, and obtaining first test data collected by the fingerprint detection device when the first light spot illuminates the first test head includes: obtaining third test data collected by the fingerprint detection device when the first light spot illuminates the first test head; and performing second data processing on the third test data to remove information of the different brightness areas in the third test data to obtain the first test data.
[0017] In this embodiment, the first light spot includes different brightness areas. By controlling the display screen to present the first light spot with different brightness areas and irradiating the first test head, i.e., the plane test head, the test effect of the 3D test head under the illumination of a light spot with a single brightness is simulated, and the use of the 3D test head in the test process can be eliminated. The third test data corresponding to the 3D test head is subjected to the second data processing, and the information of the different brightness areas in the third test data is removed, so as to obtain the first test data corresponding to the first test head. Furthermore, the first test data is subjected to the first data processing, so as to obtain the test data corresponding to the second test head having a different color from the first test head, and the use of the second test head in the test process is also eliminated. It can be seen that the test of the fingerprint detection device can be completed using only the first test head, which avoids the time-consuming operations such as frequent replacement of the test head and improves the test efficiency of the fingerprint detection device.
[0018] In a possible implementation, the second 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.
[0019] In this embodiment, third test data corresponding to the 3D test head is obtained by illuminating the first test head with a first light spot having different brightness regions. Stripe information is removed from the third test data by using frequency-domain low-pass filtering, frequency-domain band-stop filtering, moment matching, and stripe extraction and filling. These data processing methods are simple to implement and do not increase the complexity of the testing process.
[0020] In one possible implementation, the first test data includes: test data collected by the fingerprint detection device when the first light spot irradiates 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 irradiates 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.
[0021] 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.
[0022] In one possible implementation, the testing method further includes: when it is determined that 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.
[0023] 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.
[0024] The testing device comprises:
[0025] a determining unit, configured to determine that a first test head is located within the fingerprint detection area, wherein the first test head is a planar test head;
[0026] a detection unit, configured to control the display screen to present a first light spot in the fingerprint detection area, and to obtain first test data when the first light spot illuminates the first test head;
[0027] a processing unit, configured to perform data processing on the first test data to convert the first test data into second test data corresponding to a second test head having a different color from the first test head, wherein the first test data and the second test data are used to generate fingerprint background data, wherein the second test head is a planar test head, and the color of the second test head is one of black and flesh-colored, and the color of the first test head is the other of black and flesh-colored.
[0028] In one possible implementation, the processing unit is specifically used to perform the first data processing on the first 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 first test head.
[0029] In one possible implementation, the first light spot is a light spot of single brightness, and the detection unit is further used to control the display screen to present a second light spot in the fingerprint detection area, and obtain third test data collected by the fingerprint detection device when the second light spot illuminates the first test head, wherein the second light spot includes different brightness areas, and the third test data is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to the different brightness areas.
[0030] In one possible implementation, the first light spot is a light spot of single brightness, and the determination unit is further used to determine that the second test head is located within the fingerprint detection area, the second test head includes a three-dimensional stripe pattern, and the third test head is flesh-colored; 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 is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to the different brightness areas.
[0031] In a possible implementation, the first light spot includes regions of different brightness, and the detection unit is specifically configured to:
[0032] When the first light spot irradiates the first test head, obtaining third test data collected by the fingerprint detection device;
[0033] The processing unit is further configured to perform second data processing on the third test data to remove information of the different brightness regions in the third test data to obtain the first test data.
[0034] In a possible implementation, the second 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.
[0035] In one possible implementation, the first test data includes: test data collected by the fingerprint detection device when the first light spot irradiates 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 irradiates 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.
[0036] 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.
[0037] In one possible implementation, the detection unit is further used to, when it is determined that 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.
[0038] 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
[0039] Figure 1 It is a schematic diagram of the test process of a traditional fingerprint detection device.
[0040] 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.
[0041] Figure 3 is based on Figure 2 A schematic flow chart of a possible implementation of the test method is shown.
[0042] Figure 4 is based on Figure 3 Schematic diagram of the test flow of the test method shown.
[0043] Figure 5 is based on Figure 2 A schematic flow chart of another possible implementation of the test method is shown.
[0044] Figure 6 is based on Figure 5 Schematic diagram of the test flow of the test method shown.
[0045] Figure 7 is based on Figure 2 A schematic flow chart of yet another possible implementation of the test method is shown.
[0046] Figure 8 It is a schematic flowchart of the second data processing method of an embodiment of the present application.
[0047] Figure 9 is based on Figure 7 Schematic diagram of the test flow of the test method shown.
[0048] Figure 10 This is a schematic block diagram of a test device for a fingerprint detection device according to an embodiment of the present application.
[0049] Figure 11 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
[0050] The technical solution in this application will be described below with reference to the accompanying drawings.
[0051] 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 1 As 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.
[0052] 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.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] Figure 2 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 2 As shown, the testing method 200 includes some or all of the following steps.
[0059] In step 210 , it is determined that the first test head is located within a fingerprint detection area.
[0060] In step 220 , the display screen is controlled to present a first light spot in the fingerprint detection area, and first test data is acquired when the first light spot illuminates the first test head.
[0061] The first light spot may be a light spot of single brightness, such as a circular light spot; the first light spot may also be a light spot including areas of different brightness, such as a striped light spot with alternating light and dark areas.
[0062] It should be understood that the first test data can be obtained directly or indirectly. The first test data can be data collected by the fingerprint detection device when the first light spot irradiates the first test head, or it can be test data associated with the data collected by the fingerprint detection device when the first light spot irradiates the first test head.
[0063] In step 230 , first data processing is performed on the first test data to convert the first test data into second test data corresponding to a second test head having a different color from the first test head.
[0064] The first test data and the second test data are 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.
[0065] The first test head and the second test head are both planar test heads, and the second test head is either black or flesh-colored, while the first test head is either black or flesh-colored. That is, the first test head is a black planar test head and the second test head is a flesh-colored planar test head; or, the first test head is a flesh-colored planar test head and the second test head is a black planar test head.
[0066] In this embodiment, two sets of test data corresponding to two different types of test heads can be obtained by testing a first test head. The first test head is a planar test head. When the display screen presents a first light spot within the fingerprint detection area and illuminates the first test head, the first test data can be directly or indirectly obtained. By performing first data processing on the first test data, second test data corresponding to a second test head of a different color from the first test head can be obtained. The second test head is also a planar test head. The first and second test data can be used to generate fingerprint background data.
[0067] 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 is test data corresponding to the first test head, such as test data corresponding to a black plane test head or a flesh-colored plane test head.
[0068] In step 230, the first test head need not be replaced with a second test head of a different color than the first test head. By performing the first data processing on the first test data, second test data corresponding to the second test head can be obtained. The second test data is test data corresponding to the second test head of a different color than the first test head, for example, test data corresponding to a flesh-colored flat surface test head or a black flat surface test head.
[0069] It can be seen that by testing the first test head and processing the first test data, the second test data corresponding to the second test head is obtained. The test data corresponding to the two planar test heads can be obtained using only one planar test head, which eliminates the use of the second test head in the testing process, avoids the time-consuming operations such as frequent replacement of the test head, and improves the testing efficiency of the fingerprint detection device.
[0070] In one implementation, in step 230 , performing first data processing on the first test data includes: performing first data processing on the first test data according to a coefficient matrix.
[0071] 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 first test head.
[0072] Before testing begins, this coefficient matrix can be calculated in advance. During testing, this coefficient matrix is used to process the first test data obtained when the first light spot illuminates the first test head, thereby obtaining the second test data corresponding to the second test head. This eliminates the need for the second test head during actual testing, allowing the first test data corresponding to the first test head and the second test data corresponding to the second test head to be obtained using only the first test head.
[0073] The following describes how to calculate this coefficient matrix.
[0074] The test data HF of the first 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 first 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.
[0075] 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.
[0076] For example, taking 9 pixels as an example, the test data HF of the first test head at high brightness or high exposure time, the test data LF of the first 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:
[0077]
[0078]
[0079]
[0080]
[0081] The coefficient corresponding to each pixel is the ratio of the test data corresponding to the pixel position of the second test head to the test data corresponding to the pixel position of the first 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:
[0082]
[0083]
[0084]
[0085] When testing the fingerprint detection device, when first test data HF and LF corresponding to the first test head are collected, second test data HB and LB corresponding to the second test head can be determined as HB=HF*Ratio and LB=LF*Ratio, respectively.
[0086] 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 first test head under high brightness or high exposure time, the test data LF of the first 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.
[0087] Of course, the first test data can also be obtained based on the second test data using the coefficient matrix. In this case, the coefficient matrix is the ratio between the test data collected by the fingerprint detection device when the first light spot illuminates the first test head and the test data collected by the fingerprint detection device when the first light spot illuminates the second test head, for example, Ratio' = HF / HB, Ratio' = LF / LB, or Ratio = (HF / HB + LF / LB) / 2. In this case, HF = HB*Ratio', and LF = LB*Ratio'.
[0088] The first test data may, for example, include: 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. The first brightness is greater than the second brightness, and the first exposure time is greater than the second exposure time. Using the first test data collected at high brightness or high exposure time, and low brightness or low exposure time, fingerprint background data can be generated for use in subsequent fingerprint detection, thereby filtering out unnecessary background information from the data collected by the fingerprint detection device.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] In one implementation, the testing method 200 further includes: when it is determined that 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.
[0093] The method 200 is described in detail below for two cases: the first light spot is a light spot with a single brightness; and the first light spot includes regions with different brightnesses.
[0094] Case 1
[0095] The first light spot is a light spot with a single brightness, such as a circular light spot, a rectangular light spot, etc.
[0096] At this point, in step 220, when the first light spot illuminates the first test head, the data collected by the fingerprint detection device is the first test data, i.e., the test data corresponding to the flat test head of one color. After performing the first data processing on the first test data, the test data corresponding to the second test head is obtained, i.e., the test data corresponding to the flat test head of another color. In this way, the test data corresponding to the black flat test head and the flesh-colored flat test head are obtained.
[0097] The test data corresponding to the 3D test head can be obtained in the following two ways.
[0098] In one implementation, Figure 3 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.
[0099] In step 240 , it is determined that the third test head is located within the fingerprint detection area.
[0100] The third test head includes a three-dimensional stripe pattern and is flesh-colored. For example, the third test head is Figure 1 The 3D test head shown in .
[0101] In step 250, when the first light spot illuminates the third test head, third test data collected by the fingerprint detection device is obtained. The third 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 brightness areas.
[0102] In this embodiment, dual test heads, namely a first test head and a third test head, are used to test the fingerprint detection device. The first test head is a planar test head and the third test head is a 3D test head. In step 220, when the first light spot irradiates the first test head, first test data corresponding to the first test head is obtained. In step 230, the first test data is processed first to obtain second test data corresponding to the second test head. In step 250, when the first light spot irradiates the third test head, third test data corresponding to the third test head is obtained. In this way, by using a planar test head and a 3D test head, test data corresponding to two planar test heads of different colors and test data corresponding to the 3D test head can be obtained, which significantly improves the test efficiency and does not affect the test results.
[0103] For example, Figure 4 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 4 In the example, the first test head is a black plane test head, the second test head is a flesh-colored plane test head, and the third test head is a 3D test head. The display screen presents a first light spot of a single brightness, such as a circular light spot.
[0104] First, the first test head is mechanically pressed within 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. 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 according to the coefficient matrix 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.
[0105] Secondly, replace the test head, replace the first test head with a third test head, and have the third test head mechanically press in the fingerprint detection area to test the third test head, including collecting third test data under high brightness or high exposure time and low brightness or low exposure time.
[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 test data and the first test data. In another example, based on the third 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] Similarly, step 240 and step 250 may also be performed before step 210 to step 230. For example, Figure 4 Alternatively, the third 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 then the first test head may be tested, 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. Specifically, according to the coefficient matrix, 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 subjected to first data processing 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.
[0108] from Figure 4 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.
[0109] In another implementation, Figure 5 As shown, the testing method 200 may further include step 260 .
[0110] In step 260, the display screen is controlled to present a second light spot in the fingerprint detection area, and when the second light spot illuminates the first test head, third test data collected by the fingerprint detection device is obtained.
[0111] The second light spot includes different brightness areas, such as a striped light spot with alternating light and dark areas. The third 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 brightness areas.
[0112] In this embodiment, the second light spot includes areas of different brightness. By controlling the display screen to present light spots with different brightness areas and irradiating the first test head, i.e., the planar test head, the test effect of the 3D test head under the illumination of a light spot of a single brightness is simulated. This can further eliminate the use of the 3D test head in the test process, avoid the time-consuming operations such as frequent replacement of the test head, and improve the test efficiency of the fingerprint detection device.
[0113] The refractive indices of the raised and recessed portions of the 3D test head surface are different. When the 3D test head presses the fingerprint detection area, the refractive index of the raised portion is the refractive index of the 3D test head material itself, while the refractive index of the recessed portion is the refractive index of the air gap. Therefore, when a first light spot of a single brightness illuminates the 3D test head, the amount of light signal returned by the 3D test head corresponding to the raised and recessed portions is different. Similarly, for the second light spot, since it has areas of different brightness, when the second light spot illuminates the planar test head, the amount of light signal returned by the parts of the planar test head corresponding to the different brightness areas is also different. It can be seen that using a second light spot with different brightness areas to illuminate the planar test head can achieve the same test effect as when using a first light spot of a single brightness to illuminate the 3D test head. Typically, a 3D test head is a stripe with alternating concave and convex areas. To simulate the test effect of a 3D test head, the second light spot can be a stripe with alternating light and dark areas.
[0114] It can be seen that by controlling the display screen to present a second light spot with different brightness areas and irradiating the flat test head to simulate the test effect of the 3D test head under the illumination of a light spot with a single brightness, the application of the 3D test head in the test process can be eliminated, and the time-consuming operations such as frequent replacement of the test head can be avoided, thereby improving the test efficiency of the fingerprint detection device.
[0115] For example, Figure 6 As shown, taking the example of a first test head being a black plane test head, a second test head being a flesh-colored test head, and a third test head being a 3D test head, and using only the first test head to test the fingerprint detection device, the display screen can sequentially present a first light spot of a single brightness and a second light spot of varying brightness.
[0116] First, the display screen is controlled to present a circular light spot. A first test head is mechanically pressed within the fingerprint detection area to test the first test head, including calibrating the exposure time, 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.
[0117] According to the coefficient matrix, first test data corresponding to high brightness or high exposure time and first test data corresponding to low brightness or low exposure time are respectively processed by first data processing 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.
[0118] Secondly, the display screen is controlled to present light spots with alternating bright and dark stripes. The third test head is mechanically pressed in the fingerprint detection area to test the third test head, including collecting third test data under high brightness or high exposure time.
[0119] 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 test data and the first test data. In another example, the imaging distance of the fingerprint detection device and the difference in the fingerprint detection device's response to bright and dark stripes are determined based on the third test data 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.
[0120] Similarly, step 260 may also be performed before steps 210 to 230. For example, Figure 5 Alternatively, the display screen may be controlled to present striped light spots to obtain test data corresponding to the third test head, and then the first test head may be tested to obtain the second test head and test data corresponding to the second test head.
[0121] from Figure 6 It can be seen that the test of the fingerprint detection device was completed by using only the first test head, i.e., the black plane test head, without using the flesh-colored plane test head and the 3D test head, which significantly improves the test efficiency and does not affect the test results.
[0122] Case 2
[0123] The first light spot includes areas with different brightness. For example, the first light spot is a striped light spot with alternating bright and dark areas.
[0124] In one implementation, Figure 7 As shown, step 220 may include step 221 and step 222.
[0125] In step 221, when the first light spot illuminates the first test head, third test data collected by the fingerprint detection device is obtained.
[0126] In step 222 , second data processing is performed on the third test data to remove information of different brightness areas in the third test data to obtain first test data.
[0127] Since the first light spot includes different brightness areas, Figure 7 As shown, in step 221, when the first light spot illuminates the first test head, the fingerprint detection device collects data corresponding to the third test head, namely, the 3D test head. In step 222, the third first test data is subjected to the second data processing to obtain the test data corresponding to the first test head. In step 230, the first test data is subjected to the first data processing to obtain the test data corresponding to the second test head, which has a different color from the first test head. In this way, by testing the first test head, test data corresponding to the 3D test head, the black plane test head, and the flesh-colored plane test head can be obtained.
[0128] It can be seen that by controlling the display screen to present a first light spot with different brightness areas and irradiating the first test head, i.e., a flat test head, to simulate the test effect of a 3D test head under the illumination of a light spot with a single brightness, the use of the 3D test head in the test process can be eliminated. The third test data corresponding to the 3D test head is subjected to second data processing, and the information of the different brightness areas in the third test data is removed, so as to obtain the first test data corresponding to the first test head. Furthermore, the first test data is subjected to first data processing to obtain test data corresponding to a second test head having a different color from the first test head, and the use of the second test head in the test process is also eliminated. It can be seen that the test of the fingerprint detection device can be completed using only the first test head, which avoids the time-consuming operations such as frequent replacement of the test head and improves the test efficiency of the fingerprint detection device.
[0129] The second 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.
[0130] Figure 8 FIG. 4 shows a process of removing the stripe information of the stripe pattern in the third test data. Specifically, as Figure 8 As shown in (a), the first data processing is performed on the third test data, including: performing frequency domain transformation on the third test data; performing two-dimensional low-pass filtering on the third test data obtained after the frequency domain transformation to remove the stripe information of the stripe pattern in the third test data; and performing inverse frequency domain transformation on the third test data after removing the stripe information to obtain the first test data.
[0131] Or, as Figure 8 As shown in (b), the first data processing is performed on the third test data, including: performing frequency domain transformation on the third test data; performing two-dimensional band-stop filtering on the third test data obtained after the frequency domain transformation to remove the stripe information of the stripe pattern in the third test data; and performing inverse frequency domain transformation on the third test data after removing the stripe information to obtain the first test data.
[0132] Or, as Figure 8 As shown in (c) of FIG. 1 , first data processing is performed on the third test data, including: rotating the third 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 third test data to remove stripe information in the stripe pattern in the third test data to obtain the first test data. For example, moment matching processing is performed according to the following formula:
[0133]
[0134] Among them, Y j is the j-th row data after calibration, X j is the jth 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.
[0135] Or, as Figure 8 As shown in (d) of FIG, first data processing is performed on the third test data, including: performing fringe extraction and filling processing on the third test data to remove fringe information from the fringe pattern in the third test data to obtain first 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.
[0136] For example, Figure 9 As shown, the first test head is a black plane test head, the second test head is a flesh-colored plane test head, and the third test head is a 3D test head. Only the first test head is used to test the fingerprint detection device. The display screen presents light spots with alternating bright and dark stripes.
[0137] 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 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.
[0138] Secondly, after performing the second data processing on the third test data corresponding to high brightness or high exposure time, and the third test data corresponding to low brightness or low exposure time, the stripe information in the third test data is removed to obtain 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.
[0139] Next, according to the first test data HF and LF, and the coefficient matrix Ratio, the second test data can be obtained, that is, HB=HF*Ratio and LB=LF*Ratio.
[0140] 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 test data and the first test data. In another example, based on the third 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.
[0141] from Figure 9 It can be seen that the test of the fingerprint detection device was completed by using only the first test head, i.e., the black plane test head, without using the flesh-colored plane test head and the 3D test head, which significantly improves the test efficiency and does not affect the test results.
[0142] The above example uses a black plane test head as the first test head. In actual testing, a flesh-colored plane test head can also be tested to obtain the third test data corresponding to the 3D test head, the first test data corresponding to the flesh-colored plane test head, and the second test data corresponding to the black plane test head. Figure 5 、 Figure 6 and Figure 9 The first test head in the test apparatus is replaced by the second test head, and the fingerprint detection device can also be tested.
[0143] It should be understood that the embodiment of the present application does not limit the actual shape of the black plane test head. Any device that can form a black plane covering the fingerprint detection area can be used as a black test head. For example, the black plane test head can be Figure 1 、 Figure 4 、 Figure 6 and Figure 9 The black three-dimensional square shown in the figure can be placed in the fingerprint detection area of the display screen, with the black surface of the test head facing the fingerprint detection device, so that the fingerprint detection device can collect test data corresponding to the black test head.
[0144] Alternatively, the black plane test head can also be a light shielding device such as a small black box, thereby creating a darkroom environment and testing the fingerprint detection device in the darkroom environment. Figure 6 and Figure 9 In this embodiment, the first test head can be removed and replaced with a darkroom environment to achieve similar detection results. In this case, the small black box or other device used to create the darkroom environment serves as the first test head. The details of the darkroom testing process can be found in the description of the test method 200 above and are not repeated here for the sake of brevity.
[0145] Combined with the above Figures 2 to 9 The test method of the fingerprint detection device of the embodiment of the present application is described below. Figure 10 and Figure 10 The test device of the embodiment of the present application is described. The specific details and corresponding beneficial effects of the test device can be referred to the above description of the test method 200.
[0146] like Figure 10 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:
[0147] A determining unit 310 is configured to determine that a first test head is located within the fingerprint detection area, where the first test head is a planar test head;
[0148] a detection unit 320, configured to control the display screen to present a first light spot in the fingerprint detection area, and to obtain first test data when the first light spot illuminates the first test head;
[0149] The processing unit 330 is configured to perform data processing on the first test data to convert the first test data into second test data corresponding to a second test head having a different color from the first test head, wherein the first test data and the second test data are used to generate fingerprint background data, wherein the second test head is a planar test head, and the color of the second test head is one of black and flesh-colored, and the color of the first test head is the other of black and flesh-colored.
[0150] By testing the first test head, the testing device 300 can obtain two sets of test data corresponding to two different types of test heads, wherein the first test head is a planar test head. When the display screen presents a first light spot in the fingerprint detection area and illuminates the first test head, the first test data can be obtained directly or indirectly. By performing first data processing on the first test data, second test data corresponding to a second test head having a different color from the first test head can be obtained. The second test head is also a planar test head. The first test data and the second test data can be used to generate fingerprint background data. It can be seen that by testing the first test head and processing the obtained first test data to obtain the second test data corresponding to the second test head, the test data corresponding to the two planar test heads can be obtained using only one planar test head, eliminating the use of the second test head in the test process, avoiding the time-consuming operation of frequently replacing the test head, and improving the test efficiency of the fingerprint detection device.
[0151] In one implementation, the processing unit 330 is specifically used to perform the first data processing on the first 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 first test head.
[0152] In one implementation, the first light spot is a light spot of a single brightness. The detection unit 320 is further configured to control the display screen to present a second light spot within the fingerprint detection area, and when the second light spot illuminates the first test head, obtain third test data collected by the fingerprint detection device, wherein the second light spot includes regions of different brightness, and the third test data is used to test the imaging distance of the fingerprint detection device and the difference in the fingerprint detection device's response to the regions of different brightness.
[0153] In one implementation, the first light spot is a light spot of a single brightness. The determination unit 310 is further configured to determine that a third test head is located within the fingerprint detection area, the third test head including a three-dimensional stripe pattern and being flesh-colored. The detection unit 320 is further configured to obtain third test data collected by the fingerprint detection device when the first light spot illuminates the third test head. The third 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 the different brightness areas.
[0154] In one implementation, the first light spot includes regions of different brightness. The detection unit 320 is specifically configured to obtain third test data collected by the fingerprint detection device when the first light spot illuminates the first test head. The processing unit 330 is further configured to perform second data processing on the third test data to remove information of the regions of different brightness from the third test data to obtain the first test data.
[0155] In one implementation, the second 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.
[0156] In one implementation, the first test data includes: test data collected by the fingerprint detection device when the first light spot irradiates 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 irradiates 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.
[0157] 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.
[0158] In one implementation, the detection unit 320 is further used to, when determining that 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.
[0159] like Figure 11 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.
[0160] 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.
[0161] 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.
[0162] 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.
[0163] 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.
[0164] 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 in the fingerprint detection area, wherein the first test head is a planar test head; controlling the display screen to present a first light spot in the fingerprint detection area, and acquiring first test data when the first light spot illuminates the first test head; Performing first data processing on the first test data to convert the first test data into second test data corresponding to a second test head having a different color from the first test head, the first test data and the second test data being used to generate fingerprint background data, wherein the second test head is a planar test head, and the color of the second test head is one of black and flesh-colored, and the color of the first test head is the other of black and flesh-colored.
2. The testing method according to claim 1, wherein: The performing first data processing on the first test data includes: The first data processing is performed on the first 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 first test head.
3. The testing method according to claim 1, wherein: The first light spot is a light spot of single brightness, and the testing method further includes: Determining that a third test head is located within the fingerprint detection area, the third test head includes a three-dimensional stripe pattern, and the third test head is flesh-colored; When the first light spot irradiates the third test head, third test data collected by the fingerprint detection device is obtained, and the third 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 brightness areas.
4. The testing method according to claim 1, wherein: The first light spot is a light spot of single brightness, and the testing method further includes: Control the display screen to present a second light spot in the fingerprint detection area, and obtain third test data collected by the fingerprint detection device when the second light spot illuminates the first test head, wherein the second light spot includes different brightness areas, and the third test data is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to the different brightness areas.
5. The testing method according to claim 1, wherein: The first light spot includes regions of different brightness. When the first light spot irradiates the first test head, obtaining first test data collected by the fingerprint detection device includes: When the first light spot irradiates the first test head, obtaining third test data collected by the fingerprint detection device; The second data processing is performed on the third test data to remove information of the different brightness areas in the third test data to obtain the first test data.
6. The testing method according to claim 5, characterized in that: The second 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.
7. The testing method according to any one of claims 1 to 6, 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.
8. The testing method according to claim 7, 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.
9. The testing method according to any one of claims 1 to 6, characterized in that: The test method further comprises: When it is determined that 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.
10. 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, wherein the first test head is a planar test head; a detection unit, configured to control the display screen to present a first light spot in the fingerprint detection area, and to obtain first test data when the first light spot illuminates the first test head; a processing unit, configured to perform first data processing on the first test data to convert the first test data into second test data corresponding to a second test head having a different color from the first test head, wherein the first test data and the second test data are used to generate fingerprint background data, wherein the second test head is a planar test head, and the color of the second test head is one of black and flesh-colored, and the color of the first test head is the other of black and flesh-colored.
11. The testing device according to claim 10, characterized in that: The processing unit is specifically used to perform the first data processing on the first 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 first test head.
12. The testing device according to claim 10, characterized in that: The first light spot is a light spot with a single brightness. The determining unit is further configured to determine that a third test head is located within the fingerprint detection area, the third test head includes a three-dimensional stripe pattern, and the third test head is flesh-colored; The detection unit is further configured to obtain third test data collected by the fingerprint detection device when the first light spot illuminates the third test head, wherein the third 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 brightness areas.
13. The testing device according to claim 10, characterized in that The first light spot is a light spot with a single brightness. The detection unit is further configured to control the display screen to present a second light spot within the fingerprint detection area, and to obtain third test data collected by the fingerprint detection device when the second light spot illuminates the first test head, wherein the second light spot includes areas of different brightness, and the third test data is used to test the imaging distance of the fingerprint detection device and the response difference of the fingerprint detection device to the areas of different brightness.
14. The testing device according to claim 10, characterized in that The first light spot includes regions of different brightness, and the detection unit is specifically configured to: When the first light spot irradiates the first test head, obtaining third test data collected by the fingerprint detection device; The processing unit is further configured to perform second data processing on the third test data to remove information of the different brightness regions in the third test data to obtain the first test data.
15. The testing device according to claim 14, characterized in that: The second 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.
16. The testing device according to any one of claims 10 to 15, 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.
17. The testing device according to claim 16, 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.
18. The testing device according to any one of claims 10 to 15, characterized in that The detection unit is further configured to, when determining that 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.
19. 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 9.
Citation Information
Patent Citations
Fingerprint detection device and method and electronic equipment
CN110647862A
Method and device for detecting distance between display screen and fingerprint sensor and display screen
CN111523523A