摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a rate color marker for preventing as much as possible a green packet from being re-colored to a red packet. <P>SOLUTION: A measuring device includes a first token bucket equipped with a profile, a rate and the maximum number of tokens and further includes the other token bucket equipped with a profile, two associated rates and the maximum number of tokens. When operating, the device monotonously increases the number of tokens in the first token bucket at its rate when a bucket is smaller than its maximum number of tokens, or monotonously increases the number of tokens in the other token bucket at the same rate when the first token bucket is filled but the other token bucket is not filled. Further, the device monotonously increases the number of tokens in the second token bucket according to the second rate relating to the token bucket when the second token bucket is not filled. <P>COPYRIGHT: (C)2005,JPO&NCIPI</p> |