JP2953362B2 - LAN switching device - Google Patents

LAN switching device

Info

Publication number
JP2953362B2
JP2953362B2 JP27947795A JP27947795A JP2953362B2 JP 2953362 B2 JP2953362 B2 JP 2953362B2 JP 27947795 A JP27947795 A JP 27947795A JP 27947795 A JP27947795 A JP 27947795A JP 2953362 B2 JP2953362 B2 JP 2953362B2
Authority
JP
Japan
Prior art keywords
buffer
port
packet
address
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27947795A
Other languages
Japanese (ja)
Other versions
JPH08293875A (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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP27947795A priority Critical patent/JP2953362B2/en
Publication of JPH08293875A publication Critical patent/JPH08293875A/en
Application granted granted Critical
Publication of JP2953362B2 publication Critical patent/JP2953362B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、LANのスイッチ
ング装置に関するものであり、より詳しくは、イーサネ
ットの通信機器(特にHUB)に利用されるものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching device for a LAN, and more particularly to a switching device for an Ethernet communication device (in particular, a hub).

【0002】[0002]

【従来の技術】現在、LAN(Local Area
Network)で広く普及している方式の1つとし
て、イーサネット(Ethernet,ゼロックス社の
登録商標)がある。イーサネットでは、図2のように端
末AからEへの送信と端末BからDへの送信とが同時に
発生すると衝突が発生する。これはイーサネットの方式
の本質的なものであり、この衝突の影響で10Mb/s
の帯域のうち、実質的には30%程度しか利用できない
と言われている。これを解決するため、図3のように、
スイッチング装置Swを設けて、電話の交換機のように
イーサネットのパケットをスイッチングする方式が考え
られる。これによれば、同時に複数の送信が衝突無しで
可能となる。
2. Description of the Related Art At present, a LAN (Local Area) is used.
Network (Ethernet, a registered trademark of Xerox Corporation) is one of the systems widely used in the Internet. In Ethernet, collision occurs when transmission from terminal A to E and transmission from terminal B to D occur simultaneously as shown in FIG. This is an essential part of the Ethernet method, and the impact of this collision is 10 Mb / s.
It is said that practically only about 30% of the bandwidth can be used. To solve this, as shown in FIG.
A method is conceivable in which a switching device Sw is provided to switch Ethernet packets like a telephone exchange. According to this, a plurality of transmissions can be simultaneously performed without collision.

【0003】このイーサネットのスイッチングを実現す
る方式としては、”COMPUTER NETWORK
SWITCHING SYSTEM”(米国特許第
5,274,631号)が提案されている。これは、図
4のように、スイッチング装置Swの各ポートにパケッ
トプロセッサ91〜97を設け、このパケットプロセッ
サ91〜97内に受信バッファやどのポートに送信する
かの選択手段をそれぞれ設けることにより、高速なスイ
ッチングを実現している。図中、90は多重化論理部
(マルチプレックス・ロジック)、98はシステムプロ
セッサ、99はネットワーク・インターフェースであ
る。
[0003] As a method of realizing the Ethernet switching, "COMPUTER NETWORK" is used.
SWITCHING SYSTEM "(U.S. Pat. No. 5,274,631) is proposed. As shown in FIG. 4, each port of a switching device Sw is provided with packet processors 91 to 97, and the packet processors 91 to 97 are provided. A high-speed switching is realized by providing a receiving buffer and a selecting unit for selecting a port to be transmitted, respectively, in the figure, where 90 is a multiplex logic unit, 98 is a system processor, 98 is a system processor, 99 is a network interface.

【0004】[0004]

【発明が解決しようとする課題】ところが、このような
方式では、各ポートごとに受信バッファやどのポートに
送信するかの選択手段などが必要となり、高価になって
しまう。そこで、全ポートからの受信データを格納する
受信バッファおよびどのポートへ送信するかを決めるア
ドレスフィルタ部を機器全体で共有することにより、よ
り安価なLANのスイッチング装置を提供できると考え
られるが、イーサネットのパケット長は可変であるの
で、最長のパケットに合わせて受信バッファを確保して
いると、受信バッファの使用効率が低下する。そこで、
本発明では、共用される受信バッファの使用効率を向上
させることを目的とするものである。
However, such a system requires a reception buffer for each port and means for selecting which port to transmit to, and is expensive. Therefore, it is considered that a less expensive LAN switching device can be provided by sharing a reception buffer for storing received data from all ports and an address filter unit for deciding which port to transmit to all the devices.
However, the Ethernet packet length is variable.
So, secure the receive buffer according to the longest packet and
In such a case, the use efficiency of the reception buffer is reduced. Therefore,
In the present invention, the use efficiency of the shared reception buffer is improved.
The purpose is to make

【0005】[0005]

【課題を解決するための手段】本発明によれば、上記の
課題を解決するために、図1に示すように、イーサネッ
トのセグメントに接続されパケットを受信してバッファ
リングするポート受信部1と、複数のポート受信部1か
らのパケットを受信バッファ3へ格納しその格納番地を
アドレスフィルタ部4へ伝達する受信バッファ格納手段
2と、受信バッファ格納手段2によって受信パケットを
格納する受信バッファ3と、受信バッファ格納手段2か
ら伝達されてきた格納番地情報を元に受信バッファ3か
ら受信パケットの送信元アドレスと送信先アドレスとを
読み取りパケットの送信先ポートを判定してパケットの
格納アドレスと送信先ポートを送信バッファ格納手段5
へ伝達するアドレスフィルタ部4と、アドレスフィルタ
部4からのパケット格納番地と送信先ポート情報を元に
受信バッファ3から該パケットが送信されるべき送信ポ
ートのポート送信部6のポート送信バッファ61ヘ受信
バッファ3から該パケットを転送する送信バッファ格納
手段5と、ポート送信バッファ61内のデータを送信す
るイーサネットのセグメントに接続されたポート送信部
6とから構成されるLANのスイッチング装置であっ
て、受信バッファ格納手段2において、ポート受信部1
内のバッファからパケット長の情報を得て、その情報か
ら必要な分の受信バッファ量を判定して、受信バッファ
3へパケットを格納する手段を設けたことを特徴とする
ものである。また、同じ課題を解決する別の手段とし
て、受信バッファ3を一定長のブロックから構成される
リスト構造とし、受信バッファ格納手段2においてパケ
ットを一定の固定長に分割してリスト構造の受信バッフ
ァ3へ格納する手段を設け、送信バッファ格納手段5に
リスト構造の受信バッファ3からパケットを取り出す手
段を設けたことを特徴とするものである。上記の構成に
よれば、パケットがポート受信部1へ受信されると、受
信バッファ格納手段2によって受信バッファ3へ格納さ
れる。受信バッファ格納手段2は、パケットの格納番地
をアドレスフィルタ部4へ教える。アドレスフィルタ部
4は、その格納番地情報からパケット内に格納されてい
るパケットの送信元アドレスと送信先アドレスとを取り
出し、アドレステーブルの中から送信先アドレスをサー
チし、どのポートへこのパケットを送出すれば良いかを
知る。さらに、送信元アドレスと受信ポートの情報をア
ドレステーブルへ登録することによって、どのポートに
どのアドレスを有する端末が接続されているかが分か
る。次に、このパケットの格納番地と、どのポートへ送
出すべきかという情報を送信バッファ格納手段5へ教え
る。送信バッファ格納手段5は、その格納番地からパケ
ットの内容を送出すべきポートの送信バッファ6へ転送
する。ポート送信部6では、送信バッファ61内のパケ
ットをイーサネットへ送信する。以上の動作によって、
イーサネットのパケットをスイッチングすることが可能
となる。また、受信バッファ格納手段2において、ポー
ト受信部1内のバッファからパケット長の情報を得て、
その情報から必要な分の受信バッファ量を判定して、受
信バッファ3へパケットを格納する手段を設けることに
より、受信バッファ3の使用効率が向上する。あるい
は、受信バッファ3を一定長のブロックから構成される
リスト構造とし、受信バッファ格納手段2においてパケ
ットを一定の固定長に分割してリスト構造の受信バッフ
ァ3へ格納する手段を設け、送信バッファ格納手段5に
リスト構造の受信バッファ3からパケットを取り出す手
段を設けることにより、受信バッファ3を効率よく使用
することができる。
According to the present invention, in order to solve the above-mentioned problems, as shown in FIG. 1, a port receiving unit 1 connected to an Ethernet segment and receiving and buffering a packet is provided. A receiving buffer storing means 2 for storing packets from a plurality of port receiving units 1 in a receiving buffer 3 and transmitting the storage addresses to an address filtering unit 4, a receiving buffer 3 for storing received packets by the receiving buffer storing means 2. The source address and destination address of the received packet are read from the reception buffer 3 based on the storage address information transmitted from the reception buffer storage means 2 to determine the destination port of the packet, and the storage address and destination of the packet are determined. Port to transmit buffer storage means 5
To the port transmission buffer 61 of the port transmission unit 6 of the transmission port to which the packet is to be transmitted from the reception buffer 3 based on the packet storage address and the destination port information from the address filter unit 4. from the reception buffer 3 transfers the packet transmission buffer storing means 5, LAN switching device which consists of an Ethernet segment to a connected port transmitter 6 for transmitting the data in the port transmit buffer 61 met
In the reception buffer storage means 2, the port receiving unit 1
Packet length information from the buffer inside the
Judge the required amount of receive buffer from the
Characterized in that a means for storing the packet in 3 is provided.
Things. In addition, as another means to solve the same problem,
And the receiving buffer 3 is composed of blocks of a certain length.
It has a list structure,
The receive buffer is divided into a fixed length
Means for storing data in the transmission buffer storage means 5.
Hand for extracting packets from the reception buffer 3 having a list structure
A step is provided . According to the above configuration, when a packet is received by the port receiving unit 1, the packet is stored in the reception buffer 3 by the reception buffer storage unit 2. The reception buffer storage unit 2 notifies the address storage unit 4 of the storage address of the packet. The address filter unit 4 extracts the source address and the destination address of the packet stored in the packet from the stored address information, searches the address table for the destination address, and sends this packet to any port. Know what to do. Furthermore, by registering the information of the source address and the receiving port in the address table, it is possible to know which terminal has which address is connected to which port. Next, the storage address of this packet and the information to which port the packet should be sent are informed to the transmission buffer storage means 5. The transmission buffer storage means 5 transfers the contents of the packet from the storage address to the transmission buffer 6 of the port to be transmitted. The port transmission unit 6 transmits the packet in the transmission buffer 61 to the Ethernet. By the above operation,
It becomes possible to switch Ethernet packets. Also, in the reception buffer storage means 2,
The packet length information is obtained from the buffer in the
The required reception buffer amount is determined from the information,
Providing means for storing packets in the communication buffer 3
Thus, the use efficiency of the reception buffer 3 is improved. There
Configures the reception buffer 3 from blocks of a fixed length.
It has a list structure,
The receive buffer is divided into a fixed length
Means for storing data in the transmission buffer storage means 5.
Hand for extracting packets from the reception buffer 3 having a list structure
Providing stages allows efficient use of receive buffer 3
can do.

【0006】[0006]

【発明の実施の形態】以下、本発明の好ましい実施の形
態について説明する。図1は本発明の基本的な構成を示
している。図中、受信部11は、イーサネットのセグメ
ントに接続されるインターフェース部である。受信部1
1から入ってきたパケットは、ポート受信バッファ12
に格納される。この受信部11とポート受信バッファ1
2とから構成されるポート受信部1が各ポートに接続さ
れる。このポート受信バッファ1とは別に装置全体で1
つの受信バッファ3を設ける。全てのパケットは、この
受信バッファ3へ格納される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below. FIG. 1 shows a basic configuration of the present invention. In the figure, a receiving unit 11 is an interface unit connected to an Ethernet segment. Receiver 1
Packets coming in from port 1
Is stored in The receiving unit 11 and the port receiving buffer 1
2 is connected to each port. Apart from this port reception buffer 1, 1
One receiving buffer 3 is provided. All packets are stored in the reception buffer 3.

【0007】各ポートへのパケットは、非同期に到着す
るので、各ポート受信部1の同期をとりながら受信バッ
ファ3へデータを格納するのが受信バッファ格納手段2
の役目である。受信バッファ格納手段2から受信バッフ
ァ3への帯域を、ポート受信部1から受信バッファ格納
手段2への帯域よりも十分大きくすることで、ポート受
信バッファ12には小さいバッファ量(非同期で入って
くるのを受信バッファ格納手段2の動作に同期をとるの
に必要なバッファ量)でパケットを損失することなく受
信バッファ3へ格納することが可能である。各ポートに
大きなバッファを設けるよりも、集中的に1つの大きな
バッファを設け、各ポートには非同期性を吸収するため
の小さなバッファを設ける方が、バッファの使用効率は
上がるので、結果的に全体として必要なバッファ量は少
なくて済む。
Since packets to each port arrive asynchronously, it is necessary to store data in the reception buffer 3 while synchronizing each port reception unit 1 with the reception buffer storage means 2.
The role of. By making the band from the reception buffer storage unit 2 to the reception buffer 3 sufficiently larger than the band from the port reception unit 1 to the reception buffer storage unit 2, the port reception buffer 12 has a small buffer amount (asynchronous input). Can be stored in the reception buffer 3 without losing the packet by the amount of buffer necessary for synchronizing the operation of the reception buffer storage means 2). Rather than providing a large buffer for each port, it is better to provide one large buffer intensively and provide a small buffer for each port to absorb the asynchrony, since the use efficiency of the buffer is increased. As a result, the required buffer amount is small.

【0008】受信バッファ格納手段2は、パケットを受
信バッファ3に格納すると、その格納番地とパケットの
入ってきた受信ポート番号とをアドレスフィルタ部4へ
教える。アドレスフィルタ部4は、この格納番地をもと
に受信バッファ3から送信元アドレスと送信先アドレス
のみを取り出してくる。アドレスフィルタ部4には図5
のようにアドレスとポート番号とからなるテーブルがあ
り、このテーブルを参照すれば、どのポートにどのアド
レスの機器が接続されているかが分かる。アドレスフィ
ルタ部4の主な処理のフローチャートを図6に示す。
When the packet is stored in the reception buffer 3, the reception buffer storage unit 2 informs the address filter unit 4 of the storage address and the reception port number where the packet has entered. The address filter unit 4 extracts only the source address and the destination address from the reception buffer 3 based on the storage address. FIG. 5 shows the address filter unit 4.
There is a table composed of an address and a port number as shown in the table. By referring to this table, it is possible to know which device of which address is connected to which port. FIG. 6 shows a flowchart of a main process of the address filter unit 4.

【0009】まず、前記テーブル内で送信元アドレスを
サーチし(#41)、見つからなかった場合は、そのア
ドレスと受信ポート番号をテーブルに新たに登録する
(#42)。送信元アドレスが見つかっても、ポート番
号がテーブルに登録されている受信ポート番号と異なる
場合には、機器が移動して接続ポートが変更されたと見
なされるので、受信ポート番号をポート番号のところに
再登録する(#43)。さらに、エージングなどのブリ
ッジのアドレス学習と同等の処理を行う。次に、送信先
アドレスがテーブルにあるかをサーチする(#44)。
送信先アドレスが見つからなかったときは、どこのポー
トにパケットを送信するかを特定できないので、受信ポ
ートを除く全ポートを送信先とする(#45)。送信先
アドレスが見つかったときは、そのポート番号と受信ポ
ート番号とを比較し(#46)、異なるときにはそのポ
ート番号を送信先とする(#47)。ポート番号と受信
ポート番号とが一致する場合は、同一セグメント上での
通信であり、他のポートへ送る必要がないので、そのパ
ケットを受信バッファ3から削除し、廃棄する(#4
8)。
First, a search is made for a source address in the table (# 41), and if not found, the address and the receiving port number are newly registered in the table (# 42). Even if the source address is found, if the port number is different from the receiving port number registered in the table, it is assumed that the device has moved and the connection port has been changed, so the receiving port number should be replaced with the port number. Re-register (# 43). Further, processing equivalent to the address learning of the bridge such as aging is performed. Next, a search is made to see if the destination address is in the table (# 44).
If the destination address is not found, it is not possible to specify which port to send the packet to, so all ports except the receiving port are set as the destination (# 45). When the transmission destination address is found, the port number is compared with the reception port number (# 46), and when different, the port number is set as the transmission destination (# 47). When the port number matches the reception port number, the packet is deleted from the reception buffer 3 and discarded (# 4) because the communication is on the same segment and it is not necessary to send the packet to another port.
8).

【0010】アドレスフィルタ部4でパケットを廃棄し
た場合を除き、送信先ポートが確定すると、アドレスフ
ィルタ部4は、格納番地および送信先ポート番号を送信
バッファ格納手段5へ教える。送信バッファ格納手段5
は、送信先ポートのポート送信部6内のポート送信バッ
ファ61へ、受信バッファ3からパケットの内容を転送
する。ポート送信部6は、ポート送信バッファ61内の
パケットを、イーサネットのセグメントとのインターフ
ェースである送信部62を通じて送信する。
When the destination port is determined, except when the packet is discarded by the address filter unit 4, the address filter unit 4 informs the transmission buffer storage unit 5 of the storage address and the destination port number. Transmission buffer storage means 5
Transfers the contents of the packet from the reception buffer 3 to the port transmission buffer 61 in the port transmission unit 6 of the destination port. The port transmission unit 6 transmits the packet in the port transmission buffer 61 through a transmission unit 62 which is an interface with an Ethernet segment.

【0011】[0011]

【実施例】以下、本発明の様々な実施例について説明す
る。まず、図7は本発明の第1実施例の構成図である。
図1に示した基本構成では、受信データは全て一度受信
バッファ3へ格納される。しかし、ポートに接続された
1セグメント内での通信が多い場合、一度受信バッファ
3へ格納されたもののアドレスフィルタ部4で廃棄され
るパケットが多くなり、受信バッファ3の容量や、受信
バッファ格納手段2と受信バッファ3との間の帯域が無
駄に使われてしまう。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Various embodiments of the present invention will be described below. First, FIG. 7 is a configuration diagram of the first embodiment of the present invention.
In the basic configuration shown in FIG. 1, all the received data is stored in the receiving buffer 3 once. However, when there is a lot of communication within one segment connected to the port, the number of packets that are once stored in the reception buffer 3 but discarded by the address filter unit 4 increases, and the capacity of the reception buffer 3 and the reception buffer storage The band between 2 and the receiving buffer 3 is wasted.

【0012】そこで、本発明の第1実施例では、図7の
ように、ポート受信部1内にローカルアドレスフィルタ
13を設けた。これは、そのポートに接続されている端
末のアドレスのみをアドレステーブルとして持つアドレ
スフィルタであり、自ポート間でのパケットはこのロー
カルアドレスフィルタによって廃棄する。このローカル
アドレスフィルタは、後段での負荷の低減が目的である
ので、完全なフィルタリング処理をする必要がない。つ
まり、アドレステーブルを小さくしてもそれなりの効果
はある。例えば、アドレステーブルを1アドレス分に限
っても、ファイル転送のように同じ端末間での伝送が連
続される場合には、最初の1パケットは廃棄できない
が、後の連続するパケットは廃棄できるので、後段での
負荷の低減という目的は達成できる。この理由から、ロ
ーカルアドレスフィルタ13は安価に実現でき、受信バ
ッファ3の容量を低減でき、また、受信バッファ格納手
段2と受信バッファ3との間の帯域の効率を向上させる
ことができる。
Therefore, in the first embodiment of the present invention, a local address filter 13 is provided in the port receiver 1 as shown in FIG. This is an address filter having only an address of a terminal connected to the port as an address table, and a packet between the ports is discarded by the local address filter. Since the purpose of this local address filter is to reduce the load at the subsequent stage, it is not necessary to perform a complete filtering process. That is, even if the address table is made smaller, there is a certain effect. For example, even if the address table is limited to one address, if transmission between the same terminals is continued as in file transfer, the first one packet cannot be discarded, but the subsequent consecutive packets can be discarded. The purpose of reducing the load at the subsequent stage can be achieved. For this reason, the local address filter 13 can be realized at low cost, the capacity of the reception buffer 3 can be reduced, and the efficiency of the band between the reception buffer storage means 2 and the reception buffer 3 can be improved.

【0013】図8は本発明に対する比較例の構成図であ
る。上述のように、本発明では、受信バッファ3を装置
内で共有するところに1つの特徴があり、この特徴を生
かすためには受信バッファ3の構成が重要となる。図8
に示す比較例では、ポート受信バッファ12の容量を少
なくするために、パケットを図8のようにある固定長の
セルに分割して格納する。ポート受信バッファ12に
は、2セル分のバッファを用意しておく。1セル分が格
納されると、受信バッファ格納手段2は受信バッファ3
へセルを転送する。この方法では、パケットがまだ全部
受信されていないときにセル転送が開始されるので、パ
ケット長が分からない。しかし、受信バッファ3を最大
パケット長ごとにブロック化し、このブロック単位でパ
ケットを格納すれば、予めパケット長が分からなくても
転送が可能である。この方法は、ポートごとのポート受
信バッファ12が小さくて済み、かつパケットの受信中
に転送を開始できるので、処理遅延が小さくなるという
長所があるが、受信バッファ3を最大パケット長でブロ
ック化するので、受信バッファ3の使用効率が低下する
という短所がある。本発明はこの問題点を解決しようと
するものである。
FIG. 8 is a configuration diagram of a comparative example for the present invention. As described above, in the present invention, there is one feature in that the reception buffer 3 is shared in the apparatus, and the configuration of the reception buffer 3 is important to take advantage of this feature. FIG.
In the comparative example shown in (1), in order to reduce the capacity of the port reception buffer 12, a packet is divided and stored in a fixed length cell as shown in FIG. A buffer for two cells is prepared in the port reception buffer 12. When one cell is stored, the reception buffer storage means 2 stores the reception buffer 3
Transfer the cell to In this method, cell transfer is started when all packets have not been received yet, so that the packet length is unknown. However, if the reception buffer 3 is divided into blocks for each maximum packet length and packets are stored in units of this block, transfer is possible without knowing the packet length in advance. This method has the advantage that the port reception buffer 12 for each port is small and the transfer can be started during the reception of the packet, so that the processing delay is reduced. However, the reception buffer 3 is blocked by the maximum packet length. Therefore, there is a disadvantage that the use efficiency of the reception buffer 3 is reduced. The present invention seeks to solve this problem
Is what you do.

【0014】図9は本発明の第実施例の構成図であ
る。本実施例では、受信バッファ3の使用効率を向上さ
せるために、ポート受信バッファ12として最大パケッ
ト長2パケット分を用意する。パケットが1パケット全
部受信されると、受信バッファ格納手段2は、図9のよ
うにそのパケット長分だけ受信バッファ3を確保してパ
ケットを転送する。この方法では、受信バッファ3の使
用効率が向上するという長所があるが、ポートごとのポ
ート受信バッファ12が大きくなり、かつパケットの受
信が完了するまで転送を開始できないので、処理遅延が
大きくなるという短所がある。
FIG. 9 is a block diagram of a second embodiment of the present invention. In the present embodiment, in order to improve the use efficiency of the reception buffer 3, a maximum packet length of 2 packets is prepared as the port reception buffer 12. When one packet is completely received, the receiving buffer storage unit 2 secures the receiving buffer 3 for the packet length as shown in FIG. 9 and transfers the packet. This method has the advantage that the use efficiency of the reception buffer 3 is improved, but the port reception buffer 12 for each port becomes large, and transfer cannot be started until packet reception is completed, so that processing delay increases. There are disadvantages.

【0015】そこで、セル転送でありながら、受信バッ
ファ3の使用効率を大きくできるようにしたのが図10
に示す第実施例である。この実施例では、受信バッフ
ァ3をセル単位で区切り、各セルをリスト構造で構成す
る。例えば、第1のポートで受信されたパケットは1番
地と4番地に格納されており、第2のポートで受信され
たパケットは2番地と5番地、7番地、9番地に格納さ
れており、第3のポートで受信されたパケットは3番地
と6番地、8番地に格納されている。このようなリスト
構造で受信バッファ3を実現することにより、セル単位
での格納が可能となり、受信バッファ3の使用効率が向
上する。
FIG. 10 shows that the use efficiency of the reception buffer 3 can be increased in spite of the cell transfer.
This is a third embodiment shown in FIG. In this embodiment, the reception buffer 3 is divided in units of cells, and each cell has a list structure. For example, packets received at the first port are stored at addresses 1 and 4, and packets received at the second port are stored at addresses 2 and 5, 7, and 9; Packets received at the third port are stored at addresses 3, 6, and 8. By realizing the reception buffer 3 with such a list structure, data can be stored in units of cells, and the use efficiency of the reception buffer 3 is improved.

【0016】本実施例における受信バッファ3の詳細な
構造を図11に示す。セル・バッファ31は実際のパケ
ットをセル化した内容を格納するCELL部と、次のセ
ルへのポインタを格納するPNEXT部とから構成され
る。空きのセル・バッファ31へのポインタをポインタ
・テーブル32に格納する。ポインタ・テーブル32は
リングバッファ構成になっていて、開始位置BEGIN
から終了位置ENDまでのテーブルが有効である。ポイ
ンタ・テーブル32のPHEADは、空いているセルの
先頭を指している。
FIG. 11 shows a detailed structure of the receiving buffer 3 in this embodiment. The cell buffer 31 is composed of a CELL unit for storing the contents of an actual packet formed into cells, and a PNEXT unit for storing a pointer to the next cell. The pointer to the empty cell buffer 31 is stored in the pointer table 32. The pointer table 32 has a ring buffer configuration and has a start position BEGIN.
From the end position END to the end position END are valid. PHEAD of the pointer table 32 points to the head of an empty cell.

【0017】受信バッファ格納手段2による処理を図1
2に示す。受信バッファ格納手段2では、ポート受信バ
ッファ12から受信バッファ3へパケットをセル化し
て、格納していく。パケットが格納されるまでの受信バ
ッファ3の初期状態は図13のようになっているものと
する。まず、ポインタ・テーブル32から空いているセ
ル・バッファ31の先頭番地iを読み出すと共に、テー
ブルの開始位置BEGINを1つインクリメントし、テ
ーブルから読み出したi番地のCELL部へポート受信
バッファ12から1セル分転送する。1セル分転送後の
受信バッファ3の状態は図14のようになり、i番地の
CELL部には、CELL1が転送されている。i番地
のCELL部に続くPNEXT部には次のセルの番地j
があるので、再びこの番地jのCELL部へポート受信
バッファ12から1セル分転送する。これにより、j番
地のCELL部には、図15のようにCELL2が転送
される。j番地のCELL部に続くPNEXT部には次
のセルの番地kがあるので、再びこの番地kのCELL
部へポート受信バッファ12から1セル分転送する。こ
れにより、k番地のCELL部には、図15のようにC
ELL3が転送される。このk番地のCELL部に続く
PNEXT部には次のセルの番地が無い。この状態を図
ではNILと表記している。このように、途中でPNE
XT部の内容がNILになると、もうこれ以上セルのリ
ストが無いということなので、ポインタテーブル32か
ら、新たなPHEADを読み出し、そこでPNEXT部
を接続し直して残りの部分を転送していく。図15で
は、ポインタ・テーブル32の開始位置BEGINのP
HEAD部には、m番地が書かれているので、新たにm
番地からリストが追加される。このリストを追加した様
子を図16に示す。1パケット分のセルが全て転送を完
了したときに、PNEXT部がNILであれば丁度セル
のリストを使い切ったことになる。しかし、まだ次のリ
ストが残っている場合は残りの部分を空きセルとして使
えるようにする必要があるので、図17のように残りの
部分(ここでは、m番地のCELL部に続くPNEXT
部がn番地を指しているので、このn番地以降の部分)
をポインタ・テーブル32に追加し、ポインタ・テーブ
ル32の終了位置ENDを1つインクリメントする。ポ
ート送信バッファ61へ転送後に、受信バッファ3を空
きにするには、このセルの先頭番地をポインタ・テーブ
ル32へ登録するだけでよい。
FIG. 1 shows the processing by the reception buffer storage means 2.
It is shown in FIG. The reception buffer storage unit 2 stores the packets from the port reception buffer 12 into cells in the reception buffer 3. It is assumed that the initial state of the reception buffer 3 until the packet is stored is as shown in FIG. First, the start address i of the vacant cell buffer 31 is read from the pointer table 32, the start position BEGIN of the table is incremented by one, and one cell from the port reception buffer 12 is transferred to the CELL part of the address i read from the table. Minutes. The state of the receiving buffer 3 after the transfer of one cell is as shown in FIG. 14, and the cell 1 at the address i is transferred to the cell. The PNEXT part following the CELL part of the i-th address is the address j of the next cell.
Therefore, one cell is transferred from the port receiving buffer 12 to the cell at the address j again. As a result, CELL2 is transferred to the cell portion at address j as shown in FIG. In the PNEXT part following the cell part at address j, there is an address k of the next cell.
The transfer is performed for one cell from the port reception buffer 12 to the unit. As a result, as shown in FIG.
ELL3 is transferred. The PNEXT part following the CELL part at the k address has no address of the next cell. This state is described as NIL in the figure. Thus, PNE on the way
When the contents of the XT section become NIL, there is no more cell list, so a new PHEAD is read from the pointer table 32, and the PNEXT section is reconnected and the remaining part is transferred. In FIG. 15, P at the start position BEGIN of the pointer table 32 is shown.
Since the address m is written in the HEAD section, m
The list is added from the address. FIG. 16 shows a state in which this list is added. If the PNEXT part is NIL when the transfer of all the cells for one packet is completed, the cell list has just been used up. However, if the next list still remains, it is necessary to make the remaining part usable as an empty cell. Therefore, as shown in FIG. 17, the remaining part (here, PNEXT following the cell part at address m) is used.
Since the part points to address n, the part after address n)
Is added to the pointer table 32, and the end position END of the pointer table 32 is incremented by one. After the transfer to the port transmission buffer 61, in order to empty the reception buffer 3, it is only necessary to register the head address of this cell in the pointer table 32.

【0018】以上、この方法では、リスト構造の取り扱
いが複雑になり、次のセルの番地を格納するメモリが余
分に必要であるが、予めパケット長を知る必要がなく、
最大でも1パケットあたり1セル分のバッファを無駄に
するだけで、効率良く受信バッファ3を使用することが
できる。
As described above, in this method, the handling of the list structure becomes complicated, and an extra memory for storing the address of the next cell is required. However, it is not necessary to know the packet length in advance.
The reception buffer 3 can be used efficiently by wasting only one cell buffer per packet at most.

【0019】上述の方式では、各ポート受信部1は、パ
ケットの受信がある度に、また、一つのパケットがリス
ト構造のバッファに収まりきらない場合に、逐次、受信
バッファ格納手段2と受信バッファ3からセルアドレス
を獲得する。このため、取り込むために費やす時間が長
くなり、実際のデータ転送に費やす時間が少なくなる。
そこで、請求項の発明によれば、図18に示すよう
に、各ポート受信部1に、セル化した受信バッファの受
信バッファセルアドレスを複数格納しておくための受信
バッファリスト格納部14を設けている。この場合、受
信バッファ3の構成は、図19に示すようになる。図1
9に示された受信バッファは、上述のセル・バッファ3
1とポインタ・テーブル32のほかに、受信バッファリ
スト残数のカウントデータ部33を有している。セル・
バッファ31は、実際のパケットをセル化した受信デー
タを格納するCELL部と、次のセルへのポインタ(リ
ンクセルアドレス)を格納するPNEXT部とから構成
されており、各々に0,1,2,…,k−1,kという
受信データバッファセルアドレスが与えられている。ま
た、ポインタ・テーブル32には、セル化した受信デー
タの先頭ポインタPHEADを示す受信データバッファ
セルアドレスが格納されている。そして、このポインタ
・テーブル32の空きを示す受信バッファリスト残数が
カウントデータ部33に格納されている。
In the above-described system, each time the port receiving unit 1 receives a packet, or when one packet does not fit in the buffer having the list structure, the port receiving unit 1 sequentially stores the received buffer in the receiving buffer storage unit 2. 3 to obtain the cell address. For this reason, the time spent for capturing is increased, and the time spent for actual data transfer is reduced.
Therefore, according to the third aspect of the present invention, as shown in FIG. 18, a reception buffer list storage unit 14 for storing a plurality of reception buffer cell addresses of cellized reception buffers in each port reception unit 1 is provided. Provided. In this case, the configuration of the reception buffer 3 is as shown in FIG. FIG.
The reception buffer shown in FIG.
In addition to 1 and the pointer table 32, a count data section 33 of the remaining number of the reception buffer list is provided. cell·
The buffer 31 includes a CELL unit for storing received data obtained by converting actual packets into cells, and a PNEXT unit for storing a pointer (link cell address) to the next cell. ,..., K−1, k are provided. Further, the pointer table 32 stores a reception data buffer cell address indicating a head pointer PHEAD of the cellized reception data. The remaining number of the reception buffer list indicating the vacancy of the pointer table 32 is stored in the count data section 33.

【0020】次に、ポート受信部1と受信バッファ格納
手段2の間の交信の様子を図20に示す。ポート受信部
1では、受信バッファリスト格納部14に受信バッファ
アドレスが或る一定のアドレス数を蓄えているかをチェ
ックする。一定の数より少ない場合には、受信バッファ
格納手段2に対してアドレスを獲得要求する。受信バッ
ファ格納手段2はポート受信部1に許可を与える。ポー
ト受信部1は受信バッファリストの残数を受信バッファ
3から取り込み、受信バッファアドレスリストが残って
いるか否かを確認する。受信バッファリストの残数があ
れば、ポインタ・テーブル32に形成された受信バッフ
ァアドレスリストから受信バッファアドレスを取り込
み、ポート受信部1の受信バッファリスト格納部14に
記憶させる。受信バッファリストの残数から差し引いて
取り込んだ数を、受信バッファ3に戻す。ポート受信部
1でパケットを受信したならば、パケットをセル化し
て、予め受信バッファリスト格納部14に取り込んだ受
信データバッファアドレスをもとに、受信バッファ3に
セル化したデータを転送する。
Next, the state of communication between the port receiving section 1 and the receiving buffer storage means 2 is shown in FIG. The port receiving unit 1 checks whether the receiving buffer address stores a certain fixed number of addresses in the receiving buffer list storage unit 14. If the number is less than the predetermined number, a request is made to the reception buffer storage means 2 to acquire an address. The receiving buffer storage unit 2 gives permission to the port receiving unit 1. The port receiving unit 1 captures the remaining number of the reception buffer list from the reception buffer 3 and checks whether or not the reception buffer address list remains. If there is a remaining number in the reception buffer list, the reception buffer address is fetched from the reception buffer address list formed in the pointer table 32 and stored in the reception buffer list storage unit 14 of the port reception unit 1. The number obtained by subtracting from the remaining number in the reception buffer list is returned to the reception buffer 3. When the packet is received by the port receiving unit 1, the packet is converted into a cell, and the cellized data is transferred to the reception buffer 3 based on the reception data buffer address previously stored in the reception buffer list storage unit 14.

【0021】本実施例の受信データバッファであるセル
・バッファ31は、上述のように、セル化したリスト構
造を有しており、一つのリストに収まらないパケットが
来たならば、次のリストをつなぎ格納する構成である。
この一つのリストに収まらないときに、受信バッファリ
スト格納部14に予め一定の受信データセルアドレスを
持っているので、ここから次のバッファリストに格納す
る。その具体的な手順を図20及び図21に示す。ポー
ト受信部1の受信バッファリスト格納部14は、セル・
バッファ31における受信データバッファセルアドレス
を示す。受信バッファリストの残数は、ポインタ・テー
ブル32のオフセット値とする。ポート受信部1の受信
バッファリスト格納部14は最初は空なので、受信バッ
ファ格納手段2に対して受信バッファリスト残数を読み
出し、ポインタ・テーブル32にセルアドレスがあるか
否かを判別する。セルアドレスがあるならば、2個のア
ドレス〔0,1〕を受信バッファリスト格納部14に取
り込む。受信バッファリスト残数に2を加え、次のアド
レスリストの位置を示す値に書き換える。
The cell buffer 31, which is the reception data buffer of the present embodiment, has a cell-structured list structure as described above, and if a packet that does not fit into one list comes, the next list Are connected and stored.
When the received data cell does not fit in this one list, it has a fixed received data cell address in the reception buffer list storage unit 14 in advance. 20 and 21 show the specific procedure. The reception buffer list storage unit 14 of the port reception unit 1 stores
3 shows a reception data buffer cell address in the buffer 31. The remaining number of the reception buffer list is an offset value of the pointer table 32. Since the reception buffer list storage unit 14 of the port reception unit 1 is initially empty, the remaining number of the reception buffer list is read from the reception buffer storage unit 2 to determine whether or not the pointer table 32 has a cell address. If there is a cell address, two addresses [0, 1] are taken into the reception buffer list storage unit 14. Add 2 to the remaining number of the reception buffer list and rewrite it to a value indicating the position of the next address list.

【0022】次に、セル化したときに例えば6セル分の
大きさのパケットを受信したときに、ポート受信部1は
受信バッファリスト格納部14から受信データバッファ
セルアドレスにセル化したデータを書き込む。最初に指
定されたアドレスは0であるので、アドレス0からのC
ELL部にセル化した受信データを書き込み、リンクセ
ルアドレス(PNEXT部)を読む。すると、次のアド
レスiが指定されているので、次に、アドレスiからの
CELL部にセル化した受信データを書き込み、リンク
セルアドレス(PNEXT部)を読む。すると、次のア
ドレスiiが指定されているので、次に、アドレスii
からのCELL部にセル化した受信データを書き込み、
リンクセルアドレス(PNEXT部)を読む。すると、
今度は続くリンクアドレスが無い(Nil)と記録され
ているので、受信バッファリスト格納部14から、次の
受信データバッファセルアドレス(=1)を読み込み、
受信データバッファのアドレスiiのCELL部に続く
リンクセルアドレス(PNEXT部)をNilからアド
レス1に書き換えて、アドレス1からのCELL部にセ
ル化した受信データを書き込み、リンクセルアドレス
(PNEXT部)を読む。すると、次のアドレスjが指
定されているので、次に、アドレスjからのCELL部
にセル化した受信データを書き込み、リンクセルアドレ
ス(PNEXT部)を読む。すると、次のアドレスjj
が指定されているので、次に、アドレスjjからのCE
LL部にセル化した受信データを書き込み、リンクセル
アドレス(PNEXT部)を読む。すると、今度は続く
リンクアドレスが無い(Nil)と記録されているの
で、丁度6セル分のリスト形式のデータバッファを使い
切ったことになる。
Next, when a packet having a size of, for example, six cells is received when the cell is formed, the port receiver 1 writes the cellized data from the reception buffer list storage 14 to the reception data buffer cell address. . Since the first specified address is 0, C from address 0
The cellized received data is written in the ELL section, and the link cell address (PNEXT section) is read. Then, since the next address i is specified, next, the cellized received data is written into the CELL part from the address i, and the link cell address (PNEXT part) is read. Then, since the next address ii is specified, next, the address ii
Write the cellized received data to the CELL section from
Read the link cell address (PNEXT part). Then
Since it is recorded that there is no subsequent link address (Nil), the next reception data buffer cell address (= 1) is read from the reception buffer list storage unit 14, and
The link cell address (PNEXT section) following the CELL section of the address ii of the reception data buffer is rewritten from Nil to address 1, the cellized reception data is written in the CELL section from address 1, and the link cell address (PNEXT section) is written. Read. Then, since the next address j is specified, next, the cellized received data is written into the CELL part from the address j, and the link cell address (PNEXT part) is read. Then, the next address jj
Is specified, next, CE from address jj
The cellized received data is written in the LL section, and the link cell address (PNEXT section) is read. Then, since it is recorded that there is no subsequent link address (Nil), it means that the list-format data buffer for exactly 6 cells has been used up.

【0023】なお、ポート受信部1と受信バッファ格納
手段2の間の交信の様子を時間軸上で示すと、前の実施
例では、受信バッファのアドレスを取り込むために、図
22に示すように、獲得要求フェーズ、アドレスフェー
ズ、データフェーズ、獲得解放フェーズが必要であった
が、本実施例の方式では、図23に示すように、一度に
受信バッファリストアドレスのN個の受信バッファセル
アドレスを取り込むため、N回実行すると、(N−1)
回分の獲得要求フェーズ、アドレスフェーズ、獲得解放
フェーズを省略できるので、全体として交信時間が短く
なる。つまり、受信バッファ3のアクセス回数を減少で
き、各ポート受信部1が受信バッファ格納手段2とデー
タ転送を行う実行時間が短くなる。
The state of communication between the port receiving unit 1 and the receiving buffer storage means 2 is shown on the time axis. In the previous embodiment, in order to take in the address of the receiving buffer, as shown in FIG. , An acquisition request phase, an address phase, a data phase, and an acquisition release phase are required. However, according to the method of the present embodiment, as shown in FIG. If it is executed N times to capture, (N-1)
Since the acquisition request phase, the address phase, and the acquisition release phase can be omitted, the communication time is shortened as a whole. That is, the number of accesses to the reception buffer 3 can be reduced, and the execution time for each port reception unit 1 to perform data transfer with the reception buffer storage unit 2 is shortened.

【0024】[0024]

【発明の効果】請求項1〜4の発明によれば、イーサネ
ットの各セグメントのポートからの受信データを格納す
る受信バッファおよびどのポートへ送信するかを決める
アドレスフィルタ部を機器全体で共有することにより、
安価なイーサネットのスイッチング装置を提供できると
いう効果がある。
According to the first to fourth aspects of the present invention, a reception buffer for storing data received from a port of each segment of the Ethernet and an address filter unit for deciding which port to transmit to are shared by the entire equipment. By
There is an effect that an inexpensive Ethernet switching device can be provided.

【0025】また、請求項の発明によれば、パケット
が1パケット全部受信されると、受信バッファ格納手段
は、そのパケット長分だけ受信バッファを確保してパケ
ットを転送するので、受信バッファの使用効率が向上す
るという効果がある。
Further, according to the invention of claim 1, when a packet is received entirely one packet, the receiving buffer storage means, so forwards the packet to secure the receive buffer by that packet length, the reception buffer There is an effect that the use efficiency is improved.

【0026】なお、受信バッファを図8の比較例のよう
一定パケット長ごとにブロック化し、このブロック単
位でパケットを格納すれば、予めパケット長が分からな
くても転送が可能であり、ポートごとのポート受信バッ
ファが小さくて済み、かつパケットの受信中に転送を開
始できるので、処理遅延を小さくできるが、本発明で
は、共有される受信バッファの使用効率の方を重視して
いるものである。
[0026] Incidentally, as in the comparative example of FIG. 8 receive buffer
If the packet is stored in units of a fixed packet length and the packets are stored in units of blocks, it is possible to transfer the packet even if the packet length is not known in advance. since it begins forwarding, but can reduce the processing delay, in the present invention
Focuses more on the efficiency of using shared receive buffers
Is what it is.

【0027】請求項の発明によれば、受信バッファを
一定長のブロックから構成されるリスト構造とし、受信
バッファ格納手段においてパケットを一定の固定長に分
割してリスト構造の受信バッファへ格納するようにした
ので、予めパケット長を知る必要がなく、最大でも1パ
ケットあたり1セル分のバッファを無駄にするだけで、
効率良く受信バッファを使用することができるという効
果がある。
According to the second aspect of the present invention, the reception buffer has a list structure composed of blocks of a fixed length, and the reception buffer storing means divides the packet into fixed fixed lengths and stores the packets in the reception buffer having the list structure. As a result, there is no need to know the packet length in advance.
There is an effect that the reception buffer can be used efficiently.

【0028】請求項の発明によれば、一度に多くの受
信データバッファセルアドレスをポート受信部に取り込
んでおくことにより、リスト構造のバッファに収まらな
いパケットのリスト化を速く処理することが可能となる
という効果がある。また、受信バッファのアクセスの回
数が減少でき、各ポート受信部が受信バッファ格納手段
とやりとりする実行時間が短くなるという効果がある。
According to the third aspect of the present invention, by fetching a large number of received data buffer cell addresses at once into the port receiving section, it is possible to quickly process a list of packets that cannot be stored in the buffer having the list structure. This has the effect of becoming Further, the number of times of access to the reception buffer can be reduced, and there is an effect that the execution time in which each port receiving unit communicates with the reception buffer storage unit is shortened.

【0029】請求項の発明によれば、同一セグメント
内でのパケットはローカルアドレスフィルタリング手段
によって廃棄できるので、受信バッファの容量を小さく
できると共に、受信バッファ格納手段と受信バッファと
の間の帯域の効率を向上させることができるという効果
がある。
According to the fourth aspect of the present invention, the packets in the same segment can be discarded by the local address filtering means, so that the capacity of the reception buffer can be reduced and the bandwidth between the reception buffer storage means and the reception buffer can be reduced. There is an effect that efficiency can be improved.

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

【図1】本発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】イーサネットにおける同時送信による衝突の様
子を示す説明図である。
FIG. 2 is an explanatory diagram showing a state of collision due to simultaneous transmission in Ethernet.

【図3】イーサネットにおけるスイッチング装置の原理
を示す説明図である。
FIG. 3 is an explanatory diagram showing the principle of a switching device in Ethernet.

【図4】イーサネットにおける従来のスイッチング装置
のブロック図である。
FIG. 4 is a block diagram of a conventional switching device in Ethernet.

【図5】本発明に用いるアドレステーブルの構成を示す
図である。
FIG. 5 is a diagram showing a configuration of an address table used in the present invention.

【図6】本発明に用いるアドレスフィルタ部の処理内容
を示す流れ図である。
FIG. 6 is a flowchart showing processing contents of an address filter unit used in the present invention.

【図7】本発明の第1実施例の構成を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating a configuration of a first exemplary embodiment of the present invention.

【図8】本発明に対する比較例の構成を示すブロック図
である。
FIG. 8 is a block diagram showing a configuration of a comparative example for the present invention.

【図9】本発明の第実施例の構成を示すブロック図で
ある。
FIG. 9 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図10】本発明の第実施例の構成を示すブロック図
である。
FIG. 10 is a block diagram showing a configuration of a third embodiment of the present invention.

【図11】本発明の第実施例の受信バッファの構成を
示す図である。
FIG. 11 is a diagram illustrating a configuration of a reception buffer according to a third embodiment of the present invention.

【図12】本発明の第実施例の受信バッファへの格納
処理を示す流れ図である。
FIG. 12 is a flowchart showing a process of storing data in a reception buffer according to a third embodiment of the present invention.

【図13】本発明の第実施例の受信バッファの初期状
態を示す説明図である。
FIG. 13 is an explanatory diagram showing an initial state of a reception buffer according to a third embodiment of the present invention.

【図14】本発明の第実施例の受信バッファの第2の
状態を示す説明図である。
FIG. 14 is an explanatory diagram illustrating a second state of the reception buffer according to the third embodiment of this invention.

【図15】本発明の第実施例の受信バッファの第3の
状態を示す説明図である。
FIG. 15 is an explanatory diagram illustrating a third state of the reception buffer according to the third embodiment of this invention.

【図16】本発明の第実施例の受信バッファの第4の
状態を示す説明図である。
FIG. 16 is an explanatory diagram illustrating a fourth state of the reception buffer according to the third embodiment of this invention.

【図17】本発明の第実施例の受信バッファの第5の
状態を示す説明図である。
FIG. 17 is an explanatory diagram illustrating a fifth state of the reception buffer according to the third embodiment of this invention.

【図18】本発明の第実施例の構成を示すブロック図
である。
FIG. 18 is a block diagram showing a configuration of a fourth embodiment of the present invention.

【図19】本発明の第実施例の受信バッファの構成を
示す説明図である。
FIG. 19 is an explanatory diagram illustrating a configuration of a reception buffer according to a fourth embodiment of the present invention.

【図20】本発明の第実施例のポート受信部と受信バ
ッファ格納手段の間の交信の様子を示す説明図である。
FIG. 20 is an explanatory diagram showing a state of communication between a port receiving unit and a receiving buffer storage unit according to a fourth embodiment of the present invention.

【図21】本発明の第実施例の受信バッファへの格納
処理を示す説明図である。
FIG. 21 is an explanatory diagram showing a process of storing data in a reception buffer according to a fourth embodiment of the present invention.

【図22】本発明の第実施例におけるポート受信部と
受信バッファ格納手段の間の交信フォーマットを示す説
明図である。
FIG. 22 is an explanatory diagram showing a communication format between a port receiving unit and a receiving buffer storage unit according to a third embodiment of the present invention.

【図23】本発明の第実施例におけるポート受信部と
受信バッファ格納手段の間の交信フォーマットを示す説
明図である。
FIG. 23 is an explanatory diagram showing a communication format between a port receiving unit and a receiving buffer storage unit according to a fourth embodiment of the present invention.

フロントページの続き (56)参考文献 特開 平8−265341(JP,A) 特開 平8−18571(JP,A) 特開 平7−336379(JP,A) 特開 平7−202905(JP,A) 特開 平7−87100(JP,A) 特開 平4−320128(JP,A) 特開 平4−175034(JP,A) 特開 平4−68934(JP,A) 特開 昭62−97490(JP,A) 特開 昭62−32797(JP,A) 米国特許5784373(US,A) 電子情報通信学会論文誌 B−▲I▼ Vol.J72−B−▲I▼,No. 11,1989,北村春夫「共通バッファ形A TM交換スイッチの一考察」,page s.1070−1075 電子情報通信学会技術研究報告,IN 88−120,北村春夫,「共通バッファ形 ATM交換スイッチの検討」,page s.19−23 電子情報通信学会技術研究報告,SS E90−35,山中秀昭 他「分割共通バッ ファ型ATMスイッチ」,pages. 25−30 松下電工技報 No.56,Sep. 1996,大野正己 他,「イージーマウン ト型マスター・スレーブHUBの開 発」,pages.3−8 松下電工技報 No.49,Dec. 1994,小川温雄 他,「ビル内情報配線 システムの動向」,pages.51−57 (58)調査した分野(Int.Cl.6,DB名) H04L 12/28 H04L 12/56 G06F 12/00 JICSTファイル(JOIS) WPI(DIALOG)Continuation of the front page (56) References JP-A-8-265341 (JP, A) JP-A-8-18571 (JP, A) JP-A-7-336379 (JP, A) JP-A-7-202905 (JP) JP-A-7-87100 (JP, A) JP-A-4-320128 (JP, A) JP-A-4-175034 (JP, A) JP-A-4-68934 (JP, A) 62-97490 (JP, A) JP-A-62-32797 (JP, A) U.S. Pat. No. 5,784,373 (US, A) Transactions of the Institute of Electronics, Information and Communication Engineers B-I Vol. J72-B-I, No. 11, 1989, Haruo Kitamura, "A Consideration of ATM Switch with Common Buffer Type", page s. 1070-1075 IEICE technical report, IN 88-120, Haruo Kitamura, "Study of common buffer type ATM exchange switch", page s. 19-23 IEICE Technical Report, SSE 90-35, Yamanaka Hideaki, et al. "Split Common Buffer ATM Switch", pages. 25-30 Matsushita Electric Works Technical Report No. 56, Sep. 1996, Masami Ohno et al., "Development of Easy Mount Type Master / Slave HUB", pages. 3-8 Matsushita Electric Works Technical Report No. 49, Dec. 1994, Atsushi Ogawa et al., "Trends in Information Wiring Systems in Buildings", pages. 51-57 (58) Field surveyed (Int. Cl. 6 , DB name) H04L 12/28 H04L 12/56 G06F 12/00 JICST file (JOIS) WPI (DIALOG)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 イーサネットのセグメントに接続され
パケットを受信してバッファリングするポート受信部
と、複数のポート受信部からのパケットを受信バッファ
へ格納しその格納番地をアドレスフィルタ部へ伝達する
受信バッファ格納手段と、受信バッファ格納手段によっ
て受信パケットを格納する受信バッファと、受信バッフ
ァ格納手段から伝達されてきた格納番地情報を元に受信
バッファから受信パケットの送信元アドレスと送信先ア
ドレスとを読み取りパケットの送信先ポートを判定して
パケットの格納アドレスと送信先ポートを送信バッファ
格納手段へ伝達するアドレスフィルタ部と、アドレスフ
ィルタ部からのパケット格納番地と送信先ポート情報を
元に受信バッファから該パケットが送信されるべき送信
ポートのポート送信部のポート送信バッファヘ受信バッ
ファから該パケットを転送する送信バッファ格納手段
と、ポート送信バッファ内のデータを送信するイーサネ
ットのセグメントに接続されたポート送信部とから構成
されるLANのスイッチング装置であって、受信バッフ
ァ格納手段において、ポート受信部内のバッファからパ
ケット長の情報を得て、その情報から必要な分の受信バ
ッファ量を判定して、受信バッファへパケットを格納す
る手段を設けたことを特徴とするLANのスイッチング
装置。
1. A port receiving unit connected to an Ethernet segment for receiving and buffering packets, a receiving buffer storing packets from a plurality of port receiving units in a receiving buffer, and transmitting the storage address to an address filter unit. A storage unit, a reception buffer for storing the reception packet by the reception buffer storage unit, and a source address and a destination address of the reception packet read from the reception buffer based on the storage address information transmitted from the reception buffer storage unit. An address filter unit that determines the destination port of the packet and transmits the storage address of the packet and the destination port to the transmission buffer storage means; and stores the packet from the reception buffer based on the packet storage address and the destination port information from the address filter unit. Of the transmission port of the transmission port to which the A transmission buffer storing means for transferring the packet from the reception buffer to the port transmission buffer, and a port transmission unit connected to an Ethernet segment for transmitting data in the port transmission buffer.
Switching device for a LAN , comprising a receiving buffer
In the buffer storing means, the buffer in the port receiving unit is
Obtain information on the length of the packet and receive
Determine the buffer amount and store the packet in the receive buffer.
A switching device for a LAN.
【請求項2】 イーサネットのセグメントに接続され
パケットを受信してバッファリングするポート受信部
と、複数のポート受信部からのパケットを受信バッファ
へ格納しその格納番地をアドレスフィルタ部へ伝達する
受信バッファ格納手段と、受信バッファ格納手段によっ
て受信パケットを格納する受信バッファと、受信バッフ
ァ格納手段から伝達されてきた格納番地情報を元に受信
バッファから受信パケットの送信元アドレスと送信先ア
ドレスとを読み取りパケットの送信先ポートを判定して
パケットの格納アドレスと送信先ポートを送信バッファ
格納手段へ伝達するアドレスフィルタ部と、アドレスフ
ィルタ部からのパケット格納番地と送信先ポート情報を
元に受信バッファから該パケットが送信されるべき送信
ポートのポート送信部のポート送信バッファヘ受信バッ
ファから該パケットを転送する送信バッファ格納手段
と、ポート送信バッファ内のデータを送信するイーサネ
ットのセグメントに接続されたポート送信部とから構成
されるLANのスイッチング装置であって、受信バッフ
ァを一定長のブロックから構成されるリスト構造とし、
受信バッファ格納手段においてパケットを一定の固定長
に分割してリスト構造の受信バッファへ格納する手段を
設け、送信バッファ格納手段にリスト構造の受信バッフ
ァからパケットを取り出す手段を設けたことを特徴とす
LANのスイッチング装置。
2. A port receiving unit connected to an Ethernet segment for receiving and buffering packets, and a receiving buffer for storing packets from a plurality of port receiving units in a receiving buffer and transmitting the storage addresses to an address filter unit. A storage unit, a reception buffer for storing the reception packet by the reception buffer storage unit, and a source address and a destination address of the reception packet read from the reception buffer based on the storage address information transmitted from the reception buffer storage unit. An address filter unit that determines the destination port of the packet and transmits the storage address of the packet and the destination port to the transmission buffer storage means; and stores the packet from the reception buffer based on the packet storage address and the destination port information from the address filter unit. Of the transmission port of the transmission port to which the A transmission buffer storing means for transferring the packet from the reception buffer to the port transmission buffer, and a port transmission unit connected to an Ethernet segment for transmitting data in the port transmission buffer.
Switching device for a LAN , comprising a receiving buffer
Is a list structure composed of blocks of a certain length,
A fixed fixed length packet in the receiving buffer storage means
And store it in a list-structured receive buffer.
And a list-structured reception buffer in the transmission buffer storage means.
Means for extracting packets from the
LAN switching devices that.
【請求項3】 ポート受信部に、セル化した受信バッ
ファの受信バッファセルアドレスを複数格納しておく受
信バッファリスト格納部を設けたことを特徴とする請求
記載のLANのスイッチング装置。
3. The LAN switching device according to claim 2 , wherein the port receiving unit is provided with a receiving buffer list storing unit for storing a plurality of receiving buffer cell addresses of the cellized receiving buffer.
【請求項4】 ポート受信部において、そのポートに
接続されたセグメント内でのパケット通信か否かを判定
し、セグメント内での通信であったときに該パケットを
廃棄するローカルアドレスフィルタリング手段を設けた
ことを特徴とする請求項1乃至3のいずれかに記載のL
ANのスイッチング装置。
4. A local address filtering means for judging whether or not packet communication is performed within a segment connected to the port and discarding the packet when communication is performed within the segment is provided in the port receiving section. L according to any one of claims 1 to 3, wherein
AN switching device.
JP27947795A 1995-02-23 1995-10-26 LAN switching device Expired - Fee Related JP2953362B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27947795A JP2953362B2 (en) 1995-02-23 1995-10-26 LAN switching device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP3574195 1995-02-23
JP7-35741 1995-02-23
JP27947795A JP2953362B2 (en) 1995-02-23 1995-10-26 LAN switching device

Publications (2)

Publication Number Publication Date
JPH08293875A JPH08293875A (en) 1996-11-05
JP2953362B2 true JP2953362B2 (en) 1999-09-27

Family

ID=26374733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27947795A Expired - Fee Related JP2953362B2 (en) 1995-02-23 1995-10-26 LAN switching device

Country Status (1)

Country Link
JP (1) JP2953362B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7224693B1 (en) * 2000-08-11 2007-05-29 Ericsson Ab Long packet handling

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
松下電工技報 No.49,Dec.1994,小川温雄 他,「ビル内情報配線システムの動向」,pages.51−57
松下電工技報 No.56,Sep.1996,大野正己 他,「イージーマウント型マスター・スレーブHUBの開発」,pages.3−8
電子情報通信学会技術研究報告,IN88−120,北村春夫,「共通バッファ形ATM交換スイッチの検討」,pages.19−23
電子情報通信学会技術研究報告,SSE90−35,山中秀昭 他「分割共通バッファ型ATMスイッチ」,pages.25−30
電子情報通信学会論文誌 B−▲I▼ Vol.J72−B−▲I▼,No.11,1989,北村春夫「共通バッファ形ATM交換スイッチの一考察」,pages.1070−1075

Also Published As

Publication number Publication date
JPH08293875A (en) 1996-11-05

Similar Documents

Publication Publication Date Title
US7515610B2 (en) Packet processing using a multi-port memory
EP2019360B1 (en) Data processing apparatus and data transfer method
US8352628B2 (en) Method for transferring data from a source target to a destination target, and corresponding network interface
KR950006565B1 (en) Communication control unit with lower layer protocol and higher layer protocol control
US6189053B1 (en) Communication control system utilizing a shared buffer managed by high and low level protocols
JPH0685842A (en) Communication equipment
JPH09224042A (en) Device and method for packeting and segmenting mpeg packet
US5784373A (en) Switching device for LAN
EP1508100A2 (en) Inter-chip processor control plane
JP4447137B2 (en) Packet transfer processing device
US6108694A (en) Memory disk sharing method and its implementing apparatus
JP2953362B2 (en) LAN switching device
JP2002366427A (en) Inter-processor communication system, and inter- processor communication method to be used for the system
US6301259B1 (en) Switch and switching method
JPH06125365A (en) Communication controller
US20020181456A1 (en) Switch device and data transfer system
JP2003289315A (en) Packet transfer apparatus and packet transfer method
JPH0974410A (en) Communication repeater
JP3008837B2 (en) LAN switching device
JP2848370B2 (en) Communication line monitoring device
JPS62221238A (en) Packet transfer processor
JP2003163702A (en) Network repeater
JPH0133981B2 (en)
JPH05130162A (en) Data transfer system
KR19980022445A (en) Emergency Message Transmission Control Method on Outgoing Network Interface

Legal Events

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

Free format text: PAYMENT UNTIL: 20070716

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 10

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees