# US 2017/0195231 A1 · Method and Apparatus for Network Congestion Control Based on Transmission Rate Gradients

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0195231 A1
- Document ID: US20170195231A1
- Status: Published application
- Kind: A1
- Application number: 15/304,971
- Filed: 2015-03-31
- Published: 2017-07-06
- Earliest claimed: 2014-04-23
- Assignees: Bequant S.L.
- Applicants: Bequant S.L.
- Inventors: Jose Lopez Serrano; Luis Piñeiro Blanca; Guillermo Lopez Serrano
- Web page: https://patentgrep.com/patent/US20170195231A1

## CPC

- H04L 47/122: by diverting traffic away from congested entities
- H04L 47/11: Identifying congestion
- H04L 47/127: by using congestion prediction
- H04L 47/15: {in relation to multipoint traffic (arrangements for broadcast or multicast in data networks H04L12/18)}
- H04L 47/16: {in connection oriented networks, e.g. frame relay}
- H04L 47/17: Interaction among intermediate nodes, e.g. hop by hop
- H04L 47/18: {End to end}
- H04L 47/193: at the transport layer, e.g. TCP related
- H04L 47/26: using explicit feedback to the source, e.g. choke packets
- H04W 8/04: Registration at HLR or HSS [Home Subscriber Server]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A method and apparatus for congestion control for acknowledged communication over networks detects congestion based on trends of flight size and transmission rate in order to adapt a congestion window in accordance with a detection result. Such congestion detection enables, for example, distinguishing between the congestion with or without unfair competition. Moreover, the measured transmission rate or its trend can be filtered to compensate for time variations. An end node or a proxy can be used for congestion control.

## Claims

### Claim 1

A method for congestion control in a data communication protocol employing acknowledged communication in which a transmitting node transmits data to a receiving node and the receiving node acknowledges receipt of the data, wherein a congestion window specifies a maximum amount of unacknowledged data which the transmitting node may transmit before reception of a positive acknowledgement for all or part of that data, the method to be performed by the transmitting node and comprising:
measuring a flight size indicating an amount of data sent by the transmitting node and not yet acknowledged by the receiving node;
measuring a transmission rate, the transmission rate corresponding to a same time instant as the flight size;
determining a trend of the flight size;
determining a trend of the transmission rate, wherein the trend is derived from a transmission rate gradient calculation, in which either the transmission rate measurements or the transmission rate gradient calculations or both, are filtered to reduce their temporal variability;
detecting whether there is a congestion according to the determined trend of the transmission rate and the trend of the flight size;
upon positive detection of the congestion, modifying the congestion window; and
transmitting data while respecting the congestion window size.

### Claim 2 (depends on 1)

The method according to claim 1, wherein
the step of detecting whether there is a congestion includes detecting whether or not there is a congestion with unfair competition; and
the congestion with unfair competition is positively detected when the trend of the flight size is either increasing or substantially stable and the trend of the transmission rate is decreasing, and negatively detected otherwise.

### Claim 3 (depends on 1)

The method according to claim 1, wherein
the step of detecting whether there is a congestion includes detecting whether there is a congestion without unfair competition; and
the congestion without unfair competition is positively detected when the trend of the flight size is increasing and the trend of the transmission rate is substantially stable, and negatively detected otherwise.

### Claim 4 (depends on 1)

The method according to claim 1, wherein
the step of detecting whether there is a congestion includes detecting whether there is any of a congestion with unfair competition and a congestion without unfair competition,
the congestion with unfair competition is positively detected when the trend of the flight size is either increasing or substantially stable and the trend of the transmission rate is decreasing, and negatively detected otherwise, and
the congestion without unfair competition is positively detected when the trend of the flight size is increasing and the trend of the transmission rate is substantially stable, and negatively detected otherwise.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the step of modifying the congestion window includes increasing the congestion window size upon positively detecting the congestion with unfair competition.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the step of modifying the congestion window includes reducing the congestion window size upon positively detecting the congestion without unfair competition.

### Claim 7 (depends on 2)

The method according to claim 2, wherein
the step of modifying the congestion window includes changing from a current congestion control state to a new congestion control state upon positively detecting the congestion with unfair competition, wherein the current and the new congestion control states specify respectively a current and a new rule for increasing the congestion window size upon receipt of data acknowledgements when neither congestion nor data losses have been detected, and
the new rule specifies a faster rate of increasing the congestion window size than the current rule.

