JPH0574257B2 - - Google Patents

Info

Publication number
JPH0574257B2
JPH0574257B2 JP63238735A JP23873588A JPH0574257B2 JP H0574257 B2 JPH0574257 B2 JP H0574257B2 JP 63238735 A JP63238735 A JP 63238735A JP 23873588 A JP23873588 A JP 23873588A JP H0574257 B2 JPH0574257 B2 JP H0574257B2
Authority
JP
Japan
Prior art keywords
transmission
loop
data
transmission control
ncp
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
JP63238735A
Other languages
Japanese (ja)
Other versions
JPH01112849A (en
Inventor
Giichi Yamanaka
Kinji Mori
Koichi Ihara
Yoshinori Kawai
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63238735A priority Critical patent/JPH01112849A/en
Publication of JPH01112849A publication Critical patent/JPH01112849A/en
Publication of JPH0574257B2 publication Critical patent/JPH0574257B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 本発明は情報伝送システムにおける伝送制御方
法に関する。すなわち本発明は、互いに逆方向に
データの伝送を行なう2本の伝送路上に、2本の
伝送路相互の間でデータを転送する機能を備え、
これら2本の伝送路を介したデータの伝送を制御
する複数の伝送制御機器が接続された情報伝送シ
ステムにおいて、伝送路の異常検出と異常個所の
検知を行なう伝送制御方法を提供することを目的
とする。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a transmission control method in an information transmission system. That is, the present invention has two transmission paths that transmit data in opposite directions, and has a function of transferring data between the two transmission paths.
The purpose of the present invention is to provide a transmission control method for detecting an abnormality in a transmission path and detecting an abnormal location in an information transmission system in which a plurality of transmission control devices that control data transmission via these two transmission paths are connected. shall be.

本発明は、上述した情報伝送システムにおい
て、伝送制御機器の備える伝送路間のデータ転送
機能により実現され、少なくとも2つの伝送制御
機器と2本の伝送路とで形成されるループにルー
プチエツク信号を送信し、各伝送制御機器におい
て、それぞれ独自に伝送路間の転送を行なうか否
か判断してチエツク信号を伝送し、その応答を監
視することに特徴がある。
In the information transmission system described above, the present invention is realized by a data transfer function between transmission lines provided in a transmission control device, and transmits a loop check signal to a loop formed by at least two transmission control devices and two transmission lines. Each transmission control device independently determines whether or not to perform transfer between transmission lines, transmits a check signal, and monitors the response.

以下、本明細書では、伝送路が2本のループ回
線で構成され、伝送制御機器が、2本のループ回
線のそれぞれに互いに対をなして配置された伝送
制御装置(Network Control Processor、以下
NCPと称する。)と、対をなすNCP間を接続する
双方向性のループリンク回線を含んで構成された
2重ループ伝送系を列に本発明を説明する。この
ようなループ伝送系において、データがループリ
ンク回線を伝送されることを“迂回”、このよう
な2つの迂回路を持つループを“中ループ”とそ
れぞれ称する。なお、ループ回線のみで形成され
る、すなわちループ回線を一巡するループを大ル
ープ、中ループのうち相隣接する2組のNCP対
で形成され、データが上記2組すなわち4組の
NCPを経由して一巡するループを小ループとい
う。以下、図面を参照し本発明を実施例によつて
詳細に説明する。
Hereinafter, in this specification, the transmission path is composed of two loop lines, and the transmission control equipment is a transmission control device (Network Control Processor, hereinafter referred to as "Network Control Processor") arranged in pairs on each of the two loop lines.
It is called NCP. ) and a bidirectional loop link line that connects a pair of NCPs. In such a loop transmission system, data transmitted through a loop link line is called a "detour", and a loop having two such detours is called a "middle loop". In addition, it is formed only by loop lines, that is, the loop that goes around the loop line is formed by two adjacent NCP pairs of the large loop and the medium loop, and the data is
A loop that goes around the NCP is called a small loop. Hereinafter, the present invention will be explained in detail by way of examples with reference to the drawings.

第1図は本発明方式による装置の原理的構成例
を示し、ループ回線L0,L1と、NCP01〜
0nおよび11〜1nと、ループリンク回線21
〜2nおよび端末リンク回線31と32、ならび
に試験端末30からなる。
FIG. 1 shows an example of the basic configuration of the device according to the present invention, and includes loop lines L0, L1, and NCP01 to NCP01.
0n and 11 to 1n and the loop link line 21
~2n and terminal link lines 31 and 32, and a test terminal 30.

次に第2図aは伝送されるデータのフレーム構
成例を示し、FCは機能コード(Function Code)
で、これに続くデータ(Date)の内容に対応す
るコードが付されている。なお同図bについては
後述する。
Next, Figure 2a shows an example of the frame structure of transmitted data, where FC is a function code.
A code corresponding to the content of the data (Date) that follows this is attached. Note that FIG. 5B will be described later.

第3図は試験端末30のブロツク構成例を示
し、300は処理装置、310と311は各端末
リンク回線31,32とデータの授受を行なうイ
ンタフエース、320は入力装置、321は出力
装置、330は受信バツフア、331は送信バツ
フア、340はタイマ、341〜343はレジス
タである。
FIG. 3 shows an example of the block configuration of the test terminal 30, in which 300 is a processing device, 310 and 311 are interfaces for exchanging data with each terminal link line 31, 32, 320 is an input device, 321 is an output device, 330 331 is a transmission buffer, 340 is a timer, and 341 to 343 are registers.

また、第4図はNCP01〜0nと11〜1n例えば
NCP01のブロツク構成例を示し、40は処理装
置、51〜54は回線とデータの授受を行なうイ
ンタフエースで、51は端末リンク回線用双方向
性インタフエース、52はループリンク回線用双
方向性インタフエース、53と54はループ回線
用単方向性インタフエースである。また61は受
信バツフア、62は送信バツフア、70と83は
カウンタ、71,72と81,82はレジスタ、
73はメモリ、80はタイマである。
Also, Figure 4 shows NCP01~0n and 11~1n, for example.
An example of the block configuration of NCP01 is shown. 40 is a processing unit, 51 to 54 are interfaces for transmitting and receiving data with the line, 51 is a bidirectional interface for terminal link line, and 52 is a bidirectional interface for loop link line. Aces, 53 and 54 are unidirectional interfaces for loop lines. Further, 61 is a reception buffer, 62 is a transmission buffer, 70 and 83 are counters, 71, 72 and 81, 82 are registers,
73 is a memory, and 80 is a timer.

次に試験端末30の動作の概要を説明する。 Next, an overview of the operation of the test terminal 30 will be explained.

(1) 試験開始 入力装置320から試験開始信号が入力される
と、処理装置300はNCPに対する試験開始指
令を作成し、これを送信バツフア331に格納す
ると共に、送信回線を指定するフラグをレジスタ
342に立てる。
(1) Test start When a test start signal is input from the input device 320, the processing device 300 creates a test start command for the NCP, stores it in the transmission buffer 331, and sets a flag specifying the transmission line in the register 342. stand on

レジスタ342に指定された回線のインタフエ
ース310又は311は、送信バツフア331内
のデータをNCP01または11に送信し、同時にタ
イマ340がリセツトされる。
The line interface 310 or 311 designated by the register 342 transmits the data in the transmission buffer 331 to NCP01 or 11, and at the same time, the timer 340 is reset.

(2) 試験期間中 試験端末30は端末リンク回線31,32より
データを受信すると、データは受信バツフア33
0に格納され、レジスタ341に受信回線を示す
フラグがセツトされる。処理装置300は受信デ
ータと受信回線番号を出力装置321に出力す
る。
(2) During the test period When the test terminal 30 receives data from the terminal link lines 31 and 32, the data is transferred to the reception buffer 33.
0, and a flag indicating the receiving line is set in the register 341. The processing device 300 outputs the received data and the receiving line number to the output device 321.

(3) 試験終了 処理装置300はタイマ340とレジスタ34
3にあらかじめ収納されている内容を比較し、両
者の内容が一致した場合、及び入力装置320か
ら終了コマンドが入力された場合に試験終了指令
を作成し、インタフエース310または311よ
りNCP01又は11へ送信する。
(3) End of test The processing device 300 uses the timer 340 and the register 34.
Compare the contents stored in advance in 3, and if the contents match, and if a termination command is input from the input device 320, create a test termination command and send it from the interface 310 or 311 to NCP01 or 11. Send.

次に、NCPにおける送受信処理動作をNCP01
を例にとり説明する。
Next, we will explain the transmission/reception processing operation in NCP to NCP01.
This will be explained using an example.

(1) 受信処理 NCPのインタフエース51〜54のいずれか
によりデータが受信されると、受信データは受信
バツフア61に格納され、またレジスタ71に受
信回線を示すフラグがセツトされる。処理装置4
0は受信データの機能コードFCを、メモリ73
にあらかじめ収納されているコード表と照合し、
レジスタ71の内容(受信回路の番号)と合わせ
て受信データの処理を決定し、処理する。
(1) Reception Process When data is received by any of the NCP interfaces 51 to 54, the received data is stored in the reception buffer 61, and a flag indicating the reception line is set in the register 71. Processing device 4
0 is the function code FC of the received data, and the memory 73
Check with the code table stored in advance,
The processing of the received data is determined based on the contents of the register 71 (the number of the receiving circuit) and is processed.

