JP2923892B1 - ATM cell insertion system and method - Google Patents

ATM cell insertion system and method

Info

Publication number
JP2923892B1
JP2923892B1 JP1697098A JP1697098A JP2923892B1 JP 2923892 B1 JP2923892 B1 JP 2923892B1 JP 1697098 A JP1697098 A JP 1697098A JP 1697098 A JP1697098 A JP 1697098A JP 2923892 B1 JP2923892 B1 JP 2923892B1
Authority
JP
Japan
Prior art keywords
address
ram
read
cell data
cell
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1697098A
Other languages
Japanese (ja)
Other versions
JPH11215154A (en
Inventor
康紀 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP1697098A priority Critical patent/JP2923892B1/en
Application granted granted Critical
Publication of JP2923892B1 publication Critical patent/JP2923892B1/en
Publication of JPH11215154A publication Critical patent/JPH11215154A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

【要約】 【課題】 セルを優先挿入することができるATMセル
挿入方式を実現する。 【解決手段】 セルデータを格納し、読み込まれたセル
データが伝送路に挿入されるRAMと、RAMの書き込
みアドレスを示す書き込みアドレスポインタと、RAM
の読み込みアドレスを示す読み込みアドレスポインタ
と、セルデータが書き込まれたRAMのアドレスを保持
するアドレス保持部と、RAMへの書き込み動作および
読み出し動作を行う毎に書き込みアドレスポインタおよ
び読み出しアドレスポインタを1インクリメントするこ
とによりFIFO動作を行わせ、RAMに書き込まれ、
読み出される順番となっていないセルデータを優先して
伝送路へ挿入する優先挿入を行う場合には、アドレス保
持部を参照して優先して伝送路へ挿入するセルデータの
RAM1における第1のアドレスを確認し、該確認した
第1のアドレスを読み出しアドレスポインタに設定する
制御手段とを有する。
An ATM cell insertion method capable of preferentially inserting cells is realized. SOLUTION: A RAM for storing cell data and inserting the read cell data into a transmission path, a write address pointer indicating a write address of the RAM, and a RAM
A read address pointer indicating the read address of the RAM, an address holding unit for holding an address of the RAM in which the cell data is written, and incrementing the write address pointer and the read address pointer by one each time a write operation and a read operation to the RAM are performed. As a result, the FIFO operation is performed, and the data is written into the RAM,
In the case of performing the priority insertion of inserting the cell data that is not read in the priority order into the transmission line, the first address in the RAM 1 of the cell data to be preferentially inserted into the transmission line with reference to the address holding unit. And a control means for setting the confirmed first address as a read address pointer.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はATM(非同期転送
モード:Asynchronous Transfer Mode)セル挿入方式お
よびATMセル挿入方法に関し、特に、アットランダム
に挿入要求が起こる複数のセルデータを、先発優先とし
て空きセル位置に挿入するために用いらるATMセル挿
入方式およびATMセル挿入方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM (Asynchronous Transfer Mode) cell insertion method and an ATM cell insertion method. The present invention relates to an ATM cell insertion method and an ATM cell insertion method used for insertion into a position.

【0002】[0002]

【従来の技術】従来この種のATMセル挿入方法は、一
般的にFIFO(First-In First-Out)形式のメモリを
用いて行われており、セル挿入要求のあった順にメモリ
にセルデータを書き込み、読み出し時には伝送路に空き
セルがあった時にメモリに書き込まれた順にデータを読
み出して伝送路上にセルとして挿入する。
2. Description of the Related Art Conventionally, this type of ATM cell insertion method generally uses a FIFO (First-In First-Out) type memory, and stores cell data in a memory in the order of a cell insertion request. At the time of writing and reading, when there is an empty cell in the transmission line, the data is read out in the order written in the memory and inserted as a cell on the transmission line.

【0003】図2は従来の方法による装置の要部構成を
示すブロック図である。
FIG. 2 is a block diagram showing a main part of an apparatus according to a conventional method.

【0004】本発明のATMセル挿入方式は、RAM
1、RAM1の書き込みアドレスを示す書き込みアドレ
スポインタ2、RAM1の読み出しアドレスを示す読み
出しアドレスポインタ3、書き込みアドレスポインタ2
と読み出しアドレスポインタ3を制御する制御部4、A
TM処理を行い、セルデータ生成と伝送路上へのセルの
優先挿入要求を行うATM処理部6とで構成される。
[0004] The ATM cell insertion system of the present invention uses a RAM
1, a write address pointer 2 indicating a write address of the RAM 1, a read address pointer 3 indicating a read address of the RAM 1, a write address pointer 2
And a control unit 4 for controlling the read address pointer 3 and A
An ATM processing unit 6 that performs TM processing, generates cell data, and issues a priority insertion request for cells on a transmission path.

【0005】ATM処理部6からのセルデータおよび優
先挿入要求信号は、制御部4に供給される。その出力
は、制御部4で処理され、セルデータはRAM1に出力
される。制御部4はRAM1にセルデータを出力する際
に書き込みアドレスポインタ2を制御する。また、制御
部4は伝送路上の空きセルを検出し、RAM1に書き込
まれたセルデータを空きセルに挿入する。その際に制御
部4は読み出しアドレスポインタ3に対して、セルデー
タを書き込んだ順に読み出すように制御する。
The cell data and the priority insertion request signal from the ATM processing unit 6 are supplied to the control unit 4. The output is processed by the control unit 4, and the cell data is output to the RAM 1. The control unit 4 controls the write address pointer 2 when outputting cell data to the RAM 1. The control unit 4 detects an empty cell on the transmission line and inserts the cell data written in the RAM 1 into the empty cell. At this time, the control unit 4 controls the read address pointer 3 to read the cell data in the order in which the cell data was written.

【0006】[0006]

【発明が解決しようとする課題】近年、国際的な標準化
機関においてもOAM(Operation, Admission and Ser
vice)機能の詳細な議論が進むにつれ、挿入要求後に該
当VP(Virtual Path)の一定セル数を超えて待たされ
た場合には、空きセルが来なくても強制的にOAMセル
を挿入することが要求されつつある。これによって、V
Pのトラフィックによってはあとから挿入要求のあった
セルを優先的に挿入する必要が生じてきている。
In recent years, international standardization organizations have been using OAM (Operation, Admission and Ser
vice) As the detailed discussion of the function progresses, OAM cells must be forcibly inserted even if there are no empty cells when the specified VP (Virtual Path) is kept waiting for more than a certain number of cells after the insertion request. Is being demanded. This allows V
Depending on the traffic of P, it is necessary to preferentially insert a cell that has been requested to be inserted later.

【0007】図2に示した従来例においては、FIFO
形式のメモリを用いて行われており、セル挿入要求のあ
った順にメモリにセルデータを書き込み、読み出し時に
は伝送路に空きセルがあった時にメモリに書き込まれた
順にデータを読み出すように構成されているため、一度
メモリに書き込まれたセルデータは必ず書き込まれた順
序でしか読み出せない。その結果、メモリへの書き込み
後にあるセルを優先的に挿入する必要が生じても、それ
以前に書かれたセルがすべて読まれなければ所望のデー
タを読むことができない、すなわち強制挿入ができない
という問題点がある。
[0007] In the conventional example shown in FIG.
It is configured to write cell data to the memory in the order of the cell insertion request, and to read data in the order of writing to the memory when there is an empty cell in the transmission path at the time of reading. Therefore, the cell data once written in the memory can always be read only in the order in which it was written. As a result, even if it becomes necessary to insert a certain cell preferentially after writing to the memory, desired data cannot be read unless all cells written before that are read, that is, forced insertion cannot be performed. There is a problem.

【0008】本発明は上述したような従来の技術が有す
る問題点に鑑みてなされたものであって、ATM装置に
おいて通常はFIFOとして先発優先でセルを挿入する
が、メモリ上のあるセルを優先的に挿入する必要が生じ
た場合には、書き込み順序をとばしてセルを優先挿入す
ることができるATMセル挿入方式および方法を実現す
ることを目的とする。
The present invention has been made in view of the above-mentioned problems of the conventional technology. In an ATM device, cells are usually inserted as FIFO on a first-come-first-served basis, but a certain cell in a memory is prioritized. It is an object of the present invention to realize an ATM cell insertion method and method capable of skipping the write order and inserting cells preferentially when it becomes necessary to insert the cells in a random manner.

【0009】[0009]

【課題を解決するための手段】本発明のATMセル挿入
方式は、伝送路への挿入要求がアットランダムに起こる
複数のセルデータを伝送路上の空きセルに挿入するAT
Mセル挿入方式において、セルデータを格納し、読み込
まれたセルデータが伝送路に挿入されるRAMと、前記
RAMの書き込みアドレスを示す書き込みアドレスポイ
ンタと、前記RAMの読み込みアドレスを示す読み込み
アドレスポインタと、セルデータが書き込まれた前記R
AMのアドレスを保持するアドレス保持部と、前記RA
M、書き込みアドレスポインタ、読み込みアドレスポイ
ンタおよびアドレス保持部の動作を制御し、前記RAM
に格納されたセルデータの伝送路への挿入順序を決定す
る制御手段とを具備し、前記制御手段は、前記RAMへ
の書き込み動作および読み出し動作を行う毎に前記書き
込みアドレスポインタおよび読み出しアドレスポインタ
を1インクリメントすることによりFIFO動作を行わ
せ、前記RAMに書き込まれ、読み出される順番となっ
ていないセルデータを優先して伝送路へ挿入する優先挿
入を行う場合には、前記アドレス保持部を参照して優先
して伝送路へ挿入するセルデータのRAM1における第
1のアドレスを確認し、該確認した第1のアドレスを前
記読み出しアドレスポインタに設定することを特徴とす
る。
According to the ATM cell insertion method of the present invention, an AT cell inserts a plurality of cell data in which an insertion request to a transmission line occurs at random, into an empty cell on the transmission line.
In the M cell insertion method, a RAM in which cell data is stored and read cell data is inserted into a transmission path, a write address pointer indicating a write address of the RAM, a read address pointer indicating a read address of the RAM, , Where the cell data is written
An address holding unit for holding an address of the AM;
M, a write address pointer, a read address pointer, and an operation of an address holding unit.
Control means for determining the order of insertion of the cell data stored in the transmission line into the transmission path, wherein the control means sets the write address pointer and the read address pointer each time a write operation and a read operation to the RAM are performed. In the case of performing the priority operation of performing the FIFO operation by incrementing by 1 and inserting the cell data written in the RAM and read out in an unordered order into the transmission line preferentially, refer to the address holding unit. The first address of the cell data to be inserted into the transmission line with higher priority in the RAM 1 is confirmed, and the confirmed first address is set in the read address pointer.

【0010】この場合、制御手段は、優先挿入を行う場
合に第1のアドレスを確認するとともに読み出しアドレ
スポインタに現在設定されている第2のアドレスを確認
し、前記第1のアドレスを前記読み出しアドレスポイン
タに設定することによるセルデータの優先挿入が行われ
た後に、前記読み出しアドレスポインタに第2のアドレ
スを設定することとしてもよい。
In this case, the control means checks the first address when performing the priority insertion, checks the second address currently set in the read address pointer, and replaces the first address with the read address. A second address may be set in the read address pointer after the priority insertion of the cell data by setting the pointer is performed.

【0011】さらに、制御手段は、前記RAMの優先挿
入が行われたセルデータが格納されていたアドレスには
あらかじめ定められた挿入済みパターンを書き込み、優
先挿入後に、前記読み出しアドレスポインタに第2のア
ドレスを設定することにより行われるセルデータ挿入の
際に前記挿入済みパターンを確認したときにはそのデー
タは伝送路へ挿入しないこととしてもよい。
Further, the control means writes a predetermined inserted pattern at the address of the RAM where the cell data in which the priority insertion has been performed is stored, and after the priority insertion, stores the second pattern in the read address pointer. When the inserted pattern is confirmed at the time of cell data insertion performed by setting an address, the data may not be inserted into the transmission path.

【0012】本発明のATMセル挿入方法は、セルデー
タを格納し、読み込まれたセルデータが伝送路に挿入さ
れるRAMと、前記RAMの書き込みアドレスを示す書
き込みアドレスポインタと、前記RAMの読み込みアド
レスを示す読み込みアドレスポインタと、セルデータが
書き込まれた前記RAMのアドレスを保持するアドレス
保持部と、を用いて行われ、前記RAM、書き込みアド
レスポインタ、読み込みアドレスポインタおよびアドレ
ス保持部の動作を制御し、前記RAMに格納されたセル
データの伝送路への挿入順序を決定するATMセル挿入
方法において、前記RAMへの書き込み動作および読み
出し動作を行う毎に前記書き込みアドレスポインタおよ
び読み出しアドレスポインタを1インクリメントするこ
とによりFIFO動作を行わせ、前記RAMに書き込ま
れ、読み出される順番となっていないセルデータを優先
して伝送路へ挿入する優先挿入を行う場合には、前記ア
ドレス保持部を参照して優先して伝送路へ挿入するセル
データのRAM1における第1のアドレスを確認し、該
確認した第1のアドレスを前記読み出しアドレスポイン
タに設定することを特徴とする。
According to the ATM cell insertion method of the present invention, a RAM for storing cell data and inserting the read cell data into a transmission line, a write address pointer indicating a write address of the RAM, and a read address of the RAM And an address holding unit that holds the address of the RAM in which the cell data is written, and controls the operations of the RAM, the write address pointer, the read address pointer, and the address holding unit. In an ATM cell insertion method for determining an insertion order of cell data stored in a RAM to a transmission line, the write address pointer and the read address pointer are incremented by one each time a write operation and a read operation to the RAM are performed. FIFO When priority insertion is performed, in which cell data written in the RAM and read out in an unordered order is preferentially inserted into the transmission path, the transmission path is preferentially referred to by referring to the address holding unit. The first address of the cell data to be inserted into the RAM 1 is confirmed in the RAM 1, and the confirmed first address is set in the read address pointer.

【0013】この場合、優先挿入を行う場合に第1のア
ドレスを確認するとともに読み出しアドレスポインタに
現在設定されている第2のアドレスを確認し、前記第1
のアドレスを前記読み出しアドレスポインタに設定する
ことによるセルデータの優先挿入が行われた後に、前記
読み出しアドレスポインタに第2のアドレスを設定する
こととしてもよい。
In this case, when the priority insertion is performed, the first address is confirmed, and the second address currently set in the read address pointer is confirmed.
The second address may be set in the read address pointer after the cell data is preferentially inserted by setting the address in the read address pointer.

【0014】さらに、前記RAMの優先挿入が行われた
セルデータが格納されていたアドレスにはあらかじめ定
められた挿入済みパターンを書き込み、優先挿入後に、
前記読み出しアドレスポインタに第2のアドレスを設定
することにより行われるセルデータ挿入の際に前記挿入
済みパターンを確認したときにはそのデータは伝送路へ
挿入しないこととしてもよい。
Further, a predetermined inserted pattern is written into the RAM at the address where the cell data into which the priority insertion has been performed is stored, and after the priority insertion,
When the inserted pattern is confirmed at the time of cell data insertion performed by setting a second address in the read address pointer, the data may not be inserted into the transmission path.

【0015】「作用」上記のように構成される本発明に
おいては、RAMのアドレスを保持するアドレス保持部
を設けたことにより優先挿入するセルデータの第1のア
ドレスを確認することができる。優先挿入が行われない
場合には通常のFIFO動作がなされるが、優先挿入を
行う場合にはアドレス保持部により確認した優先挿入す
るセルデータの第1のアドレスを読み出しアドレスポイ
ンタに設定することにより優先挿入するセルデータが伝
送路に挿入される。
[Operation] In the present invention configured as described above, the first address of the cell data to be preferentially inserted can be confirmed by providing the address holding unit for holding the address of the RAM. When the priority insertion is not performed, the normal FIFO operation is performed. When the priority insertion is performed, the first address of the cell data to be preferentially inserted confirmed by the address holding unit is set in the read address pointer. Cell data to be preferentially inserted is inserted into the transmission path.

【0016】また、優先挿入を行う場合に第1のアドレ
スを確認するとともに読み出しアドレスポインタに現在
設定されている第2のアドレスを確認し、前記第1のア
ドレスを前記読み出しアドレスポインタに設定すること
によるセルデータの優先挿入が行われた後に、前記読み
出しアドレスポインタに第2のアドレスを設定すること
により、優先挿入が行われた後には優先挿入が行われる
以前の状態とすることができる。
In the case where priority insertion is performed, the first address is confirmed, the second address currently set in the read address pointer is confirmed, and the first address is set in the read address pointer. By setting the second address in the read address pointer after the priority insertion of the cell data according to the above, the state before the priority insertion is performed after the priority insertion is performed.

【0017】さらに、前記RAMの優先挿入が行われた
セルデータが格納されていたアドレスにはあらかじめ定
められた挿入済みパターンを書き込み、優先挿入後に、
前記読み出しアドレスポインタに第2のアドレスを設定
することにより行われるセルデータ挿入の際に前記挿入
済みパターンを確認したときにはそのデータは伝送路へ
挿入しないように構成することにより、優先挿入された
セルデータが重複して挿入されることを防止することが
できる。
Further, a predetermined inserted pattern is written at the address of the RAM where the cell data into which the priority insertion has been performed is stored, and after the priority insertion,
When the inserted pattern is confirmed at the time of cell data insertion performed by setting the second address in the read address pointer, the data is not inserted into the transmission path, so that the priority inserted cell is inserted. Data can be prevented from being inserted redundantly.

【0018】[0018]

【発明の実施の形態】次に、本発明の実施例について図
面を参照して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0019】図1は本発明による一実施例の構成を示す
ブロック図である。図1に示されるように、本実施例は
ATM処理部6、メモリの書き込みおよび読み出しを制
御する制御部4、書き込みアドレスポインタ(W−PT
R)2、読み出しアドレスポインタ(R−PTR)3、
データメモリとしてのデータを記憶するRAM(Random
Access Memory)1およびアドレス保持部(ADDR)
5から構成されている。本実施例の構成は図2に示した
従来例に対して新たにアドレス保持部5を設け、これに
伴ってその動作が変更されたものであり、アドレス保持
部5以外は図2と同じ符号を用いて説明する。
FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. As shown in FIG. 1, in this embodiment, an ATM processing unit 6, a control unit 4 for controlling writing and reading of a memory, a write address pointer (W-PT
R) 2, read address pointer (R-PTR) 3,
RAM (Random) that stores data as data memory
Access Memory) 1 and address holding unit (ADDR)
5 is comprised. The configuration of this embodiment is different from the conventional example shown in FIG. 2 in that an address holding unit 5 is newly provided, and the operation thereof is changed accordingly. This will be described with reference to FIG.

【0020】制御部4は、ATM処理部6からの要求に
応じてRAM1とアドレス保持部5への書き込み動作お
よびセルを挿入するための読み出し動作を制御するもの
で、通常の読み出し動作では読み出しアドレスポインタ
3の値を1つずつ増加してRAM1上に格納されたセル
データを書き込みが行われた順に読み出す。
The control unit 4 controls a write operation to the RAM 1 and the address holding unit 5 and a read operation for inserting cells in response to a request from the ATM processing unit 6, and a read address in a normal read operation. The value of the pointer 3 is incremented by one, and the cell data stored in the RAM 1 is read in the order in which the writing was performed.

【0021】RAM1へのセルデータ書き込み時、セル
データは制御部4によって書き込みアドレスポインタ2
が示すアドレスに書き込まれ、セルデータが書き込まれ
ると書き込みアドレスポインタ3は1インクリメントさ
れる。
When cell data is written to the RAM 1, the cell data is written into the write address pointer 2 by the control unit 4.
When the cell data is written, the write address pointer 3 is incremented by one.

【0022】通常のセルデータ読み出し時、制御部4は
伝送路上に空きセルを検出した際に読み出しアドレスポ
インタ3の示すアドレスに基づいてRAM1からセルデ
ータを読み出してセルとして伝送路上に挿入し、セルデ
ータ読み出し後、読み出しアドレスポインタ3を1イン
クリメントする。また、読み出したデータが出力済みパ
ターンである場合には、読み出したデータを伝送路上に
挿入することなく読み出しアドレスポインタ3をインク
リメントする。通常は書き込みの古いセルデータから読
み出されるため、RAM1はFIFOとして動作する。
At the time of normal cell data reading, the control section 4 reads cell data from the RAM 1 based on the address indicated by the read address pointer 3 and inserts the cell data into the cell as a cell when detecting an empty cell on the transmission path. After reading the data, the read address pointer 3 is incremented by one. If the read data is an output-completed pattern, the read address pointer 3 is incremented without inserting the read data into the transmission path. Normally, the data is read from the old cell data which has been written, so that the RAM 1 operates as a FIFO.

【0023】アドレス保持部5は、制御部4がATM処
理部6よりセルデータをRAM1に書き込むときの書き
込みアドレスの値を保持するもので、制御部4はセルデ
ータ書き込み時に書き込みアドレスポインタ2が示して
いるアドレスをアドレス保持部5に保持する。アドレス
保持部5において書き込みアドレスポインタ2の示すア
ドレスの格納場所は、RAM1に書き込むセルデータの
種類(例えばVPI(Virtual Path Identifier)値、
VCI(Virtual Channel Identifier)値など)によっ
てあらかじめ一意に定められている。図1に示す例で
は、CELLDATA A〜CELLDATA Dに対
応する書き込みアドレス05h〜08hをそれぞれアド
レス00h〜03hに格納している。制御部4は、セル
データをRAM1に書き込むとともにそのときの書き込
みアドレスの値をアドレス保持部5に格納し、また、ア
ドレス保持部5におけるアドレスを管理する。このアド
レス管理は制御部4と相互に結ばれるATM処理部6で
も行われている。
The address holding unit 5 holds the value of a write address when the control unit 4 writes cell data from the ATM processing unit 6 into the RAM 1. The control unit 4 is indicated by the write address pointer 2 when writing cell data. The stored address is held in the address holding unit 5. The storage location of the address indicated by the write address pointer 2 in the address holding unit 5 is determined by the type of cell data to be written to the RAM 1 (for example, a VPI (Virtual Path Identifier) value,
It is uniquely determined in advance by a VCI (Virtual Channel Identifier) value or the like. In the example shown in FIG. 1, write addresses 05h to 08h corresponding to CELLDATA A to CELLDATA D are stored at addresses 00h to 03h, respectively. The control unit 4 writes the cell data into the RAM 1, stores the value of the write address at that time in the address holding unit 5, and manages the address in the address holding unit 5. This address management is also performed by the ATM processing unit 6 interconnected with the control unit 4.

【0024】本実施例においてATM処理部6は所定の
セルデータの優先挿入要求を行うものであり、伝送路上
にセルデータを挿入する必要が生じた際に、セルデータ
を制御部4に与える。
In the present embodiment, the ATM processing section 6 requests priority insertion of predetermined cell data, and gives the cell data to the control section 4 when it becomes necessary to insert cell data on a transmission line.

【0025】制御部4は、ATM処理部6から所定のセ
ルデータの優先挿入要求があった場合には、アドレス保
持部5から該当するセルデータが格納されているRAM
1のアドレスを取り出し、アドレスポインタ3を操作し
てRAM1に格納された該当するセルデータを読み出し
て伝送路に挿入し、この後に読み出しアドレスポインタ
3をもとの値に戻す。
When there is a priority insertion request for predetermined cell data from the ATM processing unit 6, the control unit 4 sends the RAM storing the corresponding cell data from the address holding unit 5 to the RAM.
The address 1 is taken out, the address pointer 3 is operated to read the corresponding cell data stored in the RAM 1 and inserted into the transmission line, and thereafter the read address pointer 3 is returned to the original value.

【0026】また、制御部4は、上記の書き込みアドレ
スポインタ2を操作することにより優先的に読み出した
セルデータの格納位置にあらかじめ定められた挿入済み
パターンを書き込み、読み出しアドレスポインタによっ
て挿入済みパターンが読まれた際には伝送路上に挿入せ
ず、読み出しアドレスポインタ3を操作して次のアドレ
スのセルデータを読み出す。
The control unit 4 operates the write address pointer 2 to write a predetermined inserted pattern in the storage location of the cell data read out preferentially, and the inserted address pattern is determined by the read address pointer. When read, the cell data at the next address is read by operating the read address pointer 3 without inserting it into the transmission path.

【0027】いま、CELL Cを優先的に出力する必
要が、CELLDATA CをRAM1に書き込んだ後
に生じたとする。また、このとき読み出しアドレスポイ
ンタ3はCELLDATA Aの位置、すなわち、05
hを示しているとする。ATM処理部6は制御部4に対
して優先挿入要求信号としてCELL Cに対するアド
レス保持部5のアドレス値02hを与える。制御部4は
アドレス保持部5からCELLDATA Cの書き込ま
れたアドレス07hを取り出し、読み出しアドレスポイ
ンタ3の現在値05hを制御部4内部の保持部(不図
示)に格納した後、読み出しアドレスポインタ3にアド
レス07hを与えてRAM1からCELLDATA C
を読み出し、伝送路上に挿入を行う。制御部4はCEL
LDATACの出力後、書き込みアドレスポインタ2の
現在値(不定)を制御部4内部の保持部に格納し、書き
込みアドレスポインタ2に一時的にCELLDATA
Cを読み出したアドレス07hを与え、あらかじめ定め
られた挿入済みパターンをRAM1に書き込む。その
後、書き込みアドレスポインタ2および読み出しアドレ
スポインタ3には格納しておいた元の値をあたえ、通常
動作に戻る。したがって、アドレスポインタ3には05
hが与えられる。
Now, suppose that the need to output CELL C with priority occurs after writing CELLDATA C to RAM1. At this time, the read address pointer 3 is at the position of CELLDATA A, that is, 05.
h. The ATM processing unit 6 gives the control unit 4 an address value 02h of the address holding unit 5 for CELL C as a priority insertion request signal. The control unit 4 extracts the address 07h in which the CELLDATA C is written from the address holding unit 5, stores the current value 05h of the read address pointer 3 in a holding unit (not shown) inside the control unit 4, and then stores the current value 05h in the read address pointer 3. Give the address 07h and read CELLDATA C from RAM1.
Is read out and inserted on the transmission path. The control unit 4 is CEL
After the output of LDATAC, the current value (undefined) of the write address pointer 2 is stored in the holding unit inside the control unit 4, and the CELLDATA is temporarily stored in the write address pointer 2.
An address 07h from which C is read is given, and a predetermined inserted pattern is written into the RAM 1. After that, the stored original values are given to the write address pointer 2 and the read address pointer 3, and the operation returns to the normal operation. Therefore, the address pointer 3 has 05
h is given.

【0028】データが順次読み出されると、CELLD
ATA Cがすでに読み出されている07hのアドレス
も再び読まれることになるが、そこには挿入済みパター
ンがかかれているためデータの挿入は行われず、セルが
重複して挿入されることはない。
When data is sequentially read, CELLD
The address 07h from which the ATA C has already been read is also read again, but since the inserted pattern is written there, no data is inserted and no cell is inserted redundantly. .

【0029】上記のように構成される本実施例は、通常
はFIFOとして書き込まれた順に読み出して伝送路上
にセルを挿入していながら、一度セルデータがメモリ上
に書き込まれた後であっても、所定のセルデータだけを
優先的に読み出すことができるものとなっている。
In the present embodiment configured as described above, while the cells are normally read out in the order written as FIFO and cells are inserted on the transmission line, even after the cell data is once written in the memory, , Only predetermined cell data can be preferentially read.

【0030】[0030]

【発明の効果】このように、本発明のATMセル挿入方
式は、FIFOメモリをRAMを用いて構成し、書き込
みアドレスを保持しておくアドレス保持部を設けてデー
タが書き込まれた後でも所望のデータを本来の順序をと
ばして優先的に出力できるようにしている。
As described above, according to the ATM cell insertion method of the present invention, the FIFO memory is constituted by using the RAM, and the address holding section for holding the write address is provided, so that the desired data can be written even after the data is written. Data is skipped in its original order and can be output with priority.

【0031】従って、セル挿入要求後にセルの挿入優先
順位を上げる必要が生じた場合でも、所望のセルのみを
直ちに取り出すことが可能となり、その後書き込まれた
順に挿入するという通常動作に戻ることができる。
Therefore, even if it becomes necessary to raise the priority of cell insertion after a cell insertion request, it is possible to immediately take out only desired cells, and thereafter return to the normal operation of inserting cells in the order in which they were written. .

【0032】さらには、本実施例では、優先挿入した際
にはあらかじめ定めた挿入済みパターンを書き込むこと
によって、セルの優先挿入によって一度挿入されたセル
が重複して挿入されることがないよう制御している。
Furthermore, in the present embodiment, when the priority insertion is performed, a predetermined inserted pattern is written so that the cells once inserted by the priority insertion of the cells are not repeatedly inserted. doing.

【0033】なお、上記実施例では、アドレス保持部5
の格納方法として、セルデータに対するVPI値あるい
はVCI値によってあらかじめ格納場所を指定する方法
をあげたが、アドレス保持部5を連想記憶メモリを用い
て構成し、個々のセルデータが判別可能なようにセルデ
ータの一部を書き込むこととしてもよい。また、制御部
4内部の保持部については、バッファもしくはフリップ
フロップを用いて構成することができる。
In the above embodiment, the address holding unit 5
As a storage method, a method of previously specifying a storage location by a VPI value or a VCI value for cell data has been described. However, the address holding unit 5 is configured using an associative memory so that individual cell data can be identified. Part of the cell data may be written. Further, the holding unit inside the control unit 4 can be configured using a buffer or a flip-flop.

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

【図1】本発明のATMセル挿入方式を示す図である。FIG. 1 is a diagram showing an ATM cell insertion system of the present invention.

【図2】従来のATMセル挿入方式を示す図である。FIG. 2 is a diagram showing a conventional ATM cell insertion method.

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

1 RAM 2 書き込みアドレスポインタ 3 読み出しアドレスポインタ 4 制御部 5 アドレス保持部 6 ATM処理部 DESCRIPTION OF SYMBOLS 1 RAM 2 Write address pointer 3 Read address pointer 4 Control part 5 Address holding part 6 ATM processing part

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04L 12/28 H04L 12/56 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 6 , DB name) H04L 12/28 H04L 12/56

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 伝送路への挿入要求がアットランダムに
起こる複数のセルデータを伝送路上の空きセルに挿入す
るATMセル挿入方式において、 セルデータを格納し、読み込まれたセルデータが伝送路
に挿入されるRAMと、 前記RAMの書き込みアドレスを示す書き込みアドレス
ポインタと、 前記RAMの読み込みアドレスを示す読み込みアドレス
ポインタと、 セルデータが書き込まれた前記RAMのアドレスを保持
するアドレス保持部と、 前記RAM、書き込みアドレスポインタ、読み込みアド
レスポインタおよびアドレス保持部の動作を制御し、前
記RAMに格納されたセルデータの伝送路への挿入順序
を決定する制御手段とを具備し、 前記制御手段は、前記RAMへの書き込み動作および読
み出し動作を行う毎に前記書き込みアドレスポインタお
よび読み出しアドレスポインタを1インクリメントする
ことによりFIFO動作を行わせ、前記RAMに書き込
まれ、読み出される順番となっていないセルデータを優
先して伝送路へ挿入する優先挿入を行う場合には、前記
アドレス保持部を参照して優先して伝送路へ挿入するセ
ルデータのRAM1における第1のアドレスを確認し、
該確認した第1のアドレスを前記読み出しアドレスポイ
ンタに設定することを特徴とするATMセル挿入方式。
1. An ATM cell insertion method for inserting a plurality of cell data at which a request for insertion into a transmission line occurs at random into an empty cell on the transmission line, wherein the cell data is stored and the read cell data is stored in the transmission line. A RAM to be inserted; a write address pointer indicating a write address of the RAM; a read address pointer indicating a read address of the RAM; an address holding unit that holds an address of the RAM where cell data is written; Control means for controlling operations of a write address pointer, a read address pointer, and an address holding unit, and determining an order of insertion of the cell data stored in the RAM into a transmission line. Each time a write operation and a read operation to the In the case where the FIFO operation is performed by incrementing the address pointer and the read address pointer by one, and the cell data written in the RAM and read out of the order is preferentially inserted into the transmission path, The first address in the RAM 1 of the cell data to be preferentially inserted into the transmission path is confirmed with reference to the address holding unit,
The ATM cell insertion method, wherein the confirmed first address is set in the read address pointer.
【請求項2】 請求項1記載のATMセル挿入方式にお
いて、 制御手段は、優先挿入を行う場合に第1のアドレスを確
認するとともに読み出しアドレスポインタに現在設定さ
れている第2のアドレスを確認し、前記第1のアドレス
を前記読み出しアドレスポインタに設定することによる
セルデータの優先挿入が行われた後に、前記読み出しア
ドレスポインタに第2のアドレスを設定することを特徴
とするATMセル挿入方式。
2. The ATM cell insertion system according to claim 1, wherein the control means checks the first address when performing priority insertion and checks the second address currently set in the read address pointer. An ATM cell insertion method, wherein a second address is set in the read address pointer after cell data is preferentially inserted by setting the first address in the read address pointer.
【請求項3】 請求項2記載のATMセル挿入方式にお
いて、 制御手段は、前記RAMの優先挿入が行われたセルデー
タが格納されていたアドレスにはあらかじめ定められた
挿入済みパターンを書き込み、優先挿入後に、前記読み
出しアドレスポインタに第2のアドレスを設定すること
により行われるセルデータ挿入の際に前記挿入済みパタ
ーンを確認したときにはそのデータは伝送路へ挿入しな
いことを特徴とするATMセル挿入方式。
3. The ATM cell insertion system according to claim 2, wherein the control means writes a predetermined inserted pattern into the RAM at the address where the cell data having been subjected to the priority insertion is stored, and The ATM cell insertion method, wherein when the inserted pattern is confirmed at the time of cell data insertion performed by setting a second address in the read address pointer after the insertion, the data is not inserted into a transmission line. .
【請求項4】 セルデータを格納し、読み込まれたセル
データが伝送路に挿入されるRAMと、前記RAMの書
き込みアドレスを示す書き込みアドレスポインタと、前
記RAMの読み込みアドレスを示す読み込みアドレスポ
インタと、セルデータが書き込まれた前記RAMのアド
レスを保持するアドレス保持部と、を用いて行われ、前
記RAM、書き込みアドレスポインタ、読み込みアドレ
スポインタおよびアドレス保持部の動作を制御し、前記
RAMに格納されたセルデータの伝送路への挿入順序を
決定するATMセル挿入方法において、 前記RAMへの書き込み動作および読み出し動作を行う
毎に前記書き込みアドレスポインタおよび読み出しアド
レスポインタを1インクリメントすることによりFIF
O動作を行わせ、前記RAMに書き込まれ、読み出され
る順番となっていないセルデータを優先して伝送路へ挿
入する優先挿入を行う場合には、前記アドレス保持部を
参照して優先して伝送路へ挿入するセルデータのRAM
1における第1のアドレスを確認し、該確認した第1の
アドレスを前記読み出しアドレスポインタに設定するこ
とを特徴とするATMセル挿入方法。
4. A RAM for storing cell data and inserting the read cell data into a transmission path, a write address pointer indicating a write address of the RAM, a read address pointer indicating a read address of the RAM, And an address holding unit that holds the address of the RAM in which the cell data is written, and controls the operations of the RAM, the write address pointer, the read address pointer, and the address holding unit, and stores the cell data in the RAM. An ATM cell insertion method for deciding an insertion order of cell data into a transmission line, wherein the write address pointer and the read address pointer are incremented by one each time a write operation and a read operation to the RAM are performed.
O operation is performed, and when priority insertion is performed, in which cell data written and read out to the RAM in an unordered order is preferentially inserted into a transmission line, transmission is preferentially performed with reference to the address holding unit. RAM for cell data to be inserted into the path
1. A method of inserting an ATM cell, comprising: confirming a first address in 1 and setting the confirmed first address in the read address pointer.
【請求項5】 請求項4記載のATMセル挿入方法にお
いて、 優先挿入を行う場合に第1のアドレスを確認するととも
に読み出しアドレスポインタに現在設定されている第2
のアドレスを確認し、前記第1のアドレスを前記読み出
しアドレスポインタに設定することによるセルデータの
優先挿入が行われた後に、前記読み出しアドレスポイン
タに第2のアドレスを設定することを特徴とするATM
セル挿入方法。
5. The ATM cell insertion method according to claim 4, wherein when performing priority insertion, the first address is confirmed and the second address currently set in the read address pointer is confirmed.
And after setting the first address in the read address pointer and performing priority insertion of cell data, setting the second address in the read address pointer.
Cell insertion method.
【請求項6】 請求項5記載のATMセル挿入方法にお
いて、 前記RAMの優先挿入が行われたセルデータが格納され
ていたアドレスにはあらかじめ定められた挿入済みパタ
ーンを書き込み、優先挿入後に、前記読み出しアドレス
ポインタに第2のアドレスを設定することにより行われ
るセルデータ挿入の際に前記挿入済みパターンを確認し
たときにはそのデータは伝送路へ挿入しないことを特徴
とするATMセル挿入方法。
6. The ATM cell insertion method according to claim 5, wherein a predetermined inserted pattern is written at an address of the RAM where the cell data having been subjected to the preferential insertion is stored, and after the preferential insertion, the predetermined pattern is written. An ATM cell insertion method, wherein when the inserted pattern is confirmed at the time of cell data insertion performed by setting a second address in a read address pointer, the data is not inserted into a transmission line.
JP1697098A 1998-01-29 1998-01-29 ATM cell insertion system and method Expired - Lifetime JP2923892B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1697098A JP2923892B1 (en) 1998-01-29 1998-01-29 ATM cell insertion system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1697098A JP2923892B1 (en) 1998-01-29 1998-01-29 ATM cell insertion system and method

Publications (2)

Publication Number Publication Date
JP2923892B1 true JP2923892B1 (en) 1999-07-26
JPH11215154A JPH11215154A (en) 1999-08-06

Family

ID=11930949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1697098A Expired - Lifetime JP2923892B1 (en) 1998-01-29 1998-01-29 ATM cell insertion system and method

Country Status (1)

Country Link
JP (1) JP2923892B1 (en)

Also Published As

Publication number Publication date
JPH11215154A (en) 1999-08-06

Similar Documents

Publication Publication Date Title
CN101506778B (en) Flash memory device and method
WO1999022302B1 (en) Buffering data that flows between buses operating at different frequencies
CN101208671A (en) Managing message queues
US6134629A (en) Determining thresholds and wrap-around conditions in a first-in-first-out memory supporting a variety of read and write transaction sizes
US6385072B1 (en) Content addressable memory using part of memory region to store data which should not be erased
US7035988B1 (en) Hardware implementation of an N-way dynamic linked list
JP2923892B1 (en) ATM cell insertion system and method
US5999515A (en) Method and apparatus for shaping processing in which discard of ATM cell effectively performed
JP4821628B2 (en) Packet buffer FIFO memory device
EP2341440A1 (en) Memory block reclaiming judging apparatus and memory block managing system
JPH0652060A (en) Lru list control system
US6314489B1 (en) Methods and systems for storing cell data using a bank of cell buffers
JP3085374B2 (en) ATM cell insertion method
KR20000042903A (en) Buffer for rearranging cells
JPH0556079A (en) Buffer management method for receiver
US7406080B2 (en) Method and structure for enqueuing data packets for processing
JP3008905B2 (en) ABR shaper rate control method
US5953315A (en) ATM cell sending system
JP3491583B2 (en) Shared buffer control circuit and shared buffer control method
JPH11261569A (en) Address management device in shared buffer of atm cell
JPH0832590A (en) Decision circuit and deciding method for buffer memory read sequence
JP2982771B2 (en) Shared buffer type ATM switch
JP3221429B2 (en) OAM processing device for ATM cells
JPH03201846A (en) Buffer control system for atm exchange
KR100258933B1 (en) Memory management device and method thereof