CN114490208A - Test apparatus, method, computer equipment, storage medium and program product - Google Patents
Test apparatus, method, computer equipment, storage medium and program product Download PDFInfo
- Publication number
- CN114490208A CN114490208A CN202111644862.4A CN202111644862A CN114490208A CN 114490208 A CN114490208 A CN 114490208A CN 202111644862 A CN202111644862 A CN 202111644862A CN 114490208 A CN114490208 A CN 114490208A
- Authority
- CN
- China
- Prior art keywords
- tested
- test
- signal
- circuit board
- card
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2247—Verification or detection of system hardware configuration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,特别是涉及一种测试装置、方法、计算机设备、存储介质和程序产品。The present application relates to the field of computer technology, and in particular, to a testing apparatus, method, computer equipment, storage medium and program product.
背景技术Background technique
随着服务器应用和性能的逐渐提高,常需要引入插在PCI-E接口上的功能扩展卡或转接卡(PCI-E Riser卡)对主板PCI-E接口进行扩展或转接。当服务器中的PCI-E Riser卡的通路存在断路情况时,服务器实际运行过程中的性能可能会受到影响,甚至可能对服务器的系统硬件造成严重损坏。因此,PCIe Riser标卡的通路连通性检测非常重要。With the gradual improvement of server application and performance, it is often necessary to introduce a function expansion card or adapter card (PCI-E riser card) inserted on the PCI-E interface to expand or transfer the PCI-E interface of the motherboard. When the path of the PCI-E riser card in the server is disconnected, the performance of the server during actual operation may be affected, and it may even cause serious damage to the system hardware of the server. Therefore, the path connectivity detection of the PCIe riser standard card is very important.
目前针对PCI-E Riser卡进行检测方法包括将PCIe Riser卡安装到服务器上进行上板调试,即,将PCI-E Riser卡安装到匹配的服务器主板中,在PCI-E Riser卡上插入对应的标卡,通过在服务器操作系统下的功能验证和脚本测试等方法来验证插在PCI-E Riser卡上面的标卡性能,以此来判断PCI-E Riser卡的性能。The current detection method for the PCI-E riser card includes installing the PCIe riser card on the server for on-board debugging, that is, installing the PCI-E riser card into the matching server motherboard, and inserting the corresponding Standard card, verify the performance of the standard card inserted on the PCI-E riser card through functional verification and script testing under the server operating system, so as to judge the performance of the PCI-E riser card.
上述判断PCI-E Riser卡的性能的方法,在针对多个PCI-E Riser卡性能检测的场景,会对服务器主板的slot槽造成较大的消耗,影响服务器主板的slot槽的寿命。The above method for judging the performance of the PCI-E riser card, in the scenario of testing the performance of multiple PCI-E riser cards, will cause a large consumption of the slot slot of the server motherboard and affect the life of the slot slot of the server motherboard.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述技术问题,提供一种能够提高PCI-E Riser卡的性能的检测结果准确性的测试装置、方法、计算机设备、存储介质和程序产品。Based on this, it is necessary to provide a test device, method, computer equipment, storage medium and program product that can improve the accuracy of the detection result of the performance of the PCI-E riser card in view of the above technical problems.
第一方面,本申请提供了一种测试装置,该测试装置包括:测试主板和短路板;测试主板与待测转接卡连接,待测转接卡与短路板连接;In a first aspect, the present application provides a test device, the test device includes: a test main board and a short circuit board; the test main board is connected to an adapter card to be tested, and the adapter card to be tested is connected to the short circuit board;
测试主板,用于向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达短路板;The test motherboard is used to output the test signal to the adapter card to be tested, so that the test signal can reach the short circuit board through the adapter card to be tested;
短路板,用于根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;The short-circuit board is used to output the return signal according to the output signal of the riser card to be tested, so that the return signal reaches the test motherboard after passing through the riser card to be tested;
测试主板,还用于根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。The mainboard is tested, and is also used for signal analysis according to the backflow signal output by the short-circuit board to obtain the performance test result of the adapter card to be tested.
在本方案中,通过测试装置中的短路板形成信号回路,测试装置中的测试主板可以根据回流信号定位待测转接卡的通路是否存在问题,且,不依赖于服务器和用于间接测试待测转接卡的测试标卡,通过短路板与测试主板,便可实现直接测试,且,通过短路板还可以实现多个待测转接卡的同步性能测试,不需要多次进行服务器主板的插接来测试待测转接卡的性能,降低了工装的机械复杂度,也降低了对服务器主板的slot槽的损耗,延长服务器主板的寿命,降低成本消耗。In this solution, a signal loop is formed by the short circuit board in the test device, and the test motherboard in the test device can locate whether there is a problem with the passage of the adapter card to be tested according to the return signal, and does not depend on the server and is used for indirect testing The test standard card of the test adapter card can be tested directly through the short circuit board and the test motherboard, and the synchronous performance test of multiple adapter cards to be tested can also be realized through the short circuit board, without the need to perform multiple tests on the server motherboard. Plug to test the performance of the riser card to be tested, which reduces the mechanical complexity of the tooling, reduces the loss of the slot slot of the server motherboard, prolongs the life of the server motherboard, and reduces cost consumption.
在其中一个可选的实施例中,测试主板包括第一处理器;In one optional embodiment, the test motherboard includes a first processor;
第一处理器,用于输出第一测试信号,以使第一测试信号经过待测转接卡到达短路板;a first processor for outputting a first test signal, so that the first test signal reaches the short-circuit board through the adapter card to be tested;
短路板,用于根据待测转接卡的第一输出信号输出第一回流信号,以使第一回流信号经过待测转接卡到达测试主板;a short circuit board, used for outputting the first return signal according to the first output signal of the riser card to be tested, so that the first return flow signal reaches the test motherboard through the riser card to be tested;
第一处理器,还用于根据第一回流信号进行信号分析,得到待测转接卡的发射端与接收端之间通路的性能测试结果。The first processor is further configured to perform signal analysis according to the first return signal to obtain a performance test result of the channel between the transmitting end and the receiving end of the adapter card to be tested.
在本实施例中,通过短路板形成待测转接卡中发射端与接收端通路的短路回路,能够有效避免添加线缆等测试工具,并且可以实现多个待测转接卡的同时检测,提高多个待测转接卡的性能检测效率。In this embodiment, a short-circuit loop between the transmitting end and the receiving end of the adapter card to be tested is formed by the short circuit board, which can effectively avoid adding test tools such as cables, and can realize the simultaneous detection of multiple adapter cards to be tested. Improve the performance testing efficiency of multiple riser cards to be tested.
在其中一个可选的实施例中,第一处理器的输出端与待测转接卡的发射端连接,待测转接卡的接收端与第一处理器的输入端连接;In one of the optional embodiments, the output end of the first processor is connected to the transmitting end of the adapter card to be tested, and the receiving end of the adapter card to be tested is connected to the input end of the first processor;
短路板的发射端与待测转接卡的发射端连接,短路板的接收端与待测转接卡的接收端连接。The transmitting end of the short circuit board is connected with the transmitting end of the adapter card to be tested, and the receiving end of the short circuit board is connected with the receiving end of the adapter card to be tested.
在本实施例中,通过短路板形成待测转接卡中发射端与接收端通路的短路回路,能够有效避免添加线缆等测试工具,并且可以实现多个待测转接卡的同时检测,提高多个待测转接卡的性能检测效率。In this embodiment, a short-circuit loop between the transmitting end and the receiving end of the adapter card to be tested is formed by the short circuit board, which can effectively avoid adding test tools such as cables, and can realize the simultaneous detection of multiple adapter cards to be tested. Improve the performance testing efficiency of multiple riser cards to be tested.
在其中一个可选的实施例中,测试主板还包括第二处理器;In one optional embodiment, the test motherboard further includes a second processor;
第二处理器,用于输出第二测试信号,以使第二测试信号经过待测转接卡到达短路板;The second processor is used for outputting the second test signal, so that the second test signal reaches the short-circuit board through the adapter card to be tested;
短路板,用于根据待测转接卡的第二输出信号输出第二回流信号,以使第二回流信号经过待测转接卡到达第一处理器;a short circuit board, used for outputting a second return flow signal according to the second output signal of the riser card to be tested, so that the second return flow signal reaches the first processor through the riser card to be measured;
第一处理器,还用于对第二回流信号进行信号分析,得到待测转接卡的IIC通路的性能测试结果。The first processor is further configured to perform signal analysis on the second return flow signal to obtain a performance test result of the IIC path of the riser card to be tested.
在本实施例中,通过短路板形成待测转接卡中IIC通路的短路回路,能够有效避免添加线缆等测试工具,准确、便捷地实现对待测转接卡IIC通路的定位检测。In this embodiment, the short circuit of the IIC path in the adapter card to be tested is formed by the short circuit board, which can effectively avoid adding testing tools such as cables, and accurately and conveniently realize the location detection of the IIC path of the adapter card to be tested.
在其中一个可选的实施例中,第二处理器的输出端与待测转接卡的IIC引脚连接;待测转接卡的百兆信号引脚与第一处理器的输入端连接,待测转接卡的IIC引脚、百兆信号引脚均与短路板连接;短路板的IIC引脚与待测转接卡的IIC引脚连接,短路板的百兆信号引脚与待测转接卡的百兆信号引脚连接。In one optional embodiment, the output end of the second processor is connected to the IIC pin of the riser card to be tested; the 100M signal pin of the riser card to be tested is connected to the input end of the first processor, The IIC pin and 100M signal pin of the adapter card to be tested are connected to the short circuit board; the IIC pin of the short circuit board is connected to the IIC pin of the adapter card to be tested, and the 100M signal pin of the short circuit board is connected to the The 100M signal pin connection of the riser card.
在本实施例中,通过短路板形成待测转接卡中IIC通路的短路回路,能够有效避免添加线缆等测试工具,准确、便捷地实现对待测转接卡IIC通路的定位检测。In this embodiment, the short circuit of the IIC path in the adapter card to be tested is formed by the short circuit board, which can effectively avoid adding testing tools such as cables, and accurately and conveniently realize the location detection of the IIC path of the adapter card to be tested.
在其中一个可选的实施例中,测试主板还包括IIC扩展组件;IIC扩展组件的输入端与第二处理器的输出端连接,IIC扩展组件的输出端与待测转接卡的IIC引脚连接;In one optional embodiment, the test motherboard further includes an IIC expansion component; the input end of the IIC expansion component is connected to the output end of the second processor, and the output end of the IIC expansion component is connected to the IIC pin of the riser card to be tested connect;
第二处理器,用于输出第二测试信号,以使第二测试信号经过IIC扩展组件和待测转接卡的IIC引脚到达短路板。The second processor is used for outputting the second test signal, so that the second test signal reaches the short-circuit board through the IIC expansion component and the IIC pin of the riser card to be tested.
在本实施例中,通过添加IIC扩展组件,在针对多张PCI-E Riser卡的同时检测的场景,尽可能地避免了IIC地址冲突。In this embodiment, by adding an IIC extension component, the IIC address conflict is avoided as much as possible in a scenario where multiple PCI-E riser cards are detected at the same time.
在其中一个可选的实施例中,测试主板还包括电源;In one optional embodiment, the test motherboard further includes a power supply;
电源,用于输出第三测试信号,以使第三测试信号经过待测转接卡的电压引脚到达短路板;The power supply is used to output the third test signal, so that the third test signal can reach the short-circuit board through the voltage pin of the adapter card to be tested;
短路板,用于根据待测转接卡电压引脚的第三输出信号输出第三回流信号,以使第三回流信号经过待测转接卡的唤醒引脚到达第二处理器;a short circuit board, used for outputting a third return flow signal according to the third output signal of the voltage pin of the riser card to be tested, so that the third return flow signal reaches the second processor through the wake-up pin of the riser card to be measured;
第二处理器,还用于将第三回流信号输出至第一处理器中;The second processor is further configured to output the third return flow signal to the first processor;
第一处理器,还用于对第三回流信号进行信号分析,得到待测转接卡的供电通路的性能测试结果。The first processor is further configured to perform signal analysis on the third return flow signal to obtain a performance test result of the power supply path of the adapter card to be tested.
在本实施例中,将PCI-E Riser卡的电压引脚和唤醒引脚短接到一起来形成回路,测试主板的电源发出的第三测试信号将全部重新回流到测试主板的CPLD中,能够有效避免添加线缆等测试工具,且,可以定位到PCI-E Riser卡的供电通路是否存在异常。In this embodiment, the voltage pin and the wake-up pin of the PCI-E riser card are shorted together to form a loop, and the third test signal sent by the power supply of the test mainboard will all be returned to the CPLD of the test mainboard. It can effectively avoid adding test tools such as cables, and can locate whether the power supply path of the PCI-E riser card is abnormal.
在其中一个可选的实施例中,短路板包括电压引脚和唤醒引脚;短路的电压引脚与待测转接卡的电压引脚连接;短路板的唤醒引脚与待测转接卡的唤醒引脚连接。In one optional embodiment, the short-circuit board includes a voltage pin and a wake-up pin; the short-circuited voltage pin is connected to the voltage pin of the riser card to be tested; the wake-up pin of the short-circuit board is connected to the riser card to be tested the wake-up pin connection.
在本实施例中,将PCI-E Riser卡的电压引脚和唤醒引脚短接到一起来形成回路,测试主板的电源发出的第三测试信号将全部重新回流到测试主板的CPLD中,能够有效避免添加线缆等测试工具,且,可以定位到PCI-E Riser卡的供电通路是否存在异常。In this embodiment, the voltage pin and the wake-up pin of the PCI-E riser card are shorted together to form a loop, and the third test signal sent by the power supply of the test mainboard will all be returned to the CPLD of the test mainboard. It can effectively avoid adding test tools such as cables, and can locate whether the power supply path of the PCI-E riser card is abnormal.
在其中一个可选的实施例中,测试主板还包括与第一处理器连接的蜂鸣器、数码管、LED中至少一个;In one optional embodiment, the test motherboard further includes at least one of a buzzer, a digital tube, and an LED connected to the first processor;
第一处理器,还用于在确定待测转接卡的性能异常的情况下,通过蜂鸣器、数码管、LED中至少一个输出性能异常信息。The first processor is further configured to output abnormal performance information through at least one of a buzzer, a digital tube, and an LED when it is determined that the performance of the riser card to be tested is abnormal.
在本实施例中,可以通过蜂鸣器、数码管以及LED等器件输出PCI-E Riser卡异常的通路信息,可以有效定位至异常通路,提高了PCI-E Riser卡检测的效率。In this embodiment, the abnormal path information of the PCI-E riser card can be output through devices such as a buzzer, a digital tube, and an LED, which can effectively locate the abnormal path and improve the detection efficiency of the PCI-E riser card.
第二方面,提供了一种测试方法,应用于如第一方面中任一项提供的测试装置中,该方法包括:In a second aspect, a test method is provided, applied in the test device provided in any one of the first aspects, the method comprising:
通过测试装置的测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达测试装置的短路板中;Output the test signal to the adapter card to be tested through the test motherboard of the test device, so that the test signal reaches the short circuit board of the test device through the adapter card to be tested;
通过短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;Output the return signal through the short-circuit board according to the output signal of the riser card to be tested, so that the return signal reaches the test motherboard after passing through the riser card to be tested;
通过测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。The performance test result of the adapter card to be tested is obtained by analyzing the signal according to the backflow signal output by the short circuit board by the test motherboard.
在本实施例中,通过测试装置中的短路板形成信号回路,测试装置中的测试主板可以根据回流信号定位待测转接卡的通路是否存在问题,且,不依赖于服务器和用于间接测试待测转接卡的测试标卡,通过短路板与测试主板,便可实现直接测试,直接测试的方法提高了待测转接卡的通路测试结果的准确性,同时,降低了工装的机械复杂度,也降低了对服务器主板的损耗,降低成本消耗。In this embodiment, a signal loop is formed by the short circuit board in the test device, and the test motherboard in the test device can locate whether there is a problem with the passage of the riser card to be tested according to the return signal, and does not depend on the server and is used for indirect testing. The test standard card of the riser card to be tested can be directly tested through the short circuit board and the test motherboard. The direct test method improves the accuracy of the path test results of the riser card to be tested, and at the same time reduces the mechanical complexity of the tooling It also reduces the loss of the server motherboard and reduces the cost consumption.
第三方面,本申请还提供了一种计算机设备。所述计算机设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述第二方面提供的方法。In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method provided in the second aspect when the processor executes the computer program.
第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第二方面提供的方法。In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, implements the method provided in the second aspect.
第五方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述第二方面提供的方法。In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, which implements the method provided in the second aspect when the computer program is executed by a processor.
上述测试装置、方法、计算机设备、存储介质和程序产品,该测试装置包括测试主板和短路。其中,测试主板与待测转接卡连接,待测转接卡与短路板连接。测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达短路板;短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。在本方案中,通过测试装置中的短路板形成信号回路,测试装置中的测试主板可以根据回流信号定位待测转接卡的通路是否存在问题,且,通过短路板还可以实现多个待测转接卡的同步性能测试,不需要多次进行服务器主板的插接来测试待测转接卡的性能,降低了工装的机械复杂度,也降低了对服务器主板的slot槽的损耗,延长服务器主板的寿命,降低成本消耗。The above-mentioned test apparatus, method, computer equipment, storage medium and program product, the test apparatus includes a test motherboard and a short circuit. Wherein, the test mainboard is connected with the riser card to be tested, and the riser card to be tested is connected with the short circuit board. The test motherboard outputs the test signal to the adapter card to be tested, so that the test signal reaches the short circuit board through the adapter card to be tested; the short circuit board outputs the return signal according to the output signal of the adapter card to be tested, so that the return signal passes through the adapter to be tested. After the card reaches the test motherboard; the test motherboard performs signal analysis according to the return signal output by the short-circuit board, and obtains the performance test result of the adapter card to be tested. In this solution, a signal loop is formed by the short circuit board in the test device, and the test motherboard in the test device can locate whether there is a problem with the passage of the adapter card to be tested according to the backflow signal, and the short circuit board can also realize multiple The synchronization performance test of the riser card does not require multiple insertions of the server motherboard to test the performance of the riser card to be tested, which reduces the mechanical complexity of the tooling, reduces the loss of the slot slot of the server motherboard, and prolongs the server The lifespan of the motherboard reduces the cost consumption.
附图说明Description of drawings
图1为一个实施例中现有技术中测试Riser卡的环境示意图;1 is a schematic diagram of an environment for testing a riser card in the prior art in one embodiment;
图2为一个实施例中测试装置的结构示意图;2 is a schematic structural diagram of a testing device in one embodiment;
图3为另一个实施例中包括第一处理器的测试装置的结构示意图;3 is a schematic structural diagram of a testing device including a first processor in another embodiment;
图4为另一个实施例中包括第一处理器的测试装置的结构示意图;4 is a schematic structural diagram of a testing device including a first processor in another embodiment;
图5为另一个实施例中包括时钟缓存器的测试装置的结构示意图;5 is a schematic structural diagram of a test device including a clock buffer in another embodiment;
图6为另一个实施例中包括门模块的测试装置的结构示意图;6 is a schematic structural diagram of a test device including a door module in another embodiment;
图7为另一个实施例中包括第二处理器的测试装置的结构示意图;7 is a schematic structural diagram of a test apparatus including a second processor in another embodiment;
图8为另一个实施例中包括第二处理器的测试装置的结构示意图;8 is a schematic structural diagram of a test apparatus including a second processor in another embodiment;
图9为另一个实施例中包括IIC扩展组件的测试装置的结构示意图;9 is a schematic structural diagram of a test device including an IIC extension component in another embodiment;
图10为另一个实施例中包括传感器的测试装置的结构示意图;10 is a schematic structural diagram of a test device including a sensor in another embodiment;
图11为另一个实施例中包括电源的测试装置的结构示意图;11 is a schematic structural diagram of a test device including a power supply in another embodiment;
图12为另一个实施例中包括电源的测试装置的结构示意图;12 is a schematic structural diagram of a test device including a power supply in another embodiment;
图13为另一个实施例中包括电源中LED的测试装置的结构示意图;13 is a schematic structural diagram of a test device including LEDs in a power supply in another embodiment;
图14为另一个实施例中包括蜂鸣器、LED、数码管的测试装置的结构示意图;14 is a schematic structural diagram of a test device including a buzzer, an LED, and a digital tube in another embodiment;
图15为一个实施例中测试方法的流程示意图;15 is a schematic flowchart of a testing method in one embodiment;
图16为一个实施例中计算机设备的内部结构图。Figure 16 is a diagram of the internal structure of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
随着服务器应用和性能的逐渐提高,常需要引入PCI-E Riser卡来对主板的PCI-E接口进行扩展或转接,通常每台服务器都带有多个PCI-E Riser卡,用以实现功能的扩展或性能的提高。With the gradual improvement of server applications and performance, it is often necessary to introduce PCI-E riser cards to expand or transfer the PCI-E interface of the motherboard. Usually, each server has multiple PCI-E riser cards to achieve Functional expansion or performance improvement.
目前这些PCI-E Riser卡缺少相应的检测手法,在实际装机之前难以确定PCI-ERiser卡的通路连通性。当服务器装机应用的PCI-E Riser卡的部分通路存在断路情况时,服务器实际运行过程中的性能可能会因此降低,甚至可能对系统硬件造成严重损坏。At present, these PCI-E riser cards lack corresponding detection methods, and it is difficult to determine the channel connectivity of the PCI-ERiser cards before the actual installation. When part of the path of the PCI-E riser card used in the server installation is disconnected, the performance of the server during actual operation may be degraded, or even serious damage to the system hardware may be caused.
目前针对PCI-E Riser卡的硬件通路检测方案,通过将PCI-E Riser卡安装到服务器设备上进行上板调试,即将PCI-E Riser卡安装到匹配的服务器主板,并在PCI-E Riser卡上插入对应的测试标卡,通过在系统下的功能验证和脚本测试等方法验证插在PCI-ERiser卡上面的测试标卡性能,以此来间接判断PCI-E Riser卡的功能优劣,如图1所示,图1中包括了PCI-E Riser卡、测试标卡以及服务器主板之间的连接关系。The current hardware path detection solution for PCI-E riser cards is to perform board debugging by installing the PCI-E riser card on the server device, that is, install the PCI-E riser card on the matching server motherboard, and install the PCI-E riser card on the PCI-E riser card. Insert the corresponding test standard card on the PCI-E Riser card, and verify the performance of the test standard card inserted on the PCI-ERiser card through the function verification and script test under the system, so as to indirectly judge the function of the PCI-E Riser card, such as As shown in FIG. 1, FIG. 1 includes the connection relationship between the PCI-E riser card, the test standard card and the server motherboard.
然而,上述方案操作较为繁琐,需要配套的测试设备和线缆进行测试、或搭建服务器整机进行测试;且,验证时需要在系统下查看PCI-E Riser卡上插入的测试标卡设备;或通过测试脚本等方式验证测试标卡性能,从而侧面间接判断PCI-E Riser卡的通路是否通常,不仅浪费时间,更有可能导致部分IO功能的漏检测;当对大批量的PCI-E Riser卡进行验证测试时,会在服务器PCI-E金手指上进行反复插拔,这会降低对应的服务器PCI-E Slot的使用寿命,对服务器质量产生影响。However, the operation of the above solution is cumbersome, and it requires supporting test equipment and cables for testing, or building a complete server for testing; and, during verification, it is necessary to check the test standard card equipment inserted on the PCI-E riser card under the system; or Verify the performance of the test standard card through test scripts and other methods, so as to indirectly judge whether the path of the PCI-E riser card is normal, which not only wastes time, but also may lead to the missed detection of some IO functions; During the verification test, the PCI-E golden finger of the server will be repeatedly inserted and removed, which will reduce the service life of the corresponding server PCI-E slot and affect the quality of the server.
本申请提供了一种测试装置,如图2所示,该测试装置包括:测试主板和短路板;其中,测试主板与待测转接卡连接,待测转接卡与短路板连接。The present application provides a test device, as shown in FIG. 2 , the test device includes: a test main board and a short circuit board; wherein, the test main board is connected to an adapter card to be tested, and the adapter card to be tested is connected to the short circuit board.
测试主板,用于向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达短路板;The test motherboard is used to output the test signal to the adapter card to be tested, so that the test signal can reach the short circuit board through the adapter card to be tested;
短路板,用于根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;The short-circuit board is used to output the return signal according to the output signal of the riser card to be tested, so that the return signal reaches the test motherboard after passing through the riser card to be tested;
测试主板,还用于根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。The mainboard is tested, and is also used for signal analysis according to the backflow signal output by the short-circuit board to obtain the performance test result of the adapter card to be tested.
可选地,测试主板可以为包括处理器和电源的基板,示例性的,处理器可以为现场可编程逻辑门阵列(Field Programmable Gate Array,FPGA)、可编程逻辑器件(Programmable Logic Device,PLD)、复杂可编程逻辑器件(Complex Programmable LogicDevice,CPLD)、微控制单元(Microcontroller Unit,MCU)等一种或多种处理器结合。Optionally, the test mainboard can be a substrate including a processor and a power supply. Exemplarily, the processor can be a field programmable gate array (Field Programmable Gate Array, FPGA), a programmable logic device (Programmable Logic Device, PLD) , a complex programmable logic device (Complex Programmable Logic Device, CPLD), a Microcontroller Unit (Microcontroller Unit, MCU) and one or more processors are combined.
可选地,转接卡可以为服务器中PCI-E接口的转接卡,示例性的,PCI-E Riser标卡;或者是服务器中其他信号接口的转接卡。Optionally, the riser card may be a riser card of a PCI-E interface in a server, for example, a PCI-E riser standard card; or a riser card of other signal interfaces in the server.
可选地,短路板用于与待测转接卡、测试主板连接,形成短路信号通路,基于短路板的特性,短路板的设置可以与待测转接卡的设置一致。Optionally, the short circuit board is used to connect with the adapter card to be tested and the test motherboard to form a short circuit signal path. Based on the characteristics of the short circuit board, the settings of the short circuit board can be consistent with the settings of the adapter card to be tested.
在本实施例中,将短路板接入待测转接卡中,将待测转接卡插入至测试主板的卡槽slot中,控制测试主板上电,等待一段时间之后,开始进行待测转接卡的测试。这里一段时间可以为10秒、20秒等。In this embodiment, the short-circuit board is connected to the adapter card to be tested, the adapter card to be tested is inserted into the slot of the card slot of the test motherboard, the test motherboard is controlled to be powered on, and after a period of time, the transfer to be tested starts. Card test. The period of time here can be 10 seconds, 20 seconds, etc.
示例性地,测试装置中的测试主板向待测转接卡输出测试信号,这里测试信号可以根据待测转接卡所测试的通路确定,示例性地,若检测待测转接卡的供电通路,则测试主板输出的测试信号可以理解为电压值;若检测待测转接卡的IIC通路,则测试主板输出的测试信号可以为IIC地址信息;若检测待测转接卡的其他通路,则测试主板可以输出脉冲调制信号。本实施例中测试主板输出的信号基于待测转接卡所包括的通路确定。Exemplarily, the test motherboard in the test device outputs a test signal to the riser card to be tested, where the test signal can be determined according to the path tested by the riser card to be tested. Exemplarily, if the power supply path of the riser card to be tested is detected , the test signal output by the test motherboard can be understood as a voltage value; if the IIC path of the adapter card to be tested is detected, the test signal output by the test motherboard can be the IIC address information; if other paths of the adapter card to be tested are detected, then The test board can output pulse modulated signals. In this embodiment, the signal output by the test motherboard is determined based on the path included in the riser card to be tested.
测试信号由测试主板输出,经过待测转接卡输出至短路板中,短路板根据待测转接卡输出的信号输出回流信号,需要说明的是,在待测转接卡通路正常的情况下,待测转接卡的输出信号为测试信号;若待测转接卡通路出现故障,则待测转接卡输出的可能为其他信号。短路板根据待测转接卡的输出信号向待测转接卡输出回流信号,回流信号经过待测转接卡,测试主板获取该回流信号进行信号分析,类似地,回流信号经过待测转接卡,在待测转接卡通路正常的情况下,测试主板接收到的经过待测转接卡的回流信号为回流信号;若待测转接卡通路出现故障,则测试主板接收到的经过待测转接卡的回流信号可能为其他信号。The test signal is output from the test motherboard, and is output to the short circuit board through the adapter card to be tested. The short circuit board outputs the return signal according to the signal output by the adapter card to be tested. It should be noted that when the circuit of the adapter card to be tested is normal , the output signal of the adapter card to be tested is the test signal; if the circuit of the adapter card to be tested fails, the output signal of the adapter card to be tested may be other signals. The short-circuit board outputs a return signal to the riser card to be tested according to the output signal of the riser card to be tested. The return signal passes through the riser card to be tested, and the test motherboard obtains the return signal for signal analysis. Similarly, the return signal passes through the switch to be tested. Card, when the circuit of the adapter card to be tested is normal, the return signal received by the test motherboard and passed through the adapter card to be tested is the return signal; The return signal of the test adapter card may be other signals.
可选地,测试主板根据接收到的回流信号进行信号分析,可选地,测试主板可以分析回流信号的波形、回流信号的信号参数或者回流信号所指示的其他参数,例如电压值等,来确定回流信号所对应的通路是否存在故障,得到待测转接卡的性能检测结果。可选地,在待测转接卡包括多个通路的场景下,也即,测试主板接收多个通路对应的回流信号的场景下,测试主板对所有通路对应的回流信号进行信号分析,若存在至少一个通路对应的回流信号异常,也即存在至少一个通路存在故障,则定位该通路并输出该通路故障的提示信息,确定待测转接卡性能异常;若所有通路对应的回流信号均未出现异常,也即,所有通路均正常,则确定待测转接卡性能正常。Optionally, the test mainboard performs signal analysis according to the received backflow signal. Optionally, the test mainboard can analyze the waveform of the backflow signal, the signal parameters of the backflow signal, or other parameters indicated by the backflow signal, such as the voltage value, etc., to determine. Check whether the path corresponding to the return signal is faulty, and obtain the performance test result of the adapter card to be tested. Optionally, in the scenario where the riser card to be tested includes multiple channels, that is, in the scenario where the test mainboard receives the backflow signals corresponding to the multiple channels, the test mainboard performs signal analysis on the backflow signals corresponding to all channels, and if there are any If the backflow signal corresponding to at least one channel is abnormal, that is, at least one channel is faulty, locate the channel and output the prompt information of the channel failure to determine that the performance of the adapter card to be tested is abnormal; if the backflow signal corresponding to all channels does not appear If it is abnormal, that is, all channels are normal, it is determined that the performance of the riser card to be tested is normal.
上述测试装置包括测试主板和短路。其中,测试主板与待测转接卡连接,待测转接卡与短路板连接。测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达短路板;短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。在本方案中,通过测试装置中的短路板形成信号回路,测试装置中的测试主板可以根据回流信号定位待测转接卡的通路是否存在问题,且,通过短路板还可以实现多个待测转接卡的同步性能测试,不需要多次进行服务器主板的插接来测试待测转接卡的性能,降低了工装的机械复杂度,也降低了对服务器主板的slot槽的损耗,延长服务器主板的寿命,降低成本消耗。The above-mentioned test device includes a test mainboard and a short circuit. Wherein, the test mainboard is connected with the riser card to be tested, and the riser card to be tested is connected with the short circuit board. The test motherboard outputs the test signal to the adapter card to be tested, so that the test signal reaches the short circuit board through the adapter card to be tested; the short circuit board outputs the return signal according to the output signal of the adapter card to be tested, so that the return signal passes through the adapter to be tested. After the card reaches the test motherboard; the test motherboard performs signal analysis according to the return signal output by the short-circuit board, and obtains the performance test result of the adapter card to be tested. In this solution, a signal loop is formed by the short circuit board in the test device, and the test motherboard in the test device can locate whether there is a problem with the passage of the adapter card to be tested according to the backflow signal, and the short circuit board can also realize multiple The synchronization performance test of the riser card does not require multiple insertions of the server motherboard to test the performance of the riser card to be tested, which reduces the mechanical complexity of the tooling, reduces the loss of the slot slot of the server motherboard, and prolongs the server The lifespan of the motherboard reduces the cost consumption.
在其中一个可选的实施例中,如图3所示,测试主板包括第一处理器。In one optional embodiment, as shown in FIG. 3 , the test motherboard includes a first processor.
第一处理器,用于输出第一测试信号,以使第一测试信号经过待测转接卡到达短路板;a first processor for outputting a first test signal, so that the first test signal reaches the short-circuit board through the adapter card to be tested;
短路板,用于根据待测转接卡的第一输出信号输出第一回流信号,以使第一回流信号经过待测转接卡到达测试主板;a short circuit board, used for outputting the first return signal according to the first output signal of the riser card to be tested, so that the first return flow signal reaches the test motherboard through the riser card to be tested;
第一处理器,还用于根据第一回流信号进行信号分析,得到待测转接卡的发射端与接收端之间通路的性能测试结果。The first processor is further configured to perform signal analysis according to the first return signal to obtain a performance test result of the channel between the transmitting end and the receiving end of the adapter card to be tested.
可选地,第一处理器可以为FPGA、PLD、CPLD、MCU中任意一种。可选地,第一处理器所输出的第一测试信号可以为脉冲宽度调制(Pulse Width Modulation,PWM)。Optionally, the first processor may be any one of FPGA, PLD, CPLD, and MCU. Optionally, the first test signal output by the first processor may be pulse width modulation (Pulse Width Modulation, PWM).
以第一处理器为CPLD,待测转接卡为PCI-E Riser卡来说明,可参考图3所示。CPLD输出第一测试信号,用于测试PCI-E Riser卡的发射端与接收端之间的通路的连通性。示例性地,第一测试信号可以为PWM信号,PWM信号经过PCI-E Riser卡到达短路板,短路板根据PCI-E Riser卡输出的信号形成PWM信号的回流信号,经过PCI-E Riser卡到达CPLD中,CPLD根据PWM信号的回流信号进行信号分析,确定PCI-E Riser卡中发射端与接收端之间通路的连通性。示例性地,若CPLD确定PWM信号的回流信号的信号状态异常,则确定PCI-E Riser卡中发射端与接收端之间通路存在故障。The first processor is a CPLD and the adapter card to be tested is a PCI-E riser card for illustration, as shown in FIG. 3 . The CPLD outputs the first test signal, which is used to test the connectivity of the path between the transmitter and the receiver of the PCI-E riser. Exemplarily, the first test signal may be a PWM signal, the PWM signal reaches the short-circuit board through the PCI-E riser card, and the short-circuit board forms a return signal of the PWM signal according to the signal output by the PCI-E riser card, and reaches the short-circuit board through the PCI-E riser card. In the CPLD, the CPLD performs signal analysis according to the return signal of the PWM signal to determine the connectivity of the path between the transmitter and the receiver in the PCI-E riser card. Exemplarily, if the CPLD determines that the signal state of the return signal of the PWM signal is abnormal, it is determined that the path between the transmitter and the receiver in the PCI-E riser card is faulty.
可选地,如图4所示,第一处理器的输出端与待测转接卡的发射端连接,待测转接卡的接收端与第一处理器的输入端连接;短路板的发射端与待测转接卡的发射端连接,短路板的接收端与待测转接卡的接收端连接。Optionally, as shown in FIG. 4 , the output end of the first processor is connected to the transmitting end of the adapter card to be tested, and the receiving end of the adapter card to be tested is connected to the input end of the first processor; The terminal is connected to the transmitting terminal of the adapter card to be tested, and the receiving terminal of the short circuit board is connected to the receiving terminal of the adapter card to be tested.
待测转接卡中包括发射端口和接收端口,对应地,短路板为与发射端、接收端形成短路回路,短路板中也设置发射端、接收端。测试主板可以通过输出第一测试信号检测发射端与接收端之间的通路的连通性。The adapter card to be tested includes a transmitter port and a receiver port. Correspondingly, the short circuit board forms a short circuit with the transmitter end and the receiver end, and the transmitter end and the receiver end are also arranged in the short circuit board. The test mainboard can detect the connectivity of the path between the transmitting end and the receiving end by outputting the first test signal.
示例性地,以第一处理器为CPLD、待测转接卡为PCI-E Riser卡为例来说明,可参考图4所示。PCI-E Riser卡中包括发射端口TXDP和TXDN、接收端口RXDP和RXDN。PCI-ERiser卡的发射端口TXDP和TXDN分别与短路板的发射端口TXDP和TXDN连接,短路板的接收端口RXDP和RXDN分别与PCI-E Riser卡的接收端口RXDP和RXDN连接。PCI-E Riser卡的发射端口TXDP和TXDN均与CPLD的输出端连接;PCI-E Riser卡的接收端口RXDP和RXDN均与CPLD的输入端连接。Exemplarily, the first processor is a CPLD, and the riser card to be tested is a PCI-E riser card as an example for illustration, and reference may be made to FIG. 4 . The PCI-E riser card includes transmit ports TXDP and TXDN, and receive ports RXDP and RXDN. The transmitting ports TXDP and TXDN of the PCI-ERiser card are respectively connected with the transmitting ports TXDP and TXDN of the short circuit board, and the receiving ports RXDP and RXDN of the short circuit board are respectively connected with the receiving ports RXDP and RXDN of the PCI-E riser card. The transmitting ports TXDP and TXDN of the PCI-E riser card are both connected to the output end of the CPLD; the receiving ports RXDP and RXDN of the PCI-E riser card are both connected to the input end of the CPLD.
示例性地,第一测试信号可以为PWM信号,CPLD输出的PWM信号经过PCI-E Riser卡的发射端口TXDP和TXDN到达短路板的发射端口TXDP和TXDN,短路板根据PCI-E Riser卡输出的信号形成PWM信号的回流信号,通过短路板的接收端口RXDP和RXDN输出至PCI-E Riser卡的接收端口RXDP和RXDN中,并由PCI-E Riser卡的接收端口RXDP和RXDN将回流信号输出至CPLD中。CPLD根据PWM信号的回流信号进行信号分析,确定PCI-E Riser卡中发射端TXDP和TXDN与接收端RXDP和RXDN之间通路的连通性。示例性地,若CPLD确定PWM信号的回流信号的信号状态异常,则确定PCI-E Riser卡中发射端TXDP和TXDN与接收端RXDP和RXDN之间通路存在故障。Exemplarily, the first test signal can be a PWM signal, and the PWM signal output by the CPLD reaches the transmit ports TXDP and TXDN of the short-circuit board through the transmit ports TXDP and TXDN of the PCI-E riser card. The signal forms the return signal of the PWM signal, which is output to the receiving ports RXDP and RXDN of the PCI-E riser card through the receiving ports RXDP and RXDN of the short-circuit board, and the return signal is output to the receiving ports RXDP and RXDN of the PCI-E riser card. in CPLD. The CPLD performs signal analysis according to the return signal of the PWM signal, and determines the connectivity of the path between the transmitter TXDP and TXDN and the receiver RXDP and RXDN in the PCI-E riser card. Exemplarily, if the CPLD determines that the signal state of the return signal of the PWM signal is abnormal, it is determined that the path between the transmitting ends TXDP and TXDN and the receiving ends RXDP and RXDN in the PCI-E riser card is faulty.
可选地,为了实现第一测试信号的扩展,还可以在测试主板中添加时钟缓存器Buffer,示例性地,以第一处理器为CPLD、待测转接卡为PCI-E Riser卡为例来说明,可参考图5所示,时钟缓存器Buffer的输入端与CPLD的输出端连接,时钟缓存器Buffer的输出端分别与PCI-E Riser卡的发射端口TXDP和TXDN连接,实现CPLD输出的第一测试信号的扩展。Optionally, in order to realize the expansion of the first test signal, a clock buffer Buffer can also be added to the test motherboard. Exemplarily, take the first processor as a CPLD and the adapter card to be tested as a PCI-E riser card as an example. To illustrate, as shown in Figure 5, the input end of the clock buffer Buffer is connected to the output end of the CPLD, and the output end of the clock buffer Buffer is respectively connected to the transmit ports TXDP and TXDN of the PCI-E riser card to realize the output of the CPLD. Extension of the first test signal.
可选地,为了提高CPLD的引脚的利用率,还可以在测试主板中设置门电路,示例性地,以第一处理器为CPLD、待测转接卡为PCI-E Riser卡为例来说明,可参考图6所示,门电路的输入端与PCI-E Riser卡的接收端RXDP和RXDN连接,门电路的输出端与CPLD的输入端连接,实现PCI-E Riser卡的接收端多路信号的整合收集。示例性地,若PCI-E Riser卡的接收端的至少一个端口输出的回流信号状态异常,则门电路输出的回流信号的状态异常,则确定PCI-E Riser卡中发射端TXDP和TXDN与接收端RXDP和RXDN之间通路存在故障;若PCI-ERiser卡的接收端的所有端口输出的回流信号状态正常,则门电路输出的回流信号的状态正常,则确定PCI-E Riser卡中发射端TXDP和TXDN与接收端RXDP和RXDN之间通路正常。Optionally, in order to improve the utilization rate of the pins of the CPLD, a gate circuit can also be set in the test motherboard. Exemplarily, take the first processor as a CPLD and the adapter card to be tested as a PCI-E riser card as an example. Description, as shown in Figure 6, the input end of the gate circuit is connected to the receiving ends RXDP and RXDN of the PCI-E riser card, and the output end of the gate circuit is connected to the input end of the CPLD, so as to realize that the receiving end of the PCI-E riser card has many Integrated collection of road signals. Exemplarily, if the state of the return signal output by at least one port of the receiving end of the PCI-E riser card is abnormal, then the state of the return signal output by the gate circuit is abnormal, then it is determined that the transmitting end TXDP and TXDN in the PCI-E riser card are the same as the receiving end. There is a fault in the path between RXDP and RXDN; if the status of the return signal output by all ports on the receiving end of the PCI-ERiser card is normal, then the status of the return signal output by the gate circuit is normal, then determine the TXDP and TXDN at the transmitting end of the PCI-E riser card. The channel with the receiver RXDP and RXDN is normal.
在本实施例中,通过短路板形成待测转接卡中发射端与接收端通路的短路回路,能够有效避免添加线缆等测试工具。并且,时钟缓存器和门电路实现了测试信号的分路和整合,提高了第一处理器(CPLD)的引脚或端口的利用效率,降低了第一处理器(CPLD)的逻辑资源消耗,从而可以实现多个待测转接卡的同时检测,提高多个待测转接卡的性能检测效率。In this embodiment, the short circuit of the path between the transmitting end and the receiving end in the adapter card to be tested is formed by the short circuit board, which can effectively avoid adding test tools such as cables. In addition, the clock buffer and the gate circuit realize the branching and integration of the test signal, improve the utilization efficiency of the pins or ports of the first processor (CPLD), and reduce the logic resource consumption of the first processor (CPLD), Therefore, the simultaneous detection of multiple riser cards to be tested can be realized, and the performance detection efficiency of the multiple riser cards to be tested can be improved.
为了进一步检测待测转接卡的其他通路,在其中一个可选的实施例中,如图7所示,测试主板还包括第二处理器。In order to further detect other paths of the riser card to be tested, in an optional embodiment, as shown in FIG. 7 , the test motherboard further includes a second processor.
第二处理器,用于输出第二测试信号,以使第二测试信号经过待测转接卡到达短路板;The second processor is used for outputting the second test signal, so that the second test signal reaches the short-circuit board through the adapter card to be tested;
短路板,用于根据待测转接卡的第二输出信号输出第二回流信号,以使第二回流信号经过待测转接卡到达第一处理器;a short circuit board, used for outputting a second return flow signal according to the second output signal of the riser card to be tested, so that the second return flow signal reaches the first processor through the riser card to be measured;
第一处理器,还用于对第二回流信号进行信号分析,得到待测转接卡的IIC通路的性能测试结果。The first processor is further configured to perform signal analysis on the second return flow signal to obtain a performance test result of the IIC path of the riser card to be tested.
可选地,第二处理器可以为MCU或其他任意处理器。可选地,第二处理器输出的第二测试信号可以用于直接或间接指示IIC地址信息。Optionally, the second processor may be an MCU or any other processor. Optionally, the second test signal output by the second processor may be used to directly or indirectly indicate the IIC address information.
以第一处理器为CPLD,待测转接卡为PCI-E Riser卡、第二处理器为MCU来说明,可参考图7所示。MCU可以作为IIC的主设备(master端),CPLD作为IIC的从设备(slave端),MCU向PCI-E Riser卡发出不同IIC地址信息,用于测试PCI-E Riser卡的IIC通路的连通性。示例性地,不同IIC地址信息经过PCI-E Riser卡到达短路板,短路板根据PCI-E Riser卡输出的IIC地址信息形成对应的回流信息,经过PCI-E Riser卡到达CPLD中,CPLD根据IIC地址信息的回流信息进行分析,确定PCI-E Riser卡中IIC通路的连通性。示例性地,若CPLD确定IIC地址信息的回流信息有误,则确定PCI-E Riser卡中IIC通路存在故障。The first processor is a CPLD, the adapter card to be tested is a PCI-E riser card, and the second processor is an MCU for illustration, as shown in FIG. 7 . The MCU can be used as the master device (master side) of the IIC, and the CPLD can be used as the slave device (slave side) of the IIC. The MCU sends different IIC address information to the PCI-E riser card to test the connectivity of the IIC path of the PCI-E riser card. . Exemplarily, different IIC address information reaches the short-circuit board through the PCI-E riser card, the short-circuit board forms corresponding return information according to the IIC address information output by the PCI-E riser card, and reaches the CPLD through the PCI-E riser card. The return information of the address information is analyzed to determine the connectivity of the IIC path in the PCI-E riser card. Exemplarily, if the CPLD determines that the return information of the IIC address information is incorrect, it is determined that the IIC path in the PCI-E riser card is faulty.
可选地,如图8所示,第二处理器的输出端与待测转接卡的IIC引脚连接;待测转接卡的百兆信号引脚与第一处理器的输入端连接,待测转接卡的IIC引脚、百兆信号引脚均与短路板连接;短路板的IIC引脚与待测转接卡的IIC引脚连接,短路板的百兆信号引脚与待测转接卡的百兆信号引脚连接。Optionally, as shown in Figure 8, the output end of the second processor is connected to the IIC pin of the adapter card to be tested; the 100M signal pin of the adapter card to be tested is connected to the input end of the first processor, The IIC pin and 100M signal pin of the adapter card to be tested are connected to the short circuit board; the IIC pin of the short circuit board is connected to the IIC pin of the adapter card to be tested, and the 100M signal pin of the short circuit board is connected to the The 100M signal pin connection of the riser card.
待测转接卡中包括IIC引脚和百兆信号引脚,对应地,短路板中也包括IIC引脚和百兆信号引脚,以此短路板与测试主板、待测转接卡形成短路回路,通过输出第二测试信号检测待测转接卡中IIC通路的连通性。The adapter card to be tested includes IIC pins and 100M signal pins. Correspondingly, the short circuit board also includes IIC pins and 100M signal pins, so that the short circuit board forms a short circuit with the test motherboard and the adapter card to be tested. The loop is used to detect the connectivity of the IIC path in the riser card to be tested by outputting the second test signal.
示例性地,以第一处理器为CPLD,待测转接卡为PCI-E Riser卡、第二处理器为MCU来说明,可参考图8所示。MCU可以作为IIC的主设备(master端),CPLD作为IIC的从设备(slave端),MCU向PCI-E Riser卡发出不同IIC地址信息,用于测试PCI-E Riser卡的IIC通路的连通性。示例性地,不同IIC地址信息经过PCI-E Riser卡的IIC引脚到达短路板,短路板根据PCI-E Riser卡的IIC引脚输出的IIC地址信息形成对应的回流信息,通过短路板的百兆信号引脚输出至PCI-E Riser卡的百兆信号引脚和RESERVE引脚中,从而CPLD接收PCI-E Riser卡的百兆信号引脚和RESERVE引脚输出的IIC地址信息,MCU等待CPLD根据接收到的IIC地址信息做出响应,若CPLD若未做出响应,则确定PCI-E Riser卡中IIC通路存在故障。Exemplarily, the first processor is a CPLD, the riser card to be tested is a PCI-E riser card, and the second processor is an MCU for illustration, as shown in FIG. 8 . The MCU can be used as the master device (master side) of the IIC, and the CPLD can be used as the slave device (slave side) of the IIC. The MCU sends different IIC address information to the PCI-E riser card to test the connectivity of the IIC path of the PCI-E riser card. . Exemplarily, different IIC address information reaches the short-circuit board through the IIC pin of the PCI-E riser card, and the short-circuit board forms corresponding return information according to the IIC address information output by the IIC pin of the PCI-E riser card. The mega signal pin is output to the 100M signal pin and RESERVE pin of the PCI-E riser card, so that the CPLD receives the 100M signal pin of the PCI-E riser card and the IIC address information output by the RESERVE pin, and the MCU waits for the CPLD Respond according to the received IIC address information. If the CPLD does not respond, it is determined that the IIC path in the PCI-E riser card is faulty.
可选地,为了进一步扩展IIC地址信息,如图9所示,测试主板还包括IIC扩展组件;IIC扩展组件的输入端与第二处理器的输出端连接,IIC扩展组件的输出端与待测转接卡的IIC引脚连接。Optionally, in order to further expand the IIC address information, as shown in Figure 9, the test motherboard also includes an IIC expansion assembly; the input end of the IIC expansion assembly is connected to the output end of the second processor, and the output end of the IIC expansion assembly is connected to the to-be-tested. IIC pin connection of riser card.
第二处理器,用于输出第二测试信号,以使第二测试信号经过IIC扩展组件和待测转接卡的IIC引脚到达短路板。The second processor is used for outputting the second test signal, so that the second test signal reaches the short-circuit board through the IIC expansion component and the IIC pin of the riser card to be tested.
示例性地,以第一处理器为CPLD,待测转接卡为PCI-E Riser卡,第二处理器为MCU,IIC扩展组件为IIC switch来说明,可参考图9所示。MCU可以作为IIC的主设备(master端),CPLD作为IIC的从设备(slave端),MCU向IIC switch输出IIC地址信息,IIC switch包括16个地址通道,可以输出扩展后的不同的IIC地址信息,经过PCI-E Riser卡的IIC引脚到达短路板,短路板根据PCI-E Riser卡的IIC引脚输出的IIC地址信息形成对应的回流信息,通过短路板的百兆信号引脚输出至PCI-E Riser卡的百兆信号引脚和RESERVE引脚中,从而CPLD接收PCI-E Riser卡的百兆信号引脚和RESERVE引脚输出的IIC地址信息,MCU等待CPLD根据接收到的IIC地址信息做出响应,若CPLD未做出响应,则确定PCI-E Riser卡中IIC通路存在故障,在得到IIC通路的判断结果之后,MCU可以将判断结果通过UART发送给CPLD,从而使得CPLD对各个通路的判断结果进行汇总,得到PCI-E Riser卡的检测结果。Exemplarily, the first processor is a CPLD, the riser card to be tested is a PCI-E riser card, the second processor is an MCU, and the IIC extension component is an IIC switch, as shown in FIG. 9 . The MCU can be used as the master device (master side) of the IIC, and the CPLD can be used as the slave device (slave side) of the IIC. The MCU outputs the IIC address information to the IIC switch. The IIC switch includes 16 address channels, which can output different extended IIC address information. , through the IIC pin of the PCI-E riser card to the short circuit board, the short circuit board forms the corresponding return information according to the IIC address information output by the IIC pin of the PCI-E riser card, and outputs to the PCI through the 100M signal pin of the short circuit board -E Riser card's 100M signal pin and RESERVE pin, so that CPLD receives the IIC address information output by PCI-E Riser's 100M signal pin and RESERVE pin, MCU waits for CPLD to receive IIC address information Respond, if the CPLD does not respond, it is determined that the IIC path in the PCI-E riser card is faulty. After obtaining the judgment result of the IIC path, the MCU can send the judgment result to the CPLD through UART, so that the CPLD can respond to each path. Summarize the judgment results of the PCI-E riser cards to obtain the detection results of the PCI-E riser card.
可选地,PCI-E Riser卡中还可以设置至少一个温度传感器sensor,如图10所示,在这种情况下,MCU还可以通过金手指的IIC接口直接读取PCI-E Riser卡中sensor的温度值,根据温度值与预设的温度阈值确定PCI-E Riser卡中的sensor是否处于正常工作状态,从而将判断结果通过UART发送给CPLD,从而使得CPLD对各个通路的判断结果进行汇总,得到PCI-E Riser卡的检测结果。Optionally, at least one temperature sensor sensor can also be set in the PCI-E riser card, as shown in Figure 10. In this case, the MCU can also directly read the sensor in the PCI-E riser card through the IIC interface of Goldfinger. According to the temperature value and the preset temperature threshold, it is determined whether the sensor in the PCI-E riser card is in normal working state, so as to send the judgment result to the CPLD through UART, so that the CPLD can summarize the judgment results of each channel. Obtain the test result of the PCI-E riser card.
在本实施例中,通过短路板形成待测转接卡中IIC通路的短路回路,能够有效避免添加线缆等测试工具。通过添加IIC扩展组件,在针对多张PCI-E Riser卡的同时检测的场景,尽可能地避免了IIC地址冲突。In this embodiment, the short circuit of the IIC path in the riser card to be tested is formed by the short circuit board, which can effectively avoid adding test tools such as cables. By adding the IIC expansion component, the IIC address conflict is avoided as much as possible in the scenario of simultaneous detection of multiple PCI-E riser cards.
在其中一个可选的实施例中,如图11所示,测试主板还包括电源;In an optional embodiment, as shown in FIG. 11 , the test motherboard further includes a power supply;
电源,用于输出第三测试信号,以使第三测试信号经过待测转接卡的电压引脚到达短路板;The power supply is used to output the third test signal, so that the third test signal can reach the short-circuit board through the voltage pin of the adapter card to be tested;
短路板,用于根据待测转接卡电压引脚的第三输出信号输出第三回流信号,以使第三回流信号经过待测转接卡的唤醒引脚到达第二处理器;a short circuit board, used for outputting a third return flow signal according to the third output signal of the voltage pin of the riser card to be tested, so that the third return flow signal reaches the second processor through the wake-up pin of the riser card to be measured;
第二处理器,还用于将第三回流信号输出至第一处理器中;The second processor is further configured to output the third return flow signal to the first processor;
第一处理器,还用于对第三回流信号进行信号分析,得到待测转接卡的供电通路的性能测试结果。The first processor is further configured to perform signal analysis on the third return flow signal to obtain a performance test result of the power supply path of the adapter card to be tested.
在本实施例中,电源用于实现测试主板的供电,以及对待测转接卡供电通路的检测。In this embodiment, the power supply is used to realize the power supply of the test motherboard and the detection of the power supply path of the riser card to be tested.
以第一处理器为CPLD,待测转接卡为PCI-E Riser卡、第二处理器为MCU来说明,可参考图11所示。电源输出电压信号,经过PCI-E Riser卡的电压引脚到达短路板的检测电压通道,短路板的检测电压通道根据PCI-E Riser卡的电压引脚的输出电压得到回流电压,将回流电压介入至PCI-E Riser卡的唤醒引脚输出至MCU中。MCU通过ADC功能检测PCI-ERiser卡的回流电压是否正常,进而判断PCI-E Riser卡的供电通路是否正常,从而将检测结果通过UART引脚输出至CPLD中。The first processor is a CPLD, the riser card to be tested is a PCI-E riser card, and the second processor is an MCU, as shown in FIG. 11 . The output voltage signal of the power supply reaches the detection voltage channel of the short-circuit board through the voltage pin of the PCI-E riser card. The detection voltage channel of the short-circuit board obtains the return voltage according to the output voltage of the voltage pin of the PCI-E riser card, and intervenes the return voltage. The wake-up pin to the PCI-E riser is output to the MCU. The MCU detects whether the return voltage of the PCI-ERiser card is normal through the ADC function, and then judges whether the power supply path of the PCI-E riser card is normal, so as to output the detection result to the CPLD through the UART pin.
可选地,测试主板的电源可以提供5V、3V3、12V的供电,也即,电压引脚包括5V、3V3、12V分别对应的引脚;唤醒引脚包括WAKE引脚、RESET引脚中至少一个。Optionally, the power supply of the test motherboard can provide power supply of 5V, 3V3, and 12V, that is, the voltage pins include pins corresponding to 5V, 3V3, and 12V respectively; the wake-up pins include at least one of the WAKE pin and the RESET pin. .
可选地,如图12所示,短路板包括电压引脚和唤醒引脚;短路的电压引脚与待测转接卡的电压引脚连接;短路板的唤醒引脚与待测转接卡的唤醒引脚连接。Optionally, as shown in Figure 12, the short-circuit board includes a voltage pin and a wake-up pin; the short-circuited voltage pin is connected to the voltage pin of the adapter card to be tested; the wake-up pin of the short-circuit board is connected to the adapter card to be tested. the wake-up pin connection.
对应地,短路板中也包括电压引脚和唤醒引脚,以此短路板与测试主板、待测转接卡形成短路回路,通过输出第三测试信号检测待测转接卡中供电通路的连通性。Correspondingly, the short-circuit board also includes a voltage pin and a wake-up pin, so that the short-circuit board forms a short-circuit loop with the test motherboard and the adapter card to be tested, and the connection of the power supply path in the adapter card to be tested is detected by outputting the third test signal. sex.
以第一处理器为CPLD,待测转接卡为PCI-E Riser卡、第二处理器为MCU来说明,可参考图12所示。电源向PCI-E Riser卡输出5V和/或3V3的电压信号,使其内部的传感器等器件正常工作,通过PCI-E Riser卡的电压引脚将电压信号输出至短路板的电压引脚中,短路板根据PCI-E Riser卡的电压引脚的输出电压得到回流电压,将回流电压通过短路板的唤醒引脚,介入至PCI-E Riser卡的唤醒引脚输出至MCU中。MCU通过ADC功能检测PCI-E Riser卡的回流电压是否正常,进而判断PCI-E Riser卡的供电通路是否正常,从而将检测结果通过UART引脚输出至CPLD中。The first processor is a CPLD, the riser card to be tested is a PCI-E riser card, and the second processor is an MCU, as shown in FIG. 12 . The power supply outputs a 5V and/or 3V3 voltage signal to the PCI-E riser card, so that the internal sensors and other devices work normally, and the voltage signal is output to the voltage pin of the short-circuit board through the voltage pin of the PCI-E riser card. The short-circuit board obtains the return voltage according to the output voltage of the voltage pin of the PCI-E riser card, and the return voltage passes through the wake-up pin of the short-circuit board, intervenes into the wake-up pin of the PCI-E riser card and outputs it to the MCU. The MCU detects whether the return voltage of the PCI-E riser card is normal through the ADC function, and then judges whether the power supply path of the PCI-E riser card is normal, so as to output the detection result to the CPLD through the UART pin.
可选地,短路板中还可以设置LED来检测是否被供电,排除短路板未供电的故障情况,可参考图13所示。Optionally, LEDs can also be set in the short-circuit board to detect whether power is supplied to eliminate the failure of the short-circuit board not being powered, as shown in FIG. 13 .
在本实施例中,将PCI-E Riser卡的3V3与3V3_AUX分别与WAKE和RESET信号短接到一起来形成回路,测试主板的电源发出的第三测试信号将全部重新回流到测试主板的CPLD中,能够有效避免添加线缆等测试工具,且,可以定位到PCI-E Riser卡的供电通路是否存在异常。In this embodiment, the 3V3 and 3V3_AUX of the PCI-E riser card are short-circuited with the WAKE and RESET signals respectively to form a loop, and the third test signal sent by the power supply of the test motherboard will all be returned to the CPLD of the test motherboard. , which can effectively avoid adding test tools such as cables, and can locate whether the power supply path of the PCI-E riser card is abnormal.
在待测转接卡的至少一个通路存在异常的情况下,在其中一个可选的实施例中,如图14所示,测试主板还包括与第一处理器连接的蜂鸣器、数码管、LED中至少一个;In the case where at least one channel of the riser card to be tested is abnormal, in one optional embodiment, as shown in FIG. 14 , the test mainboard further includes a buzzer, a digital tube, a at least one of the LEDs;
第一处理器,还用于在确定待测转接卡的性能异常的情况下,通过蜂鸣器、数码管、LED中至少一个输出性能异常信息。The first processor is further configured to output abnormal performance information through at least one of a buzzer, a digital tube, and an LED when it is determined that the performance of the riser card to be tested is abnormal.
在本实施例中,测试主板上设置有数码管、蜂鸣器、LED等器件,用于报警功能,以第一处理器为CPLD,待测转接卡为PCI-E Riser卡、第二处理器为MCU来说明,可参考图14所示,当CPLD检测到PCI-E Riser卡某个通路存在异常时,可通过控制蜂鸣器鸣叫,LED闪烁等方式输出PCI-E Riser卡异常的信息,同时可通过数码管显示出存在异常的PCI-E Riser卡的通路对应的端口数码port number。可选地,用于输出异常信息的器件还可以为显示屏、液晶屏、二极管等器件,本实施例对此不做限定。In this embodiment, devices such as digital tubes, buzzers, and LEDs are provided on the test mainboard for alarm functions. The first processor is a CPLD, the adapter card to be tested is a PCI-E riser card, and the second processor Refer to Figure 14. When the CPLD detects that a certain channel of the PCI-E riser card is abnormal, it can output the abnormal information of the PCI-E riser card by controlling the buzzer to sound and the LED to flash. , and at the same time, the digital port number corresponding to the channel of the abnormal PCI-E riser card can be displayed through the digital tube. Optionally, the device for outputting abnormal information may also be a display screen, a liquid crystal screen, a diode, or other devices, which are not limited in this embodiment.
在本实施例中,可以通过蜂鸣器、数码管以及LED等器件输出PCI-E Riser卡异常的通路信息,可以有效定位至异常通路,提高了PCI-E Riser卡检测的效率。In this embodiment, the abnormal path information of the PCI-E riser card can be output through devices such as a buzzer, a digital tube, and an LED, which can effectively locate the abnormal path and improve the detection efficiency of the PCI-E riser card.
本申请实施例提供的测试方法,可以应用于如图1所示的测试装置中。一个实施例中,如图15所示,提供了一种测试方法,以该方法应用于图1中的测试装置为例进行说明,包括以下步骤:The test method provided in the embodiment of the present application can be applied to the test device shown in FIG. 1 . In one embodiment, as shown in FIG. 15 , a test method is provided, which is described by taking the method applied to the test device in FIG. 1 as an example, including the following steps:
步骤201,通过测试装置的测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达测试装置的短路板中。Step 201 , output a test signal to the riser card to be tested through the test motherboard of the test device, so that the test signal reaches the short circuit board of the test device through the riser card to be tested.
在本实施例中,在测试装置上电之后,通过测试装置中的测试主板向待测转接卡输出测试信号,示例性地,若检测待测转接卡的供电通路,则通过测试主板输出的测试信号可以理解为电压值;若检测待测转接卡的IIC通路,则通过测试主板输出的测试信号可以为IIC地址信息;若检测待测转接卡的其他通路,则通过测试主板可以输出脉冲调制信号。以使信测信号通过待测转接卡达到短路板中,本实施例中测试主板输出的信号基于待测转接卡所包括的通路确定。In this embodiment, after the test device is powered on, a test signal is output to the adapter card to be tested through the test motherboard in the test device. Exemplarily, if the power supply path of the adapter card to be tested is detected, the output signal is output through the test motherboard. The test signal can be understood as a voltage value; if the IIC path of the riser card to be tested is detected, the test signal output by the test motherboard can be the IIC address information; if other paths of the riser card to be tested are detected, the test board can Output pulse modulated signal. In order to make the signal under test reach the short-circuit board through the adapter card to be tested, the signal output by the test motherboard in this embodiment is determined based on the path included in the adapter card to be tested.
步骤202,通过短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板。Step 202 , output a return signal through the short-circuit board according to the output signal of the riser card to be tested, so that the return signal reaches the test motherboard after passing through the riser card to be tested.
在本实施例中,短路板根据接收到的待测转接卡的输出信号输出回流信号,使得回流信号经过待测转接卡到达测试主板中,示例性地,若待测转接卡输出的是电压值,则短路板输出电压值对应的回流电压,经过待测转接卡,将回流电压输出至测试主板中;若待测转接卡输出的是IIC地址信息,则短路板输出IIC地址信息对应的回流IIC地址信息,经过待测转接卡,将回流IIC地址信息输出至测试主板中;若待测转接卡输出的是其他信号,例如PWM信号,则短路板输出PWM信号对应的回流PWM信号,经过待测转接卡,将回流PWM信号输出至测试主板中。In this embodiment, the short-circuit board outputs a return signal according to the received output signal of the riser card to be tested, so that the return signal passes through the riser card to be tested and reaches the test motherboard. If it is a voltage value, the short circuit board outputs the return voltage corresponding to the voltage value, and outputs the return voltage to the test motherboard through the adapter card to be tested; if the adapter card to be tested outputs IIC address information, the short circuit board outputs the IIC address The return IIC address information corresponding to the information is output to the test motherboard through the adapter card to be tested; if the adapter card to be tested outputs other signals, such as PWM signals, the short circuit board outputs the corresponding PWM signals. The return PWM signal is output to the test motherboard through the adapter card to be tested.
步骤203,通过测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。In step 203, the test mainboard performs signal analysis according to the return flow signal output by the short-circuit board to obtain a performance test result of the adapter card to be tested.
在本实施例中,测试主板根据接收到的回流信号进行信号分析,可选地,测试主板可以分析回流信号的波形、回流信号的信号参数或者回流信号所指示的其他参数,例如电压值等,来确定回流信号所对应的通路是否存在故障,得到待测转接卡的性能检测结果。可选地,在待测转接卡包括多个通路的场景下,也即,测试主板接收多个通路对应的回流信号的场景下,测试主板对所有通路对应的回流信号进行信号分析,若存在至少一个通路对应的回流信号异常,也即存在至少一个通路存在故障,则定位该通路并输出该通路故障的提示信息,确定待测转接卡性能异常;若所有通路对应的回流信号均未出现异常,也即,所有通路均正常,则确定待测转接卡性能正常。In this embodiment, the test mainboard performs signal analysis according to the received backflow signal. Optionally, the test mainboard can analyze the waveform of the backflow signal, the signal parameters of the backflow signal, or other parameters indicated by the backflow signal, such as voltage values, etc., to determine whether the path corresponding to the return signal is faulty, and obtain the performance test result of the adapter card to be tested. Optionally, in the scenario where the riser card to be tested includes multiple channels, that is, in the scenario where the test mainboard receives the backflow signals corresponding to the multiple channels, the test mainboard performs signal analysis on the backflow signals corresponding to all channels, and if there are any If the backflow signal corresponding to at least one channel is abnormal, that is, at least one channel is faulty, locate the channel and output the prompt information of the channel failure to determine that the performance of the adapter card to be tested is abnormal; if the backflow signal corresponding to all channels does not appear If it is abnormal, that is, all channels are normal, it is determined that the performance of the riser card to be tested is normal.
上述测试方法中,通过测试装置的测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达测试装置的短路板中;通过短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;通过测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。在本方案中,通过测试装置中的短路板形成信号回路,测试装置中的测试主板可以根据回流信号定位待测转接卡的通路是否存在问题,且,通过短路板还可以实现多个待测转接卡的同步性能测试,不需要多次进行服务器主板的插接来测试待测转接卡的性能,降低了工装的机械复杂度,也降低了对服务器主板的slot槽的损耗,延长服务器主板的寿命,降低成本消耗。In the above test method, the test signal is output to the adapter card to be tested through the test motherboard of the test device, so that the test signal reaches the short circuit board of the test device through the adapter card to be tested; The signal outputs a return signal, so that the return signal reaches the test motherboard after passing through the adapter card to be tested; the test motherboard conducts signal analysis according to the return signal output by the short circuit board, and obtains the performance test result of the adapter card to be tested. In this solution, a signal loop is formed by the short circuit board in the test device, and the test main board in the test device can locate whether there is a problem with the passage of the adapter card to be tested according to the backflow signal. The synchronization performance test of the riser card does not require multiple insertions of the server motherboard to test the performance of the riser card to be tested, which reduces the mechanical complexity of the tooling, reduces the loss of the slot slot of the server motherboard, and prolongs the server The lifespan of the motherboard reduces the cost consumption.
应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowcharts involved in the above embodiments are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but may be performed at different times The execution order of these steps or phases is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or phases in the other steps.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图16所示。该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质和内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储测试数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种测试方法。In one embodiment, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in FIG. 16 . The computer device includes a processor, memory, and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes non-volatile storage media and internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The computer equipment's database is used to store test data. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program when executed by a processor implements a testing method.
本领域技术人员可以理解,图16中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 16 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory and a processor, a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
通过测试装置的测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达测试装置的短路板中;Output the test signal to the adapter card to be tested through the test motherboard of the test device, so that the test signal reaches the short circuit board of the test device through the adapter card to be tested;
通过短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;Output the return signal through the short-circuit board according to the output signal of the riser card to be tested, so that the return signal reaches the test motherboard after passing through the riser card to be tested;
通过测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。The performance test result of the adapter card to be tested is obtained by analyzing the signal according to the backflow signal output by the short circuit board by the test motherboard.
上述实施例提供的计算机设备,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principles and technical effects of the computer equipment provided by the above embodiments are similar to those of the above method embodiments, and details are not described herein again.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
通过测试装置的测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达测试装置的短路板中;Output the test signal to the adapter card to be tested through the test motherboard of the test device, so that the test signal reaches the short circuit board of the test device through the adapter card to be tested;
通过短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;Output the return signal through the short-circuit board according to the output signal of the riser card to be tested, so that the return signal reaches the test motherboard after passing through the riser card to be tested;
通过测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。The performance test result of the adapter card to be tested is obtained by analyzing the signal according to the backflow signal output by the short circuit board by the test motherboard.
上述实施例提供的计算机可读存储介质,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principles and technical effects of the computer-readable storage medium provided by the foregoing embodiments are similar to those of the foregoing method embodiments, and details are not described herein again.
在一个实施例中,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the following steps:
通过测试装置的测试主板向待测转接卡输出测试信号,以使测试信号经过待测转接卡到达测试装置的短路板中;Output the test signal to the adapter card to be tested through the test motherboard of the test device, so that the test signal reaches the short circuit board of the test device through the adapter card to be tested;
通过短路板根据待测转接卡的输出信号输出回流信号,以使回流信号经过待测转接卡后到达测试主板;Output the return signal through the short-circuit board according to the output signal of the riser card to be tested, so that the return signal reaches the test motherboard after passing through the riser card to be tested;
通过测试主板根据短路板输出的回流信号进行信号分析,得到待测转接卡的性能测试结果。The performance test result of the adapter card to be tested is obtained by analyzing the signal according to the backflow signal output by the short circuit board by the test motherboard.
上述实施例提供的计算机程序产品,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。The implementation principle and technical effect of the computer program product provided by the foregoing embodiments are similar to those of the foregoing method embodiments, and details are not described herein again.
需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all Information and data authorized by the user or fully authorized by the parties.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-OnlyMemory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic RandomAccess Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to a memory, a database or other media used in the various embodiments provided in this application may include at least one of a non-volatile memory and a volatile memory. Non-volatile memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetic variable memory (Magnetoresistive Random Memory) Access Memory, MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration and not limitation, the RAM may be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM). The database involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a blockchain-based distributed database, etc., but is not limited thereto. The processors involved in the various embodiments provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., and are not limited to this.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the present application should be determined by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111644862.4A CN114490208A (en) | 2021-12-29 | 2021-12-29 | Test apparatus, method, computer equipment, storage medium and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111644862.4A CN114490208A (en) | 2021-12-29 | 2021-12-29 | Test apparatus, method, computer equipment, storage medium and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114490208A true CN114490208A (en) | 2022-05-13 |
Family
ID=81497075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111644862.4A Pending CN114490208A (en) | 2021-12-29 | 2021-12-29 | Test apparatus, method, computer equipment, storage medium and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114490208A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116150073A (en) * | 2023-04-21 | 2023-05-23 | 杭州鸿钧微电子科技有限公司 | PCIe channel splitting automatic identification circuit and method |
CN116930817A (en) * | 2023-09-18 | 2023-10-24 | 安擎计算机信息股份有限公司 | A riser card connector detection fixture and detection method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090153189A1 (en) * | 2007-12-12 | 2009-06-18 | International Business Machines Corporation | Universal serial bus wakeup circuit |
CN201654765U (en) * | 2010-01-12 | 2010-11-24 | 名硕电脑(苏州)有限公司 | Testing device |
CN103473166A (en) * | 2013-08-27 | 2013-12-25 | 中国航天科工集团第二研究院七〇六所 | Small embedded-type system board card monitoring system |
CN104239169A (en) * | 2013-06-14 | 2014-12-24 | 鸿富锦精密工业(深圳)有限公司 | Signal testing card and method |
CN112711504A (en) * | 2020-12-31 | 2021-04-27 | 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) | Test system and test method |
CN213658911U (en) * | 2020-11-16 | 2021-07-09 | 中国电子科技集团公司第三十研究所 | Universal automatic test system for PCIe board card |
-
2021
- 2021-12-29 CN CN202111644862.4A patent/CN114490208A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090153189A1 (en) * | 2007-12-12 | 2009-06-18 | International Business Machines Corporation | Universal serial bus wakeup circuit |
CN201654765U (en) * | 2010-01-12 | 2010-11-24 | 名硕电脑(苏州)有限公司 | Testing device |
CN104239169A (en) * | 2013-06-14 | 2014-12-24 | 鸿富锦精密工业(深圳)有限公司 | Signal testing card and method |
CN103473166A (en) * | 2013-08-27 | 2013-12-25 | 中国航天科工集团第二研究院七〇六所 | Small embedded-type system board card monitoring system |
CN213658911U (en) * | 2020-11-16 | 2021-07-09 | 中国电子科技集团公司第三十研究所 | Universal automatic test system for PCIe board card |
CN112711504A (en) * | 2020-12-31 | 2021-04-27 | 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) | Test system and test method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116150073A (en) * | 2023-04-21 | 2023-05-23 | 杭州鸿钧微电子科技有限公司 | PCIe channel splitting automatic identification circuit and method |
CN116150073B (en) * | 2023-04-21 | 2023-12-15 | 杭州鸿钧微电子科技有限公司 | PCIe channel splitting automatic identification circuit and method |
CN116930817A (en) * | 2023-09-18 | 2023-10-24 | 安擎计算机信息股份有限公司 | A riser card connector detection fixture and detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6505317B1 (en) | System and method for testing signal interconnections using built-in self test | |
CN102023912B (en) | Dormancy wake-up testing system and method | |
CN104375915A (en) | Method for interactively and quickly diagnosing mainboard time sequence by utilizing BMC (baseboard management controller) and CPLD (complex programmable logic device) | |
CN104572385B (en) | Memory fault detection system and method | |
CN102244591A (en) | Client server and method for full process monitoring on function text of client server | |
KR20090127834A (en) | Systems and Methods for Testing Integrated Circuit Devices | |
CN114490208A (en) | Test apparatus, method, computer equipment, storage medium and program product | |
US9405315B2 (en) | Delayed execution of program code on multiple processors | |
US9542304B1 (en) | Automated operating system installation | |
CN106201804A (en) | The device of a kind of measuring and calculation mainboard, method and system | |
CN102929755B (en) | Fault detection method of CPU (Central Processing Unit) module address and data bus | |
CN106407059A (en) | Server node testing system and method | |
CN103645435B (en) | The software module design for Measurability method of multi-signal model programmable logic device (PLD) | |
US9158646B2 (en) | Abnormal information output system for a computer system | |
CN102996482A (en) | Method and device for detecting states of multiple fans | |
US10977205B1 (en) | HDD detection system | |
CN104239174A (en) | BMC (baseboard management controller) remote debugging system and method | |
CN103345944B (en) | Storage device and method for testing storage device through test machine | |
CN216748731U (en) | Detection circuit, interface link tooling plate and detection system | |
CN117608952B (en) | Detection device and detection method | |
CN109147861A (en) | A kind of hard disk is in level detecting apparatus and method | |
CN110570897B (en) | Memory detection system, memory detection method and error mapping table establishment method | |
CN110907857B (en) | Automatic connector detection method based on FPGA | |
CN112596983A (en) | A monitoring method for a connector in a server | |
CN115934446A (en) | A self-test method, server, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |