Upload Speed Testing Using ACK Feedback to Limit Packet Loss
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing upload speed test methods are unable to accurately measure network maximum bandwidth due to the negative impact of network latency and packet loss, which are inherent in TCP-based data transmission protocols.
Innovation Solution
An upload speed test method that dynamically adjusts the sending rate based on packet loss and network conditions, using acknowledgment packets to increment or decrement the sending rate to converge to the maximum rate with minimal packet loss.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If TCP protocol is used to ensure reliable data transmission, then data integrity is improved, but transmission efficiency deteriorates due to acknowledgment and retransmission mechanisms
Solution Approach 1:
The patent implements dynamic rate adjustment by continuously monitoring packet loss rates and modifying the sending rate accordingly. The sending rate is adjusted based on real-time network conditions, allowing the system to adapt between reliability-focused mode (high packet loss) and efficiency-focused mode (low packet loss), resolving the contradiction between reliable transmission and transmission efficiency
Solution Approach 2:
The patent changes the sending rate parameter dynamically during the upload speed test process. By adjusting the sending rate based on packet loss feedback, the system optimizes the balance between ensuring data integrity through TCP retransmission and maintaining high transmission efficiency, directly addressing the contradiction between reliability and productivity
2Device complexity
If traditional upload speed test methods are used, then simplicity is maintained, but measurement precision deteriorates due to packet loss and network latency impact
Solution Approach 1:
The patent introduces a feedback mechanism where the packet loss rate is continuously monitored and used to adjust the sending rate. This feedback loop allows the system to compensate for network conditions and achieve more accurate bandwidth measurements without requiring complex test infrastructure, resolving the contradiction between simplicity and measurement precision
Solution Approach 2:
The patent performs preliminary rate adjustments during the upload speed test process based on detected packet loss patterns. By proactively adjusting the sending rate before severe packet loss occurs, the system maintains measurement accuracy while keeping the test method relatively simple, addressing the contradiction between simplicity and precision
Data Source
Figure 1
Figure 2
Figure 3
AI summary
An upload speed test method includes: during an upload speed test process, repeatedly checking (S204, S206, S222) whether at least one sending rate adjustment condition (S208, S210, S214) is met; and whenever it is determined that the at least one sending rate adjustment condition is met, adjusting a current sending rate to set an adjusted sending rate (S212, S216), and using the adjusted sending rate to transmit packets to a server.