JPH11317760A - Switching hub device and switching processing method therefor, and storage medium recorded with control program therefor - Google Patents

Switching hub device and switching processing method therefor, and storage medium recorded with control program therefor

Info

Publication number
JPH11317760A
JPH11317760A JP12440898A JP12440898A JPH11317760A JP H11317760 A JPH11317760 A JP H11317760A JP 12440898 A JP12440898 A JP 12440898A JP 12440898 A JP12440898 A JP 12440898A JP H11317760 A JPH11317760 A JP H11317760A
Authority
JP
Japan
Prior art keywords
packet
search
memory circuit
search memory
switching processing
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.)
Granted
Application number
JP12440898A
Other languages
Japanese (ja)
Other versions
JP3357980B2 (en
Inventor
Atsushi Tanaka
田中  敦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP12440898A priority Critical patent/JP3357980B2/en
Publication of JPH11317760A publication Critical patent/JPH11317760A/en
Application granted granted Critical
Publication of JP3357980B2 publication Critical patent/JP3357980B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a switching hub device which can improve switching performance by shortening the processing time needed to discard packets communicated between LAN terminals present in the same LAN segment. SOLUTION: Port (#1 to #n) transmission reception control circuits 17-1 to 17-n transfer received packets to a packet queue managing circuit 15. The packet queue managing circuit 15 extracts DA from the packets and transfers information on the data and reception port number to a search memory control circuit 12. The search memory control circuit 12 requests a search memory circuit 13 to retrieve only DA information and requests a search memory circuit 14 to perform retrieval using 'DA + port number'. The search memory control circuit 12 indicates the discarding of packets in response to matching state signals from the search memory circuits 13 and 14.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はスイッチング・ハブ
装置及びそのスイッチング処理方法並びにその制御プロ
グラムを記録した記録媒体に関し、特にイーサネット
(登録商標)と呼ばれるローカルエリアネットワークに
おいてスター型の接続形態を構成する集線装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching hub device, a switching processing method thereof, and a recording medium recording a control program therefor, and more particularly, to a star-type connection form in a local area network called Ethernet (registered trademark). It relates to a line concentrator.

【0002】[0002]

【従来の技術】従来、この種の集線装置としては、IE
EE802.3に代表されるCSMA/CD(Carr
ier Sense Multiple Access
/Colision Detection)方式のロー
カルエリアネットワーク(以下、LANとする)[通
常、イーサネット(Ethernet(登録商標))と
呼ばれる]において、スター型の接続形態(トポロジ)
を構成する集線装置[以下、ハブ(HUB)とする]が
ある。
2. Description of the Related Art Conventionally, this type of concentrator has been known as an IE.
CSMA / CD (Carr represented by EE802.3)
er Sense Multiple Access
/ Collision Detection) in a local area network (hereinafter, referred to as LAN) [usually called Ethernet (registered trademark)] in a star-type connection form (topology).
(Hereinafter referred to as a hub (HUB)).

【0003】このシステムとしては、図9に示すよう
に、複数のLANセグメント#1〜#4を1つのスイッ
チング・ハブ3で接続したものがある。ここで、想定す
るLANとしてはIEEE802.3に代表されるCS
MD/CD方式のLANで、10Mbpsの半二重の通
信速度を持つ。
As this system, there is a system in which a plurality of LAN segments # 1 to # 4 are connected by one switching hub 3, as shown in FIG. Here, the assumed LAN is a CS represented by IEEE802.3.
An MD / CD LAN with a half-duplex communication speed of 10 Mbps.

【0004】このシステムにおいて通信されるパケット
のフレームフォーマットは、図4に示すように、DA
(Destination Address:宛先アド
レス)(6オクテット)と、SA(Source Ad
dress:発信元アドレス)(6オクテット)と、T
YPE(フレームタイプ)(2オクテット)と、DAT
A(情報データ)(46〜1500オクテット)と、F
CS(Frame Check Sequence:チ
ェック用データ)(4オクテット)とからなる。
The frame format of a packet communicated in this system is, as shown in FIG.
(Destination Address: destination address) (6 octets) and SA (Source Ad)
dress: source address) (6 octets) and T
YPE (frame type) (2 octets) and DAT
A (information data) (46-1500 octets) and F
CS (Frame Check Sequence: check data) (4 octets).

【0005】スイッチング・ハブ3はLANセグメント
#1〜#4が接続されている各々のポートからパケット
を受信すると、各パケットのDAと、予め保持している
どのアドレスが何処のLANセグメント#1〜#4上に
存在するかの情報とを照らし合わせ、転送先のポートを
決定して各パケットを転送する。つまり、スイッチング
・ハブ3はパケットのスイッチングを実現する装置であ
る。
When the switching hub 3 receives a packet from each of the ports to which the LAN segments # 1 to # 4 are connected, the DA of each packet and the address previously held by the LAN segment # 1 to where are stored. The destination port is determined by referring to information on whether the packet exists on # 4, and each packet is transferred. That is, the switching hub 3 is a device that realizes packet switching.

【0006】スイッチング・ハブ3の1つのポートに接
続されかつ同一のLANセグメント#1〜#4内に存在
するLAN端末間、例えばLANセグメント#1内のL
AN端末41,42間での通信を想定する。
[0006] Between LAN terminals connected to one port of the switching hub 3 and existing in the same LAN segment # 1 to # 4, for example, L in LAN segment # 1
Communication between the AN terminals 41 and 42 is assumed.

【0007】LAN端末41からLAN端末42への通
信において、スイッチング・ハブ3はその時に通信され
るパケットを処理する必要は無い。しかしながら、スイ
ッチング・ハブ3はこの時のパケットを一旦受信した
後、そのDAを見て初めてスイッチングせずに廃棄すべ
きパケットと判断することになる。
In communication from the LAN terminal 41 to the LAN terminal 42, the switching hub 3 does not need to process a packet transmitted at that time. However, after receiving the packet at this time, the switching hub 3 judges the packet to be discarded without switching only by looking at the DA.

【0008】すなわち、スイッチング・ハブ3はパケッ
トの廃棄処理を図8に示すようにして行う。すなわち、
スイッチング・ハブ3はパケットを受信すると(図8ス
テップS11)、そのパケットからDAを抽出し(図8
ステップS12)、そのDAをサーチメモリに転送する
(図8ステップS13)。
That is, the switching hub 3 performs a packet discarding process as shown in FIG. That is,
Upon receiving the packet (step S11 in FIG. 8), the switching hub 3 extracts DA from the packet (FIG. 8).
In step S12, the DA is transferred to the search memory (step S13 in FIG. 8).

【0009】スイッチング・ハブ3はDAの検索を行い
(図8ステップS14)、適合するものがあれば、該当
レコード番地の読出しを行う(図8ステップS15)。
スイッチング・ハブ3は読出したレコード番地から、パ
ケットの転送先である転送ポート番号を読出し(図8ス
テップS16)、その転送ポート番号が受信ポート番号
と同一であるかどうかを判断する(図8ステップS1
7)。
The switching hub 3 searches for a DA (step S14 in FIG. 8), and if there is a match, reads the corresponding record address (step S15 in FIG. 8).
The switching hub 3 reads the transfer port number to which the packet is transferred from the read record address (step S16 in FIG. 8), and determines whether the transfer port number is the same as the reception port number (step S8 in FIG. 8). S1
7).

【0010】スイッチング・ハブ3はそれらが一致すれ
ば、図示せぬパケットキューからそのパケットを廃棄す
る(図8ステップS18)。スイッチング・ハブ3はそ
れらが不一致であれば、そのパケットをパケットキュー
に加える(図8ステップS19)。また、スイッチング
・ハブ3は適合するものがなければ、DAの適合無しを
解決するアドレス解決処理を行う(図8ステップS2
0)。
If they match, the switching hub 3 discards the packet from a packet queue (not shown) (step S18 in FIG. 8). If they do not match, the switching hub 3 adds the packet to the packet queue (step S19 in FIG. 8). If there is no compatible hub, the switching hub 3 performs an address resolution process for solving the DA non-adaptation (step S2 in FIG. 8).
0).

【0011】[0011]

【発明が解決しようとする課題】上述した従来のスイッ
チング・ハブ装置では、アドレスの検索を行った結果を
基に廃棄すべきパケットなのか、あるいは任意のポート
に転送すべきパケットなのかを判断しているので、アド
レスの検索結果から新たに送信ポート情報を得ると、受
信ポート情報との比較を行う処理が必要となり、その処
理に多くの時間を必要とする。
In the conventional switching hub device described above, it is determined whether a packet should be discarded or a packet to be transferred to an arbitrary port based on the result of address search. Therefore, if transmission port information is newly obtained from the address search result, a process for comparing with the reception port information is required, and the process requires a lot of time.

【0012】そのため、従来の技術では予め登録してお
いたアドレス情報を単に検索するのみなので、スイッチ
ング・ハブ装置におけるスイッチング性能を向上させる
ことができない。
For this reason, in the prior art, the switching performance in the switching hub device cannot be improved because the address information registered in advance is simply searched.

【0013】そこで、本発明の目的は上記の問題点を解
消し、同一のLANセグメント内に存在するLAN端末
間で通信されるパケットを廃棄するに必要な処理時間を
短縮することができ、スイッチング性能を向上させるこ
とができるスイッチング・ハブ装置及びそのスイッチン
グ処理方法並びにその制御プログラムを記録した記録媒
体を提供することにある。
Accordingly, an object of the present invention is to solve the above-mentioned problems and to reduce the processing time required for discarding a packet communicated between LAN terminals existing in the same LAN segment, and to reduce switching time. It is an object of the present invention to provide a switching hub device capable of improving performance, a switching processing method for the switching hub device, and a recording medium on which a control program for the switching hub device is recorded.

【0014】[0014]

【課題を解決するための手段】本発明によるスイッチン
グ・ハブ装置は、複数のローカルエリアネットワークが
接続され、前記複数のローカルエリアネットワークを介
して受信したパケットの宛先アドレスが前記複数のロー
カルエリアネットワークのいずれに存在するのかを示す
情報を予め保持する第1のサーチメモリ回路を含むスイ
ッチング・ハブ装置であって、前記第1のサーチメモリ
回路と同一内容を保持する第2のサーチメモリ回路と、
前記パケットの受信時に前記第1のサーチメモリ回路を
用いて前記宛先アドレスのみの第1の検索を行いかつ前
記第1の検索と同時に前記第2のサーチメモリ回路を用
いて前記宛先アドレス及び前記パケットを受信したポー
ト番号による第2の検索を行う検索手段と、前記第1及
び第2検索の結果を基に前記パケットを破棄するか否か
を判断する判断手段とを備えている。
A switching hub device according to the present invention is connected to a plurality of local area networks, and a destination address of a packet received via the plurality of local area networks is the same as that of the plurality of local area networks. A switching hub device including a first search memory circuit for preliminarily retaining information indicating which one is present, wherein a second search memory circuit retaining the same contents as the first search memory circuit;
Performing a first search for only the destination address using the first search memory circuit at the time of receiving the packet, and simultaneously using the second search memory circuit with the destination address and the packet using the second search memory circuit; And a determination unit for determining whether to discard the packet based on the results of the first and second searches.

【0015】本発明による他のスイッチング・ハブ装置
は、上記の構成において、前記第2のサーチメモリ回路
が、自装置に対して取付け取外し自在となっている。
In another switching hub device according to the present invention, in the above configuration, the second search memory circuit can be attached to and detached from its own device.

【0016】本発明によるスイッチング処理方法は、複
数のローカルエリアネットワークが接続され、前記複数
のローカルエリアネットワークを介して受信したパケッ
トの宛先アドレスが前記複数のローカルエリアネットワ
ークのいずれに存在するのかを示す情報を予め保持する
第1のサーチメモリ回路を含むスイッチング・ハブ装置
のスイッチング処理方法であって、前記パケットの受信
時に前記第1のサーチメモリ回路を用いて前記宛先アド
レスのみの第1の検索を行いかつ前記第1の検索と同時
に前記第1のサーチメモリ回路と同一内容を保持する第
2のサーチメモリ回路を用いて前記宛先アドレス及び前
記パケットを受信したポート番号による第2の検索を行
うステップと、前記第1及び第2検索の結果を基に前記
パケットを破棄するか否かを判断するステップとを備え
ている。
In the switching processing method according to the present invention, a plurality of local area networks are connected, and the destination address of a packet received via the plurality of local area networks is indicated in any of the plurality of local area networks. A switching processing method for a switching hub device including a first search memory circuit that holds information in advance, wherein a first search for only the destination address is performed using the first search memory circuit when receiving the packet. Performing a second search based on the destination address and the port number at which the packet was received using a second search memory circuit holding the same contents as the first search memory circuit simultaneously with the first search. Discarding the packet based on the results of the first and second searches And a step of determining whether.

【0017】本発明による他のスイッチング処理方法
は、複数のローカルエリアネットワークが接続され、前
記複数のローカルエリアネットワークを介して受信した
パケットの宛先アドレスが前記複数のローカルエリアネ
ットワークのいずれに存在するのかを示す情報を予め保
持する第1のサーチメモリ回路を含むスイッチング・ハ
ブ装置のスイッチング処理方法であって、前記パケット
の受信時に前記第1のサーチメモリ回路を用いて前記宛
先アドレスのみの第1の検索を行いかつ前記第1の検索
と同時に前記第1のサーチメモリ回路と同一内容を保持
しかつ自装置に対して取付け取外し自在な第2のサーチ
メモリ回路を用いて前記宛先アドレス及び前記パケット
を受信したポート番号による第2の検索を行うステップ
と、前記第1及び第2検索の結果を基に前記パケットを
破棄するか否かを判断するステップとを備えている。
In another switching processing method according to the present invention, a plurality of local area networks are connected, and a destination address of a packet received via the plurality of local area networks is present in any of the plurality of local area networks. A switching processing method for a switching hub device including a first search memory circuit that holds information indicating in advance a first address of only the destination address using the first search memory circuit at the time of receiving the packet. The destination address and the packet are searched using a second search memory circuit which retains the same contents as the first search memory circuit at the same time as the first search and is attachable to and detachable from the own device. Performing a second search based on the received port number; And a step of determining whether to discard the packet based on search results.

【0018】本発明によるスイッチング処理制御プログ
ラムを記録した記録媒体は、複数のローカルエリアネッ
トワークが接続され、前記複数のローカルエリアネット
ワークを介して受信したパケットの宛先アドレスが前記
複数のローカルエリアネットワークのいずれに存在する
のかを示す情報を予め保持する第1のサーチメモリ回路
を含むスイッチング・ハブ装置においてコンピュータに
前記パケットに対するスイッチング処理を行わせるため
のスイッチング処理制御プログラムを記録した記録媒体
であって、、前記スイッチング処理制御プログラムは前
記コンピュータに、前記パケットの受信時に前記第1の
サーチメモリ回路を用いて前記宛先アドレスのみの第1
の検索を行わせるとともに、前記第1の検索と同時に前
記第1のサーチメモリ回路と同一内容を保持する第2の
サーチメモリ回路を用いて前記宛先アドレス及び前記パ
ケットを受信したポート番号による第2の検索を行わ
せ、前記第1及び第2検索の結果を基に前記パケットを
破棄するか否かを判断させている。
A recording medium storing the switching control program according to the present invention is connected to a plurality of local area networks, and a destination address of a packet received via the plurality of local area networks is any one of the plurality of local area networks. A switching hub device including a first search memory circuit that previously holds information indicating whether the packet exists in a switching hub device, a recording medium recording a switching process control program for causing a computer to perform a switching process on the packet, The switching processing control program causes the computer to use the first search memory circuit at the time of receiving the packet to store a first address of only the destination address.
Using the second search memory circuit that retains the same contents as the first search memory circuit at the same time as the first search, using the second address based on the destination address and the port number that received the packet. , And whether to discard the packet is determined based on the results of the first and second searches.

【0019】本発明による他のスイッチング処理制御プ
ログラムを記録した記録媒体は、複数のローカルエリア
ネットワークが接続され、前記複数のローカルエリアネ
ットワークを介して受信したパケットの宛先アドレスが
前記複数のローカルエリアネットワークのいずれに存在
するのかを示す情報を予め保持する第1のサーチメモリ
回路を含むスイッチング・ハブ装置においてコンピュー
タに前記パケットに対するスイッチング処理を行わせる
ためのスイッチング処理制御プログラムを記録した記録
媒体であって、、前記スイッチング処理制御プログラム
は前記コンピュータに、前記パケットの受信時に前記第
1のサーチメモリ回路を用いて前記宛先アドレスのみの
第1の検索を行わせるとともに、前記第1の検索と同時
に前記第1のサーチメモリ回路と同一内容を保持しかつ
自装置に対して取付け取外し自在な第2のサーチメモリ
回路を用いて前記宛先アドレス及び前記パケットを受信
したポート番号による第2の検索を行わせ、前記第1及
び第2検索の結果を基に前記パケットを破棄するか否か
を判断させている。
A recording medium recording another switching processing control program according to the present invention is connected to a plurality of local area networks, and a destination address of a packet received via the plurality of local area networks is the plurality of local area networks. A switching hub device including a first search memory circuit for preliminarily retaining information indicating which of the packets is present in the switching hub device, the recording medium recording a switching process control program for causing a computer to perform a switching process on the packet. The switching processing control program causes the computer to perform a first search for only the destination address using the first search memory circuit when receiving the packet, and to perform the first search at the same time as the first search. 1 sir A second search is performed using the destination address and the port number at which the packet was received by using a second search memory circuit that retains the same contents as the memory circuit and that can be attached to and detached from the own device. And whether to discard the packet based on the result of the second search.

【0020】すなわち、本発明のスイッチング・ハブ装
置は、接続されたLANの回線に対してパケットデータ
の送受信動作を実現する各ポートの送受信制御回路と、
パケットデータを格納するパケットメモリと、パケット
データを格納したパケットバッファの番地を送信ポート
単位にキュー管理する手段を有するパケットキュー管理
回路と、MAC(Media Access Cont
rol)アドレスを登録したサーチメモリ回路と、本装
置に取付け取外しが自在なサーチメモリ回路と、これら
サーチメモリ回路を制御して登録内容の検索を実現する
手段を有するサーチメモリコントロール回路とを備えて
いる。
That is, the switching hub device of the present invention comprises: a transmission / reception control circuit for each port for realizing a packet data transmission / reception operation to a connected LAN line;
A packet memory for storing packet data, a packet queue management circuit having means for managing the address of the packet buffer storing the packet data for each transmission port, and a MAC (Media Access Control).
rol) a search memory circuit in which an address is registered, a search memory circuit which can be attached to and detached from the apparatus, and a search memory control circuit having means for controlling these search memory circuits to realize search of registered contents. I have.

【0021】また、パケットキュー管理回路は受信した
パケットから宛先アドレス情報を抽出する手段と、その
アドレス情報に加えて該当パケットを受信したポート番
号を合わせてサーチメモリコントロール回路に転送する
手段とを含んでいる。
The packet queue management circuit includes means for extracting destination address information from the received packet, and means for transferring the packet information to the search memory control circuit together with the address information and the port number at which the packet was received. In.

【0022】受信したパケット・データから宛先情報で
あるMACアドレスを抽出し、そのMACアドレスをキ
ーにして予め情報が格納されているサーチメモリ回路を
検索し、その結果として宛先ポート情報を得る動作はそ
の検索に多大な時間を要するため、スイッチング・ハブ
装置のスイッチング性能の低下を招く。
An operation of extracting a MAC address, which is destination information, from received packet data, searching a search memory circuit in which information is stored in advance by using the MAC address as a key, and obtaining destination port information as a result is as follows. Since a long time is required for the search, the switching performance of the switching hub device is reduced.

【0023】そこで、同一の登録内容を持つ2つのサー
チメモリ回路を備え、2つのサーチメモリ回路の一方で
MACアドレスのみを検索し、他方でMACアドレス+
受信ポート番号で検索を行い、その照合結果の組合せか
ら廃棄パケットかスイッチングが必要なパケットかを判
断することで、多大な時間を要するサーチメモリ回路の
アクセスを何度も繰返す必要がなくなる。
Therefore, two search memory circuits having the same registered contents are provided, and only one of the two search memory circuits is searched for the MAC address, and the other is searched for the MAC address +
By performing a search using the reception port number and judging whether the packet is a discarded packet or a packet requiring switching from the combination of the matching results, it is not necessary to repeatedly access the search memory circuit which requires a long time.

【0024】したがって、同一のLANセグメント内に
存在するLAN端末間で通信されるパケットを廃棄する
に必要な処理時間を短縮することが可能となり、スイッ
チング性能を向上させることが可能となる。
Therefore, it is possible to reduce the processing time required for discarding a packet communicated between LAN terminals existing in the same LAN segment, and to improve switching performance.

【0025】[0025]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
るスイッチング・ハブ装置の構成を示すブロック図であ
る。図において、スイッチング・ハブ装置1はCPU
(中央処理装置)11と、サーチメモリコントロール回
路12と、サーチメモリ回路13と、サーチメモリ回路
(コピー)14と、パケットキュー管理回路15と、パ
ケットメモリ16と、ポート(#1〜#n)送受信制御
回路17−1〜17−nとから構成されている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a switching hub device according to one embodiment of the present invention. In the figure, a switching hub device 1 is a CPU.
(Central processing unit) 11, search memory control circuit 12, search memory circuit 13, search memory circuit (copy) 14, packet queue management circuit 15, packet memory 16, and ports (# 1 to #n) It comprises transmission / reception control circuits 17-1 to 17-n.

【0026】スイッチング・ハブ装置1においてはLA
N(Local Area Network)セグメン
ト(#1〜#n)2−1〜2−nに接続される部分をポ
ートと呼び、通常は8〜32程度のポート数を有してい
る。
In the switching hub device 1, LA
Portions connected to N (Local Area Network) segments (# 1 to #n) 2-1 to 2-n are called ports, and usually have about 8 to 32 ports.

【0027】各ポート#1〜#n(図示せず)のポート
(#1〜#n)送受信制御回路17−1〜17−nは接
続されたLANの回線に対してパケットデータの送受信
動作を実現する。ポート(#1〜#n)送受信制御回路
17−1〜17−nにおける主な処理はシリアルデータ
で通信を行う回線に対し、そのシリアルデータとパラレ
ルな内部データとの間で行うシリアル/パラレル変換で
ある。
The port (# 1 to #n) transmission / reception control circuits 17-1 to 17-n of each of the ports # 1 to #n (not shown) perform packet data transmission / reception operations on the connected LAN line. Realize. The main processing in the port (# 1 to #n) transmission / reception control circuits 17-1 to 17-n is to perform serial / parallel conversion between a serial data communication line and serial data and parallel internal data. It is.

【0028】パケットキュー管理回路15は各ポート#
1〜#nのポート送受信制御回路17−1〜17−nか
ら受信したパケットデータをパケットメモリ16に格納
し、再度読出し、転送先のポート#1〜#nのポート送
受信制御回路17−1〜17−nに送出する動作を実現
する。そのため、パケットキュー管理回路15はパケッ
トの格納番地を送信ポート単位にキュー管理する。
The packet queue management circuit 15 is provided for each port #
The packet data received from the port transmission / reception control circuits 17-1 to 17-n of 1 to #n are stored in the packet memory 16, read out again, and the port transmission / reception control circuits 17-1 to 17-1 of the destination ports # 1 to #n are transmitted. 17-n. Therefore, the packet queue management circuit 15 manages the packet storage addresses in queues for each transmission port.

【0029】パケットメモリ16はSRAM(Stat
ic Random AccessMemory)もし
くはDRAM(Dynamic Random Acc
ess Memory)のメモリデバイスで構成され、
パケットデータを一時的に保持する。パケットデータは
予め仕切られたパケットバッファと呼ぶスペースに格納
される。パケットバッファの番地(アドレス)はパケッ
トキュー管理回路15によって管理されている。
The packet memory 16 has an SRAM (Stat
ic Random Access Memory) or DRAM (Dynamic Random Acc)
ESS Memory)
Holds packet data temporarily. The packet data is stored in a pre-partitioned space called a packet buffer. The address (address) of the packet buffer is managed by the packet queue management circuit 15.

【0030】サーチメモリコントロール回路12はパケ
ットに含まれるアドレス情報を基にサーチメモリ回路1
3,14を検索し、そのパケットデータの転送先ポート
を決定する。
The search memory control circuit 12 searches the search memory circuit 1 based on the address information contained in the packet.
3 and 14, and determines the transfer destination port of the packet data.

【0031】サーチメモリ回路13はCAMs(Con
tent−addressableMemories)
デバイスに代表されるメモリ素子が望まれる。このメモ
リ素子がRAM(Random Access Mem
ory)等の通常のメモリデバイスと異なる点は、番地
(アドレス)を入力してデータを出力する通常メモリデ
バイスに対し、CAMデバイスはデータを入力し、その
データの格納状況を検索し、状態情報(マッチもしくは
アンマッチ)やデータの格納番地(アドレス)を出力す
る。
The search memory circuit 13 stores CAMs (Con
tent-addressableMemories)
A memory element represented by a device is desired. This memory element is a RAM (Random Access Mem).
CAM device inputs data, the CAM device inputs data, searches the storage status of the data, and outputs state information. (Match or unmatch) and the data storage address are output.

【0032】一般的に、このメモリ素子においては検索
が可能なデータ長が64バイト程度である。また、この
メモリ素子においては格納データを読み書きする場合、
通常メモリデバイスと同様に、格納番地(アドレス)を
入力し、データの出し入れを行う。
Generally, in this memory element, a searchable data length is about 64 bytes. When reading and writing stored data in this memory element,
As in a normal memory device, a storage address (address) is input, and data is transferred.

【0033】サーチメモリ回路14はサーチメモリ回路
13と同一の情報内容と動作とを実現する必要がある。
また、サーチメモリ回路14はスイッチング・ハブ装置
1に対して取付け取外しが自在な構成となっている。C
PU11はサーチメモリ回路13,14の内容の管理及
び更新を行う。
The search memory circuit 14 needs to realize the same information content and operation as the search memory circuit 13.
The search memory circuit 14 is configured to be freely attached to and detached from the switching hub device 1. C
The PU 11 manages and updates the contents of the search memory circuits 13 and 14.

【0034】図2は図1のサーチメモリ回路14の取付
け構造を示す図である。図において、サーチメモリ回路
14は本回路部のみの取外しを容易に行えるように、ド
ータ・カードA3上に搭載され、DRAMのシム・カー
ドと同様の要領で、本体装置のマザー・カードA1にコ
ネクタ部品A2を通して接続され、装置オプションの構
成をとっている。
FIG. 2 is a diagram showing an attachment structure of the search memory circuit 14 of FIG. In the figure, a search memory circuit 14 is mounted on a daughter card A3 so that only this circuit section can be easily removed, and is connected to a mother card A1 of the main unit in the same manner as a DRAM shim card. They are connected through a component A2 and have the configuration of an apparatus option.

【0035】図3は本発明の一実施例によるスイッチン
グ・ハブ装置のシステム構成を示すブロック図である。
図において、スイッチング・ハブ装置1は複数のLAN
セグメント(#1〜#n)2−1〜2−4を集線接続
し、スター型のLANトポロジーを構成している。
FIG. 3 is a block diagram showing the system configuration of the switching hub device according to one embodiment of the present invention.
In the figure, the switching hub device 1 has a plurality of LANs.
The segments (# 1 to #n) 2-1 to 2-4 are line-connected to form a star LAN topology.

【0036】ここで想定するLANとは、IEEE80
2.3に代表されるCSMA/CD(Carrier
Sense Multiple Access/Col
ision Detection)方式のLAN(通
常、イーサネットと呼ばれる)で、10Mbpsや10
0Mbpsの全二重もしくは半二重の通信速度を持つ。
The LAN assumed here is defined as IEEE80.
2.3 CSMA / CD (Carrier
Sense Multiple Access / Col
10 Mbps, 10 Mbps, etc. in a LAN (usually called Ethernet) of the
It has a full-duplex or half-duplex communication speed of 0 Mbps.

【0037】LANセグメント(#1〜#n)2−1〜
2−4は伝送路と10Mbpsや100Mbpsの通信
帯域を共有する単位とする。LANセグメント(#1〜
#n)2−1〜2−4はスイッチング機能を持たない、
単純なリピータ機能を有する集線装置(単にリピータ・
ハブと呼ぶ)21〜23で、各LAN端末211〜21
m,221〜224,231〜23lがやはりスター型
に接続された構成である。
LAN segments (# 1 to #n) 2-1
2-4 is a unit that shares a communication band of 10 Mbps or 100 Mbps with the transmission path. LAN segment (# 1 to # 1)
#N) 2-1 to 2-4 have no switching function,
Concentrator with simple repeater function (simply repeater
Each of the LAN terminals 211 to 21 is called a hub.
m, 221-224, 231-231 are also connected in a star configuration.

【0038】また、LANセグメント(#2)2−2で
示すように、リピータ・ハブ21〜23の機能によって
は一部ブランチ型にLAN端末を接続することも可能な
場合がある。いずれにせよ、リピータ・ハブ21〜23
によって構成された1つのセグメント内においてはCS
MA/CDの方式にしたがって、セグメント内の全LA
N端末211〜21m,221〜224,231〜23
l及びスイッチング・ハブ装置1のポートで伝送路及び
通信帯域を共有する半二重通信である。
Further, as shown by the LAN segment (# 2) 2-2, depending on the functions of the repeater hubs 21 to 23, it may be possible to connect the LAN terminals in a partial branch type. In any case, repeater hubs 21-23
CS within one segment constituted by
According to the MA / CD method, all LAs in a segment
N terminals 211 to 21m, 221 to 224, 231 to 23
1 and a port of the switching hub device 1 is a half-duplex communication in which a transmission path and a communication band are shared.

【0039】これに対し、LANセグメント(#4)2
−4はリピータ・ハブを用いず、LAN端末24はスイ
ッチング・ハブ装置1のポートに対して1対1で接続さ
れているため、全二重の通信も可能である。
On the other hand, LAN segment (# 4) 2
-4 does not use a repeater hub, and the LAN terminal 24 is connected to the port of the switching hub device 1 on a one-to-one basis, so that full-duplex communication is also possible.

【0040】図4はLAN上で通信されるパケットのフ
レームフォーマットを示す。図において、パケットはD
A(Destination Address:宛先ア
ドレス)(6オクテット)d1と、SA(Source
Address:発信元アドレス)(6オクテット)
d2と、TYPE(フレームタイプ)(2オクテット)
d3と、DATA(情報データ)(46〜1500オク
テット)d4と、FCS(Frame Check S
equence:チェック用データ)(4オクテット)
d5とからなる。
FIG. 4 shows a frame format of a packet transmitted on the LAN. In the figure, the packet is D
A (Destination Address: destination address) (6 octets) d1 and SA (Source)
Address: Source address) (6 octets)
d2 and TYPE (frame type) (2 octets)
d3, DATA (information data) (46 to 1500 octets) d4, and FCS (Frame Check S)
equipment: check data) (4 octets)
d5.

【0041】スイッチング・ハブ装置1はこのフレーム
フォーマットを持つパケットデータを1つのLANセグ
メントから受信し、DA情報に基づいて別のLANセグ
メントに対してそのパケットデータを転送するというス
イッチング動作を実現する装置である。
The switching hub device 1 receives packet data having this frame format from one LAN segment and implements a switching operation of transferring the packet data to another LAN segment based on DA information. It is.

【0042】また、スイッチング・ハブ装置1の重要な
処理の一つに、受信したパケットのSA情報を常に監視
することで、管理すべきMACアドレスを有するLAN
端末の位置を常に把握し、LAN端末が移動された場合
でも、自動的にその状態を追従可能とする必要がある。
Also, one of the important processes of the switching hub device 1 is to constantly monitor the SA information of the received packet, so that a LAN having a MAC address to be managed is provided.
It is necessary to always keep track of the position of the terminal and to automatically follow the state even when the LAN terminal is moved.

【0043】図5は図1のパケットキュー管理回路15
の詳細な構成を示す図である。これら図1〜図5を参照
して本発明の一実施例の動作について説明する。
FIG. 5 shows the packet queue management circuit 15 of FIG.
FIG. 3 is a diagram showing a detailed configuration of the embodiment. The operation of the embodiment of the present invention will be described with reference to FIGS.

【0044】スイッチング・ハブ装置1の1つのポート
に接続される同一のLANセグメント(#1〜#n)内
に存在するLAN端末間での通信を想定する。これを
「想定ケース1」とする。
It is assumed that communication is performed between LAN terminals existing in the same LAN segment (# 1 to #n) connected to one port of the switching hub device 1. This is referred to as “assumed case 1”.

【0045】この「想定ケース1」としては、LAN端
末211からLAN端末21mへの通信の場合である。
この場合、スイッチング・ハブ装置1はLAN端末21
1からLAN端末21mに転送されるパケットをスイッ
チング処理する必要はない。
The “assumed case 1” is a case of communication from the LAN terminal 211 to the LAN terminal 21m.
In this case, the switching hub device 1 is connected to the LAN terminal 21.
There is no need to perform switching processing on the packet transferred from 1 to the LAN terminal 21m.

【0046】しかしながら、スイッチング・ハブ装置1
の動作はこの時転送されるパケットを一旦受信した後、
そのDA情報を見て初めて、スイッチングせずに廃棄す
べきパケットと判断することになる。
However, the switching hub device 1
The operation of this is that once the packet transferred at this time is received,
Only by looking at the DA information will it be determined that the packet should be discarded without switching.

【0047】次に、図1を参照して本発明の一実施例に
よるスイッチング・ハブ装置1の動作について説明す
る。スイッチング・ハブ装置1の各ポート#1〜#nの
ポート(#1〜#n)送受信制御回路17−1〜17−
nはLAN回線から受信したパケット111〜11nを
パケットキュー管理回路15に転送する。
Next, the operation of the switching hub device 1 according to one embodiment of the present invention will be described with reference to FIG. Ports (# 1 to #n) of each port # 1 to #n of the switching hub device 1 Transmission / reception control circuits 17-1 to 17-
n transfers the packets 111 to 11n received from the LAN line to the packet queue management circuit 15.

【0048】パケットキュー管理回路15は各ポート#
1〜#nのポート(#1〜#n)送受信制御回路17−
1〜17−nから転送されたパケットデータ107を一
旦パケットメモリ16に格納する。
The packet queue management circuit 15 is provided for each port #
Ports # 1 to #n (# 1 to #n) transmission / reception control circuit 17-
The packet data 107 transferred from 1 to 17-n is temporarily stored in the packet memory 16.

【0049】まずここで、パケットキュー管理回路15
のキュー管理の動作について、図5を参照して説明す
る。パケットメモリ303は1つのパケットデータを格
納するに充分な容量を持った複数のパケットバッファで
構成されている。
First, the packet queue management circuit 15
The operation of the queue management will be described with reference to FIG. The packet memory 303 is composed of a plurality of packet buffers having a capacity sufficient to store one packet data.

【0050】パケットキュー管理回路302は未使用で
あるパケットバッファの番地情報をフリーキュー30で
全て管理する。パケットキュー管理回路302はパケッ
トデータa1(301)を受信した場合、フリーキュー
30から空きのパケットバッファの番地(番地a1)を
1つ取出し、その番地にしたがって受信したパケットデ
ータをパケットバッファに格納する。フリーキュー30
で管理している空きパケットバッファの番地は1つ減る
ことになる。
The packet queue management circuit 302 manages all address information of unused packet buffers in the free queue 30. When receiving the packet data a1 (301), the packet queue management circuit 302 takes out one address (address a1) of an empty packet buffer from the free queue 30 and stores the received packet data in the packet buffer according to the address. . Free queue 30
The address of the empty packet buffer managed by (1) is reduced by one.

【0051】次に、パケットキュー管理回路302は送
信先のポート情報31が判明した時点で、該当するポー
ト(ポート#2)の送信キュー332に、そのパケット
データa1が格納されているパケットバッファの番地
(番地a1)を登録する。
Next, when the port information 31 of the transmission destination is found, the packet queue management circuit 302 stores the packet data a1 in the transmission queue 332 of the corresponding port (port # 2). The address (address a1) is registered.

【0052】また、パケットキュー管理回路302はパ
ケットデータを送信キュー331〜33nの登録順にパ
ケットバッファ303から読出し、該当する各ポート#
1〜#nのポート(#1〜#n)送受信制御回路17−
1〜17−nに対して転送する。
The packet queue management circuit 302 reads out the packet data from the packet buffer 303 in the order of registration of the transmission queues 331 to 33n,
Ports # 1 to #n (# 1 to #n) transmission / reception control circuit 17-
1 to 17-n.

【0053】この後に、パケットデータはポート#1〜
#nからLANセグメント(#1〜#n)2−1〜2−
nに送信される。パケットキュー管理回路302はこの
送信動作を各々の送信キューに対して随時実行する。
Thereafter, the packet data is transferred to ports # 1 to # 1.
From #n to LAN segment (# 1 to #n) 2-1 to 2-
n. The packet queue management circuit 302 executes this transmission operation for each transmission queue as needed.

【0054】再度、図1を参照してサーチメモリコント
ロール回路12の動作について説明する。パケットキュ
ー管理回路15は上記のように、受信したパケット10
7をパケットメモリ16に格納する処理と同時に、その
パケットからDA(アドレス情報)を抽出し、そのDA
に加えてそのパケットを受信したポート番号102をサ
ーチメモリコントロール回路12に転送する。
Referring again to FIG. 1, the operation of search memory control circuit 12 will be described. As described above, the packet queue management circuit 15
7 in the packet memory 16 at the same time as extracting DA (address information) from the packet,
In addition, the port number 102 that has received the packet is transferred to the search memory control circuit 12.

【0055】サーチメモリコントロール回路12は「D
A+ポート番号」をサーチメモリ回路13,14に同時
に入力し、サーチメモリ回路13に対してはDAのみの
検索要求を行い、サーチメモリ回路14に対しては「D
A+ポート番号」での検索要求を行う。
The search memory control circuit 12 outputs "D
A + port number ”is input to the search memory circuits 13 and 14 at the same time, a search request for only DA is made to the search memory circuit 13, and“ D ”is sent to the search memory circuit 14.
A search request is made with “A + port number”.

【0056】上記の「想定ケース1」ではサーチメモリ
回路13から適合有りの状態信号101が返り、かつサ
ーチメモリ回路14からも適合有りの状態信号105が
返ることになる。この時点で、サーチメモリコントロー
ル回路12は今受信したパケットが同一LANセグメン
ト(#1〜#n)間での通信であると判断し、パケット
の廃棄指示103をパケットキュー管理回路15に渡
す。
In the above “assumed case 1”, the state signal 101 indicating that there is a match is returned from the search memory circuit 13, and the state signal 105 indicating that there is a match is also returned from the search memory circuit 14. At this point, the search memory control circuit 12 determines that the currently received packet is a communication between the same LAN segments (# 1 to #n), and passes a packet discard instruction 103 to the packet queue management circuit 15.

【0057】同様に、「想定ケース2」の場合、サーチ
メモリ回路13から適合有りの状態信号101が返り、
かつサーチメモリ回路14からは適合無しの状態信号1
05が返った場合、サーチメモリコントロール回路12
は今受信したパケットが受信したポートとは異なる他の
ポートに接続されたLANセグメントに対するパケット
であると判断する。
Similarly, in the “assumed case 2”, a state signal 101 indicating that there is a match is returned from the search memory circuit 13, and
And the status signal 1 indicating that there is no match from the search memory circuit 14.
05 is returned, the search memory control circuit 12
Determines that the currently received packet is a packet for a LAN segment connected to another port different from the received port.

【0058】サーチメモリコントロール回路12は転送
先のポート情報を得るため、サーチメモリ回路13のア
クセスを繰返し行う。まず、サーチメモリ回路13から
適合情報が存在する番地情報を読出し、続けてその番地
情報を基にサーチメモリ回路13に登録されている情報
を読出す。サーチメモリコントロール回路12はその情
報で該当MACアドレスに対応したポート番号の情報を
得る。この時点で、サーチメモリコントロール回路12
は転送先のポート番号情報103をパケットキュー管理
回路15に渡す。
The search memory control circuit 12 repeatedly accesses the search memory circuit 13 to obtain port information of the transfer destination. First, address information having matching information is read from the search memory circuit 13, and subsequently, information registered in the search memory circuit 13 is read based on the address information. The search memory control circuit 12 obtains the information of the port number corresponding to the MAC address from the information. At this point, the search memory control circuit 12
Transfers the port number information 103 of the transfer destination to the packet queue management circuit 15.

【0059】また同様に、「想定ケース3」の場合、サ
ーチメモリ回路13から適合無しの状態信号101が返
った場合、必ずサーチメモリ回路14からも適合無しの
状態信号105が返ることになり、サーチメモリコント
ロール回路12は今受信したパケットの転送先であるM
ACアドレスが当スイッチング・ハブ装置1では管理で
きていないと判断する。
Similarly, in the "assumed case 3", if the non-conforming status signal 101 is returned from the search memory circuit 13, the non-conforming status signal 105 is always returned from the search memory circuit 14. The search memory control circuit 12 determines whether the transfer destination of the received packet is M
It is determined that the switching hub device 1 cannot manage the AC address.

【0060】サーチメモリコントロール回路12はMA
Cアドレス該当無しの指示103をパケットキュー管理
回路15に渡す。これを受けたパケットキュー管理回路
15はアドレス解決要求106をCPU11に対して出
力して指示を仰ぐ。これに対し、CPU11はデファク
トスタンダードとして現在のLAN環境で広く用いられ
ているARP(Address Resolution
Protocol)[RFC826]等によって宛先
のアドレスの適合無しを解決する。
The search memory control circuit 12 uses the MA
The instruction 103 indicating that there is no C address is passed to the packet queue management circuit 15. Upon receiving this, the packet queue management circuit 15 outputs an address solution request 106 to the CPU 11 to ask for an instruction. In contrast, the CPU 11 is an ARP (Address Resolution) which is widely used as a de facto standard in the current LAN environment.
Protocol) [RFC826] or the like to resolve the non-conformity of the destination address.

【0061】ここで、サーチメモリ回路14が実装され
ていない場合の説明を行う。上記の「想定ケース1」の
場合、サーチメモリ回路13から適合有りの状態信号1
01が返り、かつサーチメモリ回路14からは回路が実
装されていないため、常に適合無しの状態信号105が
返ることになる。
Here, the case where the search memory circuit 14 is not mounted will be described. In the case of the above “assumed case 1”, the state signal 1 indicating that there is a match from the search memory circuit 13
01 and the search memory circuit 14 does not implement the circuit, so that a non-conforming status signal 105 is always returned.

【0062】これは先に説明した「想定ケース2」の場
合と同じ動作で、サーチメモリコントロール回路12は
この時点ではまだ、今受信したパケットが廃棄すべき
か、スイッチングすべきかの判断はつかない。
This is the same operation as the case of the “supposition case 2” described above. At this point, the search memory control circuit 12 has not yet determined whether the currently received packet should be discarded or switched.

【0063】サーチメモリコントロール回路12は転送
先のポート情報を得るため、サーチメモリ回路13のア
クセスを繰返し行う。サーチメモリコントロール回路1
2はサーチメモリ回路13から適合情報が存在する番地
情報を読出し、続けてその番地情報を基にサーチメモリ
回路13に登録されている情報を読出す。
The search memory control circuit 12 repeatedly accesses the search memory circuit 13 to obtain port information of the transfer destination. Search memory control circuit 1
2 reads out the address information where the matching information exists from the search memory circuit 13, and subsequently reads out the information registered in the search memory circuit 13 based on the address information.

【0064】サーチメモリコントロール回路12はその
情報で該当MACアドレスに対応したポート番号の情報
を得る。サーチメモリコントロール回路12はこの転送
先ポート番号と受信ポート番号とを比較し、一致してい
ることが判明すると、廃棄すべきパケットであると判断
する。
The search memory control circuit 12 obtains the information of the port number corresponding to the MAC address from the information. The search memory control circuit 12 compares the transfer destination port number with the reception port number, and when it is determined that they match, determines that the packet is a packet to be discarded.

【0065】この時点で、サーチメモリコントロール回
路12は今受信したパケットが同一LANセグメント
(#1〜#n)間での通信であると判断し、パケットの
廃棄指示103をパケットキュー管理回路15に渡す。
At this point, the search memory control circuit 12 determines that the currently received packet is a communication between the same LAN segments (# 1 to #n), and sends a packet discard instruction 103 to the packet queue management circuit 15. hand over.

【0066】図6は図1のサーチメモリ回路13,14
の構成例を示す図である。これら図1及び図6を参照し
て本発明の一実施例の動作について説明する。スイッチ
ング・ハブ装置1はポート#1がLANセグメント#1
に、ポート#2がLANセグメント#2に、ポート#3
がLANセグメント#3に、ポート#nがLANセグメ
ント#nに夫々接続されている。
FIG. 6 shows the search memory circuits 13 and 14 of FIG.
FIG. 3 is a diagram showing an example of the configuration of FIG. The operation of the embodiment of the present invention will be described with reference to FIGS. In switching hub device 1, port # 1 is LAN segment # 1
Port # 2 is in LAN segment # 2, port # 3
Are connected to the LAN segment # 3, and the port #n is connected to the LAN segment #n.

【0067】また、スイッチング・ハブ装置1は接続さ
れたLANの回線に対し、パケットデータの送受信動作
を実現する各ポート#1〜#nのポート(#1〜#n)
送受信制御回路17−1〜17−nと、パケットデータ
を格納するパケットメモリ16と、パケットデータを格
納したパケットバッファの番地を送信ポート単位にキュ
ー管理するパケットキュー管理回路15と、MACアド
レスを登録したサーチメモリ回路13と、オプションで
取外しが可能でかつサーチメモリ回路13と同一内容を
持つサーチメモリ回路14と、これらサーチメモリ回路
13,14を制御するサーチメモリコントロール回路1
2と、CPU11とから構成されている。
The switching hub device 1 has the ports (# 1 to #n) of each of the ports # 1 to #n for realizing the operation of transmitting and receiving packet data to and from the connected LAN line.
The transmission / reception control circuits 17-1 to 17-n, the packet memory 16 for storing packet data, the packet queue management circuit 15 for queue management of the address of the packet buffer storing the packet data for each transmission port, and the registration of the MAC address Search memory circuit 13, a search memory circuit 14 which is optionally removable and has the same contents as search memory circuit 13, and a search memory control circuit 1 for controlling these search memory circuits 13 and 14.
2 and a CPU 11.

【0068】通常、MACアドレスに対応した1つの情
報レコードの単位は16バイトから64バイト程度で、
本実施例では1レコードを16バイトとしている。この
1レコードに含まれる情報の内容はデータ部フォーマッ
トで示す通り、MACアドレスやポート番号、及びタイ
ムスタンプ等である。
Normally, the unit of one information record corresponding to a MAC address is about 16 to 64 bytes.
In this embodiment, one record is 16 bytes. The content of the information contained in this one record is a MAC address, a port number, a time stamp, and the like as shown in the data part format.

【0069】本実施例ではサーチメモリ回路13,14
の番地0001に格納された情報がMACアドレス=
“001020300101”を有するLAN端末に関
する情報で、そのLAN端末が存在するLANセグメン
トはポート番号01番に接続されていることを示してい
る。
In this embodiment, the search memory circuits 13 and 14
Information stored in the address 0001 of the MAC address = MAC address =
Information on the LAN terminal having “001020300101”, which indicates that the LAN segment where the LAN terminal exists is connected to port number 01.

【0070】見方を換えると、ポート番号01に接続さ
れているLANセグメントを例に取れば、少なくとも番
地0001、番地0003、及び番地0FFFに格納さ
れている夫々のMACアドレスを有するLAN端末が、
そこに存在していることを表している。
In other words, taking the LAN segment connected to port number 01 as an example, a LAN terminal having at least the respective MAC addresses stored in addresses 0001, 0003, and 0FFF is
It represents that it exists.

【0071】他の情報としては、LAN端末が送信した
パケットをスイッチング・ハブ装置1が受信した際、最
新の到着時間を記録するためのタイムスタンプを、送信
したLAN端末のMACアドレス(SA:Source
Address)単位に格納している。
As other information, when the switching hub device 1 receives a packet transmitted by the LAN terminal, a time stamp for recording the latest arrival time is stored in the MAC address (SA: Source) of the transmitting LAN terminal.
Address).

【0072】図6ではスイッチング・ハブ装置1がSA
=“001020300101”であるパケットを最後
に受信した時のタイムスタンプのが“01.02.0
3.04”であることを示している。
In FIG. 6, the switching hub device 1 has the SA
= “001020300101” The time stamp when the packet was last received is “01.02.0”
3.04 ".

【0073】また、サーチメモリ回路13,14はマス
クレジスタを持ち、入力したデータを検索する際の照合
対象ビット位置の設定を行う。図5のマスクレジスタ#
1はMACアドレスに該当するビット位置以外に対して
全てマスク指示しており、サーチメモリ回路13はマス
クレジスタ#1を用いて、MACアドレスの値のみを対
象とした検索を実現する。
Each of the search memory circuits 13 and 14 has a mask register and sets a bit position to be collated when searching for input data. Mask register # in FIG.
1 designates a mask instruction for all bits other than the bit position corresponding to the MAC address, and the search memory circuit 13 uses the mask register # 1 to implement a search targeting only the value of the MAC address.

【0074】同様に、マスクレジスタ14はMACアド
レス及びポート番号に該当するビット位置以外に対して
全てマスク指示しており、サーチメモリ回路14はマス
クレジスタ#2を用いて、「MACアドレス+ポート番
号」の値を対象とした検索を実現する。
Similarly, the mask register 14 instructs masking except for the bit position corresponding to the MAC address and the port number, and the search memory circuit 14 uses the mask register # 2 to calculate “MAC address + port number”. Is realized.

【0075】図7は本発明の一実施例の動作を示すフロ
ーチャートである。これら図1〜図7を参照して本発明
の一実施例の動作について説明する。ここではポート番
号01からDA=“001020300101”のパケ
ットを受信したケースを想定する。
FIG. 7 is a flowchart showing the operation of one embodiment of the present invention. The operation of the embodiment of the present invention will be described with reference to FIGS. Here, it is assumed that a packet of DA = “001020300101” is received from port number 01.

【0076】図6に示すサーチメモリ回路13,14の
内容からすれば、このDAを有するLAN端末はポート
番号01配下のLANセグメント#1上に存在している
ことになる。つまり、このパケットを受信したスイッチ
ング・ハブ装置1はこのパケットをスイッチング処理す
る必要がなく、スイッチング・ハブ装置1内で廃棄処理
をすることになる。
According to the contents of the search memory circuits 13 and 14 shown in FIG. 6, the LAN terminal having this DA exists on the LAN segment # 1 under the port number 01. That is, the switching hub device 1 that has received this packet does not need to perform the switching process on this packet, and performs the discarding process inside the switching hub device 1.

【0077】この場合、ポート(#1)送受信制御回路
17−1は受信したパケット111をパケットキュー管
理回路15に転送する(図7ステップS1)。パケット
キュー管理回路15は受信したパケット107をパケッ
トメモリ16に格納すると同時に、そのパケットからD
Aを抽出し(図7ステップS2)、サーチメモリコント
ロール回路12にそのDA及び受信したポート番号“0
1”の情報102を転送する(図7ステップS3)。
In this case, the port (# 1) transmission / reception control circuit 17-1 transfers the received packet 111 to the packet queue management circuit 15 (step S1 in FIG. 7). The packet queue management circuit 15 stores the received packet 107 in the packet memory 16 and, at the same time,
A is extracted (step S2 in FIG. 7), and the DA and the received port number “0” are stored in the search memory control circuit 12.
The information 102 of "1" is transferred (step S3 in FIG. 7).

【0078】サーチメモリコントロール回路12はまず
「DA+ポート番号」をサーチメモリ回路13,14に
同時に入力し、サーチメモリ回路13に対してはマスク
レジスタ#1を用いたDA情報のみの検索要求を行い、
サーチメモリ回路14に対してはマスクレジスタ#2を
用いた「DA+ポート番号」での検索要求を行う。
The search memory control circuit 12 first inputs "DA + port number" to the search memory circuits 13 and 14 at the same time, and requests the search memory circuit 13 to search only DA information using the mask register # 1. ,
A search request is made to the search memory circuit 14 with “DA + port number” using the mask register # 2.

【0079】本ケースの場合、0001番地に該当MA
Cアドレスが登録済みで、そのMACアドレスの存在す
るセグメントが接続されているポート番号は01となっ
ている。よって、サーチメモリコントロール回路12に
はサーチメモリ回路13から適合有りの状態信号101
が、サーチメモリ回路14からも適合有りの状態信号1
05が夫々返ってくるので(図7ステップS4)、今受
信したパケットが同一LANセグメント間での通信であ
ると判断し、パケットの廃棄指示103をパケットキュ
ー管理回路15に渡す(図7ステップS5)。
In this case, the MA corresponding to address 0001
The C address has been registered, and the port number to which the segment in which the MAC address exists is connected is 01. Therefore, the search memory control circuit 12 sends the matching status signal 101 from the search memory circuit 13.
Is the state signal 1 indicating that there is a match from the search memory circuit 14.
05 are returned (step S4 in FIG. 7), it is determined that the currently received packet is a communication between the same LAN segments, and the packet discard instruction 103 is passed to the packet queue management circuit 15 (step S5 in FIG. 7). ).

【0080】パケットキュー管理回路15はパケットの
廃棄指示103を受けると、パケットの廃棄処理を行
う。すなわち、上述したように、パケットキュー管理回
路15は送信ポート情報31を得る代わりに、パケット
の廃棄指示32を得ることになるので、パケットデータ
の格納番地を送信キュー331〜33nに登録する代わ
りに、フリーキュー30に戻す処理を行う。これによっ
て、パケットが格納されているバッファ領域が空きバッ
ファの扱いとなり、パケットは転送されることなく廃棄
されることとなる。
Upon receiving the packet discard instruction 103, the packet queue management circuit 15 performs a packet discard process. That is, as described above, the packet queue management circuit 15 obtains the packet discard instruction 32 instead of obtaining the transmission port information 31. Therefore, instead of registering the storage address of the packet data in the transmission queues 331 to 33n, , A process of returning to the free queue 30 is performed. As a result, the buffer area storing the packet is treated as an empty buffer, and the packet is discarded without being transferred.

【0081】また、ポート番号01からDA=“000
405060202”のパケットを受信したケースを想
定する。このDAを有するLAN端末はポート番号02
配下のLANセグメント#2上に存在していることにな
る。つまり、このパケットを受信したスイッチング・ハ
ブ装置1はこのパケットをポート番号02にスイッチン
グ処理することになる。
Also, DA = “000” from port number 01
Suppose the case where a packet of the number 40506202 ″ is received.
This means that it exists on the subordinate LAN segment # 2. That is, the switching hub device 1 that has received this packet performs the switching process on this packet to the port number 02.

【0082】この場合、ポート#2送受信制御回路17
−2は受信したパケット112をパケットキュー管理回
路15に転送する(図7ステップS1)。パケットキュ
ー管理回路15は受信したパケット107をパケットメ
モリ16に格納すると同時に、そのパケットからDAを
抽出し(図7ステップS2)、サーチメモリコントロー
ル回路12にそのDA及び受信したポート番号“02”
の情報102を転送する(図7ステップS3)。
In this case, port # 2 transmission / reception control circuit 17
-2 transfers the received packet 112 to the packet queue management circuit 15 (step S1 in FIG. 7). The packet queue management circuit 15 stores the received packet 107 in the packet memory 16 and, at the same time, extracts a DA from the packet (step S2 in FIG. 7), and sends the DA and the received port number “02” to the search memory control circuit 12.
Is transferred (step S3 in FIG. 7).

【0083】サーチメモリコントロール回路12はまず
「DA+ポート番号」をサーチメモリ回路13,14に
同時に入力し、サーチメモリ回路13に対してはマスク
レジスタ#1を用いたDA情報のみの検索要求を行い、
サーチメモリ回路14に対してはマスクレジスタ#2を
用いた「DA+ポート番号」での検索要求を行う。
The search memory control circuit 12 first inputs "DA + port number" to the search memory circuits 13 and 14 at the same time, and requests the search memory circuit 13 to search only DA information using the mask register # 1. ,
A search request is made to the search memory circuit 14 with “DA + port number” using the mask register # 2.

【0084】本ケースの場合、サーチメモリコントロー
ル回路12にはサーチメモリ回路13から適合有りの状
態信号101が、サーチメモリ回路14から適合無しの
状態信号105が夫々返ってくるので(図7ステップS
4)、今受信したパケットが受信したポートとは異なる
他のポートに接続されたLANセグメントに対するパケ
ットであると判断し、転送先のポート情報を得るために
サーチメモリ回路13のアクセスを繰返し行う。
In this case, the search memory control circuit 12 returns a state signal 101 indicating that there is a match from the search memory circuit 13 and the search memory circuit 14 returns a state signal 105 indicating that there is no match (step S in FIG. 7).
4) It is determined that the received packet is a packet for a LAN segment connected to another port different from the received port, and the access of the search memory circuit 13 is repeatedly performed to obtain port information of the transfer destination.

【0085】すなわち、サーチメモリコントロール回路
12はサーチメモリ回路13から適合情報が存在する番
地情報を読出し、番地0002の情報を得る(図7ステ
ップS6)。続けて、サーチメモリコントロール回路1
2はその番地情報を基にサーチメモリ回路13の000
2番地の情報を読出し、該当MACアドレスに対応した
ポート番号の情報を得る。サーチメモリコントロール回
路12はこの転送先ポート情報103をパケットキュー
管理回路15に渡す(図7ステップS7)。
That is, the search memory control circuit 12 reads the address information in which the matching information exists from the search memory circuit 13, and obtains the information of the address 0002 (step S6 in FIG. 7). Then, search memory control circuit 1
2 is 000 of the search memory circuit 13 based on the address information.
The information at address 2 is read, and information on the port number corresponding to the MAC address is obtained. The search memory control circuit 12 passes the transfer destination port information 103 to the packet queue management circuit 15 (Step S7 in FIG. 7).

【0086】パケットキュー管理回路15は転送先ポー
ト情報103を基にパケットデータの格納番地を送信キ
ュー331〜33nに登録する処理を行う(図7ステッ
プS8)。これによって、パケットのスイッチング動作
が実現することになる。
The packet queue management circuit 15 performs a process of registering the storage address of the packet data in the transmission queues 331 to 33n based on the destination port information 103 (step S8 in FIG. 7). As a result, a packet switching operation is realized.

【0087】一方、サーチメモリコントロール回路12
はサーチメモリ回路13,14から共に適合無しの状態
信号101,104が返ってくると(図7ステップS
4)、管理対象外のMACアドレス宛のパケットを受信
したと判断し、MACアドレス該当無しの指示103を
パケットキュー管理回路15に渡す(図7ステップS
9)。これを受けたパケットキュー管理回路15はアド
レス解決要求106をCPU11に対して出力して指示
を仰ぎ、CPU11によるアドレス解決プロトコルの実
行処理となる。
On the other hand, search memory control circuit 12
Are returned from the search memory circuits 13 and 14 when the state signals 101 and 104 indicating that there is no match are returned (step S in FIG.
4), it is determined that a packet addressed to a MAC address not to be managed is received, and an instruction 103 indicating that there is no MAC address is passed to the packet queue management circuit 15 (step S in FIG. 7).
9). The packet queue management circuit 15 receiving this outputs the address resolution request 106 to the CPU 11 and asks for an instruction, and the CPU 11 executes an address resolution protocol execution process.

【0088】このように、サーチメモリ回路14で「D
A+ポート番号」の検索を、サーチメモリ回路13での
DAのみの検索と同時に実施することによって、同一の
LANセグメント#1〜#n内に存在するLAN端末間
での通信の場合にパケットの廃棄処理を行う上で、図8
に示す従来の廃棄処理における該当レコード番地の読出
しと転送先ポート番号の読出しと転送先ポート番号及び
受信ポート番号の比較とが不要となる。
As described above, "D"
By performing the search for “A + port number” simultaneously with the search for only DA in the search memory circuit 13, the packet is discarded in the case of communication between LAN terminals existing in the same LAN segment # 1 to #n. In performing the processing, FIG.
It is not necessary to read the corresponding record address, read the transfer destination port number, and compare the transfer destination port number and the reception port number in the conventional discard processing shown in FIG.

【0089】よって、同一のLANセグメント#1〜#
n内に存在するLAN端末間で通信されるパケットの廃
棄処理を行う上で、従来の処理のうち上記の処理が不要
となるので、それらの処理の分だけスイッチング・ハブ
の処理性能が向上する。
Therefore, the same LAN segments # 1 to #
In performing the discarding process of the packet communicated between the LAN terminals existing within n, the above-mentioned processes among the conventional processes are not required, so that the processing performance of the switching hub is improved by the amount of these processes. .

【0090】また,通常のパケットを異なるLANセグ
メント#1〜#nにスイッチング処理を行う上では、従
来のように、キューイング処理を行う前の転送先ポート
番号及び受信ポート番号の比較処理が不要となる。
Further, when switching normal packets to different LAN segments # 1 to #n, it is not necessary to compare the transfer destination port number and the reception port number before performing the queuing process as in the related art. Becomes

【0091】さらに、サーチメモリ回路14をオプショ
ンカードの構成とし、コネクタ接続で装置本体に実装す
る機構としたので、通信トラフィックが比較的低いネッ
トワーク環境においてスイッチング・ハブ装置1を使用
する際に、その低い性能に合わせてサーチメモリ回路1
4を削除することができ、性能に合わせて装置の消費電
力を低減することができる。
Furthermore, since the search memory circuit 14 is configured as an option card and is mounted on the main body of the apparatus by connecting a connector, when the switching hub apparatus 1 is used in a network environment where communication traffic is relatively low, the search memory circuit 14 is used. Search memory circuit 1 for low performance
4 can be eliminated, and the power consumption of the device can be reduced according to the performance.

【0092】[0092]

【発明の効果】以上説明したように本発明によれば、複
数のローカルエリアネットワークが接続され、複数のロ
ーカルエリアネットワークを介して受信したパケットの
宛先アドレスが複数のローカルエリアネットワークのい
ずれに存在するのかを示す情報を予め保持する第1のサ
ーチメモリ回路を含むスイッチング・ハブ装置におい
て、パケットの受信時に第1のサーチメモリ回路を用い
て宛先アドレスのみの第1の検索を行いかつ第1の検索
と同時に第1のサーチメモリ回路と同一内容を保持する
第2のサーチメモリ回路を用いて宛先アドレス及びパケ
ットを受信したポート番号による第2の検索を行い、第
1及び第2検索の結果を基にパケットを破棄するか否か
を判断することによって、同一のLANセグメント内に
存在するLAN端末間で通信されるパケットを廃棄する
に必要な処理時間を短縮することができ、スイッチング
性能を向上させることができるという効果がある。
As described above, according to the present invention, a plurality of local area networks are connected, and a destination address of a packet received via the plurality of local area networks exists in any of the plurality of local area networks. In a switching hub device including a first search memory circuit for preliminarily holding information indicating whether or not the first search memory circuit performs a first search for only the destination address using the first search memory circuit when receiving a packet, and the first search At the same time, a second search is performed using the destination address and the port number at which the packet was received using a second search memory circuit holding the same contents as the first search memory circuit, and based on the results of the first and second searches. To determine whether or not to discard the packet, the LAN terminal existing in the same LAN segment In it is possible to shorten the processing time required to drop the packets to be communicated, there is an effect that it is possible to improve the switching performance.

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

【図1】本発明の一実施例によるスイッチング・ハブ装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a switching hub device according to one embodiment of the present invention.

【図2】図1のサーチメモリ回路の取付け構造を示す図
である。
FIG. 2 is a diagram showing a mounting structure of a search memory circuit of FIG. 1;

【図3】本発明の一実施例によるスイッチング・ハブ装
置のシステム構成を示すブロック図である。
FIG. 3 is a block diagram showing a system configuration of a switching hub device according to one embodiment of the present invention.

【図4】LAN上で通信されるパケットのフレームフォ
ーマットを示す。
FIG. 4 shows a frame format of a packet communicated on a LAN.

【図5】図1のパケットキュー管理回路の詳細な構成を
示す図である。
FIG. 5 is a diagram showing a detailed configuration of a packet queue management circuit of FIG. 1;

【図6】図1のサーチメモリ回路の構成例を示す図であ
る。
FIG. 6 is a diagram illustrating a configuration example of a search memory circuit in FIG. 1;

【図7】本発明の一実施例の動作を示すフローチャート
である。
FIG. 7 is a flowchart showing the operation of one embodiment of the present invention.

【図8】従来例の動作を示すフローチャートである。FIG. 8 is a flowchart showing the operation of the conventional example.

【図9】従来例によるスイッチング・ハブ装置のシステ
ム構成を示すブロック図である。
FIG. 9 is a block diagram showing a system configuration of a switching hub device according to a conventional example.

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

1 スイッチング・ハブ装置 2−1〜2−n LANセグメント(#1〜#n) 11 CPU(中央処理装置) 12 サーチメモリコントロール回路 13,14 サーチメモリ回路 15 パケットキュー管理回路 16 パケットメモリ 17−1〜17−n ポート(#1〜#n)送受信制御
回路
DESCRIPTION OF SYMBOLS 1 Switching hub device 2-1 to 2-n LAN segment (# 1 to #n) 11 CPU (central processing unit) 12 Search memory control circuit 13, 14 Search memory circuit 15 Packet queue management circuit 16 Packet memory 17-1 To 17-n port (# 1 to #n) transmission / reception control circuit

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 複数のローカルエリアネットワークが接
続され、前記複数のローカルエリアネットワークを介し
て受信したパケットの宛先アドレスが前記複数のローカ
ルエリアネットワークのいずれに存在するのかを示す情
報を予め保持する第1のサーチメモリ回路を含むスイッ
チング・ハブ装置であって、前記第1のサーチメモリ回
路と同一内容を保持する第2のサーチメモリ回路と、前
記パケットの受信時に前記第1のサーチメモリ回路を用
いて前記宛先アドレスのみの第1の検索を行いかつ前記
第1の検索と同時に前記第2のサーチメモリ回路を用い
て前記宛先アドレス及び前記パケットを受信したポート
番号による第2の検索を行う検索手段と、前記第1及び
第2検索の結果を基に前記パケットを破棄するか否かを
判断する判断手段とを有することを特徴とするスイッチ
ング・ハブ装置。
1. A method according to claim 1, wherein a plurality of local area networks are connected, and information indicating in advance which one of said plurality of local area networks has a destination address of a packet received via said plurality of local area networks is stored. A switching hub device including a first search memory circuit, wherein the second search memory circuit retains the same contents as the first search memory circuit, and the first search memory circuit is used when receiving the packet. Means for performing a first search for only the destination address and performing a second search using the second address memory and the port number at which the packet was received using the second search memory circuit simultaneously with the first search Determining means for determining whether to discard the packet based on the results of the first and second searches; A switching hub device comprising:
【請求項2】 前記判断手段は、前記第1及び第2の検
索の結果がともに適合ありの時に前記パケットを破棄す
るよう判断することを特徴とする請求項1記載のスイッ
チング・ハブ装置。
2. The switching hub device according to claim 1, wherein said judging means judges to discard said packet when the results of said first and second searches are both compatible.
【請求項3】 前記判断手段は、前記第1の検索の結果
のみが適合ありの時に前記パケットをスイッチングする
よう判断することを特徴とする請求項1または請求項2
記載のスイッチング・ハブ装置。
3. The method according to claim 1, wherein the determining unit determines to switch the packet when only the result of the first search is appropriate.
A switching hub device as described.
【請求項4】 前記判断手段は、前記第1及び第2の検
索の結果がともに適合無しの時に前記宛先アドレスの適
合無しを解決するアドレス解決処理を行うよう判断する
ことを特徴とする請求項1から請求項3のいずれか記載
のスイッチング・ハブ装置。
4. The method according to claim 1, wherein the determining unit determines that an address resolution process for resolving the non-conformity of the destination address is performed when the results of the first and second searches are both non-conforming. The switching hub device according to any one of claims 1 to 3.
【請求項5】 前記第2のサーチメモリ回路は、自装置
に対して取付け取外し自在としたことを特徴とする請求
項1から請求項4のいずれか記載のスイッチング・ハブ
装置。
5. The switching hub device according to claim 1, wherein the second search memory circuit is detachably attached to its own device.
【請求項6】 複数のローカルエリアネットワークが接
続され、前記複数のローカルエリアネットワークを介し
て受信したパケットの宛先アドレスが前記複数のローカ
ルエリアネットワークのいずれに存在するのかを示す情
報を予め保持する第1のサーチメモリ回路を含むスイッ
チング・ハブ装置のスイッチング処理方法であって、前
記パケットの受信時に前記第1のサーチメモリ回路を用
いて前記宛先アドレスのみの第1の検索を行いかつ前記
第1の検索と同時に前記第1のサーチメモリ回路と同一
内容を保持する第2のサーチメモリ回路を用いて前記宛
先アドレス及び前記パケットを受信したポート番号によ
る第2の検索を行うステップと、前記第1及び第2検索
の結果を基に前記パケットを破棄するか否かを判断する
ステップとを有することを特徴とするスイッチング処理
方法。
6. A method in which a plurality of local area networks are connected, and information indicating in advance which of the plurality of local area networks a destination address of a packet received via the plurality of local area networks exists is stored. A switching processing method for a switching hub device including a first search memory circuit, the first search memory circuit performing a first search for only the destination address using the first search memory circuit when receiving the packet, and Performing a second search using the destination address and the port number at which the packet was received using a second search memory circuit holding the same contents as the first search memory circuit at the same time as the search; Determining whether to discard the packet based on the result of the second search A switching processing method characterized by the above-mentioned.
【請求項7】 前記パケットを破棄するか否かを判断す
るステップは、前記第1及び第2の検索の結果がともに
適合ありの時に前記パケットの破棄と判断するようにし
たことを特徴とする請求項6記載のスイッチング処理方
法。
7. The step of determining whether or not to discard the packet is characterized in that it is determined that the packet is discarded when both the first and second search results match. The switching processing method according to claim 6.
【請求項8】 前記パケットを破棄するか否かを判断す
るステップは、前記第1の検索の結果のみが適合ありの
時に前記パケットのスイッチングと判断するようにした
ことを特徴とする請求項6または請求項7記載のスイッ
チング処理方法。
8. The method according to claim 6, wherein the step of determining whether or not to discard the packet is configured to determine that the packet is to be switched when only the result of the first search matches. Or the switching processing method according to claim 7.
【請求項9】 前記パケットを破棄するか否かを判断す
るステップは、前記第1及び第2の検索の結果がともに
適合無しの時に前記宛先アドレスの適合無しを解決する
アドレス解決処理と判断するようにしたことを特徴とす
る請求項6から請求項8のいずれか記載のスイッチング
処理方法。
9. The step of determining whether or not to discard the packet is determined to be an address resolution process for resolving the non-conformity of the destination address when the results of the first and second searches are both non-conforming. 9. The switching processing method according to claim 6, wherein the switching processing is performed.
【請求項10】 複数のローカルエリアネットワークが
接続され、前記複数のローカルエリアネットワークを介
して受信したパケットの宛先アドレスが前記複数のロー
カルエリアネットワークのいずれに存在するのかを示す
情報を予め保持する第1のサーチメモリ回路を含むスイ
ッチング・ハブ装置のスイッチング処理方法であって、
前記パケットの受信時に前記第1のサーチメモリ回路を
用いて前記宛先アドレスのみの第1の検索を行いかつ前
記第1の検索と同時に前記第1のサーチメモリ回路と同
一内容を保持しかつ自装置に対して取付け取外し自在な
第2のサーチメモリ回路を用いて前記宛先アドレス及び
前記パケットを受信したポート番号による第2の検索を
行うステップと、前記第1及び第2検索の結果を基に前
記パケットを破棄するか否かを判断するステップとを有
することを特徴とするスイッチング処理方法。
10. A method in which a plurality of local area networks are connected, and information indicating in advance in which of the plurality of local area networks the destination address of a packet received via the plurality of local area networks is stored. A switching processing method for a switching hub device including one search memory circuit,
When the packet is received, a first search for only the destination address is performed using the first search memory circuit, and the same content as the first search memory circuit is held at the same time as the first search. Performing a second search based on the destination address and the port number at which the packet was received using a second search memory circuit that can be attached to and detached from the server, and based on the results of the first and second searches. Determining whether to discard the packet.
【請求項11】 前記パケットを破棄するか否かを判断
するステップは、前記第1及び第2の検索の結果がとも
に適合ありの時に前記パケットの破棄と判断するように
したことを特徴とする請求項10記載のスイッチング処
理方法。
11. The step of judging whether or not to discard the packet is characterized in that it is judged that the packet is discarded when the results of the first and second searches both match. The switching processing method according to claim 10.
【請求項12】 前記パケットを破棄するか否かを判断
するステップは、前記第1の検索の結果のみが適合あり
の時に前記パケットのスイッチングと判断するようにし
たことを特徴とする請求項10または請求項11記載の
スイッチング処理方法。
12. The method according to claim 10, wherein the step of determining whether to discard the packet determines that the packet is to be switched when only the result of the first search matches. Alternatively, the switching processing method according to claim 11.
【請求項13】 前記パケットを破棄するか否かを判断
するステップは、前記第1及び第2の検索の結果がとも
に適合無しの時に前記宛先アドレスの適合無しを解決す
るアドレス解決処理と判断するようにしたことを特徴と
する請求項10から請求項12のいずれか記載のスイッ
チング処理方法。
13. The step of judging whether or not to discard the packet is judged to be an address resolution process for resolving the non-conformity of the destination address when the results of the first and second searches are both non-conforming. The switching processing method according to claim 10, wherein the switching processing is performed.
【請求項14】 複数のローカルエリアネットワークが
接続され、前記複数のローカルエリアネットワークを介
して受信したパケットの宛先アドレスが前記複数のロー
カルエリアネットワークのいずれに存在するのかを示す
情報を予め保持する第1のサーチメモリ回路を含むスイ
ッチング・ハブ装置においてコンピュータに前記パケッ
トに対するスイッチング処理を行わせるためのスイッチ
ング処理制御プログラムを記録した記録媒体であって、
前記スイッチング処理制御プログラムは前記コンピュー
タに、前記パケットの受信時に前記第1のサーチメモリ
回路を用いて前記宛先アドレスのみの第1の検索を行わ
せるとともに、前記第1の検索と同時に前記第1のサー
チメモリ回路と同一内容を保持する第2のサーチメモリ
回路を用いて前記宛先アドレス及び前記パケットを受信
したポート番号による第2の検索を行わせ、前記第1及
び第2検索の結果を基に前記パケットを破棄するか否か
を判断させることを特徴とするスイッチング処理制御プ
ログラムを記録した記録媒体。
14. A method in which a plurality of local area networks are connected, and information indicating in advance in which of the plurality of local area networks the destination address of a packet received via the plurality of local area networks is stored. 1. A recording medium storing a switching processing control program for causing a computer to perform a switching processing on the packet in a switching hub device including the search memory circuit according to (1).
The switching processing control program causes the computer to perform a first search of only the destination address using the first search memory circuit at the time of receiving the packet, and to perform the first search simultaneously with the first search. A second search is performed using the destination address and the port number that received the packet using a second search memory circuit holding the same contents as the search memory circuit, and based on the results of the first and second searches. A recording medium on which a switching processing control program is recorded, wherein it is determined whether to discard the packet.
【請求項15】 前記スイッチング処理制御プログラム
は前記コンピュータに、前記パケットを破棄するか否か
を判断させる際に、前記第1及び第2の検索の結果がと
もに適合ありの時に前記パケットの破棄と判断させるこ
とを特徴とする請求項14記載のスイッチング処理制御
プログラムを記録した記録媒体。
15. The switching processing control program, when causing the computer to determine whether to discard the packet, when the results of the first and second searches are both compatible, discarding the packet. 15. A recording medium on which the switching processing control program according to claim 14 is recorded.
【請求項16】 前記スイッチング処理制御プログラム
は前記コンピュータに、前記パケットを破棄するか否か
を判断させる際に、前記第1の検索の結果のみが適合あ
りの時に前記パケットのスイッチングと判断させること
を特徴とする請求項14または請求項15記載のスイッ
チング処理制御プログラムを記録した記録媒体。
16. The switching process control program, when causing the computer to determine whether to discard the packet, causes the computer to determine that the packet is to be switched when only the result of the first search is appropriate. A recording medium recording the switching processing control program according to claim 14 or claim 15.
【請求項17】 前記スイッチング処理制御プログラム
は前記コンピュータに、前記パケットを破棄するか否か
を判断させる際に、前記第1及び第2の検索の結果がと
もに適合無しの時に前記宛先アドレスの適合無しを解決
するアドレス解決処理と判断させることを特徴とする請
求項14から請求項16のいずれか記載のスイッチング
処理制御プログラムを記録した記録媒体。
17. The switching processing control program, when causing the computer to determine whether to discard the packet, when the result of the first and second searches is not suitable, the destination address is matched. 17. A recording medium on which the switching processing control program according to claim 14 is determined to be an address resolution processing for solving the absence.
【請求項18】 複数のローカルエリアネットワークが
接続され、前記複数のローカルエリアネットワークを介
して受信したパケットの宛先アドレスが前記複数のロー
カルエリアネットワークのいずれに存在するのかを示す
情報を予め保持する第1のサーチメモリ回路を含むスイ
ッチング・ハブ装置においてコンピュータに前記パケッ
トに対するスイッチング処理を行わせるためのスイッチ
ング処理制御プログラムを記録した記録媒体であって、
前記スイッチング処理制御プログラムは前記コンピュー
タに、前記パケットの受信時に前記第1のサーチメモリ
回路を用いて前記宛先アドレスのみの第1の検索を行わ
せるとともに、前記第1の検索と同時に前記第1のサー
チメモリ回路と同一内容を保持しかつ自装置に対して取
付け取外し自在な第2のサーチメモリ回路を用いて前記
宛先アドレス及び前記パケットを受信したポート番号に
よる第2の検索を行わせ、前記第1及び第2検索の結果
を基に前記パケットを破棄するか否かを判断させること
を特徴とするスイッチング処理制御プログラムを記録し
た記録媒体。
18. A method in which a plurality of local area networks are connected, and information indicating in advance in which of the plurality of local area networks the destination address of a packet received via the plurality of local area networks is stored. 1. A recording medium recording a switching processing control program for causing a computer to perform a switching processing on the packet in a switching hub device including the search memory circuit according to (1).
The switching processing control program causes the computer to perform a first search of only the destination address using the first search memory circuit at the time of receiving the packet, and to perform the first search simultaneously with the first search. A second search is performed using the destination address and the port number at which the packet was received using a second search memory circuit that retains the same contents as the search memory circuit and that can be attached to and detached from the own device. A recording medium storing a switching processing control program, wherein a determination is made as to whether or not to discard the packet based on the results of the first and second searches.
【請求項19】 前記スイッチング処理制御プログラム
は前記コンピュータに、前記パケットを破棄するか否か
を判断させる際に、前記第1及び第2の検索の結果がと
もに適合ありの時に前記パケットの破棄と判断させるこ
とを特徴とする請求項18記載のスイッチング処理制御
プログラムを記録した記録媒体。
19. The switching processing control program, when causing the computer to determine whether or not to discard the packet, when the results of the first and second searches are both compatible, discarding the packet. 19. A recording medium on which the switching processing control program according to claim 18 is recorded.
【請求項20】 前記スイッチング処理制御プログラム
は前記コンピュータに、前記パケットを破棄するか否か
を判断させる際に、前記第1の検索の結果のみが適合あ
りの時に前記パケットのスイッチングと判断させること
を特徴とする請求項18または請求項19記載のスイッ
チング処理制御プログラムを記録した記録媒体。
20. The switching process control program, when causing the computer to determine whether to discard the packet, causes the computer to determine that the packet is to be switched when only the result of the first search matches. 20. A recording medium on which the switching processing control program according to claim 18 or 19 is recorded.
【請求項21】 前記スイッチング処理制御プログラム
は前記コンピュータに、前記パケットを破棄するか否か
を判断させる際に、前記第1及び第2の検索の結果がと
もに適合無しの時に前記宛先アドレスの適合無しを解決
するアドレス解決処理と判断させることを特徴とする請
求項18から請求項20のいずれか記載のスイッチング
処理制御プログラムを記録した記録媒体。
21. The switching processing control program, when causing the computer to determine whether or not to discard the packet, when the result of the first and second searches is not suitable, the destination address is matched. 21. A recording medium on which the switching processing control program according to claim 18 is determined to be an address resolution processing for solving the absence.
JP12440898A 1998-05-07 1998-05-07 Switching hub device, switching processing method therefor, and recording medium recording control program therefor Expired - Fee Related JP3357980B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12440898A JP3357980B2 (en) 1998-05-07 1998-05-07 Switching hub device, switching processing method therefor, and recording medium recording control program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12440898A JP3357980B2 (en) 1998-05-07 1998-05-07 Switching hub device, switching processing method therefor, and recording medium recording control program therefor

Publications (2)

Publication Number Publication Date
JPH11317760A true JPH11317760A (en) 1999-11-16
JP3357980B2 JP3357980B2 (en) 2002-12-16

Family

ID=14884737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12440898A Expired - Fee Related JP3357980B2 (en) 1998-05-07 1998-05-07 Switching hub device, switching processing method therefor, and recording medium recording control program therefor

Country Status (1)

Country Link
JP (1) JP3357980B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6799207B1 (en) 2000-04-10 2004-09-28 International Business Machines Corporation Method and system for downloading software managed trees in a network processing system
US6981027B1 (en) 2000-04-10 2005-12-27 International Business Machines Corporation Method and system for memory management in a network processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6799207B1 (en) 2000-04-10 2004-09-28 International Business Machines Corporation Method and system for downloading software managed trees in a network processing system
US6981027B1 (en) 2000-04-10 2005-12-27 International Business Machines Corporation Method and system for memory management in a network processing system

Also Published As

Publication number Publication date
JP3357980B2 (en) 2002-12-16

Similar Documents

Publication Publication Date Title
EP0508886B1 (en) Filtering and disposition of messages in a bridge using a single address and protocol table
US6775290B1 (en) Multiport network switch supporting multiple VLANs per port
JP3645734B2 (en) Network relay device and network relay method
US5940597A (en) Method and apparatus for periodically updating entries in a content addressable memory
JP2537017B2 (en) Communication network interconnection device
US5229994A (en) Bridge for connecting an ieee 802.3 local area network to an asynchronous time-division multiplex telecommunication network
US6181699B1 (en) Apparatus and method of assigning VLAN tags
US7346063B1 (en) Memory management unit for a network switch
US7114024B2 (en) Apparatus and method for managing memory defects
US5923654A (en) Network switch that includes a plurality of shared packet buffers
US6732184B1 (en) Address table overflow management in a network switch
JP2002314571A (en) Classification and tagging rules for switching nodes
US6779043B1 (en) Network address manager
JP4182180B2 (en) Network relay device and network relay method
US6731596B1 (en) Network switch having system for automatically detecting change in network node connection
JP3075163B2 (en) Multiport frame exchange method
US6771654B1 (en) Apparatus and method for sharing memory using a single ring data bus connection configuration
US6584106B1 (en) Backbone forwarding scheme for multiport network switch
US6480490B1 (en) Interleaved access to address table in network switching system
JP3357980B2 (en) Switching hub device, switching processing method therefor, and recording medium recording control program therefor
JP3645735B2 (en) Network relay device and network relay method
US6816498B1 (en) Method for aging table entries in a table supporting multi-key searches
US6816488B1 (en) Apparatus and method for processing data frames in a network switch
US6256313B1 (en) Triplet architecture in a multi-port bridge for a local area network
US7103053B2 (en) Gigabit switch on chip architecture

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020903

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

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: 20091011

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121011

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131011

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees