JP3003667B2 - Packet relay device - Google Patents

Packet relay device

Info

Publication number
JP3003667B2
JP3003667B2 JP5632698A JP5632698A JP3003667B2 JP 3003667 B2 JP3003667 B2 JP 3003667B2 JP 5632698 A JP5632698 A JP 5632698A JP 5632698 A JP5632698 A JP 5632698A JP 3003667 B2 JP3003667 B2 JP 3003667B2
Authority
JP
Japan
Prior art keywords
packet
unit
transfer
input
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5632698A
Other languages
Japanese (ja)
Other versions
JPH11261633A (en
Inventor
哲生 川野
直久 高橋
充 丸山
哲 八木
毅 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP5632698A priority Critical patent/JP3003667B2/en
Publication of JPH11261633A publication Critical patent/JPH11261633A/en
Application granted granted Critical
Publication of JP3003667B2 publication Critical patent/JP3003667B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ通信におい
て、転送するデータにその宛先情報を付加したパケット
と呼ぶデータを用い、通信ネットワークに接続された機
器の間でデータの交換を行うパケット通信方式を用いた
通信システムであって、複数の入出力を持ち、その間で
パケットをその宛先情報を用いて中継を行うパケット中
継装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet communication method for exchanging data between devices connected to a communication network by using data called a packet obtained by adding destination information to data to be transferred in data communication. The present invention relates to a packet relay apparatus having a plurality of inputs and outputs, and relaying a packet therebetween using the destination information thereof.

【0002】[0002]

【従来の技術】図2は、従来におけるパケット中継装置
の構成例を示す図である。以下、図2を用いてパケット
中継の動作を説明する。なお、入力バッファ部12は先
入れ先出し型メモリ(以下、FIFOメモリと呼ぶ)に
より構成され、一度読み出したデータを再び参照するこ
とができないこととする。 (1)外部通信回線aからパケットが中継装置に送られ
てくると、回線入力部11のパケット抽出部111にお
いてパケットの抽出が行われ、パケットのデータを入力
バッファ部12に書き込む。なお、bは入力パケットデ
ータおよび入力バッファ部12への書込み制御信号であ
る。 (2)次に、転送制御部14は、入力バッファ部12に
読み出し信号dを送り、パケットのヘッダー部分(パケ
ットの先頭から宛先情報部分まで)を内部のヘッダー記
憶142に読み込む。なお、cは入力バッファ部12の
出力データである。 (3)転送制御部14は、ヘッダー記憶142中の宛先
情報eを経路制御部13に送る。 (4)経路制御部13は、宛先情報eを用いて転送先を
決定し、転送先情報を内部結合部2に送り、設定の完了
を待つ。なお、fは転送先指定および設定完了信号であ
る。内部結合部2の設定確認後、転送許可信号jを転送
制御部14に送る。 (5)転送制御部14は転送許可信号jを受け取ると、
先ず、ヘッダー記憶142中のデータを内部結合部2に
送る。gは、転送データおよび転送制御信号である。 (6)転送制御部14は、転送終了検出部141で転送
されるパケットデータを監視し、パケットデータの終り
を検出するまで、入力バッファ部12の読み出し信号d
を送り続け、読み出したデータcを内部結合部2に転送
する(g)。 (7)転送制御部14は転送が終了すると、転送終了信
号kを経路制御部13に送る。経路制御部13は、転送
終了信号を受けて内部結合部2に接続開放要求を送る。 (8)出力部3は、内部結合部2から送られたパケット
データを外部回線iに出力する。なお、hは、転送デー
タおよび転送制御信号である。
2. Description of the Related Art FIG. 2 is a diagram showing a configuration example of a conventional packet relay device. Hereinafter, the operation of the packet relay will be described with reference to FIG. Note that the input buffer unit 12 is configured by a first-in first-out memory (hereinafter, referred to as a FIFO memory), and it is assumed that once read data cannot be referred to again. (1) When a packet is sent from the external communication line a to the relay device, the packet is extracted by the packet extraction unit 111 of the line input unit 11 and the data of the packet is written to the input buffer unit 12. Here, b is input packet data and a write control signal to the input buffer unit 12. (2) Next, the transfer control unit 14 sends a read signal d to the input buffer unit 12, and reads the header part of the packet (from the beginning of the packet to the destination information part) into the internal header storage 142. Here, c is output data of the input buffer unit 12. (3) The transfer control unit 14 sends the destination information e in the header storage 142 to the route control unit 13. (4) The path control unit 13 determines the transfer destination using the destination information e, sends the transfer destination information to the internal combining unit 2, and waits for the completion of the setting. Here, f is a transfer destination designation and setting completion signal. After the setting of the internal coupling unit 2 is confirmed, a transfer permission signal j is sent to the transfer control unit 14. (5) When the transfer control unit 14 receives the transfer permission signal j,
First, the data in the header storage 142 is sent to the internal connection unit 2. g is transfer data and a transfer control signal. (6) The transfer control unit 14 monitors the packet data transferred by the transfer end detection unit 141, and reads the signal d from the input buffer unit 12 until the end of the packet data is detected.
And transfer the read data c to the internal coupling unit 2 (g). (7) When the transfer is completed, the transfer control unit 14 sends a transfer end signal k to the path control unit 13. Upon receiving the transfer end signal, the path control unit 13 sends a connection release request to the internal coupling unit 2. (8) The output unit 3 outputs the packet data sent from the internal coupling unit 2 to the external line i. Here, h is transfer data and a transfer control signal.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
パケット中継装置では、下記のような問題点があった。 (a)入力バッファ部12がFIFOメモリにより構成
されている場合、経路制御部13が宛先情報を得るため
に読み出したパケットデータの先頭部分を一旦別の記憶
領域に保存して、内部結合部2における転送の際にFI
FOメモリからの読み出しに先行して、先頭部分を転送
する仕組みが必要となる。 (b)受信時にエラーを検出したパケットおよび宛先情
報が適当でないパケットは、中継装置内で廃棄し、外部
回線に再送信しないことが望ましいが、その実現のため
の機構が複雑である。 (c)入力バッファ部12がFIFOメモリにより構成
されている場合、回線入力部11がパケットの受信途中
でエラーを検出したとき、既に書込まれた途中までのパ
ケットを廃棄する仕組みを実現することが困難である。 (d)経路制御部13が入力バッファ部12の読み出し
側を観測する必要があるため、入力バッファ部12の出
力側の制御が複雑になり、内部結合部2による高速なパ
ケット転送機構の実現が妨げられている。 (e)内部結合部2がパケットの終りを検出するため
に、入力バッファ部12の読み出し側を観測する必要が
あるため、入力バッファ部12から内部結合部2までの
データ転送の高速化が妨げられている。そこで、本発明
の目的は、上述のような従来の課題を解決するため、入
力バッファ部の読み出し側の機構を単純化するととも
に、入力バッファ部から内部結合機構を経て出力部まで
のデータ転送の高速化を図り、より高性能なパケット中
継装置を提供することにある。
However, the conventional packet relay apparatus has the following problems. (A) When the input buffer unit 12 is constituted by a FIFO memory, the head part of the packet data read out by the route control unit 13 to obtain the destination information is temporarily stored in another storage area, and the internal coupling unit 2 FI at the time of transfer in
Prior to reading from the FO memory, a mechanism for transferring the head portion is required. (B) It is desirable to discard a packet in which an error is detected at the time of reception and a packet for which destination information is not appropriate in the relay device and not to retransmit the packet to an external line. However, a mechanism for realizing the packet is complicated. (C) When the input buffer unit 12 is configured by a FIFO memory, when the line input unit 11 detects an error during the reception of a packet, a mechanism for discarding the already written packet up to the middle is realized. Is difficult. (D) Since the path control unit 13 needs to observe the read side of the input buffer unit 12, the control of the output side of the input buffer unit 12 is complicated, and the realization of a high-speed packet transfer mechanism by the internal coupling unit 2 is realized. Hindered. (E) In order for the internal coupling unit 2 to detect the end of the packet, it is necessary to observe the read side of the input buffer unit 12, so that speeding up of data transfer from the input buffer unit 12 to the internal coupling unit 2 is hindered. Have been. Therefore, an object of the present invention is to solve the conventional problems as described above by simplifying the read-side mechanism of the input buffer unit, and at the same time, transferring data from the input buffer unit to the output unit via the internal coupling mechanism. It is an object of the present invention to provide a higher performance packet relay device with higher speed.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明のパケット中継装置では、外部通信回線か
らパケットデータを受信する回線入力部と、該パケット
データを外部回線に送信する出力部と、転送待ちの該パ
ケットデータを保持する入力バッファ部と、該パケット
データの転送先を決定する経路制御部と、転送許可を受
けることにより前記入力バッファ部のパケットデータを
読み出して転送する転送制御部と、該転送制御部からの
パケットデータを上記出力部に転送する内部結合部とを
備えたパケット中継装置であって、前記回線入力部に
は、入力したパケットを抽出する入力パケット抽出部
と、該入力パケットに含まれる宛先情報を抽出する宛先
情報抽出部と、入力したパケット長を計測する入力パケ
ット長測定部とを、また、前記入力バッファ部には、抽
出されたパケットを保持するパケットバッファと、宛先
およびパケット長の情報を保持するインデックスバッフ
ァとを、それぞれ配置し、前記経路制御部は、前記パケ
ット全体の到着を待たずに前記宛先情報を用いてパケッ
トデータの転送先決定の処理を行うことを特徴としてい
る。これにより、パケット長情報がインデックスバッフ
ァに書き込まれた時点で、パケット全体のデータが書き
込まれたことを確認し、直ちにデータ転送を行うことが
できるので、高速なデータの中継処理を行うことが可能
になる。
In order to achieve the above object, a packet relay device of the present invention uses an external communication line.
A line input unit for receiving packet data from the
An output unit for transmitting data to an external line;
An input buffer unit for holding packet data;
A path control unit that determines the data transfer destination
The packet data in the input buffer section.
A transfer control unit for reading and transferring;
An internal coupling unit that transfers packet data to the output unit.
A packet relay device comprising:
Is an input packet extractor that extracts input packets
And a destination for extracting destination information included in the input packet.
Information extraction unit and input packet to measure the input packet length
And the input buffer unit.
A packet buffer that holds the output packet and a destination
Index buffer that holds packet length information
And the path control unit is configured to
Packet using the destination information without waiting for the entire packet to arrive.
It is characterized by performing the process of determining the transfer destination of
You. This allows packet length information to be index buffered.
When the data is written to the
Confirm that the data has been inserted and transfer the data immediately.
High-speed data relay processing
become.

【0005】また、前記転送制御部には、パケットの
転送が不要の際、前記経路制御部から内部結合部に対し
て結合の開放要求を行った後に入力バッファ部からの空
読みを行う空読み部を配置したことも特徴としている。
すなわち、経路制御部13よりパケットの廃棄の指示を
受けた時、入力バッファ部12から1パケット分のデー
タを空読みすることにより、パケットの廃棄が可能とな
る。これにより、入力バッファ部12はFIFOメモリ
で構成してもパケットの廃棄の機構を簡単に導入するこ
とが可能となる。
[0005] The transfer control unit transmits a packet
When transfer is not required, the path control unit
From the input buffer after issuing a connection release request
Another feature is that an empty reading section for reading is arranged.
That is, an instruction to discard a packet is issued from the route control unit 13.
When received, one packet of data is received from the input buffer unit 12.
It is possible to discard packets by reading empty data.
You. As a result, the input buffer unit 12
Can easily introduce a packet discarding mechanism.
It becomes possible.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図1は、本発明の第1の実施例を
示すパケット中継装置の構成図である。図1の実施例で
は、回線入力部11のパケット抽出部111内に、新た
に宛先情報抽出部112を設ける。回線入力部11にお
いて抽出した宛先情報を直接、経路制御部13に送るこ
とにより、宛先情報を得るために従来の入力バッファ部
12からヘッダー部分を読む機構が不要になる。そのた
めに、転送制御部14にヘッダー記憶142が不要にな
り、またパケットの転送の際には、単に入力バッファ部
12を読み出し、それを内部結合部2に転送するだけで
よく、従来のヘッダー記憶142に関係する制御が一切
不要になる。以下、図1を用いて、パケット中継の動作
を説明する。なお、入力バッファ部12はFIFOメモ
リにより構成され、一度読み出したデータを再び参照す
ることができないこととする。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram of a packet relay device according to a first embodiment of the present invention. In the embodiment of FIG. 1, a destination information extraction unit 112 is newly provided in the packet extraction unit 111 of the line input unit 11. By directly sending the destination information extracted by the line input unit 11 to the route control unit 13, a mechanism for reading the header portion from the conventional input buffer unit 12 to obtain the destination information becomes unnecessary. For this reason, the transfer control unit 14 does not need the header storage 142, and when transferring a packet, it is sufficient to simply read out the input buffer unit 12 and transfer it to the internal coupling unit 2; No control related to 142 is needed. Hereinafter, the operation of the packet relay will be described with reference to FIG. It is assumed that the input buffer unit 12 is formed of a FIFO memory, and cannot read data once read out.

【0007】(1)外部通信回線aからパケットが送ら
れてくると、回線入力部11においてパケットの抽出を
行い、パケットのデータを入力バッファ部12に書込
む。また、宛先情報抽出部112で抽出したl(小文字
L(エル))を経路制御部13に送る。なおbは、入力
パケットデータと入力バッファ部12への書込み制御信
号である。 (2)経路制御部13は宛先情報を用いて転送先を決定
し、転送先情報を内部結合部2に送り、設定の完了を待
つ。そして、内部結合部2の設定確認後、転送許可信号
jを転送制御部14に送る。なお、fは、転送先指定お
よび設定完了信号である。 (3)転送制御部14は、転送許可信号を受けると、入
力バッファ部12に読み出し信号dを送り、入力バッフ
ァ部12中のパケットデータcを読み出す。読み出され
たデータは、内部結合部2を経由して出力部3へと転送
する。なお、hは転送データと転送制御信号である。 (4)転送制御部14は、転送終了検出部141で転送
されるパケットデータを監視し、パケットデータの終り
を検出するまで、上記の入力バッファ部12からの読み
出しを継続する。 (5)転送制御部14は、転送の終了を検出すると、入
力バッファ部12の読み出しを終了し、転送終了信号k
を経路制御部13に送る。経路制御部13は、転送終了
信号kを受けて、内部結合部2へ接続開放要求を送る。 (6)出力部3は、内部結合部2から送られたパケット
データを、外部回線に出力する。なお、hは転送データ
および転送制御信号であり、iは外部通信回線出力であ
る。
(1) When a packet is sent from the external communication line a, the line input unit 11 extracts the packet and writes the packet data into the input buffer unit 12. Also, 1 (lowercase L (ell)) extracted by the destination information extraction unit 112 is sent to the route control unit 13. Note that b is input packet data and a write control signal to the input buffer unit 12. (2) The path control unit 13 determines the transfer destination using the destination information, sends the transfer destination information to the internal coupling unit 2, and waits for the completion of the setting. Then, after confirming the setting of the internal coupling unit 2, it sends a transfer permission signal j to the transfer control unit 14. Here, f is a transfer destination designation and setting completion signal. (3) Upon receiving the transfer permission signal, the transfer control unit 14 sends a read signal d to the input buffer unit 12 and reads out the packet data c in the input buffer unit 12. The read data is transferred to the output unit 3 via the internal coupling unit 2. Here, h is transfer data and a transfer control signal. (4) The transfer control unit 14 monitors the packet data transferred by the transfer end detection unit 141 and continues reading from the input buffer unit 12 until the end of the packet data is detected. (5) Upon detecting the end of the transfer, the transfer control unit 14 ends the reading of the input buffer unit 12, and the transfer end signal k
To the path control unit 13. Upon receiving the transfer end signal k, the path control unit 13 sends a connection release request to the internal coupling unit 2. (6) The output unit 3 outputs the packet data sent from the internal coupling unit 2 to an external line. Here, h is transfer data and a transfer control signal, and i is an external communication line output.

【0008】図3は、本発明の第2の実施例を示すパケ
ット中継装置の構成図である。図3においては、回線入
力部11のパケット抽出部111内に、新たに宛先情報
抽出/パケット長計測部113を設けるとともに、転送
制御部14内に新たにカウンタ回路143を設ける。す
なわち、回線入力部11においてパケット長の計測を行
い、その情報を経路制御部13を経由して転送制御部1
4に送る。なお、mは宛先情報とパケット長情報であ
り、nはパケット長情報である。転送制御部14は、パ
ケット長情報をもとに簡単なカウンタ回路143により
転送に必要なタイミング(時間)を生成し、パケットの
転送を行う。そのために転送制御部14では、パケット
データを監視し、転送終了を検出する機構が不要となる
ため、入力バッファ部12から内部結合部2に至るデー
タ転送系が簡略化される。以下、図3により動作を説明
する。
FIG. 3 is a block diagram of a packet relay apparatus according to a second embodiment of the present invention. In FIG. 3, a destination information extraction / packet length measurement unit 113 is newly provided in the packet extraction unit 111 of the line input unit 11, and a counter circuit 143 is newly provided in the transfer control unit 14. That is, the packet length is measured in the line input unit 11 and the information is transmitted to the transfer control unit 1 via the route control unit 13.
Send to 4. Note that m is destination information and packet length information, and n is packet length information. The transfer control unit 14 generates a timing (time) required for transfer by a simple counter circuit 143 based on the packet length information, and transfers the packet. For this reason, the transfer control unit 14 does not need a mechanism for monitoring packet data and detecting the end of transfer, so that the data transfer system from the input buffer unit 12 to the internal coupling unit 2 is simplified. Hereinafter, the operation will be described with reference to FIG.

【0009】(1)外部通信回線aからパケットが送ら
れてくると、回線入力部11においてパケットの抽出を
行い、パケットのデータを入力バッファ部12に書込
む。bは、入力パケットデータおよび入力バッファ部へ
の書込み制御信号である。また、宛先情報抽出部113
で抽出した宛先情報と、パケット長計測部113で計測
したパケット長情報を経路制御部13に送る(m)。 (2)経路制御部13は宛先情報を用いて転送先を決定
し、転送先情報を内部結合部2に送り、設定の完了を待
つ。fは、転送先指定および設定完了信号である。内部
結合部2の設定確認後、パケット長情報nを転送制御部
14に送る。 (3)転送制御部14は、パケット長情報nを受ける
と、入力バッファ部12へ読み出し信号dを送り、入力
バッファ部12中のパケットデータcを読み出す。読み
出されたデータは、内部結合部2を経由して出力部3へ
と転送される。hは、転送データおよび転送制御信号で
ある。 (4)転送制御部14は、パケット長情報nをもとにパ
ケットを転送するのに必要な時間をカウンタ回路143
により計測し、その間、上記入力バッファ部12の読み
出しを継続する。 (5)転送制御部14は、カウンタ回路143により転
送の終了を検出すると、入力バッファ部12の読み出し
を終了し、転送終了信号kを経路制御部13に送る。経
路制御部13は、転送終了信号を受けて内部結合部2に
接続開放要求を送る。 (6)出力部3は、内部結合部2から送られたパケット
データhを外部回線出力iとして出力する。
(1) When a packet is sent from the external communication line a, the line input unit 11 extracts the packet and writes the packet data into the input buffer unit 12. b is input packet data and a write control signal to the input buffer unit. Also, the destination information extraction unit 113
The destination information extracted in step (1) and the packet length information measured by the packet length measuring unit 113 are sent to the path control unit 13 (m). (2) The path control unit 13 determines the transfer destination using the destination information, sends the transfer destination information to the internal coupling unit 2, and waits for the completion of the setting. f is a transfer destination designation and setting completion signal. After the setting of the internal coupling unit 2 is confirmed, the packet length information n is sent to the transfer control unit 14. (3) Upon receiving the packet length information n, the transfer control unit 14 sends a read signal d to the input buffer unit 12 and reads out the packet data c in the input buffer unit 12. The read data is transferred to the output unit 3 via the internal coupling unit 2. h is transfer data and a transfer control signal. (4) The transfer control unit 14 determines the time required to transfer the packet based on the packet length information n by the counter circuit 143.
, And the reading of the input buffer unit 12 is continued during that time. (5) Upon detecting the end of the transfer by the counter circuit 143, the transfer control unit 14 ends the reading of the input buffer unit 12, and sends a transfer end signal k to the path control unit 13. Upon receiving the transfer end signal, the path control unit 13 sends a connection release request to the internal coupling unit 2. (6) The output unit 3 outputs the packet data h sent from the internal coupling unit 2 as an external line output i.

【0010】図4は、本発明の第3の実施例を示すパケ
ット中継装置の構成図である。図4においては、入力バ
ッファ部12内に、パケットバッファ121とインデッ
クスバッファ122を新たに設けている。すなわち、入
力パケットを保持するパケットバッファ121と、宛先
情報を保持するインデックスバッファ122を持ち、宛
先情報抽出部112で抽出した宛先情報をインデックス
バッファ122に書込む。経路制御部13は、インデッ
クスバッファ122を監視し、インデックスバッファ1
22にデータがあるとき、それを読み出してパケットの
転送を行う。そのために、回線入力部11と経路制御部
13の間にバッファを設けることにより、それぞれ自律
的に動作させることができ、制御が簡略化される。ま
た、短いパケットが連続して到着した場合でも、バッフ
ァにより経路制御部13の時間的な制約が緩和される。
FIG. 4 is a configuration diagram of a packet relay device according to a third embodiment of the present invention. In FIG. 4, a packet buffer 121 and an index buffer 122 are newly provided in the input buffer unit 12. That is, it has a packet buffer 121 for holding input packets and an index buffer 122 for holding destination information, and writes the destination information extracted by the destination information extracting unit 112 into the index buffer 122. The path control unit 13 monitors the index buffer 122 and
When there is data in 22, data is read out and the packet is transferred. Therefore, by providing a buffer between the line input unit 11 and the route control unit 13, each can be operated autonomously, and control is simplified. Even when short packets arrive continuously, the buffer reduces the time constraint of the path control unit 13.

【0011】図5は、本発明の第4の実施例を示すパケ
ット中継装置の構成図である。図5においては、入力バ
ッファ部12内に入力パケットを保持するパケットバッ
ファ121と、宛先情報・パケット長情報を保持するイ
ンデックスバッファ122を設けるとともに、転送制御
部14内にカウンタ回路143を設けている。回線入力
部11の宛先情報抽出部113により、外部の回線aか
ら宛先情報が到着した時点で宛先情報をインデックスバ
ッファ122に書込む。また、回線入力部11におい
て、パケットの終りを検出した時点で、パケット長情報
をインデックスバッファ122に書込む。インデックス
バッファ122へは、宛先情報とパケット長情報とが交
互に書込まれる。
FIG. 5 is a block diagram of a packet relay apparatus according to a fourth embodiment of the present invention. In FIG. 5, a packet buffer 121 for holding input packets and an index buffer 122 for holding destination information and packet length information are provided in the input buffer unit 12, and a counter circuit 143 is provided in the transfer control unit 14. . The destination information is written into the index buffer 122 by the destination information extracting unit 113 of the line input unit 11 when the destination information arrives from the external line a. When the end of the packet is detected by the line input unit 11, the packet length information is written into the index buffer 122. Destination information and packet length information are alternately written to the index buffer 122.

【0012】図7は、図5における経路制御部の処理動
作を示すフローチャートである。経路制御部13は、イ
ンデックスバッファ122内のデータの有無を監視し、
インデックスバッファ122にデータがあるときには
(ステップ101)、経路制御部13はインデックスバ
ッファ122を読み出す(ステップ102)。読み出し
たデータは、回線入力部11が書込みを行ったパケット
の宛先情報である。この宛先情報を用いて、転送先の出
力部3を決定する(ステップ103)。経路制御部13
は再びインデックスバッファ122内のデータの有無を
監視し、インデックスバッファ122にデータがあると
きには(ステップ104)、再び経路制御部13はイン
デックスバッファ122からパケット長情報を読み出す
(ステップ105)。このパケット長情報は、回線入力
部11がインデックスバッファ122に書込みを行った
ものである。
FIG. 7 is a flowchart showing the processing operation of the route control unit in FIG. The path control unit 13 monitors the presence or absence of data in the index buffer 122,
When data exists in the index buffer 122 (step 101), the path control unit 13 reads the index buffer 122 (step 102). The read data is destination information of the packet to which the line input unit 11 has written. Using this destination information, the output unit 3 of the transfer destination is determined (step 103). Route control unit 13
Monitors the presence or absence of data in the index buffer 122 again, and when there is data in the index buffer 122 (step 104), the path control unit 13 reads out packet length information from the index buffer 122 again (step 105). This packet length information is the information that the line input unit 11 has written in the index buffer 122.

【0013】次に、経路制御部13は内部結合部2にお
ける前のパケット転送の終了を確認し(ステップ10
6)、前のパケットの転送の完了後に当該パケットの転
送先情報を内部結合部2に送り(ステップ107)、内
部結合部2も設定完了後、転送制御部14にパケット長
情報を送る(ステップ108)。以上の動作を繰り返し
実行する。これにより、入力バッファ部12の出力側
の制御が単純となる。高性能なパケット中継装置を構
成する際に重要となる入力バッファ部12の出力側から
内部結合部2を経由して出力部3の入力側に至る装置内
部でのパケットデータの転送経路が単純化されるので、
高性能なパケット中継装置が実現される。回線入力部
11、経路制御部13および内部結合部2がそれぞれ自
立した制御を行うことができるので、設計の容易化が行
える。経路制御部13でパケット長情報の到着により
当該パケット全体のデータの到着を知ることができるの
で、パケット全体のデータの到着を待たずに宛先情報を
用いて転送先決定の処理(先行宛先検索)が行える。
Next, the route control unit 13 confirms the end of the previous packet transfer in the internal coupling unit 2 (step 10).
6) After the transfer of the previous packet is completed, the transfer destination information of the packet is transmitted to the internal coupling unit 2 (Step 107). After the internal coupling unit 2 is also set, the packet length information is transmitted to the transfer control unit 14 (Step 107). 108). The above operation is repeatedly executed. Thereby, control on the output side of the input buffer unit 12 is simplified. A simplified packet data transfer path within the device from the output side of the input buffer unit 12 to the input side of the output unit 3 via the internal coupling unit 2, which is important when configuring a high-performance packet relay device. So that
A high-performance packet relay device is realized. Since the line input unit 11, the route control unit 13, and the internal coupling unit 2 can perform independent control, the design can be simplified. The route control unit 13 can know the arrival of the data of the entire packet by the arrival of the packet length information. Therefore, the transfer destination is determined using the destination information without waiting for the arrival of the data of the entire packet (previous destination search). Can be performed.

【0014】次に、本発明の第5の実施例について説明
する。本実施例の図は示されていないが、本実施例で
は、回線入力部11へのパケット受信の途中でエラーが
発生したとき、エラー情報を出力して、それを用いてパ
ケットの廃棄を行う。パケットの廃棄の方法としては、
(1)入力バッファ部12の当該パケットデータを消去
する方法、(2)入力バッファ部12の空読みを行う方
法(後述の第7の実施例に基づく装置)、(3)出力部
3で廃棄する方法、等がある。
Next, a fifth embodiment of the present invention will be described. Although a diagram of this embodiment is not shown, in this embodiment, when an error occurs during the reception of a packet to the line input unit 11, error information is output and the packet is discarded using the error information. . As a method of discarding packets,
(1) a method of erasing the packet data in the input buffer unit 12, (2) a method of performing idle reading of the input buffer unit 12 (a device based on a seventh embodiment described later), and (3) discarding in the output unit 3. There are ways to do that.

【0015】図6は、本発明の第6の実施例で使用され
るアドレス変換テーブルの内容を示す図である。第6の
実施例では、経路制御部13において不適切な宛先情報
を検出する。不適切な宛先情報が指定されたパケット
は、第5の実施例で述べられたパケット廃棄方法により
廃棄される。ここでは、アドレス変換テーブルを用いた
不適切な宛先情報の検出機構の一例を説明する。経路制
御部13内に、図6に示すアドレス変換テーブルを設け
る。経路制御部13は、受け取った宛先情報をアドレス
として変換テーブルを引く。変換テーブルには、転送先
情報とともに廃棄を表わすビットを設けている。廃棄ビ
ットが1の場合、当該宛先のパケットは不適切なアドレ
スが指定されたとして廃棄の対象とする。
FIG. 6 is a diagram showing the contents of an address translation table used in a sixth embodiment of the present invention. In the sixth embodiment, the route control unit 13 detects inappropriate destination information. Packets for which inappropriate destination information is specified are discarded by the packet discarding method described in the fifth embodiment. Here, an example of a mechanism for detecting inappropriate destination information using an address conversion table will be described. An address conversion table shown in FIG. 6 is provided in the route control unit 13. The path control unit 13 draws a conversion table using the received destination information as an address. The conversion table has a bit indicating discard together with the transfer destination information. If the discard bit is 1, the destination packet is discarded because an inappropriate address is specified.

【0016】次に、本発明の第7の実施例について説明
する。第7の実施例では、第5の実施例あるいは第6の
実施例による装置において、廃棄すべきパケットが検出
されたとき、経路制御部13が内部結合部2に対して転
送先情報を送らず、つまり、内部結合部2の当該入力が
出力部3に結合されていない状態で、当該パケットの転
送要求を転送制御部14に送る。それにより、転送制御
部14が入力バッファ部12の読み出しを行い、読み出
されたデータは内部結合部2が開放状態であるため、ど
こにも転送されず、その結果として入力バッファ部12
の空読みが行われて、当該パケットが廃棄される。本実
施例の機構により、第5の実施例および第6の実施例に
おける2種のパケットについて、単一の廃棄手段を特別
な機構を必要とせずに実現することができる。
Next, a seventh embodiment of the present invention will be described. In the seventh embodiment, when a packet to be discarded is detected in the device according to the fifth embodiment or the sixth embodiment, the route control unit 13 does not send the transfer destination information to the internal coupling unit 2. That is, in a state where the input of the internal coupling unit 2 is not coupled to the output unit 3, the transfer request of the packet is transmitted to the transfer control unit 14. As a result, the transfer control unit 14 reads the input buffer unit 12, and the read data is not transferred anywhere because the internal coupling unit 2 is in the open state. As a result, the input buffer unit 12
Is performed, and the packet is discarded. With the mechanism of the present embodiment, a single discarding unit can be realized for the two types of packets in the fifth and sixth embodiments without requiring a special mechanism.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
従来のパケット中継装置に比べてパケットの中継を単純
な制御により行うことができ、かつ高性能なパケット中
継装置を実現することができる。
As described above, according to the present invention,
As compared with a conventional packet relay device, a packet can be relayed by simple control, and a high-performance packet relay device can be realized.

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

【図1】本発明の第1の実施例を示すパケット中継装置
の構成図である。
FIG. 1 is a configuration diagram of a packet relay device according to a first embodiment of the present invention.

【図2】従来におけるパケット中継装置の構成例を示す
図である。
FIG. 2 is a diagram illustrating a configuration example of a conventional packet relay device.

【図3】本発明の第2の実施例を示すパケット中継装置
の構成図である。
FIG. 3 is a configuration diagram of a packet relay device according to a second embodiment of the present invention.

【図4】本発明の第3の実施例を示すパケット中継装置
の構成図である。
FIG. 4 is a configuration diagram of a packet relay device according to a third embodiment of the present invention.

【図5】本発明の第4の実施例を示すパケット中継装置
の構成図である。
FIG. 5 is a configuration diagram of a packet relay device according to a fourth embodiment of the present invention.

【図6】本発明の第6の実施例に使用されるアドレス変
換テーブルの内容の図である。
FIG. 6 is a diagram showing the contents of an address conversion table used in a sixth embodiment of the present invention.

【図7】図5における経路制御部の処理動作のフローチ
ャートである。
FIG. 7 is a flowchart of a processing operation of a route control unit in FIG. 5;

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

1…入力部、2…内部結合部、3…出力部、11…回線
入力部、 12…入力バッファ部、13…経路制御部、14…転送
制御部、 111…パケット抽出部、112…宛先情報抽出部、 113…宛先情報抽出/パケット長計測部、121…パ
ケットバッファ、 122…インデックスバッファ、141…転送終了検出
部、 142…ヘッダー記憶、143…カウンタ回路、 145…アドレス変換テーブル。
DESCRIPTION OF SYMBOLS 1 ... input part, 2 ... internal coupling part, 3 ... output part, 11 ... line input part, 12 ... input buffer part, 13 ... route control part, 14 ... transfer control part, 111 ... packet extraction part, 112 ... destination information Extraction unit, 113: destination information extraction / packet length measurement unit, 121: packet buffer, 122: index buffer, 141: transfer end detection unit, 142: header storage, 143: counter circuit, 145: address conversion table.

フロントページの続き (72)発明者 八木 哲 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (72)発明者 小倉 毅 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (56)参考文献 特開 平6−224932(JP,A) 特開 平3−209947(JP,A) 特開 平9−247213(JP,A) 特開 平10−13434(JP,A) 特開 平11−32052(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/56 Continued on the front page (72) Inventor Tetsu Yagi Inside Nippon Telegraph and Telephone Corporation 3-2-1, Nishi-Shinjuku, Shinjuku-ku, Tokyo (72) Inventor Takeshi Ogura 3-2-1, Nishi-Shinjuku, Shinjuku-ku, Tokyo Sun (56) References JP-A-6-224932 (JP, A) JP-A-3-209947 (JP, A) JP-A-9-247213 (JP, A) JP-A-10-13434 (JP, A) JP-A-11-32052 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 12/56

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部通信回線からパケットデータを受信
する回線入力部と、該パケットデータを外部回線に送信
する出力部と、転送待ちの該パケットデータを保持する
入力バッファ部と、該パケットデータの転送先を決定す
る経路制御部と、転送許可を受けることにより前記入力
バッファ部のパケットデータを読み出して転送する転送
制御部と、該転送制御部からのパケットデータを上記出
力部に転送する内部結合部とを備えたパケット中継装置
であって、前記 回線入力部には、入力したパケットを抽出する入力
パケット抽出部と、該入力パケットに含まれる宛先情報
を抽出する宛先情報抽出部と、入力したパケット長を計
測する入力パケット長測定部とを、また、 前記入力バッファ部には、抽出されたパケットを保持す
るパケットバッファと、宛先およびパケット長の情報を
保持するインデックスバッファとを、 それぞれ配置し、 前記経路制御部は、前記パケット全体の到着を待たずに
前記宛先情報を用いてパケットデータの転送先決定の処
理を行うことを特 徴とするパケット中継装置。
A line input unit for receiving packet data from an external communication line; an output unit for transmitting the packet data to an external line; an input buffer unit for holding the packet data waiting to be transferred; a route control unit for determining a transfer destination, the input by receiving the transfer permission
Transfer that reads and transfers the packet data in the buffer
A packet relay device comprising: a control unit; and an internal coupling unit that transfers packet data from the transfer control unit to the output unit, wherein the line input unit includes an input packet extraction unit that extracts an input packet. A destination information extraction unit for extracting destination information included in the input packet;
An input packet length measuring unit to be measured, and the input buffer unit holds the extracted packet.
Packet buffer and destination and packet length information.
And an index buffer to be held, respectively, and the path control unit does not wait for the entire packet to arrive.
A process for determining a destination of packet data transfer using the destination information
Packet relay device according to feature to make a sense.
【請求項2】 前記転送制御部には、パケットの転送が
不要の際、前記経路制御部から内部結合部に対して結合
の開放要求を行った後に入力バッファ部からの空読みを
行う空読み部を配置したことを特徴とする請求項1に記
載のパケット中継装置。
2. The transfer control unit according to claim 1, wherein the transfer of the packet is
When unnecessary, connect to the internal connection from the path control unit
Empty read from the input buffer after requesting
2. An empty reading unit for performing the reading is arranged.
Packet relay device.
JP5632698A 1998-03-09 1998-03-09 Packet relay device Expired - Lifetime JP3003667B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5632698A JP3003667B2 (en) 1998-03-09 1998-03-09 Packet relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5632698A JP3003667B2 (en) 1998-03-09 1998-03-09 Packet relay device

Publications (2)

Publication Number Publication Date
JPH11261633A JPH11261633A (en) 1999-09-24
JP3003667B2 true JP3003667B2 (en) 2000-01-31

Family

ID=13024070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5632698A Expired - Lifetime JP3003667B2 (en) 1998-03-09 1998-03-09 Packet relay device

Country Status (1)

Country Link
JP (1) JP3003667B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7035267B1 (en) * 2000-08-11 2006-04-25 Marconi Intellectual Property (Ringfence), Inc. Transferring and queueing length and data as one stream

Also Published As

Publication number Publication date
JPH11261633A (en) 1999-09-24

Similar Documents

Publication Publication Date Title
US6631484B1 (en) System for packet communication where received packet is stored either in a FIFO or in buffer storage based on size of received packet
US6963535B2 (en) MAC bus interface
US7570646B2 (en) Apparatus and method for an interface unit for data transfer between a host processing unit and a multi-target digital signal processing unit in an asynchronous transfer mode
JP2004530343A5 (en)
US20040156368A1 (en) Frame alteration logic for network processors
JPH08116348A (en) High-speed communication equipment
CN112653638B (en) Device for switching routes of multiple paths of intermediate frequencies and baseband at high speed and communication method thereof
JP3003667B2 (en) Packet relay device
JP2003069603A (en) Packet communication controller
JP4009022B2 (en) Data transmission method and data transmission apparatus
JP2778373B2 (en) Buffer device with retransmission function
JPS5979655A (en) Data transmission system
US6643816B1 (en) Transmitting apparatus and error handling method in transmitting apparatus
CN106027349B (en) A kind of PCI-E bus interface transmission card and the data transmission method based on the transmission card
JP2003289315A (en) Packet transfer apparatus and packet transfer method
JPH0799833B2 (en) Data transmission method and device
JP2793480B2 (en) LAN data transmission method
KR100431130B1 (en) internal network node board having error detecting apparatus
JP3434787B2 (en) HDLC frame conversion circuit
JP3189571B2 (en) Data processing device
JP2953362B2 (en) LAN switching device
JP3660621B2 (en) Optical communication network and node, program and recording medium
JP2003143202A (en) Optical communication network, program, and recording medium
US6862266B1 (en) Loop test apparatus of packet routing bus in communication system and loop test method
JPH09121211A (en) Confirmation frame transfer system for fc/atm network conversion device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071119

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091119

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101119

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101119

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111119

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111119

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121119

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121119

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 14

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term