Cloud computing network stress testing method and device, computer equipment, readable storage medium and program product

By parsing and matching the planning data of the cloud computing network, generating the data required for testing, and automatically identifying and testing links, the problem of low efficiency of traditional tools in cloud computing networks is solved, and efficient link testing is achieved.

CN119484363BActive Publication Date: 2026-01-20CHINA TELECOM CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411762445.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2026-01-20
Estimated Expiration
2044-12-03

AI Technical Summary

Technical Problem

Traditional single-link testing tools are inefficient in cloud computing networks and cannot meet the needs of multiple scenarios, architectures, and planes, resulting in low testing efficiency.

Method used

The planning data of the project under test is analyzed by the target analysis tool to generate multiple network planes. The network planes are then matched with the on-site cloud computing architecture in the architecture-aware model to generate the data required for probing and to automatically identify and test the links.

Benefits of technology

It enables automatic and accurate perception of cloud computing network architecture, identifies the number and addresses of links that need to be tested, and improves the efficiency, quality and scope of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484363B_ABST
    Figure CN119484363B_ABST
Patent Text Reader

Abstract

The application relates to a cloud computing network stress testing method and device, computer equipment, a readable storage medium and a program product. The method comprises the following steps: analyzing the planning data of a tested item by a target analysis tool to obtain multiple network planes. In the multiple cloud computing architectures contained in an architecture perception model, the planning data and the network planes are matched to obtain an on-site cloud computing architecture of the tested item. The required data for stress testing is generated based on the planning data and the on-site cloud computing architecture. The link test result is obtained by testing based on the required data for stress testing. By using the method, the automatic and accurate perception of the cloud computing architecture of the tested item can be realized, the number of links required for testing the cloud computing structure of the tested item and the specific address are identified, the automatic testing of all the links required for testing in the cloud computing architecture is realized, and the stress testing efficiency in the cloud network scene is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cloud computing, and in particular to a cloud computing network stress testing method and device, computer equipment, readable storage medium and program product. BACKGROUND

[0002] With the rapid development of network technology, the operation of various industries cannot be supported without network, and the quality of the network needs to be tested. In the traditional technology, single-link test tools based on ICMP, UDP, TCP and other protocols can realize point-to-point or point-to-multipoint link testing. However, in the cloud computing network scenario, due to the complexity of the cloud computing network, for example, there are many network planes in the network, which are divided into underlay and overlay network layers, and different planes combine different device roles to produce different logical links. The cloud computing network will derive many different network architecture scenarios. The single point-to-point or point-to-multipoint test mode in the traditional technology leads to low actual stress testing efficiency. SUMMARY

[0003] Therefore, it is necessary to provide a cloud computing network stress testing method, device, computer equipment, readable storage medium and program product capable of improving stress testing efficiency to solve the above technical problems.

[0004] In a first aspect, the present application provides a cloud computing network stress testing method, comprising:

[0005] analyzing the planning data of the tested project by a target analysis tool to obtain a plurality of network planes, wherein the planning data comprises network device address, server address, vlan data, routing data and NAT data;

[0006] In the plurality of cloud computing architectures contained in the architecture perception model, matching is performed based on the planning data and each network plane to obtain the live cloud computing architecture of the tested project;

[0007] generating stress testing required data based on the planning data and the live cloud computing architecture; and testing the tested project based on the stress testing required data to obtain a link test result.

[0008] In one embodiment, the analyzing the planning data of the tested project by a target analysis tool to obtain a plurality of network planes comprises:

[0009] grouping the network device address and the server address by a target analysis tool to obtain a plurality of network planes, and determining the vlan data, routing data and NAT data corresponding to each network plane.

[0010] In one of the embodiments, the on-premise cloud computing architecture of the tested project is obtained based on the planning data and the network planes in the matching of the multiple cloud computing architectures contained in the architecture-aware model, including:

[0011] The multiple initial cloud computing architectures are obtained based on the planning data in the initial screening of the multiple cloud computing architectures contained in the architecture-aware model;

[0012] After accessing the tested project, the link connectivity results are obtained based on the roles of the devices in the tested project, the network segment data corresponding to the addresses of the devices and the network planes.

[0013] The on-premise cloud computing architecture of the tested project is obtained based on the link connectivity results and the link connectivity-aware matching of the multiple initial matching cloud computing architectures.

[0014] In one of the embodiments, the data required for the probing test includes the end addresses of the links to be tested, the test bandwidths of the links to be tested, the test data packet data and the test period of the tested project.

[0015] In one of the embodiments, the tested project is tested based on the data required for the probing test to obtain the link test results, including:

[0016] The tested project is tested based on the data required for the probing test to obtain the test results corresponding to the links respectively, and the test results of the tested project are obtained based on the test results corresponding to the links respectively.

[0017] In one of the embodiments, the method further includes:

[0018] The test report of the tested project is generated based on the test results of the tested project, and the test report is output.

[0019] In the second aspect, the application further provides a probing test device of a cloud computing network, including:

[0020] The extraction module is configured to analyze the planning data of the tested project by a target analysis tool to obtain multiple network planes; the planning data includes network device addresses, server addresses, VLAN data, routing data and NAT data.

[0021] The matching module is configured to match the planning data and the network planes in the multiple cloud computing architectures contained in the architecture-aware model to obtain the on-premise cloud computing architecture of the tested project.

[0022] generating module, configured to generate data required for probing based on the planning data and the on-site cloud computing architecture, and to test the tested item based on the data required for probing to obtain a link test result.

[0023] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0024] The planning data of the tested item is parsed by a target analysis tool to obtain a plurality of network planes; the planning data comprises network device addresses, server addresses, VLAN data, routing data and NAT data; in a plurality of cloud computing architectures contained in an architecture perception model, the planning data and each network plane are matched to obtain an on-site cloud computing architecture of the tested item; data required for probing is generated based on the planning data and the on-site cloud computing architecture; and the tested item is tested based on the data required for probing to obtain a link test result.

[0025] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program implements the following steps when executed by a processor:

[0026] The planning data of the tested item is parsed by a target analysis tool to obtain a plurality of network planes; the planning data comprises network device addresses, server addresses, VLAN data, routing data and NAT data; in a plurality of cloud computing architectures contained in an architecture perception model, the planning data and each network plane are matched to obtain an on-site cloud computing architecture of the tested item; data required for probing is generated based on the planning data and the on-site cloud computing architecture; and the tested item is tested based on the data required for probing to obtain a link test result.

[0027] In a fifth aspect, the present application provides a computer program product, comprising a computer program, and the computer program implements the following steps when executed by a processor:

[0028] The planning data of the tested item is parsed by a target analysis tool to obtain a plurality of network planes; the planning data comprises network device addresses, server addresses, VLAN data, routing data and NAT data; in a plurality of cloud computing architectures contained in an architecture perception model, the planning data and each network plane are matched to obtain an on-site cloud computing architecture of the tested item; data required for probing is generated based on the planning data and the on-site cloud computing architecture; and the tested item is tested based on the data required for probing to obtain a link test result.

[0029] The method, device, computer device, readable storage medium and program product for stress testing of the cloud computing network, wherein the method comprises: analyzing planning data of the tested item by a target analysis tool to obtain a plurality of network planes, the planning data comprising network device address, server address, VLAN data, routing data and NAT data; matching the planning data and each network plane based on a plurality of cloud computing architectures contained in an architecture perception model to obtain an on-site cloud computing architecture of the tested item; generating data required for stress testing based on the planning data and the on-site cloud computing architecture; and testing the tested item based on the data required for stress testing to obtain a link test result. By using the method, automatic and accurate perception of the cloud computing architecture of the tested item can be realized, the number of links required for testing of the cloud computing architecture of the tested item and specific addresses are identified, automatic identification and testing of all links required for testing in the cloud computing architecture are realized, and the stress testing efficiency, stress testing quality and test range in the cloud network scenario are improved. BRIEF DESCRIPTION OF DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments of the present application or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other related drawings can be obtained by those skilled in the art without creative labor.

[0031] Figure 1 A flowchart of a stress testing method of a cloud computing network in an embodiment;

[0032] Figure 2 A flowchart of a reconstruction step in an embodiment;

[0033] Figure 3 A flowchart of a step of matching an on-site cloud computing architecture of a tested item in an embodiment;

[0034] Figure 4 An architecture diagram of a stress testing method of a cloud computing network in an embodiment;

[0035] Figure 5 A flowchart of a stress testing method of a cloud computing network in another embodiment;

[0036] Figure 6 A flowchart of a stress testing method of a cloud computing network in still another embodiment;

[0037] Figure 7 A structural block diagram of a stress testing device of a cloud computing network in an embodiment;

[0038] Figure 8Fig. 1 is a diagram of an internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0039] For the purpose, technical solutions and advantages of the present application to be clearer, the present application is further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.

[0040] With the rapid development of network technology, the operation of various industries relies on the network, and therefore the reliability of the network needs to be ensured and the quality of the network needs to be tested. The probing method in the traditional technology is generally a single-link test tool developed based on ICMP, UDP, TCP and other protocols, which realizes point-to-point or point-to-multipoint link testing. Since cloud computing networks appear in the development process of the network, the cloud computing network is relatively complex, and many network planes are distributed in the network, which are divided into underlay and overlay network layers, and different planes combine different device roles to produce different logical links; various network architecture scenarios appear in the cloud computing network, and the single point-to-point or point-to-multipoint test mode in the traditional technology will result in very low link probing efficiency, which cannot meet the actual needs of the cloud computing network.

[0041] The embodiment provides a probing method of a cloud computing network, which can meet the needs of cloud computing in multiple scenarios, multiple architectures and multiple planes; based on automatic perception of the cloud computing network architecture, input data such as probing conditions, objects and intensity are automatically matched, and based on the built-in perception model, all necessary test links are automatically identified, including logical and physical links that need to be connected in principle and logical and physical links that need to be blocked in principle, so that automatic unattended probing of all links in the cloud computing network is realized, the test results including connectivity, stability and stress performance can be obtained, and the test efficiency, quality and coverage in the cloud network scenario are greatly improved.

[0042] In one embodiment, as shown in Figure 1 The probing method of the cloud computing network provided in the embodiment is exemplarily described by taking that the method is applied to a terminal. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is realized through the interaction of the terminal and the server. The terminal can be, but is not limited to, various personal computers, notebook computers and the like. The server can be a stand-alone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In the embodiment, the probing method of the cloud computing network includes the following steps:

[0043] At step 102, the planning data of the tested item is parsed by a target analysis tool to obtain a plurality of network planes.

[0044] The planning data includes network device address, server address, vlan data, routing data, and NAT data. The target analysis tool is a tool for extracting formatted data of the tested item, which can be a pandas tool. The tested item can be a cloud computing network system currently requiring stress testing. The planning data of the tested item can be input data of the tested item. The network device address can be IP address data of each network device included in the planning of the tested item. The server address can be IP address data of each server included in the planning of the tested item. The vlan data can be vlan types and vlan numbers included in the planning of the tested item, and the like. The routing data can be routing of each device included in the planning of the tested item. The NAT (Network Address Translation) data can be network address translation data planned by the tested item.

[0045] Specifically, the target analysis tool can be an information analysis tool configured in an information analysis module. The terminal can obtain the planning data of the tested item and input the planning data of the tested item into the information analysis module. The pandas tool in the information analysis module is used to parse the planning data of the tested item. That is, the planning data of the tested item input into the information analysis module is formatted data. The target analysis tool can extract information from the formatted data and reconstruct the extracted information based on an analysis module in the information analysis module to obtain a plurality of network planes.

[0046] In an example, the planning data of the tested item can include IP addresses of servers. The terminal can divide the network segments based on the IP addresses of the servers to obtain a plurality of network plane information. Based on the plurality of different network plane information, a plurality of network planes are identified, and the plurality of IP addresses included in each network plane have the same stress testing requirements. In this way, the terminal can also determine vlan data, routing data, and NAT data corresponding to different network planes. The network planes can include computing planes, storage planes, and management planes, and the like. The network planes included in the tested item in different actual application scenarios can be different.

[0047] At step 104, the planning data and the network planes are matched in a plurality of cloud computing architectures included in the architecture perception model to obtain an on-site cloud computing architecture of the tested item.

[0048] The architecture perception model is a model preconfigured for perceiving the cloud computing architecture in an actual application scenario, and the model is preconfigured with basic data of multiple cloud computing architectures inside, which can include attributes, roles, and quantities. The attributes can be the types or models of devices included in the tested item, such as the models of vlans included in each architecture, the types of network devices, and the like. The roles can be the roles of network devices in the architecture and the roles of servers, such as core end, edge end, routing end, and the like, or master device, slave device, and the like. The quantities can be the numbers of devices included in the tested item, such as the numbers of network devices, the numbers of vlans, and the numbers of servers, and the like.

[0049] Specifically, the terminal can perceive the cloud computing architecture corresponding to the tested item through the multiple cloud computing architectures preconfigured in the architecture perception model, match the planning data of the tested item obtained with each preconfigured cloud computing architecture, and broadcast to find out the on-site cloud computing architecture matching the tested item in the multiple cloud computing architectures.

[0050] In step 106, the required data for probing is generated based on the planning data and the on-site cloud computing architecture, and the tested item is tested based on the required data for probing to obtain a link test result.

[0051] The required data for probing is automatically generated.

[0052] Specifically, the terminal can determine the end address corresponding to each to-be-probed link in the tested item and the test data corresponding to each to-be-probed link based on the analysis information obtained by analyzing the planning data and the on-site cloud computing architecture of the tested item. The terminal can query the to-be-probed link through the end address of the to-be-probed link and test the to-be-probed link based on the test data of the to-be-probed link to obtain a link test result of the to-be-probed link. The link test result can include a test result of whether the link is connected, a test result of whether the connection between the links is stable, and a test result of the pressure load of the link.

[0053] The method for performing the probe test on the cloud computing network extracts the planning data of the project under test by using the target analysis tool, and the planning data includes network device addresses, server addresses, VLAN data, routing data, and NAT data. The target analysis tool analyzes the planning data of the project under test to obtain multiple network planes. In the multiple cloud computing architectures included in the architecture perception model, the planning data and the network planes are matched to obtain the live cloud computing architecture of the project under test. Based on the planning data and the live cloud computing architecture, the data required for the probe test is generated. The project under test is tested based on the data required for the probe test to obtain the link test result. By using the method, the cloud computing architecture of the project under test can be automatically and accurately perceived, and the number of links required for testing the cloud computing architecture of the project under test and the specific addresses can be identified. All the links required for testing in the cloud computing architecture are automatically identified and tested, and the efficiency, quality, and range of the probe test in the cloud network scenario are improved.

[0054] In one embodiment, as shown in FIG. 2, the specific processing process of the step "reconstructing information from the planning data to obtain multiple network planes" can include: Figure 2

[0055] In step 202, the network device addresses and the server addresses are grouped by using the target analysis tool to obtain multiple network planes, and the VLAN data, the routing data, and the NAT data corresponding to each network plane are determined.

[0056] The network device addresses can be IP addresses of network devices, and the server addresses can be IP addresses of servers. The network planes can be different types of network planes, such as computing planes, storage planes, and management planes. The network planes included in the project under test in different actual application scenarios can be different. The target analysis tool can be a pandas tool.

[0057] Specifically, the terminal can divide the IP addresses based on the IP addresses of the servers into multiple IP address groups, the probe test requirements of the IP addresses included in each IP address group are the same, the terminal can determine each IP address group as different network plane information, and based on the multiple different network plane information, the terminal can identify multiple network planes. In this way, the terminal can also determine the VLAN data, the routing data, and the NAT data corresponding to different network planes. The terminal can also determine the connectivity relationship between different network planes, i.e., each network plane is connected to or not connected to other network planes.

[0058] Optionally, in the case where the project under test in the actual application scenario is a cloud computer scenario, the network planes included in the corresponding project under test can include computing planes, storage planes, and management planes. ​

[0059] In this embodiment, the target analysis tool is used to analyze the formatted data of the tested item, so that each network plane contained in the tested item can be quickly and accurately identified, and automatic identification of the network plane is achieved.

[0060] In an exemplary embodiment, as shown in Figure 3 The specific implementation process of the step of "matching based on the planning data and the network planes in the multiple cloud computing architectures contained in the architecture-aware model to obtain the on-site cloud computing architecture of the tested item" can include:

[0061] In step 302, initial screening is performed based on the planning data in the multiple cloud computing architectures contained in the architecture-aware model, and multiple initial cloud computing architectures that match are obtained.

[0062] The architecture-aware model is preconfigured with multiple cloud computing architectures of multiple types, and the basic data corresponding to each cloud computing architecture, which can include attributes, roles, and quantities.

[0063] Specifically, the terminal can determine the types of each device contained in the tested item, the roles played by each device, and the quantities of each device based on the planning data; when performing initial screening in the multiple cloud computing architectures of multiple types preconfigured in the architecture-aware model, screening can be performed based on one or more dimensions of attributes, roles, and quantities to obtain multiple initial cloud computing architectures that match.

[0064] In one example, the dimensions of the screening determined by the terminal can be attributes, roles, and quantities, so that when the terminal performs initial screening, the multiple cloud computing architectures of multiple types preconfigured in the architecture-aware model are removed, including cloud computing architectures whose numbers of devices do not match the tested item, cloud computing architectures whose attributes of devices do not match the tested item, and cloud computing architectures whose roles played by devices do not match the tested item. In this way, the terminal determines the remaining cloud computing architectures as the multiple initial cloud computing architectures that match. For example, the tested item contains vlan100 and m servers, so the terminal can remove cloud computing architectures that do not contain vlan100, and remove cloud computing architectures whose numbers of servers are not m.

[0065] In another example, the terminal can extract cloud computing architectures whose attributes, roles, and quantities are consistent with the attributes, roles, and quantities represented by the planning data of the tested item in the multiple cloud computing architectures of multiple types preconfigured in the architecture-aware model, and determine the extracted cloud computing architectures as the multiple initial cloud computing architectures that match.

[0066] In step 304, after accessing the tested project, link connectivity detection is performed based on the roles of the devices in the tested project, the network segment data corresponding to the addresses, and the network planes, and link connectivity results are obtained.

[0067] The link connectivity results can include the link connectivity results between the network planes in the tested project, the detection results of the IP addresses, and the connectivity results between the IP addresses.

