JP2522155B2 - Repeater between local area networks - Google Patents

Repeater between local area networks

Info

Publication number
JP2522155B2
JP2522155B2 JP5133060A JP13306093A JP2522155B2 JP 2522155 B2 JP2522155 B2 JP 2522155B2 JP 5133060 A JP5133060 A JP 5133060A JP 13306093 A JP13306093 A JP 13306093A JP 2522155 B2 JP2522155 B2 JP 2522155B2
Authority
JP
Japan
Prior art keywords
frame
transmission
entry
line
divided
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5133060A
Other languages
Japanese (ja)
Other versions
JPH06350607A (en
Inventor
直之 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5133060A priority Critical patent/JP2522155B2/en
Publication of JPH06350607A publication Critical patent/JPH06350607A/en
Application granted granted Critical
Publication of JP2522155B2 publication Critical patent/JP2522155B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ISO8802−3
(IEEE802.3)に規定される衝突検出機能付き
キャリア検知多重アクセス方式(CSMA/CD方式)
を用いたローカルエリアネットワーク(以下LANとい
う)用インタフェース部及び回線用インタフェース部を
持つLAN間中継装置および、このLAN間中継装置の
回線側バッファ管理及び送受信を行う通信システムに関
する。
FIELD OF THE INVENTION The present invention is ISO8802-3.
Carrier detection multiple access system with collision detection function (CSMA / CD system) defined in (IEEE802.3)
The present invention relates to an inter-LAN relay device having a local area network (hereinafter referred to as LAN) interface unit and a line interface unit using the LAN, and a communication system for performing line-side buffer management and transmission / reception of the inter-LAN relay device.

【0002】[0002]

【従来の技術】従来のこの種のLAN中継装置について
図5を参照して説明する。
2. Description of the Related Art A conventional LAN relay device of this type will be described with reference to FIG.

【0003】図5に示すように従来のLAN中継装置
は、LAN用インタフェース部1、中継処理制御部2、
送信バッファ部34、受信バッファ部35および回線用
インタフェース部10をバス状に接続するシステムバス
3から構成される。
As shown in FIG. 5, a conventional LAN relay device includes a LAN interface unit 1, a relay processing control unit 2,
The transmission buffer unit 34, the reception buffer unit 35, and the system interface 3 for connecting the line interface unit 10 in a bus shape.

【0004】LAN用インタフェース部1は、ISO8
802−3(IEEE802.3)に規定されるCSM
A/CD方式でLANを通信媒体としてフレームの送受
信を行うためのLANインタフェースである。
The LAN interface unit 1 is ISO8
CSM specified in 802-3 (IEEE802.3)
This is a LAN interface for transmitting and receiving frames by using the LAN as a communication medium in the A / CD system.

【0005】ここで、フレームとは、伝送路上に流れる
データのある集合であり、例えばISO8803−3
(IEEE802.3)ではメディアアクセスコントロ
ールフレーム(MACフレーム)として、行先アドレ
ス、発信元アドレスならびにデータ等を含むことが規定
されている(ISO/IEC8802-3:1990, ANSI/IEEE802.3-199
0年版, 情報処理システム−ローカルエリアネットワー
ク−,パート3:衝突検出機能付きキャリア検知多重ア
クセス方式と物理レイヤ仕様(InformationProcessing
Systems -Local Area Networks-, Part3: Carrier Sens
e MultipleAccess with Collision Detection method a
nd Physical Layer Specifications), pp.33-37)。
Here, a frame is a set of data flowing on a transmission line, for example, ISO8803-3.
(IEEE802.3) specifies that a media access control frame (MAC frame) includes a destination address, a source address, data, etc. (ISO / IEC8802-3: 1990, ANSI / IEEE802.3-199).
0th Edition, Information Processing System-Local Area Network-, Part 3: Carrier Detection Multiple Access Method with Collision Detection Function and Physical Layer Specification (Information Processing)
Systems -Local Area Networks-, Part3: Carrier Sens
e MultipleAccess with Collision Detection method a
nd Physical Layer Specifications), pp.33-37).

【0006】中継処理制御部2は、LAN用インタフェ
ース部1がLAN伝送路22より受信したフレームの行
先アドレス情報を参照し、中継すべきフレームであれば
システムバス3を介して送信バッファ部34に格納す
る。そして、送信バッファ部34に格納した順に、回線
用インタフェース部10を介してこのフレームを回線1
9へ送信する。また、回線用インタフェース部10が回
線より受信したフレームを、システムバス3を介して受
信バッファ部35に格納する。そして、受信バッファ部
35に格納した順に、LAN用インタフェース部1を介
してこのフレームをLAN伝送路22へ送信する。
The relay processing control unit 2 refers to the destination address information of the frame received by the LAN interface unit 1 from the LAN transmission line 22, and if it is a frame to be relayed, it is sent to the transmission buffer unit 34 via the system bus 3. Store. Then, the frames are sent to the line 1 via the line interface unit 10 in the order in which they are stored in the transmission buffer unit 34.
Send to 9. Further, the frame received by the line interface unit 10 from the line is stored in the reception buffer unit 35 via the system bus 3. Then, the frames are transmitted to the LAN transmission line 22 via the LAN interface unit 1 in the order of being stored in the reception buffer unit 35.

【0007】ここで、中継処理制御部2はローカルアド
レステーブルを持ち、このアドレス情報を基にして回線
19側へ中継すべきかどうかを決定する。このような従
来のLAN中継装置は、例えばIEEE802.1でメ
ディアアクセスコントロールブリッジ(MACブリッ
ジ)として規定されているものがある。また、この中継
処理制御部2において経路制御テーブルを有し、受け取
った行き先アドレスを他のネットワークのためにアドレ
ス変換する機能を具備することも可能である。このよう
な機能を持つLAN中継装置は、例えば文献『村井・楠
本訳:”TCP/IPによるネットワーク構築Vol.
1−原理・プロトコル・アーキテクチャ−”,共立出版
(Douglas E. Comer著:”Internetworking with TCP/I
P Vol.1:Principles, Protocols, and Architecture",
Prentice Hall(Dec. 1991))』に記載されている。
Here, the relay processing control unit 2 has a local address table, and determines whether to relay to the line 19 side based on this address information. As such a conventional LAN relay device, for example, there is one defined as a media access control bridge (MAC bridge) in IEEE 802.1. It is also possible to have a route control table in the relay processing control unit 2 and to have a function of translating the received destination address for another network. A LAN relay device having such a function is disclosed in, for example, the document “Murai / Kusumoto:“ TCP / IP Network Construction Vol.
1-Principle, Protocol, Architecture- ", Kyoritsu Shuppan (Douglas E. Comer:" Internetworking with TCP / I
P Vol.1: Principles, Protocols, and Architecture ",
Prentice Hall (Dec. 1991)) ”.

【0008】[0008]

【発明が解決しようとする課題】上述した従来のLAN
中継装置では、到着順にフレームを回線へ送信するた
め、回線を流れるフレームが多くなると装置内に送信待
ちのフレームが増加してしまう。このため、LAN中継
装置を介して2つのLANに接続される端末同士が通信
を行った時、一方のLANに接続された端末から送信し
たフレームがもう一方のLANの相手端末に到達するま
での到達時間が長くなり、相手端末からの応答である応
答フレームを受信するまでに送信タイムアウトになって
しまうことが多い。この際、送信タイムアウト後に相手
端末から受信した応答フレームは廃棄されることにな
り、フレームの再送信が必要となるという問題がある。
また、比較的データ長が長いフレームが回線上を伝送さ
れている時、このフレームの伝送が完了するまで他の比
較的データ長が短いフレームの転送が待たされ、短いフ
レームの到達時間が長くなってしまうという問題があ
る。このことは、特に回線の通信速度が比較的遅い場合
に顕著に現れる。
The above-mentioned conventional LAN
Since the relay device transmits the frames to the line in the order of arrival, when the number of frames flowing through the line increases, the number of frames waiting for transmission increases in the device. Therefore, when terminals connected to two LANs communicate with each other via a LAN relay device, a frame transmitted from a terminal connected to one LAN reaches a partner terminal of the other LAN. The arrival time becomes long, and a transmission timeout often occurs before a response frame, which is a response from the partner terminal, is received. At this time, the response frame received from the partner terminal after the transmission time-out is discarded, and there is a problem that the frame needs to be retransmitted.
Also, when a frame with a relatively long data length is transmitted on the line, the transfer of another frame with a relatively short data length is delayed until the transmission of this frame is completed, and the arrival time of the short frame becomes longer. There is a problem that it will end up. This is particularly noticeable when the communication speed of the line is relatively low.

【0009】[0009]

【課題を解決するための手段】本発明のローカルエリア
ネットワーク間中継装置は、可変長フレームが伝送され
るローカルエリアネットワーク伝送路と回線の間に設置
され前記回線を介したローカルエリアネットワーク間の
データ転送を中継するローカルエリアネットワーク間中
継装置において、前記ローカルエリアネットワークから
受信した可変長フレームを複数の固定長フレームに分解
する分解手段と、前記分解手段により分解された固定長
フレームを前記可変長フレームごとに格納する複数の送
信エントリと、これら複数の送信エントリの各々に対応
して設けられ、対応する送信エントリ内に送出すべき固
定長フレームが存在することを示すフレーム格納識別部
と、前記複数の送信エントリの各々に対応して設けら
れ、対応する送信エントリ内の固定長フレームのうち送
出すべきものの番号を格納するフレーム番号格納手段
と、前記フレーム格納識別部が固定長フレームの存在を
示している送信エントリのうちから1つを選択するとと
もに、選択される送信エントリが巡回するようにこの選
択を繰り返す選択手段と、前記選択手段により選択され
た送信エントリに対応する前記フレーム番号格納手段の
内容を更新し前記選択手段により選択された送信エント
リ内の固定長フレームのうち前記フレーム番号格納手段
が指示するものに最終フレームであることを示す最終フ
レーム識別子とエントリ番号とを付加し最終フレーム識
別子とエントリ番号とが付加された固定長フレームを前
記回線に送出する送出手段と、前記複数の送信エントリ
に対応して設けられ、前記回線から受信した固定長フレ
ームを当該固定長フレームに付加されたエントリ番号に
ごとに格納する複数の受信エントリと、前記最終フレー
ム識別子が最終フレームであることを示す固定長フレー
ムが前記受信エントリに格納されたときに当該受信エン
トリに格納された固定長フレームから可変長フレームを
生成して前記ローカルエリアネットワークに送出する組
立手段とを含む。
A relay device between local area networks according to the present invention is installed between a local area network transmission line for transmitting variable length frames and a line, and data between the local area networks via the line. In a relay device between local area networks for relaying transfer, a decomposing means for decomposing a variable length frame received from the local area network into a plurality of fixed length frames, and a fixed length frame decomposed by the decomposing means for the variable length frame. A plurality of transmission entries to be stored for each of the plurality of transmission entries, a frame storage identification section provided corresponding to each of the plurality of transmission entries, and indicating that there is a fixed length frame to be transmitted in the corresponding transmission entry, Corresponding to each transmission entry of The frame number storage means for storing the number of the fixed length frame to be transmitted in the bird, and the frame storage identification unit selects and selects one from the transmission entries indicating the existence of the fixed length frame. Selection means that repeats this selection so that the transmission entries to be circulated, and the contents of the frame number storage means corresponding to the transmission entry selected by the selection means are updated and stored in the transmission entries selected by the selection means. Of the fixed length frames, the one designated by the frame number storage means is added with a final frame identifier indicating the final frame and an entry number, and the fixed length frame with the final frame identifier and the entry number is added to the line. Sending means for sending out, and corresponding to the plurality of sending entries, receiving from the line When a plurality of receiving entries that store a fixed-length frame for each entry number added to the fixed-length frame and a fixed-length frame indicating that the final frame identifier is the final frame are stored in the receiving entry And an assembling means for generating a variable length frame from the fixed length frame stored in the reception entry and sending it to the local area network.

【0010】[0010]

【実施例】次に本発明のLAN中継装置の一実施例につ
いて図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of a LAN relay device of the present invention will be described in detail with reference to the drawings.

【0011】図1を参照すると、本発明の一実施例にお
いて、LAN用インタフェース部1は、LAN伝送路2
2を通信媒体としてフレームの送受信を行うためのイン
タフェース部である。送信バッファ部4は、LAN伝送
路22側から回線19側へのフレーム送信の際にこのフ
レームを一時的に保持するためのバッファである。受信
バッファ部5は、回線19側からLAN伝送路22側へ
のフレーム受信の際にこのフレームを一時的に保持する
ためのバッファである。中継処理制御部2は、送信バッ
ファ部4および受信バッファ部5のバッファ管理を行う
制御回路である。分割フレーム記憶部7は、送信バッフ
ァ部4のフレームを分割したものを一時的に保持するた
めのバッファである。組立フレーム記憶部8は、回線1
9側から受け取った分割フレームを組み立てる際に一時
的に保持するためのバッファである。送受信バッファ数
制御部6は、送信バッファ部4、受信バッファ部5、分
割フレーム記憶部7および組立フレーム記憶部8につい
て、フレームを格納するバッファ数の上限値を設定し
て、溢れが起こらないように制御する回路である。分割
組立制御部9は、分割フレーム記憶部7および組立フレ
ーム記憶部8のバッファ管理を行う制御回路である。
Referring to FIG. 1, in one embodiment of the present invention, the LAN interface unit 1 includes a LAN transmission line 2
2 is an interface unit for transmitting and receiving frames using the communication medium. The transmission buffer unit 4 is a buffer for temporarily holding a frame when the frame is transmitted from the LAN transmission line 22 side to the line 19 side. The reception buffer unit 5 is a buffer for temporarily holding a frame when the frame is received from the line 19 side to the LAN transmission line 22 side. The relay processing control unit 2 is a control circuit that manages the buffers of the transmission buffer unit 4 and the reception buffer unit 5. The divided frame storage unit 7 is a buffer for temporarily holding a divided frame of the transmission buffer unit 4. The assembly frame storage unit 8 is the line 1
This is a buffer for temporarily holding the divided frames received from the 9 side when assembling them. The transmission / reception buffer number control unit 6 sets an upper limit value of the number of buffers for storing frames in the transmission buffer unit 4, the reception buffer unit 5, the divided frame storage unit 7, and the assembled frame storage unit 8 so that overflow does not occur. It is a circuit to control. The divided assembly control unit 9 is a control circuit that manages the buffers of the divided frame storage unit 7 and the assembly frame storage unit 8.

【0012】まず、LAN用インタフェース部1は、L
AN伝送路22側から回線19側へのフレーム送信の際
には、LAN伝送路22から受け取ったフレームを、中
継処理制御部2による制御に従いシステムバス3に送出
する。また、このLAN用インタフェース部1は、回線
19側からLAN伝送路22側へのフレーム受信の際に
は、システムバス3上のフレームを、中継処理制御部2
による制御に従いLAN伝送路22に送出する。
First, the LAN interface unit 1 is L
When the frame is transmitted from the AN transmission line 22 side to the line 19 side, the frame received from the LAN transmission line 22 is sent to the system bus 3 under the control of the relay processing control unit 2. Further, the LAN interface unit 1 transfers the frame on the system bus 3 to the relay processing control unit 2 when receiving a frame from the line 19 side to the LAN transmission line 22 side.
It is sent to the LAN transmission line 22 under the control of.

【0013】中継処理制御部2は、LAN伝送路22側
から回線19側へのフレーム送信の際には、LAN用イ
ンタフェース部1がLAN伝送路22より受信したフレ
ームの行先アドレス情報を参照し、中継すべきフレーム
であればシステムバス3を介して送信バッファ部4に格
納する。また、この中継処理制御部2は、回線19側か
らLAN伝送路22側へのフレーム受信の際には、受信
バッファ部5に格納されたフレームを、LAN用インタ
フェース部1を介してLAN伝送路22へ送信する機能
を持つ。この際、中継処理制御部2は、このフレーム送
信動作とフレーム受信動作とがシステムバス3で衝突を
起こさないように両者の調停を行う。
When transmitting a frame from the LAN transmission line 22 side to the line 19 side, the relay processing control unit 2 refers to the destination address information of the frame received by the LAN interface unit 1 from the LAN transmission line 22, If the frame is to be relayed, it is stored in the transmission buffer unit 4 via the system bus 3. Further, when receiving a frame from the line 19 side to the LAN transmission line 22 side, the relay processing control unit 2 transmits the frame stored in the reception buffer unit 5 via the LAN interface unit 1 to the LAN transmission line. It has a function to send to 22. At this time, the relay processing control unit 2 arbitrates the frame transmission operation and the frame reception operation so that the system bus 3 does not collide with each other.

【0014】送受信バッファ数制御部6は、送信バッフ
ァ部4,分割フレーム記憶部7,受信バッファ部5なら
びに組立フレーム記憶部8における格納可能なバッファ
数の上限値をそれぞれ設定して、これらの上限値を越え
ることがないように監視して制御する。なお、このバッ
ファ数の上限値は、システム立上げ時に送受信バッファ
数制御部6に設定しておく。また、この送受信バッファ
数制御部6は、これらのバッファにおける送受信バッフ
ァ数を分割組立制御部9に通知する。
The transmission / reception buffer number control unit 6 sets the upper limit values of the number of buffers that can be stored in the transmission buffer unit 4, the divided frame storage unit 7, the reception buffer unit 5, and the assembly frame storage unit 8, respectively, and these upper limits are set. Monitor and control so that it does not exceed the value. The upper limit of the number of buffers is set in the transmission / reception buffer number control unit 6 when the system is started up. Further, the transmission / reception buffer number control unit 6 notifies the division / assembly control unit 9 of the number of transmission / reception buffers in these buffers.

【0015】分割フレーム記憶部7は、送信バッファ部
4に格納されている可変長のフレームを固定長のフレー
ム(分割フレーム)に分割して、分割フレーム記憶部7
の空きエントリに保持する。その後、送信バッファ部4
の中のフレームが格納されていたエントリを解放する。
The divided frame storage unit 7 divides the variable-length frame stored in the transmission buffer unit 4 into fixed-length frames (divided frames), and the divided frame storage unit 7
Hold in empty entry of. After that, the transmission buffer unit 4
Releases the entry in which the frame in was stored.

【0016】組立フレーム記憶部8は、回線19側から
の分割フレームを保持する。そして、その分割フレーム
を元の可変長フレームに組み立てた後、この組み立てた
フレームを受信バッファ部5へ転送し、組立フレーム記
憶部8の中の格納されていたエントリを解放する。
The assembly frame storage unit 8 holds the divided frames from the line 19 side. Then, after the divided frames are assembled into the original variable-length frame, the assembled frame is transferred to the reception buffer unit 5, and the stored entry in the assembled frame storage unit 8 is released.

【0017】分割組立制御部9は、送受信バッファ数制
御部6より通知された送受信バッファ数に従い、分割フ
レーム記憶部7に格納されている分割フレームを回線用
インタフェース部10を介して回線19へ送信する。そ
して、その分割フレームの送信を完了した後、分割フレ
ーム記憶部7の中の格納されていたエントリを解放す
る。また、この分割組立制御部9は、回線19から回線
用インタフェース部10を介して受信された分割フレー
ムを、組立フレーム記憶部8に格納する。ここで回線1
9は双方向の転送を同時に行うことができる(全二重)
と仮定すると、分割組立制御部9によるフレームの送信
と受信は同時に動作することが可能である。
The divided assembly control unit 9 transmits the divided frames stored in the divided frame storage unit 7 to the line 19 via the line interface unit 10 according to the number of transmission / reception buffers notified from the transmission / reception buffer number control unit 6. To do. After the transmission of the divided frame is completed, the stored entry in the divided frame storage unit 7 is released. The divided assembly control unit 9 also stores the divided frame received from the line 19 via the line interface unit 10 in the assembled frame storage unit 8. Line 1 here
9 can perform bidirectional transfer at the same time (full duplex)
Assuming that, the transmission and reception of the frame by the division and assembly control unit 9 can operate simultaneously.

【0018】図2は、送信バッファ部4、受信バッファ
部5、分割フレーム記憶部7および組立フレーム記憶部
8のフレーム格納構成図である。
FIG. 2 is a frame storage configuration diagram of the transmission buffer unit 4, the reception buffer unit 5, the divided frame storage unit 7, and the assembled frame storage unit 8.

【0019】図2−a)を参照すると、送信バッファ部
4ならびに受信バッファ部5は、各々内部にフレームを
格納するバッファと、このバッファの各エントリ毎にフ
レームが格納されているかを識別するためのフレーム識
別子11を持つ。また、図2−b)を参照すると、分割
フレーム記憶部7は、内部に分割フレームを格納するバ
ッファと、このバッファの各エントリ毎にフレーム格納
識別子12および送信終了分割フレーム番号識別子13
を持つ。図2−c)を参照すると、組立フレーム記憶部
8は、内部に分割フレームを格納するバッファと、この
バッファの各エントリ毎にフレーム格納識別子14およ
び受信終了分割フレーム番号識別子15を持つ。なお、
フレーム識別子11、12、14の値が1の時対応する
バッファのエントリにフレームが格納されていることを
示し、値が0の時対応するバッファのエントリが空いて
いることを示す。また、送信終了分割フレーム番号識別
子13および受信終了分割フレーム番号識別子15の値
は、それぞれ対応するバッファのエントリにおいて最後
に回線19側へ送信および受信を終了した分割フレーム
のフレーム番号を保持する。図2−a)では、第1エン
トリの送信終了分割フレーム番号識別子13の値が2と
なっており、第1エントリの第2フレームまでは送信が
終了していること、および、次に第3フレームを送信す
る予定であることを示している。また、同様に第2エン
トリの送信終了分割フレーム番号識別子13の値が1と
なっており、第2エントリの第1フレームの送信が終了
していること、および、次に第2フレームを送信する予
定であることを示している。さらに、第3エントリのフ
レーム格納識別子12が0であることから、第3エント
リが空きエントリであることを示している。
Referring to FIG. 2-a), the transmission buffer unit 4 and the reception buffer unit 5 each identify a buffer for storing a frame therein and whether or not a frame is stored for each entry of this buffer. Frame identifier 11 of. Further, referring to FIG. 2B, the divided frame storage unit 7 includes a buffer for storing divided frames therein, a frame storage identifier 12 and a transmission end divided frame number identifier 13 for each entry of this buffer.
have. Referring to FIG. 2C, the assembled frame storage unit 8 has a buffer for storing divided frames therein, and a frame storage identifier 14 and a reception end divided frame number identifier 15 for each entry of this buffer. In addition,
When the value of the frame identifiers 11, 12, and 14 is 1, it indicates that the frame is stored in the corresponding buffer entry, and when the value is 0, it indicates that the corresponding buffer entry is empty. Further, the values of the transmission end divided frame number identifier 13 and the reception end divided frame number identifier 15 hold the frame numbers of the divided frames for which the transmission and the reception are finally ended on the line 19 side in the corresponding buffer entries. In FIG. 2-a), the value of the transmission end divided frame number identifier 13 of the first entry is 2, that the transmission is completed up to the second frame of the first entry, and then the third frame. This indicates that the frame will be transmitted. Similarly, the value of the transmission end divided frame number identifier 13 of the second entry is 1 and the transmission of the first frame of the second entry is completed, and the second frame is transmitted next. It shows that it is planned. Further, since the frame storage identifier 12 of the third entry is 0, it indicates that the third entry is an empty entry.

【0020】次に、送信バッファ部4,受信バッファ部
5,分割フレーム記憶部7および組立フレーム記憶部8
内の動作について、図1ならびに図2を用いて説明す
る。
Next, the transmission buffer unit 4, the reception buffer unit 5, the divided frame storage unit 7, and the assembled frame storage unit 8
The internal operation will be described with reference to FIGS. 1 and 2.

【0021】中継処理制御部2は、LAN用インタフェ
ース部1を介して受け取ったフレームを送信バッファ部
4に格納する際、送信バッファ部4内の各エントリのフ
レーム格納識別子11をエントリ番号の小さい順に検索
して、この値が0のエントリを見つけると、そのエント
リに対応するバッファにフレームを格納する。そしてこ
のとき、送信バッファ部4において、対応するエントリ
のフレーム識別子11に値1を書き込む。また、中継処
理制御部2は、受信バッファ部5のフレームをLAN伝
送路22に転送する際、受信バッファ部5内のフレーム
格納識別子11の値をエントリ番号の小さい順に検索し
て、この値が1となっているエントリを見つけると、そ
のエントリに対応するバッファに格納されているフレー
ムをLAN用インタフェース部1を介してLAN伝送路
22へ転送する。そして、この転送を完了した後、受信
バッファ部5において、対応するエントリのフレーム識
別子11に値0を書き込む。
When storing the frame received via the LAN interface unit 1 in the transmission buffer unit 4, the relay processing control unit 2 sets the frame storage identifier 11 of each entry in the transmission buffer unit 4 in ascending order of the entry number. If a value of 0 is found by searching, the frame is stored in the buffer corresponding to the entry. Then, at this time, the value 1 is written in the frame identifier 11 of the corresponding entry in the transmission buffer unit 4. Further, when transferring the frame of the reception buffer unit 5 to the LAN transmission line 22, the relay processing control unit 2 searches the values of the frame storage identifier 11 in the reception buffer unit 5 in ascending order of the entry numbers, When the entry having the value of 1 is found, the frame stored in the buffer corresponding to the entry is transferred to the LAN transmission line 22 via the LAN interface unit 1. Then, after this transfer is completed, the value 0 is written in the frame identifier 11 of the corresponding entry in the reception buffer unit 5.

【0022】次に、送信バッファ部4では、フレーム格
納識別子11の値をエントリ番号の小さい順に検索し
て、この値が1となっているエントリが見つかると、そ
のエントリに対応するバッファに格納されているフレー
ムを分割フレーム記憶部7内の同じエントリ番号のバッ
ファへ転送し、このエントリのフレーム格納識別子12
の値を1とする。このとき、送信バッファ部4内に格納
されていたエントリのフレーム格納識別子11の値を0
とする。また、分割フレーム記憶部7では、システム立
上げ時に予め設定しておいた一定のフレーム長に基づ
き、転送されたフレームを分割して保持する。このと
き、分割フレームの最終フレームについては、後述する
ように最終である旨の識別フラグをたてる。
Next, in the transmission buffer unit 4, the value of the frame storage identifier 11 is searched in ascending order of the entry number, and when an entry having this value of 1 is found, it is stored in the buffer corresponding to that entry. Is transferred to the buffer having the same entry number in the divided frame storage unit 7, and the frame storage identifier 12 of this entry is transferred.
The value of is 1. At this time, the value of the frame storage identifier 11 of the entry stored in the transmission buffer unit 4 is set to 0.
And Further, the divided frame storage unit 7 divides and holds the transferred frame based on a predetermined frame length set at system startup. At this time, with respect to the final frame of the divided frames, an identification flag indicating that it is the final frame is set as described later.

【0023】分割組立制御部9は、分割フレーム記憶部
7の各エントリのフレーム格納識別子12の値を検索し
て、この値が1となっているエントリを見つけると、対
応する送信終了分割フレーム番号識別子13に値1を加
算する。そして、その加算結果値の示すフレーム番号の
分割フレームを、回線用インタフェース部10を介して
回線19へ送信する。ここで、分割フレーム記憶部7の
フレーム格納識別子12を検索する順番は、例えばエン
トリが3つの場合は第1エントリ、第2エントリ、第3
エントリ、第1エントリというように、1つの分割フレ
ームを送信する毎に巡回するように順序付けする。ま
た、最終分割フレームの送信完了後には、対応するエン
トリのフレーム格納識別子12および送信終了分割フレ
ーム番号識別子13へ値0を書き込む。
The divided assembly control unit 9 searches the value of the frame storage identifier 12 of each entry in the divided frame storage unit 7, and when an entry having this value of 1 is found, the corresponding transmission end divided frame number The value 1 is added to the identifier 13. Then, the divided frame having the frame number indicated by the addition result value is transmitted to the line 19 via the line interface unit 10. Here, the order in which the frame storage identifier 12 of the divided frame storage unit 7 is searched is, for example, when there are three entries, the first entry, the second entry, and the third entry.
For example, the entry and the first entry are ordered so that one divided frame is circulated every time it is transmitted. After the transmission of the final divided frame is completed, the value 0 is written in the frame storage identifier 12 and the transmission end divided frame number identifier 13 of the corresponding entry.

【0024】また、分割組立制御部9は、回線用インタ
フェース部10から受け取った分割フレームから、後述
するように格納すべきエントリ番号を抽出して、このエ
ントリの受信終了分割フレーム番号識別子15の値に値
1を加算する。そして、その加算結果値をフレーム番号
として、対応するエントリのバッファにその分割フレー
ムを格納する。ここで、格納しようとするフレームが最
終フレームであった場合には、格納動作完了後、フレー
ム格納識別子14に値1を書き込む。
Further, the division assembly control section 9 extracts the entry number to be stored from the division frame received from the line interface section 10 as described later, and the value of the reception end division frame number identifier 15 of this entry. The value 1 is added to. Then, using the addition result value as a frame number, the divided frame is stored in the buffer of the corresponding entry. If the frame to be stored is the final frame, the value 1 is written in the frame storage identifier 14 after the storage operation is completed.

【0025】組立フレーム記憶部8では、内部のフレー
ム格納識別子14をエントリ番号の小さい順に検索し
て、この値が1となっているエントリを見つけると、そ
のエントリに対応するバッファのフレームを受信バッフ
ァ部5の同じエントリ番号のバッファに転送し、その受
信バッファ部5内の同じエントリのフレーム格納識別子
11に値1を書き込む。また、受信バッファ部5への格
納終了後、組立フレーム記憶部8内の対応するフレーム
格納識別子14ならびに受信終了分割フレーム番号識別
子15に値0をそれぞれ書き込む。
In the assembly frame storage unit 8, the internal frame storage identifier 14 is searched in ascending order of the entry number, and when an entry having this value of 1 is found, the frame of the buffer corresponding to that entry is received in the reception buffer. The data is transferred to the buffer having the same entry number of the unit 5 and the value 1 is written in the frame storage identifier 11 of the same entry in the reception buffer unit 5. After the storage in the reception buffer unit 5 is completed, the value 0 is written in the corresponding frame storage identifier 14 and the reception end divided frame number identifier 15 in the assembly frame storage unit 8, respectively.

【0026】次に、分割組立制御部9が、回線用インタ
フェース部10を介して分割フレームを送受信するとき
の動作について説明する。
Next, the operation of the divided assembly control unit 9 when transmitting and receiving the divided frames via the line interface unit 10 will be described.

【0027】図3は回線19上を流れる分割フレームの
フォーマット構成を示している。図3を参照すると、回
線19上を流れる分割フレームは、エントリ番号16、
最終フレーム識別子17、分割フレームデータ18から
構成される。後述するように、エントリ番号16と最終
フレーム識別子17は分割組立制御部9が付与する。ま
た、分割フレームデータ18には、LAN伝送路22か
ら受け取ったフレームを分割したものが格納される。
FIG. 3 shows a format structure of a divided frame flowing on the line 19. Referring to FIG. 3, the divided frame flowing on the line 19 is the entry number 16,
It is composed of a final frame identifier 17 and divided frame data 18. As will be described later, the entry number 16 and the final frame identifier 17 are given by the division and assembly control unit 9. Further, the divided frame data 18 stores a divided frame received from the LAN transmission line 22.

【0028】分割組立制御部9は、回線19側へ分割フ
レームを送信する際、送信しようとする分割フレームの
分割フレーム記憶部7内のエントリ番号を分割フレーム
のエントリ番号16として設定する。また、そのエント
リ番号の示す送信終了分割フレーム番号識別子13の値
に1を足した値をフレーム番号として、そのフレーム番
号の示す位置に保持されるデータを分割フレームの分割
フレームデータ18として設定する。さらに、分割フレ
ームの最終フレーム識別子17には、そのフレームが最
終フレームであれば値1を、そうでない場合には値0を
設定する。これらの値が設定された分割フレームは、回
線用インタフェース部10を介して、回線19へ送信さ
れる。
When transmitting the divided frame to the line 19 side, the divided assembly control unit 9 sets the entry number in the divided frame storage unit 7 of the divided frame to be transmitted as the entry number 16 of the divided frame. Further, a value obtained by adding 1 to the value of the transmission end divided frame number identifier 13 indicated by the entry number is set as a frame number, and the data held at the position indicated by the frame number is set as the divided frame data 18 of the divided frame. Further, the final frame identifier 17 of the divided frame is set to the value 1 if the frame is the final frame, and is set to the value 0 otherwise. The divided frame in which these values are set is transmitted to the line 19 via the line interface unit 10.

【0029】分割組立制御部9は、回線19側から分割
フレームを受け取ると、受信した分割フレームのエント
リ番号16をエントリ番号として、組立フレーム格納部
8に分割フレームデータ18を格納する。この際、組立
フレーム格納部8内の対応するエントリの受信終了分割
フレーム番号識別子15に1を加算した値をフレーム番
号として使用する。また、受け取った分割フレームの最
終フレーム識別子17が値1の場合、組立フレーム記憶
部8内の対応するエントリのフレーム格納識別子14を
値1に設定する。
Upon receiving the divided frame from the line 19, the divided / assembled control unit 9 stores the divided frame data 18 in the assembled frame storage unit 8 using the entry number 16 of the received divided frame as the entry number. At this time, the value obtained by adding 1 to the reception end divided frame number identifier 15 of the corresponding entry in the assembled frame storage unit 8 is used as the frame number. When the final frame identifier 17 of the received divided frame has the value 1, the frame storage identifier 14 of the corresponding entry in the assembled frame storage unit 8 is set to the value 1.

【0030】次に、本発明のLAN中継装置を使用して
構成した通信システムの一実施例について、図4を用い
て説明する。
Next, an embodiment of a communication system constructed by using the LAN relay device of the present invention will be described with reference to FIG.

【0031】図4を参照すると、LAN中継装置20お
よび端末25,26をバス状にLAN伝送路23を介し
て接続して1つのLANを構築し、さらにLAN中継装
置21および端末27,28をバス状にLAN伝送路2
4を介して接続してもう1つのLAN伝送路を構築す
る。この比較的遠距離に配置された2つのLANを、回
線19によりLAN中継装置20とLAN中継装置21
とを接続することにより、相互に通信可能とする。
Referring to FIG. 4, the LAN relay device 20 and the terminals 25 and 26 are connected in a bus form via the LAN transmission line 23 to construct one LAN, and the LAN relay device 21 and the terminals 27 and 28 are connected. LAN transmission line 2 in the form of a bus
Connect via 4 to build another LAN transmission line. The two LANs arranged at relatively long distances are connected to each other through a line 19 to a LAN relay device 20 and a LAN relay device 21.
By connecting and, it becomes possible to communicate with each other.

