JPH03253148A - Selective system for communication channel - Google Patents

Selective system for communication channel

Info

Publication number
JPH03253148A
JPH03253148A JP2049202A JP4920290A JPH03253148A JP H03253148 A JPH03253148 A JP H03253148A JP 2049202 A JP2049202 A JP 2049202A JP 4920290 A JP4920290 A JP 4920290A JP H03253148 A JPH03253148 A JP H03253148A
Authority
JP
Japan
Prior art keywords
gateway device
communication
local area
end system
address
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
JP2049202A
Other languages
Japanese (ja)
Inventor
Saburo Hanaki
花木 三良
Junzo Okunaka
奥中 淳三
Futoshi Sugita
杉田 太志
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.)
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Original Assignee
Nippon Telegraph and Telephone Corp
Oki Electric Industry 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 Telegraph and Telephone Corp, Oki Electric Industry Co Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2049202A priority Critical patent/JPH03253148A/en
Publication of JPH03253148A publication Critical patent/JPH03253148A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To make it possible to allocate the same communication channel to the end systems of both local area network LANs in both transmission and reception by providing a gateway device with a corresponding table for a hush computing element, its computed result and its corresponding communication channel. CONSTITUTION:A processing part PU#1 in a gateway device GW#1 and a processing part PU#2 of a gateway device GW#2 judge the gateway device to be communication at every communication frame received from the end system ES of the local area network(LAN), and at th time of determining a communication channel LN to be used, extract a sending network address and a destination network address from the communication frame and execute hush operation based upon a loop back method. Then the communication channel is selected from the corresponding table corresponding to the communication channels to be allocated in accordance with the range of the hush operation result. Consequently, the same communication channel can be allocated by the same corresponding table corresponding to the communication channels in any side of both gateway devices.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ネットワークにおける通信回線の選択方式に
関するものであり、更に詳しくは、複数のエンドシステ
ムを収容する第1のローカルエリア網と、複数のエンド
システムを収容する第2のローカルエリア網と、複数の
通信回線を含む公衆網と、前記第1のローカルエリア網
と前記公衆網との間を接続する第1のゲートウェイ装置
と、前記第2のローカルエリア網と前記公5に網との間
を接続する第2のゲートウェイ装置と、から成るネット
ワークシステムにおいて、第1のローカルエリア網に収
容された成る第1のエンドシステムから、第2のローカ
ルエリア網に収容された成る第2のエンドシステムへ、
該第1のエンドシステムのアドレスを送出元アドレスと
して、該第2のエンドシステムのアドレスを宛先アドレ
スとして、共に付与したフレーム槽底でデータを送信す
るとき、該フレームを第1のエンドシステムから受け取
った第1のゲートウェイ装置で、前記公衆網における複
数の回線の中からどの回線を使用回線として選択するか
の通信回線選択方式に関するものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a communication line selection method in a network, and more specifically, a first local area network that accommodates a plurality of end systems; a second local area network accommodating an end system, a public network including a plurality of communication lines, a first gateway device connecting between the first local area network and the public network, and a first gateway device connecting the first local area network and the public network; A network system comprising: a second gateway device connecting between a local area network No. 2 and the public network; to a second end system comprised of a local area network of
When transmitting data with the frame bottom assigned with the address of the first end system as the source address and the address of the second end system as the destination address, the frame is received from the first end system. The present invention relates to a communication line selection method for selecting which line to use from among a plurality of lines in the public network in the first gateway device.

〔従来の技術〕[Conventional technology]

第1図は、本発明の一実施例を示すブロック図であるが
、本発明の実施対象とするネットワークの説明にも役立
つ図であるので、先ず第1図を参照して本発明の実施対
象とするネットワークを説明する。
FIG. 1 is a block diagram showing one embodiment of the present invention, and since it is also useful for explaining a network to which the present invention is implemented, let us first refer to FIG. Describe the network.

第1図において、ESはエンドシステム、AUはアクセ
スユニット、LANはローカルエリア網、GWはゲート
ウェイ装置、WANは広域WM(公衆網)、である、ゲ
ートウェイ装置GWは、処理部PUと複数の回線制御部
CUから戒っている。公衆網WANは、複数の通信回線
LNから戒っている。
In FIG. 1, ES is an end system, AU is an access unit, LAN is a local area network, GW is a gateway device, and WAN is a wide area WM (public network).The gateway device GW is connected to a processing unit PU and multiple lines. The control unit CU is admonishing this. The public network WAN is protected from multiple communication lines LN.

ローカルエリア網LANと広域網(公衆網)WANでは
、そこにおける通信方式や通信速度なども異なるため、
変換を行うなどして両者間の整合を図る目的でゲートウ
ェイ装置GWが両者間に接続されている。
Local area network LAN and wide area network (public network) WAN have different communication methods and communication speeds, so
A gateway device GW is connected between the two for the purpose of achieving consistency between the two by performing conversion or the like.

今、ローカルエリアII!MLAN#1にアクセスユニ
ットAU#11を介して収容されたエンドシステムES
#11が、他のローカルエリア網LAN#2にアクセス
ユニットAU#21を介して収容されたエンドシステム
ES#21にデータを送信する場合には、エンドシステ
ムES#11のアドレスを送出元アドレス(それのフレ
ームにおける書き込みフィールドをSAと表わす)とし
、エンドシステムES#21のアドレスを宛先アドレス
(それの書き込みフィールドをDAと表わす)として、
両アドレスを付与したフレームを構威し、このフレーム
によってデータ通信を行う。
Now Local Area II! End system ES accommodated in MLAN#1 via access unit AU#11
When #11 transmits data to end system ES#21 accommodated in another local area network LAN#2 via access unit AU#21, the address of end system ES#11 is changed to the source address ( The write field in its frame is denoted as SA), and the address of end system ES#21 is the destination address (its write field is denoted as DA).
It constructs a frame with both addresses assigned, and performs data communication using this frame.

このフレームのフォーマットを第1A図に示したので参
照されたい。
Please refer to the format of this frame as shown in FIG. 1A.

エンドシステムES#11が、このようにして発行した
フレームは、ローカルエリア網LAN#1、アクセスユ
ニットAU#12を介してゲートウェイ装置GW#1に
至り、ここで複数の通信回線LN#1〜#にの中から1
本が選択され、以下間lのルートを通ってフレームは目
的のエンドシステムES#21へ送られるわけである。
The frame issued by the end system ES#11 in this manner reaches the gateway device GW#1 via the local area network LAN#1 and the access unit AU#12, where it is connected to multiple communication lines LN#1 to LN#1. 1 from inside
The book is selected, and the frame is sent to the destination end system ES#21 via the following route.

所でローカルエリア網LAN間の通信フレーム数が増大
するとき、ゲートウェイ装置GWとGWとの間に使用す
る公衆XWANの通信回線を複数にして、通信フレーム
数の増大に対処する必要があることは第1図にも見られ
る通りである。ゲートウェイ装置CWでは、通信回線毎
に該通信回線を収容する回線制御部CUが異なり、かつ
、ゲートウェイ装置GW間で中継される通信フレームの
プロトコル処理も該通信回線を収容する回線制御部CU
で各々行われる。即ち、通信回線毎にプロトコル処理も
行われる。
However, when the number of communication frames between local area networks LAN increases, it is necessary to use multiple public XWAN communication lines between gateway devices GW to cope with the increase in the number of communication frames. As can be seen in Figure 1. In the gateway device CW, the line control unit CU that accommodates the communication line is different for each communication line, and the protocol processing of communication frames relayed between the gateway devices GW is also performed by the line control unit CU that accommodates the communication line.
Each will be carried out separately. That is, protocol processing is also performed for each communication line.

従って、双方のローカルエリア41iiLANにそれぞ
れ収容される特定のエンドシステムES間での通信フレ
ーム中継処理において、ゲートウェイ装置GWより選択
される通信回線が、通信フレームの上り/下りの双方向
で同一通信回線でない場合には、同一エンドシステムE
S間の通信であっても、ケートウェイ装fGW内のプロ
トコル処理が上りと下りでは別々となるために、通信フ
レームの順序が逆転したり、あるいは、中継ゲートウェ
イ装置GWのプロトコルエラー処理で応答の返送が別通
信回線になったりして、正常な通信は保証できないこと
になっている。
Therefore, in communication frame relay processing between specific end systems ES accommodated in both local areas 41iiLANs, the communication line selected by the gateway device GW is the same communication line for both upstream and downstream communication frames. If not, the same end system E
Even in communication between S, the protocol processing within the gateway equipment fGW is different for uplink and downlink, so the order of communication frames may be reversed, or the response may be incorrect due to protocol error processing in the relay gateway equipment GW. Normal communication cannot be guaranteed as the return may be sent via a different communication line.

また従来、各ゲートウェイ装置GWで複数の通信回線L
Nの中の一つを選択する際、通信フレーム中の送信元ネ
ットワークアドレスと宛先ネットワークアドレスの組合
せと使用通信回線の対応−覧表を予め用意して、通信フ
レーム毎に通信回線を選択する方法が知られているが、
この方法では、相互に通信するエンドシステムESO数
が多くなると、それに応じて対応−覧表の内容が膨大な
量となり、これを処理するために必要なメモリ量が多く
なるだけでなく、通信フレーム毎に、使用通信回線を検
索するのに要する処理時間も多くなり、処理効率が良く
なかった。
Furthermore, conventionally, each gateway device GW has multiple communication lines L.
When selecting one of N, a method of preparing in advance a list of the correspondence between the combination of the source network address and destination network address in the communication frame and the communication line used, and selecting the communication line for each communication frame. is known, but
In this method, as the number of end systems ESOs communicating with each other increases, the content of the correspondence table becomes enormous, which not only increases the amount of memory required to process it, but also increases the amount of communication frame Each time, the processing time required to search for the communication line to be used increased, resulting in poor processing efficiency.

また、いずれか一方のローカルエリア網LANに収容さ
れるエンドシステムESの送出元ネットワークアドレス
により該ゲートウェイ装置GWで使用する通信回線を選
択する方法では、前記の対応−覧表は不要になるが、2
つのゲートウェイ装置cw間の接続のみにしか適用でき
ず、3つ以上のゲートウェイ装置GW間の交換やゲート
ウェイ装置GWのタンデム接続になった場合は、宛先ネ
ットワークアドレスで管理できず、通信方向が異なると
、同一の通信回線を選択、決定することができなかった
。ゲートウェイ装置GW間の交換やタンデム接続は、相
互接続範囲を拡大したり、信頼性を向上するために、3
つ以上のゲートウェイ装WGWを接続する場合に通用さ
れる。
Furthermore, in the method of selecting the communication line to be used by the gateway device GW based on the source network address of the end system ES accommodated in one of the local area network LANs, the above-mentioned correspondence list is not necessary. 2
It can only be applied to connections between two gateway devices CW, and in the case of an exchange between three or more gateway devices GW or a tandem connection of gateway devices GW, it cannot be managed by the destination network address, and if the communication direction is different. , it was not possible to select and determine the same communication line. Exchange and tandem connections between gateway devices GW are performed in three ways to expand the interconnection range and improve reliability.
It is commonly used when connecting two or more gateway devices WGW.

さらに、通信フレーム中の発出元および宛先の両ネット
ワークアドレスを論理演算して通信回線を選択する方法
では、選択される通信回線の分布がネットワークアドレ
スの付与方法に依存し、アドレスを構成する各桁の値に
かたよりがあると、選択される通信回線の分布が一様で
なくなり、ゲートウェイ装置GWで中継する通信フレー
ムの負荷を、各通信回線に分散させることが困難であっ
た。
Furthermore, in the method of selecting a communication line by performing a logical operation on both the source and destination network addresses in a communication frame, the distribution of selected communication lines depends on the method of assigning the network address, and each digit making up the address If the value of is uneven, the distribution of selected communication lines becomes uneven, and it is difficult to distribute the load of communication frames relayed by the gateway device GW to each communication line.

なお、従来の通信回線の選択方法については、例えば、
“LAN・広域網接続における中継ルーチング処理方式
の検討、村上秀美、花木三良、宮沢孝記(NTTii気
通信研究所)、情報処理学会第37回(昭和63年後期
)全国大会論文誌、第493頁”に論じられている。
Regarding the conventional communication line selection method, for example,
“Study of Relay Routing Processing Method for LAN/Wide Area Network Connections,” Hidemi Murakami, Sanyoshi Hanaki, and Takanori Miyazawa (NTTii Telecommunications Research Institute), Journal of the 37th National Conference of the Information Processing Society of Japan (late 1986), Vol. Discussed on page 493.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

本発明では、通信回線選択方式において、上記従来技術
における問題点を克服すること、すなわち双方のローカ
ルエリア網LANにそれぞれ収容された特定の同じエン
ドシステムES間では、通信フレームの上り、下り何れ
の場合でも同一の通信回線が選択され、しかも相互に通
信するエンドシステムESの数が増えても、所要の対応
−覧表の内容が膨大になることなく、従って通信回線選
択の処理効率の低下を招くことなく、3つ以上のゲート
ウェイ装置GW間の交換やゲートウェイ装置GWのタン
デム接続にも対応でき、その上、複数通信回線中の通信
回線選択時の分布が一様になるようにすること、を解決
すべき課題とする。
The present invention aims to overcome the above-mentioned problems in the prior art in the communication line selection method. In other words, between the same specific end systems ES accommodated in both local area networks LAN, either uplink or downlink communication frames are Even if the same communication line is selected and the number of end systems ES that communicate with each other increases, the contents of the necessary response list will not become huge, and therefore the processing efficiency of communication line selection will decrease. To be able to support exchange between three or more gateway devices GW and tandem connection of gateway devices GW without inviting, and to make the distribution uniform when selecting a communication line among a plurality of communication lines. is the issue to be solved.

従って本発明の目的は、かかる課題を解決した優れた通
信回線の選択方式を提供することにある。
Therefore, an object of the present invention is to provide an excellent communication line selection method that solves the above problems.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的達成のため、本発明では、複数のエンドシステ
ムを収容する第1のローカルエリア網と、複数のエンド
システムを収容する第2のローカルエリア網と、複数の
通信回線を含む公衆網と、前記第1のローカルエリア網
と前記公衆網との間を接続する第1のゲートウェイ装置
と、前記第2のローカルエリア網と前記公衆網との間を
接続する第2のゲートウェイ装置と、から成るネットワ
ークシステムにおいて、前記ゲートウェイ装置には、ハ
ツシュ演算器と、該演算結果とそれに対応する通信回線
との対応テーブルを備えた。
To achieve the above object, the present invention provides a first local area network accommodating a plurality of end systems, a second local area network accommodating a plurality of end systems, a public network including a plurality of communication lines, comprising: a first gateway device that connects the first local area network and the public network; and a second gateway device that connects the second local area network and the public network. In the network system, the gateway device includes a hash calculator and a correspondence table between the calculation results and the corresponding communication lines.

〔作用〕[Effect]

本発明では、ローカルエリアw4LAN内のエンドシス
テムESからの通信フレームを、該ローカルエリアvj
4LANを収容するゲートウェイ装置GWが他ゲートウ
ェイ装置GWへ送出するために通信回線を選択するに当
たって、前記通信フレーム中から送出元および宛先の両
ネットワークアドレスを取り出し、両ネットワークアド
レス値を使ってハツシュ演算器で演算し、その結果を基
に、得られたハツシュ値(演算結果)と通信回線の対応
テーブルから使用する通信回線を選択するようにする。
In the present invention, communication frames from the end system ES in the local area w4LAN are transferred to the local area vj
When a gateway device GW accommodating 4LANs selects a communication line for sending to another gateway device GW, it extracts both the sending source and destination network addresses from the communication frame, and uses both network address values to calculate a hash calculation unit. Based on the result, the communication line to be used is selected from the correspondence table between the obtained hash value (calculation result) and the communication line.

ハツシュ演算では、長い桁数のネットワークアドレスを
計算処理に適した短い桁数に区切って演算処理を繰り返
すこと、ネットワークアドレスの全桁を一様に演算処理
すること、等の理由により、処理時間が早く、ハツシュ
演算した値が均一化するという利点がある。
In hash calculations, the processing time is longer due to reasons such as dividing a long digit network address into shorter digits suitable for calculation processing and repeating the calculation process, and processing all digits of the network address uniformly. This has the advantage that the hash-calculated values are uniformized quickly.

この発明の結果、双方のゲートウェイ装置GWで同一の
ネットワークアドレス(送出元と宛先が入れ替わるだけ
の同じアドレス)を用いてハツシュ演算をすれば、同一
のハツシュ演算結果になり、同一の通信回線が選択され
る。すなわち、ノ\、ンシュ演算という演算処理のみで
通信回線を選択することができ、従来要したネットワー
クアドレスと通信回線の対応−覧表は不要になる。
As a result of this invention, if both gateway devices GW perform a hash calculation using the same network address (the same address where the source and destination are simply swapped), the same hash calculation result will be obtained and the same communication line will be selected. be done. That is, it is possible to select a communication line using only the arithmetic processing of ``no\'' and ``sh'' operations, and there is no need for a list of correspondences between network addresses and communication lines, which was required in the past.

また、通信フレーム中の送出元および宛先の両ネットワ
ークアドレスを用いて演算処理を行うので、ゲートウェ
イ装置GW間の通信回線の接続形態に依存しないばかり
でなく、さらに、ローカルエリア網LAN間の接続形態
でゲートウェイ装置GWを二重化し、かつ双方で4つの
ゲートウェイ装WGW間をクロス接続したときも同一方
向の複数通信回線から特定の一つの通信回線を選択する
ことが容易になる。
In addition, since arithmetic processing is performed using both the source and destination network addresses in the communication frame, it does not depend on the connection form of the communication line between the gateway devices GW, but also the connection form between the local area network LAN. Even when the gateway device GW is duplicated and the four gateway devices WGW are cross-connected on both sides, it becomes easy to select one specific communication line from a plurality of communication lines in the same direction.

さらに、ハツシュ演算として折り返し法(ネットワーク
アドレスの各構成桁同士を排他的論理和をとったりする
方法)等を用いれば、通信回線の選択にネットワークア
ドレスの各桁の値が等しく影響し、通信回線の選択の分
布は一様になる。
Furthermore, if a folding method (exclusive OR of each component digit of the network address) is used as a hash operation, the value of each digit of the network address will have an equal influence on the selection of the communication line. The distribution of choices becomes uniform.

なお、ハツシュ演算については、例えば、 ハツシング
の技法と応用、西原清−(筑波大学、電子・情報工学系
)、情報処理、Vol、21、Nα9.1980、第9
80頁〜第991頁”に論しられている。
Regarding hashing operations, for example, Hashing Techniques and Applications, Kiyoshi Nishihara (University of Tsukuba, Department of Electronics and Information Engineering), Information Processing, Vol. 21, Nα9.1980, No. 9
80-991''.

〔実施例〕〔Example〕

第1図は、すでに述べたように本発明の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram illustrating one embodiment of the present invention, as described above.

同図において、ローカルエリア1i1LAN#1内に収
容されたエンドシステムES#11は、他のローカルエ
リア網LAN#2のエンドシステムES#21と通信す
る場合、第1A図に見られる如き、通信フレームFRの
送出元ネットワークアドレスフィールドSA及び宛先ネ
ットワークアドレスフィールドDAに、各々、自エンド
システムES#11のネットワークアドレスNA#11
及び相手エンドシステムES#21のネットワークアド
レスNA#21を設定し、ローカルエリア網LAN#1
の伝送路上へ送出する。
In the same figure, when an end system ES#11 accommodated in a local area 1i1 LAN#1 communicates with an end system ES#21 in another local area network LAN#2, a communication frame as shown in FIG. 1A is used. The network address NA#11 of the own end system ES#11 is set in the source network address field SA and destination network address field DA of the FR, respectively.
and set the network address NA#21 of the other end system ES#21, and set the local area network LAN#1.
transmission path.

エンドシステムESは、また、到達した通信フレームF
Rの宛先ネットワークアドレスフィールドDAの値が自
ネットワークアドレスNAと一致することを判断して該
通信フレームFRの引き取りを行う。アクセスユニット
AUは、エンドシステムESをローカルエリアW!4L
ANに収容する処fl (AU#1 l他) 、複数の
アクセスユニットAU (AU#11−AU#1 n、
AU#21〜AU#2m)でローカルエリア網LANを
構成する処理、および、ゲートウェイ装置GWをローカ
ルエリア網LANに収容し、ローカルエリアlLAN内
外間通信の通信フレームFRのLAN対応の処理(AU
#14、AU#22)を担う。
The end system ES also recognizes the arrived communication frame F
It is determined that the value of the destination network address field DA of R matches the own network address NA, and the communication frame FR is received. The access unit AU connects the end system ES to the local area W! 4L
A unit accommodated in the AN fl (AU#1 l, etc.), a plurality of access units AU (AU#11-AU#1 n,
processing for configuring a local area network LAN with AU#21 to AU#2m), accommodating the gateway device GW in the local area network LAN, and processing for LAN support of the communication frame FR for communication between the inside and outside of the local area LAN (AU
#14, AU #22).

ゲートウェイ装置GW#1において、回線制御部CU#
11は、公衆網WAN (専用線、交換通信回wAw4
、など)とゲートウェイ装置iGW#1を接続する処理
、及びその先に接続されたゲートウェイ装置GW#2と
の通信のためのプロトコル処理を担う。処理部PU#1
は、アクセスユニットAU#12とゲートウェイ装?&
GW#1を接続する処理、及び、ローカルエリア網LA
N内のエンドシステムES (ES#11〜ES#1 
n)から受信した通信フレームPRを他ゲートウェイ装
置GW#2に中継するために使用する通信回線LNを収
容する回線制御部CUを選択するためのハツシュ演算器
による演算処理を担う。
In gateway device GW#1, line control unit CU#
11 is public network WAN (leased line, switched communication line wAw4
, etc.) and the gateway device iGW#1, and protocol processing for communication with the gateway device GW#2 connected beyond that. Processing unit PU#1
Is it the access unit AU#12 and the gateway device? &
Processing to connect GW#1 and local area network LA
End system ES in N (ES#11 to ES#1
It is responsible for calculation processing by a hash calculation unit for selecting a line control unit CU accommodating a communication line LN used to relay the communication frame PR received from n) to another gateway device GW#2.

ゲートウェイ装置GWでは、通信レイヤlのローカルエ
リア網LAN内のプロトコル処理等の通信関係処理をア
クセスユニットAUに任せ、通信レイヤの2以上の通信
フレームFRの情報の処理を行う。ゲートウェイ装置G
W#2もゲートウェイ装置GW#1と同等の構成をもち
同等の機能を果たす。
The gateway device GW entrusts communication-related processing such as protocol processing within the local area network LAN of the communication layer I to the access unit AU, and processes information of two or more communication frames FR of the communication layer. Gateway device G
W#2 also has the same configuration as gateway device GW#1 and performs the same functions.

第1図のシステム構成において、公衆網WANの通信回
線LN(専用線の場合は物理回線、パケット回線の場合
は論理チャネルも含む)が複数本(LN#1〜LN#k
)であれば、双方のローカルエリアmLAN内エンドシ
ステム(ESl#11とES#21)に対応して同じ通
信回線LN#1が使用されるようにする。
In the system configuration shown in Figure 1, there are multiple communication lines LN (including physical lines in the case of a leased line and logical channels in the case of a packet line) of the public network WAN (LN#1 to LN#k).
), the same communication line LN#1 is used for both local area mLAN end systems (ES1#11 and ES#21).

その理由は、すでに述べたように、双方のローカルエリ
ア網LANのエンドシステムES (ES#11とES
#21)間の通信で使用するゲートウェイ装置GWの通
信回線LN#1が、同しエンドシステムES間でありな
がら、通信フレームFR毎や通信方向で異なると、回線
制御部CUや通信回線LNの使用状況に依存して通信フ
レームFR毎に通信遅延時間が異なり、通信性能を落と
してしまうことがあるからである。また、回線制御部C
Uのプロトコル処理においても、受信通信フレームFR
に対してプロトコルエラーの返送を行う場合、別の回線
制御部CUや別の通信回線LNを介して行うことになる
ので、通信フレームFRの順序管理ができなくなり、正
しい通信が行えなくなるからである。
The reason for this is, as already mentioned, that the end systems ES (ES #11 and ES #11 and ES
#21) If the communication line LN#1 of the gateway device GW used for communication between the same end systems ES differs for each communication frame FR or communication direction, the line control unit CU and the communication line LN This is because the communication delay time differs for each communication frame FR depending on the usage situation, which may reduce communication performance. In addition, line control unit C
In U protocol processing, the received communication frame FR
This is because if a protocol error is to be returned to , it will be done via another line control unit CU or another communication line LN, which will make it impossible to manage the order of communication frames FR and prevent correct communication. .

つまり第1図において、ゲートウェイ装置GW#1の処
理部PU#1では、ハツシュ演算器(図示せず)と、該
演算により得られるハツシュ演算結果と通信回線(LN
#1−LN#k)との予め定めた対応テーブルと、を備
え、第1A図に見られる如きフォーマットのフレームF
RをエンドシステムES#11から、アクセスユニット
AU#11、ローカルエリア網LAN#1、アクセスユ
ニットAU#12を介して受け取ると、該フレームFR
中のDA、SAフィールドから宛先ネットワークのアド
レスと送出元ネットワークのアドレスを取り出し、これ
によりハツシュ演算器でハツシュ演算を行い、得られた
ハツシュ演算結果から前記対応テーブルを参照して使用
回線を、通信回線(LN#1〜LN#k)の中から選択
して決定する。
In other words, in FIG. 1, the processing unit PU#1 of the gateway device GW#1 includes a hash calculation unit (not shown), a hash calculation result obtained by the calculation, and a communication line (LN
#1-LN#k), and a frame F having a format as shown in FIG. 1A.
When R is received from the end system ES#11 via access unit AU#11, local area network LAN#1, and access unit AU#12, the frame FR
The address of the destination network and the address of the sending network are extracted from the DA and SA fields in the DA and SA fields, a hash calculation is performed using the hash calculation unit, and the communication line is determined by referring to the correspondence table from the obtained hash calculation result. Select and determine from among the lines (LN#1 to LN#k).

ゲートウェイ装置GW#2の処理部PU#2でも、同様
にハツシュ演算器と、該演算により得られるハツシュ演
算結果と通信回線(LN#1〜LN#k)との予め定め
た対応テーブルと、を備えておき、フレームFRをエン
ドシステムES#21から、アクセスユニットAU#2
1、ローカルエリア1qLAN#2、アクセスユニット
AU#22を介して受け取ると、該フレームPR中のD
A。
Similarly, the processing unit PU#2 of the gateway device GW#2 has a hash computing unit and a predetermined correspondence table between the hash computing results obtained by the computing and the communication lines (LN#1 to LN#k). In advance, frame FR is transferred from end system ES#21 to access unit AU#2.
1. When received via local area 1qLAN#2, access unit AU#22, D in the frame PR
A.

SAフィールドから宛先ネットワークのアドレスと送出
元ネットワークのアドレスを取り出し、これによりハツ
シュ演算器でハツシュ演算を行い、得られたハフシュ演
算結果から対応テーブルを参照して使用回線を、通信回
線(LN#L〜LN#k)の中から選択して決定する。
The address of the destination network and the address of the sending network are taken out from the SA field, and a hashish calculation unit performs a hashish calculation based on these. From the obtained hashish calculation result, refer to the correspondence table to determine the line to be used, and the communication line (LN#L). ~LN#k).

従って、どちらのゲートウェイ装置GWで演算しても、
同しエンドシステムES間で転送されるフレームPRで
あれば、同一の通信回線が選択されることになる。
Therefore, no matter which gateway device GW performs the calculation,
If the frame PR is transferred between the same end systems ES, the same communication line will be selected.

第2図(イ)は、ネットワークアドレスとハツシュ演算
結果の説明図である。
FIG. 2(a) is an explanatory diagram of network addresses and hash calculation results.

同図において、エンドシステムES#11は、0ばかり
並んだ3バイトのアドレスを割り当てられており、この
アドレスは、当該エンドシステムES#11が送出元に
なったとき、フレームPRの送出元ネットワークアドレ
スフィールドSAに書き込まれ、宛先になったとき、フ
レームFRの宛先ネットワークアドレスフィールドDA
に書き込まれるアドレスである。他のエンドシステムE
Sについても、それぞれ3バイトのアドレスが割り当て
られており、全く同様にしてフレームPRのアドレスフ
ィールドDA、SAに書き込まれる。
In the same figure, the end system ES#11 is assigned a 3-byte address lined with zeros, and this address is the sending source network address of the frame PR when the end system ES#11 becomes the sending source. Destination network address field DA of frame FR when written to field SA and destination
This is the address written to. Other end systems E
A 3-byte address is also assigned to each S, and these are written in the address fields DA and SA of the frame PR in exactly the same way.

第2図(イ)の図で、一番上のアドレスの記入されてい
る欄を参照する。すると、ここにはエンドシステムES
#11のアドレス(3バイト、2進)と、エンドシステ
ムES#21のアドレス(3バイト、2進)と、両アド
レスを用いてハツシュ演算を行ったときに得られる演算
結果(1バイト、2進)が示されている。
Refer to the column in which the address is written at the top of the diagram in FIG. 2 (a). Then, here is the end system ES
The address of #11 (3 bytes, binary), the address of end system ES #21 (3 bytes, binary), and the operation result obtained when a hash operation is performed using both addresses (1 byte, 2 (advanced) is shown.

同様に、一番下のアドレスの記入されている欄を参照す
れば、ここにはエンドシステムES#1nのアドレス(
3バイト、2進)と、エンドシステムES#2mのアド
レス(3バイト、2進)と、両アドレスを用いてハツシ
ュ演算を行ったときに得られる演算結果(1バイト、2
進)が示されている。
Similarly, if you refer to the column where the address is written at the bottom, the address of the end system ES#1n (
3 bytes, binary), the address of end system ES#2m (3 bytes, binary), and the operation result obtained when performing a hash operation using both addresses (1 byte, 2
(advanced) is shown.

第2図(ロ)は、ハツシュ演算結果と通信回線の対応テ
ーブルの例を示した説明図である。
FIG. 2(b) is an explanatory diagram showing an example of a correspondence table between hash calculation results and communication lines.

ハツシュ演算結果を2進数から10進数に変換したとき
、その値が0〜60であれば、通信回線LN#1を割り
当て、61〜100であれば、通信回線LN#2を割り
当て、以下、同様にして、220〜255であれば、通
信回線LN#kを割り当てることを、第2図(ロ)のテ
ーブルは示している。
When converting the hash operation result from binary to decimal, if the value is 0 to 60, communication line LN#1 is assigned, if it is 61 to 100, communication line LN#2 is assigned, and so on. The table in FIG. 2 (b) shows that if the number is 220 to 255, the communication line LN#k is allocated.

第2図(イ)に戻り、一番右側の「通信回線(10進)
」の欄は、ハツシュ演算結果がら第2図(ロ)のテーブ
ルを参照して求められた通信回線を示している。
Returning to Figure 2 (a), the rightmost line “Communication line (decimal)”
'' column indicates the communication line determined by referring to the table in FIG. 2(b) based on the hash calculation results.

なお説明を付加すると、第1図において、ゲートウェイ
装置GW#1の処理部PU#1、ゲートウェイ装?&G
W#2の処理部PU#2は、ローカルエリア網LANの
エンドシステムESから受信する通信フレームFR毎に
、通信相手のゲートウェイ装置を判断し、また、そこで
使用する通信回線LNを決める際、通信フレームFR内
の送出元ネットワークアドレスと宛先ネットワークアド
レスとをとりだして、折り返し法によるハツシュ演算を
行う。ハツシュ演算の結果を基に、その値の範囲に対応
して割り付ける通信回線との対応テーブルにより、通信
回線を選択する。
To add an explanation, in FIG. 1, the processing unit PU#1 of the gateway device GW#1, the gateway device ? &G
The processing unit PU#2 of W#2 determines the communication partner gateway device for each communication frame FR received from the end system ES of the local area network LAN, and also determines the communication line LN to be used there. The source network address and destination network address in the frame FR are taken out and a hash calculation is performed using the folding method. Based on the result of the hash calculation, a communication line is selected based on a correspondence table with communication lines to be allocated according to the value range.

折り返し法によるハツシュ演算は、アドレスの権威桁列
に8ビツトずつに折り目をっけ、それによって仕切られ
た各部分桁列(8ビツト)同士を排他的論理和をとる演
算であり、複数レジスタ間のシフト、加算等で使用のメ
モリ量も増すことがなく簡単に、通信回線の総数に依存
しない均一の時間で、処理することができる。
The hash operation using the folding method is an operation in which the authoritative digit string of an address is folded into 8-bit units, and each partial digit string (8 bits) separated by the crease is exclusive-ORed. The amount of memory used does not increase due to shifts, additions, etc., and processing can be easily performed in a uniform time independent of the total number of communication lines.

このハツシュ演算の結果は、送出元ネットワークアドレ
スと宛先ネットワークアドレスの対応関係が逆になって
も、つまり、相手側のゲートウェイ装置でも同じである
。このため、双方のゲートウェイ装置GW#1、GW#
2の何れ側でも、同じ情報(ハツシュ演算結果)を基に
して、通信回線との同じ対応テーブルにより、同一通信
回線を割り付けることができる。
The result of this hash calculation is the same even if the correspondence between the source network address and the destination network address is reversed, that is, the gateway device on the other side. Therefore, both gateway devices GW#1 and GW#
The same communication line can be allocated on either side of 2 using the same communication line correspondence table based on the same information (hash calculation result).

なお本実施例では、折り返し法の処理によって割り付け
を行っているが、基底変換法あるいは平方採中法等によ
る処理であってもよい。
Note that in this embodiment, the allocation is performed by processing the folding method, but the processing may be performed by the base conversion method, the square-taking method, or the like.

第3図は本発明の他の実施例を示すブロック図である。FIG. 3 is a block diagram showing another embodiment of the present invention.

本実施例は、ローカルエリア網LAN間の接続形態とし
て、ゲートウェイ装置GWを2重化し、よって双方で4
つのゲートウェイ装置GWとなり、その間をクロス接続
する構成の実施例を示したものである。
In this embodiment, the gateway device GW is duplicated as a connection form between local area networks LAN, and therefore both sides have 4
This figure shows an example of a configuration in which there are two gateway devices GW and a cross connection is made between them.

同図において、ローカルエリア!1iLAN#Iは、ゲ
ートウェイ装置GW#11とゲートウェイ装置GW#1
2の2つゲートウェイ装置Gwを収容し、ローカルエリ
ア網LAN#2は、ゲートウェイ装置GW#21とゲー
トウェイ装置GW#22の2つのゲートウェイ装置GW
を収容する。ローカルエIfア411iLAN#1内の
エンドシステムESとローカルエリア網LAN#2内の
エンドシステムESとが通信を行う際には、ゲートウェ
イ装置GW#工1とゲートウェイ装置GW#21の組合
せ、ゲートウェイ装置GW#11とゲートウェイ装置G
W#22の組合せ、ゲートウェイ装置GW#12とゲー
トウェイ装置GW#21の組合せ、ゲートウェイ装[G
W#12とゲートウェイ装2cw#22の組合せ、の4
つの組合せがありうる。
In the same figure, local area! 1iLAN#I is a gateway device GW#11 and a gateway device GW#1.
Local area network LAN #2 accommodates two gateway devices Gw, gateway device GW #21 and gateway device GW #22.
to accommodate. When the end system ES in the local area network LAN #1 and the end system ES in the local area network LAN #2 communicate, the combination of the gateway device GW #1 and the gateway device GW #21, the gateway device GW #11 and gateway device G
Combination of W#22, combination of gateway device GW#12 and gateway device GW#21, gateway device [G
Combination of W#12 and gateway device 2cw#22, 4
There are two possible combinations.

一方のローカルエリア網LANに収容されるエンドシス
テムESの送出元ネットワークアドレスだけにより当該
ゲートウェイ装置Gwで使用する通信回線を選択する従
来の方法では、1つの通信回線を選択することができな
い。また、宛先ネットワークアドレスで管理できないた
め、通信方向が異なると同一の通信回線に決めることが
できない。
In the conventional method of selecting a communication line to be used by the gateway device Gw based only on the source network address of the end system ES accommodated in one local area network LAN, it is not possible to select one communication line. Furthermore, since the destination network address cannot be used for management, it is not possible to use the same communication line if the communication direction is different.

そこで、本発明では、すでに何度も述べたように、通信
フレーム中の送出元および宛先の両ネットワークアドレ
スを用いて選択処理を行うようにしているわけである。
Therefore, in the present invention, as already mentioned many times, selection processing is performed using both the source and destination network addresses in the communication frame.

そうすれば、ゲートウェイ装置GW間の通信回線の接続
形態に依存しないで、ローカルエリア1iiLAN間の
接続形態としてゲートウェイ装置GWを二重化し、かつ
双方で4つのゲートウェイ装置GW間をクロス接続した
ときも、同一方向の複数通信回線から特定の一つの通信
回線を選択することが可能になる。
In this way, even when the gateway devices GW are duplicated as a connection form between local area 1iiLANs, and four gateway devices GW are cross-connected on both sides, without depending on the connection form of the communication line between the gateway devices GW, It becomes possible to select one specific communication line from a plurality of communication lines in the same direction.

ハツシュ演算器と対応テーブルを各ゲートウェイ装置G
Wに配置すること、そしてそれによる通信回線の選択の
仕方も、第1図で説明した実施例の場合と変わる所がな
い。
Each gateway device G hashash computing unit and corresponding table.
The arrangement at W and the method of selecting a communication line accordingly are also the same as in the embodiment described in FIG.

〔発明の効果] 本発明によれば、複数のローカルエリア網LAN間に接
続された各々のゲートウェイ装置GW自身が、同じハツ
シュ演算処理を行うことにより、双方のローカルエリア
網LANのエンドシステムESが送受信とも自動的に同
一の通信回線を割り当てられることになるため、通信回
線を割り付ける際、エンドシステムESに何等の制約を
加えることもなく、また、ネットワークアドレスの付与
方法にも依存しないため、エンドシステムESのアドレ
ス付与に何等の制限も加えることもなく、それでいて複
数通信回線の中から各エンドシステムES間にとって特
定の同一通信回線を効率良く、コスト低廉に選択するこ
とが可能になる。
[Effects of the Invention] According to the present invention, each gateway device GW connected between a plurality of local area networks LANs performs the same hash calculation processing, so that the end systems ES of both local area networks LANs Since the same communication line is automatically assigned for both sending and receiving, there is no need to impose any restrictions on the end system ES when allocating communication lines, and it does not depend on the method of assigning network addresses. It is possible to efficiently and inexpensively select the same specific communication line for each end system ES from among a plurality of communication lines without imposing any restrictions on addressing of the system ES.

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

の説明図、第3図は本発明の他の実施例を示すシステム
構成国、である。 符号の説明 ES・・・エンドシステム、LAN・・・ローカルエリ
ア網、AU・・・アクセスユニット、GW・・・ゲート
ウェイ装置、PU・・・処理部、CU・・・回線制御部
、LN・・・通信回線、DA・・・宛先ネットワークア
ドレスフィールド、SA・・・送出元ネットワークアド
レスフィールド
FIG. 3 is an explanatory diagram of the system configuration country showing another embodiment of the present invention. Description of symbols ES...end system, LAN...local area network, AU...access unit, GW...gateway device, PU...processing unit, CU...line control unit, LN...・Communication line, DA...destination network address field, SA...source network address field

Claims (1)

【特許請求の範囲】 1)複数のエンドシステムを収容する第1のローカルエ
リア網と、複数のエンドシステムを収容する第2のロー
カルエリア網と、複数の通信回線を含む公衆網と、前記
第1のローカルエリア網と前記公衆網との間を接続する
第1のゲートウェイ装置と、前記第2のローカルエリア
網と前記公衆網との間を接続する第2のゲートウェイ装
置と、から成るネットワークシステムにおいて、 前記ゲートウェイ装置には、ハッシュ演算器と、該演算
結果とそれに対応する通信画線との対応テーブルを備え
ておき、 前記第1のローカルエリア網に収容された或る第1のエ
ンドシステムから、前記第2のローカルエリア網に収容
された或る第2のエンドシステムへ、該第1のエンドシ
ステムのアドレスを送出元アドレスとして、該第2のエ
ンドシステムのアドレスを宛先アドレスとして、共に付
与したフレーム構成でデータを送信するとき、該フレー
ムを第1のエンドシステムから受け取った第1のゲート
ウェイ装置では、前記ハッシュ演算器を用い、前記送出
元アドレス及び宛先アドレスを入力データとしてハッシ
ュ演算を行い、その演算結果より前記対応テーブルを参
照して、前記公衆網における使用回線を決定し、 逆に前記第2のエンドシステムから、前記第1のエンド
システムへ、該第2のエンドシステムのアドレスを送出
元アドレスとして、該第1のエンドシステムのアドレス
を宛先アドレスとして、共に付与したフレーム構成でデ
ータを送信するとき、該フレームを第2のエンドシステ
ムから受け取った第2のゲートウェイ装置では、前記ハ
ッシュ演算器を用い、前記送出元アドレス及び宛先アド
レスを入力データとしてハッシュ演算を行い、その入力
データが前記第1のゲートウェイ装置で行われた演算の
場合と同じであることから、同じ演算結果を得て、該演
算結果により前記対応テーブルを参照して、公衆網にお
ける前記と同じ使用回線を選択して決定することを特徴
とする通信回線の選択方式。
[Claims] 1) a first local area network accommodating a plurality of end systems, a second local area network accommodating a plurality of end systems, a public network including a plurality of communication lines, and a first local area network accommodating a plurality of end systems, a public network including a plurality of communication lines, A network system comprising: a first gateway device that connects between the first local area network and the public network; and a second gateway device that connects between the second local area network and the public network. In this, the gateway device is equipped with a hash calculation unit and a correspondence table between the calculation result and the corresponding communication line, and the gateway device is provided with a hash calculation unit and a correspondence table between the calculation result and the corresponding communication line, and the first end system accommodated in the first local area network , to a certain second end system accommodated in the second local area network, with the address of the first end system as the source address and the address of the second end system as the destination address. When transmitting data in the assigned frame configuration, the first gateway device that receives the frame from the first end system uses the hash calculator to perform a hash operation using the source address and destination address as input data. and determines the line to be used in the public network by referring to the correspondence table based on the calculation result, and conversely transmits the address of the second end system from the second end system to the first end system. When transmitting data with the frame configuration given as the source address and the address of the first end system as the destination address, the second gateway device receiving the frame from the second end system A hash calculation unit is used to perform a hash calculation using the source address and destination address as input data, and since the input data is the same as the calculation performed by the first gateway device, the same calculation result is obtained. The communication line selection method is characterized in that the same used line in the public network is selected and determined by referring to the correspondence table based on the calculation result.
JP2049202A 1990-03-02 1990-03-02 Selective system for communication channel Pending JPH03253148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2049202A JPH03253148A (en) 1990-03-02 1990-03-02 Selective system for communication channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2049202A JPH03253148A (en) 1990-03-02 1990-03-02 Selective system for communication channel

Publications (1)

Publication Number Publication Date
JPH03253148A true JPH03253148A (en) 1991-11-12

Family

ID=12824409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2049202A Pending JPH03253148A (en) 1990-03-02 1990-03-02 Selective system for communication channel

Country Status (1)

Country Link
JP (1) JPH03253148A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012129994A (en) * 2010-12-14 2012-07-05 Internatl Business Mach Corp <Ibm> Method for compaction of binary identifier, hasher, and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012129994A (en) * 2010-12-14 2012-07-05 Internatl Business Mach Corp <Ibm> Method for compaction of binary identifier, hasher, and computer program

Similar Documents

Publication Publication Date Title
CN108293022B (en) Method, device and system for transmitting message
US7577142B2 (en) Derived VLAN mapping technique
DE69738174T2 (en) ON VIRTUAL PATHS BASED STATIC GUIDANCE STEERING
JPH06203001A (en) Electronic message communication path selection method
CN107733795B (en) Ethernet virtual private network EVPN and public network intercommunication method and device
FI963516A (en) Expandable telecommunications system
JPH06510409A (en) Control system and method for employing data models within a network environment
CN108199958A (en) A kind of general secure resources pond service chaining realization method and system
CN110213148A (en) A kind of method, system and device of data transmission
EP0880864B1 (en) A wireless atm switched local area network supporting mobility of mobile terminals
CN100399767C (en) Method for access of IP public net of virtual exchanger system
CN113660164A (en) Message forwarding method and network equipment
CN113542111A (en) Message forwarding method and network equipment
CN102025604B (en) Carrying network and data transmission method
JPH09504929A (en) Method and apparatus for transmitting data packets in a multi-site network
CN105610672A (en) Information transmission method and device
CN103986714A (en) Implementation method and device for connecting bus control network into agent of AVB network
CN113163276A (en) Method, device and system for issuing routing information
GB2243267A (en) Telecommunication
JPH03253148A (en) Selective system for communication channel
JP2976675B2 (en) Array processor routing method
CN114938318B (en) Cross-region peer-to-peer connection realization method based on elastic public network IP
JPS63224445A (en) Self-routing speech path
JP2596098B2 (en) Communication line selection method
Lai Packet mode services: from X. 25 to frame relaying