Patent ID: 7424546

Claim:
A method for controlling a data flow in a data network, the method comprising: selecting a stable gain combination of a proportional controller gain k p and an integral controller gain k i ; measuring a data arrival rate R(n) at time n; calculating an error signal e(n), according to the relation e ( n )=( T ( n )− R ( n ))/ x, where T(n) is an assigned capacity at time n and x (x≧1) is a parameter representing a nominal packet size used in the computation of k p and k i ; computing a mark/drop probability p(n) according to the relation p p ( n )=min{max[ k p ·e ( n ),0], p max } p 1 ( n )=min{max[ p 1 ( n− 1)+ k i ·Δt·e ( n ),0],p max } p ( n )=min{max[ p p ( n )+ p i ( n ),0] ,p max } where Δt is the time interval between a (n−1) th and the n th computation, and 0<p max ≦1; and executing a packet mark/drop routine, thereby producing at least one marked packed or at least one dropped packet, based upon the calculated mark/drop probability p(n).