JPH0130336B2 - - Google Patents

Info

Publication number
JPH0130336B2
JPH0130336B2 JP59201653A JP20165384A JPH0130336B2 JP H0130336 B2 JPH0130336 B2 JP H0130336B2 JP 59201653 A JP59201653 A JP 59201653A JP 20165384 A JP20165384 A JP 20165384A JP H0130336 B2 JPH0130336 B2 JP H0130336B2
Authority
JP
Japan
Prior art keywords
loop
data
ncp
check data
test
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
Application number
JP59201653A
Other languages
Japanese (ja)
Other versions
JPS60100852A (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 JP59201653A priority Critical patent/JPS60100852A/en
Publication of JPS60100852A publication Critical patent/JPS60100852A/en
Publication of JPH0130336B2 publication Critical patent/JPH0130336B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 本発明は複数個の機器間を伝送路を介して情報
伝送する情報伝送方法に関する。発明の目的は、
受信機器のアドレスを指示することなく試験を行
なうことができる情報伝送方法を提供することに
ある。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information transmission method for transmitting information between a plurality of devices via a transmission path. The purpose of the invention is
An object of the present invention is to provide an information transmission method that allows a test to be performed without specifying the address of a receiving device.

以下、本発明では、互いに逆方向に伝送を行な
う2本のループ回線上に伝送制御装置
(Network Control Processor、以下NCPと称す
る。)を互いに別のループ回線上のNCPと1対1
に対応するように配置し、各対のNCP間を双方
向性のループリンク回線で接続した2重ループ伝
送系において、伝送路の異常検出と異常箇所の検
知を行なう場合を例にとる。
Hereinafter, in the present invention, a transmission control device (Network Control Processor, hereinafter referred to as NCP) is placed on two loop lines that perform transmission in opposite directions to each other on a one-to-one basis with an NCP on a different loop line.
Let us take as an example the case of detecting an abnormality in the transmission path and detecting the abnormal location in a double loop transmission system in which each pair of NCPs is arranged so as to correspond to the above, and each pair of NCPs is connected by a bidirectional loop link line.

以下において、データがループリンク回線を伝
送されることを“迂回”、このような2つの迂回
路を持つループを“中ループ”とそれぞれ称す
る。なお、ループ回線のみで形成される、すなわ
ちループ回線を一巡するループを大ループ、中ル
ープのうち相隣接する2組のNCP対で形成され、
データが上記2組すなわち4個のNCPを経由し
て一巡するループを小ループという。以下、図面
を参照し本発明を実施例によつて詳細に説明す
る。
In the following, data transmitted through a loop link line will be referred to as a "detour", and a loop having two such detours will be referred to as a "middle loop". In addition, a loop formed only by loop lines, that is, a loop that goes around the loop line is formed by two adjacent NCP pairs of the large loop and the medium loop,
A loop in which data passes through the above two sets, that is, four NCPs, 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)
で、これに続くデータ(Data)の内容に対応す
るコードが付されている。なお同図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 that follows 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. 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, and 330 is a A receiving buffer, 331 a transmitting buffer, 340 a timer, and 341 to 343 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, and 40
is a processing unit, 51 to 54 are interfaces for transmitting and receiving data with the line, 51 is a bidirectional interface for the terminal link line, 52 is a bidirectional interface for the loop link line, and 53 and 54 are for the loop line. It is a unidirectional interface. Also, 61 is a receiving buffer, 62 is a transmitting buffer, and 70
and 83 are counters, 71, 72 and 81, 82 are registers, 73 is a memory, and 80 is a timer.

次に、試験端末30の動作の概略を説明する。 Next, an outline 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は、送信バツフア33
1内のデータをNCP01または11に送信し、
同時にタイマ340がリセツトされる。
The interface 310 or 311 of the line specified in the register 342 is the transmission buffer 33
Send the data in 1 to NCP01 or 11,
At the same time, timer 340 is reset.

(2) 試験期間中 試験端末30は端末リンク回線31,32よ
りデータを受信すると、データは受信バツフア
330に格納され、レジスタ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 stored in the reception buffer 330, and a flag indicating the reception line is set in the register 341. Processing device 300
is the output device 321 for receiving data and receiving line number.
Output to.

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

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

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

(2) 送信処理 送信すべきデータが生じたとき、処理装置4
0はレジスタ72に送信回線を指定するフラグ
をセツトし、送信データを送信バツフア62に
格納する。次いで、レジスタ72の内容すなわ
ち指定された回線に対応するインタフエース5
1〜54のいずれかが送信バツフア62内のデ
ータを回線に送信する。
(2) Transmission processing When data to be transmitted occurs, the processing device 4
0 sets a flag specifying the transmission line in the register 72 and stores the transmission data in the transmission buffer 62. Next, the contents of the register 72, that is, the interface 5 corresponding to the designated line.
1 to 54 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 adds up the number of NCPs that this data has passed through, and the initial value is 1. In addition, the flag (flag) is set in the NCP connected to the test terminal.
Set when N=CN is received.

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

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

