Cloud host network performance test method and device, computer equipment and storage medium

By creating a cloud host based on configuration information and using multiple sets of test data packets to determine complex network traffic, network performance tests are solved, and traditional tests are difficult to simulate real load environments, achieving more accurate performance testing and improvement Test efficiency.

CN119484354AActive Publication Date: 2025-02-18CHINA TELECOM CLOUD TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411780080.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-02-18
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

Traditional cloud host network performance testing is difficult to fully simulate network performance performance under real load environments.

Method used

By creating a cloud host based on configuration information, and using multiple sets of test packets to determine complex network traffic, network performance tests are carried out on the cloud host, and performance test reports are generated.

Benefits of technology

This method can more accurately simulate the network performance of cloud hosts in real-time load environments, improve testing efficiency, and make the results more intuitive by automatically generating visual reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484354A_ABST
    Figure CN119484354A_ABST
Patent Text Reader

Abstract

The invention relates to a cloud host network performance test method and device, computer equipment and a storage medium. The method comprises the following steps: creating a cloud host based on configuration information; wherein the configuration information comprises instance specifications and network settings; determining complex network traffic based on the multiple groups of test data packets; performing network performance test on the cloud host according to the complex network traffic to obtain performance data; and generating and displaying a performance test report based on the performance data. According to the invention, when the network performance test is carried out on the cloud host, the test is carried out according to the complex network data determined by the plurality of groups of test data packets, so that the network performance of the cloud host in a real load environment can be better simulated. Meanwhile, a visual performance test report can be automatically generated, the test result is more visual, and the overall test efficiency 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 host performance testing, and in particular to a cloud host network performance testing method, apparatus, computer equipment and storage medium. Background Art

[0002] With the development of cloud computing technology, cloud hosting technology has emerged. Cloud hosting is an Internet-based computing method that provides computing resources (such as CPU, memory, hard disk, etc.) to users through the network. These resources are integrated on the cloud computing platform to form a resource pool, from which users can obtain the required resources according to their needs. Cloud hosting achieves maximum utilization and flexible management of resources by dividing a physical server into multiple virtual servers, each with its own operating system, application program, and user permissions. Since cloud hosting is provided to users through the network, the network performance of cloud hosting is particularly important.

[0003] In traditional technology, network performance tests for cloud hosts are usually performance tests under simple background traffic, which cannot fully simulate the network performance under real load environments. Summary of the invention

[0004] Based on this, it is necessary to provide a cloud host network performance testing method, device, computer equipment and storage medium that can fully simulate the network performance under a real load environment to address the above technical problems.

[0005] In a first aspect, the present application provides a cloud host network performance testing method. The method comprises: creating a cloud host based on configuration information; wherein the configuration information comprises: instance specifications and network settings; determining complex network traffic based on multiple groups of test data packets; performing a network performance test on the cloud host according to the complex network traffic to obtain performance data; and generating and displaying a performance test report based on the performance data.

[0006] In one embodiment, the step of creating a cloud host based on configuration information includes: responding to identity information and authorization information, and obtaining the configuration information when verification is passed; dynamically allocating resource status of the cloud host based on the configuration information; and determining the operating system and application of the cloud host based on the configuration information.

[0007] In one embodiment, the step of determining complex network traffic based on multiple groups of test data packets includes: normalizing the multiple groups of test data packets to obtain normalized data; performing chaotic mapping on the normalized data to obtain mapping data; and inputting the mapping data into a Gaussian mixture model to obtain the complex network traffic.

[0008] In one of the embodiments, before the step of determining complex network traffic based on multiple groups of test data packets, the method also includes: obtaining multiple groups of original data packets; filtering out data packets with legal protocol fields from the multiple groups of original data packets, and using them as test data packets.

[0009] In one of the embodiments, the step of performing a network performance test on the cloud host based on the complex network traffic includes: configuring a weight for each data packet in the complex network traffic; and sending the data packets to the cloud host based on the total packet sending time and the weight of each data packet to perform a network performance test on the cloud host.

[0010] In one of the embodiments, the step of sending the data packet to the cloud host based on the total packet sending time and the weight of each data packet includes: calculating the interval time for sending each data packet based on the total packet sending time and the weight of each data packet; in each scheduling cycle, determining whether the sending time of the current data packet reaches its interval time; if the interval time is not reached, continuing to send the current data packet; if the interval time is reached, sending the next data packet.

[0011] In one of the embodiments, the step of generating and displaying a performance test report based on the performance data includes: responding to a performance indicator selection instruction; wherein the performance indicator selection instruction is used to indicate a performance indicator that needs to be evaluated; and performing data processing on the performance data according to the performance indicator selection instruction to generate and display the performance test report.

[0012] In a second aspect, the present application also provides a cloud host network performance test device. The device includes: a cloud host creation module, which is used to create a cloud host based on configuration information; wherein the configuration information includes: instance specifications and network settings; a network traffic generation module, which is used to determine complex network traffic based on multiple groups of test data packets; a network performance test module, which is used to perform a network performance test on the cloud host according to the complex network traffic to obtain performance data; and a test report generation module, which is used to generate and display a performance test report based on the performance data.

[0013] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0014] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0015] The above-mentioned cloud host network performance test method, device, computer equipment and storage medium, after creating a cloud host according to the configuration information, conducts a network performance test on the cloud host through complex network traffic determined based on multiple groups of test data packets, thereby obtaining corresponding performance data, and finally generates and displays a performance test report based on the performance data. When the present application conducts a network performance test on the cloud host, it is conducted based on the complex network data determined by multiple groups of test data packets, which can better simulate the network performance of the cloud host under a real load environment. At the same time, a visual performance test report can be automatically generated, the test results are more intuitive, and the overall test efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] FIG1 is an application environment diagram of a cloud host network performance testing method according to an embodiment;

[0017] FIG2 is a schematic diagram of a flow chart of a cloud host network performance testing method according to an embodiment;

[0018] FIG3 is a schematic diagram of a process of creating a cloud host in one embodiment;

[0019] FIG4 is a schematic diagram of a process for determining complex network traffic in one embodiment;

[0020] FIG5 is a schematic diagram of a process for determining complex network traffic in another embodiment;

[0021] FIG6 is a schematic diagram of a flow chart of performing a network performance test in one embodiment;

[0022] FIG7 is a schematic diagram of a flow chart of performing a network performance test in another embodiment;

[0023] FIG8 is a schematic diagram of a process for generating and displaying a performance test report in one embodiment;

[0024] FIG9 is a schematic diagram of a module of a cloud host network performance testing device according to an embodiment;

[0025] FIG. 10 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0027] The cloud host network performance test method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 creates a cloud host based on the configuration information, and determines the complex network traffic based on multiple groups of test data packets, and then performs a network performance test on the cloud host based on the complex network traffic to obtain performance data, and finally generates and displays a performance test report based on the performance data. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0028] In one embodiment, as shown in FIG. 2 , a cloud host network performance testing method is provided, which is described by taking the method applied to the server 104 in FIG. 1 as an example, and includes the following steps:

[0029] Step S110: Create a cloud host based on the configuration information.

[0030] Specifically, when creating a cloud host, the server 104 first obtains the configuration information input by the user from the terminal 102. After obtaining the configuration information, the server 104 creates a cloud host of the corresponding type according to the data in the configuration information. The configuration information includes: instance specifications and network settings, etc. The instance specifications include the CPU, memory, hard disk and other hardware resources of the cloud host, and the network settings include network resources such as network bandwidth, IP address, and network protocol. Cloud hosts with different configurations have different performances.

[0031] Step S120, determining complex network traffic based on multiple groups of test data packets.

[0032] Specifically, when the server 104 performs a network test, it determines complex network traffic based on multiple test data packets to simulate various complex network traffic scenarios. Data packets in complex network traffic may include traffic of different sizes, types (such as TCP, UDP, ICMP, etc.) and directions to comprehensively test the performance of the cloud host under various network conditions. At the same time, by adjusting parameters such as the sending rate, interval, and duration of data packets in complex network traffic, complex traffic conditions in a real network environment can be further simulated.

[0033] Step S130, performing a network performance test on the cloud host according to the complex network traffic to obtain performance data.

[0034] Specifically, after the server 104 determines the cloud host to be tested, it will conduct an actual network performance test on the cloud host through complex network traffic. The network performance test may include a throughput test (to measure the cloud host's ability to process data), a delay test (to measure the round-trip time of data packets), a jitter test (to evaluate the change in network delay), etc. Through the network performance test, the performance data of the cloud host under different network traffic conditions can be obtained. The performance data includes key indicators such as throughput, delay, data transmission speed, and packet loss rate.

[0035] Step S140: Generate and display a performance test report based on the performance data.

[0036] Specifically, the server 104 generates and displays a performance test report by processing, analyzing, and designing visualization charts of the performance data obtained from the network performance test, so that users can more intuitively understand the network performance of the cloud host. It is understandable that the performance test report includes information such as test purpose, test environment, test steps, test data, and test result analysis.

[0037] The above-mentioned cloud host network performance test method, after creating a cloud host according to the configuration information, performs a network performance test on the cloud host through complex network traffic determined based on multiple groups of test data packets, thereby obtaining corresponding performance data, and finally generating and displaying a performance test report based on the performance data. When the present application performs a network performance test on the cloud host, it is performed based on the complex network data determined by multiple groups of test data packets, which can better simulate the network performance of the cloud host under a real load environment. At the same time, compared to the method of using multiple different test tools and settings to test different performance indicators, the present application can obtain multiple performance indicators at one time, thereby comprehensively evaluating the performance of the cloud host, avoiding the action of switching different test tools multiple times, and improving the test efficiency. At the same time, by automatically generating a visual performance test report, the test results are more intuitive.

[0038] In one embodiment, as shown in FIG. 3 , in step S110, the step of creating a cloud host based on the configuration information includes:

[0039] Step S111, responding to the identity information and the authorization information, and obtaining configuration information when the verification is successful.

[0040] Specifically, during the process of creating a cloud host, the server 104 first obtains the identity information and authorization information submitted by the user. The identity information may include a user name, password, or other identity authentication information (such as fingerprint recognition information, facial recognition information, etc.). After the identity information is verified, the authorization information submitted by the user also needs to be verified. Only authorized users can create and manage cloud hosts, and unauthorized users have no right to log in. The authorization information may include a specific authorization code, API key, or other form of authorization proof. When both the identity information and the authorization information are verified, the server 104 can obtain the configuration information entered by the user to create a cloud host of the corresponding type according to the configuration information.

[0041] Step S112: dynamically allocate the resource status of the cloud host based on the configuration information.

[0042] Specifically, after the server 104 obtains the configuration information, it will dynamically allocate the resource status of the created cloud host according to the user request in the configuration information and the current resource status of the cloud platform. The dynamic allocation process includes the allocation of computing, storage, network and other resources. For example, the server 104 can select appropriate computing nodes, storage devices and network devices from the resource pool, and configure the corresponding network settings (such as IP address, subnet mask, etc.) for the cloud host.

[0043] Step S113, determining the operating system and application program of the cloud host based on the configuration information.

[0044] Specifically, after the server 104 obtains the configuration information, it will also select the corresponding operating system and application from the image library according to the configuration information. The image library contains images of multiple versions of operating systems, such as Ubuntu, CentOS, Windows Server, etc., and users can choose configurations according to their needs. The image library also contains images of various applications, such as Web servers, databases, etc., which help to quickly deploy and start applications and reduce the time for manual installation and configuration. After determining the operating system and application of the cloud host, the corresponding operating system and application images will be deployed to the cloud host with allocated resources, thereby completing the creation of the cloud host.

[0045] In one embodiment, as shown in FIG. 4 , in step S120, the step of determining complex network traffic based on multiple groups of test data packets includes:

[0046] Step S121, normalizing the multiple test data packets to obtain normalized data.

[0047] Specifically, when determining complex network traffic, the server 104 first obtains multiple groups of test data packets from the existing network. These data packets have different network traffic characteristics, such as protocol type, data packet size, transmission rate, etc. The multiple groups of test data packets can be recorded as a set P, , each set element in set P represents a complete test data packet. In order to make the tested network traffic more consistent with the existing network conditions, multiple groups of test data packets are normalized, that is, set P is normalized to obtain normalized data , The normalization process can be minimum-maximum normalization or Z-score normalization. After the normalization process, the normalized data will be within a uniform numerical range, which is convenient for subsequent data processing.

[0048] Step S122, performing chaotic mapping on the normalized data to obtain mapping data.

[0049] Specifically, after the server 104 obtains the normalized data, it performs chaos mapping on the normalized data to extract the nonlinear features in the normalized data, thereby obtaining mapping data. Chaotic mapping can adopt Cubic mapping, Logistic mapping, Henon mapping, etc. In some embodiments, chaotic mapping adopts Cubic mapping, and the mapping data is recorded as P i+1 , .

[0050] Step S123, inputting the mapping data into a Gaussian mixture model to obtain complex network traffic.

[0051] Specifically, after the server 104 obtains the mapping data, it inputs the mapping data into the Gaussian mixture model, and finally obtains the complex network traffic. The Gaussian mixture model (GMM) is used to represent a statistical model of a mixed probability distribution composed of multiple Gaussian distributions. In the complex network traffic generation of the present application, the Gaussian mixture model can be used to fit the distribution characteristics of the network traffic. Through the probability distribution output by the model, the dynamic changes and potential characteristics of the network traffic can be determined.

[0052] For example, the process of generating complex network traffic through Gaussian mixture model is as follows: Suppose there are K Gaussian distributions, each data packet in the mapping data is represented by a multivariate Gaussian distribution, whose mean is , the covariance matrix , whose weight is ϕ k For the i-th data packet, a component k is selected from the K Gaussian distributions, and then the data x is taken from the multivariate Gaussian distribution of the selected Gaussian component k.

[0053]

[0054] represents a multivariate Gaussian distribution, which can be expressed as:

[0055]

[0056] in, represents the probability density of the i-th packet generated, is the feature vector of the data packet, and D is the feature dimension of the data packet.

[0057] In one embodiment, as shown in FIG. 5 , in step S120, before the step of determining complex network traffic based on multiple groups of test data packets, the cloud host network performance testing method further includes:

[0058] Step S124, obtaining multiple groups of original data packets;

[0059] Step S125, filtering out data packets with legal protocol fields from the multiple groups of original data packets and using them as test data packets.

[0060] Specifically, in this embodiment, when screening to obtain a test data packet, first capture or collect multiple groups of original data packets from the network environment. The original data packets may come from different network nodes, different time periods, or based on different network protocols. After obtaining multiple groups of original data packets, it is necessary to check the protocol fields of these data packets to ensure that they comply with the preset protocol specifications. When checking whether the protocol field is legal, check whether each field of the data packet is legal according to a specific protocol specification (such as IP, TCP, UDP, etc.). For example, check whether the IP address is valid, whether the port number is within a reasonable range, whether the check is correct, etc. When the protocol field of the data packet is legal, it is used as a test data packet to generate complex network traffic. When the protocol field of the data packet is illegal, the corresponding data packet is discarded.

[0061] In one embodiment, as shown in FIG. 6 , in step S130, the step of performing a network performance test on the cloud host according to complex network traffic includes:

[0062] Step S131, configuring a weight for each data packet in the complex network traffic.

[0063] Specifically, in this embodiment, when the complex network traffic is sent and scheduled, a weight is first configured for each data packet in the complex network traffic. When configuring the weight, the weight allocation standard for each data packet can be determined according to the characteristics of the network traffic (such as the importance of the protocol, the priority of the data packet, etc.). For example, a higher weight can be assigned to a data packet of a critical business, while a lower weight can be assigned to a data packet of a non-critical business or a low priority.

[0064] Step S132, sending data packets to the cloud host based on the total packet sending time and the weight of each data packet to perform a network performance test on the cloud host.

[0065] Specifically, the server 104 determines the total packet time according to the test requirements and network conditions. The total packet time should be long enough to fully reflect the network performance of the cloud host. Then, a packet sending plan is formulated according to the weight of each data packet and the total packet time. Within the total packet time, the data packets are sent to the cloud host according to the plan, and during the sending process, it should be ensured that the sending order, interval and number of the data packets meet the test requirements. During the data packet sending process, the network performance data of the cloud host is recorded in real time using a monitoring tool, thereby completing the network performance test of the cloud host.

[0066] In one embodiment, as shown in FIG. 7 , in step S132 , the step of sending a data packet to a cloud host based on the total packet sending time and the weight of each data packet includes:

[0067] Step S133, calculating the interval time for sending each data packet based on the total packet sending time and the weight of each data packet.

[0068] Specifically, in the process of sending data packets to the cloud host, the interval time of each data packet is calculated based on the total packet sending time and the weight of each data packet. For a specific example, there are m data packets, and each data packet i has a weight , at this time, the sum of the weights of all data packets is W:

[0069]

[0070] According to the total weight W and the total packet sending time T 总 The interval time t between each data packet transmission can be calculated i :

[0071]

[0072] The larger the weight of a data packet, the longer the interval between data packet transmissions, that is, data packets with large weights have more opportunities to be transmitted within the total packet transmission time, thus reflecting their importance in the test.

[0073] Step S134: in each scheduling cycle, determine whether the sending time of the current data packet reaches its interval time.

[0074] Specifically, the scheduler is set to maintain a task list Q for sending the current data packet and a counter for each data packet. In each scheduling cycle, the scheduler checks the current task Counter Whether the interval time for sending packets has been reached .

[0075] Step S135: If the interval time has not been reached, continue to send the current data packet; if the interval time has been reached, send the next data packet.

[0076] Specifically, if Less than , it means that the sending time of the current data packet has not reached its interval time, so continue to send the data packet. Greater than or equal to , it means that the sending time of the current data packet has reached its interval time, so the next data packet is sent. By repeating the above steps, all data packets in complex network traffic can be sent as planned. This method can ensure that data packets with higher importance have more frequent sending opportunities, and at the same time ensure that all data packets are reasonably distributed to the network within the specified total packet sending time. This way of sending network traffic is particularly suitable for scenarios that require balanced resource allocation and priority management. It is often used in task scheduling in cloud computing environments and is more in line with the actual use scenarios of cloud host network traffic.

[0077] In one embodiment, as shown in FIG8 , in step S140, the step of generating and displaying a performance test report based on the performance data includes:

[0078] Step S141, responding to a performance indicator selection instruction.

[0079] Specifically, the user can send a performance indicator selection instruction to the server 104 through the terminal 102. The performance indicator selection instruction is used to indicate the performance indicator to be evaluated, and the user can select one or more performance indicators to be evaluated. After receiving the performance indicator selection instruction, the server 104 can determine the performance indicator that the user needs to generate and display.

[0080] Step S142, performing data processing on the performance data according to the performance indicator selection instruction to generate and display a performance test report.

[0081] Specifically, after the server 104 obtains the performance indicator selection instruction, it performs corresponding data processing on the collected performance data according to the performance indicator to be evaluated, thereby generating and displaying the final performance test report to the user. It is understandable that when the network performance test of the cloud host is performed according to the complex network traffic, the type of network test to be performed is also determined according to the performance indicator selection instruction, and the performance test report is generated and displayed according to the obtained performance data.

[0082] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0083] Based on the same inventive concept, the embodiment of the present application also provides a cloud host network performance test device for implementing the cloud host network performance test method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more cloud host network performance test device embodiments provided below can refer to the limitations of the cloud host network performance test method above, and will not be repeated here.

[0084] In one embodiment, as shown in FIG. 9 , a cloud host network performance test device is provided, including: a cloud host creation module 210, a network traffic generation module 220, a network performance test module 230 and a test report generation module 240, wherein:

[0085] The cloud host creation module 210 is used to create a cloud host based on configuration information; wherein the configuration information includes: instance specifications and network settings;

[0086] A network traffic generation module 220 for determining complex network traffic based on multiple groups of test data packets;

[0087] The network performance test module 230 is used to perform a network performance test on the cloud host according to complex network traffic to obtain performance data;

[0088] The test report generating module 240 is used to generate and display a performance test report based on the performance data.

[0089] In one embodiment, the cloud host creation module 210 is also used to respond to the identity information and authorization information, and obtain the configuration information when the verification is passed; dynamically allocate the resource status of the cloud host based on the configuration information; and determine the operating system and application of the cloud host based on the configuration information.

[0090] In one embodiment, the network traffic generation module 220 is further used to normalize the multiple groups of test data packets to obtain normalized data; perform chaos mapping on the normalized data to obtain mapping data; and input the mapping data into a Gaussian mixture model to obtain the complex network traffic.

[0091] In one embodiment, the network traffic generation module 220 is further used to obtain multiple groups of original data packets; filter out data packets with legal protocol fields from the multiple groups of original data packets, and use them as test data packets.

[0092] In one embodiment, the network performance testing module 230 is also used to configure a weight for each data packet in the complex network traffic; based on the total packet sending time and the weight of each data packet, the data packet is sent to the cloud host to perform a network performance test on the cloud host.

[0093] In one embodiment, the network performance test module 230 is also used to calculate the interval time for sending each data packet based on the total packet sending time and the weight of each data packet; in each scheduling cycle, determine whether the sending time of the current data packet reaches its interval time; if the interval time is not reached, continue to send the current data packet; if the interval time is reached, send the next data packet.

[0094] In one embodiment, the test report generation module 240 is also used to respond to a performance indicator selection instruction; wherein the performance indicator selection instruction is used to indicate the performance indicator that needs to be evaluated; and the performance data is processed according to the performance indicator selection instruction to generate and display the performance test report.

[0095] Each module in the above-mentioned cloud host network performance test device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0096] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG10. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used 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 the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a cloud host network performance test method is implemented.

[0097] Those skilled in the art will understand that the structure shown in FIG. 10 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0098] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0099] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the processor executes the computer program, the steps in the above-mentioned method embodiments are implemented.

[0100] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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 the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, 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 and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0101] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0102] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations 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 shall be subject to the attached claims.

Claims

1. A cloud host network performance testing method, characterized in that: The method comprises: Creating a cloud host based on configuration information; wherein the configuration information includes: instance specifications and network settings; Determine complex network traffic based on multiple sets of test packets; Performing a network performance test on the cloud host according to the complex network traffic to obtain performance data; A performance test report is generated and displayed based on the performance data.

