JP2970598B2 - ATM controller that automatically selects the optimal size reception memory - Google Patents

ATM controller that automatically selects the optimal size reception memory

Info

Publication number
JP2970598B2
JP2970598B2 JP15772297A JP15772297A JP2970598B2 JP 2970598 B2 JP2970598 B2 JP 2970598B2 JP 15772297 A JP15772297 A JP 15772297A JP 15772297 A JP15772297 A JP 15772297A JP 2970598 B2 JP2970598 B2 JP 2970598B2
Authority
JP
Japan
Prior art keywords
buffer memory
channel
cell
reception
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP15772297A
Other languages
Japanese (ja)
Other versions
JPH10336211A (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 JP15772297A priority Critical patent/JP2970598B2/en
Publication of JPH10336211A publication Critical patent/JPH10336211A/en
Application granted granted Critical
Publication of JP2970598B2 publication Critical patent/JP2970598B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ルータ装置やアダ
プタ・カードに実装され、ATM(AsyncronousTrans
fer Mode;非同期転送モード)伝送方式を実現するA
TMコントローラに関し、特に、受信すべきセルを検出
し、一度受信バッファ・メモリに格納する機能を有する
ATMコントロールLSIに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is implemented in a router device or an adapter card and uses an ATM (Asyncronous Transaction).
fer Mode; Asynchronous transfer mode) A that realizes the transmission method
More particularly, the present invention relates to an ATM control LSI having a function of detecting a cell to be received and temporarily storing the cell in a reception buffer memory.

【0002】[0002]

【従来の技術】ATM伝送方式において、送信装置は、
任意長で構成されるパケットを48バイト固定長に分割
し、それぞれに5バイトのヘッダを加え、53バイトの
セルとし、それを一定時間内に流す数を制御して伝送路
に送出する。
2. Description of the Related Art In an ATM transmission system, a transmitting device includes:
The packet having an arbitrary length is divided into a fixed length of 48 bytes, and a header of 5 bytes is added to each of the divided packets to form a 53-byte cell.

【0003】受信側の装置では、このセルが着信する度
に、受信すべきセルか否かを判断し、ヘッダ分離や誤り
符号のチェックなどの適切な処理を行った後、受信メモ
リに転送してパケットを復元する。
Each time the cell arrives, the receiving device determines whether the cell should be received, performs appropriate processing such as header separation and error code checking, and then transfers the cell to the reception memory. To recover the packet.

【0004】このようなATM伝送方式では、送受信側
の伝送装置が固有に持つセルの処理能力の相違から、セ
ル廃棄が生じる場合がある。セル廃棄が起こる原因の一
つに、受信側の受信バッファ・メモリ・アンダーランが
ある。
[0004] In such an ATM transmission system, cell discarding may occur due to a difference in cell processing capability inherent in a transmission / reception-side transmission device. One of the causes of cell loss is a reception buffer memory underrun on the receiving side.

【0005】受信バッファ・メモリ・アンダーランは、
装置内の受信バッファ・メモリが全て消費されたとき、
メモリを補充しようとする以前に次のセルが到着してし
まい格納先が得られない場合に発生する。
[0005] The reception buffer memory underrun is
When the receiving buffer memory in the device is completely consumed,
This occurs when the next cell arrives before refilling the memory and the storage destination cannot be obtained.

【0006】アンダーラン状態によるセル廃棄が生ずる
と、そのパケットの再送処理が行われ、再送パケットが
回線上を行き交うことにより、回線活用上の非効率に繋
がる。
When a cell is discarded due to an underrun state, the packet is retransmitted, and the retransmitted packet traverses the line, resulting in inefficient use of the line.

【0007】通常、図2に示すように、ATM伝送方式
を用いた伝送装置の受信側は、主にATMプロトコル機
能の一部をハードウェアで実現するATMコントロール
LSI3、受信メモリアドレスを格納するテーブルとし
て使用するテーブル・メモリ4、コントローラの制御、
及びメモリの管理をするCPU5、受信パケットを格納
するメモリ6で構成される。
Normally, as shown in FIG. 2, a receiving side of a transmission apparatus using the ATM transmission system mainly has an ATM control LSI 3 for realizing a part of the ATM protocol function by hardware, and a table for storing a reception memory address. Table memory 4 used as a control of the controller,
And a CPU 5 for managing the memory, and a memory 6 for storing the received packets.

【0008】CPU5が実行するソフトウェアは、まず
受信データを格納する受信バッファ・メモリ領域を確保
し、そのアドレス情報を、ATMコントローラLSI3
がアクセスするテーブル4に設定する。
The software executed by the CPU 5 first secures a reception buffer memory area for storing reception data, and stores the address information in the ATM controller LSI 3.
Is set in Table 4 to be accessed.

【0009】ATMコントローラLSI3は、セルが着
信する度に、テーブル・メモリ4にアクセスし、そのセ
ル・データを格納する受信メモリ6のアドレスを取得し
て転送する。ATMコントロールLSI3は、受信メモ
リ領域の残量が少なくなると、割り込み信号などの手段
を通じてCPU5に警報を発する。警報を受けたCPU
5はメモリの追加、補充を実行する。
Each time a cell arrives, the ATM controller LSI 3 accesses the table memory 4 to acquire and transfer the address of the receiving memory 6 for storing the cell data. When the remaining amount of the reception memory area becomes small, the ATM control LSI 3 issues an alarm to the CPU 5 through means such as an interrupt signal. CPU that received the warning
5 executes addition and replenishment of memories.

【0010】受信バッファ・メモリの空きが零(0)に
到達するよりも、CPU5がソフトウェアで行うメモリ
補充の処理が十分に早ければ、アンダーランは発生する
ことは無い。しかし、相手局との間に張るチャネルが多
数になると、受信バッファ・メモリの数も増え、補充す
る処理頻度が上がり、CPU5の処理がより厳しくな
る。
An underrun does not occur if the process of replenishing the memory performed by software by the CPU 5 is sufficiently quicker than when the free space of the receiving buffer memory reaches zero (0). However, when the number of channels extending to the partner station increases, the number of reception buffer memories also increases, the frequency of replenishment increases, and the processing of the CPU 5 becomes more severe.

【0011】CPUがメモリ補充する頻度は、予め受信
バッファ・メモリに割り当てられるメモリ容量の大きさ
と警報を通知する境界線の設定、更に着信するセル・レ
ートに依存する。
The frequency of replenishment of the memory by the CPU depends on the size of the memory capacity allocated to the reception buffer memory in advance, the setting of a boundary line for notifying an alarm, and the incoming cell rate.

【0012】自局の装置に実装するメモリ容量、及びC
PUの処理速度などは把握できるが、相手局からのセル
・レートは相手局の送信能力、上位に走るアプリケーシ
ョンなどによって異なるため、事前に把握できるケース
は少なく受信してみなければ分からないケースも多々あ
る。
[0012] The memory capacity to be mounted on the own station device, and C
Although the processing speed of the PU can be grasped, the cell rate from the partner station differs depending on the transmission capacity of the partner station, the application running on the higher rank, etc. There are many.

【0013】どのような、セル・レートのチャネルでも
対応できるように十分なメモリ領域を確保することが望
ましい。しかし、たくさんのメモリの実装はシステムの
コストアップになるため、避けるべきであり、限られた
メモリ容量を有効活用する方法が要求される。
It is desirable to secure a sufficient memory area so as to be able to handle any cell rate channel. However, mounting a large number of memories increases the cost of the system, and therefore, should be avoided, and a method for effectively utilizing the limited memory capacity is required.

【0014】従来の技術では、メモリ容量の割り当て
は、装置が導入される環境条件から、相手局との間で張
るチャネル数、あるいは各チャネルのレートを推察して
決めるケースが多い。
In the prior art, the allocation of the memory capacity is often determined by estimating the number of channels to be established with the partner station or the rate of each channel from the environmental conditions in which the device is introduced.

【0015】相手局との間でやりとりするパケットの中
でも、そのVPI/VCI(Virtual Path Identi
fier/Virtual Channel Identifier)の値から把
握できるシグナリング用パケット、リソース・マネージ
メント・セル、OAM(Operation, Administratio
n, Maintenance)セルなどは、パケットのサイズも小
型であることが把握できるため、それらを格納するため
には比較的小さい受信バッファ・メモリを用意する。
[0015] Among the packets exchanged with the other station, the VPI / VCI (virtual path identity) is used.
Signaling packet, resource management cell, OAM (Operation, Administratio) that can be grasped from the value of fier / virtual channel identifier
Since it can be understood that the size of a packet is small for an (n, Maintenance) cell or the like, a relatively small reception buffer memory is prepared to store the packet.

【0016】他の一般データをやりとりするチャネル用
には、一元的に決まったサイズを割り当てる。このよう
に静的に複数種の大きさを持つ受信バッファ・メモリを
用意した。
For a channel for exchanging other general data, a unitary fixed size is allocated. Thus, a reception buffer memory having a plurality of types of sizes is prepared statically.

【0017】また、設定したメモリ容量とCPUの処理
能力から装置が許容できるセル・レート及び同時に張れ
るチャネル数が把握できる。
Further, the cell rate allowable by the apparatus and the number of channels that can be simultaneously established can be grasped from the set memory capacity and the processing capacity of the CPU.

【0018】相手局と自局が共にCAC(Connection
Admission Control)制御方式をサポートしている
場合は、相手局よりチャネルの接続要求があった場合
に、セル廃棄率を推定し、セル廃棄率が予め定められた
許容セル廃棄率以下となる場合にのみ接続を許可すると
いう方式もある。
The partner station and the own station are both CAC (Connection
If the Admission Control) control method is supported, the cell discard rate is estimated when a channel connection request is issued from the partner station, and when the cell discard rate becomes equal to or less than a predetermined allowable cell discard rate. There is also a method that permits only connection.

【0019】[0019]

【発明が解決しようとする課題】従来のATMコントロ
ーラにおけるメモリ設定方式では、決まったメモリ資源
から、いかなるチャネルに対しても受信バッファ・メモ
リ領域が固定的に割り当てられているか、あるいは、レ
ートを予め推測に基づいて割り当てられている。
According to the conventional memory setting method in the ATM controller, the reception buffer memory area is fixedly assigned to any channel from a predetermined memory resource, or the rate is determined in advance. Assigned based on guesswork.

【0020】このうち、固定的に割り当てられる場合、
セル・レートが速いために、補充処理が頻繁に発生する
受信バッファ・メモリに、低速であるため余裕のある受
信バッファ・メモリを使用することができず、多種類の
セル・レートに応じてメモリ領域を効率よく割り当てる
ことができない。チャネルのセル速度、タイプによって
はその空きメモリ領域を用いることができない。
[0020] Of these, when the assignment is fixed,
Since the cell rate is high, the reception buffer memory where replenishment processing occurs frequently cannot use the reception buffer memory that has sufficient capacity due to the low speed, and the memory can be used according to various cell rates. Space cannot be allocated efficiently. The empty memory area cannot be used depending on the cell speed and type of the channel.

【0021】後者の場合、予測したレートと実際のセル
・レートに大幅な相違が生じた場合に、メモリ補充が間
に合わないという可能性がある。
In the latter case, if there is a large difference between the predicted rate and the actual cell rate, it is possible that memory replenishment may not be in time.

【0022】限られたメモリ容量を各チャネルに受信バ
ッファ・メモリとして割り当てる場合、CPUのソフト
ウェア処理を軽減し、アンダーランを回避するためにも
セル・レートが速いチャネルに対しては、容量の大きい
受信バッファ・メモリを、遅いレートのチャネルに対し
ては容量の小さい受信バッファ・メモリを割り当てられ
ていることが望ましい。
When a limited memory capacity is allocated to each channel as a reception buffer memory, a large capacity is used for a channel having a high cell rate in order to reduce software processing of the CPU and to avoid underrun. It is desirable that the receiving buffer memory is allocated a small receiving buffer memory for a channel having a low rate.

【0023】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、CPUのソフト
ウェア処理の軽減、アンダーランの発生の頻度の軽減に
貢献するため、受信するチャネルのセル・レートに応じ
て、適した大きさの受信バッファ・メモリを自動的に選
択するATMコントローラを提供することにある。
Accordingly, the present invention has been made in view of the above problems, and has as its object to reduce the number of CPU processes and the frequency of underruns. An object of the present invention is to provide an ATM controller for automatically selecting a reception buffer memory having an appropriate size according to a cell rate.

【0024】[0024]

【課題を解決するための手段】前記目的を達成するた
め、本発明のATMコントローラは、ATMネットワー
ク上のルータ装置やアダプタ・カードに実装され、着信
するセルを受信すべきか否かを判断し、ヘッダ分離や誤
り符号のチェックなどの処理を行った後、互いにサイズ
が異なる各受信バッファ・メモリのアドレス情報及び前
記各受信バッファ・メモリの残量をテーブルに保持して
おき、前記アドレス情報に従って転送しパケットを復元
するATMコントローラにおいて、複数チャネルのセル
を同時に受信した場合に、前記複数チャネルの各チャネ
ルのセル・レートを一定期間観測する手段と、前記テー
ブルのアドレス情報と前記手段により得られた情報と
基づき、前記各チャネルのセル・レートと、互いにサイ
ズが異なる前記各受信バッファ・メモリのアドレスと、
を対応付けて前記各チャネルに適した前記受信バッファ
・メモリを自動で選択する手段と、を有することを特徴
とする。
In order to achieve the above object, an ATM controller of the present invention is mounted on a router device or an adapter card on an ATM network, and determines whether or not to receive an incoming cell. after the processing, such as checking a header separation and error codes, the size from each other
Is holds the remaining amount of the different address information and the respective receive buffer memory for each receive buffer memory to the table, the ATM controller for restoring the transferred packet according to the address information, the received cell of a plurality of channels at the same time If the means for a certain period observed cell rate of each channel of the plurality of channels, said tape
On the information obtained by the table address information and the means
Based on the cell rate of each channel
The address of each of the receive buffer memories,
Means for automatically selecting the reception buffer memory suitable for each channel in association with each other.

【0025】[0025]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明の実施の形態においては、ATMネ
ットワーク上のルータ装置や端末のアダプタ・カードに
実装されるATMコントローラに、受信チャネルごとの
セルの間隔時間を観測し、これにより把握したセル・レ
ートに応じて、CPUが予め大きさを段階的に分けて用
意した受信バッファ・メモリの中で適切なものを選択す
る手段を備えたことを特徴としたものである。
Embodiments of the present invention will be described below. In the embodiment of the present invention, an ATM controller mounted on a router device or an adapter card of a terminal on an ATM network observes a cell interval time for each reception channel, and responds to the cell rate grasped thereby. The CPU is characterized in that the CPU is provided with a means for selecting an appropriate one from among the reception buffer memories prepared by dividing the size stepwise in advance.

【0026】本発明の実施の形態においては、実際に着
信するセルの間隔をモニタしてチャネルのセル・レート
を把握し、予め大きさを段階的に分けて用意した受信バ
ッファ・メモリからセル・レートが速いチャネルに対し
ては大きい受信バッファ・メモリを、低速のチャネルに
対しては小さい容量の受信バッファ・メモリを割り当て
る。
In the embodiment of the present invention, the interval between cells actually arriving is monitored, the cell rate of the channel is grasped, and the cell buffer is prepared from the reception buffer memory prepared in advance in steps of different sizes. A large receiving buffer memory is allocated to a channel with a high rate, and a small receiving buffer memory is allocated to a channel with a low rate.

【0027】これにより、チャネルのセル・レートに応
じて適した受信バッファ・メモリをダイナミックに選択
することによって、CPUのメモリ補充の処理が急務に
なることを避け、アンダーランが発生する可能性を削減
し、伝送路の活用効率を下げないことに貢献する。ま
た、メモリ資源を効率的に使用することができる。
Thus, by dynamically selecting a suitable receiving buffer memory according to the cell rate of the channel, it is possible to avoid an urgent need for the CPU to replenish the memory and to reduce the possibility of underrun. It contributes not to reduce the transmission line utilization efficiency. Further, the memory resources can be used efficiently.

【0028】すなわち、セル・レートの遅いチャネルが
無用に大きな受信バッファ・メモリをシェアすることを
無くし、無駄な空き領域を少なくする。また、速いチャ
ネルに対して小さいセル受信バッファ・メモリを与える
ことが無くなるため、CPUが頻繁にメモリ容量を補充
しなくても済むようになる。
That is, a channel having a slow cell rate is not unnecessarily sharing a large reception buffer memory, and a useless empty area is reduced. Further, since a small cell receiving buffer memory is not provided for a fast channel, the CPU does not need to frequently replenish the memory capacity.

【0029】[0029]

【実施例】上記した本発明の実施の形態について更に詳
細に説明すべく、本発明の実施例について図面を参照し
て以下に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention;

【0030】本発明の一実施例のATMコントローラ
は、セル・レートをモニタし、得たセル・レートに従っ
て、複数種のサイズで準備する受信バッファ・メモリの
内から最適なものを選択することができる手段を組み込
んだものである。
The ATM controller according to one embodiment of the present invention monitors the cell rate, and selects an optimum one from among the receive buffer memories prepared in a plurality of sizes according to the obtained cell rate. It incorporates possible means.

【0031】図1は、ATM伝送装置1に実装されるA
TMコントローラに本発明を適用した場合の一実施例の
構成を示す図である。
FIG. 1 is a block diagram of an ATM transmission device 1
FIG. 3 is a diagram illustrating a configuration of an embodiment when the present invention is applied to a TM controller.

【0032】図1を参照すると、受信を開始する前、C
PU5が実行するソフトウェアは、予め受信データ格納
用の受信バッファ・メモリ領域をメモリ6に確保する。
1つの受信バッファ・メモリ領域は実際に受信データが
格納されるデータ・バッファ7、そのデータ・バッファ
を指し示すアドレスを複数束ねたポインタ領域8で構成
される。
Referring to FIG. 1, before starting reception, C
The software executed by the PU 5 secures a reception buffer memory area for storing received data in the memory 6 in advance.
One reception buffer memory area includes a data buffer 7 in which received data is actually stored, and a pointer area 8 in which a plurality of addresses pointing to the data buffer are bundled.

【0033】それぞれのポインタ領域の最終段には、次
のポインタ領域を指し示すリンク・ポインタを設定し、
各ポインタはチェーン状にリンクさせる。
At the last stage of each pointer area, a link pointer pointing to the next pointer area is set.
Each pointer is linked in a chain.

【0034】受信バッファ・メモリ領域の数は、受信チ
ャネル数、装置のメモリ搭載量に依存するが、本実施例
では、3つの受信バッファ・メモリ領域を用意する場合
を例とする。
Although the number of reception buffer memory areas depends on the number of reception channels and the amount of memory mounted on the apparatus, this embodiment exemplifies a case where three reception buffer memory areas are prepared.

【0035】受信バッファ・メモリ領域1は、セル・レ
ートが高速で、且つ1パケットのサイズが大きいチャネ
ルのデータを格納することを想定し、ポインタ領域の
数、1つのポインタ領域が束ねるデータ・バッファの数
を多くし、更に個々のデータ・バッファ自体のサイズも
大きく確保する。残る受信バッファ・メモリ2、受信バ
ッファ・メモリ3も同時に、設定するが、ポインタ領域
の数、ポインタ領域に束ねられるデータ・バッファの
数、データ・バッファ自体のサイズは、 (受信データ・バッファ1)>(受信データ・バッファ
2)>(受信データ・バッファ3) となるよう設定する。
The reception buffer memory area 1 is assumed to store data of a channel having a high cell rate and a large size of one packet, and has a number of pointer areas and a data buffer in which one pointer area is bundled. Is increased, and the size of each data buffer itself is also ensured large. The remaining reception buffer memory 2 and reception buffer memory 3 are also set at the same time, but the number of pointer areas, the number of data buffers bundled in the pointer area, and the size of the data buffer itself are as follows: (Reception data buffer 1) > (Reception data buffer 2)> (Reception data buffer 3)

【0036】続いて、CPU5の処理は、その受信バッ
ファ・メモリ領域の先頭ポインタ領域を指し示すアドレ
スを、ATMコントローラ3のアクセスするテーブル・
メモリ4に設定する。
Subsequently, the processing of the CPU 5 stores an address indicating the head pointer area of the reception buffer memory area in a table accessed by the ATM controller 3.
Set in memory 4.

【0037】このとき、テーブル・メモリ4に設定する
アドレスの位置は、受信データ・バッファ領域のサイズ
に応じて設定する箇所を決める。すなわち、ATMコン
トローラ3が、受信バッファ・メモリの大きさ順を判別
できるように設定方法に規制を設ける。
At this time, the position of the address to be set in the table memory 4 determines the position to be set according to the size of the reception data buffer area. That is, the setting method is restricted so that the ATM controller 3 can determine the size order of the reception buffer memory.

【0038】本実施例では、テーブル・メモリ4のアド
レスが若い方から順に、サイズの大きい受信バッファ・
メモリ1、次のアドレスに受信バッファ・メモリ2と設
定する。
In the present embodiment, the reception buffer having the largest size is stored in the table memory 4 in ascending order of address.
The memory 1 is set as the reception buffer memory 2 at the next address.

【0039】テーブル・メモリ4には、個々の受信バッ
ファ・メモリ領域の未使用ポインタ領域、データ・バッ
ファのサイズを格納する領域を設け、CPU5は初期値
を設定する。
The table memory 4 is provided with an unused pointer area of each reception buffer memory area and an area for storing the size of the data buffer, and the CPU 5 sets initial values.

【0040】更に、この領域には、個々の受信バッファ
・メモリ領域には、未使用ポインタ領域の残数がそこに
到達した際に警告をあげる未使用ポインタ領域残数の警
告レベルを設定する。
Further, in this area, a warning level is set for each of the reception buffer memory areas to warn when the remaining number of unused pointer areas reaches there.

【0041】受信バッファ・メモリ1の場合には、セル
・レートが高速である故、警告レベルも十分に余裕を持
って設定する。
In the case of the reception buffer memory 1, since the cell rate is high, the warning level is set with a sufficient margin.

【0042】本実施例では、ATMコントローラ3は、
相手局2との間にはA、B、Cの3チャネルのコネクシ
ョンを張っている。本来、自局と相手局2との間では全
2重通信が行われ、送受信のチャネルが張られるべきで
あるが、本発明は受信に関するものであるため、送信側
の処理に関する図および説明は省略する。
In this embodiment, the ATM controller 3
A three-channel connection of A, B and C is established with the partner station 2. Originally, full-duplex communication should be performed between the local station and the partner station 2 and a transmission / reception channel should be established. However, since the present invention relates to reception, a diagram and description regarding processing on the transmission side will be described. Omitted.

【0043】チャネルAのセルは、単位時間当たりに多
くのセルが送信されてくるため、セル・レートが比較的
速いチャネルを意味し、続いてチャネルBは中段、チャ
ネルCは低速となる。
The cell of channel A means a channel having a relatively high cell rate because a large number of cells are transmitted per unit time, followed by the middle stage of channel B and the low speed of channel C.

【0044】自局のATMコントローラ3は、セルを受
信すると、一旦内蔵するFIFO3−1に格納する。
Upon receiving the cell, the ATM controller 3 of the own station temporarily stores the cell in the built-in FIFO 3-1.

【0045】FIFO3−1に格納されたセルは、その
ヘッダ部に持つVPI/VCIフィールドと、ATMコ
ントローラ3が備えるヘッダ・テーブル3−2の内容と
照合され、一致するVPI/VCIが存在するか否かチ
ェックされる。
The cell stored in the FIFO 3-1 is compared with the VPI / VCI field in the header and the contents of the header table 3-2 provided in the ATM controller 3 to determine whether there is a matching VPI / VCI. It is checked whether it is.

【0046】一致するヘッダが無かった場合、新規チャ
ネルのセルが着信したものと判断し、ヘッダ・テーブル
3−2にVPI/VCI値を設定する。このとき、着信
した時点での、タイマ3−3の値を一緒に格納する。
If there is no matching header, it is determined that a cell of a new channel has arrived, and the VPI / VCI value is set in the header table 3-2. At this time, the value of the timer 3-3 at the time of the incoming call is stored together.

【0047】ATMコントローラ4が内蔵するタイマ3
−3は、随時カウント・アップしているカウンタであ
り、セル間隔を測るための時計の役目を果たす。
Timer 3 built in ATM controller 4
-3 is a counter that counts up as needed, and plays a role of a clock for measuring a cell interval.

【0048】ヘッダ・テーブル3−2に、既に同じVP
I/VCIが存在していた場合、再度、タイマ3−3の
カウンタ値を参照し前値と比較することで、そのチャネ
ルのセル・レートを知ることができる。
The same VP is already stored in the header table 3-2.
When the I / VCI exists, the cell rate of the channel can be known by referring to the counter value of the timer 3-3 again and comparing it with the previous value.

【0049】ATMコントローラ3は、セルの間隔時間
に応じてそれに対応する受信バッファ・メモリを選択す
る。
The ATM controller 3 selects a reception buffer memory corresponding to the interval time between cells.

【0050】たとえば、観測したセル間隔が、タイマ3
−3のカウント値で「50」であった場合、ATMコン
トローラ3は、テーブル・メモリの一番若いアドレスに
ポインタが納められている受信バッファ・メモリ1を選
択し、タイマ3−3のカウント値が「100」であった
場合には、2番目に位置する受信バッファ・メモリを、
タイマ3−3のカウント値が「150」以上であった場
合には、受信バッファ・メモリ3のポインタ領域アドレ
スを得る。
For example, when the observed cell interval is determined by the timer 3
If the count value of "-3" is "50", the ATM controller 3 selects the reception buffer memory 1 in which the pointer is stored at the youngest address of the table memory, and counts the value of the timer 3-3. Is "100", the reception buffer memory located at the second position is
If the count value of the timer 3-3 is "150" or more, the pointer area address of the reception buffer memory 3 is obtained.

【0051】この際のセル間隔値とメモリ・アドレスと
の対応付けは、任意に設定できる手段も提供することが
できる。
At this time, means for arbitrarily setting the correspondence between the cell interval value and the memory address can also be provided.

【0052】また、着信するセル・レートが、時間と共
に変化しない固定速度であれば、1セル目を2セル目の
間隔を測ることで、セル・レートを知りことができる
が、可変速度の場合、複数セルの間隔を測る必要があ
る。
If the incoming cell rate is a fixed rate that does not change with time, the cell rate can be known by measuring the interval between the first cell and the second cell. , It is necessary to measure the interval between a plurality of cells.

【0053】この場合、いくつまでのセルの間隔を測り
統計をとるなどの手段も考え得るが、その間受信バッフ
ァ・メモリへ転送できないため、ATMコントローラ3
が内蔵するFIFOを大きくする必要がある。
In this case, it is conceivable to measure the number of cell intervals and take statistics. However, during that time, the data cannot be transferred to the reception buffer memory, so that the ATM controller 3
It is necessary to increase the built-in FIFO.

【0054】更に、セル・レートを観測する手段とし
て、例えば特開平8−191309号公報などに記載さ
れるように、定められた観測期間内で、ピーク・セル速
度と、平均セル速度を求める手段等が参照される。この
方式を適用することもできる。
Further, as means for observing the cell rate, means for obtaining a peak cell rate and an average cell rate within a predetermined observation period as described in, for example, JP-A-8-191309. Etc. are referred to. This method can also be applied.

【0055】チャネルAのセルが着信し、その1セル目
と2セル目の間隔が、タイマ3−3のカウント値では
「50」以下であったため、ATMコントローラは、テ
ーブル・メモリから受信バッファ・メモリ1のポインタ
領域のアドレスをリードする。
Since the cell of channel A arrives and the interval between the first cell and the second cell is less than or equal to "50" in the count value of the timer 3-3, the ATM controller reads the reception buffer data from the table memory. The address of the pointer area of the memory 1 is read.

【0056】次にポインタ領域のアドレスに格納されて
いる最初のデータ・バッファのアドレスをリードする。
そして、データ・バッファにチャネルAのセル・データ
を転送する。
Next, the address of the first data buffer stored at the address of the pointer area is read.
Then, the cell data of channel A is transferred to the data buffer.

【0057】セルが着信してデータ・バッファに転送す
る度に、テーブル・メモリにある受信バッファ・メモリ
のステータスのデータ・バッファ・サイズを転送バイト
分デクリメントする。データ・バッファの空きが「0」
に到達したときは、ポインタ領域から新しいデータ・バ
ッファのアドレスを取得する。
Each time a cell arrives and is transferred to the data buffer, the data buffer size of the status of the reception buffer memory in the table memory is decremented by the transfer byte. Empty data buffer is "0"
Is reached, the address of the new data buffer is obtained from the pointer area.

【0058】1つのポインタ領域が指す全てのデータ・
バッファを使い果たすと、リンク・ポインタが指し示す
次のポインタ領域を使用する。その際、テーブル・メモ
リ4にある受信バッファ・メモリ1のポインタ領域の残
量数をデクリメントする。そして、ポインタ領域の残量
数をデクリメントするとき、予め設定されていた警告数
と比較し、一致した場合には、割り込み信号を通じてC
PU5に通知する。
All data points to one pointer area
When the buffer is exhausted, the next pointer area pointed to by the link pointer is used. At this time, the remaining number of the pointer area of the reception buffer memory 1 in the table memory 4 is decremented. When decrementing the number of remaining pointer areas, the number of warnings is compared with a preset number of warnings.
Notify PU5.

【0059】CPU5は、ATMコントローラ3からの
通知を受けると、その受信バッファ・メモリ6でチェー
ンを構成するポインタ領域の最後に新たなポインタ領域
を追加し、更にテーブル・メモリ4のポインタ領域残量
をインクリメントしてメモリを補充する。
When the CPU 5 receives the notification from the ATM controller 3, the CPU 5 adds a new pointer area to the end of the pointer area forming the chain in the reception buffer memory 6, and further stores the remaining pointer area in the table memory 4. To refill the memory.

【0060】チャネルB、チャネルCにおいても、上記
流れ同様に、セル・レートに応じて受信バッファ・メモ
リを選択する。中速であるチャネルBは受信バッファ・
メモリ2にチャネルCは受信バッファ・メモリ3に転送
される。
In the channels B and C, the reception buffer memory is selected according to the cell rate in the same manner as described above. Channel B, which is medium speed,
The channel C to the memory 2 is transferred to the reception buffer memory 3.

【0061】[0061]

【発明の効果】以上説明したように、本発明によれば、
ATMコントローラがチャネルのセル・レートに応じ
て、適した受信バッファ・メモリを自動でダイナミック
に選択することができる。このため、頻繁に補充が発生
する受信バッファを減らすことができ、それはチャネル
のセル・レートに依存してCPUのソフトウェアが急務
になることを避けることになり、アンダーランを引き起
こす頻度を低減できる。
As described above, according to the present invention,
The ATM controller can automatically and dynamically select a suitable receive buffer memory according to the cell rate of the channel. This reduces the number of receive buffers that are frequently replenished, which avoids the need for CPU software to be dependent on the cell rate of the channel and reduces the frequency of underrun.

【0062】この結果、本発明によれば、装置全体のパ
フォーマンス・アップに貢献し、また、限られたメモリ
資源をチャネルに応じて有効に活用できることになる。
As a result, according to the present invention, it is possible to contribute to the improvement of the performance of the entire apparatus, and it is possible to effectively use the limited memory resources according to the channel.

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

【図1】本発明の一実施例のATMコントローラを実装
したATM伝送装置である。
FIG. 1 is an ATM transmission device equipped with an ATM controller according to an embodiment of the present invention.

【図2】従来技術を説明するための図である。FIG. 2 is a diagram for explaining a conventional technique.

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

1 ATM伝送装置(受信側) 2 ATM伝送装置(送信側) 3 ATMコントローラ 3−1 受信FIFO 3−2 ヘッダテーブル 3−3 タイマ 4 テーブル・メモリ 5 CPU 6 メモリ 7 データ・バッファ 8 ポインタ領域 9 受信バッファ・アドレス Reference Signs List 1 ATM transmission device (reception side) 2 ATM transmission device (transmission side) 3 ATM controller 3-1 Reception FIFO 3-2 Header table 3-3 Timer 4 Table memory 5 CPU 6 Memory 7 Data buffer 8 Pointer area 9 Reception Buffer address

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

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ATMネットワーク上のルータ装置やアダ
プタ・カードに実装され、着信するセルを受信すべきか
否かを判断し、ヘッダ分離や誤り符号のチェックなどの
処理を行った後、互いにサイズが異なる各受信バッファ
・メモリのアドレス情報及び前記各受信バッファ・メモ
リの残量をテーブルに保持しておき、前記アドレス情報
に従って転送しパケットを復元するATMコントローラ
において、 複数チャネルのセルを同時に受信した場合に、前記複数
チャネルの各チャネルのセル・レートを一定期間観測す
る手段と、前記テーブルのアドレス情報 と前記手段により得られた
情報とに基づき、前記各チャネルのセル・レートと、互
いにサイズが異なる前記各受信バッファ・メモリのアド
レスと、を対応付けて前記各チャネルに適した前記受信
バッファ・メモリを自動で選択する手段と、 を有することを特徴とするATMコントローラ。
1. A mounted to the router device or adapter card on the ATM network, and determines whether to receive an incoming cell, after processing such as checking a header separation and error codes, size each other holds the different remaining amount of each receive buffer memory address information and the respective receive buffer memory to the table, the ATM controller for restoring the transferred packet according to the address information <br/>, a cell of a plurality of channels when receiving at the same time, the plurality
Means for observing the cell rate of each channel of the channel for a certain period of time, and the cell rate of each channel, based on the address information in the table and the information obtained by the means.
The address of each receive buffer memory of different size
Means for automatically selecting the reception buffer memory suitable for each channel by associating the reception buffer with the channel .
【請求項2】請求項1記載の前記ATMコントローラ
、受信チャネル毎のセルの間隔時間の観測結果情報
と、前記テーブルに保持されている前記アドレス情報
と、に基づいて前記受信バッファメモリを選択する、
とを特徴とするATMコントローラ。
2. The observation result information of an interval time between cells for each reception channel, wherein the ATM controller according to claim 1
And the address information held in the table
An ATM controller for selecting the reception buffer memory based on the following .
【請求項3】ATMネットワーク上のルータ装置や端末
のアダプタ・カードに実装されるATコントローラに、複数の受信チャネルについて 受信チャネルのセルの間
隔時間を観測する手段と、 予めサイズを段階的に分けて用意した複数の受信バッフ
ァ・メモリ前記各受信バッファ・メモリのアドレス情報及び前記各
受信バッファ・メモリの残量を保持するテーブルと前記受信チャネル毎のセルの間隔時間の観測結果情報
と、前記テーブルに保持されている前記アドレス情報と
に基づいて、前記複数の受信バッファメモリ の中から、
セル・レートが速いチャネルに対しては大きい受信バッ
ファ・メモリを、低速のチャネルに対しては小さい容量
の受信バッファ・メモリを割り当てるという具合に、把
握したセル・レートに応じて最適な受信バッファメモリ
を選択する手段を備えた、ことを特徴とするATMコ
ントロール装置。
3. An AT controller mounted on a router device or an adapter card of a terminal on an ATM network, means for observing an interval time between cells for each reception channel for a plurality of reception channels; a plurality of receive buffer memory that is prepared separately, the address information and each of the receive buffer memory
A table for holding the remaining amount of the reception buffer memory, and observation result information of the cell interval time for each reception channel
And the address information held in the table
From among the plurality of reception buffer memories ,
The optimal receive buffer memory according to the cell rate ascertained, such as allocating a large receive buffer memory for a channel with a high cell rate and a small receive buffer memory for a channel with a low cell rate. and means for selecting, ATM control apparatus characterized by.
JP15772297A 1997-05-30 1997-05-30 ATM controller that automatically selects the optimal size reception memory Expired - Fee Related JP2970598B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15772297A JP2970598B2 (en) 1997-05-30 1997-05-30 ATM controller that automatically selects the optimal size reception memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15772297A JP2970598B2 (en) 1997-05-30 1997-05-30 ATM controller that automatically selects the optimal size reception memory

Publications (2)

Publication Number Publication Date
JPH10336211A JPH10336211A (en) 1998-12-18
JP2970598B2 true JP2970598B2 (en) 1999-11-02

Family

ID=15655947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15772297A Expired - Fee Related JP2970598B2 (en) 1997-05-30 1997-05-30 ATM controller that automatically selects the optimal size reception memory

Country Status (1)

Country Link
JP (1) JP2970598B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000123059A (en) 1998-10-16 2000-04-28 Matsushita Electric Ind Co Ltd Method for designing integrated circuit device
US6751228B1 (en) 1999-03-23 2004-06-15 Yamaha Corporation Packet handler of audio data by isochronous mode
JP5958327B2 (en) * 2012-12-21 2016-07-27 富士通株式会社 Relay device and buffer control method

Also Published As

Publication number Publication date
JPH10336211A (en) 1998-12-18

Similar Documents

Publication Publication Date Title
EP0810809B1 (en) A scheduling method and apparatus for supporting ATM connections having a guaranteed minimum bandwidth
JP3359499B2 (en) Outgoing traffic control device
JP3813697B2 (en) Traffic molding equipment
US5483526A (en) Resynchronization method and apparatus for local memory buffers management for an ATM adapter implementing credit based flow control
EP0944208B1 (en) Time based scheduler architecture and method for ATM networks
AU707294B2 (en) ATM throttling
US5818815A (en) Method and an apparatus for shaping the output traffic in a fixed length cell switching network node
US6501731B1 (en) CBR/VBR traffic scheduler
US6175570B1 (en) Method and an apparatus for shaping the output traffic in a fixed length cell switching network node
EP0647081A2 (en) Method and apparatus for controlling congestion in a communication network
EP0706297A1 (en) Method for operating traffic congestion control in a data communication network and system for implementing said method
US5511076A (en) Method and apparatus to efficiently reuse virtual connections by means of chaser packets
WO2000001120A9 (en) Cbr/vbr traffic scheduler
WO1995003657A1 (en) Atm exchange
US6292491B1 (en) Distributed FIFO queuing for ATM systems
JPH10135975A (en) Feedback controller in cell exchange and cell-scheduling equipment
US6151321A (en) Method and system for sending ATM cells to an ATM network from a host
JP2000151630A (en) Band controller for atm device
US6026090A (en) Method and system for receiving ATM cells from an ATM network by a host
JP2970598B2 (en) ATM controller that automatically selects the optimal size reception memory
JPH09319671A (en) Data transmitter
US7130270B2 (en) Method and apparatus for varying bandwidth provided to virtual channels in a virtual path
JP3079793B2 (en) Congestion control method and call admission control method
EP0604538B1 (en) Method and apparatus for asynchronous transfer mode (atm) network
KR100293911B1 (en) A buffer management method for mon-real time traffic in atm switching systems

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990727

LAPS Cancellation because of no payment of annual fees