Hardware performance test method, system and equipment based on Type-C interface of server and medium

Connecting servers and test equipment through the Type-C interface, using remote tools and data processing modules to implement hardware performance testing, solving the problems of complex connections and long testing time in the existing technology, and achieving efficient and accurate hardware performance testing.

CN119576679APending Publication Date: 2025-03-07西安超越申泰信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411518712.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The prior art is difficult to use the Type-C interface to achieve efficient connection between servers and test equipment, resulting in complex hardware connection and configuration processes and long testing time.

Method used

Connect the server and test equipment through the Type-C interface, use remote tools to connect remotely, upload test tools and instructions, transmit test data, and analyze hardware performance through the data processing module to generate performance reports.

Benefits of technology

It realizes efficient connection between servers and test equipment, simplifies hardware connection and configuration processes, shortens test time, and avoids data inconsistency through high-speed communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576679A_ABST
    Figure CN119576679A_ABST
Patent Text Reader

Abstract

The invention discloses a hardware performance test method, system and device based on a server Type-C interface and a medium, belongs to the technical field of server performance test, and aims to solve the technical problem of how to realize connection between a server and a test device by using the Type-C interface, simplify the hardware connection and configuration process and improve the test efficiency. The transmission advantage of a Type-C interface is utilized, the test time is shortened, and the technical scheme is that test equipment is connected to a server through the Type-C interface; starting a remote tool by the test equipment, remotely connecting the server by selecting a Type-C interface, and successfully connecting the Type-C interface with the server; uploading a test tool or a test instruction, and transmitting test data to a server through the Type-C interface; the server performs calculation or processing according to the test instruction, and calls a command or a tool script to perform server hardware performance calculation; and the test equipment obtains feedback information printing and data collection in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of server performance testing, and in particular to a hardware performance testing method, system, device and medium based on a server Type-C interface. Background Art

[0002] With the continuous improvement of server performance and the continuous iteration of hardware, the number of servers has also increased. The demand for testing the hardware performance of servers when they leave the factory and are deployed is also increasing. Traditional hardware performance testing usually relies on standard interfaces (such as PCIe, SATA, VGA, IPMI, etc.) for data transmission and testing. However, with the popularization of Type-C interface, the potential of using Type-C interface for hardware performance testing has gradually emerged. In server hardware testing, serial port interface is often used for hardware performance debugging and testing due to its stability and simplicity. However, with the upgrade of hardware performance and interface standards, Type-C interface has gradually attracted attention for its high-speed transmission and versatility. Using Type-C interface for hardware performance testing can combine the communication characteristics of traditional serial port to achieve more efficient and accurate testing methods. The current application of Type-C on servers is limited to transmitting current and printing serial port information, and cannot directly connect the system, upload data and delegate commands, and the functions have not been fully developed.

[0003] Therefore, how to use the Type-C interface to connect the server and test equipment, simplify the hardware connection and configuration process, and take advantage of the transmission advantages of the Type-C interface to shorten the test time is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The technical task of the present invention is to provide a hardware performance testing method, system, device and medium based on the Type-C interface of the server to solve the problem of how to use the Type-C interface to realize the connection between the server and the test equipment, simplify the hardware connection and configuration process, and utilize the transmission advantages of the Type-C interface to shorten the test time.

[0005] The technical task of the present invention is achieved in the following way: a hardware performance testing method based on the server Type-C interface, the method is as follows:

[0006] Connect the test device to the server via the Type-C interface;

[0007] The test device opens the remote tool, connects to the server remotely by selecting the Type-C interface, and successfully connects;

[0008] Upload test tools or test instructions, and transmit test data to the server through the Type-C interface;

[0009] The server performs calculations or processing according to the test instructions, and calls commands or tool scripts to calculate the server hardware performance;

[0010] Test equipment obtains real-time feedback information printing and data collection;

[0011] If the real-time feedback information does not meet the requirements or the test is interrupted and an error occurs, timely correction and adjustment will be made to achieve the results of time optimization and test optimization;

[0012] Generate performance reports, feedback and collect them on the test equipment. The Type-C high-speed communication method effectively avoids the problem of inconsistent packet data caused by secondary data transmission.

[0013] Preferably, Xshell is used as the remote tool.

[0014] Preferably, data transmitted via the Type-C interface is converted into a serial port protocol or a protocol suitable for hardware testing.

[0015] A hardware performance testing system based on a server Type-C interface, the system comprising:

[0016] Type-C interface module, used for data transmission and communication between the server and the device under test;

[0017] A data conversion module, used to convert the data format of the Type-C interface into a serial communication format or other data format suitable for performance testing;

[0018] Data processing module, used to receive, parse and analyze data transmitted through the Type-C interface and evaluate hardware performance;

[0019] The control module is used to manage the test process, send instructions and collect test results.

[0020] Preferably, the data conversion module converts the data transmitted through the Type-C interface into a serial port protocol or a protocol suitable for hardware testing.

[0021] Preferably, the control module starts the test, the test instruction is transmitted to the hardware device through the Type-C interface, and the data responded by the test device is returned to the server through the same interface.

[0022] Preferably, the data processing module parses and analyzes the returned data and finally generates a performance test result.

[0023] Preferably, the working process of the system is as follows:

[0024] (1) Test connection: Connect the test device to the server through the Type-C interface;

[0025] (2) Data transmission: Data is transmitted through the Type-C interface, and the data conversion module converts the data format into a format similar to the serial port for testing;

[0026] (3) Communication: Use a communication protocol similar to a serial port to exchange data with the test equipment through the Type-C interface;

[0027] (4) Performance analysis: The data processing module analyzes the received data and generates a performance test report.

[0028] An electronic device comprising: a memory and at least one processor;

[0029] Wherein, the memory stores a computer program;

[0030] The at least one processor executes the computer program stored in the memory, so that the at least one processor executes the hardware performance testing method based on the server Type-C interface as described above.

[0031] A computer-readable storage medium stores a computer program, which can be executed by a processor to implement the hardware performance testing method based on the server Type-C interface as described above.

[0032] The hardware performance testing method, system, device and medium based on the server Type-C interface of the present invention have the following advantages:

[0033] (1) The present invention utilizes the advantages of the Type-C interface, which not only has high-speed data transmission capability, but also supports multiple protocols, providing a new way for hardware performance testing;

[0034] (ii) The Type-C interface of the present invention has a high transmission rate, which can improve the test efficiency. The multi-protocol support of the Type-C interface enables the system to adapt to different types of hardware devices, and through the use of the data conversion module, the test process is simplified to an operation mode similar to serial communication;

[0035] (III) The versatility of the Type-C interface of the present invention enables it to adapt to a variety of hardware testing requirements and has strong versatility;

[0036] (iv) The high-speed data transmission and protocol conversion capabilities of the present invention can greatly shorten the test time and are highly efficient;

[0037] (V) The present invention simplifies the hardware connection and configuration process, improves the ease of use of the test, and is convenient;

[0038] (VI) The present invention generates a performance report through a control module, feeds back and collects it on the test equipment, and the Type-C high-speed communication method effectively avoids the problem of inconsistent packet data caused by secondary data transmission;

[0039] (VII) The present invention utilizes the high data transmission capability of the Type-C interface, adapts to different types of hardware testing requirements through a protocol conversion module, and implements efficient hardware performance testing through a data processing module and a control module. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The present invention is further described below in conjunction with the accompanying drawings.

[0041] Attached Figure 1 The figure is a flowchart of a hardware performance testing method based on a server Type-C interface. DETAILED DESCRIPTION

[0042] The hardware performance testing method, system, device and medium based on the server Type-C interface of the present invention are described in detail below with reference to the drawings and specific embodiments of the specification.

[0043] Embodiment 1:

[0044] As attached Figure 1 As shown, this embodiment provides a hardware performance testing method based on the server Type-C interface, and the method is specifically as follows:

[0045] S1. Connect the test device to the server via the Type-C interface;

[0046] S2. The test device opens the remote tool, connects to the server remotely by selecting the Type-C interface, and successfully connects.

[0047] S3, upload the test tool or test command, and transmit the test data to the server through the Type-C interface;

[0048] S4. The server performs calculations or processing according to the test instructions and calls commands or tool scripts to calculate the server hardware performance;

[0049] S5, testing equipment obtains real-time feedback information printing and data collection;

[0050] S6. If the real-time feedback information does not meet the requirements or the test is interrupted and an error occurs, timely correction and adjustment will be made to achieve the results of time optimization and test optimization.

[0051] S7. Generate performance reports, feedback and collect them on the test equipment. The Type-C high-speed communication method effectively avoids the problem of inconsistent packet data caused by secondary data transmission.

[0052] The remote tool in this embodiment adopts Xshell.

[0053] In this embodiment, the data transmitted through the Type-C interface is converted into a serial port protocol or a protocol suitable for hardware testing.

[0054] Embodiment 2:

[0055] This embodiment provides a hardware performance testing system based on a server Type-C interface, the system comprising:

[0056] Type-C interface module, used for data transmission and communication between the server and the device under test;

[0057] A data conversion module, used to convert the data format of the Type-C interface into a serial communication format or other data format suitable for performance testing;

[0058] Data processing module, used to receive, parse and analyze data transmitted through the Type-C interface and evaluate hardware performance;

[0059] The control module is used to manage the test process, send instructions and collect test results.

[0060] The data conversion module in this embodiment converts the data transmitted through the Type-C interface into a serial port protocol or a protocol suitable for hardware testing.

[0061] The control module in this embodiment starts the test, the test instruction is transmitted to the hardware device through the Type-C interface, and the data responded by the test device is returned to the server through the same interface.

[0062] The data processing module in this embodiment parses and analyzes the returned data and finally generates a performance test result.

[0063] As attached Figure 1 As shown in the figure, the working process of the system is as follows:

[0064] (1) Test connection: Connect the test device to the server through the Type-C interface;

[0065] (2) Data transmission: Data is transmitted through the Type-C interface, and the data conversion module converts the data format into a format similar to the serial port for testing;

[0066] (3) Communication: Use a communication protocol similar to a serial port to exchange data with the test equipment through the Type-C interface;

[0067] (4) Performance analysis: The data processing module analyzes the received data and generates a performance test report.

[0068] Embodiment 3:

[0069] This embodiment also provides an electronic device, including: a memory and a processor;

[0070] Wherein, the memory stores computer-executable instructions;

[0071] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the hardware performance testing method based on the server Type-C interface in any embodiment of the present invention.

[0072] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor may be a microprocessor or any conventional processor, etc.

[0073] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory can also include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash memory card, at least one disk storage period, a flash memory device, or other volatile solid-state storage devices.

[0074] Embodiment 4:

[0075] This embodiment also provides a computer-readable storage medium, which stores a plurality of instructions, which are loaded by a processor, so that the processor executes the hardware performance test method based on the server Type-C interface in any embodiment of the present invention. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code that implements the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0076] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0077] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RYM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.

[0078] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0079] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A hardware performance testing method based on a server Type-C interface, characterized in that: The method is as follows: Connect the test device to the server via the Type-C interface; The test device opens the remote tool, connects to the server remotely by selecting the Type-C interface, and successfully connects; Upload test tools or test instructions, and transmit test data to the server through the Type-C interface; The server performs calculations or processing according to the test instructions, and calls commands or tool scripts to calculate the server hardware performance; Test equipment obtains real-time feedback information printing and data collection; If the real-time feedback information does not meet the requirements or the test is interrupted and an error occurs, timely correction and adjustment will be made to achieve the results of time optimization and test optimization; Generate performance reports and collect feedback on test equipment.

2. The hardware performance testing method based on the server Type-C interface according to claim 1 is characterized in that: The remote tool used is Xshell.

3. The hardware performance testing method based on the server Type-C interface according to claim 1 or 2, characterized in that: The data transmitted through the Type-C interface is converted into a serial port protocol or a protocol suitable for hardware testing.

4. A hardware performance test system based on a server Type-C interface, characterized in that: The system includes: Type-C interface module, used for data transmission and communication between the server and the device under test; A data conversion module, used to convert the data format of the Type-C interface into a serial communication format or other data format suitable for performance testing; Data processing module, used to receive, parse and analyze data transmitted through the Type-C interface and evaluate hardware performance; The control module is used to manage the test process, send instructions and collect test results.

5. The hardware performance testing system based on the server Type-C interface according to claim 4 is characterized in that: The data conversion module converts the data transmitted through the Type-C interface into a serial port protocol or a protocol suitable for hardware testing.

6. The hardware performance test system based on the server Type-C interface according to claim 4, characterized in that: The control module starts the test, the test command is transmitted to the hardware device through the Type-C interface, and the data responded by the test device is returned to the server through the same interface.

7. The hardware performance testing system based on the server Type-C interface according to claim 4, characterized in that: The data processing module parses and analyzes the returned data and finally generates performance test results.

8. The hardware performance testing system based on the server Type-C interface according to any one of claims 4 to 7, characterized in that: The working process of the system is as follows: (1) Test connection: Connect the test device to the server through the Type-C interface; (2) Data transmission: Data is transmitted through the Type-C interface, and the data conversion module converts the data format into a format similar to the serial port for testing; (3) Communication: Use a communication protocol similar to a serial port to exchange data with the test equipment through the Type-C interface; (4) Performance analysis: The data processing module analyzes the received data and generates a performance test report.

9. An electronic device, characterized in that: include: memory and at least one processor; Wherein, the memory stores a computer program; The at least one processor executes the computer program stored in the memory, so that the at least one processor executes the hardware performance testing method based on the server Type-C interface as described in any one of claims 1 to 3.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed by a processor to implement the hardware performance testing method based on the server Type-C interface as described in any one of claims 1 to 3.