Server performance automatic test system and method, electronic equipment and medium

The system automates server performance testing through a deep learning-based approach, addressing manual reliance and environmental complexity issues to enhance testing efficiency and accuracy.

CN120315980APending Publication Date: 2025-07-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510457662.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The existing server performance automation testing methods rely on manual operations, are time-consuming and susceptible to human factors, have low automation, and are unable to cope with complex server environments, resulting in reduced accuracy and reliability of test results.

Method used

The test task generation module is used to automatically generate performance testing tasks, and the performance index data is collected in real time through the data acquisition module. The performance testing module is used to process data and input a pre-built performance evaluation model. The hybrid neural network built with a deep learning algorithm is analyzed to generate target performance testing results.

Benefits of technology

It improves the automation and accuracy of server performance testing, reduces manual interference, flexibly responds to complex environments, and improves testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120315980A_ABST
    Figure CN120315980A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic server performance testing system and method, electronic equipment and a medium, and relates to the technical field of computers.The method comprises the steps that a performance testing task of a to-be-tested server is generated according to a testing requirement input by a user through a testing task generating module, and after the to-be-tested server is connected, the performance testing task of the to-be-tested server is acquired through a data acquisition module; acquiring multiple pieces of performance index data of the to-be-tested server in the process of executing the corresponding performance test task, processing the multiple pieces of performance index data through a performance test module to obtain target performance index data, and inputting the target performance index data into a pre-constructed target performance evaluation model to evaluate the performance of the to-be-tested server. And outputting a target performance test result of the to-be-tested server. According to the method and the device, the problems that the server performance test generally depends on manual operation, the automation degree of the test is reduced, the complex server environment cannot be handled, and the accuracy of the server performance test result is reduced in the prior art are solved, so that the efficiency and the accuracy of the server performance automatic test are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and particularly to a server performance automated testing system, method, electronic device, and medium. Background Art

[0002] With the development of information technology, servers are increasingly widely used in various fields. Therefore, the testing of server performance has become particularly important.

[0003] In related technologies, server performance automated testing can be achieved through various methods. For example, the evaluation of the pressure-bearing condition of a server can be realized through modules such as instruction entry, stress testing, result transmission, and display; the I / O (input / output) performance of a server can also be comprehensively and accurately evaluated by recording the data information of multiple hard disks within a preset time period; another method is to regularly generate and assign different signature parameters to each test access request to simulate real user requests and ensure a high accuracy of the server performance test results.

[0004] However, the server performance automated testing methods in related technologies usually rely on manual operations, are time-consuming and vulnerable to human factors interference, have a low degree of automation in testing, and cannot cope with complex server environments, having limitations, reducing the accuracy and reliability of server performance test results, and at the same time affecting the test efficiency and adaptability to actual application scenarios, which urgently need to be solved. Summary of the Invention

[0005] This application provides a server performance automated testing system, method, electronic device, and medium to at least solve the technical problems that the server performance automated testing methods in related technologies usually rely on manual operations, are time-consuming and vulnerable to human factors interference, have a low degree of automation in testing, and cannot cope with complex server environments, having limitations, reducing the accuracy and reliability of server performance test results, etc.

[0006] This application provides a server performance automated testing system, including: a test task generation module, configured to generate at least one performance test task for at least one server to be tested according to at least one test requirement input by a user; a data collection module, configured to collect multiple performance index data that meet a first preset processing condition during the execution of the corresponding at least one performance test task by the at least one server to be tested after connecting to the at least one server to be tested; a performance test module, configured to process the multiple performance index data to obtain target performance index data that meet a second preset processing condition, and input the target performance index data into a pre-constructed target performance evaluation model to output the target performance test results of the at least one server to be tested.

[0007] Optionally, in an embodiment of the present application, the system of the embodiment of the present application further includes: a result display module, configured to match a display method according to the target performance test result and display the target performance test result according to the display method.

[0008] Optionally, in an embodiment of the present application, the result display module includes: a first display unit, configured to display the performance scoring result of each performance index data in the at least one server to be tested in the form of a bar chart; a second display unit, configured to display the performance bottleneck diagnosis result in the at least one server to be tested in the form of a table; a third display unit, configured to display the optimization suggestion result in the at least one server to be tested in the form of a table.

