发明名称
摘要 <p>A metering device has a first token bucket with a profile, a rate, and a maximum number of tokens. The device has another token bucket with its own profile, two associated rates, and a maximum number of tokens. In operation, the device monotonically increments the number of tokens in the first token bucket at its rate if the bucket has less than the maximum number of tokens for that bucket, and monotonically increments the number of tokens in the other token bucket at the same rate if the first token bucket is full and the other token bucket is not. Additionally, the device monotonically increments the number of tokens in the second token bucket according to the second rate associated with the token bucket if it is not full. When receiving a packet of size s data units, if the packet has a first marking, and the first token bucket has at least s tokens, the packet's marking is maintained and the number of tokens in the first bucket is decremented by s, else, if the packet has one of two markings, and the second token bucket has at least s tokens, the packet's second marking is selected and the second token bucket is decremented by s, else, if the packet has a marking other than one of the two markings, the packet's marking is maintained as other than one of the two markings.</p>
申请公布号 JP4490731(B2) 申请公布日期 2010.06.30
申请号 JP20040144715 申请日期 2004.05.14
申请人 发明人
分类号 H04L12/56 主分类号 H04L12/56
代理机构 代理人
主权项
地址