Network performance determination method, device, electronic device, and medium

By mirroring network node traffic on the traffic analysis device and calculating TCP message parameters, the network performance problem is automatically judged, and the problem of inefficient manual investigation in the existing technology is solved, and efficient network performance analysis is achieved.

CN116614416BActive Publication Date: 2025-08-19WUHAN SIPU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310791719.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2025-08-19
Estimated Expiration
2043-06-29

AI Technical Summary

Technical Problem

In the prior art, network performance analysis requires a lot of manual inspection and analysis, resulting in inefficiency.

Method used

By determining the IP address segment of the network to be analyzed on the traffic analysis device, the traffic of each node is mirrored to the traffic analysis device and marked, the average round-trip delay of TCP packets and the TCP retransmission rate are calculated, the network performance problems are judged based on the threshold, and the network performance problems are automatically judged.

Benefits of technology

It improves the efficiency of network performance discrimination, reduces manual intervention, and realizes independent identification of network performance problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116614416B_ABST
    Figure CN116614416B_ABST
Patent Text Reader

Abstract

The present invention relates to a network performance determination method, device, electronic device, and medium. The method comprises: determining an IP address segment of a network to be analyzed on a traffic analysis device; mirroring the traffic of each node of the network to be analyzed to the traffic analysis device, and marking the traffic of each node; and obtaining the average TCP packet round-trip delay and TCP retransmission rate of each marked node traffic; when the average TCP packet round-trip delay and TCP retransmission rate of the first node traffic are both less than a threshold, determining that there is no network performance problem; otherwise, further determining the average TCP packet round-trip delay difference between adjacent nodes; if the average TCP packet round-trip delay difference is less than the threshold, determining a network performance problem based on the inbound and outbound traffic of the last node; if the average TCP packet round-trip delay difference is greater than the threshold, placing the nodes greater than the threshold into a set, and determining the network performance problem based on the inbound and outbound traffic of each node in the set. The present invention improves the efficiency of network performance determination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network performance detection, and in particular to a network performance determination method, device, electronic equipment and medium. Background Art

[0002] Network performance analysis is a measure of network communication quality. It is the foundation of network operation and maintenance and the basis for rationally selecting network optimization measures.

[0003] Network performance can be affected by the following factors: 1. Traffic volume; 2. The physical network link, typically reaching the link's bandwidth limit; and 3. Issues with network nodes (such as gateways or routers). Common issues include speed limits and performance bottlenecks. Furthermore, it's necessary to distinguish between network performance and host performance issues. Therefore, network performance analysis is a complex task.

[0004] Existing network performance analysis technology requires a lot of manual troubleshooting and analysis to determine the root cause, which is technically very difficult. Summary of the Invention

[0005] In view of this, it is necessary to provide a network performance determination method, device, electronic device and medium to solve the problem of low efficiency caused by manual troubleshooting and analysis of network performance problems in the existing technology.

[0006] In order to solve the above problems, the present invention provides a network performance determination method, comprising:

[0007] Determine the IP address segment of the network to be analyzed on the traffic analysis device;

[0008] Mirroring the traffic of each node of the network to be analyzed to a traffic analysis device based on the IP address segment, and marking the traffic of each node to obtain each marked node;

[0009] Regularly calculate the average TCP packet round trip delay and TCP retransmission rate of the first node flow after the mark;

[0010] When it is determined that the average TCP packet round trip delay of the first node flow after the mark is less than the first preset threshold and the TCP retransmission rate of the first node flow after the mark is less than the second preset threshold, it is determined that there is no problem with the network performance;

[0011] When it is determined that the average TCP packet round-trip delay of the first node traffic after the mark is greater than the first preset threshold or the TCP retransmission rate of the first node traffic after the mark is greater than the second preset threshold, and when it is determined that the difference in the average TCP packet round-trip delay between adjacent nodes after the mark is less than the third preset threshold, a network performance problem is determined based on the inbound and outbound traffic of the last node;

