Testing method, system and equipment based on intelligent computing network component and medium
Through the test method and system based on the intelligent computing network test component, the problem of the inability to comprehensively and accurately evaluate the performance of the intelligent computing network in the existing technology is solved, and the in-depth evaluation of the computing power and network performance and the test of the collaborative working ability are realized, and the test of the collaborative working ability is provided. Detailed reporting saves resources.
Patent Information
- Application Number
- CN202410999368.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology cannot comprehensively and accurately evaluate the overall performance of intelligent computing networks, and lacks simulation of actual application scenarios, resulting in large deviations between test results and actual performance.
Provide a testing method and system based on intelligent computing network testing components, including Web front-end and back-end subsystems. The back-end subsystem receives configuration instructions, integrates protocol stacks and applications, and can perform customized computing power and network performance tests. Data is returned in real time. Users can customize test parameters and scenarios, deploy the software on existing servers or cloud hosts, and support multi-threaded testing.
It achieves a comprehensive and accurate performance evaluation of the intelligent computing network, in-depth testing of single computing node and multi-node collaborative working capabilities, provides detailed test data reports, saves testing resources, and ensures data accuracy and compatibility.
Smart Images

Figure CN118714040A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent computing network technology, and in particular to a testing method, system, equipment and medium based on intelligent computing network components. Background Art
[0002] With the vigorous development of big data, cloud computing and artificial intelligence technologies, intelligent computing networks, as the core infrastructure supporting modern computing tasks, are playing an increasingly important role. Intelligent computing networks not only have powerful computer and data processing capabilities, but also have efficient network communication and data transmission mechanisms, which can realize the sharing and collaborative work of computing resources.
[0003] However, as the scale of intelligent computing networks continues to expand, their complexity continues to increase, so the performance testing and optimization of intelligent computing networks has become particularly important. The testing methods in the existing technology often only focus on a single performance indicator, such as CPU Processing speed, memory bandwidth or network latency, etc., cannot fully evaluate the overall performance of the intelligent computing network. In addition, existing testing methods often lack simulation of actual application scenarios, resulting in a large deviation between test results and actual performance. There are still deficiencies in the comprehensiveness of test indicators, the diversity of test scenarios and the accuracy of test results.
[0004] Therefore, there is an urgent need to propose a testing method, system, equipment and medium based on intelligent computing network testing components to solve the technical problem in the existing technology that due to the lack of simulation of actual application scenarios, there is a large deviation between the test results and the actual performance, and the intelligent computing network test cannot be performed comprehensively and accurately. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present disclosure provides a testing method, system, equipment and medium based on intelligent computing network testing components to solve the technical problem in the related art that due to the lack of simulation of actual application scenarios, there is a large deviation between the test results and the actual performance, and the intelligent computing network test cannot be performed comprehensively and accurately.
[0006] One or more embodiments of this specification provide a testing method based on an intelligent computing network testing component, wherein the testing component is deployed in an intelligent computing network, including Web The front-end and back-end subsystems include the following steps: The back-end subsystem receives a configuration instruction sent via a communication interface, wherein the configuration instruction is sent via Web Test task parameters configured by the front end; Execute the test task according to the test task parameters, and send the data generated during the test back to the WebThe front end performs display, wherein the back end subsystem integrates a protocol stack and an application program, wherein the protocol stack is used for data transmission and analysis, and the application program is used for customizing test tasks according to configuration instructions.
[0007] Preferably, executing the test task according to the test task parameters comprises the following steps: After receiving multiple configuration instructions, multiple threads are started through the backend subsystem to respectively execute the test tasks corresponding to each configuration instruction, wherein the test tasks include computing power performance test and network performance test; The execution steps of the test task are as follows: The application corresponding to the test task is called for configuration according to the configuration instruction, the configured application is sent to the system under test in the form of a request packet for testing, and the system under test is requested to feedback data generated during the test.
[0008] Preferably, the method further comprises the following steps: When sending the request packet, if the system under test does not respond within the timeout period based on the set timeout period, the back-end subsystem interrupts the request and throws an exception; After the system under test responds to the request, the back-end subsystem receives and parses the data generated during the test.
[0009] Preferably, the method further comprises the following steps: During the execution of the test task, the data generated during the test process is counted, classified and stored as historical data. Web The front end queries the historical data.
[0010] Preferably, the Web The parameters of the front-end configuration test task are as follows: Configure the trigger conditions, test requirements, and user-defined parameters of the test task.
[0011] One or more embodiments of this specification provide a test system based on an intelligent computing network test component, wherein the test component includes Web Front-end and back-end subsystems, the test system includes: A configuration module is used for the back-end subsystem to receive a configuration instruction sent through a communication interface, wherein the configuration instruction is sent through a Web Test task parameters configured by the front end; The test module is used to execute the test task according to the test task parameters and transmit the data generated during the test process back to the test module in real time. Web The front end performs display, wherein the back end subsystem integrates a protocol stack and an application program, wherein the protocol stack is used for data transmission and analysis, and the application program is used for customizing test tasks according to configuration instructions.
[0012] Preferably, the test module comprises: An execution unit, configured to receive a plurality of configuration instructions and start a plurality of threads through the back-end subsystem to respectively execute a test task corresponding to each configuration instruction, wherein the test task includes a computing power performance test and a network performance test; The steps for the execution unit to execute the test task are as follows: The application corresponding to the test task is called for configuration according to the configuration instruction, the configured application is sent to the system under test in the form of a request packet for testing, and the system under test is requested to feedback data generated during the test.
[0013] Preferably, the execution unit further includes A judgment component, used for, when sending the request packet, judging that the tested system does not respond within the timeout period based on the set timeout period, and the back-end subsystem interrupts the request and throws an exception; After the system under test responds to the request, the back-end subsystem receives and parses the data generated during the test.
[0014] One or more embodiments of the present specification provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a testing method based on an intelligent computing network testing component as described above is implemented.
[0015] One or more embodiments of the present specification provide a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above-mentioned testing method based on the intelligent computing network testing component are implemented.
[0016] The present disclosure provides a test method, system, device and medium based on intelligent computing network test components, the advantage of which is that the back-end subsystem receives the configuration instruction sent through the communication interface, and the configuration instruction is sent through the communication interface. Web The test task parameters configured on the front end provide a friendly interactive interface, where users can customize the test task parameters and flexibly adjust the test parameters and scenarios, so that the test tasks can accurately match the test requirements and test environment, realize customized testing, execute the test tasks according to the test task parameters, and send the data generated during the test back to the system in real time. WebThe front end is displayed, where the back-end subsystem integrates the protocol stack and application program. The protocol stack is used for data transmission and analysis, and the application program is used to customize the test task according to the configuration instructions. By implementing the test task in the form of an application program, there is no need for complex hardware configuration and cumbersome test procedures. Comprehensive and accurate testing can be achieved through software. The deployment process of the intelligent computing network component is simple and easy, and can be quickly installed on an existing server or cloud host. It can be directly deployed on bare metal for new construction, concurrency, throughput and other performance tests. During the test, the communication protocol between the intelligent computing network component and the server follows the standard protocol to ensure compatibility with various mainstream operating systems, which not only ensures the accuracy of the data, but also realizes a comprehensive evaluation of the performance of the computing power equipment system. It not only deeply tests the performance issues of a single computing power node, but also fully examines the collaborative working ability and efficiency of multiple nodes, thereby more accurately reflecting the overall performance of the computing power network, effectively saving test resources, and providing detailed test data reports. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 A flowchart of a testing method based on an intelligent computing network testing component provided for one or more embodiments of this specification; Figure 2 One or more embodiments of this specification provide CPU Flowchart of primality test; Figure 3 A network performance test flow chart provided for one or more embodiments of this specification; Figure 4 A structural diagram of a test system based on an intelligent computing network test component provided for one or more embodiments of this specification; Figure 5 A schematic diagram of the structure of a computer device provided for one or more embodiments of this specification. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the protection scope of the present invention.
[0020] The present invention mainly tests the computing network performance of computing servers and cloud hosts, enterprise networks and cloud networks, and can be deployed in various CPU + GPU The computing power performance test and network performance test are performed on the servers of the computing power server and network components in the form of software. The test methods are mainly divided into two categories: computing power performance test and network performance test. Web Interface through API The interface calls the intelligent computing network component, avoiding the tedious manual network traffic packaging steps. The intelligent computing network component is deployed in the test environment in the form of software. Users only need to Web The terminal can easily configure the test model. After the configuration is completed, after receiving multiple configuration instructions, multiple threads will be started through the back-end subsystem, and different access operations will be performed on the same test model at the same time. These operations include adjusting key parameters such as the number of threads and the amount of calculation, as well as performing complex tasks such as data replication, scaling, addition and mixing. In this way, the test can be closer to the computing power and network requirements of multiple users and multiple scenarios in a real environment. The following is a detailed description of the two test methods of the present invention in conjunction with the specific implementation methods and the drawings in the specification.
[0021] The component of the present invention is a highly integrated software testing system, the core component of which is a set of carefully designed software. The software covers Web ( WorldWideWeb , Global Wide Area Network) front end, API ( Application Programming Interface , application programming interface) interface, operating system and other infrastructure, and also includes self-developed protocol stack (code), efficient database management system and a series of applications. Web The front end can intuitively configure test tasks and various parameters. The front end will pass the user's configuration instructions to APIThe interface is passed to the back-end subsystem. The back-end subsystem consists of a self-developed protocol stack and a series of applications. These applications can be customized and optimized for specific test requirements to ensure the accuracy and efficiency of the test. As the core of the system, the protocol stack is responsible for data transmission and parsing to ensure smooth and stable communication between the front and back ends. When the test task starts, the back-end application will execute the test according to the preset process and parameters, and send the data generated during the test back to the system in real time. Web Front-end. These data include but are not limited to test progress, test results, exception information, etc. The front-end can display these data so that users can keep track of the test situation at any time. After the test task is completed, the system will collect and count the data generated during the test. The database management system will classify, store and back up these data to ensure data security and traceability. Users can query historical test data through the front-end for subsequent analysis and comparison.
[0022] Method Embodiment According to an embodiment of the present invention, a testing method based on an intelligent computing network testing component is provided, such as Figure 1 As shown, it is a flow chart of a test method based on intelligent computing network components provided in this embodiment. According to a test method based on intelligent computing network components in an embodiment of the present invention, the test component is deployed in the intelligent computing network, including Web The front-end and back-end subsystems include the following steps: S 110. The back-end subsystem receives a configuration instruction sent via a communication interface, wherein the configuration instruction is sent via Web The test task parameters configured by the front end, where the test task parameters are divided into the trigger conditions of the test task, test requirements and user-defined parameters. The trigger conditions of the test task include: For example, the trigger conditions of the computing power performance test include: reaching a certain amount of user requests, the system load exceeds the threshold, regular performance verification, etc. For example, when the number of concurrent users of the system reaches the preset peak value, the computing power performance test can be triggered to evaluate the performance of the system under high load. The trigger conditions of the memory access speed test include: system startup, specific function startup, memory resource fluctuations, etc. Test requirements include: CPU Processing capacity, memory access speed, disk access speed and network performance test, user-defined parameters include: number of concurrent threads, number of prime numbers generated, size of floating point matrix, memory access type, number of repeated loop runs, concurrent number adjustment, load data size, bandwidth processing method adjustment, running time, five-layer data statistics display adjustment, access method selection, test time, frame length setting, message size, use CPUUsers can also use the default configuration values to directly run and start the test task, such as memory adjustment and network topology parameters.
[0023] S 120. Execute the test task according to the test task parameters, and transmit the data generated during the test process back to the Web The front end performs display, wherein the back end subsystem integrates a protocol stack and an application program, wherein the protocol stack is used for data transmission and analysis, and the application program is used for customizing test tasks according to configuration instructions.
[0024] Also includes steps S 130. During the execution of the test task, the data generated during the test process is counted, classified and stored as historical data. Web The front end queries the historical data.
[0025] The method provided in this embodiment allows the user to Web The front-end configures the parameters of the test task and passes the configured test task parameters in the form of configuration instructions API The interface is sent to the back-end subsystem, providing a friendly interactive interface. Users can customize the parameters of the test task and flexibly adjust the test parameters and scenarios so that the test task can accurately match the test requirements and test environment, realize customized testing, execute the test task according to the test task parameters, and send the data generated during the test back in real time. Web The front end is displayed, where the back-end subsystem integrates the protocol stack and application program. The protocol stack is used for data transmission and analysis, and the application program is used to customize the test task according to the configuration instruction. By implementing the test task in the form of an application program, there is no need for complex hardware configuration and cumbersome test process. Comprehensive and accurate testing can be achieved through software. The deployment process of the intelligent computing network component is simple and easy, and it can be quickly installed on an existing server or cloud host. It can be directly deployed on bare metal for new construction, concurrency, throughput and other performance tests. In the test, the communication protocol between the intelligent computing network component and the server follows the standard protocol to ensure compatibility with various mainstream operating systems, which not only ensures the accuracy of the data, but also realizes a comprehensive evaluation of the system performance of the computing power equipment. The provided WebThe interactive interface has many features, such as user-friendliness, multi-user support, intuitive display, flexible configuration, real-time feedback, data security, and multi-language support, which provide users with a convenient and efficient test operation experience. Through this interface, users can easily perform computing power performance tests and network performance tests, and obtain detailed test data reports, which provide strong support for the optimization of computing power equipment system performance. It not only deeply tests the performance issues of a single computing power node, but also fully examines the collaborative work ability and efficiency between multiple nodes, thereby more accurately reflecting the overall performance of the computing power network, effectively saving test resources, and providing detailed test data reports.
[0026] In one embodiment, executing the test task according to the test task parameters comprises the following steps: After receiving multiple configuration instructions, multiple threads are started through the back-end subsystem to respectively execute the test tasks corresponding to each configuration instruction. The test tasks include computing power performance test and network performance test. Multi-threaded execution of test tasks represents different users using the component at the same time. Each user-configured test task belongs to a thread. The component of the present invention can run test tasks for multiple users at the same time without affecting each other, ensuring data accuracy while also improving user usage. When it comes to multi-threaded execution of test tasks, users adjust the parameters of the test tasks according to demand, including adjusting key parameters such as the number of threads and the amount of calculation, as well as performing complex tasks such as data replication, scaling, addition, and mixing. The intelligent computing network test component provides that each user-configured test task can be executed in an independent thread, ensuring that tasks do not interfere with each other, ensuring data accuracy and user efficiency.
[0027] The steps to perform the test task are as follows: According to the configuration instructions, the application and protocol stack corresponding to the test task are called for configuration, and the configured application is sent to the system under test in the form of a request packet for testing, and the system under test is requested to feedback the data generated during the test. For computing power performance testing, the back-end subsystem will allocate corresponding computing resources according to the preset algorithm or task, and monitor the performance indicators during the test, such as computing speed, resource utilization, etc. For memory access speed testing, the back-end will design specific memory access modes or scenarios, and measure key indicators such as memory access response time or bandwidth.
[0028] The following is a detailed description of the test process using a specific example: The test method of this embodiment is divided into two aspects: computing power performance test and network performance test. CPUThe processing power, memory access speed, and disk access speed are evaluated to obtain the performance of the server when processing large-scale data and computing tasks. The network performance test uses key data statistics such as new creation / concurrency / throughput / latency / packet loss to evaluate the performance of the server in network communication and data transmission by measuring the network layer processing speed and application layer processing speed. The methods include: The intelligent computing network test component can be deployed in the tested system to fully understand the performance of the server and provide strong support for the optimization of the computing network.
[0029] Case 1: Computing performance test CPU Computing power test In execution CPU When testing the computing power of , prime number calculation was used to evaluate the amount of calculation, such as Figure 2 As shown, the embodiment provided CPU Prime number test flow chart, integrated in the backend subsystem sysbench Tools, on the front end Web pass API Interface call sysbench The tool allows users to customize the number of prime numbers in the request packet. The backend subsystem simulates the client or server in the actual scenario and sends a request packet with the number of prime numbers customized by the user. When the system under test receives the request packet, it hands it over to CPU To process and respond to the feedback data packet to the back-end subsystem. After the back-end subsystem receives the data packet, it first uses sysbench Tool to process, then pass Web interface API The interface filters the response data packets and displays the following key test data statistics: a . If the component is enabled to periodically report intermediate statistics, the number of parallel threads will be displayed; event Number; 95% event The maximum time consumed.
[0030] b .Component statistics in the test CPU speed ( CPU Speed Indicator) events per second Attribute, indicating CPU Completed per second event The higher the value, the better the system under test. CPU The better the performance.
[0031] c .Components through API Get sysbench Original data, display Latency 95% of the delay statistics of data processing th percentile Attributes indicate 95% eventThe smaller the value, the more time-consuming it is. CPU The better the performance.
[0032] d . Threads fairness (Thread Fairness) events ( avg / stddev ) attribute indicates the average number of times each thread completes event Number / standard deviation, the smaller the standard deviation, the CPU The difference between them is smaller.
[0033] According to the statistical results of the above key data, the CPU Prime number calculation ability, thus obtaining CPU The speed and latency of computing power to process events. This intelligent computing network component can CPU The integer computing capabilities under different concurrency are carefully tested to comprehensively evaluate its performance.
[0034] Case 2: Computing performance test CPU Processing capacity test For high-precision technical equipment and physical equipment in high-speed network environments CPU Processing capability test, this embodiment innovatively proposes a method using a floating point test method, which first Web The interface provides parameter configuration options, including matrix size and the number of repeated multiplications. By setting the size of the matrix and the number of repeated multiplications of two matrices, the back-end subsystem sends the corresponding data traffic (the data traffic sent by the test component according to the test task includes the matrix configuration. When the user configures the test task, all the configured parameters are integrated into a network data packet and sent to CPU Process and obtain CPU Process the results by performing the test multiple times N × N × N floating-point multiplication and addition calculations to obtain GFLOPS The value (the rate of floating-point operations per second in billion floating-point operations, which is used to judge the computing performance of a computer system or a specific operation) is sent to the system under test. Then, based on the response feedback from the system under test, we can accurately obtain the floating-point operation rate (such as 1 billion floating-point operations per second) and the number of floating-point operations per second completed by the device, thereby comprehensively evaluating the performance of the system under test. CPU Processing power performance.
[0035] In this test method, the mt - dgemm Used to obtain computer systems or specific operations. The test principle is two N * NThe matrix product of m Line n The elements of the column are equal to the m The elements of the row are the same as the n The sum of the products of the corresponding elements in the columns. The time complexity of matrix multiplication is O ( N × N × N ). The number of test replicates is to repeat the benchmark test to ensure consistent processor performance and not affected by thermal throttling. mt - dgemm By performing repeated tests × N × N × N floating-point multiplication and addition calculations to obtain GFLOPS value.
[0036] Case 3: Memory access speed test for computing power performance test Multiple threads of the test component are launched to simultaneously perform different memory operations on an array, including data copying, data scaling, data addition, and data mixing, in order to more comprehensively evaluate the performance of the memory system.
[0037] Record the size of the array and the execution time of the memory operation, and calculate the memory bandwidth ( MB / s ), a higher memory bandwidth value indicates that the host has better memory system performance. Finally, by outputting the measurement results of memory bandwidth, the host's memory access speed can be accurately evaluated.
[0038] Case 4: Disk access speed test for computing power performance test Start multiple threads of the test component to simulate disk IO operations, including random read, random write, sequential read, and sequential write.
[0039] Record each thread IO Operation time, calculating disk IO Operation rate and response time, key disk metrics such as disk throughput, latency, and IO Performance can accurately reflect the performance of the disk.
[0040] Case 5: Network performance test like Figure 3 As shown, it is a flow chart of the network performance test provided in this embodiment. In the actual test environment, the back-end subsystem simulates the client or server to continuously generate data packets and send them to the tested network at a preset rate, and performs basic evaluation on the tested network link or cloud network performance, such as key data such as throughput and latency of network processing time, and application layer processing capabilities.
[0041] Network layer throughput: During the test, the component provides the setting of the number of virtual users. Each virtual user creates a request connection, sends a message with a specified payload length and continuously generates data packets to the network link or cloud network under test. The packets are sent to the network under test at a certain rate. The network under test receives the data packets and calculates the amount of data received per unit time, and calculates the network throughput.
[0042] Network layer delay: The test component records the timestamp when sending a data packet, and records the timestamp again after the tested network receives the data packet, and calculates the one-way delay of the network.
[0043] Network layer packet loss rate: During the test, a certain number of data packets are sent to the network under test. The test component records the number of data packets sent, and the network under test records the number of data packets received. By comparing the number of data packets sent and the number of acknowledgments received, the network packet loss rate is calculated. c .Carry out % ratio statistics and display them in graphical form.
[0044] Network layer processing speed test: Application layer test includes new connection / concurrency / throughput, etc. Application layer new connection refers to the number of new application layer connection requests that the tested system can handle within one second. By continuously simulating a large number of users accessing the server per second, and immediately dismantling the connection after one access, the maximum limit of the new connection rate of the tested system can be tested. Application layer concurrency refers to the maximum number of connection sessions that the tested system can handle simultaneously. During the test, a large number of clients are simulated to initiate multiple connection requests to the server at the same time, and multiple connections are established and maintained with the server at the same time. The concurrent connection number test will not dismantle the connection, and all established connections will be maintained until the device limit is reached. Application layer throughput refers to the maximum ability of network equipment to process data packets within one second. During the test, a large number of clients are simulated to establish connections with the server, and on the basis of the established connections, a large amount of data is sent, and the transmission time is recorded. The average amount of data transmitted per second is calculated by dividing the total amount transmitted by the transmission time.
[0045] The method provided in this embodiment supports multi-threading technology, can execute multiple test tasks at the same time, improve test efficiency, and comprehensively evaluate the performance of the computing server, providing strong support for server performance optimization, and comprehensively evaluate the network performance of the server through various test methods such as network performance test, disk access speed test and application layer processing speed test. This method has wide applicability and accuracy, can be widely used in various types of servers, and provides strong support for the sustainable development of related fields.
[0046] In one embodiment, the following steps are also included: When sending the request packet, it is determined based on the set timeout time that the tested system does not respond within the timeout time, and the back-end subsystem interrupts the request and throws an exception.
[0047] After the system under test responds to the request, the back-end subsystem receives and parses the data generated during the test.
[0048] The method provided in this embodiment can realize automatic testing by setting a timeout period to determine whether a fault occurs in the system under test and automatically restoring the data transmission process.
[0049] System Example According to an embodiment of the present invention, a test system based on an intelligent computing network test component is provided, such as Figure 4 As shown, a structural diagram of a test system based on an intelligent computing network test component is provided in this embodiment. According to a test system based on an intelligent computing network test component in an embodiment of the present invention, the test component is deployed in the intelligent computing network, and the test component includes Web Front-end and back-end subsystems, the test system includes: Configuration module 410, used for the back-end subsystem to receive configuration instructions sent through the communication interface, the configuration instructions are sent through Web Test task parameters configured by the front end.
[0050] The test module 420 is used to execute the test task according to the test task parameters and transmit the data generated during the test process back to the test module in real time. Web The front end performs display, wherein the back end subsystem integrates a protocol stack and an application program, wherein the protocol stack is used for data transmission and analysis, and the application program is used for customizing test tasks according to configuration instructions.
[0051] The test module system 420 includes: The execution unit is used to receive multiple configuration instructions and start multiple threads through the back-end subsystem to execute the test tasks corresponding to each configuration instruction respectively, and the test tasks include computing power performance test and network performance test.
[0052] The steps for the execution unit to execute the test task are as follows: The application corresponding to the test task is called for configuration according to the configuration instruction, the configured application is sent to the system under test in the form of a request packet for testing, and the system under test is requested to feedback data generated during the test.
[0053] The execution unit further comprises a judgment component, which is used for judging, when sending the request packet, that the system under test has not responded within the timeout period based on the set timeout period, and the back-end subsystem interrupts the request and throws an exception.
[0054] After the system under test responds to the request, the back-end subsystem receives and parses the data generated during the test.
[0055] The system provided in this embodiment receives the configuration instruction sent through the communication interface through the configuration module 410 of the back-end subsystem, and the configuration instruction is sent through the communication interface. Web The test task parameters configured by the front end provide a friendly interactive interface, where users can customize the test task parameters and flexibly adjust the test parameters and scenarios so that the test task can accurately match the test requirements and the test environment to achieve customized testing. The test module 420 executes the test task according to the test task parameters and transmits the data generated during the test process back to the test module in real time. Web The front end is displayed, where the back-end subsystem integrates the protocol stack and application program. The protocol stack is used for data transmission and analysis, and the application program is used to customize the test task according to the configuration instructions. By implementing the test task in the form of an application program, there is no need for complex hardware configuration and cumbersome test procedures. Comprehensive and accurate testing can be achieved through software. The deployment process of the intelligent computing network component is simple and easy, and can be quickly installed on an existing server or cloud host. It can be directly deployed on bare metal for new construction, concurrency, throughput and other performance tests. During the test, the communication protocol between the intelligent computing network component and the server follows the standard protocol to ensure compatibility with various mainstream operating systems, which not only ensures the accuracy of the data, but also realizes a comprehensive evaluation of the performance of the computing power equipment system. It not only deeply tests the performance issues of a single computing power node, but also fully examines the collaborative working ability and efficiency of multiple nodes, thereby more accurately reflecting the overall performance of the computing power network, effectively saving test resources, and providing detailed test data reports.
[0056] The embodiment of the present invention is a system embodiment corresponding to the above-mentioned method embodiment. The specific operations of the processing steps of each module can be understood by referring to the description of the method embodiment, which will not be repeated here.
[0057] like Figure 5 As shown, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a testing method based on an intelligent computing network testing component in the above-mentioned embodiment, or, when executed by a processor, implements a testing method based on an intelligent computing network testing component in the above-mentioned embodiment.
[0058] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by configuring the hardware related to the instructions through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory ( ROM ), programmable ROM ( PROM ), electrically programmable ROM ( EPROM ), Electrically Erasable Programmable ROM ( EEPROM ) or flash memory. Volatile memory may include random access memory ( RAM ) or external cache memory. By way of illustration and not limitation, RAM Available in various forms, such as static RAM ( SRAM ),dynamic RAM ( DRAM ),synchronous DRAM ( SDRAM ), Double Data Rate SDRAM ( DDR SDRAM ), Enhanced SDRAM ( ESDRAM ), Synchronous Link ( Synchlink ) DRAM ( SLDRAM ), memory bus ( Rambus )direct RAM ( RDRAM ), Direct Memory Bus Dynamics RAM ( DRDRAM ), and memory bus dynamics RAM ( RDRAM )wait.
[0059] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0060] 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 above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and the contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
Claims
1. A testing method based on intelligent computing network testing components, characterized in that: Test components are deployed in the intelligent computing network, including Web The front-end and back-end subsystems include the following steps: The back-end subsystem receives a configuration instruction sent via a communication interface, wherein the configuration instruction is sent via Web Test task parameters configured by the front end; Execute the test task according to the test task parameters, and send the data generated during the test back to the tester in real time. Web The front end performs display, wherein the back end subsystem integrates a protocol stack and an application program. The protocol stack is used for data transmission and analysis, and the application program is used to customize test tasks according to configuration instructions.
2. A test method based on intelligent computing network test components according to claim 1, characterized in that: Executing the test task according to the test task parameters comprises the following steps: After receiving multiple configuration instructions, the backend subsystem starts multiple threads to respectively execute the test tasks corresponding to each configuration instruction, wherein the test tasks include computing power performance test and network performance test; The steps to perform the test task are as follows: The application corresponding to the test task is called for configuration according to the configuration instruction, the configured application is sent to the system under test in the form of a request packet for testing, and the system under test is requested to feedback data generated during the test.
3. A test method based on intelligent computing network test components according to claim 2, characterized in that: The following steps are also included: When sending the request packet, if the system under test does not respond within the timeout period, the back-end subsystem interrupts the request and throws an exception. After the system under test responds to the request, the back-end subsystem receives the data generated during the test and parses it.
4. The test method based on the intelligent computing network test component according to claim 1, characterized in that: The following steps are also included: During the execution of the test task, the data generated during the test process is counted, classified and stored as historical data. Web The front end queries the historical data.
5. The test method based on intelligent computing network test component according to claim 1, characterized in that: Said through Web The parameters of the front-end configuration test task are as follows: Configure the trigger conditions, test requirements, and user-defined parameters of the test task.
6. A test system based on intelligent computing network test components, characterized in that: The test components are deployed in the intelligent computing network, and the test components include Web Front-end and back-end subsystems, the test system includes: Configuration module, used for the back-end subsystem to receive configuration instructions sent through the communication interface, the configuration instructions are sent through Web Test task parameters configured by the front end; The test module is used to execute the test task according to the test task parameters and send the data generated during the test back in real time. Web The front end performs display, wherein the back end subsystem integrates a protocol stack and an application program. The protocol stack is used for data transmission and analysis, and the application program is used to customize test tasks according to configuration instructions.
7. A test system based on intelligent computing network test components according to claim 6, characterized in that: The test module includes: An execution unit, configured to receive multiple configuration instructions and, through the backend subsystem, initiate multiple threads to respectively execute a test task corresponding to each configuration instruction, wherein the test task includes a computing power performance test and a network performance test; The steps for the execution unit to execute the test task are as follows: The application corresponding to the test task is called for configuration according to the configuration instruction, the configured application is sent to the system under test in the form of a request packet for testing, and the system under test is requested to feedback data generated during the test.
8. A test system based on intelligent computing network test components according to claim 7, characterized in that: The execution unit further includes a judgment component for, when sending the request packet, judging based on a set timeout period that the system under test does not respond within the timeout period, and the back-end subsystem interrupts the request and throws an exception; After the system under test responds to the request, the back-end subsystem receives the data generated during the test and parses it.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the test method based on the intelligent computing network test component as described in any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the testing method based on the intelligent computing network testing component as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Agility-oriented automatic test management system and method
CN105487977A
Test server and cloud platform
CN113360353A
Large-scale automatic cluster performance testing method and system based on cloud service
CN113986719A
Network monitoring method and device and storage medium
CN115883400A
Multi-type network application service quality evaluation system and method
CN117221148A
