Patent ID: 7724750

Claim:
A method, comprising: receiving an indication that a plurality of connections have been detected; determining a buffer occupancy level for each of the plurality of connections; prioritizing the connections comprising a smaller buffer occupancy level in comparison to the other connections; scheduling packets of the plurality of connections based on a result of the prioritizing; and allocating a priority indication to each of the plurality of connections based on the determined buffer occupancy level, wherein the determining the buffer occupancy level comprises computing the buffer occupancy level of a respective connection based on an equation: occupancy ⁡ ( i ) = bytes_enqueued ⁢ _for ⁢ _ ⁢ ( i ) ∑ j = 1 N ⁢ bytes_enqueued ⁢ _for ⁢ _ ⁢ ( j ) ; wherein i indicates the respective connection, occupancy(i) indicates the buffer occupancy level of the respective connection, bytes_enqueued_for indicates the number of bytes of a respective connection enqueued in the buffer, and N indicates the total number of the plurality of connections, wherein the allocating the priority indication comprises assigning a probability value which defines a transmission probability of a packet of the respective connection to each of the plurality of connections on the basis of the buffer occupancy level on the basis of an equation occupancy ⁡ ( i ) < 1 N - δ ; wherein i indicates the respective connection, sched_priority(i) indicates the probability value which defines a transmission probability of a packet of the respective connection, occupancy(i) indicates the buffer occupancy level of the respective connection, and N indicates the total number of the plurality of connections.