### Claim 8 (depends on 3)

The method according to claim 3, wherein
the step of modifying the congestion window includes changing from a current congestion control state to a new congestion control state upon positively detecting the congestion without unfair competition, wherein the current and the new congestion control states specify respectively a current and a new rule for increasing the congestion window size upon receipt of data acknowledgements when neither congestion nor data losses have been detected, and
the new rule specifies a slower rate of increasing the congestion window size than the current rule.

### Claim 9 (depends on 8)

The method according to claim 8, wherein
the communication protocol is TCP,
the change from a current congestion control state to a new congestion control state upon positively detecting the congestion without unfair competition is performed if the current congestion control state is TCP slow start and not performed otherwise, and
the new congestion control state is TCP congestion avoidance.

### Claim 10 (depends on 6)

The method according to claim 6, wherein
the communication protocol is TCP, and
the reduction of the congestion window size upon positively detecting the congestion without unfair competition is performed if the transmitting node is in TCP congestion avoidance congestion control state and not performed otherwise.

### Claim 11 (depends on 7)

The method according to claim 7, wherein
in the steps of determining a trend of the flight size and a trend of the transmission rate, the trends of the flight size and the transmission rate are determined over a time period starting at an instant before and closest to a most recent change from a previous congestion control state to the current congestion control state, wherein the previous and the current congestion control states specify respectively a previous and a current rule for increasing the congestion window size upon receipt of data acknowledgements when neither congestion nor data losses have been detected, and the previous congestion control state specifies a faster rate of increasing the congestion window size than the current congestion control state.

### Claim 12 (depends on 5)

The method according to claim 5, wherein
in the step of determining a trend of the flight size, the trend of the flight size is determined over a time period starting at an instant after and closest to a most recent reduction of the congestion window size due to a detected congestion; and
in the step of determining a trend of the transmission rate, the trend of the transmission rate is determined over a time period starting at an instant before and closest to said most recent reduction of the congestion window size due to a detected congestion.

### Claim 13 (depends on 5)

The method according to claim 5, wherein
the communication protocol is TCP, and
the increase of the congestion window size upon positively detecting the congestion with unfair competition is performed if the transmitting node is in TCP congestion avoidance congestion control state and not performed otherwise.

### Claim 14 (depends on 7)

The method according to claim 7, wherein
the communication protocol is TCP,
the change from a current congestion control state to a new congestion control state upon positively detecting the congestion with unfair competition is performed if the current congestion control state is TCP congestion avoidance and not performed otherwise, and
the new congestion control state is TCP slow start.

### Claim 15

An apparatus for controlling, in a transmitting node, congestion in a data communication protocol employing acknowledged communication in which the transmitting node transmits data to a receiving node and the receiving node acknowledges receipt of the data, wherein a congestion window specifies a maximum amount of unacknowledged data which the transmitting node may transmit before reception of a positive acknowledgement for all or part of that data, the apparatus comprising:
a flight size measuring unit for measuring a flight size indicating an amount of data sent by the transmitting node and not yet acknowledged by the receiving node;
a transmission rate measuring unit for measuring a transmission rate, the transmission rate corresponding to a same time instant as the flight size;
a flight size trend calculation unit for determining a trend of the flight size;
a transmission rate trend calculation unit for determining a trend of the transmission rate, wherein the trend is derived from a transmission rate gradient calculation, in which either the transmission rate measurements or the transmission rate gradient calculations or both, are filtered to reduce their temporal variability;
a congestion detection unit for detecting whether there is a congestion according to the determined trend of the transmission rate and the trend of the flight size;
a congestion handling unit for, upon positive detection of the congestion by the congestion detection unit, modifying the congestion window; and
a transmission unit for transmitting data while respecting the congestion window size.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the congestion detection unit is configured to
detect whether there is a congestion including detecting whether there is a congestion with unfair competition; and
to positively detect the congestion with unfair competition when the trend of the flight size is either increasing or substantially stable and the trend of the transmission rate is decreasing, and to negatively detect it otherwise.

### Claim 17 (depends on 15)

The apparatus according to claim 15, wherein the congestion detection unit is configured to
detect whether there is a congestion including detecting whether there is a congestion without unfair competition; and
to positively detect the congestion without unfair competition when the trend of the flight size is increasing and the trend of the transmission rate is substantially stable, and to negatively detect it otherwise.

### Claim 18 (depends on 15)

The apparatus according to claim 15, wherein the congestion detection unit is configured to
detect whether there is a congestion including detecting whether there is any of a congestion with unfair competition and a congestion without unfair competition,
to positively detect the congestion with unfair competition when the trend of the flight size is either increasing or substantially stable and the trend of the transmission rate is decreasing, and to negatively detect it otherwise, and
to positively detect the congestion without unfair competition when the trend of the flight size is increasing and the trend of the transmission rate is substantially stable, and to negatively detect it otherwise.

### Claim 19 (depends on 16)

The apparatus according to claim 16, wherein the congestion handling unit is configured to modify the congestion window including increasing the congestion window size upon positively detecting the congestion with unfair competition by the congestion detection unit.

### Claim 20 (depends on 17)

The apparatus according to claim 17, wherein the congestion handling unit is configured to modify the congestion window including reducing the congestion window size upon positively detecting the congestion without unfair competition by the congestion detection unit.

### Claim 21 (depends on 16)

The apparatus according to claim 16, wherein
the congestion handling unit is configured to modify the congestion window including changing from a current congestion control state to a new congestion control state upon positively detecting the congestion with unfair competition by the congestion detection unit, wherein the current and the new congestion control states specify respectively a current and a new rule for increasing the congestion window size upon receipt of data acknowledgements when neither congestion nor data losses have been detected by the congestion detection unit, and
the new rule specifies a faster rate of increasing the congestion window size than the current rule.

### Claim 22 (depends on 17)

The apparatus according to claim 17, wherein
the congestion handling unit is configured to modify the congestion window including changing from a current congestion control state to a new congestion control state upon positively detecting the congestion without unfair competition by the congestion detection unit, wherein the current and the new congestion control states specify respectively a current and a new rule for increasing the congestion window size upon receipt of data acknowledgements when neither congestion nor data losses have been detected by the congestion detection unit, and
the new rule specifies a slower rate of increasing the congestion window size than the current rule.

### Claim 23 (depends on 22)

The apparatus according to claim 22, wherein
the communication protocol is TCP,
the congestion handling unit is configured to change from a current congestion control state to a new congestion control state upon positively detecting the congestion with unfair competition is performed if the current congestion control state is TCP slow start and not to change the current congestion control state otherwise, and
the new congestion control state is TCP congestion avoidance.

### Claim 24 (depends on 20)

The apparatus according to claim 20, wherein
the communication protocol is TCP, and
the congestion handling unit is configured to reduce the congestion window size upon positively detecting the congestion without unfair competition if the transmitting node is in TCP congestion avoidance congestion control state and not to reduce the congestion window size otherwise.

### Claim 25 (depends on 21)

The apparatus according to claim 21, wherein
the flight size trend calculation unit and the transmission rate trend calculation unit are configured to calculate the trend of the flight size and the trend of the transmission rate, respectively, over a time period starting at an instant before and closest to a most recent change from a previous congestion control state to the current congestion control state, wherein the previous and the current congestion control states specify respectively a previous and a current rule for increasing the congestion window size upon receipt of data acknowledgements when neither congestion nor data losses have been detected by the congestion detection unit, and the previous congestion control state specifies a faster rate of increasing the congestion window size than the current congestion control state.

### Claim 26 (depends on 19)

The apparatus according to claim 19, wherein
the flight size trend calculation unit is configured to calculate the trend of the flight size over a time period starting at an instant after and closest to a most recent reduction of the congestion window size due to a congestion detected by the congestion detecting; and
the transmission rate trend calculation unit is configured to calculate the trend of the transmission rate over a time period starting at an instant before and closest to the most recent reduction of the congestion window size due to a congestion detected by the congestion detecting.

### Claim 27 (depends on 19)

The apparatus according to claim 19, wherein
the communication protocol is TCP, and
the congestion handling unit is configured to increase the congestion window size upon positively detecting the congestion with unfair competition if the transmitting node is in TCP congestion avoidance congestion control state and not to reduce the congestion window size otherwise.

### Claim 28 (depends on 21)

The apparatus according to claim 21, wherein
the communication protocol is TCP,
the congestion handling unit is configured to change from a current congestion control state to a new congestion control state upon positively detecting the congestion with unfair competition is performed if the current congestion control state is TCP congestion avoidance and not to change the current congestion control state otherwise, and
the new congestion control state is TCP slow start.
