JP2000013390A - Atm switch device and packet abort method - Google Patents
Atm switch device and packet abort methodInfo
- Publication number
- JP2000013390A JP2000013390A JP17696598A JP17696598A JP2000013390A JP 2000013390 A JP2000013390 A JP 2000013390A JP 17696598 A JP17696598 A JP 17696598A JP 17696598 A JP17696598 A JP 17696598A JP 2000013390 A JP2000013390 A JP 2000013390A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- cell
- signal
- buffer
- cells
- 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 23
- 238000000605 extraction Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明はバッファメモリに蓄
えられたセルの廃棄制御方式に関し、特にATM(As
ynchronous Transfer Mode:
非同期転送モード)ネットワークにおいて用いられるA
TMスイッチ内のセルバッファに対するセル廃棄方式に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method for discarding cells stored in a buffer memory, and more particularly to an ATM (As
ynchronous Transfer Mode:
Asynchronous Transfer Mode) A used in the network
The present invention relates to a cell discarding method for a cell buffer in a TM switch.
【0002】[0002]
【従来の技術】ATMネットワークの輻輳制御方式とし
て、従来からAAL(ATM Adoptation
Layer) Type5のパケットを対象としたEP
D(Early Packet Discard)とよ
ばれる方式が知られている。2. Description of the Related Art As a congestion control method for an ATM network, an AAL (ATM Adaptation) has conventionally been used.
Layer) EP for Type 5 packets
A method called D (Early Packet Discard) is known.
【0003】EPDとは、交換ノードのバッファに対し
て、セル格納を許可する上限である閾値を予め定めてお
き、バッファ内に格納されたセル数が、この閾値を超え
た場合に次に到来するパケットでバッファがあふれてセ
ルの廃棄が起こると予想し、その後パケットの先頭に位
置するセルが到着したら当該パケットを構成する全ての
セルをバッファに取り込むことなく廃棄する、というも
のである。すなわち、この方法では、交換ノードのバッ
ファ内のセル数が上記閾値を下回っていた場合にのみ、
その後に到着するパケットについては全てのセルをバッ
ファ内に取り込む。[0003] EPD means that a threshold value, which is an upper limit for permitting cell storage in a buffer of a switching node, is determined in advance, and when the number of cells stored in the buffer exceeds this threshold value, the next arrival time is reached. It is assumed that the buffer is overflowed by the packet to be dropped and that the cell is discarded. Then, when the cell located at the head of the packet arrives, all the cells constituting the packet are discarded without being taken into the buffer. That is, with this method, only if the number of cells in the buffer of the switching node is below the threshold,
All cells arriving after that are fetched into the buffer.
【0004】このようなEPDを行うことにより、バッ
ファをあふれさせるセルを含むパケットを一体として積
極的に廃棄することにより、他のパケットについては全
てのセルの廃棄を防ぐことができる。[0004] By performing such EPD, by actively discarding packets including cells that cause the buffer to overflow, it is possible to prevent other cells from discarding all cells.
【0005】[0005]
【発明が解決しようとする課題】上述した従来のセル廃
棄方式においては、ATMスイッチが一段だけの場合は
無駄な帯域リソースを使う必要がなくなり、効率的にネ
ットワークを使用できる。In the conventional cell discarding system described above, when there is only one ATM switch, there is no need to use useless bandwidth resources, and the network can be used efficiently.
【0006】しかし、ATMスイッチを多段に接続した
場合、途中の段で初めてパケット廃棄が発生すると、そ
の直前の段までの帯域リソースは全く無駄になってしま
うことになる。廃棄された1パケットが多くのセルから
構成された長大なパケットである場合には特に無駄が大
きく、ネットワークに与える影響が大きい。However, when ATM switches are connected in multiple stages, if a packet is discarded for the first time in an intermediate stage, the bandwidth resources up to the immediately preceding stage are wasted. When one discarded packet is a long packet composed of many cells, the waste is particularly large, and the influence on the network is large.
【0007】本発明の目的は、上記の課題を解決し、長
パケットの廃棄をできるだけ防止し、ネットワーク全体
として効率的な帯域の使用を可能とするセル廃棄方式を
提供することにある。An object of the present invention is to provide a cell discarding method which solves the above-mentioned problem, prevents long packets from being discarded as much as possible, and enables efficient use of bandwidth in the entire network.
【0008】[0008]
【課題を解決するための手段】上記の目的を達成するた
め、本発明のATMスイッチ装置では、入力されるセル
を格納し、格納されているセルの個数をバッファ占有量
信号として出力し、外部から入力されるセル廃棄信号に
従って格納されているセルを消去するセルバッファと、
前記パケットを構成する前記セルの個数を計数し、その
結果を予め定められたパケット長閾値と比較し、その結
果、前記パケット長閾値よりも前記パケット長信号の方
が小さく、かつ前記バッファ占有量信号が予め定められ
たパケット廃棄閾値信号より大きい場合に、前記パケッ
トを構成する前記セルを前記セルバッファから消去する
ための前記セル廃棄信号を出力するセル廃棄信号発生回
路とを備えている。In order to achieve the above object, an ATM switch device according to the present invention stores input cells and outputs the number of stored cells as a buffer occupancy signal. A cell buffer for erasing cells stored according to a cell discard signal input from
Count the number of cells constituting the packet, compare the result with a predetermined packet length threshold, and as a result, the packet length signal is smaller than the packet length threshold, and the buffer occupancy A cell discard signal generating circuit for outputting the cell discard signal for erasing the cells constituting the packet from the cell buffer when the signal is larger than a predetermined packet discard threshold signal.
【0009】また、本発明のATMスイッチ装置は、入
力されるセルを格納し、格納されているセルの個数をバ
ッファ占有量信号として出力し、外部から入力されるセ
ル廃棄信号に従って格納されているセルを消去するセル
バッファと、前記パケットを構成する前記セルの個数を
計数し、計数結果をパケット長信号として出力するセル
カウンタと、前記パケット長信号を予め定められたパケ
ット長閾値と比較し、その結果を長パケット選択信号と
して出力するパケット長比較回路と、前記パケットの先
頭の位置を示すパケット先頭位置信号を出力する最終セ
ル抽出回路と、前記バッファ占有量信号、前記長パケッ
ト選択信号、前記パケット先頭位置信号、及び、予め定
められたパケット廃棄閾値信号が入力され、前記長パケ
ット信号が前記パケット長閾値よりも前記パケット長信
号の方が小さいことを示し、かつ前記バッファ占有量信
号が前記パケット廃棄閾値信号より大きい場合に、前記
パケットを構成する前記セルを前記セルバッファから消
去するためのセル廃棄信号を出力するイー・ピー・ディ
ー決定回路とを備えた構成としてもよい。Further, the ATM switch device of the present invention stores input cells, outputs the number of stored cells as a buffer occupancy signal, and stores the cells in accordance with an externally input cell discard signal. A cell buffer for erasing cells, counting the number of cells constituting the packet, a cell counter for outputting the counting result as a packet length signal, and comparing the packet length signal with a predetermined packet length threshold, A packet length comparison circuit that outputs the result as a long packet selection signal, a final cell extraction circuit that outputs a packet head position signal indicating a head position of the packet, the buffer occupancy signal, the long packet selection signal, A packet head position signal and a predetermined packet discard threshold signal are input, and the long packet signal is When the packet length signal is smaller than the packet length threshold value and the buffer occupancy signal is larger than the packet discard threshold signal, the cell constituting the packet is deleted from the cell buffer. And an EPD determination circuit that outputs the cell discard signal of the above.
【0010】また、上記ATMスイッチ装置を構成する
前記イー・ピー・ディー決定回路は、前記バッファ占有
量信号が、前記セルバッファの残存容量が零であること
を示す場合にも前記セル廃棄信号を出力するように構成
してもよい。[0010] The EPD determination circuit constituting the ATM switch device may further include the cell discard signal even when the buffer occupancy signal indicates that the remaining capacity of the cell buffer is zero. You may comprise so that it may output.
【0011】さらに、上記ATMスイッチ装置を構成す
る前記イー・ピー・ディー決定回路は、前記先頭セルが
到来した時点で、前記バッファ占有量信号が前記パケッ
ト廃棄閾値信号より大きい場合にも前記セル廃棄信号を
出力するように構成してもよい。Further, the EPD determination circuit constituting the ATM switch device may be configured to perform the cell discarding even when the buffer occupancy signal is larger than the packet discard threshold signal at the time when the head cell arrives. It may be configured to output a signal.
【0012】さらに、本発明のATMスイッチ装置は、
上記構成に加え、前記セルが入力されて、該セルのうち
予め定められた属性を有する選択セルを出力して前記最
終セル抽出回路に供給し、さらに該選択セルが到来する
毎にセルパルスを出力して前記セルカウンタに供給する
VCI/VPI抽出回路を備えていてもよい。Further, the ATM switch device of the present invention comprises:
In addition to the above configuration, the cell is input, a selected cell having a predetermined attribute among the cells is output and supplied to the final cell extraction circuit, and a cell pulse is output each time the selected cell arrives And a VCI / VPI extraction circuit for supplying the VCI / VPI to the cell counter.
【0013】また、前記予め定められた属性を有する選
択セルは、予め定められたVCI/VPIを有する選択
VCI/VPIセルであってもよい。[0013] Further, the selected cell having the predetermined attribute may be a selected VCI / VPI cell having a predetermined VCI / VPI.
【0014】また、本発明によるセル廃棄方法は、入力
されるパケットに含まれるセルの数を計数する計数工程
と、前記セル数が所定のパケット長より小さく、かつ前
記セルバッファの占有量が前記セルバッファの容量によ
り定められるパケット廃棄閾値より大きい場合に、前記
パケットの廃棄を行う廃棄工程とを含んでいる。Further, in the cell discarding method according to the present invention, there is provided a counting step for counting the number of cells included in an input packet, wherein the cell number is smaller than a predetermined packet length and the occupancy of the cell buffer is smaller than the predetermined packet length. A discarding step of discarding the packet when the packet is larger than a packet discarding threshold determined by the capacity of the cell buffer.
【0015】さらに、上記のパケット廃棄方法を構成す
る、前記廃棄工程は、前記セルバッファの残存容量が零
となった場合にも、前記パケットの廃棄を行うこととし
てもよい。Further, in the packet discarding method, the discarding step may discard the packet even when the remaining capacity of the cell buffer becomes zero.
【0016】さらに、上記のパケット廃棄方法を構成す
る、前記廃棄工程は、前記パケットの先頭に位置する前
記セルが到来した時点で、前記セルバッファの占有量が
前記パケット廃棄閾値より大きい場合にも、前記パケッ
トの廃棄を行うこととしてもよい。[0016] Further, the discarding step of the packet discarding method may be configured such that, when the cell located at the head of the packet arrives, the occupancy of the cell buffer is larger than the packet discard threshold. , The packet may be discarded.
【0017】また、前記計数工程及び廃棄工程は、前記
パケットを構成する前記セルであって、予め定められた
属性を有するものに対して行ってもよく、さらに、前記
予め定められた属性は、前記セルに付与されたVCI/
VPIであってもよい。Further, the counting step and the discarding step may be performed on the cells constituting the packet and having a predetermined attribute, and the predetermined attribute may be: VCI /
It may be a VPI.
【0018】さらに、前記計数工程及び廃棄工程は、前
記パケットを構成する各セルに付与されたVCI/VP
I毎に行ってもよい。Further, the counting step and the discarding step include the steps of:
It may be performed for each I.
【0019】上述したように、本発明においては、格納
中の当該パケットの長さを監視している。その上で、セ
ルバッファに格納されたセルの廃棄を行うに際しては、
セルバッファの占有量の閾値を超過した場合であって
も、セルバッファがオーバーフローするに至らず、しか
も当該パケットの残りの未格納セル数が僅少であること
が判明した場合には、未格納セルを全て収納することと
している。このような構成を採用したことにより、セル
バッファの容量から見てぎりぎり収納可能なパケットが
廃棄されることを防ぐことが可能となり、帯域の効率的
な使用が可能となる。As described above, in the present invention, the length of the packet being stored is monitored. Then, when discarding the cells stored in the cell buffer,
Even if the cell buffer occupancy threshold is exceeded, if the cell buffer does not overflow and the remaining number of unstored cells of the packet is found to be small, Are all stored. By adopting such a configuration, it is possible to prevent a packet that can be stored just barely from the capacity of the cell buffer from being discarded, and it is possible to use the bandwidth efficiently.
【0020】[0020]
【発明の実施の形態】本発明のセル廃棄方式につき、図
面を参照して以下に詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The cell discarding method of the present invention will be described in detail below with reference to the drawings.
【0021】図1は本発明の1実施例によるATMスイ
ッチの構成図である。本実施例においては、セルバッフ
ァは物理的には106で示されるもの1つのみである
が、論理的にはセルバッファがVCI/VPI毎に個別
に存在し、異なるVCI/VPIはそのセルバッファに
は書き込まれることはないものとする。また、パケット
廃棄のサービスを予め定められたVCI/VPI毎に実
施することを想定している。FIG. 1 is a configuration diagram of an ATM switch according to one embodiment of the present invention. In the present embodiment, although only one cell buffer is physically indicated by 106, logically, a cell buffer exists individually for each VCI / VPI, and different VCI / VPIs Is not written to It is also assumed that the packet discard service is performed for each predetermined VCI / VPI.
【0022】本実施例によるATMスイッチは、VCI
/VPI抽出回路101、セルバッファ106、AAL
5最終セル抽出回路102、セルカウンタ103、パケ
ット長比較回路104、EPD決定回路105から構成
される。The ATM switch according to this embodiment has a VCI
/ VPI extraction circuit 101, cell buffer 106, AAL
(5) A final cell extracting circuit 102, a cell counter 103, a packet length comparing circuit 104, and an EPD determining circuit 105.
【0023】セルパルス2を計数するセルカウンタ10
3からはパケット長信号4が出力され、パケット長比較
回路104に入力される。パケット長比較回路104に
はパケット長閾値信号5が入力され、パケット長信号4
と比較される。パケット長比較回路104からは比較結
果である長パケット選択信号6が出力され、EPD決定
回路105に入力される。AAL5最終セル抽出回路1
02からはパケット先頭位置8が出力され、EPD決定
回路105に入力される。セルバッファ6からはバッフ
ァ占有量8とセル出力10が出力され、バッファ占有量
8はEPD決定回路105に入力され、セル出力10は
出力端子Bから出力される。パケット廃棄閾値信号7が
EPD決定回路105に入力される。EPD決定回路1
05からはセル廃棄信号9が出力され、セルバッファ1
06に入力される。Cell counter 10 for counting cell pulse 2
3 outputs a packet length signal 4 and inputs it to the packet length comparison circuit 104. The packet length threshold signal 5 is input to the packet length comparison circuit 104, and the packet length signal 4
Is compared to The packet length comparison circuit 104 outputs a long packet selection signal 6 as a comparison result, which is input to the EPD determination circuit 105. AAL5 last cell extraction circuit 1
From 02, the packet head position 8 is output and input to the EPD determination circuit 105. The buffer occupancy 8 and the cell output 10 are output from the cell buffer 6. The buffer occupancy 8 is input to the EPD determination circuit 105, and the cell output 10 is output from the output terminal B. The packet discard threshold signal 7 is input to the EPD determination circuit 105. EPD decision circuit 1
05, a cell discard signal 9 is output and the cell buffer 1
06.
【0024】以下、本実施例の動作につき説明する。図
3は、本実施例の動作を示すタイミングチャートであ
る。なお、本実施例では、セルバッファ106の容量を
256セル、パケット長閾値を250とする。また、図
3においては、VCI/VPI=1/1及びVCI/V
PI=2/1の2つの場合についての動作を示す。この
うち、VCI/VPI=1/1では、本発明によるセル
廃棄を行い、VCI/VPI=2/1では、従来技術で
あるEPDを行う。VCI/VPI値と当該パケット中
でのセル番号は、図3中、各セルの中に例えば「1/1
−1」のように示す。この例では、VCI/VPI=1
/1であって、当該パケット中1番目のセルであること
を示す。また、図3中、「1/1−」のように、丸印
を付した数字7は、当該VCI/VPI=1/1に対す
るパケットの最終セルであることを表す。Hereinafter, the operation of this embodiment will be described. FIG. 3 is a timing chart showing the operation of the present embodiment. In the present embodiment, the capacity of the cell buffer 106 is 256 cells, and the packet length threshold is 250. Also, in FIG. 3, VCI / VPI = 1/1 and VCI / V
Operations for two cases of PI = 2/1 will be described. Among them, when VCI / VPI = 1/1, the cell discarding according to the present invention is performed, and when VCI / VPI = 2/1, the conventional EPD is performed. The VCI / VPI value and the cell number in the packet are, for example, "1/1" in each cell in FIG.
-1 ". In this example, VCI / VPI = 1
/ 1, indicating that it is the first cell in the packet. Also, in FIG. 3, the number 7 with a circle, such as “1 / 1-”, indicates that it is the last cell of the packet for the VCI / VPI = 1/1.
【0025】図1において入力端子Aから入力されたセ
ル入力信号1は、VCI/VPI抽出回路101とセル
バッファ106に入力される。In FIG. 1, a cell input signal 1 input from an input terminal A is input to a VCI / VPI extraction circuit 101 and a cell buffer 106.
【0026】このうち、VCI/VPI抽出回路101
からは、セルパルス2及び選択VCI/VPIセル11
が出力され、選択VCI/VPIセル11はAAL5最
終セル抽出回路102に、セルパルス2はセルカウンタ
103に、それぞれ入力される。選択VCI/VPIセ
ル11は、予め定められたVCI/VPIのセルであ
る。Among them, the VCI / VPI extraction circuit 101
From the cell pulse 2 and the selected VCI / VPI cell 11
Is output, the selected VCI / VPI cell 11 is input to the AAL5 final cell extraction circuit 102, and the cell pulse 2 is input to the cell counter 103. The selected VCI / VPI cell 11 is a predetermined VCI / VPI cell.
【0027】AAL5最終セル抽出回路102では、入
力される選択VCI/VPIセル11から、AAL T
ype5のパケットの最終セルを抽出し、パケット最終
セルの次に来るセルをAAL Type5のパケット先
頭セルと判断し、この位置を示す信号をパケット先頭位
置信号3として出力する。AAL Type5のパケッ
トは、最後にのみトレーラなる特殊なセルが配置される
構成を有している。トレーラであるかどうかは、セルの
CLPビットの極性により判別できる。従って、セルの
CLPビットを監視するすることにより、パケットの最
終セルを抽出できる。最終セルに引き続く次のセルがパ
ケットの先頭セルである。In the AAL5 last cell extracting circuit 102, AAL T is inputted from the input selected VCI / VPI cell 11.
The last cell of the packet of type 5 is extracted, the next cell of the last cell of the packet is determined as the packet head cell of AAL Type 5, and a signal indicating this position is output as the packet head position signal 3. The AAL Type 5 packet has a configuration in which a special cell serving as a trailer is arranged only at the end. Whether it is a trailer can be determined by the polarity of the CLP bit of the cell. Therefore, by monitoring the CLP bit of the cell, the last cell of the packet can be extracted. The next cell following the last cell is the first cell of the packet.
【0028】セルカウンタ103では、AAL Typ
e5のセルパルス2を計数することにより、パケットの
長さを検知し、パケット長信号4としてパケット長比較
回路104に出力する。なお、セルカウンタ103は、
パケット先頭位置信号3の立ち下がり部分にてリセット
される。In the cell counter 103, AAL Type
The length of the packet is detected by counting the cell pulse 2 of e5, and is output to the packet length comparison circuit 104 as the packet length signal 4. Note that the cell counter 103
It is reset at the falling part of the packet head position signal 3.
【0029】パケット長比較回路104は入力されたパ
ケット長信号4とパケット長閾値信号5とを比較し、パ
ケット長信号4がパケット長閾値以上のときに入力され
たパケットが長パケットであると判断し、長パケット選
択信号6を出力する。例えば、IPパケットをAAL
Type5パケット化した場合、AAL Type5と
しての最大パケット長は32セルになるため、32セル
より2だけ少ない30セルをパケット長閾値5とする。
パケット長が30セル以上のパケットを長パケットと判
断して、長パケット選択信号6を出力する。The packet length comparing circuit 104 compares the input packet length signal 4 with the packet length threshold signal 5, and determines that the input packet is a long packet when the packet length signal 4 is equal to or larger than the packet length threshold. Then, a long packet selection signal 6 is output. For example, IP packet is AAL
When the packet is converted into Type 5 packets, the maximum packet length as AAL Type 5 is 32 cells. Therefore, 30 cells that are two less than 32 cells are set as the packet length threshold value 5.
A packet having a packet length of 30 cells or more is determined to be a long packet, and a long packet selection signal 6 is output.
【0030】セルバッファ106は、入力されたセル入
力信号を、自らの記憶領域内に書き込み、VCI/VP
Iあるいは複数のVCI/VPIのグループに割り当て
られた帯域にしたがって読み出す。ここで、入力セルの
帯域より割り当てられた帯域が小さければセルバッファ
106内にはセルが滞留する。このとき、滞留量がセル
バッファの容量を越えれば、バッファはオーバーフロー
を起こし、セルは廃棄される。本実施例では、バッファ
の滞留に対処するため、EPDを用いる。EPDは、こ
のような場合に、パケットを構成するセル単位で廃棄す
るかわりにパケット毎まとめて廃棄する方法の1つであ
る。EPDはセルバッファ106のバッファ占有量8を
監視してバッファ占有量8がパケット廃棄閾値以上にな
った時にセルバッファ内に書き込まれている最後のAA
L Type5のパケットを先頭(パケット先頭位置信
号3により指定された位置)から廃棄し、パケット廃棄
閾値以上となった以降に入力されるそのAAL Typ
e5のパケットのセルのセルバッファへの書き込みを次
のパケットの先頭セルの位置を指し示すパケット先頭位
置信号3が入力されるまで停止することで実現する。The cell buffer 106 writes the input cell input signal into its own storage area, and outputs the VCI / VP
I or according to a band assigned to a plurality of VCI / VPI groups. Here, if the allocated band is smaller than the band of the input cell, the cell stays in the cell buffer 106. At this time, if the staying amount exceeds the capacity of the cell buffer, the buffer overflows and the cell is discarded. In the present embodiment, EPD is used to cope with the stagnation of the buffer. In such a case, the EPD is one of the methods of discarding the packets collectively instead of discarding the cells constituting the packets. The EPD monitors the buffer occupancy 8 of the cell buffer 106 and, when the buffer occupancy 8 becomes equal to or larger than the packet discard threshold, the last AA written in the cell buffer.
The packet of L Type 5 is discarded from the head (the position specified by the packet head position signal 3), and the AAL Type input after the packet exceeds the packet discard threshold value
The writing of the cell of the packet of e5 to the cell buffer is realized by stopping until the packet head position signal 3 indicating the position of the head cell of the next packet is input.
【0031】本実施例のVCI/VPI=1/1の場合
においては、EPDを行うか否かの判断に、さらに長パ
ケット選択信号6をも用いている。バッファ占有量信号
8がパケット廃棄閾値信号7が示すパケット廃棄閾値以
上となる時にその廃棄するパケットがどこまで書き込ま
れているかの判断に、この長パケット選択信号6を使用
する。従来は、バッファ占有量信号8がパケット廃棄閾
値になった段階で、直ちにEPDを実施していたが、本
実施例においては、そのパケット長がパケット長閾値信
号5以上になっている場合はそのパケットの残り(最終
セルまでのセル数)はもう少ないと判断し、そのパケッ
トではEPDを実施しないこととしている。In the case of VCI / VPI = 1/1 in this embodiment, the long packet selection signal 6 is further used to determine whether or not to perform EPD. When the buffer occupancy signal 8 becomes equal to or greater than the packet discard threshold indicated by the packet discard threshold signal 7, the long packet selection signal 6 is used to determine how much of the discarded packet has been written. Conventionally, EPD was immediately performed when the buffer occupancy signal 8 reached the packet discard threshold. In this embodiment, however, when the packet length is equal to or greater than the packet length threshold signal 5, It is determined that the remainder of the packet (the number of cells up to the last cell) is already small, and EPD is not performed on the packet.
【0032】例えば、バッファ占有量信号8がパケット
廃棄閾値(250)になったときにそのパケットの先頭
からのセル数が31セルであった場合、IPパケットを
AAL Type5パケット化した場合、AAL Ty
pe5としての最大パケット長は32セルになる。この
ため、異常あるいはIP以外のパケットをAAL Ty
pe5のパケット化している以外は、このパケットは残
り1セルしかないと判断される。このとき、従来ならE
PDの実施に踏み切るところであるが、パケットの残り
のセルを収納するほどには、まだバッファ量に余裕があ
ることが、バッファ占有量信号8、パケット長信号4か
らわかるため、廃棄することを見送る。さらに、そのセ
ル以降のセルもセルバッファ106に書き込み、セルバ
ッファ106内に残っているそのパケットの先頭セルか
らの部分も廃棄しない。もし、本当のバッファオーバー
フローを起こしたらEPDあるいはセル廃棄をおこな
う。以上の制御はEPD決定回路105において行う。
図2はセルバッファ106の構成図であり、バッファオ
ーバーフローとパケット廃棄閾値7の配置を示す。For example, when the buffer occupancy signal 8 reaches the packet discard threshold (250), the number of cells from the beginning of the packet is 31 cells, the IP packet is converted into AAL Type 5 packets, the AAL Ty
The maximum packet length as pe5 is 32 cells. For this reason, abnormal or non-IP packets are sent to AAL Ty
Except for the packetization of pe5, it is determined that this packet has only one cell remaining. At this time, E
Although it is about to implement PD, it can be seen from the buffer occupancy signal 8 and the packet length signal 4 that the buffer capacity is still large enough to accommodate the remaining cells of the packet, so that the discard is not performed. . Further, the cells subsequent to the cell are also written into the cell buffer 106, and the portion of the packet remaining in the cell buffer 106 from the head cell is not discarded. If a true buffer overflow occurs, EPD or cell discard is performed. The above control is performed by the EPD determination circuit 105.
FIG. 2 is a configuration diagram of the cell buffer 106, showing the arrangement of the buffer overflow and the packet discarding threshold 7.
【0033】以上の動作により、セルバッファ106に
書き込み済みの長パケットのEPDの発生を抑制する。With the above operation, occurrence of EPD of a long packet which has been written in the cell buffer 106 is suppressed.
【0034】[0034]
【発明の効果】以上説明したように、本発明のセル廃棄
方式においては、格納中の当該パケットの長さを監視
し、その結果判明する当該パケットの未格納セル数をも
セル廃棄の判断材料として用いている。セルバッファに
格納されたセルの廃棄を行うに際しては、従来技術で判
断材料として用いられてきたセルバッファの占有量の閾
値を超過した場合であっても、セルバッファがオーバー
フローする事態に至らず、しかも当該パケットが比較的
長大で、しかも残りの未格納セル数が僅少であることが
判明した場合には、未格納セルを全て収納することとし
ている。このような構成を採用したことにより、セルバ
ッファの容量から見てぎりぎり収納可能でありしかもセ
ル数の大きいパケットが廃棄されることを防ぐことが可
能となる。これに伴い、特にスイッチを多段接続したと
きのネットワークの帯域の効率的な使用が可能となる。As described above, in the cell discarding method of the present invention, the length of the packet being stored is monitored, and the number of unstored cells of the packet determined as a result is also used as a material for judging cell discard. Used as When discarding the cells stored in the cell buffer, even if the threshold of the occupancy of the cell buffer used as a judgment material in the prior art is exceeded, the cell buffer does not overflow, In addition, when it is determined that the packet is relatively long and the number of remaining unstored cells is small, all the unstored cells are stored. By adopting such a configuration, it is possible to prevent a packet that can be stored as much as possible in view of the capacity of the cell buffer and that has a large number of cells from being discarded. Along with this, it is possible to efficiently use the bandwidth of the network especially when switches are connected in multiple stages.
【図1】 本発明の実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.
【図2】 本発明の実施例におけるセルバッファの構成
を示す図である。FIG. 2 is a diagram illustrating a configuration of a cell buffer according to an embodiment of the present invention.
【図3】 本発明の実施例の動作を表すタイミングチャ
ートである。FIG. 3 is a timing chart showing the operation of the embodiment of the present invention.
1 セル入力 2 セルパルス 3 パケット先頭位置信号 4 パケット長信号 5 パケット長閾値信号 6 長パケット選択信号 7 パケット廃棄閾値信号 8 バッファ占有量信号 9 セル廃棄信号 10 セル出力 11 選択VCI/VPIセル 101 VCI/VPI抽出回路 102 AAL5最終セル抽出回路 103 セルカウンタ 104 パケット長比較回路 105 EPD決定回路 106 セルバッファ 1 Cell input 2 Cell pulse 3 Packet head position signal 4 Packet length signal 5 Packet length threshold signal 6 Long packet selection signal 7 Packet discard threshold signal 8 Buffer occupancy signal 9 Cell discard signal 10 Cell output 11 Selected VCI / VPI cell 101 VCI / VPI extraction circuit 102 AAL5 last cell extraction circuit 103 cell counter 104 packet length comparison circuit 105 EPD determination circuit 106 cell buffer
Claims (12)
チングするATMスイッチ装置であって、 前記ATMスイッチ装置は、 前記セルを格納し、格納されているセルの個数をバッフ
ァ占有量信号として出力し、外部から入力されるセル廃
棄信号に従って格納されているセルを消去するセルバッ
ファと、 前記パケットを構成する前記セルの個数を計数し、その
結果を予め定められたパケット長閾値と比較し、その結
果、前記パケット長閾値よりも前記パケット長信号の方
が小さく、かつ前記バッファ占有量信号が予め定められ
たパケット廃棄閾値信号より大きい場合に、前記パケッ
トを構成する前記セルを前記セルバッファから消去する
ための前記セル廃棄信号を出力するセル廃棄信号発生回
路とを備えていることを特徴とするATMスイッチ装
置。1. An ATM switch device for switching cells input in packet units, wherein said ATM switch device stores said cells and outputs the number of stored cells as a buffer occupancy signal. A cell buffer for erasing cells stored according to a cell discard signal input from the outside, counting the number of cells constituting the packet, comparing the result with a predetermined packet length threshold, and When the packet length signal is smaller than the packet length threshold and the buffer occupancy signal is larger than a predetermined packet discard threshold signal, the cells constituting the packet are deleted from the cell buffer. And a cell discard signal generating circuit for outputting the cell discard signal. Switch.
チングするATMスイッチ装置であって、 前記ATMスイッチ装置は、 前記セルを格納し、格納されているセルの個数をバッフ
ァ占有量信号として出力し、外部から入力されるセル廃
棄信号に従って格納されているセルを消去するセルバッ
ファと、 前記パケットを構成する前記セルの個数を計数し、計数
結果をパケット長信号として出力するセルカウンタと、 前記パケット長信号を予め定められたパケット長閾値と
比較し、その結果を長パケット選択信号として出力する
パケット長比較回路と、 前記パケットの先頭の位置を示すパケット先頭位置信号
を出力する最終セル抽出回路と、 前記長パケット信号が前記パケット長閾値よりも前記パ
ケット長信号の方が小さいことを示し、かつ前記バッフ
ァ占有量信号が予め定められたパケット廃棄閾値信号よ
り大きい場合に、前記パケットを構成する前記セルを前
記セルバッファから消去するための前記セル廃棄信号を
出力するイー・ピー・ディー決定回路とを備えているこ
とを特徴とするATMスイッチ装置。2. An ATM switch device for switching cells input in packet units, wherein said ATM switch device stores said cells, and outputs the number of stored cells as a buffer occupancy signal. A cell buffer for erasing cells stored according to a cell discard signal input from the outside; a cell counter for counting the number of the cells constituting the packet, and outputting a counting result as a packet length signal; A packet length comparison circuit that compares the signal with a predetermined packet length threshold, and outputs the result as a long packet selection signal; a final cell extraction circuit that outputs a packet head position signal indicating the head position of the packet; The long packet signal indicates that the packet length signal is smaller than the packet length threshold, and When the buffer occupancy signal is larger than a predetermined packet discard threshold signal, an EPD determination circuit that outputs the cell discard signal for erasing the cells constituting the packet from the cell buffer. An ATM switch device comprising:
って、前記イー・ピー・ディー決定回路は、前記バッフ
ァ占有量信号が、前記セルバッファの残存容量が零であ
ることを示す場合にも前記セル廃棄信号を出力すること
を特徴とするATMスイッチ装置。3. The ATM switch device according to claim 2, wherein said EPD determination circuit is configured to output the buffer occupancy signal indicating that the remaining capacity of said cell buffer is zero. An ATM switch device for outputting the cell discard signal.
項に記載されたATMスイッチ装置であって、前記イー
・ピー・ディー決定回路は、前記先頭セルが到来した時
点で、前記バッファ占有量信号が前記パケット廃棄閾値
信号より大きい場合にも前記セル廃棄信号を出力するこ
とを特徴とするATMスイッチ装置。4. The ATM switch device according to claim 2, wherein said EPD determination circuit is configured to control said buffer when said first cell arrives. The ATM switch device outputs the cell discard signal even when the occupancy signal is larger than the packet discard threshold signal.
項に記載されたATMスイッチ装置であって、前記AT
Mスイッチ装置はさらに、 前記セルが入力されて、該セルのうち予め定められた属
性を有する選択セルを出力して前記最終セル抽出回路に
供給し、さらに該選択セルが到来する毎にセルパルスを
出力して前記セルカウンタに供給する、バーチャル・チ
ャネル・アイデンティファイア/バーチャル・パス・ア
イデンティファイア(以下、VCI/VPIと称する)
抽出回路を備えていることを特徴とするATMスイッチ
装置。5. The ATM switch device according to claim 2, wherein said ATM switch device comprises:
The M switch device further receives the cell, outputs a selected cell having a predetermined attribute among the cells, supplies the selected cell to the final cell extraction circuit, and further generates a cell pulse every time the selected cell arrives. A virtual channel identifier / virtual path identifier (hereinafter, referred to as VCI / VPI) which is output and supplied to the cell counter.
An ATM switch device comprising an extraction circuit.
って、前記予め定められた属性を有する選択セルが、予
め定められたVCI/VPIを有する選択VCI/VP
Iセルであることを特徴とするATMスイッチ装置。6. The ATM switch device according to claim 5, wherein the selected cell having the predetermined attribute is a selected VCI / VP having a predetermined VCI / VPI.
An ATM switch device comprising an I cell.
を制御するパケット廃棄方法であって、 入力されるパケットに含まれるセルの数を計数する計数
工程と、 前記セル数が所定のパケット長より小さく、かつ前記セ
ルバッファの占有量が前記セルバッファの容量により定
められるパケット廃棄閾値より大きい場合に前記パケッ
トの廃棄を行う廃棄工程とを含むことを特徴とするパケ
ット廃棄方法。7. A packet discarding method for controlling discarding of a packet stored in a cell buffer, comprising: a counting step of counting the number of cells included in an input packet; and wherein the number of cells is smaller than a predetermined packet length. And discarding the packet when the occupancy of the cell buffer is greater than a packet discard threshold determined by the capacity of the cell buffer.
て、前記廃棄工程は、前記セルバッファの残存容量が零
となった場合にも、前記パケットの廃棄を行うことを特
徴とするパケット廃棄方法。8. The packet discarding method according to claim 7, wherein in the discarding step, the packet is discarded even when the remaining capacity of the cell buffer becomes zero. Method.
項に記載されたパケット廃棄方法であって、前記廃棄工
程は、前記パケットの先頭に位置する前記セルが到来し
た時点で、前記セルバッファの占有量が前記パケット廃
棄閾値より大きい場合にも、前記パケットの廃棄を行う
ことを特徴とするパケット廃棄方法。9. The packet discarding method according to claim 7, wherein the discarding step is performed when the cell located at the head of the packet arrives. A packet discarding method, wherein the packet is discarded even when the cell buffer occupancy is larger than the packet discard threshold.
求項に記載されたパケット廃棄方法であって、前記計数
工程及び廃棄工程は、前記パケットを構成する前記セル
であって、予め定められた属性を有するものに対して行
うことを特徴とするパケット廃棄方法。10. The packet discarding method according to claim 7, wherein said counting step and said discarding step are performed in said cells constituting said packet, and are performed in advance. A packet discarding method for a packet having a given attribute.
あって、前記予め定められた属性は、前記セルに付与さ
れたVCI/VPIであることを特徴とするパケット廃
棄方法。11. The packet discarding method according to claim 10, wherein the predetermined attribute is a VCI / VPI assigned to the cell.
求項に記載されたパケット廃棄方法であって、前記計数
工程及び廃棄工程は、前記パケットを構成する各セルに
付与されたVCI/VPI毎に行うことを特徴とするパ
ケット廃棄方法。12. The packet discarding method according to claim 7, wherein the counting step and the discarding step are performed by using a VCI / CCI assigned to each cell constituting the packet. A packet discarding method which is performed for each VPI.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17696598A JP3045145B2 (en) | 1998-06-24 | 1998-06-24 | ATM switch device and packet discarding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17696598A JP3045145B2 (en) | 1998-06-24 | 1998-06-24 | ATM switch device and packet discarding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000013390A true JP2000013390A (en) | 2000-01-14 |
| JP3045145B2 JP3045145B2 (en) | 2000-05-29 |
Family
ID=16022813
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17696598A Expired - Lifetime JP3045145B2 (en) | 1998-06-24 | 1998-06-24 | ATM switch device and packet discarding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3045145B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005025151A1 (en) * | 2003-09-11 | 2005-03-17 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for discarding all segments corresponding to the same packet in a buffer |
-
1998
- 1998-06-24 JP JP17696598A patent/JP3045145B2/en not_active Expired - Lifetime
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005025151A1 (en) * | 2003-09-11 | 2005-03-17 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for discarding all segments corresponding to the same packet in a buffer |
| US8130074B2 (en) | 2003-09-11 | 2012-03-06 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for discarding all segments corresponding to same packet in a buffer |
| US8412160B2 (en) | 2003-09-11 | 2013-04-02 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for discarding all segments corresponding to the same packet in a buffer |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3045145B2 (en) | 2000-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5949757A (en) | Packet flow monitor and control system | |
| US6967924B1 (en) | Packet switching device and cell transfer control method | |
| US6144636A (en) | Packet switch and congestion notification method | |
| EP1115265B1 (en) | Method and a device for determining packet transmission priority between a plurality of data streams | |
| CA2249556C (en) | Network node for sharing a common buffer among multiple connections while ensuring minimum bandwidth for each connection | |
| US7177279B2 (en) | Buffer management for merging packets of virtual circuits | |
| JPH06232906A (en) | Interface with packet network and interfacing method | |
| JPH10229408A (en) | Coupling device | |
| JPH08307420A (en) | Congestion control method in cell switching | |
| US6122253A (en) | ATM network switch with congestion control | |
| US6504824B1 (en) | Apparatus and method for managing rate band | |
| JPH08163141A (en) | ATM switching device | |
| US7058061B2 (en) | Dynamic virtual channel management apparatus | |
| US6618382B1 (en) | Auto early packet discard (EPD) mechanism for automatically enabling EPD on an asynchronous transfer mode (ATM) network | |
| JP3045145B2 (en) | ATM switch device and packet discarding method | |
| US6411622B1 (en) | Method and apparatus for detecting timeout of ATM reception packet | |
| US6219351B1 (en) | Implementation of buffering in a packet-switched telecommunications network | |
| KR100374844B1 (en) | Timer circuit in aal2 protocol service logic | |
| GB2301984A (en) | ATM network switch with congestion control | |
| JP3075252B2 (en) | ATM switch | |
| JP2580395B2 (en) | Cell monitoring device and cell flow control device using the same | |
| JP3637879B2 (en) | Packet discard method and ATM switch device in ATM communication system | |
| JPH04369139A (en) | Atm traffic control system | |
| JPH11127166A (en) | Packet cell discarding controller | |
| JP2756766B2 (en) | Cell priority processing unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20000215 |