2. The cloud host network performance testing method according to claim 1, characterized in that: The step of creating a cloud host based on the configuration information includes: Responding to the identity information and the authorization information, and obtaining the configuration information if the verification is successful; Dynamically allocating resource status of the cloud host based on the configuration information; An operating system and an application program of the cloud host are determined based on the configuration information.

3. The cloud host network performance testing method according to claim 1, characterized in that: The step of determining complex network traffic based on multiple groups of test data packets includes: Normalizing the plurality of test data packets to obtain normalized data; Performing chaotic mapping on the normalized data to obtain mapping data; The mapping data is input into a Gaussian mixture model to obtain the complex network traffic.

4. The cloud host network performance testing method according to claim 1, characterized in that: Before the step of determining complex network traffic based on multiple groups of test data packets, the method further includes: Get multiple groups of original data packets; Data packets with legal protocol fields are screened out from the multiple groups of original data packets and used as test data packets.

5. The cloud host network performance testing method according to claim 1, characterized in that: The step of performing a network performance test on the cloud host according to the complex network traffic includes: configuring a weight for each data packet in the complex network traffic; The data packet is sent to the cloud host based on the total packet sending time and the weight of each of the data packets to perform a network performance test on the cloud host.

6. The cloud host network performance testing method according to claim 5, characterized in that: The step of sending the data packet to the cloud host based on the total packet sending time and the weight of each data packet includes: Calculate the interval time for sending each data packet based on the total packet sending time and the weight of each data packet; In each scheduling cycle, determining whether the current sending time of the data packet reaches its interval time; If the interval time has not been reached, the current data packet continues to be sent; if the interval time has been reached, the next data packet is sent.

7. The cloud host network performance testing method according to claim 1, characterized in that: The step of generating and displaying a performance test report based on the performance data comprises: In response to a performance indicator selection instruction; wherein the performance indicator selection instruction is used to indicate a performance indicator to be evaluated; The performance data is processed according to the performance indicator selection instruction to generate and display the performance test report.

8. A cloud host network performance testing device, characterized in that: The device comprises: A cloud host creation module, used to create a cloud host based on configuration information; wherein the configuration information includes: instance specifications and network settings; A network traffic generation module for determining complex network traffic based on multiple groups of test data packets; A network performance testing module, used to perform a network performance test on the cloud host according to the complex network traffic to obtain performance data; The test report generating module is used to generate and display a performance test report based on the performance data.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Cloud host creation method and device, electronic equipment and storage medium

    CN113992511A

  • Network transmission performance test system and test method

    CN117319279A

  • Network testing method and device, storage medium and electronic equipment

    CN117749681A

  • Ultrasonic flowmeter fault diagnosis method based on improved sparrow search algorithm

    CN117851903A

  • Attack traffic generation method and device based on network target range and related equipment

    CN118300834A