摘要 |
Embodiments of the present invention provide a method and device for determining a congestion window in a network. A controller receives a data packet sent by a source terminal, determines a forwarding path of the data packet according to a stream identifier in the data packet, acquires a minimum remaining bandwidth in remaining bandwidths of forwarding devices on the forwarding path of the data packet, and sends the minimum remaining bandwidth to a destination terminal. The destination terminal determines a congestion window of a data stream that the data packet belongs to according to the minimum remaining bandwidth and a preset delay. It can be seen that, during the process of determining a congestion window, the condition of the remaining bandwidths of the forwarding devices on the forwarding path of the data packet is considered, so the determined congestion window is more reasonable, the congestion control effect can be improved, and further, the bandwidth utilization rate, the throughput rate and the fairness between data stream connections are improved, and the problem of buffer overflow of the forwarding device is prevented. |