Test equipment and test method

By designing test equipment for PCIE links and using clamping structures and oscilloscopes to automatically complete testing of different PCIE gears, the problem of lack of PCIE link signal quality testing in the existing technology is solved, and efficient and reliable testing efficiency is achieved. .

CN118779169APending Publication Date: 2024-10-15XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410877331.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing technology lacks test equipment for high-speed serial computer expansion bus standard (PCIE) link signal quality, resulting in a reduction in data transmission rate and an increase in bit error rate, which may cause server interruption in severe cases.

Method used

A test equipment is designed, including a control platform, a clamping structure and a test fixture. The test fixture is fixed through the clamping structure and receives key instructions from the control platform to automatically complete the test of different PCIE gears. The oscilloscope captures and analyzes the PCIE transmitted signal. Determine whether the link is normal.

Benefits of technology

It achieves automated, efficient and reliable PCIE link signal quality testing, improves testing efficiency and accuracy, and avoids problems such as server interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779169A_ABST
    Figure CN118779169A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides test equipment and a test method. The test equipment comprises a control platform, a clamping structure and a test fixture, the test fixture is used for inserting a high-speed serial computer expansion bus standard PCIE slot position of the tested single board; the test fixture is also connected with an oscilloscope; the clamping structure is used for fixing the test fixture, receiving a key instruction of the control platform and completing corresponding key frequency operation on the test fixture according to the key instruction; different key pressing times correspond to different PCIE gears, and different PCIE gears have different rates; the oscilloscope is used for capturing PCIE sending signals from the test fixture; and the oscilloscope or the control platform is used for analyzing the PCIE sending signal captured by the oscilloscope. According to the test equipment provided by the embodiment of the invention, the signal quality of the PCIE link can be automatically tested, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of testing technology, and in particular to a testing device and a testing method. Background Art

[0002] As a high-speed and reliable serial bus standard, Peripheral Component Interconnect Express (PCIE) is widely used in computers, servers, embedded devices, industrial control equipment, etc. For example, in server scenarios, PCIE can be used to expand devices such as graphics processing units (GPUs), storage devices, or network cards.

[0003] The signal quality of PCIE will affect the data transmission rate of the server, increase the bit error rate, etc., and in severe cases will cause a series of problems such as server interruption. Therefore, it is necessary to test the signal quality of the PCIE link before leaving the factory.

[0004] There is currently no equipment to test PCIE links. Summary of the invention

[0005] The embodiments of the present application provide a testing device and a testing method, which can automatically test the signal quality of a PCIE link and improve the testing efficiency.

[0006] The embodiment of the present application provides a test device, including: a control platform, a clamping structure and a test fixture; the test fixture is used to plug into a high-speed serial computer expansion bus standard PCIE slot of a tested single board; the test fixture is also used to connect an oscilloscope; the clamping structure is used to fix the test fixture and receive key instructions from the control platform, and complete a corresponding number of key operations on the test fixture according to the key instructions; different number of key operations correspond to different PCIE gears, and different PCIE gears have different rates; the oscilloscope is used to capture PCIE transmission signals from the test fixture; the oscilloscope or the control platform is used to analyze the PCIE transmission signals captured by the oscilloscope.

[0007] The test equipment provided in the embodiment of the present application fixes the test fixture through a clamping structure, and the clamping structure can receive the key command sent by the control platform, and complete the corresponding number of key operations on the test fixture according to the key command, different number of key operations correspond to different PCIE gears, and different PCIE gears correspond to different rates, thereby completing the test of different PCIE gears of the test fixture. The oscilloscope is connected to the test fixture, and can capture the PCIE transmission signal of the test fixture, analyze the PCIE transmission signal, and determine whether the PCIE link of the tested single board is normal. The test equipment can automatically complete the test of different PCIE gears, with high efficiency and high reliability.

[0008] In a possible implementation, the clamping structure includes: a bracket, a solenoid valve and a suction rod; the solenoid valve and the suction rod are fixed on the bracket, the suction rod is used to suction the test fixture, and the solenoid valve presses a button provided on the test fixture when energized.

[0009] The test equipment provided in the embodiment of the present application is provided with the above clamping structure in order to better fix the test fixture and facilitate the connection between the test fixture and the oscilloscope. The clamping structure can fix the test fixture. The clamping structure fixes the test fixture through an adsorption rod. After fixation, the end of the solenoid valve can be accurately aligned with the position where the automatic key needs to be pressed. At the same time, the three-section support arm and the base can improve the applicable scenarios of the clamping structure to avoid being limited by insufficient space.

[0010] A possible implementation method is that the control platform includes: a host computer and a controller; the host computer includes a human-computer interaction interface, and the human-computer interaction interface is used to set the number of key presses; the host computer is used to generate a key instruction according to the set number of key presses, and send the key instruction to the controller; the controller is used to control the clamping structure to complete the number of key presses corresponding to the key instruction, and the controller feeds back key completion information to the host computer; the key completion information includes the actual number of key presses; the host computer is used to control the human-computer interaction interface to display the actual number of key presses when confirming that the actual number of key presses matches the number of key presses in the key instruction, and otherwise resend the key instruction to the clamping structure.

[0011] Therefore, the test equipment provided in the embodiment of the present application can provide closed-loop feedback on the actual number of key presses, and there is no wrong or missed pressing. If the actual number of key presses fed back does not match the number of key presses carried by the key command, the control platform will resend the key command to the clamping structure. In addition, in order to ensure that the parameter settings of the oscilloscope match the corresponding test gear, the control platform can set the parameters of the oscilloscope when receiving the actual number of key presses and confirming that the actual number of key presses matches the number of key presses in the key command, thereby ensuring that the parameter settings of the oscilloscope are correct, and thus better capturing the PCIE send signal.

[0012] In a possible implementation method, the host computer is also used to send the current PCIE gear corresponding to the actual number of key presses to the oscilloscope after receiving the key completion information, so as to set the oscilloscope level parameters corresponding to the current PCIE gear and enable the waveform saving function of the oscilloscope.

[0013] After the host computer receives the actual number of key presses fed back by the controller, a delay is designed. After the delay, the oscilloscope is controlled to call the script file to automatically save the waveform. For example, one possible implementation method is that the oscilloscope can save the waveform in a unified format, and then send the saved waveform to the host computer. The host computer imports the data corresponding to the waveform into the analysis file for analysis. There is no need to switch the test object and control analysis software all the time during the whole process.

[0014] In one possible implementation, the controller is used to connect to the host computer via a serial interface; the controller is specifically used to identify the key type according to the key instruction, the key type including a single key press or a continuous key press, and complete the key press number operation corresponding to the key instruction according to the key type.

[0015] It should be understood that a single button press means that the clamping structure presses the button only once, and a continuous button press means that the clamping structure presses the button multiple times in succession. Pressing the button the number of times required by the controller at one time corresponds to the gear being tested.

[0016] During actual testing, there may be problems with a few PCIE gears of the tested board, such as the 35th gear. In order to ensure the accuracy of the test results, the 35th gear can be tested again. At this time, there is no need to repeat the test for other gears, and the 35th gear can be tested directly. That is, the key command sent by the controller to the clamping structure can be a continuous key command.

[0017] In a possible implementation, the controller includes a programmable logic chip; and the host computer includes an expandable processing platform.

[0018] Based on a test device provided by the above embodiment of the present application, the embodiment of the present application further provides a test method, and specific advantages can be found in the above description. The test method includes: in response to a test operation of a control platform on a test fixture, the control platform sends a key instruction to the clamping structure, and the key instruction includes a key press number, different key press numbers correspond to different PCIE gears, and different PCIE gears have different rates; the clamping structure completes the corresponding key press number operation on the test fixture according to the key instruction; the test fixture is plugged into a high-speed serial computer expansion bus standard PCIE slot of the tested board; in response to the key instruction of the control platform, the parameters of the oscilloscope are set according to the key press number in the key instruction; in response to the PCIE gear sent by the control platform, the oscilloscope captures the PCIE send signal through the test fixture; and the captured PCIE send signal is analyzed.

[0019] A possible implementation method also includes: the control platform obtains key completion information, and the key completion information includes the actual number of key presses; when the control platform confirms that the actual number of key presses matches the number of key presses in the key instruction, the control platform displays the actual number of key presses, otherwise the key instruction is resent to the clamping structure.

[0020] A possible implementation method, setting the parameters of the oscilloscope according to the number of key presses in the key instruction, includes: the oscilloscope runs a script file, and sets the oscilloscope level parameters according to the PCIE gear corresponding to the number of key presses. The parameters of the script file include at least one of the sampling rate, sampling mode and sampling width.

[0021] In a possible implementation, the control platform sends a key instruction to the clamping structure, including: the key instruction sent by the control platform to the clamping structure includes a key type, and the key type includes a single key or a continuous key. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram of a test device provided in an embodiment of the present application;

[0023] Figure 2 A schematic diagram of a clamping structure provided in an embodiment of the present application;

[0024] Figure 3 A schematic diagram of another testing device provided in an embodiment of the present application;

[0025] Figure 4 A schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;

[0026] Figure 5A flow chart of a testing method provided in an embodiment of the present application;

[0027] Figure 6 A flowchart of button pressing is provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the technical solution provided by the embodiments of the present application, a detailed description is given below in conjunction with the accompanying drawings.

[0029] See also Figure 1 , which is a schematic diagram of a testing device provided in an embodiment of the present application.

[0030] The testing device provided in the embodiment of the present application includes: a control platform 100 , a clamping structure 200 and a testing fixture 300 .

[0031] The test fixture 300 is used to plug into the high-speed serial computer expansion bus standard PCIE slot of the tested single board 500; the test fixture 300 is also used to connect to the oscilloscope 400, and the test fixture 300 and the oscilloscope 400 are used in conjunction with each other. It should be understood that the test fixture 300 and the tested single board 500 are in a plug-in relationship. Figure 1 It only briefly indicates that there is an electrical connection between the two, and does not limit the specific physical form of the plug-in interface.

[0032] The embodiment of the present application does not specifically limit the type of the tested single board 500, for example, it can be various single boards in the server. In a possible implementation, the tested single board 500 can be a hard disk backplane in the server. The tested single board 500 has a PCIE slot, and the test fixture 300 has a PCIE interface. The test fixture 300 and the tested single board 500 can directly communicate through the standard PCIE interface, thereby testing whether the communication rate of each version of the PCIE interface of the tested single board 500 is normal.

[0033] The clamping structure 200 is used to fix the test fixture 300 and receive the key command of the control platform 100, and complete the corresponding key operation on the test fixture 300 according to the key command; different key operations correspond to different PCIE gears, and different PCIE gears have different speeds.

[0034] The embodiment of the present application does not specifically limit the specific implementation method of the clamping structure 200. Figure 1 The figure is only an illustration, and other structures may be used to fix the test fixture 300 and complete the key operation.

[0035] For example, PCIE1.0-PCIE5.0 includes a total of 45 gears, each of which corresponds to a different rate. During testing, it is necessary to traverse the rates of the 45 gears and analyze the signal quality.

[0036] For example, PCIE1.0-PCIE3.0 includes 14 PCIE gears from the 1st to the 14th gear, and PCIE4.0-PCIE5.0 includes 34 gears from the 15th to the 45th gear.

[0037] In order to ensure the normal operation of the tested single board 500, it is necessary to traverse and test the gears of all PCIE versions. For example, for PCIE1.0-PCIE5.0, a total of 45 gears need to be tested. For example, starting the test from the 1st gear, the control platform 100 sends a key command to the clamping structure 200. At this time, the key command is a single key, that is, press the key once. When there is no problem with the test of the 1st gear, the control platform 100 sends a key command to the clamping structure 200 again. At this time, the key command is a single key, and then press the key once to test the 2nd gear. If one round of testing is completed, in order to ensure the accuracy of the test results, a second round of testing can be performed for the gear with problems. For example, if there is a problem with the test result of the 35th gear, the control platform 100 can directly send a key command to the clamping structure 200 to press 35 times in a row. At this time, the clamping structure 200 will press 35 times in a row to directly test the 35th gear.

[0038] The test equipment provided in the embodiment of the present application fixes the test fixture through a clamping structure, and the clamping structure can receive the key command sent by the control platform, and complete the corresponding number of key operations on the test fixture according to the key command, different number of key operations correspond to different PCIE gears, and different PCIE gears correspond to different rates, thereby completing the test of different PCIE gears of the test fixture. The oscilloscope is connected to the test fixture, and can capture the PCIE transmission signal of the test fixture, analyze the PCIE transmission signal, and determine whether the PCIE link of the tested single board is normal. The test equipment can automatically complete the test of different PCIE gears, with high efficiency and high reliability.

[0039] In order to facilitate intuitive observation, the control platform 100 of the test device provided in the embodiment of the present application may also include a human-computer interaction interface, and the human-computer interaction interface may also manually input the number of key presses, for example, directly input 35, and the control platform 100 sends a key press instruction of 35 consecutive times to the clamping structure 200. In addition, after the clamping structure 200 completes the key press, it may also feedback key press completion information to the control platform 100, and the key press completion information includes the actual number of key presses, and the control platform 100 is used to display the actual number of key presses according to the key press completion information.

[0040] Therefore, the test device provided in the embodiment of the present application can provide closed-loop feedback on the actual number of key presses, and there is no wrong or missed pressing. If the actual number of key presses fed back does not match the number of key presses carried by the key command, the control platform 100 will resend the key command to the clamping structure 200. In addition, in order to ensure that the parameter settings of the oscilloscope match the corresponding test gear, the control platform 100 can set the parameters of the oscilloscope when receiving the actual number of key presses and confirming that the actual number of key presses matches the number of key presses in the key command, thereby ensuring that the parameter settings of the oscilloscope are correct, and thus better capturing the PCIE send signal.

[0041] The embodiment of the present application does not specifically limit the specific type of the control platform 100. For example, the control platform 100 can control the clamping structure 200 to click a button, and can also set parameters of the oscilloscope 400 and receive data from the oscilloscope 400.

[0042] It should be understood that the parameters corresponding to different PCIE test gears of the oscilloscope 400 are different. For PCIE1.0-PCIE5.0, different versions correspond to different oscilloscope parameters, thereby satisfying the optimal range of the oscilloscope waveform. For example, different PCIE test gears correspond to different level parameters of the oscilloscope. If the level parameters are not set appropriately, the signal amplitude may be small, causing the oscilloscope to be unable to analyze.

[0043] The oscilloscope 500 is used to capture the PCIE transmission signal through the test fixture 300. The embodiment of the present application mainly tests the PCIE transmission signal sent by the tested single board 500 through the PCIE interface.

[0044] It should be understood that the test fixture 300 , in addition to including buttons, also serves as a data transfer interface for the tested single board 500 , and forwards the PCIE sending signal sent by the tested single board 500 to the oscilloscope 500 .

[0045] The oscilloscope 500 or the control platform 100 is used to analyze the PCIE transmission signal captured by the oscilloscope 400 .

[0046] For example, the oscilloscope 500 runs a script file, and different PCIE gears correspond to different parameters in the script file. The control platform knows the current PCIE gear, and the control platform will send the PCIE gear to the oscilloscope. The script file running in the oscilloscope will select the corresponding parameters according to the PICE gear.

[0047] The embodiment of the present application does not specifically limit the test results, which can be obtained by the oscilloscope 500 or by the control platform 100. That is, the script file can be run in the oscilloscope 500 or in the control platform 100. For example, the oscilloscope runs the script file, and the parameters of the script file may include the sampling mode, sampling rate, and sampling width of the oscilloscope. For example, for PCIE1.0-PCIE3.0, a conventional sampling method can be used. For PCIE4.0-PCIE5.0, due to the higher frequency, the frequency of the oscilloscope may not meet the sampling requirements. The oscilloscope can use a differential sampling method to meet the sampling requirements of PCIE4.0-PCIE5.0.

[0048] The test equipment provided in the embodiment of the present application includes a control platform, a test fixture and a clamping structure. The clamping structure can fix the test fixture, the control platform can send a key command to the clamping structure, and the clamping structure can complete a corresponding number of key operations on the test fixture according to the key command. Different key presses correspond to different PCIE gears, which can be triggered by the control platform to complete the switching of the PCIE gears, thereby realizing the test of automatically setting the PCIE gears, and it is not easy to cause wrong pressing or missing pressing, which can improve the test efficiency and improve the test reliability.

[0049] An implementation method of a clamping structure provided in an embodiment of the present application is described below in conjunction with the accompanying drawings.

[0050] See also Figure 2 , which is a schematic diagram of a clamping structure provided in an embodiment of the present application.

[0051] The test device provided in the embodiment of the present application provides a clamping structure such as Figure 2 As shown, it should be understood that the clamping structure can also be other structures, as long as the test fixture can be fixed, the test fixture is convenient to be pressed and the method test fixture is connected to the oscilloscope. The clamping structure provided in the embodiment of the present application includes: a base 22, a bracket 21, a solenoid valve 23 and an adsorption rod 24; the bracket 21 can be a three-section type, the first section is connected to the base 22, the second section can be connected to the first section, the third section is connected to the second section, and the third section is used to support the solenoid valve 23.

[0052] The solenoid valve 23 and the adsorption rod 24 are fixed on the bracket 21, and the adsorption rod 24 is used to fix the test fixture 300. Figure 2 As shown, a possible implementation method is that the clamping structure includes two adsorption rods 24, which are arranged opposite to each other. Each adsorption rod 24 includes two sections, and there is a certain angle between the first section and the second section. The first section is connected to the bracket 21, and the second section is used to clamp the test fixture 300.

[0053] The first end of the test fixture 300 faces the solenoid valve 23. When the solenoid valve 23 is energized, it moves downward, and a button provided on the test fixture 300 can be pressed. For example, the button can be welded on the test fixture 300. It should be understood that the axial direction of the button is parallel to the movement direction of the solenoid valve 23. For example, during actual testing, the test fixture 300 is clamped and fixed by the adsorption rod 24, and the test fixture 300 moves vertically downward perpendicular to the horizontal plane solenoid valve 23, and the button is pressed.

[0054] The embodiment of the present application does not specifically limit the material and specific form of the adsorption rod 24, and other shapes can be set as needed as long as the test fixture can be fixed.

[0055] The clamping structure uses an adsorption rod to fix the test fixture. After fixation, the end of the solenoid valve can be accurately aligned with the position where the button needs to be automated. At the same time, the three-section arm and base can improve the applicable scenarios of the clamping structure to avoid being limited by insufficient space.

[0056] See also Figure 3 , which is a schematic diagram of another testing device provided in an embodiment of the present application.

[0057] The test equipment provided in the embodiment of the present application, in a possible implementation mode, the control platform 100 may include a controller 101 and a host computer 102, for example, the host computer 102 includes an extensible processing platform, which can also be called a programmable system on a chip, and the programmable here can be fully programmable, that is, both hardware and software can be programmed. The host computer uses an extensible processing platform to set the controller, and the software can be run on the extensible processing platform to set the parameters of the controller without connecting through a serial port.

[0058] The controller includes a programmable logic chip; for example, the programmable logic chip may be a Field-Programmable Gate Array (FPGA).

[0059] The host computer 102 includes a human-computer interaction interface, which is used to set the number of key presses. For example, the number of key presses can be manually input, such as when performing the 35th gear test, 35 can be input. The host computer 102 is used to generate a key press instruction according to the set number of key presses and send the key press instruction to the controller 101.

[0060] The controller 101 is used to control the clamping structure to complete the key press operation corresponding to the key press instruction, and to feed back key press completion information to the upper computer 102. It should be understood that the key press completion information includes the actual key press number.

[0061] After receiving the key completion information, the host computer 102 controls the human-computer interaction interface to display the actual number of key presses according to the key completion information. Therefore, the PCIE gear currently being measured can be observed through the actual number of key presses displayed on the human-computer interaction interface.

[0062] The host computer 102 is also used to compare the actual number of key presses with the number of key presses in the key press command. If they do not match, the key press command will be resent. Since the clamping structure is controlled by the controller 101, the key press is automatically completed, and there is generally no wrong key press or missed key press. Compared with manual key press, the accuracy is better and the key press efficiency is high.

[0063] In a possible implementation, the oscilloscope completes the storage and analysis of the waveform corresponding to the PCIE transmission signal. Since different PCIE gears correspond to different oscilloscope level parameters, and correspond to different parameters in the script file, the host computer 102 can set the oscilloscope level parameters according to the current test gear, and the host computer 102 will also send the test gear to the oscilloscope, and the oscilloscope runs the script file, and the script file sets the corresponding parameters according to the test gear, so that the oscilloscope obtains accurate waveforms and accurate test results.

[0064] Specifically, the host computer 102 is also used to enable the waveform saving function of the oscilloscope 400 and set the oscilloscope level parameters corresponding to the current PCIE gear after receiving the key completion information.

[0065] In a possible implementation, the controller 101 is used to connect to the host computer through a serial interface; for example, the serial interface can be a Universal Serial Bus (USB) interface. The controller 101 is specifically used to identify the key type according to the key instruction, and the key type includes a single key or a continuous key. According to the key type, the key instruction is sent to the clamping structure so that the clamping structure completes the key operation corresponding to the key instruction. It should be understood that a single key means that the clamping structure presses the key only once, and a continuous key means that the clamping structure presses the key multiple times in succession. Pressing the controller 101 the number of times required at one time corresponds to the gear position being tested.

[0066] During actual testing, there may be problems with a few PCIE gears of the tested board, such as the 35th gear. In order to ensure the accuracy of the test results, the 35th gear can be tested again. At this time, there is no need to repeat the test for other gears, and the 35th gear can be tested directly. That is, the key command sent by the controller to the clamping structure can be a continuous key command.

[0067] The human-computer interaction interface included in the host computer provided in the embodiment of the present application is introduced below in conjunction with the accompanying drawings.

[0068] See also Figure 4, which is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application.

[0069] The present application embodiment does not specifically limit the specific style of the human-computer interaction interface. Figure 4 The above is just an example, including the gear input area, the gear status display area, the actual key press count display area, the Press button, the Save button, the Reset button, the Exit button, the parameter increase button, the parameter decrease button, etc.

[0070] The gear input area can be used to manually enter the gear, for example, enter the 35th gear.

[0071] Press button to enable the solenoid valve virtual key. After entering the gear position in the gear input area, press the Press button to start. The controller can then start controlling the solenoid valve to operate.

[0072] Among them, the actual number of key presses display area is used to display the gear status. For example, for the 45-gear test, a 2-digit analog digital tube 8-shaped display can be used, and the digital display of 0-45 corresponding to the 1-45 gears can be performed. For example, it should be understood that the human-computer interaction interface displays the actual number of key presses that the controller feeds back to the host computer.

[0073] The gear status area is displayed, and the gear status includes Ready and Typing. In specific implementation, the delay time can be set in the software. For example, the timing starts from Typing. When the delay time is reached, the gear status automatically switches from Typing to Ready. This application does not specifically limit the length of the delay time. For example, the delay time can range from 1s to 3s to ensure that the oscilloscope can capture the PCIE send signal. When the gear status changes from Typing to Ready, the host computer can unlock the Save button, which enables the waveform saving function of the oscilloscope and keeps the current waveform. The host computer and the controller interact, the controller sends the current test gear to the host computer, and then the host computer sends the current test gear to the oscilloscope. The oscilloscope sets the parameters of the script file according to the current test gear.

[0074] In some implementations, the staff can set the level parameters of the oscilloscope corresponding to the current test gear through the parameter up button or parameter down button of the human-computer interaction interface. For example, in some special working conditions, the amplitude of the waveform is too large and the oscilloscope cannot capture the waveform. At this time, the parameters can be changed through the parameter up button or parameter down button so that the oscilloscope can capture the waveform.

[0075] The Reset button is a reset button that clears the current settings of each button.

[0076] Exit button is the exit button. Click the Exit button to exit the current host computer software.

[0077] The human-computer interaction interface provided in the embodiment of the present application facilitates the input of the test gear and the setting of parameters, the parameter setting includes the parameter setting of the oscilloscope, and the parameter setting of the oscilloscope includes the level parameter of the oscilloscope. For example, the oscilloscope runs a script file to set the corresponding parameters according to the test gear. In order to facilitate subsequent analysis and further testing, the oscilloscope can feed back the saved waveform and the analysis results of the test to the host computer.

[0078] The testing process of the testing equipment provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0079] Step 1: Connect the controller to the host computer, and after confirming that the software of the host computer can be recognized normally, prepare to start the operation.

[0080] Step 2: Enter the gear position in the human-computer interaction interface of the host computer, which corresponds to the setting of the number of key presses. The host computer sends the number of key presses to the controller.

[0081] Step 3: After receiving the number of key presses, the controller sends a key command to the clamping structure.

[0082] Step 4: The clamping structure presses the button a corresponding number of times according to the button instruction. After the button is pressed, the clamping structure feeds back button completion information to the controller, and the button completion information includes the actual number of button presses.

[0083] Step 5: The controller receives the key completion information and returns the key completion information to the host computer.

[0084] Step 6: The host computer receives the key completion information, sets the parameters of the oscilloscope according to the actual number of key presses in the key completion information, and enables the waveform saving function of the oscilloscope.

[0085] Step 7: After the host computer completes the setting of various parameters, the operator clicks the Save button to complete the test phase.

[0086] Step 8: The oscilloscope captures the waveform, organizes the captured waveform according to the format required by the analysis file of the host computer, and sends it to the host computer. The host computer runs the analysis file to perform data analysis.

[0087] It should be understood that the analysis file is specifically used for data analysis of the waveform. The analysis results can determine whether the PCIE link of the test fixture is qualified. The analysis file can be run in an oscilloscope or in a host computer. In order to increase the speed of data analysis, the embodiment of the present application is introduced by taking the running of the analysis file in the host computer as an example.

[0088] After the host computer receives the actual number of key presses fed back by the controller, a delay is designed. After the delay, the oscilloscope is controlled to call the script file to automatically save the waveform. For example, one possible implementation method is that the oscilloscope can save the waveform in a unified format, and then send the saved waveform to the host computer. The host computer imports the data corresponding to the waveform into the analysis file for analysis. There is no need to switch the test object and control analysis software all the time during the whole process.

[0089] In the test device provided by the embodiment of the present application, the controller can control the clamping structure to automatically complete the key operation, that is, automatically realize the setting of the test gear, and the setting of the oscilloscope is automatically realized by the host computer. In addition, the host computer can also start the test process only when it confirms that the clamping structure has completed the correct number of key presses, thereby ensuring the accuracy of the test gear.

[0090] Based on a testing device provided in the above embodiment, an embodiment of the present application further provides a testing method, which is described in detail below in conjunction with the accompanying drawings.

[0091] See also Figure 5 , which is a flow chart of a testing method provided in an embodiment of the present application.

[0092] The test method provided in the embodiment of the present application is applied to the test device introduced in the above embodiment, and the test method includes:

[0093] S501: In response to a test operation on the test fixture by the control platform, the control platform sends a key command to the clamping structure.

[0094] The key command includes the number of key presses, and different number of key presses correspond to different PCIE gears, and different PCIE gears have different speeds.

[0095] It should be understood that the control platform can be manually operated to trigger a PCIE link test on the test fixture, where the test fixture has been plugged into the high-speed serial computer expansion bus standard PCIE slot of the tested single board. After the control platform is operated, a key command is sent to the clamping structure. For example, a single key press number can be manually input on the control platform, or a complete test can be directly triggered, that is, all test gears are traversed, which is not specifically limited in the embodiments of the present application.

[0096] The control platform sends the number of key presses to the oscilloscope, and the oscilloscope sets the corresponding oscilloscope level parameters according to the number of key presses, and the oscilloscope sets the parameters of the script file running in the oscilloscope according to the number of key presses. The parameters of the script file include at least one of the sampling rate, sampling mode and sampling width.

[0097] S502: The clamping structure completes a corresponding number of key operations on the test fixture according to the key instruction.

[0098] The embodiment of the present application does not specifically limit the type of the single board under test, for example, it can be various single boards in the server. In a possible implementation, the single board under test can be a hard disk backplane in the server. The single board under test has a PCIE slot, and the test fixture has a PCIE interface. The test fixture and the single board under test can directly communicate through the standard PCIE interface, thereby testing whether the communication rate of each version of the PCIE interface of the single board under test is normal.

[0099] S503: In response to a key command of the control platform, set the parameters of the oscilloscope according to the number of key presses in the key command, so as to set the oscilloscope level parameters corresponding to the current PCIE gear position.

[0100] S504: In response to the PCIE gear position sent by the control platform, the oscilloscope captures the PCIE sending signal through the test fixture.

[0101] The oscilloscope receives the number of key presses sent by the control platform, and runs the script file to set the oscilloscope level parameters according to the number of key presses. The script file selects the parameters according to the number of key presses. The parameters of the script file include at least one of the sampling rate, sampling mode and sampling width. The oscilloscope captures the PCIE sending signal from the PCIE interface of the test fixture.

[0102] S505: Analyze the captured PCIE sending signal.

[0103] The oscilloscope captures the waveform, organizes the captured waveform according to the format required by the analysis file of the host computer, and sends it to the host computer, which runs the analysis file to perform data analysis.

[0104] It should be understood that the analysis file is specifically used for data analysis of the waveform. The analysis results can determine whether the PCIE link of the test fixture is qualified. The analysis file can be run in an oscilloscope or in a host computer. In order to increase the speed of data analysis, the embodiment of the present application is introduced by taking the running of the analysis file in the host computer as an example.

[0105] After the host computer receives the actual number of key presses fed back by the controller, a delay is designed. After the delay, the oscilloscope is controlled to call the script file to automatically save the waveform. For example, one possible implementation method is that the oscilloscope can save the waveform in a unified format, and then send the saved waveform to the host computer. The host computer imports the data corresponding to the waveform into the analysis file for analysis. There is no need to switch the test object and control analysis software all the time during the whole process.

[0106] Of course, in other embodiments, after the oscilloscope captures the waveform, the analysis file can be run to perform data analysis.

[0107] The test method provided in the embodiment of the present application fixes the test fixture through a clamping structure, and the clamping structure can receive the key command sent by the control platform, and completes the corresponding number of key operations on the test fixture according to the key command, and different number of key operations correspond to different PCIE gears, and different PCIE gears correspond to different rates, thereby completing the test of different PCIE gears of the test fixture. The oscilloscope is connected to the test fixture, and can capture the PCIE transmission signal of the test fixture, analyze the PCIE transmission signal, and determine whether the PCIE link of the tested single board is normal. The test equipment can automatically complete the test of different PCIE gears, with high efficiency and high reliability.

[0108] In order to facilitate intuitive observation, the control platform of the test equipment provided in the embodiment of the present application may also include a human-computer interaction interface. The human-computer interaction interface may also manually input the number of key presses. For example, directly input 35, and the control platform sends a key command to the supporting structure clamping structure to press 35 times in a row. In addition, after the supporting structure clamping structure completes the key press, it may also feedback key press completion information to the control platform. The key press completion information includes the actual number of key presses. The control platform is used to display the actual number of key presses according to the key press completion information. That is, the test method provided in the embodiment of the present application also includes: the clamping structure feeds back key press completion information to the control platform, and the key press completion information includes the actual number of key presses; when the control platform confirms that the actual number of key presses matches the number of key presses in the key command, it displays the actual number of key presses, and otherwise resends the key command to the clamping structure.

[0109] The test method provided by the embodiment of the present application further includes: after receiving the key completion information, the host computer enables the waveform saving function of the oscilloscope and sets the oscilloscope level parameter corresponding to the current PCIE gear. Since the number of key presses is different each time, after each key press is completed, the host computer sets the oscilloscope level parameter corresponding to the number of key presses and notifies the oscilloscope to capture the waveform.

[0110] The test method provided by the embodiment of the present application, the control platform sends a key command to the clamping structure, including: the control platform identifies the key type according to the key command, the key type includes a single key or a continuous key, and completes the key operation corresponding to the key command according to the key type. When traversing 45 gears for the first time, you can increase the key press one time each time, that is, a single key press. After the 45 traversal tests are completed, if the analysis results show that there is a problem with the PCIE gear, you can directly test the PCIE gear. For example, if there is a problem with the 35th gear, press the key continuously to 35 times.

[0111] In the test method provided in the embodiment of the present application, a delay is designed after the host computer receives the actual number of key presses fed back by the controller, and after the delay, the oscilloscope is controlled to call the script file to automatically save the waveform. For example, in one possible implementation method, the oscilloscope can save the waveform in a unified format, and then send the saved waveform to the host computer, and the host computer imports the data corresponding to the waveform into the analysis file for analysis, without the need to switch the test object and control analysis software all the time.

[0112] The specific process of the controller controlling the clamping structure to perform key operations is described below with reference to the accompanying drawings.

[0113] See also Figure 6 , which is a flowchart of a key pressing provided in an embodiment of the present application.

[0114] S601: The controller sends a key command to the clamping structure;

[0115] S602: The controller determines whether the number of key presses in the key command is greater than 1, and if so, executes S603; otherwise, executes S604.

[0116] S603: The controller controls the solenoid valve to click a button on the test fixture.

[0117] S604: The controller controls the solenoid valve to continuously click the buttons on the test fixture.

[0118] S605: The controller determines whether the accumulated number of key presses is equal to the number of key presses in the key command. If yes, it executes S607, otherwise it executes S604;

[0119] S606: The controller determines whether the cumulative number of key presses is greater than 45 times. If so, execute S607, otherwise execute S603.

[0120] The test method provided in the embodiment of the present application can realize a single key operation on the test fixture, thereby traversing the test of all PCIE gears. It can also complete only the key operation corresponding to a certain PCIE gear when a problem occurs in the PCIE gear, without having to traverse all PCIE gears again, thereby improving the test efficiency.

[0121] The above is only a preferred embodiment of the present application and does not constitute any formal limitation to the present application. Although the present application has been disclosed as above with a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present application using the methods and technical contents disclosed above without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still fall within the scope of protection of the technical solution of the present application.

Claims

1. A test device, It is characterized in that include: Manipulation platforms, clamping structures and test fixtures; The test fixture is used to plug into the high-speed serial computer expansion bus standard PCIE slot of the tested single board; The test fixture is also used to connect to an oscilloscope; The clamping structure is used to fix the test fixture and receive the key command of the control platform, and complete the corresponding key operation on the test fixture according to the key command; different key operations correspond to different PCIE gears, and different PCIE gears have different rates; The oscilloscope is used to capture the PCIE transmission signal from the test fixture; The oscilloscope or the control platform is used to analyze the PCIE sending signal captured by the oscilloscope.

2. The test device according to claim 1, It is characterized in that The clamping structure comprises: a bracket, a solenoid valve and a suction rod; The solenoid valve and the adsorption rod are fixed on the bracket, the adsorption rod is used to adsorb the test fixture, and the solenoid valve presses a button arranged on the test fixture when energized.

3. The test device according to claim 1 or 2, It is characterized in that The control platform includes: a host computer and a controller; The host computer includes a human-computer interaction interface, and the human-computer interaction interface is used to set the number of key presses; The host computer is used to generate a key instruction according to the set number of key presses, and send the key instruction to the controller; The controller is used to control the clamping structure to complete the key press operation corresponding to the key command, and the controller feeds back key press completion information to the host computer; the key press completion information includes the actual number of key presses; The host computer is used to control the human-computer interaction interface to display the actual number of key presses when confirming that the actual number of key presses matches the number of key presses in the key command, and otherwise resend the key command to the clamping structure.

4. The test device according to claim 3, It is characterized in that The host computer is also used to send the current PCIE gear corresponding to the actual number of key presses to the oscilloscope after receiving the key completion information, so as to set the oscilloscope level parameter corresponding to the current PCIE gear and enable the waveform saving function of the oscilloscope.

5. The test device according to claim 3 or 4, It is characterized in that The controller is used to connect to the host computer via a serial interface; The controller is specifically used to identify the key type according to the key instruction, and the key type includes a single key or a continuous key, and complete the key operation corresponding to the key instruction according to the key type.

6. The test device according to claim 3 or 4, It is characterized in that The controller includes a programmable logic chip; the host computer includes an expandable processing platform.

7. A testing method, It is characterized in that include: In response to a test operation on the test fixture by the control platform, the control platform sends a key instruction to the clamping structure, wherein the key instruction includes a key press number, different key press numbers correspond to different PCIE gears, and different PCIE gears have different rates; The clamping structure completes the corresponding number of key operations on the test fixture according to the key command; the test fixture is plugged into the high-speed serial computer expansion bus standard PCIE slot of the tested single board; In response to a key command of the control platform, setting parameters of the oscilloscope according to the number of key presses in the key command; In response to the PCIE gear position sent by the control platform, the oscilloscope captures the PCIE sending signal through the test fixture; The captured PCIE sending signal is analyzed.

8. The test method according to claim 7, It is characterized in that Also includes: The control platform obtains key completion information, wherein the key completion information includes the actual number of key presses; When the control platform confirms that the actual number of key presses matches the number of key presses in the key command, it displays the actual number of key presses, otherwise it resends the key command to the clamping structure.

9. The testing method according to claim 7, It is characterized in that The step of setting the parameters of the oscilloscope according to the number of key presses in the key instruction includes: The oscilloscope runs a script file and sets the oscilloscope level parameters according to the PCIE gear corresponding to the number of key presses. The parameters of the script file include at least one of a sampling rate, a sampling mode and a sampling width.

10. The testing method according to claim 7, It is characterized in that The control platform sends a key command to the clamping structure, including: The key command sent by the control platform to the clamping structure includes a key type, and the key type includes a single key or a continuous key.