[0009] Optionally, in an embodiment of the present application, the result display module further includes: a performance index display unit, configured to display a change curve of at least one performance index, such as the usage rate of the central processing unit (CPU) of the at least one server to be tested, the memory occupancy, the disk read / write speed, and the network transmission rate, over time in the form of a line chart.

[0010] Optionally, in an embodiment of the present application, the system of the embodiment of the present application further includes: a feedback optimization module, configured to receive at least one feedback information of the user on the target performance test result and send the at least one feedback information to the performance test module to retrain the target performance evaluation model in the performance test module to obtain an optimized performance evaluation model.

[0011] Optionally, in an embodiment of the present application, the test task generation module includes: a setting unit, configured to set at least one test scenario template according to the application scenario of the at least one server to be tested, where the at least one test scenario template includes key test indicators and test processes of the server performance in the corresponding scenario; a generation unit, configured to generate the target server performance test task in the corresponding scenario by using the at least one test scenario template based on the target test scenario selected by the user.

[0012] Optionally, in an embodiment of the present application, the performance test module includes: a data preprocessing unit, configured to receive the multiple performance index data transmitted by the data collection module, and perform data cleaning, data normalization, and feature extraction processing on the multiple performance index data to obtain the target performance index data that meets the second preset processing condition.

[0013] The present application also provides a method for automatically testing server performance, including: generating at least one performance test task for at least one server to be tested according to at least one test requirement input by a user; after connecting to the at least one server to be tested, collecting a plurality of performance index data of the at least one server to be tested that meet a first preset processing condition during the execution of the corresponding at least one performance test task; processing the plurality of performance index data to obtain target performance index data that meet a second preset processing condition, and inputting the target performance index data into a pre-constructed target performance evaluation model to output the target performance test results of the at least one server to be tested.

[0014] The present application also provides an electronic device, including: a memory for storing a computer program; a processor for implementing the steps of any one of the above server performance automatic testing methods when executing the computer program.

[0015] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program implements the steps of any one of the above server performance automatic testing methods when executed by a processor.

[0016] The present application also provides a computer program product including a computer program that implements the steps of any one of the above server performance automatic testing methods when executed by a processor.

[0017] Through the present application, since the test task generation module can generate performance test tasks for the server to be tested based on the test requirements input by the user, and the data collection module can collect a plurality of performance index data of the server to be tested during the execution of the corresponding performance test task after connecting to the server to be tested, and the performance test module processes the plurality of performance index data to obtain target performance index data and inputs it into the pre-constructed target performance evaluation model to output the target performance test results of the server to be tested, it is possible to solve the technical problems in the related art that the server performance automatic testing method usually relies on manual operations, is time-consuming and vulnerable to human factors interference, has a low degree of test automation, and cannot cope with complex server environments, has limitations, and reduces the accuracy and reliability of the server performance test results, and achieves the technical effect of improving the efficiency and accuracy of the server performance automatic testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 Schematic diagram of the structure of an automated server performance testing system provided by an embodiment of the present application;

[0020] Figure 2 Schematic diagram of the structure of an automated server performance testing system according to a specific embodiment of the present application;

[0021] Figure 3 Schematic diagram of the structure of a performance testing module according to a specific embodiment of the present application;

[0022] Figure 4 Flowchart of a method for automated server performance testing provided by an embodiment of the present application. Detailed implementation manners

[0023] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present application.

[0024] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variation thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0025] To enable those skilled in the art of the present technology to better understand the solutions of the present application, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation manners.

[0026] In combination with the specific application environment architecture or specific hardware architecture on which the execution of the automated server performance testing system depends, the specific application environment architecture or specific hardware architecture will be described herein.

[0027] Embodiments of the present application provide an automated server performance testing system, and the system will be described in detail in combination with the structure of the automated server performance testing system.

[0028] Such as Figure 1As shown in the figure, it is a schematic structural diagram of a server performance automated testing system 100 according to an embodiment of the present application. Among them, the server performance automated testing system 100 includes: a test task generation module 101, a data collection module 102, and a performance testing module 103.

[0029] Specifically, the test task generation module 101 is configured to generate at least one performance test task for at least one server to be tested according to at least one test requirement input by a user.

[0030] During the actual execution process, as Figure 2 shown, in the embodiment of the present application, the test task generation module 101 may be set. The test task generation module 101 may generate one or more performance test tasks for one or more servers to be tested according to a preset test strategy and one or more test requirements input by the user through the user interface of the test task generation module 101. For example, a combined task of multiple test tasks such as CPU performance test, memory performance test, disk I / O performance test, and network bandwidth test.

[0031] Specifically, in the embodiment of the present application, the server performance automated testing system in the present application may be installed and deployed on one or more servers, and it is ensured that each module in the system can operate normally and realize data interaction with each other. At the same time, the network connection with the server to be tested is configured well to ensure that the data collection module 102 in the following steps can smoothly obtain the performance data of the server to be tested.

[0032] Among them, the preset test strategy is various common server test scenarios, such as a series of test scenario templates preset for Web servers, database servers, application servers, etc.

[0033] Among them, in an embodiment of the present application, the test task generation module 101 includes: a setting unit and a generation unit.

[0034] Among them, the setting unit is configured to set at least one test scenario template according to the application scenario of at least one server to be tested, where at least one test scenario template includes key test indicators and test processes of server performance in the corresponding scenario.

[0035] In some embodiments, first, the setting unit in the test task generation module 101 can set one or more test scenario templates according to the application scenarios of multiple servers to be tested. For example, different test scenario templates can be preset for Web servers, database servers, application servers, etc. Each test scenario template can include key test metrics and test processes for the server performance in that application scenario. For example, the key test metrics corresponding to the test scenario template of a Web server can be response time, throughput, number of concurrent users, etc.; the test processes can be load testing, stress testing, spike testing, etc.

[0036] By presetting dedicated test scenario templates for different types of servers in the embodiments of the present application, performance testing can be carried out more pertinently, thereby ensuring that each server can operate stably and efficiently in the actual production environment.

[0037] A generation unit, configured to generate a target server performance test task in the corresponding scenario by using at least one test scenario template based on the target test scenario selected by the user.

[0038] In some embodiments, after the user selects the test scenario of the corresponding server to be tested, the embodiments of the present application can automatically generate a server performance test task in the corresponding scenario according to one or more test scenario templates, ensuring that the test content is closely combined with the actual application scenario and can truly reflect the performance of the server in a specific scenario.

[0039] For example, according to the actual test requirements, the user selects the corresponding test scenario through the user interface of the test task generation module 101. For example, when selecting the "Web server performance test" scenario, the system can automatically generate a combined task including multiple performance test tasks such as CPU performance test, memory performance test, disk I / O performance test, and network bandwidth test according to the preset scenario template, and send the combined task to the data collection module 102 in the following steps.

[0040] The embodiments of the present application can meet various requirements of different users for server performance testing, and can automatically generate test tasks, reducing possible human errors in the manual configuration process and improving the reliability and effectiveness of the testing.

[0041] The data collection module 102 is configured to collect multiple pieces of performance metric data that meet the first preset processing condition during the execution of the corresponding at least one performance test task by at least one server to be tested after connecting to at least one server to be tested.

[0042] In the embodiment of the present application, the first preset processing condition is the condition for the data acquisition module 102 to perform data cleaning, data normalization, and feature extraction on the original data in the server before collecting multiple performance index data, which can effectively improve the data quality and enhance the accuracy and efficiency of subsequent tests.

[0043] As a possible implementation, as Figure 2 shown, after connecting to one or more servers to be tested in the embodiment of the present application, according to the requirements of the server performance test task in the above steps, multiple performance index data that meet the first processing condition during the execution of one or more corresponding performance test tasks by one or more servers to be tested are collected in real time. For example, CPU usage rate, memory occupancy, disk read and write speed, network transmission rate, etc.

[0044] Among them, after the data acquisition module 102 of the server performance automated test system 100 receives the server performance test task, it can establish a connection with the corresponding server to be tested according to the task requirements, which can effectively save resources and ensure the pertinence of the connection and the flexibility of task execution.

[0045] In addition, the server performance automated test system 100 can also always maintain a connection state with one or more servers to be tested. After the data acquisition module 102 receives the server performance test task, it directly collects various performance index data in the corresponding server to be tested, which can flexibly adapt to different test scenario requirements, reduce the resource overhead caused by frequent connections, and ensure the real-time and efficient acquisition of performance index data.

[0046] For example, after the data acquisition module 102 receives the server performance test task, it establishes a connection with the Web server to be tested according to the task requirements. For example, when performing CPU performance testing, the real-time usage rate data of the CPU can be obtained by calling the operating system interface of the Web server; when performing network bandwidth testing, a specific network test program can be run to send a certain amount of data packets to the Web server and measure indicators such as the response time and data transmission rate of the Web server. Among them, the data acquisition module 102 can collect various performance index data in the Web server at a preset time interval, such as once per second, and transmit the collected performance index data to the performance test module 103 in the following steps in real time.

[0047] In the embodiment of the present application, the data acquisition module 102 establishes a connection with the server to be tested according to the task requirements and collects various performance index data at a preset time interval, ensuring the real-time and accuracy of the performance index data, and at the same time supporting targeted performance testing, such as CPU usage rate and network bandwidth testing, improving the test efficiency and flexibility.

[0048] Through the automated test task generation and data collection mechanism, this application significantly reduces the dependence on manual operations, greatly reduces the workload and time cost, and users can quickly configure and start complex server performance test tasks without manually setting every detail, greatly improving the flexibility and response speed of testing.

[0049] The performance testing module 103 is used to process multiple performance metric data to obtain target performance metric data that meets the second preset processing condition, and input the target performance metric data into a pre-constructed target performance evaluation model to output the target performance test results of at least one server to be tested.

[0050] In the embodiment of this application, the second preset processing condition is the condition for the data preprocessing operation performed on multiple performance metric data after the performance testing module 103 receives the collected multiple performance metric data, which can improve data quality, eliminate noise and redundant information.

[0051] During the actual execution process, as shown in Figure 2 and Figure 3 , the embodiment of this application can set the performance testing module 103. After the performance testing module 103 receives the collected multiple performance metric data, it can process the multiple performance metric data to obtain target performance metric data that meets the second processing condition, that is, the processed multiple performance metric data. For example, after the data preprocessing is completed, the processed multiple performance metric data is input into a pre-trained performance evaluation model for analysis. The performance evaluation model evaluates the performance of the server in real time according to the characteristics and time series characteristics of the performance metric data, generates a performance score, such as a full score of 100 points and the current server performance score is 85 points); performance bottleneck diagnosis, such as finding that there is a bottleneck in disk I / O performance and the average read / write time is too long; and optimization suggestions, such as suggesting adding a disk array to improve the disk read / write speed and other analysis results of server performance testing.

[0052] In the embodiments of the present application, a performance evaluation model is constructed using a deep learning algorithm, that is, a hybrid neural network architecture combining CNN (Convolutional Neural Network) and RNN (Recurrent Neural Network) is adopted. Among them, CNN is used to extract local features and spatial features in the performance metric data. For example, when analyzing the curve of CPU usage over time, it can identify short-term peak features and long-term trend features; RNN is used to process the time series characteristics of the performance metric data and capture the dependencies between different time points. For example, the change pattern of memory occupancy in multiple consecutive test cycles; by combining CNN and RNN in the present application, the server performance can be modeled and analyzed more comprehensively and accurately.

[0053] Next, the embodiments of the present application can train and optimize the performance evaluation model, that is, use a large amount of historical performance test data to train the constructed deep learning model, that is, the performance evaluation model, and adopt the SGD (Stochastic Gradient Descent) algorithm as the optimization algorithm, aiming to minimize the error between the predicted performance score and the actual performance score, and continuously adjust the parameters of the performance evaluation model; during the training process, the cross-validation method is also adopted to evaluate the generalization ability of the model and prevent overfitting.

[0054] The server performance automated testing method in the related art usually relies on manual operations, which is time-consuming and vulnerable to human factors interference, with a low degree of test automation, and cannot cope with complex server environments, having limitations. However, the performance evaluation model constructed by the deep learning algorithm in the embodiments of the present application can automatically learn and identify complex patterns of server performance, accurately analyze the performance metric data, generate accurate performance scores, bottleneck diagnoses, optimization suggestions, etc., significantly improving the accuracy of the test results.

[0055] Optionally, in an embodiment of the present application, the performance test module 103 includes: a data preprocessing unit.

[0056] Among them, the data preprocessing unit is used to receive multiple performance metric data transmitted by the data acquisition module 102, and perform data cleaning, data normalization, and feature extraction processing on the multiple performance metric data to obtain target performance metric data that meets the second preset processing conditions.

[0057] As a possible implementation, the data preprocessing unit in the performance testing module 103 can perform data preprocessing operations on the performance metric data, including data cleaning, such as removing outliers and handling missing values; data normalization, such as converting data with different dimensions to the same scale range; feature extraction, such as extracting key features related to server performance according to domain knowledge and experience, etc., to improve the accuracy and efficiency of subsequent analysis.

[0058] For example, the data preprocessing unit can clean the CPU usage data to remove occasionally occurring abnormally high value points; it can also perform normalization processing on the memory occupancy data and convert it to the range of [0, 1]; it can also extract key features such as the average read / write time and the number of read / writes per second in the disk I / O performance data to obtain the target performance metric data that meets the second processing condition, that is, the processed multiple performance metric data, so as to obtain more accurate and effective performance metric data for subsequent analysis and use, improving the accuracy and efficiency of data analysis.

[0059] Optionally, in an embodiment of the present application, the system 100 of the embodiment of the present application further includes: a result display module.

[0060] Among them, the result display module is used to match the display method according to the target performance test result and display the target performance test result according to the display method.

[0061] In some embodiments, as Figure 2 shown, the embodiment of the present application can set a result display module, which can match the corresponding display method according to the target performance test result in the above steps and display the target performance test result on the computer terminal of relevant technicians according to the display method, effectively improving the automation level of server testing.

[0062] Optionally, in an embodiment of the present application, the result display module includes: a first display unit, a second display unit, and a third display unit.

[0063] Among them, the first display unit is used to display the performance score results of each performance metric data in at least one server to be tested in the form of a bar chart.

[0064] For example, the first display unit can visually display the performance scoring results of each performance metric data in one or more servers to be tested in the form of a bar chart, clearly comparing the performance of each metric through columns of different heights. For example, key performance metrics such as CPU usage rate, memory occupancy rate, disk I / O speed, and network bandwidth can be presented in the form of bar charts respectively, and the scoring levels (such as excellent, good, average, poor) can be marked. Group comparison can also be performed based on the bar chart, etc., so as to help users quickly understand the overall performance distribution and weak links of the servers.

[0065] The second display unit is used to display the performance bottleneck diagnosis results in at least one server to be tested in tabular form.

[0066] For another example, the second display unit can display the performance bottleneck diagnosis results in one or more servers to be tested in tabular form, which can include but are not limited to specific values of each performance metric, such as CPU usage rate, memory usage, disk I / O speed, network bandwidth, etc., the comparison with standard values or historical data, the description of the diagnosed problems, etc. Each row can represent a specific performance metric or a single server, while the columns respectively display the metric name, current status, problem analysis, and recommended solutions, etc. The table can provide detailed performance data and analysis results in a structured manner, helping users obtain a comprehensive perspective on the server performance. In addition, through the table, users can easily compare the performance differences of the same performance metrics among multiple servers horizontally, or view the mutual influence between different metrics of a single server vertically.

[0067] The third display unit is used to display the optimization suggestion results of at least one server to be tested in tabular form.

[0068] For yet another example, the third display unit can display the optimization suggestion results of one or more servers to be tested in tabular form, which can list in detail the various optimization measures for each server and their expected effects. The table can include the following columns: server identification, performance bottleneck description, specific optimization suggestions, implementation difficulty assessment, expected performance improvement range, and priority ranking, etc. Thus, users can clearly understand the performance status of the servers and make corresponding adjustments and optimizations to the servers according to the optimization suggestions, improving the efficiency and effect of the optimization work.

[0069] Optionally, in an embodiment of the present application, the result display module further includes: a performance metric display unit.

[0070] Among them, the performance metric display unit is used to display the change curve of at least one performance metric among the CPU usage rate, memory occupancy, disk read / write speed, and network transmission rate in at least one server to be tested over time in the form of a line chart.

[0071] For example, the performance metric display unit can use a line chart to display the change curves of one or more performance metrics such as CPU usage rate, memory occupancy, disk read / write speed, and network transmission rate in at least one server to be tested over time. By dynamically tracking the fluctuations of the performance metrics, it provides an intuitive visual analysis tool for users. Users can choose to focus on one or more performance metrics and observe their change trends within a specific time period. At the same time, it supports comparing the performance differences between different servers, thereby helping users quickly identify the fluctuation patterns and potential bottlenecks of system performance, and thus making timely and effective optimization decisions.

[0072] The embodiments of the present application can present the test results in the form of intuitive visual charts and reports, enabling users to quickly grasp the performance status of the server. This clear presentation provides strong data support for the maintenance, optimization, and upgrade of the server.

[0073] Optionally, in an embodiment of the present application, the system 100 of the embodiments of the present application further includes: a feedback optimization module.

[0074] Among them, the feedback optimization module is used to receive at least one feedback message from the user on the target performance test result, and send the at least one feedback message to the performance test module 103 to retrain the target performance evaluation model in the performance test module 103 to obtain an optimized performance evaluation model.

[0075] During the actual execution process, as Figure 2 shown, the embodiments of the present application can set up a feedback optimization module, which can receive one or more feedback messages from the user on the target performance test result. For example, after viewing the performance test result, the user can evaluate the accuracy of the performance test result and the practicality of the optimization suggestions, and send the user's feedback message to the performance test module 103, so as to retrain the performance evaluation model to obtain an optimized performance evaluation model.

[0076] For example, the user believes that the disk I / O performance bottleneck problem diagnosed by the system is accurate and the optimization suggestions have high reference value. After actually adding a disk array, the server performance has been significantly improved. The feedback optimization module can record these positive feedback messages and feedback them to the performance test module 103 for further training and optimization of the performance evaluation model to improve the performance evaluation accuracy of the performance evaluation model and the effectiveness of the optimization suggestions in future similar scenarios. At the same time, the present application can regularly retrain and optimize the performance evaluation model according to the user feedback information provided by the feedback optimization module to meet the performance test requirements in different server environments and business scenarios.

[0077] The embodiments of the present application have the functions of adaptive test task adjustment and feedback optimization. It can dynamically optimize the test strategy according to the real-time performance of the server, and continuously improve the performance evaluation model by using user feedback, enabling the system to intelligently manage the server performance test, flexibly meet the requirements of various server environments and business scenarios, and ensure that the test process is both efficient and accurate.

[0078] Optionally, in an embodiment of the present application, it further includes: a monitoring module and an adjustment module.

[0079] The monitoring module is used to monitor the target performance state of at least one server to be tested in real time based on the performance test module 103.

[0080] In some embodiments, the embodiments of the present application can monitor the target performance state of one or more servers to be tested in real time based on the performance test module. By continuously collecting key performance indicators, such as data on CPU usage rate, memory occupancy, disk read and write speed, and network transmission rate, and dynamically analyzing them. In addition, the monitoring module can set a threshold alarm mechanism. Once a certain performance indicator is detected to exceed the preset safe range, it will immediately notify the user or automatically take measures for adjustment. Moreover, it can also support the storage and retrospective query of historical data, which is convenient for long-term performance trend analysis, thereby ensuring the stability and efficient operation of the system.

[0081] The adjustment module is used to adjust at least one performance test task in the test task generation module 101 based on the target performance state of at least one server to be tested.

[0082] In some embodiments, the embodiments of the present application can dynamically adjust the performance test tasks in the subsequent test task generation module 101 according to the performance state of one or more servers to be tested, including increasing the test frequency and test depth of abnormal performance indicators, or adjusting the size of the test load, etc. For example, when one or more servers have an abnormality in a certain performance indicator, the server performance automation test system 100 will automatically increase the test frequency and test depth of this performance indicator, or adjust the size of the test load, so as to accurately locate the root cause of the performance problem. At the same time, the server performance automation test system 100 will also predict possible performance bottlenecks according to the performance change trend of the server, and generate corresponding test tasks in advance for verification, realizing all-round and dynamic testing of the server performance.

[0083] Through the description of the above embodiments, those skilled in the art can clearly understand that the system according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method.

[0084] An embodiment of the present application also provides a method for automated server performance testing.

[0085] As Figure 4 shown, the method for automated server performance testing includes the following steps:

[0086] In step S401, at least one performance test task for at least one server to be tested is generated according to at least one test requirement input by a user;

[0087] In step S402, after connecting to at least one server to be tested, multiple pieces of performance index data that meet a first preset processing condition are collected during the execution of the corresponding at least one performance test task by the at least one server to be tested;

