JPH10233804A - Packet data transfer controller - Google Patents

Packet data transfer controller

Info

Publication number
JPH10233804A
JPH10233804A JP3484097A JP3484097A JPH10233804A JP H10233804 A JPH10233804 A JP H10233804A JP 3484097 A JP3484097 A JP 3484097A JP 3484097 A JP3484097 A JP 3484097A JP H10233804 A JPH10233804 A JP H10233804A
Authority
JP
Japan
Prior art keywords
entry
packet data
registered
port
transfer
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.)
Withdrawn
Application number
JP3484097A
Other languages
Japanese (ja)
Inventor
Masato Yoneda
田 正 人 米
Hiroshi Yoshizawa
澤 宏 吉
Yoshihiro Ishida
田 芳 弘 石
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP3484097A priority Critical patent/JPH10233804A/en
Publication of JPH10233804A publication Critical patent/JPH10233804A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the packet data transfer controller that improves a communication efficiency of packet data converted to cells and reduces the cost. SOLUTION: An entry number registered to either of 1st and 2nd entry number reference tables ERT1, ERT2 is referenced and every time a cell of each entry registered in an entry control table ECT is transferred in time division, the entry number of the entry number whose transfer is not finished is registered again to the 2nd or 1st entry number reference table ERT2, ERT1, and the entry number of the entry whose transfer is finished is registered in an empty entry number management table EMT. Every time one cell is transferred in time division among cell of all the entries registered in the entry control table ECT, the 1st or 2nd entry number reference table ERT1 or ERT2 is alternately referenced and the cell of each entry registered in the entry control table ECT is transferred in time division repetitively in this way.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のコンピュー
タを相互に接続して構成されるネットワークにおいて、
複数個の小単位セルに分割され、このセルを転送単位と
して時分割に転送されるパケットデータ(フレームまた
はフレームデータともいう)の転送を中継するパケット
データ転送制御装置に関するものである。
[0001] The present invention relates to a network constructed by interconnecting a plurality of computers.
The present invention relates to a packet data transfer control device that is divided into a plurality of small unit cells and relays the transfer of packet data (also referred to as a frame or frame data) that is transferred in a time-division manner using the cell as a transfer unit.

【0002】[0002]

【従来の技術】パケットデータ転送制御装置とは、例え
ばスイッチングハブ(Switching HUB)などによって代
表されるように、複数のコンピュータ、複数のネットワ
ーク、あるいは、これらを混在させて接続し、統合され
たネットワーク環境を構築するための装置であって、コ
ンピュータ間の通信データであるパケットデータの転送
を中継する機能を有するものである。
2. Description of the Related Art A packet data transfer control device is, as represented by a switching hub, a plurality of computers, a plurality of networks, or a network in which these are mixed and connected to form an integrated network. An apparatus for constructing an environment, having a function of relaying transfer of packet data, which is communication data between computers.

【0003】ここで、図7に、パケットデータ転送制御
装置の一例の概念図を示す。図示例のパケットデータ転
送制御装置20は、n個のポートP1,P2,…,Pn
−1,Pnを備えるもので、各々のポートP1,P2,
…,Pn−1,Pnに対応して、パケットデータを一時
的に格納するパケットメモリPM1,PM2,…,PM
n−1,PMnと、パケットデータの転送要求をエント
リーとして登録するエントリ制御テーブル等を用いて、
各々のポートP1,P2,…,Pn−1,Pnを制御す
るポートコントローラPTC1,PTC2,…,PTC
n−1,PTCnとを備えている。
FIG. 7 shows a conceptual diagram of an example of a packet data transfer control device. In the illustrated example, the packet data transfer control device 20 includes n ports P1, P2,.
-1, Pn, and each port P1, P2,
, Pn−1, Pn, corresponding to the packet memories PM1, PM2,.
n-1, PMn and an entry control table or the like for registering a packet data transfer request as an entry,
Port controllers PTC1, PTC2,..., PTC controlling the respective ports P1, P2,.
n-1, PTCn.

【0004】各々のポートコントローラPTC1,PT
C2,…,PTCn−1,PTCnは、パケットデータ
を送受信するためのスイッチバスSB、および、ポート
コントローラPTC1,PTC2,…,PTCn−1,
PTCn間で使用される制御信号を送受信するためのコ
ントロールバスCBを経由して相互に接続されており、
パケットメモリPM1,PM2,…,PMn−1,PM
nは、それぞれ対応するポートコントローラPTC1,
PTC2,…,PTCn−1,PTCnと1対1に接続
されている。
[0004] Each port controller PTC1, PT
, PTCn-1, PTCn are switch buses SB for transmitting and receiving packet data, and port controllers PTC1, PTC2,..., PTCn-1,.
Are interconnected via a control bus CB for transmitting and receiving control signals used between the PTCs,
Packet memories PM1, PM2,..., PMn-1, PM
n is the corresponding port controller PTC1,
PTC2,..., PTCn-1, and PTCn are connected one-to-one.

【0005】また、このパケットデータ転送制御装置2
0のポートP1にはコンピュータPC1が接続され、以
下同様に、ポートP2にはコンピュータPC2が接続さ
れ、…、ポートPn−1にはコンピュータPCn−1が
接続され、ポートPnにはコンピュータPCn1および
PCn2が接続されている。ここで、例えばポートP1
に接続されているコンピュータPC1から、ポートPn
−1に接続されているコンピュータPCn−1に対して
パケットデータが転送されるとする。
The packet data transfer control device 2
0, a computer PC1 is connected to the port P1, a computer PC2 is connected to the port P2,..., A computer PCn-1 is connected to the port Pn-1, and the computers PCn1 and PCn2 are connected to the port Pn. Is connected. Here, for example, port P1
From computer PC1 connected to port Pn
Assume that packet data is transferred to the computer PCn-1 connected to the PC-1.

【0006】コンピュータPC1から転送されるパケッ
トデータは、まず、ポートP1を制御するポートコント
ローラPTC1に転送される。パケットデータのヘッダ
ー情報には、送信元(ソース)であるコンピュータPC
1および受信先(ディスティネーション)となるコンピ
ュータPCn−1のネットワークアドレスが含まれてお
り、これに基づいて、それぞれのネットワークアドレス
に対応する送信元ポートP1および受信先ポートPn−
1が検出される。
[0006] The packet data transferred from the computer PC1 is first transferred to a port controller PTC1 which controls the port P1. The header information of the packet data includes the computer PC that is the transmission source (source).
1 and the network address of the computer PCn-1 serving as the destination (destination). Based on this, the source port P1 and the destination port Pn- corresponding to the respective network addresses are included.
1 is detected.

【0007】ここで、受信先ポートとなるポートPn−
1が通信中(BUSY)でなければ、ポートP1を制御する
ポートコントローラPTC1に保持されているパケット
データは、複数個の小単位セルに分割され、ポートPn
−1を制御するポートコントローラPTCn−1に順次
直接転送され、ポートPn−1から連続したパケットデ
ータとして出力される。そして、コンピュータPCn−
1は、ポートPn−1から出力されるパケットデータの
ヘッダー情報により、自分が受信すべきパケットデータ
であるか否かを判断してこれを受信する。
Here, the port Pn-
1 is not communicating (BUSY), the packet data held in the port controller PTC1 that controls the port P1 is divided into a plurality of small unit cells, and the port Pn
-1 is sequentially transferred directly to the port controller PTCn-1 which controls -1 and is output as continuous packet data from the port Pn-1. And the computer PCn-
1 determines whether or not the packet data is to be received by itself, based on the header information of the packet data output from the port Pn-1, and receives the packet data.

【0008】一方、受信先ポートとなるポートPn−1
が通信中のとき、ポートP1を制御するポートコントロ
ーラPTC1に保持されるパケットデータは、ポートP
1のパケットメモリPM1に一時的に格納され、この転
送要求は、未送出の新規なエントリーとして、ポートコ
ントローラPTC1により待機制御状態としてエントリ
ー制御テーブルに順次登録される。
On the other hand, the port Pn-1 serving as a destination port
Is communicating, the packet data held in the port controller PTC1 that controls the port P1 is
The transfer request is temporarily stored in the first packet memory PM1, and this transfer request is sequentially registered in the entry control table as a new entry that has not been transmitted as a standby control state by the port controller PTC1.

【0009】しかしながら、このような構成では、この
待機状態にある未送出の新規エントリーや他のポートか
ら入力されるパケットデータの送出が可能であるかどう
か、ある一定期間毎に受信先ポートの状態をコントロー
ルバスCBを介してモニターし、かつ、どのポートから
のものを優先させるかの制御を同様にコントロールバス
CBを介して行う必要があり、この制御のための期間
は、セル化されたパケットデータをスイッチングバスS
B上に送出することができず、バス効率が極めて悪くな
っていた。
However, in such a configuration, it is determined whether or not it is possible to transmit a new entry or a packet data input from another port in the standby state. Must be monitored via the control bus CB, and control of which port should be prioritized must be similarly performed via the control bus CB, and the period for this control is a packetized packet. Switching data to switching bus S
B, and the bus efficiency was extremely poor.

【0010】特に、バス効率化のためにパケットデータ
をセル化し、データの転送を多重化することでスイッチ
ングバスSBの効率化を図るシステムでは、この問題を
どのように解決するかが重大関心事であった。また、パ
ケットデータ転送制御装置20においては、各々のポー
トコントローラPTC1,PTC2,…,PTCn−
1,PTCnに対応して、パケットメモリPM1,PM
2,…,PMn−1,PMnを設けているため、非常に
コスト高になるという問題点もあった。
[0010] In particular, in a system for increasing the efficiency of the switching bus SB by dividing packet data into cells for improving bus efficiency and multiplexing data transfer, how to solve this problem is of great concern. Met. Further, in the packet data transfer control device 20, each of the port controllers PTC1, PTC2,.
1, PTCn, the packet memories PM1, PM
2,..., PMn−1, PMn, there is also a problem that the cost becomes very high.

【0011】[0011]

【発明が解決しようとする課題】本発明の目的は、前記
従来技術に基づく問題点をかえりみて、セル化されたパ
ケットデータの通信効率を向上させ、かつ、コストを削
減することができるパケットデータ転送制御装置を提供
することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to improve the communication efficiency of packetized packet data and reduce the cost by considering the problems based on the prior art. An object of the present invention is to provide a transfer control device.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、パケットデータを複数個の小単位セルに
分割し、各々のパケットデータのセルを、送信元ポート
から受信先ポートへ時分割に転送するパケットデータ転
送制御装置であって、パケットデータを送信元ポートか
ら受信先ポートへ直接転送できない状態のときに、この
パケットデータを一時的に格納するパケットメモリと、
パケットデータの転送要求をエントリーとして登録する
エントリー制御テーブルと、このエントリー制御テーブ
ルに登録された各々のエントリーのエントリー番号を転
送順序に従って登録する第1および第2のエントリー番
号参照テーブルとを有し、前記第1または第2のエント
リー番号参照テーブルのいずれか一方に登録されたエン
トリー番号を参照して、前記エントリー制御テーブルに
登録された各々のエントリーに対応するパケットデータ
のセルを時分割に1つ転送する毎に、前記パケットデー
タの転送が終了していないエントリーのエントリー番号
を他方の前記第2または第1のエントリー番号参照テー
ブルに再登録し、前記エントリー制御テーブルに登録さ
れた全てのエントリーに対応するパケットデータのセル
を時分割に1つ転送する毎に、前記第1または第2のエ
ントリー番号参照テーブルを交互に参照して、前記エン
トリー制御テーブルに登録された各々のエントリーに対
応するパケットデータのセルを繰り返し時分割に転送す
ることを特徴とするパケットデータ転送制御装置を提供
するものである。
In order to achieve the above object, the present invention divides packet data into a plurality of small unit cells, and transfers each packet data cell from a source port to a destination port. A packet data transfer control device for transferring in a time-division manner, a packet memory for temporarily storing the packet data when the packet data cannot be directly transferred from the source port to the destination port,
An entry control table for registering a packet data transfer request as an entry, and first and second entry number reference tables for registering the entry numbers of the respective entries registered in the entry control table in accordance with the transfer order; Referring to an entry number registered in one of the first and second entry number reference tables, one cell of packet data corresponding to each entry registered in the entry control table is time-divided by one. Each time the packet data is transferred, the entry number of the entry for which the transfer of the packet data has not been completed is re-registered in the other second or first entry number reference table, and the entries are registered in all the entries registered in the entry control table. Turn one cell of the corresponding packet data into time division Each time the packet data cell corresponding to each entry registered in the entry control table is repeatedly transferred in a time-division manner by alternately referring to the first or second entry number reference table. Is provided.

【0013】ここで、上記パケットデータ転送制御装置
であって、さらに、前記エントリー制御テーブルの中で
エントリーが登録されていない箇所を管理する空きエン
トリー番号管理テーブルを有し、この空きエントリー番
号管理テーブルに登録された空きエントリー番号を参照
して、前記エントリー制御テーブルに新規なエントリー
を登録し、前記第1または第2のエントリー番号参照テ
ーブルのいずれか一方に登録されたエントリー番号を参
照して、前記エントリー制御テーブルに登録された各々
のエントリーに対応するパケットデータのセルを時分割
に1つ転送する毎に、前記パケットデータの転送が終了
したエントリーのエントリー番号を前記空きエントリー
番号管理デーブルに登録するのが好ましい。
Here, the packet data transfer control device further comprises a free entry number management table for managing a place where no entry is registered in the entry control table. With reference to the empty entry number registered in, the new entry is registered in the entry control table, with reference to the entry number registered in one of the first or second entry number reference table, Each time one cell of packet data corresponding to each entry registered in the entry control table is transferred in a time-division manner, the entry number of the entry for which the transfer of the packet data has been completed is registered in the empty entry number management table. Is preferred.

【0014】[0014]

【作用】本発明のパケットデータ転送制御装置におい
て、送信元ポートから受信先ポートへのパケットデータ
の転送要求が発生すると、この転送要求は、空きエント
リー番号管理テーブルを参照して、エントリー制御テー
ブルの空きエントリーの箇所に新規なエントリーとして
登録され、そのエントリー番号が、第1または第2のエ
ントリー番号参照テーブルに追加登録される。エントリ
ー制御テーブルに登録された各々のエントリーに対応す
るパケットデータの転送は、第1または第2のエントリ
ー番号参照テーブルを参照して、基本的には登録された
順番で行われる。また、各々のエントリーに対応するパ
ケットデータは、それぞれ複数個の小単位セルに分割さ
れ、各々のエントリー毎に独立してセルが時分割に転送
される。
In the packet data transfer control device according to the present invention, when a request for transferring packet data from a source port to a destination port occurs, this transfer request refers to an empty entry number management table, and An empty entry is registered as a new entry, and the entry number is additionally registered in the first or second entry number reference table. The transfer of the packet data corresponding to each entry registered in the entry control table is basically performed in the registered order with reference to the first or second entry number reference table. Also, the packet data corresponding to each entry is divided into a plurality of small unit cells, and the cells are independently transferred in a time-division manner for each entry.

【0015】このとき、受信先ポートが通信中でなけれ
ば、このエントリーに対応するパケットデータは、送信
元ポートから受信先ポートへ転送され、受信先ポートが
通信中であれば、このエントリーに対応するパケットデ
ータは、送信元ポートから一旦パケットメモリへ転送さ
れるとともに、このパケットデータが転送されたパケッ
トメモリから、このパケットメモリの受信先ポートへの
転送要求が、新規なエントリーとしてエントリー制御テ
ーブルに登録され、パケットメモリに転送されたパケッ
トデータは、受信先ポートが通信中でなくなったときに
受信先ポートへ転送される。
At this time, if the receiving port is not communicating, the packet data corresponding to this entry is transferred from the source port to the receiving port, and if the receiving port is communicating, the packet data corresponding to this entry is transferred. The packet data to be transferred is once transferred from the source port to the packet memory, and a transfer request from the packet memory to which the packet data is transferred to the destination port of the packet memory is added to the entry control table as a new entry. The packet data registered and transferred to the packet memory is transferred to the destination port when the destination port stops communicating.

【0016】ここで、各々のエントリーのセルを1つ時
分割に転送したときに、転送が終了していないエントリ
ーは、そのエントリー番号が、参照中でない第2または
第1のエントリー番号参照テーブルに再登録されて転送
の時系列が更新され、転送が終了したエントリーは、そ
のエントリー番号が空きエントリー番号管理テーブルに
追加登録される。このようにして、一方の第1または第
2のエントリー番号参照テーブルを参照して、各々のエ
ントリーのセルを1つ時分割に転送した後、今度は、他
方の第2または第1のエントリー番号参照テーブルを参
照して、各エントリーのセルが1つ時分割に転送され、
以下同様にして、第1または第2のエントリー番号参照
テーブルを交互に参照して、各々の転送可能なエントリ
ーに対応するパケットデータのセルが時分割に転送され
る。
Here, when the cells of each entry are transferred one by one in a time-division manner, the entry whose transfer has not been completed is stored in the second or first entry number reference table whose entry number is not being referred to. The entry that has been re-registered and the time series of the transfer has been updated and the transfer has been completed has its entry number additionally registered in the empty entry number management table. In this way, by referring to one of the first or second entry number reference tables, the cells of each entry are transferred one by one, and then the other second or first entry number is transferred. With reference to the lookup table, one cell of each entry is transferred in a time-division manner,
In the same manner, similarly, the cells of the packet data corresponding to each transferable entry are transferred in a time-division manner by alternately referring to the first or second entry number reference table.

【0017】このように、第1および第2のエントリー
番号参照テーブルを交互に参照することにより、エント
リー制御テーブルに登録された全てのエントリーの時系
列を完全に保持することができるため、転送可能なデー
タを時分割に転送することができ、通信効率を最大限に
向上させることができる。また、エントリー制御テーブ
ルにおいてエントリーが登録されていない箇所を空きエ
ントリー番号管理テーブルで管理することにより、エン
トリー制御テーブルを効率よく使用することができる
し、パケットメモリを共通化したことにより、コストを
削減することができる。
As described above, by alternately referencing the first and second entry number reference tables, the time series of all entries registered in the entry control table can be completely retained, and thus transfer is possible. Data can be transferred in a time-division manner, and communication efficiency can be maximized. In addition, by managing the entry entry table where no entry is registered in the empty entry number management table, the entry control table can be used efficiently, and the cost can be reduced by using a common packet memory. can do.

【0018】[0018]

【発明の実施の形態】以下に、添付の図面に示す好適実
施例に基づいて、本発明のパケットデータ転送制御装置
を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a packet data transfer control device according to the present invention will be described in detail based on a preferred embodiment shown in the accompanying drawings.

【0019】図1は、本発明のパケットデータ転送制御
装置の内部構成を表す一実施例の概念図である。図示例
のパケットデータ転送制御装置10は、n個のポートP
1,P2,…,Pnを備えるもので、パケット転送情報
解釈部PRPと、パケットコントローラPQCと、パケ
ットメモリPMと、各々のポートP1,P2,…,Pn
を制御するポートコントローラPTC1,PTC2,
…,PTCnと、転送参照テーブル群TRTとを有す
る。
FIG. 1 is a conceptual diagram of one embodiment showing the internal configuration of the packet data transfer control device of the present invention. The illustrated example of the packet data transfer control device 10 includes n ports P
, Pn, a packet transfer information interpreting unit PRP, a packet controller PQC, a packet memory PM, and respective ports P1, P2,.
Port controllers PTC1, PTC2 for controlling
, PTCn and a transfer reference table group TRT.

【0020】ここで、各々のポートコントローラPTC
1,PTC2,…,PTCn−1,PTCnは、パケッ
トデータを送受信するためのスイッチバスSB、パケッ
トデータのヘッダー情報をパケット転送情報解釈部PR
Pに出力するためのヘッダーバスHB、および、これら
のポートコントローラPTC1,PTC2,…,PTC
n間で使用される制御信号を送受信するためのコントロ
ールバスCBを経由して相互に接続されている。
Here, each port controller PTC
1, PTC2,..., PTCn-1, PTCn are a switch bus SB for transmitting and receiving packet data, and a packet transfer information interpreting unit PR for transmitting header information of the packet data.
, PTC, a header bus HB for outputting to the P, and port controllers PTC1, PTC2,.
n are connected to each other via a control bus CB for transmitting and receiving control signals used between n.

【0021】また、パケット転送情報解釈部PRPは、
ヘッダーバスHBおよびコントロールバスCBに接続さ
れ、同様に、パケットコントローラPQCおよびパケッ
トメモリPMは、スイッチバスSBおよびコントロール
バスCBに接続されている。パケット転送情報解釈部P
RPおよびパケットコントローラPQCは、転送参照テ
ーブル群TRTに接続され、パケット転送情報解釈部P
RPから出力されるパケット転送情報は、パケットコン
トローラPQCに入力されている。
Further, the packet transfer information interpreting section PRP
The packet controller PQC and the packet memory PM are connected to the header bus HB and the control bus CB, and similarly, are connected to the switch bus SB and the control bus CB. Packet transfer information interpreter P
The RP and the packet controller PQC are connected to the transfer reference table group TRT, and the packet transfer information interpreter P
The packet transfer information output from the RP is input to the packet controller PQC.

【0022】また、図示例のパケットデータ転送制御装
置10のポートP1にはコンピュータPC1が接続さ
れ、以下同様に、ポートP2にはコンピュータPC2が
接続され、…、ポートPnにはコンピュータPCn1お
よびPCn2が接続されている。
Further, a computer PC1 is connected to the port P1 of the packet data transfer control device 10 in the illustrated example, and similarly, a computer PC2 is connected to the port P2,..., The computers PCn1 and PCn2 are connected to the port Pn. It is connected.

【0023】図示例のパケットデータ転送制御装置10
において、パケット転送情報解釈部PRPは、各々のポ
ートコントローラPTC1,PTC2,…,PTCnか
ら出力されるパケットデータのヘッダー情報により、後
述するアドレス変換テーブルATTを参照して、そのパ
ケットデータがどのポートからどのポートに転送される
べきパケットデータであるのかを解釈し、その解釈結果
であるパケット転送情報をパケットコントローラPQC
に対して出力する。
The illustrated packet data transfer control device 10
, The packet transfer information interpreting unit PRP refers to an address conversion table ATT described later based on the header information of the packet data output from each of the port controllers PTC1, PTC2,. Interpret to which port the packet data is to be transferred, and transmit the packet transfer information as the interpretation result to the packet controller PQC.
Output to

【0024】また、パケットコントローラPQCは、後
述するポートモニターテーブルPMTを参照して、各々
のポートP1,P2,…,Pnの通信状態、すなわち、
通信中(BUSY)かどうかという情報や、パケット転送情
報解釈部PRPから入力されるパケット転送情報等に基
づいて、パケットデータをその送信元ポートから受信先
ポートに、あるいは、パケットメモリPMを制御して、
送信元ポートからパケットメモリPMに、または、パケ
ットメモリPMから受信先ポートに対して転送する。
The packet controller PQC refers to a port monitor table PMT, which will be described later, and checks the communication state of each of the ports P1, P2,.
The packet data is controlled from the source port to the destination port or the packet memory PM based on information indicating whether or not communication is in progress (BUSY), packet transfer information input from the packet transfer information interpreter PRP, and the like. hand,
The packet is transferred from the source port to the packet memory PM or from the packet memory PM to the destination port.

【0025】続いて、パケットメモリPMは、パケット
データの受信先ポートが通信中のときに、あるいは、パ
ケットデータの転送の時系列を保持するために、受信先
ポートが通信中ではないときであっても、このパケット
データに先行して転送すべきパケットデータが存在する
ときに、後述するエントリー制御テーブルECTを利用
して、各々のポートコントローラPTC1,PTC2,
…,PTCnから出力されるパケットデータを一時的に
格納しておくためのものである。
Next, the packet memory PM stores the data when the destination port of the packet data is communicating, or when the destination port is not communicating to maintain the time series of the transfer of the packet data. However, when there is packet data to be transferred prior to this packet data, each port controller PTC1, PTC2,
.., For temporarily storing packet data output from the PTCn.

【0026】ここで、本発明のパケットデータ転送制御
装置10においては、例えば図7に示される従来のパケ
ットデータ転送制御装置20のように、各々のポートコ
ントローラPTC1,PTC2,…,PTCn−1,P
TCn毎にパケットメモリPM1,PM2,PMnを設
けるのではなく、図1に示されるように、全てのポート
コントローラPTC1,PTC2,…,PTCnに対し
て1つのパケットメモリPMに共通化することにより、
装置全体のコストを削減することができるという利点が
ある。
Here, in the packet data transfer control device 10 of the present invention, like the conventional packet data transfer control device 20 shown in FIG. 7, each of the port controllers PTC1, PTC2,. P
Rather than providing the packet memories PM1, PM2, PMn for each TCn, as shown in FIG. 1, by sharing one packet memory PM for all the port controllers PTC1, PTC2,.
There is an advantage that the cost of the entire apparatus can be reduced.

【0027】続いて、ポートコントローラPTC1,P
TC2,…,PTCnは、図示例においては、それぞれ
対応するポートP1,P2,…,Pnに接続されたコン
ピュータPC1,PC2,…,PCn1およびPCn2
から出力されるパケットデータを受け取って、これをス
イッチバスSBに出力し、逆に、パケットコントローラ
PQCにより転送されるパケットデータを受け取って、
これをそれぞれのポートP1,P2,…,Pnから出力
する。
Subsequently, the port controllers PTC1, PTC
, PTCn are computers PC1, PC2,..., PCn1 and PCn2 connected to the corresponding ports P1, P2,.
And outputs it to the switch bus SB, and conversely, receives packet data transferred by the packet controller PQC,
This is output from each of the ports P1, P2,..., Pn.

【0028】このスイッチバスSB上には、例えば図7
に示される従来のパケットデータ転送制御装置20のよ
うに、各ポートコントローラから、セル化されたパケッ
トデータが時分割に転送される。従って、ポートP1か
らのパケットデータをセル化(セルi)して、ポートP
n−1に転送しているとき同時に、ポートPnからのパ
ケットデータをセル化(セルk)してポートP2に転送
することができる。このとき、お互いのセル間には全く
何の関係も存在せず、独立した転送が可能である。
On the switch bus SB, for example, FIG.
As in the conventional packet data transfer control device 20 shown in FIG. 1, cell data is transferred from each port controller in a time-division manner. Therefore, the packet data from the port P1 is cellized (cell i) and
At the same time as transferring the packet data to n-1, the packet data from the port Pn can be cellized (cell k) and transferred to the port P2. At this time, there is no relationship between the cells, and independent transfer is possible.

【0029】これは、各々のポートコントローラPTC
1,PTC2,…,PTCnが、例えば10Mb(メガ
ビット)/秒のデータ通信速度を持っているのに対し
て、パケットデータを送受信するためのスイッチバスS
Bが、例えば1Gb(ギガビット)/秒のデータ通信速
度を持っており、各々のパケットデータが、それぞれ複
数個の小単位セルに分割されて、このセルを転送単位と
して時分割に転送される、すなわち、多重化されていて
はじめて可能となるものである。
This is because each port controller PTC
1, PTC2,..., PTCn have a data communication speed of, for example, 10 Mb (megabit) / sec, whereas a switch bus S for transmitting and receiving packet data is used.
B has a data communication rate of, for example, 1 Gb (gigabit) / second, and each packet data is divided into a plurality of small unit cells, and is transferred in a time-division manner using this cell as a transfer unit. In other words, it becomes possible only after multiplexing.

【0030】ここで、図2に、転送参照テーブル群の一
実施例の概念図を示す。転送参照テーブル群TRTは、
パケットデータの転送に必要な各種のデータが予め登録
された、あるいは、転送要求に応じて新規に登録され
る、パケットデータを転送するときに参照される各種の
テーブルを有するもので、図示例においては、アドレス
変換テーブルATTと、ポートモニターテーブルPMT
と、エントリー制御テーブルECTと、第1および第2
のエントリー番号参照テーブルERT1,ERT2と、
空きエントリー番号管理テーブルEMTとを有する。
FIG. 2 shows a conceptual diagram of one embodiment of the transfer reference table group. The transfer reference table group TRT is:
Various data necessary for packet data transfer are registered in advance, or newly registered in response to a transfer request, and have various tables referred to when transferring packet data. Are the address translation table ATT and the port monitor table PMT
, An entry control table ECT, first and second
Entry number reference tables ERT1 and ERT2,
And an empty entry number management table EMT.

【0031】また、アドレス変換テーブルATTは、パ
ケット転送情報解釈部PRPと相互に接続され、ポート
モニターテーブルPMTおよびエントリー制御テーブル
ECTはともにパケットコントローラPQCに相互に接
続されている。なお、各々のテーブル間の接続は、それ
ぞれのテーブルが作用する方向を概念的に示したもので
あって、必ずしもテーブル間の物理的な接続を示すもの
ではない。
The address translation table ATT is mutually connected to the packet transfer information interpreting unit PRP, and the port monitor table PMT and the entry control table ECT are mutually connected to the packet controller PQC. Note that the connection between each table conceptually indicates the direction in which each table acts, and does not necessarily indicate a physical connection between the tables.

【0032】転送参照テーブル群TRTにおいて、アド
レス変換テーブルATTには、予め各々のコンピュータ
PC1,PC2,…,PCn1およびPCn2のネット
ワークアドレスに対応するポートP1,P2,…,Pn
の情報が登録されている。パケット転送情報解釈部PR
Pによって、各ポートコントローラPTC1,PTC
2,…,PTCnからのパケットデータのヘッダー情報
が解釈され、そのパケットデータの受信先のコンピュー
タPC1,PC2,…,PCn1およびPCn2のネッ
トワークアドレスが、アドレス変換テーブルATTを用
いて、これに対応するポートP1,P2,…,Pnに変
換される。
In the transfer reference table group TRT, ports P1, P2,..., Pn corresponding to the network addresses of the computers PC1, PC2,.
Information is registered. Packet transfer information interpreter PR
P, each port controller PTC1, PTC
, PTCn, the header information of the packet data is interpreted, and the network addresses of the computers PC1, PC2,..., PCn1 and PCn2 to which the packet data are received correspond to this using the address translation table ATT. Are converted to ports P1, P2,..., Pn.

【0033】ポートモニターテーブルPMTは、パケッ
トデータ転送制御装置10の各ポートP1,P2,…,
Pnの現在のセルデータの受信状態を管理するためのも
ので、図3に例示されるように、それぞれのセルデータ
受信先のポートP1,P2,…,Pnに対応するn個の
エントリーが用意されている。そのエントリーには、そ
れぞれのエントリーに対応して、セルデータ送信元のポ
ート番号が登録される。従って、例えばポートP1から
ポートP2へセル化されたパケットデータが転送されて
いるときには、ポートP2のエントリーにポートP1が
登録され、すでにポートP2がセルデータの受信先ポー
トとして使用され、さらなる転送要求が別ポートからあ
っても、それは、受け入れられないことを示すものとな
る。
The port monitor table PMT stores each of the ports P1, P2,.
For managing the current cell data reception state of Pn, as shown in FIG. 3, n entries corresponding to the respective cell data reception ports P1, P2,..., Pn are prepared. Have been. In the entry, the port number of the cell data transmission source is registered corresponding to each entry. Therefore, for example, when the packetized packet data is transferred from the port P1 to the port P2, the port P1 is registered in the entry of the port P2, and the port P2 is already used as the cell data receiving port, and the further transfer request is made. Will be unacceptable if it comes from another port.

【0034】続いて、エントリー制御テーブルECT
は、パケットメモリPMに一時的に格納されたパケット
データ、および、各ポートコントローラPTC1,PT
C2,…,PTCnからの全てのパケットデータの転送
要求を転送エントリーとして制御するためのテーブルで
ある。例えば図4に示されるエントリー制御テーブルE
CTは、エントリー番号E1,E2,…,Ekで示され
るk個のエントリーが登録されるもので、各々のエント
リーは、パケットデータの受信先ポート、送信元ポー
ト、および、それが格納されるパケットメモリPMの格
納アドレス等より構成される。
Subsequently, the entry control table ECT
Are the packet data temporarily stored in the packet memory PM and the port controllers PTC1, PTC
This is a table for controlling all packet data transfer requests from C2,..., PTCn as transfer entries. For example, the entry control table E shown in FIG.
In the CT, k entries indicated by entry numbers E1, E2,..., Ek are registered. Each entry is a destination port of the packet data, a source port of the packet data, and a packet storing the port. It is composed of a storage address of the memory PM and the like.

【0035】なお、エントリー制御テーブルECTの構
成は、この実施例に限定されず、例えば図5に示される
ように、動作速度を向上させるために、比較的高速かつ
小容量なエントリー制御キャッシュテーブルECCT
と、比較的低速かつ大容量なエントリー制御メインテー
ブルECMTとから構成されていても良い。このとき、
エントリー制御キャッシュテーブルECCTには、エン
トリー制御メインテーブルECMTから、幾つかの転送
可能なエントリーが転送される。
The configuration of the entry control table ECT is not limited to this embodiment. For example, as shown in FIG. 5, in order to improve the operation speed, a relatively high-speed and small-capacity entry control cache table ECCT is used.
And a relatively low-speed and large-capacity entry control main table ECMT. At this time,
Some transferable entries are transferred to the entry control cache table ECCT from the entry control main table ECMT.

【0036】ここで、送信元ポートが直接ポートコント
ローラPTC1,PTC2,…,PTCnの場合には、
上述する格納アドレスは、ポートコントローラPTC
1,PTC2,…,PTCnそのものを表すものとな
る。従って、このことを示すフラグを、例えば図4に示
されるように、格納アドレスデータの先頭の1ビットを
格納アドレスバリッドビットとし、例えば格納アドレス
バリッドビットが‘0’のときには、直接ポートコント
ローラを示すものとし、逆に、‘1’のときには、それ
以下のデータがパケットメモリPMのアドレスを示すも
のとしてもよい。
Here, when the source ports are direct port controllers PTC1, PTC2,..., PTCn,
The storage address described above is the port controller PTC
1, PTC2,..., PTCn itself. Therefore, as shown in FIG. 4, for example, the first bit of the storage address data is set as a storage address valid bit, and when the storage address valid bit is '0', for example, the flag indicating this directly indicates the port controller. Conversely, when it is '1', the data below it may indicate the address of the packet memory PM.

【0037】また、これらの各パケットデータに対する
情報は、アドレス変換テーブルATTより得られるわけ
であるが、ここで、ポートモニターテーブルPMTが、
どのように機能するのかを以下に示す。ポートモニター
テーブルPMTは、既に述べたように、その名が示す通
り現在の各ポートのセルデータの受信状態を示すもの
で、ここでは、例えばパケット転送情報解釈部PRPに
新規なパケットデータのヘッダー情報が入力され、その
パケットデータがポートP3からポートP1に対する転
送であったとする。
The information on each packet data is obtained from the address translation table ATT. Here, the port monitor table PMT is
Here's how it works. As described above, the port monitor table PMT indicates the current reception status of the cell data of each port as the name implies, and here the header information of the new packet data is transmitted to the packet transfer information interpreter PRP. Is input, and the packet data is transferred from port P3 to port P1.

【0038】このとき、図4のエントリー番号E1のエ
ントリーに示されるように、ポートP1は既にポートP
2からのパケットデータを受信しており、その時点でさ
らに他のパケットデータを受信することはできない。従
って、ポートP3からのパケットデータは、一旦、パケ
ットメモリPMへ転送されるようにエントリー制御テー
ブルECTに登録される。例えば、本実施例の場合に
は、図4のエントリー制御テーブルECTに示されるよ
うに、このエントリーが、エントリー番号E2のエント
リーとして登録される。
At this time, as shown in the entry of the entry number E1 in FIG.
2 and the other packet data cannot be received at that time. Therefore, the packet data from the port P3 is temporarily registered in the entry control table ECT so as to be transferred to the packet memory PM. For example, in the case of the present embodiment, as shown in the entry control table ECT of FIG. 4, this entry is registered as the entry of the entry number E2.

【0039】すなわち、このエントリーは、受信先ポー
トがP1、送信元ポートがP3であり、例えば上述する
格納アドレスバリッドビットを‘1’として、そのデー
タの格納先アドレスが登録される。すなわち、この格納
アドレスバリッドビットに‘1’が設定されているとき
には、パケットデータが送信元ポートから受信先ポート
へ直接転送されるのではなく、送信元ポートからパケッ
トメモリPMへ転送され、その後、パケットメモリPM
から受信先ポートへ転送されるというように、パケット
データの転送が2段階に行われる。
That is, in this entry, the destination port is P1 and the source port is P3. For example, the storage address valid bit is set to “1” and the storage destination address of the data is registered. That is, when the storage address valid bit is set to "1", the packet data is not directly transferred from the source port to the destination port, but is transferred from the source port to the packet memory PM. Packet memory PM
The transfer of the packet data is performed in two stages, for example, the packet data is transferred to the destination port.

【0040】このエントリー制御テーブルECTに登録
される新規なエントリーは、後述する空きエントリー番
号管理テーブルEMTを参照して順次登録される。この
空きエントリー番号はランダムに発生する。その理由
は、各パケットデータはセル単位に分割され、基本的に
は、このエントリー制御テーブルECTに登録された順
番で、各エントリーの各セル毎に時分割に転送される
が、各エントリーのパケットデータの長さが異なるため
に、各エントリーの転送が完了するまでの時間が様々で
あり、新規なエントリーの登録のための空きエントリー
番号がランダムに発生するからである。
New entries registered in the entry control table ECT are sequentially registered with reference to an empty entry number management table EMT described later. This empty entry number is generated randomly. The reason is that each packet data is divided into cells, and basically, is transferred in a time-division manner for each cell of each entry in the order registered in the entry control table ECT. This is because, since the length of the data is different, the time until the transfer of each entry is completed varies, and an empty entry number for registering a new entry is randomly generated.

【0041】従って、新規なエントリーもランダムに登
録され、セル単位の転送が順次行われるため、本発明の
パケットデータ転送制御装置10においては、このラン
ダムに登録されるエントリーの転送を順序よく制御する
ために、第1および第2のエントリー番号参照テーブル
ERT1,ERT2が設けられている。この第1および
第2のエントリー番号参照テーブルERT1,ERT2
には、エントリー制御テーブルECTに登録されている
全てのエントリーに対応するエントリー番号E1,E
2,…,Ekが、転送すべき順番を保持するために格納
される。
Therefore, a new entry is also registered at random, and transfer is performed sequentially in units of cells. In the packet data transfer control device 10 of the present invention, the transfer of the randomly registered entry is controlled in order. Are provided with first and second entry number reference tables ERT1 and ERT2. The first and second entry number reference tables ERT1, ERT2
Have entry numbers E1 and E corresponding to all entries registered in the entry control table ECT.
2,..., Ek are stored to hold the order of transfer.

【0042】上述する第1および第2のエントリー番号
参照テーブルERT1,ERT2は、後述するように、
同時にはいずれか一方だけが交互に参照される。エント
リー制御テーブルECTに新規なエントリーが登録され
ると、現在参照中の第1または第2のエントリー番号参
照テーブルERT1,ERT2のいずれか一方に、例え
ば現在保持されている既存の全てのエントリー番号の一
番最後に、その新規なエントリー番号が追加して登録さ
れる。
The first and second entry number reference tables ERT1 and ERT2 are described below.
At the same time, only one of them is alternately referred to. When a new entry is registered in the entry control table ECT, one of the currently referred first or second entry number reference tables ERT1 and ERT2 contains, for example, all existing entry numbers currently held. Finally, the new entry number is added and registered.

【0043】この制御の例を図6(a)および(b)を
用いて以下に簡単に説明する。まず、同図(a)のエン
トリー番号参照テーブルERT1には、上から順にE
1,E2,E3,…,Ekのエントリー番号が登録され
ている。例えば、このエントリー番号の順番に従って、
エントリー制御テーブルECTの各エントリーに保持さ
れている内容を参照し、登録された全てのエントリー毎
に独立して、送信元ポートから受信先ポートへ時分割に
セルを1つ転送する。ここで、各エントリーに対応する
エントリー番号は、セルを1つ転送する毎に、次のセル
の転送候補エントリーとして、他方のエントリー番号参
照テーブルERT2に再登録される。このとき、エント
リーに対応するパケットデータの転送が全て終了したも
のは再登録されない。
An example of this control will be briefly described below with reference to FIGS. 6 (a) and 6 (b). First, in the entry number reference table ERT1 of FIG.
, Ek are registered. For example, according to the order of this entry number,
By referring to the contents held in each entry of the entry control table ECT, one cell is transferred from the source port to the destination port in a time-division manner independently for all registered entries. Here, each time one cell is transferred, the entry number corresponding to each entry is re-registered in the other entry number reference table ERT2 as a transfer candidate entry for the next cell. At this time, a packet whose transfer of the packet data corresponding to the entry has been completed is not re-registered.

【0044】例えば、同図(a)に示されるように、エ
ントリー番号E2に対応するパケットデータの転送が終
了したとすると、エントリー番号E2は、エントリー番
号参照テーブルERT2には再登録されず、空きエント
リー番号管理テーブルEMTに登録され、新規なパケッ
トデータがきて、転送要求のエントリーがエントリー制
御テーブルECTに登録されたときに、新規なエントリ
ーとして参照中のエントリー番号参照テーブルの最下位
に登録される。また、同図(b)に示されるように、エ
ントリー番号E3のパケットデータの転送が、このセル
データの転送で終了したとすると、エントリー番号E3
は、空きエントリー番号管理テーブルEMTに追加登録
され、エントリー番号参照テーブルERT1には、E
1,E4,…,Ekのエントリー番号のみが再登録され
る。
For example, as shown in FIG. 7A, if the transfer of the packet data corresponding to the entry number E2 is completed, the entry number E2 is not re-registered in the entry number reference table ERT2, and When the new packet data is registered in the entry number management table EMT and new packet data comes and the transfer request entry is registered in the entry control table ECT, it is registered as the new entry at the lowest position of the entry number reference table being referred to. . If the transfer of the packet data of the entry number E3 is completed by the transfer of the cell data, as shown in FIG.
Are additionally registered in the empty entry number management table EMT, and E is stored in the entry number reference table ERT1.
Only the entry numbers of 1, E4,..., Ek are re-registered.

【0045】このように、第1または第2のエントリー
番号参照テーブルERT1,ERT2のいずれか一方に
保持されているエントリー番号を参照して、順次、各々
のエントリーに対応するパケットデータのセルが1つ転
送される毎に、転送の終了していないエントリーの番号
は、他方の第2または第1のエントリー番号参照テーブ
ルERT2,ERT1に順次再登録され、転送の終了し
たエントリーに対応するエントリー番号は、後述する空
きエントリー番号管理テーブルEMTに順次登録され
る。
As described above, by referring to the entry numbers held in one of the first and second entry number reference tables ERT1 and ERT2, the cell of the packet data corresponding to each entry is sequentially set to 1 Each time one transfer is completed, the number of the entry whose transfer has not been completed is sequentially re-registered in the other second or first entry number reference tables ERT2 and ERT1, and the entry number corresponding to the entry whose transfer has been completed is Are sequentially registered in an empty entry number management table EMT described later.

【0046】この第1および第2のエントリー番号参照
テーブルERT1,ERT2を備え、各々のエントリー
のセルを1つ時分割に転送する毎に、常時転送順序を更
新しておくことにより、パケットデータの転送の時系列
を保持することができる。なお、同図(a)および
(b)に示されるように、第1および第2のエントリー
番号参照テーブルERT1,ERT2に登録されている
最後のエントリー番号は、このエントリー番号が最後の
エントリー番号であるということを意味するエンドフラ
グENDを含んでおり、このENDフラグを認識して、
もう一方のエントリー番号参照テーブルに交換し、そこ
に登録されたエントリーのセル転送の制御を行う。
The first and second entry number reference tables ERT1 and ERT2 are provided, and the transfer order is constantly updated every time one cell of each entry is transferred in a time-division manner. Time series of transfer can be maintained. As shown in FIGS. 7A and 7B, the last entry number registered in the first and second entry number reference tables ERT1 and ERT2 is the last entry number. It includes an end flag END meaning that there is, and recognizes this END flag,
The cell is exchanged with the other entry number reference table, and the cell transfer of the entry registered therein is controlled.

【0047】また、第1および第2のエントリー番号参
照テーブルERT1,ERT2に登録された各々のエン
トリーは、例えば一定時間を経過しても転送することが
できないパケットデータをタイムアウトであるとして削
除するために、例えばタイマーフィールドを設ける等、
種々の属性を設けても良いのは当然のことである。この
とき、タイマーフィールドの値は、第1または第2のエ
ントリー番号参照テーブルERT1,ERT2が参照さ
れるときに減算され、例えば1つずつ減算され、その値
が0になり、かつ、そのエントリーがまだ転送開始され
ていなければ、これに対応するエントリーは削除される
等の制御も可能である。
Each entry registered in the first and second entry number reference tables ERT1 and ERT2 is used to delete packet data that cannot be transferred even after a certain period of time has passed as a timeout. For example, to provide a timer field,
It goes without saying that various attributes may be provided. At this time, the value of the timer field is decremented when the first or second entry number reference table ERT1 or ERT2 is referred to, for example, decremented by one, the value becomes 0, and the entry becomes If the transfer has not been started yet, it is also possible to control such that the entry corresponding to this is deleted.

【0048】本発明のパケットデータ転送制御装置10
は、基本的に、以上のような構成を有するものである。
次に、本発明のパケットデータ転送制御装置10の動作
について、ポートP1に接続されているコンピュータP
C1から、ポートP2に接続されているコンピュータP
C2に対してパケットデータが転送される場合を例に挙
げて説明する。
The packet data transfer control device 10 of the present invention
Has basically the above configuration.
Next, the operation of the packet data transfer control device 10 of the present invention will be described with reference to the computer P connected to the port P1.
Computer P connected to port P2 from C1
The case where packet data is transferred to C2 will be described as an example.

【0049】コンピュータPC1から出力されるパケッ
トデータのヘッダー情報は、ヘッダーバスHBを経由し
てパケット転送情報解釈部PRPに入力される。パケッ
ト転送情報解釈部PRPにおいては、アドレス変換テー
ブルATTを参照して、コンピュータPC1,PC2の
接続されているポートP1,P2が検出される。この検
出結果はパケット転送情報として出力され、パケットコ
ントローラPQCに入力される。
The header information of the packet data output from the computer PC1 is input to the packet transfer information interpreter PRP via the header bus HB. In the packet transfer information interpreting unit PRP, the ports P1 and P2 to which the computers PC1 and PC2 are connected are detected with reference to the address conversion table ATT. This detection result is output as packet transfer information and input to the packet controller PQC.

【0050】ポートモニターテーブルPMTの各々のエ
ントリーには、パケット転送情報に基づいて、それぞれ
対応するポートP1,P2,…,Pnへ転送されるパケ
ットデータの送信元ポートが登録されている。パケット
コントローラPQCは、ポートモニターテーブルPMT
を参照して、受信先ポートP2が通信中か否かを確認
し、通信中でなければ、ポートモニターテーブルPMT
のポートP2にポートP1を登録し、この間でパケット
データの転送が行われることを明示する。
In each entry of the port monitor table PMT, the source port of the packet data to be transferred to the corresponding port P1, P2,..., Pn is registered based on the packet transfer information. The packet controller PQC uses the port monitor table PMT
To confirm whether or not the receiving port P2 is communicating, and if not, the port monitor table PMT
The port P1 is registered in the port P2 of the port No. 2, and it is specified that the transfer of the packet data is performed during this time.

【0051】また、パケットコントローラPQCは、空
きエントリー番号管理テーブルEMTを参照して、エン
トリー制御テーブルECTの空きエントリーの箇所に、
この転送要求を新規なエントリーとして登録するととも
に、このエントリーに対応するエントリー番号を、現在
参照中の第1または第2のエントリー番号参照テーブル
ERT1,ERT2のいずれか一方に、現在保持されて
いる既存の全てのエントリー番号の最後に追加登録す
る。
Further, the packet controller PQC refers to the empty entry number management table EMT, and places the empty entry in the entry control table ECT at the position of the empty entry.
This transfer request is registered as a new entry, and the entry number corresponding to this entry is stored in one of the first or second entry number reference tables ERT1 and ERT2 currently being referenced. Register at the end of all entry numbers.

【0052】エントリー制御テーブルECTに登録され
た各々のエントリーに対応するパケットデータの転送
は、第1または第2のエントリー番号参照テーブルER
T1,ERT2を参照して、基本的には登録された順番
で行われる。
The transfer of the packet data corresponding to each entry registered in the entry control table ECT is performed by the first or second entry number reference table ER.
With reference to T1 and ERT2, the registration is basically performed in the registered order.

【0053】ここで、ポートP2が通信中でない場合、
すなわち、エントリー制御テーブルECTのこの転送に
対応するエントリーに保持されている格納アドレスバリ
ッドビットが‘0’であれば、パケットコントローラP
QCは、既に述べたように、ポートコントローラPTC
1から出力されるパケットデータを複数個の小単位セル
に分割し、スイッチバスSBを経由してポートコントロ
ーラPTC2に直接転送する。ポートコントローラPT
C2に転送されたパケットデータはポートP2から出力
され、コンピュータPC2は、ポートP2から出力され
るパケットデータのヘッダー情報により、自分が受信す
べきパケットデータであるか否かを判断してこれを受信
する。
Here, when the port P2 is not communicating,
That is, if the storage address valid bit held in the entry corresponding to this transfer in the entry control table ECT is “0”, the packet controller P
QC is, as already mentioned, the port controller PTC
The packet data output from 1 is divided into a plurality of small unit cells and transferred directly to the port controller PTC2 via the switch bus SB. Port controller PT
The packet data transferred to C2 is output from the port P2, and the computer PC2 determines whether or not the packet data is to be received by itself based on the header information of the packet data output from the port P2 and receives the packet data. I do.

【0054】これに対し、ポートP2が通信中の場合、
すなわち、格納アドレスバリッドビットが‘1’であれ
ば、パケットコントローラPQCは、スイッチバスSB
を経由して、ポートコントローラPTC1から出力され
るパケットデータを一旦パケットメモリPMに転送する
とともに、このパケットデータが転送されたパケットメ
モリPMからポートP2への転送要求を新規なエントリ
ーとして、前述のエントリー制御テーブルECTに登録
する。なお、このエントリーは、ポートP2が通信中で
なくなったときに処理される。
On the other hand, when the port P2 is communicating,
That is, if the storage address valid bit is “1”, the packet controller PQC sends the switch bus SB
, The packet data output from the port controller PTC1 is temporarily transferred to the packet memory PM, and the transfer request from the packet memory PM to which the packet data has been transferred to the port P2 is set as a new entry. Register in the control table ECT. This entry is processed when the port P2 stops communicating.

【0055】既に述べたように、各々のパケットデータ
は、それぞれ複数個の小単位セルに分割され、各々のパ
ケットデータのセルは時分割に順次転送される、すなわ
ち、パケットデータの転送は多重化されている。従っ
て、各々のエントリーに対応するパケットデータの転送
は、まず、各々の転送可能なエントリーに対応するパケ
ットデータの第1のセルが転送され、以下同様に、第2
のセル、第3のセル、…、の順に順次転送される。これ
らのセルが、各パケットデータ毎に独立して、スイッチ
バスSBに順次時分割に送出され転送される。
As described above, each packet data is divided into a plurality of small unit cells, and each packet data cell is sequentially transferred in a time-division manner. That is, the transfer of the packet data is multiplexed. Have been. Therefore, in the transfer of the packet data corresponding to each entry, first, the first cell of the packet data corresponding to each transferable entry is transferred, and so on.
, A third cell,..., In that order. These cells are sequentially transmitted to the switch bus SB in a time division manner and transferred independently for each packet data.

【0056】ここで、例えば一方の第1のエントリー番
号参照テーブルERT1に登録されたエントリー番号を
参照して、各々の転送可能なエントリーに対応するパケ
ットデータの1つのセルを時分割に転送する毎に、転送
が終了していないエントリーは、そのエントリー番号
が、他方の第2のエントリー番号参照テーブルERT2
に再登録され、転送が終了したエントリーは、そのエン
トリー番号が空きエントリー番号管理テーブルEMTに
追加登録される。
Here, each time one cell of packet data corresponding to each transferable entry is transferred in a time-division manner, for example, by referring to the entry number registered in one of the first entry number reference tables ERT1. The entry whose transfer has not been completed has its entry number set to the other second entry number reference table ERT2.
, And the entry whose transfer has been completed has its entry number additionally registered in the empty entry number management table EMT.

【0057】このように、第1または第2のエントリー
番号参照テーブルERT1,ERT2に登録されたエン
トリー番号が交互に参照され、各々の転送可能なエント
リーに対応するパケットデータのセルが時分割に転送さ
れる。このように、第1または第2のエントリー番号参
照テーブルERT1,ERT2を交互に参照して、転送
の時系列を常に更新することにより、ランダムにエント
リーされるエントリー制御テーブルECTの各エントリ
ーの時系列を保持することができ、これにより、多重化
された通信の効率を最大限に向上させることができる。
As described above, the entry numbers registered in the first or second entry number reference tables ERT1 and ERT2 are alternately referred to, and the cell of the packet data corresponding to each transferable entry is transferred in a time-division manner. Is done. As described above, the time series of transfer is constantly updated by alternately referring to the first or second entry number reference tables ERT1 and ERT2, so that the time series of each entry of the entry control table ECT that is randomly entered is changed. Can be maintained, thereby maximizing the efficiency of multiplexed communication.

【0058】なお、本発明について一実施例を挙げて説
明したが、本発明のパケットデータ転送制御装置はこの
実施例だけに限定されるものではなく、本発明の要旨を
逸脱しない範囲において、各種の変更が可能なことは言
うまでもないことである。
Although the present invention has been described with reference to one embodiment, the packet data transfer control device of the present invention is not limited to this embodiment, and various types of packet data transfer control devices may be used without departing from the spirit of the present invention. Needless to say, it is possible to make changes.

【0059】[0059]

【発明の効果】以上詳細に説明した様に、本発明のパケ
ットデータ転送制御装置は、パケットデータを複数個の
小単位セルに分割し、各々のパケットデータのセルを時
分割に転送する通信の多重化されたネットワークに適用
されるもので、エントリー制御テーブルの他、共通化さ
れたパケットメモリ、第1および第2のエントリー番号
参照テーブル、さらには、空きエントリー番号管理テー
ブルを有する。本発明のパケットデータ転送制御装置に
よれば、第1および第2のエントリー番号参照テーブル
を交互に参照することにより、ランダムに各ポートから
入力され、エントリー制御テーブルに登録される色々な
長さを持つ各エントリーの時系列を完全に保持すること
ができ、これにより、転送可能なパケットデータを時分
割に転送することができる。このため、例えば転送不可
能なパケットデータのために、転送可能なパケットデー
タが待たされるということがなく、通信効率を最大限に
まで向上させることができるという効果がある。また、
本発明のパケットデータ転送制御装置によれば、空きエ
ントリー番号管理テーブルを備えることにより、エント
リー制御テーブルを有効に使用することができるし、パ
ケットメモリを共通化しているため、コストを削減する
ことができるという効果もある。
As described in detail above, the packet data transfer control device according to the present invention divides packet data into a plurality of small unit cells and transmits each packet data cell in a time-division manner. Applied to a multiplexed network, it has a common packet memory, first and second entry number reference tables, and an empty entry number management table in addition to an entry control table. According to the packet data transfer control device of the present invention, by alternately referring to the first and second entry number reference tables, various lengths that are randomly input from each port and registered in the entry control table can be obtained. The time series of each entry possessed can be completely retained, and thereby, transferable packet data can be transferred in a time-division manner. Therefore, for example, there is no need to wait for transferable packet data due to untransferable packet data, and the communication efficiency can be improved to the maximum. Also,
According to the packet data transfer control device of the present invention, by providing the empty entry number management table, the entry control table can be used effectively, and the cost is reduced because the packet memory is shared. There is also an effect that can be done.

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

【図1】 本発明のパケットデータ転送制御装置の内部
構成を表す一実施例の概念図である。
FIG. 1 is a conceptual diagram of one embodiment showing an internal configuration of a packet data transfer control device of the present invention.

【図2】 転送参照テーブル群の一実施例の概念図であ
る。
FIG. 2 is a conceptual diagram of one embodiment of a transfer reference table group.

【図3】 ポートモニターテーブルの一実施例の概念図
である。
FIG. 3 is a conceptual diagram of one embodiment of a port monitor table.

【図4】 エントリー制御テーブルの一実施例の概念図
である。
FIG. 4 is a conceptual diagram of one embodiment of an entry control table.

【図5】 エントリー制御テーブルの別の実施例の概念
図である。
FIG. 5 is a conceptual diagram of another embodiment of the entry control table.

【図6】 (a)および(b)は、ともにエントリー番
号参照テーブルおよび空きエントリー番号管理テーブル
の一実施例の概念図である。
FIGS. 6A and 6B are conceptual diagrams of an embodiment of an entry number reference table and an empty entry number management table.

【図7】 パケットデータ転送制御装置の一例の概念図
である。
FIG. 7 is a conceptual diagram of an example of a packet data transfer control device.

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

10,20,30 パケットデータ転送制御装置 PRP パケット転送情報解釈部 PQC パケットコントローラ PM パケットメモリ PTC1,PTC2,…,PTCn ポートコントロー
ラ SB スイッチバス HB ヘッダーバス CB コントロールバス P1,P2,…,Pn ポート PC1,PC2,…,PCn1およびPCn2 コンピ
ュータ TRT 転送参照テーブル群 ATT アドレス変換テーブル PMT ポートモニターテーブル ECT エントリー制御テーブル ERT1,ERT2 エントリー番号参照テーブル EMT 空きエントリー番号管理テーブル MCCT メモリ制御キャッシュテーブル MCMT メモリ制御メインテーブル E1,E2,…,Ek エントリー番号 END エンドフラグ
10, 20, 30 Packet data transfer control device PRP packet transfer information interpreter PQC packet controller PM packet memory PTC1, PTC2,..., PTCn port controller SB switch bus HB header bus CB control bus P1, P2,. PC2,..., PCn1 and PCn2 Computer TRT transfer reference table group ATT address conversion table PMT port monitor table ECT entry control table ERT1, ERT2 entry number reference table EMT free entry number management table MCCT memory control cache table MCMT memory control main table E1, E2, ..., Ek Entry number END End flag

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】パケットデータを複数個の小単位セルに分
割し、各々のパケットデータのセルを、送信元ポートか
ら受信先ポートへ時分割に転送するパケットデータ転送
制御装置であって、 パケットデータを送信元ポートから受信先ポートへ直接
転送できない状態のときに、このパケットデータを一時
的に格納するパケットメモリと、パケットデータの転送
要求をエントリーとして登録するエントリー制御テーブ
ルと、このエントリー制御テーブルに登録された各々の
エントリーのエントリー番号を転送順序に従って登録す
る第1および第2のエントリー番号参照テーブルとを有
し、 前記第1または第2のエントリー番号参照テーブルのい
ずれか一方に登録されたエントリー番号を参照して、前
記エントリー制御テーブルに登録された各々のエントリ
ーに対応するパケットデータのセルを時分割に1つ転送
する毎に、前記パケットデータの転送が終了していない
エントリーのエントリー番号を他方の前記第2または第
1のエントリー番号参照テーブルに再登録し、 前記エントリー制御テーブルに登録された全てのエント
リーに対応するパケットデータのセルを時分割に1つ転
送する毎に、前記第1または第2のエントリー番号参照
テーブルを交互に参照して、前記エントリー制御テーブ
ルに登録された各々のエントリーに対応するパケットデ
ータのセルを繰り返し時分割に転送することを特徴とす
るパケットデータ転送制御装置。
1. A packet data transfer control device for dividing packet data into a plurality of small unit cells and transferring each packet data cell from a source port to a destination port in a time-division manner. When packet data cannot be directly transferred from the source port to the destination port, a packet memory for temporarily storing the packet data, an entry control table for registering packet data transfer requests as entries, and an entry control table for First and second entry number reference tables for registering the entry numbers of each registered entry in accordance with the transfer order, and the entries registered in one of the first and second entry number reference tables Referring to the numbers, each registered in the entry control table Every time one cell of the packet data corresponding to the entry is transferred in a time-division manner, the entry number of the entry whose transfer of the packet data has not been completed is re-registered in the other second or first entry number reference table. Each time one cell of the packet data corresponding to all entries registered in the entry control table is transferred in a time-division manner, the first or second entry number reference table is alternately referred to, and A packet data transfer control device for repeatedly transferring cells of packet data corresponding to each entry registered in an entry control table in a time division manner.
【請求項2】請求項1に記載のパケットデータ転送制御
装置であって、 さらに、前記エントリー制御テーブルの中でエントリー
が登録されていない箇所を管理する空きエントリー番号
管理テーブルを有し、 この空きエントリー番号管理テーブルに登録された空き
エントリー番号を参照して、前記エントリー制御テーブ
ルに新規なエントリーを登録し、 前記第1または第2のエントリー番号参照テーブルのい
ずれか一方に登録されたエントリー番号を参照して、前
記エントリー制御テーブルに登録された各々のエントリ
ーに対応するパケットデータのセルを時分割に1つ転送
する毎に、前記パケットデータの転送が終了したエント
リーのエントリー番号を前記空きエントリー番号管理デ
ーブルに登録することを特徴とするパケットデータ転送
制御装置。
2. The packet data transfer control device according to claim 1, further comprising: an empty entry number management table for managing a place where no entry is registered in said entry control table. A new entry is registered in the entry control table with reference to an empty entry number registered in the entry number management table, and an entry number registered in one of the first or second entry number reference table is entered. Each time one cell of the packet data corresponding to each entry registered in the entry control table is transferred in a time-division manner, the entry number of the entry for which the transfer of the packet data has been completed is replaced with the empty entry number. Packet data transfer characterized by registration in a management table Control device.
JP3484097A 1997-02-19 1997-02-19 Packet data transfer controller Withdrawn JPH10233804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3484097A JPH10233804A (en) 1997-02-19 1997-02-19 Packet data transfer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3484097A JPH10233804A (en) 1997-02-19 1997-02-19 Packet data transfer controller

Publications (1)

Publication Number Publication Date
JPH10233804A true JPH10233804A (en) 1998-09-02

Family

ID=12425401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3484097A Withdrawn JPH10233804A (en) 1997-02-19 1997-02-19 Packet data transfer controller

Country Status (1)

Country Link
JP (1) JPH10233804A (en)

Similar Documents

Publication Publication Date Title
EP1002397B1 (en) A highly integrated multi-layer switch element architecture
US20210294762A1 (en) Procedures for improving efficiency of an interconnect fabric on a system on chip
US5732080A (en) Method and apparatus for controlling data flow within a switching device
JP2565652B2 (en) Internetworking packet routing device
US6539432B1 (en) Network manager, nodes and network management system
US4939724A (en) Cluster link interface for a local area network
US5796741A (en) ATM bus system
US6397260B1 (en) Automatic load sharing for network routers
US6501761B1 (en) Modular network switch with peer-to-peer address mapping communication
US5917805A (en) Network switch utilizing centralized and partitioned memory for connection topology information storage
CN101442493B (en) Method for distributing IP message, cluster system and load equalizer
JPH11346223A (en) Atm switchboard
KR870003630A (en) Packet Switching System and Network Operation Method Using The Same
US6463485B1 (en) System for providing cell bus management in a switch platform including a write port cell count in each of a plurality of unidirectional FIFO for indicating which FIFO be able to accept more cell
US6771654B1 (en) Apparatus and method for sharing memory using a single ring data bus connection configuration
US6512769B1 (en) Method and apparatus for rate-based cell traffic arbitration in a switch
US6438102B1 (en) Method and apparatus for providing asynchronous memory functions for bi-directional traffic in a switch platform
US6483850B1 (en) Method and apparatus for routing cells having different formats among service modules of a switch platform
JPH10233804A (en) Packet data transfer controller
JPH10276216A (en) Packet data transfer controller
JP2951963B2 (en) Packet communication method
US6603768B1 (en) Multi-protocol conversion assistance method and system for a network accelerator
US7593421B2 (en) Communication control device having multiprocessor
US6967961B1 (en) Method and apparatus for providing programmable memory functions for bi-directional traffic in a switch platform
JP2596098B2 (en) Communication line selection method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040511