[0012] When it is determined that the average TCP packet round-trip delay of the first node traffic after the mark is greater than the first preset value or the TCP retransmission rate of the first node traffic after the mark is greater than the second preset threshold, when it is determined that the average TCP packet round-trip delay difference between adjacent nodes after the mark is not less than the third preset threshold, the nodes whose average TCP packet round-trip delay difference between adjacent nodes is not less than the third preset threshold are placed in a set, and the network performance problem is determined based on the inbound and outbound traffic of each node in the set.

[0013] In some possible implementations, determining a network performance problem based on the inbound and outbound traffic of the last node includes:

[0014] When the inbound traffic of the last node is equal to the outbound traffic, it is determined that there is a performance problem between the last node and the destination address.

[0015] In some possible implementations, when the inbound flow of the last node is equal to the outbound flow, determining that a performance problem exists between the last node and the destination address includes:

[0016] When the inbound flow of the last node is equal to the outbound flow, the TCP zero window rate of each node after the mark is obtained;

[0017] When it is determined that the TCP zero window rate of the last node is less than a fourth preset threshold, it is determined that the total flow of the physical link between the last node and the destination node has reached the bandwidth upper limit;

[0018] When it is determined that the TCP zero window rate of the last node is not less than the fourth preset threshold, it is determined that the performance problem is a performance problem of the host itself.

[0019] In some possible implementations, determining a network performance problem based on the inbound and outbound traffic of each node in the set includes:

[0020] When the inbound flow of a first node in the set is greater than the outbound flow, it is determined that the flow has reached the rate limit policy threshold or performance bottleneck of the first node;

[0021] When there is a second node in the set whose inbound traffic is equal to the outbound traffic, it is determined that the total traffic of the physical link between the second node and the next node has reached the bandwidth upper limit.

[0022] In some possible implementations, the IP address segment includes: a source IP address segment and a destination IP address segment.

[0023] On the other hand, the present invention also provides a network performance determination device, comprising:

[0024] An analysis object determination unit, configured to determine an IP address segment of a network to be analyzed on a traffic analysis device;

[0025] A node acquisition unit in the network, configured to mirror the traffic of each node in the network to be analyzed to a traffic analysis device based on the IP address segment, and mark the traffic of each node to obtain each marked node;

[0026] A node data acquisition unit, configured to periodically calculate the average TCP packet round trip delay and TCP retransmission rate of each marked node flow;

[0027] A first network performance determination unit is configured to determine that there is no problem with network performance when it is determined that the average TCP packet round-trip delay of the first node flow after the mark is less than a first preset threshold and the TCP retransmission rate of each node flow after the mark is less than a second preset threshold;

[0028] a second network performance determination unit, configured to determine, when it is determined that the average TCP packet round-trip delay of the first node traffic after the marking is greater than a first preset threshold or the TCP retransmission rate of the first node traffic after the marking is greater than a second preset threshold, and when it is determined that the difference in the average TCP packet round-trip delays between adjacent nodes after the marking is less than a third preset threshold, determine a network performance problem based on the inbound and outbound traffic of the last node;

[0029] The third network performance determination unit is used to, when it is determined that the average TCP packet round-trip delay of the first node flow after the marking is greater than the first preset value or the TCP retransmission rate of the first node flow after the marking is greater than the second preset threshold, and when it is determined that the average TCP packet round-trip delay difference between adjacent nodes after the marking is not less than the third preset threshold, put the nodes whose average TCP packet round-trip delay difference between adjacent nodes is not less than the third preset threshold into a set, and determine the network performance problem according to the inbound and outbound traffic of each node in the set.

[0030] In some possible implementations, determining a network performance problem based on the inbound and outbound traffic of the last node includes:

[0031] When the inbound traffic of the last node is equal to the outbound traffic, it is determined that there is a performance problem between the last node and the destination address.

[0032] In some possible implementations, when the inbound flow of the last node is equal to the outbound flow, determining that a performance problem exists between the last node and the destination address includes:

[0033] When the inbound flow of the last node is equal to the outbound flow, the TCP zero window rate of each node after the mark is obtained;

[0034] When it is determined that the TCP zero window rate of the last node is less than a fourth preset threshold, it is determined that the total flow of the physical link between the last node and the destination node has reached the bandwidth upper limit;

[0035] When it is determined that the TCP zero window rate of the last node is not less than the fourth preset threshold, it is determined that the performance problem is a performance problem of the host itself.

[0036] On the other hand, the present invention also provides an electronic device, including a memory and a processor, wherein:

[0037] The memory is used to store programs;

[0038] The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in a network performance determination method described in any one of the above implementations.

[0039] On the other hand, the present invention also provides a computer-readable storage medium for storing computer-readable programs or instructions, which, when executed by a processor, can implement the steps of a network performance determination method described in any of the above implementations.

[0040] The beneficial effects of the above embodiment are as follows: the present invention provides a network performance identification method, which obtains the average TCP packet round-trip delay and TCP retransmission rate of the first node traffic after marking. If both the average TCP packet round-trip delay and the TCP retransmission rate are less than a threshold, it is determined that the network has no performance issues. If the average TCP packet round-trip delay or the TCP retransmission rate of the first node is greater than a threshold, the average TCP packet round-trip delay difference between adjacent nodes is determined. If the difference is less than the threshold, a network performance issue is determined based on the inbound and outbound traffic of the last node. If the difference is greater than the threshold, the adjacent nodes greater than the threshold are placed in a set, and the network performance issue is determined based on the inbound and outbound traffic of each node in the set. The present invention autonomously identifies network performance issues through a program, thereby improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A method flow chart of an embodiment of a network performance determination method provided by the present invention;

[0042] Figure 2A schematic structural diagram of an embodiment of a network performance determination device provided by the present invention;

[0043] Figure 3 This is a schematic structural diagram of an embodiment of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0044] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, and are not used to limit the scope of the present invention.

[0045] Figure 1 A flow chart of an embodiment of a network performance determination method provided by the present invention is shown as follows: Figure 1 As shown, a network performance determination method includes:

[0046] S101. Determine the IP address segment of the network to be analyzed on the traffic analysis device;

[0047] S102, mirroring the traffic of each node of the network to be analyzed to a traffic analysis device based on the IP address segment, and marking the traffic of each node to obtain each marked node;

[0048] S103, regularly calculating the average TCP packet round trip delay and TCP retransmission rate of each marked node flow;

[0049] S104: When it is determined that the average TCP packet round-trip delay of the first node flow after the mark is less than the first preset threshold and the TCP retransmission rate of the first node flow after the mark is less than the second preset threshold, it is determined that there is no problem with the network performance;

[0050] S105: When it is determined that the average TCP packet round-trip delay of the first node flow after the marking is greater than the first preset threshold or the TCP retransmission rate of the first node flow after the marking is greater than the second preset threshold, and when it is determined that the difference in the average TCP packet round-trip delay between adjacent nodes after the marking is less than the third preset threshold, determine a network performance problem based on the inbound and outbound flows of the last node;

[0051] S106. When it is determined that the average TCP packet round-trip delay of the first node flow after the marking is greater than the first preset value or the TCP retransmission rate of the first node flow after the marking is greater than the second preset threshold, when it is determined that the average TCP packet round-trip delay difference between adjacent nodes after the marking is not less than the third preset threshold, the nodes whose average TCP packet round-trip delay difference between adjacent nodes is not less than the third preset threshold are put into a set, and the network performance problem is determined based on the inbound and outbound traffic of each node in the set.

[0052] Compared to the prior art, this embodiment provides a network performance identification method that obtains the average TCP round-trip delay and TCP retransmission rate of each marked node's traffic. If the average TCP round-trip delay and TCP retransmission rate of the first node are both less than a threshold, the network is determined to have no performance issues. If the average TCP round-trip delay or TCP retransmission rate is greater than a threshold, the difference in the average TCP round-trip delays between adjacent nodes is determined. If this difference is less than the threshold, a network performance issue is determined based on the inbound and outbound traffic of the last node. If this difference is greater than the threshold, the adjacent nodes with traffic greater than the threshold are placed in a set, and a network performance issue is determined based on the inbound and outbound traffic of each node in the set. The present invention autonomously identifies network performance issues through a program, improving work efficiency.

[0053] It should be noted that round-trip time (RTT) is an important metric for studying TCP connection behavior. It refers to the duration from when a TCP sender sends a message to when it receives an immediate acknowledgment message from the other end. In the specific embodiment of the present invention, in step S103, the average TCP message round-trip time refers to the time difference between the receipt of a TCP message and the receipt of the corresponding acknowledgment message by the same network node.

[0054] In some embodiments of the present invention, determining the network performance problem based on the inbound and outbound traffic of the last node includes:

[0055] When the inbound traffic of the last node is equal to the outbound traffic, it is determined that there is a performance problem between the last node and the destination address.

[0056] It should be noted that, in the absence of packet loss, the TCP zero window rate of each node is the same, because the TCP zero window rate is determined by the two ends of the communication, and the intermediate nodes do not change the TCP zero window rate. In some embodiments of the present invention, when the inbound flow of the last node is equal to the outbound flow, determining that there is a performance problem between the last node and the destination address includes:

[0057] When the inbound flow of the last node is equal to the outbound flow, the TCP zero window rate of each node after the mark is obtained;

[0058] When it is determined that the TCP zero window rate of the last node is less than a fourth preset threshold, it is determined that the total flow of the physical link between the last node and the destination node has reached the bandwidth upper limit;

[0059] When it is determined that the TCP zero window rate of the last node is not less than the fourth preset threshold, it is determined that the performance problem is a performance problem of the host itself.

[0060] In some embodiments of the present invention, determining the network performance problem based on the inbound and outbound traffic of each node in the set includes:

[0061] When the inbound flow of a first node in the set is greater than the outbound flow, it is determined that the flow has reached the rate limit policy threshold or performance bottleneck of the first node;

[0062] When there is a second node in the set whose inbound traffic is equal to the outbound traffic, it is determined that the total traffic of the physical link between the second node and the next node has reached the bandwidth upper limit.

[0063] In some embodiments of the present invention, the IP address segment includes a source IP address segment and a destination IP address segment.

[0064] In a specific embodiment of the present invention, the specific steps are as follows:

[0065] Step 1: Mirror the traffic of each network node to the traffic analysis device and mark the traffic of each network node to distinguish them;

[0066] Step 2: Define the analysis object on the traffic analysis device, which can be the traffic from one IP (or IP address segment) to another IP (or IP address segment);

[0067] Step 3: Calculate the traffic volume, average TCP packet round-trip delay, TCP retransmission rate, and TCP zero window rate of the analyzed object on each network node on a regular basis (e.g., every minute);

[0068] Step 4: If the average TCP packet round-trip delay and TCP retransmission rate of the first network node through which the traffic of the analysis object passes are lower than the threshold, it indicates that there is no performance problem. Return to step 3 and proceed to the next round of judgment. Otherwise, proceed to step 5.

[0069] Step 5: List the network nodes that the traffic of the analysis object passes through in the order it passes, and calculate the difference in the average TCP packet round-trip delay between two adjacent nodes. If the difference is less than the threshold, it means that there is no performance problem between the first and last nodes, and proceed to step 6. Otherwise, it indicates that there is a performance problem between the first and last nodes, and proceed to step 7.

[0070] Step 6: Analyze the traffic volume of the last node. If the inbound traffic equals the outbound traffic, the performance issue is determined to be between the last node and the destination. Combined with the TCP zero window rate ratio, if the TCP zero window rate falls below the threshold, the performance issue is caused by the total traffic on the physical link between the last node and the destination node reaching the bandwidth limit. Otherwise, the issue lies with the destination host itself. This round of analysis is complete, and the process returns to step 3 for the next round of analysis.

[0071] Step 7. Among the differences calculated in step 5, find the network nodes whose differences are greater than or equal to the threshold. The performance problem lies between these network nodes. Put these network nodes into a set. In this set, sort the network nodes in the order in which the traffic passes, and select each network node for analysis in turn. If the incoming traffic of a network node is greater than the outgoing traffic, it can be determined that the traffic in that direction has reached the speed limit policy threshold or performance bottleneck of the node; if the incoming traffic of the network node is equal to the outgoing traffic, it can be determined that the cause of the performance problem is that the total traffic of the physical link between this node and the next node has reached the bandwidth limit. After the network nodes in the set have been identified, return to step 3 for the next round of identification.

[0072] In order to better implement a network performance determination method in an embodiment of the present invention, based on a network performance determination method, correspondingly, as shown in FIG. Figure 2 As shown, an embodiment of the present invention further provides a network performance determination device, a network performance determination device 200 including:

[0073] An analysis object determination unit 201 is configured to determine an IP address segment of a network to be analyzed on a traffic analysis device;

[0074] A network node acquisition unit 202 is configured to mirror the traffic of each node in the network to be analyzed to a traffic analysis device based on the IP address segment, and mark the traffic of each node to obtain each marked node;

[0075] The node data acquisition unit 203 is used to periodically calculate the average TCP packet round trip delay and TCP retransmission rate of the traffic of each marked node;

[0076] The first network performance determination unit 204 is configured to determine that there is no problem with network performance when it is determined that the average TCP packet round-trip delay of the first node flow after the mark is less than a first preset threshold and the TCP retransmission rate of the first node flow after the mark is less than a second preset threshold;

[0077] The second network performance determination unit 205 is configured to determine a network performance problem based on the inbound and outbound traffic of the last node when it is determined that the average TCP packet round-trip delay of the first node traffic after the marking is greater than a first preset threshold or the TCP retransmission rate of the first node traffic after the marking is greater than a second preset threshold, and when it is determined that the difference in the average TCP packet round-trip delays between adjacent nodes after the marking is less than a third preset threshold;

[0078] The third network performance determination unit 206 is used to, when it is determined that the average TCP packet round-trip delay of the first node flow after the marking is greater than the first preset value or the TCP retransmission rate of the first node flow after the marking is greater than the second preset threshold, and when it is determined that the average TCP packet round-trip delay difference between adjacent nodes after the marking is not less than the third preset threshold, put the nodes whose average TCP packet round-trip delay difference between adjacent nodes is not less than the third preset threshold into a set, and determine the network performance problem according to the inbound and outbound traffic of each node in the set.

[0079] The network performance determination device 200 provided in the above embodiment can implement the technical solution described in the above embodiment of a network performance determination method. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above embodiment of a network performance determination method, which will not be repeated here.

[0080] like Figure 3 As shown, the present invention also provides an electronic device 300. The electronic device 300 includes a processor 301, a memory 302 and a display 303. Figure 3 Only some of the components of the electronic device 300 are shown, but it should be understood that implementation of all of the shown components is not required, and more or fewer components may be implemented instead.

[0081] In some embodiments, the processor 301 may be a central processing unit (CPU), a microprocessor, or other data processing chip, configured to execute program codes or process data stored in the memory 302, such as a network performance determination method in the present invention.

[0082] In some embodiments, processor 301 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, processor 301 may be local or remote. In some embodiments, processor 301 may be implemented on a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an on-premises cloud, a multi-cloud, or any combination thereof.

[0083] In some embodiments, the memory 302 may be an internal storage unit of the electronic device 300, such as a hard disk or memory of the electronic device 300. In other embodiments, the memory 302 may also be an external storage device of the electronic device 300, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 300.

[0084] Furthermore, the memory 302 may include both an internal storage unit of the electronic device 300 and an external storage device. The memory 302 is used to store application software installed in the electronic device 300 and various data.

[0085] In some embodiments, the display 303 can be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 303 is used to display information on the electronic device 300 and to display a visual user interface. Components 301-303 of the electronic device 300 communicate with each other via a system bus.

[0086] In one embodiment, when the processor 301 executes a network performance determination program in the memory 302, the following steps may be implemented:

[0087] Determine the IP address segment of the network to be analyzed on the traffic analysis device;

[0088] Mirroring the traffic of each node of the network to be analyzed to a traffic analysis device based on the IP address segment, and marking the traffic of each node to obtain each marked node;

[0089] Regularly calculate the average TCP packet round trip delay and TCP retransmission rate of each node flow after the mark;

[0090] When it is determined that the average TCP packet round trip delay of the first node flow after the mark is less than the first preset threshold and the TCP retransmission rate of the first node flow after the mark is less than the second preset threshold, it is determined that there is no problem with the network performance;

[0091] When it is determined that the average TCP packet round-trip delay of the first node traffic after the mark is greater than the first preset threshold or the TCP retransmission rate of the first node traffic after the mark is greater than the second preset threshold, and when it is determined that the difference in the average TCP packet round-trip delay between adjacent nodes after the mark is less than the third preset threshold, a network performance problem is determined based on the inbound and outbound traffic of the last node;

[0092] When it is determined that the average TCP packet round-trip delay of the first node traffic after the mark is greater than the first preset value or the TCP retransmission rate of the first node traffic after the mark is greater than the second preset threshold, when it is determined that the average TCP packet round-trip delay difference between adjacent nodes after the mark is not less than the third preset threshold, the nodes whose average TCP packet round-trip delay difference between adjacent nodes is not less than the third preset threshold are placed in a set, and the network performance problem is determined based on the inbound and outbound traffic of each node in the set.

[0093] It should be understood that, when the processor 301 executes a network performance determination program in the memory 302 , in addition to the above functions, it can also implement other functions. For details, please refer to the description of the corresponding method embodiment above.

[0094] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 300 mentioned. The electronic device 300 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, or the like. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft, or other operating systems. The above-mentioned portable electronic devices may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 300 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0095] Those skilled in the art will appreciate that all or part of the process steps of the above-described embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a magnetic disk, an optical disk, a read-only memory, or a random access memory.

[0096] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention.

Claims

1. A network performance determination method, characterized in that: include: Determine the IP address segment of the network to be analyzed on the traffic analysis device; Mirroring the traffic of each node of the network to be analyzed to a traffic analysis device based on the IP address segment, and marking the traffic of each node to obtain each marked node; Regularly calculate the average TCP packet round trip delay and TCP retransmission rate of each node flow after the mark; When it is determined that the average TCP packet round trip delay of the first node flow after the mark is less than the first preset threshold and the TCP retransmission rate of the first node flow after the mark is less than the second preset threshold, it is determined that there is no problem with the network performance; When it is determined that the average TCP packet round-trip delay of the first node traffic after the mark is greater than the first preset threshold or the TCP retransmission rate of the first node traffic after the mark is greater than the second preset threshold, and when it is determined that the difference in the average TCP packet round-trip delay between adjacent nodes after the mark is less than the third preset threshold, a network performance problem is determined based on the inbound and outbound traffic of the last node; When it is determined that the average TCP packet round-trip delay of the first node traffic after the mark is greater than the first preset threshold or the TCP retransmission rate of the first node traffic after the mark is greater than the second preset threshold, when it is determined that the average TCP packet round-trip delay difference between adjacent nodes after the mark is not less than the third preset threshold, the nodes whose average TCP packet round-trip delay difference between adjacent nodes is not less than the third preset threshold are placed in a set, and the network performance problem is determined based on the inbound and outbound traffic of each node in the set.

2. A network performance determination method according to claim 1, characterized in that: Determining network performance issues based on the inbound and outbound traffic of the last node includes: When the inbound traffic of the last node is equal to the outbound traffic, it is determined that there is a performance problem between the last node and the destination address.