[0088] In step S403, the multiple pieces of performance index data are processed to obtain target performance index data that meets a second preset processing condition, and the target performance index data is input into a pre-constructed target performance evaluation model to output the target performance test results of at least one server to be tested.

[0089] For the description of the features in the corresponding embodiment of the method for automated server performance testing, reference can be made to the relevant description in the corresponding embodiment of the automated server performance testing system, which will not be elaborated here one by one.

[0090] An embodiment of the present application also provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above embodiments of the method for automated server performance testing.

[0091] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps in any of the above embodiments of the method for automated server performance testing when running.

[0092] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media such as a USB flash drive, a read-only memory (ROM for short), a random access memory (RAM for short), a mobile hard disk, a magnetic disk, or an optical disc that can store a computer program.

[0093] An embodiment of the present application also provides a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above embodiments of the method for automated server performance testing.

[0094] Embodiments of the present application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described embodiments of the server performance automation testing method.

[0095] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Skilled professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0096] The above has introduced in detail a server performance automation testing system, method, electronic device, and medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation manners of the present application. The descriptions of the above embodiments are only applicable to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims

1. An automated server performance testing system, characterized in that, Including: A test task generation module, configured to generate at least one performance test task for at least one server to be tested according to at least one test requirement input by a user; A data collection module, configured to collect multiple performance index data that meet a first preset processing condition during the execution of the corresponding at least one performance test task by the at least one server to be tested after connecting to the at least one server to be tested; A performance test module, configured to process the multiple performance index data to obtain target performance index data that meet a second preset processing condition, and input the target performance index data into a pre-constructed target performance evaluation model to output a target performance test result of the at least one server to be tested.

2. The system according to claim 1, wherein Further including: A result display module, configured to match a display mode according to the target performance test result and display the target performance test result according to the display mode.

3. The system according to claim 2, wherein The result display module includes: A first display unit, configured to display a performance score result of each performance index data in the at least one server to be tested in the form of a bar chart; A second display unit, configured to display a performance bottleneck diagnosis result in the at least one server to be tested in the form of a table; A third display unit, configured to display an optimization suggestion result in the at least one server to be tested in the form of a table.

4. The system according to claim 2, wherein The result display module further includes: A performance index display unit, configured to display a change curve of at least one performance index, such as the usage rate of the central processing unit, the memory occupancy, the disk read and write speed, and the network transmission rate, in the at least one server to be tested over time in the form of a line chart.

5. The system according to claim 1, wherein Further including: A feedback optimization module, configured to receive at least one feedback information of the user on the target performance test result, and send the at least one feedback information to the performance test module to retrain the target performance evaluation model in the performance test module to obtain an optimized performance evaluation model.

6. The system according to claim 1, wherein The test task generation module includes: A setting unit, configured to set at least one test scenario template according to the application scenario of the at least one server to be tested, where the at least one test scenario template includes key test indicators and test processes of the server performance in the corresponding scenario; A generation unit, configured to generate a target server performance test task in the corresponding scenario by using the at least one test scenario template based on the target test scenario selected by the user.

7. The system according to claim 1, characterized in that, The performance test module includes: A data preprocessing unit, configured to receive the multiple performance index data transmitted by the data collection module, and perform data cleaning, data normalization, and feature extraction processing on the multiple performance index data to obtain the target performance index data that meet the second preset processing condition.

8. An artificial intelligence-based automated server performance testing method, characterized in that, Use the server performance automated test system based on artificial intelligence according to any one of claims 1-7, where the method includes the following steps: Generate at least one performance test task for at least one server to be tested according to at least one test requirement input by a user; After connecting to the at least one server to be tested, collect multiple performance index data of the at least one server to be tested that meet the first preset processing condition during the execution of the corresponding at least one performance test task; Perform data processing on the multiple performance index data to obtain target performance index data that meet the second preset processing condition, and input the target performance index data into a pre-constructed target performance evaluation model to output the target performance test results of the at least one server to be tested.

9. An electronic device, characterized in that, Including: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the server performance automation test method as claimed in claim 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to be used for implementing the server performance automation test method as claimed in claim 8.

Citation Information

Cited By

  • Method, device and equipment for testing optical communication network

    CN120785424A

  • A testing method, apparatus, and equipment for optical communication networks.

    CN120785424B