JPH1093606A - Data transfer system for switching hub - Google Patents
Data transfer system for switching hubInfo
- Publication number
- JPH1093606A JPH1093606A JP24181496A JP24181496A JPH1093606A JP H1093606 A JPH1093606 A JP H1093606A JP 24181496 A JP24181496 A JP 24181496A JP 24181496 A JP24181496 A JP 24181496A JP H1093606 A JPH1093606 A JP H1093606A
- Authority
- JP
- Japan
- Prior art keywords
- port
- frame data
- transfer
- data
- frame
- 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.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、スイッチングハブ
におけるポート間のフレームデータ転送方式に係り、特
に、フレームデータ転送の遅延時間を短縮するスイッチ
ングハブのデータ転送方式に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of transferring frame data between ports in a switching hub, and more particularly to a data transfer method of a switching hub for reducing a delay time of frame data transfer.
【0002】[0002]
【従来の技術】スイッチングハブは、図3に示されるよ
うに、複数の通信ポートを持ち、通信ポートから受信し
たフレームのフレームデータをその宛先端末が接続され
ているポートのみに転送するものである。2. Description of the Related Art As shown in FIG. 3, a switching hub has a plurality of communication ports, and transfers frame data of a frame received from a communication port only to a port to which a destination terminal is connected. .
【0003】図3では、スイッチングハブ30の1〜4
の各ポートに端末31a〜31dが接続されている。ス
イッチングハブ30は、ポート1に接続されている端末
31a(端末A)から端末31d(端末D)宛のフレー
ム32aを受信すると、そのフレームデータを端末31
dが接続されているポート4のみに転送する。また、こ
れと同時にポート2に接続されている端末31b(端末
B)から端末31c(端末C)宛のフレーム32bを受
信すると、そのフレームデータを端末31cが接続され
ているポート3のみに転送する。[0003] In FIG.
Are connected to terminals 31a to 31d. When receiving the frame 32a addressed to the terminal 31d (terminal D) from the terminal 31a (terminal A) connected to the port 1, the switching hub 30 transmits the frame data to the terminal 31a.
Transfer only to port 4 to which d is connected. At the same time, when the frame 32b addressed to the terminal 31c (terminal C) is received from the terminal 31b (terminal B) connected to the port 2, the frame data is transferred only to the port 3 to which the terminal 31c is connected. .
【0004】図4にスイッチングハブの内部構成を示
す。スイッチングハブは、フレームの送受信を制御する
通信制御LSI40と、ポート相互間のフレームデータ
の転送を制御するデータ転送制御回路41と、フレーム
データの宛先アドレスから転送先ポートを検索するアド
レス検索回路42と、フレームデータの転送に使用され
る共有バス43と、この共有バス43を介して転送され
てきたフレームデータを一時的に保存するバッファメモ
リ44と、転送先情報の通知に使用される転送先通知バ
ス45とで構成されている。FIG. 4 shows the internal configuration of the switching hub. The switching hub includes a communication control LSI 40 for controlling transmission and reception of frames, a data transfer control circuit 41 for controlling transfer of frame data between ports, and an address search circuit 42 for searching for a transfer destination port from a destination address of the frame data. , A shared bus 43 used for transferring frame data, a buffer memory 44 for temporarily storing frame data transferred via the shared bus 43, and a transfer destination notification used for notification of transfer destination information. And a bus 45.
【0005】ここでは、スイッチングハブのポート1
に、ポート3に接続されている端末宛のフレームを受信
した場合を例にして、スイッチングハブ内部の動作を説
明する。[0005] Here, port 1 of the switching hub is used.
Next, the operation inside the switching hub will be described by taking as an example a case where a frame addressed to a terminal connected to port 3 is received.
【0006】図4において、通信制御LSI40aは、
フレームを受信すると、データ転送制御回路41aにフ
レームデータを出力する。データ転送制御回路41a
は、通信制御LSI40aが出力したフレームデータか
ら宛先アドレス(ポート3に接続されている端末のアド
レス)を抽出し、これをアドレス検索回路42に出力す
る。アドレス検索回路42は、端末アドレスとその端末
アドレスが接続されているポートのポート番号とを記録
したデータベースを保持しており、このデータベースを
使用してデータ転送制御回路41aが出力した端末アド
レスを持つ端末がどのポートに接続されているかを検索
し、その結果の情報(ポート番号=3)をデータ転送制
御回路41aに出力する。データ転送制御回路41a
は、この情報により他のデータ転送制御回路41に対し
て、転送先通知バス45を介して転送先情報(ポート3
であることを示す)を出力し、フレームデータの転送を
開始する。In FIG. 4, a communication control LSI 40a comprises:
When the frame is received, it outputs the frame data to the data transfer control circuit 41a. Data transfer control circuit 41a
Extracts the destination address (address of the terminal connected to the port 3) from the frame data output by the communication control LSI 40a, and outputs this to the address search circuit 42. The address search circuit 42 holds a database that records the terminal address and the port number of the port to which the terminal address is connected, and has the terminal address output from the data transfer control circuit 41a using this database. It searches which port the terminal is connected to and outputs the result information (port number = 3) to the data transfer control circuit 41a. Data transfer control circuit 41a
The transfer destination information (port 3) is transmitted to the other data transfer control circuit 41 via the transfer destination notification bus 45 based on this information.
Is output), and the transfer of the frame data is started.
【0007】データ転送制御回路41bは、転送先通知
バス45を介して通知された転送先情報から、自ポート
宛でないフレームデータが転送されてくることを検出
し、共有バス43を介して転送されてきたフレームデー
タのバッファメモリ44bへの保存を実行しない。一
方、データ転送制御回路41cは、転送先通知バス45
を介して通知された転送先情報から、自ポート宛のフレ
ームデータが転送されてくることを検出し、共有バス4
3を介して転送されてきたフレームデータをバッファメ
モリ44cに保存する。バッファメモリ44cに保存さ
れたフレームデータは、通信制御LSI40cが送信可
能になると同時に読み出され、送信される。The data transfer control circuit 41b detects from the transfer destination information notified via the transfer destination notification bus 45 that frame data not addressed to its own port is transferred, and is transferred via the shared bus 43. The stored frame data is not stored in the buffer memory 44b. On the other hand, the data transfer control circuit 41 c
From the transfer destination information notified through the communication bus 4 that the frame data addressed to the own port is transferred,
3 is stored in the buffer memory 44c. The frame data stored in the buffer memory 44c is read out and transmitted at the same time that the communication control LSI 40c can transmit.
【0008】[0008]
【発明が解決しようとする課題】上記した従来技術にお
いては、図5に示したように、受信フレームデータから
宛先アドレスを抽出し、アドレス検索回路42によって
転送先ポートを検索する転送先検索50及びその転送先
検索の結果得られた転送先情報の通知を行う転送先通知
51を終了した後に、フレームデータ転送52が実行さ
れる。このため、転送先検索時間が長くなると、フレー
ムを受信してからフレームデータの転送を開始するまで
の転送遅延時間が増大するという問題がある。In the above-mentioned prior art, as shown in FIG. 5, a destination search 50 for extracting a destination address from received frame data and searching for a destination port by an address search circuit 42, and After the transfer destination notification 51 for notifying the transfer destination information obtained as a result of the transfer destination search is completed, the frame data transfer 52 is executed. For this reason, when the transfer destination search time becomes long, there is a problem that a transfer delay time from when a frame is received to when transfer of frame data is started increases.
【0009】そこで、本発明の目的は、上記課題を解決
し、フレームデータ転送の遅延時間を短縮するスイッチ
ングハブのデータ転送方式を提供することにある。An object of the present invention is to provide a data transfer system for a switching hub which solves the above-mentioned problems and reduces the delay time of frame data transfer.
【0010】[0010]
【課題を解決するための手段】上記目的を達成するため
に本発明は、複数のポートのそれぞれに、そのポートで
のフレームの送受信を制御する通信制御LSIと、ポー
ト相互間のフレームデータの転送を制御するデータ転送
制御回路と、転送されてきたフレームデータを一時的に
保存するバッファメモリとを設け、他方、フレームデー
タの宛先アドレスから転送先ポートを検索するアドレス
検索回路を設けて、そのフレームの宛先端末が接続され
ているポートのみにフレームデータが転送されるように
したスイッチングハブにおいて、ポートにフレームが受
信されると同時に各ポートにフレームデータの転送を開
始し、並行して転送先ポートの検索を行い、その検索結
果である転送先情報を各ポートに通知し、該当するポー
トのみがバッファメモリ内のフレームデータを有効とす
るものである。SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a communication control LSI for controlling transmission and reception of frames at each of a plurality of ports, and transfer of frame data between the ports. And a buffer memory for temporarily storing the transferred frame data, and an address search circuit for searching for a transfer destination port from a destination address of the frame data. In a switching hub in which frame data is transferred only to the port to which the destination terminal is connected, the frame is transferred to each port at the same time as the frame is received by the port, and the transfer destination port is concurrently started. Search, and notifies each port of the transfer result information that is the search result. It is an effective frame data in the memory.
【0011】上記データ転送制御回路が共有バスで相互
に接続され、フレームを受信したポートのデータ転送制
御回路が共有バスを介してフレームデータを転送し、他
のポートのデータ転送制御回路が転送されてきたフレー
ムデータをバッファメモリに取り込み、その後、転送先
情報の通知に基づき該当しないポートのデータ転送制御
回路が取り込みを中止しバッファメモリを消去してもよ
い。The data transfer control circuits are connected to each other by a shared bus, the data transfer control circuit of the port receiving the frame transfers frame data via the shared bus, and the data transfer control circuit of another port is transferred. The received frame data may be fetched into the buffer memory, and then, based on the notification of the transfer destination information, the data transfer control circuit of the port which does not correspond may stop the fetching and erase the buffer memory.
【0012】[0012]
【発明の実施の形態】以下、本発明の一実施形態を添付
図面に基づいて詳述する。An embodiment of the present invention will be described below in detail with reference to the accompanying drawings.
【0013】図1に本発明によるデータ転送制御回路の
構成を示す。データ転送制御回路は、通信制御LSI4
0とのデータの入出力を制御する通信制御LSI制御部
10と、通信制御LSI40から出力されるフレームデ
ータから宛先アドレスを抽出する宛先アドレス抽出部1
1と、アドレス検索回路42への宛先アドレス出力及び
アドレス検索回路42からの転送先情報の検出を制御す
るアドレス検索制御部12と、転送先通知バス45の入
出力制御及び転送先が自ポートかどうかの判定を行う転
送先通知制御部13と、共有バス43へのデータの入出
力を制御する共有バス制御部14と、バッファメモリ4
4を制御するバッファメモリ制御部15とを備えてい
る。FIG. 1 shows the configuration of a data transfer control circuit according to the present invention. The data transfer control circuit includes a communication control LSI 4
Communication control LSI control unit 10 for controlling the input and output of data to and from destination address extraction unit 1 for extracting a destination address from frame data output from communication control LSI 40
1, an address search control unit 12 for controlling the output of the destination address to the address search circuit 42 and the detection of the transfer destination information from the address search circuit 42, and the input / output control of the transfer destination notification bus 45 and whether the transfer destination is the local port. A transfer destination notification control unit 13 for determining whether or not the shared memory 43 is connected to the shared bus 43;
And a buffer memory control unit 15 for controlling the control unit 4.
【0014】まず、ポートがフレームを受信したときの
動作を説明する。First, the operation when a port receives a frame will be described.
【0015】通信制御LSI制御部10は、通信制御L
SI40からフレームデータが出力されると、宛先アド
レス抽出部11及び共有バス制御部14にフレームデー
タを出力する。宛先アドレス抽出部11は、このフレー
ムデータから宛先アドレスを抽出し、この宛先アドレス
をアドレス検索制御部12に出力する。アドレス検索制
御部12は、この宛先アドレスをアドレス検索回路42
に出力し、アドレス検索回路42からの応答を待つ。ア
ドレス検索制御部12は、アドレス検索回路42からの
応答(転送先情報)を検出すると、この転送先情報を転
送先通知制御部13に出力する。転送先通知制御部13
は、アドレス検索制御部12からの転送先情報を検出す
ると、この転送先情報を転送先通知バス45に出力す
る。The communication control LSI control unit 10
When the frame data is output from the SI 40, the frame data is output to the destination address extraction unit 11 and the shared bus control unit 14. The destination address extraction unit 11 extracts a destination address from the frame data, and outputs the destination address to the address search control unit 12. The address search control unit 12 uses the address search circuit 42
, And waits for a response from the address search circuit 42. When detecting the response (transfer destination information) from the address search circuit 42, the address search control unit 12 outputs the transfer destination information to the transfer destination notification control unit 13. Transfer destination notification control unit 13
When the transfer destination information from the address search control unit 12 is detected, the transfer destination information is output to the transfer destination notification bus 45.
【0016】一方、共有バス制御部14は、通信制御L
SI制御部10からフレームデータが出力されると、共
有バス43へのデータ出力権利を獲得し、フレームデー
タを共有バス43に出力する。図2に本発明によるデー
タ転送制御回路の受信時の動作のタイムチャートを示
す。フレームデータからの宛先アドレス抽出及びアドレ
ス検索回路42により転送先ポートを検索する転送先検
索20と、フレームデータ転送22とが同時に実行され
る。On the other hand, the shared bus control unit 14
When the frame data is output from the SI control unit 10, the right to output data to the shared bus 43 is acquired, and the frame data is output to the shared bus 43. FIG. 2 shows a time chart of the operation at the time of reception of the data transfer control circuit according to the present invention. The destination address extraction 20 for searching the destination port by the destination address extraction and address search circuit 42 from the frame data and the frame data transfer 22 are simultaneously executed.
【0017】次に、他のデータ転送制御回路からのフレ
ームデータ転送及び転送先情報通知に対する動作を説明
する。Next, the operation for frame data transfer and transfer destination information notification from another data transfer control circuit will be described.
【0018】共有バス制御部14は、他のデータ転送制
御回路から共有バス43を介してフレームデータが転送
されてきたことを検出すると、そのフレームデータをバ
ッファメモリ制御部15に出力する。バッファメモリ制
御部15は、このフレームデータをバッファメモリ44
に保存する。When detecting that frame data has been transferred from another data transfer control circuit via the shared bus 43, the shared bus control unit 14 outputs the frame data to the buffer memory control unit 15. The buffer memory control unit 15 stores the frame data in the buffer memory 44
To save.
【0019】転送先通知制御部13は、他のデータ転送
制御回路からの転送先情報を転送先通知バス45より検
出すると、この転送先情報により、共有バス43を介し
て転送されてきたフレームデータが自ポート宛かどうか
を判断し、自ポート宛でなかった時に、このことを共有
バス制御部14及びバッファメモリ制御部15に通知す
る。共有バス制御部14は、この転送先通知制御部13
からの通知を検出すると、バッファメモリ制御部15へ
のフレームデータの出力を中止し、また、バッファメモ
リ制御部15は、バッファメモリ44に保存したフレー
ムデータをクリアする。When the transfer destination notification control unit 13 detects transfer destination information from another data transfer control circuit from the transfer destination notification bus 45, the transfer destination notification control unit 13 uses the transfer destination information to transmit the frame data transferred via the shared bus 43. Is determined to be directed to its own port, and when it is not directed to its own port, this is notified to the shared bus control unit 14 and the buffer memory control unit 15. The shared bus control unit 14 controls the transfer destination notification control unit 13
, The output of the frame data to the buffer memory control unit 15 is stopped, and the buffer memory control unit 15 clears the frame data stored in the buffer memory 44.
【0020】転送されてきたフレームデータが自ポート
宛であれば、バッファメモリ44内のフレームデータは
有効であるから、通信制御LSI40が送信可能になる
と同時に読み出され、ポートから送信される。If the transferred frame data is addressed to its own port, the frame data in the buffer memory 44 is valid, so that it is read out at the same time that the communication control LSI 40 becomes available for transmission and transmitted from the port.
【0021】[0021]
【発明の効果】本発明は次の如き優れた効果を発揮す
る。The present invention exhibits the following excellent effects.
【0022】(1)転送先検索が終了する前にフレーム
データ転送を開始できるので、転送先検索時間が長くな
っても転送遅延時間が増大しない。(1) Since the frame data transfer can be started before the transfer destination search is completed, the transfer delay time does not increase even if the transfer destination search time becomes long.
【図1】本発明の一実施形態を示すデータ転送制御回路
の構成図である。FIG. 1 is a configuration diagram of a data transfer control circuit according to an embodiment of the present invention.
【図2】本発明によるデータ転送制御回路の受信時の動
作のタイムチャート図である。FIG. 2 is a time chart of an operation at the time of reception of a data transfer control circuit according to the present invention.
【図3】スイッチングハブを使用したネットワークの構
成図である。FIG. 3 is a configuration diagram of a network using a switching hub.
【図4】スイッチングハブの内部構成図である。FIG. 4 is an internal configuration diagram of a switching hub.
【図5】従来技術によるデータ転送制御回路の受信時の
動作のタイムチャート図である。FIG. 5 is a time chart of an operation at the time of reception of a data transfer control circuit according to the related art.
10 通信制御LSI制御部 11 宛先アドレス抽出部 12 アドレス検索制御部 13 転送先通知制御部 14 共有バス制御部 15 バッファメモリ制御部 40(41a〜40c) 通信制御LSI 42 アドレス検索回路 43 共有バス 44(44a〜44c) バッファメモリ Reference Signs List 10 communication control LSI control unit 11 destination address extraction unit 12 address search control unit 13 transfer destination notification control unit 14 shared bus control unit 15 buffer memory control unit 40 (41a to 40c) communication control LSI 42 address search circuit 43 shared bus 44 ( 44a-44c) Buffer memory
Claims (2)
でのフレームの送受信を制御する通信制御LSIと、ポ
ート相互間のフレームデータの転送を制御するデータ転
送制御回路と、転送されてきたフレームデータを一時的
に保存するバッファメモリとを設け、他方、フレームデ
ータの宛先アドレスから転送先ポートを検索するアドレ
ス検索回路を設けて、そのフレームの宛先端末が接続さ
れているポートのみにフレームデータが転送されるよう
にしたスイッチングハブにおいて、ポートにフレームが
受信されると同時に各ポートにフレームデータの転送を
開始し、並行して転送先ポートの検索を行い、その検索
結果である転送先情報を各ポートに通知し、該当するポ
ートのみがバッファメモリ内のフレームデータを有効と
することを特徴とするスイッチングハブのデータ転送方
式。1. A communication control LSI for controlling transmission and reception of frames at each of a plurality of ports, a data transfer control circuit for controlling transfer of frame data between the ports, and a frame data transferred A buffer memory for temporarily storing the frame data, and an address search circuit for searching for the transfer destination port from the destination address of the frame data, and transferring the frame data only to the port to which the destination terminal of the frame is connected. In the switching hub, the transfer of frame data to each port is started at the same time when a frame is received by a port, a search for a transfer destination port is performed in parallel, and transfer destination information as a search result is transmitted to each port. The port is notified and only the corresponding port validates the frame data in the buffer memory. Switching hub data transfer method.
互に接続され、フレームを受信したポートのデータ転送
制御回路が共有バスを介してフレームデータを転送し、
他のポートのデータ転送制御回路が転送されてきたフレ
ームデータをバッファメモリに取り込み、その後、転送
先情報の通知に基づき該当しないポートのデータ転送制
御回路が取り込みを中止しバッファメモリを消去するこ
とを特徴とする請求項1記載のスイッチングハブのデー
タ転送方式。2. The data transfer control circuit is connected to each other by a shared bus, and the data transfer control circuit of the port receiving the frame transfers frame data through the shared bus.
The data transfer control circuit of the other port captures the transferred frame data into the buffer memory, and then, based on the notification of the transfer destination information, determines that the data transfer control circuit of the port not applicable stops the capture and erases the buffer memory. The data transfer method for a switching hub according to claim 1, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24181496A JPH1093606A (en) | 1996-09-12 | 1996-09-12 | Data transfer system for switching hub |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24181496A JPH1093606A (en) | 1996-09-12 | 1996-09-12 | Data transfer system for switching hub |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1093606A true JPH1093606A (en) | 1998-04-10 |
Family
ID=17079902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24181496A Pending JPH1093606A (en) | 1996-09-12 | 1996-09-12 | Data transfer system for switching hub |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1093606A (en) |
-
1996
- 1996-09-12 JP JP24181496A patent/JPH1093606A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR950013120A (en) | Communication control device for communication between calculators and integrated circuit used therein | |
JP2003092598A (en) | Packet transferring processor | |
JPH063935B2 (en) | Buffer memory | |
JPH1093606A (en) | Data transfer system for switching hub | |
JPH09102790A (en) | High speed processing system for received frame | |
CN115296956A (en) | Tunnel forwarding method and device of kernel, electronic equipment and storage medium | |
JPH05110600A (en) | Sequence control method for received packet | |
JPH042236A (en) | Bridge equipment | |
JP2953362B2 (en) | LAN switching device | |
JP4527319B2 (en) | Communication control device having packet header conversion function | |
JPH09149067A (en) | Switching hub | |
JPH1117683A (en) | Switching hub | |
JPH03204254A (en) | Data receiver | |
JPH07288541A (en) | Address filtering method for connection device | |
JP2002368786A (en) | Packet transfer method and packet transfer device | |
JP2504313B2 (en) | Multiprocessor system | |
US7103709B2 (en) | Retrieving device and method, recording medium, and program for enabling a plurality of associative memories for retrieval and auto-storing | |
JPH11127184A (en) | Routing method and router | |
JPH04299458A (en) | Information retrieving device | |
JP2001060970A (en) | Address retrieving device | |
US6862266B1 (en) | Loop test apparatus of packet routing bus in communication system and loop test method | |
KR100202068B1 (en) | How to Read TD Bus Data from Electronic Switching System | |
JPH104410A (en) | Communication control system | |
JPH11122280A (en) | Switching hub function | |
JPH09282274A (en) | Data transfer method |