JPS61253945A - Network control system - Google Patents

Network control system

Info

Publication number
JPS61253945A
JPS61253945A JP60095366A JP9536685A JPS61253945A JP S61253945 A JPS61253945 A JP S61253945A JP 60095366 A JP60095366 A JP 60095366A JP 9536685 A JP9536685 A JP 9536685A JP S61253945 A JPS61253945 A JP S61253945A
Authority
JP
Japan
Prior art keywords
node
address
token
value
network
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
JP60095366A
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 JP60095366A priority Critical patent/JPS61253945A/en
Publication of JPS61253945A publication Critical patent/JPS61253945A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To follow the variation of a network constitution precisely under simple algorithm by starting a network reconstituting means every fixed number of times of reception of a communication right transfer instruction. CONSTITUTION:A lower node address is set up in a self-node setting address and a token is transmitted by using a lower node address subtracted by '1' as a destination address. If the token is not normally transmitted to the lower node, the self-node decides that the lower node is a communication disabled node, checks whether the lower node address value is the minimum address value fixed on the network or not, and if the value is the minimum address value, tries to transmit the token by using a new lower node address value again subtracted by '1' as the destination address. Thus, the transmission of the token to the node of the address value obtained by successively subtracting '1' from the preceding address is tried and the operation is repeated until the token is received by any one of nodes. Consequently, transmission control devices can be precisely combined under simple algorithm.

Description

【発明の詳細な説明】 「技術分野」 本発明は複数の伝送制御装置をバス型通信媒体に接して
なるネットワークシステムの網制御方式%式% 近年、−木の伝送路を共用して多数の通信制御装置(以
下ノードと称す)をWcnt、、、これらノード間でデ
ータ通信を行なうローカルエリアネットワークシステム
、いわゆるLAN”が盛んである。LANにおける種々
の通信方式の中で、トークンパッシング方式はネットワ
ークが高トラヒツク状態でも均等に全ノードに通信サー
ビスを行なうことができ、それ故伝送効率の低下を招か
ないという点で特にすぐれたものである。
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 bus-type communication medium. The communication control device (hereinafter referred to as a node) is Wcnt, and local area network systems, so-called LANs, that perform data communication between these nodes are popular.Among the various communication methods in LAN, the token passing method is a network It is particularly excellent in that it can equally provide communication services to all nodes even under high traffic conditions, and therefore does not cause a drop in transmission efficiency.

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

図中1は伝送路100〜160はLANを構成する各ノ
ードA−Gである。各7−ドA〜G(100〜160)
にはそれぞれ伝送情報の処理を行なうホストA−G(2
00〜260)が接続されている。このように一般にバ
スLANでは一木の伝送路を共用している為、各メート
での発信を無管理で許すと、同時に2つ以上のノードか
ら送信が行なわれる状態が起こり、伝送路上のデータが
混信するいわゆる”衝突”現象が生じる。
In the figure, reference numeral 1 indicates transmission lines 100 to 160, which are nodes A to G constituting the LAN. Each 7-dore A to G (100 to 160)
There are hosts A to G (2) that process transmission information, respectively.
00 to 260) are connected. In general, bus LANs share a single transmission path, so if each mate is allowed to send calls without management, a situation will occur where two or more nodes will be transmitting at the same time, and the data on the transmission path will be A so-called "collision" phenomenon occurs in which there is interference between the two.

これを防ぐための一つの方式としてトークンパッシング
方式がある。トークンパッシング方式ではこれに対し“
トークン″゛なる送信権委譲命令を伝送路を介して、各
ノード間で交換し合い、トークンを受信したノートのみ
が発信する権利(送信権)を獲得する数種としておき、
このトークンを受信したノードは必要があれば(送信要
求があれば)送゛信処理等の一連の通信処理をその“時
点で行い、この処理が終了した時や、あるいは全く送信
処理の必要がない時は1次にトークンを委譲すべきノー
ドにトークンを渡す(送信する)という方法をとって衝
突現象を防いでいる。
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 note that receives the token acquires the right to transmit (transmission right).
The node that receives this token performs a series of communication processes such as transmission processing at that point if necessary (if there is a transmission request), and then performs a series of communication processing such as transmission processing at that point, and when this processing is completed, or if there is no need for transmission processing at all. If there is no such token, a method of passing (sending) the token to the primary node to which it should be delegated is used to prevent collisions.

°°トークン″は、この様にして送信要求のあるノード
での送信処理が終rする毎に次のノードに渡されてネッ
トワーク内の7一ド間に順次巡回されてゆき、ネットワ
ーク内の各構成ノードでは均等に送信権獲得の機会、即
ち通信サービスの機会が与えられるわけである。
In this way, each time the transmission process at the node with the transmission request is completed, the "°°token" is passed to the next node and sequentially circulated among the 7 nodes in the network. The constituent nodes are given equal opportunities to acquire transmission rights, that is, opportunities to receive communication services.

トークンの巡回制御は、ネットワークの形状と関連して
“トークンリング方式と“トークンバス方式万式の2つ
の方式があるが、トークンバス方式においては、通常、
伝送路を単一の線状導体で形成しており、1つのノート
より送信された伝送データは、殆ど同時にネットワーク
の伝送路(第1図伝送路1)に接続された他の全てのノ
ードに受信される。そこで前述のトークン命令も含めて
伝送するデータの先頭には必ず相手先ノードアドレスが
附されており、これを各ノードに固有に割当てられたア
ドレス値と比較して、目/−ドに割当てられたノードア
ドレスと一致した場合に、その伝送データを自ノード宛
のデータとして取り込むか、あるいは無差別に伝送デー
タを取り込んだ後で、上記アドレス比較を行ない、一致
した時初めて正式の目ノード宛受信データとして扱う。
There are two types of token cyclic control depending on the network configuration: the token ring method and the token bus method.In the token bus method, usually
The transmission path is formed by a single linear conductor, and transmission data sent from one node is transmitted almost simultaneously to all other nodes connected to the network transmission path (transmission path 1 in Figure 1). Received. Therefore, the destination node address is always attached to the beginning of the transmitted data, including the aforementioned token command, and this is compared with the address value uniquely assigned to each node, and the destination node address is compared with the address value uniquely assigned to each node. If the address matches the node address, the transmitted data is imported as data addressed to the own node, or after the transmitted data is imported indiscriminately, the above address comparison is performed. Treat it as data.

このトークンバス方式においては、あるノードが次にト
ークンを涙すべきノード(下流ノード〕とは、一般にr
日ノ−ドアドレスに最も近くかつ小なるアドレス価をも
つノード。但し、最少個アドレスのノードに対しては、
最大のアドレス値をもつノード」と定義されている。
In this token bus system, the node (downstream node) to which a certain node should give a token next is generally r
The node closest to the day node address and with the smallest address value. However, for the node with the least number of addresses,
It is defined as "the node with the highest address value".

さて、ネットワークシステムは当然の事ながら、故障に
より動作不可能となる部分が発生する。これはいかなる
高価、高信頼性の部品を使用したとしても免れ得ない事
である。そしてこの一部の故障がシステム全体の動作に
影響を及ぼす事態が生じた時、大きな問題となる。
Now, as a matter of course, there are parts of a network system that become inoperable due to failure. 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つの7−ドがダウン
すると、トークンがこのノードで消滅してしまい次のノ
ードにトークンが送られなくなる。このため、このまま
ではトークンの巡回が行なわれなくなり、ネットワーク
内のいずれのノードに於いても通信不可となる重大事態
が生じる。
If one of the nodes making up the network system goes down, the tokens will disappear at this node and will no longer be sent to the next node. Therefore, if things continue as they are, the tokens will not 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 fail 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.

更にネットワークに於ては故障ではないにもかかわらず
、動作不可能なノードが存在する事を拒めない事情があ
る。即ち、ネットワークではこれに接続される機器やオ
フィスの配置が広範囲に分散する為、ネットワーク内の
ノードを一斉に立上げるよりは部分的に立上げていけた
方がユーザーにとって都合がよく、また、業務の終了し
た機器の7−ドは個々にパワーダウンできる方が好都合
である。これらの場合、一部に動作不可能ノードを含み
ながらネットワークの運転を行なわしめる事になる。
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 is more convenient to be able to individually power down the 7-cards of devices that have finished their operation. In these cases, the network will be operated while including some inoperable nodes.

以上の事を考えると、ネットワーク内の動作可能、不可
能なノードの構成変動は常に生じ得るとすべきであり、
これに対交してネットワーク内の各ノードでは1次にト
ークンを渡すべき下流ノードの状態は常に監視し、もし
、下流ノードが動作不可能に陥いったと判明すれば、た
だちにこのノードをネットワーク構成より外し、トーク
ンの巡回リングより外しく即ち縮退運転し)、トークン
を以後渡すべきノードとして別の適当なノードを選別し
、これに切り換える事が必要となる。
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 to the primary node, and if it becomes clear that the downstream node is 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 passed from now on, and switch to this node.

第1図に示すシステムにおいて例えばノードBl 10
とノードF150が動作不可能ノードである場合のトー
クンの巡回例を第3図に示す。
For example, in the system shown in FIG.
FIG. 3 shows an example of token circulation when node F150 is an inoperable node.

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

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

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

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

さて、以上述べた様なネットワーク内のノードの構成の
変動に対しては従来では十分に追従できるものが少なく
、従って例えば一部のノードのダウンがネットワーク全
体のダウンにつながるというケースが多かった。
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.

E目的」 本発明は上述した従来技術の欠点に鑑みなされたもので
ネットワーク構成の変動に確実に追従でき、かつ、これ
をシンプルなアルゴリズムで行なうことのできる網制御
方式を提供する事を目的とする。
Purpose of the present invention was made in view of the above-mentioned drawbacks of the prior art, and an object of the present invention is to provide a network control method that can reliably follow changes in network configuration and can do this using a simple algorithm. do.

し実施例」 以下1図面を参照して本発明の一実施例を詳細に説明す
る。
EMBODIMENT OF THE INVENTION An embodiment of the present invention will be described in detail below with reference to one drawing.

第4図は本発明の一実施例のノートのブロックである0
図中1は第1図に示したLANのネットワーク伝送路、
2は伝送制御装置であるノード、3はノード2に接続さ
れる各種コンピュータ機器や事務機器(第1図図示のホ
スト230〜260に対応)である。
FIG. 4 is a block of notes 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、各ノードに固有のアドレス番号を設
定するスイッチ等で構成されるアドレス設定部8より構
成されている。アドレス設定部8に設定されたアドレス
偏はCPU5により読み出され、送受信時の宛先アドレ
ス、また送信元アドレスとして利用される。
The node 2 includes a transmitting/receiving circuit 4 that performs data communication with the transmission path l. A control unit (hereinafter referred to as CPU) 5 that performs overall control of the node, processes transmitted data, decodes and disassembles received data, and controls the timing of communication operations, etc., a memory circuit 6 that stores transmitted and received data, etc. It is comprised of an interface circuit 7 between the nodes, and an address setting section 8 consisting of a switch and the like that sets a unique address number for each node. The address bias set in the address setting unit 8 is read out by the CPU 5 and used as the destination address and source address during transmission and reception.

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

−万、他ノードでは、伝送路l上の1通信データを受信
し、受信データ中の宛先アドレス値を調べ、目ノード内
のアドレス設定回路8の設定値、即ち目ノード宛のデー
タであると判断すると、このデータを目メート内に取り
込み、CPU5で多少の分解、wjA集処理を行なった
後、接続されたホスト3へと配送する。
- 10,000, the other node receives one communication data on the transmission path l, checks the destination address value in the received data, and determines that it is the setting value of the address setting circuit 8 in the second node, that is, the data is addressed to the second node. Once determined, this data is taken into the computer, subjected to some decomposition and wjA collection 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 line l is not only the communication data between the hosts 3, but also the communication data only between the CPU in each notebook such as a token and the CPU of the other party's mate. It also includes so-called communication control data.

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

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

さて、各ノードにおいては、一般にトークンを涙すべき
下流ノード(即ち、トークンを送信する際に付加する宛
先アドレスで指足するノード)は、一旦、トークンがネ
ットワーク上を巡回してしまうと、固定化されるケース
が多い。
Now, in each node, the downstream node that should send the token (i.e., the node that adds the destination address when sending the token) is fixed once the token has circulated on the network. There are many cases where this is done.

これに対し、木実施例においては以下に述べるRECO
NFIGURATION  (再構成)動作を各ノード
に義務付け、ネットワーク構成の変動に対応して、柔軟
に、下流ノードを変えていく方法をとる。
On the other hand, in the tree 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.

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

まずステップSlOで伝送路l上の伝送データを監視し
、トークンが受信されたか否かを調べる。トークンが受
信されない時はステップSllに進み、宛先アドレスが
目ノードの設定アドレス値であり、目ノード宛の伝送デ
ータか否かを調べ、目ノード宛の伝送データであればス
テップ512でこのデータを受信し、必要に応じてホス
ト3にこの受信データを送る。
First, in step SlO, the transmission data on the transmission path l is monitored to check whether a token has been received. 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 eye node, this data is transmitted at step 512. The received data is received and sent to the host 3 as necessary.

トークンを受信したときはステップ510よりステップ
513に進み、ホスト3より送信すべきデータがあり、
送信要求があるか否かを調べ、送信要求があればステッ
プ514でデータ送信処理を実行しステップ515に進
む、ステップ513で送信要求がないときはそのままス
テップ515に進む。
When a token is received, the process advances from step 510 to step 513, where there is data to be sent from the host 3,
It is checked whether or not there is a transmission request. If there is a transmission request, data transmission processing is executed in step 514 and the process proceeds to step 515. If there is no transmission request in step 513, the process directly proceeds to step 515.

ステップS15では受信したトークンが目ノードが電源
投入後の最初のトークンか否かを調べ。
In step S15, it is checked whether the received token is the first token after the power of the eye node is turned on.

最初のトークンのときはステップ321に進む。If it is the first token, the process advances to step 321.

これはそのノードが伝送動作を開始(例えばパワーオン
)して初めてトークンを受は取った後のトークン委譲動
作時を表し、立上ったばかりで、巨万の受は取ったトー
クンを受は渡すべき下流ノードをまだ認識していないこ
とを意味し、これに対処するためである。
This represents the token delegation operation after the node has started transmitting (for example, powered on) and has received the token for the first time. This means that the downstream node is not yet recognized, and this is to deal with this.

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

この様な場合、いずれかの7−ドでトークンを発生し、
トークンの巡回を再開するりカバリ−処理を行う必要が
あるからである。
In such a case, generate a token on any 7-card,
This is because it is necessary to restart token circulation or perform recovery processing.

ステップS16でトークン消失後の最初のトークン受信
でない場合にはステップ317に進み、トークンがその
ノードに巡回してくるある一定周期ごとのトークン委譲
動作時、もしくは、一定時間周期ごとのトークン委譲動
作時か否かを調べ、一定周期経過時の場合にはステップ
521に進む、これはネットワークに新規に参入するノ
ードに対処する為である。即ち、今までの下流ノードよ
り更に目ノードに近いアドレス値のノードが立上り、動
作可能となったケースでこの新規参入メートの前後のノ
ードがこれを知らずにいる場合、いつまでたってもトー
クンはこの新規参人ノードにはまわされてこない、そこ
である一定周期で後述するRECONFIGURATI
ON動作を行なわせ。
If it is determined in step S16 that this is not the first token received after the token disappears, the process proceeds to step 317, and the process proceeds to step 317, where the token is circulated to the node at a certain periodic token transfer operation, or at a certain time periodic token transfer operation. It is checked whether or not this is the case, and if a certain period has elapsed, the process proceeds to step 521. 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 new entrant mate are unaware of this, the token will remain with this new node forever. It is not passed to the participant node, so RECONFIGURATI, which will be described later, is performed at a certain period.
Perform the ON operation.

これら新規参入ノードを認識し、ネットワークに参入さ
せるためである。
This is to recognize these newly joining nodes and allow them to join the network.

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

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

ステップS19でトークンの委譲が正常に行われなかっ
た場合にはステップ520でトークンの送信が2度目か
否かを調べ、1度目の場合にはステップ818に進み、
トークンの再送信処理を実行する。ステップ520でト
ークンが2度行われた場合にはステップ521に進む、
これは今までトークンを渡していた相手ノードが不意に
ダウンした(故障あるいは電源0FF)場合に対処する
ものであり、トークンを委譲すべき新しいノードを捜し
田すためである。
If the token is not successfully transferred in step S19, 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 818.
Execute the token retransmission process. If the token is made twice in step 520, proceed to step 521;
This is to deal with the case where the partner node to which the token has been previously passed suddenly goes down (failure or power off), and is to search for a new node to which the token should be transferred.

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

ステップS 21 (7)RECONFIGURATI
ON動作の詳細を第6図のフローチャートを参照して以
下に説明する。
Step S 21 (7) RECONFIGURATIO
The details of the ON operation will be explained below with reference to the flowchart of FIG.

まずステップSlで今までの下流ノードアドレスとは無
関係に、下流ノードアドレスを目ノードの設定アドレス
に設定し、続くステップS2でこの下流ノードアドレス
を1だけ減算し、ステップS3でこの下流ノードアドレ
スを宛先アドレスとしてトークンを送信する。そして続
くステップS4でトークンの受は渡しが成功したか否か
を調べる。これを識別する手段はステップ519と同様
である。
First, in step Sl, the downstream node address is set to the set address of the second node, regardless of the previous downstream node address, in the subsequent step S2, this downstream node address is subtracted by 1, and in step S3, this downstream node address is Send the token as the destination address. Then, in the following step S4, it is checked whether the token transfer was successful or not. The means for identifying this is the same as step 519.

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

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

もし、上記減算されていったアドレス値がネットワーク
に定める最小アドレス価に達しても、上記トークン受は
渡しが成功しない場合には、ステップS5よりステップ
S7に進み、下流ノードアドレスf1をネットワークに
定める最大ノードアドレス値としてステップS3に戻る
。そして以後はまた、トークンの受は渡しとアドレス値
のwc′x動作を繰り返す。
If the token delivery is not successful even if the subtracted address value reaches the minimum address value specified in the network, the process proceeds from step S5 to step S7, and the downstream node address f1 is determined in the network. The process returns to step S3 as the maximum node address value. Thereafter, the token receiving, passing, and address value wc'x operations are repeated.

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

RECONF I GIJRA T I ON動作ノ処
理ハ時間tuする為、ステップ515.16でYES 
、ステップ320でNOの如き特定ケースとステップ3
17のYESの如く一定周期毎にのみ行なわれる様にし
、他の通常のトークン委譲時に際しては以前のREGO
NFIGURATION動作で求めた次ノードアドレス
値を固定値として、そのまま用いる事でネットワークの
データ伝送効率を低下させない様に配慮している。
YES in step 515.16 to take more time to process the RECONF I GIJRA T I ON operation.
, specific cases such as NO in step 320 and step 3
17: YES, so that it is done only at regular intervals, and when other normal token transfers are made, the previous REGO
The next node address value obtained by the NFIGURATION operation is set as a fixed value, and by using it as is, consideration is given so as not to reduce the data transmission efficiency of the network.

以上説明したように本実施例によればトークンの委譲が
どのような場合においても確実に行え、かつ、トークン
委譲が正常に行えなかった場合にもデータ伝送の効率を
ほとんど損なうことなくネットワークの再構築を行える
As explained above, according to this embodiment, token transfer can be performed reliably in any case, and even if token transfer cannot be performed normally, the network can be regenerated with almost no loss in data transmission efficiency. Can be constructed.

L効果」 以上説明した様に本発明によれば、ネットワークシステ
ムにおいて、故障その他で動作不可能となる伝送制御装
置の切り離しや、新たに動作可能となった伝送制御装置
の組み込みを確実に、しかもシンプルなアルゴリズムで
行うことができる。
As explained above, according to the present invention, in a network system, it is possible to reliably disconnect a transmission control device that has become inoperable due to a failure or otherwise, and to incorporate a transmission control device that is newly operable. This can be done using a simple algorithm.

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

81図はバス型ネットワークシステム構成を示す図。 第2図、第3図はトークンバス方式におけるトークン巡
回の様子を示す概念図である。 第4図は本発明に係る一実施例のブロック図、第5図は
本実施例のデータ伝送fWJ 11を示すフローチャー
ト、 第6図は本実施例のネットワーク再構成動作フローチャ
ートである。 ここで、l・・・ネットワーク伝送路、2・・・ノート
、3・・・ホスト、4・・・送/受信回路、5・・・C
PU、6・・・メモリ回路、7・・・インタフェース回
路、8・・・アドレス設定回路である。 第1図 第2図 第3図
FIG. 81 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. FIG. 4 is a block diagram of an embodiment according to the present invention, FIG. 5 is a flowchart showing the data transmission fWJ 11 of this embodiment, and FIG. 6 is a flowchart of network reconfiguration operation of this embodiment. Here, l...network transmission path, 2...notebook, 3...host, 4...transmission/reception circuit, 5...C
PU, 6... memory circuit, 7... interface circuit, 8... address setting circuit. Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 複数の伝送制御装置をバス型通信媒体に互いに接続して
宛先アドレスを有する通信権委譲命令により通信権を委
譲してデータ通信を行なうネットワークシステムの網制
御方式であつて、前記伝送制御装置に固有のアドレス値
を設定するアドレス設定手段と、該アドレス設定手段の
設定値を初期値とし該設定値より一定数を減算して得ら
れた値を前記通信権委譲命令の宛先アドレスとし、該値
がネットワークシステムで定めた最小アドレス値より小
さい場合にはネットワークシステムの定めた最大アドレ
ス値より一定値を減算して得られたアドレス値を固有の
アドレス値とする伝送制御装置に対して通信権委譲命令
の伝送を試みるネットワーク再構成手段とを備え、前記
伝送制御装置は前記通信権委譲命令を一定回数受け取る
毎にネットワーク再構成手段を起動することを特徴とす
る網制御方式。
A network control method for a network system in which a plurality of transmission control devices are connected to each other via a bus-type communication medium and data communication is performed by delegating communication rights using a communication right delegation command having a destination address, which is unique to the transmission control device. an address setting means for setting the address value of the address setting means, and a value obtained by subtracting a certain number from the setting value with the setting value of the address setting means as an initial value, and the value obtained by subtracting a certain number from the setting value, and the value is the destination address of the communication rights transfer instruction. If the address value is smaller than the minimum address value determined by the network system, the address value obtained by subtracting a certain value from the maximum address value determined by the network system is used as the unique address value. Communication rights delegation command is issued to the transmission control device. network reconfiguration means for attempting transmission of the communication rights, and the transmission control device activates the network reconfiguration means every time it receives the communication right transfer command a certain number of times.
JP60095366A 1985-05-07 1985-05-07 Network control system Pending JPS61253945A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=14135626

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS61253945A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223726A (en) * 2000-02-10 2001-08-17 Toyo Microsystems Corp Method, device, and system for multiplex communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223726A (en) * 2000-02-10 2001-08-17 Toyo Microsystems Corp Method, device, and system for multiplex communication
US6987776B1 (en) 2000-02-10 2006-01-17 Fuji Jukogyo Kabushiki Kaisha Multiplex communication method, the device and the system thereof

Similar Documents

Publication Publication Date Title
EP0469812B1 (en) Detection of duplicate alias addresses
US7372859B2 (en) Self-checking pair on a braided ring network
US5371897A (en) Method for requesting identification of a neighbor node in a data processing I/O system
US5283571A (en) Testing a communications network for duplicate station addresses
CN100466579C (en) Time-triggered communication system and method for the synchronized start of a dual-channel network
CN114884767B (en) Synchronous dual-redundancy CAN bus communication system, method, equipment and medium
JPS61253945A (en) Network control system
JPS61253950A (en) Network control system
JPS61253948A (en) Network control system
JPH1132449A (en) Decentralized supervisory and controlling system
JP3777809B2 (en) Method for detecting line abnormality in duplex communication system
US10795848B2 (en) Dual way communication method, system, and master device thereof
JPH04360440A (en) Transmission line fault detection system
JPS61253946A (en) Network control system
JPS61253949A (en) Network control system
JPS61253947A (en) Network control system
JPS60246148A (en) Data transmission control system
JPH0430218B2 (en)
JP3133172B2 (en) Multi-wave ring LAN fault management system
KR101992713B1 (en) Communication interface apparatus
JPH08139730A (en) Logic circuit switching method for communication network
JPS60201760A (en) Data transmission system
JPS61283250A (en) Network control system
CN111224838A (en) Method for confirming node state in time-triggered bus and node
JPS62176236A (en) Method for preventing transmission error at reply packet transmission