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

JP2526602B2 - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JP2526602B2
JP2526602B2 JP62234080A JP23408087A JP2526602B2 JP 2526602 B2 JP2526602 B2 JP 2526602B2 JP 62234080 A JP62234080 A JP 62234080A JP 23408087 A JP23408087 A JP 23408087A JP 2526602 B2 JP2526602 B2 JP 2526602B2
Authority
JP
Japan
Prior art keywords
data
data transmission
line
transmission device
loop
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
JP62234080A
Other languages
Japanese (ja)
Other versions
JPS6477341A (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 JP62234080A priority Critical patent/JP2526602B2/en
Publication of JPS6477341A publication Critical patent/JPS6477341A/en
Application granted granted Critical
Publication of JP2526602B2 publication Critical patent/JP2526602B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、HDLCループモードを利用してデータの転送
を行う際のデータ伝送方式に関する。
Description: TECHNICAL FIELD The present invention relates to a data transmission method when data is transferred using an HDLC loop mode.

(従来の技術) 第9図は従来方式のHDLCループ方式を用いた標準的な
データ伝送系の基本構成を示す図である。図において、
54はデータ回線であり、データの伝送方向を矢印で示し
てある。
(Prior Art) FIG. 9 is a diagram showing a basic configuration of a standard data transmission system using a conventional HDLC loop system. In the figure,
Reference numeral 54 is a data line, and the data transmission direction is indicated by an arrow.

各1次局51および2次局52,53は互いに別の局の送信
端子と受信端子が接続され、いわゆるタンデム接続にな
つている。データはHDLCのプロトコルに従つて伝送され
る。
Each of the primary station 51 and the secondary stations 52, 53 is connected to the transmission terminal and the reception terminal of a station different from each other to form a so-called tandem connection. Data is transmitted according to the HDLC protocol.

第10図は1次局51が送信するデータ・フレームの構造
を示す図である。
FIG. 10 is a diagram showing the structure of a data frame transmitted by the primary station 51.

スタート・フラグ61は01111110の8ビツト・データで
構成されている。
The start flag 61 is composed of 8 bit data of 01111110.

送信データ部分62は通常、受信局の番号を示すレシーブ
・アドレスと、データの転送手順を制御するコントロー
ル・フイールドと、その他の実際の送信データであるI
−フイールドに分かれている。
The transmitted data portion 62 is usually a receive address indicating the number of the receiving station, a control field for controlling the data transfer procedure, and other actual transmitted data.
-Divided into fields.

CRCコード部63は送信データ部62のエラーを識別するた
めのものである。
The CRC code section 63 is for identifying an error in the transmission data section 62.

送信時、この送信データ部分62とCRCコード部63のデー
タ部分で「1」が5ビツト連続すると、「0」を挿入
し、また受信時は逆に「1」が5ビツト連続すると次の
「0」を除く、0ビツト挿入、除去を行うように構成さ
れている。
When "1" is 5 bits in succession in the transmission data part 62 and CRC code part 63 at the time of transmission, "0" is inserted, and when receiving "1" 5 bits in succession, the next " It is configured to insert and remove 0 bits except "0".

GO-AHEADフラグ64は01111111の8ビツト・データで構成
されている。
The GO-AHEAD flag 64 is composed of 0111111111 8-bit data.

2次局52,53は受信データを監視しつつ1ビツト遅れで
送信している。
The secondary stations 52 and 53 transmit the data one bit behind while monitoring the received data.

ビツト「1」が6ビツト連続した場合、データ・フレー
ムの初めおよび終わりを検出できる。
If the bit "1" is consecutive 6 bits, the beginning and end of the data frame can be detected.

さらにビツト「1」が7ビツト連続した場合にはGO-AHE
ADフラグと見なし最後の1ビツトを「0」に変更、すな
わちデータ・フレーム開始フラグあるいは終了フラグに
換えて送信し、自局データ・フレームを送信する。
Furthermore, if 7 bits are consecutive in 1 bit, GO-AHE
It is regarded as an AD flag, and the last one bit is changed to "0", that is, the data frame start flag or the end flag is exchanged for transmission, and the local station data frame is transmitted.

2次局52,53は自局データを送信し終るとデータ・フレ
ームの最後にビツト「0」の次にビツト「1」が7ビツ
ト以上連続するGO-AHEADフラグを送信する。
When the secondary stations 52 and 53 finish transmitting their own data, they transmit a GO-AHEAD flag in which at the end of the data frame, a bit "0" is followed by a bit "1" of 7 bits or more.

この結果、1次局51の受信端子にデータが一巡して戻
つてくる際には51,52,53の順番に各装置のデータ・フレ
ームがフラグで区切られて並んでくることになる。
As a result, when the data is returned to the receiving terminal of the primary station 51 in one round, the data frames of the respective devices are arranged in the order of 51, 52, 53 separated by flags.

上述のデータ伝送方式では当該データ伝送系内に1台
の1次局しか設けることができず1次局に障害が発生し
た場合データ伝送系を確保できない。
In the above-mentioned data transmission system, only one primary station can be provided in the data transmission system, and the data transmission system cannot be secured when a failure occurs in the primary station.

そこで、データ伝送系の回線状態によりデータ伝送系
内に複数の1次局を設ける方法が考えられている。
Therefore, a method of providing a plurality of primary stations in the data transmission system depending on the line state of the data transmission system has been considered.

この方式は各データ伝送装置に回線状態を監視する手段
と、ループモードでの送信を開始するためのGO-AHEADフ
ラグを送信する手段と、GO-AHEADフラグを送信する1次
局モードおよびループ送信する2次局モードを切り替え
る手段と、送信データ・フレーム中に回線断の識別フラ
グを送信する手段を設け、この送信識別フラグをもとに
1次局モードと2次局モードを切り替えることにより回
線状態が劣化もしくは回線断状態でもデータ伝送系を確
保するものである。
This system is a means to monitor the line status to each data transmission device, a means to send a GO-AHEAD flag to start transmission in loop mode, a primary station mode to send a GO-AHEAD flag and loop transmission. Means for switching the secondary station mode and means for transmitting a line disconnection identification flag in the transmission data frame, and switching the primary station mode and the secondary station mode based on the transmission identification flag. The data transmission system is secured even when the condition is deteriorated or the line is disconnected.

(発明が解決しようとする問題点) 上述した従来の方式のうち前者では、1つのループ系
には1次局が1台のみしか存在しないため、データ伝送
のタイミングを採つたり、データ・フレームの流れを監
視したりする動作を1次局が行つている。
(Problems to be Solved by the Invention) In the former one of the above-mentioned conventional methods, since only one primary station exists in one loop system, timing of data transmission or data frame The primary station is performing an operation of monitoring the flow of.

そのため、回線の劣化や回線断により1次局からのGO-A
HEADフラグおよびデータ・フレームが正常にループ上を
一巡できないようなとき、2次局だけでは送信を開始す
ることができず、2次局間でのデータ交換が不能になる
という欠点がある。
Therefore, GO-A from the primary station due to line deterioration or line disconnection
When the HEAD flag and the data frame cannot normally make a round in the loop, there is a drawback that the secondary station cannot start the transmission and the data exchange between the secondary stations becomes impossible.

また、後者のデータ伝送方式を用いた場合にはループ
状回線の切断部分にある1次局モードとなつたデータ伝
送装置に届いたデータは当該1次局データ伝送装置によ
つて再度ループ回線の逆方向に送信しなければ転送先デ
ータ伝送装置へのデータ転送が完了しないことがあり、
この手順のためにデータ転送に無駄時間が生じ、データ
転送に関する1次局の処理を複雑にするという欠点があ
る。
Further, when the latter data transmission method is used, the data arriving at the data transmission device in the primary station mode in the disconnection portion of the loop-shaped line is re-routed by the primary station data transmission device. If you do not send in the reverse direction, data transfer to the destination data transmission device may not be completed,
Due to this procedure, there is a dead time in the data transfer, and the processing of the primary station regarding the data transfer is complicated.

本発明の目的は上記前者および後者の欠点を解決でき
るデータ伝送方式を提供することにある。
An object of the present invention is to provide a data transmission system which can solve the above-mentioned drawbacks of the former and the latter.

(問題点を解決するための手段) 前記目的を達成するために本発明は、HDLCループモー
ドによるデータ通信機能を持つデータ伝送装置を、互い
に逆方向にデータを伝送する2つのLOOP状回線によつて
接続し、データ伝送装置間でデータを送受するデータ伝
送方式において、各データ伝送装置に、回線状態を監視
する監視手段と、ループモードでの送信を開始するため
のGO-AHEADフラグを送信するGO-AHEADフラグ送信手段
と、GO-AHEADフラグを送信する1次局モードおよびルー
プ送信する2次局モードを切り替える切替手段と、送信
データ・フレーム中に回線断の識別フラグを送信する識
別フラグ送信手段と、回線上の各データ伝送装置から受
信した前記識別フラグを記憶する記憶手段と、データ転
送を制御する制御手段をそれぞれ設け、各データ伝送装
置から他のデータ伝送装置にデータを転送する際、回線
上の各データ伝送装置から受信した前記識別フラグを検
索し、2つのループ回線に対し送信する方向を切り替え
るように構成されている。
(Means for Solving Problems) In order to achieve the above object, the present invention provides a data transmission device having a data communication function in an HDLC loop mode with two LOOP-like lines that transmit data in opposite directions. In the data transmission method in which data is transmitted and received between data transmission devices connected to each other, a monitoring means for monitoring the line status and a GO-AHEAD flag for starting transmission in loop mode are transmitted to each data transmission device. GO-AHEAD flag transmitting means, switching means for switching between the primary station mode for transmitting the GO-AHEAD flag and the secondary station mode for loop transmission, and the identification flag transmission for transmitting the line disconnection identification flag in the transmission data frame. Means, storage means for storing the identification flag received from each data transmission device on the line, and control means for controlling data transfer, respectively. When transferring data from the other data transmission device is configured to switch the direction in which to search the identification flag received from the data transmission apparatus on the line, and transmits to the two loop lines.

(実施例) 以下、図を参照して本発明の実施例を説明する。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第9図に示す従来例の場合、データ送信の起動を掛け
るのは常に1次局1のみである。
In the case of the conventional example shown in FIG. 9, only the primary station 1 always activates the data transmission.

また、2次局から他の局へデータを転送する場合も1次
局を介し、1次局がデータの受渡しをコントロールする
必要がある。
Also, when transferring data from a secondary station to another station, it is necessary for the primary station to control the delivery of data via the primary station.

ここで、1次局51に障害が発生するか、回線54が劣化も
しくは回線断状態となつてGO-AHEADフラグが受け渡され
なくなると、2次局は正常に機能していてもデータ伝送
が行えなくなる。
If the GO-AHEAD flag is not passed because the primary station 51 fails or the line 54 is deteriorated or disconnected, the data transmission is possible even if the secondary station is functioning normally. I can't do it.

この次点を補うため、1次局モードと2次局モードを
切り替えるデータ伝送方式を使つた例を第11図に示す。
FIG. 11 shows an example of using a data transmission system for switching between the primary station mode and the secondary station mode in order to supplement this secondary point.

第11図の例はデータ伝送装置21,22,23,24、外回りデー
タ回線25および内回りデータ回線26より構成されてい
る。
The example of FIG. 11 comprises data transmission devices 21, 22, 23, 24, an outer data line 25 and an inner data line 26.

ここで、データ回線を外回り、内回りとしたのはデータ
の転送方向を区別するため、便宜上つけた名称である。
Here, the names of the data lines that go outside and inside are given for convenience in order to distinguish the data transfer direction.

このデータ伝送方式では、既に説明したように1次局
および2次局は互いにデータ転送方向が異なる外回りと
内回りの2つのデータ回線でループ接続している。
In this data transmission method, as described above, the primary station and the secondary station are loop-connected by two data lines, an outer ring and an inner ring, which have different data transfer directions.

また、各1次局および2次局はデータ回線を監視し、回
線が劣化もしくは回線断状態を検出すると1次局モード
および2次局モードを切り替える機能を有している。
Each primary station and secondary station has a function of monitoring the data line and switching between the primary station mode and the secondary station mode when the line is deteriorated or a line disconnection state is detected.

ここで説明の便宜上、データ伝送装置21を1次局モー
ドとし外回りおよび内回りにGO-AHEADフラグの送信を行
い、2次局22,23,24はループモードでデータの受信およ
び送信を行つているものとする。
Here, for convenience of explanation, the data transmission device 21 is set to the primary station mode, the GO-AHEAD flag is transmitted to the outer and inner loops, and the secondary stations 22, 23 and 24 receive and transmit the data in the loop mode. I shall.

従来このようなデータ伝送系では例えば2次局モード
となつているデータ伝送装置24からデータ伝送装置22に
対してコマンドを転送する場合、外回り回線25にデータ
を送信すると1次局モードとなつているデータ伝送装置
21が受信したデータの転送先を確認してデータを転送先
データ伝送装置に渡す制御を行う必要があつた。
Conventionally, in such a data transmission system, for example, when a command is transferred from the data transmission device 24 which is in the secondary station mode to the data transmission device 22, when the data is transmitted to the outer loop line 25, the primary station mode is set. Data transmission equipment
It was necessary to confirm the transfer destination of the data received by 21 and perform control to pass the data to the transfer destination data transmission device.

第1図は本発明方式で使用するデータ伝送装置の一実
施例を示すブロツク図である。
FIG. 1 is a block diagram showing an embodiment of a data transmission device used in the method of the present invention.

本図のデータ伝送装置1はHDLCループデータ通信手段
4,5、アイドル・フレーム記憶手段6、回線監視手段
7、データ転送制御手段8より構成されており、回線状
態により1次局モード、2次局モードの切り替え、回線
状態識別フラグの転送の起動、データ伝送系の各データ
伝送装置から受信した回線識別フラグを検索しデータ転
送方向の切り替えを行う。2は外回りデータ回線、3は
内回りデータ回線である。
The data transmission device 1 of this figure is an HDLC loop data communication means.
4,5, idle frame storage means 6, line monitoring means 7, and data transfer control means 8, switching between the primary station mode and the secondary station mode depending on the line status, and activation of transfer of the line status identification flag. , The line identification flag received from each data transmission device of the data transmission system is searched to switch the data transfer direction. 2 is an outer data line, and 3 is an inner data line.

次に、本発明によるデータ伝送方式の動作について説
明する。
Next, the operation of the data transmission method according to the present invention will be described.

第1図において各データ伝送装置はループ上に各装置の
装置番号と各装置ごとに内回り、外回り双方向について
回線の受信状態を示すLOOP BREAKフラグ(LBF)を全局
に対して通報するデータ・フレームを送信する。
In FIG. 1, each data transmission device sends a LOOP BREAK flag (LBF), which indicates the receiving state of the line for the device number of each device and the inward and outward bidirectional signals, to all stations on a loop. To send.

全局に対するデータ送信はレシーブ・アドレスをグロー
バル・アドレスにすることで可能となる。
Data transmission to all stations is possible by making the receive address a global address.

このデータ・フレームをアイドル・フレームと呼ぶ。こ
のデータ・フレームの構造を第2図に示す。
This data frame is called an idle frame. The structure of this data frame is shown in FIG.

このようなデータ回線上で例えば2次局22から2次局
24に対してコマンドを送信する場合、2次局22は自局の
アイドル・フレーム送出に続いてもしくはアイドル・フ
レーム送出前にコマンド用のデータ・フレームを送出
し、その後にGO-AHEADフラグを送信する。
On such a data line, for example, from the secondary station 22 to the secondary station
When sending a command to 24, the secondary station 22 sends a data frame for the command following the sending of its own idle frame or before sending the idle frame, and then sends the GO-AHEAD flag. To do.

2次局23はレシーブ・アドレスが自局アドレスもしくは
グローバル・アドレスでない場合はデータ・フレームを
受信せず、受信データをそのまま送信するため2次局22
が送信したコマンド・フレームは2次局23を素通りして
2次局24に届くことになる。
The secondary station 23 does not receive the data frame when the receive address is not its own address or the global address, and the received data is transmitted as it is, so the secondary station 22
The command frame transmitted by the device passes through the secondary station 23 and reaches the secondary station 24.

第3図は2次局22が送信するデータ・フレームの構造で
ある。
FIG. 3 shows the structure of the data frame transmitted by the secondary station 22.

次に、データ回線断状態での各装置の動作について第
4図を用いて説明する。
Next, the operation of each device when the data line is disconnected will be described with reference to FIG.

ここでは前記第1図のデータ伝送系に加えて27の位置で
回線断が発生しているものとする。このとき、2次局22
では内回りデータ回線で2次局23では外回りデータ回線
でそれぞれ回線断が検出される。
Here, in addition to the data transmission system of FIG. 1, it is assumed that a line disconnection has occurred at position 27. At this time, the secondary station 22
Then, the line break is detected in the inner data line and in the secondary station 23 in the outer data line.

回線断を検出した2次局は同一方向について1次局モー
ドに切り替えを行う。すなわち、2次局22は内回りにつ
いて、2次局23は外回りについてそれぞれ1次局とな
り、自装置のアイドル・フレームとGO-AHEADフラグの送
信を開始する。
The secondary station detecting the line disconnection switches to the primary station mode in the same direction. That is, the secondary station 22 becomes the primary station for the inner route and the secondary station 23 for the outer route, and starts transmitting the idle frame of its own device and the GO-AHEAD flag.

また、上記アイドル・フレームには各方向について回線
断が発生していることを示す1次局フラグLBFがセツト
されている。
Further, the idle station is set with a primary station flag LBF indicating that a line break has occurred in each direction.

1次局21は上記アイドル・フレームを受けて各々のLBF
と同一方向について2次局モードに切り替わる。
The primary station 21 receives each idle frame and receives each LBF.
Switch to the secondary station mode in the same direction as.

したがつて、2次局22と23の間でGO-AHEADフラグのやり
取りが行われ、このフラグを送信起動のトリガーとして
データ回線上の各装置間でデータを受け渡すことが可能
となる。
Therefore, the GO-AHEAD flag is exchanged between the secondary stations 22 and 23, and this flag can be used as a trigger for starting transmission to transfer data between the devices on the data line.

第5図は1次局に障害が発生した場合のデータ伝送系
について示している。
FIG. 5 shows the data transmission system when a failure occurs in the primary station.

ここでは、2次局22と2次局24がそれぞれ外回りおよび
内回りの回線としてデータ伝送系の障害を検出し、1次
局モードとなる。
In this case, the secondary station 22 and the secondary station 24 detect a fault in the data transmission system as an outer loop line and an inner loop line, respectively, and the primary station mode is set.

この場合2次局22は外回りに、2次局24は内回りにアイ
ドル・フレームとGO-AHEADフラグを送出し、双方向の装
置間で2次局間のデータ交換を可能にしている。
In this case, the secondary station 22 sends an idle frame and the secondary station 24 sends an idle frame and a GO-AHEAD flag inward, thereby enabling data exchange between the secondary stations between the two-way devices.

しかし、前記のデータ伝送方式では例えばデータ伝送
装置23からデータ伝送装置22に対してデータを転送する
場合、外回り回線にデータを載せるとデータはデータ伝
送装置21で消失してしまいデータ伝送装置22には到達し
ない、そこで考えられているのが1次局となつているデ
ータ伝送装置24で受信したデータを逆方向の内回りに再
転送する方法である。
However, in the data transmission method described above, for example, when data is transferred from the data transmission device 23 to the data transmission device 22, if the data is placed on the outer loop line, the data is lost in the data transmission device 21 and is transferred to the data transmission device 22. Does not arrive, and what is considered there is a method of retransmitting the data received by the data transmission device 24, which is the primary station, inward in the opposite direction.

しかしこの方法では一旦データをデータ伝送装置24に収
集した後、データ伝送装置24がループ状回線26にデータ
転送を開始するタイミングでデータの再転送をするため
に、時間的な遅れを生じ、また1次局24の処理も複雑に
なるという欠点があつた。
However, in this method, since data is once collected in the data transmission device 24 and data is retransmitted at the timing when the data transmission device 24 starts data transfer to the loop line 26, a time delay occurs, and There is a drawback that the processing of the primary station 24 is also complicated.

本発明によるデータ伝送方式では各2次局にループ状
回線の双方向から受信したアイドル・フレームと1次局
フラグLBFをもとにループ状回線のどちらの方向にデー
タを送信すべきかを判別してデータ転送する方向を切り
替える機能を有することにより、回線上のデータ・リン
クを確立するものである。
In the data transmission system according to the present invention, it is determined which direction of the loop line should be transmitted to each secondary station based on the idle frame received from both directions of the loop line and the primary station flag LBF. A data link on the line is established by having a function of switching the direction of data transfer.

第6図は第10図の正常なデータ伝送系においてデータ
伝送装置24がループ状回線の双方向から受信するデータ
列である。
FIG. 6 shows a data string which the data transmission device 24 receives from both directions of the loop line in the normal data transmission system of FIG.

この場合ループ状回線はデータ伝送装置22と23の間が最
後に接続されてループが閉じたため22が内回りに、23が
外回りに1次局モードとなつているとする。
In this case, it is assumed that the loop-shaped line is in the primary station mode in which 22 is the inner ring and 23 is the outer ring because the data transmission devices 22 and 23 are connected last and the loop is closed.

第6図(a)は外回りデータ回線から受信したデータ
列、(b)は内回りデータ回線から受信したデータ列で
あり、それぞれ各データ伝送装置の外回りO、内回りI
について1次局モードになつている場合、各データ伝送
装置で1次局モードを示すフラグLBFを付加してデータ
回線に送信し回線上の全データ伝送装置に知らせてい
る。
FIG. 6 (a) is a data string received from the outer data line, and FIG. 6 (b) is a data string received from the inner data line.
In the primary station mode, each data transmission device adds a flag LBF indicating the primary station mode to the data line and sends it to all data transmission devices on the line.

ここで、例えばデータ伝送装置24からデータ伝送装置
22にコマンド・フレームを転送することを考えてみる。
Here, for example, from the data transmission device 24 to the data transmission device
Consider forwarding a command frame to 22.

先ず内回りデータ回線に送信できるかどうかについて
外回りデータ列(a)のIデータ列を検索する。データ
列Iの中にデータ伝送装置22が現れないので内回りデー
タ回線を通じてコマンド・フレームを転送することがで
きないと見なせる。
First, the I data string of the outer data string (a) is searched for whether it can be transmitted to the inner data line. Since the data transmission device 22 does not appear in the data stream I, it can be considered that the command frame cannot be transmitted through the inner data line.

次に外回りデータ回線に送信できるかどうかについて
内回りデータ列(b)のOデータ列を検索する。データ
列Oの中にデータ伝送装置22があることが確認できるた
めデータ伝送装置24は外回りデータ回線にコマンド・フ
レームを転送することができる。
Next, the O data string of the inner data string (b) is searched for whether it can be transmitted to the outer data line. Since it can be confirmed that the data transmission device 22 exists in the data string O, the data transmission device 24 can transfer the command frame to the outer data line.

第7図は第3図の障害発生状態のデータ伝送系におい
てデータ伝送装置24がループ状回線の双方向から受信す
るデータ列である。
FIG. 7 shows a data string received by the data transmission device 24 from both directions of the loop line in the data transmission system in the fault state shown in FIG.

図中(a)は外回り回線から受信したデータ列、(b)
は内回り回線から受信したデータ列である。
In the figure, (a) is the data string received from the external circuit, (b)
Is a data string received from the inner loop line.

この場合22が内回りに、23が外回りに1次局モードとな
る。
In this case, 22 is the inner station and 23 is the outer station, which is the primary station mode.

第7図(a)は外回りデータ回線から受信したデータ
列、(b)は内回りデータ回線から受信したデータ列で
ある。
FIG. 7A shows a data string received from the outer data line, and FIG. 7B shows a data string received from the inner data line.

ここで、例えばデータ伝送装置24からデータ伝送装置
22にコマンド・フレームを転送することを考えてみる。
Here, for example, from the data transmission device 24 to the data transmission device
Consider forwarding a command frame to 22.

先ず内回りデータ回線に送信できるかどうかについて
外回りデータ列(a)のIデータ列を検索する。データ
列Iの中にデータ伝送装置22が現れないので内回りデー
タ回線を通じてコマンド・フレームを転送することがで
きないと見なせる。
First, the I data string of the outer data string (a) is searched for whether it can be transmitted to the inner data line. Since the data transmission device 22 does not appear in the data stream I, it can be considered that the command frame cannot be transmitted through the inner data line.

次に外回りデータ回線に送信できるかどうかについて
内回りデータ列(b)のOデータ列を検索する。データ
列Oの中にデータ伝送装置22があることが確認できるた
めデータ伝送装置24は外回りデータ回線にコマンド・フ
レームを転送することができる。
Next, the O data string of the inner data string (b) is searched for whether it can be transmitted to the outer data line. Since it can be confirmed that the data transmission device 22 exists in the data string O, the data transmission device 24 can transfer the command frame to the outer data line.

第8図は第4図の障害発生状態のデータ伝送系におい
てデータ伝送装置24がループ状回線の双方向から受信す
るデータ列である。
FIG. 8 shows a data string which the data transmission device 24 receives from both directions of the loop line in the data transmission system in the fault occurrence state of FIG.

図中(a)は外回り回線から受信したデータ列、(b)
は内回り回線から受信したデータ列である。
In the figure, (a) is the data string received from the external circuit, (b)
Is a data string received from the inner loop line.

この場合22が内回りに、23が外回りに1次局モードとな
る。
In this case, 22 is the inner station and 23 is the outer station, which is the primary station mode.

第8図(a)は外回りデータ回線から受信したデータ
列、(b)は内回りデータ回線から受信したデータ列で
ある。
FIG. 8A shows a data string received from the outer data line, and FIG. 8B shows a data string received from the inner data line.

ここで、例えばデータ伝送装置24からデータ伝送装置
22にコマンド・フレームを転送することを考えてみる。
Here, for example, from the data transmission device 24 to the data transmission device
Consider forwarding a command frame to 22.

先ず内回りデータ回線に送信できるかどうかについて
外回りデータ列(a)のIデータ列を検索する。データ
列Iの中にデータ伝送装置22があるので内回りデータ回
線を通じてコマンド・フレームを転送することができ
る。
First, the I data string of the outer data string (a) is searched for whether it can be transmitted to the inner data line. Since the data transmission device 22 is included in the data string I, the command frame can be transferred through the inner data line.

(発明の効果) 本発明は以上説明したように回線に障害が発生した場
合、障害を検出したデータ伝送装置が1次局となりデー
タ伝送タイミングの起動を掛けるととに1次局モードで
あることを回線上の各データ伝送装置に通知し、各デー
タ伝送装置はコマンド・フレームを転送する際、外回
り、内回り各々から受信するデータ列を検索して何れの
方向に送信すべきかを確認して転送するように構成され
ているので特定の1次局を固定しなくても2次局データ
伝送装置間でデータ・リンクを確立することができる。
(Effects of the Invention) As described above, according to the present invention, when a failure occurs in a line, the data transmission device that has detected the failure becomes the primary station and activates the data transmission timing and is in the primary station mode. To each data transmission device on the line, and when transmitting the command frame, each data transmission device searches for the data string received from each of the outer and inner routes and confirms in which direction it should be transmitted. Therefore, it is possible to establish a data link between the secondary station data transmission devices without fixing a specific primary station.

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

第1図は本発明によるデータ伝送方式の実施例を示すデ
ータ伝送系のブロツク図である。 第2図はアイドル・フレームの構成を示す図、第3図は
データ伝送回線に障害が発生したデータ伝送系を示す
図、第4図はデータ伝送装置に障害が発生したデータ伝
送系を示す図、第5図は第1図でデータ伝送装置4が受
信するアイドル・フレームのデータ列の構成を示す図、
第6図は第3図でデータ伝送装置4が受信するアイドル
・フレームのデータ列の構成を示す図、第7図は第4図
でデータ伝送装置4が受信するアイドル・フレームのデ
ータ列の構成を示す図である。 第8図は第7図の障害発生状態のデータ伝送系において
データ伝送装置がループ状回線の双方向から受信するデ
ータ列の構成を示す図である。 第9図は従来のループ系のデータ伝送系の構成を示す図
である。 第10図は各データ伝送装置がループ回線に送出している
電文の構成を示す図である。 第11図は1次局モードと2次局モードを切替えるデータ
伝送装置の構成の一例を示す図である。 1……データ伝送装置 2……外回りデータ回線 3……内回りデータ回線 4,5……HDLCループデータ通信手段 6……アイドル・フレーム記憶手段 7……回線監視手段 8……データ転送制御手段 11,61……スタート・フラグ 12,62……送出データ部 13,63……CRCコード 14,64……GO-AHEADフラグ 15……レシーブ・アドレス(グローバル・アドレス) 21,22,23,24……データ伝送装置 25……外回りデータ回線 26……内回りデータ回線 27……回線切断点 31,35,39……スタート/エンド・フラグ 32,40……レシーブ・アドレス(グローバル・アドレ
ス) 33,41……アイドル・フレームデータ 34,38,42……CRCコード 36……コマンド転送先アドレス 37……コマンド・データ 51……1次局 52,53……2次局 54……データ回線
FIG. 1 is a block diagram of a data transmission system showing an embodiment of a data transmission system according to the present invention. 2 is a diagram showing the structure of an idle frame, FIG. 3 is a diagram showing a data transmission system in which a data transmission line has a failure, and FIG. 4 is a diagram showing a data transmission system in which a data transmission device has a failure. FIG. 5 is a diagram showing the structure of a data sequence of an idle frame received by the data transmission device 4 in FIG.
FIG. 6 is a diagram showing the structure of a data sequence of an idle frame received by the data transmission device 4 in FIG. 3, and FIG. 7 is a structure of a data sequence of an idle frame received by the data transmission device 4 in FIG. FIG. FIG. 8 is a diagram showing a configuration of a data string received by the data transmission device from both directions of the loop line in the data transmission system in the fault occurrence state of FIG. FIG. 9 is a diagram showing the configuration of a conventional loop type data transmission system. FIG. 10 is a diagram showing the structure of a telegram sent by each data transmission device to the loop line. FIG. 11 is a diagram showing an example of the configuration of a data transmission device for switching between the primary station mode and the secondary station mode. 1 ... Data transmission device 2 ... Outer data line 3 ... Inner data line 4,5 ... HDLC loop data communication means 6 ... Idle frame storage means 7 ... Line monitoring means 8 ... Data transfer control means 11 , 61 …… Start flag 12,62 …… Sending data section 13,63 …… CRC code 14,64 …… GO-AHEAD flag 15 …… Receive address (global address) 21,22,23,24… … Data transmission equipment 25 …… Outer data line 26 …… Inner data line 27 …… Line break point 31,35,39 …… Start / end flag 32,40 …… Receive address (global address) 33,41 …… Idle frame data 34,38,42 …… CRC code 36 …… Command transfer destination address 37 …… Command data 51 …… Primary station 52,53 …… Secondary station 54 …… Data line

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】HDLCループモードによるデータ通信機能を
持つデータ伝送装置を、互いに逆方向にデータを伝送す
る2つのループ状回線によつて接続し、データ伝送装置
間でデータを送受するデータ伝送方式において、各デー
タ伝送装置に、回線状態を監視する回線監視手段と、ル
ープモードでの送信を開始するためのGO-AHEADフラグを
送信するGO-AHEADフラグ送信手段と、GO-AHEADフラグを
送信する1次局モードおよびループ送信する2次局モー
ドを切り替える切替手段と、送信データ・フレーム中に
回線断の識別フラグを送信する識別フラグ送信手段と、
回線上の各データ伝送装置から受信した前記識別フラグ
を記憶する記憶手段と、データ転送を制御するデータ転
送制御手段とを設け、各データ伝送装置から他のデータ
伝送装置にデータを転送する際、回線上の各データ伝送
装置から受信した前記識別フラグを検索し、2つのルー
プ回線に対し送信する方向を切り替えるように構成した
ことを特徴とするデータ伝送方式。
1. A data transmission system in which a data transmission device having a data communication function in an HDLC loop mode is connected by two loop lines that transmit data in opposite directions, and data is transmitted and received between the data transmission devices. In, in each of the data transmission device, the line monitoring means for monitoring the line status, the GO-AHEAD flag transmitting means for transmitting the GO-AHEAD flag for starting the transmission in the loop mode, and the GO-AHEAD flag are transmitted. Switching means for switching between the primary station mode and the secondary station mode for loop transmission, and an identification flag transmitting means for transmitting a line disconnection identification flag in a transmission data frame,
When transferring the data from each data transmission device to another data transmission device, a storage means for storing the identification flag received from each data transmission device on the line and a data transfer control means for controlling the data transfer are provided. A data transmission system characterized in that the identification flag received from each data transmission device on the line is searched and the transmission direction is switched to two loop lines.
JP62234080A 1987-09-18 1987-09-18 Data transmission method Expired - Lifetime JP2526602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62234080A JP2526602B2 (en) 1987-09-18 1987-09-18 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62234080A JP2526602B2 (en) 1987-09-18 1987-09-18 Data transmission method

Publications (2)

Publication Number Publication Date
JPS6477341A JPS6477341A (en) 1989-03-23
JP2526602B2 true JP2526602B2 (en) 1996-08-21

Family

ID=16965289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62234080A Expired - Lifetime JP2526602B2 (en) 1987-09-18 1987-09-18 Data transmission method

Country Status (1)

Country Link
JP (1) JP2526602B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016111580A (en) * 2014-12-09 2016-06-20 株式会社明電舎 Communication control system, communication control method, and communication frame data structure

Also Published As

Publication number Publication date
JPS6477341A (en) 1989-03-23

Similar Documents

Publication Publication Date Title
US4354267A (en) Data transmission system utilizing loop transmission lines between terminal units
US5848227A (en) Method of providing fault tolerance and switch-over distribution in a bridge/router
EP0324886B1 (en) Control flow reduction in selective repeat protocols
US4625306A (en) Data signal switching systems
US7577668B2 (en) Information transmission system and information transmission method
KR100233261B1 (en) Method of switching 1+1 line protection using remote defect indication
JP2526602B2 (en) Data transmission method
JP2001237889A (en) Detour path control method and apparatus in data communication network
JPH0683241B2 (en) Data transmission method
JPH08256158A (en) Multi-route transmission device
JP2669356B2 (en) PDS transmission system
JPH0773281B2 (en) Data transmission method
JPH04124933A (en) Sequential multi-address data verifying system
JPS6022848A (en) Transmission method in information transmission system
JPH0193945A (en) Data transmission system
JPH10322377A (en) Ring-type path selecting system
JPH01105634A (en) Broadcast answer system for bus network
JPS60140957A (en) Inter-network connecting system between line exchanges
JPS6062763A (en) autonomous network system
JPS6142465B2 (en)
JPS62169541A (en) Communications system
JPH03227154A (en) Network monitor equipment
JPH0795746B2 (en) Data communication control method
JPH01120929A (en) Packet information miss preventing system
JPH08111682A (en) Network test method