JP3906231B2 - Packet transfer device - Google Patents

Packet transfer device Download PDF

Info

Publication number
JP3906231B2
JP3906231B2 JP2005089214A JP2005089214A JP3906231B2 JP 3906231 B2 JP3906231 B2 JP 3906231B2 JP 2005089214 A JP2005089214 A JP 2005089214A JP 2005089214 A JP2005089214 A JP 2005089214A JP 3906231 B2 JP3906231 B2 JP 3906231B2
Authority
JP
Japan
Prior art keywords
cell
buffer
output
cells
class
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.)
Expired - Fee Related
Application number
JP2005089214A
Other languages
Japanese (ja)
Other versions
JP2005245015A (en
Inventor
義満 下條
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2005089214A priority Critical patent/JP3906231B2/en
Publication of JP2005245015A publication Critical patent/JP2005245015A/en
Application granted granted Critical
Publication of JP3906231B2 publication Critical patent/JP3906231B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、例えば、ATM通信網におけるセル多重化装置およびセルバッファ装置に関する。   The present invention relates to a cell multiplexing device and a cell buffer device in an ATM communication network, for example.

また、セルスイッチはセル多重化装置が複数個重ね合わされていることから、本発明のセル多重化装置の構成をセルスイッチのひとつの出力ポートに対応する構成としてセルスイッチに適用することが可能である。   In addition, since a plurality of cell multiplexers are stacked in the cell switch, the configuration of the cell multiplexer of the present invention can be applied to the cell switch as a configuration corresponding to one output port of the cell switch. is there.

本発明のセルバッファ装置は、セルに限らず一般的なバッファ装置にも適用可能である。   The cell buffer device of the present invention is applicable not only to cells but also to general buffer devices.

さらに、本発明はATM通信網のみならず、パケット交換網にも適用可能である。   Furthermore, the present invention can be applied not only to an ATM communication network but also to a packet switching network.

現在、ATM(Asynchronous Transfer Mode)通信方式に関する研究が、世界中の通信技術の研究者らによって精力的に行なわれている。ATM通信方式は情報をセルという固定長のパケットにより伝送交換する。ATM通信方式ではスイッチノード内のハードウェアによるセルスイッチにより、高速なセルの交換が可能で単位時間当たりの情報転送能力は既存の通信網を越えるものを実現可能である。   Currently, research on ATM (Asynchronous Transfer Mode) communication systems is being actively conducted by researchers of communication technologies around the world. In the ATM communication method, information is exchanged by a fixed-length packet called a cell. In the ATM communication system, cell switching by hardware in the switch node enables high-speed cell exchange, and the information transfer capability per unit time can exceed that of an existing communication network.

ATM通信方式は、セルのヘッダのVPI(Virtual PathIdentifier)とVCI(Virtual ChannelIdentifier)と呼ばれる識別情報により、ひとつの物理伝送路に論理的に複数のコネクション(Virtual Connection:VC)を設定することができる。網内の各スイッチノードにおいては、各VCに対して予めルートが定められており、スイッチノードはセルのコネクション識別子VPIとVCIからセルを出力すべき出方路を求める。VPIとVCIは、スイッチノード間の物理伝送路で一意に割り当てられるため、スイッチノードは、通過するセルのVPIとVCIの値を書き換える能力を持つ。   In the ATM communication system, a plurality of connections (Virtual Connection: VC) can be logically set in one physical transmission line by identification information called VPI (Virtual PathIdentifier) and VCI (Virtual ChannelIdentifier) in the header of the cell. . In each switch node in the network, a route is determined in advance for each VC, and the switch node obtains an outgoing route to output a cell from the connection identifiers VPI and VCI of the cell. Since the VPI and VCI are uniquely assigned in the physical transmission path between the switch nodes, the switch node has the ability to rewrite the values of the VPI and VCI of the passing cell.

これまで、ATM網において品質を保証されたVCは、CBR(Con−stant Bit Rate:固定ビットレート)コネクションかVBR(Variable Bit Rate:可変ビットレート)コネクションが中心であった。CBRコネクションは、セルの伝送速度(セルレートまたは帯域ともいう。単位時間当たりの伝送セル数)が一定で予めわかっているトラヒックを伝送するVCであり、VBRコネクションはセルの伝送速度が一定ではないが、その最大値(ピークレート)と平均値(平均レート)などのトラヒックの性質が予めわかっているVCである。   Until now, VCs whose quality is guaranteed in ATM networks have been centered on CBR (Con-stant Bit Rate) connections or VBR (Variable Bit Rates) connections. A CBR connection is a VC that transmits traffic that is known in advance with a constant cell transmission rate (also referred to as a cell rate or bandwidth; the number of transmission cells per unit time), and a VBR connection is a cell transmission rate that is not constant. In this VC, the traffic characteristics such as the maximum value (peak rate) and the average value (average rate) are known in advance.

基本的には、1本の物理伝送路に複数のVCを十分な品質を保ちつつ多重化する場合には、全てのVCのピークレートの和が物理伝送路の帯域以下になっていればよい。この手法をピークレート割り当てと呼ぶ。CBRコネクションのみをピークレート割り当てした場合には、物理伝送路の十分に高い利用効率が達成可能である。VBRコネクションの場合には、ピークレート割り当てでは、物理伝送路の利用効率を高くできない。そこで予め分かっているトラヒックの性質より、統計的多重化効果を用いて品質を保ちつつ利用効率を上げる技術がさかんに検討されている。   Basically, when a plurality of VCs are multiplexed on a single physical transmission line while maintaining sufficient quality, the sum of the peak rates of all VCs should be less than or equal to the bandwidth of the physical transmission line. . This method is called peak rate allocation. When only the CBR connection is assigned the peak rate, sufficiently high utilization efficiency of the physical transmission path can be achieved. In the case of the VBR connection, the use efficiency of the physical transmission path cannot be increased by the peak rate allocation. Therefore, a technique for increasing the utilization efficiency while maintaining the quality by using the statistical multiplexing effect is being studied from the known traffic characteristics.

ところが、計算機間のATM通信を考えると、平均レートを始めとしたトラヒックの性質が予め予測できないという性質や、瞬間的に大量のセルを送信するが、送信しないときには全くセルを送信しないというバースト性と呼ばれる性質がある。そのため、CBRやVBRの様に品質を保証しつつ網の利用効率を上げることは難しい。つまり計算機間で転送されるデータは、ピークレート割り当てなどで品質を保証しようとすると網の利用効率が著しく低下し、VBRの様に統計的多重化効果を用いるとトラヒックのバースト性のためにセルスイッチのある出力ポートに同時に大量のセルが到着し、セルスイッチのバッファ量が十分でないと、バッファ溢れによるセル廃棄が発生してしまう。また、セル廃棄が発生すると複数のセルで構成されているパケット単位で再送が発生し、これにより、実効的なスループットが低下する。   However, when considering ATM communication between computers, the nature of traffic such as an average rate cannot be predicted in advance, and the burst property that a large number of cells are transmitted instantaneously but not transmitted when not transmitted. There is a nature called. For this reason, it is difficult to improve the network utilization efficiency while guaranteeing the quality as in CBR and VBR. In other words, if the quality of data transferred between computers is guaranteed by peak rate allocation or the like, the use efficiency of the network is remarkably reduced. If the statistical multiplexing effect such as VBR is used, the traffic burstiness is increased. If a large number of cells arrive at the output port of the switch at the same time and the buffer amount of the cell switch is not sufficient, cell discard due to buffer overflow occurs. In addition, when cell discard occurs, retransmission occurs in units of packets made up of a plurality of cells, thereby reducing the effective throughput.

そこで近年、端末とスイッチノード間でフロー制御をかけて、セルの転送品質(特にセル廃棄に関する品質)を保証し、かつ、網の利用効率を上げるABR(Available Bit Rate)というサービスクラスが提案され、検討が進んでいる。ABRコネクションは、経由するスイッチノードがセル輻輳におちいりそうになった場合には、スイッチノードがセル輻輳の発生前に、送信端末にセルの送出を迎えるように要求する。端末へのトラヒック制御情報は、主にRMセル(リソース管理セル)と呼ばれるセルを用いて行なう。ABRにおけるスイッチノードから送信端末へのトラヒック制御には無視できない遅延時間が存在する。そのため、トラヒック制御が有効に作用するまでセルを廃棄しないようにセルスイッチは大容量のバッファを実装する必要がある。   Therefore, in recent years, a service class called ABR (Available Bit Rate) has been proposed in which flow control is performed between a terminal and a switch node to guarantee cell transfer quality (particularly quality related to cell discard) and to improve network utilization efficiency. Study is progressing. The ABR connection requests that the switch node greets the transmitting terminal to send a cell before the occurrence of the cell congestion when the switch node through which the ABR connection is likely to be congested. Traffic control information to the terminal is mainly performed using cells called RM cells (resource management cells). There is a non-negligible delay time in traffic control from a switch node to a transmission terminal in ABR. Therefore, it is necessary to mount a large-capacity buffer in the cell switch so that the cell is not discarded until the traffic control works effectively.

CBR、VBR、ABRの他のサービスクラスとして、UBR(Unspecified Bit Rate)というサービスクラスが存在する。このクラスは、端末が出力するトラヒック特性を詳細に網に申告することを必要としない。そのかわり、網はその転送品質について一切の保証をしない、いわゆるベストエフォート(Best Effort)サービスのクラスである。   As another service class of CBR, VBR, and ABR, there is a service class called UBR (Unspecified Bit Rate). This class does not require detailed declaration of the traffic characteristics output by the terminal to the network. Instead, the network is a class of so-called Best Effort service that makes no guarantees about its transfer quality.

前述したように、計算機間のデータはバースト性を持っているため、UBRコネクションのセル廃棄率を満足できるものとするためにはセルスイッチに大容量のセルバッファを実装する必要があると考えられている。   As described above, since the data between computers has a burst property, it is considered that a large capacity cell buffer must be installed in the cell switch in order to satisfy the cell discard rate of the UBR connection. ing.

幸いなことに計算機間のトラヒックは転送の遅延時間、遅延揺らぎに関しての要求がCBRやVBRと比較して厳しくはない場合が多い。容量の大きなバッファをセルスイッチに実装することによりセルの伝送遅延時間、遅延揺らぎが増大するが、それを許容できるアプリケーションは決して少なくないと考えられる。   Fortunately, for traffic between computers, there are many cases in which the requirements regarding the transfer delay time and delay fluctuation are not as strict as those of CBR and VBR. Although a cell transmission delay time and delay fluctuation are increased by mounting a buffer with a large capacity in a cell switch, it is considered that there are many applications that can tolerate this.

特にABR、UBRサービスの場合、網の輻輳を回避する手段が必要となると考えられる。輻輳回避手段のひとつとして、EFCI(ExplicitForward Congestion Indication)と呼ばれる方法がある。セルのヘッダ内に、そのセルの輻輳経験を書き込むEFCIビットがあり、網内のセルスイッチは、その輻輳状況に応じてEFCIをマークする。端末はその情報を利用することにより輻輳を回避することが可能となる。   Particularly in the case of ABR and UBR services, it is considered that a means for avoiding network congestion is required. As one of the congestion avoiding means, there is a method called EFCI (Explicit Forward Connection Indication). There is an EFCI bit in the cell header that writes the congestion experience of the cell, and the cell switch in the network marks the EFCI according to the congestion status. The terminal can avoid congestion by using the information.

次に、VC間公平キューイングについて説明する。   Next, inter-VC fair queuing will be described.

まず、ABRサービスにおける耐故障性から要求されるVC間公平キューイングについて述べる。   First, the fair queuing between VCs required for fault tolerance in the ABR service will be described.

ABRサービスは、網からのトラヒック制御情報に従って送信端末がセルの送出を制御することによって成立する。もし、ある端末が故障し(もしくは故意に)、網からのトラヒック制御情報を無視すれば、網の輻輳からの脱出が困難になるおそれがある。   The ABR service is established when the transmitting terminal controls cell transmission according to traffic control information from the network. If a certain terminal breaks down (or deliberately) and ignores traffic control information from the network, it may be difficult to escape from network congestion.

このような問題は、セル多重化装置またはセルスイッチにおいてVC間で公平なキューイングを行ない、VC間の公平なセル多重化スケジューリングとVC間の公平なバッファ割り当てを実現することにより解決できる。VC間公平キューイングを行なえばVC間の相互作用は最小限に抑えられ、もしトラヒック制御情報を無視するVCがあっても、そのVCのみが輻輳におちいり、その他のVCにおよぼす影響を低減できるからである。   Such a problem can be solved by performing fair queuing between VCs in a cell multiplexing apparatus or cell switch to realize fair cell multiplexing scheduling between VCs and fair buffer allocation between VCs. By performing fair queuing between VCs, the interaction between VCs can be minimized, and even if there is a VC that ignores traffic control information, only that VC can be congested and the impact on other VCs can be reduced. Because.

また、UBRサービスにおける公平性からもVC間公平キューイングが要求される。   Also, fair queuing between VCs is required for fairness in UBR service.

図48に、UBRサービスにおける不公平な帯域割り当ての例を示す。この例では網に端末A、B、C、Dの4つの端末と、ひとつのファイルサーバが存在し、それぞれがセルスイッチ(またはセル多重化装置)X、Y、Zとリンク1、2、3、4、5、6、7により接続されている。   FIG. 48 shows an example of unfair bandwidth allocation in the UBR service. In this example, there are four terminals A, B, C, and D in the network, and one file server, each of which is a cell switch (or cell multiplexer) X, Y, Z and links 1, 2, 3, 4, 5, 6, 7.

ここで、各セルスイッチが入力リンクに設定されているVC数に関わらずセルを多重化したとすると、各セルスイッチは入力ポートを平等に扱う。例えば、セルスイッチXは、リンク2とリンク3からのセルをリンク1へ多重化する場合に、両方のリンクを平等に扱うため、リンク1の帯域を1.0とすると、リンク2とリンク3にそれぞれ0.5の帯域を与える。   Here, assuming that each cell switch multiplexes cells regardless of the number of VCs set as input links, each cell switch treats input ports equally. For example, when the cells from link 2 and link 3 are multiplexed to link 1, cell switch X treats both links equally. Each is given a bandwidth of 0.5.

同様に考えていくと最終的に各端末に与えられる帯域は、端末Aが最も大きく0.5、端末C、Dは最も少なく0.125である。全ての端末が平等にファイルサーバにアクセスすることが理想だとすれば、これは理想とはほど遠い。   Considering the same, the bandwidth finally given to each terminal is 0.5 for terminal A, and 0.125 for terminals C and D, the smallest. If it is ideal that all terminals have equal access to the file server, this is far from ideal.

またさらに、網が輻輳に陥った場合、網は端末に帯域を小さくするようにEFCI情報を送信する。このとき、網内にEFCI情報に忠実に従う端末と、無視する端末が存在する場合、EFCIに忠実な端末のみがセルの送出を抑制するため、EFCIを無視する端末は不当に多くの帯域資源を確保することになってしまうという問題点もある。   Furthermore, when the network is congested, the network transmits EFCI information so as to reduce the bandwidth to the terminal. At this time, if there are terminals in the network that faithfully follow the EFCI information and terminals that are ignored, only the terminals that are faithful to the EFCI suppress cell transmission. Therefore, a terminal that ignores the EFCI uses an unreasonably large amount of bandwidth resources. There is also a problem that it will be secured.

これらの問題は、セルスイッチが入力リンクに多重されているVC数を無視して各入力リンクを平等に扱っていることによる。セルスイッチがVC間公平キューイングを行ない、VC数に応じた帯域の分配を行なうことにより、各端末は公平にファイルサーバーにアクセスすることが可能となる。   These problems are due to the cell switch treating each input link equally, ignoring the number of VCs multiplexed on the input link. When the cell switch performs fair queuing between VCs and distributes bandwidth according to the number of VCs, each terminal can access the file server fairly.

次に、クラス間の優先制御を行なうセル多重化装置について説明する。   Next, a cell multiplexing apparatus that performs priority control between classes will be described.

図49に従来のクラス間の優先制御を行なうセル多重化装置の構成を示す。   FIG. 49 shows a configuration of a conventional cell multiplexing apparatus that performs priority control between classes.

図49は、N本の入力ポートから入力したセルを1本の出力ポートに多重化するセル多重化装置である。   FIG. 49 shows a cell multiplexing apparatus that multiplexes cells input from N input ports into one output port.

出力バッファは、内部のクラス毎のセル蓄積部にクラス毎にセルを蓄積し、出力ポートへはクラスの優先度に応じてセルをセル選択部が選択し出力する。   The output buffer stores cells for each class in a cell storage unit for each internal class, and the cell selection unit selects and outputs cells to the output port according to the priority of the class.

出力バッファの各蓄積部に蓄積しているセル数としきい値とを比較してバックプレッシャ信号を生成する。入力バッファもまたクラス毎のセル蓄積部が設けられており、バックプレッシャ信号により出力が許可されているクラスの中からクラスの優先度に応じてセルを出力バッファへ転送する。   A back pressure signal is generated by comparing the number of cells stored in each storage unit of the output buffer with a threshold value. The input buffer is also provided with a cell storage unit for each class, and transfers cells to the output buffer in accordance with the class priority from the classes permitted to be output by the back pressure signal.

この構成では出力バッファに複数のクラス毎セル蓄積部を設ける必要があるため、クラス数が多くなると出力バッファの実現が困難になるという欠点があった。特に、出力バッファの入力速度は入力ポートの速度のN倍(Nは入力ポート数)である必要があり、クラス数、入力ポート数が大きな場合は、この様な複雑な機能を実現することは困難であった。   In this configuration, since it is necessary to provide a plurality of cell storage units for each class in the output buffer, there is a drawback that it becomes difficult to realize the output buffer when the number of classes increases. In particular, the input speed of the output buffer must be N times the speed of the input port (N is the number of input ports). If the number of classes and the number of input ports is large, such complex functions cannot be realized. It was difficult.

図49を、セルスイッチの各出力ポートに関する部分と考えると、入力ポートにバッファを持つセルスイッチについても同じ問題点が存在する。   Considering FIG. 49 as a part related to each output port of the cell switch, the same problem exists for a cell switch having a buffer at the input port.

次に、セル多重化装置について説明する。   Next, the cell multiplexing apparatus will be described.

図50に示すような入力バッファを持つセル多重化装置の問題点を説明する。   Problems of the cell multiplexing apparatus having an input buffer as shown in FIG. 50 will be described.

図50は、N本の入力ポートから入力されたセルを1本の出力ポートに多重化するセル多重化装置である。   FIG. 50 shows a cell multiplexing apparatus that multiplexes cells input from N input ports into one output port.

出力バッファは、入力ポートからのセルを一時的に蓄積し、出力ポートの速度に応じてセルを出力する。   The output buffer temporarily accumulates cells from the input port and outputs cells according to the speed of the output port.

出力バッファに蓄積しているセル数としきい値とを比較してバックプレッシャ信号を生成する。入力バッファは出力ポートに対応してひとつのキューを持ち、バックプレッシャ信号により出力が許可されているときのみセルを出力バッファへ転送する。   A back pressure signal is generated by comparing the number of cells stored in the output buffer with a threshold value. The input buffer has one queue corresponding to the output port, and transfers cells to the output buffer only when output is permitted by the back pressure signal.

この様なセル多重化装置は設定されているVC数に関わらず各入力バッファを公平に扱ってしまうため、ABRサービスにおける耐故障性や、UBRサービスにおける公平性に問題があった。   Since such a cell multiplexing apparatus treats each input buffer fairly regardless of the number of set VCs, there is a problem in fault tolerance in the ABR service and fairness in the UBR service.

図50を、セルスイッチの各出力ポートに関する部分と考えると、入力ポートにバッファを持つセルスイッチについても同じ問題点が存在する。   If FIG. 50 is considered as a part related to each output port of the cell switch, the same problem exists also in the cell switch having a buffer at the input port.

次に、VC間公平キューイングについて説明する。   Next, inter-VC fair queuing will be described.

図51にVC間公平キューイングの実現方法であるVC毎のFIFOの構成を示す。   FIG. 51 shows the configuration of a FIFO for each VC, which is a method for realizing fair queuing between VCs.

図51は、入力リンクより入力したセルのコネクション識別情報をバッファポインタ管理部に通知し、バッファポインタ管理部よりセルの書き込み位置を示す書き込みポインタを得てセルを一時的にセルバッファに蓄積し、バッファポインタ管理部からの、読みだしセルを示す読みだしポインタに基づいてセルをセルバッファから読みだし出力リンクへ出力するセルバッファ装置である。バッファポインタ管理部は、蓄積しているセルのセルバッファ上の位置を示すバッファポインタを管理する。   51 notifies the buffer pointer management unit of cell connection identification information input from the input link, obtains a write pointer indicating the cell write position from the buffer pointer management unit, temporarily stores the cell in the cell buffer, This is a cell buffer device that reads a cell from a cell buffer based on a read pointer indicating a read cell from a buffer pointer management unit and outputs the cell to an output link. The buffer pointer management unit manages a buffer pointer indicating the position of the accumulated cell on the cell buffer.

バッファポインタ管理部はVCテーブルによりバッファポインタをVC毎に管理する。図51は広く知られているポインタチェーンによる管理方法を示している。   The buffer pointer management unit manages the buffer pointer for each VC using the VC table. FIG. 51 shows a management method using a widely known pointer chain.

セルが入力すると空きチェーンの先頭からバッファポインタを書き込みポインタとして一つ取りだし、入力セルに対応するVCのチェーンの末尾につける。セルを出力する時は、セルを蓄積しているVCを公平に選択し、その先頭のバッファポインタを読みだしポインタとして取りだす。セル出力時にVCを公平に選択する方法として、ラウンドロビンが知られている。   When a cell is input, one buffer pointer is taken out from the head of the empty chain as a write pointer, and is attached to the end of the VC chain corresponding to the input cell. When outputting a cell, the VC storing the cell is selected fairly, and the leading buffer pointer is read out and taken out as a pointer. Round robin is known as a method for selecting a VC fairly at the time of cell output.

VCをラウンドロビンで選択するためには、VCテーブル上で、前回出力したVCの次から、バッファに蓄積しているセルがあるかどうかを順に検索しなければならない。検索は、多い場合にはほぼ全てのVCを1セル周期で行なう必要があるが、設定すべきVC数は数千以上に及ぶ場合があり、実現は困難であった。次に、キュー長監視について説明する。   In order to select a VC by round robin, it is necessary to search on the VC table in order from the next to the previously output VC whether there is a cell stored in the buffer. In the case of a large number of searches, it is necessary to perform almost all the VCs in one cell cycle, but the number of VCs to be set may reach several thousand or more, which is difficult to realize. Next, queue length monitoring will be described.

図52に、例えば図50の様な、入力バッファを持つセル多重化装置における、入力バッファのキュー長の変化の一例を示す。   FIG. 52 shows an example of a change in the queue length of the input buffer in the cell multiplexing apparatus having the input buffer as shown in FIG.

横軸は時間、縦軸は上が入力バッファのキュー長、下がバックプレッシャ信号である。バックプレッシャ信号が出力禁止を指示しているとき(Tup)、入力バッファからの出力スループットはゼロであるためキュー長はバッファの入力レート(Ri )で増加する。バックプレッシャ信号が出力可能を指示しているとき、入力バッファからの出力スループットは最大であり、通常キュー長は減少する。   The horizontal axis represents time, the vertical axis represents the queue length of the input buffer, and the bottom represents the back pressure signal. When the back pressure signal indicates output prohibition (Tup), the output throughput from the input buffer is zero, so the queue length increases at the buffer input rate (Ri). When the back pressure signal indicates that output is possible, the output throughput from the input buffer is maximum and the normal queue length decreases.

この様にキュー長はバックプレッシャ信号に同期して振動する。従来、バッファにセルが到着したとき、キュー長がしきい値を越えていれば入力したセルを受け付けず廃棄し、越えていなければ受け付けることが広く行なわれている。この方法は通常のバッファでは問題ないが、この様にバッファの出力がバックプレッシャ信号に制御されている場合に問題となる。キュー長の最大値は入力レート(Ri )とバックプレッシャ信号が出力禁止を指示している時間(Tup)によって決定され、特にバックプレッシャ信号の出力禁止時間(Tup)は、他の入力バッファへの入力トラヒックなどに大きく影響されるからである。   In this way, the queue length vibrates in synchronization with the back pressure signal. Conventionally, when a cell arrives at a buffer, if the queue length exceeds a threshold value, the input cell is not accepted but discarded, and if not, it is widely accepted. This method has no problem with a normal buffer, but becomes a problem when the output of the buffer is controlled by the back pressure signal in this way. The maximum value of the queue length is determined by the input rate (R i) and the time (Tup) when the back pressure signal instructs to inhibit output. In particular, the output inhibition time (Tup) of the back pressure signal is determined for other input buffers. This is because it is greatly influenced by input traffic and the like.

バックプレッシャ信号により制御されるバッファ装置の場合は、単純にキュー長としきい値と比較してセルの廃棄を決定する方法では外部条件によりセルの廃棄が過敏に影響され安定したセルの廃棄が困難であった。キュー長から輻輳を判断する場合にも同じ問題点があった。   In the case of a buffer device controlled by a back pressure signal, simply discarding cells by comparing them with the queue length and threshold value makes it difficult to stably discard cells because the cell discards are sensitively affected by external conditions. Met. The same problem exists when judging congestion from the queue length.

次に、優先制御を行うセルバッファ装置について説明する。   Next, a cell buffer device that performs priority control will be described.

図53に、優先制御を行なうセルバッファ装置の構成を示す。   FIG. 53 shows the configuration of a cell buffer device that performs priority control.

遅延に関して低優先のセルを一時的に蓄積する、クラス1セル蓄積部と、高優先のセルを一時的に蓄積するクラス2セル蓄積部とあって、それぞれの出力はクラス多重化FIFOにより多重化される。クラス管理部は、クラス2セル蓄積部セル数Na およびクラス多重化FIFOセル数Nb を入力し、どちらかのクラスへ転送指示を与える。転送指示を受けたクラスのセル蓄積部は1セルだけクラス多重化FIFOへ転送する。   There is a class 1 cell storage unit that temporarily stores low-priority cells with respect to delay, and a class 2 cell storage unit that temporarily stores high-priority cells. Each output is multiplexed by a class multiplexing FIFO. Is done. The class management unit inputs the class 2 cell storage unit cell number Na and the class multiplexed FIFO cell number Nb, and gives a transfer instruction to one of the classes. Upon receiving the transfer instruction, the class cell storage unit transfers only one cell to the class multiplexing FIFO.

このセルバッファ装置の優先制御の性能を高めるためにはクラス多重化FIFOの蓄積セル数を少なくすることが必要であるが、スループットを低下させないためには、クラス多重化FIFOを努めて空にしない(=アンダフローしない)ように転送を指示する必要がある。さらに、どちらか一方のセル蓄積部が空になっている時に、空のセル蓄積部に対して転送を指示してしまった場合(空指示と呼ぶ)にはアンダフローしてしまう可能性があるため、転送指示は蓄積セルが存在するセル蓄積部に対して行なう必要がある。   In order to improve the priority control performance of this cell buffer device, it is necessary to reduce the number of cells stored in the class multiplexing FIFO. However, in order not to reduce the throughput, the class multiplexing FIFO is not emptied. It is necessary to instruct transfer so that (= no underflow). Furthermore, when either one of the cell storage units is empty, if there is an instruction for transfer to the empty cell storage unit (referred to as an empty instruction), an underflow may occur. Therefore, it is necessary to give a transfer instruction to the cell storage unit in which the storage cell exists.

以上の方針から、クラス管理部がクラス2セル蓄積部へ転送指示を行なう条件は、
(Nb ≦1)and(Na 1)で与えられる。クラス1セル蓄積部への転送指示は、
(Nb ≦1)and(Na ==0)である。
From the above policy, the condition for the class management unit to instruct the transfer to the class 2 cell storage unit is as follows:
(Nb ≦ 1) and (Na > 1). The transfer instruction to the class 1 cell storage unit is
(Nb.ltoreq.1) and (Na == 0).

ここで、クラス毎のセル蓄積部やクラス多重化FIFOからクラス管理部へのセル数情報の伝送や、クラス管理部からクラス毎セル蓄積部への転送指示情報の伝送、さらにはクラス毎セル蓄積部からセル多重化FIFOへのセル転送に遅延時間が存在する場合を考える。このとき従来は次のような問題点が存在していた。   Here, transmission of cell number information from the cell storage unit for each class or class multiplexing FIFO to the class management unit, transmission of transfer instruction information from the class management unit to the class cell storage unit, and cell storage for each class Consider a case where there is a delay time in cell transfer from the cell to the cell multiplexing FIFO. Conventionally, the following problems existed at this time.

これらの遅延時間により、クラス多重化FIFOがアンダフローするかどうかがクラス管理部で正確に判定できなかった。そこでクラス多重化FIFO内セル数をこの遅延時間に応じた大きめのしきい値と比較してアンダフローしないための条件としていた。この結果、クラス多重化FIFOの平均キュー長が大きくなり優先制御の性能が低下した。   Due to these delay times, the class manager cannot accurately determine whether or not the class multiplexed FIFO underflows. Therefore, the number of cells in the class multiplexing FIFO is set as a condition for preventing underflow by comparing with a larger threshold value corresponding to the delay time. As a result, the average queue length of the class multiplexing FIFO is increased and the performance of priority control is lowered.

また、高優先であるクラス2セル蓄積部情報の伝送が遅れることにより、クラス2セル蓄積部が空になったことを正確に判断できない。したがって空になっているのに空でないと誤り、空指示をしてしまうか、空でないのに空であると誤り、高優先であるクラス2のセルよりも低優先のクラス1のセルが優先して出力してしまうような指示を行なってしまっていた。結果としてセルバッファ装置のスループットが低下したり優先制御機能の性能が低下する問題点があった。   In addition, it is impossible to accurately determine that the class 2 cell storage unit is empty due to a delay in transmission of the high priority class 2 cell storage unit information. Therefore, if it is empty but it is not empty, it will give an error, and it will give an empty instruction, or if it is not empty, it will be empty, and the class 1 cell with low priority will take precedence over the class 2 cell with high priority. I was giving instructions to output. As a result, there is a problem that the throughput of the cell buffer device is lowered and the performance of the priority control function is lowered.

以上、図53の優先制御を行なうセルバッファ装置に関して問題点を述べた。この問題はこの様な優先制御を行なうセルバッファ装置のみならず、さまざまなセルバッファ装置において発生し得る。   The problems with the cell buffer device performing priority control in FIG. 53 have been described above. This problem can occur not only in cell buffer devices that perform such priority control, but also in various cell buffer devices.

つまり、複数のバッファ間のセルの転送を管理部が指示するセルバッファ装置において、管理部へのバッファ情報の伝送、管理部からバッファへの転送指示情報の伝送、バッファ間のセルの伝送に遅延時間が存在する場合、セルバッファ装置の性能やスループットが低下してしまうという問題点があった。   In other words, in the cell buffer device in which the management unit instructs the transfer of cells between a plurality of buffers, the transmission of buffer information to the management unit, the transmission of transfer instruction information from the management unit to the buffer, and the transmission of cells between buffers are delayed. When time exists, there is a problem that the performance and throughput of the cell buffer device are lowered.

以上述べたように、従来のセル多重化装置には次のような第1、第2の2つの問題点があった。   As described above, the conventional cell multiplexing apparatus has the following first and second problems.

まず、出力バッファに複数のクラス毎セル蓄積部を設ける必要があるため、クラス数が多くなると出力バッファの実現が困難になるという欠点があった。特に、出力バッファの入力速度は入力ポートの速度のN倍(Nは入力ポート数)である必要があり、クラス数、入力ポート数が大きな場合は、この様な複雑な機能を実現することは困難であった。   First, since it is necessary to provide a plurality of cell storage units for each class in the output buffer, there is a drawback that it becomes difficult to realize the output buffer when the number of classes increases. In particular, the input speed of the output buffer must be N times the speed of the input port (N is the number of input ports). If the number of classes and the number of input ports is large, such complex functions cannot be realized. It was difficult.

次に、設定されているVC数に関わらず各入力バッファを公平に扱ってしまうため、ABRサービスにおける耐故障性や、UBRサービスにおける公平性に問題があった。   Next, since each input buffer is treated fairly regardless of the set number of VCs, there is a problem in fault tolerance in the ABR service and fairness in the UBR service.

また、従来のセルバッファ装置には次のような第3、第4の2つの問題点があった。   Further, the conventional cell buffer device has the following third and fourth problems.

まず、VCをラウンドロビンで選択するためには、VCテーブル上で、前回出力したVCの次から、バッファに蓄積しているセルがあるかどうかを順に検索しなければならない。検索は、多い場合にはほぼ全てのVCを1セル周期で行なう必要があるが、設定すべきVC数は数千以上に及ぶ場合があり、実現は困難であった。   First, in order to select a VC by round robin, it is necessary to sequentially search the VC table for whether or not there is a cell accumulated in the buffer from the next output VC. In the case of a large number of searches, it is necessary to perform almost all the VCs in one cell cycle, but the number of VCs to be set may reach several thousand or more, which is difficult to realize.

これに対し近年、非特許文献1に記載されているようなアルゴリズムが提案されている。この文献で提案されているDRRというアルゴリズムはアクティブリストという概念を用いてセルを蓄積しているVCを管理するため、セル出力時のVCテーブルの検索が不要である。従って、設定すべきVC数が増えても高速にVC間公平キューイングの為の出力すべきセルの選択が実現できる。しかしながら、このDRRアルゴリズムでは、パケットを各VC毎に分類して蓄積するため各VCに設定された重みの値に応じた量のパケットが一度に出力されてしまい、その出力トラヒックのバースト性が非常に高くなってしまうという欠点があった。   On the other hand, in recent years, an algorithm as described in Non-Patent Document 1 has been proposed. Since the algorithm called DRR proposed in this document manages VCs that store cells using the concept of active lists, it is not necessary to search the VC table when cells are output. Therefore, even if the number of VCs to be set increases, selection of cells to be output for fair VC queuing can be realized at high speed. However, in this DRR algorithm, since packets are classified and stored for each VC, an amount of packets corresponding to the weight value set for each VC is output at a time, and the burstiness of the output traffic is extremely high. There was a drawback that it would be expensive.

次に、バックプレッシャ信号により制御されるバッファ装置の場合は、単純にキュー長としきい値と比較してセルの廃棄を決定する方法では外部条件によりセルの廃棄が過敏に影響され安定したセルの廃棄が困難であった。キュー長から輻輳を判断する場合にも同じ問題点があった。   Next, in the case of a buffer device controlled by a back pressure signal, the method of determining cell discard simply by comparing the queue length with a threshold value is sensitive to cell discard due to external conditions. Disposal was difficult. The same problem exists when judging congestion from the queue length.

さらに、複数のバッファ間のセルの転送を管理部が指示するセルバッファ装置においては、次のような第5の問題点があった。すなわち、管理部へのバッファ情報の伝送、管理部からバッファへの転送指示情報の伝送、バッファ間のセルの伝送に遅延時間が存在する場合、セルバッファ装置の性能やスループットが低下してしまうという問題点があった。
”Efficient Fair Queueing Deficit Round Robin”(pp.231−242、ACM SIGCOMM ’95、1995年8月)
Furthermore, the cell buffer device in which the management unit instructs cell transfer between a plurality of buffers has the following fifth problem. That is, if there is a delay time in the transmission of buffer information to the management unit, the transmission of transfer instruction information from the management unit to the buffer, and the transmission of cells between buffers, the performance and throughput of the cell buffer device will be reduced. There was a problem.
"Efficient Fair Queueing Defect Round Robin" (pp.231-242, ACM SIGCOMM '95, August 1995)

本発明は、上述の点に鑑みてなされたもので、その目的とするところは、キュー長の監視結果が外部条件の影響を受け難く、安定したキュー長の監視が容易であるセル多重化装置を提供することにある。   The present invention has been made in view of the above points, and an object of the present invention is to provide a cell multiplexing apparatus in which the queue length monitoring result is not easily affected by external conditions, and stable queue length monitoring is easy. Is to provide.

本発明の他の目的は、複数のバッファ間のセルの転送を管理部が指示する際に、管理部へのバッファ情報の伝送、管理部からバッファへの転送指示情報の伝送、バッファ間のセルの伝送に遅延時間が存在する場合においても、従来のように性能やスループットが低下しないセル多重化装置を提供することにある。   Another object of the present invention is to transmit buffer information to the management unit, transmit transfer instruction information from the management unit to the buffer, and transfer cells between buffers when the management unit instructs transfer of cells between a plurality of buffers. It is an object of the present invention to provide a cell multiplexing apparatus in which performance and throughput do not decrease even when there is a delay time in transmission.

本発明のパケット転送装置(請求項1〜3)は、入力したパケットを一時的に蓄積する複数のバッファが直列に接続されて構成され、前段に接続されたバッファは後段に接続されたバッファに向けて、該後段のバッファ内部のパケットの蓄積状況に応じて定められるパケット出力可能/禁止状態に従って、パケットを出力するパケット転送装置であって、前記前段のバッファが前記後段のバッファにパケットを出力可能な状態から出力禁止状態に変化した後最初に前段のバッファへパケットが入力されたときの前段に接続されたバッファの蓄積状況を監視することにより、各バッファ内の蓄積状況(パケット量)の監視結果が外部条件の影響を受け難く、安定したキュー長の監視が容易で、例えば監視した蓄積パケット量が所定のしきい値を越えている場合に輻輳状態を判定することや、監視した蓄積パケット量が所定のしきい値を越えている場合に、その越えた量に応じて入力パケットを廃棄することが外部条件の影響を受けることなく安定して行える。   The packet transfer apparatus according to the present invention (Claims 1 to 3) is configured by connecting a plurality of buffers that temporarily store input packets in series, and the buffer connected to the previous stage is a buffer connected to the subsequent stage. The packet transfer apparatus outputs a packet in accordance with the packet output enable / disable state determined according to the accumulation state of the packet in the buffer in the subsequent stage, and the buffer in the previous stage outputs the packet to the buffer in the subsequent stage By monitoring the accumulation status of the buffer connected to the previous stage when the packet is first input to the previous stage buffer after changing from the enabled state to the output prohibited state, the accumulation status (packet amount) of each buffer is monitored. The monitoring result is not easily affected by external conditions, and stable queue length monitoring is easy.For example, the amount of accumulated packets monitored falls below a predetermined threshold. If there is an error, the congestion condition is judged, and when the monitored accumulated packet amount exceeds the predetermined threshold, discarding the input packet according to the exceeded amount is affected by external conditions. It can be done stably without any problems.

また、本発明のパケット転送装置(請求項4〜6)は、入力されたパケットを一時的に蓄積する少なくとも1つのバッファと、このバッファのパケットの転送(バッファへの入力または該バッファからの出力のどちらでもよい)を制御する制御手段とを具備したパケット転送装置であって、前記制御手段は、前記バッファに対するパケットの転送指示の履歴と前記バッファのパケットの蓄積状況を基に前記バッファに対しパケットの転送指示を行うことにより、転送指示を決定する際に転送指示の履歴を用いて、バッファから通知されてきたパケットの蓄積数を、転送指示がバッファに作用する時刻の蓄積数に修正するため、遅延時間を原因とした性能の劣化が少なくなる。   The packet transfer apparatus according to the present invention (claims 4 to 6) includes at least one buffer for temporarily storing input packets, and packet transfer (input to the buffer or output from the buffer) of the buffer. And a control means for controlling the buffer, the control means for the buffer based on a packet transfer instruction history for the buffer and a packet storage status of the buffer. By performing the packet transfer instruction, the transfer instruction history is used to determine the transfer instruction, and the accumulated number of packets notified from the buffer is corrected to the accumulated number of times when the transfer instruction acts on the buffer. Therefore, performance degradation due to the delay time is reduced.

本発明のバックプレッシャ信号を考慮するパケット転送装置(第8の実施形態(請求項1))によれば、キュー長の監視結果が外部条件の影響を受け難く、安定したキュー長の監視が容易である。   According to the packet transfer apparatus that takes into account the back pressure signal of the present invention (eighth embodiment (claim 1)), the monitoring result of the queue length is hardly affected by the external condition, and stable monitoring of the queue length is easy. It is.

また、本発明の遅延を考慮したセル数情報の修正を行うパケット転送装置(第9の実施形態(請求項2、3、4、5))によれば、転送指示を決定する際に転送指示の履歴を用いて、バッファから伝送されてきたセル数を、転送指示がバッファに作用する時刻のセル数に修正するため、遅延時間を原因とした性能の劣化が少ない。   Further, according to the packet transfer apparatus (the ninth embodiment (claims 2, 3, 4, 5)) that corrects the cell number information in consideration of the delay of the present invention, the transfer instruction is determined when the transfer instruction is determined. Thus, the number of cells transmitted from the buffer is corrected to the number of cells at the time when the transfer instruction acts on the buffer, so that there is little deterioration in performance due to the delay time.

以下、本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

0. 用語の定義
以下、本発明の実施の形態を説明する上で用いられる用語の定義を行う。
0. Definition of Terms Hereinafter, terms used for describing the embodiments of the present invention will be defined.

(1) パケットとは、固定長のセルを含む概念で、セルの上位概念と解することができる。また、以下の説明でパケットというときは、可変長、固定長を問わない。また、セルに限定して説明している場合でも、それは単に説明を簡単にするためのもので、特に、これに限るものではない。   (1) A packet is a concept including a fixed-length cell, and can be understood as a superordinate concept of a cell. In the following description, a packet is not limited to a variable length or a fixed length. Further, even when the description is limited to the cell, it is merely for the purpose of simplifying the description and is not particularly limited thereto.

(2) パケット(セル)多重化装置とパケット(セル)バッファ装置の違い:パケットバッファ装置:一つの以上の入力ポートと一つ以上の出力ポート及び一つ以上のバッファを具備し、入力ポートから入力されたパケットを必要に応じて一時的にバッファに蓄積し、出力ポートへ出力する装置。特にパケットを宛先に応じた出力ポートへ出力するパケットバッファ装置は、パケットスイッチと呼ばれる。   (2) Difference between packet (cell) multiplexer and packet (cell) buffer device: Packet buffer device: one or more input ports, one or more output ports, and one or more buffers. A device that temporarily stores input packets in a buffer as needed and outputs them to an output port. In particular, a packet buffer device that outputs a packet to an output port corresponding to a destination is called a packet switch.

パケット多重化装置:パケットバッファ装置の中でも特にパケットの出力ポートが一つのものをパケット多重化装置と呼ぶ(パケットバッファ装置を出力ポート毎に分けて考えると、入力ポートが共通な複数のパケット多重化装置の重ね合わせてとして見ることができる)。以下の説明において、パケット多重化装置について述べていることは、パケットバッファ装置にも容易に適用できる。   Packet multiplexer: A packet multiplexer that has a single packet output port is called a packet multiplexer (multiple packet multiplexers with a common input port when the packet buffer is divided into output ports) Can be seen as a stack of devices). In the following description, the description of the packet multiplexing device can be easily applied to the packet buffer device.

(3)パケット転送装置:パケットバッファ装置と、その一種であるパケット多重化装置の双方を含む。また、以下の説明において、多重化装置あるいはバッファ装置を例にとり説明している場合も、特にこれに限るものではなく、広くパケット転送装置として適用できる。   (3) Packet transfer device: Includes both a packet buffer device and a packet multiplexing device which is a kind thereof. Also, in the following description, the case where a multiplexing device or a buffer device is described as an example is not particularly limited to this, and can be widely applied as a packet transfer device.

1. クラス間優先制御(第1の実施形態、第2の実施形態)
まず、本発明に係るクラス間の優先制御を行なうセル多重化装置の実施形態について説明する。
1. Inter-class priority control (first embodiment, second embodiment)
First, an embodiment of a cell multiplexing apparatus that performs priority control between classes according to the present invention will be described.

1.1 第1の実施形態図1に、第1の実施形態に係るクラス間の優先制御を行なうセル多重化装置の構成例を示す。   1.1 First Embodiment FIG. 1 shows a configuration example of a cell multiplexing apparatus that performs priority control between classes according to a first embodiment.

図1のセル多重化装置は、入力ポート#1〜#Nのそれぞれに対応して設けられ、各入力ポート#1〜#Nから入力したセルを一時的に蓄積する複数の入力バッファ10と、入力バッファ10の出力したセルを多重化し出力ポートへ出力する出力バッファ11と、全ての入力バッファを管理するクラス管理部12とを備える。   The cell multiplexer of FIG. 1 is provided corresponding to each of the input ports # 1 to #N, and a plurality of input buffers 10 that temporarily store cells input from the input ports # 1 to #N, An output buffer 11 that multiplexes cells output from the input buffer 10 and outputs them to an output port, and a class management unit 12 that manages all the input buffers are provided.

入力バッファ10は、入力したセルをクラス(クラス1〜クラス3)毎に蓄積するクラスのセル蓄積部13(クラス1セル蓄積部13a、クラス2セル蓄積部13b、クラス3セル蓄積部13c)と、セル蓄積部13から出力したセルを多重化し出力バッファ11へ出力するクラス多重化FIFO14を備えている。   The input buffer 10 includes a class cell storage unit 13 (class 1 cell storage unit 13a, class 2 cell storage unit 13b, class 3 cell storage unit 13c) that stores input cells for each class (class 1 to class 3). A class multiplexing FIFO 14 that multiplexes cells output from the cell storage unit 13 and outputs them to the output buffer 11 is provided.

クラス管理部12は、セル蓄積部13のクラス毎セル蓄積部セル数と、クラス多重化FIFO14のクラス多重化FIFOセル数を得て、予め定められたアルゴリズムより転送クラス指示を決定して全ての入力バッファ10へ同報する。   The class management unit 12 obtains the number of cell storage units for each class of the cell storage unit 13 and the number of class multiplexed FIFO cells of the class multiplexed FIFO 14, determines a transfer class instruction from a predetermined algorithm, Broadcast to the input buffer 10.

入力バッファ10に同報された転送クラス指示で指示されたクラスのセル蓄積部13は、セルをクラス多重化FIFO14へ転送し、クラス多重化FIFO14は、出力バッファ11内の輻輳状態に応じたバックプレッシャ信号の制御に従って出力バッファ11へセルを出力する。   The cell storage unit 13 of the class designated by the transfer class instruction broadcasted to the input buffer 10 transfers the cell to the class multiplexing FIFO 14, and the class multiplexing FIFO 14 backs up according to the congestion state in the output buffer 11. The cell is output to the output buffer 11 according to the control of the pressure signal.

クラス毎セル蓄積部13は通常はFIFO(First In First Out)メモリで構成される。   The cell storage unit 13 for each class is usually composed of a FIFO (First In First Out) memory.

図1は3クラス(クラス1〜クラス3)の場合を示したが、第1の実施形態はクラス数に関わらず有効に作用する。   Although FIG. 1 shows the case of three classes (class 1 to class 3), the first embodiment works effectively regardless of the number of classes.

また、図1を、セルスイッチの、各出力ポートに関する部分と考えるとセルスイッチについても第1の実施形態を適用できる。   Further, when FIG. 1 is considered to be a part related to each output port of the cell switch, the first embodiment can be applied to the cell switch.

図1の出力バッファ11は、単段のFIFO15から構成されているが、どんな状況においてもクラス多重化FIFO14のセルをある有限の時間内で出力ポートに出力できることを保証できれば、どんな形態でもよい。   The output buffer 11 shown in FIG. 1 is composed of a single-stage FIFO 15. However, the output buffer 11 may take any form as long as it can guarantee that the cells of the class multiplexed FIFO 14 can be output to the output port within a finite time in any situation.

例えば、バッファを全く持たずにクラス多重化FIFO14のセルを調停して出力ポートに出力する構成でもよい。また例えば、後述の図3または図4に示す構成でもかまわない。   For example, the configuration may be such that the cell of the class multiplexed FIFO 14 is arbitrated and output to the output port without having any buffer. Further, for example, the configuration shown in FIG. 3 or FIG.

図3に示した出力バッファ16は、FIFOが複数段(図3では2段)に構成されており、それぞれ前段のFIFOにバックプレッシャ信号が接続される。   The output buffer 16 shown in FIG. 3 has a plurality of FIFO stages (two stages in FIG. 3), and a back pressure signal is connected to the preceding FIFO.

すなわち、図3の出力バッファ16は、入力側(前段)の複数のFIFO18に、入力バッファ10の各出力に対応して設けられる入力リンク#1〜#Nが接続され、それらFIFO18の各出力が出力側(後段)のFIFO19に接続されて構成され、後段のFIFO19から、その輻輳状態に応じて出力されるバックプレッシャ信号は、前段の複数のFIFO18のそれぞれに接続され、前段の複数のFIFO18のそれぞれから、その輻輳状態に応じて出力されるバックプレッシャ信号は、複数のクラス多重化FIFO14のそれぞれに接続される。   That is, in the output buffer 16 of FIG. 3, input links # 1 to #N provided corresponding to the respective outputs of the input buffer 10 are connected to a plurality of FIFOs 18 on the input side (previous stage). The back pressure signal output from the subsequent FIFO 19 in accordance with the congestion state is connected to each of the plurality of FIFOs 18 in the preceding stage, and is connected to each of the FIFOs 18 in the preceding stage. A back pressure signal output from each according to the congestion state is connected to each of the plurality of class multiplexing FIFOs 14.

図4に示した出力バッファ17は、図3と同様にFIFOが複数段(図4では2段)に構成されている。図3と異なるのは、入力側の複数のFIFO18のキュー長情報(または全てのFIFOのキュー長情報でもよい)をバックプレッシャ生成部20へ転送し、バックプレッシャ生成部20はキュー長情報からバックプレッシャ信号を生成し、全ての入力リンクへ同報することである。   The output buffer 17 shown in FIG. 4 has a plurality of FIFOs (two stages in FIG. 4), as in FIG. The difference from FIG. 3 is that the queue length information of a plurality of FIFOs 18 on the input side (or the queue length information of all FIFOs) may be transferred to the back pressure generation unit 20, and the back pressure generation unit 20 A pressure signal is generated and broadcast to all input links.

例えば、キュー長を全て合計してしきい値と比較し、しきい値を越えていればバックプレッシャ信号により出力バッファへの入力を禁止する。バックプレッシャ生成部20はクラス管理部12に存在しても良い。   For example, all the queue lengths are summed and compared with a threshold value, and if the threshold value is exceeded, input to the output buffer is prohibited by the back pressure signal. The back pressure generation unit 20 may exist in the class management unit 12.

第1の実施形態のクラス間の優先制御を行うセル多重化装置によれば、高いスループットが必要な出力バッファにてクラスを識別する必要がないため、容易に実現することが可能となる。入力バッファはクラス毎にセルを管理する必要があるが、入力バッファに必要なスループットは低いため実現が容易となる。   According to the cell multiplexing apparatus that performs priority control between classes according to the first embodiment, it is not necessary to identify a class in an output buffer that requires high throughput, and therefore it can be easily realized. The input buffer needs to manage cells for each class. However, since the throughput required for the input buffer is low, implementation is easy.

図1のセル多重化装置の構成をさらに詳細に説明する。   The configuration of the cell multiplexing apparatus in FIG. 1 will be described in more detail.

クラス管理部12に入力されるクラス毎セル蓄積部セル数は、クラス毎に、全ての入力バッファ10のクラス毎セル蓄積部セル数の合計でよい。また、クラス多重化FIFOセル数も、全ての入力バッファ10の合計でよい。   The number of cell storage units by class input to the class management unit 12 may be the sum of the number of cell storage units by class of all input buffers 10 for each class. Further, the number of class multiplexed FIFO cells may be the sum of all the input buffers 10.

合計の演算はクラス管理部12の内部で行なっても良いし、クラス管理部12の外部で行なっても良い。   The total calculation may be performed inside the class management unit 12 or may be performed outside the class management unit 12.

セル数情報はクラス管理部12において比較的小さなしきい値と大小を判定する。しきい値が固定値であるか動的に変化する値であるかはクラス管理部12のアルゴリズムに依存するが、もししきい値がある固定値の場合はセル数の代わりにその比較結果をクラス管理部に入力してもよい。または、ある値以上はどのような値でもクラス管理部12の処理に影響を与えないのなら、それを利用してその値以上は一つの符号に符号化して入力しても良い。例えば4ビットで、セル数を(0000)=0、(0001)=1、(0010)=2、(0011)=3、…、(1101)=13、(1110)=14、(1111)=15以上、という16段階に符号化するなどとしてもよい。これによりクラス管理部12への入力情報を圧縮することができ、実装が容易になるという利点がある。   In the cell number information, the class management unit 12 determines a relatively small threshold value and magnitude. Whether the threshold value is a fixed value or a dynamically changing value depends on the algorithm of the class management unit 12. If the threshold value is a fixed value, the comparison result is used instead of the number of cells. You may input into a class management part. Alternatively, if any value greater than a certain value does not affect the processing of the class management unit 12, the value greater than that value may be encoded and input into one code. For example, with 4 bits, the number of cells is (0000) = 0, (0001) = 1, (0010) = 2, (0011) = 3,..., (1101) = 13, (1110) = 14, (1111) = The encoding may be performed in 16 stages of 15 or more. Thereby, there is an advantage that the input information to the class management unit 12 can be compressed and the mounting becomes easy.

セル数の合計を扱うことにより、クラス管理部12の実装を簡単化することができる。転送クラス指示も全ての入力バッファに同じ情報を同報することから、クラス管理部は入力バッファを個々に認識する必要がない。よって入力ポート数が多くなっても本質的な実装の困難度は変化しないという利点がある。   By handling the total number of cells, the implementation of the class management unit 12 can be simplified. Since the transfer class instruction also broadcasts the same information to all input buffers, the class manager does not need to recognize each input buffer individually. Therefore, there is an advantage that even if the number of input ports increases, the essential difficulty of mounting does not change.

クラス管理部12が転送指示を決定するアルゴリズムは例えば次のようなものである。   The algorithm by which the class manager 12 determines the transfer instruction is, for example, as follows.

1.クラス多重化FIFOセル数より、クラス多重化FIFOがアンダフローしないかどうかを判断し、アンダフローする可能性があると判断した場合のみアンダフローしないように転送指示を行なう。アンダフローとは、クラス多重化FIFOセル数がゼロになり、本来出力できるはずのクラス毎セル蓄積部のセルが有効に出力できない状態をいう。   1. Based on the number of class multiplexed FIFO cells, it is determined whether the class multiplexed FIFO does not underflow, and a transfer instruction is issued so as not to underflow only when it is determined that there is a possibility of underflow. Underflow refers to a state in which the number of class multiplexed FIFO cells becomes zero, and the cells in the cell storage unit for each class that should originally be output cannot be output effectively.

2.クラス毎セル蓄積部セル数より、入力バッファ10にセルが蓄積されているクラスを転送指示の候補とする。   2. Based on the number of cells per class, the class in which cells are stored in the input buffer 10 is determined as a transfer instruction candidate.

3.転送指示を行なうことができる場合に、転送指示の候補となっているクラスの中で最も優先度の高いクラスを求め、そのクラスの転送を指示する。   3. When the transfer instruction can be performed, the class having the highest priority among the classes that are candidates for the transfer instruction is obtained, and the transfer of the class is instructed.

クラス管理部12は出力バッファの状態とバックプレッシャ信号を直接考慮せずに転送クラス指示を行なう。そのため、転送クラス指示によるセルの転送スループットが、入力バッファ10からのセル出力スループットを、上回ることがあり、その差を一時的に吸収するためにクラス多重化FIFO14が用意されている。クラス管理部12はクラス多重化FIFOセル数を知ることで、転送クラス指示によるセル転送のスループットが、入力バッファ10からのセル出力スループットを、長時間連続して越えないように制御する。   The class management unit 12 issues a transfer class instruction without directly considering the state of the output buffer and the back pressure signal. For this reason, the cell transfer throughput according to the transfer class instruction may exceed the cell output throughput from the input buffer 10, and the class multiplexing FIFO 14 is prepared to temporarily absorb the difference. By knowing the number of class multiplexed FIFO cells, the class management unit 12 controls so that the cell transfer throughput according to the transfer class instruction does not continuously exceed the cell output throughput from the input buffer 10 for a long time.

クラス毎セル蓄積部13からクラス多重化FIFO14へ実際に転送したセルを全ての入力バッファ10で合計したセル数(クラス毎転送セル数)をクラス管理部12が知ることにより、より詳細なクラス間の優先制御を行なうことができる。   The class management unit 12 knows the number of cells (the number of transfer cells for each class) obtained by summing the cells actually transferred from the cell storage unit 13 for each class to the class multiplexing FIFO 14 in all the input buffers 10, so that more detailed inter-class Priority control can be performed.

この場合、クラス管理部12が転送指示を決定するアルゴリズムは例えば次のようなものである。   In this case, the algorithm by which the class management unit 12 determines the transfer instruction is, for example, as follows.

1.クラス多重化FIFO内セル数より、クラス多重化FIFOがアンダフローしないかどうかを判断し、アンダフローする可能性があると判断した場合のみアンダフローしないように転送指示を行なう。アンダフローとは、クラス多重化FIFOセル数がゼロになり、本来出力できるはずのクラス毎セル蓄積部13のセルが有効に出力できない状態をいう。   1. Based on the number of cells in the class multiplexed FIFO, it is determined whether the class multiplexed FIFO does not underflow, and a transfer instruction is issued so as not to underflow only when it is determined that there is a possibility of underflow. Underflow refers to a state in which the number of class multiplexed FIFO cells becomes zero and the cells of the class-by-class cell storage unit 13 that should originally be output cannot be output effectively.

2.クラス毎セル蓄積部セル数より、入力バッファにセルが蓄積されているクラスを転送指示の候補とする。   2. Based on the number of cells in each class cell storage unit, a class in which cells are stored in the input buffer is determined as a transfer instruction candidate.

3.クラス毎転送セル数より、クラス毎に予め定められたスループット以上のスループットを得ているクラスは、その程度に応じて転送指示する優先度を下げる。または転送指示の候補としない。   3. A class that obtains a throughput that is equal to or higher than a predetermined throughput for each class, based on the number of transfer cells for each class, lowers the priority for instructing transfer according to the degree. Or, it is not set as a transfer instruction candidate.

4.クラス毎転送セル数より、クラス毎に予め定められたスループット以下のスループットしか得ていないクラスは、その程度に応じて転送指示する優先度を上げる。   4). From the number of transfer cells for each class, a class that obtains only a throughput equal to or lower than the throughput predetermined for each class increases the priority for instructing transfer according to the degree.

