JPH07264197A - Cell exchange device - Google Patents
Cell exchange deviceInfo
- Publication number
- JPH07264197A JPH07264197A JP4914194A JP4914194A JPH07264197A JP H07264197 A JPH07264197 A JP H07264197A JP 4914194 A JP4914194 A JP 4914194A JP 4914194 A JP4914194 A JP 4914194A JP H07264197 A JPH07264197 A JP H07264197A
- Authority
- JP
- Japan
- Prior art keywords
- cell
- switch
- cells
- common buffer
- circuit
- 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.)
- Pending
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
(57)【要約】
【目的】 ATM(非同期転送モード)通信や高速パケ
ット通信におけるセルまたはパケットの交換を行う共通
バッファ形スイッチにおいて、高価な共通バッファメモ
リを増やすことなく、セルの廃棄率を低く抑える。
【構成】 ふくそう判定回路20が共通バッファメモリ
11内のセル保留数を監視し、ふくそう状態を検出する
と、入線11 〜1n に対応して設けられたセル退避回路
221 〜22n にふくそう状態を通知し、セルが共通バ
ッファ形スイッチ9に入力されるのを制限するようにし
た。
【効果】 共通バッファメモリを増やさず、安価な退避
バッファを多数設置することで、共通バッファ形スイッ
チ内の共通バッファメモリの容量を超えることで生じる
セルの廃棄率を下げることができる。
(57) [Abstract] [Purpose] In a common buffer type switch for exchanging cells or packets in ATM (asynchronous transfer mode) communication and high-speed packet communication, the cell discard rate is reduced without increasing the cost of an expensive common buffer memory. suppress. [Structure] The congestion determination circuit 20 monitors the number of cells reserved in the common buffer memory 11, and when it detects a congestion state, it congests the cell evacuation circuits 22 1 to 22 n provided corresponding to the incoming lines 1 1 to 1 n. The state is notified and the cell is restricted from being input to the common buffer type switch 9. [Effect] By installing a large number of inexpensive save buffers without increasing the common buffer memory, it is possible to reduce the cell discard rate that occurs when the capacity of the common buffer memory in the common buffer type switch is exceeded.
Description
【0001】[0001]
【産業上の利用分野】この発明は、情報通信分野で、パ
ーソナルコンピュータやワークステーションのデータ、
電話の音声、マルチメディアの画像情報等の種々の情報
をセルまたはパケットと呼ばれるブロック単位に分割
し、高速で伝送・交換を行うためのATM(Asynchrono
us Transfer Mode,非同期転送モード)通信または高速
パケット通信におけるセルまたはパケット交換装置に関
するものであり、特に、ATMにおけるセルを交換し、
また一時的に記憶し、データ交換を行うことを目的とす
る装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the field of information and communication, and is used for data of personal computers and workstations.
ATM (Asynchronous) for dividing various information such as telephone voice and multimedia image information into blocks called cells or packets for high-speed transmission and exchange.
us Transfer Mode, asynchronous transfer mode) or a cell or packet switching device in high-speed packet communication.
The present invention also relates to a device for temporarily storing and exchanging data.
【0002】[0002]
従来例1.図20は、例えば文献International Confer
ence on Communications, 1987、セッション22、論文
番号2、Jean-Pierre Coudreuse, Michel Servel, ■PR
ELUDE:An Asynchronous Time-Division Switched Netwo
rk,■ の高速パケットスイッチを、説明のためやや変形
して示したものである。この文献は、回線交換データや
パケット交換データを効率よく多重および伝送する非同
期転送モード(ATM)通信方式における高速パケット
スイッチに係るものある。Conventional example 1. FIG. 20 shows, for example, the document International Confer
ence on Communications, 1987, Session 22, Paper No. 2, Jean-Pierre Coudreuse, Michel Servel, ■ PR
ELUDE: An Asynchronous Time-Division Switched Netwo
The high-speed packet switch of rk, ■ is shown in a slightly modified form for explanation. This document relates to a high speed packet switch in an asynchronous transfer mode (ATM) communication system for efficiently multiplexing and transmitting circuit switched data and packet switched data.
【0003】ATM通信方式では、例えば回線信号や音
声のような連続的な信号、およびデータや動画像のよう
なバースト的な信号をすべて固定の長さに分割して、そ
れに宛先情報等を示したヘッダを付加してパケットをつ
くり、同一形式のパケットで情報を転送するものであ
る。このパケットは、国際的に標準化がなされ、セルと
呼ばれている。以下では、このパケットをセルと呼ぶ
が、意味は同一である。端末と伝送路とはフレーム等の
同期が不要となり、また、端末と伝送路との速度とは独
立でよいため、いかなる端末に対しても対応することが
できる。しかし、高速セルスイッチには、ランダムにセ
ルが到着するため、ある瞬間には、1つの宛先に、多数
のセルが殺到することがあり、情報の欠落を防ぐため
に、セルの待ち合わせをする必要が生じる。In the ATM communication system, continuous signals such as line signals and voice, and burst signals such as data and moving images are all divided into fixed lengths, and destination information and the like are shown. Header is added to form a packet, and information is transferred in the same format packet. This packet is internationally standardized and is called a cell. In the following, this packet is called a cell, but the meaning is the same. Since it is not necessary to synchronize frames and the like between the terminal and the transmission path, and the speeds of the terminal and the transmission path may be independent, it is possible to support any terminal. However, since cells arrive at the fast cell switch randomly, a large number of cells may be flooded to one destination at a certain moment, and it is necessary to wait for cells to prevent loss of information. Occurs.
【0004】この問題に対し、たとえば前記文献Fig.5
およびFig.6には高速セルスイッチが提案されている。
図20にその一例のブロック図を示す。11 〜1n はデ
ータが入力されるn(n≧2)本の入線であり、ここに
到着するセルは固定長である。21 〜2m はセルが出力
されるm(m≧2)本の出線である。7は入力したセル
を多重するセル多重回路である。11は指定したアドレ
スに、データを書き込むことが可能で、かつアドレスを
指定することで、書き込み順とは無関係にデータを読み
出すことのできる共通バッファメモリである。8は読み
だしたセルを分離するセル分離回路である。15はセル
の交換を制御する制御回路である。To solve this problem, for example, the above-mentioned document FIG.
And a fast cell switch is proposed in Fig.6.
FIG. 20 shows a block diagram of an example thereof. 1 1 to 1 n are n (n ≧ 2) incoming lines to which data is input, and cells arriving here have a fixed length. 2 1 to 2 m are m (m ≧ 2) output lines from which cells are output. Reference numeral 7 is a cell multiplexing circuit that multiplexes input cells. A common buffer memory 11 can write data to a specified address and can read the data by specifying the address regardless of the writing order. Reference numeral 8 is a cell separation circuit for separating the read cells. Reference numeral 15 is a control circuit for controlling the exchange of cells.
【0005】この高速セルスイッチの複数の入線11 〜
1n に到着したセルは、セル多重回路7で多重化され、
共通バッファメモリ11に書き込まれる。また、到着セ
ルの宛先情報を含むヘッダは、バッファ制御回路15に
送られ、宛先出線21 〜2mが判定される。同時に、共
通バッファメモリ11内の空いているアドレスが割り振
られ、このアドレスが宛先出線21 〜2m 対応に行列さ
れる。また、共通バッファメモリ11内のこのアドレス
に、到着セルが書き込まれる。A plurality of incoming lines 11 to 11 of this high-speed cell switch
The cells arriving at 1 n are multiplexed by the cell multiplexing circuit 7,
It is written in the common buffer memory 11. The header including the destination information of the arriving cell is sent to the buffer control circuit 15, the destination outgoing line 2 1 to 2 m is determined. At the same time, a vacant address in the common buffer memory 11 is allocated, and this address is queued to correspond to the destination outgoing lines 2 1 to 2 m . Further, the arrival cell is written at this address in the common buffer memory 11.
【0006】一方、バッファ制御回路15内では、宛先
出線21 〜2m 対応につくられたアドレス行列の最前に
もしアドレスがあれば、アドレスを取り出す。その読み
出されたアドレスに従って、共通バッファメモリ11か
らセルを読み出し、セル分離回路8で分離されて、セル
が所定の出線21 〜2m に出力される。以上、セルスイ
ッチの動作により、入線11 〜1n 上のセルが所望の出
線21 〜2m に出力され、セルの交換が実現される。On the other hand, in the buffer control circuit 15, if there is an address at the front of the address matrix created for the destination outgoing lines 2 1 to 2 m , the address is taken out. Cells are read from the common buffer memory 11 according to the read addresses, separated by the cell separation circuit 8, and the cells are output to predetermined output lines 2 1 to 2 m . As described above, by the operation of the cell switch, the cells on the incoming lines 1 1 to 1 n are output to the desired outgoing lines 2 1 to 2 m , and the cells are exchanged.
【0007】従来例2.図21は、従来のマルチメディ
アサービスを効率的にバッファ容量拡張可能なATMス
イッチの構成を示す図である。図21に示すATMスイ
ッチは、「電子情報通信学会技術研究報告(信学技報V
ol.93 No.11,SSE93−1〜6)199
3年4月23日、p31〜p36」に掲載された「バッ
ファ容量拡張可能なATMスイッチ:XATOM」に示
されたATMスイッチの構成図である。この構成では、
入力バッファ方式と出力バッファ方式の利点を組み合
せ、大容量の低速バッファでセルを蓄積し、小量の出力
バッファを用いることにより、スケジューリングを各入
力ポートで独立、かつ、低速に行うものである。このシ
ステムにおいては、入力バッファが独立に動作できるよ
うに、出力バッファの空きが入線数(n)セル分以上あ
るときに、出力バッファにセルが受け付け可能であると
いうことを入力バッファに通知する。図21において、
11 ,1n は入線、21 ,2n は出線である。9001
〜900n は入力用制御ユニット、9011 〜901n
は入力バッファ、9101 〜910n は出力用制御ユニ
ット、9111 〜911n は出力バッファ、920は時
分割バスである。Conventional example 2. FIG. 21 is a diagram showing the structure of an ATM switch capable of efficiently expanding the buffer capacity of a conventional multimedia service. The ATM switch shown in FIG. 21 is "Technical Report of IEICE Technical Report V
ol. 93 No. 11, SSE93-1 to 6) 199
It is a block diagram of the ATM switch shown by "ATM switch: XATOM which can expand buffer capacity" published in p31-p36 on April 23, 3rd. With this configuration,
By combining the advantages of the input buffer system and the output buffer system, accumulating cells in a large capacity low speed buffer and using a small amount of output buffer, scheduling is performed independently at each input port and at low speed. In this system, the input buffer is notified that cells can be accepted when the output buffer has a vacancy of the number of input lines (n) cells or more so that the input buffer can operate independently. In FIG. 21,
1 1 and 1 n are incoming lines and 2 1 and 2 n are outgoing lines. 900 1
˜900 n is an input control unit, 901 1 to 901 n
Is an input buffer, 910 1 to 910 n are output control units, 911 1 to 911 n are output buffers, and 920 is a time division bus.
【0008】図22は、入力用制御ユニット9001 の
構成を示す図である。入力用制御ユニット901は、セ
ルの出力先別、かつ、到着順にセルを管理するメモリ9
31〜930nを備えている。入力用制御ユニット到着
したパケットの宛先を検出し、対応するメモリ9301
〜930n のいずれかのメモリに振り分ける。FIG. 22 is a diagram showing the configuration of the input control unit 900 1 . The input control unit 901 manages cells according to cell output destinations and in order of arrival.
31-930n. The control unit for input detects the destination of the packet that has arrived, and the corresponding memory 930 1
Allocate to any of the memory of ˜930 n .
【0009】次に、図21および図22を用いて動作に
ついて説明する。出力バッファ9111 〜911n がそ
れぞれふくそう状態にない場合には、入力用制御ユニッ
トは入線から到着したセルを入力バッファから出力し続
ける。もし、出力バッファ9111 に蓄積されたセルの
数が増加し、出力バッファ9111 がふくそう状態にな
った場合には、入力用制御ユニット9001 〜900n
は、出力バッファ9111 を宛先とするセルの出力を行
わないように入力バッファ9011 〜901nに対し
て、セルの蓄積制御を行う。従って、入力バッファ90
11 〜901n からは、出力バッファ9111 に対する
セルが出力されず、この間に出力バッファ9111 は、
ふくそう状態を解消することが可能になる。Next, the operation will be described with reference to FIGS. 21 and 22. When each of the output buffers 911 1 to 911 n is not in a congested state, the input control unit continues to output the cells arriving from the incoming line from the input buffer. If the number of accumulated cells in the output buffer 911 1 is increased, the output buffer 911 1 becomes congested, the input control unit 900 1 to 900 n
Performs cell accumulation control on the input buffers 901 1 to 901 n so as not to output cells addressed to the output buffer 911 1 . Therefore, the input buffer 90
From 1 1 ~901 n, the cell is not outputted to the output buffer 911 1, the output buffer 911 1 during this time,
It is possible to eliminate congestion.
【0010】[0010]
【発明が解決しようとする課題】従来例1に示したデー
タ待ち行列装置は以上のように構成されているので、例
えば、複数の入線に、時間的にセルが連続するトラヒッ
ク、すなわちバースト性の高いトラヒックが入力し、か
つそれらが単一の出線を宛先とすると、共通バッファメ
モリ11が一杯になり、セルの廃棄が起きるという問題
があった。セルの廃棄率を低く抑えるためには、この共
通バッファメモリの容量を拡張すればよい。しかし、前
記共通バッファメモリ11は、セルの多重後に動作する
必要があり、高速動作が必要なため、非常に高価であ
り、技術的にも容量を大きくとれない。また、容量の増
加は、バッファ制御回路の規模も増加させるので、共通
バッファメモリの容量拡張には限界がある。Since the data queuing device shown in the prior art 1 is configured as described above, for example, the traffic in which a plurality of incoming lines are consecutive in cells, that is, the burst type is used. When high traffic is input and they are destined for a single outgoing line, the common buffer memory 11 becomes full and cells are discarded. In order to keep the cell discard rate low, the capacity of this common buffer memory may be expanded. However, the common buffer memory 11 needs to operate after multiplexing cells, and needs to operate at high speed, so it is very expensive, and the capacity cannot be increased technically. Further, since the increase in capacity also increases the scale of the buffer control circuit, there is a limit to the capacity expansion of the common buffer memory.
【0011】従来例2に示したATMスイッチにおいて
は、入力バッファに容量拡張可能で、かつ、大容量の低
速バッファを実装することにより、小量の出力バッファ
で効率良くセル交換を行うことが可能であるが、入力用
制御ユニットは、入線から到着するセルの宛先を検出
し、出線毎に振り分ける必要がある。これは、出力バッ
ファが各出線に対応して設けられているため、ふくそう
状態がそれぞれの出力バッファに別個に発生するためで
ある。ふくそう状態が発生した出力バッファに対して、
セルの供給を停止させるために、入力バッファ側で到着
したセルがどの出力バッファに蓄積されるべきものであ
るかを予め判断しなければならず、入力バッファの制御
が複雑になるという問題点があった。In the ATM switch shown in the conventional example 2, the capacity can be expanded in the input buffer, and by mounting a large capacity low speed buffer, it is possible to efficiently perform cell exchange with a small amount of output buffer. However, it is necessary for the input control unit to detect the destination of the cell arriving from the incoming line and sort it for each outgoing line. This is because the output buffers are provided corresponding to the respective output lines, so that the congestion state occurs individually in the respective output buffers. For output buffers where congestion has occurred,
In order to stop the supply of cells, it is necessary to judge in advance in which output buffer the cells that arrive on the input buffer side should be stored, which makes the control of the input buffer complicated. there were.
【0012】この発明は、以上のような問題点を解決す
るためになされたものであり、高価で、かつ技術的にも
拡張に限界がある共通バッファメモリはそのままで、あ
らたに動作速度の低いバッファを追加することで、バー
ストトラヒックの入力によるセルの廃棄を低く抑えるこ
とが可能なセル交換装置を得ることを目的とする。The present invention has been made in order to solve the above-mentioned problems, and the common buffer memory, which is expensive and technically limited in expansion, remains the same and has a newly low operating speed. It is an object of the present invention to provide a cell switching device that can suppress the cell discard due to the input of burst traffic by adding a buffer.
【0013】また、この発明は、さらに、動作速度の低
いバッファを追加する場合であっても、そのバッファの
制御が容易に行えるセル交換装置を得ることを目的とす
る。It is another object of the present invention to provide a cell switching device that can easily control a buffer having a low operating speed even when the buffer is added.
【0014】[0014]
【課題を解決するための手段】請求項1記載の発明に係
るセル交換装置は、ふくそう判定回路が、共通バッファ
メモリ内のセル保留数を監視し、ふくそう状態を検出
し、入線に対応して設けられたセル退避回路にふくそう
状態を通知し、セルが共通バッファ形スイッチに入力さ
れるのを制限することで、共通バッファ形スイッチ内の
共通バッファメモリの容量を超えることで生じるセルの
廃棄率を下げるようにしたものである。In the cell exchange apparatus according to the present invention, the congestion determination circuit monitors the number of cells reserved in the common buffer memory, detects the congestion state, and responds to the incoming line. A cell discard rate that occurs when the capacity of the common buffer memory in the common buffer switch is exceeded by notifying the built-in cell evacuation circuit of the congestion status and limiting the input of cells to the common buffer switch. It is designed to lower.
【0015】請求項2に記載の発明に係るセル交換装置
は、共通バッファメモリが全体として1つのバッファメ
モリから構成されている場合である。A cell exchange apparatus according to a second aspect of the present invention is a case where the common buffer memory is composed of one buffer memory as a whole.
【0016】請求項3に記載の発明に係るセル交換装置
は、共通バッファメモリが複数個の共通バッファメモリ
から構成されている場合である。A cell exchange apparatus according to a third aspect of the present invention is a case where the common buffer memory is composed of a plurality of common buffer memories.
【0017】請求項4に記載の発明に係るセル交換装置
は、共通バッファメモリのセル保留数を監視し、予め定
められたしきい値を超えた場合ふくそう状態と判定す
る。The cell exchange apparatus according to the invention of claim 4 monitors the number of cells held in the common buffer memory, and when the number exceeds a predetermined threshold value, determines that the cell is in a congested state.
【0018】請求項5に記載の発明に係るセル交換装置
は、入線に到着したセルを書き込み、書き込んだセルを
読み出してスイッチ出力線に出力する退避バッファと、
ふくそう状態と判定された場合には、退避バッファにセ
ルを保留させ続け、ふくそう状態でない場合には、退避
バッファに保留したセルを読み出す制御を行う退避バッ
ファ制御回路を備えたものである。A cell exchange apparatus according to a fifth aspect of the present invention includes a save buffer for writing a cell arriving at an incoming line, reading the written cell and outputting the read cell to a switch output line,
When it is determined that the cell is in the congested state, the evacuation buffer continues to hold the cell, and when it is not in the congested state, the evacuation buffer control circuit is provided for controlling the reading of the cell held in the evacuation buffer.
【0019】請求項6記載の発明に係るセル交換装置
は、ふくそう判定回路において、ふくそうを判定するた
めのしきい値が、動的に変化できるようにしたため、入
力トラヒックの変動等に対応した制御が可能になるよう
にしたものである。In the cell exchange apparatus according to the invention of claim 6, in the congestion judgment circuit, the threshold value for judging the congestion can be dynamically changed. Therefore, the control corresponding to the fluctuation of the input traffic is performed. Is made possible.
【0020】請求項7記載の発明に係るセル交換装置
は、ふくそうを判定するためのしきい値が、ふくそうで
ない状態からふくそう状態を検出するときと、ふくそう
でない状態からふくそう状態を検出するときとで異なっ
てもよいようにしたため、ふくそう状態にヒステリシス
をもたせ、共通バッファメモリ内のセル保留数がしきい
値付近で変動し、頻繁にふくそう状態の判定が変化し、
不安定な動作をすることを防ぐようにしたものである。In the cell switching device according to the invention of claim 7, the threshold for judging congestion is when the congestion state is detected from a non-congested state and when the congestion state is detected from a non-congested state. , So that the congestion state has a hysteresis, the number of cells held in the common buffer memory fluctuates near the threshold, and the determination of the congestion state changes frequently,
It is designed to prevent unstable operation.
【0021】請求項8記載の発明に係るセル交換装置
は、前記共通バッファ形スイッチ内の共通バッファメモ
リのセル保留数の過去の履歴を予め定められた数だけ保
存または更新し、前記履歴からふくそうを判定すること
により、瞬間的な変動により過敏なふくそう状態の判定
が変化するのを防ぐようにしたものである。According to an eighth aspect of the present invention, there is provided a cell exchange apparatus, which stores or updates a past history of the number of cells held in the common buffer memory in the common buffer type switch by a predetermined number, and congests from the history. By making the judgment, the judgment of the sensitive congestion state is prevented from changing due to the instantaneous fluctuation.
【0022】請求項9記載の発明に係るセル交換装置
は、前記退避バッファを迂回する回路を備えることで、
セル退避回路においてふくそう状態でない場合のセルの
遅延時間を少なくするようにしたものである。A cell exchange apparatus according to a ninth aspect of the present invention comprises a circuit that bypasses the save buffer,
This is to reduce the cell delay time when the cell saving circuit is not in a congested state.
【0023】請求項10記載の発明に係るセル交換装置
は、入力セルの遅延に関する優先度を検出し、遅延に対
して敏感なセルと鈍感なセルとで処理を分け、遅延に対
して敏感なセルは遅延時間が少なくなるようにしたもの
である。The cell switching apparatus according to the invention of claim 10 detects the priority of the delay of the input cell, divides the processing into a cell sensitive to the delay and a cell insensitive to the delay, and is sensitive to the delay. The cells are designed so that the delay time is reduced.
【0024】請求項11記載の発明に係るセル交換装置
は、ふくそう判定回路がふくそう状態を検出すると、前
記出線に制御セルを混入し、前記セル退避回路は出線か
ら前記制御セルを抽出することでふくそう状態を感知す
るため、ふくそう判定回路とセル退避回路との間の信号
線の本数を減らすようにしたものである。According to the eleventh aspect of the present invention, when the congestion determination circuit detects a congestion state, a control cell is mixed into the output line, and the cell retraction circuit extracts the control cell from the output line. Therefore, the number of signal lines between the congestion determination circuit and the cell save circuit is reduced in order to detect the congestion state.
【0025】[0025]
【作用】請求項1記載の発明に係るセル交換装置は、共
通バッファメモリ内のセル保留状態からふくそう状態を
検出し、入線に対応して設けられたセル退避回路にふく
そう状態を通知し、セルが共通バッファ形スイッチに入
力されるのを制限し、高価な共通バッファメモリを増加
することなく、共通バッファ形スイッチ内の共通バッフ
ァメモリの容量を超えることで生じるセルの廃棄率を下
げることができるセル交換装置を実現する。According to the present invention, the cell switching device detects a congestion state from the cell reservation state in the common buffer memory, notifies the cell evacuation circuit provided corresponding to the incoming line of the congestion state, Input to the common buffer type switch, and it is possible to reduce the cell discard rate caused by exceeding the capacity of the common buffer memory in the common buffer type switch without increasing the expensive common buffer memory. Realize a cell switching device.
【0026】請求項2に記載の発明に係るセル交換装置
は、全体として1つの共通バッファメモリが用意されて
いる場合においても、ふくそう判定回路がふくそう状態
を検出し、セル退避回路がセルを退避させることによ
り、セルの廃棄率を下げることができる。In the cell exchanging device according to the second aspect of the present invention, even when one common buffer memory is prepared as a whole, the congestion determining circuit detects the congestion state and the cell saving circuit saves the cells. By doing so, the cell discard rate can be reduced.
【0027】請求項3に記載の発明に係るセル交換装置
は、複数の共通バッファメモリが用意されている場合で
も、ふくそう判定回路がふくそう状態を検出し、セル退
避回路がセルを退避させることにより、セルの廃棄率を
下げることができる。In the cell exchanging device according to the third aspect of the present invention, even when a plurality of common buffer memories are prepared, the congestion determining circuit detects the congestion state and the cell saving circuit saves the cells. , The cell discard rate can be reduced.
【0028】請求項4に記載の発明に係るセル交換装置
は、ふくそう判定回路が共通バッファメモリ内のセル保
留数と、予め定められたしきい値を比較することにより
ふくそう状態を検出するため、簡単な回路によりふくそ
う状態を判定することができる。In the cell exchange apparatus according to the present invention as set forth in claim 4, since the congestion determination circuit detects the congestion state by comparing the number of cells held in the common buffer memory with a predetermined threshold value, Congestion can be determined by a simple circuit.
【0029】請求項5に記載の発明に係るセル交換装置
は、セル退避回路がふくそう状態の場合にセルを保留さ
せ、ふくそう状態でない場合に保留したセルを出力する
ようにしたので、退避バッファには高価なメモリを使用
する必要がなく、また、退避バッファ制御回路も特別な
制御を必要とすることなく、セルの保留を行うことがで
きる。According to the fifth aspect of the present invention, the cell switching device holds the cell when the cell saving circuit is in the congested state and outputs the reserved cell when the cell saving circuit is not in the congested state. Does not need to use an expensive memory, and the save buffer control circuit can hold cells without requiring special control.
【0030】請求項6記載の発明に係るセル交換装置
は、ふくそう判定回路のふくそうを判定するためのしき
い値が、動的に変化できるようにしたため、入力トラヒ
ックの変動等に対応した制御が可能であるセル交換装置
を実現する。In the cell exchange apparatus according to the invention of claim 6, the threshold value for determining the congestion of the congestion determination circuit can be dynamically changed. Therefore, the control corresponding to the fluctuation of the input traffic can be performed. Realize a possible cell switching device.
【0031】請求項7記載の発明に係るセル交換装置
は、ふくそうを判定するためのしきい値が、ふくそうで
ない状態からふくそう状態を検出するときと、ふくそう
でない状態からふくそう状態を検出するときとで異なる
値を設定できるので、ふくそう状態にヒステリシスをも
たせることができ、共通バッファメモリ内のセル保留数
がしきい値付近で変動し、頻繁にふくそう状態の判定が
変化しても、不安定な動作をすることを防ぐようにした
セル交換装置を実現する。According to a seventh aspect of the present invention, there is provided a cell switching apparatus in which a threshold for judging congestion is when a congestion state is detected from a non-congested state and when a congestion state is detected from a non-congested state. Since a different value can be set with, the congestion status can be given a hysteresis, and the number of cells held in the common buffer memory fluctuates near the threshold, and even if the congestion status judgment changes frequently, it becomes unstable. To realize a cell switching device that is prevented from operating.
【0032】請求項8記載の発明に係るセル交換装置
は、前記共通バッファ形スイッチ内の共通バッファメモ
リのセル保留数の過去の履歴を予め定められた数だけ保
存または更新し、前記履歴からふくそうを判定するた
め、瞬間的な変動があったも、過敏なふくそう状態の判
定が変化するのを防ぐようにしたセル交換装置を実現す
る。The cell switching apparatus according to the present invention stores or updates a past history of the number of cells held in the common buffer memory in the common buffer type switch by a predetermined number, and saves from the history. Therefore, a cell switching device is realized which prevents the determination of the sensitive congestion state from changing even if there is an instantaneous change.
【0033】請求項9記載の発明に係るセル交換装置
は、前記退避バッファを迂回する回路を備えるので、セ
ル退避回路においてふくそう状態でない場合、セルを退
避バッファに書き込みまた読み出す遅延時間を少なくす
るようにしたセル交換装置を実現する。Since the cell exchanging device according to the invention of claim 9 comprises a circuit that bypasses the save buffer, when the cell save circuit is not in a congested state, the delay time for writing or reading the cell to the save buffer is reduced. To realize the cell switching device.
【0034】請求項10記載の発明に係るセル交換装置
は、入力セルの遅延に関する優先度を検出し、遅延に対
して敏感なセルと鈍感なセルとで処理を分け、遅延に対
して敏感なセルは退避バッファを迂回し、遅延時間が少
なくなるようにしたセル交換装置を実現する。The cell switching device according to the invention of claim 10 detects the priority of the delay of the input cell, divides the processing into the delay-sensitive cell and the insensitive cell, and detects the delay-sensitive cell. The cell bypasses the evacuation buffer and realizes a cell switching device in which the delay time is reduced.
【0035】請求項11記載の発明に係るセル交換装置
は、ふくそう判定回路がふくそう状態を検出すると、前
記出線に制御セルを混入し、前記セル退避回路は出線か
ら前記制御セルを抽出することでふくそう状態を感知す
るため、ふくそう判定回路とセル退避回路との信号線本
数が減らすようにしたセル交換装置を実現する。According to the eleventh aspect of the present invention, when the congestion determination circuit detects a congestion state, a control cell is mixed into the output line, and the cell retraction circuit extracts the control cell from the output line. In order to detect the congestion state by this, a cell switching device is realized in which the number of signal lines between the congestion determination circuit and the cell saving circuit is reduced.
【0036】[0036]
実施例1.以下、この発明の一実施例を図に基づいて説
明する。図1,図2は、この発明の一実施例を示す図で
ある。図において、図20と同一符号は同図の各部と同
一または相当部分を示している。Example 1. An embodiment of the present invention will be described below with reference to the drawings. 1 and 2 are views showing an embodiment of the present invention. In the figure, the same reference numerals as those in FIG.
【0037】図1において、11 〜1n は宛先情報とし
ての出線番号を含むヘッダ部とデータ部よりなるATM
セルが入力するn本の入線、21 〜2m は前記セルがそ
のヘッダ部にて指定された宛先に応じて出力されるm本
の出線であり、これらは従来のそれら(図20)と同等
である。In FIG. 1, 1 1 to 1 n are ATMs each consisting of a header portion including an outgoing line number as destination information and a data portion.
The n input lines 2 1 to 2 m input by the cell are m output lines to which the cell is output according to the destination specified in the header portion thereof, and these are the conventional output lines (FIG. 20). Is equivalent to
【0038】31 〜3n は、入線11 〜1n に対応して
設けられ入力するセルを共通バッファ形スイッチに転送
するスイッチ入力線、41 〜4m は出線21 〜2m に対
応して設けられ共通バッファ形スイッチからセルが出力
するスイッチ出力線、9は入力したセルの宛先情報に基
づきセルを出線21 〜2m に振り分け、また、内部に出
線21 〜2m 間で共有して使用されるバッファメモリを
備え、待ち合わせの必要なセルはそのバッファメモリに
書き込み、セルの交換を行う共通バッファ形スイッチで
ある。[0038] 3 1 to 3 n, the switch input lines for transferring the cell input provided corresponding to the incoming line 1 1 to 1 n the shared buffer switch, 4 1 to 4 m is the output line 2 1 to 2 m The switch output line provided by the cell output from the common buffer type switch, 9 is assigned to the outgoing line 2 1 to 2 m based on the input information of the input cell, and the internal outgoing line 2 1 to It is a common buffer type switch that has a buffer memory that is shared by 2 m and that is used to write cells in the buffer memory that need to wait and exchange cells.
【0039】20は、共通バッファ形スイッチ9のバッ
ファメモリの使用状態よりふくそう状態か否かを判定す
るふくそう判定回路、21は共通バッファ形スイッチ9
のバッファメモリをモニタし、ふくそう判定回路に通知
するスイッチ内部モニタである。31はふくそう判定回
路の判定結果を後述のセル退避回路221 〜22n に通
知するふくそう判定出力線である。Reference numeral 20 is a congestion determination circuit for determining whether or not the buffer memory of the common buffer type switch 9 is in a busy state, and 21 is a common buffer type switch 9.
Is a switch internal monitor that monitors the buffer memory of and notifies the congestion determination circuit. Reference numeral 31 is a congestion determination output line for notifying the cell saving circuits 22 1 to 22 n described later of the determination result of the congestion determination circuit.
【0040】また、221 〜22n は、入線11 〜1n
に対応して設けられ、ふくそう判定回路20がふくそう
状態と判定すると入線11 〜1n に入力したセルを蓄積
し共通バッファ形スイッチ9にセルの入力を抑制するセ
ル退避回路である。セル退避回路22は、退避バッファ
23と退避バッファ制御回路24から構成される。23
1 〜23n はそれぞれセル退避回路221 〜22n の内
部に設けられ、入力セルを実際に記憶する退避バッファ
であり、241 〜24n もそれぞれセル退避回路221
〜22n の内部に設けられ、退避バッファ231 〜23
n のセルの書き込みと読み出しを制御する退避バッファ
制御回路である。Further, 22 1 to 22 n are incoming lines 1 1 to 1 n
Is a cell evacuation circuit which is provided corresponding to the above and stores the cells input to the input lines 1 1 to 1 n when the congestion determination circuit 20 determines the congestion state and suppresses the cell input to the common buffer type switch 9. The cell save circuit 22 includes a save buffer 23 and a save buffer control circuit 24. 23
1 to 23 n are evacuation buffers that are provided inside the cell evacuation circuits 22 1 to 22 n and actually store the input cells, and 24 1 to 24 n are also cell evacuation circuits 22 1 respectively.
To 22 n , and save buffers 23 1 to 23
A save buffer control circuit that controls writing and reading of n cells.
【0041】図2は、図1における共通バッファ形スイ
ッチ9の一実施例を詳細に示している。図2において
は、9a等の添え字aは本実施例の共通バッファ形スイ
ッチの一形態であることを示している。31 〜3n ,4
1 〜4m ,9a,21aは、それぞれ図1における31
〜3n ,41 〜4m ,9,21と同一部分を示してい
る。FIG. 2 shows in detail one embodiment of the common buffer type switch 9 in FIG. In FIG. 2, the subscript a such as 9a indicates that it is one form of the common buffer type switch of this embodiment. 3 1 to 3 n , 4
1 to 4 m , 9a and 21a are respectively 3 1 in FIG.
~3 n, 4 1 ~4 m, indicate the same parts and 9, 21.
【0042】101 〜10n は、前記スイッチ入力線の
各々に対応して設けられ、スイッチ入力線31 〜3n よ
り入力されるセルのヘッダ部より宛先の出力線41 〜4
m を検出するヘッダ処理回路である。10 1 to 10 n are provided corresponding to each of the switch input lines, and the destination output lines 4 1 to 4 from the header portion of the cell input from the switch input lines 3 1 to 3 n.
It is a header processing circuit for detecting m .
【0043】また、11は指定されたアドレスに前記セ
ルを蓄積し、アドレスを指定することによって書き込み
の際の順序とは無関係に、蓄積されたアドレスを読み出
すことができる共通バッファメモリで、この1つの共通
バッファメモリ11で複数個のセルを蓄積できる。Reference numeral 11 is a common buffer memory which stores the cell at a designated address and can read the stored address by designating the address regardless of the order of writing. One common buffer memory 11 can store a plurality of cells.
【0044】12は、この共通バッファメモリ11に対
応して設けられ、例えばFIFOタイプのメモリを用い
て空きアドレスの管理を行い、対応付けられた共通バッ
ファメモリ11に読み込みアドレスおよび書き込みアド
レスを与える空きアドレス管理回路である。Numeral 12 is provided so as to correspond to the common buffer memory 11, and manages an empty address by using, for example, a FIFO type memory, and gives a read address and a write address to the associated common buffer memory 11. This is an address management circuit.
【0045】7は、前記ヘッダ処理回路101 〜10n
と共通バッファメモリ11とを接続し、入力したセルを
セル単位または決められたビット単位に多重し、高速化
または多ビット並列化することで、共通バッファメモリ
11が入力した全セルを書き込むのを可能にするセル多
重回路である。8は前記共通バッファメモリ11とスイ
ッチ出力線41 〜4m とを接続し、共通バッファメモリ
から高速あるいは多ビット並列で読み出されたセルを、
セル単位または決められたビット単位に分離し、スイッ
チ出力線41 〜4m にセルを振り分けるセル分離回路で
ある。Reference numeral 7 designates the header processing circuits 10 1 to 10 n.
And the common buffer memory 11 are connected to each other, and the input cells are multiplexed in cell units or in predetermined bit units, and the high speed or multi-bit parallelization is performed to write all the cells input in the common buffer memory 11. It is a cell multiplexing circuit that enables it. 8 connects said shared buffer memory 11 and the switch output lines 4 1 to 4 m, a cell read at a high speed or multi-bit parallel from the shared buffer memory,
It is a cell separation circuit that separates cells into cell units or predetermined bit units and distributes the cells to the switch output lines 4 1 to 4 m .
【0046】15aは、前記共通バッファメモリ11に
蓄積されたセルのアドレスを各セルの宛先別に管理し
て、当該宛先別に管理しているアドレスに基づいて共通
バッファメモリ11の読み出しを制御して、前記セルを
そのヘッダ部で指定される前記スイッチ出力線41 〜4
m に所定の順番で出力させるバッファ制御回路である。The reference numeral 15a manages the address of the cell stored in the common buffer memory 11 for each destination of each cell and controls the reading of the common buffer memory 11 based on the address managed for each destination. The switch output lines 4 1 to 4 designated by the header of the cell
This is a buffer control circuit that causes m to output in a predetermined order.
【0047】また、前記バッファ制御回路15a内にお
いて、16aは、スイッチ入力線31 〜3n にセルが到
着すると、そのスイッチ入力線31 〜3n に対応付けら
れたヘッダ処理回路101 〜10n によって検出された
当該セルの出線21 〜2m またはスイッチ出力線41 〜
4m の番号を受け、また空きアドレス管理回路12より
当該セルの共通バッファメモリ11への書き込みアドレ
スを受け、そして、各スイッチ入力線31 〜3n へのセ
ルの到着の有無、その宛先、共通バッファメモリ11へ
の書き込みアドレスを組みにして、後述のアドレス交換
回路17へ通知する書き込みバッファ選択回路である。Further, in the buffer control circuit 15a, 16a, when the cell to the switch input lines 3 1 to 3 n arrives, the header processing circuits 10 1 ~ associated with the switch input lines 3 1 to 3 n detected by 10 n the outgoing line 2 1 to 2 m or switch output line of the cell 4 1
4 m number, the write address of the cell to the common buffer memory 11 from the empty address management circuit 12, and whether or not the cell has arrived at each of the switch input lines 3 1 to 3 n , its destination, It is a write buffer selection circuit that informs an address exchange circuit 17, which will be described later, in combination with a write address to the common buffer memory 11.
【0048】17は、この書き込みバッファ選択回路1
6aの検出した出線21 〜2m またはスイッチ出力線4
1 〜4m の番号を参照して到着したセルの宛先のスイッ
チ出力線41 〜4m 別に分け、当該セルが書き込まれた
バッファメモリ11上の書き込みアドレスを後述するア
ドレス待ち行列181 〜18m に書き込むアドレス交換
回路である。Reference numeral 17 denotes the write buffer selection circuit 1
6a of the detected outgoing lines 2 1 to 2 m or switch output line 4
The destination switch output lines 4 1 to 4 m of the arriving cells are divided by referring to the numbers 1 to 4 m , and the write addresses on the buffer memory 11 in which the cells are written are divided into address queues 18 1 to 18 described later. It is an address exchange circuit that writes to m .
【0049】181 〜18m は、そのアドレス待ち行列
であり、FIFO(先入れ先出し)タイプのメモリによ
って構成されて、前記スイッチ出力線41 〜4m の各々
に対応して設けられている。このアドレス待ち行列18
1 〜18m には、それが対応付けられたスイッチ出力線
41 〜4m 毎に、当該スイッチ出力線41 〜4m を宛先
とするセルの蓄積されたバッファメモリ11上の書き込
みアドレスが、到着した順番に前記アドレス交換回路1
7によって書き込まれる。Reference numerals 18 1 to 18 m are address queues thereof, which are constituted by FIFO (first in, first out) type memories, and are provided corresponding to the switch output lines 4 1 to 4 m . This address queue 18
1 ~ 18 m, it is the switch output line 4 for each one to 4 m correlated, stored write address in the buffer memory 11 of the cell to the switch output lines 4 1 to 4 m destined , The address exchange circuit 1 in the order of arrival
Written by 7.
【0050】19aは、このアドレス待ち行列181 〜
18m を参照してバッファメモリ11から読み出すセル
を決定し、そのアドレス待ち行列181 〜18m から読
み出したアドレスを読み込みアドレスとして、バッファ
メモリ11に対応した空きアドレス管理回路12へ送る
読み出しバッファ選択回路である。19a designates this address queue 18 1 ...
A cell to be read from the buffer memory 11 is determined by referring to 18 m , and a read buffer selection to be sent to the vacant address management circuit 12 corresponding to the buffer memory 11 using the addresses read from the address queues 18 1 to 18 m as read addresses. Circuit.
【0051】21aは、共通バッファメモリ11の蓄積
しているセルの個数を監視して、ふくそう判定回路20
に通知するスイッチ内部モニタである。Reference numeral 21a monitors the number of cells stored in the common buffer memory 11 to detect the congestion determination circuit 20.
It is a monitor inside the switch that notifies.
【0052】次に動作について説明する。ここで説明す
るセルは固定長で、ランダムまたはバーストトラヒック
として到着するものであり、入線11 〜1n に入力され
る前にセル入力位相が調整されて、全入線からのセル入
力は同一の位相で供給されるものとする。Next, the operation will be described. The cells described here have a fixed length and arrive as random or burst traffic. The cell input phase is adjusted before they are input to the input lines 1 1 to 1 n , and the cell input from all the input lines is the same. Shall be supplied in phase.
【0053】まず、共通バッファ形スイッチ9について
述べる。スイッチ入力線31 〜3nにセルが到着する
と、そのヘッダ内部に書き込まれた宛先情報がヘッダ処
理回路101 〜10n により読み取られ、バッファ制御
回路15a内部の書き込みバッファ選択回路16aに通
知される。First, the common buffer type switch 9 will be described. When the cells arrive at the switch input lines 3 1 to 3 n , the destination information written inside the header is read by the header processing circuits 10 1 to 10 n and is notified to the write buffer selection circuit 16a inside the buffer control circuit 15a. It
【0054】空きアドレス管理回路12は、共通バッフ
ァメモリ11の使用されていない空きアドレスを記憶・
保持する。スイッチ入力線31 〜3n はn本あるが、n
本のスイッチ入力線全てにセルが到着する可能性がある
ので、空きアドレス管理回路12はn個の空きアドレス
を書き込みバッファ選択回路16aに提供できるように
なっている。The empty address management circuit 12 stores the unused empty addresses in the common buffer memory 11.
Hold. Although there are n switch input lines 3 1 to 3 n , n
Since cells may arrive at all switch input lines of the book, the vacant address management circuit 12 can provide n vacant addresses to the write buffer selection circuit 16a.
【0055】スイッチ入力線31 〜3n に入力され、次
いでヘッダ処理回路101 〜10nを通過したセルは、
セル多重回路7に入力される。セル多重回路7は、複数
のヘッダ処理回路101 〜10n の出力を、ひとつの共
通バッファメモリ11に入力できるように高速処理を行
うものである。また、共通バッファメモリ11の限界動
作速度が低い場合は、多ビットに展開し並列処理をする
場合もある。セル多重回路7での、セルが多重される方
法は、種々考えられる。例えば、セル単位に並べかえて
高速にする方法がある。また、バイト多重方法のよう
に、決められたビット単位に並べ変えられる方法もあ
る。The cells input to the switch input lines 3 1 to 3 n and then passing through the header processing circuits 10 1 to 10 n are
It is input to the cell multiplexing circuit 7. The cell multiplexing circuit 7 performs high-speed processing so that the outputs of the plurality of header processing circuits 10 1 to 10 n can be input to one common buffer memory 11. If the common buffer memory 11 has a low limit operation speed, it may be expanded into multiple bits and processed in parallel. There are various possible methods for multiplexing cells in the cell multiplexing circuit 7. For example, there is a method of arranging them in cell units to increase the speed. There is also a method such as a byte multiplexing method in which the data can be rearranged in a predetermined bit unit.
【0056】セル多重回路7で多重されたセルは、共通
バッファメモリ11に入力され、空きアドレス管理回路
12が指定するアドレスに書き込まれる。もし、空きア
ドレスが存在しない場合は、この入力セルは廃棄され
る。The cells multiplexed by the cell multiplexing circuit 7 are input to the common buffer memory 11 and written at the address designated by the vacant address management circuit 12. If no free address exists, this input cell is discarded.
【0057】バッファ制御回路15a内部にある書き込
みバッファ選択回路16aは、前記ヘッダ処理回路10
1 〜10n からセル到着の有無および当該セルの宛先出
線21 〜2m または宛先スイッチ出力線41 〜4m の番
号を受け、また空きアドレス管理回路12より当該セル
の共通バッファメモリ11への書き込みアドレスを受け
る。アドレス交換回路17へ、到着セル単位に、その宛
先とその共通バッファメモリ11への書き込みアドレス
を組みにして、通知する。The write buffer selection circuit 16a inside the buffer control circuit 15a is provided in the header processing circuit 10.
The presence or absence of cell arrival from 1 to 10 n and the number of the destination output line 2 1 to 2 m or the destination switch output line 4 1 to 4 m of the cell are received, and the common buffer memory 11 of the cell is received from the vacant address management circuit 12. Receive write address to. The destination and the write address to the common buffer memory 11 are paired and notified to the address exchange circuit 17 for each arrival cell.
【0058】アドレス交換回路17は、前記書き込みバ
ッファ選択回路16aの検出した宛先出線21 〜2m ま
たは宛先スイッチ出力線41 〜4m の番号を参照して、
到着したセルのが書き込まれた共通バッファメモリ11
上の書き込みアドレスを、宛先のスイッチ出力線41 〜
4m 別に振り分ける。そして、前記書き込みアドレスを
アドレス待ち行列181 〜18m に書き込む。The address exchange circuit 17 refers to the numbers of the destination output lines 2 1 to 2 m or the destination switch output lines 4 1 to 4 m detected by the write buffer selection circuit 16a,
The common buffer memory 11 in which the arrived cells are written
Write the above address to the destination switch output line 4 1 ~
Sort by 4 m . Then, the write address is written to the address queues 18 1 to 18 m .
【0059】アドレス待ち行列181 〜18m は、前記
スイッチ出力線41 〜4m の各々に対応して設けられ、
それぞれFIFOタイプのメモリによって構成されてい
る。このアドレス待ち行列181 〜18m は、それが対
応付けられたスイッチ出力線41 〜4m 毎に、当該スイ
ッチ出力線41 〜4m を宛先とするセルの蓄積された共
通バッファメモリ11上の書き込みアドレスの待ち行列
をつくることができる。Address queues 18 1 to 18 m are provided corresponding to the switch output lines 4 1 to 4 m , respectively.
Each is composed of a FIFO type memory. The address queues 18 1 to 18 m are, for each switch output line 4 1 to 4 m associated with the address queue 18 1 to 18 m , the common buffer memory 11 in which cells having the switch output lines 4 1 to 4 m as a destination are stored. You can create a queue of write addresses above.
【0060】ここでは、アドレス待ち行列181 〜18
m は、前記スイッチ出力線41 〜4m の各々に対応して
設けられている例を示しているが、扱う遅延要求クラス
によって、優先制御を行う共通バッファ形スイッチ9の
場合、ひとつのスイッチ出力線41 〜4m に対して複数
個のアドレス待ち行列を設けることも可能である。Here, the address queues 18 1 to 18
m is an example provided corresponding to each of the switch output lines 4 1 to 4 m , but in the case of the common buffer type switch 9 that performs priority control according to the delay request class to be handled, one switch is provided. It is also possible to provide a plurality of address queues for the output lines 4 1 to 4 m .
【0061】アドレス待ち行列181 〜18m 内部に行
列した前記書き込みアドレスは、順番がくるのを待つ。
読み出しバッファ選択回路19aは、このアドレス待ち
行列181 〜18m の最前列を参照してバッファメモリ
11から読み出すセルを決定し、そのアドレス待ち行列
181 〜18m から読み出したアドレスを読み出しアド
レスとして、バッファメモリ11に対応した空きアドレ
ス管理回路12へ送る。The write addresses queued in the address queues 18 1 to 18 m wait for their turn.
Read buffer selecting circuit 19a includes, as with reference to the front row to determine the cell to be read out from the buffer memory 11, reads the address read from the address queue 18 1 ~ 18 m addresses of the address queues 18 1 ~ 18 m , To the free address management circuit 12 corresponding to the buffer memory 11.
【0062】空きアドレス管理回路12は、読み出しバ
ッファ選択回路19から次に読み出すアドレスを受信す
る。読み出しアドレスは、スイッチ出力線41 〜4m の
それぞれに対応して存在するため、1セルスロットで最
大でm個通知される。また、空きアドレス管理回路12
は、共通バッファメモリ11に前記読み出しアドレスを
指示し、セルを読み出す。共通バッファメモリ11から
読み出されたセルは、セル分離回路8に送信される。ま
た、読み出しに使用された読み出しアドレスは、開放さ
れ、空きアドレス管理回路12内部の空きアドレスを蓄
積する回路に保存され、循環して使用される。The free address management circuit 12 receives the next address to be read from the read buffer selection circuit 19. Since the read address exists corresponding to each of the switch output lines 4 1 to 4 m , a maximum of m read addresses are notified in one cell slot. In addition, the free address management circuit 12
Indicates the read address to the common buffer memory 11 and reads the cell. The cells read from the common buffer memory 11 are transmitted to the cell separation circuit 8. Further, the read address used for reading is released, stored in a circuit for accumulating a vacant address inside the vacant address management circuit 12, and circulated and used.
【0063】セル分離回路8は、共通バッファメモリ1
1から高速に読み出された複数個のセルをスイッチ出力
線41 〜4m 対応に分離する。もし、読み出された信号
がバイト多重のように決められたビット単位に並べられ
ていたら、セル単位または他の決められたビット単位に
変換する機能も有する。The cell separation circuit 8 includes the common buffer memory 1
A plurality of cells read out from 1 to a high speed to separate the switch output lines 4 1 to 4 m corresponds. If the read signals are arranged in a predetermined bit unit like byte multiplexing, it also has a function of converting into a cell unit or another predetermined bit unit.
【0064】以上のように、共通バッファ形スイッチ9
aは、入力したセルをひとつの共通バッファメモリ11
に書き込み、そのアドレスをスイッチ出力線41 〜4m
単位に行列させることで、セルの交換を行う。また、使
用したアドレスは循環して使用することが可能である。As described above, the common buffer type switch 9
a is a common buffer memory 11 that stores the input cells
To the switch output line 4 1 to 4 m
Cells are exchanged by arranging them in units. Further, the used address can be circulated and used.
【0065】次に、ふくそう判定回路20について動作
を説明する。ふくそう判定回路20はスイッチ内部モニ
タ21により共通バッファ形スイッチ9a内部の共通バ
ッファメモリ11に蓄積したセルの個数を監視してお
り、その個数と予め設定してあるしきい値との比較でふ
くそう状態を判定する。Next, the operation of the congestion determination circuit 20 will be described. The congestion determination circuit 20 monitors the number of cells accumulated in the common buffer memory 11 inside the common buffer type switch 9a by the switch internal monitor 21 and compares the number of cells with a preset threshold value to determine the congestion state. To judge.
【0066】図3は、スイッチ内部モニタ21が共通バ
ッファメモリ11に蓄積したセルの個数を監視する方式
を示す図である。図3においては、(a),(b),
(c)の3つの方式を示している。(a)の方式におい
ては、スイッチ内部モニタ21aがセル蓄積数をライト
パルス数とリードパルス数によりカウントする場合を示
している。空きアドレス管理回路12は、共通バッファ
メモリ11に対してセルを書き込む場合と読み出す場合
に、ライトパルスとライトアドレスおよびリードパルス
とリードアドレスを共通バッファメモリ11に与える。
ライトパルスおよびリードパルスは、書き込みおよび読
み出しのタイミングを示すパルスであり、このパルスを
モニタすることにより、共通バッファメモリ11に書き
込まれたセルの数、および読み出されたセルの数を知る
ことができる。従って、 セル蓄積数=ライトパルス数−リードパルス数 という計算式を用いることにより、共通バッファメモリ
11に蓄積されたセル蓄積数を検出することができる。FIG. 3 is a diagram showing a system in which the switch internal monitor 21 monitors the number of cells accumulated in the common buffer memory 11. In FIG. 3, (a), (b),
3C shows three methods. The method (a) shows a case where the switch internal monitor 21a counts the number of accumulated cells by the number of write pulses and the number of read pulses. The vacant address management circuit 12 gives a write pulse and a write address and a read pulse and a read address to the common buffer memory 11 when writing and reading a cell to and from the common buffer memory 11.
The write pulse and the read pulse are pulses indicating the timing of writing and reading, and by monitoring this pulse, the number of cells written in the common buffer memory 11 and the number of read cells can be known. it can. Therefore, it is possible to detect the cell accumulation number accumulated in the common buffer memory 11 by using the formula of cell accumulation number = write pulse number−read pulse number.
【0067】次に、(b)の方式について説明する。空
きアドレス管理回路は、空きアドレスを管理する。この
空きアドレスの個数からセル蓄積数を計算するようにし
ても構わない。すなわち、共通バッファメモリ11に蓄
積できる数を全蓄積数とし、空きアドレスの個数を空き
数とすると、 セル蓄積数=全蓄積数−空き数 という計算式により、共通バッファメモリ11に蓄積さ
れたセルの蓄積数を検出することができる。Next, the method (b) will be described. The free address management circuit manages free addresses. The cell storage number may be calculated from the number of free addresses. That is, assuming that the number that can be stored in the common buffer memory 11 is the total number of storages and the number of free addresses is the number of storages, the number of cells stored in the common buffer memory 11 is calculated by the formula It is possible to detect the accumulated number of.
【0068】次に、(c)の方式について説明する。前
記(a),(b)の方式は、セル蓄積数を直接算出する
場合について説明しているが、この(c)の方式は、共
通バッファメモリの各アドレスに対してセルが存在して
いるか否かを示すフラグを有しており、このフラグシー
ケンスを出力する。このフラグの位置は、共通バッファ
メモリ11内部でも構わないし、空きアドレス管理回路
12の内部であっても構わない。図3に示す例において
は、共通バッファメモリ11が全部で12のセルを蓄積
できる場合において、6個のアドレスが既にセルで専有
されており、残りの6個が空きになっている状態を示し
ている。このフラグをふくそう判定回路20に伝え、ふ
くそう判定回路20は、フラグがオンになっている数を
カウントすることにより、セル蓄積数を検出することが
できる。Next, the method (c) will be described. In the methods (a) and (b), the case where the number of accumulated cells is directly calculated has been described. However, in the method (c), is there a cell for each address of the common buffer memory? It has a flag indicating whether or not it outputs this flag sequence. The position of this flag may be inside the common buffer memory 11 or inside the free address management circuit 12. In the example shown in FIG. 3, when the common buffer memory 11 can store a total of 12 cells, 6 addresses are already occupied by the cells, and the remaining 6 are empty. ing. This flag is transmitted to the congestion determination circuit 20, and the congestion determination circuit 20 can detect the cell accumulation number by counting the number of times the flag is turned on.
【0069】図4および図5にふくそう判定回路20の
手順を示す。ふくそう判定に使用されるしきい値Tは、
初期時に設定する。図4に示すふくそう判定回路20の
手順は、図5に示すようにセルスロット単位に、スイッ
チ内部モニタから共通バッファ形スイッチ9a内のセル
蓄積数を読み込み、先に設定したしきい値と比較するこ
とによりふくそう状態の判定を行う。4 and 5 show the procedure of the congestion judgment circuit 20. The threshold value T used for congestion determination is
Set at the initial stage. As shown in FIG. 5, the procedure of the congestion determination circuit 20 shown in FIG. 4 reads the cell accumulation number in the common buffer type switch 9a from the switch internal monitor for each cell slot unit and compares it with the threshold value set previously. By doing so, the congestion state is determined.
【0070】次に、セル退避回路22の動作について説
明する。セル退避回路22は、退避バッファ23と退避
バッファ制御回路24から構成される。退避バッファ2
3は、例えばFIFO(先入れ先出し)タイプのメモリ
で構成が可能である。退避バッファ制御回路24は退避
バッファ23の書き込みおよび読み出しを制御する回路
である。退避バッファ23がFIFOタイプのメモリの
場合、退避バッファ制御回路24は書き込みパルスと読
み出しパルスを発生する。Next, the operation of the cell save circuit 22 will be described. The cell save circuit 22 includes a save buffer 23 and a save buffer control circuit 24. Evacuation buffer 2
3 can be constituted by a FIFO (first in first out) type memory, for example. The save buffer control circuit 24 is a circuit that controls writing and reading of the save buffer 23. When the save buffer 23 is a FIFO type memory, the save buffer control circuit 24 generates a write pulse and a read pulse.
【0071】それとは別に、退避バッファ23がRAM
(ランダムアクセスタイプのメモリ)の場合、退避バッ
ファ制御回路24は書き込みアドレスと読み出しアドレ
スを管理し、アドレスを循環させて使用する制御を行
う。すなわち、セルの書き込みを行ったら書き込みアド
レスに1を加え、セルの読み出しを行ったら読み出しア
ドレスに1を加える。この場合、退避バッファ制御回路
24は、書き込みアドレスと書き込みパルス、読み出し
アドレスと読み出しパルスを退避バッファ23に与え
る。Separately, the save buffer 23 is a RAM
In the case of (random access type memory), the save buffer control circuit 24 manages the write address and the read address, and controls the use of the addresses by circulating them. That is, when the cell is written, 1 is added to the write address, and when the cell is read, 1 is added to the read address. In this case, the save buffer control circuit 24 gives the write address and write pulse, and the read address and read pulse to the save buffer 23.
【0072】ここで図6はセル退避回路22の流れ図で
あり、主に退避バッファ制御回路24の制御手順を示し
ている。退避バッファ制御回路24は、入線1にセルが
到着すると内部の退避バッファ23に前記セルを書き込
む制御を行う。ただし、この退避バッファ23が一杯な
らば、入力した前記セルは廃棄する。一方、退避バッフ
ァ制御回路24は、ふくそう判定回路20をモニタして
おり、ふくそう状態でなければ、退避バッファ23内に
蓄積されているセルを読み出す。もし、ふくそう状態で
あれば、退避バッファ23からはセルを読み出さない。FIG. 6 is a flow chart of the cell save circuit 22, and mainly shows the control procedure of the save buffer control circuit 24. When the cell arrives at the incoming line 1, the save buffer control circuit 24 controls the writing of the cell in the internal save buffer 23. However, if the save buffer 23 is full, the input cell is discarded. On the other hand, the save buffer control circuit 24 monitors the congestion determination circuit 20, and if it is not in a busy state, reads the cells accumulated in the save buffer 23. If it is in a congested state, the cell is not read from the save buffer 23.
【0073】図7は、退避バッファの具体的動作を示す
図である。図7は、図5に示した入線11 に対してセル
A,セルC,セルE,セルHが入力された場合の退避バ
ッファの動作を示している。ここでは、セルスロット1
とセルスロット4においては、ふくそう判定回路20が
ふくをう状態でないと判定をし、セルスロット2とセル
スロット3においては、ふくそう状態であることを検出
した場合を示している。まず、セルスロット1において
は、セルAが退避バッファに蓄積される。FIG. 7 is a diagram showing a specific operation of the save buffer. Figure 7 shows the operation of the save buffer when the cell A, the cell C, the cell E, cell H is input to the input line 1 1 shown in FIG. Here, cell slot 1
In the cell slot 4, the congestion determination circuit 20 determines that the congestion state is not in the congestion state, and in the cell slots 2 and 3, the congestion state is detected. First, in cell slot 1, cell A is stored in the save buffer.
【0074】次に、セルスロット2においては、セルA
が退避バッファより出力されるとともに、セルCが蓄積
される。セルスロット1においては、ふくそう判定回路
がふくそう状態でない場合を検出しているため、退避バ
ッファからセルAが出力される。Next, in cell slot 2, cell A
Is output from the save buffer and the cell C is accumulated. In the cell slot 1, since the congestion determination circuit detects that the congestion state is not congested, cell A is output from the save buffer.
【0075】次に、セルスロット3においては、セルス
ロット2においてふくそう判定回路20がふくそう状態
を検出したため、セルCは退避バッファに蓄積されたま
まとなる。また、セルスロット3においては、セルEが
入力され退避バッファに蓄積される。Next, in the cell slot 3, since the congestion determination circuit 20 detects the congestion state in the cell slot 2, the cell C remains stored in the save buffer. In the cell slot 3, the cell E is input and stored in the save buffer.
【0076】次に、セルスロット4においては、セルス
ロット3においてふくそう判定回路20がふくそう状態
を検出しているため、セルCおよびセルEは退避バッフ
ァに蓄積されたままとなる。また、セルスロット4にお
いて、セルHが新たに蓄積される。Next, in cell slot 4, since congestion determination circuit 20 detects a congestion state in cell slot 3, cells C and E remain stored in the save buffer. Further, the cell H is newly stored in the cell slot 4.
【0077】次に、セルスロット5においては、セルス
ロット4においてふくそう判定回路20がふくそう状態
でない場合を検出しているため、退避バッファからセル
Cが出力される。Next, in the cell slot 5, since the case where the congestion determination circuit 20 is not in the congestion state is detected in the cell slot 4, the cell C is output from the save buffer.
【0078】以上のように、この実施例で特徴となる点
は、共通バッファ形スイッチ9に対してセル退避回路を
設けることにより、共通バッファ形スイッチ内の共通バ
ッファメモリのセルの廃棄率を下げるようにした点であ
る。特に、セル退避回路はふくそう判定回路からのふく
そう状態の報告により、セルの蓄積を制御するだけで良
く、セル退避回路を簡単に構成することができる。As described above, the feature of this embodiment is that the cell evacuation circuit is provided for the common buffer type switch 9 to reduce the cell discard rate of the common buffer memory in the common buffer type switch. That is the point. In particular, the cell evacuation circuit only needs to control the accumulation of cells according to the congestion status report from the congestion judgment circuit, and the cell evacuation circuit can be configured easily.
【0079】従来の技術で説明した従来例2の場合は、
バッファが出線に対応して設けられている。いわゆる出
力バッファ形スイッチにそれぞれ対応してセルを一時的
に蓄積する回路を設けており、出線に対応した出力バッ
ファがふくそう状態であることをそれぞれ判定し、その
出力バッファに対応するセルかどうかを判定した上で、
セルを事前に蓄積するべきか否かを判定しなければなら
ず、複雑な構成を取らなければならなかった。それに対
し、この実施例に示すように共通バッファ形スイッチの
場合は、出線に対して共通の1つのバッファが設けられ
ているため、その共通のバッファがふくそう状態を起こ
しているか否かという単純な判断に基づいて、しかも、
セル退避回路が到着するセルの宛先を個別に判断するこ
となくセルの蓄積制御を行うものである。In the case of the conventional example 2 described in the prior art,
A buffer is provided corresponding to the outgoing line. A circuit for temporarily accumulating cells is provided for each so-called output buffer type switch, and it is determined whether the output buffer corresponding to the output line is in a congested state, and whether or not the cell corresponds to that output buffer. After judging
It was necessary to determine whether or not cells should be accumulated in advance, and a complicated configuration had to be taken. On the other hand, in the case of the common buffer type switch as shown in this embodiment, since one common buffer is provided for the output line, it is simple to determine whether or not the common buffer causes a congestion state. Based on good judgment, and
The cell evacuation circuit controls the accumulation of cells without individually deciding the destination of the arriving cells.
【0080】次に、図8は図1に示したセル交換装置の
実装形態の一例を示す図である。図8において、100
は、共通バッファ形スイッチ9とふくそう判定回路20
を搭載した共通バッファ形スイッチ基板である。200
1 〜200n は、インタフェース基板である。それぞれ
のインタフェース基板は、1つの入線と1つの出線に対
応して設けられており、この一対の入線と出線を共通バ
ッファ形スイッチ9に接続するためのインタフェース回
路を搭載している。例えば、入線および出線が光ファイ
バにより構成されている場合には、光電変換回路および
電光変換回路を搭載している。また、同期をとるため
や、エラーチェックを行うためのインタフェース回路が
搭載されている。さらに、前述したセル退避回路が入線
側に設けられる。各インタフェース基板と共通バッファ
形スイッチ基板は、スイッチ入力線とスイッチ出力線に
より接続される。また、ふくそう判定回路20からのふ
くそう判定出力線31は、共通バッファ形スイッチ基板
100からそれぞれのインタフェース基板2001 〜2
00n のセル退避回路に接続される。Next, FIG. 8 is a diagram showing an example of a mounting form of the cell exchange apparatus shown in FIG. In FIG. 8, 100
Is a common buffer type switch 9 and a congestion determination circuit 20.
It is a common buffer type switch board equipped with. 200
1 to 200 n are interface boards. Each interface board is provided corresponding to one incoming line and one outgoing line, and is equipped with an interface circuit for connecting this pair of incoming line and outgoing line to the common buffer type switch 9. For example, when the incoming line and outgoing line are composed of optical fibers, a photoelectric conversion circuit and an electro-optical conversion circuit are mounted. In addition, an interface circuit is provided for synchronization and error checking. Further, the above-mentioned cell save circuit is provided on the incoming line side. Each interface board and the common buffer type switch board are connected by a switch input line and a switch output line. Further, the congestion determination output line 31 from the congestion determination circuit 20 is connected to each of the interface boards 200 1 to 2 2 from the common buffer type switch board 100.
00 n cell save circuit.
【0081】実施例2.次に、この発明の他の実施例を
図に基づいて説明する。図1,図9は、この発明の一実
施例によるセル交換装置の構成を示すブロック図であ
る。図において、前述した実施例1によるセル交換装置
(図1,図2)と同一または相当部分には同一符号を付
している。Example 2. Next, another embodiment of the present invention will be described with reference to the drawings. 1 and 9 are block diagrams showing the configuration of a cell exchange apparatus according to an embodiment of the present invention. In the figure, the same or corresponding parts as those of the cell switching apparatus (FIGS. 1 and 2) according to the first embodiment described above are designated by the same reference numerals.
【0082】図1において、11 〜1n は、宛先情報と
しての出線番号を含むヘッダ部とデータ部よりなるAT
Mセルが入力するn本の入線、21 〜2m は、前記セル
がそのヘッダ部にて指定された宛先に応じて出力される
m本の出線である。In FIG. 1, 1 1 to 1 n are ATs each consisting of a header section including an outgoing line number as destination information and a data section.
N number of incoming lines which are M cells enter, 2 1 to 2 m, the cell is a m number of outgoing lines is output in accordance with a specified destination by the header portion.
【0083】31 〜3n は、入線11 〜1n に対応して
設けられ入力するセルを共通バッファ形スイッチに転送
するスイッチ入力線、41 〜4m は、出線21 〜2m に
対応して設けられ共通バッファ形スイッチからセルが出
力するスイッチ出力線、9は入力したセルの宛先情報に
基づきセルを出線21 〜2m に振り分け、また、内部に
出線21 〜2m 間で共有して使用されるバッファメモリ
を備え、待ち合わせの必要なセルはそのバッファメモリ
に書き込み、セルの交換を行う共通バッファ形スイッチ
である。[0083] 3 1 to 3 n, the switch input lines for transferring the cell input provided corresponding to the incoming line 1 1 to 1 n the shared buffer switch, 4 1 to 4 m is the output line 2 1 to 2 A switch output line which is provided corresponding to m and which is output from the cell from the common buffer type switch, 9 is a cell which is distributed to the outgoing lines 2 1 to 2 m based on the input information of the input cell, and is internally output to the outgoing line 2 1 It is a common buffer type switch that has a buffer memory that is commonly used for up to 2 m , and that a cell that needs to wait is written in the buffer memory and the cell is exchanged.
【0084】20は、共通バッファ形スイッチ9のバッ
ファメモリの使用状態よりふくそう状態か否かを判定す
るふくそう判定回路、21は、共通バッファ形スイッチ
9のバッファメモリをモニタし、ふくそう判定回路に通
知するスイッチ内部モニタである。31は、ふくそう判
定回路の判定結果を後述のセル退避回路221 〜22n
に通知するふくそう判定出力線である。Reference numeral 20 is a congestion determination circuit for determining whether the buffer memory of the common buffer type switch 9 is in a busy state or not, and 21 monitors the buffer memory of the common buffer type switch 9 and notifies the congestion determination circuit. It is a monitor inside the switch. Reference numeral 31 denotes the judgment result of the congestion judgment circuit, which will be described later in cell saving circuits 22 1 to 22 n.
This is a congestion judgment output line for notifying to.
【0085】また、221 〜22n は、入線11 〜1n
に対応して設けられ、ふくそう判定回路20がふくそう
状態と判定すると入線11 〜1n に入力したセルを蓄積
し共通バッファ形スイッチ9にセルの入力を抑制するセ
ル退避回路である。セル退避回路22は、退避バッファ
23と退避バッファ制御24から構成される。231〜
23n は、それぞれセル退避回路221 〜22n の内部
に設けられ、入力セルを実際に記憶する退避バッファで
あり、241 〜24n もそれぞれセル退避回路221 〜
22n の内部に設けられ、退避バッファ231 〜23n
のセルの書き込みと読み出しを制御する退避バッファ制
御回路である。Further, 22 1 to 22 n are incoming lines 1 1 to 1 n
Is a cell evacuation circuit which is provided corresponding to the above and stores the cells input to the input lines 1 1 to 1 n when the congestion determination circuit 20 determines the congestion state and suppresses the cell input to the common buffer type switch 9. The cell save circuit 22 includes a save buffer 23 and a save buffer control 24. 23 1 ~
23 n is a save buffer provided inside each of the cell save circuits 22 1 to 22 n for actually storing the input cells, and 24 1 to 24 n are also provided to the cell save circuits 22 1 to 22 n, respectively.
22 n provided inside the save buffers 23 1 to 23 n
Is a save buffer control circuit for controlling writing and reading of the cell.
【0086】図9は、図1における共通バッファ形スイ
ッチ9の一実施例を詳細に示す図である。図9において
は、9b等の添え字bは本実施例の共通バッファ形スイ
ッチの一形態であることを示している。31 〜3n ,4
1 〜4m ,9b,21bは、それぞれ図1における31
〜3n ,41 〜4m ,9,21と同一部分を示してい
る。FIG. 9 is a diagram showing in detail one embodiment of the common buffer type switch 9 in FIG. In FIG. 9, the subscript b such as 9b indicates that it is one form of the common buffer type switch of this embodiment. 3 1 to 3 n , 4
1 to 4 m , 9b and 21b are respectively 3 1 in FIG.
~3 n, 4 1 ~4 m, indicate the same parts and 9, 21.
【0087】101 〜10n は、前記スイッチ入力線の
各々に対応して設けられ、スイッチ入力線31 〜3n よ
り入力されるセルのヘッダ部より宛先の出力線41 〜4
m を検出するヘッダ処理回路である。10 1 to 10 n are provided corresponding to each of the switch input lines, and the destination output lines 4 1 to 4 from the header portion of the cell input from the switch input lines 3 1 to 3 n.
It is a header processing circuit for detecting m .
【0088】また、111 〜11p は、指定されたアド
レスに前記セルを蓄積し、アドレスを指定することによ
って書き込みの際の順序とは無関係に、蓄積されたアド
レスを読み出すことができるp個の共通バッファメモリ
で、この共通バッファメモリ111〜11pの1つでも複
数個のセルを蓄積できる。Further, 11 1 to 11 p are p cells capable of reading the stored addresses regardless of the order of writing by designating the addresses by accumulating the cells at the designated addresses. In this common buffer memory, even one of the common buffer memories 11 1 to 11 p can store a plurality of cells.
【0089】121 〜12p は、この共通バッファメモ
リ111 〜11p の各々に対応して設けられ、例えばF
IFOタイプのメモリを用いて空きアドレスの管理を行
い、対応付けられたバッファメモリ111 〜11p に読
み出しアドレスおよび書き込みアドレスを与える空きア
ドレス管理回路である。12 1 to 12 p are provided corresponding to each of the common buffer memories 11 1 to 11 p , for example, F
This is a free address management circuit which manages free addresses using an IFO type memory and gives read addresses and write addresses to the associated buffer memories 11 1 to 11 p .
【0090】13は、前記ヘッダ処理回路101 〜10
n を所定の共通バッファメモリ111 〜11p に選択的
に接続する入線側クロスポイントスイッチである。14
は、前記共通バッファメモリ111 〜11p を所定のス
イッチ出力線41 〜4m に選択的に接続する出線側クロ
スポイントスイッチである。Reference numeral 13 denotes the header processing circuits 10 1 to 10
An input line side crosspoint switch for selectively connecting n to predetermined common buffer memories 11 1 to 11 p . 14
Is an output line side cross point switch for selectively connecting the common buffer memories 11 1 to 11 p to predetermined switch output lines 4 1 to 4 m .
【0091】15bは、前記入線側クロスポイントスイ
ッチのスイッチングを制御してセルが蓄積される共通バ
ッファメモリ111 〜11p の選択を行うとともに、共
通バッファメモリ111 〜11p に蓄積されたセルのア
ドレスを各セルの宛先別に管理して、当該宛先別に管理
しているアドレスに基づいて共通バッファメモリ111
〜11p の読み出しを制御して、前記セルをそのヘッダ
部で指定される前記スイッチ出力線41 〜4m に所定の
順番で出力させるバッファ制御回路である。Numeral 15b controls the switching of the input side cross point switch to select the common buffer memories 11 1 to 11 p in which cells are accumulated, and the accumulation is performed in the common buffer memories 11 1 to 11 p . The cell address is managed for each cell destination, and the common buffer memory 11 1 is based on the address managed for each destination.
It is a buffer control circuit that controls reading of ˜11 p and outputs the cells to the switch output lines 4 1 to 4 m designated by the header part thereof in a predetermined order.
【0092】また、前記バッファ制御回路15b内にお
いて、16bは、スイッチ入力線31 〜3n にセルが到
着すると、そのスイッチ入力線31 〜3n に対応付けら
れたヘッダ処理回路101 〜10n によって検出された
当該セルの出線21 〜2m 、またはスイッチ出力線41
〜4m の番号を受け、そのセルを蓄積する共通バッファ
メモリ111 〜11p を選択してそれを当該するヘッダ
処理回路101 〜10n に接続するため、前記入線側ク
ロスポイントスイッチ13のスイッチングを制御する書
き込みバッファ選択回路である。また、書き込みバッフ
ァ選択回路16bは、空きアドレス管理回路121 〜1
2p より共通バッファメモリ111 〜11p への書き込
みアドレスを受ける。そして、各スイッチ入力線31 〜
3n へのセルの到着の有無、その宛先、共通バッファメ
モリ111 〜11p の番号とその書き込みアドレスを組
みにして、後述のアドレス交換回路17へ通知する。Further, in the buffer control circuit 15b, when the cells arrive at the switch input lines 3 1 to 3 n , the 16b receives the header processing circuits 10 1 to 10 1 ~ associated with the switch input lines 3 1 to 3 n. Outgoing lines 2 1 to 2 m of the cell detected by 10 n or switch output line 4 1
Receiving a number of to 4 m, the shared buffer memory 11 1 to 11 for it by selecting the p connecting to the header processing circuit 10 1 to 10 n to the previous entry line side cross-point switch 13 for storing the cell Is a write buffer selection circuit for controlling the switching of the. In addition, the write buffer selection circuit 16b includes free address management circuits 12 1 to 1 1.
Receiving a write address for the shared buffer memory 11 1 to 11 p than 2 p. And each switch input line 3 1 ~
The presence / absence of a cell at 3 n , its destination, the numbers of the common buffer memories 11 1 to 11 p and its write address are combined to notify the address exchange circuit 17 described later.
【0093】17は、この書き込みバッファ選択回路1
6bの検出した出線21 〜2m またはスイッチ出力線4
1 〜4m の番号を参照して到着したセルの宛先のスイッ
チ出力線41 〜4m 別に分け、当該セルが書き込まれた
バッファメモリ111 〜11p の番号とその書き込みア
ドレスを後述するアドレス待ち行列181 〜18m に書
き込むアドレス交換回路である。Reference numeral 17 denotes the write buffer selection circuit 1
6b of the detected outgoing lines 2 1 to 2 m or switch output line 4
The cell output destinations of the arriving cells are referred to by the numbers 1 to 4 m and are divided by the switch output lines 4 1 to 4 m , and the numbers of the buffer memories 11 1 to 11 p in which the cells are written and the write addresses are described later. This is an address exchange circuit for writing in the queues 18 1 to 18 m .
【0094】181 〜18m は、そのアドレス待ち行列
であり、FIFO(先入れ先出し)タイプのメモリによ
って構成されて、前記スイッチ出力線41 〜4m の各々
に対応して設けられている。このアドレス待ち行列18
1 〜18m には、それが対応付けられたスイッチ出力線
41 〜4m 毎に、当該スイッチ出力線41 〜4m を宛先
とするセルの蓄積されたバッファメモリ111 〜11p
の番号とその書き込みアドレスが、到着した順番に前記
アドレス交換回路17によって書き込まれる。Numerals 18 1 to 18 m are address queues thereof, which are constituted by FIFO (first in, first out) type memories and are provided corresponding to the respective switch output lines 4 1 to 4 m . This address queue 18
1-18 The m, it to the switch output line 4 for each one to 4 m correlated, stored the buffer memory 11 1 to 11 p of cells the switch output lines 4 1 to 4 m and destination
And the write addresses thereof are written by the address exchange circuit 17 in the order of arrival.
【0095】19bは、このアドレス待ち行列181 〜
18m を参照してバッファメモリ111 〜11p から読
み出すセルを決定し、そのアドレス待ち行列181 〜1
8mから読み出したアドレスを読み込みアドレスとし
て、該当するバッファメモリ111 〜11p に対応付け
られた空きアドレス管理回路121 〜12p へ送るとと
もに、出線側クロスポイントスイッチ14のスイッチン
グを制御して、前記共通バッファメモリ111 〜11p
を該当するスイッチ出力線41 〜4m に接続する読み出
しバッファ選択回路である。19b indicates the address queues 18 1 ...
18 m , the cells to be read from the buffer memories 11 1 to 11 p are determined, and their address queues 18 1 to 1 1 are determined.
The address read from 8 m is sent as a read address to the empty address management circuits 12 1 to 12 p associated with the corresponding buffer memories 11 1 to 11 p, and the switching of the output side crosspoint switch 14 is controlled. The common buffer memories 11 1 to 11 p
The a read buffer selection circuit connected to the switch output line 4 1 to 4 m to be appropriate.
【0096】21bは、共通バッファメモリ111 〜1
1p の蓄積しているセルの合計個数を監視して、ふくそ
う判定回路20に通知するスイッチ内部モニタである。Reference numeral 21b is a common buffer memory 11 1 to 1 1.
It is a switch internal monitor that monitors the total number of accumulated cells of 1 p and notifies the congestion determination circuit 20.
【0097】次に動作について説明する。ここで説明す
るセルは固定長で、ランダムまたはバーストトラヒック
として到着するものであり、入線11〜1nに入力される
前にセル入力位相が調整されて、全入線からのセル入力
は同一の位相で供給されるものとする。Next, the operation will be described. The cells described here have a fixed length and arrive as random or burst traffic. The cell input phase is adjusted before they are input to the input lines 1 1 to 1 n , and the cell input from all the input lines is the same. Shall be supplied in phase.
【0098】まず、共通バッファ形スイッチ9について
述べる。スイッチ入力線31 〜3nにセルが到着する
と、そのヘッダ内部に書き込まれた宛先情報がヘッダ処
理回路101 〜10n により読み取られ、バッファ制御
回路15b内部の書き込みバッファ選択回路16bに通
知される。First, the common buffer type switch 9 will be described. When the cells arrive at the switch input lines 3 1 to 3 n , the destination information written in the header of the cells is read by the header processing circuits 10 1 to 10 n and notified to the write buffer selection circuit 16b in the buffer control circuit 15b. It
【0099】空きアドレス管理回路121 〜12p は、
共通バッファメモリ111 〜11pの使用されていない
空きアドレスを記憶・保持する。スイッチ入力線31 〜
3nはn本あるが、n本のスイッチ入力線全てにセルが
到着する可能性があるので、空きアドレス管理回路12
1 〜12p は、合計してn個の空きアドレスを書き込み
バッファ選択回路16bに提供できるようになってい
る。The empty address management circuits 12 1 to 12 p are
Stores and holds unused free addresses in the common buffer memories 11 1 to 11 p . Switch input line 3 1 ~
Although there are 3 n in 3 n , cells may arrive at all n switch input lines.
1 to 12 p can provide a total of n free addresses to the write buffer selection circuit 16b.
【0100】スイッチ入力線31 〜3n に入力され、次
いでヘッダ処理回路101 〜10nを通過したセルは、
入線側クロスポイントスイッチ13に入力される。入線
側クロスポイントスイッチ13は、書き込みバッファ選
択回路16bの指示に従って、セルスロット単位にスイ
ッチングを変え、セル単位に、前記ヘッダ処理回路10
1 〜10n を所定の共通バッファメモリ111 〜11p
に選択的に接続する。The cells input to the switch input lines 3 1 to 3 n and then passing through the header processing circuits 10 1 to 10 n are
It is input to the incoming line side cross point switch 13. The input side cross point switch 13 changes the switching in cell slot units according to the instruction of the write buffer selection circuit 16b, and the header processing circuit 10 in cell units.
1 to 10 n are assigned to a predetermined common buffer memory 11 1 to 11 p
Selectively connect to.
【0101】前記入線側クロスポイントスイッチ13に
より共通バッファメモリ111 〜11p に接続されたセ
ルは、それぞれ共通バッファメモリ111 〜11p に入
力され、空きアドレス管理回路121 〜12p が指定す
るアドレスに書き込まれる。もし、空きアドレスが存在
しない場合は、この入力セルは廃棄される。[0102] The connected cells in the shared buffer memory 11 1 to 11 p by the entering line side cross-point switch 13 are input to a common buffer memory 11 1 to 11 p, a free address management circuit 12 1 to 12 p It is written to the specified address. If no free address exists, this input cell is discarded.
【0102】バッファ制御回路15b内部にある書き込
みバッファ選択回路16bは、前記ヘッダ処理回路10
1 〜10n からセル到着の有無および当該セルの宛先出
線21 〜2m または宛先スイッチ出力線41 〜4m の番
号を受け、また空きアドレス管理回路121 〜12p よ
り当該セルの共通バッファメモリ111 〜11p への書
き込みアドレスを受ける。アドレス交換回路17へ、到
着セル単位に、その宛先とその共通バッファメモリ11
1 〜11p の番号とその書き込みアドレスを組みにし
て、通知する。The write buffer selection circuit 16b in the buffer control circuit 15b is provided in the header processing circuit 10.
From 1 to 10 n, the presence or absence of cell arrival and the number of the destination outgoing line 2 1 to 2 m or the destination switch output line 4 1 to 4 m of the relevant cell are received, and the vacant address management circuits 12 1 to 12 p receive the number of the relevant cell. It receives write addresses to the common buffer memories 11 1 to 11 p . The destination and the common buffer memory 11 are delivered to the address exchange circuit 17 in units of arrival cells.
The number of 1 to 11 p and its write address are combined and notified.
【0103】また、バッファ制御回路15bは、入線側
クロスポイントスイッチ13のスイッチングも制御し、
セルの到着したヘッダ処理回路101 〜10n とセルを
記憶するため選択された共通バッファメモリ111 〜1
1p を個々に接続するように指示する。The buffer control circuit 15b also controls the switching of the incoming line side cross point switch 13,
The header processing circuits 10 1 to 10 n where the cells have arrived and the common buffer memories 11 1 to 1 1 selected to store the cells
Instruct to connect 1 p individually.
【0104】ここで、入線側クロスポイントスイッチ1
3の接続の仕方は種々考えられるが、セルが共通バッフ
ァメモリ111 〜11p に記憶され、後に読み出される
時に同じバッファメモリ111 〜11p 内に、読み出し
たいセルが2個以上あることは望ましくないため、これ
を防ぐようにセルを多数の共通バッファメモリ111〜
11p に分散させる方法がよい。Here, the input side cross point switch 1
There are various conceivable ways of connecting the cells 3, but when the cells are stored in the common buffer memories 11 1 to 11 p and read later, it is possible that there are two or more cells to be read in the same buffer memory 11 1 to 11 p . Since it is not desirable, a large number of common buffer memories 11 1 to 11
It is preferable to disperse into 11 p .
【0105】そのためには、バッファメモリ111 〜1
1p は、スイッチ入力線31 〜3nと同じ数だけでは不
十分で、前記問題を解決するためには、なるべく多くの
共通バッファメモリ111 〜11p がある方が制御が簡
単になる。To this end, the buffer memories 11 1 to 1 1
It is not enough for 1 p to have the same number as the switch input lines 3 1 to 3 n, and in order to solve the above problem, it is easier to control if there are as many common buffer memories 11 1 to 11 p as possible. .
【0106】あるいはそれとは別に、セルを多数の共通
バッファメモリ111 〜11p に分散させる方法とし
て、順番に選択する方法がある。あるセルスロットにn
本のスイッチ入力線31 〜3n のうち同時にx個にセル
が到着したとすると、共通バッファメモリ111 〜11
x を選択し、次のセルスロットにy個のセルが到着した
とすると、共通バッファメモリ11x+1 〜11x+y を選
択する方法である。Alternatively, as a method of distributing cells to a large number of common buffer memories 11 1 to 11 p , there is a method of selecting cells in order. N in a cell slot
If x cells of the switch input lines 3 1 to 3 n of the book arrive at the same time, the common buffer memories 11 1 to 11
If x is selected and y cells arrive in the next cell slot, the common buffer memories 11 x + 1 to 11 x + y are selected.
【0107】また、さらに別の方法として、各共通バッ
ファメモリ111 〜11p 内のセル保留残量を記録し、
セル保留残量の最も少ない共通バッファメモリ111 〜
11p を選択してセルを書き込む方法も考えられる。即
ち、あるセルスロットに同時にx個のセルが到着した時
には、セル保留残量の最も少ないx個の共通バッファメ
モリ111 〜11p を選択する方法である。これによ
り、複数個の共通バッファメモリ111 〜11p は、ひ
とつの大きな共通バッファメモリとみなすことが出来
る。Further, as still another method, the remaining cell retention amount in each of the common buffer memories 11 1 to 11 p is recorded,
Common buffer memory 11 1 ~
A method of writing cells by selecting 11 p is also conceivable. That is, when x cells arrive at a certain cell slot at the same time, the x common buffer memories 11 1 to 11 p with the smallest cell reservation remaining amount are selected. Thereby, the plurality of common buffer memories 11 1 to 11 p can be regarded as one large common buffer memory.
【0108】アドレス交換回路17は、前記書き込みバ
ッファ選択回路16bの検出した宛先出線21 〜2m ま
たは宛先スイッチ出力線41 〜4m の番号を参照して、
到着したセルのが書き込まれたバッファメモリ111 〜
11p の番号とその書き込みアドレスを、宛先のスイッ
チ出力線41 〜4m 別に振り分ける。そして、それらを
アドレス待ち行列181 〜18m に書き込む。The address exchange circuit 17 refers to the number of the destination output lines 2 1 to 2 m or the destination switch output lines 4 1 to 4 m detected by the write buffer selection circuit 16b,
Buffer memory 11 1 in which the arrived cells are written
The number and the write address of 11 p, distributes separately switch output lines 4 1 to 4 m of the destination. Then, they are written in the address queues 18 1 to 18 m .
【0109】アドレス待ち行列181 〜18m は、前記
スイッチ出力線41 〜4m の各々に対応して設けられ、
それぞれFIFOタイプのメモリによって構成されてい
る。このアドレス待ち行列181 〜18m は、それが対
応付けられたスイッチ出力線41 〜4m 毎に、当該スイ
ッチ出力線41 〜4m を宛先とするセルの蓄積されたバ
ッファメモリ111 〜11p とその書き込みアドレスの
待ち行列をつくることができる。Address queues 18 1 to 18 m are provided corresponding to the switch output lines 4 1 to 4 m , respectively.
Each is composed of a FIFO type memory. The address queue 18 1 ~ 18 m, it is the switch output line 4 for each one to 4 m associated buffer memories 11 1 stored in the cell to the switch output lines 4 1 to 4 m and destination ~11 p and the queue of the write address can be made.
【0110】ここでは、アドレス待ち行列181 〜18
m は、前記スイッチ出力線41 〜4m の各々に対応して
設けられている例を示しているが、扱う遅延要求クラス
によって、優先制御を行う共通バッファ形スイッチ9の
場合、ひとつのスイッチ出力線41 〜4m に対して複数
個のアドレス待ち行列を設けることも可能である。Here, the address queues 18 1 to 18
m is an example provided corresponding to each of the switch output lines 4 1 to 4 m , but in the case of the common buffer type switch 9 that performs priority control according to the delay request class to be handled, one switch is provided. It is also possible to provide a plurality of address queues for the output lines 4 1 to 4 m .
【0111】アドレス待ち行列181 〜18m 内部に行
列した前記書き込みアドレスは、順番がくるのを待つ。
読み出しバッファ選択回路19bは、このアドレス待ち
行列181 〜18m の最前列を参照してバッファメモリ
111 〜11p から読み出すセルを決定し、そのアドレ
ス待ち行列181 〜18m から読み出したアドレスを読
み出しアドレスとして、バッファメモリ111 〜11p
に対応した空きアドレス管理回路121 〜12p へ送
る。The write addresses queued in the address queues 18 1 to 18 m wait for their turn.
Read buffer selecting circuit 19b refers to the front row to determine the cell to be read out from the buffer memory 11 1 to 11 p, read from the address queue 18 1 ~ 18 m addresses of the address queues 18 1 ~ 18 m As a read address, the buffer memories 11 1 to 11 p
Sent to the empty address management circuit 12 1 to 12 p corresponding to.
【0112】また、読み出しバッファ選択回路19b
は、共通バッファメモリ111 〜11p から読み出され
るセルが所定の宛先であるスイッチ出力線41 〜4m に
出力されるように、出線側クロスポイントスイッチ14
のスイッチングを制御する。この切り替えは、セルスロ
ット単位に、共通バッファメモリ111 〜11p とスイ
ッチ出力線41 〜4m の個々の接続形態を示すものであ
る。Further, the read buffer selection circuit 19b
Outputs the cross-point switch 14 on the output line side so that the cells read from the common buffer memories 11 1 to 11 p are output to the switch output lines 4 1 to 4 m , which are predetermined destinations.
Control the switching of. This switching indicates the individual connection form of the common buffer memories 11 1 to 11 p and the switch output lines 4 1 to 4 m in cell slot units.
【0113】空きアドレス管理回路121 〜12p は、
読み出しバッファ選択回路19から次に読み出すアドレ
スを受信する。読み出しアドレスは、スイッチ出力線4
1 〜4m のそれぞれに対応して存在するため、1セルス
ロットで合計最大でm個通知される。また、空きアドレ
ス管理回路121 〜12p は、共通バッファメモリ11
1 〜11p に前記読み出しアドレスを指示し、セルを読
み出す。共通バッファメモリ111 〜11p から読み出
されたセルは、前記出線側クロスポイントスイッチ14
に送信される。また、読み出しに使用された読み出しア
ドレスは、開放され、空きアドレス管理回路121 〜1
2p 内部の空きアドレスを蓄積する回路に保存され、循
環して使用される。The empty address management circuits 12 1 to 12 p are
The address to be read next is received from the read buffer selection circuit 19. The read address is the switch output line 4
Since each cell exists corresponding to 1 to 4 m, a maximum of m notifications is made in one cell slot. The free address management circuits 12 1 to 12 p are connected to the common buffer memory 11
The read address is designated to 1 to 11 p to read the cell. The cells read from the common buffer memories 11 1 to 11 p are the output side cross point switch 14
Sent to. In addition, the read address used for reading is released, and the empty address management circuits 12 1 to 12 1
Stored in the circuit for storing the 2 p vacant addresses of the internal, it is used circulating.
【0114】以上のように、共通バッファ形スイッチ9
bは、入力したセルをp個の共通バッファメモリ111
〜11p に書き込み、そのアドレスをスイッチ出力線4
1 〜4m 単位に行列させることで、セルの交換を行う。
また、使用したアドレスは循環して使用することが可能
である。As described above, the common buffer type switch 9
b is the number of common buffer memories 11 1
Write to to 11 p, the switch output line 4 the address
Cells are exchanged by arranging them in units of 1 to 4 m .
Further, the used address can be circulated and used.
【0115】次に、ふくそう判定回路20について動作
を説明する。ふくそう判定回路20は、スイッチ内部モ
ニタ21により共通バッファ形スイッチ9b内部の共通
バッファメモリ11に蓄積したセルの個数を監視してお
り、その個数と予め設定してあるしきい値との比較でふ
くそう状態を判定する。Next, the operation of the congestion determination circuit 20 will be described. The congestion determination circuit 20 monitors the number of cells accumulated in the common buffer memory 11 inside the common buffer type switch 9b by the switch internal monitor 21, and compares the number of cells with a preset threshold value. Determine the state.
【0116】図4および図5にふくそう判定回路20の
手順を示す。ふくそう判定に使用されるしきい値Tは、
初期時に設定する。セルスロット単位に、スイッチ内部
モニタから共通バッファ形スイッチ9b内のセル蓄積数
を読み込み、先に設定したしきい値と比較することによ
りふくそう状態の判定を行う。4 and 5 show the procedure of the congestion determination circuit 20. The threshold value T used for congestion determination is
Set at the initial stage. For each cell slot, the number of cells accumulated in the common buffer type switch 9b is read from the switch internal monitor, and the congestion state is determined by comparing with the previously set threshold value.
【0117】ここで、前述した実施例1と異なる点は、
共通バッファメモリが複数のメモリから構成されている
点である。従って、スイッチ内部モニタ21bには、そ
れぞれの共通バッファメモリのセル蓄積数が与えられ
る。セル退避回路は、それぞれの共通バッファメモリか
ら送られてくるセル蓄積数を加算することにより、全体
のセル蓄積数を検出する。それぞれの共通バッファメモ
リのセル蓄積数の検出方式は、図3に示したような方式
がそれぞれ考えられる。あるいは、バッファ制御回路1
5b内にある書き込みバッファ選択回路16bおよび読
み出しバッファ選択回路19bのバッファ選択回数を用
いて、セル蓄積数を算出するようにしても構わない。す
なわち、書き込みバッファ選択回路16bは、セルを蓄
積する共通バッファメモリを選択するものであり、共通
バッファメモリを選択する度に、セルがいずれかの共通
バッファメモリに記録される。従って、書き込みバッフ
ァ選択回路の共通バッファメモリ選択回数をカウントす
ることにより、共通バッファに入力されたセル数を知る
ことができる。同様に読み出しバッファ選択回路19b
の共通バッファメモリ選択回数をカウントすることによ
り、共通バッファメモリから出力されたセル数を検出す
ることができる。従って、 セル蓄積数=書き込みバッファ選択回路の共通バッファ
メモリ選択数−読み出しバッファ選択回路の共通バッフ
ァメモリ選択数 という計算式により、セル蓄積数を算出し、スイッチ内
部モニタ21bに与えるようにしても構わない。Here, the difference from the above-described first embodiment is that
The common buffer memory is composed of a plurality of memories. Therefore, the number of cells accumulated in each common buffer memory is given to the switch internal monitor 21b. The cell saving circuit detects the total cell accumulation number by adding the cell accumulation numbers sent from the respective common buffer memories. As a method of detecting the number of cells accumulated in each common buffer memory, the method shown in FIG. 3 can be considered. Alternatively, the buffer control circuit 1
The cell storage number may be calculated using the buffer selection times of the write buffer selection circuit 16b and the read buffer selection circuit 19b within 5b. That is, the write buffer selection circuit 16b selects a common buffer memory for accumulating cells, and a cell is recorded in any one of the common buffer memories every time the common buffer memory is selected. Therefore, it is possible to know the number of cells input to the common buffer by counting the number of times the write buffer selection circuit selects the common buffer memory. Similarly, the read buffer selection circuit 19b
The number of cells output from the common buffer memory can be detected by counting the number of times the common buffer memory is selected. Therefore, the cell accumulation number may be calculated and given to the switch internal monitor 21b by a calculation formula of cell accumulation number = common buffer memory selection number of write buffer selection circuit−common buffer memory selection number of read buffer selection circuit. Absent.
【0118】次に、セル退避回路22の動作について説
明する。セル退避回路22は、退避バッファ23と退避
バッファ制御24から構成される。退避バッファ23
は、例えばFIFO(先入れ先出し)タイプのメモリで
構成が可能である。退避バッファ制御24は退避バッフ
ァ23の書き込みおよび読み出しを制御する回路であ
る。退避バッファ23がFIFOタイプのメモリの場
合、退避バッファ制御回路24は書き込みパルスと読み
出しパルスを発生する。Next, the operation of the cell save circuit 22 will be described. The cell save circuit 22 includes a save buffer 23 and a save buffer control 24. Evacuation buffer 23
Can be constituted by, for example, a FIFO (first in first out) type memory. The save buffer control 24 is a circuit that controls writing and reading of the save buffer 23. When the save buffer 23 is a FIFO type memory, the save buffer control circuit 24 generates a write pulse and a read pulse.
【0119】それとは別に、退避バッファ23がRAM
(ランダムアクセスタイプのメモリ)の場合、退避バッ
ファ制御回路24は書き込みアドレスと読み出しアドレ
スを管理し、アドレスを循環させて使用する制御を行
う。すなわち、セルの書き込みを行ったら書き込みアド
レスに1を加え、セルの読み出しを行ったら読み出しア
ドレスに1を加える。この場合、退避バッファ制御回路
24は、書き込みアドレスと書き込みパルス、読み出し
アドレスと読み出しパルスを退避バッファ23に与え
る。Separately, the save buffer 23 is a RAM
In the case of (random access type memory), the save buffer control circuit 24 manages the write address and the read address, and controls the use of the addresses by circulating them. That is, when the cell is written, 1 is added to the write address, and when the cell is read, 1 is added to the read address. In this case, the save buffer control circuit 24 gives the write address and write pulse, and the read address and read pulse to the save buffer 23.
【0120】ここで、図6はセル退避回路22の流れ図
でり、主に退避バッファ制御回路24の制御手順を示し
ている。退避バッファ制御回路24は、入線1にセルが
到着すると内部の退避バッファ23に前記セルを書き込
む制御を行う。ただし、この退避バッファ23が一杯な
らば、入力した前記セルは廃棄する。一方、退避バッフ
ァ制御24は、ふくそう判定回路20をモニタしてお
り、ふくそう状態でなければ、退避バッファ23内に蓄
積されているセルを読み出す。もし、ふくそう状態であ
れば、退避バッファ23からはセルを読み出さない。Here, FIG. 6 is a flow chart of the cell save circuit 22, and mainly shows the control procedure of the save buffer control circuit 24. When the cell arrives at the incoming line 1, the save buffer control circuit 24 controls the writing of the cell in the internal save buffer 23. However, if the save buffer 23 is full, the input cell is discarded. On the other hand, the save buffer control 24 monitors the congestion determination circuit 20, and reads the cells accumulated in the save buffer 23 if not in the congestion state. If it is in a congested state, the cell is not read from the save buffer 23.
【0121】以上のように、この実施例においては、共
通バッファメモリが複数のメモリから構成されている場
合においても、実施例1と同様にセル退避回路を設け、
共通バッファメモリにおけるセル廃棄率を低下させるこ
とができる。この共通バッファメモリは複数存在してい
るが、出線に対応しているものではなく、セル退避回路
は、出線毎に到着したセルを退避するという複雑な制御
をする必要がない。すなわち、共通バッファメモリが複
数のメモリから構成されている場合でも、ふくそう判定
回路は、複数の共通バッファメモリ全体としてふくそう
状態が発生しているかどうかを判定し、その判定結果に
基づいてセル退避回路が到着したセルを蓄積制御すると
いう簡単な構成を取ることができる。As described above, in this embodiment, even when the common buffer memory is composed of a plurality of memories, the cell save circuit is provided as in the first embodiment.
The cell discard rate in the common buffer memory can be reduced. Although there are a plurality of common buffer memories, they do not correspond to the outgoing lines, and the cell saving circuit does not need to perform complicated control of saving the arriving cells for each outgoing line. That is, even if the common buffer memory is composed of a plurality of memories, the congestion determination circuit determines whether or not a congestion state has occurred in the plurality of common buffer memories as a whole, and the cell evacuation circuit based on the determination result. It is possible to adopt a simple configuration in which the storage control is performed on the cells that have arrived.
【0122】実施例3.次に、この発明の一実施例を図
に基づいて説明する。図10は、この発明の一実施例に
よるセル交換装置のふくそう判定回路20の手順を示す
流れ図である。前述した実施例1によるセル交換装置
(図1,図2,図4,図6)、および前述した実施例2
によるセル交換装置(図1,図4,図6,図9)と同一
または相当部分には同一符号を付して、説明を省略す
る。Example 3. Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 10 is a flow chart showing the procedure of the congestion determination circuit 20 of the cell switching apparatus according to the embodiment of the present invention. The cell exchange apparatus according to the first embodiment described above (FIGS. 1, 2, 2 and 4), and the second embodiment described above.
The same or corresponding parts as those of the cell switching device (FIGS. 1, 4, 4, 6 and 9) according to FIG.
【0123】図10は、ふくそう判定回路20の動作を
説明したものである。ふくそう判定回路20は,スイッ
チ内部モニタ21により共通バッファ形スイッチ9内部
の共通バッファメモリ11に蓄積したセルの個数を監視
しており、その個数と予め設定してあるしきい値との比
較でふくそう状態を判定する。FIG. 10 illustrates the operation of the congestion determination circuit 20. The congestion determination circuit 20 monitors the number of cells accumulated in the common buffer memory 11 inside the common buffer type switch 9 by the switch internal monitor 21, and compares the number of cells with a preset threshold value. Determine the state.
【0124】同図では、しきい値Tがセルスロット毎に
設定しなおされることが示されている。これにより、呼
の設定変化やシステム条件の変化に対して、ふくそう状
態の判定条件変更がすばやく対応できる。例えば、回線
に故障が発生し、あるルートが使用できない場合には、
他の回線を用いてセルを転送する方法が一般に用いられ
るが、そのような場合には、通常の場合よりも迂回され
るべき回線にセルが集中する場合が発生する。そのよう
な場合には、しきい値Tを大きい値に設定することによ
り、通常はふくそう状態と判定される場合であっても、
ふくそう状態を故意にふくそう状態とは見なさないよう
にすることが考えられる。あるいは、別な例として特定
の回線を検査する場合、あるいは、特定の交換装置の能
力を検査する場合には、故意にセルの退避を行わない
で、検査や調査を行いたい場合が存在する。そのような
場合には、しきい値Tを大きく設定したり、最大値に設
定することによりふくそう状態と判定する機会を少なく
することができる。しきい値Tを最大値にすることによ
り、すなわち、 しきい値T=共通バッファメモリが蓄積できる最大蓄積
数 とすることにより共通バッファメモリが満杯になるま
で、セルの退避を行わないようにすることができる。In the figure, it is shown that the threshold value T is reset for each cell slot. As a result, it is possible to quickly respond to a change in congestion determination conditions in response to changes in call settings and system conditions. For example, if a line fails and a route cannot be used,
A method of transferring cells using another line is generally used, but in such a case, cells may be concentrated on a line to be bypassed as compared with the normal case. In such a case, by setting the threshold value T to a large value, even if it is determined that the congestion state is normally caused,
Congestion may be deliberately not considered as congestion. Alternatively, as another example, when inspecting a specific line or inspecting the capability of a specific switching device, there is a case in which it is desired to perform an inspection or an investigation without intentionally evacuating cells. In such a case, it is possible to reduce the chances of determining a congested state by setting the threshold value T large or setting it to the maximum value. By setting the threshold value T to the maximum value, that is, by setting the threshold value T to the maximum storage number that can be stored in the common buffer memory, the cell is not saved until the common buffer memory becomes full. be able to.
【0125】実施例4.次に、この発明の他の実施例を
図に基づいて説明する。図11は、この発明の一実施例
によるセル交換装置のふくそう判定回路20の手順を示
す流れ図である。前述した実施例1によるセル交換装置
(図1,図2,図4,図6)、および前述した実施例2
によるセル交換装置(図1,図4,図6,図9)と同一
または相当部分には同一符号を付して、説明を省略す
る。Example 4. Next, another embodiment of the present invention will be described with reference to the drawings. FIG. 11 is a flow chart showing the procedure of the congestion determination circuit 20 of the cell exchange apparatus according to the embodiment of the present invention. The cell exchange apparatus according to the first embodiment described above (FIGS. 1, 2, 2 and 4), and the second embodiment described above.
The same or corresponding parts as those of the cell switching device (FIGS. 1, 4, 4, 6 and 9) according to FIG.
【0126】図11は、ふくそう判定回路20の動作を
説明したものである。ふくそう判定回路20は、スイッ
チ内部モニタ21により共通バッファ形スイッチ9内部
の共通バッファメモリ11に蓄積したセルの個数を監視
しており、その個数と予め設定してあるしきい値との比
較でふくそう状態を判定する。FIG. 11 illustrates the operation of the congestion determination circuit 20. The congestion determination circuit 20 monitors the number of cells accumulated in the common buffer memory 11 inside the common buffer type switch 9 by the switch internal monitor 21, and compares the number of cells with a preset threshold value. Determine the state.
【0127】設定したしきい値付近で蓄積個数がひんぱ
んに変動すると、ふくそう状態判定が不安定になるの
で、ふくそう状態の判定のためのしきい値と非ふくそう
状態の判定のためのしきい値を設ける。この時には、2
つのしきい値を設定し、ヒステリシスをもたせたことよ
り、安定したふくそう判定を得ることができる。If the accumulated number frequently fluctuates near the set threshold, the congestion state determination becomes unstable. Therefore, the threshold for determining the congestion state and the threshold for determining the non-congestion state are set. To provide. At this time, 2
By setting three threshold values and providing hysteresis, stable congestion judgment can be obtained.
【0128】実施例5.次に、この発明の他の実施例を
図に基づいて説明する。図12は、この発明の一実施例
によるセル交換装置のふくそう判定回路20の詳細なブ
ロック図、図13は、その動作手順を示す流れ図であ
る。前述した実施例1によるセル交換装置(図1,図
2,図4,図6)、および前述した実施例2によるセル
交換装置(図1,図4,図6,図9)と同一または相当
部分には同一符号を付して、説明を省略する。Example 5. Next, another embodiment of the present invention will be described with reference to the drawings. FIG. 12 is a detailed block diagram of the congestion judgment circuit 20 of the cell exchange apparatus according to one embodiment of the present invention, and FIG. 13 is a flow chart showing its operation procedure. Same as or equivalent to the cell switching apparatus according to the first embodiment (FIGS. 1, 2, 2, 4 and 6) and the cell switching apparatus according to the second embodiment (FIGS. 1, 4, 6, and 9) described above. The same reference numerals are given to the parts, and the description will be omitted.
【0129】図12において、20はふくそう判定回
路、21は、共通バッファ形スイッチ9からその内部の
セル蓄積数を通知するスイッチ内部モニタ、31は、セ
ル退避回路22へふくそう状態の有無を通知するふくそ
う判定出力線である。32〜34は、ふくそう判定回路
20内部のブロックで、32は、kセルスロット前まで
の過去のセル蓄積数を保存できる履歴保存プール、33
は、前記履歴保存プールの情報より所定の演算を行い、
セル蓄積指数を算出する履歴演算回路、34は、前記履
歴演算回路の出力するセル蓄積指数と予め設定されたし
きい値との大小を比較する比較回路である。In FIG. 12, 20 is a congestion determination circuit, 21 is a switch internal monitor for notifying the number of cells stored therein from the common buffer type switch 9, and 31 is for notifying the cell saving circuit 22 of the congestion state. Congestion judgment output line. Reference numerals 32 to 34 are blocks inside the congestion determination circuit 20, 32 is a history storage pool capable of storing the number of past cell accumulations up to k cell slots before, 33
Performs a predetermined operation from the information of the history storage pool,
A history calculation circuit for calculating a cell accumulation index, and 34 is a comparison circuit for comparing the cell accumulation index output from the history calculation circuit with a preset threshold value.
【0130】図13は、ふくそう判定回路20の動作を
説明したものである。より安定かつ信頼できる判定のた
め、過去数スロット分の履歴を残し、定められた基準を
超えたことでふくそう状態を判定することを特長とす
る。ふくそう判定回路20は、スイッチ内部モニタ21
により共通バッファ形スイッチ9内部の共通バッファメ
モリ11に蓄積したセルの個数を監視している。初期状
態では、ふくそう判定しきい値Tと、履歴保存スロット
数kを設定する。FIG. 13 illustrates the operation of the congestion determination circuit 20. For more stable and reliable determination, the feature is that the past few slots of history are retained and the congestion state is determined when the specified standard is exceeded. The congestion determination circuit 20 includes a switch internal monitor 21.
The number of cells accumulated in the common buffer memory 11 inside the common buffer type switch 9 is monitored by. In the initial state, the congestion judgment threshold value T and the history storage slot number k are set.
【0131】履歴保存プール32は、過去kセルスロッ
トにおける、セル蓄積個数を保持している。これは、F
IFOベースのメモリで実現することができる。過去k
セルスロット分の情報を使用し、履歴演算回路33がセ
ル蓄積指数を算出する。The history storage pool 32 holds the number of accumulated cells in the past k cell slots. This is F
It can be realized with an IFO-based memory. Past k
The history calculation circuit 33 calculates the cell accumulation index using the information for the cell slots.
【0132】ここで、履歴演算回路33がセル蓄積指数
を演算する方法は種々考えられる。例えば、単純に過去
kセルスロット分の平均をとる方法がある。kの値を大
きくとるほど、より安定した判定が得られる。また、蓄
積されたセルの個数が急激に増加することも考慮にいれ
る、すなわち蓄積個数の増加率も重み付けする方法も考
えられる。さらに、別の方法で、過去の数セルスロット
蓄積されたセルの個数の増加パタンが予め設定されたパ
タンと一致したときにふくそう状態を判定してもよい。
あるいは、kセルスロットのセル蓄積個数を、予め設定
したセル蓄積個数の基準値と比較し、k個のうち何個が
基準値を超えたかでセル蓄積指数を算出する方法もあ
る。Various methods can be considered for the history calculation circuit 33 to calculate the cell accumulation index. For example, there is a method of simply averaging the past k cell slots. The larger the value of k, the more stable the determination. It is also possible to consider that the number of accumulated cells rapidly increases, that is, a method of weighting the rate of increase in the number of accumulated cells. Further, the congestion state may be determined by another method when the increase pattern of the number of cells accumulated in the past several cell slots matches the preset pattern.
Alternatively, there is also a method of comparing the cell accumulation number of the k cell slot with a preset reference value of the cell accumulation number and calculating the cell accumulation index depending on how many of k exceed the reference value.
【0133】演算されたセル蓄積指数は、比較回路34
により、予め設定されたしきい値Tとの大小が比較さ
れ、ふくそう状態が判定される。ふくそう状態は、ふく
そう判定出力線31により、セル退避回路22へ通知さ
れる。The calculated cell accumulation index is compared with the comparison circuit 34.
Thus, the size is compared with a preset threshold value T, and the congestion state is determined. The congestion state is notified to the cell saving circuit 22 through the congestion determination output line 31.
【0134】実施例6.次に、この発明の他の実施例を
図に基づいて説明する。図14は、この発明の一実施例
によるセル交換装置のブロック図、図15は、セル退避
回路22の動作手順を示す流れ図である。前述した実施
例1によるセル交換装置(図1,図2,図4,図6)、
および前述した実施例2によるセル交換装置(図1,図
4,図6,図9)と同一または相当部分には同一符号を
付して、説明を省略する。Example 6. Next, another embodiment of the present invention will be described with reference to the drawings. FIG. 14 is a block diagram of a cell exchange apparatus according to an embodiment of the present invention, and FIG. 15 is a flow chart showing an operation procedure of the cell save circuit 22. The cell exchange device according to the first embodiment (FIGS. 1, 2, 2 and 4),
Also, the same or corresponding parts as those of the cell exchange apparatus according to the second embodiment (FIG. 1, FIG. 4, FIG. 6, FIG. 9) described above are designated by the same reference numerals, and description thereof will be omitted.
【0135】図14において、251 〜25n は、退避
バッファ制御回路241 〜24n の切り替え指示に従っ
て、入線11 〜1n から入力したセルを後述のバイパス
リンク271 〜27n または退避バッファ231 〜23
n に振り分ける退避用入力セレクタである。261 〜2
6n は、退避バッファ制御回路241 〜24n の切り替
え指示に従って、後述のバイパスリンク271 〜27n
または退避バッファ231 〜23n のどちらかを選択
し、スイッチ入力線31 〜3n に接続する退避用出力セ
レクタである。[0135] In FIG. 14, 25 1 to 25 n is retracted according to switching instruction buffer control circuit 24 1 to 24 n, the incoming line 1 1 to 1 n below the cell inputted from the bypass link 27 1 ~ 27 n or retracted buffer 23 1-23
It is an evacuation input selector that distributes to n . 26 1 ~ 2
6 n according switching instruction saving buffer control circuit 24 1 to 24 n, the bypass link 27 1 ~ 27 n below
Or select either of the save buffer 23 1 ~ 23 n, a retraction output selector connected to the switch input lines 3 1 to 3 n.
【0136】次に、動作について説明する。ここで、図
15は、セル退避回路221 〜22n の動作を流れ図を
用いて説明したものである。セル退避回路221 〜22
n は、ふくそう判定出力線31を通して、ふくそう判定
回路20のふくそう判定の有無をモニタしている。も
し、ふくそう状態であれば、退避用入力セレクタ251
〜25n は、退避バッファ制御回路241 〜24n の指
示に従い入線11 〜1nを退避バッファ231 〜23n
に接続し、入力したセルを退避バッファ231 〜23n
に保留させる。Next, the operation will be described. Here, FIG. 15 illustrates the operation of the cell save circuits 22 1 to 22 n using a flowchart. Cell saving circuit 22 1 to 22
n monitors the presence / absence of congestion determination of the congestion determination circuit 20 through the congestion determination output line 31. If it is congested, the save input selector 25 1
To 25 n are incoming lines 1 1 to 1 n the save buffer 23 1 ~ 23 n in accordance with an instruction of the save buffer control circuit 24 1 to 24 n
To the save buffers 23 1 to 23 n.
To hold.
【0137】一方、ふくそう状態でなければ、セル退避
回路221 〜22n は、共通バッファ形スイッチ9にセ
ルを出力することができる。そのため、FIFOの規
則、すなわち最も時間的に早く到着したセルから出力す
る。もし、退避バッファ231〜23n の内部にセルが
蓄積されていたら、そのセルから出力するため、退避用
入力セレクタ251 〜25n は、退避バッファ制御回路
241 〜24n の指示に従い入線11 〜1n を退避バッ
ファ231 〜23n に接続し、入力したセルを退避バッ
ファ231 〜23n に保留させると同時に、退避用出力
セレクタ261 〜26n は、同じく退避バッファ制御回
路241〜24nの指示に従い退避バッファ231 〜23
n をスイッチ入力線31 〜3n に接続し、前記セルを退
避バッファ231 〜23n から出力させる。もし、退避
バッファ231 〜23n の内部にセルが蓄積されていな
いのならば、退避用入力セレクタ251 〜25n と退避
用出力セレクタ261 〜26n は、前記と逆の接続形
態、すなわちバイパスリンク271 〜27n 側に接続さ
れ、入力セルを直接スイッチ入力線31 〜3n に出力さ
せる。On the other hand, when not in the congested state, the cell saving circuits 22 1 to 22 n can output the cells to the common buffer type switch 9. Therefore, the FIFO rule, that is, the cell that arrives earliest in time is output. If cells have been accumulated in the save buffers 23 1 to 23 n , the save input selectors 25 1 to 25 n input the lines according to the instructions of the save buffer control circuits 24 1 to 24 n in order to output from the cells. 1 1 to 1 n and the connection to the saving buffer 23 1 ~ 23 n, and at the same time held the inputted cell to the save buffer 23 1 ~ 23 n, output selector 26 1 ~ 26 n for saving, like saving buffer control circuit The save buffers 23 1 to 23 in accordance with the instructions of 24 1 to 24 n
n is connected to the switch input lines 3 1 to 3 n , and the cells are output from the save buffers 23 1 to 23 n . If no cells are stored in the save buffers 23 1 to 23 n , the save input selectors 25 1 to 25 n and the save output selectors 26 1 to 26 n are connected in the reverse connection form to the above. That is, it is connected to the bypass links 27 1 to 27 n side and outputs the input cells directly to the switch input lines 3 1 to 3 n .
【0138】実施例7.次に、この発明の他の実施例を
図に基づいて説明する。図16は、この発明の一実施例
によるセル交換装置のブロック図、図17は、セル退避
回路22の動作手順を示す流れ図である。前述した実施
例1によるセル交換装置(図1,図2,図4,図6)、
および前述した実施例2によるセル交換装置(図1,図
4,図6,図9)と同一または相当部分には同一符号を
付して、説明を省略する。Example 7. Next, another embodiment of the present invention will be described with reference to the drawings. 16 is a block diagram of a cell exchange apparatus according to an embodiment of the present invention, and FIG. 17 is a flow chart showing an operation procedure of the cell save circuit 22. The cell exchange device according to the first embodiment (FIGS. 1, 2, 2 and 4),
Also, the same or corresponding parts as those of the cell exchange apparatus according to the second embodiment (FIG. 1, FIG. 4, FIG. 6, FIG. 9) described above are designated by the same reference numerals, and description thereof will be omitted.
【0139】図16において、251 〜25n は、退避
バッファ制御回路241 〜24n の切り替え指示に従っ
て、入線11 〜1n から入力したセルを後述のバイパス
リンク271 〜27n または退避バッファ231 〜23
n に振り分ける退避用入力セレクタである。261 〜2
6n は、退避バッファ制御回路241 〜24n の切り替
え指示に従って、後述のバイパスリンク271 〜27n
または退避バッファ231 〜23n のどちらかを選択
し、スイッチ入力線31 〜3n に接続する退避用出力セ
レクタである。281 〜28n は、入力セルのヘッダ内
に付いている遅延等の優先度を表わす符号等を読み取
り、退避バッファ制御回路241 〜24n に前記優先度
を通知する優先セル判別回路である。[0139] In FIG. 16, 25 1 to 25 n is retracted according to switching instruction buffer control circuit 24 1 to 24 n, the incoming line 1 1 to 1 n below the cell inputted from the bypass link 27 1 ~ 27 n or retracted buffer 23 1-23
It is an evacuation input selector that distributes to n . 26 1 ~ 2
6 n according switching instruction saving buffer control circuit 24 1 to 24 n, the bypass link 27 1 ~ 27 n below
Or select either of the save buffer 23 1 ~ 23 n, a retraction output selector connected to the switch input lines 3 1 to 3 n. Numerals 28 1 to 28 n are priority cell discrimination circuits which read a code or the like indicating the priority such as delay in the header of the input cell and notify the save buffer control circuits 24 1 to 24 n of the priority. .
【0140】次に、動作について説明する。ここで、図
17は、セル退避回路221 〜22n の動作を流れ図を
用いて説明したものである。本実施例では、セルの遅延
に関する優先度は2クラスとして、以下では遅延敏感セ
ルと遅延鈍感セルとよぶことにする。ただし、この優先
度は2クラス以上であってもよい。Next, the operation will be described. Here, FIG. 17 illustrates the operation of the cell save circuits 22 1 to 22 n using a flowchart. In the present embodiment, the priority of cell delay is two classes, and will be referred to as a delay sensitive cell and a delay insensitive cell hereinafter. However, this priority may be two or more classes.
【0141】優先セル判別回路281 〜28n は、到着
セルのヘッダを監視しており、前記セルのヘッダ等の中
に付与された遅延等に関する優先度を検出している。優
先度は、直接ビット形式でヘッダ中に与えられる場合も
ありうるし、VPI/VCI(チャネル識別子等)で判
断する場合もあるが、1つのセルは必ずいずれかの優先
度クラスに所属している。The priority cell discriminating circuits 28 1 to 28 n monitor the headers of the arriving cells and detect the priorities relating to delays and the like added to the headers of the cells. The priority may be directly given in the bit format in the header or may be determined by VPI / VCI (channel identifier etc.), but one cell always belongs to one of the priority classes. .
【0142】優先セル判別回路281 〜28n により識
別された到着セルが遅延敏感セルであったときには、た
とえふくそう判定回路20がふくそう状態を検出してい
ても、セル退避回路221 〜22n は、到着セルをその
まま出力する。When the arriving cells identified by the priority cell discriminating circuits 28 1 to 28 n are delay sensitive cells, the cell evacuation circuits 22 1 to 22 n are detected even if the congestion determining circuit 20 detects the congestion state. Outputs the arrival cell as it is.
【0143】逆に、優先セル判別回路281 〜28n が
遅延鈍感セルを検出したときは、セル退避回路221 〜
22n は、ふくそう判定回路20のふくそう判定の有無
により処理がことなってくる。もし、ふくそう状態であ
れば、退避用入力セレクタ251 〜25n は、退避バッ
ファ制御回路241 〜24n の指示に従い入線11 〜1
n を退避バッファ231 〜23n に接続し、入力したセ
ルを退避バッファ231 〜23n に保留させる。On the contrary, when the priority cell discrimination circuits 28 1 to 28 n detect delay insensitive cells, the cell saving circuits 22 1 to 22 1 to
22 n is processed differently depending on the presence / absence of congestion determination by the congestion determination circuit 20. If it is in a congested state, the evacuation input selectors 25 1 to 25 n follow the instructions of the evacuation buffer control circuits 24 1 to 24 n to input lines 1 1 to 1 respectively.
n is connected to the save buffers 23 1 to 23 n , and the input cells are held in the save buffers 23 1 to 23 n .
【0144】一方、ふくそう状態でなければ、セル退避
回路221 〜22n は、共通バッファ形スイッチ9にセ
ルを出力することができる。そのため、FIFOの規
則、すなわち最も時間的に早く到着したセルから出力す
る。もし、退避バッファ231〜23n の内部にセルが
蓄積されていたら、そのセルから出力するため、退避用
入力セレクタ251 〜25n は、退避バッファ制御回路
241 〜24n の指示に従い入線11 〜1n を退避バッ
ファ231 〜23n に接続し、入力したセルを退避バッ
ファ231 〜23n に保留させると同時に、退避用出力
セレクタ261 〜26n は、同じく退避バッファ制御回
路241 〜24n の指示に従い退避バッファ231 〜2
3n をスイッチ入力線31 〜3n に接続し、前記セルを
退避バッファ231 〜23n から出力させる。もし、退
避バッファ231 〜23n の内部にセルが蓄積されてい
ないのならば、退避用入力セレクタ251 〜25n と退
避用出力セレクタ261 〜26n は、前記と逆の接続形
態、すなわちバイパスリンク271 〜27n 側に接続さ
れ、入力セルを直接スイッチ入力線31 〜3n に出力さ
せる。On the other hand, when not in the congested state, the cell saving circuits 22 1 to 22 n can output the cells to the common buffer type switch 9. Therefore, the FIFO rule, that is, the cell that arrives earliest in time is output. If cells have been accumulated in the save buffers 23 1 to 23 n , the save input selectors 25 1 to 25 n input the lines according to the instructions of the save buffer control circuits 24 1 to 24 n in order to output from the cells. 1 1 to 1 n and the connection to the saving buffer 23 1 ~ 23 n, and at the same time held the inputted cell to the save buffer 23 1 ~ 23 n, output selector 26 1 ~ 26 n for saving, like saving buffer control circuit The save buffers 23 1 to 2 according to the instructions of 24 1 to 24 n
3 n are connected to the switch input lines 3 1 to 3 n to output the cells from the save buffers 23 1 to 23 n . If no cells are stored in the save buffers 23 1 to 23 n , the save input selectors 25 1 to 25 n and the save output selectors 26 1 to 26 n are connected in the reverse connection form to the above. That is, it is connected to the bypass links 27 1 to 27 n side and outputs the input cells directly to the switch input lines 3 1 to 3 n .
【0145】実施例8.次に、この発明の他の実施例を
図に基づいて説明する。図18は、この発明の一実施例
によるセル交換装置のブロック図である。前述した実施
例1によるセル交換装置(図1,図2,図4,図6)、
および前述した実施例2によるセル交換装置(図1,図
4,図6,図9)と同一または相当部分には同一符号を
付して、説明を省略する。Example 8. Next, another embodiment of the present invention will be described with reference to the drawings. FIG. 18 is a block diagram of a cell exchange apparatus according to an embodiment of the present invention. The cell exchange device according to the first embodiment (FIGS. 1, 2, 2 and 4),
Also, the same or corresponding parts as those of the cell exchange apparatus according to the second embodiment (FIG. 1, FIG. 4, FIG. 6, FIG. 9) described above are designated by the same reference numerals, and description thereof will be omitted.
【0146】図18において、291 〜29n は、ふく
そう判定回路20の指示に従って、ふくそう状態が検出
されるとふくそうを通知するセル、すなわち制御セルを
スイッチ出力線41 〜4n に多重する制御セル多重回路
である。301 〜30n は、セル退避回路221 〜22
n に対応して設けられ、前記制御セル多重回路291〜
29n の出力から制御セルを分離し、制御情報をセル退
避回路221 〜22nに通知する制御セル分離回路であ
る。In FIG. 18, 29 1 to 29 n multiplex cells which notify congestion when a congestion state is detected, that is, control cells, to the switch output lines 4 1 to 4 n according to the instruction of the congestion determination circuit 20. It is a control cell multiplex circuit. 30 1 to 30 n are cell save circuits 22 1 to 22.
n corresponding to the control cell multiplexing circuit 29 1
The control cell separation circuit separates the control cell from the output of 29 n and notifies the cell save circuits 22 1 to 22 n of the control information.
【0147】次に、動作について説明する。ふくそう検
出回路20が共通バッファ形スイッチ9のふくそう状態
を検出すると、制御セル多重回路291 〜29n に通知
し、ここで、あらかじめ定められた形式の制御セルが生
成される。制御セルはスイッチ出力線41 〜4n におい
て、アイドルセル等のタイミングで多重化され、制御セ
ル分離回路301 〜30n に到着する。制御セル分離回
路301 〜30n では、制御セルのみを抽出し、他のデ
ータは、出線21 〜2n に送出する。一方、抽出された
制御セルは、解釈され、ふくそう状態が判別すると、セ
ル退避回路221 〜22n に通知される。Next, the operation will be described. When the congestion detection circuit 20 detects the congestion state of the common buffer type switch 9, the congestion detection circuit 20 notifies the control cell multiplexing circuits 29 1 to 29 n , and control cells of a predetermined format are generated here. The control cells are multiplexed on the switch output lines 4 1 to 4 n at timings such as idle cells and arrive at the control cell separation circuits 30 1 to 30 n . The control cell separation circuits 30 1 to 30 n extract only the control cells and send other data to the outgoing lines 2 1 to 2 n . On the other hand, the extracted control cells are interpreted, and when the congestion state is determined, the cell save circuits 22 1 to 22 n are notified.
【0148】図19は、図18に示したセル交換装置の
実装形態を示す図である。制御セル多重回路は、共通バ
ッファ形スイッチ基板100に実装される。ふくそう判
定回路20は、ふくそう判定出力線31を制御セル多重
回路291 〜29n に対して接続している。また、制御
セル分離回路301 〜30n は、インタフェース基板に
それぞれ設けられている。図19に示すような実装形態
を取る場合には、ふくそう判定回路20からのふくそう
判定出力線31が共通バッファ形スイッチ基板100内
部だけに存在し、図8に示したようにふくそう判定出力
線31をそれぞれのインタフェース基板に接続する必要
がない。従って、インタフェース基板と共通バッファ形
スイッチ基板との間の信号線本数減らすことができる。FIG. 19 is a diagram showing a mounting form of the cell exchange apparatus shown in FIG. The control cell multiplexing circuit is mounted on the common buffer type switch substrate 100. The congestion determination circuit 20 connects the congestion determination output line 31 to the control cell multiplexing circuits 29 1 to 29 n . Further, the control cell separation circuits 30 1 to 30 n are respectively provided on the interface board. When the implementation form shown in FIG. 19 is adopted, the congestion judgment output line 31 from the congestion judgment circuit 20 exists only inside the common buffer type switch substrate 100, and the congestion judgment output line 31 as shown in FIG. Need not be connected to each interface board. Therefore, the number of signal lines between the interface board and the common buffer type switch board can be reduced.
【0149】実施例9.なお、前記実施例1〜8では、
単体のセル交換装置を示したが、この装置をリンク接続
し、順次多段に接続してもよい。Example 9. In addition, in the said Examples 1-8,
Although a single cell switching device is shown, this device may be linked and sequentially connected in multiple stages.
【0150】実施例10.また、前記実施例1〜8で
は、単体のセル交換装置を示したが、この装置を格子状
に接続し、順次マトリクス状に接続してもよい。Example 10. Further, in the first to eighth embodiments, a single cell exchange device is shown, but the devices may be connected in a grid pattern and sequentially connected in a matrix pattern.
【0151】実施例11.また、前記実施例1および2
では、共通バッファ形スイッチ9は、宛先情報として、
セルのヘッダ部分を直接参照する例を示したが、共通バ
ッファ形スイッチ9の前段で、セルの前または後ろに宛
先を示す専用のタグを付加し、これを参照して宛先情報
を検出してもよい。また、その宛先情報は、宛先を直接
示しておらず、コード化してあってもよい。Example 11. In addition, the above-mentioned Examples 1 and 2
Then, the common buffer type switch 9 uses, as the destination information,
Although an example of directly referring to the header part of the cell is shown, a dedicated tag indicating the destination is added before or after the cell in the front stage of the common buffer type switch 9, and the destination information is detected by referring to this tag. Good. Further, the destination information does not directly indicate the destination but may be coded.
【0152】実施例12.また、前記実施例1〜8で
は、1つのセルは1つの宛先出線21 〜2m だけに出力
される場合について説明したが、宛先の指定の仕方によ
っては、複数の出線21 〜2m に出力するように設定し
ておくことも可能であり、同報機能があってもよい。Example 12. Further, in the embodiment 1-8, but one cell has been described a case where output to only one destination output line 2 1 to 2 m, the specification of how the destination, a plurality of outgoing lines 2 1 - It is also possible to set to output to 2 m , and there may be a broadcast function.
【0153】実施例13.また、前記実施例1および2
では、共通バッファ形スイッチ9は、ひとつのセルをま
とめて処理していたが、セルの構造上ヘッダ部分とデー
タ部分を分離してそれぞれ異なる速度の回路を用いてセ
ル交換を行ってもよい。Example 13 Further, the above-mentioned Examples 1 and 2
In the above, the common buffer type switch 9 processes one cell at a time, but the header part and the data part may be separated due to the structure of the cell and the cells may be exchanged using circuits of different speeds.
【0154】実施例14.加えて、前記実施例1〜8で
は、入線11 〜1n の速度と出線21 〜2m の速度を同
一としたが、出線21 〜2m の速度を速くすればトラヒ
ック集束が可能であり、逆に入線11 〜1n の速度を速
くすることも可能である。また、セル交換装置をリンク
接続した時、段間の速度を入線の速度よりも、高速にす
ることにより、段間でのセル廃棄率を低くすることも出
来る。Example 14 In addition, in the above-described Examples 1 to 8, the speed of the incoming lines 1 1 to 1 n and the speed of the outgoing lines 2 1 to 2 m are the same, but if the speed of the outgoing lines 2 1 to 2 m is increased, the traffic focusing is achieved. It is also possible to increase the speed of the incoming lines 1 1 to 1 n . Further, when the cell switching devices are linked, the inter-stage speed can be made faster than the incoming line speed to reduce the cell discard rate between stages.
【0155】実施例15.また、前記実施例1〜8で
は、セルの廃棄に対する優先クラスは単一としたが、セ
ル単位あるいはバーチャルパスまたはバーチャルチャネ
ル単位に優先度クラスを定義し、重要でないセルから先
に廃棄することで、端末への影響を最小限にすることが
出来る。また、バースト単位に廃棄優先を定義してもよ
い。Example 15. Further, in the first to eighth embodiments, the priority class for discarding cells is set to one, but by defining the priority class in cell units or virtual paths or virtual channel units and discarding insignificant cells first. , It is possible to minimize the impact on the terminal. Further, discard priority may be defined in burst units.
【0156】実施例16.さらに、前記実施例1〜8で
は、動作速度の制約はないとしたが、動作速度の制約が
ある場合には、このセル交換装置の前段および後段に、
直列/並列変換回路および並列/直列変換回路をつけ
て、並列信号として、動作速度を下げてもよい。Example 16. Further, in the first to eighth embodiments, there is no restriction on the operation speed, but when there is a restriction on the operation speed, the cell switching device is provided with a front stage and a rear stage, respectively.
A serial / parallel conversion circuit and a parallel / serial conversion circuit may be provided to reduce the operation speed as a parallel signal.
【0157】[0157]
【発明の効果】以上のように、この発明によれば、複数
の入線にバースト性の高いトラヒックが入力し、かつそ
れらが単一の出線を宛先とするときでも、高価な共通バ
ッファメモリの拡張をすることなく、セルの廃棄率を低
く抑えることが可能なセル交換装置が得られる効果があ
る。As described above, according to the present invention, even when traffic having a high burst characteristic is input to a plurality of incoming lines and they are destined to a single outgoing line, an expensive common buffer memory is used. There is an effect that a cell switching device capable of suppressing the cell discard rate to a low level can be obtained without expanding.
【0158】また、この発明によれば、共通バッファメ
モリが1つしか存在しない場合にもセルの廃棄率を低く
抑えることができる。Further, according to the present invention, the cell discard rate can be kept low even when only one common buffer memory exists.
【0159】また、この発明によれば、共通バッファメ
モリが複数存在する場合にもセルの廃棄率を低く抑える
ことができる。Further, according to the present invention, the cell discard rate can be kept low even when there are a plurality of common buffer memories.
【0160】また、この発明によれば、共通バッファメ
モリのセル保留数としきい値との比較という簡単な判定
により、ふくそう状態を判定することができる。Further, according to the present invention, the congestion state can be determined by the simple determination of comparing the cell reservation number of the common buffer memory with the threshold value.
【0161】また、この発明によれば、ふくそう状態と
判定された場合に、セルを退避するという簡単な制御に
より、セルを退避するため退避バッファ制御手段の構成
が簡単になる。Further, according to the present invention, when the congested state is determined, the cell is saved by the simple control of saving the cell, so that the structure of the save buffer control means is simplified.
【0162】また、この発明によれば、しきい値を動的
に変化させるため、システムに対応してふくそう状態を
判定することができる。Further, according to the present invention, since the threshold value is dynamically changed, the congestion state can be determined according to the system.
【0163】また、この発明によれば、ふくそう状態を
判定するために2つのしきい値を備えているため、ふく
そう状態とふくそう状態でない場合の急激な状態変化を
抑えることができる。Further, according to the present invention, since the two threshold values are provided for determining the congestion state, it is possible to suppress the rapid state change between the congestion state and the non-congestion state.
【0164】また、この発明によれば、ふくそう状態を
判定するために履歴を用いるので、ふくそうの判定がよ
り正確に求められる。Further, according to the present invention, since the history is used to determine the congestion state, the determination of congestion can be obtained more accurately.
【0165】また、この発明によれば、遅延時間に関し
て、要求の厳しいセルに対しては、この退避バッファを
迂回する回路を設け、退避バッファに書き込みまた読み
出す遅延時間を短縮するため、遅延時間の増加を避ける
ことができる。Further, according to the present invention, with respect to the delay time, a cell bypassing the save buffer is provided for a cell having a severe demand, and the delay time for writing or reading to the save buffer is shortened. You can avoid the increase.
【0166】また、この発明によれば、優先度の高いセ
ルに対して退避バッファを迂回するようにしたので、退
避バッファを用いる場合でも優先処理を行うことができ
る。Further, according to the present invention, since the save buffer is bypassed for cells having high priority, priority processing can be performed even when the save buffer is used.
【0167】また、この発明によれば、制御セルを用い
てふくそう状態を検出するようにしたので、特別な信号
線を用いることなくふくそう状態を検出することができ
る。Further, according to the present invention, since the congestion state is detected by using the control cell, it is possible to detect the congestion state without using a special signal line.
【図1】この発明の一実施例によるセル交換装置を示す
ブロック図である。FIG. 1 is a block diagram showing a cell exchange apparatus according to an embodiment of the present invention.
【図2】この発明の一実施例によるセル交換装置のう
ち、図1における共通バッファ形スイッチ9の詳細を示
すブロック図である。2 is a block diagram showing details of a common buffer type switch 9 in FIG. 1 in the cell exchange apparatus according to the embodiment of the present invention.
【図3】この発明の一実施例によるセル蓄積数のカウン
ト方式を示す図である。FIG. 3 is a diagram showing a counting method of a cell accumulation number according to an embodiment of the present invention.
【図4】この発明の一実施例によるセル交換装置におけ
るふくそう判定回路20の手順を示す流れ図である。FIG. 4 is a flowchart showing a procedure of the congestion determination circuit 20 in the cell exchange apparatus according to the embodiment of the present invention.
【図5】この発明の一実施例によるセルの入力状態を示
す図である。FIG. 5 is a diagram showing a cell input state according to an embodiment of the present invention.
【図6】この発明の一実施例によるセル交換装置におけ
るセル退避回路22の手順を示す流れ図である。FIG. 6 is a flowchart showing a procedure of the cell retraction circuit 22 in the cell exchange apparatus according to the embodiment of the present invention.
【図7】この発明の一実施例による退避バッファの動作
を示す図である。FIG. 7 is a diagram showing an operation of a save buffer according to an embodiment of the present invention.
【図8】この発明の一実施例によるセル交換装置の実装
形態を示す図である。FIG. 8 is a diagram showing an implementation of a cell exchange apparatus according to an embodiment of the present invention.
【図9】この発明の一実施例によるセル交換装置のう
ち、図1における共通バッファ形スイッチ9の詳細を示
すブロック図である。9 is a block diagram showing details of a common buffer type switch 9 in FIG. 1 in the cell exchange apparatus according to the embodiment of the present invention.
【図10】この発明の一実施例によるセル交換装置にお
けるふくそう判定回路20の手順を示す流れ図である。FIG. 10 is a flow chart showing a procedure of the congestion determination circuit 20 in the cell exchange apparatus according to the embodiment of the present invention.
【図11】この発明の一実施例によるセル交換装置にお
けるふくそう判定回路20の手順を示す流れ図である。FIG. 11 is a flow chart showing a procedure of the congestion determination circuit 20 in the cell exchange apparatus according to the embodiment of the present invention.
【図12】この発明の一実施例によるセル交換装置にお
けるふくそう判定回路20の詳細を示すブロック図であ
る。FIG. 12 is a block diagram showing details of the congestion determination circuit 20 in the cell exchange apparatus according to one embodiment of the present invention.
【図13】この発明の一実施例によるセル交換装置にお
けるふくそう判定回路20の手順を示す流れ図である。FIG. 13 is a flowchart showing the procedure of the congestion determination circuit 20 in the cell exchange apparatus according to the embodiment of the present invention.
【図14】この発明の一実施例によるセル交換装置を示
すブロック図である。FIG. 14 is a block diagram showing a cell exchange apparatus according to an embodiment of the present invention.
【図15】この発明の一実施例によるセル交換装置にお
けるセル退避回路22の手順を示す流れ図である。FIG. 15 is a flowchart showing the procedure of the cell retraction circuit 22 in the cell switching apparatus according to the embodiment of the present invention.
【図16】この発明の一実施例によるセル交換装置を示
すブロック図である。FIG. 16 is a block diagram showing a cell exchange apparatus according to an embodiment of the present invention.
【図17】この発明の一実施例によるセル交換装置にお
けるセル退避回路22の手順を示す流れ図である。FIG. 17 is a flowchart showing a procedure of the cell retraction circuit 22 in the cell exchange apparatus according to the embodiment of the present invention.
【図18】この発明の一実施例によるセル交換装置を示
すブロック図である。FIG. 18 is a block diagram showing a cell exchange apparatus according to an embodiment of the present invention.
【図19】この発明の一実施例によるセル交換装置の実
装形態を示す図である。FIG. 19 is a diagram showing an implementation of a cell exchange apparatus according to an embodiment of the present invention.
【図20】従来のセル交換装置を示すブロック図であ
る。FIG. 20 is a block diagram showing a conventional cell exchange apparatus.
【図21】従来のATMスイッチを示すブロック図であ
る。FIG. 21 is a block diagram showing a conventional ATM switch.
【図22】従来の入力用制御ユニットの構成図である。FIG. 22 is a configuration diagram of a conventional input control unit.
11 〜1n 入線 21 〜2m 出線 31 〜3n スイッチ入力線 41 〜4m スイッチ出力線 7 セル多重回路 8 セル分離回路 9a 共通バッファ形スイッチ 9b 共通バッファ形スイッチ 10 ヘッダ処理回路 11 共通バッファメモリ 111 〜11p 共通バッファメモリ 12 空きアドレス管理回路 121 〜12p 空きアドレス管理回路 13 入線側クロスポイントスイッチ 14 出線側クロスポイントスイッチ 15a バッファ制御回路 15b バッファ制御回路 16a 書き込みバッファ選択回路 16b 書き込みバッファ選択回路 17 アドレス交換回路 181 〜18m アドレス待ち行列 19a 読み出しバッファ選択回路 19b 読み出しバッファ選択回路 20 ふくそう判定回路 21a スイッチ内部モニタ 21b スイッチ内部モニタ 221 〜22n セル退避回路 231 〜23n 退避バッファ 241 〜24n 退避バッファ制御回路 251 〜25n 退避用入力セレクタ 261 〜26n 退避用出力セレクタ 271 〜27n バイパスリンク 281 〜28n 優先セル判別回路 291 〜29n 制御セル多重回路 301 〜30n 制御セル分離回路 31 ふくそう判定出力線 32 履歴保存プール 33 履歴演算回路 34 比較回路1 1 to 1 n incoming line 2 1 to 2 m outgoing line 3 1 to 3 n switch input line 4 1 to 4 m switch output line 7 cell multiplexing circuit 8 cell separation circuit 9a common buffer type switch 9b common buffer type switch 10 header processing Circuit 11 Common buffer memory 11 1 to 11 p Common buffer memory 12 Free address management circuit 12 1 to 12 p Free address management circuit 13 Input line side crosspoint switch 14 Output line side crosspoint switch 15a Buffer control circuit 15b Buffer control circuit 16a Write buffer selection circuit 16b write buffer selecting circuit 17 the address exchange circuit 18 1 ~ 18 m address queue 19a read buffer selecting circuit 19b read buffer selecting circuit 20 congestion determination circuit 21a switches the internal monitor 21b switches the internal monitor 22 1 - 2 n cells save circuit 23 1 ~ 23 n save buffer 24 1 to 24 n save buffer control circuit 25 1 to 25 n evacuation input selector 26 1 ~ 26 n evacuation output selector 27 1 ~ 27 n bypass link 28 1-28 n priority cell discrimination circuit 29 1 to 29 n control cell multiplexing circuit 30 1 to 30 n control cell separation circuit 31 congestion determination output line 32 history storage pool 33 history operation circuit 34 comparison circuit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 山田 浩利 鎌倉市大船五丁目1番1号 三菱電機株式 会社通信システム研究所内 (72)発明者 大島 一能 鎌倉市大船五丁目1番1号 三菱電機株式 会社通信システム研究所内 ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Hirotoshi Yamada 5-1-1, Ofuna, Kamakura City Mitsubishi Electric Corp. Communication Systems Research Laboratories (72) Ichino Oshima 5-1-1, Ofuna, Kamakura City Mitsubishi Electric Communication Systems Research Institute, Inc.
Claims (11)
セルを入力する複数の入線、 (b)前記セルのヘッダ部に指定された宛先情報に応じ
てセルが出力される複数の出線、 (c)各出線に対して共通に設けられた共通バッファメ
モリを備え、前記セルを入力し共通バッファメモリに記
憶し、記憶したセルをそのヘッダ部で指定された出線に
出力する共通バッファ形スイッチ、 (d)前記共通バッファ形スイッチの共通バッファメモ
リのセル保留状態を監視し、ふくそう状態を判定するふ
くそう判定手段、 (e)前記入線と前記共通バッファ形スイッチの間に前
記入線の各々に対応して設けられ、前記入線に到着した
セルを一時的に記憶するセル退避手段。1. A cell switching device having the following elements: (a) a plurality of incoming lines for inputting a cell consisting of a data part and a header part containing its destination information; (b) destination information specified in the header part of the cell. A plurality of output lines from which cells are output in accordance with the above, (c) a common buffer memory commonly provided for each output line is provided, the cells are input and stored in the common buffer memory, and the stored cells are A common buffer type switch for outputting to the output line designated by the header section, (d) Congestion judging means for monitoring the cell holding state of the common buffer memory of the common buffer type switch and judging the congested state, (e) the input Cell evacuation means provided between the line and the common buffer type switch corresponding to each of the incoming lines, and temporarily storing cells arriving at the incoming line.
力される複数のスイッチ出力線と、 前記スイッチ入力線より入力された前記セルのヘッダ部
より宛先のスイッチ出力線を検出するヘッダ処理回路
と、 アドレスを指定することによって前記セルが書き込ま
れ、また、アドレスを指定することによって、前記書き
込みの順序とは関係なく前記セルの読み出しが可能な共
通バッファメモリと、 前記ヘッダ処理回路の出力をセル単位に多重し前記共通
バッファメモリに接続するセル多重回路と、 前記共通バッファメモリの出力をセル単位に分離し、前
記スイッチ出力線にセルを振り分けるセル分離回路と、 前記セルが書き込まれる共通バッファメモリ内のアドレ
スを前記セルの宛先別に管理し、それに基づいて共通バ
ッファメモリに読み出しアドレスを指示して、前記セル
をそのヘッダ部で指定される前記スイッチ出力線に所定
の順番で出力させるバッファ制御回路とを備えたことを
特徴とする請求項1記載のセル交換装置。2. The common buffer type switch comprises: a switch input line to which a cell is input; a plurality of switch output lines to which the cell is output according to a destination designated in a header part thereof; and the switch input line. The header processing circuit that detects the destination switch output line from the header portion of the cell that is input by the cell, the cell is written by designating the address, and the order of writing is designated by the address. A common buffer memory capable of reading the cells regardless of the above, a cell multiplexing circuit that multiplexes the output of the header processing circuit in cell units and connects to the common buffer memory, and separates the output of the common buffer memory in cell units. A cell separation circuit for allocating cells to the switch output line, and a common buffer memory in which the cells are written A buffer control circuit that manages the address for each cell destination, instructs a read address to a common buffer memory based on the address, and outputs the cells to the switch output line designated by the header section in a predetermined order. The cell switching device according to claim 1, further comprising:
力される複数のスイッチ出力線と、 前記スイッチ入力線より入力された前記セルのヘッダ部
より宛先のスイッチ出力線を検出するヘッダ処理回路
と、 アドレスを指定することによって前記セルが書き込ま
れ、また、アドレスを指定することによって、前記書き
込みの順序とは関係なく前記セルの読み出しが可能な複
数の共通バッファメモリと、 前記ヘッダ処理回路の出力を所定の前記共通バッファメ
モリに選択的に接続する入線側クロスポイントスイッチ
と、 前記共通バッファメモリを所定の前記スイッチ出力線に
選択的に接続する出線側クロスポイントスイッチと、 前記入線側クロスポイントスイッチを制御して、前記セ
ルが書き込まれる共通バッファメモリを選択するととも
に、前記書き込まれたセルの前記バッファメモリ内のア
ドレスを前記セルの宛先別に管理し、それに基づいて前
記出線側クロスポイントスイッチを制御して、前記セル
をそのヘッダ部で指定される前記スイッチ出力線に所定
の順番で出力させるバッファ制御回路とを備えたことを
特徴とする請求項1記載のセル交換装置。3. The common buffer type switch comprises: a switch input line to which a cell is input; a plurality of switch output lines to which the cell is output according to a destination specified in its header section; and the switch input line. The header processing circuit that detects the destination switch output line from the header portion of the cell that is input by the cell, the cell is written by designating the address, and the order of writing is designated by the address. A plurality of common buffer memories capable of reading the cells regardless of the relationship; an input side crosspoint switch for selectively connecting the output of the header processing circuit to the predetermined common buffer memory; An output side crosspoint switch selectively connected to the switch output line, and the input side crosspoint switch Control the switch to select a common buffer memory to which the cell is written, and manage the address of the written cell in the buffer memory for each destination of the cell, and based on that, the output side crosspoint 2. The cell exchange apparatus according to claim 1, further comprising a buffer control circuit that controls a switch to output the cells in a predetermined order to the switch output line designated by the header section thereof.
ファ形スイッチ内の共通バッファメモリのセル保留数を
監視し、セル保留数が予め定められたしきい値を超えた
場合、ふくそう状態と判定することを特徴とする請求項
1、2又は3記載のセル交換装置。4. The congestion determination means monitors the cell reservation number of a common buffer memory in the common buffer switch, and when the cell reservation number exceeds a predetermined threshold value, it is determined that the congestion state exists. The cell switching device according to claim 1, 2 or 3, characterized in that.
ルを書き込み、前記書き込みセルを読み出し前記スイッ
チ出力線に出力する退避バッファと、 前記ふくそう判定手段がふくそう状態と判定すると、前
記退避バッファには、入線に入力したセルを保留させ、
また何も読み出さずスイッチ入力線には何も出力させな
い制御を行い、また、前記ふくそう判定回路がふくそう
状態と判定しない場合には、前記退避バッファには、入
線に入力したセルを保留させ、また前記書き込みセルを
読み出させる制御を行う退避バッファ制御回路とを備え
たことを特徴とする請求項2、3又は4記載のセル交換
装置。5. The evacuation buffer for writing a cell arriving at an incoming line, reading the written cell and outputting it to the switch output line, and the evacuation buffer for storing the cell in the evacuation buffer when the congestion determination means determines a congestion state. Puts on hold the cells entered on the incoming line,
In addition, control is performed such that nothing is read out and nothing is output to the switch input line, and when the congestion determination circuit does not determine a congestion state, the save buffer holds the cells input to the input line, and 5. The cell exchange apparatus according to claim 2, further comprising a save buffer control circuit that controls reading of the written cell.
定するためのしきい値を、動的に変化させることを特徴
とする請求項4又は5記載のセル交換装置。6. The cell switching device according to claim 4, wherein the congestion determination unit dynamically changes a threshold value for determining congestion.
定するためのしきい値として、ふくそうでない状態から
ふくそう状態を検出する第1のしきい値と、ふくそうで
ない状態からふくそう状態を検出する第2のしきい値を
備えたことを特徴とする請求項4又は5記載のセル交換
装置。7. The congestion determination means, as thresholds for determining congestion, a first threshold for detecting a congestion state from a non-congested state and a second threshold for detecting a congestion state from a non-congested state. 6. The cell switching device according to claim 4, wherein the cell switching device has a threshold value of.
ファ形スイッチ内の共通バッファメモリのセル保留数の
過去の履歴を採取し、前記履歴からふくそう状態を判定
することを特徴とする請求項4又は5記載のセル交換装
置。8. The congestion determining means collects a past history of the number of cells held in a common buffer memory in the common buffer type switch, and determines the congestion state from the history. 5. The cell exchange device according to item 5.
を迂回するバイパス手段を備えることを特徴とする請求
項4又は5記載のセル交換装置。9. The cell exchanging device according to claim 4, wherein the cell evacuation means includes a bypass means that bypasses the evacuation buffer.
に関する優先度を検出し、遅延に対して敏感なセルと鈍
感なセルとで処理が異なることを特徴とする請求項9記
載のセル交換装置。10. The cell exchange according to claim 9, wherein the cell evacuation means detects a priority regarding a delay of an input cell, and processing is different between a delay-sensitive cell and an insensitive cell. apparatus.
態を検出すると前記出線に制御セルを混入し、前記セル
退避手段は、出線から前記制御セルを抽出することでふ
くそう状態を感知することを特徴とする請求項1、2又
は3記載のセル交換装置。11. The congestion determination means mixes a control cell into the outgoing line when a congestion state is detected, and the cell evacuation means detects the congestion state by extracting the control cell from the outgoing line. The cell switching device according to claim 1, 2 or 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4914194A JPH07264197A (en) | 1994-03-18 | 1994-03-18 | Cell exchange device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4914194A JPH07264197A (en) | 1994-03-18 | 1994-03-18 | Cell exchange device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07264197A true JPH07264197A (en) | 1995-10-13 |
Family
ID=12822813
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4914194A Pending JPH07264197A (en) | 1994-03-18 | 1994-03-18 | Cell exchange device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07264197A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012530439A (en) * | 2009-06-18 | 2012-11-29 | アルカテル−ルーセント | Congestion control method and apparatus |
-
1994
- 1994-03-18 JP JP4914194A patent/JPH07264197A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012530439A (en) * | 2009-06-18 | 2012-11-29 | アルカテル−ルーセント | Congestion control method and apparatus |
| US8867347B2 (en) | 2009-06-18 | 2014-10-21 | Alcatel Lucent | Method and apparatus for congestion control |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7058070B2 (en) | Back pressure control system for network switch port | |
| AU675302B2 (en) | Output-buffer switch for asynchronous transfer mode | |
| JP2856104B2 (en) | ATM switch | |
| CA2112528C (en) | Packet switching system for forwarding packets from input buffers using idle/busy status of output buffers | |
| US6252877B1 (en) | ATM switching system and cell control method | |
| US5838677A (en) | Switching system having means for congestion control by monitoring packets in a shared buffer and by suppressing the reading of packets from input buffers | |
| EP0299473B1 (en) | Switching system and method of construction thereof | |
| US6473432B1 (en) | Buffer control apparatus and method | |
| JPH08251233A (en) | Packet communication system and method of improved memory layout | |
| CA2114857C (en) | Data queueing apparatus and atm cell switch based on shifting and searching | |
| US6574232B1 (en) | Crossbar switch utilizing broadcast buffer and associated broadcast buffer management unit | |
| US6046982A (en) | Method and apparatus for reducing data loss in data transfer devices | |
| JPH07264197A (en) | Cell exchange device | |
| US5923657A (en) | ATM switching system and cell control method | |
| JP2682434B2 (en) | Output buffer type ATM switch | |
| JP3197152B2 (en) | Cell switching equipment | |
| JP3597113B2 (en) | Packet switching equipment | |
| JP2845588B2 (en) | Cell exchange buffer memory control circuit, cell exchange provided with the cell exchange buffer memory control circuit, and cell exchange buffer memory control method | |
| GB2306076A (en) | ATM network switch | |
| JP2561046B2 (en) | Switching system | |
| JP2549200B2 (en) | Cell exchange device | |
| KR20030079454A (en) | Apparatus and method for Ingress control of packet switch system | |
| JPH07264210A (en) | ATM switch | |
| JP2561047B2 (en) | Switching system | |
| JPH0514388A (en) | Bandwidth control method in ATM network |