TCP retransmission rate calculation method and method for improving TCP KPI calculation accuracy

A calculation method and retransmission rate technology, applied in the field of network communication, can solve problems such as TCP retransmission rate distortion, loss of packet capture module, large error in TCP download rate, etc., and achieve the effect of improving performance, efficiency and accuracy

A calculation method and retransmission rate technology, applied in the field of network communication, can solve problems such as TCP retransmission rate distortion, loss of packet capture module, large error in TCP download rate, etc., and achieve the effect of improving performance, efficiency and accuracy

CN110401574AInactive Publication Date: 2019-11-01DEKSCOM TECH

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • TCP retransmission rate calculation method and method for improving TCP KPI calculation accuracy
  • TCP retransmission rate calculation method and method for improving TCP KPI calculation accuracy
  • TCP retransmission rate calculation method and method for improving TCP KPI calculation accuracy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] see figure 1 , the present invention discloses a TCP retransmission rate calculation method, through the ACK field of the upstream TCP ACK response packet header, the total number of downlink TCP packets and the number of TCP retransmission packets are compared, so as to improve the TCP retransmission rate index Calculation accuracy.

[0071] Described method specifically comprises the steps:

[0072] Step C1, initialize the number of TCP retransmission packets R=0, the average TCP downlink packet length B=0, and initial ACK 0 ;

[0073] Step C2, when a new downlink TCP message is captured, analyze the packet header information of the message, and obtain its packet length B n and package sequence number SEQ n, And accumulate the total number of downlink packets n; and calculate the downlink TCP average packet length B=∑(B 0 ,B 1 ..B n ) / n;

[0074] Step C3, comparing the sequence number SEQ of the current downlink TCP packet n Same as the packet sequence number...

Embodiment 2

[0088] A method for improving the accuracy of TCPKPI calculation, said method comprising: a TCP retransmission rate calculation step, through the ACK field of the uplink TCP ACK response packet header, the downlink TCP total packet number and the TCP retransmission packet number are compared, In order to improve the calculation accuracy of the TCP retransmission rate index. Specifically include the following steps:

[0089] Step C1, initialize the number of TCP retransmission packets R=0, the average TCP downlink packet length B=0, and initial ACK 0 ;

[0090] Step C2, when a new downlink TCP message is captured, analyze the packet header information of the message, and obtain its packet length B n and package sequence number SEQ n, And accumulate the total number of downlink packets n; and calculate the downlink TCP average packet length B=∑(B 0 ,B 1 ..B n ) / n;

[0091] Step C3, comparing the sequence number SEQ of the current downlink TCP packet n Same as the packet ...

Embodiment 3

[0101] The present invention discloses a method for improving the calculation accuracy of TCPKPI, the method comprising:

[0102] [Step A] TCP download rate calculation optimization step, according to the TCP header information, AcknowledgmentNumber indicates the confirmation of the data flow sequence number of the received downstream packet, the size of the ACK value = the size of the last ACK value + the size of the received downstream packet , according to this feature, according to the ACK difference of the upstream packet, the actual number of TCP download bytes is deduced to calculate the TCP download rate. see Figure 4 , Step A specifically includes:

[0103]Step A1, analyze the protocol of the captured TCP data flow, track and analyze the TCP uplink ACK message, especially analyze the Acknowledgment Number field value of the acknowledgment sign wherein, the Acknowledgment Number field value of the acknowledgment sign acknowledgment number is referred to as the ACK va...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a TCP retransmission rate calculation method and a method for improving TCPKPI calculation accuracy, which are used for correcting the downlink TCP total packet number and theTCP retransmission packet number through an ACK field of an uplink TCP ACK response packet header so as to improve the calculation accuracy of a TCP retransmission rate index. According to the TCP retransmission rate calculation method provided by the invention, the TCP retransmission rate calculation accuracy under the condition that network packet capture is damaged can be improved, and the TCPflow monitoring performance and efficiency of network DPI equipment are improved. Moreover, the method for improving the TCP KPI calculation accuracy provided by the invention can improve the TCP downloading rate, TCP time delay and TCP retransmission rate index calculation accuracy, and improve the TCP flow monitoring performance and efficiency of the network DPI equipment.

Description

technical field [0001] The invention belongs to the technical field of network communication and relates to a method for monitoring TCP flow performance, in particular to a method for calculating a TCP retransmission rate; meanwhile, the invention also relates to a method for improving the calculation accuracy of TCP KPI. Background technique [0002] In recent years, with the rapid development of the Internet, the demand for monitoring the service quality of IP networks and various upper-layer applications (such as Web access, e-commerce, video, games, instant messaging, etc.) is also increasing. At present, the industry generally deploys passive monitoring probe devices at various key network node locations (including the backbone layer, aggregation layer, access layer, and user side) of the IP network to monitor the service quality of IP network traffic and various upper-layer applications. . [0003] Due to the rapid growth of IP network traffic, 10G, 40G and even 100G ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
01 Nov 2019
Publication
CN110401574A
IPC
H04L12/26
CPC
H04L43/028; H04L43/08
Inventors
翁昌清; 刘东