JPS61253946A - Network control system - Google Patents

Network control system

Info

Publication number
JPS61253946A
JPS61253946A JP60095367A JP9536785A JPS61253946A JP S61253946 A JPS61253946 A JP S61253946A JP 60095367 A JP60095367 A JP 60095367A JP 9536785 A JP9536785 A JP 9536785A JP S61253946 A JPS61253946 A JP S61253946A
Authority
JP
Japan
Prior art keywords
token
node
address
network
communication
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
JP60095367A
Other languages
Japanese (ja)
Inventor
Koji Takao
高尾 貢司
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60095367A priority Critical patent/JPS61253946A/en
Publication of JPS61253946A publication Critical patent/JPS61253946A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To reconstitute a network precisely even if a communication right transfer instruction disappears by starting an address searching means when the communication right transfer instruction is initially received after recovery processing. CONSTITUTION:Whether a received token is the initial token obtained after the connection of a power source in a self-node or not is checked, and when the token is the initial one, the token is processed at the time of token transfer operation after the reception of the token. If the token concerned is not the initial token, whether the token transfer operation is the initial token transfer operation after the succeeding recovery processing or not is checked, and in case of the initial transfer operation, the token is generated by any one of nodes to execute the recovery processing for restarting the circulation of the token. When a fixed period has not yet passed, the token is transmitted by using the node address value used at the preceding token transfer operation and stored in a memory circuit 6 as a destination address.

Description

【発明の詳細な説明】 [技術分野] 本発明は複数の伝送制御装置を通信媒体に接してなるネ
ットワークシステムの網制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a network control method for a network system in which a plurality of transmission control devices are connected to a communication medium.

「従来技術」 近年、一本の伝送路を共用して多数の通信制御装置(以
下ノードと称す)を接続し、これらノード間でデータ通
信を行なうローカルエリアネットワークシステム、いわ
ゆる“L A N ”が盛んである。LANにおける種
々の通信方式の中で、トークンパッシング方式はネット
ワークが高トラヒツク状態でも均等に全ノードに通信サ
ービスを行なうことができ、それ故伝送効率の低下を招
かないという点で特に子ぐれたものである。
"Prior Art" In recent years, local area network systems, so-called "LAN", have become popular, in which a large number of communication control devices (hereinafter referred to as nodes) are connected by sharing a single transmission path, and data communication is performed between these nodes. It's thriving. Among the various communication methods in a LAN, the token passing method is particularly superior in that it can provide communication services evenly to all nodes even when the network is under high traffic conditions, and therefore does not cause a decrease in transmission efficiency. It is.

このLANのシステム構成例を第1図に示す。An example of the system configuration of this LAN is shown in FIG.

図中1は伝送路100 N160はLANを構成する各
ノードA−Gである。各ノードA−G(100−160
)にはそれぞれ伝送情報の処理を行なうホストA−G(
200”〜260)が接続されている。
In the figure, 1 is a transmission line 100, and 160 is each node A to G forming the LAN. Each node A-G (100-160
) respectively have hosts A to G (
200'' to 260) are connected.

このように一般にバス型LANでは一木の伝送路を共用
している為、各ノードでの発信を無管理で許すと、同時
に2つ以上のノードから送信が行なわれる状態が起こり
、伝送路上のデータが混信するいわゆる“衝災”現象が
生じる。
In this way, bus-type LANs generally share a single transmission path, so if each node is allowed to send calls without management, a situation will occur where two or more nodes will be transmitting at the same time, causing problems on the transmission path. A so-called "disaster" phenomenon occurs in which data is mixed.

これを防ぐための一つの方式としてトークンパッシング
方式がある。トークンパッシング方式ではこれに対し“
トークン”なる送信権委譲命令を伝送路を介して、各ノ
ード間で交換し合い、トークンを受信したノードのみが
発信する権利(送信権)を獲得する取りきめとしておき
、このトークンを受信したノードは必要があれば(送信
要求があれば〕送信処理等の一連の通信処理をその時点
で行い、この処理が終了した時や、あるいは全く送信処
理の必要がない時は、次に送信権を委譲すべきノード(
下流ノード)にトークンを送信するという方法をとって
副文現象を防いでいる。
One method for preventing this is a token passing method. In contrast, in the token passing method, “
Transmission right delegation commands called "tokens" are exchanged between each node via the transmission path, and only the node that receives the token acquires the right to transmit (transmission right). If necessary (if there is a transmission request), performs a series of communication processing such as transmission processing at that point, and when this processing is completed or when there is no need for transmission processing at all, the next transmission right is granted. Node to be delegated (
This method prevents the subtext phenomenon by sending tokens to downstream nodes).

−トークン″はこの様にして、送信要求のあるノードで
の送信処理が終了する毎に次のノードに渡され、ネット
ワーク内の各ノードに順次周回される。このようにして
ネットワーク内の各構成ノードでは均等に送信権獲得の
機会、即ち通信サービスの機会が手元ちれるわけである
-Token'' is thus passed to the next node every time the transmission process is completed at the node with the transmission request, and is circulated to each node in the network in turn.In this way, each node in the network Nodes have equal opportunities to acquire transmission rights, that is, opportunities for communication services.

トークンの周回制御は、ネットワークの形状と関連して
一トークンリング方式と゛°ヒト−ンバス”方式の2つ
の方式があるが、トークンバス方式においては、通常伝
送路を単一の線状導体で形成しており、1つのノードよ
り送信された伝送データは、ネットワークの伝送路(第
1図伝送路1)に接続された他の全てのノードに同時に
受信される。そこで前述のトークン命令を含むデータに
は必ず相手先ノードアドレスが附されており、これを各
ノードに固有に割当てられたアドレス値と比較して、目
ノードに割当てられたノードアドレスと一致した場合に
、その伝送データを自ノード宛のデータとして取り込む
か、あるいは無差別に伝送データを取り込んだ後で、上
記アドレス比較を行ない、一致した時初めて正式の目ノ
ード宛受信データとして扱う。
There are two methods for token circulation control, depending on the shape of the network: the single token ring method and the "human bus" method. In the token bus method, the transmission path is usually formed with a single linear conductor. Transmission data sent from one node is simultaneously received by all other nodes connected to the transmission path of the network (transmission path 1 in Figure 1).Therefore, the data containing the aforementioned token command is A destination node address is always attached to the destination node, and this is compared with the address value uniquely assigned to each node, and if it matches the node address assigned to the second node, the transmitted data is transferred to the own node. After taking in data as destination data or indiscriminately taking in transmitted data, the addresses are compared, and only when they match is treated as received data officially addressed to the eye node.

このトークンバス方式においては−、あるノードが次に
トークンを渡すべきノード(下流ノード〕とは、一般に
「自ノードアドレスに最も近くかつ小なるアドレス値を
もつノード、但し、最少値アドレスの7−ドに対しては
、最大のアドレス値をもつノード」と定義できる。
In this token bus system, the node to which a certain node should next pass a token (downstream node) is generally defined as the node with the lowest address value that is closest to its own node address. For a node, it can be defined as "the node with the largest address value".

さて、ネットワークシステムでは当然の事ながら、故障
により動作不可能となる部分が発生する。これはいかな
る高価、高信頼性の部品を使用したとしても免れ得ない
事である。そしてこの一部の故障がシステム全体の動作
に影響を及ぼす事態が生じた時、大きな問題となる。
Now, naturally, in a network system, there will be parts that become inoperable due to failures. This cannot be avoided no matter how expensive and highly reliable parts are used. When a failure of one part affects the operation of the entire system, it becomes a big problem.

ネットワークシステムを構成する1つのノードがダウン
すると、トークンがこのノードで消滅してしまい、次の
ノードにトークンが送られなくなる。このため、このま
まではトークンの周回が行なわれなくなり、ネットワー
ク内のいずれのノードに於いても通信不可となる重大事
態が生じる。
If one node that makes up the network system goes down, the tokens disappear at this node and cannot be sent to the next node. Therefore, if the situation continues as it is, the token will no longer be circulated, and a serious situation will occur in which communication will be impossible at any node in the network.

以前においては、障害によるこの様なシステムのダウン
が容認される事もあったが、近年においては、故障に対
する体力(フォルト・トレランス)がシステムの信頼性
の目安の一つとして重要視されており、この耐力を強化
する為に1例えば故障部分をシステムから切り離し、残
りの部分で動作を続行するいわゆる“縮退運転”や、動
作中に故障から回復した部分の再組み込みを行なうとい
った手段が必要とされる。
In the past, it was sometimes acceptable for systems to go down due to failures, but in recent years, fault tolerance has become more important as a measure of system reliability. In order to strengthen this resistance, it is necessary to take measures such as, for example, disconnecting a failed part from the system and continuing operation with the remaining parts, or reintroducing parts that have recovered from a failure during operation. be done.

更にネットワークに於ては故障ではないにもかかわらず
、動作不可能なノードが存在する事を拒めない事情があ
る。即ち、ネットワークではこれに接続される機器やオ
フィスの配置が広範囲に分散する為、ネットワーク内の
ノードを一斉に立上げるよりは部分的に立上げていけた
方がユーザーにとって都合がよく、また、業務の終了し
た機器のノードは備々にパワーダウンできる方が好都合
である。これらの場合、一部に動作不可能ノードを含み
ながらネットワークの運転を行なわしめる事になる。
Furthermore, in a network, there are circumstances in which it is impossible to deny the existence of inoperable nodes even though they are not out of order. In other words, since the devices and offices connected to a network are spread out over a wide area, it is more convenient for users to start up nodes in the network partially rather than all at once. It would be advantageous to be able to power down the node of the device that has been terminated in a timely manner. In these cases, the network will be operated while including some inoperable nodes.

以上の事を考えると、ネットワーク内の動作可能、不可
能なノードの構成変動は常に生じ得るとすべきであり、
これに対交してネットワーク内の各ノードでは、次にト
ークンを渡すべき下流ノードの状態を常に監視し、もし
、下流ノードが動作不可能に陥いったと判明すれば、た
だちにこのノードをネットワーク構成より外してトーク
ンの周回リングより外しく即ち縮退運転し)、トークン
を以後渡すべきノードとして別の適当なノードを選別し
、これに切り換える事が必要となる。
Considering the above, it should be assumed that changes in the configuration of operable and inoperable nodes in the network can always occur.
On the other hand, each node in the network constantly monitors the status of the downstream node to which it should pass the token next, and if a downstream node becomes inoperable, it immediately changes this node to the network configuration. It is necessary to select another suitable node as the node to which the token should be transferred from now on, and switch to this node.

第1図に示すシステムにおいて例えばノードB110と
ノードF150が動作不可能ノードである場合のトーク
ンの周回例を83図に示す。
FIG. 83 shows an example of token circulation in the system shown in FIG. 1 when, for example, node B 110 and node F 150 are inoperable nodes.

図示の如く動作不可ノードを避けながらトークンを周回
させる事が必要である。
As shown in the figure, it is necessary to circulate the token while avoiding inoperable nodes.

更に、今までトークンを渡していたノードと目ノードと
の中間のアドレス値をもつノードが新たに動作可能状態
となり、ネットワークへの参入の(トークンを受ける)
準備が整った場合には、トークンを渡すべき下流ノード
をこの新しいノードに切り換える事が必要である。
Furthermore, a node with an address value intermediate between the node that has been passing tokens and the eye node becomes operational, and is unable to enter the network (receive tokens).
When ready, it is necessary to switch the downstream node to which the token should be passed to this new node.

以上の動作を前述したトークンを涙すべきノードの定義
として言い直せば 「“動作可能な状態の”ノードのうち、目ノードアドレ
スに最も近く、かつ小なるノード、但し。
The above operation can be rephrased as the definition of a node that should use the token described above as ``A node that is closest to the node address and is smaller among the nodes that are in an operational state.''

該当するノードがない時は、“動作可能な”ノードのう
ち、最大値アドレスをもつノード」という事になる。
If there is no corresponding node, the node with the highest value address among the "operable" nodes.

さて、以上述べた様なネットワーク内のノードの構成の
変動に対しては従来では十分に追従できるものが少なく
、従って例えば一部のノードのダウンがネットワーク全
体のダウンにつながるというケースが多かった。
Now, in the past, there have been few methods that have been able to sufficiently follow the changes in the configuration of nodes in a network as described above, and therefore, for example, there have been many cases where the failure of some nodes leads to the failure of the entire network.

また、上記構成変動に対処する手段を有するものであっ
ても、その処理手順は非常に複雑であり、特に通信制御
ファームウェアのオーバーヘッドが大きい事から、シン
プルなアルゴリズムが求められている。
Furthermore, even if a device has a means for dealing with the above-mentioned configuration variations, its processing procedure is extremely complicated, and in particular, the overhead of communication control firmware is large, so a simple algorithm is required.

L目的」 本発明は上述した従来技術の欠点に鑑みなされたもので
、ネットワークを構成するノードに異常が生じ、通信権
委譲命令が消滅しても確実にネットワークを再構成する
ことができ、かつ、これをシンプルなアルゴリズムで行
なうことのできる網制御方式を提供する事を目的とする
The present invention was developed in view of the above-mentioned drawbacks of the prior art, and is capable of reliably reconfiguring a network even if a node constituting the network becomes abnormal and the communication rights delegation instruction disappears. The purpose of this study is to provide a network control method that can do this using a simple algorithm.

[実施例] 以下、図面を参照して本発明の一実施例を詳纒に説明す
る。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第4図は本発明の一実施例のノードのブロックである0
図中1は第1図に示したLANのネットワーク伝送路、
2は伝送制御装置であるノード、3はノード2に接続さ
れる各種コンピュータ機器や事務機器(第1図図示のホ
スト230〜260に対応)である。
FIG. 4 is a block diagram of a node according to an embodiment of the present invention.
1 in the figure is the LAN network transmission line shown in Figure 1;
2 is a node which is a transmission control device, and 3 is various computer equipment and office equipment connected to the node 2 (corresponding to the hosts 230 to 260 shown in FIG. 1).

ノード2は伝送路lと間のでデータ通信を行う送/受信
回路4、ノードの全体制御及び発信データの加工や受信
データの解読、分解や通信動作のタイミング制御等を行
なう制御部(以下CPUと称す)5.送受信データ等を
蓄積するメモリ回路6、そしてホスト3との間のインタ
フェース回路7、各7−ドに固有のアドレス番号を設定
するスイッチ等で構成されるアドレス設定部8より構成
されている。アドレス設定部8に設定されたアドレス値
はCPU5により読み…され、送受信時の宛先アドレス
、また送信元アドレスとして利用される。
The node 2 includes a transmitting/receiving circuit 4 that performs data communication with the transmission path 1, and a control unit (hereinafter referred to as CPU) that performs overall control of the node, processing of transmitted data, decoding and decomposition of received data, and timing control of communication operations. 5. It is comprised of a memory circuit 6 for storing transmitted and received data, an interface circuit 7 for communicating with the host 3, and an address setting section 8 comprising switches and the like for setting a unique address number for each code. The address value set in the address setting unit 8 is read by the CPU 5 and used as the destination address and source address during transmission and reception.

ホスト3よりの送信すべきデータは、一旦ノード2内の
メモリ回路6に蓄えられ1通信データとしての適切なる
フォーマット化(パケット化)がなされた後、送信先ノ
ードアドレスを宛先アドレス値として、アドレス設定回
路8の設定値を送信元アドレスとして付加した後、目ノ
ード宛トークンを受信し、送信権を獲得した時点で伝送
路lに送出する。
The data to be transmitted from the host 3 is once stored in the memory circuit 6 in the node 2 and appropriately formatted (packetized) as one piece of communication data. After adding the setting value of the setting circuit 8 as a source address, a token addressed to the eye node is received, and when the transmission right is acquired, it is sent to the transmission path l.

一方、他ノードでは、伝送路l上の通信データを全て受
信し、受信データ中の宛先アドレス値を調べ、目ノード
内のアドレス設定回路8の設定値、即ち、目ノード宛の
データであると判断すると、このデータを目ノード内に
取り込み、CPU5で多少の分解、編集処理を行なった
後、接続されたホスト3へと配送する。
On the other hand, the other node receives all the communication data on the transmission path l, checks the destination address value in the received data, and determines that the setting value of the address setting circuit 8 in the second node is the data addressed to the second node. Once determined, this data is taken into the eye node, subjected to some decomposition and editing processing by the CPU 5, and then delivered to the connected host 3.

また、トークンパッシング方式では、伝送路l上を流れ
るデータは全てホスト3相互間での通信データばかりで
はなく、トークン等の各ノード内のCPU目身と、相手
先ノードのCPUとの間のみのいわゆる通信制御データ
も含まれる。
In addition, in the token passing method, all the data flowing on the transmission path l is not only the communication data between the hosts 3, but also the communication data between the CPU in each node such as a token and the CPU of the destination node. It also includes so-called communication control data.

以上のハードウェア構成と前述トークンパッシングの原
理に基づき、ネットワーク内の各々のノードで、トーク
ンを次々に下流ノードに受は渡していく事で一本の伝送
路を共用した通信がなされるわけである。
Based on the above hardware configuration and the principle of token passing mentioned above, each node in the network receives and passes tokens to downstream nodes one after another, thereby performing communication using a single transmission path. be.

さて、各ノードにおいては、一般にトークンを渡すべき
下流ノード(即ち、トークンを送信する際に付加する宛
先アドレスで指定するノード)は、一旦、トークンがネ
ットワーク上を周回してしまうと、固定化されるケース
が多い。
Now, in each node, generally the downstream node to which the token should be passed (that is, the node specified by the destination address added when transmitting the token) is fixed once the token has circulated on the network. There are many cases where

これに対し、本実施例においては以下に述べるRECO
NFIGURATION  (再構成)動作を各ノード
に義務付け、ネットワーク構成の変動に対応して、柔軟
に、下流ノードを変えていく方法をとる。
On the other hand, in this embodiment, the following RECO
A method is adopted in which each node is required to perform an NFIGURATION (reconfiguration) operation, and downstream nodes are flexibly changed in response to changes in the network configuration.

以下、本実施例のデータ伝送制御を第5図のフローチャ
ートを参照して説明する。
The data transmission control of this embodiment will be explained below with reference to the flowchart of FIG.

まずステップSlOで伝送路l上の伝送データを監視し
、目ノード宛のトークンが受信されたが否かを調べる。
First, in step SlO, the transmission data on the transmission path l is monitored to check whether a token addressed to the eye node has been received.

トークンが受信されない時はステップSllに進み、宛
先アドレスが目ノードの設定アドレス値であり、目ノー
ド宛の伝送データか否かを調べ、自ノード宛の伝送デー
タであればステップS12でこのデータを受信し、必要
に応じてホスト3にこの受信データを送る。
If the token is not received, the process proceeds to step Sll, where it is checked whether the destination address is the set address value of the eye node and the transmission data is addressed to the eye node. If the transmission data is addressed to the own node, this data is transmitted at step S12. The received data is received and sent to the host 3 as necessary.

目ノード宛のトークンを受信したときはステップSIO
よりステップS13に進み、ホスト3より送信すべきデ
ータがあり、送信要求があるか否かを調べる。ここで、
送信要求があればステップS14でデータ送信処理を実
行し、ステップS15に進む、ステップ313で送信要
求がないときはそのままステップ315に進む。
When a token addressed to the eye node is received, step SIO
The process then proceeds to step S13, where it is checked whether there is data to be transmitted from the host 3 and whether there is a transmission request. here,
If there is a transmission request, data transmission processing is executed in step S14, and the process proceeds to step S15. If there is no transmission request in step 313, the process directly proceeds to step 315.

ステップ515では受信したトークンが目ノードにおけ
る電源投入後の最初のトークンか否かを調べ、最初のト
ークンのときはステップ521に進む、これはそのノー
ドが伝送動作を開始(例えばパワーオン)して初めてト
ークンを受は取った後のトークン委譲動作時を表し、立
上ったばかりで、自分の受は取ったトークンを受は渡す
べき下流ノードをまだ認識していないことを意味し、こ
れに対処するためである。
Step 515 checks whether the received token is the first token after power-up in the eye node, and if it is the first token, the process proceeds to step 521, which indicates that the node has started a transmission operation (e.g., powered on). This represents the time of token delegation operation after receiving a token for the first time, and it means that the receiver has just started up and the receiver does not yet know the downstream node to which it should pass the token that it took, and this means that This is to do so.

ステップS15で最初のトクーンでない場合にはステッ
プS16に進み、障害パワーダウン等の不測の事態の発
生により、それまで周回していたトークンが消失し、続
くり゛カバリー処理を行なった後の最初のトークン委譲
動作か否かを調べ、最初のトークン委譲の場合にはステ
ップ521に進む、これはトークンにより通信権を委譲
しているシステムにおいてはよく発生する事であり1例
えば、丁度トークンが周回してきたノードがパワーダウ
ンされた場合、そこでトークンが消失してしまいトーク
ンを後のノードに受は渡す事ができなくなるためである
If it is determined in step S15 that it is not the first token, the process advances to step S16, and due to the occurrence of an unexpected situation such as a failure power down, the token that has been circulating until then disappears, and the first token after the subsequent recovery process is It is checked whether the token transfer operation is being performed or not, and if it is the first token transfer, the process proceeds to step 521. This often occurs in systems where communication rights are transferred by tokens1. This is because if a node is powered down, the token disappears and the token cannot be passed on to a subsequent node.

この様な場合、いずれかのノードでトークンを発生し、
トークンの周回を再開するリカバリー処理を行う必要が
あるからである。
In such a case, generate a token at one of the nodes,
This is because it is necessary to perform recovery processing to restart the circulation of the token.

ステップS16でトークン消失後の最初のトークン受信
でない場合にはステップS17に進み、トークンがその
ノードに周回してくるある一足周期ごとのトークン委譲
動作時、もしくは、−足時間周期ごとのトークン委譲動
作時か否かを調べ、一定周期経過時の場合にはステップ
S21に進む、これはネットワークに新規に参入するノ
ードに対処する為である。即ち、今までの下流ノードよ
り更に目ノードに近いアドレス値のノードが立上り、動
作可能となったケースでこの新規参入ノードの前後のノ
ードがこれを知らずにいる場合、いつまでたってもトー
クンはこの新規参入ノードにはまわされてこない、そこ
である一定周期で後述す6 RECONFIGURAT
ION動作を行ナワセ、これら新規参入ノードを認識し
、ネットワークに参入させるためである。
If it is determined in step S16 that this is not the first token received after the token disappears, the process proceeds to step S17, and the process proceeds to step S17, where the token is transferred to the node every one foot period, or when the token is transferred every - foot time period. If a certain period has elapsed, the process proceeds to step S21. This is to deal with a node newly joining the network. In other words, if a node with an address value closer to the eye node than the previous downstream node starts up and becomes operational, and the nodes before and after this newly joined node do not know about this, the token will remain unchanged forever. It is not passed on to the participating node, so 6 RECONFIGURAT, which will be described later, is sent at a certain period.
The purpose of the ION operation is to recognize these newly joining nodes and allow them to join the network.

ステップ317で一定周期経過していない場合にはステ
ップS1gに進み、メモリ回路6内に格納されている前
回のトークン委譲時に用いたノードアドレス値を宛先ア
ドレスとしてトークンを送信する。そして続くステップ
S19でトークンの委譲か正常に行われたか否かを調べ
る。これを識別する手段は各ネットワークの伝送制御手
順によって様々に異なるが、例えばトークンを受は取っ
たノードで肯定応答であるACK応答を返すとか、ある
いは受信ノードが新たな通信動作を開始し1次に伝送路
1に送出された通信データの送信元アドレスがこのノー
ドアドレスであることを判別することにより行われる。
If the fixed period has not elapsed in step 317, the process proceeds to step S1g, and the token is transmitted using the node address value stored in the memory circuit 6 and used in the previous token transfer as the destination address. Then, in the following step S19, it is checked whether the token transfer was performed normally. The means for identifying this differs depending on the transmission control procedure of each network, but for example, the receiving node returns an ACK response as an affirmative response when receiving the token, or the receiving node starts a new communication operation and This is done by determining that the source address of the communication data sent to transmission path 1 is this node address.

トークンの委譲が正常に行われた場合には再びステップ
SIOに戻り、次のデータ伝送に備える。
If the token has been successfully transferred, the process returns to step SIO to prepare for the next data transmission.

ステップ519でトークンの委譲が正常に行われなかっ
た場合にはステップ520でトークンの送信が2度目か
否かを調べ、1度目の場合にはステップ518に進み、
トークンの再送信処理を実行する。ステップ520でト
ークンの送信が2度行われた場合にはステップS21に
進む、これは今までトークンを渡していた相手ノードが
不意にダウンした(故障あるいは電源0FF)場合に対
処するものであり、トークンを委譲すべき新しいノード
を捜し出すためである。
If the token has not been successfully transferred in step 519, it is checked in step 520 whether or not the token has been sent for the second time, and if it is the first time, the process proceeds to step 518;
Execute the token retransmission process. If the token has been sent twice in step 520, the process proceeds to step S21. This is to deal with the case where the other node to which the token has been passed suddenly goes down (failure or power is turned off). This is to find a new node to which the token should be transferred.

ステップS21では新たにトークン委譲光を検出するネ
ットワーク再構築処理であるRECONFIG−1lR
ATION動作を実行し、トークンを正常に委譲し、ス
テップSlOに戻る。
In step S21, RECONFIG-11R is a network reconstruction process that newly detects a token delegation light.
Perform the ATION operation, successfully delegate the token, and return to step SlO.

ステップS21のRECONFIGURATION動作
の詳細を第6図のフローチャートを参照して以下に説明
する。
Details of the RECONFIGURATION operation in step S21 will be explained below with reference to the flowchart of FIG.

まずステップSlで前述の如くメモリ回路6内に宛先ア
ドレスとして格納されているノートアドレスとは無関係
に、自ノードアドレスをメモリ回路6の探索アドレスメ
モリエリアに設足し、続くステップS2でこの設定した
探索ノードアドレスを1だけ減算し、ステップS3でこ
の減算により得た探索ノードアドレスを宛先アドレスと
してトークンを送信する。そして続くステップS4でト
ークンの受は渡しが成功したか否かを調べる。
First, in step Sl, the own node address is set in the search address memory area of the memory circuit 6, regardless of the note address stored as the destination address in the memory circuit 6 as described above, and in the subsequent step S2, the set search The node address is subtracted by 1, and in step S3, the token is transmitted using the search node address obtained by this subtraction as the destination address. Then, in the following step S4, it is checked whether the token transfer was successful or not.

これを識別する手段はステップ319と同様である。The means for identifying this is the same as in step 319.

トークンが下流ノードに正常に送られなかった場合(送
信が失敗すれば)には、相手ノードは動作(通信〕不可
能なノードであるとしてステップS5に進み、探索ノー
ドアドレス値がネットワークに定める最小アドレス値か
否かを調べ、最小アドレス価でない場合にはステップS
2に戻り、再び探索ノードアドレス値を1つ減算し、こ
の新たな探索ノードアドレス値を宛先アドレスとしてト
ークン送信を試みる。
If the token is not successfully sent to the downstream node (if the transmission fails), the process proceeds to step S5, assuming that the other node is an inoperable (communication) node, and the search node address value is the minimum specified by the network. Check whether it is the address value or not, and if it is not the minimum address value, step S
Returning to step 2, the search node address value is subtracted by one again, and token transmission is attempted using this new search node address value as the destination address.

こうして、アドレス値を漸次減算して行ってはそのアド
レス値の7−ドにトークンの送信を試み、いずれかのノ
ードにトークンが受信されるまで、この動作を繰り返す
In this way, the address value is gradually subtracted and a token is attempted to be sent to the 7th address of the address value, and this operation is repeated until a token is received by any node.

もし、上記減算されていったアドレス値がネットワーク
に定める最小アドレス値に達しても、上記トークン受は
渡しが成功しない場合には、ステップS5よりステップ
S6に進み、探索ノードアドレス値をネットワークに定
める最大ノードアドレス値としてステップS3に戻る。
If the token transfer is not successful even if the subtracted address value reaches the minimum address value defined in the network, the process proceeds from step S5 to step S6, and the search node address value is determined in the network. The process returns to step S3 as the maximum node address value.

そして以後はまたン トークンの受は渡しとアドレス値
の減算動作を繰り返す、尚、比較すべき最小値を存在し
ているノード最小アドレスとすれば、その個より小さく
なった場合にステップS6に進む。
From then on, the process of receiving and receiving tokens repeats passing and subtracting address values.If the minimum value to be compared is the minimum existing node address, if the value is smaller than that value, proceed to step S6. .

もし、トークンの受は渡しが成功した場合には、ステッ
プS4よりステップS7に進み、そこで本動作をやめ、
その時の探索ノードアドレス値をメモリ回路6に記憶し
、以後その時のアドレス値を下流ノードアドレスとする
If the token transfer is successful, the process proceeds from step S4 to step S7, where this operation is stopped.
The search node address value at that time is stored in the memory circuit 6, and thereafter the address value at that time is used as the downstream node address.

R1IC0NFIGtlRATION動作の処理は時間
を要するたメ、ステップS 15 、 l 6 、2 
oニ第4t6YEsの如き特定ケースの場合と、ステッ
プS17でのYESの如き一周期毎にのみ行なわれる様
に制御し、他の通常のトークン委譲時に際しては以前の
RECONFIGURATION動作テ求メ、メモ!j
回MSに格納されている次ノードアドレス値を固定値と
してそのまま用いる事で、ネットワークのデータ伝送効
率を低下させない様に配慮している。
Since the processing of R1IC0NFIGtlRATION operation takes time, steps S15, l6, 2
In specific cases such as the 4th t6 YES, and in the case of YES in step S17, control is given so that it is performed only every cycle, and in other normal token transfers, the previous RECONFIGURATION operation is requested, memo! j
By using the next node address value stored in the MS as it is as a fixed value, consideration is given to not reducing the data transmission efficiency of the network.

以上説明したように本実施例によればトークンの委譲が
どのような場合においても確実に行え。
As explained above, according to this embodiment, token delegation can be performed reliably in any case.

かつ、トークン委譲が正常に行えなかった場合にもデー
タ伝送の効率をほとんど損なうことなくネットワークの
再構築を行える。
In addition, even if token delegation cannot be performed normally, the network can be rebuilt with almost no loss in data transmission efficiency.

尚、本実施例では、バス型通信媒体を用いたネットワー
クを説明したが、他の構成1例えばリング型の通信媒体
を用い、トークンバス方式によるトークン委譲を行なう
ものでもよい。
In this embodiment, a network using a bus-type communication medium has been described, but another configuration 1, for example, a ring-type communication medium may be used and token delegation is performed using a token bus method.

「効果」 以上説明したように本発明によれば1例え通信性委譲命
令が消失したとしても、確実にネットワークシステムの
再構築を行える網制御方式が提供できる。
"Effects" As explained above, according to the present invention, a network control method can be provided that can reliably reconstruct a network system even if a communication transfer command is lost.

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

第1図はバス型ネットワークシステム構成を示す図。 第2図、第3図はトークンバス方式におけるトークン周
回の様子を示す概念図である。 第4V!Jは本発明に係る一実施例のブロック図。 第5図は本実施例のデータ伝送制御を示すフローチャー
ト、 第6図は本実施例のネットワーク゛再構成動作フローチ
ャートである。 ここで、!・・・ネットワーク伝送路、2・・・ノード
、3・・・ホスト、4・・・送/受信回路、5・・・C
PU、6・・・メモリ回路、7・・・インタフェース回
路、8・・・アドレス設定回路である。 第1図 第2図 第5図 スダー←
FIG. 1 is a diagram showing the configuration of a bus type network system. FIGS. 2 and 3 are conceptual diagrams showing how tokens circulate in the token bus system. 4th V! J is a block diagram of an embodiment according to the present invention. FIG. 5 is a flowchart showing data transmission control in this embodiment, and FIG. 6 is a flowchart of network reconfiguration operation in this embodiment. here,! ...Network transmission path, 2...Node, 3...Host, 4...Transmission/reception circuit, 5...C
PU, 6... memory circuit, 7... interface circuit, 8... address setting circuit. Figure 1 Figure 2 Figure 5 Sudar←

Claims (1)

【特許請求の範囲】[Claims] 複数の伝送制御装置を通信媒体に互いに接続して宛先ア
ドレスを有する通信権委譲命令により通信権を委譲して
データ通信を行なうネットワークシステムの網制御方式
であつて、前記伝送制御装置に通信権委譲命令を送出す
べき宛先アドレスを探索するアドレス探索手段と、該ア
ドレス探索手段により探索されたアドレスにより通信権
委譲命令を送出する送出手段とを備え、前記伝送制御装
置はリカバリー処理後の最初に前記通信権委譲命令を受
信した時に前記アドレス探索手段を起動することを特徴
とする網制御方式。
A network control method for a network system that performs data communication by connecting a plurality of transmission control devices to each other via a communication medium and delegating communication rights using a communication right delegation command having a destination address, wherein the communication rights are delegated to the transmission control devices. The transmission control device includes address search means for searching for a destination address to which a command should be sent, and sending means for sending a communication right delegation command based on the address searched by the address search means, and the transmission control device A network control system characterized in that the address search means is activated when a communication right transfer command is received.
JP60095367A 1985-05-07 1985-05-07 Network control system Pending JPS61253946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60095367A JPS61253946A (en) 1985-05-07 1985-05-07 Network control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60095367A JPS61253946A (en) 1985-05-07 1985-05-07 Network control system

Publications (1)

Publication Number Publication Date
JPS61253946A true JPS61253946A (en) 1986-11-11

Family

ID=14135653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60095367A Pending JPS61253946A (en) 1985-05-07 1985-05-07 Network control system

Country Status (1)

Country Link
JP (1) JPS61253946A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0436346U (en) * 1990-07-23 1992-03-26

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0436346U (en) * 1990-07-23 1992-03-26
JPH0735469Y2 (en) * 1990-07-23 1995-08-09 横河電機株式会社 Baton pass communication bus controller

Similar Documents

Publication Publication Date Title
US5774640A (en) Method and apparatus for providing a fault tolerant network interface controller
EP0469812B1 (en) Detection of duplicate alias addresses
US7518989B2 (en) Method and apparatus for recovery from faults in a loop network
EP0467696B1 (en) Testing a communications network for duplicate station addresses
JPS6215950A (en) Data transmission control system
CN111585835B (en) Control method and device for out-of-band management system and storage medium
CN100466579C (en) Time-triggered communication system and method for the synchronized start of a dual-channel network
JPH1185644A (en) System switching control method for redundancy system
JP2009194787A (en) Gateway apparatus
JPS61253946A (en) Network control system
JPS61253950A (en) Network control system
JPS60246147A (en) Data transmission control system
JPS61253949A (en) Network control system
JPS61253948A (en) Network control system
JPH1132449A (en) Decentralized supervisory and controlling system
JPS61253945A (en) Network control system
JPS60246148A (en) Data transmission control system
JPS61253947A (en) Network control system
JPS61256846A (en) Network system
CN115134220B (en) Master-slave server switching method and device, computing equipment and storage medium
JPH0430218B2 (en)
JPH0683222B2 (en) Network control method
JPS61285849A (en) Priority communication control system
JPS61285848A (en) Priority communication control system
CN115037674A (en) Single-machine and multi-equipment redundancy backup method for central control system