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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com