Unlock instant, AI-driven research and patent intelligence for your innovation.

Message speed limiting method based on token barrel

A token bucket and message technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems that are not conducive to reducing message forwarding delay and low efficiency, so as to reduce forwarding delay time and improve accuracy Effect

Active Publication Date: 2007-03-07
SANECHIPS TECH CO LTD
View PDF1 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to provide a method of packet rate limiting based on token buckets, aiming at the inefficiency of the existing message rate limiting technology, which is not conducive to reducing the delay of message forwarding, etc., an improved message rate limit method is proposed. The rate limiting method divides the message into segments according to a fixed length, and limits the rate of the message in units of data segments; at the same time, a dual-port RAM (Random Access Memory: Random Access Memory) is used to count two consecutive data in the message The time difference between segments is used to calculate the number of filled tokens in the token bucket and reduce the forwarding delay time of messages in the system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message speed limiting method based on token barrel
  • Message speed limiting method based on token barrel
  • Message speed limiting method based on token barrel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The method of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0030] The method for limiting the speed of a message based on a token bucket in the present invention, specifically, every time a data segment of a fixed length in a message is received, an operation of filling a token is triggered, and a certain number of tokens are filled into the token bucket. token. Then judge whether the token in the token bucket exceeds the length of the message data segment, if the number of tokens is greater than or equal to the length of the data segment, then allow the data segment to pass, and subtract the length of the message data segment from the token bucket The corresponding number of tokens; if the number of tokens is less than the length of the message data segment, the data segment will be discarded, and the entire message to which the data segment belongs will be discarded, and the subsequent data segments of the me...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This invention provides one message limit method based on order barrel, which comprises the following steps: receiving certain message data triggering one filling order operation and filling certain order into barrel; judging whether order is over message section length and if order number is larger or equal to data section length then permitting data section and minus message data length; if order length is less than message length then discarding data section not repeating judge and to restore the data section to the order barrel.

Description

technical field [0001] The invention relates to a method for limiting the message rate in the data network field, in particular to a hardware implementation method for limiting the message rate by using a token bucket in the data network. Background technique [0002] In an existing data network, due to the burstiness of message traffic, network congestion often occurs. [0003] One way to solve network congestion is to limit the rate of the message at the receiving end. If the rate of the message is lower than the specified rate, the message will be received normally; if the rate of the message exceeds the specified rate, the message will be sent. The packet is discarded, or the priority of the packet is lowered. [0004] Currently, the commonly used method is to use token buckets to limit the rate of packets. As shown in Figure 1, the system continuously fills the token bucket with tokens at a specified rate until the token bucket is full. When a message arrives, compar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/56H04L47/21
Inventor 滕焕勇吴中文杨平
Owner SANECHIPS TECH CO LTD