JPS6366103B2 - - Google Patents

Info

Publication number
JPS6366103B2
JPS6366103B2 JP11893783A JP11893783A JPS6366103B2 JP S6366103 B2 JPS6366103 B2 JP S6366103B2 JP 11893783 A JP11893783 A JP 11893783A JP 11893783 A JP11893783 A JP 11893783A JP S6366103 B2 JPS6366103 B2 JP S6366103B2
Authority
JP
Japan
Prior art keywords
node
network information
distance
shortest
nodes
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
Application number
JP11893783A
Other languages
Japanese (ja)
Other versions
JPS6010941A (en
Inventor
Tooru Kato
Mitsuyoshi Noguchi
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58118937A priority Critical patent/JPS6010941A/en
Publication of JPS6010941A publication Critical patent/JPS6010941A/en
Publication of JPS6366103B2 publication Critical patent/JPS6366103B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、各ノードが通信経路を決定するため
の基礎となるネツトワーク情報をもつネツトワー
ク・システムにおいて、ネツトワーク情報の予盾
を簡単に検出できるようにしたネツトワーク情報
の矛盾検出方式に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides a method for easily protecting network information in a network system in which each node has network information as a basis for determining a communication route. This invention relates to a method for detecting contradictions in network information.

〔従来技術と問題点〕[Prior art and problems]

第1図はネツトワーク・システムの概要を示す
ものであつて、AないしEはノードを示してい
る。ノード間は伝送路で接続されている。各ノー
ドは、通信を行うときネツトワーク情報に基づき
最短経路(通信時間が最少となる経路)を選択
し、通信を行う。いまノードAがノードC対して
データを送信する場合、ノードAはノードBに対
してデータを送つて中継を依頼し、ノードBは受
信したデータをノードCに送る。いま、ノードB
とノードCとの間に障害が発生し、ノードAがこ
の障害の発生を知らず、ノードBがこの障害を知
つているものと仮定する。なお、伝送路の障害情
報もネツトワーク情報の要素である。このような
状態の下において、ノードAにノードCへの送信
要求が発生したとすると、ノードAはノードBに
データを送信して中継を依頼する。ノードBは、
ノードCにデータを送るための通信経路はノード
A→E→D→Cであると思つているので、受信し
たデータを再びノードAに送り返してしまう。こ
のように、各ノードA,B,C,D,Eの持つネ
ツトワーク情報が矛盾していると、ループしてし
まうことがある。そのため、ネツトワーク情報が
変更されたとき他のノードに通知する必要がさる
が、これを他のノードに通知する必要があるが、
これを他のノードに伝えるための通信は他の通信
と同期をとらねばならず、また、障害時のリカバ
リも行う必要があつた。
FIG. 1 shows an overview of the network system, and A to E indicate nodes. The nodes are connected by transmission lines. When communicating, each node selects the shortest route (the route with the least communication time) based on network information, and performs communication. Now, when node A sends data to node C, node A sends the data to node B and requests relaying, and node B sends the received data to node C. Now node B
Assume that a failure occurs between node A and node C, node A is unaware of the occurrence of this failure, and node B is aware of this failure. Note that transmission path failure information is also an element of network information. Under such a state, if a transmission request to node C is generated from node A, node A transmits data to node B and requests relaying. Node B is
Since the communication path for sending data to node C is considered to be from node A→E→D→C, the received data is sent back to node A. In this way, if the network information held by each node A, B, C, D, and E is inconsistent, a loop may occur. Therefore, when network information changes, it is necessary to notify other nodes;
Communication for transmitting this to other nodes had to be synchronized with other communications, and it was also necessary to perform recovery in the event of a failure.

〔発明の目的〕[Purpose of the invention]

本発明は上記の考察に基づくものであつて、ネ
ツトワーク情報の矛盾を通常の通信の処理中に簡
単に検出できるようにしたネツトワーク情報の矛
盾検出方式を提供することを目的としている。
The present invention is based on the above consideration, and an object of the present invention is to provide a method for detecting contradictions in network information that allows contradictions in network information to be easily detected during normal communication processing.

〔発明の構成〕[Structure of the invention]

そしてそのため、本発明のネツトワーク情報の
矛盾検出方式は、通信経路を決定するためのネツ
トワーク情報を記憶するネツトワーク情報テーブ
ルを有する複数のノードと、ノード間を接続する
伝送路とを具備するネツトワーク・システムにお
けるネツトワーク情報の矛盾検出方式であつて、
各ノードは、上記ネツトワーク情報テーブルを参
照して、ノード間毎の最短距離と直接宛先ノード
を示す最短通信伝路テーブルを作成し、他のノー
ドにデータを送信する場合には、上記最短通信経
路テーブルを参照して最短距離と直接宛先ノード
を求め、送信データに最短距離を付加すると共に
上記他のノードの名前を最終宛先ノード名として
付加して直接宛先ノードに送信し、データを受信
したときには自分を最終宛先としているか否かを
調べ、自分を最終宛先としていない場合には上記
最短通信経路テーブルを参照して自分のノードか
ら最終宛先ノードまでの距離を求め、当該距離と
受信データに付加されている距離とを比較し、前
者が後者より大きい場合にはネツトワーク情報の
矛盾が存在すると認識するよう構成されているこ
とを特徴とするものである。
Therefore, the network information contradiction detection method of the present invention includes a plurality of nodes having network information tables that store network information for determining communication routes, and a transmission path connecting the nodes. A method for detecting contradictions in network information in a network system,
Each node refers to the above network information table and creates a shortest communication path table showing the shortest distance between nodes and the direct destination node, and when transmitting data to another node, Refer to the route table to find the shortest distance and direct destination node, add the shortest distance to the sending data, add the name of the other node mentioned above as the final destination node name, send directly to the destination node, and receive the data. Sometimes, it checks whether or not it is the final destination, and if it is not the final destination, it refers to the shortest communication route table above to find the distance from its own node to the final destination node, and adds that distance to the received data. The present invention is characterized in that it is configured to compare the distances between the two networks, and if the former is greater than the latter, it is recognized that there is a contradiction in network information.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図面を参照しつつ説明する。 Hereinafter, the present invention will be explained with reference to the drawings.

第2図は本発明が適用されるネツトワーク・シ
ステムのハードウエア構成の1例を示す図、第3
図は本発明で使用されるネツトワーク情報テーブ
ルの1例を示す図、第4図は最短通信経路テーブ
ルの1例を示す図、第5図はホスト計算機の受信
処理を示す図、第6図はホスト計算機の送信処理
を示す図である。
Figure 2 is a diagram showing an example of the hardware configuration of a network system to which the present invention is applied;
Figure 4 shows an example of the network information table used in the present invention, Figure 4 shows an example of the shortest communication route table, Figure 5 shows the reception processing of the host computer, and Figure 6. FIG. 2 is a diagram showing transmission processing of a host computer.

本発明を要約すると、下記のようになる。全ノ
ードのそれぞれにおいて、ネツトワーク情報より
二つのノード間の距離を求めておく。距離とは、
中継ノード数や通信能力などから決定される論理
的な概念である。通信経路としては、最短距離
(時間最小)のものを選ぶと定めておく。ノード
Bは、ノードAからノードCに対する中継を依頼
されたとき、次のチエツクを行うことによりネツ
トワーク情報の矛盾を検出することが出来る。
The present invention can be summarized as follows. For each of all nodes, the distance between two nodes is determined from the network information. What is distance?
This is a logical concept determined by the number of relay nodes, communication capacity, etc. It is determined that the communication route with the shortest distance (minimum time) is selected. When node B is requested to relay from node A to node C, it can detect inconsistencies in network information by performing the following checks.

BからCへの距離<AからCへの距離この条件
を満していないならば、ノードAの保持している
ネツトワーク情報とノードBの保持しているネツ
トワーク情報とは異なることになるので、これを
トリガにしてネツトワーク情報の確認等を行うこ
とが出来る。
Distance from B to C < Distance from A to C If this condition is not met, the network information held by node A will be different from the network information held by node B. Therefore, you can use this as a trigger to check network information, etc.

第2図は本発明が適用されるネツトワーク・シ
ステムのハードウエア構成の1例を示すものであ
る。第2図において、1−Aないし1−Eはホス
ト計算機、2−Aないし2−Eはブロツク・マル
チプレクサ・チヤネル、3−Aないし3−Eはイ
ンタフエース・アダプタ、4はリング状の伝送路
をそれぞれ示している。ホスト計算機、ブロツ
ク・マルチプレクサ・チヤネル及びアダプタなど
が1個のノードを構成している。隣接するホスト
計算機間の通信は、CTC(Channel to channel
adapter)を使用した従来のチヤネル間通信と同
様な方法で行われる。通信の管理は、全てホスト
計算機で行う。
FIG. 2 shows an example of the hardware configuration of a network system to which the present invention is applied. In Fig. 2, 1-A to 1-E are host computers, 2-A to 2-E are block multiplexer channels, 3-A to 3-E are interface adapters, and 4 is a ring-shaped transmission path. are shown respectively. A host computer, block multiplexer channel, adapter, etc. constitute one node. Communication between adjacent host computers is done using CTC (Channel to channel).
This is done in a similar way to traditional channel-to-channel communication using an adapter. All communications are managed by the host computer.

第3図はネツトワーク情報テーブルの1例を示
すものである。同図において、〇印はノードが伝
送路で直接接続されていることを示し、×印は直
接接続されていないことを示している。第3図を
見ることによつて、例えばノードAとノードB、
ノードAとノードEが接続されていることが判
る。ノードBとノードCの間の伝送路に障害が発
生したことが判ると、第2行第3列の〇印は×印
に変更される。第3図のネツトワーク情報テーブ
ルは、各ホスト計算機のメモリ内に設けられてい
る。
FIG. 3 shows an example of a network information table. In the figure, a mark ◯ indicates that the nodes are directly connected via a transmission path, and a mark x indicates that the nodes are not directly connected. By looking at FIG. 3, for example, node A and node B,
It can be seen that node A and node E are connected. When it is determined that a failure has occurred in the transmission path between node B and node C, the circle mark in the second row and third column is changed to an x mark. The network information table shown in FIG. 3 is provided in the memory of each host computer.

第4図は最短通信経路テーブルの1例を示すも
のである。各ホスト計算機は、自分の持つている
ネツトワーク情報テーブルを基にして最短通信路
テーブルを作成する。図示の最短通信経路テーブ
ルは、ノードAから最終宛先のノードBにデータ
を送る場合には距離“1”で且つ直接宛先はノー
ドBであり、ノードAから最終宛先のノードCに
データを送る場合には距離は“2”で且つ直接宛
先ノードBであり、ノードBから最終宛先のノー
ドCにデータを送る場合には距離は“1”であり
且つ直接宛先はノードBであることを示してい
る。なお、この例では、距離はデータ送信ノード
と最終宛先のノードとの間に存在する中継ノード
の数によつて定まるものとしている。
FIG. 4 shows an example of the shortest communication route table. Each host computer creates a shortest communication path table based on its own network information table. In the illustrated shortest communication route table, when sending data from node A to node B, the final destination, the distance is "1" and the direct destination is node B, and when sending data from node A to node C, the final destination. Indicates that the distance is "2" and the direct destination is node B, and when sending data from node B to the final destination node C, the distance is "1" and the direct destination is node B. There is. In this example, it is assumed that the distance is determined by the number of relay nodes existing between the data transmission node and the final destination node.

第5図および第6図はホスト計算機における送
受信処理を示すものである。通信を行う場合、ノ
ードは、データにヘツダを付加し、これを1つの
通信ブロツクとして取扱う。ヘツダは、最終宛先
ノード名および距離などを含んでいる。
FIG. 5 and FIG. 6 show the transmission and reception processing in the host computer. When communicating, a node adds a header to data and handles it as one communication block. The header contains the final destination node name, distance, etc.

第5図はホスト計算機の受信処理を説明するも
のである。通信ブロツクを受信すると、ホスト計
算機は、ヘツダを調べ、自分宛の場合にはこれを
取込む。通信ブロツクが自分宛のものでない場合
にはホスト計算機は、最短通信経路テーブルを参
照して自分のノードから最終宛先ノードまでの最
短距離を求め、自分のノードから最終宛先ノード
までの最短距離とヘツダ内の距離とを比較し、前
者が後者より小さい場合はOKとして中継処理を
行い、それ以外の場合にはNG(no good)として
ネツトワーク情報確認のための処理を行う。
FIG. 5 explains the reception processing of the host computer. When the host computer receives a communication block, it examines the header and takes it in if it is addressed to itself. If the communication block is not addressed to itself, the host computer refers to the shortest communication route table to find the shortest distance from its own node to the final destination node, and calculates the shortest distance and header from its own node to the final destination node. If the former is smaller than the latter, relay processing is performed as OK; otherwise, NG (no good) is determined and processing is performed to confirm network information.

第6図はホスト計算機の送信処理を説明するも
のである。送信依頼があると、ホスト計算機は最
短通信経路テーブルを参照して自分のノードから
最終宛先ノードまで距離と直接宛先とを求め、最
終宛先名と距離とを含むヘツダを作成し、ヘツダ
と送信データとより成る通信ブロツク及び直接宛
先ノード名をメモリに格納し、ブロツク・マルチ
プレクサ・チヤネルに対して送信要求のあること
を通知する。この通知を受取ると、ブロツク・マ
ルチプレクサ・チヤネルは、通信ブロツクを指定
された直接宛先ノードに送信するための処理を行
う。中継のためにデータを送信する場合にも同様
な処理が行われる。最終宛先ノード名を変更しな
いことは当然である。
FIG. 6 explains the transmission processing of the host computer. When a transmission request is received, the host computer refers to the shortest communication route table to find the distance and direct destination from its own node to the final destination node, creates a header containing the final destination name and distance, and sends the header and transmission data. The communication block consisting of the block and the direct destination node name are stored in memory and the block multiplexer channel is notified of the request to send. Upon receiving this notification, the block multiplexer channel takes action to send the communication block to the designated direct destination node. Similar processing is performed when transmitting data for relay. Naturally, the final destination node name should not be changed.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれ
ば、通常の通信の処理中にネツトワーク情報の矛
盾を検出することが出来る。
As is clear from the above description, according to the present invention, inconsistencies in network information can be detected during normal communication processing.

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

第1図はネツトワーク・システムの概要を示す
図、第2図は本発明が適用されるネツトワーク・
システムのハードウエア構成の1例を示す図、第
3図は本発明で使用されるネツトワーク情報テー
ブルの1例を示す図、第4図は最短通信経路テー
ブルの1例を示す図、第5図はホスト計算機の受
信処理を示す図、第6図はホスト計算機の送信処
理を示す図である。 AないしE……ノード、1−Aないし1−E…
…ホスト計算機、2−Aないし2−E……ブロツ
ク・マルチプレクサ・チヤネル、3−Aないし3
−E……インタフエース・アダプタ、4……リン
グ状の伝送路。
Figure 1 shows an overview of the network system, and Figure 2 shows the network system to which the present invention is applied.
A diagram showing an example of the hardware configuration of the system, FIG. 3 is a diagram showing an example of a network information table used in the present invention, FIG. 4 is a diagram showing an example of a shortest communication route table, and FIG. The figure shows the reception process of the host computer, and FIG. 6 shows the transmission process of the host computer. A to E...node, 1-A to 1-E...
...Host computer, 2-A to 2-E...Block multiplexer channel, 3-A to 3
-E...Interface adapter, 4...Ring-shaped transmission line.

Claims (1)

【特許請求の範囲】[Claims] 1 通信経路を決定するためのネツトワーク情報
を記憶するネツトワーク情報テーブルを有する複
数のノードと、ノード間を接続する伝送路とを具
備するネツトワーク・システムにおけるネツトワ
ーク情報の矛盾検出方式であつて、各ノードは、
上記ネツトワーク情報テーブルを参照して、ノー
ド間毎の最短距離と直接宛先ノードを示す最短通
信経路テーブルを作成し、他のノードにデータを
送信する場合には、上記最短通信経路テーブルを
参照して最短距離と直接宛先ノードを求め、送信
データに最短距離を付加すると共に上記他のノー
ドの名前を最終宛先ノード名として付加して直接
宛先ノードに送信し、データを受信したときには
自分を最終宛先としているか否かを調べ、自分を
最終宛先としていない場合には上記最短通信経路
テーブルを参照して自分のノードから最終宛先ノ
ードまでの距離を求め、当該距離と受信データに
付加されている距離とを比較し、前者が後者より
大きい場合にはネツトワーク情報の矛盾が存在す
ると認識するよう構成されていることを特徴とす
るネツトワーク情報の予盾検出方式。
1. A method for detecting inconsistencies in network information in a network system comprising a plurality of nodes having network information tables that store network information for determining communication routes, and transmission paths connecting the nodes. So, each node is
Refer to the above network information table to create a shortest communication route table that shows the shortest distance between nodes and the direct destination node, and when transmitting data to another node, refer to the above shortest communication route table. Find the shortest distance and direct destination node, add the shortest distance to the sending data, add the name of the other node mentioned above as the final destination node name, send it directly to the destination node, and when the data is received, set yourself as the final destination. If you are not the final destination, find the distance from your own node to the final destination node by referring to the shortest communication route table above, and compare that distance with the distance added to the received data. 1. A method for detecting network information in advance, characterized in that the network information is compared, and if the former is larger than the latter, it is recognized that there is a contradiction in the network information.
JP58118937A 1983-06-30 1983-06-30 System for detecting contradiction of network information Granted JPS6010941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58118937A JPS6010941A (en) 1983-06-30 1983-06-30 System for detecting contradiction of network information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58118937A JPS6010941A (en) 1983-06-30 1983-06-30 System for detecting contradiction of network information

Publications (2)

Publication Number Publication Date
JPS6010941A JPS6010941A (en) 1985-01-21
JPS6366103B2 true JPS6366103B2 (en) 1988-12-19

Family

ID=14748916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58118937A Granted JPS6010941A (en) 1983-06-30 1983-06-30 System for detecting contradiction of network information

Country Status (1)

Country Link
JP (1) JPS6010941A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4742511A (en) * 1985-06-13 1988-05-03 Texas Instruments Incorporated Method and apparatus for routing packets in a multinode computer interconnect network

Also Published As

Publication number Publication date
JPS6010941A (en) 1985-01-21

Similar Documents

Publication Publication Date Title
US5179554A (en) Automatic association of local area network station addresses with a repeater port
JP2679983B2 (en) Control information transmission method in communication network
EP0234191B1 (en) Packet-switched communications network with parallel virtual circuits for re-routing message packets
US6282669B1 (en) Ethernet communication redundancy method
EP0637415B1 (en) System and method for automatic segment resolution on a local area network
JP2533972B2 (en) Automatic fault recovery in packet networks
EP0576136A2 (en) Error recovery method in a system constituted by nodes connected by lienks which transfer error control fames
JPH05502347A (en) Automatic failure recovery in packet networks
JP2557176B2 (en) Network connection and topology map generator
JP3407717B2 (en) LAN communication path control system and control method
JPS60191536A (en) Data processing unit fault informing system
US7162544B2 (en) Message transfer method and apparatus
JPS6366103B2 (en)
JP3137197B2 (en) Multiprocessor system
JPS60246148A (en) Data transmission control system
JP3052827B2 (en) Detour search method
JP3159129B2 (en) Network monitoring method
JP2841686B2 (en) Transmission line switching device
JPH07264240A (en) Pvc backup system
JPS6240846A (en) Packet communication system
JP2967747B2 (en) Virtual path protection management device
JP3407541B2 (en) Network dynamic configuration change method
JPS63280538A (en) Loopback test system
JP2000134245A (en) Node system for unidirectional path changeover ring network and m:n multicast communication method
JPH03267845A (en) Data transmission system