Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0683222B2 - Network control method - Google Patents
[go: Go Back, main page]

JPH0683222B2 - Network control method - Google Patents

Network control method

Info

Publication number
JPH0683222B2
JPH0683222B2 JP12412685A JP12412685A JPH0683222B2 JP H0683222 B2 JPH0683222 B2 JP H0683222B2 JP 12412685 A JP12412685 A JP 12412685A JP 12412685 A JP12412685 A JP 12412685A JP H0683222 B2 JPH0683222 B2 JP H0683222B2
Authority
JP
Japan
Prior art keywords
transmission
node
token
network
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP12412685A
Other languages
Japanese (ja)
Other versions
JPS61283250A (en
Inventor
貢司 高尾
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 JP12412685A priority Critical patent/JPH0683222B2/en
Publication of JPS61283250A publication Critical patent/JPS61283250A/en
Publication of JPH0683222B2 publication Critical patent/JPH0683222B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は通信権委譲命令であるトークンにより通信権を
委譲するトークンバス方式のネツトワークシステムにお
ける網制御方式に関するものである。
The present invention relates to a network control method in a token bus type network system for transferring a communication right by a token which is a communication right transfer instruction.

[従来の技術] 近年、一本の伝送路を共用して多数の通信制御装置(以
下ノードと称す)を接続し、これらノード間でデータ通
信を行なうローカルエリアネツトワークシステム、いわ
ゆる“LAN"が盛んである。LANにおける種々の通信方式
の中で、トークンパツシング方式はネツトワークが高ト
ラヒツク状態でも均等に全ノードに通信サービスを行な
うことができ、それ故伝送効率の低下を招かないという
点で特にすぐれたものである。
[Prior Art] In recent years, a local area network system for connecting a number of communication control devices (hereinafter referred to as nodes) sharing a single transmission line and performing data communication between these nodes, a so-called "LAN" has been developed. It is flourishing. Among the various communication methods in LAN, the token passing method is particularly excellent in that it can provide communication service to all nodes evenly when the network is in a high traffic state, and therefore does not cause a decrease in transmission efficiency. It is a thing.

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

図中1は伝送路100〜160はLANを構成成る各ノードA〜
Gである。各ノードA〜G(100〜160)にはそれぞれ伝
送情報の処理を行なうホストA〜G(200〜260)が接続
されている。
In the figure, reference numeral 1 denotes transmission lines 100 to 160, and each node A constituting a LAN.
G. Hosts A to G (200 to 260) for processing transmission information are connected to the nodes A to G (100 to 160), respectively.

トークンの巡回制御は、ネツトワークの形状と関連して
“トークンリング”方式と“トークンバス”方式の2つ
の方式があるが、トークンバス方式においては、通常、
伝送を単一の線状状態で形成しており、1つのノードよ
り送信された伝送データは、殆ど同時にネツトワークの
伝送路(第2図伝送路1)に接続された他の全てのノー
ドに受信される。
There are two types of token circulation control, a "token ring" system and a "token bus" system, depending on the shape of the network.
Transmission is formed in a single linear state, and transmission data sent from one node is transmitted to all other nodes connected to the network transmission line (transmission line 1 in FIG. 2) almost at the same time. Be received.

そこで前述のトークン命令も含めて伝送するデータの先
頭には必ず相手先ノードアドレスが附されており、これ
を各ノードに固有に割当てられたアドレス値と比較し
て、自ノードに割当てられたノードアドレスと一致した
場合に、その伝送データを自ノード宛のデータとして取
り込むか、あるいは無差別に伝送データを取り込んだ後
で、上記アドレス比較を行ない、一致した時初めて正式
の自ノード宛受信データとして扱う。
Therefore, the destination node address is always added to the beginning of the data to be transmitted including the above token command, and this is compared with the address value uniquely assigned to each node, and the node assigned to the own node When it matches the address, the transmission data is taken as the data addressed to the own node, or after the transmission data is indiscriminately taken, the above address comparison is performed, and when it matches, the data is officially addressed to the own node. deal with.

このトークンバス方式においては、あるノードが次にト
ークンを渡すべきノード(下流ノード)とは、一般に
「自ノードアドレスの最も近くかつ小なる(あるいは大
なる)アドレス値をもつノード。但し、最小値(あるい
は最大値)アドレスのノードに対しては、最大(あるい
は最小)のアドレス値をもつノード」と定義されてい
る。
In this token bus system, a node to which a token should be passed next (downstream node) is generally "a node that is the closest to its own node address and has a small (or large) address value. A node having a maximum (or minimum) address value is defined as a node having a (or maximum value) address.

第3図に第2図に示すLANのトークン巡回例を示す。上
述弧内の動作による場合はトークンの巡回方向は逆転す
るだけである。また、ネツトワーク内に故障あるいはパ
ワーダウンによる動作不可能ノードが存在する場合、こ
れらを巧みに避けてトークンの巡回を行なわしめる必要
がある。即ち、動作不可能ノードがあれば、このノード
をネツトワーク構成より外し、トークンの巡回リングよ
り外し(即ち縮退運転し)、トークンを以後渡すべきノ
ードとして別の適当なノードを選別し、これに切り換え
る事が必要となる。第2図に示すシステムにおいて例え
ばノードB110とノードF150が動作不可能ノードである場
合のトークンの巡回例を第4図に示す。
FIG. 3 shows an example of token circulation of the LAN shown in FIG. In the case of the movement within the arc, the token circulation direction is only reversed. In addition, if there are inoperable nodes due to a failure or power down in the network, it is necessary to skillfully avoid them and perform token circulation. That is, if there is an inoperable node, remove this node from the network configuration, remove it from the token cyclic ring (that is, perform degenerate operation), select another appropriate node as the node to which the token should be passed thereafter, and select it. It is necessary to switch. In the system shown in FIG. 2, for example, when the node B110 and the node F150 are inoperable nodes, an example of token circulation is shown in FIG.

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

さて、トークンの巡回を開始するに当つては、ネツトワ
ーク中のいずれかのノードでトークンを発生し、そして
これを次のノードへ渡す動作が必要である。これについ
ては一般のトークンバス方式のネツトワークシステムに
おいては、スタートアツプ時、もしくはトークン消失時
に、トークンをネツトワークを構成する特定ノードで発
生し、引き続いてデータ伝送が可能な様に自由にトーク
ンを送信する事を許す手法をとる。
Now, in order to start the token circulation, it is necessary to generate a token at any node in the network and pass it to the next node. Regarding this, in a general token bus type network system, at the time of start-up or when the token disappears, a token is generated at a specific node that constitutes the network, and the token is freely generated so that data can be transmitted subsequently. Take a method that allows you to send.

特定ノードにおいてはトークンを新たに委譲すべきノー
ドを検出する処理が必要となり、特にパワーアツプ時に
おいてはどのノードが伝送可能であるか全く解らず、ネ
ツトワーク内に存在する全ノードに対して動作確認を行
つていた。
It is necessary for the specific node to detect the node to which the token should be newly transferred. Especially at power-up, it is completely unknown which node can transmit, and the operation is confirmed for all nodes existing in the network. Was going.

[発明が解決しようとする問題点] 上述した従来の技術においては各ノードの動作確認処理
に多くの時間を要するため、一定時間毎にしか行つてお
らず、ネツトワークを構成するノードが動作可能になつ
ても一定時間が経過しない限りデータ伝送は出来なかつ
た。
[Problems to be Solved by the Invention] In the above-described conventional technique, since it takes a lot of time to confirm the operation of each node, it is performed only at regular time intervals, and the nodes constituting the network can operate. Even then, data could not be transmitted unless a certain period of time passed.

[問題点を解決するための手段] 本発明は上述の問題点を解決するために、通信媒体によ
り複数の伝送装置を互いに接続して通信権委譲命令であ
るトークンにより通信権を獲得した伝送装置が送信権を
得るネットワークシステムの網制御方式において、ネッ
トワークを構成する伝送装置のうち特定伝送装置が、新
規の伝送装置のネットワーク内への参入によりトークン
が紛失した時及びシステム立ち上げ時に新規にトークン
を発生可能とし、前記特定伝送装置は、自装置のアドレ
ス値を初期値とし、その初期値から順に1づつアドレス
値をずらし宛先アドレスを設定する宛先アドレス設定手
段と、前記宛先アドレス設定手段により設定されたアド
レス値を固有のアドレス値とする伝送装置に対して、該
伝送装置が動作可能か否かを調べるための伝送フレーム
を送信する送信手段と、前記送信手段による伝送フレー
ムの送信後伝送フレームを送信した伝送装置から応答信
号が返送されてくると、前記伝送フレームを送信した伝
送装置のアドレス値をネットワーク構成テーブルに記憶
する記憶手段と、前記宛先アドレス設定手段によるアド
レス値の設定、前記送信手段による伝送フレームの送信
及び前記記憶手段によるアドレス値の記憶を全ての伝送
装置に対して繰り返し実行する制御手段と、前記ネット
ワーク構成テーブルに記憶されているアドレス値をネッ
トワークを構成する複数の伝送装置へ通知する通知手段
とを有する。
[Means for Solving Problems] In order to solve the above problems, the present invention is a transmission device in which a plurality of transmission devices are connected to each other by a communication medium and a communication right is acquired by a token that is a communication right transfer instruction. In the network control method of a network system in which a token is lost, when a specific transmission device among the transmission devices that make up the network loses a token due to the entry of a new transmission device into the network and when the system is started up, a new token The specific transmission device uses the address value of its own device as an initial value, and shifts the address value one by one from the initial value to set the destination address, and the destination address setting device sets the destination address. To check whether the transmission device can operate with respect to the transmission device that uses the specified address value as a unique address value When a response signal is returned from the transmission means for transmitting the transmission frame and the transmission device for transmitting the transmission frame after the transmission frame is transmitted by the transmission means, the address value of the transmission device for transmitting the transmission frame is set in the network configuration. Storage means for storing in a table, and control means for repeatedly executing setting of an address value by the destination address setting means, transmission of a transmission frame by the transmission means and storage of an address value by the storage means for all transmission devices. , Notification means for notifying the plurality of transmission devices forming the network of the address value stored in the network configuration table.

[作用] かかる構成において、全ての伝送装置に対して伝送コマ
ンドを送出しても、応答信号を返送してくる伝送装置が
存在しない場合、再度初めからアドレス値の設定、伝送
フレームの送信及びそのアドレス値の記憶を全ての伝送
装置に対して繰り返し実行し、伝送コマンドに対する応
答信号を返送してくる伝送装置が存在する場合、トーク
ン送出処理を行いデータ伝送を可能とし、ネットワーク
を構成する複数の伝送装置のそれぞれは、トークンを委
譲する際に、特定伝送装置から通知されたネットワーク
構成テーブルの内容に基づいてトークンを他の伝送装置
へ送出する。
[Operation] In such a configuration, even if the transmission command is sent to all the transmission devices, if there is no transmission device returning the response signal, the address value is set, the transmission frame is transmitted, and the transmission frame is transmitted again from the beginning. When there is a transmission device that repeatedly stores the address value for all transmission devices and sends back a response signal to the transmission command, the token transmission process is performed to enable data transmission, and there are multiple transmission devices that make up the network. When delegating the token, each of the transmission devices sends the token to another transmission device based on the contents of the network configuration table notified from the specific transmission device.

[第1実施例] 以下、図面を参照して本発明の一実施例を詳細に説明す
る。
First Embodiment Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例のノードのブロツク図であ
り、第2図に示すネツトワークシステムを構成してい
る。第2図の説明については上述してあるため省略す
る。
FIG. 1 is a block diagram of a node according to an embodiment of the present invention, which constitutes the network system shown in FIG. The description of FIG. 2 is omitted because it has been described above.

第1図中1はLANのネツトワーク伝送路、2は伝送制御
装置であるノード、3はノード2に接続される各種コン
ピユータ機器や事務機器(以下ホストと称す)である。
In FIG. 1, 1 is a LAN network transmission line, 2 is a node which is a transmission control device, and 3 is various computer equipment and office equipment (hereinafter referred to as a host) connected to the node 2.

ノード2は伝送路1との間でデータ通信を行う通信回路
12、及び受信回路11、受信回路11での受信データがトー
クンが否かを判別するトークン判別回路4、ノードの全
体制御及び送信データの加工や受信データの解読、分解
や通信動作のタイミング制御等を行なう制御部(以下CP
Uと称す)5、送受信データ、CPU5の制御手順等を蓄積
するメモリ回路6、ホスト3との間のインタフエース回
路7、各ノードに固有のアドレス番号(ノードアドレ
ス)を設定するスイツチ等で構成されるアドレス設定部
8、ネツトワークの各構成ノードのアドレス情報等のネ
ツトワーク構成を記憶するネツトワーク構成テーブル
9、宛先アドレス判別回路13より構成されている。
The node 2 is a communication circuit that performs data communication with the transmission line 1.
12, a receiving circuit 11, a token discriminating circuit 4 for discriminating whether or not the received data in the receiving circuit 11 is a token, overall control of a node, processing of transmitted data, decoding of received data, timing control of disassembly and communication operation, etc. Control unit (hereinafter CP
5), a transmission / reception data, a memory circuit 6 for storing the control procedure of the CPU 5, an interface circuit 7 with the host 3, a switch for setting a unique address number (node address) for each node, etc. It comprises an address setting unit 8, a network configuration table 9 for storing network configuration such as address information of each configuration node of the network, and a destination address discriminating circuit 13.

アドレス設定部8に設定されたアドレス値、及びネツト
ワーク構成テーブル9のノード情報はCPU5により読み出
され、送受信時の宛先アドレス、送信元アドレス等とし
て利用される。
The address value set in the address setting unit 8 and the node information in the network configuration table 9 are read by the CPU 5 and used as a destination address, a source address, etc. at the time of transmission / reception.

また、後述するマスタノードには鎖線で示すタイマ回路
10が備えられており、一定時間トークンが検出されない
時はその旨をCPU5に報知する。
In addition, a timer circuit shown by a chain line in the master node described later.
10 is provided, and when no token is detected for a certain period of time, the fact is notified to the CPU 5.

ホスト3よりの送信すべきデータは、受信回路11で自ノ
ード宛のトークンを受信し、送信権を獲得した時に初め
て送信回路12を介して伝送路1に送出することができ
る。
The data to be transmitted from the host 3 can be transmitted to the transmission line 1 via the transmission circuit 12 only when the reception circuit 11 receives the token addressed to the own node and acquires the transmission right.

伝送すべきデータは一旦ノード2内のメモリ回路6に蓄
えられ、通信データとしての適切なるフオーマツト化
(パケツト化)がなされ、ネツトワーク構成テーブル9
よりの送信先ノードアドレスを宛先アドレス値、アドレ
ス設定回路8の設定値を送信元アドレスとして付加した
後、伝送路1に送出する。
The data to be transmitted is temporarily stored in the memory circuit 6 in the node 2 and is converted into an appropriate format (packet) as communication data.
The destination node address is added as the destination address value, and the setting value of the address setting circuit 8 is added as the source address, and then sent to the transmission line 1.

伝送情報の受信は伝送路1上の通信データを受信回路11
にて受信し、宛先アドレス判別回路13で受信データ中の
宛先アドレス値を調べ、自ノード内のアドレス設定回路
8の設定値、即ち自ノード宛のデータであると判断する
と、これをCPU5に報知し、このデータを自ノード内に取
り込み、CPU5で多少の分解、編集処理を行なつた後、必
要に応じて接続されたホスト3へと配送する。
For receiving the transmission information, the communication data on the transmission line 1 is received by the receiving circuit 11
When the destination address discriminating circuit 13 checks the destination address value in the received data and determines that it is the set value of the address setting circuit 8 in the own node, that is, the data is addressed to the own node, this is notified to the CPU 5. Then, this data is taken into its own node, and after being somewhat decomposed and edited by the CPU 5, it is delivered to the connected host 3 as necessary.

以上のハードウエア構成と前述トークンパツシングの原
理に基づき、ネツトワーク内の各々のノードで、トーク
ンを次々に下流ノードに受け渡していく事で一本の伝送
路を共用した通信がなされるわけである。第2図の各ノ
ードが全て立ち上がつている時にはトークンは第3図に
示す如くに巡回する。
Based on the above hardware configuration and the principle of token passing described above, each node in the network transfers tokens to downstream nodes one after another, so that communication that shares one transmission line is performed. is there. When all the nodes in FIG. 2 are up, the token circulates as shown in FIG.

本実施例のネツトワークシステム構成を第2図に示す構
成として以下説明を行う。
The network system configuration of this embodiment will be described below with the configuration shown in FIG.

本実施例ネツトワークシステムを巡回する伝送フレーム
の構成を第5図(A),(B)に示す。
The structure of the transmission frame circulating in the network system of this embodiment is shown in FIGS. 5 (A) and 5 (B).

図中200はトークンフレーム、201は送信元アドレス(以
下、SAと称す)、202は宛先アドレス(以下、DAと称
す)、203はトークンフレームを表すトークンコード、2
05はデータフレームを表す伝送コード、206は伝送情報
である。
In the figure, 200 is a token frame, 201 is a source address (hereinafter referred to as SA), 202 is a destination address (hereinafter referred to as DA), 203 is a token code representing a token frame, 2
05 is a transmission code representing a data frame, and 206 is transmission information.

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

ノード装置の電源が投入されると、ステップS1でトーク
ンを最初に生成して他のノードに送出(委譲)すること
ができるネツトワーク中の唯一の特定ノード(以下マス
タノードと称す)か否かを判別し、マスタノードであれ
ばステップS2に進み、ネツトワーク構築処理を実行し、
続くステップS3でタイマ回路10をスタートさせる。
When the node device is powered on, whether or not it is the only specific node (hereinafter referred to as the master node) in the network that can first generate a token in step S1 and send (transfer) it to another node. If it is the master node, the process proceeds to step S2 to execute the network construction process,
In the subsequent step S3, the timer circuit 10 is started.

そしてこのネツトワーク構築処理が終了するとステツプ
S4に進み、SA201に自ノードアドレスを、203にトークン
コードを設定し、トークンを委譲すべき下流ノードアド
レスをステップS3で構築したネツトワーク構成テーブル
9を参照して決定し、DA202に設定し、トークンフレー
ム200を生成する。そしてこれを送信回路12を介して伝
送路1に送出し、送信権を下流ノードに委譲した後、ス
テツプS5に進む。
When the network construction process is completed, the step
Proceed to S4, set the own node address in SA201, set the token code in 203, determine the downstream node address to which the token should be transferred by referring to the network configuration table 9 constructed in step S3, and set it in DA202. Generate the token frame 200. Then, this is sent to the transmission line 1 via the transmission circuit 12, the transmission right is transferred to the downstream node, and then the process proceeds to step S5.

一方、ステップS1でマスタノードでない場合にもステッ
プS5に進む。
On the other hand, if the master node is not the master node in step S1, the process proceeds to step S5.

ステップS5では伝送路1より伝送フレームを受信したか
否かを監視し、伝送フレームを受信しない時はステップ
S6に進み、マスタノードか否かを調べ、マスタノードで
あればステツプS7でタイマ回路10よりタイムアウトの割
り込みによる報知があるか否かを調べる。タイマ回路10
はトークンがネツトワークを一巡するに足る十分な時
間、又は1ノード当りのトークン最大保有時間に設定さ
れており、タイマ回路10に設定された所定時間経過して
もトークン判別回路4よりのトークン検出のない場合に
はネツトワーク構成に変更があるとしてステップS2に戻
り、ネツトワーク構築処理を実行する。タイムアウトで
ない場合、マスタノードでない場合にはステップS5に進
み、伝送フレームの受信を持つ。
In step S5, it is monitored whether or not the transmission frame is received from the transmission line 1. If the transmission frame is not received, the step is performed.
In S6, it is checked whether or not it is the master node, and if it is the master node, in step S7 it is checked whether or not there is a notification by the time-out interrupt from the timer circuit 10. Timer circuit 10
Is set to a time sufficient for the token to complete one cycle of the network, or the maximum holding time of the token per node. Even if the predetermined time set in the timer circuit 10 has elapsed, the token detection circuit 4 detects the token. If not, the network configuration is changed and the process returns to step S2 to execute the network construction process. If it is not the time-out or if it is not the master node, the process proceeds to step S5, and the transmission frame is received.

ステップS5で伝送フレームを受信するとステップS8に進
み、トークン判別回路4が受信した伝送フレーム中の伝
送コード領域(203,205)を調べ、ここがトークンコー
ド203か否かを調べる。トークンフレームの受信の場合
にはステツプS5に進み、マスタノードであればタイマ回
路10のタイマをリスタートする。そしてステップS10
で、宛先アドレス判別回路13は受信フレーム中のDA202
とアドレス設定回路8に設定された自ノードアドレス値
とを比較する。そして両値が一致しない場合、即ち自ノ
ード宛先送フレームでない場合にはステツプS5に戻り、
自ノード宛の伝送フレームの受信に備える。
When the transmission frame is received in step S5, the process proceeds to step S8, and the transmission code area (203, 205) in the transmission frame received by the token determination circuit 4 is checked to see whether or not it is the token code 203. When the token frame is received, the process proceeds to step S5, and if it is the master node, the timer of the timer circuit 10 is restarted. And step S10
Then, the destination address determination circuit 13 determines that the DA202 in the received frame is
And the own node address value set in the address setting circuit 8 are compared. Then, if the two values do not match, that is, if it is not the own node destination transmission frame, the process returns to step S5,
Be prepared to receive a transmission frame addressed to its own node.

自ノード宛伝送フレームの場合にはステツプS11に進
み、トークンの受信により送信権を獲得する。そして続
くステツプS12でホスト3又は自ノードよりの送信すべ
きデータがあるか、即ち送信要求があるか否かを調べ、
送信要求があればステツプS13でデータを送信すべき伝
送フレームを生成する。
In the case of the transmission frame addressed to the own node, the process proceeds to step S11 and the transmission right is acquired by receiving the token. Then, in the subsequent step S12, it is checked whether or not there is data to be transmitted from the host 3 or its own node, that is, whether or not there is a transmission request,
If there is a transmission request, a transmission frame for transmitting data is generated in step S13.

具体的には送信先ノードに固有のノードアドレス(宛先
アドレス)をDA202に、アドレス設定回路8により設定
された自ノードアドレス(送信元アドレス)をSA201に
それぞれセツトし、続いて伝送コード205、伝送情報206
をセツトすることによりデータ伝送フレーム250を生成
する。そして、ステツプS14でこのデータ伝送フレーム2
50を予め定められた伝送制御手順に従い、伝送先ノード
に送信する。この伝送制御手順は公知であるので説明を
省略する。
Specifically, the node address (destination address) peculiar to the destination node is set in DA202, the own node address (source address) set by the address setting circuit 8 is set in SA201, and then the transmission code 205 and transmission are set. Information 206
To generate a data transmission frame 250. Then, in step S14, this data transmission frame 2
50 is transmitted to the destination node according to a predetermined transmission control procedure. This transmission control procedure is publicly known and will not be described.

そしてデータの送信処理が終了するとステツプS4に進
み、トークンフレーム200を生成し、これを送信回路12
を介して伝送路1に送出し、送信権を下流ノードに委譲
した後、ステツプS5に戻る。
When the data transmission process is completed, the process proceeds to step S4, the token frame 200 is generated, and the token circuit 200 is generated.
Is transmitted to the transmission line 1 via the transmission line, the transmission right is transferred to the downstream node, and the process returns to step S5.

ステップS8でトークンフレームの受信でない場合にはス
テップS20に進み、ステップS10と同様に宛先アドレス判
別回路13により受信フレーム中のDA202とアドレス設定
回路8に設定された自ノードアドレス値とを比較する。
そして両値が一致しない場合、即ち自ノード宛伝送フレ
ームでない場合にはステツプS5に戻り、自ノード宛の伝
送フレームの受信に備える。
If the token frame is not received in step S8, the process proceeds to step S20, and the DA202 in the received frame is compared with the own node address value set in the address setting circuit 8 by the destination address determination circuit 13 as in step S10.
If the two values do not match, that is, if the transmission frame is not addressed to the own node, the process returns to step S5 to prepare for reception of the transmission frame addressed to the own node.

自ノード宛伝送フレームの場合にはステツプS21に進
み、予め定められた伝送制御手順に従い、自装置宛デー
タ伝送フレーム250を自ノード内に受信し、ステツプS22
で受信した伝送情報がホスト3へ送るべき情報か否かを
調べ、ホスト3へ送るべき情報であればステツプS23に
進み、この情報を多少の分解、編集を行つた後、このノ
ードに接続されたホスト3へ送信し、ステツプS5に戻り
次のデータ伝送に備える。
In the case of the transmission frame addressed to the own node, the process proceeds to step S21, the data transmission frame 250 addressed to the own device is received in the own node according to a predetermined transmission control procedure, and the step S22
It is checked whether the transmission information received in step 3 is the information to be sent to the host 3, and if it is the information to be sent to the host 3, the process proceeds to step S23, this information is disassembled and edited a little, and then connected to this node. To the host 3 and returns to step S5 to prepare for the next data transmission.

ホスト3に送信すべきデータでない場合、即ち、ノード
間の通信データである場合にはステツプS30に進み、マ
スタノードより例えばグループ同報通信でネツトワーク
構成テーブルが送られてきたものか否かを調べ、ネツト
ワーク構成テーブルの受信の場合にはステップS26で受
信データをネツトワーク構成テーブル9に格納する。
If it is not the data to be transmitted to the host 3, that is, if it is the communication data between the nodes, the process proceeds to step S30 to check whether the network configuration table has been sent from the master node by, for example, group broadcast communication. If the network configuration table is received, the received data is stored in the network configuration table 9 in step S26.

ステップS25でネツトワーク構成テーブルの受信でない
場合にはステップS27に進み、受信データに対応した処
理を実行した後ステップS5に戻り、次の伝送フレームの
受信に備える。
If the network configuration table is not received in step S25, the process proceeds to step S27, the process corresponding to the received data is executed, and then the process returns to step S5 to prepare for the reception of the next transmission frame.

この様に、本実施例においてはトークンを最初に生成し
て他のノードに送出(委譲)することができるのはマス
タノードのみであり、他のノードはマスタノードよりの
トークンを受信した後でなければトークンを発生させる
ことは出来ない。即ち、トークンの発生は唯1つのノー
ドのみより行われ、伝送路1上でトークン同志が衝突す
る事態は発生しない。
As described above, in the present embodiment, only the master node can first generate a token and send (delegate) it to another node, and the other node receives the token from the master node and then receives the token. Without it, tokens cannot be generated. That is, the token is generated from only one node, and the tokens do not collide with each other on the transmission line 1.

次に以上の説明におけるネツトワーク構成の構築処理
を、第7図のフローチヤートを参照して説明する。
Next, the network configuration construction processing in the above description will be described with reference to the flow chart in FIG.

本実施例においてはこのネツトワーク再構成処理はマス
タノードのみが行い、他のノードはマスタノードよりの
ネツトワーク構成情報を受信してネツトワーク構成テー
ブル9に格納し、格納内容に従つて伝送を行う。
In this embodiment, this network reconfiguration processing is performed only by the master node, and the other nodes receive the network configuration information from the master node, store it in the network configuration table 9, and transmit it according to the stored contents. To do.

このネツトワーク再構成処理はシステムの立ち上がり
時、トークンが消失した場合、即ち、ネツトワークを構
成していたノードの電源断や故障等によるネツトワーク
よりの脱落が発生した場合、ネツトワークに新たなノー
ドが参入する場合等に行われる。
This network reconfiguration process is performed when a token is lost at the time of system startup, that is, when a node that is part of the network is disconnected from the network due to power failure or failure. This is done when a node joins.

まずステツプS40で、今までのネツトワーク構成テーブ
ル9で保持の下流ノードアドレスとは無関係に、下流ノ
ードアドレス即ち、宛先アドレスを自ノードの設定アド
レスに設定し、続くステツプS41でこの下流ノードアド
レスを1つデクリメントしステップS42で宛先アドレス
とアドレス設定回路8の設定値が等しいか否かを調べ、
等しくなければステップS43に進み、このアドレスを宛
先アドレスとして伝送フレームを生成して送信回路12を
介して伝送路1より送信する。この伝送フレームはノー
ド間の制御フレームとすればよい。
First, in step S40, the downstream node address, that is, the destination address is set to the set address of the self node, regardless of the downstream node address held in the network configuration table 9 until now, and in step S41, this downstream node address is set. Decrement by one and check in step S42 whether the destination address and the set value of the address setting circuit 8 are equal,
If they are not equal, the process proceeds to step S43, a transmission frame is generated using this address as the destination address, and is transmitted from the transmission line 1 via the transmission circuit 12. This transmission frame may be a control frame between nodes.

そして続くステツプS44で伝送フレームの受け渡しが成
功したか否かを調べる。これを識別する手段は各ネツト
ワークの伝送制御手順により種々異なるが、例えば伝送
フレームを受け取つたノードで肯定応答であるACK応答
を返すことにより識別される。
Then, in a succeeding step S44, it is checked whether or not the transmission of the transmission frame is successful. The means for identifying this varies depending on the transmission control procedure of each network, but is identified by, for example, returning an ACK response, which is an acknowledgment, at the node that has received the transmission frame.

伝送フレームが宛先ノードに正常に送られなかつた場合
(送信が失敗すれば)には、相手ノードは動作(通信)
不可能なノードであるとしてステツプS45に進み、宛先
ノードアドレス値がネツトワークに定める最小アドレス
値か否かを調べ、最小アドレス値でない場合にはステツ
プS41に戻り、再び宛先ノードアドレス値を1つデクリ
メントし、この新たなアドレス値を宛先アドレスとして
伝送フレーム送信を試みる。
If the transmission frame is not normally sent to the destination node (if the transmission fails), the other node operates (communication).
Assuming that the node is an impossible node, the process proceeds to step S45, and it is checked whether or not the destination node address value is the minimum address value defined in the network. If it is not the minimum address value, the process returns to step S41 and the destination node address value is set again by one. It decrements and tries transmission frame transmission using this new address value as the destination address.

こうして、アドレス値を漸次減算して行つてはそのアド
レス値のノードに伝送フレームの送信を試みる。
In this way, the address value is gradually subtracted, and then the transmission frame is tried to be transmitted to the node having the address value.

もし、上記減算されていつたアドレス値がネツトワーク
に定める最小アドレス値に達した場合にはステップS45
よりステップS46に進み、宛先ノードアドレス値をネツ
トワークに定める最小ノードアドレス値としてステツプ
S43に戻る。そして以後はまた、伝送フレームの送信と
アドレス値の減算動作を繰り返す。
If the subtracted address value reaches the minimum address value defined in the network, step S45
Then, the process proceeds to step S46, and the destination node address value is set as the minimum node address value specified in the network.
Return to S43. After that, the transmission of the transmission frame and the subtraction operation of the address value are repeated.

もし、伝送フレームの送信が成功した場合にはステツプ
S44よりステツプS47に進み、その時の宛先ノードアドレ
ス値を有するノードをネツトワークを構成する動作可能
ノードとしてネツトワーク構成テーブル9に記憶する。
そしてステップS41に戻り、他に動作可能ノードが存在
するか否かを調べる。
If the transmission of the transmission frame is successful, the step
The process proceeds from step S44 to step S47, and the node having the destination node address value at that time is stored in the network configuration table 9 as an operable node configuring the network.
Then, the process returns to step S41, and it is checked whether or not another operable node exists.

ステップS42で宛先アドレスと自ノードアドレスが等し
い場合には、ネツトワークを構成する全てのノードに対
して伝送フレームの送信処理を実行したことになるた
め、ステップS42よりステップS50に進み、今までの処理
において伝送フレームの送信の成功したノードがあるか
否かを調べる。
If the destination address and the own node address are equal in step S42, it means that the transmission processing of the transmission frame has been executed for all the nodes that make up the network, so the process proceeds from step S42 to step S50, In the process, it is checked whether or not there is a node that has successfully transmitted the transmission frame.

ここで伝送の成功したノードが無い場合にはネツトワー
クシステムのマスタノード以外のノードが全て動作不能
状態にあることを示すため、ステップS40に戻り、いず
れかのノードが伝送可能になるまでネツトワーク構築処
理を実行する。この様に本実施例においてはいずれかの
ノードに伝送フレームの伝送処理が成功するまで上述の
処理を繰り返す。
If there is no successful transmission node here, it indicates that all nodes other than the master node of the network system are in an inoperable state, so the process returns to step S40, and the network is transmitted until one of the nodes becomes transmittable. Execute the build process. As described above, in the present embodiment, the above-described processing is repeated until the transmission processing of the transmission frame to one of the nodes succeeds.

ステップS50で伝送成功ノードのある場合にはステップS
51に進み、グループ同報通信でネツトワーク構成テーブ
ル9に記憶されているネツトワーク構成テーブルを送信
する。他のノードはこの同報通信を受信し、自ノードの
ネツトワーク構成テーブル9に格納し、以後このネツト
ワーク構成テーブルに従い下流ノードを選定する。
If there is a successful transmission node in step S50, step S
In step 51, the network configuration table stored in the network configuration table 9 is transmitted by group broadcast communication. The other nodes receive this broadcast communication, store it in the network configuration table 9 of their own node, and thereafter select a downstream node according to this network configuration table.

以上の説明は主にネツトワークより脱落するノードの発
生時、又はネツトワークシステムの立ち上がり時に対す
るリカバリー処理であるが、ネツトワーク構成に新たに
参入するノードは、自ノードにトークンを巡回してもら
う必要がある。これを実現するため参入すべきノードは
伝送路1上の伝送フレームを監視し、(例えば自ノード
アドレスが伝送フレームのSA201,DA202間にある場合
に)伝送フレームのトークンコード203を検出すると直
ちに伝送路上にデータを送出し、トークンフレーム200
に対して“衝突”を起し、トークンの消失状態を発生さ
せ、ステップS40以降の処理を実行させればよい。
The above explanation is mainly about the recovery process when a node that falls out of the network occurs or when the network system starts up, but a node newly entering the network configuration asks its own node to circulate the token. There is a need. In order to achieve this, the node that should enter must monitor the transmission frame on the transmission path 1 and transmit as soon as it detects the token code 203 of the transmission frame (for example, when its own node address is between SA201 and DA202 of the transmission frame). Send data on the street, token frame 200
“Collision”, a token disappearance state is generated, and the processes from step S40 onward are executed.

または、この処理が一定周期毎に行なわれる様にしても
よい。
Alternatively, this process may be performed at regular intervals.

また、以上の説明では一般の伝送フレームを送信して、
ネツトワーク構成を調べたが、伝送フレームに替えてト
ークンフレームによりネツトワーク構成を調べてもよ
い。この場合にはまず、ネツトワーク構成テーブルとし
てマスタノードのみを指定し、トークンを送出し、送出
トークンが自ノードに還るよう構成して行うとよい。
Also, in the above description, a general transmission frame is transmitted,
Although the network configuration has been checked, the network configuration may be checked using a token frame instead of the transmission frame. In this case, first, only the master node may be designated as the network configuration table, the token is transmitted, and the transmitted token is returned to the own node.

[第2実施例](第8図、第9図) さて、以上説明した様に本実施例におけるマスタノード
はネツトワークのスタートアツプ時、及びトークン消失
時等のリカバリー処理に重要な役目を果たすものであ
る。この為、マスタノードの障害に対しては充分な対策
を講じておく事が必要である。そこで、本実施例ではこ
のマスタノードとなる得るベきノードを複数個用意して
おく、即ち、マスタノードの2重化系あるいは、多重化
系を構成しておく。
[Second Embodiment] (Figs. 8 and 9) As described above, the master node in this embodiment plays an important role in recovery processing at the time of network start-up and token loss. It is a thing. Therefore, it is necessary to take sufficient measures against the failure of the master node. Therefore, in the present embodiment, a plurality of nodes that can be the master node are prepared, that is, a duplicated system or a multiplexed system of the master node is configured.

前述した様にトークンが正常に巡回している時はマスタ
ノードは他のノード(以下スレーブノードと称す)と同
一の動作を行なう。また、ハードウエアの構成もマスタ
ノードとスレーブノードとでは単にタイマ回路10を追加
するのみであり、全てのノードにこのタイマ回路10を備
えることにより、どのノードでもマスタノードとしての
動作が可能となる。従つて、例えばネツトワーク内の各
ノードのCPUにおける通信制御処理手順(フアームウエ
ア)としてマスタノードとしての制御動作と、スレーブ
ノードとしての制御動作とを両方備え、外部(ホスト)
からの指示によつてマスタノードとしての制御動作、あ
るいはスレーブノードとしての制御動作のいずれかを選
択して実行可能とすることが望ましい。この制御動作の
選択指示の入力手段としては、例えば、CPU5の入出力ポ
ートに制御動作モード選択スイツチを設けることで容易
に行なうことができる。
As described above, when the token is normally circulating, the master node performs the same operation as other nodes (hereinafter referred to as slave nodes). Further, the hardware configuration is such that the master node and the slave node simply add the timer circuit 10, and by providing the timer circuit 10 in all the nodes, any node can operate as the master node. . Therefore, for example, as a communication control processing procedure (firmware) in the CPU of each node in the network, both a control operation as a master node and a control operation as a slave node are provided, and the external (host)
It is desirable that either the control operation as the master node or the control operation as the slave node be selected and executed in accordance with an instruction from. The control operation selection instruction can be easily input by providing a control operation mode selection switch at the input / output port of the CPU 5, for example.

第8図にこの場合のノードの構成例を示す。これは第1
図の回路構成に対し、タイマ回路10、動作モード選択回
路14を追加したものである。この動作モード選択回路14
は、例えば切換スイツチで構成することができる。この
動作モード選択回路14として切換スイツチを用いた場合
のノードの外観図を第9図に示す。
FIG. 8 shows a configuration example of the node in this case. This is the first
A timer circuit 10 and an operation mode selection circuit 14 are added to the circuit configuration shown in the figure. This operation mode selection circuit 14
Can be composed of, for example, a switching switch. FIG. 9 shows an external view of a node when a switching switch is used as the operation mode selection circuit 14.

第9図図示の如く、切換スイツチ14aが外部より操作可
能となつており、稼動中のマスタノードが障害等で動作
を停止した時には、他のスレーブモードとして動作中の
ノードをマスタノードに切り換えることができる。
As shown in FIG. 9, the switching switch 14a can be operated from the outside, and when the operating master node stops operating due to a failure or the like, another operating mode is switched to the master node as another slave mode. You can

[第3実施例](第10図) 第2実施例においてはマスタノード機能とスレーブノー
ド機能とは動作モード選択回路14により切り換えて選択
したが、この選択をホスト3よりの指示入力に従い、切
り換えてもよい。
[Third Embodiment] (FIG. 10) In the second embodiment, the master node function and the slave node function are selected by switching by the operation mode selection circuit 14, but this selection is switched according to the instruction input from the host 3. May be.

一般にホスト3は例えば第10図に示すパーソナルコンピ
ユータ等、マン・マシンインタフエースを備え、表示部
31とキー入力部32を備えるものが多く、キー入力部32の
キー操作等によつてマスタノード/スレーブノード機能
の切り換え指示を行なわせしめる事が可能である。
Generally, the host 3 is provided with a man-machine interface such as a personal computer shown in FIG.
Many are provided with 31 and a key input unit 32, and it is possible to instruct the switching of the master node / slave node function by a key operation of the key input unit 32 or the like.

これにより通常は人の操作の介在することの殆どないノ
ード2に対する操作が必要なく、ノードの処理機能を切
り換えられる。
As a result, it is possible to switch the processing function of the node 2 without the need for an operation on the node 2, which normally has little human intervention.

この時には、ノード2は例えばタイマ回路10のタイムア
ウト情報をインタフエース回路7を介してホスト3に送
出し、ホスト3はこのタイムアウト情報を受信すると、
ホスト3の表示装置31の表示面に例えば“トークン消
失”情報31aとして表示する様制御すればよい。オペレ
ータはこの“トークン消失”の旨の表示31aを確認する
と、キー入力部32に配設されたノード機能切換の指示入
力キー32aを入力し、自装置の接続されているノードを
マスタノードとして動作させる旨の指定入力を行ない、
このキー入力に従い、ノード2のインタフエース回路7
を介してCPU5にマスタノードとして動作するべく指定す
る。この指定入力を受け取ると、このノードは第6図に
示すマスタノードとしての制御動作を実行し、ネツトワ
ークを再構築し、下流ノードに対してトークンを送出す
る。この時、自装置の接続されているノードの機能を表
示装置31の表示面に表示すれば(31b)オペレータに接
続ノード機能を常時確認可能となる。
At this time, the node 2 sends, for example, the timeout information of the timer circuit 10 to the host 3 via the interface circuit 7, and when the host 3 receives this timeout information,
It may be controlled to display, for example, "token disappearance" information 31a on the display surface of the display device 31 of the host 3. When the operator confirms the display 31a indicating "token disappearance", he / she inputs the node function switching instruction input key 32a arranged in the key input section 32, and operates the node connected to the own device as the master node. Make a designated input to
According to this key input, the interface circuit 7 of the node 2
Specify to operate as a master node to CPU5 via. Upon receiving this designation input, this node executes the control operation as the master node shown in FIG. 6, reconstructs the network, and sends the token to the downstream node. At this time, if the function of the connected node of the own device is displayed on the display surface of the display device 31 (31b), the operator can always confirm the connected node function.

[第4実施例](第11図) また、ネツトワークに接続されるホスト3のうちネツト
ワーク中で特に重要な処理を司どる、例えばフアイル装
置、中央処理装置、大容量記憶装置等においては、第11
図に示す如くネツトワークに対して複数(例えば2つ)
のノードを介して接続し、信頼性の向上、及び通信能力
の強化を図る場合が多い。この様な構成の場合にはこの
中央処理装置に接続されているノードのうちの1つをマ
スタノードとして機能させ、ノードの状態をホスト側で
管理可能とすることが望ましく、多くはマスタノードは
これらのうちの1つのノードとなつている。
[Fourth Embodiment] (FIG. 11) Further, in the host 3 connected to the network, which controls particularly important processing in the network, for example, in a file device, a central processing unit, a mass storage device, etc. , 11th
As shown in the figure, multiple (eg, two) for the network.
In many cases, the connection is made through the node to improve reliability and strengthen communication capability. In the case of such a configuration, it is desirable that one of the nodes connected to this central processing unit be made to function as a master node so that the state of the node can be managed by the host side. It is one of these nodes.

この場合には、通常の場合にはいずれかのノードをマス
タノード、他方をスレーブノードとして運用し、一方の
マスタノードのダウン時には、他方のスレーブノードを
マスタノードに切り換える方法もある。これにより、マ
スタノードがネツトワークのいずれのホストに接続され
ているかを探す必要がなく、例えマスタノードとして機
能していたノードがダウンしたとしても、それに変わる
マスタノードはそれ以前にマスタノードとして機能して
いたノード近傍であることが直ちに認識でき、障害対策
も迅速かつ正確に行なうことが可能となる。
In this case, there is also a method of operating one of the nodes as a master node and the other as a slave node in the normal case, and switching the other slave node to the master node when one master node goes down. This eliminates the need to find out which host of the network the master node is connected to, even if the node that was functioning as the master node goes down, the master node that changes to it will function as the master node before that. It is possible to immediately recognize that it is in the vicinity of the node in which it was operating, and it is possible to take quick and accurate troubleshooting.

以上説明したいずれの方法もネツトワーク内にマスタノ
ードを潜在的に複数個保有し得る事から、マスタノード
における障害に対しても強固なネツトワークシステムを
作り上げる事が可能となる。
Since any of the methods described above can potentially hold a plurality of master nodes in the network, it is possible to build a robust network system against failures in the master node.

また以上の説明ではトークンバス方式のネツトワークを
基準として説明したが、これに限るものではなく、トー
クンリング方式のネツトワーク構成としても本実施例を
適用出来る。
In the above description, the token bus type network is used as a reference, but the present invention is not limited to this, and the present embodiment can be applied to a token ring type network configuration.

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

以上説明した様に本実施例においてはマスタノードをネ
ツトワーク内に唯一設ける事により従来におけるトーク
ンの発生送出時の競合、衝突状態の発生を皆無とし、か
つトークンの巡回開始処理を同期的に実行すると言う長
所を有する。
As described above, in this embodiment, by providing the master node only in the network, there is no conflict and collision state at the time of generation and transmission of tokens in the past, and the token circulation start processing is executed synchronously. It has the advantage of saying that.

また、従来必要とされていた衝突検知器等を不要とし、
コスト的にも安価なものとする事ができる。
In addition, it eliminates the need for conventional collision detectors,
It can be cheap in terms of cost.

更にまた、非同期的処理を排除したために、処理手順は
きわめてシンプルなものとすることができ、通信制御手
順等の処理上のオーバヘツドも最小限で行なうことがで
きる。
Furthermore, since the asynchronous processing is eliminated, the processing procedure can be made extremely simple, and the processing overhead such as the communication control procedure can be minimized.

更には、マスタノードが障害等によりダウンした場合に
おいても容易に他のスレーブノードをマスタノードとす
ることができ、障害に強いネツトワークを構築すること
ができる。
Further, even if the master node goes down due to a failure or the like, another slave node can be easily made the master node, and a network resistant to the failure can be constructed.

[発明の効果] 以上説明した様に本発明によれば、システム立ち上げ時
及び新規の伝送装置のネットワーク内への参入により、
トークンを委譲すべき伝送装置の探索を行い、トークン
を委譲すべき伝送装置を発見すると、探索処理結果であ
るネットワーク構成テーブルを複数の伝送装置へ通知す
ることにより、ネットワークシステム内の正常な伝送装
置が速やかにデータ伝送を開始することが可能となる。
[Effects of the Invention] As described above, according to the present invention, when the system is started up and a new transmission device enters the network,
When a transmission device to which the token should be transferred is searched and a transmission device to which the token should be transferred is found, a normal transmission device in the network system is notified by notifying a plurality of transmission devices of the network configuration table as the search processing result. Can promptly start data transmission.

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

第1図は本発明に係る一実施例のネツトワークシステム
を構成するノードのブロツク図、 第2図はネツトワーク構成図、 第3図は第2図に示すネツトワークのトークンパツシン
グ方式のトークン巡回遷移図、 第4図は第2図に示すネツトワークの一部動作不能ノー
ドの存在する場合のトークンパツシング方式のトークン
巡回遷移図、 第5図(A),(B)は本実施例で用いる伝送フレーム
構成図、 第6図は本実施例のノードにおける一般的データ伝送制
御フローチヤート、 第7図は本実施例におけるネツトワーク構築処理フロー
チヤート、 第8図は本発明に係る他の実施例のネツトワークシステ
ムを構成するノードのブロツク図、 第9図は本発明の他の実施例のノードの外観図、 第10図は本発明の他の実施例のノード及びホストの外観
図、 第11図は本発明の他の実施例のネツトワークの構成図で
ある。 図中、1……伝送路、2,100〜170……ノード、3……ホ
スト、4……トークン判別回路、5……CPU、6……メ
モリ回路、7……インタフエース回路、8……アドレス
設定回路、9……ネツトワーク構成テーブル、10……タ
イマ回路、11……受信回路、12……送信回路、13……宛
先アドレス判別回路、14……動作モード選択回路、31…
…表示装置、31a……ノード機能表示、32……キー入力
部、32a……ノード機能切換の指示入力キー、203……ト
ークンコード、205……伝送コードである。
FIG. 1 is a block diagram of nodes constituting a network system according to an embodiment of the present invention, FIG. 2 is a network configuration diagram, and FIG. 3 is a token of a network token passing system shown in FIG. Cyclic transition diagram, Fig. 4 is a token transition diagram of the token passing system in the case where there is a partially inoperable node of the network shown in Fig. 2, and Figs. 5 (A) and 5 (B) show the present embodiment. FIG. 6 is a configuration diagram of a transmission frame used in FIG. 6, FIG. 6 is a general data transmission control flow chart in the node of this embodiment, FIG. 7 is a network construction processing flow chart in this embodiment, and FIG. A block diagram of nodes constituting the network system of the embodiment, FIG. 9 is an external view of a node of another embodiment of the present invention, and FIG. 10 is an external view of a node and a host of another embodiment of the present invention. , FIG. 11 is a configuration diagram of the net work of another embodiment of the present invention. In the figure, 1 ... Transmission path, 2,100 to 170 ... Node, 3 ... Host, 4 ... Token discrimination circuit, 5 ... CPU, 6 ... Memory circuit, 7 ... Interface circuit, 8 ... Address Setting circuit, 9 ... Network configuration table, 10 ... Timer circuit, 11 ... Reception circuit, 12 ... Transmission circuit, 13 ... Destination address discrimination circuit, 14 ... Operation mode selection circuit, 31 ...
... display device, 31a ... node function display, 32 ... key input part, 32a ... node function switching instruction input key, 203 ... token code, 205 ... transmission code.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】通信媒体により複数の伝送装置を互いに接
続して通信権委譲命令であるトークンにより通信権を獲
得した伝送装置が送信権を得るネットワークシステムの
網制御方式において、 ネットワークを構成する伝送装置のうちの特定伝送装置
が、新規の伝送装置のネットワーク内への参入によりネ
ットワークシステム内に異常が発生しトークンが紛失し
た時及びシステム立ち上げ時に新規にトークンを発生可
能とし、 前記特定伝送装置は、自装置のアドレス値を初期値と
し、その初期値から順に1づつアドレス値をずらし宛先
アドレスを設定する宛先アドレス設定手段と、 前記宛先アドレス設定手段により設定されたアドレス値
を固有のアドレス値とする伝送装置に対して、該伝送装
置が動作可能か否かを調べるための伝送フレームを送信
する送信手段と、 前記送信手段による伝送フレームの送信後伝送フレーム
を送信した伝送装置から応答信号が返送されてくると、
前記伝送フレームを送信した伝送装置のアドレス値をネ
ットワーク構成テーブルに記憶する記憶手段と、 前記宛先アドレス設定手段によるアドレス値の設定、前
記送信手段による伝送フレームの送信、及び前記記憶手
段によるアドレス値の記憶を全ての伝送装置に対して繰
り返し実行する制御手段と、 前記ネットワーク構成テーブルに記憶されているアドレ
ス値をネットワークを構成する複数の伝送装置へ通知す
る通知手段とを有し、 前記制御手段は全ての伝送装置に対して伝送コマンドを
送出しても、応答信号を返送してくる伝送装置が存在し
ない場合、再度初めから前記宛先アドレス設定手段によ
るアドレス値の設定、前記送信手段による伝送フレーム
の送信及び前記記憶手段によるアドレス値の記憶を全て
の伝送装置に対して繰り返し実行し、前記伝送コマンド
に対する応答信号を返送してくる伝送装置が存在する場
合、トークン送出処理を行いデータ伝送を可能とし、 前記ネットワークを構成する複数の伝送装置のそれぞれ
は、 トークンを委譲する際に、前記特定伝送装置から通知さ
れたネットワーク構成テーブルの内容に基づいてトーク
ンを他の伝送装置へ送出することを特徴とする網制御方
式。
1. A network control method of a network system in which a plurality of transmission devices are connected to each other via a communication medium to obtain a transmission right by a transmission device which has acquired a communication right by a token which is a communication right transfer instruction. A specific transmission device among the devices makes it possible to newly generate a token when a token is lost due to an abnormality occurring in the network system due to the entry of a new transmission device into the network and when the system is started up. Is a destination address setting unit that sets an address value of its own device as an initial value and shifts the address value one by one from the initial value, and sets the destination address, and the address value set by the destination address setting unit is a unique address value. A transmission frame for checking whether the transmission device can operate or not. Transmission means for signal for, when the response signal from the transmission apparatus that has transmitted the transmission after the transmission frame of the transmission frame by the transmission means sent back,
Storage means for storing in the network configuration table the address value of the transmission device that transmitted the transmission frame; setting the address value by the destination address setting means, transmitting the transmission frame by the transmission means, and storing the address value by the storage means. The control unit has a control unit that repeatedly executes storage for all transmission devices, and a notification unit that notifies the address values stored in the network configuration table to a plurality of transmission devices that configure the network. Even if the transmission command is sent to all the transmission devices, if there is no transmission device returning the response signal, the address value is set from the beginning again by the destination address setting means and the transmission frame of the transmission means is set from the beginning. Repeat transmission and storage of address values by the storage means for all transmission devices When there is a transmission device that executes and returns a response signal to the transmission command, token transmission processing is performed to enable data transmission, and each of the plurality of transmission devices that configure the network transfers the token. In the network control method, the token is sent to another transmission device based on the contents of the network configuration table notified from the specific transmission device.
JP12412685A 1985-06-10 1985-06-10 Network control method Expired - Lifetime JPH0683222B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12412685A JPH0683222B2 (en) 1985-06-10 1985-06-10 Network control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12412685A JPH0683222B2 (en) 1985-06-10 1985-06-10 Network control method

Publications (2)

Publication Number Publication Date
JPS61283250A JPS61283250A (en) 1986-12-13
JPH0683222B2 true JPH0683222B2 (en) 1994-10-19

Family

ID=14877568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12412685A Expired - Lifetime JPH0683222B2 (en) 1985-06-10 1985-06-10 Network control method

Country Status (1)

Country Link
JP (1) JPH0683222B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2502310B2 (en) * 1987-05-21 1996-05-29 日本電装株式会社 Control device having communication function
US5710883A (en) * 1995-03-10 1998-01-20 Stanford University Hypertext document transport mechanism for firewall-compatible distributed world-wide web publishing
JP4411328B2 (en) 2007-02-01 2010-02-10 株式会社日立製作所 Data communication system and data communication method

Also Published As

Publication number Publication date
JPS61283250A (en) 1986-12-13

Similar Documents

Publication Publication Date Title
US7203161B2 (en) Method and apparatus for recovery from faults in a loop network
CN106161495A (en) A kind of host node electoral machinery, device and storage system
JPH0652515B2 (en) Logical channel path mechanism in computer input / output device and method of establishing the logical channel path
US7844852B2 (en) Data mirror cluster system, method and computer program for synchronizing data in data mirror cluster system
CN114124803B (en) Device management method and device, electronic device and storage medium
JP4806382B2 (en) Redundant system
JPH0683222B2 (en) Network control method
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
KR19990078536A (en) Database duplication method for intelligent service system
CN104702693A (en) Processing method for two-node system partitioning and node
JPH0640642B2 (en) Network control method
JPS61283248A (en) Network control system
JPH05304528A (en) Multiplex communication node
JPS61283249A (en) Network control method
CN111510336A (en) Network equipment state management method and device
KR20030056291A (en) The Method of Communication Fault Management using Adjacent Line Interface Board in High Speed Router
JP4117721B2 (en) Barrier synchronization control method for parallel computers
WO2010039143A1 (en) Managing latencies in a multiprocessor interconnect
JP2019168739A (en) Parallel computation system
JP2001022712A (en) Initial setting method of information processing device
JPS61253946A (en) Network control system
JPS61253950A (en) Network control system
JPH11112499A (en) Fault monitoring system
JP3140798B2 (en) Communication traffic control method between processors
JPH0642672B2 (en) Priority communication control method