(2) 送信処理 送信すべきデータが生じたとき、処理装置40
はレジスタ72に送信回線を指定するフラグをセ
ツトし、送信データを送信バツフア62に格納す
る。次いで、レジスタ72の内容すなわち指定さ
れた回線に対応するインタフエース51〜54の
いずれかが送信バツフア62内のデータを回線に
送信する。
(2) Transmission processing When data to be transmitted occurs, the processing device 40
sets a flag specifying the transmission line in the register 72 and stores the transmission data in the transmission buffer 62. Next, one of the interfaces 51 to 54 corresponding to the contents of the register 72, that is, the designated line, transmits the data in the transmission buffer 62 to the line.

以下、本発明方式における各部の動作について
説明する。
The operation of each part in the system of the present invention will be explained below.

データを受信したNCPは、メモリ73の内容
と受信データの機能コードFCとの照合により、
これが試験開始指令であると判定すると、第2図
bに示した構成の中ループチエツクデータを作成
し、自己の属するループ回線L0またはL1に送
信する。なお第2図bにおいて、FCは機能コー
ドすなわちこの場合はデータが中ループチエツク
データであることを示す機能コード、Nはチエツ
クする中ループの大きさを示すパラメータ、CN
はこのデータが経由したNCPの数を積算するカ
ウント値で初期値1である。また、フラグ
(flag)は試験端末につながれNCPにおいて、N
=CNで受信されるとセツトされる。
The NCP that received the data checks the contents of the memory 73 and the function code FC of the received data.
If it determines that this is a test start command, it creates loop check data in the configuration shown in FIG. 2b and transmits it to the loop line L0 or L1 to which it belongs. In Fig. 2b, FC is a function code, that is, in this case, a function code indicating that the data is medium loop check data, N is a parameter indicating the size of the medium loop to be checked, and CN
is a count value that integrates the number of NCPs that this data has passed through, and has an initial value of 1. In addition, the flag is connected to the test terminal and NCP
= Set when received on CN.

第5図に、NCP01を起点とする中ループの構
成例を示す。中ループ0−i及び1−iの試験を
行なうチエツクデータの形は FciCN0であり、CNは前述したよ
うにNCPを1つ経由する毎に1ずつカウントア
ツプされる。なお、NCPを示す○印内の●印は、
チエツクデータが作られ発送される起点であるこ
とを示す。
FIG. 5 shows an example of the configuration of the middle loop starting from NCP01. The form of the check data used to test the middle loops 0-i and 1-i is FciCN0, and CN is incremented by 1 each time it passes through one NCP, as described above. In addition, the ● mark inside the ○ mark indicates NCP.
Indicates the starting point where check data is created and sent.

この中ループチエツク方式について、以下に2
つの実施例の方式を示す。
Regarding this middle loop check method, the following 2
The method of two embodiments is shown.

方式1: この方式は、全ての中ループ、チエツクデータ
を、試験端末により試験開始指令を受けたNCP
(以下、試験開始NCPと云う)が作成し、自己の
属するループ回線に送信する方式である。
Method 1: This method transfers all middle loop and check data to the NCP that receives the test start command from the test terminal.
(hereinafter referred to as the test starting NCP) is created and sent to the loop line to which it belongs.

第6図aに、本方式による中ループチエツクの
1例として、NCP01を試験開始NCPとする中ル
ープチエツク径路0−1及び0−2を示す。なお
破線で示す径路がチエツクデータの流れである。
また、破線に付記した数値(1,1)、(1,2)
……は、その部分を伝送されるチエツクデータの
N(ループの大きさ)及びCN(径由したNCP数)
を示す。以下、本方式1による中ループチエツク
データ伝送制御を述べる。
FIG. 6a shows middle loop check paths 0-1 and 0-2 in which NCP01 is the test start NCP, as an example of the middle loop check according to this method. Note that the path indicated by the broken line is the flow of check data.
Also, the numbers (1, 1) and (1, 2) attached to the broken line
... is the N (loop size) and CN (number of NCPs passed through) of the check data transmitted in that part
shows. The middle loop check data transmission control according to method 1 will be described below.

試験開始NCPは試験開始指令を受信するとカ
ウンタ70にNの値(=1)を入れ、中ループチ
エツクデータFc110を作成し、自己
の属するループ回線により隣のNCPへ発信する
と共に、タイマをリセツトし、カウンタ83をク
リアする。なお、カウンタ70内の値は試験して
いる中ループの大きさ、すなわち受信待ちしてい
る中ループチエツクデータのNの値であり、タイ
マ80はチエツクデータを発送してからの時間を
計るためであり、カウンタ83はチエツクデータ
が所定の時間内に戻らないとき、再び同じチエツ
クデータを送る(再送)際にカウントアツプして
再送回数を記録する。
When the test start NCP receives the test start command, it puts the value of N (=1) into the counter 70, creates middle loop check data Fc110, sends it to the neighboring NCP through the loop line to which it belongs, and resets the timer. , clears the counter 83. The value in the counter 70 is the size of the middle loop being tested, that is, the value of N of the middle loop check data waiting to be received, and the timer 80 is used to measure the time since the check data was sent. When the check data does not return within a predetermined time, the counter 83 counts up and records the number of retransmissions when the same check data is sent again (retransmission).

中ループチエツクデータを受信したNCPの処
理装置40は、受信データのNとCNにより演算
判定を行ない、以下の処理をする。
The processing device 40 of the NCP that has received the middle loop check data performs arithmetic judgment based on N and CN of the received data, and performs the following processing.

(1) CN=Nの場合: カウンタ70の内容とチエツクデータのNの値
とを照合し、 (イ) 一致していれば、チエツクデータのフラグ
部にフラグをセツトし、CNの値を1だけ増
したチエツクデータを、ループリング回線を
通して対のNCPへ送信する。
(1) When CN=N: Check the contents of the counter 70 and the value of N in the check data. (a) If they match, set a flag in the flag section of the check data and set the value of CN to 1. The check data increased by the amount is sent to the paired NCP via the loop ring line.

(ロ) 一致しなければ、CNの値を1だけ増した
中ループチエツクデータを、ループリング回
線を通して対のNCPへ送信する。
(b) If they do not match, send medium loop check data with the CN value incremented by 1 to the paired NCP via the loop ring line.

(2) CN=2N+1の場合: 受信データのCNを1増した中ループチエツク
データを、ループリング回線を通して対のNCP
へ送信する。
(2) When CN=2N+1: The medium loop check data with the CN of the received data increased by 1 is sent to the paired NCP through the loop ring line.
Send to.

(3) CN=2N+2の場合: カウンタ70の内容とチエツクデータのNの値
とを照合し、 (イ) 一致していなければ、このチエツクデータ
は伝送誤りが生じていると判断し、消去す
る。
(3) When CN=2N+2: Check the contents of the counter 70 and the value of N in the check data. (a) If they do not match, it is determined that a transmission error has occurred in this check data and it is deleted. .

(ロ) 一致していれば、このチエツクデータの中
ループNが正常であることを示すデータを、
端末リンク回線を通じて試験端末へ送信する
と共に、このチエツクデータのフラグ部にフ
ラグがセツトされているか否かを調べる。
(b) If they match, send the data indicating that loop N is normal in this check data.
The check data is sent to the test terminal via the terminal link line, and it is checked whether a flag is set in the flag section of this check data.

セツトされていないときは、カウンタ70
を1だけ増し、この値をNの値とした中ルー
プチエツクデータ FcN10を作成し、自己の属する
ループ回線へ発信する。なお、これと共にタ
イマ80はリセツトされ、カウンタ83はク
リアされる。
If it is not set, the counter 70
is increased by 1, this value is set as the value of N, medium loop check data FcN10 is created, and transmitted to the loop line to which it belongs. At the same time, the timer 80 is reset and the counter 83 is cleared.

フラグがセツトされていると、新たな中ループ
チエツクデータの作成は行なわず、試験が正常終
了したことを示すデータを作成し、端末リンク回
線により試験端末へ送信すると共に、カウンタ7
0および83をクリアする。
If the flag is set, new medium loop check data is not created, but data indicating that the test has completed normally is created and sent to the test terminal via the terminal link line, and the data is sent to the counter 7.
Clear 0 and 83.

(4) 上記にずれの場合にも該当しない場合: 受信データのCNを1だけ増した中ループチエ
ツクデータを、ループ回線を通して隣接する
NCPへ送信する。
(4) If the above does not apply: The middle loop check data with the CN of the received data incremented by 1 is sent to the adjacent through the loop line.
Send to NCP.

タイムアウト判定: 中ループチエツクデータを発信したNCPは、
発信したチエツクデータが所定の時間内に戻らな
いとタイムアウトと判定し、再送を行なう。タイ
ムアウトの判定はあらかじめ所定の時間の値が入
れられているレジスタ81の内容とタイマ80の
内容とを比較し、後者が前者より大きくなるとタ
イムアウトとする。
Timeout judgment: The NCP that sent the middle loop check data
If the transmitted check data is not returned within a predetermined time, it is determined that it has timed out and retransmission is performed. A timeout is determined by comparing the contents of a register 81, in which a predetermined time value is stored, with the contents of a timer 80, and if the latter is greater than the former, a timeout is determined.

再送処理: タイムアウトが判定されると、以下の再送処理
が行なわれる。
Retransmission processing: When a timeout is determined, the following retransmission processing is performed.

同じ大きさの中ループについて行なつた再送回
数を記録しているカウンタ83と、あらかじめ再
送の最高回数が入れられているレジスタ82の内
容とを比較する。
A counter 83 that records the number of retransmissions performed for medium loops of the same size is compared with the contents of a register 82 in which the maximum number of retransmissions is previously stored.

(1) 両者が一致している場合、 カウンタ70内の値(N)を大きさとする中
ループには異常があると判定し、カウンタ70
内の値と異常終了したことを示すデータとを作
成し、端末リンク回線により試験端末へ送信す
ると共に、カウンタ70と83をクリアする。
(1) If both match, it is determined that there is an abnormality in the middle loop whose size is the value (N) in the counter 70, and the counter 70
, and data indicating abnormal termination are created and transmitted to the test terminal via the terminal link line, and the counters 70 and 83 are cleared.

(2) 両者が一致しない(前者が後者より小さい)
場合、 カウンタ70内の値をNとする中ループチエ
ツクデータFcN10を作成し、ルー
プ回線により隣のNCPへ再送信すると共にタ
イマ80をリセツトし、カウンタ83を1だけ
増す。この再送処理は、再送したチエツクデー
タが大きさNの中ループを一巡して正常にもど
るか、または上記(1)の異常終了になるまで繰り
返される。
(2) They do not match (the former is smaller than the latter)
In this case, medium loop check data FcN10 is created with the value in the counter 70 as N, and is retransmitted to the adjacent NCP via the loop line, the timer 80 is reset, and the counter 83 is incremented by one. This retransmission process is repeated until the retransmitted check data goes through a loop of size N and returns to normal, or until the abnormal termination as described in (1) above occurs.

以下、方式1において複数の試験端末がある場
合を第6図bにより説明する。
Hereinafter, the case where there are a plurality of test terminals in method 1 will be explained with reference to FIG. 6b.

第6図bにおいて、NCPaおよびbが中ループ
チエツクを行なう場合を考える。ここで、破線で
示す中ループに中ループチエツクデータa(n,
m)及びb(n,m)が流れるとする。なおa及
びbは発信源のNCPを示す。また、n,mは前
述したようにチエツクデータのNとCN、すなわ
ちチエツクする中ループの大きさを示すパラメー
タおよびデータが経由したNCP数の集積値であ
る。
In FIG. 6b, consider the case where NCPa and b perform a middle loop check. Here, middle loop check data a(n,
Suppose that m) and b(n, m) flow. Note that a and b indicate the NCP of the transmission source. Further, as described above, n and m are the N and CN of the check data, that is, the parameter indicating the size of the middle loop to be checked, and the accumulated value of the number of NCPs through which the data has passed.

最悪の場合として、NCPbが大きさnの中ルー
プチエツクデータを発信した直後に、NCPaの発
信した大きさnの中ループチエツクデータが、N
=CN(=n)の状態でNCPbに受信されると、こ
のチエツクデータにはフラグがセツトされる。こ
の結果、このチエツクデータが破線の径路を一巡
してNCPaに戻ると、NCPaは戻つてきたチエツ
クデータにフラグがセツトされているため、これ
より大きい中ループチエツクデータの作成は行な
わなくなる。
In the worst case, immediately after NCPb sends loop check data of size n, the loop check data of size n sent by NCPa becomes N.
When the check data is received by NCPb in the state of =CN (=n), a flag is set in this check data. As a result, when this check data goes around the path indicated by the broken line and returns to the NCPa, the flag is set on the returned check data, so the NCPa does not create any larger medium loop check data.

このように、複数の試験端末により同時に試験
が行なわれると、最悪の場合、各試験端末では伝
送系の一部すなわち隣接した試験端末までの中ル
ープまでしか試験できないことがあるが、この場
合も各試験端末が試験した部分を合わせると伝送
系全体がカバーされ、全体の試験が行なわれる。
In this way, when tests are performed simultaneously by multiple test terminals, in the worst case, each test terminal may be able to test only part of the transmission system, that is, the middle loop up to the adjacent test terminals. When the parts tested by each test terminal are combined, the entire transmission system is covered and the entire test is performed.

方式 2: 前記の方式1では、全ての中ループチエツクデ
ータを試験開始NCPが作成するが、方式2では、
試験開始NCPは試験端末から試験開始指令を受
けた時点で、Fc110の中ループチエ
ツクデータのみを作成する。Nが2以上の中ルー
プチエツクデータは、試験開始NCPの属するル
ープ回線上のNCPで作成される。このために以
下の処理が行なわれる。
Method 2: In method 1 above, all middle loop check data is created by the test starting NCP, but in method 2,
When the test start NCP receives a test start command from the test terminal, it creates only the middle loop check data of the Fc110. Medium loop check data where N is 2 or more is created by the NCP on the loop line to which the test starting NCP belongs. For this purpose, the following processing is performed.

試験端末から試験開始指令を受信したNCP(試
験開始NCP)は前記方式1と同様にカウンタ7
0の内容を1にし、タイマ80をリセツトし、カ
ウンタ83をクリアしてFc110の中
ループチエツクデータを作成し、ループ回線によ
り隣のNCPへ発信する。
The NCP that received the test start command from the test terminal (test start NCP) uses the counter 7 as in method 1 above.
The contents of 0 are set to 1, the timer 80 is reset, the counter 83 is cleared, medium loop check data is created in the Fc 110, and the data is sent to the adjacent NCP via the loop line.

中ループチエツクデータを受信したNCPは、
受信したチエツクデータのNとCNの値を比較し
て以下の処理を行なう。
The NCP that received the middle loop check data
The values of N and CN of the received check data are compared and the following processing is performed.

(1) CN=Nの場合: カウンタ70の内容と受信したチエツクデータ
のNの値を比較する。
(1) When CN=N: Compare the contents of the counter 70 with the value of N in the received check data.

(イ) 両者が一致する場合 受信したチエツクデータのフラグ部にフラ
グをセツトし、CNの値を1だけ増してルー
プリンク回線より対のNCPへ送信する。
(b) If both match, set a flag in the flag section of the received check data, increment the value of CN by 1, and send it to the paired NCP via the loop link line.

(ロ) 両者が一致しない場合、 受信したチエツクデータのCNの値を1だ
け増して、ループリンク回線により対の
NCPへ送信すると共に、受信器したチエツ
クデータのNとCNの値を各々1ずつ増した
中ループチエツクデータを作成し、ループ回
線より隣のNCPへ発信する。
(b) If the two do not match, increase the CN value of the received check data by 1 and connect the pair using the loop link line.
At the same time as transmitting it to the NCP, medium loop check data is created by increasing the values of N and CN of the received check data by 1, and is transmitted from the loop line to the neighboring NCP.

(2) CN=2N+1の場合: 受信したチエツクデータのCNの値1だけ増し
てループリンク回線より対のNCPへ送信する。
(2) When CN=2N+1: Increase the CN value of the received check data by 1 and send it to the paired NCP via the loop link line.

(3) CN=2N+2の場合: カウンタ70の内容と受信したチエツクデータ
のNの値とを比較する。
(3) When CN=2N+2: Compare the contents of the counter 70 with the value of N in the received check data.

(イ) 両者が一致しないならば、伝送エラーがあ
るとして、受信したチエツクデータを消去す
る。
(b) If the two do not match, it is assumed that there is a transmission error and the received check data is deleted.

(ロ) 両者が一致するならば、受信したチエツク
データのフラグ部を調べる。
(b) If the two match, check the flag section of the received check data.

フラグがセツトされていなければ、受信し
たチエツクデータのNの値をデータとして端
末リンク回線により試験端末へ送信すると共
にカウンタ70を1だけ増し、タイマ80は
リセツトし、カウンタ83をクリアする。フ
ラグがセツトされていれば、受信したチエツ
クデータのNの値と試験が正常終了したこと
を示すデータを作成し、端末リンク回線より
試験端末へ送信すると共に、カウンタ70と
83をクリアする。
If the flag is not set, the value of N in the received check data is transmitted as data to the test terminal via the terminal link line, the counter 70 is incremented by 1, the timer 80 is reset, and the counter 83 is cleared. If the flag is set, the N value of the received check data and data indicating that the test has completed normally are created and transmitted to the test terminal via the terminal link line, and the counters 70 and 83 are cleared.

(4) 上記(1),(2),(3)に該当しない場合、 受信したチエツクデータのCNの値を1だけ
増してループ回線より隣のNCPへ送信する。
(4) If (1), (2), or (3) above does not apply, increase the CN value of the received check data by 1 and send it to the adjacent NCP via the loop line.

試験開始NCPは、タイマ80の値がタイマ
アウト時間に規定しているレジスタ81の内容
と一致するまでに、CN=2N+2、かつN=カ
ウンタ70の内容(受信待ちチエツクデータの
Nの値)のチエツクデータを受信しないとタイ
ムアウトと判定し、方式1と同じ再送処理を行
なう。
The test start NCP sets CN=2N+2 and N=the contents of the counter 70 (the value of N of the check data waiting to be received) until the value of the timer 80 matches the contents of the register 81 specified in the timer out time. If check data is not received, it is determined that a timeout has occurred, and the same retransmission process as in method 1 is performed.

方式2による中ループチエツクの例を第7図a
に示す。この場合、NCP01は試験開始NCPであ
る。
An example of the middle loop check using method 2 is shown in Figure 7a.
Shown below. In this case, NCP01 is the test starting NCP.

方式2において、複数の試験端末が設けられて
いる場合を第7図bについて説明する。
In method 2, the case where a plurality of test terminals are provided will be explained with reference to FIG. 7b.

最悪の場合、NCPbがN=nの中ループチエツ
クデータ待ちのとき(カウンタ70の内容がnで
ある)NCPaから始まつた中ループチエツクのチ
エツクデータがN=CN=nとなりNCPbに到達
すると、NCPbはこのチエツクデータ受信による
新しいチエツクデータの作成は行なわない。この
ため、NCPaでは、NCPbまでの中ループチエツ
クデータしか受信できない。しかし、NCPbによ
り、NCPb以後の中ループがチエツクされる。よ
つて、各試験端末によりチエツクされた部分を合
わせれば、伝送系の全域がカバーされ、全体のチ
エツクがなされたことになる。
In the worst case, when NCPb is waiting for middle loop check data of N=n (the contents of the counter 70 is n), when the check data of the middle loop check starting from NCPa becomes N=CN=n and reaches NCPb, NCPb does not create new check data by receiving this check data. Therefore, NCPa can only receive medium loop check data up to NCPb. However, NCPb checks the middle loop after NCPb. Therefore, if the parts checked by each test terminal are combined, the entire area of the transmission system is covered and the entire area has been checked.

このように、方式1及び方式2のいずれかによ
つて、伝送路が正常であれば全ての中ループチエ
ツクが行なわれ、そのデータは全て試験開始
NCPから試験端末に送られる。
In this way, using either method 1 or method 2, if the transmission path is normal, all middle loop checks are performed, and all of the data is stored at the start of the test.
Sent from NCP to test terminal.

もし、回線の切断やNCPの故障等があると、
その異常箇所を通らねばならない中ループチエツ
クデータは試験開始NCPに受信されない。
If there is a disconnection of the line or a failure of the NCP,
The middle loop check data that must pass through the abnormal location is not received by the test initiation NCP.

また、あるNCPでNとCNの演算判定処理や
CNのカウントアツプ処理等が正常に行なわれな
かつた場合も、そのNCPを通らねばならない中
ループチエツクデータは、試験開始NCPに受信
されない。
Also, in some NCP, calculation judgment processing of N and CN
Even if a CN's count-up processing is not performed normally, the middle loop check data that must pass through that NCP will not be received by the test starting NCP.

中ループチエツクは、試験端末に接続された1
対のNCPの両方ともを試験開始NCPとして行な
われる。よつて、試験者は試験端末から出力され
た受信回線すなわち試験開始NCPと正常に行な
われた中ループチエツクのN、あるいは異常あり
とされた中ループチエツクのNの値を知ることに
より、伝送路の異常の有無と異常箇所を検知でき
る。
The middle loop check is performed using one connected to the test terminal.
Both of the paired NCPs are used as the starting NCPs. Therefore, by knowing the reception line output from the test terminal, that is, the test start NCP and the value of N of the medium loop check that was performed normally or the value of N of the medium loop check that was found to be abnormal, the tester can check the transmission path. It is possible to detect the presence or absence of an abnormality and the location of the abnormality.

次に試験の終了は、前記の試験端末の試験終了
動作(3)で述べたタイムアウト、及び入力装置32
0からの終了コマンド入力による。このとき、試
験端末は処理装置300で試験終了指令データを
作成し、試験端末につながれたNCPにこのデー
タを送信したのち停止する。試験終了指令データ
を受信したNCPは、カウンタ70と83とをク
リアする。
Next, the end of the test is determined by the timeout described in the test end operation (3) of the test terminal and the input device 32.
By inputting the end command from 0. At this time, the test terminal creates test termination command data using the processing device 300, transmits this data to the NCP connected to the test terminal, and then stops. The NCP that receives the test end command data clears counters 70 and 83.

以上説明したように、本発明の伝送制御方法に
よれば、伝送路の異常の有無のみでなく、異常箇
所も推定することができるなどの利点があり、そ
の効果は大きいものである。
As described above, the transmission control method of the present invention has the advantage that it is possible to estimate not only the presence or absence of an abnormality in the transmission path, but also the location of the abnormality, and its effects are significant.

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

第1図は本発明の原理的構成図、第2図aおよ
びbは伝送される一般データおよびチエツクデー
タの構成例を示す説明図、第3図および第4図は
試験端末および伝送制御装置の各実施例を示す構
成図、第5図ないし第7図はいずれも伝送路に形
成される中ループの構成例を示す説明図である。 21〜2n……ループリンク回線、31,32
……端末リンク回線、30……試験端末、01〜
0n,11〜1n……伝送制御装置、L0,L1
……ループ回線。
Fig. 1 is a basic configuration diagram of the present invention, Figs. 2 a and b are explanatory diagrams showing an example of the structure of general data and check data to be transmitted, and Figs. 3 and 4 are diagrams of a test terminal and a transmission control device. The configuration diagrams illustrating each embodiment and FIGS. 5 to 7 are explanatory diagrams each showing an example of the configuration of an intermediate loop formed in a transmission path. 21~2n...Loop link line, 31, 32
...Terminal link line, 30...Test terminal, 01~
0n, 11-1n...Transmission control device, L0, L1
...Loop line.

Claims (1)

【特許請求の範囲】 1 互いに逆方向に伝送を行なう2本の伝送路
と、該2本の伝送路上でのデータの伝送および上
記伝送路の一方から他方へのデータの迂回を制御
する複数の伝送制御機器とを有する情報伝送シス
テムにおいて、上記伝送制御機器のいずれかよ
り、当該伝送制御機器を含む少なくとも2つの伝
送制御機器と上記2本の伝送路とで形成される中
ループの大きさを示す情報と経由した伝送制御機
器に関する情報とを有するチエツク信号を送信
し、該チエツク信号を受信した上記中ループ上の
伝送制御機器の各々は、上記チエツク信号中の情
報に基づいて上記チエツク信号を迂回して伝送さ
せるか否か判断すると共に、上記経由した伝送制
御機器に関する情報を更新して伝送し、上記中ル
ープ上の伝送制御機器の少なくとも1つで受信し
たチエツク信号に対する応答を基に上記中ループ
内の試験を行なうことを特徴とする伝送制御方
法。 2 上記伝送制御機器は、上記2本の伝送路のそ
れぞれに設けられた一対の伝送制御装置と、該一
対の伝送制御相互を接続するリンク回線とを含ん
で構成され、上記迂回は上記リンク回線を介して
上記一対の伝送制御装置間でデータを転送するこ
とにより行なわれることを特徴とする特許請求の
範囲第1項記載の伝送制御方法。
[Claims] 1. Two transmission paths that transmit data in opposite directions, and a plurality of transmission paths that control the transmission of data on the two transmission paths and the detour of data from one of the transmission paths to the other. In an information transmission system having a transmission control device, the size of an intermediate loop formed by at least two transmission control devices including the transmission control device and the two transmission paths is calculated from any of the transmission control devices. Each of the transmission control devices on the middle loop that has received the check signal transmits the check signal based on the information in the check signal. In addition to determining whether or not to cause the transmission to take a detour, the information regarding the transmission control equipment that has passed through the route is updated and transmitted, and the above-mentioned information is transmitted based on the response to the check signal received by at least one of the transmission control equipment on the middle loop. A transmission control method characterized by performing a test within the middle loop. 2. The transmission control device is configured to include a pair of transmission control devices provided on each of the two transmission lines, and a link line that connects the pair of transmission controls, and the detour is made by connecting the link line to the pair of transmission control devices. 2. The transmission control method according to claim 1, wherein the transmission control method is carried out by transferring data between the pair of transmission control devices via the transmission control device.
JP63238735A 1988-09-26 1988-09-26 Transmission control method for information transmission system Granted JPH01112849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63238735A JPH01112849A (en) 1988-09-26 1988-09-26 Transmission control method for information transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63238735A JPH01112849A (en) 1988-09-26 1988-09-26 Transmission control method for information transmission system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP59201653A Division JPS60100852A (en) 1984-09-28 1984-09-28 Transmission line test system

Publications (2)

Publication Number Publication Date
JPH01112849A JPH01112849A (en) 1989-05-01
JPH0574257B2 true JPH0574257B2 (en) 1993-10-18

Family

ID=17034479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63238735A Granted JPH01112849A (en) 1988-09-26 1988-09-26 Transmission control method for information transmission system

Country Status (1)

Country Link
JP (1) JPH01112849A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2784080B2 (en) 1990-05-09 1998-08-06 富士通株式会社 Ring network, fault recovery method therefor, and node used in ring network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5360104A (en) * 1976-11-10 1978-05-30 Toshiba Corp Loop-type data highway system
JPS54153504A (en) * 1978-05-25 1979-12-03 Nippon Telegr & Teleph Corp <Ntt> Sectioning system for faulty location by code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5360104A (en) * 1976-11-10 1978-05-30 Toshiba Corp Loop-type data highway system
JPS54153504A (en) * 1978-05-25 1979-12-03 Nippon Telegr & Teleph Corp <Ntt> Sectioning system for faulty location by code

Also Published As

Publication number Publication date
JPH01112849A (en) 1989-05-01

Similar Documents

Publication Publication Date Title
JPS5847111B2 (en) loop transmission system
EP0151837B1 (en) System and method for communication between nodes of a closed loop local communication path
EP0135037B1 (en) Structure detecting method for circular type transmission system
JPH01284035A (en) Data transmission equipment
JPH0574257B2 (en)
JPH0130336B2 (en)
JPH0652905B2 (en) Transmission control method in information transmission system
JPS6412145B2 (en)
JPS6198046A (en) Testing method of data communication controller
JPS58170148A (en) Loop transmission system
JPS6257337A (en) Data transmission equipment
JPH0435251A (en) Fault monitor system for ring network
JPH01125627A (en) Module abnormality checking system
JPS6159944A (en) Sequence number check system
JPS6175463A (en) Information processing system
JPH0677974A (en) Frame communication equipment
JPH0439940B2 (en)
JPS61224538A (en) Test system for data communication equipment
JPH04294431A (en) Trouble data collecting device
JPH04109792A (en) Automatic sales data collection system
JPH043699B2 (en)
JPS61101898A (en) Data transmission system for automatic fire alarm system
JPH0722290B2 (en) Processing method in distributed processing system
JPH04102951A (en) Data transfer control system
JPH0681149B2 (en) Data transmission device duplication method