Performance test integrated software design method

Through the design of integrated performance testing software, the problem of inefficiency and non-standardization of domestic computer performance testing has been solved, a fast and accurate testing process and efficient hardware detection have been achieved, and the operating complexity and maintenance costs of testers have been reduced.

CN118819982APending Publication Date: 2024-10-22BEIJING INST OF COMP TECH & APPL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410992694.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Performance testing of domestically produced computers suffers from inefficiency and non-standardization of human testing, resulting in long testing cycles, inconsistent tools, unstable results, difficulty in discovering and solving hardware defects, and increased maintenance costs.

Method used

Design a performance testing integration software that integrates multiple hardware testing tools, selects and configures testing tools through a user-friendly interface, provides running commands and progress bar display, and supports automatic detection of hardware and termination of the testing process.

Benefits of technology

It improves the efficiency and accuracy of performance testing, reduces the memory burden and learning costs of testers, and ensures real-time monitoring of test progress and quick termination functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819982A_ABST
    Figure CN118819982A_ABST
Patent Text Reader

Abstract

The invention relates to a performance test integrated software design method, and belongs to the field of software and hardware testing. A plurality of hardware testing tools are integrated in the integrated software, and testing can be started through the same operation steps for different operating system platforms and different hardware, so that correct starting of performance testing is guaranteed, a tester does not need to memorize the corresponding relation between the testing tools and the hardware, and the memory burden of the tester is relieved; secondly, the integrated software can prompt a corresponding starting command in a textbox of a software interface according to the selected hardware test tool, and a tester only needs to input a test process starting command according to prompt information, so that the memory burden of the tester is further reduced; according to the integrated software, the execution progress of the performance test process is displayed through the progress bar of the software interface, so that testers are helped to know the test process; according to the invention, the performance test efficiency can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of software and hardware testing, and in particular relates to a performance testing integrated software design method. Background Art

[0002] In the information age, computer and network technology have penetrated into all areas of the country. The demand for domestic computing in various industries such as government, banking, electricity, industry, and national defense is further increasing. The research and development and application of domestic computers are an urgent need to ensure national information security. However, due to the large gap in technology in my country's basic software and hardware industries, the research and development of basic software and hardware lacks unified development standards and certification standards, resulting in the current domestic computers still have problems such as unstable operation, low performance, poor software adaptability, and poor hardware compatibility. Therefore, in order to control and improve the product quality of domestic computers, timely discover and solve defects and performance problems in domestic computer software and hardware, improve the quality of domestic computer products, and promote the development of domestic computer products, it is urgent to design testing technology for the functions and performance of domestic computers.

[0003] At present, the performance test of domestic computers is basically done manually. Different models and versions of different hardware devices (CPU, hard disk, memory, network card, etc.) lead to different performance test tools. Due to different compilation environments, when the performance test tool is not compatible with the compilation environment, it will cause compilation errors, which will make the performance test tool unusable. Therefore, the execution of the performance test process of domestic computers is closely related to the tester's choice of test tools and proficiency in operation. The test process has problems such as long test cycle, inconsistent test tools, and unstable test results, which can easily lead to missed tests, wrong tests, and invalid tests, and ultimately lead to the inability to discover problems with the hardware and software of domestic computers through testing, which greatly increases the time and labor costs of maintaining domestic computer products. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] The technical problem to be solved by the present invention is how to provide a performance test integrated software design method to solve the problem of inefficiency and non-standardization of manual testing.

[0006] (II) Technical solution

[0007] In order to solve the above technical problems, the present invention proposes a performance test integrated software design method, which includes:

[0008] The performance test integration software integrates multiple hardware test tools. The tester can select the performance test tool corresponding to the hardware by clicking the performance test tool selection button on the software interface.

[0009] The performance test integrated software internally stores the running command option descriptions and option configuration descriptions of multiple hardware test tools. When the tester selects a performance test tool, the performance test integrated software displays the startup command running command option descriptions and option configuration descriptions of the corresponding performance test tool in the configuration option text box of the interface;

[0010] The performance test integration software will continuously detect the test process during the test execution and display the test execution progress through the progress bar on the interface;

[0011] The performance test integration software integrates the stop commands of multiple hardware test tools. After the hardware test is started, the tester can terminate the test process at any time by clicking the cancel button on the interface.

[0012] The present invention also provides a testing method, which comprises the following steps:

[0013] Step 1: The tester opens the performance test integrated software proposed by the present invention;

[0014] Step 2: The tester clicks the button of the automatic detection operating environment on the interface of the performance test integrated software proposed by the present invention to detect the computer motherboard model. If the computer motherboard model is detected successfully, step 3 is executed; otherwise, step 8 is executed;

[0015] Step 3: The tester clicks the hardware selection button on the performance test integrated software interface proposed by the present invention to select the hardware to be tested;

[0016] Step 4: The tester clicks the performance test tool selection button on the performance test integrated software interface proposed by the present invention with a mouse to select the performance test tool corresponding to the hardware selected in step 3;

[0017] Step 5: The tester fills in the running command of the performance test tool selected in step 4 in the execution command text box on the performance test integrated software interface proposed by the present invention according to the command option description and option configuration description in the configuration option text box on the performance test integrated software interface proposed by the present invention;

[0018] Step 5: The tester clicks the run button on the performance test integrated software interface proposed by the present invention to start the test process corresponding to the performance test tool selected in step 4;

[0019] Step 6: Determine whether to cancel the test process started in step 5. If yes, the tester clicks the cancel button on the interface of the performance test integrated software proposed by the present invention, and the operation ends; otherwise, execute step 7;

[0020] Step 7: The test process started in step 5 is completed;

[0021] Step 8: The system prompts that the motherboard model detection failed and the operation ends.

[0022] (III) Beneficial effects

[0023] The present invention proposes a performance test integrated software design method, and the present invention proposes a performance test integrated software design method, the effects are as follows:

[0024] 1. For each compilation environment and different hardware devices (CPU, hard disk, memory, network card, etc.), the performance test integrated software proposed in the present invention stores the compiled programs internally, which can be called conveniently and quickly. There is no need to affect the test progress due to problems such as compilation failure, and there will be no situation where the test process cannot be started and the performance test tool cannot be used due to compilation errors, which greatly improves the performance test efficiency.

[0025] 2. The present invention pre-saves the running command option description and option configuration description corresponding to each performance testing tool. When the tester selects a performance testing tool, the configuration option text box on the performance testing integrated software interface proposed by the present invention will directly display the option description and option configuration reference of the call command corresponding to the performance testing tool. Through these reference descriptions, the tester can quickly and accurately configure the running command of the performance testing tool in the execution command text box, which not only ensures the rapid execution of the performance test, but also ensures the efficient completion of the performance test, and also reduces the memory burden for the tester.

[0026] 3. The progress bar on the performance test integrated software interface proposed by the present invention can display the progress of the current performance test execution in real time, making it convenient for testers to observe the test execution process and helping testers to determine whether the test is proceeding normally.

[0027] 4. When the performance test needs to be terminated for some reason during operation, the tester can directly click the cancel button on the operation interface of the performance test integrated software proposed by the present invention without learning the corresponding stop running command, which greatly reduces the learning burden of the tester. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 An interface design diagram of the performance test integrated software design method of the present invention;

[0029] Figure 2 Click on all the hardware displayed in the hardware selection drop-down menu in the interface of the performance test integrated software design method of the present invention;

[0030] Figure 3Click on the performance testing tool in the interface of the performance testing integrated software design method of the present invention to select all the performance testing tools displayed in the drop-down menu;

[0031] Figure 4 The present invention is a flowchart for executing the performance test integrated software design method. DETAILED DESCRIPTION

[0032] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0033] The present invention relates to the performance test of operating system and mainboard, and the performance test of hardware equipment, and belongs to the technical field of performance test in software and hardware test technology.

[0034] The technical problem to be solved by the present invention is how to provide a performance test integrated software design method to solve the problem of inefficiency and non-standardization of manual testing.

[0035] The main problems solved are as follows:

[0036] 1. Under the domestic computer operating system platform, Linux commands can be used to call performance testing tools. However, there is currently no unified software to manage the performance testing tools for domestic computer motherboards. Different hardware devices (CPU, hard disk, memory, network card, etc.) have different models and versions, resulting in different performance testing tools that need to be selected, making it difficult to achieve unified management and performance comparison. In addition, due to different compilation environments, performance testing tool source code compilation errors often occur, resulting in failure to compile successfully, which in turn makes the performance testing tool unusable.

[0037] 2. The use and tuning of performance testing tools rely heavily on the experience of testers, requiring testers to memorize the debugging and running commands of multiple testing tools, which is not very friendly to operators who are not familiar with the performance testing tools.

[0038] 3. Currently, all performance testing tools do not have a running progress bar, which makes testers unclear about the running progress, which is very inconvenient.

[0039] 4. When many performance testing tools need to be forced to stop during operation, there is no way to use the shortcut key ctrl+c to force stop. This requires testers to learn the stop commands of various performance testing tools, such as killing the process (kill-allxxx). If the stop command and parameters are used improperly, it will cause system crashes, invalid stops, and the actual background operation will stop on the surface, which is very confusing for testers.

[0040] The present invention relates to a performance test integrated software design method. It belongs to the field of software testing technology. The integrated software of the present invention can be applied in the process of domestic computer platform performance testing. The integrated software of the present invention integrates multiple hardware testing tools internally, and can start the test through the same operation steps for different operating system platforms and different hardware, which not only ensures the correct start of the performance test, but also does not require the tester to remember the corresponding relationship between the test tool and the hardware, thereby reducing the tester's memory burden; secondly, the integrated software of the present invention can prompt the corresponding start command in the text box of the software interface according to the selected hardware testing tool, and the tester only needs to input the test process start command according to the prompt information, further reducing the tester's memory burden; at the same time, the integrated software of the present invention displays the execution progress of the performance test process through the progress bar of the software interface, helping the tester to understand the test process; in addition, the integrated software of the present invention integrates the stop commands of multiple hardware testing tools internally, and the tester only needs to click the cancel button of the software interface of the present invention to terminate the test process, which is convenient for the tester to operate.

[0041] In order to solve the above technical problems, the present invention proposes a performance test integrated software design method, and the performance test tools integrated in the software include: unixbench, fio, clpeak, iperf, stream, ltp, rapidio, SPEC2006, linpack, etc.

[0042] The main technical solutions are as follows:

[0043] 1. Draw the performance test integrated software operation interface proposed by the present invention through Python's tkinter library. Select different hardware by clicking the hardware selection button on the performance test integrated software operation interface proposed by the present invention with a mouse, select the performance test tool corresponding to the hardware by clicking the performance test tool selection button on the performance test integrated software operation interface proposed by the present invention with a mouse, and call the execution command corresponding to the performance test tool integrated in the performance test tool proposed by the present invention by clicking the run button on the performance test integrated software operation interface proposed by the present invention.

[0044] 2. The performance test integrated software proposed in the present invention pre-saves the running command option descriptions and option configuration descriptions corresponding to the unixbench, fio, clpeak, iperf, stream, ltp, rapidio, SPEC2006 and linpack tools. When the tester selects a performance test tool by clicking the performance test tool selection button on the operation interface of the performance test integrated software proposed in the present invention with the mouse, the configuration option text box of the operation interface of the performance test integrated software proposed in the present invention will display the running command option descriptions and option configuration descriptions corresponding to the performance test tool. By reading and viewing these running command option descriptions and option configuration descriptions, the tester can quickly fill in the running command of the performance test tool in the execution command text box of the operation interface of the performance test integrated software proposed in the present invention, so as to click the run button of the operation interface of the performance test integrated software proposed in the present invention to start the performance test of the domestic computer platform.

[0045] 3. The performance test integrated software proposed by the present invention pre-saves the corresponding output print content when the test process of these performance test tools such as unixbench, fio, clpeak, iperf, stream, ltp, rapidio, SPEC2006 and linpack reaches 20%, 40%, 60%, 80%, and 100% progress, and uses it as the basis for judging the running progress of these test tools when the actual performance test is executed, and updates the running progress bar of the operation interface of the performance test integrated software proposed by the present invention in real time. When the tester clicks the run button of the operation interface of the performance test integrated software proposed by the present invention to start the performance test of the domestic computer platform, the performance test integrated software proposed by the present invention will synchronously analyze the output print content of these tools, and judge the progress of the performance test process according to the print content, and display the progress in the progress bar on the operation interface of the performance test integrated software proposed by the present invention. For example: when it is detected that the output print content corresponding to the progress of the performance test process reaches 20%, the running progress bar of the operation interface of the performance test integrated software proposed by the present invention is automatically adjusted to 20%. That is, whenever the performance test integrated software calls this performance test tool, the printing of the port output will be detected and judged.

[0046] 4. The performance test integrated software proposed by the present invention pre-stores the stop commands corresponding to the performance test tools such as unixbench, fio, clpeak, iperf, stream, ltp, rapidio, SPEC2006 and linpack. After the tester clicks the run button of the operation interface of the performance test integrated software proposed by the present invention to start the performance test of the domestic computer platform, if the tester wants to stop the test for some reason during the performance test execution, he can directly click the cancel button of the operation interface of the performance test integrated software proposed by the present invention to call the stop command corresponding to the currently executed performance test tool to terminate the performance test.

[0047] Embodiment 1:

[0048] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0049] Step 1: The tester opens the performance test integrated software proposed by the present invention;

[0050] Step 2: The tester clicks the button of the automatic detection operating environment on the interface of the performance test integrated software proposed by the present invention to detect the computer motherboard model. If the computer motherboard model is detected successfully, step 3 is executed; otherwise, step 8 is executed;

[0051] Step 3: The tester clicks the hardware selection button on the performance test integrated software interface proposed by the present invention to select the hardware to be tested;

[0052] Step 4: The tester clicks the performance test tool selection button on the performance test integrated software interface proposed by the present invention with a mouse to select the performance test tool corresponding to the hardware selected in step 3;

[0053] Step 5: The tester fills in the running command of the performance test tool selected in step 4 in the execution command text box on the performance test integrated software interface proposed by the present invention according to the command option description and option configuration description in the configuration option text box on the performance test integrated software interface proposed by the present invention;

[0054] Step 5: The tester clicks the run button on the performance test integrated software interface proposed by the present invention to start the test process corresponding to the performance test tool selected in step 4;

[0055] Step 6: Determine whether to cancel the test process started in step 5. If yes, the tester clicks the cancel button on the interface of the performance test integrated software proposed by the present invention, and the operation ends; otherwise, execute step 7;

[0056] Step 7: The test process started in step 5 is completed.

[0057] Step 8: The system prompts that the motherboard model detection failed and the operation ends.

[0058] Embodiment 2:

[0059] A performance test integrated software design method is disclosed. The performance test integrated software integrates multiple hardware test tools. Testers select the performance test tool corresponding to the hardware by clicking a performance test tool selection button on the software interface with a mouse.

[0060] A performance test integrated software design method, the performance test integrated software internally stores running command option descriptions and option configuration descriptions of multiple hardware test tools. When a tester selects a performance test tool, the performance test integrated software displays the startup command running command option description and option configuration description of the corresponding performance test tool in a configuration option text box on the interface.

[0061] A performance test integrated software design method, wherein the performance test integrated software continuously detects the test process during the test execution process and displays the test execution progress through a progress bar on the interface.

[0062] A performance test integrated software design method is disclosed. The performance test integrated software integrates stop commands of multiple hardware test tools. After the hardware test is started, the tester can terminate the test process at any time by clicking a cancel button on the interface.

[0063] The present invention proposes a performance test integrated software design method, the effects of which are as follows:

[0064] 1. For each compilation environment and different hardware devices (CPU, hard disk, memory, network card, etc.), the performance test integrated software proposed in the present invention stores the compiled programs internally, which can be called conveniently and quickly. There is no need to affect the test progress due to problems such as compilation failure, and there will be no situation where the test process cannot be started and the performance test tool cannot be used due to compilation errors, which greatly improves the performance test efficiency.

[0065] 2. The present invention pre-saves the running command option description and option configuration description corresponding to each performance testing tool. When the tester selects a performance testing tool, the configuration option text box on the performance testing integrated software interface proposed by the present invention will directly display the option description and option configuration reference of the call command corresponding to the performance testing tool. Through these reference descriptions, the tester can quickly and accurately configure the running command of the performance testing tool in the execution command text box, which not only ensures the rapid execution of the performance test, but also ensures the efficient completion of the performance test, and also reduces the memory burden for the tester.

[0066] 3. The progress bar on the performance test integrated software interface proposed by the present invention can display the progress of the current performance test execution in real time, making it convenient for testers to observe the test execution process and helping testers to determine whether the test is proceeding normally.

[0067] 4. When the performance test needs to be terminated for some reason during operation, the tester can directly click the cancel button on the operation interface of the performance test integrated software proposed by the present invention without learning the corresponding stop running command, which greatly reduces the learning burden of the tester.

[0068] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A performance test integrated software design method, characterized in that: The method includes: The performance test integration software integrates multiple hardware test tools. The tester selects the performance test tool corresponding to the hardware by clicking the performance test tool selection button on the software interface. The performance test integrated software internally stores the running command option descriptions and option configuration descriptions of multiple hardware test tools. When the tester selects a performance test tool, the performance test integrated software displays the startup command running command option descriptions and option configuration descriptions of the corresponding performance test tool in the configuration option text box of the interface; The performance test integration software will continuously detect the test process during the test execution and display the test execution progress through the progress bar on the interface; The performance test integration software integrates the stop commands of multiple hardware test tools. After the hardware test is started, the tester can terminate the test process at any time by clicking the cancel button on the interface.

2. The performance test integrated software design method according to claim 1, characterized in that: Through Python's tkinter library, draw the performance test integrated software operation interface.

3. The performance test integrated software design method according to claim 2, characterized in that: Hardware includes: CPU, hard disk, memory and network card.

4. The performance test integrated software design method according to claim 3, characterized in that: Performance testing tools include: unixbench, fio, clpeak, iperf, stream, ltp, rapidio, SPEC2006 and linpack.

5. The performance test integrated software design method according to claim 4, characterized in that: Select different hardware by clicking the hardware selection button on the performance testing integrated software operation interface with the mouse, select the performance testing tool corresponding to the hardware by clicking the performance testing tool selection button on the performance testing integrated software operation interface with the mouse, and call the execution command corresponding to the performance testing tool integrated in the performance testing tool by clicking the run button on the performance testing integrated software operation interface.

6. The performance test integrated software design method according to claim 4, characterized in that: The tester reads and reviews the run command option description and option configuration description, and fills in the run command of the performance testing tool in the execution command text box of the operation interface of the performance testing integrated software, so as to click the run button of the operation interface of the performance testing integrated software to start the performance test of the computer platform.

7. The performance test integrated software design method according to claim 4, characterized in that: The performance testing integration software pre-saves the corresponding output print content when the test process of the performance testing tool reaches 20%, 40%, 60%, 80%, and 100% progress, and uses it as the basis for judging the running progress of these testing tools when the actual performance test is executed, and updates the running progress bar of the operating interface of the performance testing integration software in real time.

8. The performance test integrated software design method according to claim 7, characterized in that: When the tester clicks the run button on the operating interface of the performance testing integrated software to start the performance test of the domestic computer platform, the performance testing integrated software will synchronously analyze the output print content of these tools, and determine the progress of the performance testing process based on the print content, and display the progress in the progress bar on the operating interface of the performance testing integrated software.

9. The performance test integrated software design method according to claim 4, characterized in that: The performance testing integrated software pre-saves the stop command corresponding to the performance testing tool. When the tester clicks the run button on the operation interface of the performance testing integrated software to start the performance test of the computer platform, if he wants to stop the test for some reason during the execution of the performance test, he can directly click the cancel button on the operation interface of the performance testing integrated software to call the stop command corresponding to the performance testing tool currently being executed to terminate the performance test.

10. A testing method based on the performance testing integrated software design method according to any one of claims 1 to 9, characterized in that: The method comprises the following steps: Step 1: The tester opens the performance test integrated software proposed by the present invention; Step 2: The tester clicks the button of automatically detecting the operating environment on the interface of the performance test integrated software proposed by the present invention to detect the computer motherboard model. If the computer motherboard model is detected successfully, step 3 is executed; otherwise, step 8 is executed. Step 3: The tester clicks the hardware selection button on the performance test integrated software interface proposed by the present invention to select the hardware to be tested; Step 4: The tester clicks the performance test tool selection button on the performance test integrated software interface proposed by the present invention with a mouse to select the performance test tool corresponding to the hardware selected in step 3; Step 5: The tester fills in the running command of the performance test tool selected in step 4 in the execution command text box on the performance test integrated software interface proposed by the present invention according to the command option description and option configuration description in the configuration option text box on the performance test integrated software interface proposed by the present invention; Step 5: The tester clicks the run button on the performance test integrated software interface proposed by the present invention to start the test process corresponding to the performance test tool selected in step 4; Step 6: Determine whether to cancel the test process started in step 5. If yes, the tester clicks the cancel button on the interface of the performance test integrated software proposed by the present invention, and the operation ends. Otherwise, go to step 7; Step 7: The test process started in step 5 is completed; Step 8: The system prompts that the motherboard model detection failed and the operation ends.