5.転送指示を行なうことができる場合に、転送指示の候補となっているクラスの中で最も優先度の高いクラスを求め、そのクラスの転送を指示する。   5. When the transfer instruction can be performed, the class having the highest priority among the classes that are candidates for the transfer instruction is obtained, and the transfer of the class is instructed.

1.2 第2の実施形態
次に、第2の実施形態について説明する。
1.2 Second Embodiment Next, a second embodiment will be described.

図2に、第2の実施形態に係るクラス間の優先制御を行なうセル多重化装置の他の構成例を示す。   FIG. 2 shows another configuration example of the cell multiplexing apparatus that performs priority control between classes according to the second embodiment.

図2のセル多重化装置は、入力ポート#1〜#Nのそれぞれに対応して設けられ、各入力ポート#1〜#Nから入力したセルを一時的に蓄積する複数の入力バッファ100と、入力バッファ100の出力したセルを多重化し出力ポートへ出力する出力バッファ111と、全ての入力バッファ100を管理するクラス管理部112とを備える。   The cell multiplexing apparatus of FIG. 2 is provided corresponding to each of the input ports # 1 to #N, and a plurality of input buffers 100 for temporarily storing cells input from the input ports # 1 to #N; An output buffer 111 that multiplexes cells output from the input buffer 100 and outputs them to an output port, and a class management unit 112 that manages all the input buffers 100 are provided.

入力バッファ100は、入力したセルをクラス(クラス1〜クラス3)毎に蓄積するクラス毎のセル蓄積部113(クラス1セル蓄積部113a、クラス2セル蓄積部113b、クラス3セル蓄積部113c)と、セル蓄積部113から出力したセルを多重化し出力バッファ111へ出力するクラス多重化FIFO114を備えている。   The input buffer 100 stores the input cells for each class (class 1 to class 3), for each class, cell storage unit 113 (class 1 cell storage unit 113a, class 2 cell storage unit 113b, class 3 cell storage unit 113c). And a class multiplexing FIFO 114 that multiplexes the cells output from the cell storage unit 113 and outputs the multiplexed data to the output buffer 111.

クラス管理部112は、セル蓄積部113のクラス毎セル蓄積部セル数と、出力バッファ内セル数を得て、予め定められたアルゴリズムより転送クラス指示を決定して全ての入力バッファ100へ同報する。   The class management unit 112 obtains the number of cells in each cell storage unit 113 and the number of cells in the output buffer of the cell storage unit 113, determines a transfer class instruction from a predetermined algorithm, and broadcasts it to all the input buffers 100. To do.

入力バッファ100に同報された転送クラス指示で指示されたクラスのセル蓄積部113は、セルをクラス多重化FIFO114へ転送し、クラス多重化FIFO114は、出力バッファ111内の輻輳状態に応じたバックプレッシャ信号の制御に従って出力バッファ111へセルを出力する。   The cell storage unit 113 of the class designated by the transfer class instruction broadcast to the input buffer 100 transfers the cell to the class multiplexing FIFO 114, and the class multiplexing FIFO 114 backs up according to the congestion state in the output buffer 111. The cell is output to the output buffer 111 according to the control of the pressure signal.

クラス毎セル蓄積部113は通常はFIFOで構成される。   The cell storage unit 113 for each class is usually composed of a FIFO.

図2は3クラス(クラス1〜クラス3)の場合を示したが、第2の実施形態はクラス数に関わらず有効に作用する。   FIG. 2 shows the case of three classes (class 1 to class 3), but the second embodiment works effectively regardless of the number of classes.

図2を、セルスイッチの、各出力ポートに関する部分と考えるとセルスイッチについても第2の実施形態を適用できる。   If FIG. 2 is considered as a part regarding each output port of the cell switch, the second embodiment can be applied also to the cell switch.

図2の出力バッファ111は、どんな状況においてもクラス多重化FIFOのセルをある有限の時間内で出力ポートに出力できることを保証できれば、どんな形態でもよい。   The output buffer 111 of FIG. 2 may take any form as long as it can guarantee that the cell of the class multiplexed FIFO can be output to the output port within a finite time in any situation.

例えば、図4に示す構成でもかまわない。   For example, the configuration shown in FIG. 4 may be used.

なお、この場合、バックプレッシャ生成部20はクラス管理部112に存在してもよい。出力バッファ内セル数Nmは、バックプレッシャ生成部20にて加算し、図2のクラス管理部112へ出力する。   In this case, the back pressure generation unit 20 may exist in the class management unit 112. The number Nm of cells in the output buffer is added by the back pressure generation unit 20 and output to the class management unit 112 in FIG.

第2の実施形態のクラス間の優先制御を行うセル多重化装置によれば、高いスループットが必要な出力バッファにてクラスを識別する必要がないため、容易に実現することが可能である。入力バッファ100はクラス毎にセルを管理する必要があるが、入力バッファ100に必要なスループットは低いため実現が容易である。   According to the cell multiplexing apparatus that performs priority control between classes according to the second embodiment, since it is not necessary to identify a class in an output buffer that requires high throughput, it can be easily realized. The input buffer 100 needs to manage cells for each class, but is easy to implement because the throughput required for the input buffer 100 is low.

図2のセル多重化装置の構成をさらに詳細に説明する。   The configuration of the cell multiplexing apparatus in FIG. 2 will be described in further detail.

クラス管理部112に入力されるクラス毎セル蓄積部セル数は、クラス毎に、全ての入力バッファ100のクラス毎セル蓄積セル数の合計でよい。   The number of cell storage units per class input to the class management unit 112 may be the sum of the number of cell storage cells per class of all the input buffers 100 for each class.

合計の演算はクラス管理部112の内部で行なっても良いし、クラス管理部112の外部で行なっても良い。   The total calculation may be performed inside the class management unit 112 or may be performed outside the class management unit 112.

セル数情報はクラス管理部112において比較的小さなしきい値と大小を判定する。しきい値が固定値であるか動的に変化する値であるかはクラス管理部112のアルゴリズムに依存するが、もししきい値がある固定値の場合はセル数の代わりにその比較結果をクラス管理部112に入力してもよい。または、ある値以上はどのような値でもクラス管理部112の処理に影響を与えないのなら、それを利用してその値以上は一つの符号に符号化して入力しても良い。例えば4ビットで、セル数を(0000)=0、(0001)=1、(0010)=2、(0011)=3、…、(1101)=13、(1110)=14、(1111)=15以上、という16段階に符号化するなどとしてもよい。これによりクラス管理部への入力情報を圧縮することができ、実装が容易になるという利点がある。   In the cell number information, the class management unit 112 determines a relatively small threshold value and magnitude. Whether the threshold value is a fixed value or a dynamically changing value depends on the algorithm of the class management unit 112. If the threshold value is a fixed value, the comparison result is used instead of the number of cells. You may input into the class management part 112. FIG. Alternatively, if any value above a certain value does not affect the processing of the class management unit 112, the value above that value may be encoded into a single code and input. For example, with 4 bits, the number of cells is (0000) = 0, (0001) = 1, (0010) = 2, (0011) = 3,..., (1101) = 13, (1110) = 14, (1111) = The encoding may be performed in 16 stages of 15 or more. Thereby, there is an advantage that the input information to the class management unit can be compressed, and the mounting becomes easy.

セル数の合計を扱うことにより、クラス管理部112の実装を簡単化することができる。転送クラス指示も全ての入力バッファ100に同じ情報を同報することから、クラス管理部112は入力バッファ100を個々に認識する必要がない。よって入力ポート数が多くなっても本質的な実装の困難度は変化しないという利点がある。   By handling the total number of cells, the implementation of the class management unit 112 can be simplified. Since the transfer class instruction also broadcasts the same information to all the input buffers 100, the class management unit 112 does not need to recognize the input buffers 100 individually. Therefore, there is an advantage that even if the number of input ports is increased, the essential difficulty of mounting does not change.

クラス管理部112が転送指示を決定するアルゴリズムは例えば次のようなものである。   For example, the class management unit 112 determines the transfer instruction as follows.

1.出力バッファ111内セル数より、出力バッファ111がアンダフローしないかどうかを判断し、アンダフローする可能性があると判断した場合のみアンダフローしないように転送指示を行なう。アンダフローとは、出力バッファセル数がゼロになり、本来出力できるはずのクラス毎セル蓄積部113のセルが有効に出力できない状態をいう。   1. Based on the number of cells in the output buffer 111, it is determined whether the output buffer 111 does not underflow, and only when it is determined that there is a possibility of underflow, a transfer instruction is given so as not to underflow. Underflow refers to a state in which the number of output buffer cells becomes zero and the cells in the class-by-class cell storage unit 113 that should originally be output cannot be effectively output.

2.クラス毎セル蓄積部セル数より、入力バッファ100にセルが蓄積されているクラスを転送指示の候補とする。   2. Based on the number of cells in each class cell storage unit, a class in which cells are stored in the input buffer 100 is determined as a transfer instruction candidate.

3.転送指示を行なうことができる場合に、転送指示の候補となっているクラスの中で最も優先度の高いクラスを求め、そのクラスの転送を指示する。   3. When the transfer instruction can be performed, the class having the highest priority among the classes that are candidates for the transfer instruction is obtained, and the transfer of the class is instructed.

クラス管理部112は出力バッファ111の状態を直接考慮して転送クラス指示を行なう。そのため出力バッファ111のバッファ量を十分用意すれば、バックプレッシャ信号が入力バッファからのセル出力を抑制することがなく、クラス多重化FIFO114は基本的に不要である。クラス管理部112は出力バッファ内セル数を知ることで、転送クラス指示によるセル転送のスループットが、出力バッファ111からのセル出力スループットを、長時間連続して越えないように制御する。   The class management unit 112 issues a transfer class instruction by directly considering the state of the output buffer 111. Therefore, if a sufficient buffer amount is prepared for the output buffer 111, the back pressure signal does not suppress the cell output from the input buffer, and the class multiplexing FIFO 114 is basically unnecessary. By knowing the number of cells in the output buffer, the class management unit 112 controls the cell transfer throughput according to the transfer class instruction so as not to exceed the cell output throughput from the output buffer 111 continuously for a long time.

このように入力バッファ100へのバックプレッシャ信号およびクラス多重化FIFO114は基本的に不要であるが、出力バッファ111のバッファ量が十分でない場合には有効に作用する。これらを備えていれば無い場合に比べ出力バッファ111のバッファ量を少なくできる。   Thus, the back pressure signal to the input buffer 100 and the class multiplexing FIFO 114 are basically unnecessary, but they work effectively when the buffer amount of the output buffer 111 is not sufficient. If these are not provided, the buffer amount of the output buffer 111 can be reduced as compared with the case without them.

クラス毎セル蓄積部113からクラス多重化FIFO114へ実際に転送したセルを全ての入力バッファで合計したセル数(クラス毎転送セル数)をクラス管理部112が知ることにより、より詳細なクラス間の優先制御を行なうことができる。   The class management unit 112 knows the number of cells (the number of transferred cells for each class) obtained by totaling the cells actually transferred from the class-by-class cell storage unit 113 to the class multiplexing FIFO 114 in all the input buffers. Priority control can be performed.

この場合、クラス管理部112が転送指示を決定するアルゴリズムは例えば次のようなものである。   In this case, the algorithm by which the class management unit 112 determines the transfer instruction is, for example, as follows.

1.出力バッファ111内セル数より、出力バッファ111がアンダフローしないかどうかを判断し、アンダフローする可能性があると判断した場合のみアンダフローしないように転送指示を行なう。アンダフローとは、出力バッファセル数がゼロになり、本来出力できるはずのクラス毎セル蓄積部113のセルが有効に出力できない状態をいう。   1. Based on the number of cells in the output buffer 111, it is determined whether the output buffer 111 does not underflow, and only when it is determined that there is a possibility of underflow, a transfer instruction is given so as not to underflow. Underflow refers to a state in which the number of output buffer cells becomes zero and the cells in the class-by-class cell storage unit 113 that should originally be output cannot be effectively output.

2.クラス毎セル蓄積部セル数より、入力バッファ100にセルが蓄積されているクラスを転送指示の候補とする。   2. Based on the number of cells in each class cell storage unit, a class in which cells are stored in the input buffer 100 is determined as a transfer instruction candidate.

3.クラス毎転送セル数より、クラス毎に予め定められたスループット以上のスループットを得ているクラスは、その程度に応じて転送指示する優先度を下げる。または転送指示の候補としない。   3. A class that obtains a throughput that is equal to or higher than a predetermined throughput for each class, based on the number of transfer cells for each class, lowers the priority for instructing transfer according to the degree. Or, it is not set as a transfer instruction candidate.

4.クラス毎転送セル数より、クラス毎に予め定められたスループット以下のスループットしか得ていないクラスは、その程度に応じて転送指示する優先度を上げる。   4). From the number of transfer cells for each class, a class that obtains only a throughput equal to or lower than the throughput predetermined for each class increases the priority for instructing transfer according to the degree.

5.転送指示を行なうことができる場合に、転送指示の候補となっているクラスの中で最も優先度の高いクラスを求め、そのクラスの転送を指示する。   5. When the transfer instruction can be performed, the class having the highest priority among the classes that are candidates for the transfer instruction is obtained, and the transfer of the class is instructed.

1.3 第1、第2の実施形態に係るセル多重化装置の利点
以上、説明したように、上記第1、第2の実施形態のクラス間の優先制御を行なうセル多重化装置によれば、高いスループットが必要な出力バッファにてクラスを識別する必要がないため、入力ポート数が大きな場合においても実現が容易であるという利点がある。
1.3 Advantages of Cell Multiplexing Device According to First and Second Embodiments As described above, according to the cell multiplexing device that performs the priority control between classes of the first and second embodiments. Since there is no need to identify a class in an output buffer that requires high throughput, there is an advantage that it can be easily realized even when the number of input ports is large.

2. 公平キューイング(第3〜第7の実施形態)
次に、本発明に係るVC間公平キューイングを行なうセル多重化装置の実施形態について説明する。
2. Fair queuing (third to seventh embodiments)
Next, an embodiment of a cell multiplexing apparatus that performs inter-VC fair queuing according to the present invention will be described.

2.1 第3の実施形態(出力バッファ型のセル多重化装置)
図5に、第3の実施形態に係るVC間公平キューイングを行なうセル多重化装置の構成例を示す。
2.1 Third Embodiment (Output Buffer Type Cell Multiplexer)
FIG. 5 shows a configuration example of a cell multiplexing apparatus that performs fair VC queuing according to the third embodiment.

図5のセル多重化装置は、出力バッファ型と呼ばれ、入力ポート#1〜#Nのそれぞれに対応して設けられ、入力ポート#1〜#Nから入力したセルを、入力ポート数N倍の速度に速度変換する複数の速度変換回路200と、速度変換回路200の出力したセルを一時的に蓄積し出力ポートへ出力する出力バッファ201とを備える。   The cell multiplexing apparatus of FIG. 5 is called an output buffer type and is provided corresponding to each of the input ports # 1 to #N. The cell input from the input ports # 1 to #N is multiplied by the number of input ports N times. A plurality of speed conversion circuits 200 for speed conversion to the above speed, and an output buffer 201 for temporarily accumulating cells output from the speed conversion circuit 200 and outputting them to an output port.

出力バッファ201は、入力したセルをVC毎に分離するVC分離部201aと、各VC毎に設けられる複数のVC毎FIFO201bと、複数のVC毎FIFO201bのそれぞれから出力されるセルを選択して出力ポートへ出力するセル選択部201cを備えている。   The output buffer 201 selects and outputs a cell output from each of a VC separation unit 201a that separates input cells for each VC, a plurality of FIFOs 201b for each VC provided for each VC, and a plurality of FIFOs 201b for each VC. A cell selection unit 201c that outputs to a port is provided.

VC毎FIFO201bは十分良好なセル廃棄率を得るためには大容量でなければならない。またノンブロッキング条件より、VC毎FIFO201bの入力速度は入力ポートのN倍でなければならない。入力ポートの速度が大きい場合や、入力ポート数が多い場合は、この様なスループットを満足する高速大容量のメモリは安価ではなく、かつ、この様なスループットを満足しつつ複雑なVC毎のキュー管理を行なうことも困難である。   The per-VC FIFO 201b must have a large capacity in order to obtain a sufficiently good cell discard rate. In addition, due to the non-blocking condition, the input speed of the per-VC FIFO 201b must be N times the input port. When the input port speed is high or the number of input ports is large, a high-speed and large-capacity memory that satisfies such a throughput is not cheap, and a complex queue for each VC while satisfying such a throughput. Management is also difficult.

2.2 第4の実施形態(「カゴ」という概念を用いたセル多重化装置)
次に、第4の実施形態について説明する。
2.2 Fourth Embodiment (Cell Multiplexer Using the Concept of “Kago”)
Next, a fourth embodiment will be described.

図6に、第4の実施形態に係るカゴと呼ぶ概念を用いたセル多重化装置の構成例を示す。   FIG. 6 shows a configuration example of a cell multiplexing apparatus using a concept called a basket according to the fourth embodiment.

図6に示したセル多重化装置は、入力ポート#1〜#Nのそれぞれに対応して設けられ、入力ポート#1〜#Nから入力したセルを一時的に蓄積する複数の入力バッファ210と、各入力バッファ210の出力したセルを多重化し出力ポートへ出力する出力バッファ211とを備え、出力バッファ211内の輻輳状態に応じてバックプレッシャ信号により各入力バッファ210のセル出力を制御する。   The cell multiplexing apparatus shown in FIG. 6 is provided corresponding to each of the input ports # 1 to #N, and includes a plurality of input buffers 210 that temporarily store cells input from the input ports # 1 to #N. And an output buffer 211 that multiplexes the cells output from each input buffer 210 and outputs them to an output port, and controls the cell output of each input buffer 210 by a back pressure signal according to the congestion state in the output buffer 211.

このセル多重化装置は、出力許可済セル集合を管理するカゴ管理部212を備える。   This cell multiplexing apparatus includes a basket management unit 212 that manages an output-permitted cell set.

入力バッファ210に蓄積されているセルのうち、出力を許可されたセルの集合(出力許可済セル集合)をカゴと呼ぶ。入力バッファ210から出力するセルはカゴ213から選択する。   Among the cells stored in the input buffer 210, a set of cells permitted to be output (output permitted cell set) is called a basket. A cell to be output from the input buffer 210 is selected from the basket 213.

カゴ管理部212は、カゴ213に含まれるセル数を入力し、予め定められたアルゴリズムよりカゴ213へのセル転送指示を決定して全ての入力バッファ210へ同報する。   The basket management unit 212 inputs the number of cells included in the basket 213, determines a cell transfer instruction to the basket 213 by a predetermined algorithm, and broadcasts it to all the input buffers 210.

入力バッファ210は、セル転送指示により、カゴ213として確定されたセル以外の入力バッファ210に蓄積されているセルで、同一の時刻までに出力すべきセルの集合214をカゴ213に加える。   The input buffer 210 adds a set 214 of cells to be output by the same time among the cells stored in the input buffer 210 other than the cell determined as the cage 213 according to the cell transfer instruction.

図6を、セルスイッチの、各出力ポートに関する部分と考えるとセルスイッチについても第4の実施形態を適用できる。   If FIG. 6 is considered as a part regarding each output port of the cell switch, the fourth embodiment can be applied also to the cell switch.

図6の出力バッファ211は、どんな状況においてもカゴのセルをある有限の時間内で出力ポートに出力できることを保証できれば、どんな形態でもよい。   The output buffer 211 in FIG. 6 may take any form as long as it can guarantee that a car cell can be output to the output port within a finite time in any situation.

例えば、バッファを全く持たずにカゴ213のセルを調停して出力ポートに出力する構成でもよい。また例えば図3または図4に示す構成でもかまわない。   For example, a configuration may be employed in which the cell of the basket 213 is arbitrated and output to the output port without having any buffer. Further, for example, the configuration shown in FIG. 3 or 4 may be used.

なお、図4において、バックプレッシャ生成部20はカゴ管理部212に存在しても良い。   In FIG. 4, the back pressure generation unit 20 may exist in the basket management unit 212.

第4の実施形態のVC間公平キューイングを行なうセル多重化装置によれば、高いスループットが必要な出力バッファは簡単な構成になっているため、容易に実現することが可能である。入力バッファはカゴによりセルを管理する必要があるが、入力バッファに必要なスループットは低いため、実現の容易性は高い。   According to the cell multiplexing apparatus that performs inter-VC fair queuing according to the fourth embodiment, an output buffer that requires high throughput has a simple configuration and can be easily realized. The input buffer needs to manage cells by a cage, but since the throughput required for the input buffer is low, it is easy to implement.

図6のセル多重化装置の構成をさらに詳細に説明する。   The configuration of the cell multiplexing apparatus in FIG. 6 will be described in further detail.

カゴ管理部212に入力されるカゴ内セル数は、全ての入力バッファ210のカゴ内セル数の合計でよい。   The number of cells in the car that is input to the car management unit 212 may be the sum of the number of cells in the car of all the input buffers 210.

合計の演算はカゴ管理部212の内部で行なっても良いし、カゴ管理部212の外部で行なっても良い。   The total calculation may be performed inside the basket management unit 212 or may be performed outside the basket management unit 212.

セル数情報はカゴ管理部212において比較的小さなしきい値と大小を判定する。しきい値が固定値であるか動的に変化する値であるかはカゴ管理部212のアルゴリズムに依存するが、もししきい値がある固定値の場合はセル数の代わりにその比較結果をカゴ管理部212に入力してもよい。または、ある値以上はどのような値でもカゴ管理部212の処理に影響を与えないのなら、それを利用してその値以上は一つの符号に符号化して入力しても良い。例えば4ビットで、セル数を(0000)=0、(0001)=1、(0010)=2、(0011)=3、…、(1101)=13、(1110)=14、(1111)=15以上、という16段階に符号化するなどとしてもよい。これによりカゴ管理部212への入力情報を圧縮することができ、実装が容易になるという利点がある。   The number-of-cells information is determined by the basket management unit 212 as a relatively small threshold value and magnitude. Whether the threshold value is a fixed value or a dynamically changing value depends on the algorithm of the basket management unit 212. If the threshold value is a fixed value, the comparison result is used instead of the number of cells. You may input into the basket management part 212. FIG. Alternatively, if any value above a certain value does not affect the processing of the basket management unit 212, the value above that value may be encoded and input into one code. For example, with 4 bits, the number of cells is (0000) = 0, (0001) = 1, (0010) = 2, (0011) = 3,..., (1101) = 13, (1110) = 14, (1111) = The encoding may be performed in 16 stages of 15 or more. Thereby, there is an advantage that the input information to the basket management unit 212 can be compressed and the mounting becomes easy.

セル数の合計を扱うことにより、カゴ管理部212の実装を簡単化することができる。カゴへのセル転送指示も全ての入力バッファ210に同じ情報を同報することから、カゴ管理部212は入力バッファ210を個々に認識する必要がない。よって入力ポート数が多くなっても本質的な実装の困難度は変化しないという利点がある。   By handling the total number of cells, the implementation of the basket management unit 212 can be simplified. Since the cell transfer instruction to the car also broadcasts the same information to all the input buffers 210, the car management unit 212 does not need to recognize the input buffers 210 individually. Therefore, there is an advantage that even if the number of input ports is increased, the essential difficulty of mounting does not change.

カゴ管理部212がカゴ213へのセル転送指示を決定するアルゴリズムは例えば次のようなものである。   An example of an algorithm for determining the cell transfer instruction to the basket 213 by the basket management unit 212 is as follows.

すなわち、カゴ内セル数Nkより、カゴ213内のセル数がアンダフローしないかどうかを判断し、アンダフローする可能性があると判断した場合のみアンダフローしないように転送指示を行なう。アンダフローとは、カゴ内セル数Nkがゼロになり、本来出力できるはずの入力バッファ210のセルが有効に出力できない状態をいう。   That is, it is determined whether or not the number of cells in the basket 213 does not underflow based on the number of cells in the basket Nk, and a transfer instruction is issued so as not to underflow only when it is determined that there is a possibility of underflow. The underflow is a state in which the number of cells in the basket Nk becomes zero, and the cells of the input buffer 210 that should originally be output cannot be output effectively.

入力バッファ210は、カゴ213へのセル転送指示に応じて、同一の時刻までに出力すべきセルの集合214をカゴ213に加える。例えばVC毎に設定する値Nx で重み付けされたVC間公平キューイングを行なう場合において、同一の時刻までに出力すべきセルとは、各入力バッファ210内のカゴ213に入っていないセルでVC毎に最も古いNx 個のセルを集めたものである。   The input buffer 210 adds the cell set 214 to be output by the same time to the car 213 in response to the cell transfer instruction to the car 213. For example, when performing inter-VC fair queuing weighted by the value Nx set for each VC, the cells to be output by the same time are cells not included in the basket 213 in each input buffer 210 for each VC. The oldest Nx cells are collected.

転送指示は全ての入力バッファ210に同報されるため、カゴ213には複数の入力バッファ210を通してVC間で公平にセルが入る。カゴ213のセルをカゴ213の外のセルよりも優先して出力バッファ211に転送することにより、複数の入力バッファ210を通してVC間で公平にセルを出力バッファ211へ転送することが可能である。   Since the transfer instruction is broadcast to all the input buffers 210, cells enter the basket 213 fairly between the VCs through the plurality of input buffers 210. By transferring the cells of the basket 213 to the output buffer 211 in preference to the cells outside the basket 213, it is possible to transfer the cells to the output buffer 211 fairly between the VCs through the plurality of input buffers 210.

出力バッファ211が、カゴ213から入力したセルをどんな場合でもある時間内に出力できる構成になっていれば、VC間で公平にカゴ213へ転送されたセルはその時間の遅延揺らぎを持って、出力ポートから出力される。   If the output buffer 211 is configured to be able to output cells input from the basket 213 within a certain period of time, the cells transferred to the basket 213 fairly between VCs have a delay fluctuation of that time, Output from the output port.

図6は、例として、入力ポート#1、#2、#Nの入力バッファ210にそれぞれ2本、1本、3本のVCがキューイングされている状態を示している。全てのVCの重みが同じ時、VC間公平キューイングを行なえば、各入力バッファ210からの出力は2対1対3の割合になる必要がある。本実施形態のセル多重化装置は、カゴ管理部212から全ての入力バッファ210へ同報されるカゴ213へのセル転送指示によって、カゴ213内のセル数は各入力バッファで2対1対3の割合になり、結果的に出力バッファからの出力も2対1対3の割合になる。   FIG. 6 shows, as an example, a state where two, one, and three VCs are queued in the input buffers 210 of the input ports # 1, # 2, and #N, respectively. When all VCs have the same weight, if VC fair queuing is performed, the output from each input buffer 210 needs to be a ratio of 2 to 1: 3. In the cell multiplexing apparatus of this embodiment, the number of cells in the basket 213 is 2: 1 to 3 in each input buffer according to a cell transfer instruction from the basket management unit 212 to the basket 213 that is broadcast to all the input buffers 210. As a result, the output from the output buffer also becomes a ratio of 2 to 1: 3.

カゴ213へのセルの入力方法には2通りの方法がある。ここでは、転送を指示されたとき、各VC毎に最も古いNx 個(VC毎に設定する値)のセルをカゴに入れる場合を例にとって説明する。   There are two methods for inputting cells into the basket 213. Here, a case will be described as an example where the oldest Nx cells (values set for each VC) are placed in the basket for each VC when transfer is instructed.

ひとつの方法は、入力バッファ210に入力したセルがカゴ213に入れる条件を満たしていても最初はカゴ213の中へ入れない方法である。セルはカゴ管理部212からセル転送が指示された場合にのみカゴ213に転送される。これにより、カゴ内セル数はカゴ管理部212がセル転送を指示した場合以外は減少する。   One method is a method in which a cell input to the input buffer 210 does not enter the car 213 at first, even if the condition for entering the car 213 is satisfied. A cell is transferred to the car 213 only when cell transfer is instructed by the car management unit 212. As a result, the number of cells in the car is reduced except when the car management unit 212 instructs cell transfer.

別の方法は、入力バッファ210に入力したセルがカゴ213に入れる条件を満たしている時には最初からカゴ213の中へ入れてしまう方法である。つまり転送指示の時点でNx 個のセルをカゴ213に転送したVCは次の転送指示があるまでセルをカゴ213に入れることができないが、転送指示の時点でセルをカゴ213に全く転送しなかったVC、または転送セル数がNx 個に満たないVCは、Nx 個になるまで入力セルを転送指示がなくてもカゴに213入れることができる。これにより、カゴ内セル数は転送指示と転送指示の間においても増加することがあるが、ほぼ全てのアクティブなVCがNx 個のセルを転送した段階で減少する。なお、本実施形態はどちらの方法においても有効に作用する。   Another method is a method in which a cell input to the input buffer 210 is inserted into the cage 213 from the beginning when the condition for entering the cage 213 is satisfied. In other words, the VC that has transferred Nx cells to the basket 213 at the time of the transfer instruction cannot enter the cell into the basket 213 until the next transfer instruction is issued, but does not transfer any cells to the basket 213 at the time of the transfer instruction. VCs having less than Nx transfer cells or Nx transfer cells can input 213 into the basket without instructing transfer until Nx. As a result, the number of cells in the car may increase between transfer instructions, but decreases when almost all active VCs have transferred Nx cells. Note that this embodiment works effectively in either method.

第4の実施形態のセル多重化装置の輻輳状態の判断は、VC毎に、トラヒックにより変動する情報を予め定められた方法により監視すれば良い。そして、この輻輳判断を元にVC毎に端末にトラヒック制御情報を通知すればよい。   The determination of the congestion state of the cell multiplexing apparatus of the fourth embodiment may be performed by monitoring information that varies depending on traffic for each VC by a predetermined method. Based on this congestion determination, the traffic control information may be notified to the terminal for each VC.

監視すべき変動する情報は、例えば蓄積セル数、一定時間あたりの入力セル数とその目標値との関係、一定個数のセルが入力する時間とその目標値との関係である。蓄積セル数が多いVC、一定時間あたりの入力セル数が目標値からかけ離れて多いVC、一定個数のセルが入力する時間がその目標値からかけ離れて短いVCを輻輳しているVCと判断する。   The fluctuating information to be monitored is, for example, the number of stored cells, the relationship between the number of input cells per fixed time and the target value, and the relationship between the time input by a certain number of cells and the target value. A VC having a large number of accumulated cells, a VC having a large number of input cells per fixed time far from the target value, and a short VC having a time of inputting a certain number of cells far from the target value are determined to be a congested VC.

輻輳しているVCのセルのヘッダにあるEFCIをマークすることや、通過するRMセルを書き換えることにより、端末にトラヒック制御情報を通知することができる。   The traffic control information can be notified to the terminal by marking the EFCI in the header of the congested VC cell or rewriting the passing RM cell.

2.3 第5の実施形態(「カゴ」という概念を用いたセル多重化装置の他の実施形態)
次に、第5の実施形態について説明する。
2.3 Fifth Embodiment (Another Embodiment of Cell Multiplexing Device Using the Concept of “Kago”)
Next, a fifth embodiment will be described.

図7に、第5の実施形態に係るカゴと呼ぶ概念を用いたセル多重化装置の他の構成例を示す。   FIG. 7 shows another configuration example of the cell multiplexing apparatus using the concept called the basket according to the fifth embodiment.

図7に示したセル多重化装置は、入力ポート#1〜#Nのそれぞれに対応して設けられ、各入力ポート#1〜#Nから入力したセルを一時的に蓄積する複数の入力バッファ220と、入力バッファ220の出力したセルを多重化し出力ポートへ出力する出力バッファ221とを備え、出力バッファ221内の輻輳状態に応じてバックプレッシャ信号により入力バッファ220のセル出力を制御する。   The cell multiplexing apparatus shown in FIG. 7 is provided corresponding to each of the input ports # 1 to #N, and a plurality of input buffers 220 that temporarily store cells input from the input ports # 1 to #N. And an output buffer 221 that multiplexes the cells output from the input buffer 220 and outputs them to the output port, and controls the cell output of the input buffer 220 by the back pressure signal according to the congestion state in the output buffer 221.

このセル多重化装置は、出力許可済セル集合を管理するカゴ管理部222を備える。   This cell multiplexing apparatus includes a basket management unit 222 that manages an output-permitted cell set.

入力バッファ220に蓄積されているセルのうち、出力を許可されたセルの集合(出力許可済セル集合)をカゴと呼ぶ。入力バッファから出力するセルはカゴ223から選択する。   Of the cells stored in the input buffer 220, a set of cells permitted to be output (output permitted cell set) is called a basket. A cell to be output from the input buffer is selected from the basket 223.

カゴ管理部222は、出力バッファ内セル数を入力し、予め定められたアルゴリズムよりカゴ223へのセル転送指示を決定して全ての入力バッファ220へ同報する。   The basket management unit 222 inputs the number of cells in the output buffer, determines a cell transfer instruction to the basket 223 from a predetermined algorithm, and broadcasts it to all the input buffers 220.

入力バッファ220は、セル転送指示により、カゴ223以外の入力バッファ220に蓄積されているセルで同一の時刻までに出力すべきセルの集合224をカゴ223に加える。   In response to the cell transfer instruction, the input buffer 220 adds to the car 223 a set of cells 224 to be output by the same time among the cells stored in the input buffer 220 other than the car 223.

図7を、セルスイッチの、各出力ポートに関する部分と考えるとセルスイッチについても本実施形態を適用できる。   If FIG. 7 is considered as a part related to each output port of the cell switch, this embodiment can be applied to the cell switch.

図7の出力バッファ221は、どんな状況においてもカゴ223のセルをある有限の時間内で出力ポートに出力できることを保証できれば、どんな形態でもよい。   The output buffer 221 shown in FIG. 7 may take any form as long as it can guarantee that the cells of the basket 223 can be output to the output port within a finite time in any situation.

例えば、図4に示す構成でもかまわない。この場合、バックプレッシャ生成部20はカゴ管理部222に存在しても良い。出力バッファ内セル数はバックプレッシャ生成部20にて加算し、カゴ管理部222へ出力する。   For example, the configuration shown in FIG. 4 may be used. In this case, the back pressure generation unit 20 may exist in the basket management unit 222. The number of cells in the output buffer is added by the back pressure generation unit 20 and output to the basket management unit 222.

第5の実施形態に係るVC間公平キューイングを行なうセル多重化装置によれば、高いスループットが必要な出力バッファは簡単な構成になっているため、容易に実現することが可能である。入力バッファはカゴによりセルを管理する必要があるが、入力バッファに必要なスループットは低いため、実現の容易性は高い。   According to the cell multiplexing apparatus that performs inter-VC fair queuing according to the fifth embodiment, an output buffer that requires high throughput has a simple configuration and can be easily realized. The input buffer needs to manage cells by a cage, but since the throughput required for the input buffer is low, it is easy to implement.

図7のセル多重化装置の構成をさらに詳細に説明する。   The configuration of the cell multiplexing apparatus in FIG. 7 will be described in further detail.

セル数情報はカゴ管理部222において比較的小さなしきい値と大小を判定する。しきい値が固定値であるか動的に変化する値であるかはカゴ管理部222のアルゴリズムに依存するが、もししきい値がある固定値の場合はセル数の代わりにその比較結果をカゴ管理部222に入力してもよい。または、ある値以上はどのような値でもカゴ管理部222の処理に影響を与えないのなら、それを利用してその値以上は一つの符号に符号化して入力しても良い。例えば4ビットで、セル数を(0000)=0、(0001)=1、(0010)=2、(0011)=3、…、(1101)=13、(1110)=14、(1111)=15以上、という16段階に符号化するなどとしてもよい。これによりカゴ管理部222への入力情報を圧縮することができ、実装が容易になるという利点がある。   For the cell number information, the basket management unit 222 determines a relatively small threshold value and magnitude. Whether the threshold value is a fixed value or a dynamically changing value depends on the algorithm of the basket management unit 222. If the threshold value is a fixed value, the comparison result is used instead of the number of cells. You may input into the basket management part 222. FIG. Alternatively, if any value greater than a certain value does not affect the processing of the basket management unit 222, the value greater than that value may be encoded into a single code and input. For example, with 4 bits, the number of cells is (0000) = 0, (0001) = 1, (0010) = 2, (0011) = 3,..., (1101) = 13, (1110) = 14, (1111) = The encoding may be performed in 16 stages of 15 or more. Accordingly, there is an advantage that the input information to the basket management unit 222 can be compressed and the mounting becomes easy.

カゴ管理部222がカゴ223へのセル転送指示を決定するアルゴリズムは例えば次のようなものである。   An example of the algorithm used by the basket management unit 222 to determine a cell transfer instruction to the basket 223 is as follows.

すなわち、出力バッファ内セル数より、出力バッファ221内のセル数がアンダフローしないかどうかを判断し、アンダフローする可能性があると判断した場合のみアンダフローしないように転送指示を行なう。アンダフローとは、出力バッファ内セル数がゼロになり、本来出力できるはずの入力バッファ220のセルが有効に出力できない状態をいう。   That is, it is determined whether or not the number of cells in the output buffer 221 does not underflow based on the number of cells in the output buffer, and a transfer instruction is issued so as not to underflow only when it is determined that there is a possibility of underflow. Underflow refers to a state in which the number of cells in the output buffer becomes zero, and the cells of the input buffer 220 that should originally be output cannot be effectively output.

入力バッファ220は、カゴ223へのセル転送指示に応じて、同一の時刻までに出力すべきセルの集合224をカゴ223に加える。例えばVC毎に設定する値Nx で重み付けされたVC間公平キューイングを行なう場合において、同一の時刻までに出力すべきセルの集合とは、各入力バッファ内のカゴ223に入っていないセルでVC毎に最も古いNx 個のセルを集めたものである。   The input buffer 220 adds a set of cells 224 to be output by the same time to the car 223 in response to a cell transfer instruction to the car 223. For example, when performing inter-VC fair queuing weighted by a value Nx set for each VC, a set of cells to be output by the same time is a cell not included in the basket 223 in each input buffer. The oldest Nx cells are collected every time.

転送指示は全ての入力バッファに同報されるため、カゴ223には複数の入力バッファを通してVC間で公平にセルが入る。カゴ223のセルをカゴの外のセルよりも優先して出力バッファ221に転送することにより、複数の入力バッファ220を通してVC間で公平にセルを出力バッファ221へ転送することが可能である。出力バッファ221が、カゴ223から入力したセルをどんな場合でもある時間内に出力できる構成になっていれば、VC間で公平にカゴ223へ転送されたセルはその時間の遅延揺らぎを持って、出力ポートから出力される。   Since the transfer instruction is broadcast to all the input buffers, cells enter the basket 223 fairly between the VCs through the plurality of input buffers. By transferring the cells of the cage 223 to the output buffer 221 with priority over the cells outside the cage, the cells can be transferred to the output buffer 221 fairly between the VCs through the plurality of input buffers 220. If the output buffer 221 is configured to be able to output a cell input from the car 223 in any time within a certain time, the cell transferred to the car 223 fairly between VCs has a delay fluctuation of that time, Output from the output port.

図7は、例として、入力ポート#1、#2、#Nの入力バッファ220にそれぞれ2本、1本、3本のVCがキューイングされている状態を示している。全てのVCの重みが同じ時、VC間公平キューイングを行なえば、各入力バッファ220からの出力は2対1対3の割合になる必要がある。   FIG. 7 shows, as an example, a state where two, one, and three VCs are queued in the input buffers 220 of the input ports # 1, # 2, and #N, respectively. When all VCs have the same weight, if the fair VC queuing is performed, the output from each input buffer 220 needs to be a ratio of 2 to 1: 3.

図7のセル多重化装置は、カゴ管理部222から全ての入力バッファ220へ同報されるカゴ223へのセル転送指示によって、カゴ内のセル数は各入力バッファで2対1対3の割合になり、結果的に出力バッファ221からの出力も2対1対3の割合になる。   In the cell multiplexing apparatus of FIG. 7, the number of cells in the car is a ratio of 2 to 1: 3 in each input buffer according to the cell transfer instruction sent to the car 223 from the car management unit 222 to all the input buffers 220. As a result, the output from the output buffer 221 also has a ratio of 2 to 1: 3.

カゴ223へのセルの入力方法には2通りの方法がある。ここでは、転送を指示されたとき、各VC毎に最も古いNx 個(VC毎に設定する値)のセルをカゴに入れる場合を例にとって説明する。   There are two methods for inputting cells into the basket 223. Here, a case will be described as an example where the oldest Nx cells (values set for each VC) are placed in the basket for each VC when transfer is instructed.

ひとつの方法は、入力バッファ220に入力したセルがカゴ223に入れる条件を満たしていても最初はカゴの中へ入れない方法である。セルはカゴ管理部222からセル転送が指示された場合にのみカゴ223に転送される。これにより、カゴ内セル数はカゴ管理部222がセル転送を指示した場合以外は減少する。   One method is a method in which a cell input to the input buffer 220 does not enter the cage at first even if the condition for entering the cage 223 is satisfied. A cell is transferred to the car 223 only when cell transfer is instructed by the car management unit 222. As a result, the number of cells in the basket decreases except when the basket management unit 222 instructs cell transfer.

別の方法は、入力バッファ220に入力したセルがカゴ223に入れる条件を満たしている時には最初からカゴ223の中へ入れてしまう方法がある。つまり転送指示の時点でNx 個のセルをカゴ223に転送したVCは次の転送指示があるまでセルをカゴ223に入れることができないが、転送指示の時点でセルをカゴ223に全く転送しなかったVC、または転送セル数がNx 個に満たないVCは、Nx 個になるまで入力セルを転送指示がなくてもカゴ223に入れることができる。これにより、カゴ内セル数は転送指示と転送指示の間においても増加することがあるが、ほぼ全てのアクティブなVCがNx 個のセルを転送した段階で減少する。なお、本実施形態はどちらの方法においても有効に作用する。   As another method, there is a method in which a cell input to the input buffer 220 is inserted into the cage 223 from the beginning when the condition for entering the cage 223 is satisfied. That is, the VC that has transferred Nx cells to the basket 223 at the time of the transfer instruction cannot enter the cell into the basket 223 until the next transfer instruction is issued, but does not transfer any cells to the basket 223 at the time of the transfer instruction. The VC or the VC whose number of transfer cells is less than Nx can input the input cell into the car 223 until there is no transfer instruction until Nx. As a result, the number of cells in the car may increase between transfer instructions, but decreases when almost all active VCs have transferred Nx cells. Note that this embodiment works effectively in either method.

第5の実施形態のセル多重化装置の輻輳状態の判断は、VC毎に、トラヒックにより変動する情報を予め定められた方法により監視すれば良い。そして、セル多重化装置は、この輻輳判断を元にVC毎に端末にトラヒック制御情報を通知すればよい。   The determination of the congestion state of the cell multiplexing apparatus of the fifth embodiment may be performed by monitoring information that varies depending on traffic for each VC by a predetermined method. Then, the cell multiplexing apparatus may notify the traffic control information to the terminal for each VC based on this congestion determination.

監視すべき変動する情報は、例えば蓄積セル数、一定時間あたりの入力セル数とその目標値との関係、一定個数のセルが入力する時間とその目標値との関係である。蓄積セル数が多いVC、一定時間あたりの入力セル数が目標値からかけ離れて多いVC、一定個数のセルが入力する時間がその目標値からかけ離れて短いVCを輻輳しているVCと判断する。   The fluctuating information to be monitored is, for example, the number of stored cells, the relationship between the number of input cells per fixed time and the target value, and the relationship between the time input by a certain number of cells and the target value. A VC having a large number of accumulated cells, a VC having a large number of input cells per fixed time far from the target value, and a short VC having a time of inputting a certain number of cells far from the target value are determined to be a congested VC.

輻輳しているVCのセルのヘッダにあるEFCIをマークすることや、通過するRMセルを書き換えることにより、端末にトラヒック制御情報を通知することができる。   The traffic control information can be notified to the terminal by marking the EFCI in the header of the congested VC cell or rewriting the passing RM cell.

2.4 第4、第5の実施形態に係るセル多重化装置の利点
以上説明したように、上記第4〜第5の実施形態に係る出力許可済セル集合(カゴ)の概念を用いたセル多重化装置によれば、出力許可済セル集合に入れるセルを制御することにより各入力バッファの出力スループットを調整するため、VC間公平キューイングを行なうことができ、ABRサービスにおける耐故障性や、UBRサービスにおける公平性を実現することが可能である。
2.4 Advantages of Cell Multiplexing Apparatus According to Fourth and Fifth Embodiments As described above, cells using the concept of the output permitted cell set (cage) according to the fourth to fifth embodiments. According to the multiplexing apparatus, since the output throughput of each input buffer is adjusted by controlling the cells to be included in the output permitted cell set, it is possible to perform fair queuing between VCs, fault tolerance in ABR service, and UBR. It is possible to achieve fairness in services.

2.5 第6の実施形態(セルグループFIFOを用いたセルバッファ装置)
次に、本発明に係るVC間公平キューイングを行なうセルバッファ装置の実施形態について説明する。
2.5 Sixth Embodiment (Cell Buffer Device Using Cell Group FIFO)
Next, an embodiment of a cell buffer device that performs fair VC queuing according to the present invention will be described.

図8に、第6の実施形態に係るセルグループFIFOを用いたセルバッファ装置の構成例を示す。   FIG. 8 shows a configuration example of a cell buffer device using a cell group FIFO according to the sixth embodiment.

図8は、入力リンクより入力したセルのコネクション識別情報をバッファポインタ管理部230に通知し、バッファポインタ管理部230よりセルの書き込み位置を示す書き込みポインタを得てセルを一時的にセルバッファ231に蓄積し、バッファポインタ管理部230からの、読みだしセルを示す読みだしポインタに基づいてセルをセルバッファ231から読みだし出力リンクへ出力するセルバッファ装置である。   8 notifies the buffer pointer management unit 230 of the connection identification information of the cell input from the input link, obtains a write pointer indicating the cell write position from the buffer pointer management unit 230, and temporarily stores the cell in the cell buffer 231. This is a cell buffer device that accumulates and reads cells from the cell buffer 231 based on a read pointer indicating a read cell from the buffer pointer management unit 230 and outputs it to an output link.

バッファポインタ管理部230は、蓄積しているセルのセルバッファ231上の位置を示すバッファポインタを管理する。   The buffer pointer management unit 230 manages a buffer pointer indicating the position of the accumulated cell on the cell buffer 231.

バッファポインタ管理部230は、バッファポインタの集合である複数のセルグループをFIFO管理するセルグループFIFO232aと、出力待ちセルグループFIFO232bと、セルグループ選択部233と、空きバッファポインタ管理部234からなる。   The buffer pointer management unit 230 includes a cell group FIFO 232a for FIFO management of a plurality of cell groups as a set of buffer pointers, an output waiting cell group FIFO 232b, a cell group selection unit 233, and an empty buffer pointer management unit 234.

バッファポインタ管理部230は、セル入力時には、空きバッファポインタ管理部234より空きのバッファポインタを得て前記書き込みポインタとするとともに、セルグループ選択部233がコネクション識別情報より書き込みポインタをセルグループFIFO232aの先頭のセルグループより順にVC毎に予め定められた重みに従って決定される数だけ入るようにセルグループ指示を行ない、セルグループFIFO232aはセルグループ指示に従って書き込みポインタを指示されたセルグループに入力する。   At the time of cell input, the buffer pointer management unit 230 obtains an empty buffer pointer from the empty buffer pointer management unit 234 and uses it as the write pointer, and the cell group selection unit 233 sets the write pointer from the connection identification information to the head of the cell group FIFO 232a. The cell group is instructed so as to enter the number determined in accordance with the predetermined weight for each VC in order from the cell group, and the cell group FIFO 232a inputs the write pointer to the instructed cell group in accordance with the cell group instruction.

セル出力時には、セルグループFIFO232aの先頭よりセルグループを出力し、さらにそのセルグループよりバッファポインタを出力して前記読みだしポインタとするとともに、その読みだしポインタを空きバッファポインタ管理部234に戻す。   At the time of cell output, the cell group is output from the head of the cell group FIFO 232a, and a buffer pointer is further output from the cell group as the read pointer, and the read pointer is returned to the empty buffer pointer management unit 234.

図8では、セルグループFIFO232aから出力され、出力を待っているセルグループが複数になる可能性がある場合の構成を示している。これらのセルグループFIFO232aから出力されたセルグループは出力待ちセルグループFIFO232bに入力される。   FIG. 8 shows a configuration in the case where there is a possibility that a plurality of cell groups are output from the cell group FIFO 232a and waiting for output. The cell groups output from the cell group FIFO 232a are input to the output waiting cell group FIFO 232b.

出力待ちセルグループFIFO232bのセルグループは、セルバッファ231の外部の何らかの管理部により出力を許可されたセルグループである。例えば、図6のカゴ231に相当する。   The cell group of the output waiting cell group FIFO 232b is a cell group whose output is permitted by some management unit outside the cell buffer 231. For example, it corresponds to the car 231 in FIG.

読みだしポインタは、出力待ちセルグループFIFO232bの先頭のセルグループから出力されたバッファポインタである。   The read pointer is a buffer pointer output from the head cell group of the output waiting cell group FIFO 232b.

例えば全てのVCの重みを同じとする。セルグループFIFO232aの先頭のセルグループのセルは、各VCのキューを考えるとキューの先頭(ただし出力待ちセルグループFIFO232b内のセルは除く)のセルである。セルグループFIFO232aの先頭から2番目のセルグループのセルは、各VCのキューの2番目のセルである。3番目以降のセルグループのセルも同様である。これらのセルを出力する場合はセルグループFIFO232aの先頭のセルグループから順に出力するためVC間で公平に出力することになる。   For example, all VCs have the same weight. The cell of the first cell group of the cell group FIFO 232a is the cell at the head of the queue (except for the cells in the output waiting cell group FIFO 232b) when considering the queue of each VC. The cell in the second cell group from the top of the cell group FIFO 232a is the second cell in the queue of each VC. The same applies to the cells in the third and subsequent cell groups. When these cells are output, the cells are output in order from the first cell group of the cell group FIFO 232a, so that they are output fairly between VCs.

今まで全く到着していなかったVCのセルが新たにこのバッファ装置に到着した場合は、セルグループFIFO232aの先頭のセルグループに入力され、他のVCのキューの2番目以降のセルよりも優先して出力される。   When a VC cell that has not arrived at all until this time arrives at this buffer device, it is input to the first cell group of the cell group FIFO 232a, and has priority over the second and subsequent cells of the other VC queues. Is output.

この様に、第6の実施形態に係るセルバッファ装置によれば、VC間で公平にキューイングを行なうことが可能でありながらセルの入力、出力時に図50に示した従来例のように検索動作が不要であるという利点がある。   As described above, according to the cell buffer device of the sixth embodiment, it is possible to perform fair queuing between VCs while searching for cells as in the conventional example shown in FIG. There is an advantage that no operation is required.

第6の実施形態に係るセルバッファ装置のセルグループFIFO232aの実現方法は、例えばポインタチェーンによる方式やリングバッファによる方式が考えられる。   As a method for realizing the cell group FIFO 232a of the cell buffer device according to the sixth embodiment, for example, a pointer chain method or a ring buffer method may be considered.

2.6 第7の実施形態(セルグループFIFOを用いたセルバッファ装置の他の実施形態)
次に、第7の実施形態について説明する。
2.6 Seventh Embodiment (Another Embodiment of Cell Buffer Device Using Cell Group FIFO)
Next, a seventh embodiment will be described.

図9に、第7の実施形態に係るセルグループFIFOを用いたセルバッファ装置の他の構成例を示す。   FIG. 9 shows another configuration example of the cell buffer device using the cell group FIFO according to the seventh embodiment.

図9は、入力リンクより入力したセルのコネクション識別情報をバッファポインタ管理部240に通知し、バッファポインタ管理部240よりセルの書き込み位置を示す書き込みボインタを得てセルを一時的にセルバッファ241に蓄積し、バッファポインタ管理部240からの、読みだしセルを示す読みだしポインタに基づいてセルをセルバッファ241から読みだし出力リンクへ出力するセルバッファ装置である。   FIG. 9 notifies the buffer pointer management unit 240 of cell connection identification information input from the input link, obtains a write pointer indicating the cell write position from the buffer pointer management unit 240, and temporarily stores the cell in the cell buffer 241. This is a cell buffer device that accumulates and reads cells from the cell buffer 241 based on a read pointer indicating a read cell from the buffer pointer management unit 240 and outputs it to the output link.

バッファポインタ管理部240は、蓄積しているセルのセルバッファ241上の位置を示すバッファポインタを管理する。   The buffer pointer management unit 240 manages a buffer pointer indicating the position of the accumulated cell on the cell buffer 241.

バッファポインタ管理部240は、バッファポインタの集合であるセルグループをFIFO管理するセルグループFIFO242と、セルグループ選択部243と、空きバッファポインタ管理部244からなる。   The buffer pointer management unit 240 includes a cell group FIFO 242 that performs FIFO management of a cell group that is a set of buffer pointers, a cell group selection unit 243, and an empty buffer pointer management unit 244.

バッファポインタ管理部240は、セル入力時には、空きバッファポインタ管理部244より空きのバッファポインタを得て前記書き込みポインタとするとともに、セルグループ選択部243がコネクション識別情報より書き込みポインタをセルグループFIFO242の先頭のセルグループより順にVC毎に予め定められた重みに従って決定される数だけ入るようにセルグループ指示を行ない、セルグループFIFO242はセルグループ指示に従って書き込みボインタを指示されたセルグループに入力する。   At the time of cell input, the buffer pointer management unit 240 obtains an empty buffer pointer from the empty buffer pointer management unit 244 and uses it as the write pointer, and the cell group selection unit 243 sets the write pointer based on the connection identification information to the head of the cell group FIFO 242. The cell group is instructed so as to enter the number determined in accordance with the predetermined weight for each VC in order from the cell group, and the cell group FIFO 242 inputs the write pointer to the instructed cell group according to the cell group instruction.

セル出力時には、セルグループFIFO242の先頭のセルグループよりバッファポインタを出力して前記読みだしポインタとするとともに、その読みだしポインタを空きバッファポインタ管理部244に戻す。   At the time of cell output, a buffer pointer is output from the first cell group of the cell group FIFO 242 to be used as the read pointer, and the read pointer is returned to the empty buffer pointer management unit 244.

図9では、セルグループFIFO242内で出力を待っているセルグループを出力待ちセルグループFIFO242bとして記してある。   In FIG. 9, the cell group waiting for output in the cell group FIFO 242 is shown as an output waiting cell group FIFO 242b.

出力待ちセルグループFIFO242bのセルグループは、セルバッファ241の外部の何らかの管理部により出力を許可されたセルグループである。例えば、図6のカゴに相当する。   The cell group of the output waiting cell group FIFO 242b is a cell group whose output is permitted by some management unit outside the cell buffer 241. For example, it corresponds to the basket of FIG.

読みだしポインタは、出力待ちセルグループFIFO242bの先頭のセルグループから出力されたバッファポインタである。   The read pointer is a buffer pointer output from the head cell group of the output waiting cell group FIFO 242b.

例えば全てのVCの重みを同じとする。セルグループFIFO242の先頭のセルグループ(すなわち、出力待ちセルグループFIFO242b内のセルグループ)のセルは、各VCのキューを考えるとキューの先頭のセルである。セルグループFIFO242の先頭から2番目のセルグループのセルは、各VCのキューの2番目のセルである。3番目以降のセルグループのセルも同様である。これらのセルを出力する場合はセルグループFIFO242の先頭のセルグループから順に出力するためVC間で公平に出力することになる。   For example, all VCs have the same weight. The cell of the head cell group of the cell group FIFO 242 (that is, the cell group in the output waiting cell group FIFO 242b) is the head cell of the queue when considering the queue of each VC. The cell in the second cell group from the top of the cell group FIFO 242 is the second cell in the queue of each VC. The same applies to the cells in the third and subsequent cell groups. When these cells are output, the cells are output in order from the first cell group of the cell group FIFO 242, so that they are output fairly between VCs.

今まで全く到着していなかったVCのセルが新たにこのバッファ装置に到着した場合は、セルグループFIFO242の先頭のセルグループに入力され、他のVCのキューの2番目以降のセルよりも優先して出力される。   When a VC cell that has never arrived at this time arrives at this buffer device, it is input to the first cell group of the cell group FIFO 242 and has priority over the second and subsequent cells of the other VC queues. Is output.

この様に、第7の実施形態に係るセルバッファ装置によれば、VC間で公平にキューイングを行なうことが可能でありながらセルの入力、出力時に図51に示した従来例のように検索動作が不要であるという利点がある。   As described above, according to the cell buffer device of the seventh embodiment, a search can be performed as in the conventional example shown in FIG. 51 at the time of cell input and output while being able to perform queuing fairly between VCs. There is an advantage that no operation is required.

第7の実施形態に係るセルバッファ装置のセルグループFIFO242の実現方法は、例えばポインタチェーンによる方式やリングバッファによる方式が考えられる。   As a method for realizing the cell group FIFO 242 of the cell buffer device according to the seventh embodiment, for example, a pointer chain method or a ring buffer method may be considered.

2.7 第6の実施形態に係るセルバッファ装置で用いられるデータ構造
次に、第6の実施形態に係るセルバッファ装置(図8参照)で用いられるデータの構造について説明する。
2.7 Data Structure Used in Cell Buffer Device According to Sixth Embodiment Next, a data structure used in the cell buffer device (see FIG. 8) according to the sixth embodiment will be described.

図10、図11に、図8で説明したバッファ装置をポインタチェーン方式で実現した場合のデータ構造の一例を示す。   10 and 11 show an example of the data structure when the buffer device described in FIG. 8 is realized by the pointer chain method.

大きく分けて、図10に示すように、VCテーブル250、セルグループFIFO232a、出力待ちセルグループFIFO232b、空きバッファポインタチェーン251、また、図11に示すように、空きセルグループチェーン252で構成される。   Broadly divided, as shown in FIG. 10, a VC table 250, a cell group FIFO 232a, an output waiting cell group FIFO 232b, an empty buffer pointer chain 251, and an empty cell group chain 252 as shown in FIG.

セルグループFIFO232aには、それを管理するセルグループFIFO管理データ253、出力待ちセルグループFIFO232bには、それを管理する出力待ちセルグループFIFO管理データ254がある。   The cell group FIFO 232a has cell group FIFO management data 253 for managing the cell group FIFO 232a, and the output waiting cell group FIFO 232b has output waiting cell group FIFO management data 254 for managing it.

セルグループと空きバッファポインタチェーン251は、バッファポインタのチェーンであり、セルグループFIFO232aと空きセルグループチェーン252はセルグループ管理データ255のチェーンである。   The cell group and empty buffer pointer chain 251 are buffer pointer chains, and the cell group FIFO 232 a and empty cell group chain 252 are chains of cell group management data 255.

出力待ちセルグループFIFO232bは、出力待ちセルグループFIFO管理データ254にセルグループを指すポインタのリスト(Ptr1、Ptr2、Ptr3、…)がある。   The output waiting cell group FIFO 232b has a list of pointers (Ptr1, Ptr2, Ptr3,...) Pointing to the cell group in the output waiting cell group FIFO management data 254.

セルグループFIFO232a、出力待ちセルグループFIFO232bはリングバッファ方式でもかまわない。   The cell group FIFO 232a and the output waiting cell group FIFO 232b may be of a ring buffer system.

セルが入力した場合、空きバッファポインタチェーン251から取り出した書き込みポインタをどのセルグループに入力するかを決定しなければならない。そのため、まずVCテーブル250の該当する領域を読み出す。VCテーブル250のNx はそのVCの重み、Nc は作業変数、Qlen はそのVCの蓄積セル数、PtrはそのVCのセルが蓄積されているセルグループの末尾へのポインタである。   When a cell is input, it must be determined to which cell group the write pointer extracted from the empty buffer pointer chain 251 is input. Therefore, first, the corresponding area of the VC table 250 is read. In the VC table 250, Nx is the weight of the VC, Nc is the work variable, Qlen is the number of cells stored in the VC, and Ptr is a pointer to the end of the cell group in which the cells of the VC are stored.

はじめに、Qlen をチェックして、そのVCのセルが現在バッファ装置に蓄積されているかどうかを調べる。もし、Qlen がゼロの場合は、セルグループFIFO232aの先頭のセルグループに入れる。Qlen が1以上の場合でも、Ptrが出力待ちセルグループFIFO232b内のセルグループを指している場合は、セルグループFIFO232aの先頭のセルグループに入れる。   First, Qlen is checked to see if the VC cell is currently stored in the buffer device. If Qlen is zero, it is put in the first cell group of the cell group FIFO 232a. Even when Qlen is 1 or more, if Ptr indicates a cell group in the output waiting cell group FIFO 232b, the cell group is inserted into the first cell group of the cell group FIFO 232a.

その他の場合はNc に1.0を加えNx と比較し、Nx の方が大きければPtrで指しているセルグループに入れ、そうでない場合は、Ptrで指しているセルグループの次のセルグループに入れる。   In other cases, 1.0 is added to Nc and compared with Nx, and if Nx is larger, it is put in the cell group pointed to by Ptr, otherwise it is put in the cell group next to the cell group pointed to by Ptr. Put in.

ここで、セルが入力した時のNc の更新手順について説明する。前述のように、そのVCに関してセルグループFIFO232aの先頭のセルグループに初めてバッファポインタを入力する場合は、Nc :=1.0とする。その他の場合は、Nc をNc :=Nc +1.0と更新する。その結果、もしNx Nc ならば、そのセルグループにバッファポインタを入れる。逆に、もしNx <Nc ならば、セルグループFIFO232aの次のセルグループにバッファポインタを入れると同時に、Nc :=Nc −Nx と書き変える(つまり、0<Nc Nx である)。 Here, a procedure for updating Nc when a cell is input will be described. As described above, when a buffer pointer is input to the first cell group of the cell group FIFO 232a for the VC for the first time, Nc: = 1.0. In other cases, Nc is updated to Nc: = Nc + 1.0. As a result, if Nx > Nc, a buffer pointer is inserted into the cell group. On the other hand, if Nx <Nc, the buffer pointer is inserted into the cell group next to the cell group FIFO 232a and at the same time, Nc: = Nc−Nx is rewritten (that is, 0 <Nc < Nx).

もし、セルグループFIFO232aの最後のセルグループの次のセルグループにバッファポインタを入れる必要があれば、空きセルグループチェーン252の先頭よりセルグループ管理データ255をとりだし、セルグループFIFO232aの末尾に入れ、そのセルグループにバッファポインタを入れれば良い。出力待ちセルグループFIFO管理データ254は、セルグループを指すポインタPtr1、Ptr2、Ptr3、…がシフトレジスタになっている。Ptr1の示すセルグループがFIFOの先頭であり、このセルグループから出力したバッファボインタが読みだしポインタとなる。読みだしポインタは空きバッファポインタチェーン251の末尾に入力する。Ptr1の示すセルグループのバッファポインタが空になったら、そのセルグループは空きセルグループチェーン252の末尾に入力する。そしてn2の全てのnについてポインタPtr(n)をPtr(n−1)にシフトし、新しいPtr1の指すセルグループからバッファポインタを出力する。 If it is necessary to put a buffer pointer in the cell group next to the last cell group of the cell group FIFO 232a, the cell group management data 255 is taken out from the head of the empty cell group chain 252 and put at the end of the cell group FIFO 232a. What is necessary is just to put a buffer pointer in a cell group. In the output waiting cell group FIFO management data 254, pointers Ptr1, Ptr2, Ptr3,... Pointing to the cell groups are shift registers. The cell group indicated by Ptr1 is the head of the FIFO, and the buffer pointer output from this cell group serves as a read pointer. The read pointer is input at the end of the empty buffer pointer chain 251. When the buffer pointer of the cell group indicated by Ptr1 becomes empty, the cell group is input at the end of the empty cell group chain 252. Then, the pointer Ptr (n) is shifted to Ptr (n−1) for all n > 2, and the buffer pointer is output from the cell group indicated by the new Ptr1.

前述したように、セルの入力時にVCテーブル250のPtrが出力待ちのセルグループを指しているかどうか判定しなければならない。したがって出力待ちセルグループFIFO管理データ254は、検索が容易に可能な構成であることが必要である。   As described above, it is necessary to determine whether or not Ptr in the VC table 250 indicates a cell group waiting for output when a cell is input. Therefore, the output waiting cell group FIFO management data 254 needs to be configured so that it can be easily searched.

セルグループFIFO232aから出力待ちセルグループFIFO232bに新たにセルグループを転送する場合には、出力待ちセルグループFIFO管理データ254のセルグループ数をインクリメントして(mとする)、Ptr(m)がセルグループFIFO232aから出力したセルグループを指すようにする。   When a cell group is newly transferred from the cell group FIFO 232a to the output waiting cell group FIFO 232b, the number of cell groups in the output waiting cell group FIFO management data 254 is incremented (m), and Ptr (m) becomes the cell group. The cell group output from the FIFO 232a is pointed to.

なお、第6の実施形態に係るセルバッファ装置は、図6や図7に示すようなカゴの概念を用いた入力バッファに容易に適用することができる。その場合、出力待ちセルグループFIFO232bがカゴに相当する。また、図5の出力バッファにも適用することができる。   Note that the cell buffer device according to the sixth embodiment can be easily applied to an input buffer using the concept of a cage as shown in FIGS. In this case, the output waiting cell group FIFO 232b corresponds to the basket. The present invention can also be applied to the output buffer shown in FIG.

2.8 第7の実施形態に係るセルバッファ装置で用いられるデータ構造
次に、第7の実施形態に係るセルバッファ装置(図9参照)で用いられるデータの構造について説明する。
2.8 Data Structure Used in Cell Buffer Device According to Seventh Embodiment Next, a data structure used in the cell buffer device according to the seventh embodiment (see FIG. 9) will be described.

図12、図13に、図9で説明したバッファ装置をポインタチェーン方式で実現した場合のデータ構造の一例を示す。   12 and 13 show an example of the data structure when the buffer device described in FIG. 9 is realized by the pointer chain method.

大きく分けて、図12に示すように、VCテーブル260、セルグループFIFO242、空きバッファポインタチェーン261、また、図13に示すように、空きセルグループチェーン262で構成される。   Broadly divided, as shown in FIG. 12, a VC table 260, a cell group FIFO 242, an empty buffer pointer chain 261, and an empty cell group chain 262 as shown in FIG.

セルグループFIFO242の内部には、出力待ちセルグループFIFO242bが存在し、セルグループFIFO242を管理するセルグループFIFO管理データ263、出力待ちセルグループFIFO242bを管理する出力待ちセルグループFIFO管理データ264がある。   The cell group FIFO 242 includes an output waiting cell group FIFO 242b, and includes cell group FIFO management data 263 for managing the cell group FIFO 242 and output waiting cell group FIFO management data 264 for managing the output waiting cell group FIFO 242b.

セルグループと空きバッファポインタチェーン261は、バッファポインタのチェーンであり、セルグループFIFO242と空きセルグループチェーン262はセルグループ管理データ265のチェーンである。   The cell group and empty buffer pointer chain 261 are buffer pointer chains, and the cell group FIFO 242 and empty cell group chain 262 are chains of cell group management data 265.

出力待ちセルグループFIFO242bは、セルグループFIFO242の先頭のいくつかのセルグループである。つまり図12において、セルグループFIFO管理データ263の先頭ポインタが指すセルグループから出力待ちセルグループFIFO管理データ264の末尾ポインタが指すセルグループまでが出力待ちセルグループFIFO242である。   The output waiting cell group FIFO 242b is several cell groups at the head of the cell group FIFO 242. That is, in FIG. 12, the cell group FIFO 242 from the cell group pointed to by the head pointer of the cell group FIFO management data 263 to the cell group pointed to by the tail pointer of the output queue cell group FIFO management data 264 is the output queue cell group FIFO 242.

セルグループFIFO242、出力待ちセルグループFIFO242bはリングバッファ方式でもかまわない。   The cell group FIFO 242 and the output waiting cell group FIFO 242b may be of a ring buffer system.

セルが入力した場合、空きバッファポインタチェーン261から取り出した書き込みポインタをどのセルグループに入力するかを決定しなければならない。そのため、まずVCテーブル260の該当する領域を読み出す。VCテーブル260のNx はそのVCの重み、Nc は作業変数、Qlen はそのVCの蓄積セル数、PtrはそのVCのセルが蓄積されているセルグループの末尾へのポインタである。   When a cell is input, it must be determined to which cell group the write pointer extracted from the empty buffer pointer chain 261 is input. Therefore, first, the corresponding area of the VC table 260 is read. In the VC table 260, Nx is the weight of the VC, Nc is a work variable, Qlen is the number of cells stored in the VC, and Ptr is a pointer to the end of the cell group in which the cells of the VC are stored.

はじめに、Qlen をチェックして、そのVCのセルが現在バッファ装置に蓄積されているかどうかを調べる。もし、Qlen がゼロの場合は、セルグループFIFO242の先頭のセルグループに入れる。   First, Qlen is checked to see if the VC cell is currently stored in the buffer device. If Qlen is zero, it is put in the first cell group of the cell group FIFO 242.

その他の場合はNc に1.0を加えNx と比較し、Nx の方が大きければPtrで指しているセルグループに入れ、そうでない場合は、Ptrで指しているセルグループの次のセルグループに入れる。   In other cases, 1.0 is added to Nc and compared with Nx, and if Nx is larger, it is put in the cell group pointed to by Ptr, otherwise it is put in the cell group next to the cell group pointed to by Ptr. Put in.

ここで、セルが入力した時のNc の更新手順について説明する。前述のように、そのVCに関してセルグループFIFO242の先頭のセルグループに初めてバッファポインタを入力する場合は、Nc :=1.0とする。その他の場合は、Nc をNc :=Nc +1.0と更新する。その結果、もしNx Nc ならば、そのセルグループにバッファポインタを入れる。逆に、もしNx <Nc ならば、セルグループFIFO242の次のセルグループにバッファポインタを入れると同時に、Nc :=Nc −Nx と書き変える(つまり、0<Nc Nx である)。 Here, a procedure for updating Nc when a cell is input will be described. As described above, when the buffer pointer is input to the first cell group of the cell group FIFO 242 for the VC for the first time, Nc: = 1.0. In other cases, Nc is updated to Nc: = Nc + 1.0. As a result, if Nx > Nc, a buffer pointer is inserted into the cell group. Conversely, if Nx <Nc, the buffer pointer is inserted into the cell group next to the cell group FIFO 242, and at the same time, Nc: = Nc−Nx is rewritten (that is, 0 <Nc < Nx).

セルが入力した時、セルグループがセルグループFIFO242になかった場合、もし、セルグループFIFO242の最後のセルグループの次のセルグループにバッファポインタを入れる必要があれば、空きセルグループチェーン262の先頭よりセルグループ管理データ265をとりだし、セルグループFIFO242の末尾に入れ、そのセルグループにバッファポインタを入れれば良い。   When a cell is input, if the cell group is not in the cell group FIFO 242, if it is necessary to put a buffer pointer in the cell group next to the last cell group of the cell group FIFO 242, the start of the empty cell group chain 262 The cell group management data 265 is taken out, put at the end of the cell group FIFO 242, and a buffer pointer is put into the cell group.

出力待ちセルグループFIFO管理データ264は、出力待ちセルグループFIFO242bの末尾を示すポインタを持っている。先頭はセルグループFIFO管理データ263の先頭のセルグループと同じである。   The output waiting cell group FIFO management data 264 has a pointer indicating the end of the output waiting cell group FIFO 242b. The head is the same as the head cell group of the cell group FIFO management data 263.

出力待ちセルグループFIFO242bの先頭のセルグループ(セルグループFIFOの先頭と同じセルグループ)からバッファポインタを出力し、このバッファポインタが読みだしポインタとなる。読みだしポインタは空きバッファポインタチェーン261の末尾に入力する。   A buffer pointer is output from the head cell group of the output waiting cell group FIFO 242b (the same cell group as the head of the cell group FIFO), and this buffer pointer becomes a read pointer. The read pointer is input at the end of the empty buffer pointer chain 261.

セルグループFIFO242の先頭のセルグループのバッファポインタが空になったら、セルグループFIFO242からセルグループ管理データ265を出力し、空きセルグループチェーン262の末尾に入力する。   When the buffer pointer of the head cell group of the cell group FIFO 242 becomes empty, the cell group management data 265 is output from the cell group FIFO 242 and input to the end of the empty cell group chain 262.

出力待ちセルグループFIFO242bに新たにセルグループを転送する場合には、出力待ちセルグループFIFO管理データ264の末尾を示すポインタをセルグループFIFO242上の次のセルグループを指すように変更する。   When a cell group is newly transferred to the output waiting cell group FIFO 242b, the pointer indicating the end of the output waiting cell group FIFO management data 264 is changed to indicate the next cell group on the cell group FIFO 242.

なお、第7の実施形態に係るセルバッファ装置は、図6や図7に示すようなカゴの概念を用いた入力バッファに容易に適用することができる。その場合、出力待ちセルグループFIFO242bがカゴに相当する。また、図5の出力バッファにも適用することができる。   Note that the cell buffer device according to the seventh embodiment can be easily applied to an input buffer using the concept of a cage as shown in FIGS. In this case, the output waiting cell group FIFO 242b corresponds to the basket. The present invention can also be applied to the output buffer shown in FIG.

2.9 第6、第7の実施形態に係るセルバッファ装置の利点
以上説明したように、上記第6〜第7の実施形態に係るVC間公平キューイングを行なうセルバッファ装置によれば、VCテーブルを検索する処理が必要なく、したがって設定可能なVC数の上限に依存することなく容易に実現することができる。
2.9 Advantages of Cell Buffer Device According to Sixth and Seventh Embodiments As described above, according to the cell buffer device that performs fair VC queuing according to the sixth to seventh embodiments, VC The processing for searching the table is not necessary, and therefore, it can be easily realized without depending on the upper limit of the number of settable VCs.

2.10 フロー間重み付き公平キューイング
以上のVC間公平キューイングを行なうセルバッファ装置は、固定長のパケットであるセルを扱う場合を例にあげて説明した。異なる長さのパケットを同時に扱うことが可能なパケットバッファ装置にも以下に説明するように入力したパケットをフロー毎に定めた重みに基づいて公平に出力することができる。
2.10 Inter-flow Weighted Fair Queuing The cell buffer apparatus that performs the above-described fair VC inter-queuing has been described by taking as an example the case of handling cells that are fixed-length packets. A packet buffer apparatus capable of simultaneously handling packets of different lengths can output the input packets fairly based on the weights determined for each flow as described below.

ここでのフローとは、以下の例に示すようにある基準によって識別されるパケットの集合である。   The flow here is a set of packets identified by a certain standard as shown in the following example.

・IP網のいわゆるフロー(送信元アドレス、送信元レポート、宛先アドレス、宛先ポートの組で識別)、もしくはATM網のVCCまたはVPC。   A so-called flow in the IP network (identified by a combination of source address, source report, destination address, destination port), or VCC or VPC in the ATM network.

・IP網のサービスクラス(guaranteed、controlled−load、best−effortなど)、もしくはATM網のサービスカテゴリ(CBR、VBR、ABRなど)の違い。   Differences in IP network service classes (guaranted, controlled-load, best-effort, etc.) or ATM network service categories (CBR, VBR, ABR, etc.).

・プロトコルの違い(TCP/IP、DECnet、SNA、AppleTalkなど)
・アプリケーションの違い(ftp、telnetなど)
・同じバケットバッファ装置を共用する異なった組織(企業別など)
これらを本発明のパケットバッファ装置で異なったフローとして扱うことによりトラヒックを互いに分離することができる。
・ Protocol differences (TCP / IP, DECnet, SNA, AppleTalk, etc.)
・ Application differences (ftp, telnet, etc.)
・ Different organizations sharing the same bucket buffer device (by company, etc.)
By treating these as different flows in the packet buffer device of the present invention, traffic can be separated from each other.

はじめに、図14を用いて、一般的なフロー間重み付き公平キューイングを説明する。このパケットバッファ装置の目的は、装置に蓄積しているパケットをそのフローの重みに従って公平に出力することである。その動作は図14のようなフロー毎のFIFOを考えるとわかりやすい。図には、フロー1、フロー2、フロー3の3つのフローのキュー(FIFO)があり、それぞれのキューにはいろいろな長さのパケットが蓄積されている。図中のパケットに添えられている数字は、バイト数で表したそのパケットの長さである。   First, general inter-flow weighted fair queuing will be described with reference to FIG. The purpose of this packet buffer device is to output packets stored in the device fairly according to the weight of the flow. The operation is easy to understand when considering a FIFO for each flow as shown in FIG. In the figure, there are three flow queues (FIFOs) of flow 1, flow 2, and flow 3, and packets of various lengths are stored in each queue. The number attached to the packet in the figure is the length of the packet in bytes.

このパケットバッファ装置にパケットが入力した場合の処理は、入力したパケットが属するフローを判定しフロー毎のキューに蓄積することである。   Processing when a packet is input to the packet buffer device is to determine a flow to which the input packet belongs and store it in a queue for each flow.

一方パケットの出力については、フロー間で公平に行なうことが必要であり、どのキューのパケットをどの順で出力するかが重要である。ひとつの方法を図14の状況に合わせて説明する。説明を簡単にするためここでは各フローの重みを同じとしている。また公平の単位をここでは仮に500バイトと定めた。   On the other hand, it is necessary to output packets fairly between flows, and it is important to output packets in which queue and in which order. One method will be described in accordance with the situation of FIG. In order to simplify the description, the weights of the flows are assumed to be the same here. Here, the unit of fairness is assumed to be 500 bytes.

まずフロー1のキューの先頭から300バイトの長さのパケットと200バイトの長さのパケットの合わせて500バイト分のパケットを出力する。次にフロー2のキューの先頭から250バイトの長さのパケットを2個続けて出力する。そしてフロー3のキューの先頭から500バイトの長さのパケットをひとつ出力する。このように出力すると、この時点では各フローバイトの長さのパケットをひとつ出力する。このような出力にすると、この時点では各フローから等しく500バイトずつのパケットを出力しているので公平に出力したといってよい。続いて再びフロー1から順に各フローから500バイトずつパケットを出力することを繰り返せばよい。この様にすればパケットはフロー間で公平に出力される。   First, a packet of 500 bytes in total including a packet having a length of 300 bytes and a packet having a length of 200 bytes is output from the head of the queue of flow 1. Next, two packets having a length of 250 bytes from the head of the queue of flow 2 are output in succession. Then, one packet having a length of 500 bytes is output from the head of the flow 3 queue. When outputting in this way, one packet of the length of each flow byte is output at this point. With such an output, it can be said that the packets are output evenly because at this point, packets of equal 500 bytes are output from each flow. Subsequently, it is sufficient to repeat outputting packets of 500 bytes from each flow in order from flow 1 again. In this way, packets are output fairly between flows.

以上の方法では500バイトを単位として公平になっているが、それより小さな単位では必ずしも公平になっていない。しかし厳密な公平性の実現はパケットバッファ装置に非常に大きな処理能力を要求することが知られており、現実問題として上述の程度の公平性で十分と判断される場合が多い。   Although the above method is fair in units of 500 bytes, it is not always fair in smaller units. However, it is known that strict fairness requires a very large processing capacity for the packet buffer device, and as a practical problem, it is often judged that the above-mentioned degree of fairness is sufficient.

さて、上述の説明ではフローの数が3つであったが、パケットバッファ装置が莫大な数のフローを扱う場合、キューにパケットを蓄積しているフローをどの様に探索し、公平にパケットを出力するのかが課題になる。本発明は、パケットグループという概念を用いてこの課題を解決する。   In the above description, the number of flows is three. However, when the packet buffer device handles an enormous number of flows, how to search for a flow in which packets are accumulated in a queue, The issue is whether to output. The present invention solves this problem using the concept of packet groups.

本発明は、前述の図14のZ、A、B、C、Dの様に全てのフローのキューを一定の長さに区切る。このとき、各区切りを単位としてパケットを出力することで公平なパケット出力を実現できることに着目する。本発明はこれらの区切り毎にパケットをグループ化して管理する。この各グループをパケットグループと呼ぶ。ひとつのパケットグループには複数のフローのパケットが混在する。パケットの出力はまず出力側に最も近いパケットグループZのパケットを出力し、次にパケットグループAのパケットを出力する。さらにB、C、Dというように順にパケットグループのパケットを出力することにより、本発明のパケットバッファ装置はフロー間で公平にパケットを出力できる。   In the present invention, the queues of all flows are divided into fixed lengths as in Z, A, B, C, and D in FIG. At this time, attention is paid to that a fair packet output can be realized by outputting a packet in units of each delimiter. In the present invention, packets are grouped and managed for each of these breaks. Each group is called a packet group. A packet group includes a plurality of flow packets. As for the output of the packet, the packet of the packet group Z closest to the output side is output first, and then the packet of the packet group A is output. Further, by outputting the packets of the packet group in order of B, C, and D, the packet buffer device of the present invention can output the packets fairly between the flows.

ところで図14において区切りBのフロー3を見ると、400バイトのパケットの次に350バイトのパケットが蓄積されている。図では同じ区切りに属するパケットは合計500バイトを上限としているため、パケットをパケットバッファ装置内部で分割しないとする400バイトのパケットと350バイトのパケットの両方を区切り、Bに入れることはできない。そうかといって、後からパケットバッファ装置に到着した350バイトのパケットを区切りBに入れなければ区切りBには100バイトのすき間が発生してしまう。この様な場合の扱いは後で述べる。   By the way, looking at the flow 3 of the break B in FIG. 14, a 350-byte packet is accumulated after a 400-byte packet. In the figure, the maximum number of packets belonging to the same delimiter is 500 bytes. Therefore, both a 400-byte packet and a 350-byte packet that are not divided in the packet buffer device cannot be delimited and put into B. On the other hand, if a 350-byte packet that has arrived at the packet buffer device later is not included in break B, a gap of 100 bytes will occur in break B. The handling of such a case will be described later.

以上本発明のパケットグループという概念について説明した。   The concept of the packet group of the present invention has been described above.

続いて本発明のパケットバッファ装置の一例を図15を用いてより具体的に説明する。   Next, an example of the packet buffer device of the present invention will be described more specifically with reference to FIG.

本発明の構成要素として、パケットグループ、パケットグループFIFO、フローテーブル、出力待ちパケットグループがある。   The constituent elements of the present invention include a packet group, a packet group FIFO, a flow table, and an output waiting packet group.

パケットグループは前述した様に蓄積しているパケットをグループ化したものである。図15ではA、B、C、Dがパケットグループである。各パケットグループに属するパケットには順序がついており、パケットグループはいわばFIFO構造になっている。   The packet group is a group of accumulated packets as described above. In FIG. 15, A, B, C, and D are packet groups. Packets belonging to each packet group are ordered, and the packet group has a FIFO structure.

本発明は図15のように、パケットのFIFOであるパケットグループをさらにFIFOで管理する。このパケットグループのFIFOをパケットグループFIFOと呼ぶ。   In the present invention, as shown in FIG. 15, a packet group which is a FIFO of a packet is further managed by the FIFO. This FIFO of the packet group is called a packet group FIFO.

フローテーブルはフロー毎の情報を記憶する。フローテーブルのNx はそのフローの重みの設定値、Nc は作業変数、蓄積量はそのフローの蓄積パケットの合計量、Ptrはそのフローの最後に到着したパケットが属するパケットグループへのポインタである。蓄積量はパケットバッファ装置がそのフローのパケットを蓄積しているかどうかを示す目的を持ち、例えばパケット入力時に入力パケット長を加え、パケット出力時に出力パケット長を引く変数とすることによりフロー毎に蓄積パケットの合計バイト数を保持する。   The flow table stores information for each flow. In the flow table, Nx is a set value of the weight of the flow, Nc is a work variable, an accumulated amount is a total amount of accumulated packets of the flow, and Ptr is a pointer to a packet group to which a packet arriving at the end of the flow belongs. The accumulation amount has the purpose of indicating whether or not the packet buffer device is accumulating packets for the flow. For example, the accumulation amount is accumulated for each flow by adding the input packet length when inputting the packet and subtracting the output packet length when outputting the packet. Holds the total number of bytes in the packet.

出力待ちパケットグループは、パケットグループFIFOから出力されたパケットグループである(図ではパケットグループZ)。パケットバッファ装置からパケットを出力する場合、出力待ちパケットグループに属するパケットを出力する。   The output waiting packet group is a packet group output from the packet group FIFO (packet group Z in the figure). When outputting a packet from the packet buffer device, a packet belonging to the output waiting packet group is output.

パケットが入力した場合、そのパケットをどのパケットグループに入れるかを決定しなければならない。   If a packet is entered, it must be determined to which packet group it will be placed.

まずはじめに、そのフローのパケットが現在バッファ装置に蓄積されているかどうかを調べる。フロー識別情報よりフローテーブルのそのフローの蓄積量を参照し、それがゼロかどうかで判断できる。現在蓄積されていなければ、パケットグループFIFOの先頭のパケットグループ(図15のパケットグループA)に入力パケットを入れる。   First, it is checked whether or not the packet of the flow is currently stored in the buffer device. By referring to the accumulated amount of the flow in the flow table from the flow identification information, it can be determined whether it is zero or not. If it is not currently stored, the input packet is put into the first packet group (packet group A in FIG. 15) of the packet group FIFO.

蓄積量がゼロより大きな場合でも、Ptrが出力待ちパケットグループ(図15のパケットグループZ)を指している場合は、やはりパケットグループFIFOの先頭のパケットグループAに入力パケットを入れる。   Even if the accumulation amount is larger than zero, if Ptr points to the output waiting packet group (packet group Z in FIG. 15), the input packet is also put into the first packet group A of the packet group FIFO.

その他の場合は、入力パケット長と、Nx 、Nc 、Ptrによって決定する。   In other cases, it is determined by the input packet length and Nx, Nc, Ptr.

各フローのNx は、そのフローについて、ひとつのパケットグループが管理する平均的なパケットの量を示している。Nx はそのフローの最大パケット長よりも大きな値に設定する。   Nx of each flow indicates the average amount of packets managed by one packet group for the flow. Nx is set to a value larger than the maximum packet length of the flow.

Nc は、Nx −Nc を計算することにより、Ptrで示しているパケットグループに、そのフローが今後入れることのできる残りの量を示す。もしNx −Nc ≧(入力パケット長)ならば、Ptrで指しているパケットグループに入力パケットを入れ、逆にNx −Nc <(入力パケット長)ならば、パケットグループFIFO上で、Ptrが目指すパケットグループの次のパケットグループに入力パケットを入れる。   Nc indicates the remaining amount that the flow can enter the packet group indicated by Ptr by calculating Nx-Nc. If Nx−Nc ≧ (input packet length), the input packet is put into the packet group pointed to by Ptr. Conversely, if Nx−Nc <(input packet length), the packet targeted by Ptr on the packet group FIFO Put the input packet in the next packet group of the group.

パケットグループが決定すると、次にNc とPtrの値を更新する。パケットグループFIFOの先頭のパケットグループに、そのフローに関して1つめのパケットを入れた場合は、Nc :=(入力パケット長)とする。その他の場合は、まず、Nc :=Nc +(入力パケット長)とし、その結果もしNx <Nc ならさらにNc :=Nc −Nx と書き変える(つまり、0<Nc ≦Nx である)。Ptrはその入力パケットを入れたパケットグループへのポインタを書き込む。   When the packet group is determined, the values of Nc and Ptr are updated next. If the first packet of the flow is put in the first packet group of the packet group FIFO, Nc: = (input packet length). In other cases, first, Nc: = Nc + (input packet length), and if Nx <Nc, the result is further rewritten as Nc: = Nc−Nx (that is, 0 <Nc ≦ Nx). Ptr writes a pointer to the packet group containing the input packet.

本発明では、ひとつのパケットをふたつのパケットグループが管理することはない。そのため入力パケットの長さがNx −Nc を越えている場合には、入力パケットをPtrの指すパケットグループに入れず次のパケットグループに入れる。しかしNc の計算上ではひとつのパケットをふたつのパケットグループに分割して入れる。つまり、Nc :=Nc +(入力パケット長)とし、Nx を越えた部分があれば、そのNc −Nx を次のパケットグループのNc とする。このアルゴリズムにより平均的に、ひとつのパケットグループあたりNx のパケットが属することになる。   In the present invention, one packet is not managed by two packet groups. Therefore, when the length of the input packet exceeds Nx−Nc, the input packet is put into the next packet group without being put into the packet group pointed to by Ptr. However, in calculating Nc, one packet is divided into two packet groups. That is, Nc: = Nc + (input packet length), and if there is a portion exceeding Nx, that Nc-Nx is set as Nc of the next packet group. By this algorithm, on average, Nx packets belong to one packet group.

図15を用いてパケット入力動作を具体的に説明する。図15はフロー1で長さ250バイトのパケットがパケットバッファ装置に到着した場面である。このときフロー1のPtrはパケットグループBを指している。フローテーブルの更新は、上述の手続にしたがってNc をNc :=Nc +(入力パケット長)=200+250=450とする。この値はNx 以下なので、この入力パケットはPtrが指しているパケットグループBに入れる。   The packet input operation will be specifically described with reference to FIG. FIG. 15 shows a scene in which a packet having a length of 250 bytes arrives at the packet buffer device in the flow 1. At this time, Ptr of the flow 1 indicates the packet group B. In updating the flow table, Nc is set to Nc: = Nc + (input packet length) = 200 + 250 = 450 according to the above procedure. Since this value is less than or equal to Nx, this input packet is put into the packet group B pointed to by Ptr.

もし、仮にフロー1の入力パケット長が250ではなく350であった場合はNc :=200+350=550となりNx を越える。したがってさらに、Nc:=Nc −Nx =550−500=50と更新し、この入力パケットをパケットグループBの次のパケットグループCに入れる。PtrはパケットグループCに変更する。   If the input packet length of flow 1 is 350 instead of 250, Nc: = 200 + 350 = 550, which exceeds Nx. Therefore, Nc: = Nc−Nx = 550−500 = 50 is updated, and this input packet is put into the packet group C next to the packet group B. Ptr is changed to packet group C.

パケットグループFIFOは先入れ先だしのキューであり、キューイングしているパケットグループ数を必要なだけ増やすことができる。例えば、図15においてフロー2でパケット長が400のパケットが到着したと仮定すると、空きのパケットグループ(パケットグループE)がパケットグループDの次に追加され、入力パケットはそのパケットグループEに入れることになる。   The packet group FIFO is a first-in first-out queue, and the number of queued packet groups can be increased as necessary. For example, assuming that a packet having a packet length of 400 arrives in flow 2 in FIG. 15, an empty packet group (packet group E) is added next to packet group D, and an input packet is put into the packet group E. become.

以上のようにパケット入力時の処理は、フローテーブルの該当箇所を変更することと、パケットグループにパケットを入れることと、必要があればパケットグループFIFOに空きのパケットグループを追加することでよい。フローテーブルを複数のフローに渡って検索することなく入力時の処理を行なうことが可能であり、フロー数が大きくなっても処理の複雑さは変化しない。   As described above, the processing at the time of packet input may be performed by changing the corresponding part of the flow table, putting the packet into the packet group, and adding an empty packet group to the packet group FIFO if necessary. It is possible to perform processing at the time of input without searching the flow table across a plurality of flows, and the complexity of processing does not change even if the number of flows increases.

一方、パケットの出力時に必要な処理はさらに簡単である。つまり出力待ちパケットグループからパケットを出力すればよい。必要に応じてパケットグループFIFOからパケットグループを出力することをその前に行なう。これらの処理もフローテーブルを複数のフローに渡って検索することなく可能であり、フロー数が大きくなっても処理の複雑さは変化しない。   On the other hand, the processing required when outputting a packet is even simpler. That is, a packet may be output from the output waiting packet group. If necessary, a packet group is output from the packet group FIFO before that. These processes are also possible without searching the flow table across a plurality of flows, and the complexity of the process does not change even if the number of flows increases.

前述したように各フローの重みNx は、そのフローに関してひとつのパケットグループあたりの平均的なパケットの量を示している。そして本発明のパケットバッファ装置はパケットグループを単位としてパケットを出力するため、各フローの出力スリープットはNx に比例する。   As described above, the weight Nx of each flow indicates the average amount of packets per packet group for the flow. Since the packet buffer device of the present invention outputs packets in units of packet groups, the output sleep of each flow is proportional to Nx.

このパケットバッファ装置によれば、フローテーブルを検索する処理が必要なく、したがって設定可能なフロー数の上限に依存することなく容易に可変長パケットを扱い重み付き公平なパケットバッファ装置を実現することができる。   According to this packet buffer device, it is possible to realize a weighted and fair packet buffer device that can easily handle variable-length packets without depending on the upper limit of the number of flows that can be set, without requiring processing for searching a flow table. it can.

本発明の各パケットグループはパケットを到着順に管理する。つまり同じパケットグループに属するパケットの出力順位は全てのフローを通して到着順になるということである。この性質はパケットの遅延揺らぎを低減する効果がある。   Each packet group of the present invention manages packets in the order of arrival. In other words, the output order of packets belonging to the same packet group is in the order of arrival through all the flows. This property has an effect of reducing packet delay fluctuation.

また、本発明のパケットバッファ装置は、従来の技術で説明したDRRというアルゴリズムと比較すると、VC数が増えても高速にVC間公平キューイングの為の出力セルの選択が実現できるうえ、重みの値が大きくなっても出力トラヒックのバースト性が増加することがない。本発明でバースト性が増加しないのは、入力したパケットを複数の集合(パケットグループ)に振り分け管理する際に、ひとつの集合内ではパケットをフロー(VC)とは無関係に管理し、パケットをその集合(パケットグループ)から出力する際はフロー(VC)とは無関係に出力するからである。   Further, the packet buffer device of the present invention can realize the selection of output cells for fair queuing between VCs at a high speed even when the number of VCs increases as compared with the algorithm called DRR described in the prior art. Even if the value increases, the burstiness of output traffic does not increase. The burstiness does not increase in the present invention because when an input packet is distributed and managed to a plurality of sets (packet groups), the packets are managed independently of the flow (VC) in one set, and This is because when outputting from a set (packet group), it is output regardless of the flow (VC).

3. バックプレッシャを考慮したキュー監視(第8の実施形態)
次に、本発明の第8の実施形態に係るバックプレッシャを考慮したキュー監視を行うセルバッファ装置について説明する。
3. Queue monitoring considering back pressure (eighth embodiment)
Next, a cell buffer device that performs queue monitoring in consideration of back pressure according to an eighth embodiment of the present invention will be described.

図16に、例えば、前述の第1、第2、第4、第5の実施形態で説明したような入力バッファにおけるキュー長の変化の一例を示す。   FIG. 16 shows an example of a change in the queue length in the input buffer as described in the first, second, fourth, and fifth embodiments, for example.

第8の実施形態に係るセルバッファ装置は、バックプレッシャ信号により出力が出力可能と出力禁止の2状態に制御されているセルバッファ装置であって、バックプレッシャ信号が出力可能から出力禁止に変化した時から次に出力可能から出力禁止に変化するまでの間で、最初のセル入力時の蓄積セル数のみを監視することを特徴とする。   The cell buffer device according to the eighth embodiment is a cell buffer device that is controlled in two states of output enabling and output prohibiting by a back pressure signal, and the back pressure signal has changed from output enabling to output prohibiting. From the time until the next change from possible output to prohibited output, only the number of stored cells at the time of the first cell input is monitored.

監視の目的は、輻輳の判定や、ひとつのバッファ領域を複数のキューが共用する場合においてバッファ領域の独占を防ぐための入力セル廃棄の判定などである。   The purpose of monitoring is determination of congestion, determination of discard of input cells to prevent monopolization of the buffer area when a plurality of queues share one buffer area, and the like.

図17にバックプレッシャ考慮のキュー監視部を持つセルバッファ装置の構成例を示す。図17において、セルバッファ装置は、複数のキューQi(i=1〜N)、キューテーブル記憶部280、バックプレッシャ識別子(BPID)記憶部281、キュー監視部282から構成される。   FIG. 17 shows a configuration example of a cell buffer device having a queue monitoring unit taking back pressure into consideration. In FIG. 17, the cell buffer device includes a plurality of queues Qi (i = 1 to N), a queue table storage unit 280, a back pressure identifier (BPID) storage unit 281 and a queue monitoring unit 282.

キューテーブル記憶部280に記憶されるキューテーブルのQlen i はそのキューの蓄積セル数、Cnti は輻輳判定変数(初期値ゼロ)、BPIDt i は最後のセル入力時のバックプレッシャ識別子(BPID)である。   Qlen i of the queue table stored in the queue table storage unit 280 is the number of accumulated cells in the queue, Cnti is a congestion determination variable (initial value zero), and BPIDt i is a back pressure identifier (BPID) at the time of the last cell input. .

セルがキューに入力すると入力セル情報がキュー監視部282に転送される。また、BPIDはバックプレッシャ信号が出力可能から出力禁止に変化した時に図16の様にインクリメントされる。キュー監視部282はキュー長の監視を図18に示すアルゴリズムに基づいて行なう。   When the cell enters the queue, the input cell information is transferred to the queue monitoring unit 282. BPID is incremented as shown in FIG. 16 when the back pressure signal changes from output enable to output disable. The queue monitoring unit 282 monitors the queue length based on the algorithm shown in FIG.

図18にバックプレッシャを考慮したバッファのキュー長監視アルゴリズムの一例を示す。これはキュー長を監視して輻輳の有無を判断する例を示している。   FIG. 18 shows an example of a buffer queue length monitoring algorithm in consideration of back pressure. This shows an example in which the queue length is monitored to determine the presence or absence of congestion.

キューQiにセルが入力されて、セル入力処理が開始されると、まず、Qleni をインクリメントする(ステップS1)。   When a cell is input to the queue Qi and the cell input process is started, first, Qleni is incremented (step S1).

次に、BPIDとBPIDt i を比較することにより、キュー長を監視すべきかそうでないかを判断する(ステップS2)。すなわち、バックプレッシャ信号により変動するキュー長が短くなった時に監視する。   Next, it is determined whether or not the queue length should be monitored by comparing BPID and BPIDt i (step S2). That is, monitoring is performed when the queue length that fluctuates due to the back pressure signal becomes shorter.

BPID≠BPIDt i の場合、キュー長を監視すべきであり、まず、Cnti1であるか否かを判断する(ステップS3)。このとき、Cnti 1場合は直前まで輻輳状態だと判断し、輻輳状態か否かを判断するためのしきい値Qthにヒステリシスを持たせた値(Qth−H)とQlen i 比較する(ステップS4)。 If BPID ≠ BPIDt i, the queue length should be monitored, and it is first determined whether Cnti > 1 (step S3). At this time, if Cnti > 1, it is determined that the state is congested until just before, and Qlen i is compared with a value (Qth−H) having a hysteresis in the threshold value Qth for determining whether or not the state is congested (step S11). S4).

一方、Cnti 1でない場合は、Qlen i >Qthを判定する(ステップS5)。 ステップS4、ステップS5でキュー長Qlen i をQth−HあるいはQthと比較した結果、これらのしきい値を越えているとき(すなわち、Qlen i >Qth−H、あるいは、Qlen i >Qthであるとき)、Cnti :=Qlen i −Qth+Hを行ない(ステップS6、ステップS7)、そうでなければCnti :=0とする(ステップS8、ステップS9)。さらに、ステップS10に進む。 On the other hand, if Cnti > 1 is not satisfied, Qlen i> Qth is determined (step S5). When the queue length Qlen i is compared with Qth−H or Qth in step S4 and step S5, these threshold values are exceeded (that is, when Qlen i> Qth−H or Qlen i> Qth. ), Cnti: = Qlen i −Qth + H is performed (step S6, step S7), otherwise Cnti: = 0 is set (step S8, step S9). Further, the process proceeds to step S10.

ステップS2で、BPID==BPIDt i の場合、キュー長を監視すべきではなく、そのままステップS10に進む。   If BPID == BPIDt i in step S2, the queue length should not be monitored, and the process directly proceeds to step S10.

ステップS10では、Cnti 1を判定する。もし、そうであれば輻輳状態であり、ステップS11に進み、Cnti から「1」を減算し(Cnti :=Cnti −1)、入力セルを廃棄するなら(ステップS12)Qlen i から「1」を減算する(Qlen i := Qlen i −1)。Cnti 1でないなら(ステップS10)輻輳状態ではない。 In step S10, Cnti > 1 is determined. If so, it is in a congested state, and the process proceeds to step S11, where “1” is subtracted from Cnti (Cnti: = Cnti−1), and the input cell is discarded (step S12). Subtract (Qlen i: = Qlen i −1). If Cnti > 1 is not satisfied (step S10), it is not a congestion state.

最後に、BPIDt i にBPIDの値を代入し、BPIDt i を更新する(ステップS13)。   Finally, the value of BPID is substituted into BPIDt i to update BPIDt i (step S13).

このように、図18に示したフローチャートによれば、バックプレッシャー信号が出力可能から出力禁止に変化した時から、次に、出力可能から出力禁止に変化する時までの最初のセル入力時の蓄積数のみを監視していることになる。   As described above, according to the flowchart shown in FIG. 18, the accumulation at the time of the first cell input from when the back pressure signal changes from output possible to output prohibition until the next time when output possible changes to output prohibition. Only the number is monitored.

なお、Hは、ヒステリシスに関するパラメタを示す。ヒステリシスはキュー長を監視して行なわれるセル廃棄や輻輳状態などの判定結果の振動を低減する作用がある。0H<Qthであり、ヒステリシスが不要である場合はゼロに設定する。 H represents a parameter relating to hysteresis. Hysteresis has the effect of reducing the vibration of determination results such as cell discard and congestion that are performed by monitoring the queue length. If 0 < H <Qth and hysteresis is not required, set to zero.

図18では、しきい値QthとヒステリシスパラメタHは全てのキューで同じ値を用いる場合を示しているが、キュー毎に異なる値を設定してもかまわない。   In FIG. 18, the threshold value Qth and the hysteresis parameter H show the case where the same value is used for all the queues, but different values may be set for each queue.

ここで、しきい値Qthの決定方法を述べる。まず、バックプレッシャ信号によって制御されていないバッファを考える。このバッファは一定レートRi で入力し、一定レートR0 で出力するとする。Ri >R0 のとき、この負荷(Ri −RO )が加わってもtT 時間廃棄を起こさないために必要なバッファ量Qthは、Qth=(Ri −RO )×tT により求められる。   Here, a method for determining the threshold value Qth will be described. First, consider a buffer that is not controlled by a backpressure signal. The buffer is input at a constant rate Ri and output at a constant rate R0. When Ri> R0, the buffer amount Qth necessary to prevent discarding for the time tT even if this load (Ri-RO) is applied is obtained by Qth = (Ri-RO) * tT.

これに対し、この第8の実施形態では、図16に示すように、入力レートはRi で一定であるが、入力バッファからの出力レートはTup時間(入力バッファからの出力禁止時間)についてはゼロ、Tdn時間(入力バッファからの出力可能時間)についてはRe である。Tup、Tdnの変化が少ないと仮定すると、先ほどと同じく、この負荷が加わってもtT 時間廃棄を起こさないために必要なバッファ量Qthは、

Figure 0003906231
On the other hand, in the eighth embodiment, as shown in FIG. 16, the input rate is constant at Ri, but the output rate from the input buffer is zero for the Tup time (output inhibition time from the input buffer). , Tdn time (time available for output from the input buffer) is Re. Assuming that changes in Tup and Tdn are small, the buffer amount Qth necessary to prevent discarding for the time tT even when this load is applied is as follows.
Figure 0003906231

となる。ここで、出力ポートからの平均の出力レートR′0 は、

Figure 0003906231
It becomes. Here, the average output rate R′0 from the output port is
Figure 0003906231

であるから、Qth=( Ri −R′O )×tT となり、この第8の実施形態のセルバッファ装置は、バックプレッシャのない単純なバッファ装置の場合のしきい値と同じしきい値を設定することにより、ほぼ同様の効果を得られると考えられる。   Therefore, Qth = (Ri-R'O) * tT, and the cell buffer device of the eighth embodiment sets the same threshold as that in the case of a simple buffer device without back pressure. By doing so, it is considered that almost the same effect can be obtained.

なお、輻輳状態を判定する代わりに、セルの廃棄判定を行なう場合でも全く同じアルゴリズムが適用できる。   Note that the same algorithm can be applied even when cell discard determination is performed instead of determining the congestion state.

以上説明したように、上記第8の実施形態に係るバックプレッシャ信号を考慮するセルバッファ装置によれば、キュー長の監視結果が外部条件の影響を受け難く、安定したキュー長の監視が容易である。   As described above, according to the cell buffer device considering the back pressure signal according to the eighth embodiment, the monitoring result of the queue length is hardly affected by the external condition, and the stable monitoring of the queue length is easy. is there.

4. 遅延を考慮したセル数情報の修正(第9の実施形態)
次に、本発明に係るセル数情報を修正するセルバッファ装置の実施形態について説明する。
4). Correction of cell number information in consideration of delay (9th embodiment)
Next, an embodiment of a cell buffer device for correcting cell number information according to the present invention will be described.

4.1 第9の実施形態(遅延を考慮したセルバッファ装置)
図19に、第9の実施形態に係る遅延を考慮したセルバッファ装置の構成を示す。
4.1 Ninth Embodiment (Cell Buffer Device Considering Delay)
FIG. 19 shows the configuration of a cell buffer device considering delay according to the ninth embodiment.

図19に示したセルバッファ装置は、大きく分けて、ひとつ以上のセルバッファB(Ba、Bb、…)を複数段(図19では2段)接続してなるセルバッファ網300と、各セルバッファBのセル数を入力してセルバッファBへ転送指示を行なう管理部301とから構成される。   The cell buffer device shown in FIG. 19 is roughly divided into a cell buffer network 300 in which one or more cell buffers B (Ba, Bb,...) Are connected in a plurality of stages (two stages in FIG. 19), and each cell buffer. The management unit 301 inputs the number of B cells and instructs the cell buffer B to transfer.

管理部301は、転送指示の履歴302を保持し、新たな転送指示を決定する際にこの転送指示履歴302を使用することを特徴とする。   The management unit 301 stores a transfer instruction history 302 and uses the transfer instruction history 302 when determining a new transfer instruction.

前記管理部301は、セルバッファBがセル数を管理部301へ送信した時刻から、管理部が決定する転送指示がそのセルバッファBに作用する時刻までに、そのセルバッファBに作用する転送指示の回数を前記転送指示履歴302より求め、その転送指示の回数とセル数から転送指示を決定する。   The management unit 301 transmits a transfer instruction acting on the cell buffer B from the time when the cell buffer B transmits the number of cells to the management unit 301 until a time when the transfer instruction determined by the management unit acts on the cell buffer B. Is determined from the transfer instruction history 302, and the transfer instruction is determined from the number of transfer instructions and the number of cells.

図20は、本発明の遅延を考慮したセルバッファ装置におけるセル数情報の修正原理を説明する図である。   FIG. 20 is a diagram for explaining the principle of correcting the cell number information in the cell buffer device considering delay according to the present invention.

入力リンク#1、#2から入力したセルは、それぞれ前段のセルバッファBa1、Ba2に一時的に蓄積される。管理部301の転送指示に従いセルはセルバッファBb に転送され、セルバッファBb はセルを出力リンクへ出力する。   Cells input from the input links # 1 and # 2 are temporarily stored in the cell buffers Ba1 and Ba2 in the previous stage, respectively. The cell is transferred to the cell buffer Bb according to the transfer instruction of the management unit 301, and the cell buffer Bb outputs the cell to the output link.

管理部301には、Ba2のセル数Na2と、Bb のセル数Nb が伝送され、Ba1、Ba2に対して転送指示を出力する。   Ba2 cell number Na2 and Bb cell number Nb are transmitted to management unit 301, and a transfer instruction is output to Ba1 and Ba2.

今、Ba2からセル数情報が管理部301に到着し、その情報から転送指示を決定してBa2に転送を指示して、この転送指示によりBa2のセル数が変化するまでの遅延時間をDセル周期とする。また、Bb からセル数情報が管理部に到着し、その情報から転送指示を決定してBa1、Ba2に転送を指示して、この転送指示によりBa1またはBa2からBb へセルが転送されBb のセル数が変化するまでの遅延時間も、説明を簡単にするため同じDセル周期であるとする。   Now, the cell number information arrives at the management unit 301 from Ba2, determines the transfer instruction from the information, instructs the transfer to Ba2, and sets the delay time until the number of cells of Ba2 changes according to this transfer instruction to D cells. Let it be a period. Further, the cell number information arrives at the management section from Bb, determines the transfer instruction from the information, instructs the transfer to Ba1 and Ba2, and the cell is transferred from Ba1 or Ba2 to Bb by this transfer instruction, and the cell of Bb The delay time until the number changes is also assumed to be the same D cell period for the sake of simplicity.

ここで、図20を、セルバッファBa1、Ba2が図53のクラス1セル蓄積部、クラス2セル蓄積部に相当し、セルバッファBb がセル多重化FIFOに相当する優先制御を行なうセルバッファ装置と考える。Ba1、Ba2、Bb のセルバッファ間のセル転送の方針は図5353と同じである。つまりBb の蓄積セル数を少なくすることが必要であるが、Bb を努めて空にしない(=アンダフローしない)ように転送指示をする。さらに、転送指示は空指示をしないように行なう(Ba2に蓄積セルが存在する場合にのみBa2に対して転送指示を行なう)。   Here, FIG. 20 shows a cell buffer device for performing priority control in which cell buffers Ba1 and Ba2 correspond to the class 1 cell storage unit and class 2 cell storage unit in FIG. 53, and cell buffer Bb corresponds to a cell multiplexing FIFO. Think. The cell transfer policy between the cell buffers Ba1, Ba2, and Bb is the same as that shown in FIG. That is, it is necessary to reduce the number of Bb storage cells, but a transfer instruction is made so as not to empty (= underflow) Bb. Further, the transfer instruction is performed so as not to give an empty instruction (the transfer instruction is issued to Ba2 only when a storage cell exists in Ba2).

さて、時刻t2 でBa2から出力されたセル数情報Na2が管理部301へ到着し、時刻t3 に管理部301が転送指示を行なって時刻t4 にその転送指示によりBa2からセルが出力したとする。管理部301が知りたい情報は、転送指示が実際にBa2に作用する時刻t4 におけるBa2のセル数である。この時点を図20に白丸で示した。   Assume that the cell number information Na2 output from Ba2 at time t2 arrives at the management unit 301, the management unit 301 issues a transfer instruction at time t3, and a cell is output from Ba2 at time t4 according to the transfer instruction. The information that the management unit 301 wants to know is the number of cells of Ba2 at time t4 when the transfer instruction actually acts on Ba2. This time is indicated by a white circle in FIG.

Ba2が時刻t2 からt4 の時間(=Dセル周期)でMa2回の転送指示を受け付けたとすると、この間にBa2はMa2セル出力したことになり、時刻t4 におけるBa2のセル数はNa2−Ma2である(Ba2へセルが入力しなかった場合)。   Assuming that Ba2 has received a transfer instruction Ma2 times from time t2 to time t4 (= D cell period), Ba2 has output Ma2 cells during this time, and the number of cells of Ba2 at time t4 is Na2-Ma2. (When no cell is input to Ba2).

通常、管理部301からBa2までの転送指示の伝送遅延は一定だから、Ba2が受信する転送指示回数Ma2は、t4 −t2 =D=t3 −t1 となるようなt1 とt3 間で管理部301が出力した転送指示の回数と等しい。従って、転送指示履歴302より転送指示回数Ma2を知ることにより、時刻t2 からt4 におけるBa2の減少セル数を正確に求めることができる。   Normally, since the transmission delay of the transfer instruction from the management unit 301 to Ba2 is constant, the transfer instruction number Ma2 received by Ba2 is determined by the management unit 301 between t1 and t3 such that t4−t2 = D = t3−t1. It is equal to the number of output transfer instructions. Therefore, by knowing the transfer instruction count Ma2 from the transfer instruction history 302, the number of cells decreased by Ba2 from time t2 to t4 can be accurately obtained.

Bb に関しても同様に考えることができ、時刻t2 からt4 におけるBb のセル数の増加量(Ba2からの転送セルによる増加量)を正確に求めることができる。   The same applies to Bb, and the amount of increase in the number of Bb cells from time t2 to t4 (the amount of increase due to transfer cells from Ba2) can be accurately obtained.

時刻t2 からt4 でのBa2への入力セル数は、管理部301は知ることができない。Ba2に対して空指示しないようにするためには、Ba2のセル数を少なめに見積もればよい。従って、入力リンクからBa2へのセル入力は、時刻t2 からt4 においてなかったと仮定する。   The management unit 301 cannot know the number of cells input to Ba2 from time t2 to t4. In order not to give an empty instruction to Ba2, the number of Ba2 cells may be estimated slightly. Therefore, it is assumed that the cell input from the input link to Ba2 was not from time t2 to t4.

また時刻t2 からt4 でのBb からのセル出力は、管理部301は知ることができない。Bb がアンダフローしないようにするためには、Bb のセル数を少なめに見積もる必要がある。従って、Bb からのセル出力は、時刻t2 からt4 において常に出力し続けたと仮定する(Dセル周期であるので、Dセルと仮定する)。さらに、Ba1からの入力セルもゼロと仮定する。   Further, the management unit 301 cannot know the cell output from Bb from time t2 to time t4. In order to prevent Bb from underflowing, it is necessary to estimate the number of Bb cells slightly. Accordingly, it is assumed that the cell output from Bb is always output from time t2 to time t4 (it is assumed that the cell is D because it is a D cell period). Furthermore, it is assumed that the input cell from Ba1 is also zero.

まとめると、修正されたNa2、Nb をそれぞれN′a2、N′b とすると、N′a2=Na2+0−Ma2N′b =Nb +Ma2−Dである。よって管理部301がBa2へ転送指示を行なう条件は、(N′b ≦Th)and(N′a >0)で与えられる。   In summary, assuming that the corrected Na2 and Nb are N'a2 and N'b, respectively, N'a2 = Na2 + 0-Ma2N'b = Nb + Ma2-D. Therefore, the condition for the management unit 301 to give a transfer instruction to Ba2 is given by (N′b ≦ Th) and (N′a> 0).

Ba1への転送指示は、(N′b ≦Th)and(N′a ≦0)の条件で行なう。Thは通常は「1」である。以上のようにセル数を修正することにより、アンダフローや空指示を努めて少なくしつつ転送を指示することができる。   The transfer instruction to Ba1 is performed under the conditions of (N′b ≦ Th) and (N′a ≦ 0). Th is normally “1”. By correcting the number of cells as described above, transfer can be instructed while reducing underflow and empty instructions.

4.2 一般的なバッファ網におけるセル数の修正方法
次に、一般的なバッファ網におけるセル数の修正方法について説明する。
4.2 Method for Correcting Number of Cells in General Buffer Network Next, a method for correcting the number of cells in a general buffer network will be described.

基本原理の説明には図21を用いる。図21R>1には、すでに述べたようにセルバッファ網300と管理部301がある。セルバッファ網300は、着目しているセルバッファBx を含む。セルバッファBxは物理的には複数のバッファであっても良い。管理部はこのセルバッファBxからセル数情報を得て転送指示を与える。まず本発明を説明する際に使用する用語の定義を行う。   FIG. 21 is used to explain the basic principle. 21R> 1 includes the cell buffer network 300 and the management unit 301 as described above. The cell buffer network 300 includes a focused cell buffer Bx. The cell buffer Bx may physically be a plurality of buffers. The management unit obtains cell number information from the cell buffer Bx and gives a transfer instruction. First, terms used to describe the present invention are defined.

4.2.1. 用語の定義
時刻は、特に断らない限り現在時刻をゼロとする相対時刻とし、セル周期経過毎に1ずつ増加するものとする。このような時刻の定義は他の表現方法に変換可能であり一般性がある。また、ある時刻t1からある時刻t2までの期間をpなどと表すことがあり、これをp=[t1、t2)と表す。この期間pは時刻t1を含み、t2は含まない。
4.2.1. Definition of Terms Unless otherwise specified, the time is a relative time with the current time being zero, and is incremented by 1 every time the cell period elapses. Such a definition of time can be converted into other representation methods and is general. In addition, a period from a certain time t1 to a certain time t2 may be expressed as p, which is expressed as p = [t1, t2). This period p includes time t1, and does not include t2.

セルバッファBxの蓄積セル数をNxで表す。Nxは現在時刻(t=0)に管理部301に到着した蓄積セル数である。   The number of cells stored in the cell buffer Bx is represented by Nx. Nx is the number of storage cells that have arrived at the management unit 301 at the current time (t = 0).

セルバッファBxに対し管理部301が時刻t(t0)に出力した転送指示をIx(t)で表す。転送を指示した場合はIx(t)=1であり、転送を指示しない場合はIx(t)=0である。 The transfer instruction output from the management unit 301 to the cell buffer Bx at time t (t < 0) is represented by Ix (t). When transfer is instructed, Ix (t) = 1, and when transfer is not instructed, Ix (t) = 0.

時刻t(t0)に管理部301に到着したセルバッファBxのHOLセル数をHx(t)で表す。 The number of HOL cells in the cell buffer Bx that has arrived at the management unit 301 at time t (t < 0) is represented by Hx (t).

HOLセル数とは、1回の転送指示でセルバッファから一度に転送される可能性のあるセル数である。特に、現在時刻に管理部301に到着したHOLセル数情報HxをHx(0)と表す。   The number of HOL cells is the number of cells that may be transferred from the cell buffer at a time by one transfer instruction. In particular, the HOL cell number information Hx that has arrived at the management unit 301 at the current time is represented as Hx (0).

本発明の管理部301は、時刻t(t0)において得たセルバッファBxのHOLセル数Hx(t)および自らがセルバッファBxへ出力した転送指示Ix(t)を履歴として記憶する。 The management unit 301 of the present invention stores the number of HOL cells Hx (t) in the cell buffer Bx obtained at time t (t < 0) and the transfer instruction Ix (t) output to the cell buffer Bx by itself.

ある期間pに管理部がセルバッファBxに転送を指示した回数をSmx(p)と表す。p=[t1、t2)のとき、Mx[t1、t2)とも表す。つまり、

Figure 0003906231
The number of times the management unit has instructed transfer to the cell buffer Bx during a certain period p is represented as Smx (p). When p = [t1, t2), it is also expressed as Mx [t1, t2). That means
Figure 0003906231

図23に、セルバッファBxから管理部301へのセル数情報の流れと、管理部301からセルバッファBxへの転送指示の流れを表したタイムチャートを示す。   FIG. 23 is a time chart showing the flow of cell number information from the cell buffer Bx to the management unit 301 and the flow of transfer instructions from the management unit 301 to the cell buffer Bx.

この図の様に、時刻tf、tt、thを定める。時刻tfにおけるセルバッファBxの蓄積セル数Nxおよび時刻thにおけるセルバッファBxのHOLセル数Hxは、管理部301が現在時刻においてセルバッファBxに関し直接知り得る最新の情報であるとする。このとき管理部301は、時刻ttにおけるセルバッファBxの蓄積セル数を予測したいものとする。   As shown in this figure, times tf, tt, and th are determined. It is assumed that the number Nx of accumulated cells in the cell buffer Bx at the time tf and the number of HOL cells Hx in the cell buffer Bx at the time th are the latest information that the management unit 301 can directly know about the cell buffer Bx at the current time. At this time, it is assumed that the management unit 301 wants to predict the number of cells stored in the cell buffer Bx at time tt.

時刻tf、tt、thに対して、時刻t1、t3、t2を定める。時刻t1に管理部301が出力した転送指示がセルバッファBxに届く時刻をtfとし、時刻t2に管理部301が出力した転送指示がセルバッファBxに届く時刻をttとする。同様に時刻t3に管理部301が出力した転送指示がセルバッファBxに届く時刻をthとする。   Times t1, t3, and t2 are determined for times tf, tt, and th. The time at which the transfer instruction output from the management unit 301 at time t1 reaches the cell buffer Bx is denoted by tf, and the time at which the transfer instruction output by the management unit 301 at time t2 arrives at the cell buffer Bx is denoted by tt. Similarly, let th be the time at which the transfer instruction output by the management unit 301 at time t3 reaches the cell buffer Bx.

時刻t1、t2、t3は現在時刻より過去の時刻であるとする。つまり、t1<t20、t30とする。 It is assumed that the times t1, t2, and t3 are past times from the current time. That is, t1 <t2 < 0 and t3 < 0.

4.2.2. 基本原理
ここで本発明の基本原理を説明する。本発明の管理部301は転送指示の履歴から蓄積セル数の変化を予測する。前述のセルバッファBxについて、時刻ttの蓄積セル数を求めたい場合、それより過去にの時刻tfにおける蓄積セル数Nxに対して、転送指示の履歴を用いてこの期間に転送指示により転送されたセル数を予測して修正する。修正は、1回の転送指示により転送されるセル数が1以上であることに基づく。特に時刻th以降の最初の転送指示により転送されるセル数についてはHOLセル数Hx以上であることに基づく。
4.2.2. Basic Principle Here, the basic principle of the present invention will be described. The management unit 301 of the present invention predicts a change in the number of stored cells from the transfer instruction history. When it is desired to obtain the number of accumulated cells at time tt for the cell buffer Bx described above, the number of accumulated cells Nx at time tf in the past was transferred according to the transfer instruction during this period using the transfer instruction history. Predict and correct the number of cells. The correction is based on the fact that the number of cells transferred by one transfer instruction is 1 or more. In particular, the number of cells transferred by the first transfer instruction after time th is based on being equal to or greater than the number of HOL cells Hx.

4.2.3. 3つの関数以上の基本原理より修正に使用する3つの関数、f( )、g( )、Sc( )を定める。これらの関数は、時刻tfから時刻ttにおいてセルバッファBxが転送指示によるセルの転送でどのくらい変化するかを求めるものである。tf、ttと比較してthがどのような値であるかにより3通りの場合に分類でき、適用する関数が異なる。   4.2.3. Three functions, f (), g (), and Sc () used for correction are determined from the basic principle of three or more functions. These functions are used to determine how much the cell buffer Bx changes due to transfer of a cell according to a transfer instruction from time tf to time tt. It can be classified into three cases depending on what value th is compared with tf and tt, and different functions are applied.

(1) 関数f( )
関数f( )は、th=tf<ttの場合に使用する。この時のタイムチャートを図22に示す。p1[t1、t2)とする。Hx≠0かつSmx(p1)≠0のときは、期間p1の最初の転送指示ではHxセル転送され、それ以降の転送指示では1セルずつ転送されると考える。時刻tfから時刻ttにおいて変化するセルバッファBxのセル数を計算する関数f( )は、Hxと期間p1の転送指示回数Smx(p1)を引数として、次のように求めることができる。

Figure 0003906231
(1) Function f ()
The function f () is used when th = tf <tt. A time chart at this time is shown in FIG. Let p1 [t1, t2). When Hx ≠ 0 and Smx (p1) ≠ 0, it is considered that Hx cell transfer is performed in the first transfer instruction in the period p1, and one cell is transferred in subsequent transfer instructions. The function f () for calculating the number of cells in the cell buffer Bx that changes from time tf to time tt can be obtained as follows using Hx and the number of transfer instructions Smx (p1) in the period p1 as arguments.
Figure 0003906231

(2) 関数g( )
関数g( )は、th<tf<ttの場合に使用する。この時のタイムチャートを図23に示す。p1=[t1、t2)とし、p2=[t3、t1)とする。
(2) Function g ()
The function g () is used when th <tf <tt. A time chart at this time is shown in FIG. p1 = [t1, t2) and p2 = [t3, t1).

この場合、時刻th以降に到着した初めての転送指示が期間p2に管理部301から出力されたか否かで場合分けが必要である。期間p2に管理部301から転送指示が出力されていないから、期間p1においてHxの値を用いることができる。時刻tfから時刻ttにおいて変化するセルバッファBxのセル数を計算する関数g( )は、Hxと期間p1、p2の転送指示回数Smx(p1)、Smx(p2)を引数として、次のように求めることができる。

Figure 0003906231
In this case, it is necessary to distinguish between cases depending on whether or not the first transfer instruction arriving after time th is output from the management unit 301 in the period p2. Since no transfer instruction is output from the management unit 301 in the period p2, the value of Hx can be used in the period p1. The function g () for calculating the number of cells in the cell buffer Bx that changes from the time tf to the time tt is as follows with the transfer instruction counts Smx (p1) and Smx (p2) of Hx and periods p1 and p2 as arguments: Can be sought.
Figure 0003906231

(3)関数Sc( )
関数Sc( )は、tf<tt=thの場合に使用する。この時のタイムチャートを図24に示す。p1=[t1、t2)とする。管理部301が知り得る最新の蓄積セル数は時刻tfのときの値であるが、この場合はHOLセル数に関しては時刻tfから時刻ttまでの全ての期間における情報が管理部301にすでに到着している。
(3) Function Sc ()
The function Sc () is used when tf <tt = th. A time chart at this time is shown in FIG. Let p1 = [t1, t2). The latest number of stored cells that can be known by the management unit 301 is the value at the time tf. In this case, regarding the number of HOL cells, information for all periods from the time tf to the time tt has already arrived at the management unit 301. ing.

転送指示がセルバッファBxへ到着した時点のHOLセル数がわかれば、転送されるセル数もわかることから、時刻tfから時刻ttにおいて変化するセルバッファのセル数を計算する関数Sc( )は、Ix(t)、Hx(t)を用い、期間p1を引数として、次のように求めることができる。

Figure 0003906231
If the number of HOL cells at the time when the transfer instruction arrives at the cell buffer Bx is known, the number of cells to be transferred can also be known. Therefore, the function Sc () for calculating the number of cells in the cell buffer that changes from time tf to time tt is: Using Ix (t) and Hx (t) and using the period p1 as an argument, it can be obtained as follows.
Figure 0003906231

以上説明してきたようなセル数の修正方法を、例えば、図1に示したようなクラス間の優先制御を行なうセル多重化装置に適用することは容易である。   The method of correcting the number of cells as described above can be easily applied to, for example, a cell multiplexing apparatus that performs priority control between classes as shown in FIG.

さらに、例えば、図6に示したようなVC間公平キューイングを行なうセル多重化装置に、セル数の修正方法を適用することも容易である。   Further, for example, the cell number correction method can be easily applied to a cell multiplexing apparatus that performs inter-VC fair queuing as shown in FIG.

4.3 第9の実施形態に係るセルバッファ装置の利点
以上説明したように、上記第9の実施形態によれば、セルバッファとセルバッファを管理する管理部との間に遅延のあるセルバッファ装置は、転送指示を決定する際に転送指示の履歴を用いて、セルバッファから伝送されてきたセル数を、転送指示がセルバッファに作用する時刻のセル数に修正するため、遅延時間を原因とした性能の劣化が少ない。
4.3 Advantages of Cell Buffer Device According to Ninth Embodiment As described above, according to the ninth embodiment, a cell buffer having a delay between the cell buffer and a management unit that manages the cell buffer. The apparatus uses the history of transfer instructions when determining the transfer instruction, and corrects the number of cells transmitted from the cell buffer to the number of cells at the time when the transfer instruction acts on the cell buffer. There is little deterioration in performance.

5.セルスイッチ(第10の実施形態)
5.1 第10の実施形態(セルスイッチ)
次に、第10の実施形態として、ここまで説明してきた本発明に係るセル多重化装置、セルバッファ装置を組み合わせたセルスイッチについて説明する。
5. Cell switch (tenth embodiment)
5.1 Tenth Embodiment (Cell Switch)
Next, as a tenth embodiment, a cell switch in which the cell multiplexing device and the cell buffer device according to the present invention described so far are combined will be described.

図25は、複数の入力ポート#i(i=1〜N)から入力したセルを一時的に蓄積し、バックプレッシャに応じて出力する複数の入力バッファIBと、内部の輻輳状態に応じてバックプレッシャ信号を出力するバックプレッシャ付きセルスイッチ400と、入力バッファIBとの間で情報を転送するカゴ管理部KMとからなる。   FIG. 25 shows a plurality of input buffers IB that temporarily store cells input from a plurality of input ports #i (i = 1 to N) and output them according to back pressure, and a back that corresponds to an internal congestion state. The cell switch 400 includes a back pressure cell switch 400 that outputs a pressure signal, and a basket management unit KM that transfers information between the input buffer IB.

この構成例において扱うセルは、大きくは高優先セル、低優先セルの2つの優先度を持ち、さらに低優先クラスは複数のクラスにわかれている。通常はCBR、VBRなどのリアルタイム情報を伝送するセルを高優先セルとし、ABR、UBRなどのノンリアルタイム情報を伝送するセルを低優先セルとする。   The cells handled in this configuration example generally have two priorities, a high priority cell and a low priority cell, and the low priority class is divided into a plurality of classes. Normally, a cell that transmits real-time information such as CBR and VBR is a high-priority cell, and a cell that transmits non-real-time information such as ABR and UBR is a low-priority cell.

まず、バックプレッシャ付きセルスイッチについて説明する。   First, a cell switch with back pressure will be described.

カゴスイッチの特徴は入力バッファIBとカゴ管理部KMにある。バックプレッシャ付きセルスイッチ400は入力したセルをある定められた時間内に出力できればよく、そのアーキテクチャは以下に示すものだけではない。例えば、電子情報通信学会技術報告SSE93−6“バッファ容量拡張可能なATMスイッチ:XATOM”にて示されているATMスイッチでもよい。   The features of the basket switch are the input buffer IB and the basket management unit KM. The cell switch 400 with back pressure only needs to be able to output an input cell within a predetermined time, and its architecture is not limited to that shown below. For example, the ATM switch shown in the IEICE Technical Report SSE93-6 “ATM Switch with Expandable Buffer Capacity: XATOM” may be used.

図25に示すバックプレッシャ付きセルスイッチ400を一例として説明する。1段目単位スイッチSE1、2段目単位スイッチSE2、出力バッファOBからなり、SE1とSE2を並列リンクにて2段デルタ網接続し、SE2の出力したセルをOBへ転送して出力ポートへ出力する。SE1からOBの間はk倍速で動作する。kの値はセルスイッチがノンブロッキングになるように定める。例えばSE1、SE2が8入力8出力の時、全体で16入力16出力とする場合にはk=2とすればよい。   The back-pressured cell switch 400 shown in FIG. 25 will be described as an example. It consists of a first stage unit switch SE1, a second stage unit switch SE2, and an output buffer OB. SE1 and SE2 are connected in a two-stage delta network via a parallel link, and the cell output from SE2 is transferred to OB and output to the output port. To do. Between SE1 and OB, it operates at k times speed. The value of k is determined so that the cell switch is non-blocking. For example, when SE1 and SE2 are 8 inputs and 8 outputs, k = 2 may be used when 16 inputs and 16 outputs are used as a whole.

図25のバックプレッシャ付きセルスイッチ400は、高優先セルと低優先セルの2段階の優先度を扱う構成である。   The cell switch 400 with back pressure in FIG. 25 is configured to handle two levels of priority, a high priority cell and a low priority cell.

低優先セルの交換にのみ着目すると基本構成は1995年電子情報通信学会総合大会B−589“ATM2段スイッチ網のバッファ容量拡張法”にて示されているものとほぼ等しい。低優先セルは、SE1、SE2で交換、コピーされる。   Focusing only on the replacement of the low-priority cells, the basic configuration is almost the same as that shown in the 1995 IEICE General Conference B-589 “A method for expanding the buffer capacity of an ATM two-stage switch network”. The low priority cell is exchanged and copied in SE1 and SE2.

低優先セルがOBで輻輳した場合には低優先セル用バックプレッシャ信号を用いてIBのその出力ポート行きのセル出力を抑制する。このバックプレッシャ信号により基本的にはOBおよびSE2のバッファを溢れさせないようにすることが可能である。しかし、マルチキャストセルの影響のためこれらのバッファが溢れそうになる場合があり、それに備えて低優先セル用オーバーフローバックプレッシャ信号がOBからSE2へ出力し、低優先セル非常用バックプレッシャ信号がSE2からIBへ出力する。IBが低優先セルを蓄積するのでSE2、OBでは廃棄されない。   When the low-priority cell is congested by OB, the cell output to the output port of the IB is suppressed using the low-pressure cell back pressure signal. This back pressure signal basically prevents the OB and SE2 buffers from overflowing. However, these buffers may overflow due to the influence of the multicast cell. In preparation for this, an overflow back pressure signal for low priority cells is output from OB to SE2, and an emergency back pressure signal for low priority cells is output from SE2. Output to IB. Since IB accumulates low priority cells, SE2 and OB are not discarded.

OBは、低優先セル用オーバーフローバックプレッシャ信号をSE2へ出力する代わりに、これを低優先セル非常用バックプレッシャ信号としてIBへ出力する構成でもよい。この場合は、SE2が低優先セル非常用バックプレッシャ信号を出力する必要はない。しかし、先に説明したように、低優先セル非常用バックプレッシャ信号をSE2から出力した方がSE2内でのバッファ共用化効果を有効に活用できるという利点がある。   Instead of outputting the low-priority cell overflow backpressure signal to SE2, the OB may output this to the IB as a low-priority cell emergency backpressure signal. In this case, SE2 does not need to output a low priority cell emergency backpressure signal. However, as described above, the output of the low-priority cell emergency backpressure signal from SE2 has an advantage that the buffer sharing effect in SE2 can be effectively utilized.

高優先セルは、低優先セルと同様、SE1、SE2で交換、コピーされる。高優先セルに関してはバックプレッシャ付きセルスイッチからIBへのバックプレッシャ信号はない。OBはその高優先セルの輻輳を反映した高優先セル用バックプレッシャ信号によりSE2のセル出力を制御する。IBは高優先セルを蓄積しない。SE2内に空きバッファが無ければ廃棄されることがある。   The high priority cell is exchanged and copied at SE1 and SE2 in the same manner as the low priority cell. For high priority cells, there is no backpressure signal from the cell switch with backpressure to the IB. The OB controls the cell output of SE2 by a high-priority cell back pressure signal reflecting the congestion of the high-priority cell. The IB does not accumulate high priority cells. If there is no empty buffer in SE2, it may be discarded.

次に、出力バッファについて説明する。   Next, the output buffer will be described.

図26に、カゴスイッチの出力バッファOBの構成例を示す。   FIG. 26 shows a configuration example of the output buffer OB of the basket switch.

SE2からOBへ転送されたセルは識別部410にて優先度を識別され各優先度に対応したキューに入れられる。各キューのセルは選択部411により優先度に従って選択され出力ポートへ出力される。OBは、低優先セルのキュー長があるしきい値を越えた場合に低優先セル用バックプレッシャ信号を用いてIBの低優先セルの、そのOB行きの出力を止める。高優先セルのキュー長があるしきい値を越えた場合に高優先セル用バックプレッシャ信号を用いてSE2の高優先セルの、そのOB行きの出力を止める。低優先セルのマルチキャストセルの影響により低優先セルのキュー長が伸び続けた場合に備えて低優先セル用オーバーフローバックプレッシャ信号を用いてSE2の低優先セルの、そのOB行きの出力を止める。   The cells transferred from SE2 to OB are identified in priority by the identification unit 410, and are placed in a queue corresponding to each priority. The cells of each queue are selected according to the priority by the selection unit 411 and output to the output port. When the queue length of the low-priority cell exceeds a certain threshold, the OB stops the output of the IB low-priority cell to the OB using the low-priority cell back pressure signal. When the queue length of the high priority cell exceeds a certain threshold, the output of the high priority cell of SE2 to the OB is stopped using the back pressure signal for the high priority cell. In preparation for the case where the queue length of the low-priority cell continues to increase due to the influence of the multicast cell of the low-priority cell, the output of the SE2 low-priority cell to the OB is stopped using the low-priority cell overflow backpressure signal.

次に、単位スイッチについて説明する。   Next, the unit switch will be described.

図27に、カゴスイッチに用いる1段目単位スイッチSE1の構成例を示す。SE1は一般的によく知られているスイッチLSIである。入力リンクより入力したセルに対し、そのセルヘッダを識別部415で識別して所定の交換処理を行い出力リンクへ出力する。スイッチ全体がk倍速で動作していることから内部のセルバッファの蓄積セル数は多くならない。これについては1994年電子情報通信学会秋季大会B−439“並列リンクのあるスイッチ網の検討”にて知られている。   FIG. 27 shows a configuration example of the first stage unit switch SE1 used for the basket switch. SE1 is a generally well-known switch LSI. With respect to the cell input from the input link, the identification section 415 identifies the cell header, performs a predetermined exchange process, and outputs it to the output link. Since the entire switch operates at k times speed, the number of cells stored in the internal cell buffer does not increase. This is known in the 1994 IEICE Autumn Conference B-439 “Examination of Switch Networks with Parallel Links”.

図28に、カゴスイッチに用いる2段目単位スイッチSE2の構成例を示す。SE2は内部のキューが出力リンク毎に優先度毎のキューになっている。各優先度毎のキューの出力は選択部421により選択される。高優先セルが存在するときには、低優先セルの有無に関わらずその出力リンクに高優先セルを出力する。ただし、選択部421に入力している高優先セル用バックプレッシャ信号が、高優先セルの出力の禁止を指示している場合は高優先セルを出力せず、低優先セルを出力しても良い。低優先セルは低優先セル用オーバーフローバックプレッシャ信号により出力が禁止される場合がある。   FIG. 28 shows a configuration example of the second stage unit switch SE2 used for the basket switch. In SE2, the internal queue is a queue for each priority for each output link. The output of the queue for each priority is selected by the selection unit 421. When a high priority cell exists, the high priority cell is output to the output link regardless of the presence or absence of the low priority cell. However, when the high-priority cell back pressure signal input to the selection unit 421 instructs to prohibit the output of the high-priority cell, the low-priority cell may be output without outputting the high-priority cell. . The output of the low priority cell may be prohibited by the overflow back pressure signal for the low priority cell.

SE2は、複数の優先度、複数の出力リンク間で物理的なバッファ領域を共有することにより、SE2内部のバッファを効率的に使用することが可能である。バッファ状態管理部422は各キュー毎のキュー長、および優先度毎に全ての出力リンク行きのキュー長を合計した結果などをモニタする。   SE2 can efficiently use the buffer in SE2 by sharing a physical buffer area among a plurality of priorities and a plurality of output links. The buffer status management unit 422 monitors the queue length for each queue, the result of summing the queue lengths for all output links for each priority, and the like.

例えば、高優先セル用キューは各キュー毎にしきい値を持ち、そのしきい値を越えた場合にそのキューの入力セルを廃棄する。低優先セル用キューは全てのキュー長の合計をモニタし、しきい値を越えた場合は低優先セル非常用バックプレッシャ信号により低優先セルの入力を禁止するようにIBに伝える。   For example, the high priority cell queue has a threshold value for each queue, and when the threshold value is exceeded, the input cell of the queue is discarded. The low-priority cell queue monitors the total of all queue lengths, and if the threshold value is exceeded, informs the IB to prohibit the input of low-priority cells by a low-priority cell emergency backpressure signal.

SE1はSE2と同じ単位スイッチを使用してもかまわない。   SE1 may use the same unit switch as SE2.

図25のバックブレッシャ付きセルスイッチ400は2段の単位スイッチSE1とSE2によりセルを交換するが、内部の経路は各入力ポートと出力ポートのペアにひとつずつしか定めない。そのため各単位スイッチはセルヘッダを見てセルをコピーしつつ交換する際に複雑な経路の選択アルゴリズムは必要ない。出力ポート数が32ポート程度以下であるなら、セルのヘッダに出力ポートのビットマップ情報を付加することが容易に可能である。SE1、SE2はそのビットマップ情報に基づいてセルを交換する。   In the cell switch 400 with back pressure in FIG. 25, cells are exchanged by the two-stage unit switches SE1 and SE2, but only one internal path is defined for each pair of input port and output port. Therefore, each unit switch does not need a complicated route selection algorithm when exchanging while copying the cell while looking at the cell header. If the number of output ports is about 32 or less, it is possible to easily add output port bitmap information to the cell header. SE1 and SE2 exchange cells based on the bitmap information.

次に、入力バッファIBについて説明する。   Next, the input buffer IB will be described.

図29に、カゴスイッチの入力バッファIBの構成例を示す。   FIG. 29 shows a configuration example of the input buffer IB of the cage switch.

IBに入力した高優先セルは、ユニキャスト、マルチキャストとも優先的にSE1へ出力する。そのため高優先セルのセル遅延揺らぎは非常に小さい。またIBに高優先セル用のバッファは存在しない。   The high priority cell input to the IB is preferentially output to SE1 for both unicast and multicast. Therefore, the cell delay fluctuation of the high priority cell is very small. There is no buffer for high priority cells in the IB.

本発明の特徴は低優先セルの処理方法にある。以降、低優先セルについてのみ説明する。   A feature of the present invention resides in a method for processing low priority cells. Hereinafter, only the low priority cell will be described.

図29において、入力バッファIBは、主に、入力したユニキャストセルを一時的にそのセルの出力ポート毎に蓄積する複数の出力ポート毎ユニキャストセル管理部430と、入力したマルチキャストセルを一時的に蓄積するマルチキャストセル管理部431、およびこれらの管理部のセルを選択して入力バッファから出力する出力ポート選択スケジューラ432を持つ。   In FIG. 29, the input buffer IB mainly includes a plurality of output port unicast cell management units 430 that temporarily store input unicast cells for each output port of the cell, and temporarily inputs input multicast cells. A multicast cell management unit 431 that stores data in the network, and an output port selection scheduler 432 that selects the cells of these management units and outputs them from the input buffer.

出力ポート毎ユニキャストセル管理部430は、入力したセルを一時的にそのセルのクラス毎に蓄積する複数のクラス毎ユニキャストセル管理部433と、そのクラス毎ユニキャストセル管理部433から出力したセルを多重化するクラス多重化FIFO434を持つ。   The unicast cell management unit 430 for each output port outputs the input cells from a plurality of unicast cell management units 433 for each class that temporarily store the input cells for each class of the cells and the unicast cell management unit 433 for each class. It has a class multiplexing FIFO 434 for multiplexing cells.

マルチキャストセル管理部431は、入力したセルを一時的にそのセルのクラス毎に蓄積する複数のクラス毎マルチキャストセル管理部435と、そのクラス毎マルチキャストセル管理部435から出力したセルを多重化するクラス多重化FIFO436を持つ。   The multicast cell management unit 431 includes a plurality of class-specific multicast cell management units 435 that temporarily store input cells for each class of the cell, and a class that multiplexes cells output from the class-specific multicast cell management unit 435 It has a multiplexed FIFO 436.

出力ポート毎ユニキャストセル管理部430、マルチキャストセル管理部431のそれぞれのクラス多重化FIFO434、436より出力するセルは出力ポート選択スケジューラ432により選択され、入力バッファIBから出力される。   Cells output from the class multiplexing FIFOs 434 and 436 of the unicast cell management unit 430 and the multicast cell management unit 431 for each output port are selected by the output port selection scheduler 432 and output from the input buffer IB.

出力ポート選択スケジューラ432は外部からの低優先セル用バックプレッシャ信号、低優先セル非常用バックプレッシャ信号を考慮してセルを選択する。   The output port selection scheduler 432 selects a cell in consideration of an external low pressure cell back pressure signal and a low priority cell emergency back pressure signal.

クラス毎ユニキャストセル管理部433は、蓄積されているセルのうち、カゴ管理部KMから出力を許可されたセルの集合を管理するカゴと呼ばれるキュー(カゴ440)と、それ以外のセルを管理する前カゴと呼ばれるキュー(前カゴ441)を持つ。   The unicast cell management unit 433 for each class manages a queue (cage 440) that manages a set of cells that are permitted to be output from the basket management unit KM, among the accumulated cells, and other cells. And a queue (front basket 441) called a front basket.

前カゴ441に入ったセルは単位カゴという単位で管理される。図29において前カゴ441、カゴ440内の縦一列が単位カゴを示す。入力したセルは単位カゴ毎にVC(CG)間で公平に管理される。前カゴ441のセルはカゴ管理部KMの指示により、単位カゴを単位としてカゴ440に転送される。   The cells that have entered the front basket 441 are managed in units called unit baskets. In FIG. 29, a vertical row in the front car 441 and the car 440 indicates a unit car. The input cell is managed fairly between VCs (CG) for each unit basket. The cell of the front car 441 is transferred to the car 440 in units of unit car according to an instruction from the car management unit KM.

カゴ440のセルはカゴ管理部KMの指示により、セルを単位として転送されクラス多重化FIFO434で多重化される。   The cells of the basket 440 are transferred in units of cells and multiplexed by the class multiplexing FIFO 434 according to an instruction from the basket management unit KM.

クラス毎マルチキャストセル管理部435の動作は後述する。   The operation of the multicast cell management unit 435 for each class will be described later.

IBの全ての出力ポート、全てのクラスのキューでセルバッファを共有することにより、有限のバッファ量を有効に活用することが可能である。   By sharing the cell buffer among all the output ports of the IB and the queues of all classes, it is possible to effectively use a finite buffer amount.

IBに到着したセルがIBから出力されるためには、セルが到着したことをIBからKMへ通知し、KMがIBからの出力を指示することが必要である。従ってIBとKMの間の情報伝送に遅延がある場合はその遅延時間だけIBからのセルの出力が遅延する。しかし遅延時間の大きさは数セル周期程度と考えられるため、トラヒック特性に及ぼす影響は少ないと考えられる。   In order for a cell that has arrived at the IB to be output from the IB, it is necessary for the IB to notify the KM that the cell has arrived and to instruct the output from the IB. Therefore, if there is a delay in information transmission between the IB and the KM, the cell output from the IB is delayed by the delay time. However, since the delay time is considered to be about several cell cycles, the influence on the traffic characteristics is considered to be small.

ユニキャストセルを出力ポート毎に優先制御するために、IBには出力ポート毎に、クラス毎ユニキャストセル管理部433とクラス多重化FIFO434がある。図1のセル多重化装置で説明した優先制御と基本的に同じ方法を使用する。   In order to preferentially control the unicast cell for each output port, the IB has a unicast cell management unit for each class 433 and a class multiplexing FIFO 434 for each output port. The same method as the priority control described in the cell multiplexing apparatus of FIG. 1 is used.

図1はセル多重化装置であるが、カゴスイッチはセルスイッチでありIBはセルスイッチの入力バッファである。そのためクラス多重化FIFOはひとつのIBに全ての出力ポートに対応して複数存在し、そのセルは出力ポート選択スケジューラ434により選択されSE1へ出力される。   Although FIG. 1 shows a cell multiplexing apparatus, the cage switch is a cell switch and IB is an input buffer of the cell switch. Therefore, a plurality of class multiplexing FIFOs exist in one IB corresponding to all output ports, and the cells are selected by the output port selection scheduler 434 and output to SE1.

図1のセル多重化装置のクラス毎セル蓄積部13は、図29のIBのクラス毎ユニキャストセル管理部433に相当し、図1のセル多重化装置のクラス多重化FIFO14は、図29のIBのクラス多重化FIFO434に相当する。   The cell-by-class cell storage unit 13 of the cell multiplexing device of FIG. 1 corresponds to the IB-by-class unicast cell management unit 433 of FIG. 29, and the class multiplexing FIFO 14 of the cell multiplexing device of FIG. This corresponds to the IB class multiplexing FIFO 434.

図1のセル多重化装置のクラス管理部12は、図25のKMに対応する。クラス毎ユニキャストセル管理部433からクラス多重化FIFO434へのセルの転送をカゴ管理部KMが指示することにより優先制御を行なうことができる。   The class management unit 12 of the cell multiplexing apparatus in FIG. 1 corresponds to the KM in FIG. Priority control can be performed when the basket management unit KM instructs the transfer of cells from the unicast cell management unit 433 for each class to the class multiplexing FIFO 434.

マルチキャストセルの優先制御は後述する。   Multicast cell priority control will be described later.

ユニキャストセルをクラス毎にVC間公平キューイングするために、クラス毎ユニキャストセル管理部433に前カゴ441とカゴ440がある。図6のセル多重化装置で説明したVC間公平キューイングと基本的に同じ方法を使用する。   In order to perform fair queuing between VCs for each class of unicast cells, the unicast cell management unit 433 for each class has a front basket 441 and a basket 440. Basically, the same method as the inter-VC fair queuing described in the cell multiplexing apparatus of FIG. 6 is used.

図6はセル多重化装置であり、かつクラスも存在しないが、IBはセルスイッチの入力バッファでありクラスも存在する。前カゴ441、カゴ440は各IBについて、全ての出力ポート、全てのクラスに対応して存在し、そのセルはクラス多重化FIFO434により多重化された後、出力ポート選択スケジューラ432により選択されSE1へ出力される。   FIG. 6 shows a cell multiplexing apparatus and no class, but IB is an input buffer of a cell switch and also has a class. For each IB, the front basket 441 and the basket 440 exist corresponding to all output ports and all classes, and the cells are multiplexed by the class multiplexing FIFO 434 and then selected by the output port selection scheduler 432 to the SE1. Is output.

図6のセル多重化装置のカゴ213は、図29のIBのカゴ440に相当し、図6のセル多重化装置の同一の時刻までに出力すべきセル集合214が、図29のIBの単位カゴに相当する。図6のセル多重化装置のカゴ管理部12は、図25のカゴ管理部KMに相当する。図29の前カゴ441からカゴ440への単位カゴの転送をカゴ管理部KMが指示することによりVC間公平キューイングを行なうことができる。   6 corresponds to the basket 440 of the IB of FIG. 29, and the cell set 214 to be output by the same time of the cell multiplexer of FIG. 6 is the unit of the IB of FIG. It corresponds to a basket. The basket management unit 12 of the cell multiplexing apparatus in FIG. 6 corresponds to the basket management unit KM in FIG. The inter-VC fair queuing can be performed by the basket management unit KM instructing the transfer of the unit basket from the front car 441 to the car 440 in FIG.

マルチキャストセルのVC間公平キューイングは後述する。   Inter-VC fair queuing of multicast cells will be described later.

ユニキャストセルをIB内でVC間公平キューイングするために、クラス毎ユニキャストセル管理部433に前カゴ441とカゴ440がある。図10のセルグループFIFO232aのポインタチェーンによるデータ構造例で説明した方法と基本的に同じ方法を使用する。   There is a front basket 441 and a basket 440 in the unicast cell management unit 433 for each class to perform unicast cell queuing between VCs in the IB. The same method as that described in the data structure example using the pointer chain of the cell group FIFO 232a in FIG. 10 is used.

図10のセルグループFIFO232aが、図29のIBの前カゴ441に相当し、図10の出力待ちセルグループFIFO232bが、図29のIBのカゴ440に相当する。また、図10のセルグループは図29のIBの単位カゴに相当する。   The cell group FIFO 232a in FIG. 10 corresponds to the IB front basket 441 in FIG. 29, and the output waiting cell group FIFO 232b in FIG. 10 corresponds to the IB basket 440 in FIG. The cell group in FIG. 10 corresponds to the unit basket of IB in FIG.

次に、図30を参照して、入力バッファIBのキューイング処理について説明する。   Next, the queuing process of the input buffer IB will be described with reference to FIG.

セルは、まず前カゴ441に蓄積され、その後単位カゴを単位としてカゴ440に転送される。カゴ440のセルはセルを単位としてカゴ440から出力される。それぞれのきっかけについてはカゴ管理部KMが指示を行なう。   The cell is first accumulated in the front car 441 and then transferred to the car 440 in units of unit car. The cell of the cage 440 is output from the cage 440 in units of cells. The basket management unit KM gives instructions for each opportunity.

この構成例では、全てのVCは、あるコネクショングループ(CG)に所属する。コネクショングループの概念を持つことにより複数のVCにひとつのリソース(帯域やセルバッファ)を共有させることが可能となる。例えば、離れたふたりのユーザ間の通信に対して1本のVC分の課金しか行なわないときに、そのふたりのユーザ間に複数のVCを設定する自由度を与えることが可能となる。もしくは、VC数に応じて公平な帯域の割当を行なう網において、あるふたりのユーザが多数のVCを設定して不当に大きな帯域を得ようとすることを防止することが可能となる。   In this configuration example, all VCs belong to a certain connection group (CG). By having the concept of a connection group, a plurality of VCs can share one resource (bandwidth or cell buffer). For example, when only one VC is charged for communication between two distant users, it is possible to give a degree of freedom to set a plurality of VCs between the two users. Alternatively, it is possible to prevent two users from setting a large number of VCs to obtain an unreasonably large band in a network that allocates a fair band according to the number of VCs.

前カゴ441においてセルをどの単位カゴにいれるかを決定するためにVCテーブルとCGテーブルを使用する。   The VC table and the CG table are used to determine in which unit car the cell is placed in the front car 441.

VCテーブルを用いて入力したセルのコネクション識別子(例えばVC4)からコネクショングループ識別子(例えばCG5)を知ることができる。CGテーブルを用いてコネクションクループ識別子からCG毎に定められた値を知ることができる。この構成例におけるCG毎の値はNx 、Nc 、Ptr、Qlen 、Cnt1、Cnt2、Cnt3、BPIDt である。   The connection group identifier (for example, CG5) can be known from the connection identifier (for example, VC4) of the input cell using the VC table. A value determined for each CG can be known from the connection group identifier using the CG table. The values for each CG in this configuration example are Nx, Nc, Ptr, Qlen, Cnt1, Cnt2, Cnt3, and BPIDt.

Nx 、Nc 、Ptr、Qlen は、図10のセルグループFIFOのポインタチェーンによるデータ構造例で説明した。Nx はそのCGの重み、Nc は作業変数、Qlen はそのCGの蓄積セル数、PtrはそのCGのセルが蓄積されている単位カゴの末尾へのポインタである。   Nx, Nc, Ptr, and Qlen have been described in the data structure example by the pointer chain of the cell group FIFO in FIG. Nx is the weight of the CG, Nc is the work variable, Qlen is the number of cells stored in the CG, and Ptr is a pointer to the end of the unit basket in which the CG cells are stored.

一方、Qlen 、Cnt1、Cnt2、Cnt3、BPIDt は、図15および図16のバックプレッシャ考慮キュー監視部を持つセルバッファ装置で説明した。   On the other hand, Qlen, Cnt1, Cnt2, Cnt3, and BPIDt have been described in the cell buffer device having the back pressure consideration queue monitoring unit shown in FIGS.

Qlen はそのCGの蓄積セル数、Cnt1は廃棄すべきセル数、BPIDt は最後のセル入力時のバックプレッシャ識別子である。よりきめの細かいキュー監視を行なうためCnt1と同じ機能を持つ変数Cnt2、Cnt3が存在する。それぞれキュー長監視のしきい値が異なる。Cnt2はセルヘッダ内にあるCLP(Cell Loss Priority:セル廃棄優先)ビットが低優先(CLP=1)であるセル用の廃棄すべきセル数、Cnt3はこのキュー長監視において輻輳かどうかを判定するために使用する値である。輻輳かどうかの情報は、例えばセルヘッダ内にあるEFCIをマークするかどうかや、RMセルの輻輳表示ビットをマークするかどうかを決定するために用いる。   Qlen is the number of cells stored in the CG, Cnt1 is the number of cells to be discarded, and BPIDt is a back pressure identifier at the time of the last cell input. There are variables Cnt2 and Cnt3 having the same function as Cnt1 in order to perform finer queue monitoring. Each queue length monitoring threshold is different. Cnt2 is the number of cells to be discarded for a cell whose CLP (Cell Loss Priority) bit in the cell header has a low priority (CLP = 1), and Cnt3 is used to determine whether there is congestion in this queue length monitoring. The value to use for. The information on whether or not congestion is used, for example, to determine whether or not to mark EFCI in the cell header and whether to mark the congestion indication bit of the RM cell.

あるクラスでVC間公平キューイングを行なわない設定をすることも可能である。その場合は、そのVCが所属するCGのNx を十分大きな値に設定すればよい。   It is possible to set not to perform fair queuing between VCs in a certain class. In that case, the Nx of the CG to which the VC belongs may be set to a sufficiently large value.

さて、図25に示すバックプレッシャ付きセルスイッチは、IBからOBまでのセル伝送の遅延時間が大きいことなどの影響により、低優先セル用バックプレッシャ信号が出力可能と出力禁止を繰り返す周期が比較的大きい。従ってIBのCG毎のキュー長Qlen を観測すると、主に低優先セルバックプレッシャ信号に同期して図14の様に振動を繰り返す。この様に、バックプレッシャ信号により振動するキュー長の監視には、図1515、図16で説明したバックプレッシャ考慮キュー長監視アルゴリズムが適している。   Now, the cell switch with back pressure shown in FIG. 25 has a relatively low cycle for repeating the output prohibition and the output prohibition for the low-priority cell back pressure signal due to the influence of the delay time of cell transmission from IB to OB. large. Accordingly, when the queue length Qlen for each CG of the IB is observed, the oscillation repeats mainly as shown in FIG. 14 in synchronization with the low priority cell back pressure signal. As described above, the back pressure-considered queue length monitoring algorithm described with reference to FIGS. 1515 and 16 is suitable for monitoring the queue length that is vibrated by the back pressure signal.

前カゴ441のとカゴ440に蓄積されているセルのクラス全体の合計セル数についてもバックプレッシャ考慮キュー長監視により入力セルの廃棄やEFCIのマークなどを行なって、一部のクラスがIBのバッファ領域の大半を独占することを防ぐことが可能である。   Regarding the total number of cells in the entire class of cells stored in the front car 441 and the car 440, the input cell is discarded or the EFCI is marked by monitoring the queue length considering the back pressure, and the buffer of some classes is IB. It is possible to prevent monopolizing most of the territory.

図31に、カゴスイッチに用いる入力バッファIBのカゴ管理部KMとのインタフェースの一例を示す。   FIG. 31 shows an example of an interface with the basket management unit KM of the input buffer IB used for the basket switch.

KMから各出力ポートのそれぞれに対し、以下に示すような各出力ポート毎の情報が入力される。   Information for each output port as shown below is input from the KM to each output port.

・ABR入力セル数
・指示クラス
・前カゴからカゴへ単位カゴの転送指示(図31の転送指示T1)
・カゴからクラス多重化FIFOへセルの転送指示(図3131の転送指示T2)
ABR入力セル数はABR処理部450へ転送される。ABR処理部450は、ABR入力セル数を知ることによりそのIBとペアの出力ポートに流入するトラヒックをモニタすることができる。その情報を用いてIBを通過するRMセルのペイロードの書き換えなどを行なう。
-Number of ABR input cells-Instruction class-Transfer instruction of unit basket from previous basket to basket (transfer instruction T1 in FIG. 31)
-Cell transfer instruction from the basket to the class multiplexing FIFO (transfer instruction T2 in FIG. 3131)
The number of ABR input cells is transferred to the ABR processing unit 450. The ABR processing unit 450 can monitor the traffic flowing into the output port paired with the IB by knowing the number of ABR input cells. The information is used to rewrite the payload of the RM cell that passes through the IB.

カゴ440からクラス多重化FIFO434へセルの転送をKMから指示されると、IBは指示クラスのユニキャストのカゴ440からセルをひとつ取りだしクラス多重化FIFO434に転送する。また前カゴ441からカゴ440へ単位カゴの転送指示があると、IBは指示クラスのユニキャストの前カゴ441から単位カゴをひとつ取りだしカゴ440に転送するとともに、カゴ440からセルをひとつ取りだしクラス多重化FIFO434に転送する。   When the KM is instructed to transfer a cell from the basket 440 to the class multiplexing FIFO 434, the IB takes out one cell from the unicast basket 440 of the indicated class and transfers it to the class multiplexing FIFO 434. When there is a unit basket transfer instruction from the front car 441 to the car 440, the IB takes out one unit car from the front car 441 of the instruction class unicast and transfers it to the car 440, and takes out one cell from the car 440 and performs class multiplexing. Transfer to the generalized FIFO 434.

単位カゴの転送指示をそのクラスのセルの転送指示を行なう時のみに限定することにより、転送指示の情報量を減らし、より容易に実装することができる。   By limiting the unit basket transfer instruction only to the transfer instruction of the cell of the class, the amount of information of the transfer instruction can be reduced and mounting can be performed more easily.

IB内で前カゴ441、カゴ440、クラス多重化FIFO434のセル数が変化するのは、IBへセルが入力した時、KMが転送指示を行なった時、IBからセルが出力した時である。従って、それに応じてセル数情報をKMへ出力する。ひとつのIBがKMへ出力する情報は、以下のものである。   The number of cells in the front basket 441, the basket 440, and the class multiplexing FIFO 434 in the IB changes when a cell is input to the IB, when the KM issues a transfer instruction, or when a cell is output from the IB. Accordingly, cell number information is output to the KM accordingly. Information that one IB outputs to the KM is as follows.

各出力ポート毎に、入力したセルについて(ユニキャストの場合はひとつの出力ポートについてのみ出力)、
・入力セルの有無とクラス
各出力ポート毎に、転送の指示クラスについて、
・(転送後の)前カゴセル数(図31のCE1)
・(転送後の)カゴセル数(図31のCE2)
・クラス多重化FIFOへの転送セル数(図31のCE3)
各出力ポート毎に、ユニキャストのみの、
・クラス多重化FIFOセル数(図31のCE4)
図31を用いて説明する。入力したセルの情報はIBからKMへ入力セルの有無とクラスとして伝送される。また、ユニキャストとマルチキャストの前カゴセル数が加算され、クラス選択部L5により転送の指示クラスで選択されたものが前カゴセル数として伝送される。さらに、ユニキャストとマルチキャストのカゴセル数が加算され、クラス選択部L6において指示クラスで選択されたものがカゴセル数となり伝送される。そして転送指示によりカゴからクラス多重化FIFO434へ移動したセル数はユニキャストとマルチキャストとが加算され、クラス選択部L7において指示クラスで選択されて伝送される。クラス多重化FIFOセル数はユニキャストについてのみKMへ伝送される。マルチキャストのクラス多重化FIFOセル数は、クラス毎マルチキャストセル管理部435からのセルの出力を制御するためのバックプレッシャ信号として使用する。
For each input port, for input cells (only one output port in case of unicast),
・ Presence / absence of input cell and class For each output port, the transfer instruction class
-Number of previous basket cells (after transfer) (CE1 in FIG. 31)
-Number of kago cells (after transfer) (CE2 in FIG. 31)
-Number of cells transferred to class multiplexing FIFO (CE3 in FIG. 31)
For each output port, only unicast,
Number of class multiplexed FIFO cells (CE4 in FIG. 31)
This will be described with reference to FIG. Input cell information is transmitted from the IB to the KM as the presence and class of the input cell. In addition, the number of previous basket cells of unicast and multicast is added, and the class selected by the class selection unit L5 in the transfer instruction class is transmitted as the number of previous basket cells. Furthermore, the number of unicast and multicast basket cells is added, and the number selected by the instruction class in the class selection unit L6 is transmitted as the number of basket cells. Then, unicast and multicast are added to the number of cells moved from the basket to the class multiplexing FIFO 434 according to the transfer instruction, and the class selection unit L7 selects and transmits the selected class. The number of class multiplexed FIFO cells is transmitted to KM only for unicast. The number of multicast class multiplexed FIFO cells is used as a back pressure signal for controlling the cell output from the multicast cell management unit 435 for each class.

マルチキャストのクラス多重化FIFO436は複数の出力バッファOBからのバックプレッシャ信号により出力が制御されていることなどから、クラス多重化FIFOセル数がゼロでなくともセルスイッチの出力ポートがアンダフローする可能性がある。ユニキャストセルがその影響を受けてアンダフローしないように、この構成例ではユニキャストのクラス多重化FIFOセル数とは加算していない。   Since the output of the multicast class multiplexing FIFO 436 is controlled by back pressure signals from a plurality of output buffers OB, the output port of the cell switch may underflow even if the number of class multiplexed FIFO cells is not zero. There is. In this configuration example, the number of unicast class multiplexed FIFO cells is not added so that the unicast cell does not underflow under the influence.

ここで、マルチキャストセルの優先制御およびVC間公平キューイングについて説明する。   Here, multicast cell priority control and inter-VC fair queuing will be described.

マルチキャストVCをスループットの視点で考える。一般的に、ある時点のセルスイッチの状態を考えると、その複数の出力ポートには、輻輳している出力ポートもあれば、負荷が低い出力ポートもある。つまり、VCが使用できるスループットは出力ポートによって異なることになる。マルチキャストVCは、ひとつの入力ポートから複数の出力ポートへ同じスループットが同時に出力されるから、そのマルチキャストVCが得ることのできるスループットは出力先の中で最も輻輳している出力ポートのスループットになるのがよい。従って、IBからマルチキャストセルを出力する場合は、最も輻輳している出力ポートのスループットで出力することが望ましい。   Consider a multicast VC from the viewpoint of throughput. In general, considering the state of a cell switch at a certain point in time, the plurality of output ports include a congested output port and an output port with a low load. That is, the throughput that the VC can use varies depending on the output port. Multicast VCs simultaneously output the same throughput from one input port to multiple output ports, so the throughput that the multicast VC can obtain is the throughput of the most congested output port among the output destinations. Is good. Therefore, when outputting a multicast cell from the IB, it is desirable to output at the throughput of the most congested output port.

ある出力ポートのあるクラスに与えられるVC(CG)あたりのスループットを、IBは前カゴ441からカゴ440への単位カゴの転送指示の頻度より知ることができる。また、ある出力ポートのあるクラスに与えられるスループットを、IBはカゴ440からクラス多重化FIFO434へのセルの転送指示の頻度より知ることができる。さらにある出力ポートに与えられるスループットを、IBは低優先セル用バックプレッシャ信号の頻度より知ることができる。これらの転送指示やバックプレッシャ信号は出力ポート毎に与えられる。   The IB can know the throughput per VC (CG) given to a certain class of a certain output port from the frequency of the unit basket transfer instruction from the previous car 441 to the car 440. Further, the IB can know the throughput given to a certain class of a certain output port from the frequency of the cell transfer instruction from the basket 440 to the class multiplexing FIFO 434. Further, the IB can know the throughput given to a certain output port from the frequency of the low pressure cell back pressure signal. These transfer instructions and back pressure signals are given to each output port.

最も輻輳している出力ポートのスループットで出力するためには、マルチキャストセルを、そのセルの出力ポートの全てに関してこれらの信号が指示または許可した時点で転送すればよい。複数の出力ポートへの指示または許可は同時である必要はない。   In order to output at the throughput of the most congested output port, the multicast cell may be transferred when these signals indicate or permit all the output ports of the cell. Instructions or permissions to multiple output ports need not be simultaneous.

IBにおいて、低優先マルチキャストVCを管理する場合、本来そのクラス毎かつ出力ポートパターン毎に管理することが望ましいのであるが、一般的にはその組合せの数は大きく、また通信中にその出力ポート数が増減する可能性があるため、その様な実装は現実的ではない。図25に示すようなカゴスイッチでは全てのマルチキャストコネクションをクラス毎にのみ管理し、出力ポートパターン毎での管理はしない。ある程度のHOL(Head Of Line)ブロッキングが発生することになる。   When managing low-priority multicast VCs in IB, it is desirable to manage them for each class and for each output port pattern. In general, however, the number of combinations is large, and the number of output ports during communication is also large. Such an implementation is not realistic. In the cage switch as shown in FIG. 25, all multicast connections are managed only for each class, and are not managed for each output port pattern. A certain amount of HOL (Head Of Line) blocking occurs.

図32は、クラス毎マルチキャストセル管理部435を説明するための図である。この管理部は、出力ポート表、VC間公平キュー、単位カゴセル数、カゴセル数、出力許可済みセル数を保持し、管理するものである。   FIG. 32 is a diagram for explaining the class-by-class multicast cell management unit 435. This management unit holds and manages the output port table, the VC fair queue, the number of unit basket cells, the number of basket cells, and the number of output permitted cells.

クラス毎ユニキャストセル管理部433が前カゴとカゴでセルを管理していたのに対して、クラス毎マルチキャストセル管理部435は前カゴに相当するVC間公平キュー460のみによりセルを管理する。ただ本発明のクラス毎マルチキャストセル管理部435は、管理の計算上では前カゴ、カゴの概念を用いてユニキャストと同様のセル管理を行なう。   Whereas the per-class unicast cell management unit 433 manages cells in the previous car and the car, the per-class multicast cell management unit 435 manages cells only by the inter-VC fair queue 460 corresponding to the previous car. However, the multicast cell management unit 435 for each class according to the present invention performs cell management similar to unicast using the concept of the previous car and the car in the calculation of management.

クラス毎マルチキャストセル管理部435は、出力ポート毎に次の情報を入力する。   The class-specific multicast cell management unit 435 inputs the following information for each output port.

・前カゴからカゴへの単位カゴ転送指示
・カゴからクラス多重化FIFOへのセル転送指示
また出力ポート毎に次の情報を出力する。
-Unit basket transfer instruction from the previous basket to the basket-Cell transfer instruction from the basket to the class multiplexing FIFO The following information is output for each output port.

・前カゴセル数
・カゴセル数
・転送セル数
VC間公平キュー460は単位カゴのFIFOである。VC間公平キュー460に入力したセルは、各VC(CG)についてひとつの単位カゴに予め定められた数までしか入力できない。この構成は図30で説明したユニキャストの前カゴの構成と同様である。クラス多重化FIFO436からバックプレッシャ信号が入力しており、状況によってVC間公平キュー460からのセル出力を禁止する。
-Number of previous basket cells-Number of basket cells-Number of transfer cells The inter-VC fair queue 460 is a FIFO of unit baskets. The number of cells input to the inter-VC fair queue 460 can be input up to a predetermined number in one unit basket for each VC (CG). This configuration is the same as that of the unicast front basket described in FIG. A back pressure signal is input from the class multiplexing FIFO 436, and cell output from the inter-VC fair queue 460 is prohibited depending on the situation.

出力ポート表は、出力ポート別に、前カゴセル数と先頭単位カゴへのポインタを記憶する。前カゴセル数は単位カゴセル数の合計、先頭単位カゴは計算上の前カゴの先頭の単位カゴへのポインタである。   The output port table stores the number of previous basket cells and a pointer to the head unit basket for each output port. The number of previous baskets is the total number of unit baskets, and the head unit basket is a pointer to the head unit basket of the previous basket in calculation.

単位カゴセル数はVC間公平キュー460の単位カゴに対応して出力ポート毎のデータを記憶する。基本的には対応する単位カゴに蓄積しているマルチキャストセルの出力ポート毎のセル数を記憶する。例えば、図32のVC間公平キュー460の先頭の単位カゴには5セル蓄積されている。そのうち、ポート#1とポート#Nに出力するセルが3セル、ポート#1とポート#2に出力するセルが2セルあるので、単位カゴセル数のポート#1には5、ポート#2には2、ポート#Nには3が記憶される。   The number of unit basket cells stores data for each output port corresponding to the unit basket of the VC fair queue 460. Basically, the number of cells for each output port of the multicast cell stored in the corresponding unit basket is stored. For example, five cells are stored in the top unit basket of the inter-VC fair queue 460 of FIG. Of these, there are 3 cells to be output to port # 1 and port #N, and 2 cells to be output to port # 1 and port # 2. Therefore, 5 for port # 1 and 5 for port # 2 2, 3 is stored in port #N.

カゴセル数は計算上のカゴのセル数である。また、出力許可済みセル数は計算上の出力を許可されたセル数である。   The number of basket cells is the calculated number of basket cells. The number of output-permitted cells is the number of cells permitted to be output in calculation.

ある出力ポートに対して単位カゴ転送を指示された場合、その出力ポートの先頭単位カゴの単位カゴセル数をカゴセル数に加算し、単位カゴセル数をゼロにする。さらにその出力ポートのカゴセル数から1を減算して出力許可済みセル数に1を加算する。そして出力ポート表の先頭単位カゴのポインタをVC間公平キュー460の次の単位カゴへひとつ進める。このときの転送セル数は1セルである。   When a unit basket transfer is instructed to a certain output port, the number of unit basket cells of the head unit basket of that output port is added to the number of basket cells, and the number of unit basket cells is made zero. Further, 1 is subtracted from the number of basket cells of the output port, and 1 is added to the number of cells permitted to output. Then, the pointer of the head unit basket in the output port table is advanced by one to the next unit basket in the inter-VC fairness queue 460. The number of transfer cells at this time is one cell.

先頭単位カゴのポインタを進めることにより、ポインタはVC間公平キュー460の先頭の単位カゴから離れていく。この距離に上限を設け、ある距離になったら単位カゴ転送指示を無視してポインタを進めないように制御する。これは、単位カゴの転送が指示された時刻と実際にセルを出力する時刻との差を大きくしないようにする効果がある。   By advancing the pointer of the head unit basket, the pointer moves away from the head unit basket of the inter-VC fairness queue 460. An upper limit is set for this distance, and when the distance is reached, control is performed so that the unit basket transfer instruction is ignored and the pointer cannot be advanced. This has an effect of preventing the difference between the time when the unit basket transfer is instructed and the time when the cell is actually output from being increased.

ある出力ポートに対してKMからセル転送が指示された場合、その出力ポートのカゴセル数から1を減算して出力許可済みセル数に1を加算する。このときの転送セル数は1セルである。   When cell transfer is instructed to a certain output port from the KM, 1 is subtracted from the number of basket cells of that output port, and 1 is added to the number of output-permitted cells. The number of transfer cells at this time is one cell.

クラス多重化FIFO436からのバックプレッシャ信号が出力を許可している時、セルをVC間公平キュー460から出力することができる。その際、そのセルの全ての出力ポートについて出力許可済みセル数を1ずつ減算する。出力許可済みセル数がゼロの出力ポートが存在する場合は減算できないので、そのセルはまだ出力できない。   When the back pressure signal from the class multiplexing FIFO 436 permits output, the cell can be output from the inter-VC fair queue 460. At that time, the number of output-permitted cells is subtracted by 1 for all the output ports of the cell. If there is an output port with the number of output-permitted cells being zero, subtraction cannot be performed, so that cell cannot be output yet.

出力許可済みセル数は単位カゴ転送指示およびセル転送指示により増加する。ある出力ポートの出力許可済みセル数がある値以上になった場合には、その出力ポートについて、クラス毎マルチキャストセル管理部435から出力する前カゴセル数とカゴセル数をゼロとし、単位カゴ転送指示とセル転送指示を無視する。これは実際のセルの転送スループット以上の転送指示を無視する効果がある。   The number of output-permitted cells is increased by a unit basket transfer instruction and a cell transfer instruction. When the number of output-permitted cells of a certain output port exceeds a certain value, the number of the previous and the number of basket cells output from the multicast cell management unit 435 for each class is set to zero for the output port, and the unit basket transfer instruction and Ignore cell transfer instructions. This has the effect of ignoring transfer instructions exceeding the transfer throughput of the actual cell.

次に、図33〜図39を参照して、クラス毎マルチキャストセル管理部の動作について説明する。   Next, with reference to FIGS. 33 to 39, the operation of the multicast cell management unit for each class will be described.

図32の状態から、出力ポート#1に対して単位カゴの転送をKMから指示された場合の動作を図3333に示す。ポート#1の先頭単位カゴの単位カゴセル数をカゴセル数に加算し、単位カゴセル数ゼロにする。さらにポート#1のカゴセル数から1を減算して出力許可済みセル数に1を加算する。KMへの転送セル数は出力ポート#1に関して1セルである。   FIG. 3333 shows the operation when the KM instructs the output port # 1 to transfer the unit basket from the state of FIG. The number of unit basket cells of the head unit basket of port # 1 is added to the number of basket cells to make the number of unit basket cells zero. Further, 1 is subtracted from the number of basket cells of port # 1, and 1 is added to the number of cells whose output is permitted. The number of cells transferred to the KM is 1 cell for the output port # 1.

出力ポート表の先頭単位カゴのポインタをVC間公平キュー460の次の単位カゴへひとつ進める。   The pointer of the head unit basket in the output port table is advanced by one to the next unit basket of the VC fair queue 460.

さらに、出力ポート#1に対してセルの転送をKMから指示された場合の動作を図34に示す。ポート#1のカゴセル数から1を減算して出力許可済みセル数に1を加算する。KMへの転送セル数は出力ポート#1に関して1セルである。   Furthermore, FIG. 34 shows the operation when the KM instructs the output port # 1 to transfer a cell. 1 is subtracted from the number of basket cells in port # 1, and 1 is added to the number of cells whose output has been permitted. The number of cells transferred to the KM is 1 cell for the output port # 1.

図34のVC間公平キュー460の先頭のセルの出力ポートは#1と#Nである。出力許可済みセル数は出力ポート#1に関してはゼロでない(=2)が、出力ポート#Nに関してはゼロであるのでまだセルを出力することはできない。   The output ports of the first cell of the inter-VC fair queue 460 in FIG. 34 are # 1 and #N. The number of output-permitted cells is not zero (= 2) for the output port # 1, but since the output port #N is zero, no cells can be output yet.

セルが到着した時の動作を図35に示す。到着したセルの出力ポートは#1と#Nである。またこのセルは今までにVC間公平キュー460に蓄積していなかったVCのセルであるとする。この場合セルはVC間公平キュー460の先頭の単位カゴに入力される。   The operation when the cell arrives is shown in FIG. The output ports of the arrived cells are # 1 and #N. It is also assumed that this cell is a VC cell that has not been stored in the inter-VC fair queue 460 until now. In this case, the cell is input to the top unit basket of the inter-VC fair queue 460.

セルを入力したとき、そのセルの全ての出力ポートの単位カゴセル数を1ずつ加算する。加算する単位カゴは出力ポート毎に決定する。基本的にはセルを入力した単位カゴに1を加えるが、出力ポート表の先頭単位カゴがセルを入力した単位カゴよりも後ろにある場合は出力ポート表の先頭単位カゴが指している単位カゴセル数に1を加える。従って、図35では出力ポート#1については先頭単位カゴが指している2番目の単位カゴの単位カゴセル数に1を加算する。出力ポート#Nについてはセルを入力した単位カゴである1番目の単位カゴの単位カゴセル数に1を加算する。   When a cell is input, the number of unit basket cells of all output ports of the cell is incremented by one. The unit basket to be added is determined for each output port. Basically, 1 is added to the unit basket in which the cell is input, but if the first unit basket in the output port table is behind the unit basket in which the cell is input, the unit basket cell pointed to by the first unit basket in the output port table Add 1 to the number. Accordingly, in FIG. 35, for the output port # 1, 1 is added to the number of unit basket cells of the second unit basket pointed to by the first unit basket. For the output port #N, 1 is added to the number of unit basket cells of the first unit basket that is the unit basket into which cells are input.

さらに、またセルが到着した時の動作を図3636に示す。新たに到着したセルの出力ポートは#1と#2である。またこのセルは現在VC間公平キュー460にセルが蓄積しているVCのセルであるとする。図36R>6の場合このセルはVC間公平キュー460の末尾に新たに単位カゴを設け、その単位カゴに入力した。   Further, FIG. 3636 shows the operation when a cell arrives. The output ports of newly arrived cells are # 1 and # 2. This cell is a VC cell currently stored in the inter-VC fair queue 460. In the case of FIG. 36> 6, a new unit basket is provided at the end of the inter-VC fair queue 460, and this cell is input to the unit basket.

さらに、図37に出力ポート#Nに対して単位カゴの転送をKMから指示された場合の動作を示す。ポート#Nの先頭単位カゴの単位カゴセル数をカゴセル数に加算し、単位カゴセル数ゼロにする。さらにポート#Nのカゴセル数から1を減算して出力許可済みセル数に1を加算する。KMへの転送セル数は出力ポート#Nに関して1である。出力ポート表の先頭単位カゴのポインタをVC間公平キュー460の次の単位カゴへひとつ進める。   Further, FIG. 37 shows an operation when the KM is instructed to transfer the unit basket to the output port #N. The number of unit basket cells of the head unit basket of port #N is added to the number of basket cells to make the number of unit basket cells zero. Further, 1 is subtracted from the number of cargo cells of port #N, and 1 is added to the number of output-permitted cells. The number of cells transferred to KM is 1 for output port #N. The pointer of the head unit basket in the output port table is advanced by one to the next unit basket of the VC fair queue 460.

VC間公平キュー460の先頭のセルの出力ポートが#1と#Nであり、その#1と#Nの出力許可済みセル数がそれぞれ1以上(具体的には2と1)になったため、クラス多重化FIFO436が許可すればそのセルを出力できる。   Since the output ports of the leading cells of the inter-VC fair queue 460 are # 1 and #N, and the number of output-permitted cells of # 1 and #N is 1 or more (specifically 2 and 1), respectively. If the class multiplexing FIFO 436 permits, the cell can be output.

図38にセルを出力した場合の状態を示す。出力セルの出力ポートに対応する出力許可済みセル数を1ずつ減算する。   FIG. 38 shows a state when cells are output. The number of output permitted cells corresponding to the output port of the output cell is subtracted by one.

図39に、以上のようにして連続して単位カゴ、カゴの転送が指示され、合計6セル出力したときの状態を示す。VC間公平キュー460の先頭の単位カゴはこの時点で空になり、その単位カゴおよび単位カゴセル数は消滅する。必然的に出力ポート表の先頭単位カゴがこの消失した単位カゴを指していることはない。次に、図40を参照して、出力ポート選択スケジューラ432について説明する。   FIG. 39 shows a state in which unit baskets and basket transfers are instructed continuously as described above, and a total of 6 cells are output. The head unit basket of the inter-VC fair queue 460 becomes empty at this point, and the unit basket and the number of unit basket cells disappear. Inevitably, the head unit basket in the output port table does not point to this lost unit basket. Next, the output port selection scheduler 432 will be described with reference to FIG.

出力ポート選択スケジューラ432に入力する、出力ポート毎のユニキャスト出力待ちセルとマルチキャスト出力待ちセルをセル選択部470が選択して出力ポート選択スケジューラ432から出力する。セル選択部470の選択の候補となるセルは、出力待ちセルのうち許可されたセルである。   The cell selection unit 470 selects a unicast output waiting cell and a multicast output waiting cell for each output port, which are input to the output port selection scheduler 432, and outputs them from the output port selection scheduler 432. Cells that are candidates for selection by the cell selection unit 470 are allowed cells among the output waiting cells.

ユニキャストセルは、ユニキャストセル出力許可信号生成部471が出力するユニキャストセル出力許可信号により出力が許可される。   The output of the unicast cell is permitted by the unicast cell output permission signal output from the unicast cell output permission signal generation unit 471.

ユニキャストセル出力許可信号生成部471には、バックプレッシャ信号と非常用バックプレッシャ信号が入力する。   The unicast cell output permission signal generation unit 471 receives the back pressure signal and the emergency back pressure signal.

バックプレッシャ信号は出力ポート毎である。また非常用バックプレッシャ信号は対応するバックプレッシャ信号が予め定まっている。図25の場合は、非常用バックプレッシャ信号はSE2から出力しており、そのSE2の出力リンクに接続する出力バッファOBからのバックプレッシャ信号に対応している。   The back pressure signal is for each output port. In addition, the back pressure signal corresponding to the emergency back pressure signal is determined in advance. In the case of FIG. 25, the emergency back pressure signal is output from SE2, and corresponds to the back pressure signal from the output buffer OB connected to the output link of SE2.

バックプレッシャ信号が出力禁止を示している時、ユニキャストセル出力許可信号はその出力ポートのセルの出力を許可しない。非常用バックプレッシャ信号が出力禁止を示している場合は、その非常用バックプレッシャ信号に対応するバックプレッシャ信号が全て出力禁止を示しているものと見なして出力を許可しない。   When the back pressure signal indicates prohibition of output, the unicast cell output permission signal does not permit the output of the cell at the output port. When the emergency back pressure signal indicates that output is prohibited, it is assumed that all back pressure signals corresponding to the emergency back pressure signal indicate that output is prohibited, and output is not permitted.

マルチキャストセルは、マルチキャストセル出力許可信号生成部472が出力するマルチキャストセル出力許可信号により出力が許可される。   The multicast cell is permitted to be output by the multicast cell output permission signal output from the multicast cell output permission signal generation unit 472.

マルチキャストセル出力許可信号生成部472には、ユニキャストセル出力許可信号とマルチキャストセル用クラス多重化FIFO436の先頭のセルの出力ポート情報が入力する。   The multicast cell output permission signal generation unit 472 receives the unicast cell output permission signal and the output port information of the first cell of the multicast cell class multiplexing FIFO 436.

マルチキャストセル出力許可信号生成部472は、マルチキャストセルの出力ポートが全て(同時にでなくてもよい)許可されたかどうかを監視する。どれかの出力ポートが許可されていない場合はマルチキャストセル出力許可信号を出力禁止とする。マルチキャストセルの全ての出力ポートが許可された時、最後に許可された出力ポートのユニキャストセル出力許可信号が出力可能を示している時間はマルチキャストセルの出力を許可する。その時間内にそのマルチキャストセルがセル選択部470により選択されなかった場合、およびマルチキャストセルがセル選択部470により選択され出力して新しいマルチキャストセルの出力ポート情報が到着した場合は、再び最初から出力ポートが全て許可されたかどうかを監視する。   The multicast cell output permission signal generation unit 472 monitors whether all (not necessarily simultaneously) the output ports of the multicast cell are permitted. If any output port is not permitted, the multicast cell output permission signal is prohibited. When all the output ports of the multicast cell are permitted, the output of the multicast cell is permitted during the time when the unicast cell output permission signal of the last permitted output port indicates that output is possible. If the multicast cell is not selected by the cell selection unit 470 within the time, and if the multicast cell is selected and output by the cell selection unit 470 and the output port information of a new multicast cell arrives, it is output again from the beginning. Monitor whether all ports are allowed.

セル選択部470は、こうして出力が許可された出力待ちセルを公平に選択する。   The cell selection unit 470 selects the output waiting cell thus permitted to output in a fair manner.

上述したように、マルチキャストセルはその出力ポートの全てのバックプレッシャ信号が同時に出力を許可していなくても出力される。すなわち、そのマルチキャストセルの出力時には、そのセルの出力ポートのバックプレッシャ信号のいくつかが出力禁止を示している可能性がある。この様な状況においてもSE2のバッファが溢れないように低優先セル非常用バックプレッシャ信号が有効に作用する。   As described above, the multicast cell is output even if all the back pressure signals of the output port do not permit the output at the same time. That is, at the time of output of the multicast cell, some back pressure signals at the output port of the cell may indicate output prohibition. Even in such a situation, the low-priority cell emergency back pressure signal works effectively so that the SE2 buffer does not overflow.

上述の構成においては、低優先セル非常用バックプレッシャ信号は出力禁止を示した場合、対応する出力ポート行きのユニキャストセルおよびマルチキャストセルの両方の出力を禁止する。他の構成としては、マルチキャストセル出力許可信号生成部472において、ある出力ポートが一度許可されても低優先セル非常用バックプレッシャ信号が出力禁止を指示した時に許可を取り消す処理を行うなどとしてもよい。また、簡単には、低優先非常用バックプレッシャ信号が出力禁止と指示した場合は、全ての低優先マルチキャストセルの出力を禁止する構成でもよい。   In the above configuration, when the output of the low priority cell emergency back pressure signal indicates prohibition, the output of both the unicast cell and the multicast cell for the corresponding output port is prohibited. As another configuration, the multicast cell output permission signal generation unit 472 may perform a process of canceling permission when a low priority cell emergency backpressure signal instructs prohibition of output even if a certain output port is permitted once. . In addition, when the low priority emergency back pressure signal indicates that output is prohibited, the output of all low priority multicast cells may be prohibited.

本発明の入力バッファIBは、図15で説明したバックプレッシャ考慮キュー監視を行なう。この監視は、バックプレッシャ信号によりバックプレッシャ識別子を更新し、その値に基づいて動作する。ユニキャストセルの出力ポート毎のバックプレッシャ識別子は出力ポート選択スケジューラ432のユニキャストセル出力許可信号により更新し、マルチキャストセルのバックプレッシャ識別子は出力ポート選択スケジューラ432のマルチキャストセル出力許可信号により更新する。   The input buffer IB of the present invention performs back pressure consideration queue monitoring described with reference to FIG. This monitoring is performed based on the value of the back pressure identifier updated by the back pressure signal. The back pressure identifier for each output port of the unicast cell is updated by the unicast cell output permission signal of the output port selection scheduler 432, and the back pressure identifier of the multicast cell is updated by the multicast cell output permission signal of the output port selection scheduler 432.

次に、図41を参照して、図25に示したカゴスイッチに用いるカゴ管理部KMについて説明する。   Next, with reference to FIG. 41, the basket management unit KM used for the basket switch shown in FIG. 25 will be described.

図41は、カゴ管理部KMの構成例を示したものである。   FIG. 41 shows a configuration example of the basket management unit KM.

KMは出力ポート毎に、
・ABR入力セル数合計。
KM for each output port
-Total number of ABR input cells.

・クラス毎に、前カゴセル数合計、カゴセル数合計、転送セル数。   -For each class, the total number of previous basket cells, the total number of basket cells, and the number of transferred cells.

・クラス多重化FIFOセル数合計。   • Total number of class multiplexed FIFO cells.

といった情報を保持し、さらに、出力ポート毎に、転送指示履歴管理部480、クラス選択スケジューラ481を具備している。   And a transfer instruction history management unit 480 and a class selection scheduler 481 for each output port.

ABR入力セル数合計は、ABRクラスについて各出力ポート行きの全IBの合計入力セル数である。一定時間内で積算し、その周期毎にその出力ポートとペアとなるIBへ伝送する。所定の一定時間に達する前にABR入力セル数合計があるしきい値以上になった場合は割り込み的にIBへその旨を通知する構成でもかまわない。   The total number of ABR input cells is the total number of input cells of all IBs for each output port for the ABR class. Integration is performed within a certain period of time, and transmitted to the IB paired with the output port for each cycle. If the total number of ABR input cells exceeds a certain threshold before reaching a predetermined fixed time, a configuration may be used in which the IB is notified interruptively.

前カゴセル数合計は、IBへ入力したセルの有無とクラスの情報より、前カゴに入力したセルの合計を加算する。またKMが転送を指示したクラスの前カゴセル数を全てのIBについて合計したもので更新する。そのクラスはKMの転送指示履歴管理部480が記憶している。   The total number of previous basket cells is obtained by adding the total number of cells input to the previous basket based on the presence / absence of cells input to the IB and the class information. In addition, the number of previous baskets in the class to which KM has instructed transfer is updated with the sum of all IBs. The class is stored in the transfer instruction history management unit 480 of the KM.

カゴセル数合計は、KMが転送を指示したクラスのカゴセル数を全てのIBについて合計したもので更新する。転送を指示したクラスはKMの転送指示履歴管理部480が記憶している。   The total number of basket cells is updated with the total number of basket cells of all classes for which the KM has instructed transfer. The transfer instruction history management unit 480 of the KM stores the class instructing the transfer.

転送セル数は、KMが転送を指示したクラスのクラス多重化FIFOへの転送セル数を全てのIBについて合計したもので更新する。転送を指示したクラスはKMの転送指示履歴管理部480が記憶している。   The number of transfer cells is updated by adding the number of transfer cells to the class multiplexed FIFO of the class to which KM has instructed transfer for all IBs. The transfer instruction history management unit 480 of the KM stores the class instructing the transfer.

クラス多重化FIFOセル数合計は、クラス多重化FIFOセル数を全てのIBについて合計したもので更新する。   The total number of class multiplexed FIFO cells is updated by adding the number of class multiplexed FIFO cells for all IBs.

クラス選択スケジューラ381は、前カゴセル数合計、カゴセル数合計、転送セル数合計、クラス多重化FIFOセル数合計などの情報よりIBに転送指示を行なう。過去の転送指示の履歴は転送指示履歴管理部480が記憶し、またクラス選択スケジューラ481はその履歴を利用して上記のセル数情報を修正する。   The class selection scheduler 381 issues a transfer instruction to the IB based on information such as the total number of previous basket cells, the total number of basket cells, the total number of transfer cells, and the total number of class multiplexed FIFO cells. The history of past transfer instructions is stored in the transfer instruction history management unit 480, and the class selection scheduler 481 corrects the cell number information using the history.

図42、図43、図44に、カゴ管理部KMのクラス選択スケジューラ481で実行するスケジューリングアルゴリズムの一例を示す。このアルゴリズムは、クラスの最大帯域を制限し最小帯域を保証しつつ優先度による優先制御を行なうものである。   42, 43, and 44 show an example of a scheduling algorithm executed by the class selection scheduler 481 of the basket management unit KM. This algorithm performs priority control based on priority while limiting the maximum bandwidth of a class and guaranteeing the minimum bandwidth.

グローバルな変数として、現在時刻を示す変数nowがある。各クラスiについて、最小帯域1/Di 、出力義務時刻Tdi 、Tdi の上限を与えるパラメタDxi 、および最大帯域1/Ui 、出力禁止時刻Tui 、Tui の下限を与えるパラメタUxi を設定する(図42のステップS100)。   As a global variable, there is a variable now indicating the current time. For each class i, a parameter Dxi that gives the upper limit of the minimum bandwidth 1 / Di and the output duty time Tdi and Tdi, and a parameter Uxi that gives the lower limit of the maximum bandwidth 1 / Ui and the output inhibition time Tui and Tui are set (FIG. 42). Step S100).

各クラスiについて、出力すべき場合は現在時刻nowがTdi nowである時であり、出力が禁止される場合は現在時刻nowがnow<Tui である時である。また優先順位に従って出力すべき場合は現在時刻nowがTui now<Tdi である時である。Tdi はその上限値を定められており、Tdi now+Dxi である。またTui はその下限値を定められており、now−Uxi Tui である。ただしUxi 0、Dxi Di である。 For each class i, output is when the current time now is Tdi < now, and output is prohibited when the current time now is now <Tui. Further, when the current time now is Tui < now <Tdi, the output should be performed according to the priority order. The upper limit value of Tdi is determined, and Tdi < now + Dxi. Further, Tui has a lower limit value, and now-Uxi < Tui. However, Uxi > 0 and Dxi > Di.

初期設定は、nowをゼロに設定し、各クラスiに対してTdi をDi −Uiとし、Tui をnowつまりゼロにする(図42のステップS101)。   In the initial setting, now is set to zero, Tdi is set to Di-Ui for each class i, and Tu is set to now, that is, zero (step S101 in FIG. 42).

このアルゴリズムはセル周期毎に次の処理を行なう。   This algorithm performs the following processing for each cell period.

まず、クラスがアクティブになった時の処理を行なう。具体的にはセルが無かったクラスiにセルが到着したとき、Tdi をnowとTdi の大きい方に更新し、
Tui をnowとTui の大きい方に更新する(図43のステップS102)。
First, the process when the class becomes active is performed. Specifically, when a cell arrives at class i where there is no cell, Tdi is updated to the larger of now and Tdi,
Tui is updated to the larger of now and Tui (step S102 in FIG. 43).

次にセルを転送してもよいかどうかを判定して(図43のステップS103)、もしそうであれば転送クラス選択および転送クラス指示を行なう(図43のステップS104)。   Next, it is determined whether or not the cell can be transferred (step S103 in FIG. 43). If so, transfer class selection and transfer class instruction are performed (step S104 in FIG. 43).

転送クラス選択は次のような処理である。   The transfer class selection is the following process.

転送すべきセルがある各クラスiの中で、
1.Tdi nowとなっているクラスがあれば、その中で最もnow−Tdi の大きいクラスを選択する(同じ値の場合は優先度で判断)。
Within each class i where there are cells to be transferred,
1. If there is a class satisfying Tdi < now, the class having the largest now-Tdi is selected (if it is the same value, it is determined by the priority).

2.Tdi nowとなっているクラスがなければ、Tui now<Tdiを満足するクラスの中から優先度の最も高いクラスを選択する。 2. Without tdi <class has become now selects the highest class of priority among the classes that satisfy Tui <now <Tdi.

選択されたクラスをjとすると、図44のステップS105に進み、次のような転送クラス指示の処理を行なう。   If the selected class is j, the process proceeds to step S105 in FIG. 44, and the following transfer class instruction process is performed.

1.クラスjの転送指示を行なう。   1. Instruct transfer of class j.

2.Tuj をmax(Tuj 、now−Uxj )と更新。   2. Update Tuj to max (Tuj, now-Uxj).

3.Tdj をTdj +Dj と更新。   3. Update Tdj to Tdj + Dj.

4.Tuj をTuj +Uj と更新。   4). Updated Tuj to Tuj + Uj.

5.Tdj をmin(Tdj 、now+Dxj )と更新。   5. Tdj is updated to min (Tdj, now + Dxj).

最後に、転送セル流量モニタの処理を行なった後(図44のステップS106)、nowをインクリメントして(図44のステップS107)、セル周期毎の処理を終了する。   Finally, after performing the transfer cell flow rate monitoring process (step S106 in FIG. 44), the value of “now” is incremented (step S107 in FIG. 44), and the process for each cell cycle is completed.

図44のステップS106の転送セル流量モニタの処理は、クラスjの転送セル数がxj の時、クラスjに関して次の処理を行なう。   The transfer cell flow rate monitor process in step S106 of FIG. 44 performs the following process for class j when the number of transfer cells of class j is xj.

1.Tuj をmax(Tuj 、now−Uxj )と更新。   1. Update Tuj to max (Tuj, now-Uxj).

2.Tdj をTdj +(xj −1)Dj と更新。   2. Update Tdj to Tdj + (xj -1) Dj.

3.Tuj をTuj +(xj −1)Uj と更新。   3. Update Tuj to Tuj + (xj-1) Uj.

4.Tdj をmin(Tdj 、now+Dxj )と更新。   4). Tdj is updated to min (Tdj, now + Dxj).

図43のステップS103のセルを転送指示してもよいかどうかの判定は、クラス多重化FIFOセル数合計が、あるしきい値以下かどうかで行なう。あるしきい値とは通常は「1」である。このクラス多重化FIFOセル数合計は転送指示履歴管理部480の転送指示履歴により修正された値である。   The determination in step S103 in FIG. 43 as to whether or not to instruct transfer of cells is made based on whether or not the total number of class multiplexed FIFO cells is equal to or less than a certain threshold value. A certain threshold is usually “1”. The total number of class multiplexed FIFO cells is a value corrected by the transfer instruction history of the transfer instruction history management unit 480.

図43のステップS104における、クラスに転送すべきセルがあるかどうかの判定は、前カゴセル数合計またはカゴセル数合計のどちらか一方がゼロでないことを判定して行なう。この前カゴセル数合計とカゴセル数合計は転送指示履歴管理部480の転送指示履歴により修正された値である。   In step S104 in FIG. 43, whether or not there is a cell to be transferred to the class is determined by determining that either the total number of previous basket cells or the total number of basket cells is not zero. The total number of previous basket cells and the total number of basket cells are values corrected by the transfer instruction history of the transfer instruction history management unit 480.

転送指示はカゴ440からクラス多重化FIFO434へのセルの転送指示(図31の転送指示T2)である。その際に前カゴからカゴへの単位カゴの転送指示を同時に行なうかどうかの判定は、前カゴセル数合計がゼロでなく、かつ、カゴセル数合計があるしきい値以下かどうかを判定して行なう。あるしきい値とは通常は1である。この前カゴセル数合計とカゴセル数合計は転送指示履歴管理部480の転送指示履歴により修正された値である。   The transfer instruction is a cell transfer instruction from the basket 440 to the class multiplexing FIFO 434 (transfer instruction T2 in FIG. 31). At this time, whether or not to instruct the transfer of the unit basket from the previous basket to the basket at the same time is determined by determining whether the total number of previous basket cells is not zero and whether the total number of basket cells is equal to or less than a certain threshold value. . A certain threshold is usually 1. The total number of previous basket cells and the total number of basket cells are values corrected by the transfer instruction history of the transfer instruction history management unit 480.

本アルゴリズムは、Di を大きな数に設定することにより、最小保証帯域をゼロに近付けることができる。例えば全てのクラスのDi を大きな数に設定すれば全てのクラスを完全優先で優先制御することができる。   This algorithm can bring the minimum guaranteed bandwidth closer to zero by setting Di to a large number. For example, if Di of all classes is set to a large number, priority control of all classes can be performed with complete priority.

また、クラスのひとつを、優先度は最も低いが最小保証帯域を持つIC(Idle Cell)クラスとすることにより、出力ポートの使用率を制御することができる。IBはICクラスの転送指示があった場合にアイドルセルをクラス多重化FIFOへ挿入する(このIBはひとつだけでよい)。   Further, by using one of the classes as an IC (Idle Cell) class having the lowest priority but the minimum guaranteed bandwidth, the usage rate of the output port can be controlled. The IB inserts an idle cell into the class multiplexing FIFO when there is an IC class transfer instruction (only one IB is required).

アイドルセルは他のセルと同様にセルスイッチの出力ポートに向けて交換され、そこでUnassigned Cellに置き換えられる。KMは、ICクラスはいつも転送すべきセルがある状態と考えスケジューリングを行なえば良い。   The idle cell is exchanged towards the output port of the cell switch like the other cells, where it is replaced with the Unassigned Cell. The KM may perform scheduling assuming that the IC class always has a cell to be transferred.