【0032】次に別々のLAN伝送路23,24に接続
された端末間の通信について説明する。
Next, communication between terminals connected to different LAN transmission lines 23 and 24 will be described.

【0033】ここで、端末25と端末27で通信を行
い、それと同時に端末26と端末28で通信を行ってい
るとする。また、端末25と端末27間の通信は、比較
的頻繁にデータ長の長いフレームを送受信していると仮
定し、端末26と端末28間の通信は、間隔を空けてデ
ータ長の短いフレームを送受信していると仮定する。こ
こで、フレームを受信した端末は相手端末にそれを受信
したことを示す短い応答フレームを送信し、応答フレー
ムを受信した端末は次のフレームを送信する。
Here, it is assumed that the terminals 25 and 27 are communicating, and at the same time, the terminals 26 and 28 are communicating. Further, it is assumed that the communication between the terminals 25 and 27 is relatively frequently transmitting and receiving a frame having a long data length, and the communication between the terminals 26 and 28 is a frame having a short data length with an interval. Suppose you are sending and receiving. Here, the terminal receiving the frame transmits a short response frame indicating that the frame has been received to the partner terminal, and the terminal receiving the response frame transmits the next frame.

【0034】このとき、LAN中継装置20が端末25
から送信されたデータ長の長いフレームを回線19に送
信中であっても、端末26から送信されたデータ長の短
いフレームもしくは短い応答フレームは、回線中で分割
されて転送されるため、待たされることなくデータ長に
比例した時間後にLAN中継装置21で受信される。
At this time, the LAN relay device 20 makes the terminal 25
Even if a frame having a long data length transmitted from the terminal 26 is being transmitted to the line 19, a frame having a short data length or a short response frame transmitted from the terminal 26 is divided and transferred in the line, and thus is kept waiting. Without being received, the LAN relay device 21 receives the data after a time proportional to the data length.

【0035】[0035]

【発明の効果】以上説明したように本発明によれば、各
端末が送受信するデータ長が分かれば一意に相手端末ま
で到達する時間が決まり、それぞれの端末においてフレ
ームを送信してから応答フレームを受信するまでの時間
間隔を見積もることができる。これにより、端末同士の
通信の際、フレームがLAN間中継装置に滞留して送信
タイムアウトになることを防ぐことができ、また、タイ
ムアウト後に応答フレームがLAN上に送信されること
を防ぐことができる。そして、送信バッファ部内のフレ
ームを時分割して回線へ送信することにより、送信バッ
ファ部内の送信待ちフレームの滞留時間を平均化するこ
とでシステム全体としての滞留時間を短くすることがで
きる。また、長いフレームの後に短いフレームをLAN
側から受け取って回線側へ送信する際、長いフレームの
送信完了を待つことなしに短いフレームの送信を先に完
了させることが出来る。
As described above, according to the present invention, if the data length transmitted / received by each terminal is known, the time to reach the partner terminal is uniquely determined, and the response frame is transmitted after transmitting the frame at each terminal. The time interval until reception can be estimated. As a result, during communication between terminals, it is possible to prevent frames from being accumulated in the inter-LAN relay device and causing a transmission timeout, and also to prevent response frames from being transmitted on the LAN after the timeout. . Then, the frames in the transmission buffer section are time-divided and transmitted to the line, so that the retention times of the transmission-waiting frames in the transmission buffer section are averaged, so that the retention time of the entire system can be shortened. Also, a long frame is followed by a short frame on the LAN.
When receiving from the side and transmitting to the line side, the transmission of the short frame can be completed first without waiting for the completion of the transmission of the long frame.

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

【図1】本発明のLAN中継装置の内部構成図である。FIG. 1 is an internal configuration diagram of a LAN relay device of the present invention.

【図2】本発明のLAN中継装置の送信バッファ部、受
信バッファ部、分割フレーム記憶部および組立フレーム
記憶部のフレーム格納構成図である。
FIG. 2 is a frame storage configuration diagram of a transmission buffer unit, a reception buffer unit, a divided frame storage unit, and an assembled frame storage unit of the LAN relay device of the present invention.

【図3】本発明のLAN中継装置の回線上の分割フレー
ムフォーマットである。
FIG. 3 is a divided frame format on a line of the LAN relay device of the present invention.

【図4】本発明のLAN中継装置で構成した通信システ
ムの構成図である。
FIG. 4 is a configuration diagram of a communication system including a LAN relay device of the present invention.

【図5】従来のLAN中継装置の内部構成図である。FIG. 5 is an internal configuration diagram of a conventional LAN relay device.

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

1 LAN用インタフェース部 2 中継処理制御部 3 システムバス 4,34 送信バッファ部 5,35 受信バッファ部 6 送受信バッファ数制御部 7 分割フレーム記憶部 8 組立フレーム記憶部 9 分割組立制御部 10 回線用インタフェース部 11,12,14 フレーム格納識別子 13 送信終了分割フレーム番号識別子 15 受信終了分割フレーム番号識別子 16 バッファ番号 17 最終フレーム識別子 18 分割フレームデータ 19 回線 20,21 LAN中継装置 22,23,24 LAN伝送路 25,26,27,28 端末 1 LAN interface unit 2 Relay processing control unit 3 System bus 4,34 Transmission buffer unit 5,35 Reception buffer unit 6 Transmission / reception buffer number control unit 7 Divided frame storage unit 8 Assembly frame storage unit 9 Divided assembly control unit 10 Line interface Part 11, 12, 14 Frame storage identifier 13 Transmission end division frame number identifier 15 Reception end division frame number identifier 16 Buffer number 17 Final frame identifier 18 Division frame data 19 Line 20, 21 LAN relay device 22, 23, 24 LAN transmission line 25, 26, 27, 28 terminals

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 可変長フレームが伝送されるローカルエ
リアネットワーク伝送路と回線の間に設置され、前記回
線を介したローカルエリアネットワーク間のデータ転送
を中継するローカルエリアネットワーク間中継装置にお
いて、 前記ローカルエリアネットワークから受信した可変長フ
レームを複数の固定長フレームに分解する分解手段と、 前記分解手段により分解された固定長フレームを前記可
変長フレームごとに格納する複数の送信エントリと、 これら複数の送信エントリの各々に対応して設けられ、
対応する送信エントリ内に送出すべき固定長フレームが
存在することを示すフレーム格納識別部と、 前記複数の送信エントリの各々に対応して設けられ、対
応する送信エントリ内の固定長フレームのうち送出すべ
きものの番号を格納するフレーム番号格納手段と、 前記フレーム格納識別部が固定長フレームの存在を示し
ている送信エントリのうちから1つを選択するととも
に、選択される送信エントリが巡回するようにこの選択
を繰り返す選択手段と、 前記選択手段により選択された送信エントリに対応する
前記フレーム番号格納手段の内容を更新し、前記選択手
段により選択された送信エントリ内の固定長フレームの
うち前記フレーム番号格納手段が指示するものに最終フ
レームであることを示す最終フレーム識別子とエントリ
番号とを付加し、最終フレーム識別子とエントリ番号と
が付加された固定長フレームを前記回線に送出する送出
手段と、 前記複数の送信エントリに対応して設けられ、前記回線
から受信した固定長フレームを当該固定長フレームに付
加されたエントリ番号にごとに格納する複数の受信エン
トリと、 前記最終フレーム識別子が最終フレームであることを示
す固定長フレームが前記受信エントリに格納されたとき
に、当該受信エントリに格納された固定長フレームから
可変長フレームを生成して前記ローカルエリアネットワ
ークに送出する組立手段とを含むことを特徴とするロー
カルエリアネットワーク間中継装置。
1. A relay device between local area networks, which is installed between a local area network transmission line for transmitting a variable length frame and a line, and relays data transfer between the local area networks via the line, Decomposing means for decomposing the variable length frame received from the area network into a plurality of fixed length frames, a plurality of transmission entries for storing the fixed length frames decomposed by the decomposing means for each of the variable length frames, and a plurality of these transmissions. Provided for each of the entries,
A frame storage identification section that indicates that a fixed-length frame to be sent is present in the corresponding transmission entry, and a fixed-length frame that is provided corresponding to each of the plurality of transmission entries and that is sent out of the fixed-length frame in the corresponding transmission entry. A frame number storage means for storing the number of the one to be output, and one of the transmission entries in which the frame storage identification section indicates the existence of the fixed-length frame, and the selected transmission entry circulates. The selection unit that repeats this selection and the contents of the frame number storage unit corresponding to the transmission entry selected by the selection unit are updated, and the frame number of the fixed length frames in the transmission entry selected by the selection unit is updated. The final frame identifier and the entry number indicating the final frame are stored in the storage instruction. In addition, a sending means for sending a fixed length frame to which the final frame identifier and the entry number are added to the line, and a fixed length frame provided corresponding to the plurality of transmission entries and received from the line. When a plurality of reception entries are stored for each entry number added to the long frame and a fixed length frame indicating that the last frame identifier is the last frame is stored in the reception entry, the fixed length frame is stored in the reception entry. Assembling means for generating a variable length frame from the fixed length frame and sending it to the local area network.
JP5133060A 1993-06-03 1993-06-03 Repeater between local area networks Expired - Lifetime JP2522155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5133060A JP2522155B2 (en) 1993-06-03 1993-06-03 Repeater between local area networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5133060A JP2522155B2 (en) 1993-06-03 1993-06-03 Repeater between local area networks

Publications (2)

Publication Number Publication Date
JPH06350607A JPH06350607A (en) 1994-12-22
JP2522155B2 true JP2522155B2 (en) 1996-08-07

Family

ID=15095895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5133060A Expired - Lifetime JP2522155B2 (en) 1993-06-03 1993-06-03 Repeater between local area networks

Country Status (1)

Country Link
JP (1) JP2522155B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2718067B2 (en) * 1988-06-10 1998-02-25 株式会社日立製作所 Data exchange method
JPH07101888B2 (en) * 1989-12-26 1995-11-01 三菱電機株式会社 LAN-to-LAN connection method by switching device

Also Published As

Publication number Publication date
JPH06350607A (en) 1994-12-22

Similar Documents

Publication Publication Date Title
US4706081A (en) Method and apparatus for bridging local area networks
EP0537408B1 (en) Routing in a network of bridge-connected LAN segments
JP2537017B2 (en) Communication network interconnection device
US5910955A (en) Switching hub capable of controlling communication quality in LAN
CA2283999C (en) Packet processing apparatus, packet processing method, and packet exchange
US5940597A (en) Method and apparatus for periodically updating entries in a content addressable memory
EP0462542A2 (en) Method and apparatus for managing address information utilized in message transmission and reception
EP1468528A1 (en) Method and apparatus for priority-based load balancing for use in an extended local area network
WO1999014904A1 (en) Address look-up mechanism in a multi-port bridge for a local area network
JP2001186171A (en) Network and method for transferring data packet
JP2522155B2 (en) Repeater between local area networks
Cisco Synchronous Data Link Control and Derivatives
Cisco Synchronous Data Link Control and Derivatives
JP2001203739A (en) Method and device for controlling communication path
JPS6125346A (en) Local inter-network communication system
JP3710967B2 (en) Data transmission system
JP3464809B2 (en) Multi-port LAN connection device
KR100260436B1 (en) A.r.p. implementation method
JPH0832612A (en) Ethernet switch
JPH0413331A (en) Inter-lan connection system by atm exchange
JPH02127836A (en) Priority processing system
CN117060966A (en) Communication method and system between satellite-borne IP protocol network and 1553B bus network
JPH05316131A (en) Loop atm communication node
JPH04200131A (en) Inter-lan interconnection device
JPS61127245A (en) Communication network

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