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
JPH0795746B2 - Data communication control method - Google Patents
[go: Go Back, main page]

JPH0795746B2 - Data communication control method - Google Patents

Data communication control method

Info

Publication number
JPH0795746B2
JPH0795746B2 JP31737189A JP31737189A JPH0795746B2 JP H0795746 B2 JPH0795746 B2 JP H0795746B2 JP 31737189 A JP31737189 A JP 31737189A JP 31737189 A JP31737189 A JP 31737189A JP H0795746 B2 JPH0795746 B2 JP H0795746B2
Authority
JP
Japan
Prior art keywords
station
primary
condition
flag
primary station
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
JP31737189A
Other languages
Japanese (ja)
Other versions
JPH03177133A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP31737189A priority Critical patent/JPH0795746B2/en
Publication of JPH03177133A publication Critical patent/JPH03177133A/en
Publication of JPH0795746B2 publication Critical patent/JPH0795746B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ通信制御に利用する。本発明はリング形
の通信系においてデータを転送するデータ伝送系のデー
タ通信制御方式に関する。特に一次局の再設定方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is used for data communication control. The present invention relates to a data communication control system of a data transmission system for transferring data in a ring type communication system. In particular, it relates to the resetting method of the primary station.

〔概要〕〔Overview〕

本発明は多数のノードが時計回りおよび反時計回りの二
重回線によりリング状に接続され、各回線に一次局(親
局)が自動的に設定されるリング形通信システムにおけ
るデータ通信制御方式において、 上流からデータフレームが到来しないときに反対まわり
の回線にCフレームを送信させ、このCフレームを受信
しているノードは一次局になることを禁止するという新
たな条件を設けることにより、 データ回線異常によりデータフレームが正常にリング上
を一巡できないときでも短時間に正しく一次局が設定さ
れて通信を再開できるようにしたものである。
The present invention relates to a data communication control method in a ring communication system in which a large number of nodes are connected in a ring shape by dual clockwise and counterclockwise lines, and a primary station (master station) is automatically set in each circuit. , By setting a new condition that a C frame is transmitted to the opposite line when a data frame does not arrive from the upstream side and the node receiving this C frame is prohibited from becoming the primary station, Even if a data frame cannot normally go around the ring due to an abnormality, the primary station is correctly set and communication can be restarted in a short time.

〔従来の技術〕[Conventional technology]

従来、リング形の通信系でデータ伝送を行う場合、第1
図に示すように一つのリング形通信系に1個の一次局
(親局)と複数の二次局(子局)を設け、二次局では制
御フラグの受信を監視しながら受信データのコピーを行
い、その後に自局のデータを付加して次の二次局へ送信
している。
Conventionally, when performing data transmission in a ring type communication system,
As shown in the figure, one ring-type communication system is provided with one primary station (master station) and multiple secondary stations (slave stations), and the secondary station copies received data while monitoring the reception of control flags. After that, the data of its own station is added and transmitted to the next secondary station.

また、回線の劣化や回線断の場合には、一次局を1個だ
けでなく複数設定することが必要であり、その設定を自
動的に行う方式が知られている。そのための条件とし
て、(条件1)上流局からデータフレームが到来ししな
い(タイム・アウト)場合二次局は一次局になる。ただ
しタイムアウトの時間は各ノードによって異なる(優先
順位)。
Further, in the case of line deterioration or line disconnection, it is necessary to set not only one primary station but also a plurality of primary stations, and a method of automatically performing the setting is known. As a condition therefor, (condition 1) when the data frame does not arrive from the upstream station (time out), the secondary station becomes the primary station. However, the timeout time differs depending on each node (priority order).

(条件2)上流局より他局の送信したデータフレームを
受信した場合一次局は二次局になる。
(Condition 2) When a data frame transmitted from another station is received from the upstream station, the primary station becomes the secondary station.

(条件3)時計回り方向、反時計回り方向どちらか一方
の一次局は、反対回り方向の制御フラグ(Rフラグ(リ
ングが正常に形成されているときにONとなるフラグ))
がONでかつ送信方向の反対方向が一次局のときの制御フ
ラグ(Pフラグ(まだ1回も中継されていないデータフ
レームではOFFになるフラグ))がOFFであることを検出
した場合に、時計回り方向、反時計回り方向両方向の一
次局になる。
(Condition 3) Either the clockwise direction or the counterclockwise direction primary station, the control flag in the opposite direction (R flag (flag that turns on when the ring is normally formed))
When it is detected that the control flag (P flag (the flag that turns OFF in a data frame that has not been relayed even once)) is ON when is ON and the direction opposite to the transmission direction is the primary station, the clock It becomes the primary station in both the clockwise and counterclockwise directions.

がとられている。この条件により一次局、二次局を再設
定してデータを収集できるようにしていた。
Has been taken. Under this condition, the primary and secondary stations were reconfigured so that data could be collected.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

このような従来のリング形の通信系方式では、回線の劣
化や回線断により一次局からのデータフレームが正常に
リング上を巡ることができないときに、正確なデータ伝
送系に切り替わるための手順に無駄な操作を要する問題
があった。すなわち、上述の三条件のみであると、優先
順位にしたがってノードが次々に一次局に設定されてか
ら、その一次局の権利を次の優先順位の局に譲るという
操作が行われて、最終的な一次局の適正設定になるには
時間を要することになる。
In such a conventional ring-type communication system, when the data frame from the primary station cannot normally travel on the ring due to the deterioration of the line or the disconnection of the line, the procedure for switching to the accurate data transmission system is used. There was a problem that wasted operation. That is, if there are only the above-mentioned three conditions, an operation is performed in which nodes are set as primary stations one after another according to the priority order, and then the right of the primary station is transferred to the station having the next priority order, and finally It will take some time for the proper setting of the primary station.

本発明はこのような問題を解決するもので、一次局から
のデータ・フレームが正常にリング上を一巡できないと
きでも短時間に二次局だけで通信を再開できる方式を提
供することを目的とする。
The present invention solves such a problem, and an object of the present invention is to provide a method capable of restarting communication only by a secondary station in a short time even when a data frame from the primary station cannot normally make one round on the ring. To do.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明は、多数のノードが、時計まわりおよび反時計ま
わりの回線によりリング状に接続され、各ノードには、
時計まわりおよび反時計まわりの各回線について送受信
局を備え、各送受信局は、データフレームを生成して送
信する一次局モードおよび受信したデータフレームを中
継して送信する二次局モードの二つのモードのいずれか
に設定する手段を備え、この二つのモードのいずれかに
なる条件として、(条件1)上流局から所定時間内にデ
ータフレームが来ないとき二次局は一次局になる。ただ
しこの所定時間は各ノード毎に優先順位をつけて違えて
ある。(条件2)上流局より他局が送信したデータフレ
ームを受信したとき一次局は二次局になる。(条件3)
時計まわりおよび反時計まわりの一方でのみ一次局とな
っているノードでは、その一次局となっている回線と反
対まわりの回線で、Rフラグによりリングが確立してい
ることが確認され、かつ、Pフラグにより自局の上流側
隣りの局が一次局であることが認識されたときには両回
線でともに一次局になる。の三つの条件が設定されたデ
ータ通信制御方式において、各ノードには、上流からデ
ータフレームが到来しないときに反対まわりの回線にC
フラグを送信する手段を設け、前記二つのモードのいず
れかになる条件として、(条件4)自ノードの反対まわ
りの局で前記Cフラグを受信しているときには、そのノ
ードが一次局になることを禁止する条件を加えたことを
特徴とする。
According to the present invention, a large number of nodes are connected in a ring shape by clockwise and counterclockwise lines, and each node is
There are transceiver stations for clockwise and counterclockwise lines, and each transceiver station has two modes: a primary station mode for generating and transmitting a data frame and a secondary station mode for relaying and transmitting a received data frame. (Condition 1) When there is no data frame from the upstream station within a predetermined time, the secondary station becomes the primary station. However, the predetermined time is set differently for each node and different. (Condition 2) When a data frame transmitted from another station is received from the upstream station, the primary station becomes the secondary station. (Condition 3)
In the node that is the primary station only in one of clockwise and counterclockwise, it is confirmed that the ring is established by the R flag in the line opposite to the line that is the primary station, and When it is recognized from the P flag that the station adjacent on the upstream side of the own station is the primary station, both stations become primary stations on both lines. In the data communication control method in which the above three conditions are set, when each node does not receive a data frame from the upstream side,
A means for transmitting a flag is provided, and as a condition for becoming one of the two modes, (condition 4), when a station opposite to the own node is receiving the C flag, that node becomes the primary station. It is characterized by adding a condition to prohibit.

〔作用〕[Action]

送信データフレーム中に一次局、二次局の再設定制御フ
ラグ(Rフラグ、Pフラグ、Cフラグ)を付加し、この
制御フラグの受信を監視しながら受信データをコピー
し、その後に自局のデータを付けて次の二次局へ送信す
る。
The reset control flags (R flag, P flag, C flag) of the primary station and the secondary station are added to the transmission data frame, the reception data is copied while monitoring the reception of these control flags, and then the own station The data is attached and transmitted to the next secondary station.

ここで、 Rフラグはデータフレームが一巡しているときONになる
フラグ Pフラグはデータフレームが一度も中継されていないと
きOFFで中継されればONになるフラグ Cフラグは反対まわりの局で上流からデータフレームが
到来しないときにONになるフラグ である。
Here, the R flag is a flag that turns ON when the data frame has made one round. The P flag is a flag that turns ON if the data frame has not been relayed and is turned OFF when it is relayed. This flag is set to ON when no data frame arrives from.

二次局がデータフレームを受信しないときは二次局モー
ドから一次局モードに切り替わり、一次局が他局のデー
タフレームを受信したときは一次局のモードから二次局
モードに切り替わる。また、時計回り方向、反時計回り
方向どちらか一方向の一次局が反対方向のRフラグON、
PフラグOFFを検出することによって両方向の一次局モ
ードに切り替わり、自局と反対回り方向のCフラグがON
であることを検出することによって二次局モードに切り
替わる。
When the secondary station does not receive the data frame, it switches from the secondary station mode to the primary station mode, and when the primary station receives the data frame of another station, it switches from the primary station mode to the secondary station mode. Also, the R flag is ON when the primary station in one of the clockwise and counterclockwise directions is in the opposite direction,
By detecting P flag OFF, it switches to the primary station mode in both directions, and the C flag in the direction opposite to the own station is ON.
When it is detected, the mode is switched to the secondary station mode.

すなわち、なるべく同一ノードが両方向回線についてと
もに一次局になるように動くか、優先順位にしたがっ
て、順次繰り上げてゆく動作を経ることなく、不通回線
の先頭の局が一次局として設定される。
That is, the same node moves as much as possible to become the primary station for both bidirectional circuits, or the head station of the non-communication line is set as the primary station without the operation of sequentially advancing according to the priority order.

これにより、回線状態が劣化したり、断状態になっても
短時間でデータを伝送する通信系を設定することができ
る。
As a result, it is possible to set up a communication system that transmits data in a short time even if the line condition deteriorates or becomes disconnected.

〔実施例〕〔Example〕

次に、本発明実施例を図面に基づいて説明する。第1図
は本発明実施例の全体構成を示す図である。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing the overall configuration of an embodiment of the present invention.

本発明実施例は、多数のノードA〜Eが、時計まわりお
よび反時計まわりの回線21〜25および26〜30によりリン
グ状に接続され、各ノードA〜Eには、時計まわりおよ
び反時計まわりの各回線21〜25および26〜30について送
受信局11〜15および16〜20を備え、この各送受信局11〜
15および16〜20は、データフレームを生成して送信する
一次局モードおよび受信したデータフレームを中継して
送信する二次局モードの二つのモードのいずれかに設定
する手段を備え、この二つのモードのいずれかになる条
件として、(条件1)上流局から所定時間内にデータフ
レームが来ないとき二次局は一次局になる。ただしこの
所定時間は各ノード毎に優先順位をつけて違えてある。
(条件2)上流局より他局が送信したデータフレームを
受信したとき一次局は二次局になる。(条件3)時計ま
わりおよび反時計まわりの一方でのみ一次局となってい
るノードでは、その一次局となっている回線と反対まわ
りの回線で、Rフラグによりリングが確立していること
が確認され、かつ、Pフラグにより自局の上流側隣りの
局が一次局であることが認識されたときには両回線でと
もに一次局になる。の三つの条件が設定されたデータ通
信制御方式において、各ノードA〜Eには、上流からデ
ータフレームが到来しないときに反対まわりの回線にC
フラグを送信する手段を設け、前記二つのモードのいず
れかになる条件として、(条件4)自ノードの反対まわ
りの局で前記Cフラグを受信しているときには、そのノ
ードが一次局になることを禁止する条件が加えられる。
In the embodiment of the present invention, a large number of nodes A to E are connected in a ring shape by clockwise and counterclockwise lines 21 to 25 and 26 to 30, and each node A to E has a clockwise direction and a counterclockwise direction. Each of the lines 21 to 25 and 26 to 30 is provided with transceiver stations 11 to 15 and 16 to 20.
15 and 16 to 20 have means for setting one of two modes, a primary station mode for generating and transmitting a data frame and a secondary station mode for relaying and transmitting a received data frame. As a condition for any of the modes, (condition 1) the secondary station becomes the primary station when a data frame does not come from the upstream station within a predetermined time. However, the predetermined time is set differently for each node and different.
(Condition 2) When a data frame transmitted from another station is received from the upstream station, the primary station becomes the secondary station. (Condition 3) In the node that is the primary station only in one of clockwise and counterclockwise, it is confirmed that the ring is established by the R flag in the circuit opposite to the circuit that is the primary station. When the P flag recognizes that the station adjacent on the upstream side of the own station is the primary station, both channels become primary stations. In the data communication control system in which the above three conditions are set, each node A to E is connected to the opposite line by C when the data frame does not arrive from the upstream.
A means for transmitting a flag is provided, and as a condition for becoming one of the two modes, (condition 4), when a station opposite to the own node is receiving the C flag, that node becomes the primary station. The condition that prohibits is added.

第2図は本発明実施例を実現するための具体的構成例を
示すブロック図である。これによると、各ノードA〜E
の送受信局11〜15および16〜20には、データ回線21〜25
および26〜30とのデータ伝送の接続を行うデータ伝送接
続手段1と、回線21〜25および26〜30を監視して劣化も
しくは断状態になったことを検出するデータフレーム監
視手段2と、制御フラグ(Rフラグ、Pフラグ、Cフラ
グ)の受信を監視し受信データのコピーに自局のデータ
を付加して次の二次局へ送信するデータ送信手段8と、
データ送信のタイミングをとりデータフレームの流れを
監視するタイミング監視手段7と、送受信局11〜15およ
び16〜20がデータフレームを受信しないときに二次局モ
ードから一次局モードに切り替える二次局・一次局モー
ド切替手段4と、送受信局11〜15および16〜20が他局の
データフレームを受信したとき一次局モードから二次局
モードに切り替える一次局・二次局モード切替手段5と
を備え、さらに、送信データフレーム中に送受信局11〜
15および16〜20の制御フラグ(Rフラグ、Pフラグ、C
フラグ)を付加する制御フラグ切替手段3と、時計回り
方向、反時計回り方向のどちらか一方向の送受信局11〜
15および16〜20のデータ送信手段8が制御フラグを検出
したときの両方向の一次局モードに切り替える一次局モ
ード切替手段6とを備える。
FIG. 2 is a block diagram showing a concrete configuration example for realizing the embodiment of the present invention. According to this, each node AE
Transmitter stations 11-15 and 16-20 have data lines 21-25
And data transmission connection means 1 for connecting data transmission with 26 to 30, and data frame monitoring means 2 for monitoring the lines 21 to 25 and 26 to 30 to detect deterioration or disconnection, and control. Data transmitting means 8 for monitoring reception of flags (R flag, P flag, C flag), adding data of its own station to a copy of received data, and transmitting the data to the next secondary station;
Timing monitoring means 7 for timing the data transmission and monitoring the flow of data frames, and a secondary station for switching from the secondary station mode to the primary station mode when the transceiver stations 11-15 and 16-20 do not receive the data frame. A primary station mode switching means 4 and a primary station / secondary station mode switching means 5 for switching from the primary station mode to the secondary station mode when the transceiver stations 11 to 15 and 16 to 20 receive data frames of other stations. In addition, the transmitting / receiving station 11 to
15 and 16 to 20 control flags (R flag, P flag, C
Control flag switching means 3 for adding a flag) and the transmitting / receiving station 11 to one of the clockwise direction and the counterclockwise direction.
Primary station mode switching means 6 for switching to bidirectional primary station mode when the data transmitting means 15 and 16 to 20 detect the control flag.

次に、比較のために前述した従来の方式について第1図
を用いて説明する。すなわち、条件4のない状態をはじ
めに説明する。図中11は時計回りの一次局、12から15は
時計回りの二次局である。16は反時計回りの一次局、17
から20は反時計回りの二次局である。これらの一次局お
よび二次局が時計回りのデータ回線および反時計回りデ
ータ回線で接続される。ここで時計回りデータ回線、反
時計回りデータ回線とはデータの転送方向を区別するた
めの便宜上付けた名称である。
Next, the conventional method described above for comparison will be described with reference to FIG. That is, the state without condition 4 will be described first. In the figure, 11 is a clockwise primary station, and 12 to 15 are clockwise secondary stations. 16 is the counterclockwise primary station, 17
Nos. 20 to 20 are counterclockwise secondary stations. These primary and secondary stations are connected by clockwise and counterclockwise data lines. Here, the clockwise data line and the counterclockwise data line are names given for convenience of distinguishing the data transfer direction.

このような従来のデータ伝送方式では、一次局および二
次局は互いにデータ転送方向が異なる時計回りと反時計
回りの二つのデータ回線でリング状に接続され、また、
各一次局および二次局はデータ回線を監視し、回線が劣
化もしくは回線断状態になったことを検出すると一次局
モードおよび二次局モードを切り替える機能を備えてい
る。
In such a conventional data transmission method, the primary station and the secondary station are connected in a ring shape by two data lines of clockwise and counterclockwise directions in which the data transfer directions are different from each other, and
Each of the primary station and the secondary station has a function of monitoring the data line and switching between the primary station mode and the secondary station mode when it detects that the line has deteriorated or has become disconnected.

いま、第3図に示すように3ヶ所の回線断が発生したも
のと仮定する。タイムアウトの優先順位はA→B→C→
D→Eの順である。このとき一次局、二次局の再設定の
条件1(優先順位)により二次局17が一次局モードに切
り替わる。その後また一次局、二次局の再設定の条件1
(優先順位)により二次局18が一次局モードに切り替わ
る。そして条件2により一次局17は二次局モードに切り
替わり、条件3により18と13の局は両方向の一次局にな
る。
Now, assume that there are three line disconnections as shown in FIG. The priority of timeout is A → B → C →
The order is D → E. At this time, the secondary station 17 is switched to the primary station mode according to the condition 1 (priority order) for resetting the primary station and the secondary station. After that, condition 1 for resetting the primary and secondary stations again
The secondary station 18 switches to the primary station mode according to (priority order). Then, the condition 2 causes the primary station 17 to switch to the secondary station mode, and the condition 3 causes the stations 18 and 13 to become bidirectional primary stations.

また一次局、二次局の再設定の条件1(優先順位)によ
り二次局19が一次局モードに切り替わる。その後また一
次局、二次局の再設定の条件1(優先順位)により二次
局20が一次局モードに切り替わる。そして条件2により
一次局19は二次局モードに切り替わり、条件3により20
と5の局は両方向の一次局になる。
Further, the secondary station 19 is switched to the primary station mode according to the condition 1 (priority order) for resetting the primary station and the secondary station. After that, the secondary station 20 is switched to the primary station mode again under the condition 1 (priority order) for resetting the primary station and the secondary station. Then, condition 2 switches the primary station 19 to the secondary station mode, and condition 3 causes 20
Stations 5 and 5 are primary stations in both directions.

このようにデータ伝送系が回線断となった場合に、通信
を再開するためのステップを多く要し無駄な時間がかか
る。
In this way, when the data transmission system is disconnected, many steps are required for resuming communication, resulting in wasted time.

これに対し本発明実施例では、従来の方式で反時計回り
の二次局17と19が一次局モードに切り替わる操作は両局
から出る反時計データ回線断となっているために必要で
はない。
On the other hand, in the embodiment of the present invention, the operation of switching the counterclockwise secondary stations 17 and 19 to the primary station mode by the conventional method is not necessary because the counterclockwise data line from both stations is disconnected.

この問題を解決するために、送出方向と反対方向のライ
ンが断状態のとき制御フラグCフラグを立てる。この場
合一次局11と二次局13と15がCフラグONである。時計方
向の一次局16と反時計方向の二次局17、19は自局と反対
回り方向(一次局16ならば一次局11、二次局17ならば二
次局12、二次局19ならば二次局14)の受信した最後のデ
ータフレーム内のCフラグがONの場合は一次局にならな
い。これを次に示す条件4とする。
In order to solve this problem, the control flag C flag is set when the line in the direction opposite to the sending direction is in the disconnected state. In this case, the primary station 11 and the secondary stations 13 and 15 have the C flag ON. The primary station 16 in the clockwise direction and the secondary stations 17 and 19 in the counterclockwise direction are in the opposite direction to that of the own station (if the primary station 16 is the primary station 11, if the secondary station 17 is the secondary station 12, if the secondary station 19 is For example, if the C flag in the last data frame received by the secondary station 14) is ON, it will not become the primary station. This is Condition 4 shown below.

(条件4)自局と反対回り方向の受信した最後のデータ
フレーム内のCフラグがONの場合一次局になることを禁
止する。
(Condition 4) When the C flag in the last received data frame in the opposite direction to the own station is ON, prohibition of becoming the primary station.

この条件4により第3図に示すような回線断が発生した
場合も、一次局、二次局の再設定の条件1(優先順位)
により二次局18が一次局モードに切り替わる。また、条
件3により二次局18と13は両方向の一次局になる。そし
て、条件1(優先順位)により二次局20が一次局モード
に切り替わる。このようにステップが短くなり短時間で
通信を再開することができる。
Even if a line disconnection as shown in Fig. 3 occurs due to this condition 4, condition 1 (priority order) for resetting the primary station and secondary station
This causes the secondary station 18 to switch to the primary station mode. Further, according to the condition 3, the secondary stations 18 and 13 become the primary stations in both directions. Then, the secondary station 20 is switched to the primary station mode by the condition 1 (priority order). In this way, the steps are shortened and communication can be restarted in a short time.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、リング形のデータ
伝送系では、回線の劣化や回線断により一次局からのデ
ータフレームが正常にリング上を一巡できないときでも
短時間に二次局に設定されていた局のうちの適正な局が
一次局に自動設定されるから、通信を再開することがで
きる効果がある。
As described above, according to the present invention, in the ring type data transmission system, even if the data frame from the primary station cannot normally make one round on the ring due to the deterioration of the line or the line disconnection, it is set to the secondary station in a short time. Since an appropriate station among the set stations is automatically set as the primary station, there is an effect that communication can be restarted.

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

第1図は従来例および実施例における全体構成を示すブ
ロック図。 第2図は本発明実施例に係わる送受信局の構成を示すブ
ロック図。 第3図は従来例および実施例において回線断が発生した
ときの状態を示す図。 1……データ伝送接続手段、2……データフレーム監視
手段、3……制御フラグ切替手段、4……二次局・一次
局モード切替手段、5……一次局・二次局モード切替手
段、6……一次局モード切替手段、7……タイミング監
視手段、8……データ送信手段、A、B、C、D、E…
…ノード。
FIG. 1 is a block diagram showing the overall configuration of a conventional example and an example. FIG. 2 is a block diagram showing the configuration of a transceiver station according to the embodiment of the present invention. FIG. 3 is a diagram showing a state when a line disconnection occurs in the conventional example and the example. 1 ... Data transmission connection means, 2 ... Data frame monitoring means, 3 ... Control flag switching means, 4 ... Secondary station / primary station mode switching means, 5 ... Primary station / secondary station mode switching means, 6 ... Primary station mode switching means, 7 ... Timing monitoring means, 8 ... Data transmitting means, A, B, C, D, E ...
…node.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】多数のノードが、時計まわりおよび反時計
まわりの回線によりリング状に接続され、 各ノードには、時計まわりおよび反時計まわりの各回線
について送受信局を備え、 各送受信局は、データフレームを生成して送信する一次
局モードおよび受信したデータフレームを中継して送信
する二次局モードの二つのモードのいずれかに設定する
手段を備え、 この二つのモードのいずれかになる条件として、 (条件1)上流局から所定時間内にデータフレームが来
ないとき二次局は一次局になる。ただしこの所定時間は
各ノード毎に優先順位をつけて違えてある。 (条件2)上流局より他局が送信したデータフレームを
受信したとき一次局は二次局になる。 (条件3)時計まわりおよび反時計まわりの一方でのみ
一次局となっているノードでは、その一次局となってい
る回線と反対まわりの回線で、Rフラグによりリングが
確立していることが確認され、かつ、Pフラグにより自
局の上流側隣りの局が一次局であることが認識されたと
きには両回線でともに一次局になる。 の三つの条件が設定されたデータ通信制御方式におい
て、 各ノードには、上流からデータフレームが到来しないと
きに反対まわりの回線にCフラグを送信する手段を設
け、 前記二つのモードのいずれかになる条件として、 (条件4)自ノードの反対まわりの局で前記Cフラグを
受信しているときには、そのノードが一次局になること
を禁止する 条件を加えた ことを特徴とするデータ通信制御方式。
1. A large number of nodes are connected in a ring shape by clockwise and counterclockwise lines, each node is provided with a transceiver station for each clockwise and counterclockwise line, and each transceiver station is Means for setting the primary station mode for generating and transmitting a data frame and the secondary station mode for relaying and transmitting the received data frame are provided. (Condition 1) When no data frame arrives from the upstream station within a predetermined time, the secondary station becomes the primary station. However, the predetermined time is set differently for each node and different. (Condition 2) When a data frame transmitted from another station is received from the upstream station, the primary station becomes the secondary station. (Condition 3) In the node that is the primary station only in one of clockwise and counterclockwise, it is confirmed that the ring is established by the R flag in the circuit opposite to the circuit that is the primary station. When the P flag recognizes that the station adjacent on the upstream side of the own station is the primary station, both channels become primary stations. In the data communication control method in which the above three conditions are set, each node is provided with means for transmitting a C flag to the opposite line when a data frame does not arrive from the upstream side, and either of the two modes is set. As a condition, (condition 4) a condition for adding a condition for prohibiting the node from becoming a primary station when the station around the node is receiving the C flag is added. .
JP31737189A 1989-12-05 1989-12-05 Data communication control method Expired - Lifetime JPH0795746B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31737189A JPH0795746B2 (en) 1989-12-05 1989-12-05 Data communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31737189A JPH0795746B2 (en) 1989-12-05 1989-12-05 Data communication control method

Publications (2)

Publication Number Publication Date
JPH03177133A JPH03177133A (en) 1991-08-01
JPH0795746B2 true JPH0795746B2 (en) 1995-10-11

Family

ID=18087504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31737189A Expired - Lifetime JPH0795746B2 (en) 1989-12-05 1989-12-05 Data communication control method

Country Status (1)

Country Link
JP (1) JPH0795746B2 (en)

Also Published As

Publication number Publication date
JPH03177133A (en) 1991-08-01

Similar Documents

Publication Publication Date Title
GB2172175A (en) Controlling ring networks on detection of fault
JPS6346029A (en) Loopback control system
JPS608667B2 (en) Loop data highway system
JPH0795746B2 (en) Data communication control method
JP2679506B2 (en) Clock switching method
JPH0630009A (en) Master backup method for ring LAN
CN211791506U (en) Dual-wireless-link hot standby circuit
JP2669356B2 (en) PDS transmission system
JP2526602B2 (en) Data transmission method
JPS5619254A (en) Remote control system
JPS5923650A (en) Backup method
JPH0583018B2 (en)
JP2841686B2 (en) Transmission line switching device
JP2967655B2 (en) Clock switching method
JPH0714160B2 (en) Remote monitoring controller
JPH0484536A (en) Data communication control system
JPH03143050A (en) Loop communication system
JPH05327743A (en) Transmission line control method for data communication system
CN113162868A (en) Data transmission method, data transmission station and communication system of Ethernet
JPS60254852A (en) Communication control system
JPH05244143A (en) Clock switching system
JPH0683241B2 (en) Data transmission method
JPH03107242A (en) Ring reconstitution method for network system
JPS60112337A (en) Duplex ring type transmission system
JPS58171153A (en) Communication system of loop transmission