[0068] Specifically, after the tested project is accessed, the terminal can perform link connectivity detection based on the roles of the devices in the tested project, the network segment data corresponding to the addresses, and the network planes. For example, the connectivity between the network planes included in the tested project can be detected to obtain the link connectivity results between the network planes. The IP addresses represented by the network segment data corresponding to the addresses can also be detected (for example, a broadcast detection message can be sent), and the detection results of the IP addresses in the network segment are obtained, which can include, for example, a reply message returned by the IP address or no reply message returned by the IP address. The terminal can also determine the links between the corresponding roles based on the roles of the devices in the tested project and the IP addresses of the corresponding devices, and detect the link connectivity to obtain the connectivity results.

[0069] In step 306, based on the link connectivity results, the link connectivity of the initially matched cloud computing architectures is perceived and matched to obtain the live cloud computing architecture of the tested project.

[0070] Specifically, in the initially matched cloud computing architectures, the link connectivity results between the tested projects detected can be used for screening. The specific screening process can be as follows: based on the connectivity between the network planes represented by the link connectivity results of the tested project, cloud computing architectures whose connectivity between the network planes is consistent with the tested project are screened out. Based on this, the terminal can also screen out cloud computing architectures whose connectivity results of the IP addresses are consistent with the tested project and whose detection results of the IP addresses are consistent with the tested project based on the detection results of the IP addresses and the connectivity results between the IP addresses, to obtain the live cloud computing architecture of the tested project. That is, the terminal can select the initially matched cloud computing architecture whose connectivity between the network planes, detection results of the IP addresses, and connectivity results are all consistent with the tested project, and determine the initially matched cloud computing architecture as the live cloud computing architecture of the tested project. The live cloud computing architecture can include a flattened cloud computing network based on a spine-leaf architecture, a traditional vlan networking based on a core-aggregation-access, and the like.

[0071] In the embodiment, the network architecture of the cloud computing project under test is automatically and accurately perceived through the architecture perception model, the dialing test method, the link and the mode are analyzed based on the architecture perception model, and the automatic test link of different cloud computing network architectures is quickly identified.

[0072] In an exemplary embodiment, the dialing test required data includes the end addresses of each link to be tested included in the project under test, the test bandwidth of each link to be tested, the test data packet data, and the test period.

[0073] Specifically, the project under test includes a plurality of links to be tested, each link to be tested is a link to be dialed, the end addresses of each link to be tested can be the double-end addresses of the link to be tested, or a multi-end address, and the addresses can be IP addresses. The test bandwidth of each link to be tested can be the bandwidth required during testing, the test data packet data of the link to be tested can be the size of the test data packet used on the link to be tested, and the test period of the link to be tested can be the interval time of testing, and the like.

[0074] In the embodiment, the project under test includes each link to be tested and the test data of each link to be tested are automatically determined, information acquisition automation and test automation are realized, and dialing test efficiency is improved.

[0075] In an exemplary embodiment, the specific implementation process of the step "testing the project under test based on the dialing test required data to obtain the link test result" can include:

[0076] Based on the dialing test required data, each link to be tested in the project under test is tested to obtain the test result corresponding to each link respectively, and the test result of the project under test is obtained based on the test result corresponding to each link respectively.

[0077] Specifically, the terminal can test each link to be tested based on the end addresses of each link to be tested included in the project under test, the test bandwidth of each link to be tested, the test data packet data, and the test period in the dialing test required data to obtain the test result of each link to be tested. The test result includes the connectivity test result, the stability test result and the stress test result of the link to be tested. The connectivity test result can include whether it is connected, the stability test result can include the consistency of the test data packet transmission, or the number of successful data transmissions within a preset time period; and the stress test result can be the number of data packet transmissions per unit time of the link to be tested. The terminal can determine the test result corresponding to each link respectively as the test result of the project under test, or the terminal can statistically process the test result corresponding to each link to obtain a statistical result, and determine the statistical result as the test result of the project under test.

[0078] In this embodiment, the link automation test of the tested project is implemented, and the link test efficiency is further improved.

[0079] In one exemplary embodiment, the link test method of the cloud computing network further includes:

[0080] Based on the test result of the tested project, a test report of the tested project is generated, and the test report is output.

[0081] Specifically, the terminal can process the test result of the tested project through a report generation algorithm to obtain a test report of the tested project, improve the readability of the output test report, and the user can download the test report. For example, the terminal can display a report management interface, and the report management interface can display a report download option. The terminal can download the test result corresponding to the tested project and output to the user equipment triggering the report download option in response to the triggering operation of the user equipment on the report download option.

[0082] In this embodiment, the terminal can statistically process and organize scattered and unfriendly test data to obtain a test report with higher readability, and further improve the user experience.

[0083] In the following, the specific implementation process of the above-mentioned link test method of the cloud computing network is described in detail in combination with one specific embodiment:

[0084] As shown in Figure 4 The embodiment also provides a cloud computing network link test system based on architecture perception, and the link test method of the cloud computing network in the embodiment can be applied to the system. The system can include a cloud computing architecture system and a basic network link test system. The specific system can include a presentation layer, a business application layer, a data service layer, and an infrastructure layer. The presentation layer can include a tool end generation page, an architecture information input module, a project information input module, and a test report download module. The business application layer includes a middle-end and a tool end. The middle-end can include project information analysis, project information analysis, tool package generation, architecture pre-entry, architecture perception model, and the like. The tool end includes network architecture perception, connectivity test, stability test, stress test, and test report generation. The data service layer includes a mysql database, a data warehouse, an index service, and data fault tolerance. The infrastructure layer can include a management server, a notebook computer, a virtual machine, and a cloud network jump machine.

[0085] The system can also include a public service layer, which can include identity authentication, permission control, log center, task scheduling, configuration center, message center, interface service, service monitoring, data transmission, retrieval engine solr, and file service FastDFS.

[0086] As shown in Figure 5As shown, it can be a specific implementation process of the stress testing method of the cloud computing network:

[0087] Step S1, analyze project input information. Specifically, the system of the stress testing method of the cloud computing network can be configured with an information analysis module for analyzing the input data of the tested project. The input data of the tested project can be the planning data of the tested project, such as containing the project planning information of the network device IP planning, server IP planning, vlan planning, routing planning, NAT planning, etc. The information analysis module extracts information from the above formatted data through the pandas analysis tool, and can also reconstruct the information in various formatted data into the data required for stress testing through the analysis module configured in the system, such as different network segment IPs in server IP planning. The terminal can decompose it into different network plane information, and the terminal can identify the network plane of the tested project according to the network plane information through the stress testing function module.

[0088] Step S2, construct architecture perception model. Specifically, the system can be pre-configured with an architecture perception model, which contains various cloud computing architecture basic data. Through the project information input in step S1, combined with various cloud computing architectures built-in in the architecture perception model, initial matching is performed, and the cloud computing architectures that meet the requirements are screened out, and multiple initial cloud computing architectures are obtained. Based on this, the terminal can access the tested project through the network, and respectively perform broadcast IP detection according to different device roles, different network segments, and different planes. According to the feedback of different connectivity, accurate perception is performed to obtain the corresponding on-site cloud computing architecture of the tested project.

[0089] Step S3, generate stress testing input data. Specifically, based on the project information analyzed in step S1 and the on-site cloud computing architecture of the tested project accurately perceived in step S2, the data required for stress testing can be automatically generated, including two-end and multi-end test addresses, test link bandwidth, test data packet quantity, test data packet size, test period, etc. For example, for the management network, the program will automatically set the link bandwidth to 1G and the stability test bandwidth to 900M.

[0090] Step S4, realize automatic testing. Specifically, after the user clicks the "start test" button, the terminal can enter the test process, which generally takes 1-5 hours depending on the size of the on-site device quantity.

[0091] Step S5, stress testing report integration. Specifically, the terminal can arrange scattered and unfriendly test data into a test report with higher readability and output to the user; the user can download and use it on the report management page.

[0092] As Figure 6As shown, the embodiment provides a cloud computing network ping test method and system based on architecture perception, which includes an artificial stage and a software stage in the implementation process. The terminal implementing the method provided by the embodiment can include a middle platform and a tool end. The middle platform can be deployed in an office network or a public network and is responsible for data entry and tool end generation. The tool end is deployed in the computer of a project site engineer and is responsible for on-site testing and report generation. The method includes the following steps:

[0093] Step 1: Enter project information, analyze project information, and match perception model: the user uploads project information on the middle platform, which at least includes network device IP planning, server IP planning, vlan planning, routing planning, and NAT planning.

[0094] Step 2: Generate a ping test program tool end.

[0095] After the information is entered on the middle platform, the middle platform program is run to generate a ping test tool end. The tool end is a system image that can be installed in the computer or virtual machine of a project site engineer. The system has built-in B / S architecture ping test tools. After the system is installed, the webpage can be opened for use.

[0096] Step 3: Execute the tool end software on site, finely match the network architecture, finely match the network plane, identify the device under test, and start testing. Specifically, the computer or virtual machine with the tool end is connected to the out-of-band network of the project site. The terminal can start to determine the on-site network architecture, network plane, and other information. After the program is completed, the "start test" button is clicked to start the ping test function. This stage does not need to be supervised and can be completed without human intervention.

