JPH0650862B2 - Data communication control method - Google Patents
Data communication control methodInfo
- Publication number
- JPH0650862B2 JPH0650862B2 JP60178506A JP17850685A JPH0650862B2 JP H0650862 B2 JPH0650862 B2 JP H0650862B2 JP 60178506 A JP60178506 A JP 60178506A JP 17850685 A JP17850685 A JP 17850685A JP H0650862 B2 JPH0650862 B2 JP H0650862B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- gateway
- node
- data
- side terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 42
- 238000004891 communication Methods 0.000 title claims description 35
- 230000005540 biological transmission Effects 0.000 claims description 44
- 230000004044 response Effects 0.000 claims description 27
- 238000012546 transfer Methods 0.000 claims description 27
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明はデータ通信制御方法に関し、例えば、それぞれ
が複数の端末を備える複数のローカルエリアネツトワー
クをゲートウエイを用いてシステム化したネツトワーク
システムにおける通信制御方法に関するものである。The present invention relates to a data communication control method, for example, in a network system in which a plurality of local area networks each having a plurality of terminals are systematized using a gateway. The present invention relates to a communication control method.
[従来の技術] 一般に、複数のローカルエリアネツトワーク(以下、LA
Nと称する)システムをネツトワーク間通信制御装置
(以下、ゲートウエイと称す)を介して互いに接続して
全体として1つのネツトワークシステムを構成し、ある
LANシステムに接続された通信制御装置(以下、ノー
ドと称す)から、他のローカルネツトワーク上のノード
にデータパケツトを送信する場合に、従来、下記の方法
が取られていた。[Prior Art] Generally, a plurality of local area networks (hereinafter referred to as LA
N) systems are connected to each other via an inter-network communication control device (hereinafter, referred to as a gateway) to constitute one network system as a whole, and a communication control device (hereinafter, referred to as a network system) connected to a certain LAN system. In order to send a data packet from a node) to a node on another local network, the following method has been conventionally used.
ノードが送信パケツトLAN上に一斉同報通信にて送
出(ブロードキヤスト)し、該システムに接続された各
ゲートウエイがこのパケツトを受信する。そして、この
パケットを受信したゲートウエイが自装置を介して他の
LANに送信すべき(中継すべき)か否かを判別し、自
装置を介して中継すべきパケットである場合には、その
まま受信したパケツトを自装置に接続された他のLAN
に送出し、目的のノードに対して送信パケツトを送信す
る方法。The node sends out (broadcast) to the transmission packet LAN by simultaneous broadcast communication, and each gateway connected to the system receives this packet. Then, the gateway that receives this packet determines whether or not it should be transmitted (relayed) to another LAN via its own device, and if it is a packet to be relayed via its own device, it is received as it is. Another LAN connected to the device
And send the send packet to the target node.
各ノードがネツトワークの全構成情報を保持してお
き、他のLANシステムのノードに対してパケツトを送
信する場合において、送信パケット中に所望の宛先ノー
ドまでの経路を含む全中継データを附加して送信し、各
ゲートウエイはこの中継データに従い、パケツトを中
継、送信していく方法。Each node holds all network configuration information, and when sending a packet to another LAN system node, adds all relay data including the route to the desired destination node in the transmission packet. Each gateway will relay and transmit the packet according to this relay data.
[発明が解決しようとする問題点] 上述の方法においては、送信パケツトの宛先アドレス
(データリンクにおける送信先アドレス)がブロードキ
ヤストアドレスであるため、送信パケツトがゲートウエ
イに正しく受信されたか否かを確認することはできず、
受信成功応答(以下、ACKまたは肯定応答と称す)や
受信不成功応答(以下、NAKまたは否定応答と称す)
等を用いての送受信確認はましてや行なうことができな
いという欠点があつた。[Problems to be Solved by the Invention] In the above method, since the destination address of the transmission packet (destination address in the data link) is a broadcast address, it is confirmed whether the transmission packet has been correctly received by the gateway. Can't
Successful reception response (hereinafter referred to as ACK or acknowledgment) or unsuccessful reception response (hereinafter referred to as NAK or negative response)
There is a drawback in that it is impossible to confirm the transmission / reception by using the above.
また、の方法においては、各ノードがネツトワーク構
成に関する情報を常に持つていなければならないため
に、各ノードは大きな記憶容量を備えた記憶部を持たな
ければならない等、各ノードに大きな負担が掛るという
欠点があつた。In the method (1), each node must always have the information on the network configuration, and therefore each node must have a storage unit with a large storage capacity, which imposes a heavy burden on each node. There was a drawback.
[問題点を解決するための手段] 本発明は上述従来技術の欠点を除去することを目的と
し、かかる問題点を解決するための一手段として、次ぎ
の構成を備える。[Means for Solving Problems] The present invention aims to eliminate the above-mentioned drawbacks of the prior art, and has the following configuration as one means for solving such problems.
すなわち、それぞれが複数の端末を備える複数のローカ
ルエリアネツトワークをゲートウエイを用いてシステム
化したネツトワークシステムにおける通信制御方法であ
つて、一つのローカルエリアネツトワークに複数の端末
装置と複数のゲートウエイとを接続し、前記端末装置の
一つである送信側端末が前記ゲートウエイを介して他の
ローカルエリアネツトワークの前記端末装置の一つであ
る受信側端末へデータを送信する際に、前記送信側端末
はデータの送信に先立つて、自装置が接続されているロ
ーカルエリアネツトワークに接続された前記複数のゲー
トウエイに対して、一斉同報通信により前記受信側端末
を指定する情報を含む転送要求パケツトを送信し、前記
転送要求パケツトを受信した前記ゲートウエイはそれぞ
れ、該転送要求パケツトの内容と自装置に保持するネツ
トワーク構成テーブルとに基づいて、該転送は自装置を
中継する必要があるか否かを判断し、前記判断の結果、
中継が必要であると判断した中継ゲートウエイは、自装
置が中継することを通知する応答パケツトを前記送信側
端末へ送信し、前記応答パケツトを受信した前記送信側
端末は、前記中継ゲートウエイおよび前記受信側端末を
宛先として、該中継ゲートウエイに対してデータパケツ
トを送信し、前記中継ゲートウエイは、前記データパケ
ツトを正常に受信したか否かを示す確認パケツトを前記
送信側端末へ送信するとともに、該データパケツトを中
継後、前記受信端末が該データパケツトを正常に受信し
たことを該送信側端末へ通知することを特徴とする。That is, a communication control method in a network system in which a plurality of local area networks each having a plurality of terminals are systematized using a gateway, wherein a plurality of terminal devices and a plurality of gateways are provided in one local area network. And a transmitting side terminal which is one of the terminal devices transmits data to a receiving side terminal which is one of the terminal devices of another local area network via the gateway, the transmitting side Prior to data transmission, the terminal sends a transfer request packet containing information designating the receiving terminal to the plurality of gateways connected to the local area network to which the terminal is connected, by broadcast communication. And the gateway that has received the transfer request packet transmits the transfer request packet. Based on the the net work structure table for holding the contents and the device itself bracts, the transfer determines whether it is necessary to relay the own device, the determination result,
The relay gateway, which has determined that relay is necessary, transmits a response packet notifying that the own device relays to the transmission side terminal, and the transmission side terminal which has received the response packet causes the relay gateway and the reception. A data packet is transmitted to the relay gateway with the side terminal as a destination, and the relay gateway transmits a confirmation packet indicating whether or not the data packet is normally received to the transmission side terminal, and also relays the data packet. After that, the receiving terminal notifies the transmitting side terminal that the data packet is normally received.
[作用] 以上の構成によれば、あるLAN上の送信側ノードは、ゲ
ートウエイを介して他のLAN上の受信側ノードへデータ
を送信する際に、データ送信に先立ち、複数のゲートウ
エイに対して一斉同報通信により転送要求パケツトを送
信して、中継が必要であると判断したゲートウエイから
の応答パケツトを受信することで、データの送信先とな
るゲートウエイを認識することができる。[Operation] According to the above configuration, when a transmitting side node on a certain LAN transmits data to a receiving side node on another LAN via the gateway, prior to the data transmission, By transmitting the transfer request packet by the broadcast communication and receiving the response packet from the gateway that determines that the relay is necessary, the gateway to which the data is transmitted can be recognized.
従つて、LAN上のノードは、ネツトワークシステム全体
の構成情報を保持する必要はなく、容易にしかも速やか
にデータを送信すべきゲートウエイを認識することが可
能になり、効率のよいデータ通信を行うことができる。Therefore, the node on the LAN does not need to hold the configuration information of the entire network system, and can easily and quickly recognize the gateway to which the data should be transmitted, and perform efficient data communication. be able to.
さらに、送信側ノードは、中継を行うゲートウエイを認
識後、該ゲートウエイを腕先としてデータを送信するの
で、該送信に対するゲートウエイからの受信成功応答ま
たは受信不成功応答を得ることができる。Further, since the transmitting side node recognizes the gateway to be relayed and transmits the data with the gateway as an arm tip, it is possible to obtain the reception success response or the reception failure response from the gateway for the transmission.
[実施例] 以下、図面を参照して本発明に係る一実施例を詳説す
る。[Embodiment] An embodiment according to the present invention will be described below in detail with reference to the drawings.
第1図は本発明にかかる一実施例の通信制御装置の構成
例を示すブロツク図で、複数のLANシステム間に接続さ
れ、該システム間の通信データを中継するものである。FIG. 1 is a block diagram showing a configuration example of a communication control apparatus according to an embodiment of the present invention, which is connected between a plurality of LAN systems and relays communication data between the systems.
伝送路1aおよび1bを介して複数のLANシステムに接続さ
れる第1に示す通信制御装置は、ネツトワーク構成情報
を保持する保持手段10と、ネツトワークシステムに接続
された通信装置との間でデータの送受信を行う送受信手
段11a,11bと、送受信手段11a,11bからの受信データに
対して受信確認応答を送出する応答送出手段12と、保持
手段10に保持された情報に従つてLANシステムに受信情
報を中継する中継手段13とを備える。The first communication control device connected to a plurality of LAN systems via the transmission lines 1a and 1b includes a holding means 10 for holding network configuration information and a communication device connected to the network system. According to the information held in the holding means 10, the transmitting / receiving means 11a, 11b for transmitting / receiving data, the response sending means 12 for sending a reception confirmation response to the received data from the sending / receiving means 11a, 11b And relay means 13 for relaying the received information.
第2図は本発明に係る一実施例の複数のLANシステム
がゲートウエイを介して1つの複合ネツトワークシステ
ムを構成している例を示している。FIG. 2 shows an example in which a plurality of LAN systems according to an embodiment of the present invention constitute one composite network system via a gateway.
第2図において、21〜27は夫々単独のLANシステ
ムL01〜L07を示し、各LANシステムL01〜L
07にはノード及びゲートウエイが接続される。31〜
36は各ゲートウエイG1〜G6、41〜52は各ノー
ドN1〜N12である。In FIG. 2, reference numerals 21 to 27 denote individual LAN systems L01 to L07, respectively.
A node and a gateway are connected to 07. 31-
36 is each gateway G1-G6, 41-52 is each node N1-N12.
以上の構成において、各ゲートウエイG1〜G6(31
〜36)はネツトワーク構成のルーチング・テーブルを
持ち、例えばトラヒツクの状態等をも加味して中継する
パケツトの送信経路を決定する機能を備えている。この
ため、各ノードN1〜N12(41〜52)は全てのネ
ツトワーク構成を自装置内に記憶する必要がない。各ノ
ードN1〜N22(41〜52)には自装置の接続され
ているLAN内のシステム構成のみを保持すれば足り
る。In the above configuration, each of the gateways G1 to G6 (31
To 36) have a routing table having a network structure, and have a function of determining a transmission path of a packet to be relayed in consideration of, for example, a traffic state. Therefore, each node N1 to N12 (41 to 52) does not need to store all the network configurations in its own device. It is sufficient for each of the nodes N1 to N22 (41 to 52) to hold only the system configuration in the LAN to which its own device is connected.
以上の構成より成るネツトワークシステムにおける異L
ANシステム間のデータ通信制御を以下に説明する。Different L in the network system having the above configuration
Data communication control between AN systems will be described below.
まず、ノードN1〜N12(41〜52)の通信制御を
第3図のフローチヤートを参照して説明する。First, communication control of the nodes N1 to N12 (41 to 52) will be described with reference to the flow chart of FIG.
ノードはステツプS1及びS2で自装置の接続されてい
る伝送路より自ノード宛の受信パケツトが受信される
か、又は、自ノードに接続されている情報処理装置等よ
りの送信要求があるか否かを常時監視している。ここで
例えば情報処理装置より他のノード等への送信要求が発
生するとステツプS2よりステツプS3に進み、送信先
のノードが自ノードの接続されているLAN内のノード
であるか否かを調べる。ノードは自ノードの接続されて
いるLAN構成についての情報はゲートウエイ等より必
要に応じて入力し、保持しているため、送信先(宛先)
ノードが自LAN内か否かを容易に判別することができ
る。In steps S1 and S2, the node receives a reception packet addressed to the own node from the transmission path connected to the own device, or determines whether there is a transmission request from the information processing device connected to the own node. Is constantly monitored. Here, for example, when a transmission request is issued from the information processing device to another node or the like, the process proceeds from step S2 to step S3 to check whether or not the destination node is a node in the LAN to which the own node is connected. Since the node inputs and holds information about the LAN configuration to which the node is connected from the gateway etc. as necessary, it is the destination (destination).
It is possible to easily determine whether the node is in its own LAN.
送信先ノードが同一LAN内であればステツプS4に進
み、宛先ノードに対して公知の手順で送信データパケツ
トを送信する。そしてステツプS5で宛先ノードよりA
CKパケツトが送られてきたか否かを調べ、ACKパケ
ツトが受信されない場合にはステツプS4に戻り、先に
送信した送信データパケツトを再送する。また、ACK
パケツトを受信すると送信データパケツトが正常に送ら
れたことになり、当該送信処理を終了し、ステツプS1
に戻る。ここで引き続き送信データのある場合には再び
ステツプS4に進み、次の送信データパケツトの送信を
行なう。If the destination node is within the same LAN, the process proceeds to step S4, and the transmission data packet is transmitted to the destination node by a known procedure. Then, in step S5, A is sent from the destination node.
It is checked whether or not the CK packet has been sent. If the ACK packet has not been received, the process returns to step S4, and the previously transmitted transmission data packet is retransmitted. Also, ACK
When the packet is received, it means that the transmission data packet has been normally transmitted, the transmission process is terminated, and step S1 is executed.
Return to. If there is transmission data, the process proceeds to step S4 again to transmit the next transmission data packet.
ステツプS3で送信すべき宛先ノードが同一LAN内に
ない場合には、ゲートウエイを介して送信しなければな
らず、ステツプS6で同一LANに接続されている全て
のゲートウエイに対して一斉同報通信で他のネツトワー
クへの転送要求パケツトを送信する(マルチキヤストす
る)。If the destination node to be transmitted in step S3 is not in the same LAN, it must be transmitted via the gateway, and in step S6 all gateways connected to the same LAN can be broadcast simultaneously. Sends a transfer request packet to another network (multicast).
以下、LANシステムL01(21)のノードN1(4
1)よりLANシステムL06(26)のノードN10
(50)に対してデータパケツトを送信する場合を具体
例として説明を行なう。Hereinafter, the node N1 (4) of the LAN system L01 (21)
From 1), node N10 of LAN system L06 (26)
The case of transmitting a data packet to (50) will be described as a specific example.
この場合にはノードN1(41)はLANシステムL0
1に接続されており、L01に接続されている全てのゲ
ートウエイ、即ちゲートウエイG1(31),G2(3
2),G3(33)に、一斉同報通信(ブロードキヤス
ト、マルチキヤスト)にて他のネツトワークへの転送要
求パケツトを送信する。この転送要求パケツト中には、
LANシステムL06のノードN10(50)への送信
要求情報が含まれている。In this case, the node N1 (41) is the LAN system L0.
1 and all gateways connected to L01, that is, gateways G1 (31), G2 (3
2), a transfer request packet to another network is transmitted to G3 (33) by simultaneous broadcast communication (broadcast, multicast). During this transfer request packet,
The transmission request information to the node N10 (50) of the LAN system L06 is included.
転送要求パケツトを受信したゲートウエイは、後述する
処理にて、宛先ノードへパケツトを転送するには、自ゲ
ートウエイを介して転送すべきであるか否かを調べ、自
装置を中継すべきときは、当該要求送出ノードに自ゲー
トウエイを介して送信するパケツトを送信すべき旨の応
答を出力する。従つて、ステツプS6で転送要求パケツ
トを送信したノードは続くステツプS7でゲートウエイ
よりの応答を待つ。The gateway that received the transfer request packet, in the process described later, in order to transfer the packet to the destination node, checks whether or not it should be transferred via its own gateway, and when it should relay its own device, A response indicating that the packet to be transmitted via the own gateway should be transmitted is output to the request transmitting node. Therefore, the node which transmitted the transfer request packet in step S6 waits for a response from the gateway in the following step S7.
一定時間以内に応答がない場合には、宛先ノードはネツ
トワークシステム上で稼動していないか、又は、ネツト
ワークシステム上に存在しない場合であるため、ステツ
プS8で送信要求を出力した情報処理装置に送信不可を
報知する等のエラー処理を行ない、ステツプS1に戻
る。If there is no response within the fixed time, it means that the destination node is not operating on the network system or does not exist on the network system. Therefore, the information processing apparatus which has output the transmission request in step S8. Then, error processing such as notifying that the transmission is impossible is performed and the process returns to step S1.
一方、ゲートウエイより応答があつた場合にはステツプ
S7よりステツプS9に進み、応答のあつたゲートウエ
イ、例えば上述の具体例においては、ゲートウエイG3
(33)より、ノードN10(50)に対して本ゲート
ウエイを介して送信する旨の応答が返送されるため、こ
のゲートウエイG3(33)を宛先アドレスとするノー
ドN10(50)宛のパケツトを送信する。On the other hand, if there is a response from the gateway, the process proceeds from step S7 to step S9, and the gateway with the response, for example, the gateway G3 in the above specific example.
Since (33) returns a response to the node N10 (50) indicating that the packet is to be transmitted via this gateway, a packet addressed to the node N10 (50) having this gateway G3 (33) as the destination address is transmitted. To do.
そして、このパケツトを受信したゲートウエイG3(3
3)は、ノードN1(41)よりのパケツトの受信が誤
りなく正常に終了したか否かにより、正常終了であれば
受信成功を示すACKパケツトを送信し、正常終了でな
い場合には受信不成功を示すNAKパケツトを送信する。
このため送信ノードではステツプS10でゲートウエイ
よりの応答を調べ、ACKパケツトであれば処理を終了
しステツプS1に戻り、NAKパケツトであつた場合に
はステツプS9に戻り、送信パケツトを再送する。Then, the gateway G3 (3
3) sends an ACK packet indicating successful reception if the packet reception from the node N1 (41) is normally completed without error, and if the reception is not normally completed, the reception is unsuccessful. Send a NAK packet indicating.
For this reason, the transmitting node checks the response from the gateway in step S10, and if it is an ACK packet, terminates the processing and returns to step S1, and if it is a NAK packet, returns to step S9 and retransmits the transmitting packet.
一方、ステツプS1で自ノード宛受信パケツトのある場
合にはステツプS12に進み、送られてきたパケツトを
受信する。そして続くステツプS13で受信誤りが発生
したか否か、即ち、正常に受信できたか否かを調べ、正
常に受信できなかつた場合にはステツプS14でNAK
パケツトを出力し、正常に受信できた場合には送信元に
対して受付けパケツトを送出する。そしてステツプS1
6で受付けパケツトに対するACKパケツトを待ち、A
CKパケツトを受信すれば処理を終了しステツプS1に
戻り、ACKパケツトを受信しない時にはステツプS1
5で再び受付けパケツトの再送を行なう。On the other hand, if there is a reception packet addressed to the own node in step S1, the process proceeds to step S12 to receive the transmitted packet. Then, in the subsequent step S13, it is checked whether or not a reception error has occurred, that is, whether or not the normal reception is possible. If the normal reception is not possible, the NAK is performed in step S14.
The packet is output, and if the packet is normally received, the acceptance packet is sent to the sender. And step S1
Wait for the ACK packet for the accepted packet at 6 and A
If the CK packet is received, the process is terminated and the process returns to step S1. If the ACK packet is not received, step S1 is executed.
At step 5, the received packet is retransmitted again.
次に、本実施例のゲートウエイの通信制御を第4図のフ
ローチヤートを参照して以下に説明する。Next, the communication control of the gateway of this embodiment will be described below with reference to the flow chart of FIG.
ゲートウエイはステツプS21で自装置宛のパケツト
(一斉同報通信パケツトを含む)が送られてくるのを監
視する。そして、自装置宛のパケツトが受信されるとス
テツプS21よりステツプS22に進み、受信されたパ
ケツトが同一LAN内の通信パケツトでない、中継パケ
ツトか否かを調べる。ここで中継パケツトでない場合に
はステツプS23に進み、ノードよりの一斉同報通信に
よる他のLANへの転送要求か否かを調べる。ここで転
送要求でない場合にはステツプS24で自装置で保持し
ているネツトワーク構成テーブルの転送要求か否かを調
べ、転送要求でない場合にはステツプS25で受信パケ
ツトに対応した処理を実行する。ここでネツトワーク構
成テーブルの転送要求パケツトである時にはステツプS
26に進み、ネツトワーク構成テーブルを送出する。そ
してステツプS27で送信パケツトに対するACKパケ
ツトがきたか否かを調べ、ACKパケツトの受信された
場合にはステツプS21に戻り、ACKパケツトを受信
できなかつた場合にはステツプS26に戻り、送信パケ
ツトを再送する。In step S21, the gateway monitors whether a packet addressed to the device itself (including a broadcast packet) is sent. When the packet addressed to the own device is received, the process proceeds from step S21 to step S22, and it is checked whether the received packet is not a communication packet in the same LAN or a relay packet. If the packet is not a relay packet, the process proceeds to step S23, and it is checked whether the request is a transfer request to another LAN by the simultaneous broadcast communication from the node. If it is not a transfer request, it is checked in step S24 whether or not it is a transfer request of the network configuration table held by its own device, and if it is not a transfer request, a process corresponding to the reception packet is executed in step S25. If the packet is a transfer request packet of the network configuration table, step S
Proceed to step 26 to send out the network configuration table. Then, in step S27, it is checked whether or not an ACK packet for the transmission packet has arrived. If the ACK packet is received, the process returns to step S21. If the ACK packet cannot be received, the process returns to step S26 to retransmit the transmission packet. To do.
以上のネツトワーク構成テーブル転送要求をゲートウエ
イに送出することにより、他の装置(ノード又はゲート
ウエイ)は任意の時にネツトワーク構成を知ることがで
きる。By sending the above network configuration table transfer request to the gateway, another device (node or gateway) can know the network configuration at any time.
一方、ステツプS23で他のネツトワークへの転送要求
パケツトの受信の場合にはステツプS23よりステツプ
S30に進み、受信した転送要求パケツトの送信先(宛
先)アドレスをネツトワーク構成テーブルを参照して解
析し、解析の結果、自装置を中継して送信する必要がな
い場合にはステツプS31よりステツプS21に戻り、
応答を行なわない。On the other hand, if a transfer request packet to another network is received in step S23, the process proceeds from step S23 to step S30, and the destination address of the received transfer request packet is analyzed by referring to the network configuration table. If, as a result of the analysis, it is not necessary to relay and transmit the own device, the process returns from step S31 to step S21,
Do not reply.
ここで自装置を中継して送信すると判断した場合にはス
テツプS31よりステツプS32に進み、転送要求パケ
ツトの送信元ノードに対して自装置を介して送信する旨
の応答パケツトを送信する。そして、ステツプS33で
送信元ノードより他のLANシステムへの転送パケツト
を受信するのを待つ。転送パケツトが受信されるとステ
ツプS34に進み、パケツトが正常に受信されたか否か
を調べる。正常に受信されなかつた場合にはステツプS
35でNAKパケツトを送信し、ステツプS33で転送
パケツトが再送されてくるのを待つ。If it is determined to relay and transmit the own device, the process proceeds from step S31 to step S32 to transmit a response packet to the source node of the transfer request packet to the effect that it will be transmitted via the own device. Then, in step S33, the process waits for receiving a transfer packet from the source node to another LAN system. When the transfer packet is received, the process proceeds to step S34 to check whether the packet is normally received. If not received normally, step S
The NAK packet is transmitted at 35 and waits for the transfer packet to be retransmitted at step S33.
一方、パケツトを正常に受信できた時にはステツプS3
6に進み、ACKパケツトを送信する。そして続くステ
ツプS37で、受信したパケツトをステツプS30で解
析した送信元ノードから指示された宛先ノードの存在す
る他のLANのゲートウエイに対して送信する(中継処
理)。On the other hand, when the packet is successfully received, step S3
Proceed to step 6 to send the ACK packet. Then, in the next step S37, the received packet is transmitted to the gateway of another LAN in which the destination node instructed by the source node analyzed in step S30 exists (relay processing).
上述のノードN1(41)よりノードN10(50)に
送信する場合であれば、ノードN1(41)よりの一斉
同報通信に対してはゲートウエイG3(33)より応答
が送られ、送信パケツトに対してノードN1(41)と
ゲートウエイG3(33)との間で受信確認を行なうこ
とができ、確実なデータリンクを行なうことができる。
そしてゲートウエイG3(33)はこの送信パケツトを
次のゲートウエイG5(35)に対して送り、ゲートウ
エイG5(35)はこの送信パケツトを受信し、宛先ノ
ードが自装置の接続されたLANに接続されたノードで
ある旨を確認し、ノードN10(50)とゲートウエイ
G5(35)とは後述するデータリンクにより確実なデ
ータ通信が行なえる。When transmitting from the above-mentioned node N1 (41) to the node N10 (50), a response is sent from the gateway G3 (33) to the broadcast communication from the node N1 (41) and sent to the transmission packet. On the other hand, reception confirmation can be performed between the node N1 (41) and the gateway G3 (33), and reliable data link can be performed.
Then, the gateway G3 (33) sends this transmission packet to the next gateway G5 (35), the gateway G5 (35) receives this transmission packet, and the destination node is connected to the LAN to which its own device is connected. After confirming that the node is a node, reliable data communication can be performed between the node N10 (50) and the gateway G5 (35) by a data link described later.
以上で説明した中継処理においては、ステツプS32よ
りステツプS33に進み、送信元ノードよりの送信パケ
ツトのみを待つ制御を行なう例について述べたが、これ
に限られるものではなく、中継処理においてもステツプ
S21に戻り、他のノード等よりのデータパケツトも同
時に監視できる様制御してもよい。In the relay process described above, an example has been described in which the process proceeds from step S32 to step S33 and waits for only the transmission packet from the transmission source node, but the present invention is not limited to this, and step S21 is also used in the relay process. Returning to step 1, the data packet from another node may be controlled so that it can be monitored at the same time.
また一方、先のステツプS22において、受信したパケ
ツトが中継パケツトである場合にはステツプS40に進
み、中継パケツトが自装置の接続されているLAN内の
ノード宛のパケツトか否かを調べる。そして、自LAN
内のノード宛の中継パケツトでなく、他のLAN内のノ
ード宛のパケツトであればステツプS40よりステツプ
S37に進み、次のゲートウエイに受信したパケツトを
送信する。On the other hand, if the received packet is a relay packet in the previous step S22, the process proceeds to step S40 to check whether the relay packet is a packet addressed to a node in the LAN to which the own device is connected. And own LAN
If the packet is not a relay packet addressed to a node within the LAN, but is a packet addressed to a node within another LAN, the process proceeds from step S40 to step S37, and the received packet is transmitted to the next gateway.
ここで自装置の接続されたLAN内のノードへのパケツ
トである場合にはステツプS40よりステツプS41に
進み、パケツトを当該ノード宛に送信する。そして続く
ステツプS42でノードよりのACKパケツトの受信を
待ち、ACKパケツトが確認されれば処理を終了しステ
ツプS21に戻る。一方ACKパケツトが確認されない
時にはステツプS41に戻り、再び中継パケツトを宛先
ノードに再送する。If it is a packet to a node in the LAN to which its own device is connected, the process proceeds from step S40 to step S41 to transmit the packet to the node. Then, in the subsequent step S42, the reception of the ACK packet from the node is waited, and if the ACK packet is confirmed, the process is terminated and the process returns to step S21. On the other hand, when the ACK packet is not confirmed, the process returns to step S41 and the relay packet is retransmitted to the destination node again.
例えばゲートウエイG3(33)よりゲートウエイG5
(35)にノードN10(50)宛の中継パケツトが送
られてきた場合に、ゲートウエイG5(35)は自装置
の接続されたLANシステムL06(26)のノード宛
のパケツトであるため、中継パケツトをノードN10
(50)宛に送信し、確認応答を行ない、確実なデータ
リンクを行なうことができる。そして、このパケツトを
受信したノードN10(50)は正常受信の場合には送
信元ノードへの受付けパケツトをゲートウエイG5(3
5)に送信し、ゲートウエイG5(35)より受付けパ
ケツトに対するACKパケツトを受け取る。一方、受付
けパケツトを受信したゲートウエイG5(35)はこれ
をゲートウエイG3(33)に送信し、ゲートウエイG
3(33)はこのノードN10(50)よりの受付けパ
ケツトをノードN1(41)に送信する。For example, from gateway G3 (33) to gateway G5
When the relay packet addressed to the node N10 (50) is sent to (35), the gateway G5 (35) is the packet addressed to the node of the LAN system L06 (26) to which the own device is connected. To node N10
It is possible to perform reliable data link by transmitting to (50) and making a confirmation response. Then, the node N10 (50) which has received this packet, in the case of normal reception, sends the reception packet to the transmission source node to the gateway G5 (3).
5) and receives an ACK packet for the received packet from the gateway G5 (35). On the other hand, the gateway G5 (35) having received the acceptance packet transmits it to the gateway G3 (33),
3 (33) transmits the acceptance packet from the node N10 (50) to the node N1 (41).
以上のノードN1(41)よりノードN10(50)へ
のデータパケツトの送信処理手順を第5図に示す。FIG. 5 shows the procedure for transmitting the data packet from the node N1 (41) to the node N10 (50).
以上説明した様に本実施例によれば、あるLAN上のノ
ードから他のLAN上のノードにデータを送信する時、
パケツトにはデータリンクの送信先アドレスとして、ブ
ロートキヤスト用のアドレスやマルチキヤスト用のアド
レスではなく、LAN上のゲートウェイの個別のアドレ
スを使用するため、ACKパケツトやNAKパケツト等
の送受信確認の応答を利用することができ、これらを利
用することにより、確実なデータリンクを行なうことが
できる。As described above, according to this embodiment, when data is transmitted from a node on one LAN to a node on another LAN,
As the destination address of the data link for the packet, not the address for bloat cast or the address for multi cast, but the individual address of the gateway on the LAN is used. Therefore, the transmission / reception confirmation response such as ACK packet or NAK packet is sent. It can be used, and by using these, reliable data link can be performed.
また、各ノードが全てのネツトワーク構成の情報を持つ
必要がなく、ノードの備えるメモリの記憶容量が少なく
て済み、かつネツトワーク構成の更新処理等の処理の行
なう必要がなく、通信制御も簡単、確実になり、効率の
良いデータ通信が行なえる。In addition, each node does not need to have information on all network configurations, the storage capacity of the memory of each node is small, and there is no need to perform processing such as updating of network configurations, and communication control is simple. , Reliable and efficient data communication can be performed.
更にまた、本実施例によれば、ノードは同一LAN内の
ゲートウエイとの通信制御(手続き)さえ行なうことが
可能ならば、他のLANにあるノードに対しても送信す
ることが可能となるので、ノードがあるLANより他の
LANに移動した場合等においても、簡単な通信制御で
そのまま他のLANへ送信することが可能である。従つ
て、構成ノードは他のLANに容易に移動できる。Furthermore, according to the present embodiment, if a node can control communication (procedure) with a gateway in the same LAN, it is possible to transmit to a node in another LAN. Even when a node moves from one LAN to another LAN, it is possible to transmit to another LAN as it is with simple communication control. Therefore, the constituent nodes can be easily moved to another LAN.
[発明の効果] 以上説明したように本発明によれば、あるLAN上の送信
側ノードは、ゲートウエイを介して他のLAN上の受信側
ノードへデータを送信する際に、データ送信に先立ち、
複数のゲートウエイに対して一斉同報通信により転送要
求パケツトを送信して、中継が必要であると判断したゲ
ートウエイからの応答パケツトを受信することで、デー
タの送信先となるゲートウエイを認識することができ
る。[Effects of the Invention] According to the present invention as described above, when a transmission side node on a certain LAN transmits data to a reception side node on another LAN via a gateway, prior to data transmission,
By transmitting a transfer request packet to multiple gateways by broadcast communication and receiving a response packet from the gateway that determines that relay is necessary, the gateway to which the data is transmitted can be recognized. it can.
従つて、LAN上のノードは、ネツトワークシステム全体
の構成情報を保持する必要はなく、容易にしかも速やか
にデータを送信すべきゲートウエイを認識することが可
能になり、効率のよいデータ通信を行うことができる。Therefore, the node on the LAN does not need to hold the configuration information of the entire network system, and can easily and quickly recognize the gateway to which the data should be transmitted, and perform efficient data communication. be able to.
さらに、本発明によれば、送信側ノードは、中継を行う
ゲートウエイを認識後、該ゲートウエイを宛先としてデ
ータを送信するので、該送信に対するゲートウエイから
の受信成功応答または受信不成功応答を得ることができ
る。さらには、該ゲートウエイを介して、送信データの
宛先である受信側ノードが正常にデータを受信したこと
も確認することができる。Further, according to the present invention, since the transmitting side node transmits the data with the gateway as the destination after recognizing the gateway for relaying, it is possible to obtain the reception success response or the reception unsuccess response from the gateway for the transmission. it can. Further, it can be confirmed via the gateway that the receiving side node, which is the destination of the transmission data, has normally received the data.
従つて、送信側ノードは、他のLAN上の受信側ノードへ
データが確実に届いたか否かを認識することができるよ
うになり、データ通信の信頼性を向上させる効果があ
る。Therefore, the transmission side node can recognize whether or not the data has surely arrived at the reception side node on another LAN, which is effective in improving the reliability of data communication.
第1図は本発明の機能ブロツク図、 第2図は本発明に係る一実施例のネツトワーク構成図、 第3図は本実施例のネツトワークを構成する伝送装置の
データ通信制御フローチヤート、 第4図は本実施例のネツトワークを構成するゲートウエ
イのデータ通信制御フローチヤート、 第5図は他のLANシステムとの間のデータ通信制御手
順を示す図である。 図中、1a,1b……伝送路、10……保持手段、11
a,11b……送受信手段、12……応答送出手段、1
3……中継手段、21〜27……LANシステム、31
〜36……ゲートウエイ、41〜52……ノードであ
る。FIG. 1 is a functional block diagram of the present invention, FIG. 2 is a network configuration diagram of an embodiment according to the present invention, and FIG. 3 is a data communication control flow chart of a transmission device constituting the network of the present embodiment, FIG. 4 is a data communication control flow chart of the gateway constituting the network of this embodiment, and FIG. 5 is a view showing a data communication control procedure with another LAN system. In the figure, 1a, 1b ... Transmission line, 10 ... Holding means, 11
a, 11b ... Transmitting / receiving means, 12 ... Response sending means, 1
3 ... Relay means, 21-27 ... LAN system, 31
~ 36 ... gateways, 41-52 ... nodes.
Claims (1)
カルエリアネットワークをゲートウェイを用いてシステ
ム化したネットワークシステムにおける通信制御方法で
あって、 一つのローカルエリアネットワークに複数の端末装置と
複数のゲートウェイとを接続し、 前記端末装置の一つである送信側端末が前記ゲートウェ
イを介して他のローカルエリアネットワークの前記端末
装置の一つである受信側端末へデータを送信する際に、 前記送信側端末はデータの送信に先立って、自装置が接
続されているローカルエリアネットワークに接続された
前記複数のゲートウェイに対して、一斉同報通信により
前記受信側端末を指定する情報を含む転送要求パケット
を送信し、 前記転送要求パケットを受信した前記ゲートウェイはそ
れぞれ、該転送要求パケットの内容と自装置に保持する
ネットワーク構成テーブルとに基づいて、該転送は自装
置を中継する必要があるか否かを判断し、 前記判断の結果、中継が必要であると判断した中継ゲー
トウェイは、自装置が中継することを通知する応答パケ
ットを前記送信側端末へ送信し、 前記応答パケットを受信した前記送信側端末は、前記中
継ゲートウェイおよび前記受信側端末を宛先として、該
中継ゲートウェイに対してデータパケットを送信し、 前記中継ゲートウェイは、前記データパケットを正常に
受信したか否かを示す確認パケットを前記送信側端末へ
送信するとともに、該データパケットを中継後、前記受
信側端末が該データパケットを正常に受信したことを該
送信側端末へ通知することを特徴とするデータ通信制御
方法。1. A communication control method in a network system in which a plurality of local area networks each having a plurality of terminals are systematized by using a gateway, wherein one local area network includes a plurality of terminal devices and a plurality of gateways. When the transmitting side terminal, which is one of the terminal apparatuses, transmits data to the receiving side terminal, which is one of the terminal apparatuses of another local area network, via the gateway, the transmitting side terminal Sends a transfer request packet containing information designating the receiving side terminal to the plurality of gateways connected to the local area network to which the own device is connected by broadcast communication prior to data transmission. Each of the gateways receiving the transfer request packet Based on the contents of the request packet and the network configuration table held in the own device, it is judged whether or not the transfer needs to be relayed by the own device, and as a result of the judgment, the relay judged to be necessary to be relayed The gateway transmits a response packet for notifying that the device itself relays, and the transmission side terminal having received the response packet has the relay gateway and the reception side terminal as destinations. A data packet, the relay gateway transmits a confirmation packet indicating whether or not the data packet is normally received to the transmission side terminal, and after relaying the data packet, the reception side terminal A method for controlling data communication, which notifies the transmitting side terminal that the data packet has been normally received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60178506A JPH0650862B2 (en) | 1985-08-15 | 1985-08-15 | Data communication control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60178506A JPH0650862B2 (en) | 1985-08-15 | 1985-08-15 | Data communication control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6239933A JPS6239933A (en) | 1987-02-20 |
JPH0650862B2 true JPH0650862B2 (en) | 1994-06-29 |
Family
ID=16049653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60178506A Expired - Fee Related JPH0650862B2 (en) | 1985-08-15 | 1985-08-15 | Data communication control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0650862B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4797881A (en) * | 1987-03-12 | 1989-01-10 | Sytek, Inc. | Bridge system for connecting networks |
JPH04280138A (en) * | 1991-02-15 | 1992-10-06 | Mitsubishi Electric Corp | Remote control system |
JPH05104366A (en) * | 1991-10-17 | 1993-04-27 | Fanuc Ltd | Combined machine tool |
KR101423500B1 (en) | 2012-10-23 | 2014-07-28 | 한국기계연구원 | Capsule type reconfigurable multifunctional machining apparatus |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59140750A (en) * | 1983-02-01 | 1984-08-13 | Fuji Xerox Co Ltd | Multiple address communication control system of linear network |
JPS60149239A (en) * | 1984-01-14 | 1985-08-06 | Yamatake Honeywell Co Ltd | Communication network system |
-
1985
- 1985-08-15 JP JP60178506A patent/JPH0650862B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPS6239933A (en) | 1987-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0513172B1 (en) | Network control system and method | |
US5249184A (en) | Network control system with improved reliability | |
RU2298289C2 (en) | Device and method for delivering packets in wireless networks with multiple retranslations | |
EP4114072A1 (en) | Data packet transmission method and apparatus, communication node, and storage medium | |
JPH06125347A (en) | Exchange method of message | |
US5243595A (en) | Combined connectionless and connection-oriented network control system | |
JPS6276840A (en) | node device | |
JPS6412424B2 (en) | ||
JPH06326713A (en) | Data transmission control method | |
US5237568A (en) | Network control system with improved priority protocol | |
JPH0567092B2 (en) | ||
JPH0650862B2 (en) | Data communication control method | |
JPS6239934A (en) | Data communication control system | |
JP2001036586A (en) | Gateway device | |
JPH09219721A (en) | Data retransmission system | |
JPS63169855A (en) | Packet transmission system with error retransmission function | |
JPH11252134A (en) | Broadcast communication system | |
JP3159129B2 (en) | Network monitoring method | |
JPH04124933A (en) | Sequential multi-address data verifying system | |
JPH05336122A (en) | Method for controlling network | |
JPS63169854A (en) | Packet transmission system with error retransmission function | |
JP2006238300A (en) | Wireless communication device and wireless communication system using the same | |
JPH06112972A (en) | Packet re-transmission system | |
JPH04273736A (en) | Packet communication system and packet re-transmission equipment | |
JP2006121207A (en) | Communication node and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |