JPH0433431A - Lan connection device - Google Patents

Lan connection device

Info

Publication number
JPH0433431A
JPH0433431A JP13823590A JP13823590A JPH0433431A JP H0433431 A JPH0433431 A JP H0433431A JP 13823590 A JP13823590 A JP 13823590A JP 13823590 A JP13823590 A JP 13823590A JP H0433431 A JPH0433431 A JP H0433431A
Authority
JP
Japan
Prior art keywords
lan
frame
token
station
connection device
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
Application number
JP13823590A
Other languages
Japanese (ja)
Inventor
Mitsuharu Asano
浅野 光春
Akira Watanabe
晶 渡辺
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable 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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP13823590A priority Critical patent/JPH0433431A/en
Publication of JPH0433431A publication Critical patent/JPH0433431A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数のLAN (ローカルエリアネットワー
ク)間を相互接続し、異なったLANに存在する局間の
通信を実現するLAN接続装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a LAN connection device that interconnects a plurality of LANs (local area networks) and realizes communication between stations located in different LANs. It is.

[従来の技術] 第4図は、複数の局を接続した複数のLANを、LAN
接続装置13を用いて接続する構成の概念図を示すもの
である。即ち、伝送線11に局111,112,113
を接続してLAN#1が構成され、伝送線12に局12
1゜122.123を接続してLAN#2が構成されて
いる。そして、LAN接続装置13がこれら2つのLA
Nを接続している。
[Prior art] Fig. 4 shows how multiple LANs connecting multiple stations are connected to the LAN.
A conceptual diagram of a configuration in which connection is made using a connection device 13 is shown. That is, stations 111, 112, 113 are connected to the transmission line 11.
LAN#1 is configured by connecting the station 12 to the transmission line 12.
LAN #2 is configured by connecting 1°122.123. Then, the LAN connection device 13 connects these two LAs.
N is connected.

LAN接続装置13は「局アドレス」と「局がどのLA
Nに接続されているかの情報」を持ち、受信したフレー
ムの宛先アドレスを持つ局がどのネットワークに接続さ
れているかを調べ、宛先局と送信元局が同じLANに接
続されていない場合には、フレームを宛先局が接続され
ているLANに転送し、同じLANに接続されている場
合は、フレームを転送せず、フレームを廃棄する。受信
したフレームの宛先アドレスと宛先局がどのネットワー
クに接続されているかを示す情報が格納されていない場
合には、相互接続しているLANにフレームを転送する
The LAN connection device 13 has a "station address" and "Which LA is the station?"
Check which network the station with the destination address of the received frame is connected to, and if the destination station and source station are not connected to the same LAN, The frame is transferred to the LAN to which the destination station is connected, and if the destination station is connected to the same LAN, the frame is not transferred and the frame is discarded. If the destination address of the received frame and information indicating which network the destination station is connected to are not stored, the frame is transferred to the interconnected LAN.

例として、同じLANに接続される局111と局112
の通信を考える。LAN接続装置13は局111から送
信されるフレームを受信し、宛先局である局112がど
のLANに接続しているかを調べる。LAN接続装置1
3に局112のアドレスと局112がLAN#1に接続
されているという情報が格納されている場合は、フレー
ムを他方のLANに転送しない、格納されていない場合
は、他方のLANであるLAN#2にフレームを転送す
る。
As an example, station 111 and station 112 connected to the same LAN
Consider the communication of The LAN connection device 13 receives the frame transmitted from the station 111, and checks to which LAN the destination station 112 is connected. LAN connection device 1
If the address of the station 112 and the information that the station 112 is connected to LAN #1 are stored in 3, the frame is not transferred to the other LAN. If the address is not stored, the frame is not transferred to the other LAN. Transfer the frame to #2.

次に、異なるネットワークに接続される局111と局1
21との通信を考える。LAN接続装置13は局111
から送信されるフレームを受信し、宛先局である局12
1がどのLANに接続されているかを調べる。LAN接
続装置13に局121のアドレスと局121がLAN$
2に接続されているという情報が格納されている場合は
、他方のLANであるLAN#2にフレームを転送する
Next, station 111 and station 1 connected to different networks
Consider communication with 21. LAN connection device 13 is station 111
Station 12, which is the destination station, receives the frame transmitted from
Find out which LAN 1 is connected to. The address of the station 121 and the LAN$ of the station 121 are sent to the LAN connection device 13.
If information indicating that the LAN is connected to LAN #2 is stored, the frame is transferred to the other LAN, LAN #2.

格納されていない場合も同様に、他方のLANであるL
AN#2にフレームを転送する。
Similarly, if it is not stored, the other LAN L
Transfer the frame to AN#2.

第2図は、従来のLAN接続装置の一構成例を示す。FIG. 2 shows an example of the configuration of a conventional LAN connection device.

第2図において伝送線11に局111,112゜113
が接続され、LAN#1が構成されている。
In Fig. 2, the transmission line 11 has stations 111, 112° 113
are connected to form LAN #1.

更に、伝送線12に局121,122.123が接続さ
れ、LAN4t2が構成されている。
Furthermore, stations 121, 122, and 123 are connected to the transmission line 12, forming a LAN 4t2.

フレーム送受信部21はLAN#1に接続されており、
フレーム送受信部25はLAN#2に接続されている。
The frame transmitting/receiving unit 21 is connected to LAN #1,
The frame transmitting/receiving section 25 is connected to LAN #2.

フレーム送受信部21.25は、LANから受信したフ
レームを検査し、エラーの無い場合は、バッファRAM
24にフレームを格納する一方、信号線61若しくは6
2を介して、制御部23に割り込み信号を送る。
The frame transmitting/receiving unit 21.25 inspects the frame received from the LAN, and if there is no error, the frame is transferred to the buffer RAM.
24, while the signal line 61 or 6
2, an interrupt signal is sent to the control unit 23.

制御部23は、LAN接続装置132全体を制御する回
路で、マイクロプロセッサ及びプログラムの格納された
メモリから構成される。
The control unit 23 is a circuit that controls the entire LAN connection device 132, and is composed of a microprocessor and a memory in which a program is stored.

LAN接続装置132のLAN情報格納部22は、LA
Nに接続されている局のアドレスと、その局がどのLA
Nに接続されているかく即ちLAN#1かLAN#2か
)を示す情報を格納する。
The LAN information storage unit 22 of the LAN connection device 132 is
The address of the station connected to N and which LA the station is connected to.
LAN#1 or LAN#2) is stored.

このLAN情報格納部22はメモリから構成される。This LAN information storage section 22 is composed of a memory.

ここで、例として異なるLANに接続される局111か
ら121への通信を挙げる。
Here, communication from the station 111 to the station 121 connected to different LANs will be taken as an example.

フレーム送受信部21は伝送線11から「局111が送
信したフレーム」を受信し、エラーが無いかを検査した
後、内部バス51を介してバッファRAM24に当該フ
レームを格納し、信号線61を介して制御部23に割り
込み信号を送る。
The frame transmitter/receiver 21 receives the "frame transmitted by the station 111" from the transmission line 11, checks for errors, stores the frame in the buffer RAM 24 via the internal bus 51, and transmits the frame via the signal line 61. and sends an interrupt signal to the control unit 23.

制御部23は、バッファRAM24から「受信したフレ
ームの宛先アドレス」、即ち「局121のアドレス」を
内部バス51を介して取り出し、局121がLAN#1
に接続されているのか、LAN#2に接続されているの
か、を調べるため、局121のアドレスを手掛かりにし
て、内部バス51を介してLAN情報格納部22から局
121がLAN#1に接続されているのか、LAN#2
に接続されているのか、を示す情報を検索する。
The control unit 23 retrieves the “destination address of the received frame”, that is, the “address of the station 121” from the buffer RAM 24 via the internal bus 51,
In order to check whether the station 121 is connected to the LAN #2 or to the LAN #2, using the address of the station 121 as a clue, the LAN information storage unit 22 connects the station 121 to the LAN #1 via the internal bus 51. Is it LAN#2?
Search for information indicating whether it is connected to the

この例において、「局121のアドレス」と[局121
がLAN#2に接続されているという情報」とが、LA
N情報格納部22に格納されていたとすると、制御部2
3はバッファRAM24から「受信したフレーム」を取
り出して送信するように、フレーム送受信部25に指示
する。
In this example, "station 121 address" and [station 121 address]
is connected to LAN#2" is the information that the LA
If it is stored in the N information storage section 22, the control section 2
3 instructs the frame transmitting/receiving section 25 to take out the "received frame" from the buffer RAM 24 and transmit it.

また第2図に示した構成において、受信したフレームの
宛先アドレスがどのLANに接続されているかを高速に
判定するために、LAN情報格納部に格納されているL
AN構成情報を高速に検索する手法を取り入れた、LA
N接続装置の例もある。
In addition, in the configuration shown in FIG. 2, in order to quickly determine which LAN the destination address of the received frame is connected to, the L
LA that incorporates a method to quickly search AN configuration information
There are also examples of N-connected devices.

しかしながら、第2図において示される構成においては
以下の欠点が存在する。即ち、LAN上におけるフレー
ムの殆どは同一LAN上にある局宛に送信されたもので
あり、LAN接続装置が中継する必要のないフレームが
殆どであるため、フレーム送受信部は中継不要であり、
廃棄されてしまうフレームまで受信してしまうことにな
り、フレーム送受信部21若しくは25及びバッファR
AM24を効率よく利用できない点である。
However, the configuration shown in FIG. 2 has the following drawbacks. In other words, most of the frames on the LAN are sent to stations on the same LAN, and most of the frames do not need to be relayed by the LAN connection device, so the frame transmission/reception unit does not need to relay them.
This results in the reception of frames that would otherwise be discarded, and the frame transmitter/receiver 21 or 25 and buffer R
The problem is that AM24 cannot be used efficiently.

第3図は、上記の欠点を解消し、媒体アクセス制御方式
にLEEB802.4)−クンパッシングバス方式を用
いたLANを相互接続する、LAN接続装置の構成例を
示すものである。
FIG. 3 shows a configuration example of a LAN connection device that eliminates the above-mentioned drawbacks and interconnects LANs using the LEEB802.4)-Kunpassing bus method as the medium access control method.

フレーム送受信部21は、フレーム検出器31及び切換
器33を介してLAN#1に接続されおり、フレーム送
受信部25は、フレーム検出器36及び切換器34を介
してLAN#2に連結されている。
The frame transmitter/receiver 21 is connected to LAN #1 via a frame detector 31 and a switch 33, and the frame transmitter/receiver 25 is connected to LAN #2 via a frame detector 36 and a switch 34. .

フレーム検出器31.36は、LANから受信したフレ
ームからフレームの種類(即ちデータ転送用フレームか
トークンか)を示す情報と、フレームの宛先アドレスを
取り出し、内部バス54又は55を介して判定器32.
35にフレームの種類を示す情報及びフレームの宛先ア
ドレスを送る一方、切換器33.34にフレームを送る
The frame detectors 31 and 36 extract information indicating the type of frame (i.e., data transfer frame or token) and the destination address of the frame from the frame received from the LAN, and send the information to the determiner 32 via the internal bus 54 or 55. ..
35, information indicating the type of frame and the destination address of the frame, while sending the frame to switching devices 33 and 34.

LAN接続装置133のLAN情報格納部22はLAN
を構成する局のアドレスと、その局がどのLANに接続
されているか(即ちLAN#1かLAN#2か)を示す
データを格納する。このLAN情報格納部22は例えば
、RAMを用いて構成することができる。
The LAN information storage unit 22 of the LAN connection device 133 is a LAN
It stores the addresses of the stations that make up the network and data indicating which LAN the station is connected to (ie, LAN #1 or LAN #2). This LAN information storage section 22 can be configured using, for example, a RAM.

判定器32.35は、フレーム検出器31゜36から渡
された情報及びLAN情報格納部22の情報より、「受
信したフレーム」がトークンであるか中継が必要なデー
タ転送用フレームであるかを判定し、信号線63.64
を介して切換器33.34に制御信号を送り、フレーム
送受信部21.25にトークン及び中継が必要なデータ
転送用フレームのみを送る。
The determiners 32 and 35 determine whether the "received frame" is a token or a data transfer frame that requires relaying, based on the information passed from the frame detectors 31 and 36 and the information in the LAN information storage section 22. Judgment, signal line 63.64
A control signal is sent to the switch 33, 34 via the switch 33, 34, and only tokens and data transfer frames that require relaying are sent to the frame transmitter/receiver 21, 25.

フレーム送受信部21.25は、切換器33゜34を介
して送られたきたフレームを受信し、バッファRAM2
4にフレームを格納する一方、信号線61若しくは62
を介して制御部23に割り込み信号を送る。
The frame transmitting/receiving sections 21.25 receive the frames sent via the switching devices 33 and 34, and transfer them to the buffer RAM 2.
4, while the signal line 61 or 62
An interrupt signal is sent to the control section 23 via the control section 23.

制御部23は、LAN接続装置133全体の動作を制御
する回路で、マイクロプロセッサ及びプログラムの格納
されたメモリから構成される。
The control unit 23 is a circuit that controls the entire operation of the LAN connection device 133, and is composed of a microprocessor and a memory in which a program is stored.

LAN接続装置133の動作例として、以下の3つの例
を示す。
The following three examples are shown as operation examples of the LAN connection device 133.

(1)LAN接続装置が伝送線11からトークンを受信
した場合 フレーム検出器31は、受信したフレームがトークンで
あることを示す情報を内部バス154を介して判定器3
2に送る。判定器32は、信号線63を介して制御信号
を切換器33に送り、切換器33に対して接点aに切り
換えるように指示する。切換器33は、接点aに切り換
えてフレーム送受信部21にトークンを送る。フレーム
送受信部21は受信したトークンを処理した後、信号線
65を介して伝送線11にトークンを送信する。
(1) When the LAN connection device receives a token from the transmission line 11, the frame detector 31 transmits information indicating that the received frame is a token to the determiner 3 via the internal bus 154.
Send to 2. The determiner 32 sends a control signal to the switch 33 via the signal line 63, and instructs the switch 33 to switch to contact a. The switch 33 switches to contact a and sends the token to the frame transmitting/receiving section 21. After processing the received token, the frame transmitting/receiving unit 21 transmits the token to the transmission line 11 via the signal line 65.

(2)異なるLANに属する局111から局121への
通信 フレーム検出器31は、伝送線11がら局111が送信
したフレームを受信し、データ転送用フレームを示す情
報と、「受信したフレームの宛先アドレス」即ち、局1
21のアドレスを内部バス54を介して判定器32に送
る0判定器32は、内部バス53を介してLAN情報格
納部22に格納されている情報を検索し、局121がL
AN#1に接続されているのか、LAN#2に接続され
ているのか、を判定する。この例では、「局121のア
ドレス」と「局121がLAN#2に接続されている」
という情報が、既にLAN情報格納部22に格納された
とすると、判定器32は信号線63を介して制御信号を
切換器33に送り、接点aに切り換えるように指示する
。切換器33は接点aに切り換えて、「受信したフレー
ム」をフレーム送受信部21に送る。フレーム送受信部
21は[局111の送信したフレーム」を受信し、エラ
ーが無いかを検査した後、内部バス51を介してバッフ
ァRAM24にフレームを格納し、信号線61を介して
制御部23に割り込み信号を送る。
(2) The communication frame detector 31 from the station 111 to the station 121 belonging to a different LAN receives the frame transmitted by the station 111 over the transmission line 11, and contains information indicating the frame for data transfer and "destination of the received frame." address” i.e. station 1
The 0 determiner 32 sends the address of 21 to the determiner 32 via the internal bus 54, searches the information stored in the LAN information storage unit 22 via the internal bus 53,
It is determined whether it is connected to AN#1 or LAN#2. In this example, "Address of station 121" and "Station 121 is connected to LAN #2" are used.
Assuming that this information has already been stored in the LAN information storage unit 22, the determiner 32 sends a control signal to the switch 33 via the signal line 63, instructing it to switch to contact a. The switch 33 switches to contact a and sends the "received frame" to the frame transmitting/receiving section 21. The frame transmitting/receiving unit 21 receives the [frame transmitted by the station 111], inspects it for errors, stores the frame in the buffer RAM 24 via the internal bus 51, and sends the frame to the control unit 23 via the signal line 61. Send an interrupt signal.

制御部23は、バッファRAMから「受信したフレーム
」を取り出して送信するように、フレーム送受信部25
に指示する。フレーム送受信部25は、信号線66を介
してフレームを伝送線12に送信する。
The control unit 23 causes the frame transmitting/receiving unit 25 to take out the “received frame” from the buffer RAM and transmit it.
instruct. The frame transmitter/receiver 25 transmits the frame to the transmission line 12 via the signal line 66.

(3)同一のLANに接続された局111から局112
への通信 フレーム検出器31は、伝送路11から「局111が送
信したフレーム」を受信し、データ転送用フレームを示
す情報と受信したフレームの宛先アドレス即ち、局11
2のアドレスを内部バス54を介して判定器32に送る
0判定器32は、内部バス53を介してLAN情報格納
部22に格納されている情報を検索し、局112がり、
AN#1に接続されているのか、LAN#2に接続され
ているのか、を判定する。この例では、「局112のア
ドレス」と「局112がLAN#1に接続されているJ
という情報が、既にLAN情報格納部22に格納されて
いたとすると、判定器32は信号線63を介して制御信
号を切換器33に送り、接点すに切り換えるように指示
する。切換器33は接点すに切り換えて、「受信したフ
レームJをフレーム送受信部21に送らないようにして
フレーム自動的に廃棄する。
(3) Stations 111 to 112 connected to the same LAN
The communication frame detector 31 receives the "frame transmitted by the station 111" from the transmission line 11, and detects the information indicating the data transfer frame and the destination address of the received frame, that is, the frame transmitted by the station 111.
The 0 determiner 32 sends the address of 2 to the determiner 32 via the internal bus 54, searches the information stored in the LAN information storage unit 22 via the internal bus 53, and the station 112
It is determined whether it is connected to AN#1 or LAN#2. In this example, "Address of station 112" and "J
If this information has already been stored in the LAN information storage unit 22, the determiner 32 sends a control signal to the switch 33 via the signal line 63, instructing the switch to switch. The switch 33 switches the contact to ``to automatically discard the received frame J by not sending it to the frame transmitting/receiving section 21''.

第3図の構成によるLAN接続装置は、中継が必要なフ
レームのみをフレーム送受信部21゜25に送るため、
フレーム送受信部21.25及びバッファRAM24の
使用効率が、第2図の構成によるLAN接続装置よりも
優れている。また中継が不要であるフレームは自動的に
廃棄されるなめ、高速にフレームを廃棄することができ
る。
The LAN connection device with the configuration shown in FIG. 3 sends only frames that need to be relayed to the frame transmitting and receiving sections 21 and 25.
The frame transmitting/receiving sections 21, 25 and the buffer RAM 24 are used more efficiently than the LAN connection device having the configuration shown in FIG. Furthermore, since frames that do not require relaying are automatically discarded, frames can be discarded at high speed.

[発明が解決しようとする課題] しかしながら、第3図の構成によるLAN接続装置は、
中継が不要なフレームを一旦、フレーム送受信部に送り
、フレーム送受信部はフレームを検査して、バッファR
AMに格納した後に、他方のLANに接続されているフ
レーム送受信部を介して転送されるため、以下の問題が
ある。即ち、フレームの検査は「フレームの宛先局」が
行えれば十分であるが、LAN接続装置においてもフレ
ームの検査を行うため、フレームの中継処理に時間がか
かるという点である。
[Problems to be Solved by the Invention] However, the LAN connection device with the configuration shown in FIG.
Frames that do not need to be relayed are sent to the frame transmitting/receiving section, and the frame transmitting/receiving section inspects the frames and stores them in buffer R.
After being stored in the AM, the frame is transferred via a frame transmitting/receiving unit connected to the other LAN, which causes the following problems. That is, although it is sufficient for the frame to be inspected by the "frame destination station," the frame is also inspected by the LAN connection device, so frame relay processing takes time.

本発明の目的は、前記した従来技術の欠点を解消し、高
速にフレームを中継できるLAN接続装置を提供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a LAN connection device that eliminates the drawbacks of the prior art described above and can relay frames at high speed.

[課題を解決するための手段] 本発明のLAN接続装置は、宛先局アドレス及び送信元
アドレスを含むフレームを送受信するように構成された
局を複数備えたLAN間を相互接続し、フレームの宛先
局が送信元局と同一のLAN上に無い場合のみ、宛先局
のあるLANに通信データを転送して、同一のLAN上
に存在しない局間においてもデータ転送を実現するLA
N接続装置において、宛先局を検出する検出器とLAN
上に送信するフレーム送信部及び切換器を各LANに対
して1つずつLAN接続装置内に設け、切換器により中
継の必要があるフレームを受信したときは、宛先局のあ
るLANに対するフレーム送信部にフレームを渡し、同
一LAN上に存在しない局間にフレームを転送できるよ
うにした構成のものである。
[Means for Solving the Problems] A LAN connection device of the present invention interconnects LANs each having a plurality of stations configured to transmit and receive frames including a destination station address and a source address, and A LA that transfers communication data to the LAN where the destination station is located only when the station is not on the same LAN as the source station, thereby realizing data transfer even between stations that are not on the same LAN.
In the N-connection device, a detector that detects the destination station and a LAN
A frame transmitter and a switch for each LAN are installed in the LAN connection device, and when a frame that needs to be relayed is received by the switch, the frame transmitter for the LAN with the destination station is installed. This configuration allows frames to be transferred between stations that are not on the same LAN.

前記LAN接続装置がトークンパッシング型のLAN間
を相互接続する装置である場合には、フレームの種類及
び宛先局を検出する検出器とLAN内における送信権を
制御するトークン送受信部を、各LANに対して1つず
つ有し、前記切換器によりトークンを受信しなときはト
ークン送受信部にトークンを渡す構成とすることができ
る。
If the LAN connection device is a token-passing type device that interconnects LANs, each LAN is equipped with a detector that detects the type of frame and the destination station, and a token transmitter/receiver that controls transmission rights within the LAN. The switching device may have one for each, and when the switching device does not receive the token, the token is passed to the token transmitting/receiving section.

また、前記LAN接続装置が、媒体アクセス制御方式に
IEEE802.4トークンパッシングバス方式を用い
たLAN間を相互接続する装置である場合でも、フレー
ムの種類及び宛先局を検出する検出器とLAN内におけ
る送信権を制御するトークン送受信部を、各LANに対
して1つずつ有し、前記切換器によりトークンを受信し
たときはトークン送受信部にトークンを渡す構成とする
ことができる。
Further, even if the LAN connection device is a device that interconnects LANs using the IEEE802.4 token passing bus method as a medium access control method, a detector for detecting the type of frame and the destination station and a It is possible to have one token transmitting/receiving section for each LAN for controlling transmission rights, and to pass the token to the token transmitting/receiving section when the switching device receives the token.

[作用] 本発明のLAN接続装置は、中継が必要なフレームを、
直接、宛先局が存在するLANに対するフレーム送信部
に渡す構成のため、従来必要であったフレームの検査に
要する時間を省き、フレームの中継に必要な時間を短縮
することができる。
[Operation] The LAN connection device of the present invention transmits frames that need to be relayed.
Since the frame is directly passed to the frame transmission unit for the LAN where the destination station is located, the time required for frame inspection, which was conventionally required, can be omitted, and the time required for frame relay can be shortened.

[実施例コ 以下、本発明の実施例として、媒体アクセス方式にIE
EE802.4トークンパッシングバス方式を用いた、
LAN間を相互接続するLAN接続装置について第1図
を用いて説明する。
[Embodiment] Hereinafter, as an embodiment of the present invention, IE is applied to the medium access method.
Using EE802.4 token passing bus method,
A LAN connection device that interconnects LANs will be explained with reference to FIG.

第1図は、本発明によるLAN接続装置の構成例を示し
たものである。
FIG. 1 shows an example of the configuration of a LAN connection device according to the present invention.

伝送線11に局111,112,113が接続され、L
AN#1が構成されている。更に、伝送線12に局12
1,122,123が接続され、LAN#2が構成され
ている。従来のフレーム送受信部21.25 (第3図
)に相当する部分は、トークン送受信部41.44とフ
レーム送信部42.43とに分けられており、フレーム
検出器31、トークン送受信部41.フレーム送信部4
2はLAN#1に接続され、フレーム検出器36、トー
クン送受信部44.フレーム送信部43はLAN#2に
接続されている。また、中継の必要があるフレームを直
接に、中継先のLANに接続されているフレーム送信部
に送り、高速にフレームを中継することを目的として、
切換器33.34には接点a、b、cの3つの切替え位
置があるものが使用され、一方のフレーム検出器31に
接続されている切換器33においては接点すにフレーム
送信部43及びバッファRAM242が接続され、他方
のフレーム検出器36に接続されている切換器34にお
いては接点すにはフレーム送信部42及びバッファRA
M241が接続されている。
Stations 111, 112, 113 are connected to the transmission line 11, and L
AN#1 is configured. Furthermore, a station 12 is connected to the transmission line 12.
1, 122, and 123 are connected to form LAN #2. The part corresponding to the conventional frame transmitting/receiving section 21.25 (FIG. 3) is divided into a token transmitting/receiving section 41.44 and a frame transmitting section 42.43, which includes a frame detector 31, a token transmitting/receiving section 41. Frame transmitter 4
2 is connected to LAN #1, and includes a frame detector 36, a token transmitting/receiving section 44. Frame transmitter 43 is connected to LAN #2. In addition, with the aim of relaying frames at high speed by directly sending frames that need to be relayed to a frame transmitter connected to the relay destination LAN,
The switches 33 and 34 have three switching positions, contacts a, b, and c, and in the switch 33 connected to one frame detector 31, the contacts are connected to the frame transmitter 43 and the buffer. In the switch 34 connected to the RAM 242 and connected to the other frame detector 36, the frame transmitter 42 and the buffer RA are connected.
M241 is connected.

フレーム検出器31.36は、LANから受信したフレ
ームからフレームの種類(即ちデータ転送用フレームか
トークンか)を示す情報と、フレームの宛先アドレスを
取り出し、内部バス54又は55を介して判定器32.
35にフレームの種類を示す情報及びフレームの宛先ア
ドレスを送る一方、切換器33.34にフレームを送る
The frame detectors 31 and 36 extract information indicating the type of frame (i.e., data transfer frame or token) and the destination address of the frame from the frame received from the LAN, and send the information to the determiner 32 via the internal bus 54 or 55. ..
35, information indicating the type of frame and the destination address of the frame, while sending the frame to switching devices 33 and 34.

LAN接続装置131のLAN情報格納部22は、LA
Nを構成する局のアドレスと、その局がどのLANに接
続されているか(即ちLAN#1か、LAN#2か)を
示すデータを格納する。このLAN情報格納部22は例
えば、RAMを用いて構成する。
The LAN information storage unit 22 of the LAN connection device 131 is
Data indicating the addresses of the stations forming N and which LAN the station is connected to (ie, LAN #1 or LAN #2) are stored. This LAN information storage section 22 is configured using, for example, a RAM.

判定器32.35は、フレーム検出器31゜36から渡
された情報及びLAN情報格納部22の情報より、「受
信したフレーム」がトークンであるかデータ転送用フレ
ームであるかを判定し、信号線63.64を介して切換
器33.34に制御信号を送って切り換えることにより
、トークン送受信部41.44にはトークンのみを送り
、転送先のLANに関するバッファRAM242゜24
1には中継が必要なデータ転送用フレームのみを送る。
The determiners 32 and 35 determine whether the "received frame" is a token or a data transfer frame based on the information passed from the frame detectors 31 and 36 and the information in the LAN information storage unit 22, By sending a control signal to the switch 33.34 via the line 63.64 to switch, only the token is sent to the token transmitting/receiving section 41.44, and the buffer RAM 242.24 regarding the destination LAN is sent.
Only data transfer frames that need to be relayed are sent to No. 1.

トークン送受信部41.44には、それぞれLAN#1
及びLAN#2における送信権の制御を行い、送信権が
獲得できたら、信号線67.68を介して、フレーム送
信部42.43に送信可能であることを伝える。
The token transmitting/receiving units 41 and 44 each have a LAN#1
and controls the transmission right in LAN #2, and when the transmission right is acquired, it notifies the frame transmitting section 42, 43 that transmission is possible via the signal line 67, 68.

フレーム送f8部42.43は、トークン送受信部41
.44から送信可能であることを知らされたら、バッフ
ァRAM241.242に格納されているフレームを取
り出して、それぞれLAN#1、LAN#2に送信する
The frame sending/receiving section 42 and 43 includes the token sending/receiving section 41.
.. 44, the frames stored in the buffer RAMs 241 and 242 are taken out and transmitted to LAN #1 and LAN #2, respectively.

LAN接続装置131の動作例として、以下の3つの例
を示す。
The following three examples are shown as operation examples of the LAN connection device 131.

(1)LAN接続装置131が伝送線11からトークン
を受信した場合 フレーム検出器31は、受信したフレームがトークンで
あることを示す情報を、内部バス54を介して判定器3
2に送る0判定器32は、信号線63を介して制御信号
を切換器33に送り、切換器33に対して接点aに切り
換えるように指示する。切換器33は、接点aに切り換
えてトークン送受信部41にトークンを送る。トークン
送受信部41はトークンを処理した後、トークンを伝送
線11に送信する。
(1) When the LAN connection device 131 receives a token from the transmission line 11 The frame detector 31 transmits information indicating that the received frame is a token to the determiner 3 via the internal bus 54.
The 0 determiner 32 sends a control signal to the switch 33 via the signal line 63, and instructs the switch 33 to switch to contact a. The switch 33 switches to contact a and sends the token to the token transmitting/receiving section 41. After processing the token, the token transmitting/receiving unit 41 transmits the token to the transmission line 11.

(2)異なるLANに接続される局111から局121
への通信 フレーム検出器31は伝送線11から「局111が送信
したフレーム」を受信し、データ転送用フレームを示す
情報と、受信したフレームの宛先アドレス、即ち局12
1のアドレスを内部バス54を介して判定器32に送る
0判定器32は、内部バス56を介してLAN情報格納
部22に格納されている情報を検索し、局121がLA
N#1に接続されているのか、LAN#2に接続されて
いるのか、を判定する。この例では、「局121のアド
レス」と[局121がLAN#2に接続されている」と
いう情報が、既にLAN情報格納部22に格納されてい
たとすると、判定器32は信号線63を介して制御信号
を切換器33に送り、接点すに切り換えるように指示す
る。切換器33は接点すに切り換えて、受信したフレー
ムをバッファRAM242に送る。
(2) Stations 111 to 121 connected to different LANs
The communication frame detector 31 receives the "frame transmitted by the station 111" from the transmission line 11, and detects information indicating the frame for data transfer and the destination address of the received frame, that is, the frame transmitted by the station 12.
The 0 determiner 32 sends the address of 1 to the determiner 32 via the internal bus 54, searches the information stored in the LAN information storage unit 22 via the internal bus 56, and
It is determined whether it is connected to N#1 or LAN#2. In this example, if the information “station 121 address” and “station 121 is connected to LAN #2” are already stored in the LAN information storage unit 22, the determiner 32 and sends a control signal to the switch 33, instructing it to switch the contact. The switch 33 switches the contact to send the received frame to the buffer RAM 242.

フレーム送信部43は、トークン送受信部44から送信
可能であると知らされると、バッファRAM242に格
納されたフレームを取り出して、伝送線12に送信する
When informed by the token transmitter/receiver 44 that the frame can be transmitted, the frame transmitter 43 takes out the frame stored in the buffer RAM 242 and transmits it to the transmission line 12 .

このように、LAN接続装置131は、中継が必要と判
断されたフレームを、直接、宛先局が存在するLAN#
2に対する通信制御LSIに渡すため、従来必要とした
フレームの検査に要する時間を省き、中継処理に必要な
時間を大幅に短縮することができる。
In this way, the LAN connection device 131 directly transmits frames that are determined to need to be relayed to the LAN# where the destination station is located.
2, the time required for frame inspection, which was conventionally required, can be omitted, and the time required for relay processing can be significantly shortened.

(3)同一のLANに接続された局111から局112
への通信 フレーム検出器31は、伝送路11から「局111が送
信したフレーム」を受信し、データ転送用フレームを示
す情報と「受信したフレームの宛先アドレス」、即ち局
112のアドレスを内部バス54を介して、判定器32
に送る0判定器32は、内部バス56を介してLAN情
報格納部22に格納されている情報を検索し、局112
がLAN#1に接続されているのか、LAN#2に接続
されているのか、を判定する。この例では、[局112
のアドレスJと[局112がLAN#1に接続されてい
る」という情報が、既にLAN情報格納部22に格納さ
れていたとすると、判定器32は信号線63を介して制
御信号を切換器33に送り、接点Cに切り換えるように
指示する。切換器33は接点Cに切り換えて、受信した
フレームをバッファRAM242に送らないようにして
、フレームを自動的に廃棄する。
(3) Stations 111 to 112 connected to the same LAN
The communication frame detector 31 receives the "frame transmitted by the station 111" from the transmission line 11, and sends information indicating the data transfer frame and the "destination address of the received frame", that is, the address of the station 112, to the internal bus. 54, the determiner 32
The 0 determiner 32 searches for information stored in the LAN information storage section 22 via the internal bus 56, and sends it to the station 112.
It is determined whether it is connected to LAN #1 or LAN #2. In this example, [station 112
If the address J and the information "station 112 is connected to LAN #1" are already stored in the LAN information storage unit 22, the determiner 32 transmits the control signal to the switch 33 via the signal line 63. and instructs it to switch to contact C. The switch 33 switches to contact C to prevent the received frame from being sent to the buffer RAM 242 and automatically discards the frame.

トークンを用いない、非トークンパッシング型のLAN
間を相互接続するLAN接続装置は、第1図からトーク
ン送受信部を除いた構成を用いて実現することができる
Non-token-passing LAN that does not use tokens
The LAN connection device that interconnects the devices can be realized using the configuration shown in FIG. 1 except that the token transmitter/receiver section is removed.

[発明の効果] 以上述べたように、本発明によれば、以下の効果が得ら
れる。即ち、中継が必要なフレームを、直接、宛先局が
存在するLANに対するフレーム送信部に渡すことによ
り、従来必要であったフレームの検査に要する時間を省
き、フレームの中継に必要な時間を短縮して、高速にフ
レームを中継することができる。
[Effects of the Invention] As described above, according to the present invention, the following effects can be obtained. In other words, by passing frames that need to be relayed directly to the frame transmitter for the LAN where the destination station is located, the time required for frame inspection, which was previously required, can be eliminated and the time required for frame relay can be shortened. This allows frames to be relayed at high speed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例に係るLAN接続装置の構成図
、第2図、第3図は従来のLAN接続装置の構成図、第
4図はLAN接続装置を用いて複数のLANを相互接続
する従来公知の概念図である。 図中、11は伝送線、111〜113は局、12は伝送
線、121〜123は局、133はLAN接続装置本体
、21.25はフレーム送受信部、22はLAN情報格
納部、241,242はバッファRAM、31.36は
フレーム検出器、32.35は判定器、33.34は切
換器、41゜44はトークン送受信部、42.43はフ
レーム送信部、54〜56は内部バス、63.64は信
号線を示す。 特許出願人  日立電線株式会社 代理人弁理士  絹 谷 信 雄 第 図
FIG. 1 is a configuration diagram of a LAN connection device according to an embodiment of the present invention, FIGS. 2 and 3 are configuration diagrams of a conventional LAN connection device, and FIG. 4 is a configuration diagram of a conventional LAN connection device, and FIG. It is a conceptual diagram of a conventionally known connection. In the figure, 11 is a transmission line, 111 to 113 are stations, 12 is a transmission line, 121 to 123 are stations, 133 is a LAN connection device body, 21.25 is a frame transmitting/receiving unit, 22 is a LAN information storage unit, 241, 242 is a buffer RAM, 31.36 is a frame detector, 32.35 is a determiner, 33.34 is a switch, 41.44 is a token transmitting/receiving section, 42.43 is a frame transmitting section, 54 to 56 are internal buses, 63 .64 indicates a signal line. Patent Applicant Hitachi Cable Co., Ltd. Representative Patent Attorney Nobuo Kinutani

Claims (1)

【特許請求の範囲】 1、宛先局アドレス及び送信元アドレスを含むフレーム
を送受信するように構成された局を複数備えたLAN間
を相互接続し、フレームの宛先局が送信元局と同一のL
AN上に無い場合のみ、宛先局のあるLANに通信デー
タを転送して、同一のLAN上に存在しない局間におい
てもデータ転送を実現するLAN接続装置において、宛
先局を検出する検出器とLAN上に送信するフレーム送
信部及び切換器を各LANに対して1つずつLAN接続
装置内に設け、切換器により中継の必要があるフレーム
を受信したときは、宛先局のあるLANに対するフレー
ム送信部にフレームを渡し、同一LAN上に存在しない
局間にフレームを転送できるようにしたことを特徴とす
るLAN接続装置。 2、前記LAN接続装置がトークンパッシング型のLA
N間を相互接続する装置であり、フレームの種類及び宛
先局を検出する検出器とLAN内における送信権を制御
するトークン送受信部を、各LANに対して1つずつ有
し、前記切換器によりトークンを受信したときはトーク
ン送受信部にトークンを渡すことを特徴とする請求項1
記載のLAN接続装置。 3、前記LAN接続装置が媒体アクセス制御方式にIE
EE802.4トークンパッシングバス方式を用いたL
AN間を相互接続する装置であり、フレームの種類及び
宛先局を検出する検出器とLAN内における送信権を制
御するトークン送受信部を、各LANに対して1つずつ
有し、前記切換器によりトークンを受信したときはトー
クン送受信部にトークンを渡すことを特徴とする請求項
1記載のLAN接続装置。
[Claims] 1. A LAN including a plurality of stations configured to transmit and receive frames including a destination station address and a source address is interconnected, and the destination station of the frame is on the same L as the source station.
A detector for detecting a destination station and a LAN in a LAN connection device that transfers communication data to a LAN where the destination station is located only when the destination station is not on the AN, and realizes data transfer even between stations that are not on the same LAN. A frame transmitter and a switch for each LAN are installed in the LAN connection device, and when a frame that needs to be relayed is received by the switch, the frame transmitter for the LAN with the destination station is installed. A LAN connection device characterized in that it is capable of passing frames to stations and transferring frames between stations that do not exist on the same LAN. 2. The LAN connection device is a token passing type LA
It is a device that interconnects between N and N, and has a detector for detecting the type of frame and the destination station, and a token transmitting/receiving section for controlling transmission rights within the LAN, one for each LAN, and the switching device Claim 1 characterized in that when the token is received, the token is passed to the token transmitting/receiving section.
LAN connection device described. 3. The LAN connection device uses IE in the medium access control method.
L using EE802.4 token passing bus method
It is a device that interconnects between ANs, and has a detector for detecting the type of frame and the destination station, and a token transmitting/receiving section for controlling transmission rights within the LAN, one for each LAN, and the switching device 2. The LAN connection device according to claim 1, wherein when the token is received, the token is passed to the token transmitting/receiving section.
JP13823590A 1990-05-30 1990-05-30 Lan connection device Pending JPH0433431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13823590A JPH0433431A (en) 1990-05-30 1990-05-30 Lan connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13823590A JPH0433431A (en) 1990-05-30 1990-05-30 Lan connection device

Publications (1)

Publication Number Publication Date
JPH0433431A true JPH0433431A (en) 1992-02-04

Family

ID=15217243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13823590A Pending JPH0433431A (en) 1990-05-30 1990-05-30 Lan connection device

Country Status (1)

Country Link
JP (1) JPH0433431A (en)

Similar Documents

Publication Publication Date Title
US4627052A (en) Interconnection of communications networks
JP2001111591A5 (en)
JPH0433431A (en) Lan connection device
US5282198A (en) Initialization of data stations on a dual bus data subnetwork
EP0860957A2 (en) Data communication method and data communication system using this method
JP3152039B2 (en) LAN connection device
JPH0260252A (en) Network system
JP2531126Y2 (en) MAC Bridge
JPH09200211A (en) Radio lan slave station equipment
JPS62216449A (en) Routing system
JP3116965B2 (en) Broadcast frame relay method
JP3334007B2 (en) Switchable transmission device
JP2702386B2 (en) Address learning method of LAN bridge system
JPH0923245A (en) Network connection device
JPH05227180A (en) Repeater for network
JPS6294037A (en) Token ring communication method
JPH04122141A (en) Bus test system
JP2654524B2 (en) LAN connection port switching method
JPH11177601A (en) Packet relay control method and packet relay device
JPH0410830A (en) Communication control equipment and control data communication system
JPS62248333A (en) Communication equipment system
JPS62254544A (en) Message routing information processing system
JPH0548984B2 (en)
JPH0399542A (en) Inter-terminal data transmission system
JPS6354847A (en) Communication terminal control method