Fingerprint identification interface test method, device and equipment and nonvolatile storage medium
By automatically testing the pin response and data transmission functions of the fingerprint recognition interface, the problems of low testing efficiency and privacy leakage of computer fingerprint recognition interface in the prior art are solved, and efficient and accurate fingerprint recognition interface testing is achieved.
Patent Information
- Application Number
- CN202411170871.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-03
AI Technical Summary
In the prior art, the testing efficiency of the computer fingerprint recognition interface is low, and fingerprints are manually entered and there is a risk of privacy leakage. The testing cost is high, the accuracy is poor, and the test standards cannot be guaranteed to be consistent.
Provide a fingerprint recognition interface testing method and device, control the fingerprint recognition interface testing device through the motherboard under test, and automatically test the pin response and data transmission functions of the fingerprint recognition interface, without the need for original fingerprint recognition module and manual fingerprint entry, and use test The controller and switch circuit simulate switch actions, intercept shutdown instructions, and record and store test logs.
It realizes automated testing of the fingerprint recognition interface, improves testing efficiency and accuracy, reduces costs, eliminates the risk of fingerprint leakage for testers, and ensures consistency of test standards.
Smart Images

Figure CN119065911A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of testing technology, and in particular to a fingerprint recognition interface testing method, device, equipment and non-volatile storage medium. Background Art
[0002] For the functional test of the fingerprint recognition interface of the computer, the original fingerprint recognition module needs to be installed on the fingerprint recognition interface of the computer motherboard, and then the tester who has previously entered the fingerprint on the computer enters the fingerprint through the original fingerprint recognition module. If the computer can be started normally and enter the operating system, it is determined that there is no problem with the fingerprint recognition interface. However, this process requires manual fingerprint entry, and there is a risk of the tester leaking the fingerprint privacy, which makes the test efficiency low.
[0003] How to improve the testing efficiency of the fingerprint recognition interface of a computer is a technical problem that those skilled in the art need to solve. Summary of the invention
[0004] The purpose of the present invention is to provide a fingerprint recognition interface testing method, device, equipment and non-volatile storage medium, which are used to improve the testing efficiency of the fingerprint recognition interface of a computer.
[0005] In order to solve the above technical problems, the present invention provides a fingerprint recognition interface testing method, which is applied to a motherboard under test, and comprises:
[0006] After the test board interface of the fingerprint recognition interface test device is connected to the fingerprint recognition interface under test of the mainboard under test, a start test instruction is sent to the test controller of the fingerprint recognition interface test device, so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test;
[0007] Performing a data transmission function test through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface testing device;
[0008] If the fingerprint recognition interface under test passes the pin response function test and the data transmission function test, it is determined that the fingerprint recognition interface under test passes the test;
[0009] If the fingerprint recognition interface under test fails the pin response function test or the data transmission function test, it is determined that the fingerprint recognition interface under test fails the test.
[0010] On the one hand, sending a start test instruction to the test controller of the fingerprint recognition interface test device so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test, including:
[0011] The start test instruction is sent to the test controller, so that the test controller performs a power switch pin test, a power supply voltage pin test and a power supply pin test on the fingerprint recognition interface under test.
[0012] On the other hand, performing a data transmission function test through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface testing device includes:
[0013] The data transmission function test is performed on the universal serial bus link of the tested fingerprint recognition interface and the universal asynchronous receiver / transmitter link of the tested fingerprint recognition interface through the first universal serial bus pin of the test board interface and the first universal asynchronous receiver / transmitter pin of the test board interface.
[0014] On the other hand, the data transmission function test is performed on the universal serial bus link of the fingerprint recognition interface under test and the universal asynchronous receiver / transmitter link of the fingerprint recognition interface under test through the first universal serial bus pin of the test board interface and the first universal asynchronous receiver / transmitter pin of the test board interface, including:
[0015] The data transmission function test is performed on the universal serial bus link and the universal asynchronous receiver-transmitter link through a data loop formed by the universal serial bus link, the first universal serial bus pin, the test controller, the first universal asynchronous receiver-transmitter pin and the universal asynchronous receiver-transmitter link.
[0016] On the other hand, the data transmission function test is performed on the universal serial bus link and the universal asynchronous receiver transmitter link through a data loop formed by the universal serial bus link, the first universal serial bus pin, the test controller, the first universal asynchronous receiver transmitter pin and the universal asynchronous receiver transmitter link, including:
[0017] Generate a first check code according to first data transmission test data;
[0018] Sending the first data transmission test data through the first end of the data loopback;
[0019] If second data transmission test data is received from the second end of the data loop, generating a second check code according to the second data transmission test data;
[0020] If the second check code is consistent with the first check code, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link pass the data transmission function test;
[0021] If the second check code is inconsistent with the first check code or the second data transmission test data is not received, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link have failed the data transmission function test.
[0022] On the other hand, it also includes:
[0023] After the test board interface is connected to the fingerprint recognition interface under test, a shutdown command from the power switch of the mainboard under test is intercepted, a corresponding shutdown event is recorded and the shutdown event is stored in a shutdown event waiting queue;
[0024] Taking out the shutdown event from the shutdown event waiting queue and sending it to the test controller, so that the test controller records the shutdown event;
[0025] After completing the test of the fingerprint recognition interface under test, the shutdown event waiting queue is destroyed.
[0026] On the other hand, after the test board interface of the fingerprint recognition interface test device is connected to the fingerprint recognition interface under test of the mainboard under test, a start test instruction is sent to the test controller of the fingerprint recognition interface test device, so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test, including:
[0027] After the test board interface is connected to the fingerprint recognition interface under test, a shutdown command from the power switch of the mainboard under test is intercepted, a corresponding shutdown event is recorded and the shutdown event is stored in a shutdown event waiting queue;
[0028] Sending the start test instruction to the test controller, so that the test controller performs a power switch pin test, a power supply voltage pin test and a power supply pin test on the fingerprint recognition interface under test;
[0029] The test controller performs the power switch pin test on the fingerprint recognition interface under test, including: the test controller triggers the switch action of the switch circuit of the fingerprint recognition interface test device to trigger the power pin of the fingerprint recognition interface under test to be powered on and off;
[0030] The test controller performs a power supply voltage pin test on the fingerprint recognition interface under test, including: the test controller controls the level trigger pin of the test board interface to set the power supply voltage pin of the fingerprint recognition interface under test to different level states and tests the stability of the power supply voltage of the fingerprint recognition interface under test;
[0031] The test controller performs a power supply pin test on the fingerprint recognition interface under test, including: the test controller detects the working states of the power supply pin of the fingerprint recognition interface under test and the ground pin of the fingerprint recognition interface under test;
[0032] The data transmission function test is performed through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface test device, including:
[0033] Generate a first check code according to first data transmission test data;
[0034] Transmit the first data transmission test data through a data loop formed by a universal serial bus link of the tested fingerprint recognition interface, a first universal serial bus pin of the test board interface, a first universal asynchronous receiver-transmitter pin of the test board interface and a universal asynchronous receiver-transmitter link of the tested fingerprint recognition interface;
[0035] If second data transmission test data is received from the second end of the data loop, generating a second check code according to the second data transmission test data;
[0036] If the second check code is consistent with the first check code, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link pass the data transmission function test;
[0037] If the second check code is inconsistent with the first check code or the second data transmission test data is not received, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link have failed the data transmission function test.
[0038] In order to solve the above technical problems, the present invention also provides a fingerprint recognition interface test device, comprising: a test controller, a switch circuit and a test board interface;
[0039] The test controller is connected to a first end of the test board interface, and a second end of the test board interface is used to connect to a fingerprint recognition interface of a mainboard under test;
[0040] The test board interface is provided with a first level trigger pin, a first data pin and a first power pin, and the first level trigger pin, the first data pin and the first power pin are used to correspond to the pins of the fingerprint recognition interface under test of the mainboard under test;
[0041] The controlled end of the switch circuit is connected to the test controller, and the output end of the switch circuit is connected to the input end of the first level trigger pin;
[0042] The test controller is used to control the first level trigger pin to trigger the startup of the fingerprint recognition interface under test and perform a pin response function test on the fingerprint recognition interface under test after receiving the startup test instruction of the tested mainboard, and perform a data transmission function test on the data link of the fingerprint recognition interface under test through the first data pin.
[0043] In order to solve the above technical problems, the present invention also provides a fingerprint recognition interface testing device, comprising:
[0044] Memory for storing computer programs;
[0045] The processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the fingerprint recognition interface testing method as described in any one of the above items are implemented.
[0046] To solve the above technical problem, the present invention further provides a non-volatile storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the fingerprint recognition interface testing method as described in any one of the above items are implemented.
[0047] The fingerprint recognition interface test method provided by the present invention has the beneficial effect of using the tested mainboard to control the fingerprint recognition interface test device connected to the tested fingerprint recognition interface of the tested mainboard to test the fingerprint recognition interface of the computer, sending a start test instruction to the test controller of the fingerprint recognition interface test device through the tested mainboard, so that the test controller triggers the start of the tested fingerprint recognition interface and performs a pin response function test on the tested fingerprint recognition interface; performs a data transmission function test through the data link of the tested fingerprint recognition interface and the data link of the fingerprint recognition interface test device; if the tested fingerprint recognition interface passes the pin response function test and the data transmission function test, it is determined that the tested fingerprint recognition interface passes the test; if the tested fingerprint recognition interface fails the pin response function test or the data transmission function test, it is determined that the tested fingerprint recognition interface fails the test. The test process can test whether the fingerprint recognition interface can work normally, and there is no need to use the original fingerprint recognition module or manually enter the fingerprint, eliminating the risk of leaking the tester's fingerprint, and automatically realizes the test throughout the process, thereby improving the test efficiency of the fingerprint recognition interface of the computer.
[0048] The present invention also provides a fingerprint recognition interface test device, equipment and non-volatile storage medium, which have the above-mentioned beneficial effects and are not described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A schematic diagram of the structure of a fingerprint recognition interface testing device provided by an embodiment of the present invention;
[0051] Figure 2 A circuit diagram of a fingerprint recognition interface link;
[0052] Figure 3 A circuit diagram of a test board controller provided by an embodiment of the present invention;
[0053] Figure 4 A flow chart of a fingerprint recognition interface testing method provided by an embodiment of the present invention;
[0054] Figure 5 A flowchart of another fingerprint recognition interface testing method provided by an embodiment of the present invention;
[0055] Figure 6 A schematic structural diagram of a fingerprint recognition interface testing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The core of the present invention is to provide a fingerprint recognition interface test method, device, equipment and non-volatile storage medium, which are used to improve the test efficiency of the fingerprint recognition interface of a computer.
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] In the computer manufacturing process, each board must undergo a function check test (FCT) before leaving the factory to ensure the reliability of its basic functions. With the increase in data storage needs and the continuous improvement of computing power, the demand for computers has increased dramatically, making the detection of fingerprint recognition interfaces on computer motherboards an indispensable and important functional test item in the function check test. This test ensures the accuracy and reliability of the fingerprint recognition function, providing users with a safer and more convenient user experience.
[0059] The test of the fingerprint recognition interface on the computer motherboard is usually performed in the early stage of the functional inspection test. In the relevant technology, the tester needs to use the original fingerprint recognition module to connect to the fingerprint recognition interface under test, manually touch the original fingerprint recognition module, trigger the fingerprint recognition function, observe the feedback of the original fingerprint recognition module and whether the tested motherboard is successfully powered on and enters the operating system, so as to determine whether the function of the fingerprint recognition interface is normal. However, since the original fingerprint recognition module is expensive and easily damaged after multiple plugging and unplugging, the test cost of the fingerprint recognition interface is very high, which also causes some models not to test the fingerprint recognition interface, bringing hidden dangers to product quality. The current test scheme requires two power on and off to verify the function of the power button (Power Button, PWRBTN) of the fingerprint recognition interface. If the fingerprint recognition interface supports multiple data links, it is also necessary to switch different types of original fingerprint recognition modules to verify the functions separately. And due to the different hand conditions of the tester and the test environment, there are often problems of misjudgment or operational errors. During the test, the tester needs to manually enter the fingerprint and identify it. When the tester is replaced, it needs to re-enter. At the same time, some testers are unwilling to have their personal information collected and are unwilling to enter fingerprints, resulting in the inability to test. Moreover, the test results are completely dependent on the judgment of the testers, and there is no guarantee that the test standards are consistent. The original fingerprint recognition module does not provide an information output interface and cannot generate corresponding test logs.
[0060] It can be seen that in the related art, when testing the fingerprint recognition interface of a computer, the test is time-consuming, costly, and has low accuracy.
[0061] To solve the above problems, an embodiment of the present invention provides a fingerprint recognition interface test scheme, which uses a tested mainboard to control a fingerprint recognition interface test device connected to the tested fingerprint recognition interface of the tested mainboard to test the fingerprint recognition interface of the computer, and sends a start test instruction to the test controller of the fingerprint recognition interface test device through the tested mainboard, so that the test controller triggers the start of the tested fingerprint recognition interface and performs a pin response function test on the tested fingerprint recognition interface; the data link of the tested fingerprint recognition interface and the data link of the fingerprint recognition interface test device are used to perform a data transmission function test; if the tested fingerprint recognition interface passes the pin response function test and the data transmission function test, it is determined that the tested fingerprint recognition interface passes the test; if the tested fingerprint recognition interface fails the pin response function test or the data transmission function test, it is determined that the tested fingerprint recognition interface fails the test. This test process can test whether the fingerprint recognition interface can work normally, and there is no need to use the original fingerprint recognition module or manually enter the fingerprint, eliminating the risk of leaking the tester's fingerprint, and the test is automatically implemented throughout the process, which improves the test efficiency of the computer's fingerprint recognition interface.
[0062] Figure 1A schematic diagram of the structure of a fingerprint recognition interface testing device provided by an embodiment of the present invention; Figure 2 A circuit diagram of a fingerprint recognition interface link; Figure 3 A circuit diagram of a test board controller provided in an embodiment of the present invention.
[0063] For ease of understanding, the fingerprint recognition interface testing device provided by the embodiment of the present invention is first introduced.
[0064] like Figure 1 As shown, the fingerprint recognition interface testing device 101 provided in the embodiment of the present invention includes: a test controller, a switch circuit and a test board interface.
[0065] The test controller is connected to a first end of the test board interface, and a second end of the test board interface is used to connect to a fingerprint recognition interface of the main board 102 under test.
[0066] The test board interface is provided with a first level trigger pin, a first data pin and a first power pin, and the first level trigger pin, the first data pin and the first power pin are used to correspond to the pins of the fingerprint recognition interface under test of the mainboard 102 under test.
[0067] The controlled end of the switch circuit is connected to the test controller, and the output end of the switch circuit is connected to the input end of the first level trigger pin.
[0068] The test controller is used to control the first level trigger pin to trigger the start of the fingerprint recognition interface under test and perform a pin response function test on the fingerprint recognition interface under test after receiving the startup test instruction of the tested mainboard 102, and perform a data transmission function test on the data link of the fingerprint recognition interface under test through the first data pin.
[0069] In practical applications, the pins of the fingerprint recognition interface usually include three categories: switch pins, data link pins and power supply pins.
[0070] like Figure 2 As shown in the figure, the identification interface under test is mainly composed of two modules, U2 and U3, where U2 is used for data analysis and U3 is used to connect the fingerprint identification module. Figure 1As shown in the figure, the pins of the fingerprint recognition interface under test mainly include the switch pin (PWRBTN link), the power supply voltage pin 1 (FPVCC1 link), the power supply voltage pin 2 (FPVCC2 link), the Universal Asynchronous Receiver / Transmitter (UART) link, the Universal Serial Bus (USB) link, the power supply pin (P3V3) and the ground pin (GND). Among them, the PWRBTN link includes the connection line related to the power button, which is used to trigger the shutdown or restart event. The FPVCC1 link and the FPVCC2 link are used to provide power to the fingerprint recognition module. The UART link is used to connect the test board controller and the fingerprint recognition module for data transmission. The USB link is used as an interface for communicating with external devices.
[0071] The corresponding interface link is as follows: Figure 1 As shown, in the fingerprint recognition interface test device 101 provided in the embodiment of the present invention, the first level trigger pin may include three input and output pins (IO1, IO2, IO3), wherein IO3 is connected to the PWRBTN link of the fingerprint recognition interface under test to simulate or transmit the signal of the power button. IO2 is connected to the FPVCC1 link of the fingerprint recognition interface under test, and IO1 is connected to the FPVCC2 link of the fingerprint recognition interface under test to test whether the fingerprint recognition interface under test can provide a stable power supply for the fingerprint recognition module. The first data pin may include serial port 1 and serial port 2, wherein serial port 1 is connected to the USB link of the fingerprint recognition interface under test through a serial port conversion module (UCB to serial port module) to communicate with the test board controller or other devices; serial port 2 is connected to the UART link of the fingerprint recognition interface under test to realize serial communication between the test board controller and the external device or the host computer. The first power supply pin may include a device power supply pin and a ground pin, wherein the device power supply pin is connected to the P3V3 power supply of the fingerprint recognition interface under test to provide power for the entire test system; the ground pin is connected to the ground pin of the fingerprint recognition interface under test to ensure the stability and safety of the circuit.
[0072] In the embodiment of the present invention, the test controller may be a microcontroller unit (MCU) for receiving instructions from the tested mainboard 102 and controlling other components of the fingerprint recognition interface test device 101. The interface link of the test controller may be as follows: Figure 3 As shown in U1, OSC is the clock signal pin. USART1_RX and USART1_TX are connected to serial port 1. USART2_RX and USART2_TX are connected to serial port 2. IO1, IO2, and IO3 are connected to the three input and output pins of the test board interface respectively.
[0073] The switch circuit may adopt a relay switch, which is used to simulate the switch action on the fingerprint recognition module by using the open and closed states of the relay, that is, to simulate the power on and off operation of the fingerprint recognition module.
[0074] When the fingerprint recognition interface test device 101 provided by the embodiment of the present invention is used to test the fingerprint recognition interface of the mainboard 102 under test, the test board interface is connected to the fingerprint recognition interface under test to realize the automatic test of the fingerprint recognition interface under test of the mainboard 102 under test. During the test, the mainboard 102 under test can send test instructions through the universal asynchronous receiver-transmitter link of the fingerprint recognition interface under test, and these test instructions are received and parsed by the test board controller to control the opening and closing of the relay switch circuit. By simulating the switch action on the fingerprint recognition module (i.e., the opening and closing state of the relay), the test system can automatically perform the power on and off operation test of the fingerprint recognition module, which not only improves the efficiency of the test, but also reduces the uncertainty and error caused by human operation, thereby improving the accuracy and reliability of the test.
[0075] In the fingerprint recognition interface test device 101 provided in the embodiment of the present invention, a circuit board detection mechanism is adopted, which controls the IO1 and IO2 interfaces through the test board controller to accurately detect the level signal state of the FPVCC link. During the detection process, the test board controller first pulls down the level signal of the FPVCC link to a low level state through the IO1 interface, and then detects whether the link successfully enters the low level state through an internal logic circuit or software algorithm. Once it is confirmed that the link is at a low level, the test board controller pulls up the level signal to a high level state through the IO2 interface, and monitors whether the link responds successfully and reaches a high level state again. This series of level control and detection steps can ensure the stability and reliability of the FPVCC link under different level states. If the link fails to respond correctly in any step, the test board controller can identify that the link is abnormal or faulty, and take corresponding treatment measures, such as sounding an alarm or starting a standby link.
[0076] In the fingerprint recognition interface test device 101 provided in the embodiment of the present invention, the USB link and UART link formed by the first universal serial bus pin and the first universal asynchronous receiver and transmitter pin of the test board interface are used to verify the data transmission correctness of the USB link and the UART link of the fingerprint recognition interface under test.
[0077] In the fingerprint recognition interface test device 101 provided in the embodiment of the present invention, the test board controller uses the first power pin of the test board interface to test the correctness of the power link (especially the P3V3 and GND links) of the tested fingerprint recognition interface. The test system provides power to the fingerprint recognition interface test device 101 by connecting the VCC and GND of the interface, and determines the correctness of the power link by detecting whether the fingerprint recognition interface test device 101 can be used normally.
[0078] Based on the above architecture, the fingerprint recognition interface testing method provided by the embodiment of the present invention is described below with reference to the accompanying drawings.
[0079] Figure 4 The present invention provides a flowchart of a fingerprint recognition interface testing method.
[0080] like Figure 4 As shown, the fingerprint recognition interface testing method provided by the embodiment of the present invention, applied to the tested mainboard, includes:
[0081] S401: after the test board interface of the fingerprint recognition interface test device is connected to the fingerprint recognition interface under test of the mainboard under test, a start test instruction is sent to the test controller of the fingerprint recognition interface test device, so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test;
[0082] S402: Performing a data transmission function test through a data link of the fingerprint recognition interface under test and a data link of a fingerprint recognition interface test device;
[0083] S403: If the fingerprint recognition interface under test passes the pin response function test and the data transmission function test, it is determined that the fingerprint recognition interface under test passes the test;
[0084] S404: If the fingerprint recognition interface under test fails the pin response function test or the data transmission function test, it is determined that the fingerprint recognition interface under test fails the test.
[0085] In an embodiment of the present invention, a fingerprint recognition interface test device is used to automatically test the link functions of the tested fingerprint recognition interface of the tested mainboard, effectively avoiding the uncertainty and error caused by human operation. Compared with the traditional manual testing method, automated testing not only greatly improves the test efficiency, but also significantly improves the accuracy and reliability of the test. By simulating the switching action of the fingerprint recognition module, the system can automatically perform the power-on and power-off operation test to ensure the stability and reliability of the tested mainboard in terms of the tested fingerprint recognition interface.
[0086] In the embodiment of the present invention, the link function of the fingerprint recognition interface under test is mainly divided into two types of tests: pin response function test and data transmission function test. The pin response function test is used to test whether the pin of the fingerprint recognition interface under test can respond normally. The data transmission function test is used to test whether the fingerprint recognition interface under test can transmit data correctly.
[0087] In some optional implementations of the embodiments of the present invention, in S401, a start test instruction is sent to a test controller of a fingerprint recognition interface test device so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test, which may include: sending a start test instruction to the test controller so that the test controller performs a power switch pin test, a power supply voltage pin test and a power supply pin test on the fingerprint recognition interface under test.
[0088] With reference to the fingerprint recognition interface test device introduced in the above embodiment of the present invention, the data input and output interface of the test board controller can be used to accurately detect the level signal state of the FPVCC link of the fingerprint recognition interface under test. Through the IO1 and IO2 interfaces, the test board controller can control the level state of the FPVCC link, and detect whether the link responds successfully through the internal logic circuit or software algorithm. This precise detection mechanism can ensure the stability and reliability of the FPVCC link under different level states, detect link anomalies or failures in a timely manner, and improve the stability and reliability of the system.
[0089] For S402, in an embodiment of the present invention, the data pins provided by the test board interface of the fingerprint recognition interface test device can be set according to the type of data pins of the fingerprint recognition interface to be tested. The more common links are USB links and UART links. Since some fingerprint recognition modules use USB interfaces and some fingerprint recognition modules use UART interfaces, the fingerprint recognition interfaces of current computer motherboards usually also provide corresponding data pins that are adapted to these two types of interfaces. Then the test board interface of the fingerprint recognition interface test device used in the embodiment of the present invention can also provide USB pins and UART pins.
[0090] Then S402 performs a data transmission function test through the data link of the tested fingerprint recognition interface and the data link of the fingerprint recognition interface test device, which may include: starting the corresponding data link of the fingerprint recognition interface test device to perform a data transmission function test on the tested fingerprint recognition interface according to the data link type of the tested fingerprint recognition interface. The test main board may send preset data through the data link of the tested fingerprint recognition interface and the data link of the fingerprint recognition interface test device, and the test board controller may transmit the data back to verify whether the data link of the tested fingerprint recognition interface is normal.
[0091] For S403 and S404, during the test process, the mainboard under test determines whether the fingerprint recognition interface under test has successfully passed the pin response function test and the data transmission function test based on the feedback from the test board controller and by querying the pin status of the fingerprint recognition interface under test. If passed, the information that the fingerprint recognition interface test passed can be sent to the diagnostic system of the mainboard under test to enter the subsequent test of the mainboard under test. If not passed, the result of the test failure is fed back to the diagnostic system, and the tester is prompted that the test failed, and the abnormal information is recorded in combination with the test log feedback from the test board controller.
[0092] On the basis of the above embodiments, in the fingerprint recognition interface testing method provided in the embodiments of the present invention, in S402, a data transmission function test is performed through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface testing device, and it may also include: performing a data transmission function test on the universal serial bus link of the fingerprint recognition interface under test and the universal asynchronous receiver and transmitter link of the fingerprint recognition interface under test through the first universal serial bus pin of the test board interface and the first universal asynchronous receiver and transmitter pin of the test board interface.
[0093] When the fingerprint recognition interface under test is provided with a universal serial bus link and a universal asynchronous receiver-transmitter link, a data transmission function test is performed on the universal serial bus link of the fingerprint recognition interface under test and the universal asynchronous receiver-transmitter link of the fingerprint recognition interface under test through the first universal serial bus pin of the test board interface and the first universal asynchronous receiver-transmitter pin of the test board interface. This may include: performing a data transmission function test on the universal serial bus link and the universal asynchronous receiver-transmitter link through a data loop formed by the universal serial bus link, the first universal serial bus pin, the test controller, the first universal asynchronous receiver-transmitter pin and the universal asynchronous receiver-transmitter link.
[0094] Through the data loop formed by the universal serial bus link, the first universal serial bus pin, the test controller, the first universal asynchronous receiver and transmitter pin and the universal asynchronous receiver and transmitter link, the universal serial bus link and the universal asynchronous receiver and transmitter link of the fingerprint recognition interface under test can be tested at the same time, that is, once the data transmission fails, it can be directly determined that the fingerprint recognition interface under test has failed the test without having to test the two data links separately, thereby further improving the test efficiency.
[0095] In some optional implementations of the embodiments of the present invention, a data transmission function test is performed on the universal serial bus link and the universal asynchronous receiver transmitter link through a data loop formed by a universal serial bus link, a first universal serial bus pin, a test controller, a first universal asynchronous receiver transmitter pin and a universal asynchronous receiver transmitter link, which may include: generating a first check code according to first data transmission test data; sending the first data transmission test data through a first end of the data loop; if second data transmission test data is received from a second end of the data loop, generating a second check code according to the second data transmission test data; if the second check code is consistent with the first check code, determining that the universal serial bus link and the universal asynchronous receiver transmitter link have passed the data transmission function test; if the second check code is inconsistent with the first check code or the second data transmission test data is not received, determining that the universal serial bus link and the universal asynchronous receiver transmitter link have not passed the data transmission function test.
[0096] On the basis of the above embodiments, the fingerprint recognition interface testing method provided by the embodiments of the present invention may further include: after the test board interface is connected to the fingerprint recognition interface under test, intercepting the shutdown command from the power switch of the mainboard under test, recording the corresponding shutdown event and storing the shutdown event in the shutdown event waiting queue; taking out the shutdown event from the shutdown event waiting queue and sending it to the test controller, so that the test controller records the shutdown event; after completing the test of the fingerprint recognition interface under test, destroying the shutdown event waiting queue.
[0097] Since the fingerprint recognition interface testing method provided by the embodiment of the present invention can be performed automatically, in order to avoid human error operation during the test process or the power switch on the tested mainboard being triggered due to a system failure of the tested mainboard, resulting in shutdown before completing the test of the tested fingerprint recognition interface, a function of intercepting the shutdown signal in the test process of the tested fingerprint recognition interface is added to the tested mainboard.
[0098] In the specific implementation, the tested motherboard intercepts the shutdown signal from the power switch of the tested motherboard during the execution of the newly added power-on interception function, and records the system log of the shutdown event and synchronizes it to the test board controller of the fingerprint recognition interface test device, so as to generate a more comprehensive test log for the fingerprint recognition interface test under test.
[0099] The tested motherboard first creates and initializes the shutdown event waiting queue, which will be used to store pending shutdown events to ensure that the system can process these events in an orderly manner when receiving the shutdown signal. When starting the test of the fingerprint recognition interface under test, the tested motherboard captures the query session (QUERYEND SESSION) and end session (END SESSION) messages. The query session message is usually sent before the system is ready to close the session, while the end session message is sent when the session is actually closed. By capturing these messages, the system of the tested motherboard can perceive the occurrence of the shutdown event in advance.
[0100] When the system of the tested mainboard captures a shutdown event (i.e., a query session message and an end session message), the following operations can be performed:
[0101] Destroy the shutdown event: To prevent the shutdown operation from continuing, the system will destroy the captured shutdown event; this ensures that the system will not automatically enter the shutdown process due to this event;
[0102] Synchronous feedback to the test board controller: The system synchronously feeds back the relevant information of the intercepted shutdown event to the test board controller; this information may include the time and source of the event, so that the test board controller can further process or record the test log;
[0103] Destroy the shutdown event waiting queue: After completing the above operations, the system of the tested motherboard will destroy the waiting queue created previously. This is because since the shutdown event has been processed, there is no need to store any pending events in the shutdown event waiting queue.
[0104] Through this newly added interception system function, the fingerprint recognition interface test method provided by the embodiment of the present invention can effectively prevent the execution of the shutdown signal from the power switch of the tested motherboard, and record the relevant information for subsequent analysis or processing. This not only improves the stability and reliability of the system, but also provides users with more flexibility and control.
[0105] On the basis of the above embodiments, in the fingerprint recognition interface testing method provided in the embodiments of the present invention, in S401, after the test board interface of the fingerprint recognition interface testing device is connected to the fingerprint recognition interface under test of the mainboard under test, a start test instruction is sent to the test controller of the fingerprint recognition interface testing device, so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test, which may include: after the test board interface is connected to the fingerprint recognition interface under test, intercepting a shutdown instruction from the power switch of the mainboard under test, recording the corresponding shutdown event and storing the shutdown event in a shutdown event waiting queue; sending a start test instruction to the test controller, so that the test controller performs a power switch pin test, a power supply voltage pin test and a power supply pin test on the fingerprint recognition interface under test.
[0106] The test controller performs a power switch pin test on the fingerprint recognition interface under test, which may include: the test controller triggers a switching action of a switch circuit of the fingerprint recognition interface test device to trigger power on and power off of the power pin of the fingerprint recognition interface under test.
[0107] The test controller performs a power supply voltage pin test on the fingerprint recognition interface under test, which may include: the test controller controls the level trigger pin of the test board interface to set the power supply voltage pin of the fingerprint recognition interface under test to different level states and tests the stability of the power supply voltage of the fingerprint recognition interface under test.
[0108] The test controller performs a power supply pin test on the fingerprint recognition interface under test, which may include: the test controller detects the working states of the power supply pin of the fingerprint recognition interface under test and the ground pin of the fingerprint recognition interface under test.
[0109] In S402, the data transmission function test is performed through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface test device, which may include: generating a first check code according to the first data transmission test data; transmitting the first data transmission test data through the data loop formed by the universal serial bus link of the fingerprint recognition interface under test, the first universal serial bus pin of the test board interface, the first universal asynchronous receiver and transmitter pin of the test board interface and the universal asynchronous receiver and transmitter link of the fingerprint recognition interface under test; if the second data transmission test data is received from the second end of the data loop, generating a second check code according to the second data transmission test data; if the second check code is consistent with the first check code, determining that the universal serial bus link and the universal asynchronous receiver and transmitter link have passed the data transmission function test; if the second check code is inconsistent with the first check code or the second data transmission test data is not received, determining that the universal serial bus link and the universal asynchronous receiver and transmitter link have not passed the data transmission function test.
[0110] The specific implementation of the embodiments of the present invention can refer to the description of the above embodiments.
[0111] Figure 5 A flowchart of another fingerprint recognition interface testing method provided by an embodiment of the present invention.
[0112] like Figure 5 As shown, applied to the tested mainboard, in another fingerprint recognition interface testing method provided in an embodiment of the present invention, S401 may include:
[0113] S501: Start the interception system;
[0114] S502: Send a relay switch closing instruction;
[0115] S503: Determine whether the test controller receives a signal indicating that the relay switch is closed; if yes, proceed to S504; if no, proceed to S512;
[0116] S504: Detect whether the interception system receives a shutdown signal; if yes, proceed to S505; if no, proceed to S513;
[0117] S505: Send a relay opening command and close the interception system;
[0118] S506: Check whether IO1 and IO2 are at high level; if yes, proceed to S507; if no, proceed to S514;
[0119] S507: Pull down IO1 and check whether IO2 is at a low level; if yes, proceed to S508, if no, proceed to S515;
[0120] S402 may include:
[0121] S508: Sending first data transmission test data to the test board controller through serial port 1, and generating a first check code according to the first data transmission test data;
[0122] S509: Determine whether the second verification code generated by the test board controller is received; if yes, proceed to S510; if no, proceed to S516;
[0123] S510: Compare the second verification code and the first verification code to see if they are consistent; if yes, proceed to S511; if no, proceed to S516;
[0124] S403 and S404 may include:
[0125] S511: Determine that the fingerprint recognition interface under test passes the test;
[0126] S512: Record abnormal event 0 and proceed to S517;
[0127] S513: Record abnormal event 1 and proceed to S517;
[0128] S514: Record abnormal event 2 and proceed to S517;
[0129] S515: Record abnormal event 3 and proceed to S517;
[0130] S516: Record abnormal event 4 and proceed to S517;
[0131] S517: Determine that the fingerprint recognition interface under test fails the test.
[0132] In an embodiment of the present invention, before starting the test, the motherboard system under test will first start the interception system provided by this patent to capture and intercept the shutdown command from the power switch. Subsequently, the motherboard system sends a relay closing command to the test board controller of the fingerprint recognition interface test device through ttyUSB0 (the serial port device is built-in to the fingerprint recognition interface under test). After receiving the command, the test board controller will immediately execute the operation of closing the relay and synchronously return the execution result to the motherboard system through ttyUSB0.
[0133] If the test board controller is found to be unavailable during the test, it indicates that there may be an abnormality in the power supply link. At this time, the system will record abnormality 0 and perform corresponding fault processing.
[0134] After receiving the command execution result returned by the fingerprint recognition interface test device, the mainboard system will check whether the test board controller has received the shutdown command from the interception system. If the shutdown command is detected, the next test will be continued; otherwise, the test will be terminated and the test failure result will be fed back to the diagnostic system, and the user will be prompted that the test failed and abnormality 1 will be recorded.
[0135] After the power switch status test is passed, the mainboard system will send a command to turn on the relay switch through ttyUSB0. After receiving the command, the test board controller of the fingerprint recognition interface test device will perform the operation of disconnecting the relay and return the execution result to the mainboard system through ttyUSB0.
[0136] The test board controller will then detect the level status of the IO1 and IO2 interfaces to determine whether they are high level. If the level status of any interface is not high level, the system will record exception 2 and perform corresponding processing.
[0137] Next, the test board controller will actively pull down the level of the IO1 interface and detect whether the level of the IO2 interface has become low. If the level of the IO2 interface is not low, the system will record exception 3.
[0138] The mainboard system will send specific test data to the test board controller of the fingerprint recognition interface test device through ttyUSB0. While receiving the data, the mainboard system can use the CRC-8 algorithm to generate a first check code CHK1.
[0139] After receiving the data, the test board controller sends the data to ttyUSB1 through serial port 1 (this is an additional serial port device of the fingerprint recognition interface test device recognized by the operating system after connecting to the test system provided by the embodiment of the present invention).
[0140] The mainboard system receives data from the test board controller through ttyUSB1 and generates a second check code CHK2 using the CRC-8 algorithm.
[0141] The mainboard system will compare the data of the two check codes CHK1 and CHK2 to see if they are consistent. If the data is inconsistent, the system will record exception 4 and take corresponding measures.
[0142] If the data of CHK1 and CHK2 are consistent, it indicates that the test is successful. The system will return the test results to the diagnostic system and end the test process.
[0143] It should be noted that in the embodiments of the fingerprint recognition interface test method of the present invention, some of the steps or features can be ignored or not executed. The hardware or software functional modules divided for the convenience of explanation are not the only implementation form of the fingerprint recognition interface test method provided in the embodiments of the present invention.
[0144] The above describes in detail various embodiments corresponding to the fingerprint recognition interface test method. On this basis, the present invention also discloses a fingerprint recognition interface test device, equipment, non-volatile storage medium and computer program product corresponding to the above method.
[0145] Applied to the mainboard under test, the fingerprint recognition interface test device provided by the embodiment of the present invention includes:
[0146] The pin function test module is used to send a start test instruction to the test controller of the fingerprint recognition interface test device after the test board interface of the fingerprint recognition interface test device is connected to the fingerprint recognition interface under test of the mainboard under test, so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test;
[0147] A data transmission function test module, used to perform a data transmission function test through a data link of the fingerprint recognition interface under test and a data link of a fingerprint recognition interface test device;
[0148] The test result output module is used to determine that the fingerprint recognition interface under test has passed the test if the fingerprint recognition interface under test passes the pin response function test and the data transmission function test; if the fingerprint recognition interface under test fails the pin response function test or the data transmission function test, it is determined that the fingerprint recognition interface under test has failed the test.
[0149] It should be noted that in each implementation of the fingerprint recognition interface test device provided by the embodiment of the present invention, the division of units is only a logical functional division, and other division methods can be adopted. The connection method between different units can adopt electrical, mechanical or other connection methods. The separated units can be located in the same physical location or distributed on multiple network nodes. Each unit can be implemented in the form of hardware or in the form of a software functional unit. That is, part or all of the units provided by the embodiment of the present invention can be selected according to actual needs and the corresponding connection method or integration method can be adopted to achieve the purpose of the embodiment of the present invention.
[0150] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0151] Figure 6 A schematic structural diagram of a fingerprint recognition interface testing device provided by an embodiment of the present invention.
[0152] like Figure 6 As shown, the fingerprint recognition interface testing device provided by the embodiment of the present invention includes: a memory 610, used to store a computer program 611; a processor 620, used to execute the computer program 611, and when the computer program 611 is executed by the processor 620, the steps of the fingerprint recognition interface testing method provided by any of the above embodiments are implemented.
[0153] Among them, the processor 620 may include one or more processing cores, such as a 3-core processor, an 8-core processor, etc. The processor 620 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 620 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 620 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 620 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0154] The memory 610 may include one or more non-volatile storage media, which may be non-transitory. The memory 610 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 610 is at least used to store the following computer program 611, wherein the computer program 611, after being loaded and executed by the processor 620, can implement the relevant steps in the fingerprint recognition interface test method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 610 may also include an operating system 612 and data 613, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 612 may be Windows or other types of operating systems. Data 613 may include but is not limited to the data involved in the above method.
[0155] In some embodiments, the fingerprint recognition interface testing device may further include a display screen 630 , a power supply 640 , a communication interface 650 , an input / output interface 660 , a sensor 670 , and a communication bus 680 .
[0156] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the fingerprint recognition interface testing device, and may include more or fewer components than those shown in the figure.
[0157] The fingerprint recognition interface testing device provided in the embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the steps of the fingerprint recognition interface testing method provided in the above embodiment, and the effect is the same as above.
[0158] An embodiment of the present invention provides a non-volatile storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the fingerprint recognition interface testing method provided in any one of the above embodiments can be implemented.
[0159] The non-volatile storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0160] For the introduction of the non-volatile storage medium provided in the embodiment of the present invention, please refer to the above method embodiment, and the effect thereof is the same as the fingerprint recognition interface testing method provided in the embodiment of the present invention, and the present invention will not elaborate on it here.
[0161] An embodiment of the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the fingerprint recognition interface testing method provided in any one of the above embodiments.
[0162] For an introduction to the computer program product provided by the embodiment of the present invention, please refer to the above method embodiment, and the effect thereof is the same as the fingerprint recognition interface testing method provided by the embodiment of the present invention, and the present invention will not elaborate on it here.
[0163] The fingerprint recognition interface test method, device, equipment and non-volatile storage medium provided by the present invention are introduced in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the devices, equipment, non-volatile storage media and computer program products disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.
[0164] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A fingerprint recognition interface testing method, characterized in that: Applicable to the motherboard under test, including: After the test board interface of the fingerprint recognition interface test device is connected to the fingerprint recognition interface under test of the mainboard under test, a start test instruction is sent to the test controller of the fingerprint recognition interface test device, so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test; Performing a data transmission function test through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface testing device; If the fingerprint recognition interface under test passes the pin response function test and the data transmission function test, it is determined that the fingerprint recognition interface under test passes the test; If the fingerprint recognition interface under test fails the pin response function test or the data transmission function test, it is determined that the fingerprint recognition interface under test fails the test.
2. The fingerprint recognition interface testing method according to claim 1, characterized in that: Sending a start test instruction to a test controller of the fingerprint recognition interface test device so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test, including: The start test instruction is sent to the test controller, so that the test controller performs a power switch pin test, a power supply voltage pin test and a power supply pin test on the fingerprint recognition interface under test.
3. The fingerprint recognition interface testing method according to claim 1, characterized in that: The data transmission function test is performed through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface test device, including: The data transmission function test is performed on the universal serial bus link of the tested fingerprint recognition interface and the universal asynchronous receiver / transmitter link of the tested fingerprint recognition interface through the first universal serial bus pin of the test board interface and the first universal asynchronous receiver / transmitter pin of the test board interface.
4. The fingerprint recognition interface testing method according to claim 3, characterized in that: The data transmission function test is performed on the universal serial bus link of the fingerprint recognition interface under test and the universal asynchronous receiver / transmitter link of the fingerprint recognition interface under test through the first universal serial bus pin of the test board interface and the first universal asynchronous receiver / transmitter pin of the test board interface, including: The data transmission function test is performed on the universal serial bus link and the universal asynchronous receiver-transmitter link through a data loop formed by the universal serial bus link, the first universal serial bus pin, the test controller, the first universal asynchronous receiver-transmitter pin and the universal asynchronous receiver-transmitter link.
5. The fingerprint recognition interface testing method according to claim 4, characterized in that: The method further comprises: performing the data transmission function test on the universal serial bus link and the universal asynchronous receiver-transmitter link through a data loop formed by the universal serial bus link, the first universal serial bus pin, the test controller, the first universal asynchronous receiver-transmitter pin and the universal asynchronous receiver-transmitter link, comprising: Generate a first check code according to first data transmission test data; Sending the first data transmission test data through the first end of the data loopback; If second data transmission test data is received from the second end of the data loop, generating a second check code according to the second data transmission test data; If the second check code is consistent with the first check code, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link pass the data transmission function test; If the second check code is inconsistent with the first check code or the second data transmission test data is not received, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link have failed the data transmission function test.
6. The fingerprint recognition interface testing method according to claim 1, characterized in that: Also includes: After the test board interface is connected to the fingerprint recognition interface under test, a shutdown command from the power switch of the mainboard under test is intercepted, a corresponding shutdown event is recorded and the shutdown event is stored in a shutdown event waiting queue; Taking out the shutdown event from the shutdown event waiting queue and sending it to the test controller, so that the test controller records the shutdown event; After completing the test of the fingerprint recognition interface under test, the shutdown event waiting queue is destroyed.
7. The fingerprint recognition interface testing method according to claim 1, characterized in that: After the test board interface of the fingerprint recognition interface test device is connected to the fingerprint recognition interface under test of the mainboard under test, a start test instruction is sent to the test controller of the fingerprint recognition interface test device, so that the test controller triggers the start of the fingerprint recognition interface under test and performs a pin response function test on the fingerprint recognition interface under test, including: After the test board interface is connected to the fingerprint recognition interface under test, a shutdown command from the power switch of the mainboard under test is intercepted, a corresponding shutdown event is recorded and the shutdown event is stored in a shutdown event waiting queue; Sending the start test instruction to the test controller, so that the test controller performs a power switch pin test, a power supply voltage pin test and a power supply pin test on the fingerprint recognition interface under test; The test controller performs the power switch pin test on the fingerprint recognition interface under test, including: the test controller triggers the switch action of the switch circuit of the fingerprint recognition interface test device to trigger the power pin of the fingerprint recognition interface under test to be powered on and off; The test controller performs a power supply voltage pin test on the fingerprint recognition interface under test, including: the test controller controls the level trigger pin of the test board interface to set the power supply voltage pin of the fingerprint recognition interface under test to different level states and tests the stability of the power supply voltage of the fingerprint recognition interface under test; The test controller performs a power supply pin test on the fingerprint recognition interface under test, including: the test controller detects the working states of the power supply pin of the fingerprint recognition interface under test and the ground pin of the fingerprint recognition interface under test; The data transmission function test is performed through the data link of the fingerprint recognition interface under test and the data link of the fingerprint recognition interface test device, including: Generate a first check code according to first data transmission test data; Transmit the first data transmission test data through a data loop formed by a universal serial bus link of the tested fingerprint recognition interface, a first universal serial bus pin of the test board interface, a first universal asynchronous receiver-transmitter pin of the test board interface and a universal asynchronous receiver-transmitter link of the tested fingerprint recognition interface; If second data transmission test data is received from the second end of the data loop, generating a second check code according to the second data transmission test data; If the second check code is consistent with the first check code, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link pass the data transmission function test; If the second check code is inconsistent with the first check code or the second data transmission test data is not received, it is determined that the universal serial bus link and the universal asynchronous receiver / transmitter link have failed the data transmission function test.
8. A fingerprint recognition interface testing device, characterized in that: include: Test controller, switch circuit and test board interface; The test controller is connected to a first end of the test board interface, and a second end of the test board interface is used to connect to a fingerprint recognition interface of a mainboard under test; The test board interface is provided with a first level trigger pin, a first data pin and a first power pin, and the first level trigger pin, the first data pin and the first power pin are used to correspond to the pins of the fingerprint recognition interface under test of the mainboard under test; The controlled end of the switch circuit is connected to the test controller, and the output end of the switch circuit is connected to the input end of the first level trigger pin; The test controller is used to control the first level trigger pin to trigger the startup of the fingerprint recognition interface under test and perform a pin response function test on the fingerprint recognition interface under test after receiving the startup test instruction of the tested mainboard, and perform a data transmission function test on the data link of the fingerprint recognition interface under test through the first data pin.
9. A fingerprint recognition interface test device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the fingerprint recognition interface testing method according to any one of claims 1 to 7 are implemented.
10. A non-volatile storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the fingerprint recognition interface testing method according to any one of claims 1 to 7 are implemented.
