JP2007049591A - Traffic control device, traffic control method, and computer program - Google Patents
Traffic control device, traffic control method, and computer program Download PDFInfo
- Publication number
- JP2007049591A JP2007049591A JP2005234066A JP2005234066A JP2007049591A JP 2007049591 A JP2007049591 A JP 2007049591A JP 2005234066 A JP2005234066 A JP 2005234066A JP 2005234066 A JP2005234066 A JP 2005234066A JP 2007049591 A JP2007049591 A JP 2007049591A
- Authority
- JP
- Japan
- Prior art keywords
- token
- buffer
- packet
- packets
- reading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 39
- 238000004590 computer program Methods 0.000 title claims description 23
- 239000000872 buffer Substances 0.000 claims abstract description 320
- 230000006870 function Effects 0.000 claims description 40
- 230000008569 process Effects 0.000 claims description 21
- 238000009789 rate limiting process Methods 0.000 claims description 5
- 238000004886 process control Methods 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
【課題】 トークンバケットを用いたトラフィック制御の柔軟性の向上を図る。
【解決手段】 トークンを蓄積するトークンバッファ12と、パケットを蓄積するパケットバッファ11と、パケットバッファ11からパケットを読み出すバッファ読み出し部13とを有するトークンバケット10を複数備え、トークンバケット10を直列に接続したことを特徴とする。
【選択図】 図1
PROBLEM TO BE SOLVED: To improve the flexibility of traffic control using a token bucket.
SOLUTION: A plurality of token buckets 10 having a token buffer 12 for storing tokens, a packet buffer 11 for storing packets, and a buffer reading unit 13 for reading packets from the packet buffer 11 are provided, and the token buckets 10 are connected in series. It is characterized by that.
[Selection] Figure 1
Description
本発明は、トラフィック制御装置、トラフィック制御方法及びコンピュータプログラムに関する。 The present invention relates to a traffic control device, a traffic control method, and a computer program.
従来、トークンバケットと呼ばれるトラフィック制御方式が知られている(例えば、非特許文献1参照)。トークンバケットは、トークンを蓄積するトークンバッファを備え、トークンバッファに蓄積されているトークンの量に応じてトラフィックの流量を制御する。トークンバケットの制御パラメータには、トークンバッファにトークンを入力するレートである「トークンレート」と、トークンバッファのサイズである「トークンバケットサイズ」とがある。トークンレートは、トラフィック流量の平均レートを規定する。トークンバケットサイズは、トラフィック流量の最大バースト長を規定する。
しかし、上述した従来のトークンバケットを用いたトラフィック制御では、平均レート及び最大バースト長を用いた局所的なトラフィック制御しか実現することができず、柔軟性に欠けるという問題がある。つまり、平均レートの制限により、長時間の平均で見たときに、ネットワークに流入するトラフィック量を一定以下に制限すること、また、最大バースト長の制限により、瞬間的にネットワークに流入するトラフィック量を一定以下に制限することはできる。しかしながら、インタラクティブなアプリケーションの使い勝手等のユーザの多様な要求を満たすことはできない。 However, in the traffic control using the above-described conventional token bucket, only local traffic control using the average rate and the maximum burst length can be realized, and there is a problem of lack of flexibility. In other words, by limiting the average rate, the amount of traffic flowing into the network is limited to a certain level or less when viewed over an average over a long period of time, and the amount of traffic flowing into the network instantaneously by limiting the maximum burst length Can be limited to below a certain level. However, it cannot meet various user requirements such as usability of interactive applications.
本発明は、このような事情を考慮してなされたもので、その目的は、トークンバケットを用いたトラフィック制御の柔軟性の向上を図ることのできるトラフィック制御装置、トラフィック制御方法を提供することにある。 The present invention has been made in view of such circumstances, and an object thereof is to provide a traffic control device and a traffic control method capable of improving the flexibility of traffic control using a token bucket. is there.
また、本発明の他の目的は、本発明のトラフィック制御装置をコンピュータを利用して実現するためのコンピュータプログラムを提供することにある。 Another object of the present invention is to provide a computer program for realizing the traffic control device of the present invention using a computer.
上記の課題を解決するために、本発明に係るトラフィック制御装置は、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを複数備え、前記トークンバケットを直列又は並列に接続したことを特徴とする。 In order to solve the above problems, a traffic control device according to the present invention includes a token bucket having a token buffer for storing tokens, a packet buffer for storing packets, and buffer reading means for reading packets from the packet buffer. A plurality of the token buckets are connected in series or in parallel.
本発明に係るトラフィック制御装置は、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを複数と、前記バッファ読み出し手段にパケットの読み出しを指示する制御手段と、を備え、前記制御手段は、全て或いは一部の前記トークンバケットのトークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 A traffic control device according to the present invention includes a plurality of token buckets each including a token buffer that accumulates tokens, a packet buffer that accumulates packets, and a buffer reading unit that reads packets from the packet buffer. Control means for instructing the reading of the packet, the control means sums the amount of tokens stored in the token buffer of all or a part of the token bucket, and the packet from the packet buffer of the token bucket. It is characterized by controlling reading.
本発明に係るトラフィック制御装置は、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段の組み合わせを複数と、トークンを蓄積するトークンバッファを複数と、前記バッファ読み出し手段にパケットの読み出しを指示する制御手段と、を備え、前記制御手段は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 The traffic control device according to the present invention includes a plurality of combinations of a packet buffer for accumulating packets and buffer reading means for reading packets from the packet buffer, a plurality of token buffers for accumulating tokens, and a packet read to the buffer reading means. Control means for instructing reading, and the control means controls the packet reading from the packet buffer of the token bucket by integrating the amount of tokens accumulated in the token buffer. To do.
本発明に係るトラフィック制御装置においては、前記複数のトークンバッファは、前記パケットバッファに各々対応するトークンバッファと、前記パケットバッファの全て或いは一部複数に対応するトークンバッファとから成ることを特徴とする。 In the traffic control device according to the present invention, the plurality of token buffers include a token buffer corresponding to each of the packet buffers and a token buffer corresponding to all or a part of the packet buffers. .
本発明に係るトラフィック制御装置は、複数の入力系統のパケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段と、トークンを蓄積するトークンバッファを複数と、前記バッファ読み出し手段にパケットの読み出しを指示する制御手段と、を備え、前記制御手段は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 A traffic control device according to the present invention includes a packet buffer for storing packets of a plurality of input systems, a buffer reading unit for reading packets from the packet buffer, a plurality of token buffers for storing tokens, and a packet to the buffer reading unit. Control means for instructing the reading of the token buffer, and the control means controls the packet reading from the packet buffer of the token bucket by integrating the amount of tokens accumulated in the token buffer. And
本発明に係るトラフィック制御装置においては、前記複数のトークンバッファは、前記入力系統に各々対応するトークンバッファと、前記入力系統の全て或いは一部複数に対応するトークンバッファとから成ることを特徴とする。 In the traffic control device according to the present invention, the plurality of token buffers includes a token buffer corresponding to each of the input systems and a token buffer corresponding to all or a part of the input systems. .
本発明に係るトラフィック制御装置は、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを複数と、前記トークンバッファに入力するトークンのレートを変更するトークンレート変更手段と、少なくとも一つの前記トークンバケットの状態値に基づき、他の前記トークンバケットのトークンレートを制御するトークンレート制御手段と、を備えたことを特徴とする。 The traffic control device according to the present invention inputs a plurality of token buckets having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer, to the token buffer. Token rate changing means for changing the token rate; and token rate control means for controlling the token rate of the other token bucket based on the state value of at least one of the token buckets.
本発明に係るトラフィック制御方法は、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを用いたトラフィック流量制限を行うトラフィック流量制限過程を複数有し、前記トラフィック流量制限過程を直列又は並列に実行することを特徴とする。 The traffic control method according to the present invention is a traffic flow rate restriction that uses a token bucket having a token buffer that accumulates tokens, a packet buffer that accumulates packets, and a buffer reading unit that reads packets from the packet buffer. A plurality of restriction processes are provided, and the traffic flow restriction process is executed in series or in parallel.
本発明に係るトラフィック制御方法は、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを用いたトラフィック流量制限を行うトラフィック流量制限過程を複数と、前記バッファ読み出し手段にパケットの読み出しを指示する制御過程と、を有し、前記制御過程は、全て或いは一部の前記トークンバケットのトークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 The traffic control method according to the present invention is a traffic flow rate restriction that uses a token bucket having a token buffer that accumulates tokens, a packet buffer that accumulates packets, and a buffer reading unit that reads packets from the packet buffer. A plurality of limiting processes, and a control process for instructing the buffer reading means to read packets, wherein the control process determines the amount of tokens stored in the token buffer of all or part of the token buckets. Overall, it controls the packet reading from the packet buffer of the token bucket.
本発明に係るトラフィック制御方法は、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段の組み合わせを複数と、トークンを蓄積するトークンバッファを複数とを用いたトラフィック流量制限を行うトラフィック流量制限過程と、前記バッファ読み出し手段にパケットの読み出しを指示する制御過程と、を有し、前記制御過程は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 The traffic control method according to the present invention performs traffic flow restriction using a plurality of combinations of packet buffers for storing packets and buffer reading means for reading packets from the packet buffers, and a plurality of token buffers for storing tokens. A traffic flow rate limiting process, and a control process for instructing the buffer reading means to read packets, and the control process combines the amount of tokens accumulated in the token buffer, It controls the packet reading from the packet buffer.
本発明に係るトラフィック制御方法においては、前記複数のトークンバッファは、前記パケットバッファに各々対応するトークンバッファと、前記パケットバッファの全て或いは一部複数に対応するトークンバッファとから成ることを特徴とする。 In the traffic control method according to the present invention, the plurality of token buffers include a token buffer corresponding to each of the packet buffers and a token buffer corresponding to all or a part of the packet buffers. .
本発明に係るトラフィック制御方法は、複数の入力系統のパケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段と、トークンを蓄積するトークンバッファを複数とを用いたトラフィック流量制限を行うトラフィック流量制限過程と、前記バッファ読み出し手段にパケットの読み出しを指示する制御過程と、を有し、前記制御過程は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 A traffic control method according to the present invention performs traffic flow restriction using a packet buffer that accumulates packets of a plurality of input systems, a buffer read unit that reads packets from the packet buffer, and a plurality of token buffers that accumulate tokens. A traffic flow limiting process to be performed, and a control process for instructing the buffer reading means to read packets, and the control process combines the token amount accumulated in the token buffer, The packet reading from the packet buffer is controlled.
本発明に係るトラフィック制御方法においては、前記複数のトークンバッファは、前記入力系統に各々対応するトークンバッファと、前記入力系統の全て或いは一部複数に対応するトークンバッファとから成ることを特徴とする。 In the traffic control method according to the present invention, the plurality of token buffers include a token buffer corresponding to each of the input systems and a token buffer corresponding to all or a part of the input systems. .
本発明に係るトラフィック制御方法は、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを複数用いたトラフィック流量制限を行うトラフィック流量制限過程と、前記トークンバッファに入力するトークンのレートを変更するトークンレート変更過程と、少なくとも一つの前記トークンバケットの状態値に基づき、他の前記トークンバケットのトークンレートを制御するトークンレート制御過程と、を有することを特徴とする。 The traffic control method according to the present invention provides traffic flow restriction using a plurality of token buckets having a token buffer for storing tokens, a packet buffer for storing packets, and buffer reading means for reading packets from the packet buffer. A flow rate limiting process, a token rate changing process for changing a token rate input to the token buffer, and a token rate control process for controlling a token rate of another token bucket based on a state value of at least one of the token buckets. It is characterized by having.
本発明に係るコンピュータプログラムは、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを用いたトラフィック流量制限を行うトラフィック流量制限機能を複数と、前記トラフィック流量制限機能を直列又は並列に実行する機能と、をコンピュータに実現させることを特徴とする。 A computer program according to the present invention provides a traffic flow restriction that performs traffic flow restriction using a token bucket having a token buffer that accumulates tokens, a packet buffer that accumulates packets, and a buffer reading unit that reads packets from the packet buffer. A computer is configured to realize a plurality of functions and a function of executing the traffic flow restriction function in series or in parallel.
本発明に係るコンピュータプログラムは、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを用いたトラフィック流量制限を行うトラフィック流量制限機能を複数と、前記バッファ読み出し手段にパケットの読み出しを指示する制御機能と、をコンピュータに実現させるコンピュータプログラムであり、前記制御機能は、全て或いは一部の前記トークンバケットのトークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 A computer program according to the present invention provides a traffic flow restriction that performs traffic flow restriction using a token bucket having a token buffer that accumulates tokens, a packet buffer that accumulates packets, and a buffer reading unit that reads packets from the packet buffer. A computer program for causing a computer to implement a plurality of functions and a control function for instructing the buffer reading means to read packets, wherein the control functions are stored in the token buffers of all or part of the token buckets. It is characterized by controlling the reading of the packet from the packet buffer of the token bucket by integrating the amount of tokens that are present.
本発明に係るコンピュータプログラムは、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段の組み合わせを複数と、トークンを蓄積するトークンバッファを複数とを用いたトラフィック流量制限を行うトラフィック流量制限機能と、前記バッファ読み出し手段にパケットの読み出しを指示する制御機能と、をコンピュータに実現させるコンピュータプログラムであり、前記制御機能は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 The computer program according to the present invention provides traffic flow restriction using a plurality of combinations of a packet buffer for storing packets and a plurality of buffer reading means for reading packets from the packet buffer, and a plurality of token buffers for storing tokens. A computer program for causing a computer to implement a flow rate limiting function and a control function for instructing the buffer reading means to read packets, and the control function combines the amount of tokens stored in the token buffer. The packet reading from the packet buffer of the token bucket is controlled.
本発明に係るコンピュータプログラムにおいては、前記複数のトークンバッファは、前記パケットバッファに各々対応するトークンバッファと、前記パケットバッファの全て或いは一部複数に対応するトークンバッファとから成ることを特徴とする。 In the computer program according to the present invention, the plurality of token buffers include a token buffer corresponding to each of the packet buffers and a token buffer corresponding to all or a part of the packet buffers.
本発明に係るコンピュータプログラムは、複数の入力系統のパケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段と、トークンを蓄積するトークンバッファを複数とを用いたトラフィック流量制限を行うトラフィック流量制限機能と、前記バッファ読み出し手段にパケットの読み出しを指示する制御機能と、をコンピュータに実現させるコンピュータプログラムであり、前記制御機能は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、ことを特徴とする。 The computer program according to the present invention performs traffic flow restriction using a packet buffer for storing packets of a plurality of input systems, a buffer reading means for reading packets from the packet buffer, and a plurality of token buffers for storing tokens. A computer program for causing a computer to implement a traffic flow rate limiting function and a control function for instructing the buffer reading means to read packets. The control function combines the amount of tokens stored in the token buffer. The packet reading from the packet buffer of the token bucket is controlled.
本発明に係るコンピュータプログラムにおいては、前記複数のトークンバッファは、前記入力系統に各々対応するトークンバッファと、前記入力系統の全て或いは一部複数に対応するトークンバッファとから成ることを特徴とする。 In the computer program according to the present invention, the plurality of token buffers includes a token buffer corresponding to each of the input systems and a token buffer corresponding to all or a part of the input systems.
本発明に係るコンピュータプログラムは、トークンを蓄積するトークンバッファと、パケットを蓄積するパケットバッファと、前記パケットバッファからパケットを読み出すバッファ読み出し手段とを有するトークンバケットを複数用いたトラフィック流量制限を行うトラフィック流量制限機能と、前記トークンバッファに入力するトークンのレートを変更するトークンレート変更機能と、少なくとも一つの前記トークンバケットの状態値に基づき、他の前記トークンバケットのトークンレートを制御するトークンレート制御機能と、をコンピュータに実現させることを特徴とする。
これにより、前述のトラフィック制御装置がコンピュータを利用して実現できるようになる。
A computer program according to the present invention provides a traffic flow rate restriction that uses a plurality of token buckets having a token buffer that accumulates tokens, a packet buffer that accumulates packets, and a buffer reading unit that reads packets from the packet buffer. A limit function, a token rate changing function for changing a rate of a token input to the token buffer, and a token rate control function for controlling a token rate of another token bucket based on a state value of at least one token bucket; Is realized by a computer.
As a result, the above-described traffic control device can be realized using a computer.
本発明によれば、トークンバケットを用いたトラフィック制御の柔軟性の向上を図ることができる。 According to the present invention, it is possible to improve the flexibility of traffic control using a token bucket.
以下、図面を参照し、本発明の各実施形態について順次説明する。
[第1実施形態]
図1は、本発明の第1実施形態に係るトラフィック制御装置1aの構成を示すブロック図である。第1実施形態では、複数のトークンバケットを直列に接続する。
図1において、トラフィック制御装置1aは、2つのトークンバケット10−1、10−2(以下、特に区別しないときは「トークンバケット10」と称する)を有する。それらトークンバケット10−1、10−2は、直列に接続されている。
Hereinafter, embodiments of the present invention will be sequentially described with reference to the drawings.
[First Embodiment]
FIG. 1 is a block diagram showing a configuration of a traffic control device 1a according to the first embodiment of the present invention. In the first embodiment, a plurality of token buckets are connected in series.
In FIG. 1, the traffic control device 1 a has two token buckets 10-1 and 10-2 (hereinafter referred to as “
トークンバケット10は、パケットバッファ11とトークンバッファ12とバッファ読み出し部13とを有する。
パケットバッファ11は、トークンバケット10に入力されたパケットPaを蓄積する。
トークンバッファ12はトークンを蓄積する。トークンバッファ12には、トークンレートrでトークンが入力される。また、トークンバッファ12のサイズであるトークンバケットサイズbが設定される。トークンレートr及びトークンバケットサイズbは、トークンバケット10−1、10−2毎に個別に設定可能である。
バッファ読み出し部13は、トークンバッファ12に蓄積されているトークンの量に応じてパケットバッファ11からパケットPaを読み出し、読み出したパケットPaを出力する。
The
The
The
The
図1のトラフィック制御装置1aに入力されたパケットPaは、まず一段目のトークンバケット10−1でトラフィック流量の制限を受ける。そして、トークンバケット10−1出力後のパケットPaは、二段目のトークンバケット10−2に入力され、二段目のトークンバケット10−2でのトラフィック流量の制限を受けた後に出力される。 The packet Pa input to the traffic control device 1a in FIG. 1 is first subjected to traffic flow restriction in the first-stage token bucket 10-1. The packet Pa after the output of the token bucket 10-1 is input to the second-stage token bucket 10-2, and is output after being restricted in traffic flow in the second-stage token bucket 10-2.
上述した第1実施形態によれば、まず、一段目のトークンバケット10−1によって入力トラフィックのトラフィック流量を制限する。次いで、その一段目によって制限されたトラフィックに対して、さらに二段目のトークンバケット10−2によってトラフィック流量を制限する。これにより、トークンレートr(トラフィック流量の平均レート)及びトークンバケットサイズb(トラフィック流量の最大バースト長)を用いた2段階のトラフィック制御を行うことができ、より柔軟なトラフィック制御を行うことが可能となる。 According to the first embodiment described above, first, the traffic flow rate of input traffic is limited by the first-stage token bucket 10-1. Next, for the traffic restricted by the first stage, the traffic flow rate is further restricted by the second-stage token bucket 10-2. As a result, two-level traffic control using the token rate r (average rate of traffic flow) and token bucket size b (maximum burst length of traffic flow) can be performed, and more flexible traffic control can be performed. It becomes.
なお、上述した図1の構成例では、トークンバケット10の直列2段構成を一例として挙げたが、さらなる直列多段構成(3段以上)も同様に可能である。
In the configuration example of FIG. 1 described above, the serial two-stage configuration of the
[第2実施形態]
図2は、本発明の第2実施形態に係るトラフィック制御装置1bの構成を示すブロック図である。この図2において図1の各部に対応する部分には同一の符号を付け、その説明を省略する。第2実施形態では、複数のトークンバケットを並列に接続する。
図2において、トラフィック制御装置1bは、2つのトークンバケット10−1、10−2とクラシファイア21とトランスミッタ22とを有する。トークンバケット10−1、10−2は、入力側はクラシファイア21、出力側はトランスミッタ22を介して並列に接続される構成となっている。
[Second Embodiment]
FIG. 2 is a block diagram showing the configuration of the
In FIG. 2, the
クラシファイア21は、トラフィック制御装置1bに入力されたパケットPaを個々のQOS(Quality Of Service)クラスに分類する。そして、その分類したパケットPaを各QoSクラスに対応付けられているトークンバケット10−1、10−2に振り分けて出力する。
トランスミッタ22は、トークンバケット10−1、10−2からそれぞれ出力されたパケットPaを一系統にまとめて出力する。
The
The
上述した第2実施形態によれば、QoSクラスに応じてトークンバケット10−1、10−2を使い分けし、各QoSクラスに適したトラフィック流量制限を行うことができる。 According to the second embodiment described above, the token buckets 10-1 and 10-2 can be selectively used according to the QoS class, and traffic flow restriction suitable for each QoS class can be performed.
なお、上述した図2の構成例では、トークンバケット10の並列2段構成を一例として挙げたが、さらなる並列多段構成(3段以上)も同様に可能である。
また、上述した例では、クラシファイア21は、QOSクラスでの分類を行ったが、アプリケーション毎等、他の分類を行うようにしてもよい。
In the configuration example of FIG. 2 described above, the parallel two-stage configuration of the
In the above-described example, the
[第3実施形態]
図3は、本発明の第3実施形態に係るトラフィック制御装置1cの構成を示すブロック図である。この図3において図1、図2の各部に対応する部分には同一の符号を付け、その説明を省略する。第3実施形態では、複数のトークンバケットを直列及び並列に接続する。
図3において、トラフィック制御装置1cは、3つのトークンバケット10−1〜3とクラシファイア21とトランスミッタ22とを有する。
[Third Embodiment]
FIG. 3 is a block diagram showing a configuration of a
In FIG. 3, the
クラシファイア21によって分類されたパケットPaは、各々対応するトークンバケット10−1、10−2に入力される。トークンバケット10−1、10−2は、入力されたパケットPaに対して、それぞれ個別のトラフィック流量制限を行う。トークンバケット10−1、10−2出力後のパケットPaは、トークンバケット10−3に入力される。トークンバケット10−3は、入力されたパケットPaに対して独自のトラフィック流量制限を行う。トークンバケット10−3出力後のパケットPaは、トランスミッタ22に入力される。
The packets Pa classified by the
また、クラシファイア21によって分類されたパケットPaの一部は、トークンバケット10−1〜3を介さずにトランスミッタ22に入力される。
Further, a part of the packet Pa classified by the
上述した第3実施形態によれば、トークンバケット10−1、10−2の並列接続構成によるQoSクラス等の分類に応じたトラフィック制御機能と、トークンバケット10−1、10−2と10−3の直列接続構成による二段階のトラフィック制御機能とを併せ持つことができる。これにより、トラフィック制御の更なる柔軟性向上を実現できる。 According to the third embodiment described above, the traffic control function according to the classification of the QoS class or the like by the parallel connection configuration of the token buckets 10-1 and 10-2, and the token buckets 10-1, 10-2 and 10-3. It is possible to have a two-stage traffic control function by the serial connection configuration. Thereby, the further flexibility improvement of traffic control is realizable.
なお、上述した図3の構成例では、トークンバケット10の直列及び並列ともに2段の構成を一例として挙げたが、さらなる多段構成(3段以上)も同様に可能である。また、直列接続と並列接続の段数は異なっていてもよい。
In the configuration example of FIG. 3 described above, a two-stage configuration is given as an example for both the serial and parallel
[第4実施形態]
図4は、本発明の第4実施形態に係るトラフィック制御装置1dの構成を示すブロック図である。この図4において図1の各部に対応する部分には同一の符号を付け、その説明を省略する。また、図4では、トラフィック制御装置1dの入力パケットを分類するクラシファイア21については省略している。
[Fourth Embodiment]
FIG. 4 is a block diagram showing a configuration of a
上述した第1〜3の実施形態では、トークンバケット10毎に個別のトラフィック制御を行ったが、第4実施形態では複数のトークンバケットによるトラフィック制御を統合して行う。
In the first to third embodiments described above, individual traffic control is performed for each
図4において、トラフィック制御装置1dは、3つのトークンバケット100−1〜3(以下、特に区別しないときは「トークンバケット100」と称する)と制御部31とを有する。トークンバケット100−1〜3は、上記図3のトークンバケット10−1〜3の接続構成と同様に、トークンバケット100−1と100−2が並列に、そして、トークンバケット100−1、100−2と100−3が直列に接続される構成となっている。
In FIG. 4, the
トークンバケット100は、上述した第1〜3の実施形態のトークンバケット10と同様の構成であるが、バッファ読み出し部13は、制御部31からの指示に従ってパケットバッファ11からのパケット読み出しを行う。
The token bucket 100 has the same configuration as the
制御部31は、各トークンバケット100−1〜3のトークンバッファ12に蓄積されているトークンの量を総合して、各トークンバケット100−1〜3のパケットバッファ11からのパケット読み出し制御を行う。そして、その読み出し制御の結果である読み出し制御指示を、各トークンバケット100−1〜3のバッファ読み出し部13に出力する。
The
上述した第4実施形態によれば、各トークンバケット100−1〜3のトークンバッファ12に蓄積されているトークンの量を総合して、トラフィック制御を行うことができる。これにより、多様なトラフィック制御の実現が可能となる。
According to the above-described fourth embodiment, it is possible to perform traffic control by integrating the amount of tokens accumulated in the
なお、上述した図4の構成例では、トークンバケット100の直列及び並列ともに2段の構成を一例として挙げたが、さらなる多段構成(3段以上)も同様に可能である。また、直列接続と並列接続の段数は異なっていてもよい。 In the configuration example of FIG. 4 described above, a two-stage configuration is given as an example for both the serial and parallel token buckets 100, but a multi-stage configuration (three or more stages) is also possible. Further, the number of stages of series connection and parallel connection may be different.
また、制御部31は、トラフィック制御装置1d内の全て或いは一部のトークンバケット100のトークンバッファ12に蓄積されているトークンの量を総合して、各トークンバケット100のパケットバッファ11からのパケット読み出し制御を行えばよい。
Also, the
[第5実施形態]
図5は、本発明の第5実施形態に係るトラフィック制御装置1eの構成を示すブロック図である。この図5において図4の各部に対応する部分には同一の符号を付け、その説明を省略する。また、図5では、トラフィック制御装置1eの入力パケットを分類するクラシファイア21と、トラフィック制御装置1eの出力パケットを一系統にまとめて出力するトランスミッタ22については省略している。
[Fifth Embodiment]
FIG. 5 is a block diagram showing a configuration of a traffic control device 1e according to the fifth embodiment of the present invention. In FIG. 5, parts corresponding to those in FIG. 4 are denoted by the same reference numerals, and description thereof is omitted. In FIG. 5, the
第5実施形態では、複数のトークンバケットによるトラフィック制御を統合して行う場合の変形例を示している。 In the fifth embodiment, a modification is shown in the case where traffic control by a plurality of token buckets is integrated.
図5において、トラフィック制御装置1eは、パケットバッファ11−1とバッファ読み出し部13−1の組み合わせと、パケットバッファ11−2とバッファ読み出し部13−2の組み合わせと、3つのトークンバッファ12−1〜3と、制御部31とを有する。
In FIG. 5, the traffic control device 1e includes a combination of a packet buffer 11-1 and a buffer reading unit 13-1, a combination of a packet buffer 11-2 and a buffer reading unit 13-2, and three token buffers 12-1 to 12-1. 3 and a
パケットバッファ11−1、11−2には、それぞれ対応する系統のパケットPaが入力される。
トークンバッファ12−1は、パケットバッファ11−1からの読み出し制御に用いられる。トークンバッファ12−2は、パケットバッファ11−2からの読み出し制御に用いられる。トークンバッファ12−2は、パケットバッファ11−1からの読み出し制御及びパケットバッファ11−2からの読み出し制御の両方に用いられる。
The packet buffers 11-1 and 11-2 are respectively input with the corresponding system packet Pa.
The token buffer 12-1 is used for read control from the packet buffer 11-1. The token buffer 12-2 is used for read control from the packet buffer 11-2. The token buffer 12-2 is used for both read control from the packet buffer 11-1 and read control from the packet buffer 11-2.
制御部31は、トークンバッファ12−1及び12−3に蓄積されているトークンの量に応じて、パケットバッファ11−1からの読み出し制御を行う。また、トークンバッファ12−2及び12−3に蓄積されているトークンの量に応じて、パケットバッファ11−1からの読み出し制御を行う。
The
上述した第5実施形態によれば、トークンバッファ12−3に係るトークンレートr(トラフィック流量の平均レート)及びトークンバケットサイズb(トラフィック流量の最大バースト長)によって、各パケットバッファ11−1、11−2からの出力トラフィックを統合して制御することができる。 According to the fifth embodiment described above, each of the packet buffers 11-1 and 11 depends on the token rate r (average rate of traffic flow) and the token bucket size b (maximum burst length of traffic flow) related to the token buffer 12-3. -2 can be integrated and controlled.
なお、上述した図5の構成例では、パケットバッファ11の並列2段構成を一例として挙げたが、さらなる並列多段構成(3段以上)も同様に可能である。
また、上述した図5の構成例では、並列多段構成としたが、直列多段構成についても同様に適用可能である。
In the configuration example of FIG. 5 described above, the parallel two-stage configuration of the
In the configuration example of FIG. 5 described above, a parallel multi-stage configuration is used, but the present invention can be similarly applied to a series multi-stage configuration.
また、制御部31は、トラフィック制御装置1e内の全て或いは一部のトークンバッファ12に蓄積されているトークンの量を総合して、各パケットバッファ11からのパケット読み出しを制御すればよい。
Further, the
また、複数のトークンバッファ12は、パケットバッファ11に各々対応するトークンバッファ12と、パケットバッファ11の全て或いは一部複数に対応するトークンバッファ12とから成るようにしてもよい。例えば、トークンバッファ12−1、12−2は各々パケットバッファ11−1、11−2に対応して設けられるが、トークンバッファ12−3は一方のパケットバッファ11のみ(例えばパケットバッファ11−1のみ)のパケット読み出し制御に用いられるようにしてもよい。
The plurality of
[第6実施形態]
図6は、本発明の第6実施形態に係るトラフィック制御装置1fの構成を示すブロック図である。この図6において図5の各部に対応する部分には同一の符号を付け、その説明を省略する。また、図6では、トラフィック制御装置1fの入力パケットを分類するクラシファイア21については省略している。
[Sixth Embodiment]
FIG. 6 is a block diagram showing a configuration of a
第6実施形態では、複数のトークンバケットによるトラフィック制御を統合して行う場合の他の変形例を示している。 In the sixth embodiment, another modification example in which traffic control by a plurality of token buckets is integrated is shown.
図6において、トラフィック制御装置1fは、一つのパケットバッファ11とそのバッファ読み出し部13aと、3つのトークンバッファ12−1〜3と、制御部31とを有する。
In FIG. 6, the
パケットバッファ11には、二系統のパケットPa−1、Pa−2が入力される。
トークンバッファ12−1は、パケットバッファ11からのパケットPa−1の読み出し制御に用いられる。トークンバッファ12−2は、パケットバッファ11からのパケットPa−2の読み出し制御に用いられる。トークンバッファ12−2は、パケットバッファ11からのパケットPa−1の読み出し制御及びパケットバッファ11からのパケットPa−2の読み出し制御の両方に用いられる。
Two packets Pa-1 and Pa-2 are input to the
The token buffer 12-1 is used for reading control of the packet Pa-1 from the
制御部31は、トークンバッファ12−1及び12−3に蓄積されているトークンの量に応じて、パケットバッファ11からのパケットPa−1の読み出し制御を行う。また、トークンバッファ12−2及び12−3に蓄積されているトークンの量に応じて、パケットバッファ11からのパケットPa−2の読み出し制御を行う。
The
バッファ読み出し部13aは、制御部31からの指示に従って、パケットバッファ11からパケットPa−1、Pa−2を読み出す。
The
上述した第6実施形態によれば、一つのパケットバッファ11のみを備える構成において、QoSクラス等で分類された二系統のパケットPa−1、Pa−2に対する個別のトラフィック制御を実現することができる。
According to the sixth embodiment described above, individual traffic control for the two systems of packets Pa-1 and Pa-2 classified by the QoS class or the like can be realized in a configuration including only one
なお、上述した図6の構成例では、パケットバッファ11へのパケットの入力系統を二系統としたが、さらなる多系統(三系統以上)も同様に可能である。
In the configuration example of FIG. 6 described above, the input system of the packet to the
また、制御部31は、トラフィック制御装置1f内の全て或いは一部のトークンバッファ12に蓄積されているトークンの量を総合して、パケットバッファ11からのパケット読み出しを制御すればよい。
Further, the
また、複数のトークンバッファ12は、パケット入力系統に各々対応するトークンバッファ12と、パケット入力系統の全て或いは一部複数に対応するトークンバッファ12とから成るようにしてもよい。例えば、トークンバッファ12−1、12−2は各々パケットPa−1、Pa−2に対応して設けられるが、トークンバッファ12−3は一方のパケットPaのみ(例えばパケットPa−1のみ)のパケット読み出し制御に用いられるようにしてもよい。
The plurality of
[第7実施形態]
図7は、本発明の第7実施形態に係るトラフィック制御装置1gの構成を示すブロック図である。この図7において図1及び図3の各部に対応する部分には同一の符号を付け、その説明を省略する。また、図7では、トラフィック制御装置1gの入力パケットを分類するクラシファイア21については省略している。
[Seventh Embodiment]
FIG. 7 is a block diagram showing a configuration of a
上述した第1〜6の実施形態では、トークンバッファ12のトークンレートr(トラフィック流量の平均レート)は固定としたが、第7実施形態ではトークンレートrを可変とする。
In the first to sixth embodiments described above, the token rate r (average rate of traffic flow) of the
図7において、トラフィック制御装置1gは、図3のトラフィック制御装置1cとほぼ同様の構成である。但し、図7のトラフィック制御装置1gには、トークンレート制御部41を設けている。また、トラフィック制御装置1gのトークンバケット10−1、10−2には、トークンレート変更部42を設けている。
In FIG. 7, the
トークンレート制御部41は、トークンバケット10−3の状態値xに基づき、トークンバケット10−1、10−2のトークンレートrを制御する。例えば、所定の関数f(x)を定義し、関数f(x)の値をトークンレートrとする。関数f(x)の一例としては、
f(x)=axb+c、
が利用できる。但し、a,b,cは任意に設定可能な定数である。
また、トークンバケット10の状態値xとしては、
(1)トークンバッファ12に蓄積されているトークンの量、
(2)パケットバッファ11に蓄積されているパケットのバイト数、
(3)パケットバッファ11に蓄積されているパケット数、
などが利用できる。
The token
f (x) = ax b + c,
Is available. However, a, b, and c are constants that can be arbitrarily set.
Moreover, as the state value x of the
(1) the amount of tokens stored in the
(2) the number of bytes of the packet stored in the
(3) the number of packets stored in the
Etc. are available.
また、トークンレートrの最大値又は最小値を設定し、関数f(x)の値がその最大値又は最小値で規定される範囲を超えた場合には、その範囲内に収めるようにトークンレートrの値を補正するようにしてもよい。 In addition, when the maximum value or minimum value of the token rate r is set, and the value of the function f (x) exceeds the range specified by the maximum value or minimum value, the token rate is set so as to fall within the range. The value of r may be corrected.
トークンレート制御部41は、トークンバケット10−3の状態値xに基づき、トークンバケット10−1、10−2のトークンレートrを決定し、決定したトークンレートrをトークンバケット10−1、10−2に指示する。
The token
トークンバケット10−1、10−2のトークンレート変更部42は、トークンレート制御部41からのトークンレートrの指示に従って、トークンレートrを変更する。これにより、トークンバケット10−1、10−2のトークンバッファ12のトークンレートrが更新される。
The token
上述した第7実施形態によれば、あるトークンバケット10の状態を他のトークンバケット10のトークンレートr(トラフィック流量の平均レート)に反映させたトラフィック制御を実現することができる。これにより、トラフィック流量の制限を動的に変更することが可能となる。
According to the seventh embodiment described above, traffic control in which the state of a certain
なお、状態値を参照するトークンバケット10は、任意に選択可能である。また、その選択数は、少なくとも一つあればよく、複数のトークンバケット10の状態値を参照するようにしてもよい。
The
また、あるトークンバケット10の状態を反映させる他のトークンバケット10は、任意に選択可能である。また、その選択数は、一つ或いは複数であってよい。
Further, another
なお、上述した第1〜7の実施形態を適宜組み合わせることは可能である。 In addition, it is possible to combine the 1st-7th embodiment mentioned above suitably.
また、図1〜図7のいずれかに示すトラフィック制御装置の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりトラフィック制御処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
Moreover, the program for implement | achieving the function of the traffic control apparatus shown in any of FIGS. 1-7 is recorded on a computer-readable recording medium, and the program recorded on this recording medium is read into a computer system, You may perform a traffic control process by performing. Here, the “computer system” may include an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a CD-ROM, a hard disk built in a computer system, etc. This is a storage device.
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.
1a〜1g…トラフィック制御装置、10,100…トークンバケット、11…パケットバッファ、12…トークンバッファ、13…バッファ読み出し部、21…クラシファイア、22…トランスミッタ、31…制御部、41…トークンレート制御部、42…トークンレート変更部、b…トークンバケットサイズ、r…トークンレート、Pa…パケット
DESCRIPTION OF SYMBOLS 1a-1g ... Traffic control apparatus 10,100 ... Token bucket, 11 ... Packet buffer, 12 ... Token buffer, 13 ... Buffer reading part, 21 ... Classifier, 22 ... Transmitter, 31 ... Control part, 41 ... Token
Claims (21)
前記トークンバケットを直列又は並列に接続したことを特徴とするトラフィック制御装置。 A plurality of token buckets having a token buffer for storing tokens, a packet buffer for storing packets, and buffer reading means for reading packets from the packet buffer;
A traffic control apparatus, wherein the token buckets are connected in series or in parallel.
前記バッファ読み出し手段にパケットの読み出しを指示する制御手段と、を備え、
前記制御手段は、全て或いは一部の前記トークンバケットのトークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするトラフィック制御装置。 A plurality of token buckets having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer;
Control means for instructing the buffer reading means to read packets,
The control means controls packet reading from the packet buffer of the token bucket by totalizing the amount of tokens stored in the token buffer of all or part of the token bucket.
A traffic control device.
トークンを蓄積するトークンバッファを複数と、
前記バッファ読み出し手段にパケットの読み出しを指示する制御手段と、を備え、
前記制御手段は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするトラフィック制御装置。 A plurality of combinations of packet buffers for storing packets and buffer reading means for reading packets from the packet buffer;
Multiple token buffers for storing tokens,
Control means for instructing the buffer reading means to read packets,
The control means controls the packet reading from the packet buffer of the token bucket by integrating the amount of tokens accumulated in the token buffer;
A traffic control device.
前記パケットバッファからパケットを読み出すバッファ読み出し手段と、
トークンを蓄積するトークンバッファを複数と、
前記バッファ読み出し手段にパケットの読み出しを指示する制御手段と、を備え、
前記制御手段は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするトラフィック制御装置。 A packet buffer for storing packets of multiple input systems;
Buffer reading means for reading packets from the packet buffer;
Multiple token buffers for storing tokens,
Control means for instructing the buffer reading means to read packets,
The control means controls the packet reading from the packet buffer of the token bucket by integrating the amount of tokens accumulated in the token buffer;
A traffic control device.
前記トークンバッファに入力するトークンのレートを変更するトークンレート変更手段と、
少なくとも一つの前記トークンバケットの状態値に基づき、他の前記トークンバケットのトークンレートを制御するトークンレート制御手段と、
を備えたことを特徴とするトラフィック制御装置。 A plurality of token buckets having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer;
Token rate changing means for changing the rate of tokens input to the token buffer;
Token rate control means for controlling the token rate of the other token bucket based on the state value of at least one of the token buckets;
A traffic control device comprising:
前記トラフィック流量制限過程を直列又は並列に実行することを特徴とするトラフィック制御方法。 A plurality of traffic flow rate limiting processes for performing traffic flow rate limitation using a token bucket having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer;
A traffic control method, wherein the traffic flow restriction process is executed in series or in parallel.
前記バッファ読み出し手段にパケットの読み出しを指示する制御過程と、を有し、
前記制御過程は、全て或いは一部の前記トークンバケットのトークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするトラフィック制御方法。 A plurality of traffic flow rate limiting processes for limiting traffic flow rate using a token bucket having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer;
A control process for instructing the buffer reading means to read out the packet,
The control process controls the packet reading from the packet buffer of the token bucket by totalizing the amount of tokens stored in the token buffer of all or part of the token bucket.
A traffic control method characterized by the above.
前記バッファ読み出し手段にパケットの読み出しを指示する制御過程と、を有し、
前記制御過程は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするトラフィック制御方法。 A traffic flow limiting process for limiting traffic flow using a plurality of combinations of a packet buffer for storing packets and a plurality of buffer reading means for reading packets from the packet buffer; and a plurality of token buffers for storing tokens;
A control process for instructing the buffer reading means to read out the packet,
The control process controls packet reading from the packet buffer of the token bucket by combining the amount of tokens accumulated in the token buffer.
A traffic control method characterized by the above.
前記バッファ読み出し手段にパケットの読み出しを指示する制御過程と、を有し、
前記制御過程は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするトラフィック制御方法。 A packet buffer for storing packets of a plurality of input systems, a buffer reading means for reading packets from the packet buffer, and a traffic flow rate limiting process for limiting traffic flow using a plurality of token buffers for storing tokens;
A control process for instructing the buffer reading means to read out the packet,
The control process controls packet reading from the packet buffer of the token bucket by combining the amount of tokens accumulated in the token buffer.
A traffic control method characterized by the above.
前記トークンバッファに入力するトークンのレートを変更するトークンレート変更過程と、
少なくとも一つの前記トークンバケットの状態値に基づき、他の前記トークンバケットのトークンレートを制御するトークンレート制御過程と、
を有することを特徴とするトラフィック制御方法。 A traffic flow restriction process for restricting a traffic flow using a plurality of token buckets having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer;
A token rate changing process for changing a rate of a token to be input to the token buffer;
A token rate control process for controlling a token rate of another token bucket based on a state value of at least one of the token buckets;
A traffic control method characterized by comprising:
前記トラフィック流量制限機能を直列又は並列に実行する機能と、
をコンピュータに実現させることを特徴とするコンピュータプログラム。 A plurality of traffic flow rate limiting functions for limiting traffic flow rate using a token bucket having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer;
A function of executing the traffic flow restriction function in series or in parallel;
A computer program for causing a computer to realize the above.
前記バッファ読み出し手段にパケットの読み出しを指示する制御機能と、をコンピュータに実現させるコンピュータプログラムであり、
前記制御機能は、全て或いは一部の前記トークンバケットのトークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするコンピュータプログラム。 A plurality of traffic flow rate limiting functions for limiting traffic flow rate using a token bucket having a token buffer for storing tokens, a packet buffer for storing packets, and a buffer reading means for reading packets from the packet buffer;
A computer program for causing a computer to realize a control function for instructing the buffer reading means to read a packet;
The control function controls the reading of packets from the packet buffer of the token bucket by totalizing the amount of tokens accumulated in the token buffer of all or part of the token buckets.
A computer program characterized by the above.
前記バッファ読み出し手段にパケットの読み出しを指示する制御機能と、をコンピュータに実現させるコンピュータプログラムであり、
前記制御機能は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするコンピュータプログラム。 A traffic flow restriction function for restricting traffic flow using a plurality of combinations of a packet buffer for storing packets and a plurality of buffer reading means for reading packets from the packet buffer; and a plurality of token buffers for storing tokens;
A computer program for causing a computer to realize a control function for instructing the buffer reading means to read a packet;
The control function controls packet reading from the packet buffer of the token bucket by totalizing the amount of tokens accumulated in the token buffer.
A computer program characterized by the above.
前記バッファ読み出し手段にパケットの読み出しを指示する制御機能と、をコンピュータに実現させるコンピュータプログラムであり、
前記制御機能は、前記トークンバッファに蓄積されているトークンの量を総合して、前記トークンバケットのパケットバッファからのパケット読み出しを制御する、
ことを特徴とするコンピュータプログラム。 A packet buffer for storing packets of a plurality of input systems, a buffer reading means for reading packets from the packet buffer, a traffic flow rate limiting function for limiting traffic flow using a plurality of token buffers for storing tokens,
A computer program for causing a computer to realize a control function for instructing the buffer reading means to read a packet;
The control function controls packet reading from the packet buffer of the token bucket by totalizing the amount of tokens accumulated in the token buffer.
A computer program characterized by the above.
前記トークンバッファに入力するトークンのレートを変更するトークンレート変更機能と、
少なくとも一つの前記トークンバケットの状態値に基づき、他の前記トークンバケットのトークンレートを制御するトークンレート制御機能と、
をコンピュータに実現させることを特徴とするコンピュータプログラム。
A traffic flow restriction function for restricting traffic flow using a plurality of token buckets having a token buffer for accumulating tokens, a packet buffer for accumulating packets, and a buffer reading means for reading packets from the packet buffer;
A token rate changing function for changing a token rate to be input to the token buffer;
A token rate control function for controlling a token rate of the other token bucket based on a state value of at least one of the token buckets;
A computer program for causing a computer to realize the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005234066A JP4704147B2 (en) | 2005-08-12 | 2005-08-12 | Traffic control device, traffic control method, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005234066A JP4704147B2 (en) | 2005-08-12 | 2005-08-12 | Traffic control device, traffic control method, and computer program |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010158196A Division JP2010246155A (en) | 2010-07-12 | 2010-07-12 | Traffic control device, traffic control method, and computer program |
JP2010280730A Division JP2011083028A (en) | 2010-12-16 | 2010-12-16 | Traffic control device, traffic control method and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007049591A true JP2007049591A (en) | 2007-02-22 |
JP4704147B2 JP4704147B2 (en) | 2011-06-15 |
Family
ID=37852037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005234066A Active JP4704147B2 (en) | 2005-08-12 | 2005-08-12 | Traffic control device, traffic control method, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4704147B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011182186A (en) * | 2010-03-01 | 2011-09-15 | Fujitsu Ltd | Communication device, method for controlling traffic volume, and program |
JP2011254422A (en) * | 2010-06-04 | 2011-12-15 | Kawasaki Microelectronics Inc | Communication control device and shaping device |
US8311052B2 (en) | 2007-12-17 | 2012-11-13 | Kddi Corporation | Control of packet buffer using token buckets with different token bucket sizes |
WO2013073639A1 (en) * | 2011-11-15 | 2013-05-23 | 日本電気株式会社 | Network communication device and transfer frame priority band restriction method |
CN103581188A (en) * | 2013-11-05 | 2014-02-12 | 中国科学院计算技术研究所 | Network security situation forecasting method and system |
CN115277577A (en) * | 2022-09-28 | 2022-11-01 | 平安银行股份有限公司 | Data processing method, data processing device, computer equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000349812A (en) * | 1999-06-02 | 2000-12-15 | Hitachi Ltd | Bandwidth monitoring method and device |
JP2003046555A (en) * | 2001-07-31 | 2003-02-14 | Hitachi Ltd | Bandwidth monitoring device |
JP2004320380A (en) * | 2003-04-15 | 2004-11-11 | Furukawa Electric Co Ltd:The | Band control method and its band controller |
JP2004336549A (en) * | 2003-05-09 | 2004-11-25 | Furukawa Electric Co Ltd:The | Method and device for band control |
JP2005513829A (en) * | 2001-11-30 | 2005-05-12 | フォアスティックス プロプライエタリー リミテッド | Rate limiting with dynamic autocorrection |
US20050120102A1 (en) * | 2003-06-27 | 2005-06-02 | Cisco Technology, Inc. | Methods and devices for flexible bandwidth allocation |
-
2005
- 2005-08-12 JP JP2005234066A patent/JP4704147B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000349812A (en) * | 1999-06-02 | 2000-12-15 | Hitachi Ltd | Bandwidth monitoring method and device |
JP2003046555A (en) * | 2001-07-31 | 2003-02-14 | Hitachi Ltd | Bandwidth monitoring device |
JP2005513829A (en) * | 2001-11-30 | 2005-05-12 | フォアスティックス プロプライエタリー リミテッド | Rate limiting with dynamic autocorrection |
JP2004320380A (en) * | 2003-04-15 | 2004-11-11 | Furukawa Electric Co Ltd:The | Band control method and its band controller |
JP2004336549A (en) * | 2003-05-09 | 2004-11-25 | Furukawa Electric Co Ltd:The | Method and device for band control |
US20050120102A1 (en) * | 2003-06-27 | 2005-06-02 | Cisco Technology, Inc. | Methods and devices for flexible bandwidth allocation |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8311052B2 (en) | 2007-12-17 | 2012-11-13 | Kddi Corporation | Control of packet buffer using token buckets with different token bucket sizes |
JP2011182186A (en) * | 2010-03-01 | 2011-09-15 | Fujitsu Ltd | Communication device, method for controlling traffic volume, and program |
JP2011254422A (en) * | 2010-06-04 | 2011-12-15 | Kawasaki Microelectronics Inc | Communication control device and shaping device |
WO2013073639A1 (en) * | 2011-11-15 | 2013-05-23 | 日本電気株式会社 | Network communication device and transfer frame priority band restriction method |
KR20140073589A (en) * | 2011-11-15 | 2014-06-16 | 닛본 덴끼 가부시끼가이샤 | Network communication device and transfer frame priority band restriction method |
JP5668868B2 (en) * | 2011-11-15 | 2015-02-12 | 日本電気株式会社 | Network communication apparatus and transfer frame preferential bandwidth limiting method |
JPWO2013073639A1 (en) * | 2011-11-15 | 2015-04-02 | 日本電気株式会社 | Network communication apparatus and transfer frame preferential bandwidth limiting method |
KR101590740B1 (en) | 2011-11-15 | 2016-02-01 | 닛본 덴끼 가부시끼가이샤 | Network communication apparatus and method of preferential band limitation of transfer frame |
US9525635B2 (en) | 2011-11-15 | 2016-12-20 | Nec Corporation | Network communication apparatus and method of preferential band limitation of transfer frame |
CN103581188A (en) * | 2013-11-05 | 2014-02-12 | 中国科学院计算技术研究所 | Network security situation forecasting method and system |
CN103581188B (en) * | 2013-11-05 | 2016-08-03 | 中国科学院计算技术研究所 | A kind of network security situation prediction method and system |
CN115277577A (en) * | 2022-09-28 | 2022-11-01 | 平安银行股份有限公司 | Data processing method, data processing device, computer equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP4704147B2 (en) | 2011-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101485156B (en) | System and method for switching traffic through a network | |
WO2006090332A3 (en) | Input buffered switch | |
JP4648833B2 (en) | Bandwidth management device | |
JP4704147B2 (en) | Traffic control device, traffic control method, and computer program | |
US8189578B2 (en) | Simple fairness protocols for daisy chain interconnects | |
US8547984B2 (en) | Weighted differential scheduler | |
CN113778938B (en) | Method, device and chip for determining network-on-chip topology structure | |
Artalejo et al. | Performance analysis and optimal control of the Geo/Geo/c queue | |
JP2010246155A (en) | Traffic control device, traffic control method, and computer program | |
JP2011083028A (en) | Traffic control device, traffic control method and computer program | |
US7443792B2 (en) | Method and system for selecting connections to bump based on priority in a network | |
Wang et al. | Load balancing-towards balanced delay guarantees in NFV/SDN | |
US10599680B2 (en) | Reduction of volume of reporting data using multiple datasets | |
EP2572477A1 (en) | A method and a device for bulk data transfer in delay-tolerant networks | |
JP4410799B2 (en) | Method for providing multi-channel message to destination electronic device, connection arrangement apparatus and program | |
US11799580B2 (en) | High degree optical cross-connect cloud cluster node architecture | |
Leino et al. | Insensitive load balancing in data networks | |
US20110206374A1 (en) | System and Method for Demand Aggregation in Optical Networks Employing Shared Ring Protection | |
CN114401235A (en) | Method, system, medium, equipment and application for processing heavy load in queue management | |
Abidini et al. | Revenue maximization in an optical router node-allocation of service windows | |
WO2004019568A3 (en) | A method for data flow control in a packet data transmission system and a device for data flow control in a packet data transmission system | |
WO2006095100A3 (en) | Method for the digital evaluation of a data transmission network | |
US7983157B2 (en) | Bandwidth control system, method, and program storage medium storing program thereof | |
JP3983245B2 (en) | Optical path relocation method in optical communication network and management apparatus used in optical communication network | |
Alrashdan et al. | Storage Reduction of Forward-Backward Sweeping Method of Optimal Control of Active Queue Management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071015 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071015 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080602 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20080603 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100426 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100511 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100712 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20100713 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101019 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20101216 Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101216 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110301 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110309 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4704147 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |