JPH0738576A - Cell assembler/disassembler - Google Patents

Cell assembler/disassembler

Info

Publication number
JPH0738576A
JPH0738576A JP18376793A JP18376793A JPH0738576A JP H0738576 A JPH0738576 A JP H0738576A JP 18376793 A JP18376793 A JP 18376793A JP 18376793 A JP18376793 A JP 18376793A JP H0738576 A JPH0738576 A JP H0738576A
Authority
JP
Japan
Prior art keywords
cell
buffer
area
stm
channel
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
Application number
JP18376793A
Other languages
Japanese (ja)
Inventor
Hiroshi Fujitani
宏 藤谷
Toshiro Mizuno
俊郎 水野
Takenori Okuya
武則 奥谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP18376793A priority Critical patent/JPH0738576A/en
Publication of JPH0738576A publication Critical patent/JPH0738576A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the control of buffers on the transmission side and the reception side and to efficiently use the buffers. CONSTITUTION:The cell disassembler is composed of a cell reception circuit 11, buffer 1 for cell disassembler, write control means for cell disassembler, read control means for cell disassembler, and STM line transmission circuit 14, the cell assembler is composed of an STM line reception circuit 15, buffer 2 for cell assembler, write control means 16 and 5 for cell assembler, read control means 17 and 6 for cell assembler and cell transmission circuit 18, and the buffer 2 for cell assembler and the buffer 1 for cell disassembler are composed of areas divided into N pieces, and controlled by the write control means 16 and 5 for cell assembler and the read control means 17 and 6 for cell assembler.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、多数のチャネルが多重
化されたSTM回線を介してデータを送受信し、各チャ
ネル対応にセルの組み立て・分解を行うセル組み立て分
解装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cell assembling / disassembling apparatus for transmitting / receiving data via an STM line in which a large number of channels are multiplexed and assembling / disassembling cells for each channel.

【0002】[0002]

【従来の技術】従来から、送信側において組み立てたセ
ルをSTM回線を介して送信し、受信側において受信し
たセルを分解するようにしたデータ伝送方式は公知であ
る。セル分解側(受信側)において、ATM(Asynchr
onous Transfer Mode:非同期転送モード)セルを
受信し、もとのSTM(Synchronous TransferMod
e:同期転送モード)データ列に変換する機能すなわち
AAL(ATM Adaptation Layer)処理の多重化を
行う場合、受信したATMセルのヘッダVPI(Virtu
al Path Identifier)/VCI(Virtual Channel Id
entifier)により、先ず交換すべきSTM回線のチャネ
ルを識別し、チャネル対応のバッファにそのセルを格納
する。適切なゆらぎ吸収制御のもとで、STM多重回線
の該当するTS(タイムスロット)位置に同期して該バ
ッファからサンプル単位に読み出され、STMデータに
変換される。受信バッファは論理的にチャネル対応にあ
り、N回線多重の場合はN個のバッファが必要となる。
1つのバッファの容量を考えると、例えば、ゆらぎ吸収
のために6msの固定遅延を付加すると、64kb/s
呼の場合はその間にセルが1個程度到着するが、1.5
Mb/s(64×n:n=24)の場合だと24個以上
到着する可能性がある。すなわち64kb/sの速度を
対象にすると、nが大きくなるに従い必要バッファ量が
大きくなる。各チャネル対応のバッファ容量が十分大き
ければ、どのような速度にも対応できるが、しかしこの
場合必要なメモリ量が膨大となってしまい現実的な方法
ではない。
2. Description of the Related Art Conventionally, a data transmission system is known in which a cell assembled on the transmission side is transmitted via an STM line and a cell received on the reception side is disassembled. At the cell disassembly side (reception side), ATM (Asynchr
onous Transfer Mode: Receives an asynchronous transfer mode (Asynchronous Transfer Mode) cell and returns the original STM (Synchronous Transfer Mode).
e: Synchronous transfer mode) When converting to a data string, that is, when multiplexing AAL (ATM Adaptation Layer) processing, the header VPI (Virtu) of the received ATM cell
al Path Indentifier) / VCI (Virtual Channel Id)
First, the channel of the STM line to be exchanged is identified by the entifier) and the cell is stored in the buffer corresponding to the channel. Under appropriate fluctuation absorption control, the data is read from the buffer in sample units in synchronization with the corresponding TS (time slot) position of the STM multiplex line and converted into STM data. The reception buffer logically corresponds to the channel, and N buffers are required in the case of N line multiplexing.
Considering the capacity of one buffer, for example, if a fixed delay of 6 ms is added to absorb fluctuations, 64 kb / s
In the case of a call, one cell arrives during that time, but 1.5
In the case of Mb / s (64 × n: n = 24), there is a possibility that 24 or more will arrive. That is, for a speed of 64 kb / s, the required buffer amount increases as n increases. If the buffer capacity for each channel is large enough, any speed can be supported, but in this case the amount of memory required is enormous, which is not a practical method.

【0003】そこで受信バッファメモリを有効に使う方
法として、各チャネル対応のバッファを固定的に割り付
けず、全体で共通なメモリを用意し、セルが受信される
たびに必要なバッファを確保するという方法が考えられ
る。しかし、この方法によると、セル単位にバッファを
割り付けるためバッファの使い方は非常に効率よくなる
が、逆にそのためのバッファ制御が複雑化する。特に高
多重化処理をねらう場合は、その複雑化が処理時間の増
大につながり、実現可能な多重度に影響を及ぼし、実質
的に実現可能な多重度を制限する。
Therefore, as a method of effectively using the reception buffer memory, a buffer for each channel is not fixedly allocated, but a common memory is prepared as a whole, and a necessary buffer is secured every time a cell is received. Can be considered. However, according to this method, since the buffer is allocated to each cell, the usage of the buffer becomes very efficient, but on the contrary, the buffer control for that purpose becomes complicated. Particularly, in the case of aiming for high multiplexing processing, the complication leads to an increase in processing time, affects the achievable multiplicity, and substantially limits the achievable multiplicity.

【0004】逆に、セル組み立て側(送信側)において
は、組み立て完了したセルをすぐ送出することが基本で
あり、インプリメント上処理遅延が生じても、それが何
msというオーダはシステム設計上許されない。従って
受信側よりバッファ量は少なくてよく、特に64kb/
sの場合を考えるとセルが組み立て完了するのは約6m
sであるから、1つのセルが組み立て完了し、そのセル
が送出し終わるまでにもう次のセルが組み立て完了する
ようなことはない。従って1チャネル当たりのバッファ
容量は1〜2セル分の容量あればよい。しかし(64k
b/s)×nの速度で特にnが大きい場合、例えば、n
=96だと1フレーム(125μs)内で3セルが連続
して発生する場合がある。多重処理による他のチャネル
のセルの送出待ち遅延やインプリメント上の処理遅延が
数μs程度のオーダで生じると、バッファ容量が1〜2
セル分だけしかない場合はオーバフローが生じることに
なる。従来は(64kb/s)×nの多種類の速度の呼
や高多重処理を考慮した方法は十分検討されていなかっ
たため、送信側のセル組み立てバッファはチャネル対応
に固定容量のバッファを持つのが通常であった。しかし
前述したように、送信側においても受信側と同様に速度
nに応じて適切にバッファを割り付ける方法が要求され
る。
On the contrary, on the cell assembly side (transmission side), it is basically necessary to send out the assembled cell immediately, and even if a processing delay occurs due to implementation, the order of several ms is allowed by the system design. Not done. Therefore, the buffer size may be smaller than that on the receiving side, especially 64 kb /
Considering the case of s, the assembly of the cell is about 6 m
Since s, one cell is completely assembled, and the next cell is not completely assembled by the time the cell is completely transmitted. Therefore, the buffer capacity per channel may be one to two cells. But (64k
b / s) × n and n is particularly large, for example, n
When = 96, three cells may continuously occur within one frame (125 μs). If a transmission waiting delay of a cell of another channel or a processing delay due to the implementation due to the multiplexing process occurs in the order of several μs, the buffer capacity becomes 1 to 2
If there are only cells, overflow will occur. Conventionally, a method considering a call of various speeds of (64 kb / s) × n and a high multiplexing process has not been sufficiently studied, so that the cell assembly buffer on the transmission side has a fixed capacity buffer for each channel. It was normal. However, as described above, the transmitting side is required to have a method of appropriately allocating the buffers according to the speed n, as in the receiving side.

【0005】[0005]

【発明が解決しようとする課題】上述したように、バッ
ファ制御は予めチャネル毎に固定的に割り付ければその
制御は簡単化されるが、逆にバッファを有効に使用する
ために必要に応じて割り付けるような柔軟性を実現しよ
うとすると、制御が複雑化するという問題がある。本発
明の目的は、固定割り付けを基本とすることにより制御
の簡単化をねらいながら、かつバッファを効率よく使用
する方法を提供するものである。
As described above, if the buffer control is fixedly assigned to each channel in advance, the control can be simplified, but conversely, it may be necessary to effectively use the buffer. There is a problem that the control becomes complicated when trying to realize the allocation flexibility. An object of the present invention is to provide a method of efficiently using a buffer while aiming at simplification of control by using fixed allocation as a basis.

【0006】[0006]

【課題を解決するための手段】本発明は、上記目的を達
成するために、入力したセルを、64kb/sを基本速
度とし該速度のn倍(n≧1)の速度の情報を伝送でき
る64kb/s換算でNチャネル多重化された同期転送
モード(STM)回線のチャネル情報に変換するセル分
解装置において、セル分解装置が、セル受信回路と、セ
ル分解装置用バッファと、セル分解装置用書き込み制御
手段と、セル分解装置用読み出し制御手段と、STM回
線送出回路とから構成され、セル分解装置用バッファ
は、N個に分割されたエリアからなり、該エリアは特定
数k1個のセルバッファを有し、セル分解装置用書き込
み制御手段は、セル受信回路出力のセルヘッダの情報に
基づいて、出力すべきSTM回線のチャネル番号に対応
するセル分解装置用バッファへの書き込みエリア番号
と、該エリア内のセルバッファ番号とを算出し、エリア
内のセルバッファ番号がk1になったときに、セルバッ
ファ番号を初期化し、使用するn個のエリア番号の順序
を指定した第1のメモリにより、次にアクセスすべきエ
リア番号を出力し、セル分解装置用バッファの書き込み
制御を行い、セル分解装置用読み出し制御手段は、ST
M回線送出回路が出力すべきチャネル番号に対応するセ
ル分解装置用バッファからの読み出しエリア番号と、該
エリア内のセルバッファ番号と、セルバッファに格納し
たセル情報のうちSTM回線に送出すべきデータ位置を
示すSTMデータ読み出しアドレスとを算出し、エリア
内のセルバッファ番号がk1になったときに、セルバッ
ファ番号を初期化し、使用するn個のエリア番号の順序
を指定した第2のメモリにより、次にアクセスすべきエ
リア番号を出力し、セル分解装置用バッファの書き込み
制御を行い、セル分解装置用バッファの出力をSTM回
線送出回路に出力するようにしたことを特徴としてい
る。
According to the present invention, in order to achieve the above object, an input cell can transmit information at a speed of n times (n ≧ 1) times a basic speed of 64 kb / s. In a cell disassembling device for converting into channel information of a synchronous transfer mode (STM) line multiplexed with N channels at 64 kb / s conversion, the cell disassembling device comprises a cell receiving circuit, a cell disassembling device buffer, and a cell disassembling device. The write control means, the cell disassembly device read control means, and the STM line transmission circuit are provided. The cell disassembly device buffer is composed of N divided areas, and the area is a specific number k1 of cell buffers. And a write control means for the cell disassembling device for the cell disassembling device corresponding to the channel number of the STM line to be output based on the information in the cell header of the cell receiving circuit output. The area number to be written to the buffer and the cell buffer number in the area are calculated, and when the cell buffer number in the area becomes k1, the cell buffer number is initialized and the order of n area numbers to be used is calculated. The area number to be accessed next is output by the first memory that has designated, and write control of the cell disassembly device buffer is performed.
The area number to be read from the cell disassembly device buffer corresponding to the channel number to be output by the M line transmission circuit, the cell buffer number in the area, and the data to be transmitted to the STM line out of the cell information stored in the cell buffer. The STM data read address indicating the position is calculated, and when the cell buffer number in the area becomes k1, the cell buffer number is initialized, and the second memory that specifies the order of the n area numbers to be used is used. The area number to be accessed next is output, the write control of the cell disassembly device buffer is performed, and the output of the cell disassembly device buffer is output to the STM line transmission circuit.

【0007】また、入力したセルを、64kb/sを基
本速度とし該速度のn倍の速度の情報を伝送できる64
kb/s換算でNチャネル多重化された同期転送モード
(STM)回線を多重化した状態で非同期転送モード
(ATM)にセル化するセル組み立て装置において、セ
ル組み立て装置が、STM回線受信回路と、セル組み立
て装置用バッファと、セル組み立て装置用書き込み制御
手段と、セル組み立て装置用読み出し制御手段と、セル
送信回路とから構成され、セル組み立て装置用バッファ
は、N個に分割されたエリアからなり、該エリアは特定
数k2個のセルバッファを有し、セル組み立て装置用書
き込み制御手段は、STM回線送出回路が出力すべきチ
ャネル番号に対応するセル組み立て装置用バッファへの
書き込みエリア番号と、該エリア内のセルバッファ番号
と、セルバッファに格納したセル情報のうちSTM回線
から書き込むべきデータ位置を示すSTMデータ書き込
みアドレスとを算出し、エリア内のセルバッファ番号が
k2になったときに、セルバッファ番号を初期化し、使
用するn個のエリア番号の順序を指定した第3のメモリ
により、次にアクセスすべきエリア番号を出力すること
によりセル組み立て装置用バッファの書き込み制御を行
い、セル組み立て装置用読み出し制御手段は、セル送信
回路へのセルヘッダの情報に対応するSTM回線のチャ
ネル番号に対応するセル組み立て装置用バッファへの読
み出しエリア番号と、該エリア内のセルバッファ番号と
を算出し、前記エリア内のセルバッファ番号がk2にな
ったときに、セルバッファ番号を初期化し、使用するn
個のエリア番号の順序を指定した第4のメモリにより、
次にアクセスすべきエリア番号を出力することによりセ
ル組み立て装置用バッファの書き込み制御を行い、セル
組み立て装置用バッファの出力をセル送信回路に出力す
ることを特徴としている。さらに、上記のセル分解装置
およびセル組み立て装置からセル組み立て分解装置を構
成することを特徴としている。
In addition, the input cell can transmit information at a speed n times the basic speed of 64 kb / s.
In a cell assembling apparatus for making cells in asynchronous transfer mode (ATM) in a state where N-channel multiplexed synchronous transfer mode (STM) lines are converted to kb / s, the cell assembling device includes an STM line receiving circuit, A cell assembling device buffer, a cell assembling device write control means, a cell assembling device reading control means, and a cell transmission circuit, and the cell assembling device buffer is composed of N areas. The area has a specific number of k2 cell buffers, and the cell assembly device write control means writes the cell assembly device buffer write area number corresponding to the channel number to be output by the STM line sending circuit, and the area. Cell buffer number in the internal buffer and the cell information stored in the cell buffer that should be written from the STM line. The STM data write address indicating the data position is calculated, and when the cell buffer number in the area becomes k2, the cell buffer number is initialized and the third memory that specifies the order of n area numbers to be used The write control of the cell assembling device buffer is performed by outputting the area number to be accessed next, and the cell assembling device read control means causes the channel number of the STM line corresponding to the information of the cell header to the cell transmission circuit. The read area number to the buffer for cell assembling device corresponding to the above and the cell buffer number in the area are calculated, and when the cell buffer number in the area becomes k2, the cell buffer number is initialized and used. Do n
By the fourth memory that specifies the order of the area numbers,
Next, by writing the area number to be accessed, write control of the cell assembling device buffer is performed, and the output of the cell assembling device buffer is output to the cell transmission circuit. Further, a cell assembling / disassembling apparatus is configured from the above cell disassembling apparatus and cell assembling apparatus.

【0008】[0008]

【作用】本発明のセル組み立て分解装置を用いると、1
つのバッファ容量は64kb/s呼として使用した場合
に必要な容量でよく、(64kb/s)×nの場合はn
個のバッファの制御を簡易に行うことができ、また、そ
の制御に必要な制御情報メモリも削減することができる
という効果を有する。
When the cell assembling / disassembling apparatus of the present invention is used, 1
One buffer capacity may be a capacity required when used as a 64 kb / s call, and is (n) in the case of (64 kb / s) × n.
This has an effect that the control of each buffer can be performed easily and the control information memory necessary for the control can be reduced.

【0009】[0009]

【実施例】本発明の第1の実施例を説明する。今、64
kb/sの速度でNチャネル多重できる容量を有する回
線において、(64kb/s)×nの速度の呼が多重化
されている場合を考える。STMの回線では、64kb
/sの速度で1サンプル(8ビット)送出する時間12
5μsにNサンプルが時間位置多重されている。その時
間位置をタイムスロット(TS)と呼ぶと、125μs
の1フレームにN個の有効なTSがあり、64kb/s
のチャネルすなわちn=1の場合はそのうちの1個のT
Sを占有して通信が行われる。従ってどのTSを使用す
る回線かによりチャネル番号(タイムスロット番号T
S)を1対1に対応させることができ、セル組み立て装
置用バッファおよび分解装置用バッファもそのチャネル
番号(タイムスロット番号TS)に対応させてそれぞれ
N個固定的に割り付けることができる。すなわち64k
b/s呼の場合はそのチャネル番号(タイムスロット番
号TS)により使用するセル組み立て分解番号が求ま
り、受信したTSデータを格納するアドレスを求めるこ
とや、受信したセルの格納場所をアドレッシングするこ
とが容易にできる。
EXAMPLE A first example of the present invention will be described. Now 64
Consider a case where a call having a speed of (64 kb / s) × n is multiplexed in a line having a capacity capable of N-channel multiplexing at a speed of kb / s. 64 kb on STM lines
Time to send 1 sample (8 bits) at a speed of / s 12
N samples are time-position multiplexed at 5 μs. When that time position is called a time slot (TS), it is 125 μs.
There are N valid TSs in one frame of 64 kb / s
Channels, that is, one of the T if n = 1
Communication is performed by occupying S. Therefore, the channel number (time slot number T
S) can be made to correspond one-to-one, and N cell assembling device buffers and disassembling device buffers can be fixedly allocated in correspondence with their channel numbers (time slot numbers TS). Ie 64k
In the case of a b / s call, the cell assembly / disassembly number to be used can be obtained from the channel number (time slot number TS), the address for storing the received TS data can be obtained, and the storage location of the received cell can be addressed. You can easily.

【0010】ところで(64kb/s)×nの速度の場
合は、必要とするバッファ容量はnに従って可変とな
り、またTSの割り付け方も呼毎に可変であるため、バ
ッファを固定的に割り付けることが困難となる。しか
し、(64kb/s)×nの速度のチャネルの必要バッ
ファ量は64kb/s呼のn倍であることを考えると、
固定容量の64kb/s用のバッファn個を該チャネル
用のバッファとして使用すればよいことになる。すなわ
ち(64kb/s)×nの速度の場合は1フレーム内の
n個のTSを占有して通信するから、セル組み立て分解
装置用バッファとしては、そのn個のTSがそれぞれ6
4kb/sとして使用された場合の各チャネル番号(タ
イムスロット番号TS)に対応するバッファを使用すれ
ばよい。n個のバッファを使用するため、64kb/s
呼の場合のn倍の容量を使用でき、全体の容量を増やさ
ずに合理的にバッファを使用できる。このように使用す
るn個のバッファはその(64kb/s)×nのチャネ
ルが使用しているTSに対応しているバッファであるか
ら、他のチャネルが使用するバッファと重なることはな
い。
When the speed is (64 kb / s) × n, the required buffer capacity is variable according to n, and the TS allocation method is variable for each call. Therefore, the buffers can be fixedly allocated. It will be difficult. However, considering that the required buffer capacity of a channel having a speed of (64 kb / s) × n is n times that of a 64 kb / s call,
It is only necessary to use n fixed-capacity 64 kb / s buffers as buffers for the channel. That is, in the case of a speed of (64 kb / s) × n, communication is performed by occupying n TSs in one frame, so that each of the n TSs is 6 as a cell assembly / disassembly device buffer.
A buffer corresponding to each channel number (time slot number TS) when used as 4 kb / s may be used. 64 kb / s because n buffers are used
It can use n times the capacity of a call and can reasonably use the buffer without increasing the overall capacity. The n buffers used in this way are buffers corresponding to the TS used by the (64 kb / s) × n channel, and therefore do not overlap with the buffers used by other channels.

【0011】上述した本発明の第1実施例を図1を用い
て詳細に説明する。図1において、1はセル分解装置用
バッファ、2はセル組み立て装置用バッファ、3〜6は
それぞれのバッファの書き込み/読み出しアドレス制御
回路であり、これらが第1実施例の中心構成である。ま
た、7および10はセル多重回線、8および9はSTM
多重回線、11はセル受信回路、12は書き込み制御回
路、13は読み取り制御回路、14はSTM回線送出回
路、15はSTM回線受信回路、16は書き込み制御回
路、17は読み取り制御回路、18はセル送出回路であ
る。
The above-described first embodiment of the present invention will be described in detail with reference to FIG. In FIG. 1, 1 is a cell disassembling device buffer, 2 is a cell assembling device buffer, and 3 to 6 are write / read address control circuits of the respective buffers, which are the central components of the first embodiment. Also, 7 and 10 are cell multiplexed lines, and 8 and 9 are STM.
Multiplex line, 11 cell receiving circuit, 12 write control circuit, 13 read control circuit, 14 STM line sending circuit, 15 STM line receiving circuit, 16 write control circuit, 17 read control circuit, 18 cell It is a sending circuit.

【0012】セル分解装置用バッファ1およびセル組み
立て装置用バッファ2は、それぞれがk1およびk2個
のセルを格納できる容量を持つN個のエリアから構成さ
れ、例えば、TS1(タイムスロット1)が64kb/
sのチャネルとして使われている場合、BNUM(バッ
ファエリア番号)1のエリアをそのチャネルのセル組み
立て分解装置用バッファとして使用し、TS1からTS
6が384kb/s(64×6:n=6)のチャネルに
設定している場合は、そのチャネルはBNUM1〜6の
6個のエリアをそのバッファとして使用する。このとき
各チャネルがN個のエリアのどれを使用するか、そのエ
リア内のどの位置に書き込みあるいは読み取りをするか
を、3〜6のアドレス制御部で行う。前述の例でいえ
ば、TS1〜TS6がそれぞれ64kb/sのチャネル
として設定されている場合は、例えば、BNUM1〜6
をそれぞれのチャネルのバッファとして使用すればよ
く、384kb/sのチャネルとして設定されている場
合は、BNUM1〜6をそのチャネルのバッファとして
使用すればよい。すなわち、チャネル速度が任意に変更
できる場合でも、その最大速度に合わせて全体のバッフ
ァ容量を増やす必要はない。
The cell disassembling apparatus buffer 1 and the cell assembling apparatus buffer 2 are composed of N areas each having a capacity of storing k1 and k2 cells, for example, TS1 (time slot 1) is 64 kb. /
When used as a channel for s, the area of BNUM (buffer area number) 1 is used as a buffer for the cell assembling / disassembling device of that channel, and TS1 to TS
If 6 is set to a 384 kb / s (64 × 6: n = 6) channel, that channel uses 6 areas of BNUM1 to 6 as its buffers. At this time, the address control units 3 to 6 determine which of the N areas each channel uses and which position in the area to write or read. In the above example, when TS1 to TS6 are respectively set as 64 kb / s channels, for example, BNUM1 to 6
Should be used as a buffer for each channel, and if set as a 384 kb / s channel, BNUM1-6 should be used as a buffer for that channel. That is, even if the channel speed can be arbitrarily changed, it is not necessary to increase the total buffer capacity according to the maximum speed.

【0013】しかし、このn個の別々のバッファエリア
を一つのチャネルのバッファとしてどのように簡易にア
ドレッシング制御するかが問題となる。そのアドレス制
御手段として、具体的には、セル分解装置用バッファ
(セル受信バッファ)に到着したセルを書き込み制御す
る手段(図1の3、12)、セル分解装置用バッファの
読み取り制御手段(同4、13)、セル組み立て装置用
バッファの書き込み制御手段(同5、16)および読み
取り制御手段(同6、17)の4種類と、それを組み合
わせた処理とがある。
However, a problem is how to easily control the addressing by using the n separate buffer areas as a buffer of one channel. As the address control means, specifically, means for controlling the writing of the cells arriving at the cell disassembly device buffer (cell reception buffer) (3, 12 in FIG. 1) and read control means for the cell disassembly device buffer (the same as the above). 4, 13), write control means (5, 16) and read control means (6, 17) of the buffer for cell assembling apparatus, and processing combining them.

【0014】図2を用いて本発明のセル受信バッファの
アドレッシング制御方法に関する実施例を示す。図2
は、図1のセル分解装置用バッファ1、アドレス制御回
路3、セル受信回路11、書き込み制御回路12で構成
される部分を模式的に示したものである。図2に示すよ
うに、セル分解装置用バッファ1への書き込みアドレス
を制御するアドレス制御回路3は、3つのテーブル10
1(TABL1)、102(TABL2)、103(T
ABL3)から構成されている。
An embodiment relating to the addressing control method of the cell reception buffer of the present invention will be described with reference to FIG. Figure 2
1 schematically shows a portion including the cell disassembly device buffer 1, the address control circuit 3, the cell reception circuit 11, and the write control circuit 12 shown in FIG. As shown in FIG. 2, the address control circuit 3 for controlling the write address to the cell disassembly device buffer 1 has three tables 10.
1 (TABL1), 102 (TABL2), 103 (T
ABL 3).

【0015】101(TABL1)はセルのヘッダ(V
PI/VCI)の値毎にチャネル番号(CHN:10
4)が書かれたテーブルである。102(TABL2)
はチャネル番号CHN毎にその制御情報を格納したテー
ブルである。その制御情報の種類としては、受信したセ
ルが正しいか否かを判定するのに必要な情報や、そのセ
ルをバッファに格納するためのメモリアドレスを求める
のに必要な情報などがある。後者に必要な情報としてバ
ッファエリア番号を表す情報(BNUM:105)と、
そのエリアに、例えば、k1個のセルを格納できる容量
を持つとすると、そのk1個のうちの何番目に格納する
か(セル番号)を表す情報(CEN:106)とがあ
り、それらがテーブル102(TABL2)に書かれて
いる。
101 (TABL1) is a cell header (V
Channel number (CHN: 10 for each PI / VCI) value
It is a table where 4) is written. 102 (TABL2)
Is a table storing the control information for each channel number CHN. The types of the control information include information necessary for determining whether the received cell is correct, information necessary for obtaining a memory address for storing the cell in the buffer, and the like. As information necessary for the latter, information indicating the buffer area number (BNUM: 105),
For example, assuming that the area has a capacity capable of storing k1 cells, there is information (CEN: 106) indicating which number (cell number) of the k1 cells is stored, and these are stored in a table. It is written in 102 (TABL2).

【0016】103(TABL3)はバッファエリア番
号(BNUM)をアドレスとするテーブルで、それぞれ
のBNUMに対し次に使用するBNUMが書かれてい
る。このテーブルの内容の一例を図3に示す。図3の例
はTS1(タイムスロット1)、TS3、TS5、TS
7、TS9、TS11の6つのTSを占有して384k
b/s(64kb/s×6:n=6)のチャネルが設定
された場合を示してある。この6つのTSがそれぞれ6
4kb/s呼として使用された場合に割り付けられるバ
ッファエリア番号(BNUM)を1、3、5、7、9、
11とすると、この384kb/s呼の場合にもBNU
M1、3、5、7、9、11を使用するように制御され
る。この6つのバッファエリアを使用するという情報が
TABL3に書かれている。すなわち、BNUM1のア
ドレスには次に使用するBNUMの3という値が書かれ
ている。同様にしてBNUM3のアドレスには次に使用
するBNUMの5という値が、BNUM5のアドレスに
は次に使用するBNUMの7という値が、BNUM7の
アドレスには次に使用するBNUMの9という値が、B
NUM9のアドレスには次に使用するBNUMの11と
いう値が、BNUM11のアドレスには次に使用するB
NUMの1という値が書かれている。
Reference numeral 103 (TABL3) is a table having a buffer area number (BNUM) as an address, and a BNUM to be used next is written for each BNUM. An example of the contents of this table is shown in FIG. In the example of FIG. 3, TS1 (time slot 1), TS3, TS5, TS
Occupy 6 TSs of 7, TS9 and TS11 and 384k
The case where a channel of b / s (64 kb / s × 6: n = 6) is set is shown. These 6 TSs are 6 each
The buffer area number (BNUM) assigned when used as a 4 kb / s call is 1, 3, 5, 7, 9,
If it is 11, the BNU is also used for this 384 kb / s call.
Controlled to use M1, 3, 5, 7, 9, 11. Information that the six buffer areas are used is written in the TABL3. That is, the value of 3 of BNUM used next is written in the address of BNUM1. Similarly, the address of BNUM3 has the value 5 of the next used BNUM, the address of BNUM5 has the value 7 of the next used BNUM, and the address of BNUM7 has the value 9 of the next used BNUM. , B
The value of 11 of BNUM to be used next is set to the address of NUM9, and the value of B to be used next is set to the address of BNUM11.
The value of 1 of NUM is written.

【0017】次に、図3の具体例のもとで、図2のセル
受信バッファのアドレッシング制御動作を説明する。図
2において、セル多重回線7から入力されたセルがセル
受信回路11で受信され、またセルヘッダの内容、例え
ば、VPI/VCIの値が多重回線10に出力される。
そのVPI/VCIの値をTABL1によりチャネル番
号CHNに変換し、次にTABL2からそのチャネル番
号CHNのアドレスに書かれたバッファエリア番号BN
UMとセル番号CENの値を求める。これによりセル受
信回路11に入力してきたセルをセル分解装置用バッフ
ァのどの位置に書き込めばよいかが求められる。バッフ
ァエリア番号BNUMが“1”で、セル番号CENが
“1”である場合は、図2のセル分解装置用バッファ1
の一番先頭のエリアに書き込めばよい。バッファエリア
番号BNUMとセル番号CENの値をもとに書き込み制
御回路12で実アドレスに変換され、以上のような書き
込み処理が行われる。
Next, the addressing control operation of the cell reception buffer of FIG. 2 will be described with reference to the specific example of FIG. In FIG. 2, the cell input from the cell multiplex line 7 is received by the cell receiving circuit 11, and the content of the cell header, for example, the value of VPI / VCI is output to the multiplex line 10.
The value of the VPI / VCI is converted to the channel number CHN by TABL1, and then the buffer area number BN written in the address of the channel number CHN from TABL2.
Calculate the values of UM and cell number CEN. As a result, the position in the cell disassembling device buffer where the cell input to the cell receiving circuit 11 should be written is determined. When the buffer area number BNUM is "1" and the cell number CEN is "1", the buffer 1 for cell disassembling apparatus in FIG.
You can write in the first area of. Based on the values of the buffer area number BNUM and the cell number CEN, the write control circuit 12 converts the value into a real address, and the above write processing is performed.

【0018】次に、バッファエリア番号BNUM105
およびセル番号CEN106の更新制御回路108によ
りセル番号CENの値を1更新し、“2”に書き換え
る。したがって、同じチャネルの次のセルが入力した時
は、そのセルはバッファエリア番号BNUM=1のセル
番号CEN=2の位置に格納される。k1の値を4とす
ると、BNUM=1、CEN=4の位置にセルを格納し
た時点でBNUM1のエリアは一杯になる。このときは
BNUM=1をアドレスとしてTABL3を検索し、図
3に示すように“3”という値を得る。従ってTABL
2のBNUM、CENをそれぞれ“3”、“1”という
値に書き換える。これによって、同じチャネルの次のセ
ルはBNUM=3のCEN=1の位置にアドレス制御さ
れ、このようにしてこの384kb/sのチャネルはバ
ッファエリア番号1、3、5、7、9、11、再び1、
3、5、・・・というように、6つバッファエリアをあ
たかも1つの連続したバッファのように使用することが
できる。
Next, the buffer area number BNUM105
And the value of the cell number CEN is updated by 1 by the update control circuit 108 of the cell number CEN 106, and rewritten to "2". Therefore, when the next cell of the same channel is input, that cell is stored at the position of the cell number CEN = 2 of the buffer area number BNUM = 1. If the value of k1 is 4, the area of BNUM1 becomes full at the time when the cell is stored at the position of BNUM = 1 and CEN = 4. At this time, TABL3 is searched with BNUM = 1 as an address, and a value of "3" is obtained as shown in FIG. Therefore, TABL
BNUM and CEN of 2 are rewritten to values of "3" and "1", respectively. This causes the next cell of the same channel to be addressed to the CEN = 1 position of BNUM = 3, thus this 384 kb / s channel is buffer area number 1, 3, 5, 7, 9, 11, Again 1,
Six buffer areas can be used as if they were one continuous buffer, such as 3, 5, ....

【0019】以上はn=6の例であるが、nは任意の値
でよく、n=1の場合すなわち64kb/sの場合も同
じ処理で実行でき、その時は結果的にバッファエリアを
1個使用するだけである。また、図2に示した例ではア
ドレス制御回路3をテーブルTABL1、TABL2、
TABL3の3種類のテーブルで構成してあるが、実際
にはそれらを1つのテーブルにまとめたり、あるいはも
っと多くのテーブルに分割することも可能である。ま
た、セルのヘッダ(VPI/VCI)がチャネル番号C
HNに1対1に対応し、変更する必要性のない場合はT
ABL1に相当するテーブルを取り去ることも可能であ
る。なお、これらの点については、以下説明する実施例
についても同様のことがいえる。
The above is an example of n = 6, but n may be any value, and when n = 1, that is, in the case of 64 kb / s, the same process can be executed, and as a result, one buffer area is obtained. Just use it. Further, in the example shown in FIG. 2, the address control circuit 3 is set to the tables TABL1, TABL2,
Although it is composed of three types of table of TABL3, it is actually possible to combine them into one table or divide them into more tables. The cell header (VPI / VCI) is the channel number C.
There is a one-to-one correspondence with HN, and T if there is no need to change
It is also possible to remove the table corresponding to ABL1. In addition, about these points, the same can be said also about the Example demonstrated below.

【0020】図4は本発明の第1実施例での、セル分解
装置用バッファ(受信側)の読み取り制御手段を示して
いる。図4において、20はSTM多重回線8のタイム
スロットTSの位置を表す情報の入力線で、例えば、フ
レームパルスとクロックによりカウントした値がタイム
スロット情報として入力される。110(TABL4)
は入力したタイムスロット番号(TSN)から、そのタ
イムスロットにどのチャネルのデータが載るかを検索す
るテーブルで、111(TABL5)はチャネル対応の
制御情報が載ったテーブルである。具体的な例として、
TABL5には、セル分解装置用バッファからデータを
読み取るためのアドレスを求める情報としてバッファエ
リア番号BNUM、セル番号CEN、バイト番号ACT
Rとが載っており、それらの値から実アドレスを求め、
その後、113の更新回路によりアドレスを更新する。
1つのタイムスロットTSのアクセスでデータは1バイ
ト読み取るため、読み取り後、バイト番号ACTRを1
更新する。1つのセル長分を全部読み取り終ったら、セ
ル番号CENを1更新し、バイト番号ACTRは初期
値、例えば“1”に戻す。セル番号CENによりそのバ
ッファのセルが全て読み取り終わったことがわかれば、
図2で説明したのと同様に、テーブルTABL3から次
のバッファエリア番号BNUMを読み取り、テーブルT
ABL5のバッファエリア番号BNUMをその値に置き
換える。以上説明したように、図2と図4とを比較した
場合、図4がバイト単位のアドレス情報が増加している
点を除けば基本的には同じ制御動作を行う。また、図2
および図4における参照番号103と112のテーブル
(TABL3)は、競合条件を考慮して公知の技術を用
いれば共用することができる。
FIG. 4 shows the reading control means of the cell disassembly device buffer (reception side) in the first embodiment of the present invention. In FIG. 4, reference numeral 20 is an input line for information indicating the position of the time slot TS of the STM multiplex line 8, and for example, a value counted by a frame pulse and a clock is input as time slot information. 110 (TABL4)
Is a table for searching the input time slot number (TSN) for which channel data is included in the time slot, and 111 (TABL5) is a table in which the control information corresponding to the channel is included. As a concrete example,
In the TABL 5, a buffer area number BNUM, a cell number CEN, and a byte number ACT are used as information for obtaining an address for reading data from the cell disassembly device buffer.
R is listed, and the real address is calculated from those values,
After that, the update circuit 113 updates the address.
Since one byte of data is read by accessing one time slot TS, the byte number ACTR is set to 1 after reading.
Update. When the reading of one cell length is completed, the cell number CEN is updated by 1, and the byte number ACTR is returned to the initial value, for example, "1". If you know that all the cells in the buffer have been read by the cell number CEN,
As in the case described with reference to FIG. 2, the next buffer area number BNUM is read from the table TABL3, and the table TBL3 is read.
The buffer area number BNUM of ABL5 is replaced with that value. As described above, when comparing FIG. 2 and FIG. 4, basically the same control operation is performed except that the address information in byte units in FIG. 4 increases. Also, FIG.
The table (TABL3) of reference numerals 103 and 112 in FIG. 4 can be shared by using a known technique in consideration of the race condition.

【0021】図5に示したものは、セル組み立て(送信
側)時のセル組み立て装置用バッファへの書き込み制御
を示すものである。図5において、21はSTM多重化
回線9のタイムスロットTSの位置を表す情報のTS番
号制御線である。120(TABL6)は入力したタイ
ムスロット番号(TSN)から、そのタイムスロットに
どのチャネルのデータが載るかを検索するテーブルで、
121(TABL7)はチャネル対応の制御情報が載っ
たテーブルである。具体的な例として、TABL7に
は、セル組み立て装置用バッファ128へデータを書き
込むためのアドレスを求める情報としてバッファエリア
番号BNUM、セル番号CEN、バイト番号ACTRと
が載っている。
FIG. 5 shows the write control to the cell assembling device buffer during cell assembling (transmission side). In FIG. 5, reference numeral 21 is a TS number control line of information indicating the position of the time slot TS of the STM multiplexing line 9. 120 (TABL6) is a table for searching which channel data is recorded in the time slot from the input time slot number (TSN).
Reference numeral 121 (TABL7) is a table in which control information corresponding to channels is recorded. As a specific example, the TABL 7 has a buffer area number BNUM, a cell number CEN, and a byte number ACTR as information for obtaining an address for writing data in the cell assembly device buffer 128.

【0022】図5を用いてセル組み立てを行った場合の
例について説明する。TS番号制御線21を介して入力
されるSTM多重回線受信回路15からのTS番号のデ
ータのセル組み立て装置用バッファへの格納アドレスは
テーブル121(TABL7)のバッファエリア番号B
NUM、セル番号CEN、バイト番号ACTRの値から
求められ、そのデータをバッファに書き込み、その後バ
イト番号ACTRの値を1更新する。このときバイト番
号ACTRの値がセル長分格納されたことを表す値を示
していれば、そのセルバッファではセルの組み立てが完
了したことがわかり、セル送出制御側でそのセルの読み
取り送出処理が行われる。そのときのバッファエリア番
号BNUMとセル番号CENの値からセルデータの読み
取りアドレスが求められる。バッファエリア番号BNU
M、セル番号CENの値の更新は図4で説明したのと同
様にすればよい。このようにして、同じチャネルのセル
が異なるバッファエリア番号で組み立てられても、一つ
のバッファに順にセルが組み立てられたようにセルを読
み取り送出することができる。
An example of cell assembly will be described with reference to FIG. The storage address of the data of the TS number from the STM multiplex line receiving circuit 15 inputted through the TS number control line 21 in the buffer for cell assembling device is the buffer area number B of the table 121 (TABL7).
Obtained from the values of NUM, cell number CEN, and byte number ACTR, the data is written in the buffer, and then the value of byte number ACTR is updated by 1. At this time, if the value of the byte number ACTR indicates a value indicating that the cell length has been stored, it is known that the cell assembly is completed in the cell buffer, and the cell transmission control side executes the reading and transmitting process of the cell. Done. The read address of the cell data is obtained from the values of the buffer area number BNUM and the cell number CEN at that time. Buffer area number BNU
The values of M and the cell number CEN may be updated in the same manner as described with reference to FIG. In this way, even if cells of the same channel are assembled with different buffer area numbers, the cells can be read and transmitted as if the cells were assembled in sequence in one buffer.

【0023】以上説明したように、本発明の装置はAT
M多重回線とSTM多重回線の間に適用し、その相互の
変換を行うものである。ATM回線から到着したセルは
ゆらぎを持つため、セル分解装置用バッファに書き込ま
れたセルを読み取り制御する場合、例えば、呼設定後の
最初にセルが到着した時点から一定遅延後に本発明のア
ドレス制御に従ってデータの読み取りを開始することに
なる。このとき付加遅延が大きければセル分解装置用バ
ッファに書き込まれるセルは多くなるため、バッファの
オーバフローが起こらないようにバッファエリアの容量
k1を適切に定めればよい。すなわち、実際に適用する
システムに応じて、ゆらぎ量が大きいシステムの場合は
k1を大きくし、逆の場合は小さくするなどして、適切
なk1の値を設定すればよい。またゆらぎ吸収量よりも
大きな遅延でセルが到着したり、セル損出が生じた場合
でも、例えば、無音パターンのセルを本発明のアドレス
制御のもとでセル分解装置用バッファに書き込めばよ
く、このような場合でも本発明の適用は問題がない。
As described above, the device of the present invention is an AT
It is applied between the M multiplex line and the STM multiplex line to perform mutual conversion. Since the cells arriving from the ATM line have fluctuations, when controlling the reading of the cells written in the cell disassembly device buffer, for example, the address control of the present invention after a certain delay from the time when the cells first arrive after the call setup. The reading of data will be started according to. At this time, if the additional delay is large, the number of cells written in the cell disassembling apparatus buffer increases, so that the capacity k1 of the buffer area may be appropriately determined so that the buffer overflow does not occur. That is, depending on the system to which the system is actually applied, k1 may be increased in the case of a system having a large fluctuation amount, and may be decreased in the opposite case to set an appropriate value of k1. Further, even if a cell arrives with a delay larger than the fluctuation absorption amount or even if cell loss occurs, for example, a cell with a silent pattern may be written in the cell disassembly device buffer under the address control of the present invention, Even in such a case, there is no problem in applying the present invention.

【0024】以上述べたように、本発明の上記第1の実
施例では、チャネル速度に応じて必要なバッファ容量を
合理的に使用することができるようになった。しかし、
この制御に必要な制御メモリ容量を考えると、N=20
16の場合(回線として150Mb/sを想定した場
合)はテーブルTABL3は約22kビットの容量とな
る。本発明の第2の実施例は、上記のテーブルTABL
3なしに同様な制御が可能な装置である。
As described above, in the first embodiment of the present invention, the required buffer capacity can be reasonably used according to the channel speed. But,
Considering the control memory capacity required for this control, N = 20
In the case of 16 (assuming 150 Mb / s for the line), the table TABL3 has a capacity of about 22 kbits. The second embodiment of the present invention is based on the above table TABL.
It is a device that can perform the same control without the above.

【0025】今、64kb/sの速度でNチャネル多重
できる容量の回線において、64kb/sのチャネルが
必要とする容量のエリアN個分から構成されるバッファ
を用意すれば、そのうち(64kb/s)×nの速度の
呼に対してはn個のエリアが割り当てることにより、全
体のバッファ容量は足りる。問題は、各チャネルに対し
てどのn個を使用するかを指定する方法である。受信し
たセルのヘッダからどのチャネルかを識別し、各チャネ
ル毎の制御情報の書かれたメモリからバッファの格納ア
ドレスを求める場合、どのn個を使用するかという情報
もそのメモリに載せることになる。任意のnに対応する
ためには、各チャネル毎に最大のnに対応できるだけの
情報を載せられる領域が必要となる。例えば、nの最大
値を96(7ビット)とすると、一つのチャネルに対す
る制御情報として7ビット×96の大きさを持つ領域が
必要となる。最大チャネル数(Nの値)を2016とす
ると、その領域だけで約1.4Mビットの容量になる。
そこで、図2で示した本発明の第1の実施例におけるテ
ーブルTABL3の約22kビットに抑えることができ
る。本第2の実施例は、テーブルTABL3の意味する
内容をTABL1、TABL2内に折り込み、かつ両者
の制御情報量を増加せず、テーブルTABL3が不必要
になった分だけメモリ量を削減することができる。
Now, in a line having a capacity capable of N-channel multiplexing at a speed of 64 kb / s, if a buffer composed of N areas having a capacity required for a channel of 64 kb / s is prepared, (64 kb / s) The total buffer capacity is sufficient by allocating n areas to calls of speed xn. The problem is how to specify which n to use for each channel. When identifying which channel from the header of the received cell and determining the storage address of the buffer from the memory in which the control information for each channel is written, the information about which n cells to use is also placed in that memory. . In order to correspond to an arbitrary n, it is necessary for each channel to have an area capable of carrying information as much as possible to correspond to the maximum n. For example, if the maximum value of n is 96 (7 bits), an area having a size of 7 bits × 96 is required as control information for one channel. If the maximum number of channels (value of N) is 2016, the capacity is about 1.4 Mbits only in that area.
Therefore, the table TABL3 in the first embodiment of the present invention shown in FIG. 2 can be suppressed to about 22 kbits. In the second embodiment, the contents of the table TABL3 are folded into TABL1 and TABL2, and the control information amount of both is not increased, and the memory amount can be reduced by an amount unnecessary for the table TABL3. it can.

【0026】図6に本発明の第2の実施例を示す。図6
において、41はセル多重回線、42はセル受信回路
で、受信されたセルのヘッダ情報を線43へ出力する。
その情報をもとに44のアドレス制御回路でそのセルを
格納すべきバッファアドレスが求められ、45のセル分
解装置用バッファ書き込み回路により、46のセル分解
装置用バッファに格納される。44のアドレス制御回路
は、43からのヘッダ内容をもとにそのチャネルがどの
バッファエリア番号(BNUM)を使用するかを求める
テーブル(TABL1)と、バッファエリア番号(BN
UM)に対し、そのエリアに格納するセル位置(セル番
号:CEN)と次に使用するバッファエリア番号などが
載ったテーブル(TABL2)から構成される。図6
中、47がTABL1で、49がTABL2である。あ
るヘッダ(VPI/VCI)に対応するチャネルが(6
4kb/s)×nの速度でn個のエリアを使用するので
あれば、テーブル47(TABL1)のバッファエリア
番号BNUM48にはそのn個のうちの1つの番号を書
いておけばよい。テーブル49(TABL2)にはそれ
ぞれn個のBNUMをアドレスとする領域に、次に使用
するBNUMを矛盾のないように設定すればよい。
FIG. 6 shows a second embodiment of the present invention. Figure 6
In 41, a cell multiplex line 41 and a cell receiving circuit 42 output the header information of the received cell to the line 43.
Based on the information, a buffer address for storing the cell is obtained by the address control circuit 44, and is stored in the cell disassembly device buffer 46 by the cell disassembly device buffer write circuit 45. The address control circuit of 44 determines a buffer area number (BNUM) used by the channel based on the header content from 43 and a buffer area number (BNL).
UM), a cell position (cell number: CEN) to be stored in the area and a table (TABL2) in which a buffer area number to be used next is recorded. Figure 6
Among them, 47 is TABL1 and 49 is TABL2. The channel corresponding to a certain header (VPI / VCI) is (6
If n areas are used at a speed of 4 kb / s) × n, one of the n areas may be written in the buffer area number BNUM48 of the table 47 (TABL1). In the table 49 (TABL2), each BNUM to be used may be set in an area having n BNUM as an address so that there is no contradiction.

【0027】具体的な例を用いて説明すると、あるヘッ
ダ(VPI/VCI)のチャネルが(64kb/s)×
6(=384kb/s)に設定されていたと仮定する。
また、そのチャネルが使用するバッファエリア番号BN
UMを1〜6とすると、TABL2にはバッファエリア
番号BNUM1で検索すると次のバッファエリア番号と
して2が得られるように設定する。図7がTABL2の
次BNUMの領域50だけを表したもので、上記の例の
場合が示されている。TABL1には、例えば、BNU
Mとして1を書いておく。先ず、該チャネルのセルを受
信すると、TABL1よりBNUM1が得られ、TAB
L2からはCEN=1を得て、そのセルはセル分解装置
用バッファのバッファエリア番号BNUM1の1番目の
領域に格納する。その後、CENを1更新し、次のセル
は、BNUM1の2番目に格納することになる。この動
作を続け、CEN=k1となったとき、すなわち、BN
UM1にセルが全部格納されたときは、TABL2から
次BNUMとして2の値を得て、TABL1のBNUM
の領域を2に書き換える。TABL2のCENは初期化
して1に設定しなおす。従って、次のセルはBNUM2
のCEN=1の領域に格納するようにアドレス制御され
る。図6の53がこのような更新回路で、TABL2か
らの次BNUMの読み取り/TABL1へのBNUMの
書き込みやCENの更新などを行う。このようにして1
から6の6つのエリアに順にセルが格納されることにな
る。以上はn=6の例であるが、nは任意の値でよく、
n=1の場合、すなわち64kb/sの場合も全く同じ
処理で実行でき、そのときは結果的にバッファエリアを
1個使用するだけである。
Explaining with a concrete example, the channel of a certain header (VPI / VCI) is (64 kb / s) ×
6 (= 384 kb / s).
Also, the buffer area number BN used by that channel
When UM is set to 1 to 6, TABL2 is set so that when the buffer area number BNUM1 is searched, 2 is obtained as the next buffer area number. FIG. 7 shows only the area 50 of the next BNUM of TABL2, and the case of the above example is shown. For TABL1, for example, BNU
Write 1 as M. First, when the cell of the channel is received, BNUM1 is obtained from TABL1, and TAB is obtained.
CEN = 1 is obtained from L2, and the cell is stored in the first area of the buffer area number BNUM1 of the cell disassembly device buffer. After that, CEN is updated by 1, and the next cell is stored in the second of BNUM1. When this operation is continued and CEN = k1, that is, BN
When all the cells are stored in UM1, the value of 2 as the next BNUM is obtained from TABL2, and the BNUM of TABL1 is obtained.
The area of is rewritten to 2. CEN of TABL2 is initialized and reset to 1. Therefore, the next cell is BNUM2
The address is controlled so as to be stored in the area of CEN = 1. Reference numeral 53 in FIG. 6 is such an update circuit, which reads the next BNUM from the TABL2, writes BNUM to the TABL1, updates CEN, and the like. In this way 1
The cells will be sequentially stored in the six areas 6 to 6. The above is an example of n = 6, but n may be any value,
In the case of n = 1, that is, in the case of 64 kb / s, the same processing can be executed, and in that case, only one buffer area is used as a result.

【0028】図8は、セル組み立て装置用バッファの読
み取り制御に関する構成を示している。読み取りはセル
単位でなくサンプル単位に行うため、アドレス制御情報
として1つのセル内のサンプルの位置を示す情報(AC
TR)が増加した点が図6に示したものと異なっている
ものの、それ以外は同じである。先ず、タイムスロット
TSからテーブルTABL3を用いてBNUMを求め、
そのBNUMからテーブルTABL4によりCEN、A
CTRの値を読み取り、そのTSを載せるデータのアド
レスを求める。読み取り後、ACTRを1更新すること
によりアドレスを更新する。ACTRによりそのセルが
全て読み取り終われば、CENを更新する。CENの値
で更新制御する方法は、図6の方法と同じである。この
ようにしてセルの受信側と同じように、n個のバッファ
から各サンプル毎にデータを読み取ることができる。
FIG. 8 shows a configuration relating to the read control of the cell assembling device buffer. Since reading is performed in sample units, not in cell units, information indicating the position of a sample in one cell (AC
Although the point that TR) has increased is different from that shown in FIG. 6, the other points are the same. First, the BNUM is calculated from the time slot TS using the table TABL3,
From table BBL4 from that BNUM, CEN, A
The value of CTR is read and the address of the data carrying the TS is obtained. After reading, the address is updated by updating the ACTR by 1. When the cell is completely read by ACTR, CEN is updated. The method of updating control with the value of CEN is the same as the method of FIG. In this way, data can be read from each of the n buffers on a sample-by-sample basis, similar to the receiving side of the cell.

【0029】図9に示したものは、セル組み立て装置用
バッファの書き込みアドレス制御に関する構成を示すも
のであり、基本的には図8に示したものと同じで、入力
したデータのTSN(タイムスロット番号)からそのデ
ータを格納するバッファアドレスを求める。その動作手
順は図8と同様であるため説明を省略する。
FIG. 9 shows the structure relating to the write address control of the buffer for the cell assembling apparatus, which is basically the same as that shown in FIG. 8 and is the same as that shown in FIG. Number) to obtain the buffer address for storing the data. Since the operation procedure is the same as that in FIG. 8, description thereof will be omitted.

【0030】最後に、本願特許請求の範囲に記載された
構成要件と実施例の対応が明確になるように、簡略化し
た対応図を図10および図11に示しておく。
Finally, a simplified correspondence diagram is shown in FIGS. 10 and 11 so that the correspondence between the constituent elements described in the claims of the present application and the embodiment can be clarified.

【0031】[0031]

【本発明の効果】本発明のセル組み立て分解装置を用い
ると、1つのバッファ容量は64kb/s呼として使用
した場合に必要な容量でよく、(64kb/s)×nの
場合はn個のバッファの制御を簡易に行うことができ、
また、その制御に必要な制御情報メモリも削減すること
ができるという効果を有する。
When the cell assembling / disassembling apparatus of the present invention is used, one buffer capacity may be a capacity required when used as a 64 kb / s call, and in the case of (64 kb / s) × n, n buffer capacity is required. You can easily control the buffer,
In addition, the control information memory required for the control can be reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明におけるセル分解装置用バッファへの書
き込み制御を説明するための図である。
FIG. 2 is a diagram for explaining writing control to a cell disassembly device buffer according to the present invention.

【図3】本発明におけるテーブルTABL3の一具体例
である。
FIG. 3 is a specific example of a table TABL3 in the present invention.

【図4】本発明におけるセル分解装置用バッファの読み
取り制御を説明するための図である。
FIG. 4 is a diagram for explaining read control of a cell disassembly device buffer according to the present invention.

【図5】本発明におけるセル組み立て装置用バッファへ
の書き込み制御を説明するための図である。
FIG. 5 is a diagram for explaining write control to a buffer for a cell assembling device according to the present invention.

【図6】本発明におけるセル分解装置用バッファへの書
き込み制御の他の例を説明するための図である。
FIG. 6 is a diagram for explaining another example of write control to the cell disassembly device buffer according to the present invention.

【図7】本発明におけるテーブルTABL2の一具体例
である。
FIG. 7 is a specific example of a table TABL2 in the present invention.

【図8】本発明におけるセル分解装置用バッファの読み
取り時のテーブル操作を説明するための図である。
FIG. 8 is a diagram for explaining a table operation during reading of the cell disassembly device buffer according to the present invention.

【図9】本発明におけるセル組み立て装置用バッファの
書き込み時のテーブル操作を説明するための図である。
FIG. 9 is a diagram for explaining a table operation at the time of writing a buffer for a cell assembling apparatus according to the present invention.

【図10】本発明の請求項1記載の構成を簡略的に示し
た図である。
FIG. 10 is a diagram schematically showing the configuration according to claim 1 of the present invention.

【図11】本発明の請求項2記載の構成を簡略的に示し
た図である。
FIG. 11 is a diagram schematically showing a configuration according to claim 2 of the present invention.

【符号の説明】[Explanation of symbols]

1 セル分解装置用バッファ 2 セル組み立て装置用バッファ 3、4、5、6 アドレス制御回路 7、10 セル多重回線 8、9 STM多重化回線 11 セル受信回路 12 書き込み制御回路 13 読み取り制御回路 14 STM回線送出回路 15 STM回線受信回路 16 書き込み制御回路 17 読み取り制御回路 18 セル送出回路 1 Buffer for Cell Disassembling Device 2 Buffer for Cell Assembling Device 3, 4, 5, 6 Address Control Circuit 7, 10 Cell Multiplexing Line 8, 9 STM Multiplexing Line 11 Cell Receiving Circuit 12 Write Control Circuit 13 Read Control Circuit 14 STM Line Sending circuit 15 STM line receiving circuit 16 Writing control circuit 17 Reading control circuit 18 Cell sending circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力したセルを、64kb/sを基本速
度とし該速度のn倍(n≧1)の速度の情報を伝送でき
る64kb/s換算でNチャネル多重化された同期転送
モード(STM)回線のチャネル情報に変換するセル分
解装置において、 前記セル分解装置が、 セル受信回路と、 セル分解装置用バッファと、 セル分解装置用書き込み制御手段と、 セル分解装置用読み出し制御手段と、 STM回線送出回路と、 から構成され、 前記セル分解装置用バッファは、 N個に分割されたエリアからなり、該エリアは特定数k
1個のセルバッファを有し、 前記セル分解装置用書き込み制御手段は、 前記セル受信回路出力のセルヘッダの情報に基づいて、
出力すべき前記STM回線のチャネル番号(タイムスロ
ット番号TS)に対応する前記セル分解装置用バッファ
への書き込みエリア番号(BNUM)と、該エリア内の
セルバッファ番号(CEN)とを算出し、 前記エリア内のセルバッファ番号がk1になったとき
に、前記セルバッファ番号を初期化し、使用するn個の
エリア番号の順序を指定した第1のメモリにより、次に
アクセスすべきエリア番号を出力し、前記セル分解装置
用バッファの書き込み制御を行うものであり、 前記セル分解装置用読み出し制御手段は、 前記STM回線送出回路が出力すべきチャネル番号(タ
イムスロット番号TS)に対応する前記セル分解装置用
バッファからの読み出しエリア番号(BNUM)と、該
エリア内のセルバッファ番号(CEN)と、前記セルバ
ッファに格納したセル情報のうち前記STM回線に送出
すべきデータ位置を示すSTMデータ読み出しアドレス
(ACTR)とを算出し、 前記エリア内のセルバッファ番号(BNUM)がk1に
なったときに、前記セルバッファ番号(CEN)を初期
化し、使用するn個のエリア番号の順序を指定した第2
のメモリにより、次にアクセスすべきエリア番号を出力
し、前記セル分解装置用バッファの書き込み制御を行う
ものであり、 前記セル分解装置用バッファの出力を前記STM回線送
出回路に出力することを特徴とするセル分解装置。
1. A synchronous transfer mode (STM) in which N bits are multiplexed in 64 kb / s conversion of an input cell, which can transmit information at a speed of n times (n ≧ 1) times the basic speed of 64 kb / s. ) In a cell disassembling device for converting into channel information of a line, the cell disassembling device includes a cell receiving circuit, a cell disassembling device buffer, a cell disassembling device write control means, a cell disassembling device read control means, and an STM. A line transmission circuit, and the cell disassembly device buffer is composed of N divided areas, and the area is a specific number k
The cell decomposing device write control means has one cell buffer, based on information of a cell header of the cell receiving circuit output,
A write area number (BNUM) to the cell disassembly device buffer corresponding to a channel number (time slot number TS) of the STM line to be output and a cell buffer number (CEN) in the area are calculated, When the cell buffer number in the area becomes k1, the cell buffer number is initialized, and the area number to be accessed next is output by the first memory which specifies the order of the n area numbers to be used. The cell disassembling device read control means is for controlling the writing of the cell disassembling device buffer, and the cell disassembling device corresponding to a channel number (time slot number TS) to be output by the STM line sending circuit. Area number (BNUM) read from the buffer for cell, cell buffer number (CEN) in the area, and the cell The STM data read address (ACTR) indicating the data position to be transmitted to the STM line in the cell information stored in the buffer is calculated, and when the cell buffer number (BNUM) in the area becomes k1, A second cell buffer number (CEN) is initialized and the order of n area numbers to be used is specified.
Of the memory for outputting the area number to be accessed next, and controlling the writing of the cell disassembly device buffer, and outputting the output of the cell disassembly device buffer to the STM line transmission circuit. Cell disassembly device.
【請求項2】 入力したセルを、64kb/sを基本速
度とし該速度のn倍の速度の情報を伝送できる64kb
/s換算でNチャネル多重化された同期転送モード(S
TM)回線を多重化した状態で非同期転送モード(AT
M)にセル化するセル組み立て装置において、 前記セル組み立て装置が、 STM回線受信回路と、 セル組み立て装置用バッファと、 セル組み立て装置用書き込み制御手段と、 セル組み立て装置用読み出し制御手段と、 セル送信回路と から構成され、 前記セル組み立て装置用バッファは、 N個に分割されたエリアからなり、該エリアは特定数k
2個のセルバッファを有し、 前記セル組み立て装置用書き込み制御手段は、 前記STM回線送出回路が出力すべきチャネル番号(タ
イムスロット番号TS)に対応する前記セル組み立て装
置用バッファへの書き込みエリア番号(BNUM)と、
該エリア内のセルバッファ番号(CEN)と、前記セル
バッファに格納したセル情報のうち前記STM回線から
書き込むべきデータ位置を示すSTMデータ書き込みア
ドレス(ACTR)とを算出し、 前記エリア内のセルバッファ番号がk2になったとき
に、前記セルバッファ番号(CEN)を初期化し、使用
するn個のエリア番号の順序を指定した第3のメモリに
より、次にアクセスすべきエリア番号を出力することに
より前記セル組み立て装置用バッファの書き込み制御を
行うものであり、 前記セル組み立て装置用読み出し制御手段は、 前記セル送信回路へのセルヘッダの情報に対応する前記
STM回線のチャネル番号(タイムスロット番号TS)
に対応する前記セル組み立て装置用バッファへの読み出
しエリア番号(BNUM)と、該エリア内のセルバッフ
ァ番号(CEN)とを算出し、 前記エリア内のセルバッファ番号(CEN)がk2にな
ったときに、 前記セルバッファ番号(CEN)を初期化し、使用する
n個のエリア番号の順序を指定した第4のメモリによ
り、次にアクセスすべきエリア番号を出力することによ
り前記セル組み立て装置用バッファの書き込み制御を行
うものであり、 前記セル組み立て装置用バッファの出力を前記セル送信
回路に出力することを特徴とするセル組み立て装置。
2. The input cell is 64 kb, which has a basic speed of 64 kb / s and can transmit information at a speed n times that speed.
/ S conversion N-channel multiplexed synchronous transfer mode (S
Asynchronous transfer mode (AT
M) in the cell assembling device, wherein the cell assembling device includes: an STM line receiving circuit, a cell assembling device buffer, a cell assembling device write control means, a cell assembling device read control means, and a cell transmission device. And a buffer for the cell assembling device, the area being divided into N areas, and the area is a specific number k
The cell assembly device write control means has two cell buffers, and the cell assembly device buffer write area number corresponding to the channel number (time slot number TS) to be output by the STM line transmission circuit. (BNUM)
The cell buffer number (CEN) in the area and the STM data write address (ACTR) indicating the data position to be written from the STM line in the cell information stored in the cell buffer are calculated, and the cell buffer in the area is calculated. When the number becomes k2, the cell buffer number (CEN) is initialized, and the third memory designating the order of the n area numbers to be used outputs the area number to be accessed next. The cell assembler buffer write control is performed, and the cell assembler read control means includes a channel number (time slot number TS) of the STM line corresponding to information in a cell header to the cell transmission circuit.
When the read area number (BNUM) to the buffer for cell assembling device and the cell buffer number (CEN) in the area are calculated, and the cell buffer number (CEN) in the area becomes k2, First, the cell buffer number (CEN) is initialized, and the area number to be accessed next is output by the fourth memory in which the order of the n area numbers to be used is specified. A cell assembling apparatus for performing write control, which outputs the output of the cell assembling apparatus buffer to the cell transmitting circuit.
【請求項3】 請求項1記載のセル分解装置と、請求項
2記載のセル組み立て装置からなることを特徴とするセ
ル組み立て分解装置。
3. A cell assembling / disassembling apparatus comprising the cell disassembling apparatus according to claim 1 and the cell assembling apparatus according to claim 2.
JP18376793A 1993-07-26 1993-07-26 Cell assembler/disassembler Pending JPH0738576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18376793A JPH0738576A (en) 1993-07-26 1993-07-26 Cell assembler/disassembler

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18376793A JPH0738576A (en) 1993-07-26 1993-07-26 Cell assembler/disassembler

Publications (1)

Publication Number Publication Date
JPH0738576A true JPH0738576A (en) 1995-02-07

Family

ID=16141614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18376793A Pending JPH0738576A (en) 1993-07-26 1993-07-26 Cell assembler/disassembler

Country Status (1)

Country Link
JP (1) JPH0738576A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0927824A (en) * 1995-07-13 1997-01-28 Nec Corp Buffer management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0927824A (en) * 1995-07-13 1997-01-28 Nec Corp Buffer management method

Similar Documents

Publication Publication Date Title
US5412655A (en) Multiprocessing system for assembly/disassembly of asynchronous transfer mode cells
US6546011B1 (en) ATM cell switching system
AU637250B2 (en) Traffic shaping method and circuit
US4926416A (en) Method and facilities for hybrid packet switching
US6628652B1 (en) Flexible telecommunications switching network
US6611527B1 (en) Packet switching apparatus with a common buffer
US4885744A (en) Apparatus for reconstructing and multiplexing frames of various origins made up of a variable number of packets of fixed length
US5875173A (en) Communication control device and method for use in an ATM system operable in an ABR mode
JPH07321822A (en) Device with multi-casting function
US6061358A (en) Data communication system utilizing a scalable, non-blocking, high bandwidth central memory controller and method
EP0502436B1 (en) ATM cell switching system
US7492760B1 (en) Memory egress self selection architecture
JPH09326807A (en) Shared cell memory type atm exchange control method and shared cell memory atm exchange switch
JPH0738576A (en) Cell assembler/disassembler
JP3204996B2 (en) Asynchronous time division multiplex transmission device and switch element
US20010028652A1 (en) ATM cell switching system
JP2806726B2 (en) Cell assembly multiplex processing equipment
JPH08242238A (en) Communication controller and control method therefor
JP3031792B2 (en) ATM cell assembly method
JPH07107992B2 (en) Cell disassembly multiprocessor
WO1993011621A1 (en) Method and unit for the reconstruction of the correct sequence of atm cells
JPH0993267A (en) Cell multiplexing circuit and multiplexing method
JPH04156743A (en) Atm cell switching system
JPH08195773A (en) Packet multiplexer
JPH03268539A (en) Vci conversion system in atm speech path