[0097] Step 4: Obtain the test report. Specifically, after the program in the terminal completes the test, a prompt window will appear on the page. After checking, the user goes to the "report management" page and clicks "report download" to obtain the ping test report.

[0098] The cloud computing network ping test method provided by the embodiment can automatically identify the on-site cloud computing architecture based on the built-in perception model. Based on the three dimensions of network architecture, network plane, and device role, different ping test methods for the on-site test equipment are calculated. The architecture perception model is used to automatically perceive the network architecture of the cloud computing project under test and analyze the ping test method, link, and mode. For example, the ping test method is based on the spine-leaf architecture of the flat cloud computing network and the traditional vlan networking based on the core-aggregation-access.

[0099] The method for stress testing of the cloud computing network provided in the embodiment can realize automatic test link identification of different cloud computing network architectures, and determine the number of links required for testing of the current network architecture and specific IP according to a plurality of built-in test link templates. For example, when the network belongs to a spine-leaf architecture, there should be a logical link from a computing node to a network element node, there should be a logical link between storage nodes, and there should be a physical link from a spine switch to a computing leaf switch.

[0100] The method for stress testing of the cloud computing network provided in the embodiment can automatically identify and determine different network planes on site, and can automatically complete stress testing and output a stress testing report without manual intervention, thereby realizing full automation of the start of the test process and the output of the test report.

[0101] It should be understood that, although each step in the flowchart involved in each of the above-described embodiments is displayed in sequence according to the direction of the arrow, these steps are not necessarily executed in sequence according to the direction of the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least some of the steps in the flowchart involved in each of the above-described embodiments can include a plurality of steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least some of the other steps or the steps or stages in the other steps.

[0102] Based on the same inventive concept, the embodiment of the present application also provides a stress testing device for a cloud computing network for implementing the above-mentioned method for stress testing of a cloud computing network. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, and therefore the specific limitations in one or more stress testing device embodiments for a cloud computing network provided below can refer to the limitations of the stress testing method for a cloud computing network described above, which will not be described here again.

[0103] In one exemplary embodiment, as shown in Figure 7 a stress testing device 700 for a cloud computing network is provided, comprising:

[0104] The extraction module 702 is configured to parse the planning data of the tested item by a target analysis tool to obtain a plurality of network planes. The planning data includes network device addresses, server addresses, vlan data, routing data, and NAT data.

[0105] The matching module 704 is configured to match, based on the planning data and the network planes, the on-site cloud computing architecture of the to-be-tested item from a plurality of cloud computing architectures contained in the architecture-aware model.

[0106] The generating module 706 is configured to generate test-required data based on the planning data and the on-site cloud computing architecture, and test the to-be-tested item based on the test-required data to obtain a link test result.

[0107] In one of the embodiments, the reconstructing module is specifically configured to:

[0108] The network device addresses and the server addresses are grouped by a target analysis tool to obtain a plurality of network planes, and the vlan data, the routing data and the NAT data corresponding to each of the network planes are determined.

[0109] In one of the embodiments, the matching module is specifically configured to:

[0110] The matching module 704 is configured to match, based on the planning data and the network planes, the on-site cloud computing architecture of the to-be-tested item from a plurality of cloud computing architectures contained in the architecture-aware model.

[0111] After accessing the to-be-tested item, the link connectivity of each device in the to-be-tested item is detected based on the role, the address corresponding to the network segment data and each of the network planes to obtain a link connectivity result.

[0112] Based on the link connectivity result, the link connectivity of each of the initial matching cloud computing architectures is perceived and matched to obtain the on-site cloud computing architecture of the to-be-tested item.

[0113] In one of the embodiments, the test-required data includes the end address of each of the to-be-tested links contained in the to-be-tested item, the test bandwidth of each of the to-be-tested links, test data packet data and a test period.

[0114] In one of the embodiments, the generating module is specifically configured to:

[0115] Based on the test-required data, each of the to-be-tested links in the to-be-tested item is tested to obtain a test result corresponding to each of the links, and the test result of the to-be-tested item is obtained based on the test result corresponding to each of the links.

[0116] In one of the embodiments, the apparatus further includes:

[0117] The reporting output module is configured to generate a test report of the to-be-tested item based on the test result of the to-be-tested item, and output the test report.

[0118] The modules in the above cloud computing network stress testing device can be implemented by software, hardware, or a combination thereof, in whole or in part. The modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the modules.

[0119] In an exemplary embodiment, a computer device, which can be a server, is provided, and an internal structure diagram of the computer device can be as shown in Figure 8 The computer device includes a processor, a memory, an input / output interface (I / O), and a communication interface. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store planning data of a measured item. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with a terminal outside through a network connection. The computer program is executed by the processor to implement a cloud computing network stress testing method.

[0120] Those skilled in the art can understand that Figure 8 The structure shown in the above embodiment is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0121] In an exemplary embodiment, a computer device is provided, including a memory and a processor, and the memory stores a computer program. The processor executes the computer program to implement the steps of the above embodiments.

[0122] In an embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps of the above embodiments.

[0123] In an embodiment, a computer program product is provided, and the computer program product includes a computer program. The computer program is executed by a processor to implement the steps of the above embodiments.

[0124] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.

[0125] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware 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 above-mentioned embodiments of each method. In the embodiments provided in the present application, any reference to memory, database or other medium can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.

[0126] Any technical features in the above embodiments can be combined, and for the sake of brevity, not all possible combinations are described above, however, any combination of these technical features is deemed to be within the scope of the present application.

[0127] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the patent scope of the present application. It should be pointed out that, for ordinary skilled persons in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A method for stress testing a cloud computing network, the method comprising: The method comprises: analyzing planning data of a tested item by a target analysis tool to obtain multiple network planes, the planning data comprising network device addresses, VLAN data, routing data, and NAT data; the network device addresses comprising server addresses; based on the planning data and each of the network planes, matching in multiple cloud computing architectures contained in an architecture perception model to obtain a live cloud computing architecture of the tested item; generating data required for probing based on the planning data and the live cloud computing architecture; and testing the tested item based on the data required for probing to obtain a link test result; the analyzing planning data of a tested item by a target analysis tool to obtain multiple network planes comprises: grouping the server addresses by the target analysis tool to obtain multiple network planes, and determining VLAN data, routing data, and NAT data corresponding to each of the network planes; the matching in multiple cloud computing architectures contained in an architecture perception model based on the planning data and each of the network planes to obtain a live cloud computing architecture of the tested item comprises: based on the planning data, performing initial screening in multiple cloud computing architectures contained in an architecture perception model to obtain multiple initial cloud computing architectures; after accessing the tested item, performing link connectivity detection based on the role of each device in the tested item, network segment data corresponding to the address of each device, and each of the network planes to obtain a link connectivity result; based on the link connectivity result, performing perception matching of link connectivity for each of the initial matching cloud computing architectures to obtain a live cloud computing architecture of the tested item.

2. The method of claim 1, wherein, The data required for probing comprises end addresses of each link to be tested contained in the tested item, test bandwidths of each of the links to be tested, test data packet data, and a test period.

3. The method of claim 2, wherein, the testing the tested item based on the data required for probing to obtain a link test result comprises: based on the data required for probing, testing each of the links to be tested in the tested item to obtain a test result corresponding to each of the links; based on the test result corresponding to each of the links, obtaining a test result of the tested item.

4. The method of claim 3, wherein, The method further comprises: generating a test report of the tested item based on the test result of the tested item, and outputting the test report.

5. A stress testing device of a cloud computing network, characterized in that, The device comprises: an extraction module configured to analyze planning data of a tested item by a target analysis tool to obtain multiple network planes, the planning data comprising network device addresses, VLAN data, routing data, and NAT data; the network device addresses comprising server addresses; a matching module configured to match in multiple cloud computing architectures contained in an architecture perception model based on the planning data and each of the network planes to obtain a live cloud computing architecture of the tested item; a generation module configured to generate data required for probing based on the planning data and the live cloud computing architecture; and test the tested item based on the data required for probing to obtain a link test result; The extraction module is specifically configured to group the server addresses by using a target analysis tool to obtain a plurality of network planes, and determine vlan data, routing data and NAT data corresponding to each network plane; The generation module is specifically configured to perform initial screening based on the planning data in a plurality of cloud computing architectures contained in the architecture-aware model to obtain a plurality of initial cloud computing architectures matched; after accessing the tested item, perform link connectivity detection based on the roles of each device in the tested item, network segment data corresponding to the addresses of each device and each network plane to obtain a link connectivity result; and perform link connectivity-aware matching based on the link connectivity result to each initial matched cloud computing architecture to obtain an on-site cloud computing architecture of the tested item.

6. The apparatus of claim 5, wherein, The data required for the probe test includes each end address of each to-be-tested link contained in the tested item, test bandwidth of each to-be-tested link, test data packet data and a test period.

7. The apparatus of claim 6, wherein, The generation module is further specifically configured to: perform testing on each to-be-tested link in the tested item based on the data required for the probe test to obtain a test result corresponding to each link, and obtain a test result of the tested item based on the test result corresponding to each link. 8.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-7. The processor executes the computer program to implement the steps of the method of any one of claims 1 to 4.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.

Citation Information

Patent Citations

  • Cloud network performance test method and device, equipment and storage medium

    CN115695255A

  • Method, system and device for determining network link quality

    CN118075160A