Small card circuit path testing method, device, computer equipment and storage medium
Through the small card circuit path test method, the test steps are simplified by using the host computer instructions and MCU test board and other equipment, solving the problems of tedious test steps and high cost in the existing technology, and achieving a more efficient test process.
Patent Information
- Application Number
- CN202110824801.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-21
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-07-21
AI Technical Summary
The existing small card circuit path test method has complicated steps, long test time, high loss and high test cost of PCI-e test cards and servers.
Using the small card circuit path test method, by obtaining the test instructions sent by the host computer, the circuit path test is performed on the small card, including open circuit test, short circuit test, power-on test, voltage monitoring test, current monitoring test and circuit signal connectivity test. And through the connection between the MCU test board and the PCI-e test card, adapter board and test fixture carrier board, test steps and time are reduced.
It significantly reduces test time, improves production efficiency, avoids the loss of servers and PCI-e test cards, and reduces test costs.
Smart Images

Figure CN113567834B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of small card circuit path testing, and in particular to a small card circuit path testing method, device, computer equipment and storage medium. Background Art
[0002] In terms of small card circuit path testing, the existing traditional testing solution uses a functional PCI-e test card to be inserted into the small card to be tested (Riser Card), and then inserted into the server motherboard, and then the server is turned on to enter the operating system test, and then shut down normally, remove the small card module, and remove the functional test card; there are many operating steps and there is a high loss of PCI-e test card and server, the test time is long, and the overall test cost is high. Summary of the invention
[0003] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a small card circuit path testing method, device, computer equipment and storage medium.
[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0005] The small card circuit path testing method includes the following steps:
[0006] Obtain the test instructions sent by the host computer, and perform circuit path test on the small card according to the test instructions;
[0007] Return the test results to the host computer.
[0008] Its further technical solution is: before obtaining the test instructions sent by the host computer and executing the circuit path test steps on the small card according to the test instructions, it also includes: inserting the PCI-e test card into the small card, then plugging the small card into the adapter board, and connecting the adapter board to the MCU test board, and then connecting the MCU test board to the test fixture carrier board, and then connecting the test fixture carrier board to the host computer.
[0009] Its further technical solution is: the circuit path test includes: open circuit test, short circuit test, power-on test, voltage monitoring test, current monitoring test, and circuit signal connectivity test.
[0010] Its further technical solution is: after the step of returning the test result to the host computer, it also includes: the host computer detects the test result; if the test result is qualified, the host computer burns the EEPROM content on the small card.
[0011] The small card circuit path test device comprises: an acquisition test unit and a return unit;
[0012] The test acquisition unit is used to acquire the test instruction sent by the host computer and perform a circuit path test on the small card according to the test instruction;
[0013] The returning unit is used to return the test result to the host computer.
[0014] Its further technical solution is: it also includes: a connecting unit, which is used to insert the PCI-e test card into the small card, then insert the small card into the adapter board, and connect the adapter board with the MCU test board, then connect the MCU test board with the test fixture carrier board, and then connect the test fixture carrier board with the host computer.
[0015] Its further technical solution is: the circuit path test includes: open circuit test, short circuit test, power-on test, voltage monitoring test, current monitoring test, and circuit signal connectivity test.
[0016] Its further technical solution is: it also includes: a detection unit, which is used for the host computer to detect the test results.
[0017] A computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the small card circuit path testing method as described above is implemented.
[0018] A storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the small card circuit path testing method as described above can be implemented.
[0019] Compared with the prior art, the beneficial effects of the present invention are as follows: by obtaining the test instructions sent by the host computer and performing circuit path tests on the small card according to the test instructions, the test results are returned to the host computer; the test time is reduced, the production efficiency is improved, the loss of the server and the PCI-e test card is avoided, and the test cost is reduced.
[0020] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 labor.
[0022] Figure 1 A schematic diagram of a flow chart of a small card circuit path testing method provided by an embodiment of the present invention;
[0023] Figure 2 A schematic block diagram of a small card circuit path testing device provided by an embodiment of the present invention;
[0024] Figure 3 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] 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 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.
[0026] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0027] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0028] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0029] See also Figures 1 to 3 The specific embodiment shown, wherein please refer to Figure 1 As shown, the present invention discloses a small card circuit path testing method, comprising the following steps:
[0030] S1, obtain the test instruction sent by the host computer, and perform circuit path test on the small card according to the test instruction;
[0031] The circuit path test includes: open circuit test, short circuit test, power-on test, voltage monitoring test, current monitoring test, and circuit signal connectivity test.
[0032] Among them, the test time of the short-circuit test is greater than 5 seconds. The MCU test board performs a short-circuit test on each network link point. First, all I0 ports are set to input status and scanned from the first to the last. When testing the current I / O, the I / O port is set to output mode and outputs high / low levels respectively. Other I0 ports are scanned to determine whether they are high / low levels. When a certain I / O follows the high and low changes of the current I / O, it is considered to be short-circuited.
[0033] Among them, the voltage monitoring test and the current monitoring test control the power supply output to the small card. The signal returned from the small card (voltage divider resistor return path) can measure whether the voltage on the DUT is normal. Use CLK_1OOM_PCIE_RISER_1_DP and DN to perform return tests on 3.3V and 12V respectively. The above signals are connected to the large MCU ADC channel for voltage measurement; the MCU controls the load on each test card respectively, and then obtains the voltage / current measured by the INA219B on the small card. The current value is used to determine whether the power supply on the test card is normal.
[0034] Among them, for the open circuit test, some I / O ports of the MCU are connected to the GND of the differential signal of the PCIE interface. When the connector is soldered normally, the I / O port is at a low level (pulled to GND). If there is an open circuit, the I0 port is read as a high level. By judging the high and low levels of the I0 port, it can be determined whether it is an open circuit.
[0035] S2, returns the test results to the host computer.
[0036] Among them, in other embodiments, before step S1, it also includes: inserting the PCI-e test card into the small card, then inserting the small card into the adapter board, and connecting the adapter board to the MCU test board, and then connecting the MCU test board to the test fixture carrier board, and then connecting the test fixture carrier board to the host computer, and controlling the test fixture carrier board to enter and exit the warehouse and docking through the host computer, thereby improving production efficiency.
[0037] Among them, in another embodiment, after step S2, it also includes: the host computer detects the test result; if the test result is qualified, the host computer burns the EEPROM content on the small card; then the host computer controls the MCU test board to power off, controls the test fixture carrier board to separate out of the warehouse, takes out the small card, and completes the test; if the test result is unqualified, the host computer directly controls the MCU test board to power off, controls the test fixture carrier board to separate out of the warehouse, takes out the small card, and performs inspection or scrap treatment.
[0038] The present invention designs an MCU test board, a PCI-e test card and a docking adapter board, and utilizes I / O, I2C expansion and digital-to-analog conversion to test the circuit path of the small card. Compared with traditional solutions, the test time and test cost are greatly reduced, thereby improving production efficiency and saving production test costs.
[0039] See also Figure 2 As shown, the present invention also discloses a small card circuit path testing device, comprising: an acquisition test unit 10 and a return unit 20;
[0040] The test acquisition unit 10 is used to acquire the test instruction sent by the host computer and perform a circuit path test on the small card according to the test instruction;
[0041] The returning unit 20 is used to return the test result to the host computer.
[0042] Among them, in another embodiment, it also includes: a connecting unit, which is used to insert the PCI-e test card into the small card, and then insert the small card into the adapter board, and connect the adapter board to the MCU test board, and then connect the MCU test board to the test fixture carrier board, and then connect the test fixture carrier board to the host computer, and control the entry and exit and docking of the test fixture carrier board through the host computer, thereby improving production efficiency.
[0043] The circuit path test includes: open circuit test, short circuit test, power-on test, voltage monitoring test, current monitoring test, and circuit signal connectivity test.
[0044] Among them, in another embodiment, it also includes: a detection unit, which is used for the host computer to detect the test result; if the test result is qualified, the host computer burns the EEPROM content on the small card; then the host computer controls the MCU test board to power off, controls the test fixture carrier board to separate from the warehouse, takes out the small card, and completes the test; if the test result is unqualified, the host computer directly controls the MCU test board to power off, controls the test fixture carrier board to separate from the warehouse, takes out the small card, and performs maintenance or waste treatment.
[0045] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the above-mentioned small card circuit path testing device and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.
[0046] The above-mentioned small card circuit path test device can be implemented in the form of a computer program. The computer program can be used in Figure 3 Runs on the computer device shown.
[0047] See also Figure 3 , Figure 3is a schematic block diagram of a computer device provided in an embodiment of the present application; the computer device 500 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.
[0048] See also Figure 3 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0049] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a small card circuit path test method.
[0050] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0051] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a small card circuit path testing method.
[0052] The network interface 505 is used to communicate with other devices over the network. Figure 3 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0053] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0054] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0055] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the above-mentioned small card circuit path test method can be implemented.
[0056] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0057] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0058] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0059] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0060] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0061] The above embodiments are preferred implementation schemes of the present invention. In addition, the present invention may also be implemented in other ways. Any obvious replacement without departing from the concept of the present technical solution is within the protection scope of the present invention.
Claims
1. A small card circuit path testing method, characterized in that: The following steps are involved: Obtain the test instructions sent by the host computer, and perform circuit path test on the small card according to the test instructions; Return the test results to the host computer; The circuit path test includes: open circuit test, short circuit test, power-on test, voltage monitoring test, current monitoring test, and circuit signal connectivity test; Among them, the test time of the short-circuit test is greater than 5 seconds. The MCU test board performs a short-circuit test on each network link point. First, all I0 ports are set to input status and scanned from the first to the last. When testing the current I / O, the I / O port is set to output mode and outputs high / low level respectively. Other I0 ports are scanned to determine whether they are high / low levels. When a certain I / O changes high or low with the current I / O, it is considered to be short-circuited. Among them, the voltage monitoring test and current monitoring test control the power supply output to the small card, and the signal returned from the small card, that is, the voltage divider resistor return path, is used to measure whether the voltage on the DUT is normal. CLK_1OOM_PCIE_RISER_1_DP and DN are used to perform return tests on 3.3V and 12V respectively, and the signal is connected to the large MCU ADC channel for voltage measurement; the MCU controls the load on each test card respectively, and then obtains the voltage / current measured by INA219B on the small card, and determines whether the power supply on the test card is normal by monitoring the current value; among them, INA219B is a current stabilizer; Among them, for the open circuit test, some I / O ports of the MCU are connected to the GND of the differential signal of the PCIE interface. When the connector is welded normally, the I / O port is at a low level. If there is an open circuit, the I0 port is read as a high level. By judging the high and low levels of the I0 port, it can be determined whether it is an open circuit; After the step of returning the test result to the host computer, it also includes: the host computer detects the test result; if the test result is qualified, the host computer burns the EEPROM content on the small card; then the host computer controls the MCU test board to be powered off, controls the test fixture carrier board to be separated from the warehouse, takes out the small card, and completes the test; if the test result is unqualified, the host computer directly controls the MCU test board to be powered off, controls the test fixture carrier board to be separated from the warehouse, takes out the small card, and performs maintenance or waste treatment.
2. The small card circuit path testing method according to claim 1, characterized in that: The method of obtaining the test instruction sent by the host computer and executing the circuit path test step on the small card according to the test instruction also includes: inserting the PCI-e test card into the small card, then inserting the small card into the adapter board, and connecting the adapter board to the MCU test board, and then connecting the MCU test board to the test fixture carrier board, and then connecting the test fixture carrier board to the host computer.
3. A small card circuit path test device, characterized in that: include: Get test unit and return unit; The test acquisition unit is used to acquire the test instruction sent by the host computer and perform a circuit path test on the small card according to the test instruction; The return unit is used to return the test result to the host computer; The circuit path test includes: open circuit test, short circuit test, power-on test, voltage monitoring test, current monitoring test, and circuit signal connectivity test; Among them, the test time of the short-circuit test is greater than 5 seconds. The MCU test board performs a short-circuit test on each network link point. First, all I0 ports are set to input status and scanned from the first to the last. When testing the current I / O, the I / O port is set to output mode and outputs high / low level respectively. Other I0 ports are scanned to determine whether they are high / low levels. When a certain I / O changes high or low with the current I / O, it is considered to be short-circuited. Among them, the voltage monitoring test and current monitoring test control the power supply output to the small card, and the signal returned from the small card, that is, the voltage divider resistor return path, is used to measure whether the voltage on the DUT is normal. CLK_1OOM_PCIE_RISER_1_DP and DN are used to perform return tests on 3.3V and 12V respectively, and the signal is connected to the large MCU ADC channel for voltage measurement; the MCU controls the load on each test card respectively, and then obtains the voltage / current measured by INA219B on the small card, and determines whether the power supply on the test card is normal by monitoring the current value; among them, INA219B is a current stabilizer; Among them, for the open circuit test, some I / O ports of the MCU are connected to the GND of the differential signal of the PCIE interface. When the connector is welded normally, the I / O port is at a low level. If there is an open circuit, the I0 port is read as a high level. By judging the high and low levels of the I0 port, it can be determined whether it is an open circuit; The device also includes: a detection unit, which is used for the host computer to detect the test result; if the test result is qualified, the host computer burns the EEPROM content on the small card; then the host computer controls the MCU test board to be powered off, controls the test fixture carrier board to be separated from the warehouse, takes out the small card, and completes the test; if the test result is unqualified, the host computer directly controls the MCU test board to be powered off, controls the test fixture carrier board to be separated from the warehouse, takes out the small card, and performs maintenance or waste treatment.
4. The small card circuit path testing device according to claim 3, characterized in that: Also includes: The connection unit is used to insert the PCI-e test card into the small card, then insert the small card into the adapter board, connect the adapter board with the MCU test board, then connect the MCU test board with the test fixture carrier board, and then connect the test fixture carrier board with the host computer.
5. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the small card circuit path testing method as described in any one of claims 1-2 when executing the computer program.
6. A storage medium, characterized in that: The storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the small card circuit path testing method as described in any one of claims 1 to 2 can be implemented.
