JP3217667B2 - ATM communication control method and device - Google Patents
ATM communication control method and deviceInfo
- Publication number
- JP3217667B2 JP3217667B2 JP29864295A JP29864295A JP3217667B2 JP 3217667 B2 JP3217667 B2 JP 3217667B2 JP 29864295 A JP29864295 A JP 29864295A JP 29864295 A JP29864295 A JP 29864295A JP 3217667 B2 JP3217667 B2 JP 3217667B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- management table
- atm
- atm cell
- stored
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、非同期転送モード
(以下、ATM(asynchronous transfer mode)とい
う)通信に用いられる制御装置に係わり、特にATMア
ダプテーションレイヤ(以下、AALという)層の通信
制御方法及びその装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device used for asynchronous transfer mode (hereinafter referred to as ATM) communication, and more particularly to a communication control method for an ATM adaptation layer (hereinafter referred to as AAL) layer. It concerns the device.
【0002】[0002]
【従来の技術】ATM通信は、53バイトの固定長のA
TMセルと呼ばれるパケットを基本として行われる。図
8に示されたように、ATMセルはGFC、VPI等か
ら成る5バイトのATMヘッダと、48バイトの通信デ
ータであるペイロードとを備えている。2. Description of the Related Art ATM communication uses a fixed length A of 53 bytes.
This is performed on the basis of a packet called a TM cell. As shown in FIG. 8, the ATM cell has a 5-byte ATM header composed of GFC, VPI, and the like, and a payload of 48-byte communication data.
【0003】転送するデータの長さが可変である場合に
は、通信網を形成するセル交換機におけるスイッチング
をソフトウェアで制御する必要がある。しかし、ATM
通信ではデータが固定長でありスイッチングをハードウ
ェアで実現することができる。このため、ATM通信に
は極めて高速な通信速度を達成することができるという
利点がある。そして、ATM通信は仮想回線(以下、V
C(virtual circuit)という)上でATMセルを転送
することで行われ、1つの通信制御装置には、数十から
数十万のVCの制御を行うことが要求される。When the length of data to be transferred is variable, it is necessary to control switching in a cell switch forming a communication network by software. However, ATM
In communication, data has a fixed length, and switching can be realized by hardware. For this reason, the ATM communication has an advantage that an extremely high communication speed can be achieved. ATM communication uses a virtual circuit (hereinafter referred to as V
This is performed by transferring ATM cells on a C (virtual circuit)), and one communication control device is required to control tens to hundreds of thousands of VCs.
【0004】ATM通信では、図9に示されるようなプ
ロトコル階層が用いられる。最下層の物理層101から
順に、ATM層102、AAL層103及びデータリン
ク層104が存在する。ここで、ATM層102が53
バイト長のATMセルの転送を司る層である。ATM層
102の1つ上位に設けられたAAL層103は、可変
長の通信データから成るフレームを、53ビット長のA
TMセルに分解して組み立てる役割を担っている。In the ATM communication, a protocol hierarchy as shown in FIG. 9 is used. An ATM layer 102, an AAL layer 103, and a data link layer 104 exist in order from the lowest physical layer 101. Here, the ATM layer 102 is 53
This layer controls the transfer of byte-length ATM cells. The AAL layer 103, which is provided immediately above the ATM layer 102, converts a frame composed of communication data of variable length into a 53-bit A
It plays the role of disassembling and assembling into TM cells.
【0005】AAL層103に関する規定には幾つかの
種類があるが、計算機間の通信手段に用いる場合にはA
AL5という規定が重要である。図10に、AAL5フ
レームの基本構造とATMセルとの対応関係を示す。A
AL5フレームは上位層から与えられたデータであるC
PCS−SDU、制御フィールドに相当するPAD、C
PI、UU、LENGTH、FCSを備えている。ここ
で、CPCS−SDUは、1〜65,535バイトの可
変長であり、AAL5フレーム全体の長さは48バイト
の整数倍として規定されている。そこで、フレーム全体
の長さを調整するために、PADフィールドは0〜47
バイトの可変長として規定されている。[0005] There are several types of provisions regarding the AAL layer 103.
The provision of AL5 is important. FIG. 10 shows the correspondence between the basic structure of the AAL5 frame and ATM cells. A
The AL5 frame is data C provided from the upper layer.
PCS-SDU, PAD, C corresponding to control field
It has PI, UU, LENGTH, and FCS. Here, the CPCS-SDU has a variable length of 1 to 65,535 bytes, and the entire length of the AAL5 frame is defined as an integral multiple of 48 bytes. Therefore, in order to adjust the length of the entire frame, the PAD field is set to 0 to 47.
Specified as a variable length byte.
【0006】AAL5フレームは、前の方から48バイ
トずつ分割されてそれぞれATMセルのペイロードとな
る。AALフレーム全体としては、最大で1366個の
ATMセルに分割されることになる。このようなATM
セルは、連続して一つのVCにより通信されることは希
である。多くの場合は、複数のVCに属するATMセル
が時分割多重されて通信される。よって、ATMセルを
受信する通信制御装置としては、受信したATMセルの
ヘッダを用いて、そのATMセルがいずれのVCに属す
るか等の以下の項目についての判断を行って分配する必
要がある。 (1) ATMセルが属するVCの特定 (2) AAL層の種類の識別 (3) AAL層の種類がAAL5である場合は、フレ
ームの先頭、中間、末尾のいずれを含むセルであるかの
識別 (4) セルのデータを格納すべき受信バッファのアド
レスの特定 (5) 各種エラーの判定の実施(例えば、AAL層が
AAL5である場合、1フレームを構成するセルの数が
最大値を越えているか否かの判定を実施する) このような項目についての判断を行うために、各々のV
Cの受信状態を管理する管理テーブルが用いられてい
る。図11に、一般的な管理テーブルの構成を示す。こ
のように、管理テーブルは複数のVCの受信状態を一括
して管理するために、一次元に配列された状態でメモリ
に格納される場合が多い。尚、1つのVCを制御するた
めのテーブルの大きさは、16〜32バイトである。[0006] The AAL5 frame is divided into 48 bytes from the front, and each becomes a payload of an ATM cell. The entire AAL frame is divided into a maximum of 1366 ATM cells. Such an ATM
It is rare that cells are continuously communicated by one VC. In many cases, ATM cells belonging to a plurality of VCs are time-division multiplexed and communicated. Therefore, a communication control device that receives an ATM cell needs to use the header of the received ATM cell to make a determination on the following items, such as which VC the ATM cell belongs to, and distribute the ATM cell. (1) Identification of the VC to which the ATM cell belongs (2) Identification of the type of AAL layer (3) If the type of AAL layer is AAL5, identification of whether the cell includes the beginning, middle, or end of the frame (4) Specifying the address of the receiving buffer in which cell data is to be stored (5) Performing various error determinations (for example, when the AAL layer is AAL5, the number of cells constituting one frame exceeds the maximum value) To determine whether or not each item has a V
A management table for managing the reception status of C is used. FIG. 11 shows a configuration of a general management table. As described above, the management table is often stored in a memory in a one-dimensionally arranged state in order to collectively manage the reception states of a plurality of VCs. The size of the table for controlling one VC is 16 to 32 bytes.
【0007】そして、項目(1)におけるAALセルが
属するVCを特定する場合には、VPI及びVCIの値
を用いて管理テーブル番号を求めることでVCの特定を
行うことになる。管理テーブル番号が決定されると、こ
の値を用いてメモリの実アドレスが決定され、さらには
そのメモリの実アドレスに格納されている管理テーブル
が読み出される。この管理テーブルの内容に基づいて、
各種の処理が行われる。When specifying the VC to which the AAL cell in item (1) belongs, the VC is specified by obtaining the management table number using the values of VPI and VCI. When the management table number is determined, the real address of the memory is determined using this value, and the management table stored at the real address of the memory is read. Based on the contents of this management table,
Various processes are performed.
【0008】[0008]
【発明が解決しようとする課題】ところで、近年の通信
制御装置は、例えば数千チャネルといった多くのVCを
制御する必要がある。この場合には、チャネル数に対応
した管理テーブルが必要となり、記憶容量として数十キ
ロバイトに及ぶことになる。よって、AAL5の通信制
御装置を1つの集積回路で実現することは現在の回路技
術では不可能となされ、管理テーブルは外部メモリに格
納されている。By the way, recent communication control devices need to control many VCs, for example, thousands of channels. In this case, a management table corresponding to the number of channels is required, and the storage capacity reaches several tens of kilobytes. Therefore, it is impossible to implement the AAL5 communication control device with one integrated circuit with the current circuit technology, and the management table is stored in the external memory.
【0009】さらに、ATMセルが受信される毎に、外
部メモリに格納されている複数のVCの管理テーブルの
うち該当するものを読み出して、内容を更新した後に、
メモリに書き戻していた。このため、次のような問題が
あった。 (1) 1つのATMセル毎に外部メモリに対してアク
セスする必要があり、外部メモリとの間でのデータ転送
量が膨大なものとなる。 (2) 外部メモリから管理テーブルの転送を高速で行
うためには、データの転送幅を広くし、かつ1転送当た
りに必要なクロック数を削減しなければならないが、従
来はいずれも困難であった。 (3) 外部メモリには、管理テーブル以外に、制御デ
ータや通信データ等を格納するためのバッファが割り当
てられている。このため、管理テーブルへのアクセス
と、制御データ等へのアクセスとでバスが競合しないよ
うに、アービトレーションを行う必要があるが、複雑で
あった。 (4) 管理テーブルへのアクセスが生じるタイミング
は、一定ではない。よって、受信したATMセルを転送
したり、プロトコルの詳細な解析をブロックが行うとき
のタイミングを設計する必要があるが、従来はこの設計
が困難であった。 (5) 管理テーブルをアクセスする場合には、読み出
しと書き込みの順番を考慮して、矛盾が生じないように
設定しなければならないが、従来は困難であった。この
ことを、次に具体的に述べる。AAL5フレームでは、
cyclic redundancy check (以下、CRCという)演算
を行う必要が生じる。CRC演算は、当該ATMセルの
直前のセルについてCRC演算を行った結果得られたC
RC中間値に依存して行われる。よって、管理テーブル
の読み込みが完了するまでは、CRC演算を開始するこ
とができない。よって、当該ATMセルに関するCRC
演算の終了は、ATMセルの受信が完了時より遅くな
る。この結果、CRC中間値の更新は、ATMセルが終
了してから相応の時間が経過した後でないと行うことが
できない。即ち、管理テーブルの読み出しは、ATMセ
ルの受信を開始した直後に行わなければならないが、書
き込みはセルの受信が終了した直後には行うことはでき
ない。このような制約が存在するなかで、同一のVCに
属するATMセル「A」と「B」とを連続して受信した
場合は、セル「A」の更新データの書き込みが終了する
前に、セル「B」の管理テーブルを読み出すような矛盾
を回避することは、従来は困難であった。Further, every time an ATM cell is received, a corresponding one of a plurality of VC management tables stored in an external memory is read out, and the contents are updated.
I was writing back to memory. Therefore, there were the following problems. (1) It is necessary to access the external memory for each ATM cell, and the amount of data transfer with the external memory becomes enormous. (2) In order to transfer the management table from the external memory at high speed, the data transfer width must be widened and the number of clocks required for one transfer must be reduced. Was. (3) In addition to the management table, a buffer for storing control data, communication data, and the like is allocated to the external memory. For this reason, it is necessary to perform arbitration so that buses do not conflict with access to the management table and access to control data and the like, but this is complicated. (4) The timing at which access to the management table occurs is not constant. Therefore, it is necessary to design the timing when the received ATM cell is transferred and the block performs the detailed analysis of the protocol, but this design has conventionally been difficult. (5) When accessing the management table, it must be set in consideration of the order of reading and writing so as not to cause inconsistency, but it has conventionally been difficult. This will be specifically described below. In AAL5 frame,
It is necessary to perform a cyclic redundancy check (hereinafter referred to as CRC) operation. The CRC operation is performed by performing a CRC operation on a cell immediately before the ATM cell.
This is performed depending on the RC intermediate value. Therefore, the CRC calculation cannot be started until the reading of the management table is completed. Therefore, the CRC related to the ATM cell
Completion of the operation is later than the completion of the ATM cell reception. As a result, the update of the CRC intermediate value can be performed only after a certain time has elapsed since the end of the ATM cell. That is, the management table must be read immediately after the start of the reception of the ATM cell, but cannot be written immediately after the reception of the cell has been completed. In the presence of such restrictions, if ATM cells "A" and "B" belonging to the same VC are received continuously, the cell "A" must be updated before the writing of the update data to the cell "A" is completed. Conventionally, it has been difficult to avoid inconsistency such as reading the management table of “B”.
【0010】本発明は上記事情に鑑みてなされたもので
あり、上記問題を解決しシステム全体の効率を向上する
ことが可能なATM通信制御方法及びその装置を提供す
ることを目的とする。The present invention has been made in view of the above circumstances, and has as its object to provide an ATM communication control method and apparatus capable of solving the above problems and improving the efficiency of the entire system.
【0011】[0011]
【課題を解決するための手段】本発明のATM通信制御
装置は、複数の仮想通信回線を制御してATMセルの受
信を行う装置であって、受信したATMセルに含まれる
アドレス情報を抽出して前記仮想通信回線のうちのいず
れかを特定する回線特定手段と、それぞれの前記仮想通
信回線を制御するための情報を含む管理テーブルを格納
する第1メモリと、前記第1メモリに格納された前記管
理テーブルのいずれかを複製して格納する第2メモリ
と、受信した前記ATMセルを格納するATMセル格納
手段と、前記第2メモリから前記管理テーブルを読み出
し、前記ATMセル格納手段に格納された前記ATMセ
ルのプロトコル処理を行い、このプロトコル処理が終了
すると処理終了信号を出力するプロトコル処理手段と、
前記第1メモリと前記第2メモリとの間で、前記管理テ
ーブルを転送する管理テーブル転送手段と、前記仮想通
信回線のうち、前記回線特定手段により特定された仮想
通信回線を制御するための管理テーブルが前記第2メモ
リに格納されているか否かを判断する判断手段と、前記
ATMセル格納手段に格納されているATMセルの数を
カウントするカウント手段と、前記判断手段の判断結果
と、前記カウント手段のカウント値と、前記プロトコル
処理手段の処理状況に応じて前記管理テーブル転送手段
を制御する管理テーブル制御手段とを備え、前記管理テ
ーブル制御手段は、前記判断手段が前記第2メモリに特
定された仮想通信回線を制御するための管理テーブルが
前記第2メモリに格納されていないと判断すると、前記
第1メモリからこの管理テーブルを読み出して前記第2
メモリへ転送し、前記プロトコル処理手段が前記処理終
了信号を出力し、かつ前記カウント手段のカウント値が
前記ATMセル格納手段には前記ATMセルが格納され
ていないことを示しているときは、受信処理が終了した
ATMセルに関する管理テーブルであって前記第2メモ
リに格納されている管理テーブルを前記第1メモリに転
送して書き込むことを特徴としている。An ATM communication control device according to the present invention is a device for controlling a plurality of virtual communication lines to receive an ATM cell, and extracts address information contained in the received ATM cell. A line specifying means for specifying any one of the virtual communication lines, a first memory storing a management table including information for controlling the respective virtual communication lines, and a first memory stored in the first memory. A second memory for copying and storing any of the management tables, an ATM cell storage unit for storing the received ATM cells, and reading the management table from the second memory; Protocol processing means for performing protocol processing of the ATM cell and outputting a processing end signal when the protocol processing is completed;
A management table transfer unit that transfers the management table between the first memory and the second memory; and a management unit that controls a virtual communication line specified by the line identification unit among the virtual communication lines. Determining means for determining whether or not a table is stored in the second memory; counting means for counting the number of ATM cells stored in the ATM cell storing means; Management table control means for controlling the management table transfer means according to the count value of the count means and the processing status of the protocol processing means, wherein the management table control means specifies that the determination means If it is determined that the management table for controlling the specified virtual communication line is not stored in the second memory, the management table is read from the first memory. The reads the management table second
When the protocol processing means outputs the processing end signal and the count value of the counting means indicates that the ATM cell is not stored in the ATM cell storing means, the reception is performed. A management table related to the ATM cell for which processing has been completed, which is stored in the second memory, is transferred to the first memory and written.
【0012】ここで、前記管理テーブル制御手段は、前
記プロトコル処理手段が前記処理終了信号を出力し、か
つ前記カウント手段のカウント値が前記ATMセル格納
手段には前記ATMセルが格納されていないことを示し
た時点から所定時間が経過した後に、前記ATMセルに
関する管理テーブルであって前記第1メモリに格納され
ている管理テーブルを前記第1メモリに転送して書き込
むものであってもよい。Here, the management table control means may be configured so that the protocol processing means outputs the processing end signal, and the count value of the counting means is that the ATM cell is not stored in the ATM cell storage means. After a lapse of a predetermined time from the point in time, the management table for the ATM cell, which is stored in the first memory, may be transferred to the first memory and written.
【0013】また、前記ATMセル格納手段は、前記A
TMセルに関する管理テーブルが前記第2メモリに格納
されているアドレスの情報を、前記ATMセルと共に格
納するものであってもよい。Further, the ATM cell storage means includes
The management table for the TM cell may store information on the address stored in the second memory together with the ATM cell.
【0014】本発明のATM通信制御方法において、受
信したATMセルに含まれるアドレス情報を抽出して前
記仮想通信回線のうちのいずれかを特定するステップ
と、それぞれの前記仮想通信回線を制御するための情報
を含む管理テーブルを第1メモリに格納するステップ
と、前記第1メモリに格納された前記管理テーブルのい
ずれかを複製して第2メモリに格納するステップと、受
信した前記ATMセルをATMセル格納手段に格納する
ステップと、前記第2メモリから前記管理テーブルを読
み出し、前記ATMセル格納手段に格納された前記AT
Mセルのプロトコル処理をプロトコル処理手段において
行うステップと、前記第1メモリと前記第2メモリとの
間で、管理テーブル転送手段により前記管理テーブルを
転送するステップと、前記仮想通信回線のうち、前記回
線特定手段により特定された仮想通信回線を制御するた
めの管理テーブルが前記第2メモリに格納されているか
否かを判断するステップと、ATMセルが前記ATMセ
ル格納手段に格納されている数をカウントするステップ
と、前記回線特定手段により特定された前記仮想通信回
線を制御するための管理テーブルが前記第2メモリに格
納されていない場合、前記第1メモリからこの管理テー
ブルを読み出して前記第2メモリへ転送し、前記プロト
コル処理手段が前記プロトコル処理を終了しかつ前記カ
ウント値が前記ATMセル格納手段には前記ATMセル
が格納されていないことを示しているときは、前記第2
メモリに格納されているプロトコル処理が終了した前記
ATMセルに関する管理テーブルを前記第1メモリに転
送して書き込むステップとを備えている。[0014] In the ATM communication control method of the present invention, a step of extracting address information included in a received ATM cell to specify one of the virtual communication lines, and controlling each of the virtual communication lines. Storing the management table containing the information of the above in the first memory, copying any of the management tables stored in the first memory and storing the same in the second memory; Storing the management table in the cell storage means, reading the management table from the second memory and storing the management table in the ATM cell storage means;
Performing protocol processing of an M cell in protocol processing means, transferring the management table between the first memory and the second memory by management table transfer means, Determining whether a management table for controlling the virtual communication line specified by the line specifying unit is stored in the second memory; and determining whether the number of ATM cells stored in the ATM cell storage unit is Counting, and if a management table for controlling the virtual communication line specified by the line specifying means is not stored in the second memory, the management table is read from the first memory to read the second To the memory, the protocol processing means completes the protocol processing, and the count value When the M cell storage means indicates that the ATM cell is not stored, the second
Transferring and writing a management table stored in the memory for the ATM cell for which the protocol processing has been completed to the first memory.
【0015】ここで、前記第2メモリに格納されている
管理テーブルを前記第1メモリに転送して書き込む動作
は、前記プロトコル処理手段がプロトコル処理を終了し
かつ前記ウント値が前記ATMセル格納手段には前記A
TMセルが格納されていないことを示した時点から所定
時間が経過した後に行ってもよい。Here, the operation of transferring the management table stored in the second memory to the first memory and writing the same is performed when the protocol processing means completes the protocol processing and the count value is stored in the ATM cell storage means. The above A
This may be performed after a predetermined time has elapsed from the time point indicating that no TM cell is stored.
【0016】また、前記ATMセル格納手段が前記AT
Mセルを格納する場合に、このATMセルに関する管理
テーブルが前記第2メモリに格納されているアドレスの
情報を前記ATMセルと共に格納してもよい。Further, the ATM cell storage means stores the AT
When storing the M cells, the management table for the ATM cells may store the address information stored in the second memory together with the ATM cells.
【0017】[0017]
【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。ここで、通信制御装置には
送信機能と受信機能とが備わっているが、本発明は受信
機能に関するものであるため、直接関与しない送信機能
については説明を省略する。Embodiments of the present invention will be described below with reference to the drawings. Here, the communication control device has a transmission function and a reception function. However, since the present invention relates to the reception function, the description of the transmission function not directly involved is omitted.
【0018】図1に、本実施の形態によるATM通信制
御装置の構成を示す。本装置では、CPU1及びメイン
メモリ2がシステムバス6を介してATM通信装置3に
接続され、ATM通信装置3は外部の第1メモリ4と接
続されている。また、ATM通信装置3は物理層制御手
段5を介して送信線16と受信線17とに接続されてい
る。送信線16及び受信線17は、ATM網においては
通常は光ファイバが用いられており、データ転送はビッ
トシリアルで行われる。FIG. 1 shows a configuration of an ATM communication control device according to the present embodiment. In this device, the CPU 1 and the main memory 2 are connected to an ATM communication device 3 via a system bus 6, and the ATM communication device 3 is connected to an external first memory 4. The ATM communication device 3 is connected to the transmission line 16 and the reception line 17 via the physical layer control means 5. The transmission line 16 and the reception line 17 generally use optical fibers in an ATM network, and data transfer is performed by bit serial.
【0019】CPU1は、ATM通信装置3を介してA
TM通信網を使用し、必要な通信データの送受信を行う
ものである。The CPU 1 sends A via the ATM communication device 3
It transmits and receives necessary communication data using a TM communication network.
【0020】メインメモリ2は、通信データをAAL5
−SDUの形式に従って格納するものである。この通信
データは、CPU1又はATM通信装置3からアクセス
される。The main memory 2 stores communication data in AAL5
-Store according to the SDU format. This communication data is accessed from the CPU 1 or the ATM communication device 3.
【0021】第1メモリ4は、ATM通信装置3が使用
する全てのVCに関する管理テーブルを格納するもので
ある。各々の管理テーブルは、後述するように1次元の
配列構造で第1メモリ4に格納されており、管理テーブ
ル番号でいずれのVCに関するものであるかが識別され
る。この管理テーブル番号は、配列の添え字に相当する
ものである。The first memory 4 stores a management table for all VCs used by the ATM communication device 3. Each management table is stored in the first memory 4 in a one-dimensional array structure as described later, and the management table number identifies which VC is related. This management table number corresponds to the subscript of the array.
【0022】物理層制御手段5は、ATM通信装置3に
おけるデータの形式と、送信線16又は受信線17にお
けるビットシリアルの形式との間で、データ形式の変換
を行う。The physical layer control means 5 converts the data format between the data format in the ATM communication device 3 and the bit serial format in the transmission line 16 or the reception line 17.
【0023】ATM通信装置3は、送信ブロックと受信
ブロックとを有している。受信ブロックは、物理層イン
タフェース手段9、VC特定手段10、VCTキャッシ
ュ制御手段11、VCT転送手段14、VCTキャッシ
ュ手段13、受信セルFIFO手段12、プロトコル処
理部8を有している。The ATM communication device 3 has a transmission block and a reception block. The reception block has a physical layer interface unit 9, a VC identification unit 10, a VCT cache control unit 11, a VCT transfer unit 14, a VCT cache unit 13, a reception cell FIFO unit 12, and a protocol processing unit 8.
【0024】物理層インタフェース手段9は、物理層制
御手段5に接続されており、受信線17から転送され物
理層制御手段5を介して入力されたATMセルを与えら
れる。そして、物理層インタフェース手段9は、ATM
セルのなかからVPI・VCIフィールドを抽出する。The physical layer interface means 9 is connected to the physical layer control means 5, and receives an ATM cell transferred from the reception line 17 and inputted through the physical layer control means 5. Then, the physical layer interface means 9 is connected to the ATM
The VPI / VCI field is extracted from the cell.
【0025】VC特定手段10は、この抽出されたVP
I・VCIフィールドに基づいて、当該ATM通信装置
3が扱うVCであるか否かの判断を行う。また、第1メ
モリ4に格納されている管理テーブル番号を算出する。
算出方法は、例えばVCIの値のみを用いて算出しても
よく、あるいはVCI及びVPIから、それぞれ所定ビ
ット数の下位ビットを取り出して連結して求めてもよ
い。求められた管理テーブル番号は、VCTキャッシュ
手段13に与えられる。さらに、VC特定手段10にお
いて、当該ATMセルの受信が可能と判断した場合に
は、物理層インタフェース手段9から受信セルFIFO
手段12へATMセルが転送される。The VC specifying means 10 outputs the extracted VP
Based on the I · VCI field, it is determined whether or not the VC is handled by the ATM communication device 3. Further, a management table number stored in the first memory 4 is calculated.
The calculation method may be, for example, using only the value of VCI, or may be obtained by extracting lower bits of a predetermined number of bits from VCI and VPI and concatenating them. The obtained management table number is given to the VCT cache unit 13. Further, if the VC identification means 10 determines that the ATM cell can be received, the physical layer interface means 9 sends the received cell FIFO to the reception cell FIFO.
The ATM cell is transferred to the means 12.
【0026】受信セルFIFO手段12には、ATMセ
ルのみならず、後述するキャッシュIndex 値も同時に与
えられる。これらのATMセル及びキャッシュIndex 値
は、受信セルFIFO手段12からプロトコル処理部8
に与えられる。ここで、受信セルFIFO手段12は、
物理層制御手段5における動作クロックと、ATM通信
装置3における動作クロックとの周波数の差の吸収を行
う。さらに、後述するVCTキャッシュ制御手段11に
おいて管理テーブルが用意されるまでの間、時間調整を
行う。The reception cell FIFO means 12 is provided with not only ATM cells but also a cache index value to be described later. These ATM cells and cache index values are transmitted from the reception cell FIFO unit 12 to the protocol processing unit 8.
Given to. Here, the reception cell FIFO means 12
The difference in frequency between the operation clock in the physical layer control means 5 and the operation clock in the ATM communication device 3 is absorbed. Further, time adjustment is performed until a management table is prepared in the VCT cache control unit 11 described later.
【0027】VCTキャッシュ手段13は、複数のVC
にそれぞれ対応した管理テーブルの内容を、一時的に保
持するものである。図11を参照して説明した管理テー
ブルと同等な内容を持つものが、図2に示されたような
形式でVCTキャッシュ手段13に格納される。ここ
で、図2に示された管理テーブルの形式は、図11に示
されたものと比較し次のような点が相違する。図11に
示されたように、第1メモリ4に格納されている管理テ
ーブルは、VCの管理テーブルVC#0、VC#1、…
順に配置される。これに対し、図2に示されたようにV
CTキャッシュ手段13には、後述するVCTキャッシ
ュ制御手段11の制御によって、第1メモリ4内の管理
テーブル15がVCT転送手段14により転送されてき
たものが格納される。従って、第1メモリ4とは異な
り、キャッシュIndex #0、#1、#2、…により格納
した各管理テーブルが識別される。ここで、第1メモリ
4における管理テーブル番号と、VCTキャッシュ手段
12におけるキャッシュIndexとの対応関係は、VCT
キャッシュ制御手段11が判断する。The VCT cache means 13 stores a plurality of VCs
Are temporarily stored in the management table corresponding to the respective items. What has the same content as the management table described with reference to FIG. 11 is stored in the VCT cache unit 13 in the format as shown in FIG. Here, the format of the management table shown in FIG. 2 is different from that shown in FIG. 11 in the following points. As shown in FIG. 11, the management tables stored in the first memory 4 are VC management tables VC # 0, VC # 1,.
They are arranged in order. On the other hand, as shown in FIG.
The CT cache unit 13 stores the management table 15 in the first memory 4 transferred by the VCT transfer unit 14 under the control of the VCT cache control unit 11 described later. Therefore, unlike the first memory 4, each management table stored is identified by the cache index # 0, # 1, # 2,. Here, the correspondence between the management table number in the first memory 4 and the cache index in the VCT cache unit 12 is represented by VCT
The cache control means 11 makes the determination.
【0028】VCT転送手段14は、VCTキャッシュ
手段13から与えられた管理テーブル番号を用いて、第
1メモリ4において管理テーブル15が格納されている
アドレスを算出する。そして、VCTキャッシュ手段1
3が管理しているキャッシュIndex で示されるVCTキ
ャッシュ手段13内のアドレスとの間で、データの転送
を行う。The VCT transfer means 14 calculates the address where the management table 15 is stored in the first memory 4 using the management table number given from the VCT cache means 13. And VCT cache means 1
The data is transferred to and from the address in the VCT cache means 13 indicated by the cache index managed by 3.
【0029】プロトコル処理部8は、受信セルFIFO
手段12に有効なATMセルが存在する時に、受信に必
要なプロトコル処理を開始する。このプロトコル処理
は、次のような内容を持っている。受信セルFIFO手
段12からプロトコル処理部8に、ATMセルデータと
キャッシュIndex とが出力される。このキャッシュInde
x の値を用いて、VCTキャッシュ手段13をアクセス
して、受信状態変数を得る。この受信状態変数が「フレ
ームの組立を開始する前」であることを示している場合
は、VCTキャッシュ手段13の管理テーブルの内容を
初期化する。そして、ATMセルのうちのペイロードを
書き込むための受信バッファのエリアをメインメモリ2
内に確保した上で、ペイロードを書き込む。そして、書
き込んだときのアドレス等の情報を、VCTキャッシュ
手段12内の管理テーブルに書き込む。受信状態変数と
して、「フレーム組立中」という情報が設定される。The protocol processing unit 8 includes a reception cell FIFO
When a valid ATM cell exists in the means 12, the protocol processing required for reception is started. This protocol processing has the following contents. The ATM cell data and the cache index are output from the reception cell FIFO unit 12 to the protocol processing unit 8. This cache Inde
The VCT cache unit 13 is accessed using the value of x to obtain a reception state variable. If the reception state variable indicates “before starting frame assembly”, the contents of the management table of the VCT cache unit 13 are initialized. Then, the area of the receiving buffer for writing the payload of the ATM cell is stored in the main memory 2.
Write the payload after securing it inside. Then, the information such as the address at the time of writing is written to the management table in the VCT cache unit 12. As the reception state variable, information that “frame is being assembled” is set.
【0030】受信状態変数が、この「フレーム組立中」
を示している場合は、管理テーブル内に示された受信バ
ッファのアドレスや残りの容量に基づいて、メインメモ
リ2のアドレスを計算し、このアドレスにペイロードの
書き込みを行う。そして、受信バッファアドレス及び残
り容量を更新する。さらに、CRC中間値と、現在処理
中のATMセルのペイロードから後続のATMセルのC
RC中間値を算出し、CRC中間値を更新する。When the reception state variable is "this frame is being assembled"
Is calculated, the address of the main memory 2 is calculated based on the address of the reception buffer and the remaining capacity indicated in the management table, and the payload is written to this address. Then, the receiving buffer address and the remaining capacity are updated. Further, the CRC intermediate value and the CPM of the subsequent ATM cell are calculated from the payload of the currently processed ATM cell.
The RC intermediate value is calculated, and the CRC intermediate value is updated.
【0031】ATMセルがAAL5フレームの末尾に位
置するものであった場合には、AAL5フレームとして
の組立完了処理を行う必要がある。具体的には、PAD
長の検査や、CRC−32の検査等があり、この処理結
果をCPU1へ通知する。この後に、受信状態変数は
「フレーム組立開始前」に設定される。If the ATM cell is located at the end of the AAL5 frame, it is necessary to perform an assembly completion process for the AAL5 frame. Specifically, PAD
There is a length check, a CRC-32 check, and the like, and this processing result is notified to the CPU 1. Thereafter, the reception state variable is set to “before starting frame assembly”.
【0032】本実施の形態では、ATMセルがAAL5
フレームに属する場合を例にとり説明しているが、他の
タイプに属する場合であってもよい。この場合には、当
該ATMセルが属するフレームに対応したプロトコル処
理が行われる。In this embodiment, the ATM cell is AAL5
Although the case of belonging to a frame is described as an example, the case of belonging to another type may be used. In this case, protocol processing corresponding to the frame to which the ATM cell belongs is performed.
【0033】プロトコル処理部8におけるプロトコル処
理が終了すると、プロトコル処理部8からVCTキャッ
シュ手段13にプロトコル処理終了信号が転送され、当
該ATMセルの処理が完了する。この処理が完了する
と、VCTキャッシュ手段13内の当該ATMセルの管
理テーブルは不要となり、これをVCT転送手段14を
用いて第1メモリ4内の管理テーブル15の領域へ書き
戻す。When the protocol processing in the protocol processing section 8 is completed, a protocol processing end signal is transferred from the protocol processing section 8 to the VCT cache means 13, and the processing of the ATM cell is completed. When this process is completed, the management table of the ATM cell in the VCT cache unit 13 becomes unnecessary, and is written back to the area of the management table 15 in the first memory 4 using the VCT transfer unit 14.
【0034】VCTキャッシュ制御手段11は、VC特
定手段10が算出した管理テーブル番号に合致する管理
テーブルがVCTキャッシュ手段13に格納されている
か否かを判断する。そして、必要な管理テーブルを、V
CT転送手段14を用いて読み出す。この際に、VCT
キャッシュ制御手段11はキャッシュIndex 値を受信セ
ルFIFO手段12に出力する。ここで、キャッシュIn
dex 値は、当該管理テーブルがVCTキャッシュの何番
目の入力に当たるかを示している。The VCT cache control means 11 determines whether or not a management table matching the management table number calculated by the VC specifying means 10 is stored in the VCT cache means 13. Then, the necessary management table is
The data is read out using the CT transfer means 14. At this time, VCT
The cache control unit 11 outputs the cache index value to the reception cell FIFO unit 12. Where Cache In
The dex value indicates the number of the input of the management table to the VCT cache.
【0035】VCTキャッシュ制御手段11の詳細な構
成は図3に示されるようであり、管理テーブル転送指示
手段11a、処理対象セル数カウンタ11b及び一致検
出手段11cを備えている。The detailed configuration of the VCT cache control means 11 is as shown in FIG. 3, and includes a management table transfer instructing means 11a, a processing target cell number counter 11b, and a coincidence detecting means 11c.
【0036】一致検出手段11cは、VCTキャッシュ
手段13が複数のATMセルを格納するためのそれぞれ
のエントリ#0、#1、#2、…に対応して設けられて
いる。そして、それぞれ対応するVCTキャッシュ手段
13のエントリが有効か無効かを示すフラグと、エント
リが有効な場合には現在格納している管理テーブルの番
号を保持している。また、当該エントリが有効な場合
は、一致検出手段11cがエントリ有効表示信号11n
を後述する処理対象セル数カウンタ11bに出力する。The coincidence detecting means 11c is provided for each entry # 0, # 1, # 2,... For the VCT cache means 13 to store a plurality of ATM cells. Then, the flag indicating whether the corresponding entry of the VCT cache unit 13 is valid or invalid, and the number of the management table currently stored when the entry is valid are held. If the entry is valid, the match detection means 11c outputs the entry validity display signal 11n.
Is output to the processing target cell number counter 11b described later.
【0037】この一致検出手段11cは、VC特定手段
10が出力する管理テーブル番号信号11f及び検索指
示信号11dを与えられると起動される。そして、それ
ぞれのエントリが保持している管理テーブル番号と、V
C特定手段10が出力する管理テーブル番号とが一致す
るときには、当該エントリに対する一致信号11pを処
理対象セル数カウンタ11bに出力する。いずれの管理
テーブル番号も一致しないときは、一致信号11pは全
く出力されない。The coincidence detecting means 11c is activated when given a management table number signal 11f and a search instruction signal 11d output from the VC specifying means 10. Then, the management table number held by each entry and V
If the management table number output from the C specifying unit 10 matches, the matching signal 11p for the entry is output to the processing target cell number counter 11b. If none of the management table numbers match, no match signal 11p is output.
【0038】処理対象セル数カウンタ11bは、VCT
キャッシュを使用する受信セルのうち未処理セルの数を
カウントするものである。一致検出手段11cから一致
信号11pを受け取った時には、カウント値を+1イン
クリメントする。プロトコル処理部8から出力されたプ
ロトコル処理終了信号11eを与えられると、逆に−1
デクリメントする。そして、カウント値が「0」になる
と、未処理セルが存在しなくなったことを示す処理終了
信号11qを管理テーブル転送指示手段11aに出力す
る。The processing target cell number counter 11b has a VCT
It counts the number of unprocessed cells among the received cells using the cache. When the coincidence signal 11p is received from the coincidence detecting means 11c, the count value is incremented by +1. When the protocol processing end signal 11e output from the protocol processing unit 8 is given, -1
Decrement. Then, when the count value becomes "0", it outputs a processing end signal 11q indicating that the unprocessed cell no longer exists to the management table transfer instructing means 11a.
【0039】管理テーブル転送指示手段11aは、検索
指示信号11dをVC特定手段10から与えられ、かつ
一致検出手段11cから一致信号11pが出力されてい
る場合には、受信されているATMセルに対応する管理
テーブルがVCTキャッシュ手段12に格納されている
と判断し、ヒット信号11g及びキャッシュIndex 信号
11iを出力する。The management table transfer instructing means 11a receives the search instruction signal 11d from the VC specifying means 10 and outputs the coincidence signal 11p from the coincidence detecting means 11c. It determines that the management table to be stored is stored in the VCT cache means 12, and outputs a hit signal 11g and a cache index signal 11i.
【0040】ここで、キャッシュindex 信号11iは、
キャッシュの当該エントリ番号を示している。また、こ
こで検索指示信号11dは、VC特定手段10が新たな
管理テーブル番号を出力した時にその番号がVCTキャ
ッシュ手段13に格納されているか否かを検索すること
を管理テーブル転送指示手段11aに開始させるのに用
いられる。さらに、一致信号11pは検索指示信号11
dが一致検出手段11cに与えられて動作開始した後に
有効な値を持つ。よって、管理テーブル転送指示手段1
1aにおいて、検索指示信号11dが与えられた後に一
致信号11pの値を調べるという手順が必要となる。Here, the cache index signal 11i is
The entry number of the cache is shown. Here, the search instruction signal 11d indicates to the management table transfer instructing means 11a that when the VC identification means 10 outputs a new management table number, whether the number is stored in the VCT cache means 13 is searched. Used to get started. Further, the match signal 11p is the search instruction signal 11
d has a valid value after being given to the coincidence detecting means 11c and starting operation. Therefore, the management table transfer instructing means 1
In 1a, it is necessary to perform a procedure of checking the value of the match signal 11p after the search instruction signal 11d is given.
【0041】逆に、一致検出手段11cから一致信号1
1pが出力されていないときには、管理テーブルはVC
Tキャッシュ手段13には格納されていないことが判明
する。よって、管理テーブル管理指示手段1aは、使用
されていないキャッシュのエントリ番号を表すキャッシ
ュIndex 信号11i を出力する。一致検出手段11cの
うち、このキャッシュIndex に対応するエントリ番号#
0〜nの領域には、管理テーブル番号が設定される。さ
らに、管理テーブル転送指示手段11aは、読み込みを
指示するための転送指示信号11hをVCT転送手段1
4に出力する。VCT転送手段14が転送終了信号11
jを出力すると、エントリ有効表示オン・オフ制御信号
11mを、エントリが有効であることを意味する「O
N」状態に設定し、再検査指示信号11kを一致検出手
段11cに出力する。On the contrary, the coincidence signal 1 is output from the coincidence detecting means 11c.
When 1p is not output, the management table is VC
It is found that the data is not stored in the T cache means 13. Therefore, the management table management instructing means 1a outputs the cache index signal 11i indicating the entry number of the unused cache. Entry number # corresponding to this cache Index among the coincidence detecting means 11c
Management table numbers are set in the areas 0 to n. Further, the management table transfer instructing means 11a sends a transfer instruction signal 11h for instructing reading to the VCT transfer means 1.
4 is output. VCT transfer means 14 outputs transfer end signal 11
j, the entry valid display on / off control signal 11m is changed to "O" indicating that the entry is valid.
N "state, and outputs the re-examination instruction signal 11k to the coincidence detecting means 11c.
【0042】一致検出手段11cは、エントリ有効表示
信号11nがオンに設定されていることから、一致信号
11pを処理対象セル数カウンタ11bに出力する。以
降の動作は、上述したエントリが存在した場合の動作と
同様であり、説明を省略する。Since the entry valid display signal 11n is set to ON, the coincidence detecting means 11c outputs the coincidence signal 11p to the processing target cell number counter 11b. The subsequent operation is the same as the operation when the above-mentioned entry exists, and the description is omitted.
【0043】プロトコル処理終了信号11eが処理対象
セル数カウンタ11bに入力され、処理対象セル数カウ
ンタ11bから処理終了信号11qが管理テーブル転送
指示手段11aに入力されると、当該管理テーブルに属
する受信セルの処理が全て完了したことが判明する。こ
の場合には、管理テーブル転送指示手段11aからキャ
ッシュエントリ番号を意味するキャッシュIndex 信号が
出力され、さらにVCT転送手段14に書き込みを指示
するための転送指示信号11hが出力される。また、エ
ントリ有効表示信号11nは「オフ」状態になる。逆
に、処理終了信号11qが処理対象セル数カウンタ11
bから管理テーブル転送指示手段11aに入力されない
場合には、この信号が出力されない当該管理テーブルが
用いられて処理されるべき受信セルが、少なくとも1つ
は受信セルFIFO手段12に蓄積されていることが判
明する。よって、管理テーブル転送指示手段11aから
は書き込みを指示するための転送指示信号11hは出力
されない。When the protocol processing end signal 11e is input to the processing target cell counter 11b and the processing end signal 11q is input from the processing target cell counter 11b to the management table transfer instructing means 11a, the reception cell belonging to the management table It is found that all the processes have been completed. In this case, a cache index signal indicating a cache entry number is output from the management table transfer instructing means 11a, and a transfer instruction signal 11h for instructing the VCT transfer means 14 to write is output. The entry valid display signal 11n is turned off. Conversely, the processing end signal 11q is the processing target cell number counter 11
b, if this signal is not input to the management table transfer instructing means 11a, this signal is not output. At least one reception cell to be processed using the management table is stored in the reception cell FIFO means 12. Turns out. Therefore, the transfer instruction signal 11h for instructing writing is not output from the management table transfer instructing means 11a.
【0044】このような構成を備えて本実施の形態にお
ける動作内容について、以下に述べる。図4に、同一の
VCに属するATMセルが連続して受信されたときの動
作の手順をフローチャートとし示す。 (1) ステップ101(ATMセル受信) 物理層制御手段5を介してATM通信装置3内の物理層
インタフェース手段9にATMセルが入力される。物理
層インタフェース手段9は、入力されたATMセルに含
まれるVPI・VCIフィールドを抽出してVC特定手
段10に転送する。 (2) ステップ102(VCの特定) VPI・VCIフィールドを与えられたVC特定手段1
0は、管理テーブル番号を生成して、当該ATMセルの
受信が可能か否かを判断する。VC特定手段10は、受
信が可能であると判断すると、その旨を物理層インタフ
ェース手段9に伝える。さらに、VC特定手段10は、
管理テーブル番号信号11fと検索指示信号11dとを
VCTキャッシュ制御手段11に与える。 (3) ステップ103(受信FIFO手段へのATM
セルの入力) 物理層インタフェース手段9が、ATMセルを受信セル
FIFO手段12に転送する。 (4) ステップ104(VCTキャッシュの開始動
作) VCTキャッシュ制御手段11内において、一致検出手
段11cに保持した管理テーブル番号と一致するエント
リがあるか否かを検索する。このようなエントリがある
場合には、このエントリに対応した一致検出手段11c
から一致信号11pが、対応する処理対象セル数カウン
タ11b及び管理テーブル転送指示手段11aに出力さ
れる。一致検出信号11pを受け取った処理対象セル数
カウンタ11bは、カウント値を+1インクリメントす
る。一致検出信号11pを受信した管理テーブル転送指
示手段11aは、当該エントリに対応したキャッシュIn
dex 番号をキャッシュIndex 信号11iとして出力し、
同時にヒット信号11gを出力する。The operation of this embodiment having such a configuration will be described below. FIG. 4 is a flowchart showing an operation procedure when ATM cells belonging to the same VC are continuously received. (1) Step 101 (ATM cell reception) An ATM cell is input to the physical layer interface means 9 in the ATM communication device 3 via the physical layer control means 5. The physical layer interface means 9 extracts the VPI / VCI field contained in the input ATM cell and transfers it to the VC specifying means 10. (2) Step 102 (VC specification) VC specifying means 1 given a VPI / VCI field
0 generates a management table number and determines whether or not the ATM cell can be received. When determining that the reception is possible, the VC identification unit 10 notifies the physical layer interface unit 9 of the determination. Further, the VC specifying means 10
The management table number signal 11f and the search instruction signal 11d are given to the VCT cache control means 11. (3) Step 103 (ATM to reception FIFO means)
Cell input) The physical layer interface unit 9 transfers the ATM cell to the reception cell FIFO unit 12. (4) Step 104 (VCT cache start operation) The VCT cache control unit 11 searches for an entry that matches the management table number held in the match detection unit 11c. If there is such an entry, the match detecting means 11c corresponding to this entry
Is output to the corresponding processing target cell number counter 11b and the management table transfer instructing means 11a. The processing target cell number counter 11b that has received the coincidence detection signal 11p increments the count value by +1. Upon receiving the match detection signal 11p, the management table transfer instructing means 11a sets the cache In corresponding to the entry in question.
The dex number is output as the cache index signal 11i,
At the same time, a hit signal 11g is output.
【0045】管理テーブル番号と一致するエントリが1
つもない場合は、一致検出手段11cからは一致信号1
1pは全く出力されない。このような場合は、当該AT
Mセルに対応した管理テーブルがVCTキャッシュ手段
13に格納されていないことになる。そこで、使用され
ていないエントリの番号を見つけてそのエントリに管理
テーブル番号を設定する。さらに、管理テーブル転送指
示手段11aは、その番号をキャッシュIndex 信号11
iとして出力すると共に、転送指示信号11hをVCT
転送手段14に出力する。これ以降の読み出し動作は、
後のステップ108において行われる。 (5) ステップ105(受信FIFO手段12へのA
TMセルの入力終了) 受信セルFIFO手段12にATMセルが入力され、管
理テーブル転送指示手段11aからヒット信号11gが
されると、物理層インタフェース手段9はキャッシュIn
dex 信号11iを受信セルFIFO手段12に書き込ま
せる。これにより、受信FIFO手段12へのATMセ
ルの入力が終了する。 (6) ステップ106(プロトコル処理手段の動作) プロトコル処理部8は、受信セルFIFO手段12から
の出力をチェックする。有効なATMセルが出力されて
いる場合には、それに付随して出力されているキャッシ
ュIndex 信号11iで示されるキャッシュIndex 番号を
用いて、VCTキャッシュ手段13のエントリをアクセ
スしてプロトコル処理を行う。ATMセルのデータは、
プロトコル処理部8からシステムバス6を介してメイン
メモリ2に書き込まれる。プロトコル処理部8での処理
が終了すると、キャッシュIndex信号11iとプロトコ
ル処理終了信号11eとがVCTキャッシュ制御手段1
1に与えられる。 (7) ステップ107(VCTキャッシュの終了動
作) VCTキャッシュ制御手段11が、プロトコル処理部8
から出力されたプロトコル処理終了信号11eを受信す
ると、この信号により指示されたキャッシュIndex 信号
11iに対応する処理対象セル数カウンタ11bのカウ
ント値を−1デクリメントする。このカウント値が
「0」になると、受信セルFIFO手段12において同
一のVCに属するATMセルは存在しないことになる。
そこで、管理テーブル転送指示手段11aからキャッシ
ュIndex 信号11iと転送指示信号11hとがVCT転
送手段14に出力される。 (8) ステップ108(管理テーブルの読み込み) キャッシュIndex 信号11iと転送指示信号11hとを
与えられたVCT転送手段14は、与えられた管理テー
ブル番号信号11fを用いて、第1メモリ4内の管理テ
ーブル15のアドレスを作成する。このアドレスを用い
て、第1メモリ4に格納されている管理テーブルデータ
を読み出して、VCTキャッシュ手段13内の指示され
ているキャッシュIndex 番号の領域に書き込む。この
後、VCT転送手段14は物理層インタフェース手段9
とVCTキャッシュ制御手段11とに動作が終了した旨
を通知する。このことを通知されたVCTキャッシュ制
御手段11において、管理テーブル転送指示手段11a
はエントリ有効表示オン・オフ制御信号11mを出力し
て、エントリ有効表示信号11nを「オン」にする。The entry corresponding to the management table number is 1
If no match is found, the match signal 1 is output from the match detection means 11c.
1p is not output at all. In such a case, the AT
This means that the management table corresponding to the M cell is not stored in the VCT cache unit 13. Therefore, the number of an unused entry is found, and a management table number is set for that entry. Further, the management table transfer instructing means 11a stores the number in the cache index signal 11
i, and the transfer instruction signal 11h is
Output to transfer means 14. Subsequent read operations are:
This is performed in a later step 108. (5) Step 105 (A to the reception FIFO means 12)
When the ATM cell is input to the reception cell FIFO unit 12 and a hit signal 11g is received from the management table transfer instructing unit 11a, the physical layer interface unit 9 sets the cache in.
The dex signal 11i is written into the reception cell FIFO means 12. Thus, the input of the ATM cell to the reception FIFO unit 12 is completed. (6) Step 106 (Operation of Protocol Processing Unit) The protocol processing unit 8 checks the output from the reception cell FIFO unit 12. If a valid ATM cell has been output, the protocol processing is performed by accessing the entry of the VCT cache means 13 using the cache index number indicated by the cache index signal 11i output therewith. ATM cell data is
The data is written to the main memory 2 from the protocol processing unit 8 via the system bus 6. When the processing in the protocol processing unit 8 is completed, the cache index signal 11i and the protocol processing end signal 11e are transmitted to the VCT cache control unit 1.
Given to one. (7) Step 107 (VCT cache end operation) The VCT cache control unit 11
Receives the protocol processing end signal 11e output from the CPU, the count value of the processing target cell number counter 11b corresponding to the cache index signal 11i indicated by this signal is decremented by -1. When the count value becomes "0", there is no ATM cell belonging to the same VC in the reception cell FIFO means 12.
Then, the cache index signal 11i and the transfer instruction signal 11h are output from the management table transfer instruction means 11a to the VCT transfer means 14. (8) Step 108 (reading of management table) The VCT transfer means 14 given the cache index signal 11i and the transfer instruction signal 11h uses the given management table number signal 11f to perform management in the first memory 4. Create an address for Table 15. Using this address, the management table data stored in the first memory 4 is read and written into the area of the designated cache index number in the VCT cache means 13. After this, the VCT transfer means 14 sends the physical layer interface means 9
And the VCT cache control means 11 are notified that the operation has been completed. In the VCT cache control unit 11 notified of this, the management table transfer instructing unit 11a
Outputs the entry valid display on / off control signal 11m to turn on the entry valid display signal 11n.
【0046】ここで、エントリ有効表示信号11nは、
VCTキャッシュ手段13に使用可能なデータが格納さ
れていることを示すために用いられる。さらに、再検査
指示信号11kを一致検出手段11cに出力する。Here, the entry valid display signal 11n is
It is used to indicate that usable data is stored in the VCT cache unit 13. Further, it outputs the re-examination instruction signal 11k to the coincidence detecting means 11c.
【0047】ここで、再検査指示信号11kとはVCT
キャッシュ手段13へのデータ格納終了を示す信号であ
るが、このような信号を用いるのは次のような理由によ
る。VCT転送手段14が新しい管理データを格納する
状況とは、VC特定手段10が管理するデータがVCT
キャッシュ手段12にまだ格納されていない状況であっ
て、一致検出手段11cは一致信号を出力していない。
管理データをVCTキャッシュ手段13に格納する段階
になると、管理テーブル転送指示手段11aは、この管
理データを格納しようとしているキャッシュindex に対
応する管理テーブル番号を一致検出手段11cに設定す
る。Here, the reexamination instruction signal 11k is VCT
The signal indicating the end of data storage in the cache unit 13 is used for the following reason. The situation where the VCT transfer means 14 stores new management data means that the data managed by the VC
In this situation, the match has not yet been stored in the cache unit 12, and the match detection unit 11c has not output a match signal.
At the stage of storing the management data in the VCT cache unit 13, the management table transfer instructing unit 11a sets the management table number corresponding to the cache index in which the management data is to be stored in the coincidence detection unit 11c.
【0048】管理データがVCTキャッシュ手段13に
格納されると、一致検出手段11cが一致信号11pを
出力するようにしなければならない。そこで、この再検
査指示信号11kを一致検出手段11cに与えて、VC
特定手段10が出力する管理テーブル番号と一致検出手
段11cが保持する管理テーブル番号との一致又は不一
致の検査をするように指示するようにしている。この再
検査指示信号11kが一致検出手段11cに与えられた
後の動作は、検索指示信号11dが一致検出手段11c
に与えられた場合と同様であり、動作の制御を一元的に
行うことができる。When the management data is stored in the VCT cache unit 13, the coincidence detecting unit 11c must output the coincidence signal 11p. Therefore, this retest instruction signal 11k is given to the coincidence detecting means 11c, and VC
It is instructed to check whether or not the management table number output by the specifying means 10 matches the management table number held by the match detection means 11c. The operation after the re-examination instruction signal 11k is given to the coincidence detecting means 11c is as follows.
And the control of the operation can be performed centrally.
【0049】仮に、管理テーブル番号を一致検出手段1
1cに設定した後に一致検出手段11cが直ちに一致信
号11pを出力したとすると、処理対象セル数カウンタ
11bにおけるカウントアップ動作や、プロトコル処理
部8における動作とのタイミングに問題が生じる虞があ
る。そこで、管理テーブルがVCTキャッシュ手段13
に格納された後に、一致信号11pが出力されるように
再検査指示信号11kを一致検出手段11cに与えるこ
ととしている。即ち、VCTキャッシュ手段13に管理
テーブルが実際に格納された後に、この格納動作が終了
したことを示す再検査指示信号11kを一致検出手段1
1cに与えた後に、処理対象セル数カウンタ11bにお
けるカウントアップ動作とプロトコル処理部8における
プロトコル処理動作の起動を開始するようにしている。It is assumed that the management table number is matched with the coincidence detecting means 1.
If the coincidence detecting means 11c immediately outputs the coincidence signal 11p after setting to 1c, there is a possibility that a problem may occur in the timing of the count-up operation in the processing target cell number counter 11b and the operation in the protocol processing unit 8. Therefore, the management table is stored in the VCT cache unit 13.
After that, the reinspection instruction signal 11k is supplied to the coincidence detecting means 11c so that the coincidence signal 11p is output. That is, after the management table is actually stored in the VCT cache unit 13, the re-inspection instruction signal 11k indicating that the storage operation has been completed is sent to the coincidence detection unit 1.
1c, the count-up operation in the processing target cell number counter 11b and the activation of the protocol processing operation in the protocol processing unit 8 are started.
【0050】処理対象セル数カウンタ11bにおいて、
カウント値が+1インクリメントされ、ヒット信号11
gが管理テーブル転送指示手段11aにおいて生成され
て出力される。この後、キャッシュエントリが有効とな
る。 (9) ステップ109(管理テーブルへの書き込み) VCT転送手段14は、管理テーブル転送指示手段11
aから与えられたキャッシュIndex 信号11iを用いて
VCTキャッシュ手段13のエントリを読み出して管理
テーブル番号信号11fを得る。この管理テーブル番号
の値から、第1メモリ4内の管理テーブル15のアドレ
スを作成し、第1メモリ4へキャッシュエントリの内容
を書き込む。書き込みが終了すると、VC転送手段14
は管理テーブルへの書き込みが終了したことをVCTキ
ャッシュ制御手段11に通知する。VCTキャッシュ制
御手段11は、該当するエントリ有効表示信号11nを
オフする。このエントリは未使用状態になるため、次に
VCT転送手段14によって管理テーブルが書き込む時
の対象となり得る。 (10) ステップ110(同一VCへの連続受信) 同一のVCに属するATMセルが連続的に、あるいは極
めて短い時間の間に受信された場合は、図5に示される
ような手順で処理が行われる。ここで、図4を用いて説
明したステップと同一のステップについては、同一の番
号を付して説明を省略する。In the processing target cell number counter 11b,
The count value is incremented by +1 and the hit signal 11
g is generated and output by the management table transfer instructing means 11a. Thereafter, the cache entry becomes valid. (9) Step 109 (writing to the management table) The VCT transfer means 14 sends the management table transfer instruction means 11
The entry of the VCT cache means 13 is read using the cache index signal 11i given from a to obtain a management table number signal 11f. The address of the management table 15 in the first memory 4 is created from the value of the management table number, and the contents of the cache entry are written in the first memory 4. When the writing is completed, the VC transfer means 14
Notifies the VCT cache control unit 11 that the writing to the management table has been completed. The VCT cache control means 11 turns off the corresponding entry valid display signal 11n. Since this entry is in an unused state, it can be a target when the management table is written by the VCT transfer unit 14 next time. (10) Step 110 (continuous reception to the same VC) When ATM cells belonging to the same VC are received continuously or for a very short time, the processing is performed according to the procedure shown in FIG. Will be Here, the same steps as those described with reference to FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted.
【0051】同じVCに属するATMセルが連続的又は
極めて短時間の間に受信されたときは、受信セルFIF
O手段12にこれらの複数のATMセルが蓄積されてい
る可能性が高い。この時には蓄積されたATMセルの数
jだけ処理対象セル数カウンタ11bのカウント値が+
jインクリメントされている。このような場合には、第
1メモリ4上の管理テーブル15と、VCTキャッシュ
手段13との間ではデータ転送は行わず、ステップ11
0のように直接VCTキャッシュ制御手段11がVCT
キャッシュ手段13をアクセスする。これにより、AT
M通信装置3と第1メモリ4との間のメモリバスの使用
率を低下させている。When ATM cells belonging to the same VC are received continuously or in a very short time, the received cell FIF
It is highly probable that these ATM cells are stored in the O means 12. At this time, the count value of the processing target cell number counter 11b increases by the number j of the accumulated ATM cells.
j has been incremented. In such a case, no data transfer is performed between the management table 15 on the first memory 4 and the VCT cache unit 13, and step 11
0, the VCT cache control means 11
The cache unit 13 is accessed. Thereby, AT
The usage rate of the memory bus between the M communication device 3 and the first memory 4 is reduced.
【0052】以上のように、第1の実施の形態によれ
ば、外部に設けられた第1メモリ4の他に、高速にアク
セスが可能なVCTキャッシュ手段13を備え、受信さ
れたATMセルに該当する管理テーブルがVCTキャッ
シュ手段13に格納されていない場合にのみ第1メモリ
4をアクセスして、管理テーブルの読み込みを行う。そ
して、当該VCに属するATMセルであって受信処理が
未処理であるものが受信セルFIFO手段12に蓄積さ
れている数をカウントし、全てのATMセルの処理が完
了した時にのみ、第1メモリ4に管理テーブルを書き込
むようにしている。これにより、従来よりも第1メモリ
4をアクセスする頻度が大幅に減少し、他のデータ転送
の妨害とならずシステム全体の効率を向上させることが
できる。As described above, according to the first embodiment, in addition to the first memory 4 provided externally, the VCT cache means 13 which can be accessed at a high speed is provided. Only when the corresponding management table is not stored in the VCT cache unit 13, the first memory 4 is accessed to read the management table. Then, the number of the ATM cells belonging to the VC which have not yet been subjected to the reception processing are counted in the reception cell FIFO means 12. Only when the processing of all the ATM cells is completed, the first memory is counted. 4, the management table is written. As a result, the frequency of accessing the first memory 4 is greatly reduced as compared with the related art, and it is possible to improve the efficiency of the entire system without obstructing other data transfer.
【0053】さらに、従来は上述したように、外部に設
けられているメモリ内の管理テーブルを読み込む動作と
書き込む動作とのタイミングに矛盾が生じないように設
定することが困難であった。これに対し本実施の形態で
は、管理テーブルを必要とするプロトコル処理部8がア
クセスするVCTキャッシュ手段13には、常に最新の
管理テーブルが格納されているので、読み書きの間で矛
盾が生じることが無く、制御のタイミングの設定も容易
である。Furthermore, conventionally, as described above, it has been difficult to make settings so as not to cause inconsistency in the timing of the operation of reading and writing the management table in the externally provided memory. On the other hand, in the present embodiment, since the VCT cache unit 13 accessed by the protocol processing unit 8 requiring the management table always stores the latest management table, inconsistency may occur between reading and writing. Therefore, it is easy to set the control timing.
【0054】次に、本発明の第2の実施の形態について
説明する。上述した第1の実施の形態では、ATMセル
が受信されてプロトコル処理部8において受信処理が行
われると、ステップ106において直ちにデクリメント
される。このため、同一のVCへATMが連続して受信
されない場合は、処理対象セル数カウンタ11bのカウ
ント値が「0」に設定されて、使用していないエントリ
との区別を十分に行うことが困難である。即ち、VCT
キャッシュ手段13に有効なデータが格納されている場
合は、エントリー有効表示信号11nがON状態にあ
る。しかし、この信号11nをOFFにするタイミング
は重要である。Next, a second embodiment of the present invention will be described. In the above-described first embodiment, when an ATM cell is received and the reception processing is performed in the protocol processing unit 8, it is immediately decremented in step 106. For this reason, when ATMs are not continuously received by the same VC, the count value of the processing target cell number counter 11b is set to “0”, and it is difficult to sufficiently distinguish the unused entries from unused entries. It is. That is, VCT
When valid data is stored in the cache means 13, the entry valid display signal 11n is in the ON state. However, the timing at which this signal 11n is turned off is important.
【0055】キャッシュエントリーは複数設けられてい
るので、できるだけ長い時間エントリー有効表示信号1
1nをONしておいた方が望ましい。これは、後続セル
を受信した時に、このキャッシュを再利用できる可能性
が高くなるからである。逆に、エントリー有効表示信号
11nを直ぐにOFFしてしまうと、後続セル受信のた
びに第1メモリ4からのデータの読み書きが発生し、ア
クセス効率が低減する。そこで、エントリー有効表示信
号11nをOFFさせるタイミングを遅らせる必要があ
る。Since a plurality of cache entries are provided, the entry valid display signal 1
It is desirable to turn on 1n. This is because it is more likely that the cache can be reused when a subsequent cell is received. Conversely, if the entry valid display signal 11n is immediately turned off, reading and writing of data from the first memory 4 occurs every time a subsequent cell is received, and access efficiency is reduced. Therefore, it is necessary to delay the timing of turning off the entry valid display signal 11n.
【0056】また、VCTキャッシュ手段13のエント
リ数は複数設けられてはいるが、その数は有限である。
よって、このエントリの総数を越えるVCへATMセル
が受信される場合は、新しく受信されたVCに関する第
1メモリ4内の管理テーブル15を、古いエントリを無
効にしてロードする必要がある。Although the VCT cache means 13 has a plurality of entries, the number is limited.
Therefore, when an ATM cell is received by a VC exceeding the total number of entries, it is necessary to invalidate the old entry and load the management table 15 in the first memory 4 relating to the newly received VC.
【0057】エントリの置き換えを行うためのアルゴリ
ズムとして、従来は例えばLRU(least recently use
d )法を用いていた。このLRU法では、最も過去の時
間にアクセスされたエントリを無効にし、新しく受信さ
れたVCのための管理テーブルを格納する。しかし、こ
の手法によれば各々のエントリがどの時刻で使用されか
を判断するために、各エントリ毎に使用の履歴を記録
し、いずれが最も古いかを判断する手段が必要となる。
従って、このような処理を可能にするためのハードウェ
アあるいはソフトウェアへの負荷が大きくなる。Conventionally, as an algorithm for replacing an entry, for example, LRU (least recently used) is used.
d) method was used. In the LRU method, an entry accessed at the earliest time is invalidated, and a management table for a newly received VC is stored. However, according to this method, in order to determine at what time each entry is used, a means of recording a usage history for each entry and determining which is the oldest is required.
Therefore, the load on hardware or software for enabling such processing increases.
【0058】第2の実施の形態では、このようなハード
ウェア面あるいはソフトウェア面への負荷の増大を招く
ことなく、エントリの置き換え処理を実現している。図
6に、本実施の形態によるATM通信制御装置におい
て、VCTキャッシュ制御手段の詳細な構成を示す。こ
こで、図3に示された第1の実施の形態におけるVCT
キャッシュ制御手段と同一の構成要素には同一の番号を
付して説明を省略する。In the second embodiment, the entry replacement process is realized without increasing the load on the hardware or software. FIG. 6 shows a detailed configuration of the VCT cache control means in the ATM communication control device according to the present embodiment. Here, the VCT according to the first embodiment shown in FIG.
The same components as those of the cache control unit are denoted by the same reference numerals, and description thereof is omitted.
【0059】第1の実施の形態と比較し、本実施の形態
では管理テーブル転送指示手段11uと処理対象セル数
カウンタ11bとの間に、アイドル時間カウンタ11r
が設けられ、これに伴い管理テーブル転送指示手段11
uに新たな動作が加わる点が相違する。このアイドル時
間カウンタ11rのカウント動作は、処理対象セル数カ
ウンタ11bから与えられる起動信号11tの値が論理
「1」と「0」のいずれであるかによって規定される。
起動信号11tは、処理対象セル数カウンタの値が
「0」の時に論理「1」となり、カウンタの値が「0」
以外の時には論理「0」となる。また、カウント値をデ
クリメントしていくタイミングは、一定周期を持つセル
クロックにより規定される。この処理対象セル数カウン
タ11bのカウント動作手順は、図7に示されるようで
ある。In comparison with the first embodiment, in the present embodiment, an idle time counter 11r is provided between the management table transfer instructing means 11u and the processing target cell number counter 11b.
The management table transfer instructing means 11
The difference is that a new operation is added to u. The counting operation of the idle time counter 11r is defined by whether the value of the activation signal 11t given from the processing target cell number counter 11b is logic “1” or “0”.
The activation signal 11t becomes logic “1” when the value of the processing target cell number counter is “0”, and the value of the counter is “0”.
In other cases, the logic becomes "0". The timing at which the count value is decremented is defined by a cell clock having a fixed cycle. The count operation procedure of the processing target cell number counter 11b is as shown in FIG.
【0060】起動信号11tが論理「0」であるとき、
カウント値Cntは初期値「0」に設定される。そし
て、起動信号11tが論理「0」になると、カウント値
Cntは所定値nに設定される。起動信号11tが論理
「1」である間、アイドル時間であるとして1つずつカ
ウント値Cntをデクリメントしていく。そして、カウ
ント値Cntが「0」になると、処理終了信号11qを
出力して管理テーブル転送指示手段11aに与える。ま
た、デクリメントの最中に起動信号11tが論理「0」
になると、カウント値Cntはnに戻る。When the activation signal 11t is logic "0",
The count value Cnt is set to an initial value “0”. When the activation signal 11t becomes logic "0", the count value Cnt is set to a predetermined value n. While the activation signal 11t is at logic "1", the count value Cnt is decremented by one assuming the idle time. Then, when the count value Cnt becomes "0", it outputs a processing end signal 11q and gives it to the management table transfer instructing means 11a. In addition, during the decrement, the activation signal 11t becomes logic “0”.
, The count value Cnt returns to n.
【0061】管理テーブル転送指示手段11uは、第1
の実施の形態における管理テーブル転送指示手段11a
と同様な動作を行うが、プロトコル処理終了信号11e
を与えられたときには次のような動作をする。プロトコ
ル処理終了信号11eが処理対象セル数カウンタ11b
に入力され、このカウンタ11bのカウント値が「0」
になり、受信セルFIFO手段12における未処理AT
Mセルが存在しなくなると、起動信号11tは「1」の
値に設定される。この起動信号11tがアイドル時間カ
ウンタ11rに入力されると、上述したように所定値n
から1つずつデクリメントを開始する。このカウント値
Cntが「0」になるまでの間は、アイドル時間カウン
タ11rは管理テーブル信号転送指示手段11uに処理
終了信号11qを出力しない。このため、管理テーブル
転送指示手段11uは、当該エントリが無効になったと
いう判断はしない。カウント値Cntが「0」までデク
リメントされると、アイドル時間カウンタ11rから処
理終了信号11qが出力される。これにより、管理テー
ブル転送指示手段11uは、当該エントリは無効になっ
たと判断する。そして、キャッシュIndex 信号11iと
してキャッシュエントリ番号を出力し、VCT転送手段
14に転送指示信号11hを出力し、さらにエントリ有
効表示オフ制御信号11mを一致検出手段11cに出力
する。これにより、一致検出手段11cから出力される
エントリ有効表示信号11nは、オフ状態になる。The management table transfer instructing means 11 u
Management table transfer instructing means 11a in the embodiment
Performs the same operation as that of the protocol processing end signal 11e.
Is given as follows. The protocol processing end signal 11e is a processing target cell number counter 11b.
And the count value of the counter 11b is "0"
And the unprocessed AT in the reception cell FIFO means 12
When the M cell no longer exists, the activation signal 11t is set to a value of “1”. When the start signal 11t is input to the idle time counter 11r, the predetermined value n
Starts decrementing one by one. Until the count value Cnt becomes “0”, the idle time counter 11r does not output the processing end signal 11q to the management table signal transfer instructing unit 11u. Therefore, the management table transfer instructing unit 11u does not determine that the entry has become invalid. When the count value Cnt is decremented to "0", the idle time counter 11r outputs a processing end signal 11q. Thereby, the management table transfer instructing unit 11u determines that the entry is invalid. Then, it outputs the cache entry number as the cache index signal 11i, outputs the transfer instruction signal 11h to the VCT transfer means 14, and outputs the entry valid display off control signal 11m to the coincidence detection means 11c. As a result, the entry valid display signal 11n output from the coincidence detecting means 11c is turned off.
【0062】アイドル時間カウンタ11rが初期値nか
らデクリメントしている最中であって、カウント値Cn
tが「0」まで到達していない時点で、新たなATMセ
ルが受信された場合には、エントリ有効表示信号11n
はオン状態にある。この場合には、当該エントリは有効
であると判断することができ、VCTキャッシュ手段1
3を使用することが可能である。While the idle time counter 11r is decrementing from the initial value n, the count value Cn
If a new ATM cell is received at a point in time when t has not reached “0”, the entry validity indication signal 11n
Is in the ON state. In this case, the entry can be determined to be valid, and the VCT cache unit 1
3 can be used.
【0063】このように、第2の実施の形態によれば、
上述した第1の実施の形態により得られる効果のみなら
ず、次のような効果を奏する。付加されたアイドル時間
カウンタ11rのカウント値Crtが、nから「0」ま
でデクリメントされる一定時間が経過するまでの間、同
一のVCにATMセルが受信されなかった場合にのみ、
当該エントリは無効であるとし、第1メモリ4に格納さ
れている管理テーブル15をアクセスすることができ
る。逆に、一定時間が経過しない前に、同一のVCにA
TMセルが受信された場合には、当該エントリは有効で
あり、第1メモリ4へのアクセスは行われない。この結
果、第1メモリへのアクセス頻度を低下させることがで
きる。また、一定時間が経過してカウント値Crtが
「0」になると、エントリ有効表示信号11nがオフ状
態になることで、当該エントリが無効となる。これによ
り、新たなVCにATMセルが受信された場合のため
に、必要なエントリを確保しておくことができる。As described above, according to the second embodiment,
The following effects are obtained in addition to the effects obtained by the above-described first embodiment. Only when an ATM cell is not received by the same VC until the count value Crt of the added idle time counter 11r elapses a predetermined time that is decremented from n to “0”,
The entry is determined to be invalid, and the management table 15 stored in the first memory 4 can be accessed. Conversely, before the fixed time elapses, A
When the TM cell is received, the entry is valid, and the access to the first memory 4 is not performed. As a result, the frequency of access to the first memory can be reduced. Further, when the count value Crt becomes “0” after a certain period of time, the entry becomes invalid because the entry valid display signal 11n is turned off. As a result, necessary entries can be secured in case an ATM cell is received by a new VC.
【0064】上述した実施例は一例であり、本発明を限
定するものではない。例えば、図1、図3あるいは図6
に示された装置の構成は一例であり、必ずしもこれらの
要素を全て備えている必要はない。The above-described embodiment is merely an example, and does not limit the present invention. For example, FIG. 1, FIG. 3 or FIG.
Is an example, and it is not always necessary to provide all of these elements.
【0065】[0065]
【発明の効果】以上説明したように、本発明のATM通
信制御方法及びその装置では、装置外部に第1メモリを
設け、装置内部に第2メモリを設け、受信したセルに対
応する管理テーブルが第2メモリに格納されていない場
合にのみ第1メモリから読み出し、当該VCに属するセ
ルの受信処理が全て終了した時点で第1メモリに管理テ
ーブルを格納するようにしたことで、装置外部の第1メ
モリへのアクセス頻度を大幅に減少させてシステム全体
の処理効率を向上させることが可能である。また、プロ
トコル処理を行う処理部がアクセスする第2メモリに
は、常時最新の管理テーブルが格納されているので、管
理テーブルの書き込み又は読み出しのタイミングと、プ
ロトコル処理部8との間で行き違いが生じる問題もな
く、制御の手順が簡略化される。As described above, in the ATM communication control method and apparatus according to the present invention, the first memory is provided outside the apparatus, the second memory is provided inside the apparatus, and the management table corresponding to the received cell is provided. Only when the data is not stored in the second memory, the data is read from the first memory, and the management table is stored in the first memory when all the reception processes of the cells belonging to the VC have been completed. It is possible to greatly reduce the frequency of accessing one memory and improve the processing efficiency of the entire system. In addition, since the latest management table is always stored in the second memory accessed by the processing unit that performs the protocol processing, a difference occurs between the timing of writing or reading the management table and the protocol processing unit 8. The control procedure is simplified without any problems.
【図1】本発明の第1の実施の形態によるATM通信制
御装置の構成を示した回路図。FIG. 1 is a circuit diagram showing a configuration of an ATM communication control device according to a first embodiment of the present invention.
【図2】同制御装置で用いられる管理テーブルの内容を
示した説明図。FIG. 2 is an explanatory diagram showing contents of a management table used in the control device.
【図3】同制御装置内のVCTキャッシュ制御手段の構
成を示した回路図。FIG. 3 is a circuit diagram showing a configuration of a VCT cache control unit in the control device.
【図4】同制御装置の受信処理の手順を示したフローチ
ャート。FIG. 4 is a flowchart showing a procedure of a reception process of the control device.
【図5】同制御装置において一定時間内に同一のVCに
ATMセルが連続して受信されたときの処理の手順を示
したフローチャート。FIG. 5 is a flowchart showing a procedure of processing when ATM cells are continuously received by the same VC in the same VC within a predetermined time in the control device.
【図6】本発明の第2の実施の形態によるATM通信制
御装置内のVCTキャッシュ制御手段の構成を示した回
路図。FIG. 6 is a circuit diagram showing a configuration of a VCT cache control unit in an ATM communication control device according to a second embodiment of the present invention.
【図7】同VCTキャッシュ制御手段内のアイドル時間
カウンタのカウント動作を示した説明図。FIG. 7 is an explanatory diagram showing a count operation of an idle time counter in the VCT cache control means.
【図8】ATMセルの構造を示した説明図。FIG. 8 is an explanatory diagram showing the structure of an ATM cell.
【図9】ATM通信におけるプロトコルの階層を示した
説明図。FIG. 9 is an explanatory diagram showing a protocol hierarchy in ATM communication.
【図10】AAL5フレームとATMセルとの対応関係
を示した説明図。FIG. 10 is an explanatory diagram showing the correspondence between AAL5 frames and ATM cells.
【図11】従来のATM通信制御装置の構成を示した回
路図。FIG. 11 is a circuit diagram showing a configuration of a conventional ATM communication control device.
1 CPU 2 メインメモリ 3 ATM通信装置 4 第1メモリ 5 物理層制御手段 6 システムバス 7 受信ATMセルバス 8 プロトコル処理部 9 物理層インタフェース手段 10 VCキャッシュ制御手段 11 VCTキャッシュ制御手段 11a 管理テーブル転送指示手段 11b 処理対象セル数カウンタ 11c 一致検出手段 11r アイドル時間カウンタ 12 受信セルFIFO手段 13 VCTキャッシュ手段 14 VCT転送手段 15 管理テーブル 16 送信線 17 受信線 Reference Signs List 1 CPU 2 Main memory 3 ATM communication device 4 First memory 5 Physical layer control means 6 System bus 7 Reception ATM cell bus 8 Protocol processing unit 9 Physical layer interface means 10 VC cache control means 11 VCT cache control means 11a Management table transfer instructing means 11b Target cell number counter 11c Coincidence detecting means 11r Idle time counter 12 Received cell FIFO means 13 VCT cache means 14 VCT transfer means 15 Management table 16 Transmission line 17 Receive line
Claims (6)
の受信を行うATM通信制御装置において、 受信したATMセルに含まれるアドレス情報を抽出して
前記仮想通信回線のうちのいずれかを特定する回線特定
手段と、 それぞれの前記仮想通信回線を制御するための情報を含
む管理テーブルを格納する第1メモリと、 前記第1メモリに格納された前記管理テーブルのいずれ
かを複製して格納する第2メモリと、 受信した前記ATMセルを格納するATMセル格納手段
と、 前記第2メモリから前記管理テーブルを読み出し、前記
ATMセル格納手段に格納された前記ATMセルのプロ
トコル処理を行い、このプロトコル処理が終了すると処
理終了信号を出力するプロトコル処理手段と、 前記第1メモリと前記第2メモリとの間で、前記管理テ
ーブルを転送する管理テーブル転送手段と、 前記仮想通信回線のうち、前記回線特定手段により特定
された仮想通信回線を制御するための管理テーブルが前
記第2メモリに格納されているか否かを判断する判断手
段と、 前記ATMセル格納手段に格納されているATMセルの
数をカウントするカウント手段と、 前記判断手段の判断結果と、前記カウント手段のカウン
ト値と、前記プロトコル処理手段の処理状況に応じて前
記管理テーブル転送手段を制御する管理テーブル制御手
段とを備え、 前記管理テーブル制御手段は、前記判断手段が前記回線
特定手段により特定された仮想通信回線を制御するため
の管理テーブルが前記第2メモリに格納されていないと
判断すると、前記第1メモリからこの管理テーブルを読
み出して前記第2メモリへ転送し、前記プロトコル処理
手段が前記処理終了信号を出力し、かつ前記カウント手
段のカウント値が前記ATMセル格納手段には前記AT
Mセルが格納されていないことを示しているときは、前
記ATMセルに関する管理テーブルであって前記第2メ
モリに格納されている前記管理テーブルを前記第1メモ
リに転送して書き込むことを特徴とするATM通信制御
装置。1. An ATM communication control device for controlling a plurality of virtual communication lines to receive an ATM cell, extracting address information contained in the received ATM cell and specifying one of the virtual communication lines. A first memory for storing a management table including information for controlling each of the virtual communication lines; and copying and storing one of the management tables stored in the first memory. A second memory, an ATM cell storage unit for storing the received ATM cells, reading the management table from the second memory, and performing a protocol process on the ATM cells stored in the ATM cell storage unit; A protocol processing means for outputting a processing end signal when the processing is completed; and a communication between the first memory and the second memory. A management table transfer unit for transferring a table; and determining whether a management table for controlling the virtual communication line specified by the line specifying unit among the virtual communication lines is stored in the second memory. Determining means; counting means for counting the number of ATM cells stored in the ATM cell storing means; determining result of the determining means, count value of the counting means, and processing status of the protocol processing means. And a management table control means for controlling the management table transfer means. The management table control means includes a management table for controlling the virtual communication line identified by the line identification means by the determination means. If it is determined that the management table is not stored in the memory, the management table is read from the first memory and the second memory is read. Transferred to the protocol processing unit outputs the processing end signal, and the count value of said counting means in the ATM cell storage unit AT
When indicating that the M cell is not stored, the management table related to the ATM cell, which is stored in the second memory, is transferred to the first memory and written. ATM communication control device.
コル処理手段が前記処理終了信号を出力し、かつ前記カ
ウント手段のカウント値が前記ATMセル格納手段には
前記ATMセルが格納されていないことを示した時点か
ら所定時間が経過した後に、前記ATMセルに関する管
理テーブルであって前記第2メモリに格納されている前
記管理テーブルを前記第1メモリに転送して書き込むこ
とを特徴とする請求項1記載のATM通信制御装置。2. The management table control means checks that the protocol processing means outputs the processing end signal and that the count value of the counting means does not store the ATM cell in the ATM cell storage means. 2. The method according to claim 1, wherein after a predetermined time has elapsed from the indicated time point, the management table stored in the second memory, which is a management table for the ATM cell, is transferred to the first memory and written. The ATM communication control device as described in the above.
ルに関する管理テーブルが前記第2メモリに格納されて
いるアドレスの情報を、前記ATMセルと共に格納する
ことを特徴とする請求項1又は2記載のATM通信制御
装置。3. The ATM cell storage unit according to claim 1, wherein said ATM cell storage means stores information of an address at which a management table relating to said ATM cell is stored in said second memory together with said ATM cell. ATM communication control device.
の受信を行うATM通信制御方法において、 受信したATMセルに含まれるアドレス情報を抽出して
前記仮想通信回線のうちのいずれかを特定するステップ
と、 それぞれの前記仮想通信回線を制御するための情報を含
む管理テーブルを第1メモリに格納するステップと、 前記第1メモリに格納された前記管理テーブルのいずれ
かを複製して第2メモリに格納するステップと、 受信した前記ATMセルをATMセル格納手段に格納す
るステップと、 前記第2メモリから前記管理テーブルを読み出し、前記
ATMセル格納手段に格納された前記ATMセルのプロ
トコル処理をプロトコル処理手段において行うステップ
と、 前記第1メモリと前記第2メモリとの間で、管理テーブ
ル転送手段により前記管理テーブルを転送するステップ
と、 前記仮想通信回線のうち、前記回線特定手段により特定
された仮想通信回線を制御するための管理テーブルが前
記第2メモリに格納されているか否かを判断するステッ
プと、、 ATMセルが前記ATMセル格納手段に格納されている
数をカウントするステップと、 前記回線特定手段により特定された前記仮想通信回線を
制御するための管理テーブルが前記第2メモリに格納さ
れていない場合、前記第1メモリからこの管理テーブル
を読み出して前記第2メモリへ転送し、前記プロトコル
処理手段が前記プロトコル処理を終了しかつ前記カウン
ト値が前記ATMセル格納手段には前記ATMセルが格
納されていないことを示しているときは、前記第2メモ
リに格納されている前記ATMセルに関する管理テーブ
ルを前記第1メモリに転送して書き込むステップとを備
えたことを特徴とするATM通信制御方法。4. An ATM communication control method for controlling a plurality of virtual communication lines to receive an ATM cell, wherein address information contained in the received ATM cell is extracted to specify one of the virtual communication lines. And storing a management table including information for controlling each of the virtual communication lines in a first memory; and copying any of the management tables stored in the first memory to a second memory. Storing the ATM cells in a memory; storing the received ATM cells in an ATM cell storage means; reading the management table from the second memory; and performing protocol processing of the ATM cells stored in the ATM cell storage means. A step performed by a protocol processing means, and a management table transfer procedure between the first memory and the second memory. Transferring the management table, and determining whether or not a management table for controlling the virtual communication line specified by the line specifying unit among the virtual communication lines is stored in the second memory. A step of counting the number of ATM cells stored in the ATM cell storage means; and a management table for controlling the virtual communication line specified by the line specification means stored in the second memory. If not, the management table is read from the first memory and transferred to the second memory. The protocol processing means completes the protocol processing and the count value is stored in the ATM cell storage means. Indicates that the ATM cell is not stored, the ATM cell stored in the second memory ATM communication control method characterized by comprising the step of writing to transfer the management table related to said first memory.
って前記第2メモリに格納されているものを前記第1メ
モリに転送して書き込む前記ステップでは、 前記プロトコル処理手段が前記プロトコル処理を終了し
かつ前記カウント値が前記ATMセル格納手段には前記
ATMセルが格納されていないことを示した時点から所
定時間が経過した後に、前記管理テーブルを前記第2メ
モリから第1メモリに転送して書き込むことを特徴とす
る請求項4記載のATM通信制御方法。5. In the step of transferring and writing a management table related to the ATM cell stored in the second memory to the first memory, the protocol processing means terminates the protocol processing and Transferring the management table from the second memory to the first memory after a lapse of a predetermined time since the count value indicates that the ATM cell is not stored in the ATM cell storage means; 5. The ATM communication control method according to claim 4, wherein:
を格納する前記ステップでは、このATMセルに関する
管理テーブルが前記第2メモリに格納されているアドレ
スの情報を前記ATMセルと共に格納することを特徴と
する請求項4又は5記載のATM通信制御方法。6. The method according to claim 1, wherein said step of storing said ATM cell comprises storing information of an address stored in said second memory together with said ATM cell in said management table relating to said ATM cell. The ATM communication control method according to claim 4 or 5, wherein
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29864295A JP3217667B2 (en) | 1995-11-16 | 1995-11-16 | ATM communication control method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29864295A JP3217667B2 (en) | 1995-11-16 | 1995-11-16 | ATM communication control method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09139743A JPH09139743A (en) | 1997-05-27 |
| JP3217667B2 true JP3217667B2 (en) | 2001-10-09 |
Family
ID=17862385
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29864295A Expired - Fee Related JP3217667B2 (en) | 1995-11-16 | 1995-11-16 | ATM communication control method and device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3217667B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6435047B1 (en) | 1997-08-07 | 2002-08-20 | Taiho Kogyo Co., Ltd. | Shoe for swash-plate type compressor |
-
1995
- 1995-11-16 JP JP29864295A patent/JP3217667B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6435047B1 (en) | 1997-08-07 | 2002-08-20 | Taiho Kogyo Co., Ltd. | Shoe for swash-plate type compressor |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09139743A (en) | 1997-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5848293A (en) | Method and apparatus for transmission and processing of virtual commands | |
| US5875352A (en) | Method and apparatus for multiple channel direct memory access control | |
| US5828903A (en) | System for performing DMA transfer with a pipeline control switching such that the first storage area contains location of a buffer for subsequent transfer | |
| US5758089A (en) | Method and apparatus for burst transferring ATM packet header and data to a host computer system | |
| US5796735A (en) | System and method for transmission rate control in a segmentation and reassembly (SAR) circuit under ATM protocol | |
| JP3819484B2 (en) | Apparatus and method for packetizing and segmenting MPEG packets | |
| US6741562B1 (en) | Apparatus and methods for managing packets in a broadband data stream | |
| US6205151B1 (en) | ATM cell scheduler which uses a heap memory and associates timestamps with each channel | |
| US5664116A (en) | Buffering of data for transmission in a computer communication system interface | |
| US6049857A (en) | Apparatus and method for translating addresses utilizing an ATU implemented within a network interface card | |
| JP3987915B2 (en) | Apparatus and method for synthesizing management packets transmitted between network switch and host controller | |
| JP2837650B2 (en) | System and method for storing and retrieving routing information | |
| EP0924954A1 (en) | ATM cell transmissions | |
| WO1996031820A1 (en) | Method and apparatus for the management of queue pointers by multiple processors in a digital communications network | |
| JPH10224379A (en) | Atm re-configuration controller and re-configuration method | |
| US6279081B1 (en) | System and method for performing memory fetches for an ATM card | |
| JP3217667B2 (en) | ATM communication control method and device | |
| US20040028053A1 (en) | Direct memory access circuit with ATM support | |
| EP0822500A1 (en) | A circuit and method for segregating memory in an address translation unit | |
| US7352754B2 (en) | ATM-based data transmitting and receiving device and method | |
| KR100256679B1 (en) | Atm cell segmentation | |
| US7613788B2 (en) | Apparatus and method for data transmission | |
| WO1994015438A1 (en) | Device for the conversion of data blocks, frame structured, into atm cells and vice versa | |
| JPH08242238A (en) | Communication controller and control method therefor | |
| JP2848370B2 (en) | Communication line monitoring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |