JPH04150433A - Inter-lan coupling device - Google Patents
Inter-lan coupling deviceInfo
- Publication number
- JPH04150433A JPH04150433A JP2272207A JP27220790A JPH04150433A JP H04150433 A JPH04150433 A JP H04150433A JP 2272207 A JP2272207 A JP 2272207A JP 27220790 A JP27220790 A JP 27220790A JP H04150433 A JPH04150433 A JP H04150433A
- Authority
- JP
- Japan
- Prior art keywords
- lan
- station
- transmission
- response
- transmission 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
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は複数のLAN相互間を接続するLAN間結合装
置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an inter-LAN coupling device that interconnects a plurality of LANs.
(従来の技術)
複数のコンピュータや各種制御機器を同一の伝送路で接
続し、それら各機器からなる局相互間で情報通信を行う
LAN (ローカルエリアネットワーク)において、共
通の伝送路に対して情報を送出できる局を決定するメデ
ィアアクセス(MAC)制御方式を定めた国際標準の一
つにIEEE(米国電子技術者協会) 802.4規格
のトークンバス方式がある。また、それと組み合わされ
る上位層プロトコルの標準しとて、通信するニ局間での
論理リンク制御(r、、 L C)方式を定めたI E
E E 802.2規格がある。(Prior art) In a LAN (Local Area Network) where multiple computers and various control devices are connected through the same transmission path and information is communicated between stations made up of these devices, information is transmitted over the common transmission path. One of the international standards that defines a media access (MAC) control method for determining which stations can transmit information is the token bus method of the IEEE (Institute of Electronic Engineers of America) 802.4 standard. In addition, as a standard for the upper layer protocol that is combined with this, IE defines the logical link control (r, LC) method between two communicating stations.
There is an EE 802.2 standard.
同−LAN内に属する局どうしは上述したメディアアク
セス制御方式と論理リンク制御方式に従って、送信権(
トークン)の獲得と送信元局との間のにおける情報授受
を行う。Stations belonging to the same LAN communicate with each other according to the above-mentioned media access control method and logical link control method.
(token) and exchanges information with the source station.
さらに、論理リンク制御方式としてタイプ1〜3の3つ
の方式がある。タイプ1は一つの局がトークンを確保す
ると、送信元局を指定したデータを組込んだ伝送フォー
マットを伝送路に送出して、送出処理が終了するとトー
クンを次の局へ委譲する通常の方式である。これに対し
て、タイプ3は一つの局がトークンを獲得して、伝送路
に送信元局を指定したデータを組込んだ伝送フォーマッ
トを送出して、送信元局からの応答を受信するまでその
トークンを保持している方式である。このように送信元
局からの応答を受信するまでトークンを保持していると
、送信元局からの応答が即時に得られる。また、応答が
無い場合には、即座に同一内容の伝送フォーマットを再
度送出できる。よって、このタイプ3の論理リンク制御
方式を採用することによって、LANを構成する各局に
おける応答の待ち時間が短縮されるので、情報処理速度
を向上できる。よって、この論理リンク制御方式はリア
ルタイム制御用のLANに多く採用されている。Furthermore, there are three types 1 to 3 as logical link control methods. Type 1 is a normal method in which when one station secures a token, it sends out a transmission format that incorporates data specifying the source station onto the transmission path, and when the sending process is completed, the token is transferred to the next station. be. On the other hand, in type 3, one station acquires a token, sends out a transmission format that incorporates data specifying the source station on the transmission path, and continues until it receives a response from the source station. This is a method of holding tokens. By holding the token until receiving a response from the source station in this manner, a response from the source station can be obtained immediately. Furthermore, if there is no response, the transmission format with the same content can be sent again immediately. Therefore, by adopting this type 3 logical link control method, the response waiting time at each station making up the LAN is shortened, so that the information processing speed can be improved. Therefore, this logical link control method is often employed in LANs for real-time control.
一方、高度な情報処理社会においては、互いに独立した
複数のLANどうしをLAN間結合装置で接続して、一
つのLANに所属する局から別のLANに所属する局に
対して情報を伝送可能にすることが提唱されている。例
えば、第6図に示すように、それぞれ複数台の局2a、
2b、2cがそれぞれ伝送路3a、3b、3cに接続さ
れてなる3つのLAN1 a、1 b、1 cを2台の
LAN間結合装置4でもって接続している。On the other hand, in an advanced information processing society, multiple independent LANs are connected using inter-LAN coupling devices, making it possible to transmit information from stations belonging to one LAN to stations belonging to another LAN. It is proposed to do so. For example, as shown in FIG. 6, a plurality of stations 2a,
Three LANs 1a, 1b, and 1c, in which LANs 2b and 2c are connected to transmission lines 3a, 3b, and 3c, respectively, are connected by two inter-LAN coupling devices 4.
論理リンク制御方式が異なるLANどうしを接続するL
AN間結合装置4として第7図に示すようなゲートウェ
イ装置4aが使用されている。このゲートウェイ装置4
aは図示するように、第1のLANと第2のLANとを
最下段の物理層から最上段の応用層までのすべての段階
でプロトコル変換を行って、LAN相互間の情報伝送を
可能にしている。L that connects LANs with different logical link control methods
As the inter-AN coupling device 4, a gateway device 4a as shown in FIG. 7 is used. This gateway device 4
As shown in the figure, a performs protocol conversion between the first LAN and the second LAN at all stages from the lowest physical layer to the highest application layer to enable information transmission between the LANs. ing.
しかし、図示するように、すべての段階のプロトコルを
相手側のプロトコルに変換するので、変換に要する時間
が長く、応答性が悪く、前述したリアルタイム制御を必
要とするシステムには採用できない。However, as shown in the figure, since the protocols at all stages are converted to the protocols of the other party, the conversion takes a long time and the responsiveness is poor, so that this method cannot be used in the system that requires the above-mentioned real-time control.
また、同−論理リンク制御方式のLANどうしを接続す
る装置として第8図に示すようなブリッジ装置4bが使
用されている。このブリッジ装置4bにおいては、図示
するように、双方のLANのメディアアクセス(MAC
)制御副層の段階で相互を結合するので、プロトコルの
変換部分が少なくて済み、応答性が優れている利点があ
る。このような構成のブリッジ装置4bを特にMACブ
リッジ装置という。Further, a bridge device 4b as shown in FIG. 8 is used as a device for connecting LANs using the same logical link control method. In this bridge device 4b, as shown in the figure, media access (MAC
) Since they are connected to each other at the control sublayer stage, there are fewer protocol conversions and there is an advantage of excellent responsiveness. The bridge device 4b having such a configuration is particularly referred to as a MAC bridge device.
しかし、このブリッジ装置4bにおいても、双方のLA
Nが前述したタイプ3の論理リンク制御方式を採用して
いる場合は次のような聞届が生じる。However, even in this bridge device 4b, both LAs
If N adopts the type 3 logical link control method described above, the following situation will occur.
すなわち、第6図において、例えばLAN1aに所属す
る一つの局2aからLAN1cに所属する局2cにデー
タを伝送する場合は、送信局2aはトークンを捕獲して
伝送フレームを伝送路3aへ出力したのち、送信元局2
aがトークンを保持したまま、複数段のブリッジ装置4
で接続された再終段のLAN1cの送信元局2cからの
応答を待つことになる。したがって、応答時間が長くな
るので、伝送応答性と伝送効率が大幅に低下する。That is, in FIG. 6, for example, when transmitting data from one station 2a belonging to LAN 1a to station 2c belonging to LAN 1c, the transmitting station 2a captures the token and outputs the transmission frame to the transmission path 3a. , source station 2
While a holds the token, the multi-stage bridge device 4
The terminal waits for a response from the source station 2c of the final stage LAN 1c connected to the terminal. Therefore, the response time becomes longer, resulting in a significant reduction in transmission responsiveness and transmission efficiency.
このような不都合を解消するために、同一のLAN内の
局相互間のデータ伝送には前述したタイプ3の論理リン
ク制御方式を採用し、異なるLANの局どうしのデータ
伝送には送信元局からの応答を待つ必要がないタイプ1
の論理リンク制御方式を採用することが考えられる。す
なわち、送信元局がどのLANに所属するかによって、
異なる論理リンク制御方式を採用する。In order to eliminate such inconveniences, the type 3 logical link control method described above is adopted for data transmission between stations within the same LAN, and data transmission between stations on different LANs is performed from the source station. Type 1 where there is no need to wait for the response of
It is conceivable to adopt the following logical link control method. In other words, depending on which LAN the source station belongs to,
Adopt different logical link control methods.
しかし、複数のLANを接続することがシステム設計の
最初から判明していれば、各LANに上述したタイプ1
とタイプ3との2種類の論理リンク制御方式を組込んで
これらを必要に応じて使い分けることが可能であるが、
既にタイプ3の論理リンク制御方式のみしかを有してい
ないLANどうしを接続すると、前述した問題が生じる
ので、現実問題として既設のLANどうしを機能を低下
させずに接続できなかった。However, if it is known from the beginning of the system design that multiple LANs will be connected, each LAN will have the type 1
It is possible to incorporate two types of logical link control methods, type 3 and type 3, and use them properly as necessary.
If LANs that already have only the Type 3 logical link control method are connected, the above-mentioned problem will occur, so as a practical matter, it has not been possible to connect existing LANs without deteriorating their functionality.
(発明が解決しようとする課題)
このように、複数のLANどうしを接続する従来のLA
N間結合装装置においては、送信元の局が送信先からの
応答を受信するまでトークンを保持し続けるタイプ3の
論理リンク制御方式を採用したLANどうしを接続する
と、応答性能が悪く、リアルタイム制御を必要とするシ
ステムには採用できない問題があった。(Problem to be solved by the invention) In this way, the conventional LA that connects multiple LANs
In the N-to-N coupling device, when connecting LANs that adopt the type 3 logical link control method, in which the source station continues to hold the token until it receives a response from the destination, the response performance is poor and real-time control is difficult. There was a problem that it could not be adopted in systems that required .
本発明はこのような事情に鑑みてなされたものであり、
異なるLANへの伝送フレームを受信すると、取敢えず
送信元局へ応答を送信しておくことにより、送信元局に
おける待ち時間を短縮でき、タイプ3の論理リンク制御
方式を維持したままで、互いに異なるLANに所属する
局相互間で情報伝送を高速で実現でき、リアルタイム制
御を必要とするシステムを容易に実現できるLAN間結
合装置を提供することを目的とする。The present invention was made in view of these circumstances, and
When a transmission frame to a different LAN is received, by first sending a response to the source station, the waiting time at the source station can be shortened, and the type 3 logical link control method can be maintained. It is an object of the present invention to provide an inter-LAN coupling device that can realize high-speed information transmission between stations belonging to different LANs and easily realize a system requiring real-time control.
[発明の構成]
(課題を解決するための手段)
上記課題を解消するために本発明は、トークンバス方式
を採用し、かつ各局相互間の情報伝送において情報送信
局は送信情報に対する応答を受信するまでトークンを保
持する論理リンク制御方式を採用した複数のLAN相互
間を接続するLAN間結合装置において、
各LANを構成する全ての局のアドレスがいずれのLA
Nに属するかを判定する情報を記憶する所属LAN記憶
部と、任意の局から送出された送信元および送信先アド
レスを含んだ伝送フレームを受信したとき該当伝送フレ
ームに含まれる送信元および送信先の各アドレスの各所
属LANを所属LAN記憶部の情報から判定する所属L
AN判定手段と、この所属LAN判定手段にて判定され
た各所属LANが互いに異なるとき、送信元局に応答を
返信する応答返信手段と、所属LAN判定手段にて判定
された各所属LANが互いに異なるとき、受信した伝送
フレームを送信先アドレスの所属するLANへ出力する
伝送フレーム中継手段と、該当伝送フレームの送信先局
からの応答を受信する応答受信手段とを備えたものであ
る。[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the present invention adopts a token bus method, and in information transmission between each station, an information transmitting station receives a response to transmitted information. In an inter-LAN coupling device that connects multiple LANs using a logical link control method that holds tokens until
A belonging LAN storage unit that stores information for determining whether it belongs to N, and when receiving a transmission frame containing the source and destination addresses sent from an arbitrary station, the source and destination included in the corresponding transmission frame. Affiliation L to determine the LAN to which each address belongs from the information in the LAN storage unit.
When the affiliated LANs determined by the AN determining means and the affiliated LAN determining means are different from each other, the response reply means for returning a response to the source station and the affiliated LANs determined by the affiliated LAN determining means are different from each other. If the transmission frame is different, the transmission frame relay unit is provided with a transmission frame relay means for outputting the received transmission frame to the LAN to which the transmission destination address belongs, and a response reception means for receiving a response from the transmission destination station of the transmission frame.
(作 用)
このように構成されたLAN間結合装置において、一つ
のLANに所属する任意の局は、他のLANに所属する
局に対して情報を送信する場合、トークンを捕獲した時
点で、自局(送信元)および送信先アドレスおよび情報
を含んだ伝送フレームを伝送路に送出する。すると、L
AN間結合装置はその伝送フレームを受信して、送信元
および送信先アドレスから送信先局が他のLANに所属
するか否かを判断する。他のLANに所属すれば、取敢
えず送信元局に応答を送信する。そして、受信した伝送
フレームを送信先局が属するLANの伝送路に送出する
。そして、送信先の局からの応答を待つ。(Function) In the inter-LAN coupling device configured as described above, when any station belonging to one LAN transmits information to a station belonging to another LAN, when it captures a token, A transmission frame containing the own station (source) and destination address and information is sent to the transmission path. Then, L
The inter-AN coupling device receives the transmission frame and determines whether the destination station belongs to another LAN from the source and destination addresses. If it belongs to another LAN, it will send a response to the source station. Then, the received transmission frame is sent to the transmission path of the LAN to which the destination station belongs. Then, it waits for a response from the destination station.
すなわち、送信元局は伝送フレームがLAN間結合装置
に届いた時点で応答を受信するので、情報送信から応答
受信までの待ち時間が、他のLANに所属する送信先局
からの応答を受信するまでの待ち時間に比較して大幅に
短縮できる。In other words, since the source station receives a response when the transmission frame reaches the inter-LAN coupling device, the waiting time from information transmission to response reception is limited to the time it takes to receive a response from a destination station belonging to another LAN. The waiting time can be significantly reduced compared to the previous one.
(実施例) 以下本発明の一実施例を図面を用いて説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.
第2図は実施例のLAN間結合装置が組込まれたシステ
ム全体を示す模式図である。この実施例のシステムは第
1のLAN11aと第2のLAMllbとの2つのLA
Nと、これらを接続する1台のLAN間結合装置12と
で構成されている。第1.第2のLAN11a、llb
においては、それぞれ複数台の局13a、13a ・
・・13b、13b、・・・がそれぞれ1本の伝送路1
4a、14bに接続されている。そして、前記LAN間
結合装置12は各伝送路14a、141)に接続されて
いる。FIG. 2 is a schematic diagram showing the entire system incorporating the LAN coupling device of the embodiment. The system of this embodiment has two LAs, a first LAN 11a and a second LAMllb.
LAN, and one inter-LAN coupling device 12 that connects them. 1st. Second LAN11a,llb
In each case, a plurality of stations 13a, 13a ・
...13b, 13b, ... are each one transmission line 1
4a and 14b. The inter-LAN coupling device 12 is connected to each transmission line 14a, 141).
第1.第2のLAN11a、11bは同一伝送方式を採
用している。すなわち、トークンバス方式を採用し、か
つ各局相互間の情報伝送において、送信元局はトークン
を捕獲すると、送信元および送信先アドレスおよびデー
タ(情報)を含む伝送フレームを伝送路に送出して、送
信先局がらの応答を受信するまでトークンを保持するタ
イプ3の論理リンク制御方式を採用している。1st. The second LANs 11a and 11b employ the same transmission method. In other words, when a token bus method is adopted and information is transmitted between each station, when the source station captures a token, it sends a transmission frame containing the source and destination addresses and data (information) to the transmission path. A type 3 logical link control method is adopted in which the token is held until a response is received from the destination station.
なお、必要に応じて、データを送出したのち直ちにトー
クンを委譲する通常のタイプ1の論理リンク制御方式を
採用することも可能である。Note that, if necessary, it is also possible to adopt a normal type 1 logical link control method in which tokens are transferred immediately after data is sent.
一つの局13a、13bから他の局に対してデータを送
信する場合に、伝送路14a、14bへ送出される伝送
フレーム(MACフレーム)15は第3図のように構成
されている。すなわち、先頭にプリアンプルPが位置し
、次にセンドデリミタSD、フレームコントロールFC
が続き、その次に送信先局を特定する送信先アドレスD
Aおよび送信元局を特定する送信元アドレスが格納され
る。さらに、送信先サービスアクセスポイントDSAP
および送信元サービスアクセスポイント5SAPが続き
、制御コードCが格納される。この制御コードCは前述
した論理リンク制御方式を示すコードであり、第4図に
示すように、8ビツトで構成されている。第4図に示す
ように、[1110P/P 11ACnコの制御コード
Cに設定されていれば、タイプ3の論理リンク制御方式
であることを示す。この制御コードCの後に、送信すべ
きデータが続き、最後にフレームチエツクシーケンスF
C8および終了コードEDが組込まれている。When transmitting data from one station 13a, 13b to another station, a transmission frame (MAC frame) 15 sent to transmission paths 14a, 14b is configured as shown in FIG. That is, the preamble P is located at the beginning, followed by the send delimiter SD and frame control FC.
followed by the destination address D that specifies the destination station.
A and a transmission source address that specifies the transmission source station are stored. Additionally, the destination service access point DSAP
and the source service access point 5SAP, in which the control code C is stored. This control code C is a code indicating the above-mentioned logical link control method, and is composed of 8 bits as shown in FIG. As shown in FIG. 4, if the control code is set to C in [1110P/P11ACn, it indicates a type 3 logical link control method. This control code C is followed by the data to be transmitted, and finally a frame check sequence F
C8 and end code ED are included.
一方、自局宛の伝送フレーム15を受信した送信先の局
は第5図に示す応答フレームを出力する。On the other hand, the destination station that has received the transmission frame 15 addressed to itself outputs the response frame shown in FIG.
この応答フレーム16は伝送)Iノーム15と同一構成
であるが、伝送フレーム15のデータの代りに応答フレ
ームであることを示す応答ステータスSTSが組込まれ
ている。This response frame 16 has the same structure as the transmission) I node 15, but instead of the data of the transmission frame 15, a response status STS indicating that it is a response frame is incorporated.
前記LAN間結合装置]2は第1図に示すように構成さ
れている。図中17は各種情報処理制御を行うMPU
(マイクロプロッサ)であり、例えばインテル社製品の
800186等の市販LSIで構成されている。このM
PU17は専用バス18を介してEFROM19.RA
M20およびバッファゲート回路21を制御する。The inter-LAN coupling device] 2 is configured as shown in FIG. 17 in the figure is an MPU that performs various information processing controls.
(Microprocessor), and is composed of a commercially available LSI such as Intel's 800186. This M
The PU 17 connects to the EFROM 19. via the dedicated bus 18. R.A.
Controls M20 and buffer gate circuit 21.
EFROM19は周知のように紫外線消去型の記憶素子
LSIで形成されており、MPU17が実行するプログ
ラムを記憶する領域や所属LAN記憶部19aが形成さ
れている。この所属LAN記憶部19aには、第1のL
AN11aに所属する全ての局13aのアドレスと第2
のLAN11bに所属する全ての局13bのアドレスが
テーブル形式で記憶されており、受信した伝送フォーマ
ット15から読取った送信先アドレスDAおよび送信元
アドレスSAがいずれのLAN11 a。As is well known, the EFROM 19 is formed of an ultraviolet-erasable storage element LSI, and has an area for storing programs executed by the MPU 17 and an associated LAN storage section 19a. This belonging LAN storage section 19a has a first L
The addresses of all stations 13a belonging to AN 11a and the second
The addresses of all the stations 13b belonging to the LAN 11b are stored in a table format, and the destination address DA and source address SA read from the received transmission format 15 correspond to which LAN 11a.
11bに所属するかが即座に判断できる。なお、二〇E
FROM19を紫外線消去型としたのは、プログラムを
容易に変更可能とするためであり、プログラムが記憶で
きれば紫外線消去型の記憶素子に限定されるものではな
い。You can instantly determine whether you belong to 11b. In addition, 20E
The reason why the FROM 19 is made of an ultraviolet erasable type is to enable the program to be easily changed, and it is not limited to an ultraviolet erasable type memory element as long as a program can be stored.
RAM20は、MPU17が各種情報処理を実行する場
合における各種可変データを一時記憶する。そして、R
AM20内には伝送フレーム]5から読取った送信先ア
ドレスDAおよび送信元アドレスSAを一時記憶する各
アドレス領域20a。The RAM 20 temporarily stores various variable data when the MPU 17 executes various information processing. And R
Each address area 20a temporarily stores the destination address DA and source address SA read from the transmission frame 5 in the AM20.
20bが記憶されている。20b is stored.
バッファゲート回路21には専用バス18の他に共通バ
ス22が接続されており、専用バス18と共通バス22
とを分離する機能を有する。A common bus 22 is connected to the buffer gate circuit 21 in addition to the dedicated bus 18.
It has the function of separating the
前記共通バス22には、前記バッファゲート回路21の
他に、第1のTBC23aと第2のTBC23bとRA
M24とが接続されている。In addition to the buffer gate circuit 21, the common bus 22 includes a first TBC 23a, a second TBC 23b, and an RA.
M24 is connected.
各TBC23a、23bは、前述したI EEE8(1
2,4規格で定めるトークンバス方式の動作を制御する
トークンバスコントローラ(TBC)であり、例えばモ
トローラ社製品のMCEi8824等の市販LSIで構
成されている。そして、第1 第2のTBC23a、2
3bはそれぞれ第1.第2の送受信回路(CBM)25
a、25bを介して第1第2のLAN11a、llbを
制御する。Each TBC 23a, 23b has the above-mentioned IEE8 (1
This is a token bus controller (TBC) that controls the operation of the token bus method defined in the 2.4 standard, and is configured with a commercially available LSI such as the MCEi8824 manufactured by Motorola. And the first and second TBC23a, 2
3b is the first. Second transmitter/receiver circuit (CBM) 25
The first and second LANs 11a and llb are controlled via the first and second LANs 11a and 25b.
第1.第2の送受信回路25a、25bは各LAN11
a、llbの各伝送路14a、14bに入出力する伝送
フォーマットおよび応答フォーマットを変調・復調機能
を有する送受信回路であり、例えばモトローラ社製品の
MC88194等の市販LSIで構成されている。1st. The second transmitting/receiving circuits 25a and 25b are connected to each LAN 11.
This is a transmitting/receiving circuit that has a function of modulating and demodulating the transmission format and response format input and output to and from the transmission lines 14a and 14b, and is constructed of a commercially available LSI such as MC88194 manufactured by Motorola.
また、前記RAM24は、受信した伝送フォーマット1
5のうちLANの所属を越えて、第1のLAN11aか
ら第2のLAN11bへ、又は第2のLAN11bから
第1のLAN11aへ送信する伝送フォーマットを一時
記憶する書換え可能な記憶素子である。Further, the RAM 24 stores the received transmission format 1.
This is a rewritable storage element that temporarily stores a transmission format to be transmitted from the first LAN 11a to the second LAN 11b or from the second LAN 11b to the first LAN 11a beyond the LAN affiliation.
次に、第1図に示すような構成のLAN間結合装置12
が組込まれた第2図に示すシステムにおいて、例えば第
1のLAN11aに所属するAの局13aから同一の第
1のLAN11aに所属する他の局11a又は第2のL
AN 1 l bに所属する局13bにデータを送信す
る場合の各部の動作を順を追って説明する。Next, the LAN coupling device 12 configured as shown in FIG.
In the system shown in FIG. 2, in which a station 13a belonging to a first LAN 11a is connected to another station 11a or a second L station 13a belonging to the same first LAN 11a, for example,
The operation of each part when transmitting data to the station 13b belonging to AN11b will be explained in order.
■ 先ず、第1のLAN11 gに所属する局Aは、第
1のLAN11a内を循環するトークンを捕獲すると、
送信すべきデータを第3図に示した伝送フォーマット1
5のデータ領域にセットし、また、タイプ3の論理リン
ク制御方式を示す第4図に示した制御コードCを設定し
、さらに送信元局を示す送信先アドレスDAおよび自局
を示す送信元アドレスSAを組込んで、この伝送フォー
マット15を伝送路14aへ送出する。■ First, when station A belonging to the first LAN 11g captures the token circulating within the first LAN 11a,
Transmission format 1 shows the data to be transmitted as shown in Figure 3.
In addition, the control code C shown in FIG. 4, which shows the type 3 logical link control method, is set in the data area of No. 5, and the destination address DA indicating the source station and the source address indicating the own station are set. SA is incorporated and this transmission format 15 is sent to the transmission path 14a.
なお、伝送フォーマット15を送出して直ぐにトークン
を委譲するタイプ1の論理リンク制御方式を指定する場
合は、制御コードCにタイプ1の論理リンク制御方式に
対応するコードを設定する。Note that when specifying a type 1 logical link control method in which the token is transferred immediately after transmitting the transmission format 15, a code corresponding to the type 1 logical link control method is set in the control code C.
■ 第1のLAN11aの伝送路14aに伝送フォーマ
ット15が送出されると、LAN間結合装置12内の第
1の送受信回路(CBM)25aがその伝送フォーマッ
ト15を受信して、さらに復調して第1のTBC23a
へ送出する。■ When the transmission format 15 is sent to the transmission path 14a of the first LAN 11a, the first transmission/reception circuit (CBM) 25a in the inter-LAN coupling device 12 receives the transmission format 15, further demodulates it and 1 TBC23a
Send to.
■ 第1のTBC23aは第1の送受信回路25aから
受領した伝送フォーマット15のシリアルデータをパラ
レルデータに変換して、RAM24へ格納するとともに
、MPU17へ受信割込信号INaを送出する。(2) The first TBC 23a converts serial data in transmission format 15 received from the first transmitting/receiving circuit 25a into parallel data, stores it in the RAM 24, and sends a reception interrupt signal INa to the MPU 17.
■ 第1のTBC23aからの受信割込信号rNaが入
力されたMPU17は、パブファゲート回路21を介し
てRAM24内に一時記憶されている受信した伝送フォ
ーマット15の送信先アドレスDAを読出して、EFR
OM19の所属LAN記憶部19a内を検索して、該当
送信先アドレスDAがいずれのLAN11a、llbに
所属するか調べる。- The MPU 17, to which the reception interrupt signal rNa from the first TBC 23a has been input, reads the transmission destination address DA of the received transmission format 15 temporarily stored in the RAM 24 via the Paffer gate circuit 21, and reads the transmission destination address DA of the received transmission format 15.
The belonging LAN storage unit 19a of the OM 19 is searched to find out which LAN 11a or llb the corresponding destination address DA belongs to.
■ 送信先アドレスDAが送信元アドレスSAと同一の
第1のLAN11aに所属する場合は、このLAN間結
合装置12で伝送フォーマット15を中継する必要がな
いので、RAM24に一時格納した伝送フォーマット1
5をクリアしてこの受信処理を終了する。■ If the destination address DA belongs to the same first LAN 11a as the source address SA, there is no need to relay the transmission format 15 with this inter-LAN coupling device 12, so the transmission format 1 temporarily stored in the RAM 24
5 is cleared to end this reception process.
■ 送信先アドレスDAが送信元アドレスSAと同一の
第1のLAN 11 aに所属しない場合は、伝送フォ
ーマット15の制御コードCの8ビツトデータを調べて
論理リンク制御方式がタイプ1又はタイプ3かを判定す
る。■ If the destination address DA does not belong to the same first LAN 11a as the source address SA, check the 8-bit data of control code C of transmission format 15 to determine whether the logical link control method is type 1 or type 3. Determine.
(1)タイプ3であれば、第1のTBC23Hに対して
送信元局Aに対する応答フレーム16の送出指令を出力
する。第1のTBC23aは第5図に示す応答フレーム
16を作成して第1のLAN11aの伝送路14aへ送
出する。同時に、第2のTBC23bに対して受信した
伝送フレーム15の第2のLAN11bへの送信指令を
出力する。(1) If it is type 3, a command to send the response frame 16 to the source station A is output to the first TBC 23H. The first TBC 23a creates a response frame 16 shown in FIG. 5 and sends it to the transmission line 14a of the first LAN 11a. At the same time, it outputs a command to the second TBC 23b to transmit the received transmission frame 15 to the second LAN 11b.
(2)タイプ1であれば、送信元局Aに対する応答フレ
ーム16を送出する必要がないので、第1のLAN11
aへは何も送信せずに、第2のTBC23bに対して受
信した伝送フレーム15の第2のLAN 1 l bへ
の送信指令を出力する。(2) If it is type 1, there is no need to send the response frame 16 to the source station A, so the first LAN 11
It outputs a command to the second TBC 23b to transmit the received transmission frame 15 to the second LAN 1 l b without transmitting anything to the second TBC 23b.
すなわち、この場合は、伝送フレーム15の中継処理の
みとなる。That is, in this case, only the relay processing of the transmission frame 15 is performed.
■ LAN間結合装置12からの応答フレーム16を受
信した第1のLAN11aに所属する送信元のAの局1
3aはデータ伝送が終了したと判断して、トークンを隣
接する他の局13aへ委譲する。■ Station 1 of transmission source A belonging to the first LAN 11a that received the response frame 16 from the inter-LAN coupling device 12
Station 3a determines that the data transmission is complete and transfers the token to another adjacent station 13a.
■ 一方、MPU17から送信指令を受けた第2のTB
C23bは第2のLAN11bにおいてトークンを獲得
すると、RAM24に一時記憶している伝送フォーマッ
ト15を伝送路14bへ送出する。■ On the other hand, the second TB receives a transmission command from the MPU 17.
When the C23b acquires the token on the second LAN 11b, it sends the transmission format 15 temporarily stored in the RAM 24 to the transmission path 14b.
LAN間結合装置12からの伝送フレーム15を受信し
た第2のLAN11bに所属する送信先の局13bは制
御コードCがタイプ3を示す場合は、第5図に示した応
答フレーム16を伝送路11bへ送出する。If the control code C indicates type 3, the destination station 13b belonging to the second LAN 11b which received the transmission frame 15 from the inter-LAN coupling device 12 transmits the response frame 16 shown in FIG. 5 to the transmission path 11b. Send to.
■ MPU17は、第2のLAN11bへ送出した伝送
フォーマット15の制御コードCがタイプ3の論理リン
ク制御方式であれば、トークンを保持したまま送信先の
局13bからの応答フレーム16を待つ。そして、応答
フレーム16を受信すると、送信業務を終了してトーク
ンを次の局13bへ委譲する。(2) If the control code C of the transmission format 15 sent to the second LAN 11b is a type 3 logical link control method, the MPU 17 waits for the response frame 16 from the destination station 13b while holding the token. When the response frame 16 is received, the transmission task is ended and the token is transferred to the next station 13b.
なお、所定時間内に送信先局からの応答フレーム16が
受信されなかった場合は、同一伝送フレーム15を再度
伝送路14bへ送出する。Note that if the response frame 16 from the destination station is not received within a predetermined period of time, the same transmission frame 15 is sent to the transmission path 14b again.
また、第2のLAN11bへ送出した伝送フォーマット
15の制御コードCがタイプ1の論理リンク制御方式で
あれば、応答フレーム16を待つ必要がないので、伝送
フォーマット15の送出後直ちにトークンを次の局13
bへ委譲して、送信業務を終了する。Furthermore, if the control code C of the transmission format 15 sent to the second LAN 11b is a type 1 logical link control method, there is no need to wait for the response frame 16, so the token is sent to the next station immediately after the transmission format 15 is sent. 13
Delegating to b, the sending task is completed.
なお、第2のLAN11bの局13bから第1のLAN
11aの局13aへデータを送信する場合も前述した処
理動作に準じる。Note that from the station 13b of the second LAN 11b to the first LAN
The processing operation described above also applies when transmitting data to the station 13a of the station 11a.
このように構成されたLAN間結合装置によれば、他の
LANに所属する局にタイプ3の論理リンク制御方式を
用いてデータを送信する場合には、送信元局はデータを
伝送フレームに組込んで伝送路に送出して、送信先局か
らの応答フォーマットを受信するのを待って、トークン
を次の局へ委譲する。この場合、応答フォーマットは他
のLANに所属する送信先局からではなく、LAN間結
合装置から送信される。したがって、LAN間結合装置
が送信先局が属するLAN内でトークンを捕獲するまで
の時間や伝送フレームが送信先局に到達して応答フレー
ムがLAN間結合装置へ戻るまでの時間を省略できるの
で、送信元局の待ち時間は大幅に短縮できる。According to the inter-LAN coupling device configured in this way, when transmitting data to a station belonging to another LAN using the type 3 logical link control method, the source station assembles the data into a transmission frame. The token is transferred to the next station after receiving the response format from the destination station. In this case, the response format is not sent from a destination station belonging to another LAN, but from the inter-LAN coupling device. Therefore, the time required for the inter-LAN coupling device to capture a token within the LAN to which the destination station belongs, and the time required for the transmission frame to reach the destination station and for the response frame to return to the inter-LAN coupling device can be omitted. The waiting time of the source station can be significantly reduced.
すなわち、送信元局は自局が所属するLANの各局へデ
ータを送信するに要する時間とほぼ等しい時間で他のL
ANに所属する局とタイプ3の論理リンク制御方式を用
いてデータ伝送が可能となる。しかして、第2図に示す
ような複数のLANで構成されたシステムにおいても、
タイプ3の論理リンク制御方式を用いたリアルタイム制
御処理が可能となる。In other words, the source station transmits data to other LLANs in approximately the same amount of time as it takes to transmit data to each station in the LAN to which the source station belongs.
Data transmission is possible using the type 3 logical link control method with stations belonging to the AN. However, even in a system configured with multiple LANs as shown in Figure 2,
Real-time control processing using type 3 logical link control method becomes possible.
また、LAN間結合装置12は、所定時間内に送信先局
からの応答フレーム16が受信されなかった場合、同一
伝送フレーム15を再度伝送路へ送出するので、データ
が正しく送信先の局に伝送される信頼性は、従来のタイ
プ3の論理リンク制御方式と同様に、十分に確保されて
いる。Furthermore, if the LAN coupling device 12 does not receive the response frame 16 from the destination station within a predetermined period of time, it sends the same transmission frame 15 to the transmission path again, so that the data is correctly transmitted to the destination station. As with the conventional type 3 logical link control method, the reliability achieved is sufficiently ensured.
なお、本発明は上述した実施例に限定されるものではな
い。実施例装置においては、EPROM19の所属LA
N記憶部19aに各局13a。Note that the present invention is not limited to the embodiments described above. In the embodiment device, the LA of EPROM19 is
Each station 13a is stored in the N storage section 19a.
13bの所属LAN11a、1.1bをテーブル形式で
記憶したが、例えば、別のEPROMに所属LAN記憶
部を形成してもよい。さらに、LAN間結合装置12に
別途キーボード入力端末装置等を接続して、操作員が予
め所属LANをキー人力することも可能である。また、
MPU17が各TBC23a、23bを介して各LAN
11 a。Although the LANs 11a and 1.1b of the LANs 13b are stored in a table format, the LAN storage section may be formed in a separate EPROM, for example. Furthermore, it is also possible that a keyboard input terminal device or the like is separately connected to the inter-LAN coupling device 12, so that the operator can enter the LAN to which the user belongs manually in advance. Also,
The MPU 17 connects to each LAN via each TBC 23a and 23b.
11 a.
11bの各局13a、13bのアドレスを例えば伝送フ
レーム15の送信元アドレスSAから読取って例えばR
AM24に書込むラーニングアルゴリズムの手法で所属
LAN記憶部を形成してもよい。For example, the addresses of the stations 13a and 13b of 11b are read from the source address SA of the transmission frame 15, and
The affiliated LAN storage unit may be formed using a learning algorithm method that writes to the AM24.
さらに、この実施例においては、第1.第2のLAN1
1a、llbの2つのLANで構成されるシステムにつ
いて説明したが、複数のLA間結合装置を用いて3つ以
上のLANを直列的に接続したシステムに応用できるこ
とは言うまでもない。Furthermore, in this embodiment, the first. 2nd LAN1
Although a system composed of two LANs 1a and llb has been described, it goes without saying that the present invention can be applied to a system in which three or more LANs are connected in series using a plurality of inter-LA coupling devices.
[発明の効果]
以上説明したように本発明のLAN間結合装置によれば
、所属の異なるLANへの伝送フレームを受信すると、
度数えず送信元局へ応答を送信しておき、同時に受信し
た伝送フレームを送信元局が所属するLANへ送出する
。したがって、送信元局における応答フレームの待ち時
間が大幅に短縮され、タイプ3の論理リンク制御方式を
維持したままで、互いに異なるLANに所属する局相互
間で情報伝送を高速で実現でき、リアルタイム制御を必
要とするシステムを実現できる。[Effects of the Invention] As explained above, according to the inter-LAN coupling device of the present invention, when a transmission frame to a different LAN is received,
A response is sent to the source station without counting, and at the same time, the received transmission frame is sent to the LAN to which the source station belongs. Therefore, the waiting time for response frames at the source station is significantly reduced, and while maintaining the type 3 logical link control method, information transmission can be realized at high speed between stations belonging to different LANs, and real-time control can be achieved. It is possible to realize a system that requires
【図面の簡単な説明】
第1図乃至第5図は本発明の一実施例に係わるLAN間
結合装置を示すものであり、第1図は概略構成を示すブ
ロック図、第2図はシステム全体を示す模式図、第3図
は伝送フォーマットを示す図、第4図は制御コードのビ
ット構成を示す図、第5図は応答フォーマットを示す図
であり、第6図は一般的なシステムを示す模式図、第7
図および第8図は従来のLAN間結合装置の概略構成を
示すブロック図である。
11 a−・・第1のLAN、1lb−・・第2のLA
N。
12−L A N間結合装置、13a、13b−・・局
、14a、14b・・・伝送路、15・・・伝送フォー
マット、16・・・応答フォーマット、17・・・MP
U。[BRIEF DESCRIPTION OF THE DRAWINGS] FIGS. 1 to 5 show an inter-LAN coupling device according to an embodiment of the present invention. FIG. 1 is a block diagram showing a schematic configuration, and FIG. 2 is a diagram showing the entire system. FIG. 3 is a diagram showing the transmission format, FIG. 4 is a diagram showing the bit structure of the control code, FIG. 5 is a diagram showing the response format, and FIG. 6 is a diagram showing a general system. Schematic diagram, 7th
8 and 8 are block diagrams showing a schematic configuration of a conventional LAN coupling device. 11a--First LAN, 1lb--Second LA
N. 12-LAN coupling device, 13a, 13b--station, 14a, 14b--transmission line, 15--transmission format, 16--response format, 17...-MP
U.
Claims (1)
において情報送信局は送信情報に対する応答を受信する
までトークンを保持する論理リンク制御方式を採用した
複数のLAN相互間を接続するLAN間結合装置におい
て、 前記各LANを構成する全ての局のアドレスがいずれの
LANに属するかの情報を記憶する所属LAN記憶部と
、任意の局から送出された送信元および送信先アドレス
を含んだ伝送フレームを受信したとき該当伝送フレーム
に含まれる送信元および送信先の各アドレスの各所属L
ANを前記所属LAN記憶部の情報から判定する所属L
AN判定手段と、この所属LAN判定手段にて判定され
た各所属LANが互いに異なるとき、送信元局に応答を
返信する応答返信手段と、前記所属LAN判定手段にて
判定された各所属LANが互いに異なるとき、前記受信
した伝送フレームを送信先アドレスの所属するLANへ
出力する伝送フレーム中継手段と、該当伝送フレームの
送信先局からの応答を受信する応答受信手段とを備えた
ことを特徴とするLAN間結合装置。[Claims] A token bus method is adopted, and a logical link control method is adopted in which an information transmitting station holds a token until it receives a response to transmitted information in information transmission between multiple LANs. In the LAN coupling device to be connected, there is a belonging LAN storage unit that stores information on which LAN the addresses of all the stations constituting each LAN belong to, and a source and destination address sent from any station. When a transmission frame containing a transmission frame is received, each belonging L of each source and destination address included in the transmission frame is
Belonging L that determines the AN from the information in the belonging LAN storage unit
When the affiliated LANs determined by the AN determining means and the affiliated LAN determining means are different from each other, a response reply means for returning a response to the source station, and each affiliated LAN determined by the affiliated LAN determining means are different from each other. The transmission frame is characterized by comprising a transmission frame relay means for outputting the received transmission frame to a LAN to which the transmission destination address belongs when the transmission frame is different from each other, and a response reception means for receiving a response from the transmission destination station of the transmission frame. LAN coupling device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2272207A JPH04150433A (en) | 1990-10-12 | 1990-10-12 | Inter-lan coupling device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2272207A JPH04150433A (en) | 1990-10-12 | 1990-10-12 | Inter-lan coupling device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04150433A true JPH04150433A (en) | 1992-05-22 |
Family
ID=17510603
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2272207A Pending JPH04150433A (en) | 1990-10-12 | 1990-10-12 | Inter-lan coupling device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04150433A (en) |
-
1990
- 1990-10-12 JP JP2272207A patent/JPH04150433A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6108345A (en) | Configurable Wan/Lan bridge | |
| US6047002A (en) | Communication traffic circle system and method for performing packet conversion and routing between different packet formats including an instruction field | |
| US5905873A (en) | System and method of routing communications data with multiple protocols using crossbar switches | |
| KR0137089B1 (en) | High speed relay processing LAN connection device | |
| JPS61212940A (en) | Data transmission method for multi-network system | |
| JP3662378B2 (en) | Network repeater | |
| JP2000183935A (en) | Node and data processing method in node | |
| JPH0634486B2 (en) | Communication protocol controller | |
| US6738843B2 (en) | Method and system for generating multiple self-ID packets on the 1394 bus using a standard PHY chip | |
| US6192409B1 (en) | X.25 network connection for X.25 protocol communication used in a full electronic switching system | |
| JP3982779B2 (en) | Node recognition method | |
| CN1211880A (en) | Routing system for call processing signals in local switching systems | |
| JP3072933B2 (en) | Bridge device and network construction method | |
| EP0863647B1 (en) | Data format used in data communication system | |
| JPH0438031A (en) | Local area network | |
| JP2003289315A (en) | Packet transfer device and packet transfer method | |
| KR100515026B1 (en) | Ethernet lan switching apparatus with multicasting function | |
| JPH09186715A (en) | Network frame repeater | |
| JP2002111698A (en) | Data transfer device, network system and data transfer method | |
| JPH0728308B2 (en) | Communication network interconnection device | |
| JPH0787121A (en) | Bridge type network connection device | |
| JPH0832612A (en) | Ethernet switch | |
| JP3655623B2 (en) | Router device, data communication network system, and data transfer method | |
| JPS62216449A (en) | Routing system | |
| JP2002290492A (en) | Communication controller |