ところで、図42〜図44に示したアルゴリズムでは説明を簡単にするために、変数now、Tdi 、Tui といった時刻を示す変数は、表現できる値が上限を持たないとしている。実装時にはこれらの変数は有限のビット長を持つレジスタなどで表現するため長時間経過すると同じ時刻が循環して現われる。アルゴリズムを正常に動作させるためには次のようなことを行なえば良い。これらの周期をMaxとする。Maxは十分大きい必要がある。   Incidentally, in the algorithms shown in FIGS. 42 to 44, for the sake of simplicity of explanation, it is assumed that variables that represent time such as variables now, Tdi, and Tui do not have upper limits. At the time of implementation, these variables are expressed by a register having a finite bit length, so that the same time appears cyclically after a long time. In order to operate the algorithm normally, the following may be performed. Let these cycles be Max. Max needs to be large enough.

このとき、x:=f(x)などの計算は、x:=f(x ) mod Maxと置き換える。つまりMaxでモジュロをとる。また、yzの比較演算は、
(zy−Max/2)or((yz)and(zy+Max/2))
に置き換え比較する。
At this time, the calculation such as x: = f (x) is replaced with x: = f (x) mod Max. In other words, take modulo with Max. Also, the comparison operation of y < z is
(Z < y-Max / 2) or ((y < z) and (z < y + Max / 2))
Replace with and compare.

例えば、now:=now+1という計算は、
now:=(now+1) mod Maxと置き換える。
For example, the calculation now: = now + 1 is
replace with now: = (now + 1) mod Max

Tdi nowという比較演算は、
(now Tdi −Max/2) or ((Tdi now) and (now Tdi +Max/2))に置き換え比較すれば良い。
The comparison operation Tdi < now is
(Now < Tdi-Max / 2) or ((Tdi < now) and (now < Tdi + Max / 2)) may be replaced and compared.

時刻の変数は周期的に監視し、必要に応じてnowからMax/2以上離れ過ぎないように調整を行なうことが必要であるが、Maxを大きくとることによって監視の周期を長くとることができ、実装が容易となる。   It is necessary to periodically monitor the time variable and adjust it so that it is not too far from Max / 2 or more as needed. However, by increasing Max, the monitoring cycle can be extended. Easy to implement.

さらに、他のクラス選択スケジューリングとしては次のようなものを有効である。   Further, as the other class selection scheduling, the following is effective.

すでに説明したように、CG毎(VC毎)に設定された重みに従ってVC間公平キューイングを行ったセルバッファ装置は、入力バッファIBのCGテーブル(図30)またはVCテーブルのNx に重みを書き込む。   As already described, the cell buffer device that has performed inter-VC fair queuing according to the weight set for each CG (each VC) writes the weight to the CG table (FIG. 30) of the input buffer IB or Nx of the VC table. .

ここでは、クラス選択スケジューリングを併用することによって、そのクラスに設定されているVC毎の重みを係数倍できることを説明する。   Here, it is explained that the weight for each VC set in the class can be multiplied by a coefficient by using the class selection scheduling together.

クラスA、クラスBがあり、クラスAに設定されているあるVCの重みNxaとし、クラスBに設定されているあるVCの重みをNxbとする。このとき双方のクラスに出力待ちセルが存在するときにクラス選択スケジューリングにより単位カゴの転送指示回数をクラスXとクラスYでRa 対Rb の比になるようにスケジューリングすることにより、それぞれの重みを Nxa×Ra 、Nxb×Rb と係数倍することが可能である。3クラス以上の場合も同様である。所望の比になるように、スケジューリングを行うアルゴリズムとして例えば、SCFQ(Self−Clocked Fair Queueing)などが知られている。   There are class A and class B, and the weight Nxa of a certain VC set to class A is set to Nxb. At this time, when there are output waiting cells in both classes, the number of unit basket transfer instructions is scheduled to be the ratio of Ra to Rb in class X and class Y by class selection scheduling. It is possible to multiply the coefficient by × Ra and Nxb × Rb. The same applies to three or more classes. For example, SCFQ (Self-Clocked Fair Queuing) is known as an algorithm for performing scheduling so as to obtain a desired ratio.

具体的な例で説明する。例えば、VC1からVC7の7本のVCに重みをそれぞれ1.24、3.72、2.18、934、562、1370、4360に設定したいとする。クラスAにVC1、2を設定し、Nx をそれぞれ1.24、3.72とする。クラスBにVC3を設定し、Nx を2.18とする。クラスCにVC4、5を設定し、Nx をそれぞれ9.34、5.62とする。クラスDにVC6、7を設定し、Nx をそれぞれ1.37、4.36とする。単位カゴの転送指示回数を出力待ちセルが存在するクラス間でクラスA:クラスB:クラスC:クラスD=1:1:100:1000の比になるようにクラス選択スケジューリングを行えば、目的の重み1.24:3.72:2.18:934:562:1370:4360でセルが出力ポートに多重化される。この方法はNx の値として大きな数値を設定するとVC間公平キューイングのセル遅延揺らぎが増大してしまうという現象を回避する効果がある。   A specific example will be described. For example, assume that weights are set to 1.24, 3.72, 2.18, 934, 562, 1370, and 4360 for seven VCs from VC1 to VC7, respectively. VC1 and 2 are set in class A, and Nx is 1.24 and 3.72, respectively. VC3 is set for class B, and Nx is 2.18. VC4 and 5 are set in class C, and Nx is set to 9.34 and 5.62, respectively. VC6 and 7 are set in class D, and Nx is set to 1.37 and 4.36, respectively. If class selection scheduling is performed so that the number of unit basket transfer instructions is in a ratio of class A: class B: class C: class D = 1: 1: 100: 1000 between classes in which output waiting cells exist, Cells are multiplexed to the output port with weights 1.24: 3.72: 2.18: 934: 562: 1370: 4360. This method has an effect of avoiding the phenomenon that the cell delay fluctuation of the inter-VC fair queuing increases when a large numerical value is set as the value of Nx.

図42〜図44に示したようなクラス選択スケジューリングのアルゴリズムでは、各クラスの転送セル流量をモニタしていた。これを利用して階層的なクラス選択スケジューリングを行うことが可能である。   In the class selection scheduling algorithm as shown in FIGS. 42 to 44, the transfer cell flow rate of each class is monitored. It is possible to perform hierarchical class selection scheduling using this.

クラスA1、A2、A3、…からなるクラス群Ga と、別のクラスB1、B2、B3、…からなるクラス群Gb とがあるとき、出力待ちセルが存在するクラス群間で転送セル流量の比をRa 対Rb と設定してクラス選択スケジューリングを行う。クラス群が3以上の場合も同様である。各クラス群内のクラス選択スケジューリングと、クラス群間の選択スケジューリングとは独立である。   When there is a class group Ga consisting of classes A1, A2, A3,... And a class group Gb consisting of other classes B1, B2, B3,. Is set as Ra vs. Rb, and class selection scheduling is performed. The same applies when the class group is 3 or more. Class selection scheduling within each class group and selection scheduling between class groups are independent.

これにより、あるクラス群間の剰余帯域は、そのクラス群内のクラスのみが使用することになり、別のクラス群が使用できることを防止できる。別のクラス群がこの剰余帯域を使用できるのは、あるクラス群の出力待ちセルが一つも存在しない場合だけである。この様な階層的なクラス選択スケジューリングは。例えば、企業毎にクラス群を割り当てるなどの応用が考えられる。   As a result, the surplus bandwidth between certain class groups is used only by the classes in the class group, and it can be prevented that another class group can be used. Another class group can use this surplus bandwidth only when there is no output waiting cell of a certain class group. This kind of hierarchical class selection scheduling. For example, an application such as assigning a class group for each company can be considered.

5.2 優先制御およびVC間公平キューイングを行うセルスイッチのセル数修正方法
次に、優先制御およびVC間公平キューイングを行うセルスイッチ(カゴスイッチ)(図25、図29、図31R>1)のカゴ管理部KMにおけるセル数の修正方法を図45R>5を参照して説明する。
5.2 Cell Number Correction Method for Cell Switch that Performs Priority Control and Inter-VC Fair Queuing Next, a cell switch (cage switch) that performs priority control and inter-VC fair queuing (FIG. 25, FIG. 29, FIG. 31R> 1) ) Will be described with reference to FIG. 45 R> 5.

修正の原理は、図19、図20などを用いて説明したカゴスイッチの場合も同じ方法でセル数を修正することにより優先制御の性能や出力ポートのスループットの向上などを実現することができる。   As for the principle of correction, in the case of the cage switch described with reference to FIGS. 19, 20, etc., it is possible to improve the performance of priority control and the throughput of the output port by correcting the number of cells by the same method.

本発明のセル数修正方法の一応用例として、図45に示すカゴスイッチに適用する。カゴスイッチでは、管理部301がクラスiの前カゴ(Bpi)へ転送を指示すると、そのクラスの前カゴのセルがカゴ(Bki)へ転送されるとともに、その一部がクラス多重化FIFO(Bm )へ転送される。管理部301がクラスiのカゴからクラス多重化FIFOへ転送を指示すると、そのクラスのカゴのセルがクラス多重化FIFOへ転送される。   As an application example of the cell number correction method of the present invention, the present invention is applied to the car switch shown in FIG. In the basket switch, when the management unit 301 instructs transfer to the front basket (Bpi) of class i, the cells of the front basket of the class are transferred to the basket (Bki), and a part thereof is a class multiplexed FIFO (Bm ). When the management unit 301 instructs transfer from the class i basket to the class multiplexing FIFO, the cell of the class basket is transferred to the class multiplexing FIFO.

図45の様に各セルバッファのセル数情報および遅延時間を定める。   As shown in FIG. 45, the cell number information and delay time of each cell buffer are determined.

Hpiは転送指示Ipiにより前カゴからカゴへ転送されるHOL数、Hpmi は同じく転送指示Ipiにより前カゴからクラス多重化FIFOへ転送されるHOLセル数である。   Hpi is the number of HOLs transferred from the previous basket to the basket by the transfer instruction Ipi, and Hpmi is the number of HOL cells transferred from the previous basket to the class multiplexing FIFO by the transfer instruction Ipi.

ここで一例として、各遅延時間の値が等しい場合について考える。つまり、DOp =DIk =DOk =DIm =Dipm=D、および、DTpm=DTkmとする。またp=[−D、0)とする。このとき、クラスiの前カゴとカゴの修正されたセル数(N′pi、N′ki)、およびクラス多重化FIFOの修正されたセル数(N′m )は次のように計算できる。

Figure 0003906231
Here, as an example, consider the case where the values of the delay times are equal. That is, DOp = DIk = DOk = DIm = Dipm = D and DTpm = DTkm. Further, p = [− D, 0). At this time, the number of cells before the class i and the modified number of cells (N′pi, N′ki) of the cage and the number of modified cells (N′m) of the class multiplexing FIFO can be calculated as follows.
Figure 0003906231

5.3 第10の実施形態に係るセルスイッチの説明の続き
図46に、カゴスイッチの入力バッファIBとカゴ管理部KMとの接続例を示す。
5.3 Continuation of Explanation of Cell Switch According to Tenth Embodiment FIG. 46 shows a connection example between the input buffer IB of the car switch and the car management unit KM.

ここでは、例えば、クラス数を62クラス、セルスイッチサイズを16入力16出力とする。   Here, for example, the number of classes is 62 classes, and the cell switch size is 16 inputs and 16 outputs.

クラス番号は、{0、1、2、…、60、61、UC、IC}と6ビットにコーディングする。   The class number is coded in {0, 1, 2,..., 60, 61, UC, IC} and 6 bits.

クラスUCは非割り当てセル(Unassigned Cell)、ICはアイドルセル(Idle Cell)を示し、これらの使い方は以下に記述する。   Class UC indicates an unassigned cell, IC indicates an idle cell, and usage thereof will be described below.

前カゴセル数、カゴセル数、クラス多重化FIFOセル数は、{0、1、2、…、13、14、15以上}と4ビットにコーディングする。   The previous number of basket cells, the number of basket cells, and the number of class multiplexed FIFO cells are coded as {0, 1, 2,..., 13, 14, 15 or more} and 4 bits.

入力バッファIBからカゴ管理部KMへの転送情報を以下に示す。   The transfer information from the input buffer IB to the basket management unit KM is shown below.

(1)入力セル 出力ポート毎に、入力したセルについて(ユニキャストの場合はひとつの出力ポートについてのみ出力する)、
・入力セルの有無とクラス…6ビット(入力セルがない場合はクラスUCを送信する)
(3)転送指示クラス 出力ポート毎に転送の指示クラスについて、
・転送後の前カゴセル数…4ビット
・転送後のカゴセル数…4ビット
・クラス多重化FIFOへの転送セル数…2ビット(最大でユニキャストとマルチキャストの2セルが転送される)
(4)クラス多重化FIFO 出力ポート毎にユニキャストのみの、
・クラス多重化FIFOセル数…4ビット
合計すると、ひとつの出力ポートに関する情報は20ビットである。
(1) Input cell For each output port, for the input cell (in the case of unicast, output only for one output port),
・ Presence / absence of input cell and class: 6 bits (If there is no input cell, class UC is transmitted)
(3) Transfer instruction class For transfer instruction class for each output port,
-Number of previous basket cells after transfer ... 4 bits-Number of basket cells after transfer ... 4 bits-Number of transfer cells to class multiplexed FIFO ... 2 bits (maximum 2 unicast and multicast cells are transferred)
(4) Class multiplexing FIFO Only unicast for each output port.
Number of class multiplexed FIFO cells: When 4 bits are combined, information on one output port is 20 bits.

カゴ管理部KMから全ての入力バッファIBへ同報する転送情報を以下に示す。   The transfer information broadcast from the basket management unit KM to all the input buffers IB is shown below.

(2)出力ポート毎に、
・前カゴからカゴへ単位カゴの転送指示(下記のクラスについて)…1ビット
・カゴからクラス多重化FIFOへセルの転送指示と、指示クラス…6ビット(転送指示をしない場合はUCクラスを指定。ICクラスが指定された場合はIBはアイドルセルを転送(挿入)する。アイドルセルは他のクラスのセルと同様に出力ポートへ交換転送され、セルスイッチからの出力時にUnassigned Cellに置き換えられるスループット調整用のセルである。)
合計すると、ひとつの出力ポートに関する情報は7ビットである。
(2) For each output port,
・ Transfer instruction of unit basket from the previous basket to the basket (for the following classes): 1 bit ・ Transfer instruction of cells from the basket to the class multiplexing FIFO and instruction class: 6 bits (Specify the UC class if there is no transfer instruction) When the IC class is specified, the IB transfers (inserts) an idle cell, which is exchanged and transferred to the output port in the same manner as other classes of cells, and is replaced with an Unassigned Cell when output from the cell switch. It is a cell for adjustment.)
In total, the information about one output port is 7 bits.

KMは、ABRトラヒック制御のため出力ポート毎に、対応するIBへ次の信号を送信する。   The KM transmits the next signal to the corresponding IB for each output port for ABR traffic control.

(5)全IBの入力セルのうち、各出力ポート行きのABR入力セル数…5ビット(16入力16出力のセルスイッチの場合)
ひとつの出力ポートに関する情報は5ビットである。
(5) Number of ABR input cells destined for each output port among all IB input cells ... 5 bits (in the case of a cell switch with 16 inputs and 16 outputs)
Information about one output port is 5 bits.

図46は、カゴ管理部KMをふたつのLSIにて実現する構成例を示したものである。ふたつのLSIのうち一方は出力ポート#1から#8を管理し、もう一方は出力ポート#9から#16を管理する。   FIG. 46 shows a configuration example in which the basket management unit KM is realized by two LSIs. One of the two LSIs manages output ports # 1 to # 8, and the other manages output ports # 9 to # 16.

IBからKMへの転送情報(前述の(1)(3)(4))は、1出力ポートあたり20ビットであるから、8ポート分で160ビットである。高速差動伝送を2ペア用いてパラレル伝送を行なえば1セル周期に80ビットの伝送速度でよい。   Since the transfer information from the IB to the KM (the above (1), (3) and (4)) is 20 bits per output port, it is 160 bits for 8 ports. If parallel transmission is performed using two pairs of high-speed differential transmission, a transmission rate of 80 bits per cell period is sufficient.

KMからIBへの同報情報(前述の(2))は、1出力ポートあたり7ビットであるから、8ポート分で56ビットである。通常の伝送ドライバを用いて、8本のパラレル伝送を行なえば1セル周期に7ビットの伝送速度でよい。   Broadcast information from the KM to the IB (the above-mentioned (2)) is 7 bits per output port, so it is 56 bits for 8 ports. If a normal transmission driver is used to perform 8 parallel transmissions, a transmission rate of 7 bits per cell period is sufficient.

KMからIBへのABRトラヒック制御のための情報(前述の(5))は、1出力ポートあたり5ビットである。   The information for the ABR traffic control from the KM to the IB (the above (5)) is 5 bits per output port.

セル伝送速度が622Mbpsであるセルスイッチを考えても、これらの伝送速度は現在の技術において十分実現可能である。   Even considering a cell switch with a cell transmission rate of 622 Mbps, these transmission rates are sufficiently realizable with current technology.

IBはKMへセル数情報をLSB(最下位桁)から伝送することにより、セル数の加算の回路規模を少なくすることができる。加算回路は全てのIBから伝送されてくるセル数情報を(出力ポート毎クラス毎に)下位桁から順に加算することができるためである。より具体的には、加算回路は入力した桁の数字とそれまでに計算した下位桁からの桁上がりの和を計算して、加算結果のその桁の値を得ることができる。加えて次の桁の計算のための桁上がりを保持する。   The IB transmits the cell number information to the KM from the LSB (least significant digit), thereby reducing the circuit scale for adding the number of cells. This is because the adder circuit can add information on the number of cells transmitted from all IBs in order from the lower digit (for each class for each output port). More specifically, the addition circuit can calculate the sum of the digits of the input digit and the carry from the lower digits calculated so far, and obtain the value of that digit of the addition result. In addition, it holds the carry for the next digit calculation.

IBからKMへの信号の中にクラス多重化FIFOセル数がある。バックプレッシャ付きセルスイッチが出力ポート毎の蓄積セル数(図25の出力バッファOBのセル数)を出力できる場合には、KMは、クラス多重化FIFOセル数の代わりにこの出力ポート毎蓄積セル数を用いても良い。   Among the signals from IB to KM is the number of class multiplexed FIFO cells. When the cell switch with back pressure can output the number of accumulated cells per output port (number of cells in the output buffer OB in FIG. 25), the KM stores the number of accumulated cells per output port instead of the number of class multiplexed FIFO cells. May be used.

これは、図2のクラス間の優先制御を行なうセル多重化装置や、図7のVC間公平キューイングを行なうセル多重化装置と同じ効果を持つ。   This has the same effect as the cell multiplexing apparatus that performs priority control between classes in FIG. 2 and the cell multiplexing apparatus that performs fair VC queuing in FIG.

図47に、ABRサービスを実現するための情報の経路を示す。   FIG. 47 shows a path of information for realizing the ABR service.

図47は、ポート#1からポート#Nに入力するABRクラスのセルが、バックプレッシャ付きセルスイッチ400によりポート#iに交換多重化される部分について特に抜き出して示してある。実際は全ての出力ポートに関して、この図の#iと同じ構成になっている。   FIG. 47 particularly shows a part where the ABR class cell input from port # 1 to port #N is exchange-multiplexed to port #i by the cell switch 400 with back pressure. Actually, all the output ports have the same configuration as #i in this figure.

ABRサービスは、セルスイッチの出力ポートに使用可能な帯域があれば、その帯域をABRクラスのVCで公平に分配して使用するサービスクラスである。トラヒック制御には受信端末から送信端末へ伝送されるRMセルを用いる。   The ABR service is a service class in which, if there is a band that can be used at the output port of the cell switch, the band is distributed and used fairly by the ABR class VC. An RM cell transmitted from the receiving terminal to the transmitting terminal is used for traffic control.

セルスイッチ400は、出力ポート#iにおいてABRが使用可能な帯域を知っており、それと現在のABRの入力トラヒックとの比(または差)を知ることにより、送信端末に対してトラヒック制御を行なうことができる。現在のABRトラヒックは図47に示したポート#i行きの入力セル数の一定周期毎の合計から知ることができる。入力セル数から入力帯域を求め、これが出力ポートにおいてABRが使用可能な帯域を越えていれば過負荷であるから、ポート#iに入力するRMセルにVCの帯域を減らす指示を書き込めばよい。逆に、ポート#i行きの入力セル数から求めた入力帯域が、出力ポートにおいてABRが使用可能な帯域を下回っていれば、低負荷であるから、ポート#iに入力するRMセルにVCの帯域を増やす指示を書き込めばよい。入力帯域と出力帯域の比または差を知ることにより、過負荷、低負荷の程度を知ることができ、細やかな制御を行なうことが可能である。   The cell switch 400 knows the bandwidth that the ABR can use at the output port #i, and performs traffic control on the transmitting terminal by knowing the ratio (or difference) between the bandwidth and the input traffic of the current ABR. Can do. The current ABR traffic can be known from the sum of the number of input cells destined for port #i for each fixed period shown in FIG. An input band is obtained from the number of input cells, and if this exceeds the usable band of ABR at the output port, it is overloaded. Therefore, an instruction to reduce the VC band may be written in the RM cell input to port #i. Conversely, if the input band obtained from the number of input cells destined for port #i is less than the band where the ABR can be used at the output port, the load is low. An instruction to increase the bandwidth may be written. By knowing the ratio or difference between the input band and the output band, the degree of overload and low load can be known, and fine control can be performed.

この処理により輻輳に陥る確率は少なくなるが、さらにIBにおいてキュー長を監視して輻輳を検出した場合はEFCIをマークしたり、RMセルを書き換えたりすることにより、より安全にトラヒックを制御することが可能である。特にマルチキャストの場合は、入力帯域が出力帯域より小さくとも過負荷となる可能性があり、その場合はキュー長監視によるトラヒック制御が重要になる。   This process reduces the probability of congestion, but if the congestion is detected by monitoring the queue length in the IB, the traffic can be controlled more safely by marking the EFCI or rewriting the RM cell. Is possible. In particular, in the case of multicast, there is a possibility of overload even if the input bandwidth is smaller than the output bandwidth. In this case, traffic control by queue length monitoring becomes important.

このように、第10の実施形態に係るカゴスイッチは、VC間公平キューイングを行なうため、キュー長監視によるトラヒック制御においてもVC間で公平な帯域分配を実現することが可能である。   As described above, since the cage switch according to the tenth embodiment performs fair queuing between VCs, it is possible to achieve fair bandwidth distribution among VCs even in traffic control based on queue length monitoring.

本発明の第1の実施形態に係るクラス間の優先制御を行なうセル多重化装置の構成例を示した図。The figure which showed the structural example of the cell multiplexing apparatus which performs the priority control between the classes which concern on the 1st Embodiment of this invention. 本発明の第2の実施形態に係るクラス間の優先制御を行なうセル多重化装置の他の構成例を示した図。The figure which showed the other structural example of the cell multiplexing apparatus which performs the priority control between the classes which concern on the 2nd Embodiment of this invention. 出力バッファの他の構成例を示した図。The figure which showed the other structural example of the output buffer. 出力バッファのさらに他の構成例を示した図。The figure which showed the further another structural example of the output buffer. 本発明の第3の実施形態に係るVC毎FIFOを備えた出力バッファ型セル多重化装置の構成例を示した図。The figure which showed the structural example of the output buffer type | mold cell multiplexing apparatus provided with FIFO per VC which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る:VC間公平キューイングを行なうセル多重化装置の構成例を示した図。The figure which showed the structural example of the cell multiplexing apparatus which concerns on the 4th Embodiment of this invention: The fair queuing between VCs. 本発明の第5の実施形態に係るVC間公平キューイングを行なうセル多重化装置の構成例を示した図。The figure which showed the structural example of the cell multiplexing apparatus which performs the VC fair queuing which concerns on the 5th Embodiment of this invention. 本発明の第6の実施形態に係るセルグループFIFOを用いるセルバッファ装置の構成例を示した図。The figure which showed the structural example of the cell buffer apparatus using the cell group FIFO which concerns on the 6th Embodiment of this invention. 本発明の第7の実施形態に係るセルグループFIFOを用いるセルバッファ装置の構成例を示した図。The figure which showed the structural example of the cell buffer apparatus using the cell group FIFO which concerns on the 7th Embodiment of this invention. 第6の実施形態に係るセルグループFIFOのポインタチェーンによるデータ構造例を説明するための図。The figure for demonstrating the example of a data structure by the pointer chain of the cell group FIFO which concerns on 6th Embodiment. 第6の実施形態に係るセルグループFIFOのポインタチェーンによるデータ構造例を説明するための図で、空きセルグループチェーンの構成を示している。It is a figure for demonstrating the example of a data structure by the pointer chain of the cell group FIFO which concerns on 6th Embodiment, and has shown the structure of the empty cell group chain. 第7の実施形態に係るセルグループFIFOのポインタチェーンによるデータ構造例を説明するための図。The figure for demonstrating the example of a data structure by the pointer chain of the cell group FIFO which concerns on 7th Embodiment. 第7の実施形態に係るセルグループFIFOのポインタチェーンによるデータ構造例を説明するための図で、空きセルグループチェーンの構成を示している。It is a figure for demonstrating the example of a data structure by the pointer chain of the cell group FIFO which concerns on 7th Embodiment, and has shown the structure of the empty cell group chain. パケットグループを用いたフロー間公平キューイングを説明するための図。The figure for demonstrating the fair queuing between flows using a packet group. パケットグループを用いたフロー間公平キューイングを用いたパケットバッファ装置の動作を説明するための図。The figure for demonstrating operation | movement of the packet buffer apparatus using the fair queuing between flows using a packet group. 本発明の第8の実施形態にかかるバックプレッシャ考慮キュー監視を説明する図である。It is a figure explaining back pressure consideration cue monitoring concerning an 8th embodiment of the present invention. 第8の実施形態に係るバックプレッシャ考慮キュー監視部を持つセルバッファ装置の構成例を示した図。The figure which showed the structural example of the cell buffer apparatus which has a back pressure consideration queue monitoring part which concerns on 8th Embodiment. 第8の実施形態に係るバックプレッシャ考慮キュー監視アルゴリズムを示したフローチャート。The flowchart which showed the back pressure consideration queue monitoring algorithm which concerns on 8th Embodiment. 本発明の第9の実施形態に係る遅延を考慮したセルバッファ装置の構成例を示した図。The figure which showed the structural example of the cell buffer apparatus which considered the delay based on the 9th Embodiment of this invention. 遅延を考慮したセル数情報の修正方法の基本原理を説明するための図。The figure for demonstrating the basic principle of the correction method of the cell number information which considered delay. セル数修正方法の他の基本原理を説明するための図。The figure for demonstrating the other basic principle of the cell number correction method. 図21のセル数修正方法に用いる基本的な関数f()を説明するための図。The figure for demonstrating the basic function f () used for the cell number correction method of FIG. 図21のセル数修正方法に用いる基本的な関数g()を説明するための図。The figure for demonstrating the basic function g () used for the cell number correction method of FIG. 図21のセル数修正方法に用いる基本的な関数Sc()を説明するための図。The figure for demonstrating basic function Sc () used for the cell number correction method of FIG. 本発明の第10の実施形態に係るカゴスイッチの全体の構成例を示した図。The figure which showed the example of a whole structure of the basket switch which concerns on the 10th Embodiment of this invention. 図25の出力バッファの構成例を示した図。FIG. 26 is a diagram illustrating a configuration example of an output buffer in FIG. 25. 図25の1段目単位スイッチの構成例を示した図。The figure which showed the structural example of the 1st step | paragraph unit switch of FIG. 図25の2段目単位スイッチの構成例を示した図。The figure which showed the structural example of the 2nd stage unit switch of FIG. 図25の入力バッファの構成例を示した図。The figure which showed the structural example of the input buffer of FIG. 入力バッファのキューイング処理を説明するための図。The figure for demonstrating the queuing process of an input buffer. 図25の入力バッファのカゴ管理部とのインタフェースを示した図。The figure which showed the interface with the basket management part of the input buffer of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29のクラス毎マルチキャストセル管理部の動作を説明するための図。The figure for demonstrating operation | movement of the multicast cell management part for every class of FIG. 図29の出力ポート選択スケジューラの構成例を示した図。The figure which showed the structural example of the output port selection scheduler of FIG. 図25のカゴ管理部の構成例を示した図。The figure which showed the structural example of the basket management part of FIG. 図41のカゴ管理部のクラス選択スケジューラで実行する、最大帯域を制限し最小帯域を保証するスケジューリングアルゴリズムの具体例を示したフローチャート。The flowchart which showed the specific example of the scheduling algorithm which restrict | limits the maximum band and guarantees the minimum band performed with the class selection scheduler of the basket management part of FIG. 図41のカゴ管理部のクラス選択スケジューラで実行する、最大帯域を制限し最小帯域を保証するスケジューリングアルゴリズムの具体例を示したフローチャート。The flowchart which showed the specific example of the scheduling algorithm which restrict | limits the maximum band and guarantees the minimum band performed with the class selection scheduler of the basket management part of FIG. 図41のカゴ管理部のクラス選択スケジューラで実行する、最大帯域を制限し最小帯域を保証するスケジューリングアルゴリズムの具体例を示したフローチャート。The flowchart which showed the specific example of the scheduling algorithm which restrict | limits the maximum band and guarantees the minimum band performed with the class selection scheduler of the basket management part of FIG. セル数情報の修正方法の応用例であるカゴスイッチの動作を説明するための図。The figure for demonstrating operation | movement of the cage switch which is an application example of the correction method of cell number information. 図25の入力バッファとカゴ管理部との接続の具体例を示した図。The figure which showed the specific example of the connection of the input buffer of FIG. 25, and the basket management part. ABRサービスのための情報の経路の具体例を示した図。The figure which showed the specific example of the path | route of the information for ABR service. 従来のUBRサービスにおける不公平な帯域割り当てについて説明するための図。The figure for demonstrating unfair band allocation in the conventional UBR service. 従来のクラス間の優先制御を行うセル多重化装置の構成を説明するための図。The figure for demonstrating the structure of the cell multiplexing apparatus which performs the priority control between the conventional classes. 従来の入力バッファを持つセル多重化装置の構成を説明するための図。The figure for demonstrating the structure of the cell multiplexing apparatus with the conventional input buffer. 従来のVCテーブルの検索が必要なセルバッファ装置の構成を説明するための図。The figure for demonstrating the structure of the cell buffer apparatus which needs the search of the conventional VC table. 図50に示すような従来の入力バッファを持つセル多重化装置における入力バッファのキュー長の変化について説明するための図。The figure for demonstrating the change of the queue length of an input buffer in the cell multiplexing apparatus with the conventional input buffer as shown in FIG. 従来の優先制御を行うセル多重化装置の構成を説明するための図。The figure for demonstrating the structure of the cell multiplexing apparatus which performs the conventional priority control.

符号の説明Explanation of symbols

10…入力バッファ、11…出力バッファ、12…クラス管理部、212、222…カゴ管理部、230、240…バッファポインタ管理部、282…キュー監視部、302…転送指示履歴、KM…カゴ管理部、400…バックプレッシャ付きセルスイッチ。   DESCRIPTION OF SYMBOLS 10 ... Input buffer, 11 ... Output buffer, 12 ... Class management part, 212, 222 ... Basket management part, 230, 240 ... Buffer pointer management part, 282 ... Queue monitoring part, 302 ... Transfer instruction history, KM ... Basket management part 400: Cell switch with back pressure.

Claims (4)

入力したパケットを一時的に蓄積する複数のバッファが直列に接続されて構成され、前段に接続されたバッファは後段に接続されたバッファに向けて、該後段のバッファ内部のパケットの蓄積状況に応じて定められるパケット出力/禁止状態に従って、パケットを出力するパケット転送装置であって、
前記前段のバッファが前記後段のバッファにパケットを出力可能な状態から出力禁止状態に変化した後最初に前段のバッファへパケットが入力された時の前段に接続されたバッファの蓄積状況を監視する手段を具備することを特徴とするパケット転送装置。
A plurality of buffers that temporarily store input packets are connected in series, and the buffer connected in the previous stage is directed toward the buffer connected in the subsequent stage in accordance with the accumulation status of the packets in the buffer in the subsequent stage. A packet transfer device that outputs a packet in accordance with a packet output / prohibited state determined by
Means for monitoring the accumulation state of the buffer connected to the preceding stage when the packet is first input to the preceding buffer after the preceding buffer changes from the state in which the packet can be output to the succeeding buffer to the output prohibited state. A packet transfer apparatus comprising:
監視した前記蓄積状況に応じて、前記前段のバッファが輻輳状態であると判定する手段を更に備えることを特徴とする請求項1記載のパケット転送装置。 2. The packet transfer apparatus according to claim 1, further comprising means for determining that the preceding-stage buffer is in a congested state according to the monitored accumulation status. 監視した前記蓄積状況に応じて入力パケットを廃棄する手段を更に備えることを特徴とする請求項1記載のパケット転送装置。 2. The packet transfer apparatus according to claim 1, further comprising means for discarding an input packet in accordance with the monitored storage status. 入力されたパケットを一時的に蓄積する少なくとも1つのバッファと、
前記バッファに対するパケットの転送指示の履歴と前記バッファのパケットの蓄積状況を基に前記バッファに対しパケットの転送指示を行う制御手段と、を具備したパケット転送装置であって、
前記制御手段は、
前記バッファが前記制御手段にパケットの蓄積状況を通知してから、それに対応したパケットの転送指示が前記バッファに作用するまでに、前記転送指示の履歴をもとに前記バッファに作用するパケットの転送指示の回数を判断し、その判断された転送指示の回数をもとに、前記バッファのパケットの蓄積状況を修正し、その修正されたパケットの蓄積状況をもとに前記バッファに対しパケットの転送指示を行うことを特徴とするパケット転送装置。
At least one buffer for temporarily storing input packets;
A packet transfer apparatus comprising: a packet transfer instruction history for the buffer; and a control unit that performs a packet transfer instruction to the buffer based on a packet storage state of the buffer ;
The control means includes
Transfer of packets acting on the buffer based on a history of the transfer instructions from when the buffer notifies the control unit of packet accumulation status until the corresponding packet transfer instruction is applied to the buffer Determine the number of instructions, modify the buffer packet storage status based on the determined transfer instruction count, and transfer the packet to the buffer based on the corrected packet storage status A packet transfer apparatus that performs an instruction.
JP2005089214A 1995-09-18 2005-03-25 Packet transfer device Expired - Fee Related JP3906231B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005089214A JP3906231B2 (en) 1995-09-18 2005-03-25 Packet transfer device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP23886795 1995-09-18
JP2005089214A JP3906231B2 (en) 1995-09-18 2005-03-25 Packet transfer device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP21356996A Division JP3673025B2 (en) 1995-09-18 1996-08-13 Packet transfer device

Publications (2)

Publication Number Publication Date
JP2005245015A JP2005245015A (en) 2005-09-08
JP3906231B2 true JP3906231B2 (en) 2007-04-18

Family

ID=35026147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005089214A Expired - Fee Related JP3906231B2 (en) 1995-09-18 2005-03-25 Packet transfer device

Country Status (1)

Country Link
JP (1) JP3906231B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4557911B2 (en) * 2006-03-07 2010-10-06 株式会社東芝 Communication apparatus and communication method
JP4792335B2 (en) * 2006-06-16 2011-10-12 富士通株式会社 RAID device, RAID control program, and cache management method
JP4832359B2 (en) * 2007-05-22 2011-12-07 三菱電機株式会社 Multiplexer and packet transfer control method in multiplexer
JP4894789B2 (en) * 2008-03-06 2012-03-14 日本電気株式会社 Data back system and data backup control method
JP6127857B2 (en) * 2013-09-17 2017-05-17 富士通株式会社 Traffic control equipment

Also Published As

Publication number Publication date
JP2005245015A (en) 2005-09-08

Similar Documents

Publication Publication Date Title
US6490248B1 (en) Packet transfer device and packet transfer method adaptive to a large number of input ports
JP3673025B2 (en) Packet transfer device
US5732087A (en) ATM local area network switch with dual queues
US7027457B1 (en) Method and apparatus for providing differentiated Quality-of-Service guarantees in scalable packet switches
US6205118B1 (en) Adaptive time slot scheduling apparatus and method for end-points in an ATM network
US5949757A (en) Packet flow monitor and control system
EP1239637B1 (en) Time based packet scheduling and sorting system
US6532213B1 (en) Guaranteeing data transfer delays in data packet networks using earliest deadline first packet schedulers
JP3522103B2 (en) Large capacity multi-class core ATM switch architecture
US6144636A (en) Packet switch and congestion notification method
EP1329058B1 (en) Allocating priority levels in a data flow
US5999534A (en) Method and apparatus for scheduling cells for use in a static priority scheduler
KR100328642B1 (en) Arrangement and method relating to packet flow control
US6717912B1 (en) Fair discard system
US20110019544A1 (en) Systems for scheduling the transmission of data in a network device
US6587437B1 (en) ER information acceleration in ABR traffic
US7177279B2 (en) Buffer management for merging packets of virtual circuits
US6246687B1 (en) Network switching system supporting guaranteed data rates
JP3906231B2 (en) Packet transfer device
EP0973304A2 (en) Apparatus and method for bandwidth management
US6363069B1 (en) Complete packet discarding
EP1327333B1 (en) Filtering data flows
Drury ATM traffic management and the impact of ATM switch design
JP3848962B2 (en) Packet switch and cell transfer control method
US6377547B1 (en) Quality of service-oriented cell disc discarding

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061201

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: 20070109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070115

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110119

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees