Traffic Shaping Driver for Network Congestion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Network congestion is caused by delayed sending of ACK acknowledgement packets in asymmetric uplink and downlink bandwidths, leading to increased network lag and reduced downloading speeds, especially in DSL and cable connections.
Innovation Solution
A traffic shaping method that sets a timing for sending data packets at a constant rate, reserves bandwidth for ACK acknowledgement packets, and adaptively adjusts the sending threshold to optimize bandwidth utilization, ensuring timely acknowledgement and maximizing data packet sending speed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the uplink channel is occupied completely to maximize data sending rate, then the data packet sending speed is improved, but the ACK acknowledgement packet sending is delayed causing network congestion
Solution Approach 1:
The patent implements periodic traffic shaping by cyclically switching between data packet sending mode and ACK packet sending mode. A timer controls this periodic action, enabling the system to alternate between maximizing data transmission and ensuring ACK transmission, thereby preventing network congestion while maintaining high overall productivity
Solution Approach 2:
The patent uses a timer to predict when the uplink channel will be occupied and proactively switches to ACK packet sending mode before congestion occurs. This preliminary action ensures that ACK packets are sent in advance, preventing the delay that would otherwise occur when the uplink channel is fully occupied by data packets
2Productivity
If the TCP data packet capacity is increased to send more data without immediate acknowledgement, then the data transmission efficiency is improved, but the Ping value increases causing network lag
Solution Approach 1:
The patent implements periodic traffic shaping by cyclically switching between data packet sending mode and ACK packet sending mode. A timer controls this periodic action, enabling the system to alternate between maximizing data transmission and ensuring ACK transmission, thereby preventing network congestion while maintaining high overall productivity
Solution Approach 2:
The patent uses a timer to predict when the uplink channel will be occupied and proactively switches to ACK packet sending mode before congestion occurs. This preliminary action ensures that ACK packets are sent in advance, preventing the delay that would otherwise occur when the uplink channel is fully occupied by data packets
3Reliability
If traffic shaping is implemented to reserve bandwidth for ACK packets, then the network congestion is reduced, but the data packet sending speed is limited
Solution Approach 1:
The patent implements periodic traffic shaping by cyclically switching between data packet sending mode and ACK packet sending mode. A timer controls this periodic action, enabling the system to alternate between maximizing data transmission and ensuring ACK transmission, thereby preventing network congestion while maintaining high overall productivity
Solution Approach 2:
The patent dynamically adjusts the traffic shaping parameters including the timer duration and bandwidth allocation ratio based on network conditions. This dynamic adjustment allows the system to optimize the balance between congestion prevention and data transmission speed, adapting to different network environments and traffic patterns
Data Source
AI summary
A traffic shaping drive method and a driver are described. The method includes that: when traffic shaping is executed, timing time is set, and a data packet in a cache queue is sent at a preset constant rate in the timing time; when the timing time is reached, sending the data packet is stopped, and sending an ACK acknowledgement packet in the cache queue is started; and after the ACK acknowledgement packet is sent, returning to execute the traffic shaping. By conducting the traffic shaping on a drive layer, the disclosure enables the data packet to be sent at the constant rate, and reserves a certain bandwidth to send the ACK acknowledgement packet in time, thereby avoiding network congestion caused by delayed sending of the ACK acknowledgement packet, and improving the user experience.


