TCP ACK Delay Mechanism for Big Data Throughput Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current data transmission methods using TCP streams for big data transmission are inefficient due to high memory requirements and throughput bottlenecks, leading to prolonged transmission times and resource wastage.
Innovation Solution
A data transmission method that modifies the TCP protocol to delay acknowledgement messages and uses a quasi-TCP protocol for retransmitting lost packets, preventing the congestion window from being rapidly decreased, thus reducing the need for multiple TCP streams and conserving system resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If multiple TCP streams are used to transmit big data, then throughput is maintained stable, but memory consumption increases significantly
Solution Approach 1:
The patent merges multiple TCP streams into a single TCP connection by implementing a protocol that allows the receiver to buffer and reorder packets from one stream, eliminating the need for multiple parallel connections while maintaining the same throughput performance
Solution Approach 2:
The single TCP connection is enhanced with additional buffering and reordering capabilities that make it universally capable of handling out-of-order packets, replacing the need for multiple specialized streams
2Reliability
If multiple TCP streams are established to ensure throughput, then transmission stability is improved, but system resource overhead increases
Solution Approach 1:
Multiple TCP streams are merged into a single connection with enhanced packet buffering and reordering mechanisms, reducing connection management overhead while maintaining transmission stability
Solution Approach 2:
A packet buffer acts as an intermediary between the single TCP stream and the application layer, reordering packets to compensate for the lack of multiple streams while maintaining reliable delivery
3Reliability
If TCP congestion window is halved upon packet loss, then packet loss is addressed, but throughput decreases
Solution Approach 1:
The receiver performs preliminary buffering and reordering of packets before they reach the application layer, allowing the sender to maintain a larger congestion window since packets can be recovered from the buffer rather than requiring immediate retransmission
Solution Approach 2:
The patent converts the potential harm of packet loss into a benefit by using the loss information to trigger selective retransmission only for specific lost packets, rather than halving the congestion window, thus maintaining throughput while ensuring reliable delivery
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present invention discloses a data transmission method and a device. A receive end receives, by using a first protocol, K packets sent by a transmit end, where each received packet includes a sequence number; the receive end determines a second sending delay based on a target packet when detecting that the target packet is lost by using the first protocol based on sequence numbers in the K packets, where the second sending delay is greater than a first sending delay; the receive end sends an acknowledgement ACK message to the transmit end by using the first protocol based on the second sending delay, where the acknowledgement ACK message is used to notify the transmit end that the receive end has received K packets of all packets sent by the transmit end; and the receive end sends a retransmission request for the target packet to the transmit end by using a second protocol, and receives, by using the second protocol, the target packet retransmitted by the transmit end. In embodiments of the present invention, the transmit end can be effectively prevented from decreasing a TCP congestion window. The present invention ensures high and stable throughputs, and lowers a memory requirement compared with an improved technology that uses a plurality of TCP streams to transmit data, thereby saving system resources.