3. A network performance determination method according to claim 2, characterized in that: When the inbound flow of the last node is equal to the outbound flow, determining that there is a performance problem between the last node and the destination address includes: When the inbound flow of the last node is equal to the outbound flow, the TCP zero window rate of each node after the mark is obtained; When it is determined that the TCP zero window rate of the last node is less than a fourth preset threshold, it is determined that the total flow of the physical link between the last node and the destination node has reached the bandwidth upper limit; When it is determined that the TCP zero window rate of the last node is not less than the fourth preset threshold, it is determined that the performance problem is a performance problem of the destination host itself.

4. A network performance determination method according to claim 1, characterized in that: Determining network performance issues based on the inbound and outbound traffic of each node in the set includes: When there is a first node in the set whose inflow is greater than the outflow, it is determined that the flow has reached the rate limit policy threshold or performance bottleneck of the first node; When there is a second node in the set whose inbound traffic is equal to the outbound traffic, it is determined that the total traffic of the physical link between the second node and the next node has reached the bandwidth upper limit.

5. A network performance determination method according to claim 1, characterized in that: The IP address segment includes: a source IP address segment and a destination IP address segment.

6. A network performance determination device, characterized in that: include: An analysis object determination unit, configured to determine an IP address segment of a network to be analyzed on a traffic analysis device; A node acquisition unit in the network, configured to mirror the traffic of each node in the network to be analyzed to a traffic analysis device based on the IP address segment, and mark the traffic of each node to obtain each marked node; A node data acquisition unit, configured to periodically calculate the average TCP packet round trip delay and TCP retransmission rate of the traffic of each marked node; a first network performance determination unit, configured to determine that there is no problem with network performance when it is determined that the average TCP packet round-trip delay of the first node flow after the mark is less than a first preset threshold and the TCP retransmission rate of the first node flow after the mark is less than a second preset threshold; a second network performance determination unit, configured to determine, when it is determined that the average TCP packet round-trip delay of the first node traffic after the marking is greater than a first preset threshold or the TCP retransmission rate of the first node traffic after the marking is greater than a second preset threshold, and when it is determined that the difference in the average TCP packet round-trip delays between adjacent nodes after the marking is less than a third preset threshold, determine a network performance problem based on the inbound and outbound traffic of the last node; The third network performance determination unit is used to, when it is determined that the average TCP packet round-trip delay of the first node flow after the marking is greater than the first preset threshold or the TCP retransmission rate of the first node flow after the marking is greater than the second preset threshold, and when it is determined that the average TCP packet round-trip delay difference between adjacent nodes after the marking is not less than the third preset threshold, put the nodes whose average TCP packet round-trip delay difference between adjacent nodes is not less than the third preset threshold into a set, and determine the network performance problem according to the inbound and outbound traffic of each node in the set.

7. A network performance determination device according to claim 6, characterized in that: Determining network performance issues based on the inbound and outbound traffic of the last node includes: When the inbound traffic of the last node is equal to the outbound traffic, it is determined that there is a performance problem between the last node and the destination address.

8. A network performance determination device according to claim 7, characterized in that: When the inbound flow of the last node is equal to the outbound flow, determining that there is a performance problem between the last node and the destination address includes: When the inbound flow of the last node is equal to the outbound flow, the TCP zero window rate of each node after the mark is obtained; When it is determined that the TCP zero window rate of the last node is less than a fourth preset threshold, it is determined that the total flow of the physical link between the last node and the destination node has reached the bandwidth upper limit; When it is determined that the TCP zero window rate of the last node is not less than the fourth preset threshold, it is determined that the performance problem is a performance problem of the destination host itself.

9. An electronic device, characterized in that: comprising a memory and a processor, wherein, The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the network performance determination method described in any one of claims 1 to 5 above.

10. A computer-readable storage medium, characterized in that Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps of a network performance determination method as described in any one of claims 1 to 5 above.

Citation Information

Patent Citations

  • Multi-stage comparative analysis method and system based on full-flow backtracking

    CN115987766A

  • Apparatus and method for monitoring network congestion state, and program

    JP2008283621A