Method and system for constructing computing power network flow damage based on VPP
By developing packet damage function plug-ins in the VPP framework and building a network response capability evaluation model, the problem of difficulty in simulating and evaluating packet damage in the existing technology is solved, and efficient and accurate packet damage simulation and network response capability evaluation are achieved, improving network performance and user experience.
Patent Information
- Application Number
- CN202510155020.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-05-23
AI Technical Summary
The prior art is difficult to effectively simulate and detect data packet damage, and it is difficult to evaluate the ability of computing power network to cope with data packet damage, affecting network performance and user experience.
The data packet damage function plug-in is developed in the VPP framework. By selecting specific nodes as the head and tail nodes of the computing power gateway, a network response capability evaluation model is built, including calculation methods and evaluation standards for key performance indicators, to realize data packet damage simulation and evaluation.
It realizes efficient simulation of packet transmission damage in real scenarios, has higher simulation efficiency and accuracy, can quantitatively evaluate the network's ability to cope with packet damage, provide intuitive analysis results, and help users optimize and adjust the network.
Smart Images

Figure CN120034444A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication and information technology, and specifically provides a method and system for constructing computing power network traffic damage based on VPP. Background Art
[0002] As the cornerstone of the modern information society, computing networks carry the task of transmitting and processing massive amounts of data. However, in actual operation, data packets may be damaged due to a variety of reasons, such as transmission errors, equipment failures, and network congestion. These damages not only affect the performance and stability of the network, but may also cause data loss or service interruptions, posing a serious threat to user experience and business continuity.
[0003] Due to the limitations of laboratory environment, it is difficult to fully simulate the complex networking and damage conditions in real scenarios. Therefore, the industry urgently needs a technical solution that can simulate and detect packet damage and effectively evaluate the network's response capabilities. Traditional packet damage simulation methods usually rely on hardware simulators or software simulation tools, but these methods often have problems such as low simulation efficiency and lack of flexibility, and are difficult to meet the needs of large-scale computing networks. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a highly practical method for constructing computing power network traffic damage based on VPP.
[0005] A further technical task of the present invention is to provide a system that is reasonably designed, safe and applicable, and that builds computing power network traffic damage based on VPP.
[0006] The technical solution adopted by the present invention to solve its technical problem is:
[0007] A method for constructing computing power network traffic damage based on VPP has the following steps:
[0008] S1. Develop a data packet damage function plug-in in the VPP framework;
[0009] S2. In the computing network, select specific nodes as the head node and tail node of the computing gateway;
[0010] S3. Construct a network response capability assessment model, including the calculation method and assessment criteria of key performance indicators;
[0011] S4. Perform test verification.
[0012] Further, in step S1, first, a data packet damage function plug-in is developed in the VPP framework, and the data packet damage function plug-in configures the matching rules and damage parameters of the message through the vppctl command;
[0013] The packet damage function plug-in is internally provided with a damage processing module and an interface. The damage processing module performs packet loss processing on the matching packets according to the preset damage configuration, and the interface allows users to dynamically adjust the damage configuration parameters to meet different test requirements.
[0014] Further, in step S2, the head node is responsible for receiving packets from the outside and forwarding them to the damage function node for damage simulation. The tail node is responsible for receiving the packets that have undergone damage processing and performing on-the-fly detection and analysis. A dedicated test channel is established between the head node and the tail node.
[0015] Further, in step S3, according to the network response ability evaluation model, a visualization interface is developed to display the damage simulation and evaluation results. Users view and analyze the evaluation results through the visualization interface and perform corresponding network optimization and adjustment operations according to the results.
[0016] Further, in step S4, the damage configuration parameters are adjusted and the changes in network performance indicators are observed to evaluate the accuracy and effectiveness of packet damage simulation and response ability evaluation, and then optimization and improvement are carried out.
[0017] A system for constructing computing power network traffic damage based on VPP. First, a packet damage function plug-in is developed in the VPP framework. In the computing power network, specific nodes are selected as the computing power gateway head node and tail node, and a network response ability evaluation model is constructed, including the calculation methods and evaluation criteria of key performance indicators. Finally, test verification is carried out.
[0018] Further, first, a packet damage function plug-in is developed in the VPP framework. The packet damage function plug-in configures the matching rules and damage parameters of the packets through the vppctl command;
[0019] The packet damage function plug-in is internally provided with a damage processing module and an interface. The damage processing module performs packet loss processing on the matching packets according to the preset damage configuration, and the interface allows users to dynamically adjust the damage configuration parameters to meet different test requirements.
[0020] Further, the head node is responsible for receiving packets from the outside and forwarding them to the damage function node for damage simulation. The tail node is responsible for receiving the packets that have undergone damage processing and performing on-the-fly detection and analysis. A dedicated test channel is established between the head node and the tail node.
[0021] Further, according to the network response ability evaluation model, a visualization interface is developed to display the damage simulation and evaluation results. Users view and analyze the evaluation results through the visualization interface and perform corresponding network optimization and adjustment operations according to the results.
[0022] Furthermore, during the test verification, the damage configuration parameters are adjusted and the changes in network performance indicators are observed to evaluate the accuracy and effectiveness of the packet damage simulation and response capability assessment, and then optimization and improvement are carried out.
[0023] Compared with the prior art, the method and system for constructing computing power network traffic damage based on VPP of the present invention have the following outstanding beneficial effects:
[0024] The present invention realizes the simulation of data packet transmission damage in real scenarios through the data packet damage function plug-in developed based on the VPP framework, with higher simulation efficiency and accuracy; by building a network response capability evaluation model and a visual interface, the present invention can quantitatively evaluate the network's response capability to data packet damage and provide intuitive analysis results. This helps users better understand the network performance status and perform targeted optimization and adjustment operations.
[0025] The technical solution of the present invention is based on the modular design of the VPP framework, which supports users to dynamically adjust the impairment configuration parameters and expand new impairment types and evaluation algorithms. This enables the technical solution to adapt to the testing requirements in different scenarios and to be continuously updated and improved with the development of network technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Attached Figure 1 It is a flowchart of a method for constructing computing power network traffic damage based on VPP. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] A best embodiment is given below:
[0030] like Figure 1 As shown, a method for constructing computing network traffic damage based on VPP in this embodiment has the following steps:
[0031] S1. Develop a data packet damage function plug-in in the VPP framework;
[0032] First, a packet damage function plug-in is developed in the VPP framework. The plug-in configures the packet matching rules and damage parameters through the vppctl command.
[0033] The packet damage plug-in configures the packet matching rules and damage parameters through the vppctl command;
[0034] The data packet damage function plug-in is equipped with a damage processing module and an interface. The damage processing module performs packet loss processing on the matching messages according to the preset damage configuration. The interface allows the user to dynamically adjust the damage configuration parameters to meet different test requirements.
[0035] By utilizing the efficient packet processing capability of the VPP framework, a packet impairment plug-in is designed and implemented. This plug-in can simulate various types of packet impairments, such as packet loss, delay, disorder, duplication, and damage.
[0036] By configuring the vppctl command, packets are matched according to the packet's five-tuple (source IP address, destination IP address, source port number, destination port number, protocol type) or APNID (application protocol identifier), so that the corresponding packets are lost and damaged according to the configured percentage.
[0037] S2. In the computing network, select specific nodes as the head node and tail node of the computing gateway; these nodes need to support flow detection functions, such as IFIT detection.
[0038] The head node is responsible for receiving messages from the outside and forwarding them to the damage function node for damage simulation. The tail node is responsible for receiving messages that have been damaged and performing flow detection and analysis.
[0039] A dedicated test channel can be established between the head node and the tail node to ensure the accuracy and reliability of the test results.
[0040] The packet damage function plug-in can be placed on specific nodes of the computing network, such as after the computing gateway head node and before the computing network tail node. These nodes support the flow detection function and can detect the current network status in real time.
[0041] When the message passes through the computing power gateway node, it will enter the damage function node for packet loss damage simulation. The damage function node will perform damage processing on the message according to the preset damage configuration (such as 5%, 10%, 20%, 30% and other percentage packet loss).
[0042] The damaged packets will continue to be transmitted to the tail node of the computing power gateway. The tail node will use the flow detection function (such as IFIT detection) to monitor and analyze the transmission of the packets to evaluate the network's ability to cope with damage.
[0043] S3. Build a network response capability evaluation model, including the calculation methods and evaluation criteria for key performance indicators such as throughput, latency, and jitter;
[0044] A visualization interface is developed based on the network response capability assessment model to display damage simulation and assessment results. The interface includes functional modules such as damage type selection, damage degree setting, and network performance indicator display. Users can easily view and analyze the assessment results through the visualization interface and perform corresponding network optimization and adjustment operations based on the results.
[0045] S4. Conduct test verification;
[0046] The technical solution of the present invention is deployed in an actual computing power network environment and tested and verified. By adjusting the damage configuration parameters and observing the changes in network performance indicators, the accuracy and effectiveness of the present invention in simulating data packet damage and evaluating the response capability are evaluated.
[0047] According to the test results, necessary optimization and improvement are carried out on the present invention to improve its performance and reliability.
[0048] Based on the above method, a system for computing network traffic damage based on VPP is constructed in this embodiment. First, a data packet damage function plug-in is developed in the VPP framework. The data packet damage function plug-in configures the matching rules and damage parameters of the message through the vppctl command;
[0049] The data packet damage function plug-in is internally provided with a damage processing module and an interface. The damage processing module performs packet loss processing on the matching messages according to the preset damage configuration. The interface allows the user to dynamically adjust the damage configuration parameters to adapt to different test requirements.
[0050] In the computing power network, specific nodes are selected as the head node and tail node of the computing power gateway, and a network response capability evaluation model is built, including the calculation method and evaluation criteria of key performance indicators, and finally tested and verified.
[0051] Among them, the head node is responsible for receiving messages from the outside and forwarding them to the damage function node for damage simulation. The tail node is responsible for receiving messages that have been damaged and performing flow detection and analysis. A dedicated test channel is established between the head node and the tail node.
[0052] Based on the network stress capacity assessment model, a visualization interface is developed to display the damage simulation and assessment results. Users can view and analyze the assessment results through the visualization interface and perform corresponding network optimization and adjustment operations based on the results.
[0053] During the test verification, adjust the damage configuration parameters and observe the changes in network performance indicators, evaluate the accuracy and effectiveness of the packet damage simulation and response capability assessment, and then optimize and improve them.
[0054] The above-mentioned specific implementations are only specific cases of the present invention. The patent protection scope of the present invention includes but is not limited to the above-mentioned specific implementations. Any technical solutions that conform to the above-mentioned specific implementations of the present invention and any appropriate changes or substitutions made by ordinary technicians in the relevant technical field shall fall within the patent protection scope of the present invention.
[0055] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for constructing computing power network traffic damage based on VPP, characterized in that: The steps are as follows: S1. Develop a data packet damage function plug-in in the VPP framework; S2. In the computing network, select specific nodes as the head node and tail node of the computing gateway; S3. Construct a network response capability assessment model, including the calculation method and assessment criteria of key performance indicators; S4. Perform test verification.
2. According to claim 1, a method for constructing computing power network traffic damage based on VPP is characterized in that: In step S1, first, a data packet damage function plug-in is developed in the VPP framework, and the data packet damage function plug-in configures the matching rules and damage parameters of the message through the vppctl command; The data packet damage function plug-in is internally provided with a damage processing module and an interface. The damage processing module performs packet loss processing on the matching messages according to the preset damage configuration. The interface allows the user to dynamically adjust the damage configuration parameters to adapt to different test requirements.
3. According to claim 2, a method for constructing computing power network traffic damage based on VPP is characterized in that: In step S2, the head node is responsible for receiving messages from the outside and forwarding them to the damage function node for damage simulation, and the tail node is responsible for receiving messages that have been damaged and performing flow detection and analysis. A dedicated test channel is established between the head node and the tail node.
4. According to claim 3, a method for constructing computing power network traffic damage based on VPP is characterized in that: In step S3, a visualization interface is developed based on the network stress capacity assessment model to display damage simulation and assessment results. Users view and analyze the assessment results through the visualization interface and perform corresponding network optimization and adjustment operations based on the results.
5. According to claim 4, a method for constructing computing power network traffic damage based on VPP is characterized in that: In step S4, the damage configuration parameters are adjusted and the changes in network performance indicators are observed to evaluate the accuracy and effectiveness of the packet damage simulation and response capability assessment, and then optimization and improvement are performed.
6. A system for building computing power network traffic damage based on VPP, characterized in that: First, a data packet damage function plug-in is developed in the VPP framework. In the computing network, specific nodes are selected as the head node and tail node of the computing gateway. A network response capability evaluation model is built, including the calculation method and evaluation criteria of key performance indicators. Finally, testing and verification are carried out.
7. According to claim 6, a system for constructing computing power network traffic damage based on VPP is characterized in that: First, a data packet damage function plug-in is developed in the VPP framework. The data packet damage function plug-in configures the matching rules and damage parameters of the message through the vppctl command; The data packet damage function plug-in is internally provided with a damage processing module and an interface. The damage processing module performs packet loss processing on the matching messages according to the preset damage configuration. The interface allows the user to dynamically adjust the damage configuration parameters to adapt to different test requirements.
8. According to claim 7, a system for constructing computing power network traffic damage based on VPP is characterized in that: The head node is responsible for receiving messages from the outside and forwarding them to the damage function node for damage simulation. The tail node is responsible for receiving messages that have been damaged and performing flow detection and analysis. A dedicated test channel is established between the head node and the tail node.
9. According to claim 8, a system for constructing computing power network traffic damage based on VPP is characterized in that: According to the network stress capacity assessment model, a visualization interface is developed to display damage simulation and assessment results. Users view and analyze the assessment results through the visualization interface and perform corresponding network optimization and adjustment operations based on the results.
10. According to claim 9, a system for constructing computing power network traffic damage based on VPP is characterized in that: During the test verification, adjust the damage configuration parameters and observe the changes in network performance indicators, evaluate the accuracy and effectiveness of the packet damage simulation and response capability assessment, and then optimize and improve them.