方式1: この方式は、全ての中ループチエツクデータ
を、試験端末より試験開始指令を受けたNCP(以
下、試験開始NCPと云う)が作成し、自己の属
するループ回線に送信する方式である。
Method 1: In this method, the NCP (hereinafter referred to as the test start NCP) that receives a test start command from the test terminal creates all medium loop check data and sends it 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), (1,
2) ... is the N (loop size) and CN (the NCP routed) of the check data transmitted in that part.
number). The middle loop check data transmission control according to method 1 will be described below.

試験開始NCPは試験開始指令を受信するとカ
ウンタ70にNの値(=1)を入れ、中ループチ
エツクデータFC|1|1|0を作成し、自己
の属するループ回線により隣の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 medium loop check data FC|1|1|0, and transmits it to the neighboring NCP via the loop line to which it belongs. At the same time, the timer is reset and the counter 83 is cleared. Note that 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 is transmitted. 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 Compare 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 change the value of CN by 1. The increased check data 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 pair through the loop ring line.
Send to NCP.

(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の値とした中ルー
プチエツクデータFC|N|1|0を作成
し、自己の属するループ回線へ発信する。な
お、これと共にタイマ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 FC|N|1|0 is created, and it is transmitted to the loop line to which it belongs. At the same time, the timer 80 is reset.
Counter 83 is cleared.

フラグがセツトされていると、新たな中ルー
プチエツクデータの作成は行なわず、試験が正
常終了したことを示すデータを作成し、端末リ
ンク回線により試験端末へ送信すると共に、カ
ウンタ70および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 counters 70 and 83 are cleared. do.

(4) 上記いずれの場合にも該当しない場合: 受信データのCNを1だけ増した中ループチ
エツクデータを、ループ回線を通して隣接する
NCPへ送信する。
(4) If none of the above applies: The medium loop check data with the CN of the received data incremented by 1 is sent to the adjacent data 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 sent to the test terminal via the terminal link line, and the counters 70 and 83 are cleared.

(2) 両者が一致しない(前者が後者より小さい)
場合、 カウンタ70内の値をNとする中ループチエ
ツクデータFC|N|1|0を作成し、ルー
プ回線により隣の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 FC|N|1|0 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 1. 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, m) is stored in the middle loop shown by the broken line.
and b(n, m) are assumed to flow. Note that a and b
indicates the source NCP. Further, as described above, n and m are check data N and CN, that is, a parameter indicating the size of the middle loop to be checked, and an integrated 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は試験端末から試験開始指令を受
けた時点で、FC|1|1|0の中ループチエ
ツクデータのみを作成する。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 medium loop check data of FC|1|1|0. 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をクリアしてFC|1|1|0の中
ループチエツクデータを作成し、ループ回線によ
り隣の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 content of 0 is set to 1, the timer 80 is reset, the counter 83 is cleared, and loop check data in FC|1|1|0 is created and transmitted 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 they 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 incrementing 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) If 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をクリアする。
If the flag is not set, the value of the received check data N 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.

フラグがセツトされていれば、受信したチ
エツクデータのNの値と試験が正常終了した
ことを示すデータを作成し、端末リンク回線
より試験端末へ送信すると共に、カウンタ7
0と83をクリアする (4) 上記(1)(2)(3)に該当しない場合、 受信したチエツクデータのCNの値を1だけ
増してループ回線より隣のNCPへ送信する。
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 sent to the test terminal from the terminal link line, and the counter 7
Clear 0 and 83 (4) If the above (1), (2), and (3) do 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 is set until the value of the timer 80 matches the content of the register 81 that specifies the timeout time, CN = 2N + 2, and N = the content of the counter 70 (the value of N of the check data waiting to be received).
If no check data is 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 the 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 in 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.

以上説明したように、本発明の実施例によれ
ば、 (1) 各NCPはアドレス付けされている必要がな
い。
As explained above, according to the embodiment of the present invention, (1) each NCP does not need to be addressed;

(2) 試験端末は任意のNCP対に取付け得る。(2) Test terminals may be attached to any NCP pair.

(3) NCPの演算判定処理や迂回制御処理等に異
常がある場合も、チエツクし得る。
(3) It can also be checked if there is an abnormality in the NCP's calculation/judgment processing or detour control processing.

(4) 伝送路の異常の有無のみでなく、異常箇所も
推定することができる。
(4) It is possible to not only determine whether there is an abnormality in the transmission path, but also to estimate the location of the abnormality.

(5) 雑音等による一時的な伝送エラーが生じて
も、再送処理により対処することができる。
(5) Even if a temporary transmission error occurs due to noise, etc., it can be dealt with by retransmission processing.

などの利点があり、その効果は大きいものであ
る。
It has many advantages, and its effects are significant.

本発明によれば、受信機器のアドレスを指示す
ることなく試験を行なうことができる。
According to the present invention, a test can be performed without specifying the address of a receiving device.

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

第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)

【特許請求の範囲】[Claims] 1 互いに逆方向に伝送を行なう2本のループ回
線と、該2本のループ回線上に対をなして設けら
れた伝送制御装置と、各対の伝送制御装置間で双
方向にデータ伝送を行なうリング回線とを備えた
データ伝送システムにおいて、上記伝送制御装置
の任意の少くとも1個に対応して試験端末が備え
られ、上記伝送制御装置の少くとも1つから上記
回線にチエツク信号を送信し、該チエツク信号を
受信した伝送制御装置では、該チエツク信号を中
継し、上記端末装置に対応する伝送制御装置で
は、該試験端末からの指令により、上記チエツク
信号に対する応答を監視し、上記回線および上記
伝送制御装置を含む径路の少くとも一部の異常を
検出し、該検出結果を上記試験端末に送信するこ
とを特徴とする情報伝送方法。
1. Two loop lines that transmit data in opposite directions, transmission control devices installed in pairs on the two loop lines, and bidirectional data transmission between each pair of transmission control devices. In a data transmission system comprising a ring line, a test terminal is provided corresponding to at least one of the transmission control devices, and a check signal is transmitted from at least one of the transmission control devices to the line. The transmission control device that has received the check signal relays the check signal, and the transmission control device corresponding to the terminal device monitors the response to the check signal according to the command from the test terminal, and An information transmission method comprising detecting an abnormality in at least a part of a path including the transmission control device and transmitting the detection result to the test terminal.
JP59201653A 1984-09-28 1984-09-28 Transmission line test system Granted JPS60100852A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Child Applications (2)

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

Publications (2)

Publication Number Publication Date
JPS60100852A JPS60100852A (en) 1985-06-04
JPH0130336B2 true JPH0130336B2 (en) 1989-06-19

Family

ID=16444657

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS60100852A (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009102468A1 (en) * 2008-02-13 2009-08-20 Cgi Pharmaceuticals, Inc. 6-aryl-imidaz0[l, 2-a] pyrazine derivatives, method of making, and method of use thereof
US20110201608A1 (en) * 2008-08-05 2011-08-18 Boehringer Ingelheim International Gmbh Substituted naphthyridines and use thereof as medicines
TWI453207B (en) * 2008-09-08 2014-09-21 Signal Pharm Llc Aminotriazolopyridines, compositions thereof, and methods of treatment therewith
EP2634176A4 (en) * 2010-10-28 2014-04-16 Nippon Shinyaku Co Ltd Pyridine derivative and medicinal agent
CA2821819A1 (en) * 2010-12-17 2012-06-21 Marcus Koppitz 6-substituted imidazopyrazines for use as mps-1 and tkk inhibitors in the treatment of hyperproliferative disorders
KR101986484B1 (en) * 2011-07-26 2019-06-10 베링거 인겔하임 인터내셔날 게엠베하 Substituted quinolines and their use as medicaments

Also Published As

Publication number Publication date
JPS60100852A (en) 1985-06-04

Similar Documents

Publication Publication Date Title
JPH0746322B2 (en) Faulty device identification system
JPH01284035A (en) Data transmission equipment
JPH0130336B2 (en)
JPH0574257B2 (en)
JP3600480B2 (en) Serial data transfer system and abnormality detection method
JPH0652905B2 (en) Transmission control method in information transmission system
JPH0441399B2 (en)
KR940006834B1 (en) Method of generating the diagnosing and recovery data file in multiprocessor system
JPH0435251A (en) Fault monitor system for ring network
JP3291729B2 (en) Redundant computer system
JP3084310B2 (en) Computer network monitoring method
JPS6046151A (en) Transmission control method in data transmission system
JPS6198046A (en) Testing method of data communication controller
JPS61224538A (en) Test system for data communication equipment
JPH043699B2 (en)
JPS6175463A (en) Information processing system
JPS59221131A (en) Data transmission station
JPH0722290B2 (en) Processing method in distributed processing system
JPS58170148A (en) loop transmission system
JPH01125627A (en) Module abnormality check method
JPS6113845A (en) Communication control equipment
JP2004180096A (en) Information processor and method for detecting device abnormality
JPH01149557A (en) Modem
JPS6123263A (en) Test system
JP2000092105A (en) Computer LAN device monitoring device