JPH03195145A - Transmission line control system for ring network - Google Patents

Transmission line control system for ring network

Info

Publication number
JPH03195145A
JPH03195145A JP33399189A JP33399189A JPH03195145A JP H03195145 A JPH03195145 A JP H03195145A JP 33399189 A JP33399189 A JP 33399189A JP 33399189 A JP33399189 A JP 33399189A JP H03195145 A JPH03195145 A JP H03195145A
Authority
JP
Japan
Prior art keywords
node
token
transmission path
adjacent
ring 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
JP33399189A
Other languages
Japanese (ja)
Inventor
Ichiro Iida
飯田 一朗
Akira Nakago
明 中後
Toshihiko Kurita
敏彦 栗田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP33399189A priority Critical patent/JPH03195145A/en
Publication of JPH03195145A publication Critical patent/JPH03195145A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To separate and add a node without being conscious of the abnormality of a transmission line by each node and to reconstitute the transmission line at high speed by executing a token generating instruction and a token erasing instruction to the erasing of a token and an adjacent node. CONSTITUTION:A connecting mode switching means 13, transmission/reception control part 14 and configuration control part 15, etc., are provided. When a node 10 is separated from a ring network, a connecting mode is switched after receiving the token and the generation of the token is instructed to the adjacent node. Corresponding to this instruction, the token is generated at the adjacent node and an operation is continued. When the node is added, the erasing of the token is instructed to the adjacent node and corresponding to this instruction, the token is erased. When it is informed that the token is erased, corresponding to this information, a subscriber desired node switches the connecting mode of the transmission line, newly transmits the token and continues the operation. Thus, when the node 10 of the ring network is separated from the system or added not by a fault but by an intension, the transmission line can be speedily reconstituted without erasing the token.

Description

【発明の詳細な説明】 [概要] 複数のノードを2重化したリング状の伝送路で結合し、
トークンによりアクセス制御を行うリングネットワーク
の伝送路制御方式に関し。
[Detailed Description of the Invention] [Summary] A plurality of nodes are connected through a duplex ring-shaped transmission path,
Concerning a transmission path control method for a ring network that performs access control using tokens.

リングネットワークのノードが障害ではなく意図的にシ
ステムから離脱する場合や加入する場合に、トークン消
失を起こさずに迅速に伝送路を再構成する方式を提供す
ることを目的とし。
The purpose of this invention is to provide a method for quickly reconfiguring transmission paths without causing token loss when a ring network node intentionally leaves or joins the system rather than due to a failure.

ノードをネットワークから離脱させる時、#1脱希望の
ノードはトークン受信すると、これを消去して両隣接ノ
ードに対して伝送路を折り返す形態に切替えを行い1両
隣接ノードからの伝送路の無信号を検出した後、一方の
隣接ノードに対しトークン発生指示を送信し、隣接ノー
ドでは、前記伝送路の無信号を検出して伝送路を折り返
す形態に切替えた後、離脱希望ノード側からトークン発
生指示を受信すると新たにトークンを送信して正常運用
を継続し、ノードをネットワークへ加入する時、加入希
望ノードは隣接ノードに対してトークン消去指示を送信
し、隣接ノードで、該制御信号を検出後受信したトーク
ンを消去してトークン消去通知を加入希望ノードに送信
し、加入希望ノードは該トークン消去通知を検出すると
伝送路の接続状態をループバック状態から通常の伝送状
態に切替え、新たなトークンを送信することにより運用
を継続するよう構成する。
When a node leaves the network, when the node #1 that wishes to withdraw receives a token, it erases it and switches to a mode in which the transmission path is looped back to both adjacent nodes, and there is no signal on the transmission path from both adjacent nodes. After detecting this, a token generation instruction is sent to one adjacent node, and the adjacent node detects no signal on the transmission path and switches to a mode in which the transmission path is looped back, and then a token generation instruction is sent from the node wishing to leave. When the node receives the token, it sends a new token to continue normal operation, and when the node joins the network, the node that wants to join sends a token deletion instruction to the adjacent node, and after the adjacent node detects the control signal, It erases the received token and sends a token erasure notification to the joining node, and when the joining node detects the token erasure notification, it switches the connection state of the transmission path from the loopback state to the normal transmission state and inserts a new token. Configure to continue operation by sending.

[産業上の利用分野] 本発明は複数のノードが2重化したリング状の伝送路で
結合し、トークンによりアクセス制御を行うリングネッ
トワークの伝送路制御方式に関する。
[Industrial Application Field] The present invention relates to a transmission path control system for a ring network in which a plurality of nodes are connected through a duplex ring-shaped transmission path and access control is performed using tokens.

オフィス・オートメ−シラン(OA)の進展に伴い、ロ
ーカルエリアネットワークが広く普及している。このよ
うなネットワークの代表的な方式としてリング状伝送路
でトークンパッシングを行うトークンリングネットワー
クが良く知られている。しかし、リングネットワークは
、一部のノードの故障によりネットワーク全体がダウン
してしまう性質があるため、伝送路を互いに逆方向の2
重リングで構成し、障害が発生した場合にはその両端の
ノードで伝送路をループバックして1重リングとして縮
退運用する方式が通常行われている。
With the advancement of office automation (OA), local area networks have become widespread. A token ring network that performs token passing on a ring-shaped transmission path is well known as a typical system of such a network. However, ring networks have the property that the entire network goes down due to failure of some nodes.
Usually, the system is configured with a double ring, and when a failure occurs, the transmission path is looped back at the nodes at both ends, and degenerate operation is performed as a single ring.

ところが、ノードに障害が発生する等により通常の運用
ができなくなった場合、その状態を他のノードで検出し
てリングを再構成し再び運用可能にするには時間がかか
りネットワークがその間運用できない欠点がありその改
善が望まれている。
However, if a node becomes unable to operate normally due to a failure, etc., it takes time for other nodes to detect the condition, reconfigure the ring, and make it operational again, resulting in the network not being able to operate during that time. There is a need for improvement.

[従来の技術] 第7図は従来の2重化リングネットワークの説明図であ
る。
[Prior Art] FIG. 7 is an explanatory diagram of a conventional duplex ring network.

第7図のイ、には通常運用時の接続構成が示されている
。この場合、運用系の伝送路のリングを通ってトークン
により伝送が行われ、予備系は使用されない、この状態
で障害等により通常運用ができなくなると、それにより
トークンが消失してしまう。
A in FIG. 7 shows the connection configuration during normal operation. In this case, the token is transmitted through the ring of the active transmission line, and the backup line is not used. If normal operation becomes impossible in this state due to a failure or the like, the token will be lost.

このようにトークンが無くなってしまうと、障害発生ノ
ードを検出してそのノードを切り離した上でトークンを
発行する処理が行われる。
When tokens run out in this way, a process is performed to detect the faulty node, disconnect the node, and issue tokens.

第7図の口、に障害時の接続構成が示され、この例は障
害がノードCで発生したことが検出された場合に、ノー
ドCを切り離して、ノードbとノードdにおいて2重化
された伝送路を用いてループバック(折り返し)が行わ
れた時の接続状態を示す、これにより、ノードb、a、
dによりトークンリングネットワークが構成される。
The connection configuration at the time of a failure is shown at the beginning of FIG. This shows the connection status when loopback is performed using the transmission path, which indicates that nodes b, a,
d constitutes a token ring network.

ところが、障害等により通常運用ができなくなったとき
に回復するには、従来法の方法がある。
However, there are conventional methods for recovering when normal operation is no longer possible due to a failure or the like.

■障害個所の隣接ノードが信号断を検出することにより
異常を検出すると、ノードが伝送路接続状態を変更する
ことにより、障害部分の前後で伝送路が折り返されて、
異常部分をネットワークがら切り離す。
■When a node adjacent to the failure point detects an abnormality by detecting a signal disconnection, the node changes the transmission line connection status, and the transmission line is turned around before and after the failure part.
Isolate the abnormal part from the network.

■これにより、トークンが失われるが、他の各ノードに
はトークンがある時間間隔を過ぎても巡回してこないこ
とをタイマで検出すると、クレームトークンプロセスと
呼ばれるトークン再生ノード決定手順が実行される。
■This causes the token to be lost, but when the timer detects that the token has not been circulated to each other node after a certain time interval, a token reclamation node determination procedure called the claim token process is executed. .

この手順は、各ノードがトークン要求(クレーム)を発
生して、各ノードにおいて受信したトークン要求に含ま
れたノードの番号(アドレス)と自己の番号を比較して
自分の方が優先順位(例えば、若番を優先する)が低い
とその要求を通過させ、自分の方が高いとその要求を廃
棄するものである。これにより、!lも優先順位の高い
ノードから発生した唯一の要求だけが要求を発生したノ
ードに戻ってくる。こうして唯一のトークンが巡回する
ことにより正常運用が再開される。
In this procedure, each node generates a token request (claim), compares the node number (address) included in the received token request with its own number, and determines which node has higher priority (e.g. , giving priority to the youngest number) is lower, the request is passed, and if it is higher, the request is discarded. With this,! Also, only a single request generated from a node with a high priority returns to the node that generated the request. In this way, normal operation is resumed by circulating the only token.

[発明が解決しようとする諜II!!]上記した従来例
の方式によれば、トークンを正常に発生するための処理
に長いタイムアウト時間と、これに伴うソフトウェアの
処理手順が多数介在するため、障害が発生してから再び
正常運用が開始されるまでに長い時間を要するという欠
点があった。
[The invention is trying to solve the problem II! ! ] According to the conventional method described above, the process to generate a token normally requires a long timeout period and many associated software processing steps, making it difficult to resume normal operation after a failure occurs. The disadvantage is that it takes a long time to complete the process.

しかも、障害ではなくあるノードが電源をオフにしてシ
ステム(ネットワーク)から離脱したい場合や、電源オ
ンにより新たに加入する場合にも。
Moreover, it may not be due to a failure, but a node wants to leave the system (network) by turning off the power, or when a node newly joins by turning on the power.

障害発生の場合と全く同じ制ff1(今まで接続してい
た伝送路に新たなノードを加入して接続するために一旦
切断される)が行われるため、ネツトワーり内にあるノ
ードが電源をオン・オフする度にネットワーク全体がダ
ウンするという問題があった。
Since the exact same control ff1 as in the case of a failure occurs (the connection is temporarily disconnected in order to join and connect a new node to the previously connected transmission path), the nodes in the network will not be able to turn on the power. -There was a problem that the entire network would go down every time it was turned off.

本発明はリングネットワークのノードが障害ではなく意
図的にシステムから離脱する場合や加入する場合に、ト
ークン消失を起こさずに迅速に伝送路を再構成する方式
を提供することを目的とする。
An object of the present invention is to provide a method for quickly reconfiguring a transmission path without causing token loss when a node of a ring network intentionally leaves or joins the system rather than due to a failure.

[課題を解決するための手段] 第1図は本発明による制御方式を実行するノードの原理
構成図、第2図(a)は本発明によるノード離脱の原理
説明図、第2図(b)は本発明によるノード加入の原理
説明図である。
[Means for Solving the Problems] FIG. 1 is a diagram showing the principle configuration of a node that executes the control method according to the present invention, FIG. 2(a) is a diagram explaining the principle of node withdrawal according to the present invention, and FIG. 2(b) FIG. 2 is a diagram explaining the principle of node joining according to the present invention.

第1図において、10はノード、11は制御信号検出手
段、12は制御信号送信手段、13は接続形態切替手段
、14は送受信制御部、141はトークン制御手段、1
5はノードの離脱、加入を制御する構成制御部、16A
、16Bは隣接ノードへの伝送路、17A、17Bは他
の隣接ノードへの伝送路を表し、伝送路のA、Bは従来
と同様の2重化されたリングの通常運用時の運用系と予
備系を表し、伝送方向は逆方向となっている。
In FIG. 1, 10 is a node, 11 is a control signal detection means, 12 is a control signal transmission means, 13 is a connection type switching means, 14 is a transmission/reception control section, 141 is a token control means, 1
5 is a configuration control unit that controls node withdrawal and joining; 16A;
, 16B represent transmission paths to adjacent nodes, 17A and 17B represent transmission paths to other adjacent nodes, and transmission paths A and B represent the operational system during normal operation of the same duplex ring as before. It represents a backup system, and the transmission direction is the opposite direction.

また、第1図乃至第2図ら)には、2重リングネットワ
ークの例について説明するが、コンセントレータを介し
たスター型リングの場合も同様の原理により構成できる
Further, although an example of a double ring network will be described in FIGS. 1 to 2, a star-shaped ring via a concentrator can be constructed based on the same principle.

本発明はノードがリングネットワークから離脱する時は
トークンを受信した後接続形態を切り換えて隣接ノード
にトークンの発生を指示し、隣接ノードでこれに応じて
トークンを発生して運用を継続し、加入する時は隣接7
ノードヘトークンの消去を指示し、隣接ノードでこれに
応じてトークンを消去して、消去したことを通知すると
、加入希望ノードはこれに応じて伝送路の接続状態を切
り換えて新たにトークンを送信して運用を継続するもの
である。
In the present invention, when a node leaves the ring network, after receiving a token, it switches the connection form and instructs the adjacent node to generate a token, and the adjacent node generates a token in response to this, continues operation, and joins. When doing so, adjacent 7
When the node is instructed to erase the token, the adjacent node erases the token in response, and notifies the node that it has been erased, the node wishing to join switches the connection state of the transmission path accordingly and sends a new token. The system will continue to operate.

[作用] 第1図の構成による本発明の伝送路制御方式の原理を第
2図(a)及び第2図[有])を用いて説明する。
[Operation] The principle of the transmission line control system of the present invention having the configuration shown in FIG. 1 will be explained using FIG. 2(a) and FIG.

第2図(a)及び第2図(b)において、それぞれa 
−dはリングネットワークを構成するノードを表し。
In FIG. 2(a) and FIG. 2(b), a
-d represents a node configuring the ring network.

それぞれの(イ)乃至(ホ)には時間経過に対応した各
ノード内における伝送路の接続形態が示されている。
Each of (A) to (E) shows the connection form of the transmission path within each node corresponding to the passage of time.

ノード離脱を行う場合、第2図(a)の(イ)に示すよ
うに正常運用状態(A系リングを使用)においてリング
ネットワーク内に唯一のトークンが巡回している時に、
ノードCをシステふから離脱させる必要が生じたものと
する。この時ノードCにおいて離脱を希望する指示が入
力される。
When a node leaves, as shown in (b) of Figure 2(a), when the only token is circulating within the ring network in the normal operating state (using the A-system ring),
Assume that it becomes necessary to remove node C from the system. At this time, an instruction to leave is input at node C.

第2図(a)のノードCで離脱が指示されるとそのノー
ド内の構成制御部15が離脱を実行するために起動され
る。構成制御部15はトークンを消去する指示を送受信
制御部14に指示し、第2図(a)(ロ)に示すように
トークンを受信すると、送受信制御部14のトークン制
御手段141で検出してそのノードを消去すると共に構
成制御部15に通知する。構成制御部15は接続形態切
替手段13を切替えて、ノードC内の伝送路の接続を第
2図(a)の(ハ)に示すように、隣接ノードb、dに
対して折り返しくループバック)を形成して自ノードC
をネットワークから切り離す。
When the node C in FIG. 2(a) is instructed to leave, the configuration control unit 15 in that node is activated to execute the leave. The configuration control unit 15 instructs the transmission and reception control unit 14 to erase the token, and when the token is received as shown in FIGS. 2(a) and (b), the token control means 141 of the transmission and reception control unit 14 detects The node is deleted and the configuration control unit 15 is notified. The configuration control unit 15 switches the connection type switching means 13 to change the connection of the transmission line within the node C to loopback to the adjacent nodes b and d, as shown in FIG. 2(a)(c). ) to form own node C
disconnect from the network.

これに対して隣接ノードbまたはdでは、ノードCから
の無信号を検出すると送受信制御部14から構成制御部
15に通知する。これにより構成制御部15は接続形態
切替手段13を制御して。
On the other hand, when adjacent node b or d detects no signal from node C, the transmission/reception control unit 14 notifies the configuration control unit 15 . Accordingly, the configuration control section 15 controls the connection type switching means 13.

第2図(a)の(ニ)のノードb、  dに示すように
それぞれ折り返してループバック状態に変更して伝送路
再構成を完了する。この状態でノードCは。
As shown in nodes b and d in (d) of FIG. 2(a), the nodes are turned back and changed to a loopback state to complete the transmission path reconfiguration. In this state, node C.

隣接ノードb、dのいずれか一方に制御信号送信手段1
2からトークン送出指示を行う(第2図(a)の(ニ)
ではノードbに対して送信)。
Control signal transmitting means 1 to either adjacent node b or d
The token sending instruction is performed from 2 ((d) in Fig. 2 (a)).
(then sent to node b).

これをノードbの制御信号検出手段11で検出すると、
構成制御部I5に通知する。ノードbの構成制御部15
はこれを受けると送受信制御部14のトークン制御手段
141に対しトークン送信を指示し、第2図(a)の(
ホ)に示すようにこのノードbからノードaに向けてト
ークンを送信する。
When this is detected by the control signal detection means 11 of node b,
Notify the configuration control unit I5. Configuration control unit 15 of node b
When receiving this, it instructs the token control means 141 of the transmission/reception control unit 14 to transmit the token, and (
As shown in e), a token is transmitted from node b to node a.

このトークンは新たに再構成されたリングd、a。This token is attached to the newly reconfigured ring d, a.

bに沿ってネットワークを巡回する。traverse the network along b.

次にノードを加入する場合、第2図(b)の(イ)のよ
うにノードCがリングネットワークから離脱してトーク
ンがノードd、a、bを巡回している状態の時、ノード
Cを組み込むために加入希望の入力がノードCの構成制
御部15に入力される。
Next, when adding a node, when node C leaves the ring network and the token is circulating among nodes d, a, and b, as shown in (a) of Figure 2(b), node C is added. An input of a desire to join for integration is input to the configuration control unit 15 of the node C.

すると、構成制御部15から制御信号送信手段12に対
し隣接ノードb、dのいずれか1例えばノードbに対し
てトークン消去指示を出すよう制御する。
Then, the configuration control unit 15 controls the control signal transmitting means 12 to issue a token deletion instruction to one of the adjacent nodes b and d, for example, node b.

このトークン消去指示を隣接ノードbの制御信号検出手
段11で検出すると、ノードbの構成制御部15に通知
する。構成制御部15は送受信制御部14のトークン制
御手段141にトークン消去を指示する。ノードbでト
ークンを受信するとトークン制御手段141でこれを消
去し、消去したことを構成制御部15に知らせる。構成
制御部15はこれを受けると制御信号送信手段12に対
して、トークン消去通知信号を送信するよう制御する(
第2図(ロ)の(ロ)参照)。
When this token erasure instruction is detected by the control signal detection means 11 of the adjacent node b, it is notified to the configuration control unit 15 of the node b. The configuration control section 15 instructs the token control means 141 of the transmission/reception control section 14 to erase the token. When the node b receives the token, the token control means 141 erases it and notifies the configuration control section 15 that it has been erased. Upon receiving this, the configuration control unit 15 controls the control signal transmitting means 12 to transmit a token erasure notification signal (
(See (b) in Figure 2 (b)).

ノードCはこの制御信号を制御信号検出手段11により
検出すると、自ノード組み入れのためのアイドル信号を
制御信号送信手段12から隣接ノードb、dに送信する
(第2図働)の(ハ)参照)。
When node C detects this control signal by the control signal detection means 11, it transmits an idle signal for incorporating its own node from the control signal transmission means 12 to the adjacent nodes b and d (see (c) in Figure 2). ).

ノードb、dは、隣接ノードCからのアイドル信号を制
御信号検出手段11で検出すると、隣接ノードCに対し
てそれぞれのノードの制御信号送信手段12からアイド
ル信号を送信して伝送路を立ち上げる(第2図(b)の
(ニ)参照)、ノードb、c、dはこのような信号の送
受信により構成制御部15においてそれぞれ隣接ノード
との接続処理が完了したことを検出し、各ノードの接続
形態切替手段13を駆動して伝送路の接続形態を変更し
て最終的にネットワークは第2図(b)の(ホ)のよう
になり、以後ノードCの送受信制御部14のトークン制
御手段141からトークンが送出され、トークンは再構
成されたリングd、a、b。
When nodes b and d detect an idle signal from adjacent node C by control signal detection means 11, they transmit an idle signal to adjacent node C from control signal transmission means 12 of each node to start up a transmission path. (See (d) in FIG. 2(b)), nodes b, c, and d detect that the connection process with the adjacent node is completed in the configuration control unit 15 by transmitting and receiving such signals, and each node The connection mode switching means 13 of the node C is driven to change the connection mode of the transmission path, and the network finally becomes as shown in (e) of FIG. A token is sent from the means 141, and the token is sent to the reconfigured rings d, a, b.

Cを巡回して正常運用が再開される。C and normal operation resumes.

[実施例] 第3図は本発明のノードの実施例構成図、第4図はノー
ド離脱の制御フロー図、第5図はノード加入の制御フロ
ー図、第6図は伝送路の接続形態と各セレクタの設定関
係を示す図である。
[Example] Fig. 3 is a configuration diagram of an embodiment of a node according to the present invention, Fig. 4 is a control flow diagram for node withdrawal, Fig. 5 is a control flow diagram for node joining, and Fig. 6 is a diagram showing the connection form of a transmission path. FIG. 3 is a diagram showing the setting relationship of each selector.

第3図において、30はノード、31.33はトークン
消去指示、トークン消去通知、トークン発生指示の制御
コードを受信信号から検出する制御コード検出部、32
.34は前記各制御コードを伝送路へ送信する制御コー
ド送信部、35は情報の受信制御部、36は送受信情報
を格納するバッファメモリ、37は情報の送信制御部、
38は送信権(トークン)の制御、セレクタSO〜S5
の制御及びその他の各部を制御するプロセッサ(制御部
:第1図の構成制御部の機能を含む)。
In FIG. 3, 30 is a node, 31. 33 is a control code detection unit that detects control codes for token erasure instructions, token erasure notifications, and token generation instructions from received signals; 32;
.. 34 is a control code transmitter that transmits each of the control codes to the transmission path; 35 is an information reception controller; 36 is a buffer memory that stores transmitted and received information; 37 is an information transmission controller;
38 is the control of the transmission right (token), selectors SO to S5
(control unit: including the functions of the configuration control unit shown in FIG. 1).

39はプロセッサバス(制御線を含む)、Rは受信回路
、Tは送信回路、5O−35はセレクタを表し、SOは
このノードから送信する情報(ト一クンを含む)伝送路
に入力するためのセレクタ。
39 is a processor bus (including control lines), R is a receiving circuit, T is a transmitting circuit, 5O-35 is a selector, and SO is for inputting information (including tokens) to be transmitted from this node to the transmission path. selector.

31〜S3は伝送路の接続形態を切替えるためのスイッ
チ、S4.35は制御コードを送信する時に切替えるス
イッチである。
31 to S3 are switches for changing the connection form of the transmission line, and S4 and S35 are switches to be changed when transmitting a control code.

ネットワーク構成とノードの名称(a −d )は上記
第2図と同じものとし、最初に各ノードが運用系の伝送
路(リングA)を使用している状態にあるものとする。
It is assumed that the network configuration and node names (a-d) are the same as in FIG. 2 above, and that each node is initially using the active transmission path (ring A).

この時、各ノードの伝送路の接続形態は、第6図の■の
「A系で伝送」の状態であり、この時のセレクタ5l−
53は図のように設定される。セレクタの設定状態に示
す51=Oは第3図に示すセレクタSlに入力する「0
」と「1」の2つの入力の内、rO」の入力を選択する
状態に設定されることを意味する。また、第6図の伝送
路の接続形態を示す図において、「制御部」として示す
ブロックは情報の送信制御部と受信制御部とを合わせた
ものを表す。
At this time, the connection form of the transmission path of each node is in the state of "transmission via system A" as shown in (■) in FIG. 6, and the selector 5l-
53 is set as shown in the figure. 51=O shown in the setting state of the selector is "0" input to the selector Sl shown in FIG.
” and “1”, the input “rO” is selected. In addition, in the diagram showing the connection form of the transmission path in FIG. 6, the block indicated as "control section" represents a combination of an information transmission control section and a reception control section.

この状態で、ノードCが離脱(分#I)する場合につい
て第4図に示す離脱の制御フローを第3図及び第6図を
参照しながら説明する。なお1M脱(分離)の全体の動
作は第2図(a)について説明したとおりである。
Regarding the case where node C leaves (minute #I) in this state, the control flow for leaving shown in FIG. 4 will be described with reference to FIGS. 3 and 6. The entire operation of 1M desorption (separation) is as described with reference to FIG. 2(a).

ノードCが、H脱を行う場合、離脱希望の制御信号(コ
マンド等)がキーボード(図示せず)から人力されると
、プロセッサ38に供給されて離脱の制御が開始される
。するとトークンが受信されるのを待ち(第4図の40
)、受信制御部35でトークンを受信すると送信制御部
37よりセレクタSOを介してアイドル信号を送信する
動作が行われてトークンが消去される。(第4図の41
)、続いて、ノードCでは、第3図のセレクタSL、S
2及びS3を第6図の■の右端に示す設定状態にして、
伝送路の接続形態をノードbとノードdのそれぞれに対
して折り返(ループバック)した「分離」状態に設定す
る(第4図の42)。
When node C performs H-departure, when a control signal (command, etc.) for requesting withdrawal is entered manually from a keyboard (not shown), it is supplied to the processor 38 and control of withdrawal is started. Then wait for the token to be received (40 in Figure 4).
), when the reception control section 35 receives the token, the transmission control section 37 performs an operation of transmitting an idle signal via the selector SO and erases the token. (41 in Figure 4
), then at node C, selectors SL and S in FIG.
2 and S3 to the setting state shown at the right end of ■ in Fig. 6,
The connection form of the transmission path is set to a "separated" state in which each node b and node d are looped back (42 in FIG. 4).

このノードCの両系の伝送路A、Bへの出力は無信号状
態となり、ノードb、dでは制御コード検出部31.3
3においてノードCからの無信号(キャリアが検出され
ない)を検出する。この状態を検出すると、各ノードb
、dでは自ノードの接続形態をそれぞれA系でループバ
ック(第6図の■の状態)とB系でループバック(第6
図の■の状態)に変更する。これにより、ネットワーク
は、ノードbとノードdで折り返されたループバック運
用状態となり、ノードCはシステムから切り離される(
第4図の43.44)。
The outputs of this node C to the transmission lines A and B of both systems are in a no-signal state, and the control code detection units 31.3 at nodes b and d
3, detects no signal (carrier not detected) from node C. When this state is detected, each node b
, d, the connection form of the own node is loopback in system A (state shown in ■ in Figure 6) and loopback in system B (state 6).
Change the state to ■ in the figure). As a result, the network enters a loopback operation state with nodes B and D, and node C is disconnected from the system (
43.44 in Figure 4).

この時、ノードbではセレクタSl、S2.S3をそれ
ぞれ0,0.2の入力を選択するよう制御され、ノード
dでは、セレクタSl、S2.S3をそれぞれl、2.
Oの入力を選択するよう制御される。
At this time, in node b, selectors Sl, S2. S3 is controlled to select inputs of 0 and 0.2, respectively, and at node d, selectors Sl, S2 . S3 respectively l, 2.
It is controlled to select the input of O.

この切替えによりノードCは隣接ノードb、  dから
の無信号を制御コード検出部31.33で検出すると、
プロセッサ3Bの制御により隣接ノードb、dの一方、
この例ではノードbに対してトークン送出指示の制御コ
ードを制御コード送信部32から送信しく第4図の45
)、ノードCは切り離しが完成する。トークン送出指示
コードは。
As a result of this switching, when node C detects no signals from adjacent nodes b and d using control code detection units 31 and 33,
Under the control of the processor 3B, one of the adjacent nodes b and d,
In this example, the control code transmitter 32 sends a control code for a token sending instruction to the node b at 45 in FIG.
), the separation of node C is completed. The token sending instruction code is.

例えば、435B (4ビツトの符号に1ビツトの冗長
ビットを付加したコード)符号等の冗長符号を用いて、
データに割当てられてないコードの一つをこの制御情報
に割当てるか、制御フレームを送ってもよい。
For example, using a redundant code such as a 435B code (a code with 1 redundant bit added to a 4-bit code),
One of the codes not assigned to data may be assigned to this control information, or a control frame may be sent.

このflUIコードをノードbのB系の制御コード検出
部33でデコードしてトークン送出指示であることを検
出すると、送信制御部37からセレクタSOを介してト
ークンを送信する(第4rjAの46)、すると、この
トークンはB系に沿ってノードCを除いたリングを一巡
し、正常運用が再開される。
When this flUI code is decoded by the B-system control code detection unit 33 of the node b and it is detected as a token sending instruction, the token is transmitted from the transmission control unit 37 via the selector SO (46 of the fourth rjA), Then, this token goes around the ring along the B line excluding node C, and normal operation is resumed.

次に第5図に示すノード組込(加入)の制御フローを第
3図及び第6図を参照しながら説明する。
Next, the control flow of node incorporation (joining) shown in FIG. 5 will be explained with reference to FIGS. 3 and 6.

なお、vA込(加入)の全体の動作は第2図(ロ)に説
明した通りである。
Note that the entire operation including vA (subscription) is as explained in FIG. 2 (b).

第6図の■に示すようにノードCが分離された状態にあ
り、隣接ノードbはA系でループバック(第6図の■の
状態)シ、隣接ノードdはB系でループバック(第6図
の■の状態)しているときに、ノードCにおいて組込(
加入)を希望する入力を行うと、プロセッサ38の指示
によりトークン消去指示の制御コードが隣接ノードbま
たはCに強制送信される。この例ではノードbに対して
セレクタS4を介して制御コード送信部32から送信さ
れる(第5図の50)。
As shown in ■ in Figure 6, node C is in an isolated state, adjacent node b is in a loopback state in system A (state shown in ■ in Figure 6), and adjacent node d is in a loopback state in system B (state in 6), when node C is embedded (
When the user inputs a request for joining, a control code for instructing token deletion is forcibly transmitted to the adjacent node b or C according to an instruction from the processor 38. In this example, the control code is transmitted from the control code transmitter 32 to the node b via the selector S4 (50 in FIG. 5).

ノードbでは、この信号をB系の制御コード検出部33
でデコードし、トークン消去指示であることを認識する
。するとA系からのトークン受信を待ち(第5図の51
)、受信するとこれを消去する(第5図の52)、そし
て直ちにA系への出力用の制御コード送信部34からセ
レクタS5を介してトークン消去通知コード(このコー
ドはトークン消去指示コードと同じでもよい)を強制送
信する(第5図の53)。
At node b, this signal is sent to the B-system control code detection unit 33.
decodes it and recognizes that it is a token deletion instruction. Then, wait for token reception from A system (51 in Figure 5).
), upon receiving it, it is erased (52 in Figure 5), and immediately the control code transmitter 34 for output to the A system transmits a token erase notification code (this code is the same as the token erase instruction code). ) is forcibly transmitted (53 in Fig. 5).

ノードCは、この信号をA系の制御コード検出部31で
検出すると1両系の出力方向のセレクタS4.S5を介
して制御コード送信部32.34から、隣接ノードb、
dに対し伝送路立ち上げ(第5図の54)を開始するた
めのアイドル信号を送信する。隣接ノードb、dはそれ
ぞれ制御コード検出部33.31により検出するとノー
ドCとの伝送路が正常になったことを認識し、それぞれ
制御コード送信部34.32からセレクタS5゜S4を
介してノードCにアイドル信号を応答信号として送信し
た後、伝送路形態をA系で伝送する状態(第6図の■)
に切替える(第5図の55゜57)。
When the node C detects this signal in the control code detection unit 31 of the A system, the output direction selector S4. From the control code transmitter 32.34 via S5, the adjacent node b,
An idle signal for starting the transmission path (54 in FIG. 5) is transmitted to d. Adjacent nodes b and d recognize that the transmission path with node C has become normal when detected by their respective control code detection units 33.31, and transmit the signals from their control code transmission units 34.32 to the nodes via selectors S5 and S4. After transmitting an idle signal to C as a response signal, the transmission path configuration is a state in which transmission is performed using A system (■ in Figure 6)
(55°57 in Figure 5).

ノードCでこのアイドル信号を両系の制御コード検出部
31.33で検出し2両系からの信号が正常になったこ
とが確認されると自ノード状態をA系で伝送の状態(第
6図の■の状態)に切替えて(第5図の56)、ネット
ワークへの組み込みを完了する。その後、ノードCは送
信制御部37よりトークンを送信しく第5図の58)、
ネットワークの正常運用が再開される。
In node C, this idle signal is detected by the control code detection units 31.33 of both systems, and when it is confirmed that the signals from both systems are normal, the state of the own node is transmitted in system A (6th (56 in FIG. 5) to complete the incorporation into the network. Thereafter, the node C transmits the token from the transmission control unit 37 (58) in FIG.
Normal network operation resumes.

上記したノードの離脱(分離)及び組込(加入)のいず
れの動作においても、その間当該ノード以外のノードで
は伝送路の異常が全く検出されないため、従来の伝送路
の再構成に比較して遥かに短時間でノードの切離しおよ
び組込が可能とな[発明の効果] 本発明によればトークンリングネットワークにおいて伝
送路の異常を各ノードに意識させることなくノードの離
脱・加入が行えるため9通常の障害回復時間に比べては
るかに高速に伝送路再構成を実現できる。また、離脱・
加入の処理を行っている間はトークンが存在しないため
、伝送路は誰にも使用されないことが保証されるので、
送信フレームが紛失したりデータが誤ることがなく無駄
な再送を防止することができる。
In both of the operations of leaving (separating) and incorporating (joining) a node as described above, no abnormality in the transmission path is detected at any node other than the node in question, so it is far more effective than the conventional reconfiguration of the transmission path. [Effects of the Invention] According to the present invention, nodes can be detached and joined in a token ring network without making each node aware of abnormalities in the transmission path. Transmission path reconfiguration can be achieved much faster than the failure recovery time of . Also, withdrawal/
Since the token does not exist while the subscription is being processed, it is guaranteed that the transmission path is not used by anyone.
This prevents transmission frames from being lost or data from being erroneous, and wasteful retransmissions can be prevented.

は伝送路の接続形態と各セレクタの設定の関係を示す図
、第7図は従来例の説明図である。
7 is a diagram showing the relationship between the connection form of the transmission line and the settings of each selector, and FIG. 7 is an explanatory diagram of a conventional example.

第1図中 10:ノード 11:制御信号検出手段 12:制御信号送信手段 13;接続形態切替手段 14:送受信制御部 141 : )−クン制御手段 15:構成制御部 16A、16B:隣接ノードへの伝送路17A、17B
:他の隣接ノードへの伝送路
In Fig. 1, 10: Node 11: Control signal detection means 12: Control signal transmission means 13; Connection type switching means 14: Transmission/reception control section 141: )-Kun control means 15: Configuration control sections 16A, 16B: Connection to adjacent nodes Transmission lines 17A, 17B
:Transmission path to other adjacent nodes

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

Claims (2)

【特許請求の範囲】[Claims] (1)複数のノードを2重化したリング状の伝送路で結
合し、トークンによりアクセス制御を行うリングネット
ワークの伝送路制御方式において、ノードをネットワー
クから離脱させる時、 離脱希望のノードはトークン受信すると、これを消去し
て両隣接ノードに対して伝送路を折り返す形態に切替え
を行い、両隣接ノードからの伝送路の無信号を検出した
後、一方の隣接ノードに対しトークン発生指示を送信し
、 隣接ノードでは、前記伝送路の無信号を検出して伝送路
を折り返す形態に切替えた後、離脱希望ノード側からト
ークン発生指示を受信すると新たにトークンを送信して
正常運用を継続することを特徴とするリングネットワー
クの伝送路制御方式。
(1) In a ring network transmission path control method in which multiple nodes are connected through a duplex ring-shaped transmission path and access is controlled using tokens, when a node leaves the network, the node that wishes to leave receives a token. Then, it erases this and switches to a mode in which the transmission path is looped back to both adjacent nodes, and after detecting no signal on the transmission path from both adjacent nodes, it sends a token generation instruction to one adjacent node. , The adjacent node detects the no signal on the transmission path and switches to the mode of looping back the transmission path, and then, upon receiving a token generation instruction from the node wishing to leave, transmits a new token and continues normal operation. Characteristic ring network transmission path control method.
(2)複数のノードを2重化したリング状の伝送路で結
合し、トークンによりアクセス制御を行うリングネット
ワークの伝送路制御方式において、ノードをネットワー
クへ加入する時、 加入希望ノードは隣接ノードに対してトークン消去指示
を送信し、 隣接ノードで、該制御信号を検出後受信したトークンを
消去してトークン消去通知を加入希望ノードに送信し、 加入希望ノードは該トークン消去通知を検出すると伝送
路の接続状態を折り返し状態から通常の伝送状態に切替
え、新たなトークンを送信することにより運用を継続す
ることを特徴とするリングネットワークの伝送路制御方
式。
(2) In a ring network transmission path control method in which multiple nodes are connected via a duplex ring-shaped transmission path and access is controlled using tokens, when a node joins the network, the node wishing to join connects to the adjacent node. After detecting the control signal, the adjacent node erases the received token and sends a token erasure notification to the node desiring to join. When the node desiring to join detects the token erasing notification, it A transmission path control method for a ring network characterized by switching the connection state from a return state to a normal transmission state and continuing operation by transmitting a new token.
JP33399189A 1989-12-22 1989-12-22 Transmission line control system for ring network Pending JPH03195145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33399189A JPH03195145A (en) 1989-12-22 1989-12-22 Transmission line control system for ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33399189A JPH03195145A (en) 1989-12-22 1989-12-22 Transmission line control system for ring network

Publications (1)

Publication Number Publication Date
JPH03195145A true JPH03195145A (en) 1991-08-26

Family

ID=18272274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33399189A Pending JPH03195145A (en) 1989-12-22 1989-12-22 Transmission line control system for ring network

Country Status (1)

Country Link
JP (1) JPH03195145A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013055399A (en) * 2011-09-01 2013-03-21 Toshiba Corp Data transmission system, and method for detecting abnormality in the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013055399A (en) * 2011-09-01 2013-03-21 Toshiba Corp Data transmission system, and method for detecting abnormality in the same

Similar Documents

Publication Publication Date Title
JPH10303927A (en) Communication network, and constituting method of communication network
US4538264A (en) Self-repairing ring communications network
JPH05316136A (en) Trouble isolation and bypass reconstitution device in serial communication network
JPH0351142B2 (en)
JPH05316135A (en) Reconstitution device of dual ring
WO2013002855A1 (en) Dual-ring switch for rstp networks
JPH03195145A (en) Transmission line control system for ring network
JPH08265319A (en) Duplex monitoring control system
JPH03145840A (en) Transmission line control system for ring network
JP5347859B2 (en) Transmission system
JPS61213932A (en) Decentralized duplex computer system and its control method
JP2001086146A (en) Control method for fc-al system
JPH0430218B2 (en)
KR100475280B1 (en) Network Design Method of High Speed Ring Type for Fault Tolerant
JP2001202162A (en) Duplexing method of remote power control of terminal, terminal with duplexed remote power control and storage medium
JP2789880B2 (en) Duplex loop network bypass controller
JPS6177448A (en) Node switching system
JP2570574B2 (en) Detecting Transmission Line Connection Error in Duplex Loop Network
JPS63263944A (en) Loop network system
JPS6356738A (en) System switching system
JPH03261244A (en) Lan control system
JPH0740691B2 (en) Loop bus control method
JPH04293336A (en) Local area network
JPH0591120A (en) Local area network
JPS6160043A (en) Data transfer control system of computer network