JPH02301344A - Alarm detection system in loop transmission line - Google Patents

Alarm detection system in loop transmission line

Info

Publication number
JPH02301344A
JPH02301344A JP1120320A JP12032089A JPH02301344A JP H02301344 A JPH02301344 A JP H02301344A JP 1120320 A JP1120320 A JP 1120320A JP 12032089 A JP12032089 A JP 12032089A JP H02301344 A JPH02301344 A JP H02301344A
Authority
JP
Japan
Prior art keywords
bit
node address
station
data
master station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1120320A
Other languages
Japanese (ja)
Inventor
Sawako Takatsuka
高塚 佐和子
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 JP1120320A priority Critical patent/JPH02301344A/en
Publication of JPH02301344A publication Critical patent/JPH02301344A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To retrieve a faulty communication slave station immediately by collating the content of a data identification bit with a node address and adding a value resulting from subtracting a content of the identification bit from a node address in the case of dissidence to an error count bit so as to check whether or not the content is a prescribed value thereby detecting alarm. CONSTITUTION:N+1 is preset to a master station A as a node address and 1 to N are set respectively to N-set of slave stations #1-#N as respective node addresses. The master station A collates the node address LN+1=N+1 in its own station with the content MN of a received U/D bit, stores the value (x) in the case of dissidence and adds Y to the content of the received U/D bit. The station checks the content of the E/C bit and raises an alarm as a communication fault in the case of ZN+1=1 to N. In this case, the (x) (2, 4, 5) stored in slave stations #3, #6 is collected by the master station A. Thus, the node address of all slave stations showing communication fault is recognized.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はループ状に接続された複数のデータ通信装置異
常(警報)検出方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an abnormality (alarm) detection method for a plurality of data communication devices connected in a loop.

[従来の技術] 一般に一つの親局(主データ通信装置)とN・個(Nは
正整数)の子局(従データ通信装置)とをループ状に接
続したデータ通信システムでは、所謂1:N通信が行わ
れる。この際、親局はN個の子局への送信データ中のU
/Dビットを0と設定して送信し、子局では送信したU
/Dビットを1として下位の子局へ送信している。
[Prior Art] Generally, in a data communication system in which one master station (main data communication device) and N.times. (N is a positive integer) slave stations (slave data communication devices) are connected in a loop, the so-called 1: N communications are performed. At this time, the master station sends U in the transmission data to N slave stations.
The /D bit is set to 0 and transmitted, and the slave station transmits the U
The /D bit is set to 1 and transmitted to the lower slave station.

親局では、ループ状の伝送を1周して戻ってきた自局か
らの送信データ中のU/Dビットが1であれば正常通信
とみなし、0であれば異常通信とみなして警報検出を行
なっている。
At the master station, if the U/D bit in the transmitted data from the local station that has returned after one round of loop-shaped transmission is 1, it is regarded as normal communication, and if it is 0, it is regarded as abnormal communication, and an alarm is detected. I am doing it.

[発明が解決しようとする課題点] 上述したように、従来の警報検出では、N個の子局が受
信したU/Dビットを1にして下位子局へ送信し、親局
では、ループ伝送路を1周して戻ってきた送信データ中
のU/Dビットが1であれば正常通信とみなしている。
[Problems to be Solved by the Invention] As described above, in conventional alarm detection, N slave stations set the received U/D bit to 1 and transmit it to lower slave stations, and the master station performs loop transmission. If the U/D bit in the transmitted data returned after making one circuit around the road is 1, it is considered normal communication.

このため、N個の子局のうちいずれか1局と正常通信が
行えれば、他のN−1個の子局との通信が異常通信であ
っても。
Therefore, as long as normal communication can be performed with any one of the N slave stations, even if communication with the other N-1 slave stations is abnormal.

常に親局では正常通信とみなして異常を検出できない。The master station always assumes normal communication and cannot detect any abnormality.

どの子局が異常であるかを直ちに判別することができな
いという問題点がある。
There is a problem in that it is not possible to immediately determine which slave station is abnormal.

本発明の目的は子局の異常を正確に検出することができ
る警報検出方式を提供することにある。
An object of the present invention is to provide an alarm detection method that can accurately detect abnormalities in slave stations.

[問題点を解決するための手段] 本発明によれば、一つの親局とN(Nは正整数)個の子
局とが伝送路によってループ状に接続され。
[Means for Solving the Problems] According to the present invention, one master station and N (N is a positive integer) slave stations are connected in a loop through a transmission path.

識別ビット及びエラーカウントビットを有するデータを
送受する通信システムにおいて、前記子局にはノードア
ドレスとして順次1からNが設定され、前記親局にはノ
ードアドレスとしてN+1が設定されており、前記各子
局には前記情報ビットの内容を前記子局ごとのノードア
ドレス+1に置換する置換手段が備えられ、前記各子局
及び前記親局には前記データの識別ビットの内容と前記
ノードアドレスとを照合する照合手段と、該照合の結果
、不一致であると前記識別ビットの内容と前記ノードア
ドレスから−1した値とで定まる正数値を記憶する記憶
手段と、前記不一致の際前記ノードアドレスから前記識
別ビットの内容を減算した値を前記エラーカウントビッ
トに加算する加算手段とが備えられ、さらに、前記親局
には前記エラーカウントビットの内容が所定の値である
かどうかをチェックして警報検出を行う検出手段と。
In a communication system that transmits and receives data having an identification bit and an error count bit, the slave station is sequentially set with a node address of 1 to N, the master station is set with a node address of N+1, and each of the slave stations is set with a node address of 1 to N. The station is equipped with a replacement means for replacing the contents of the information bits with the node address of each slave station + 1, and each slave station and the master station are provided with a means for replacing the contents of the information bits with the node address of each slave station, and each slave station and the master station are provided with a means for comparing the contents of the identification bits of the data with the node address. a storage means for storing a positive value determined by the content of the identification bit and a value subtracted by 1 from the node address when the result of the verification is a mismatch; addition means for adding a value obtained by subtracting the content of the bit to the error count bit, and the master station further includes a means for detecting an alarm by checking whether the content of the error count bit is a predetermined value. and the detection means to be carried out.

前記記憶手段に格納された正数値を収集する収集手段と
が備えられ、前記親局は前記識別ビットに1を設定する
とともに前記エラーカウントビットに0を設定して前記
データを送出するようにしたことを特徴とするループ状
伝送路における警報検出方式が得られる。
collecting means for collecting the positive values stored in the storage means, and the master station sets the identification bit to 1 and sets the error count bit to 0, and transmits the data. An alarm detection method in a loop-shaped transmission path is obtained.

[実施例] 次に本発明について実施例によって説明する。[Example] Next, the present invention will be explained with reference to examples.

第1図を参照して、一つの親局AとN個の子局#1.#
2.#3.・・・、#Nとが伝送路Iにてループ状に接
続されている。親局Aは、ループ状データ伝送網で生じ
る遅延の補正及び伝送システム全体の監視を集中的に行
なっている。各子局#1〜#Nでは、伝送路pよりデー
タを受信し、取り込んだ後、再生中継を行い、必要に応
じて付加情報を挿入して、下位局へデータを送信する。
Referring to FIG. 1, one master station A and N slave stations #1. #
2. #3. . . , #N are connected in a loop through a transmission line I. The master station A intensively corrects delays occurring in the loop data transmission network and monitors the entire transmission system. Each slave station #1 to #N receives data from the transmission path p, takes it in, performs regenerative relay, inserts additional information as necessary, and transmits the data to the lower station.

親局AにはノードアドレスとしてN+1が予め設定され
ており、N個の子局#1.#2.#3゜・・・、#Nに
はそれぞれノードアドレスとして1゜’2,3.・・・
、Nが設定されている。
N+1 is preset as a node address in master station A, and N slave stations #1. #2. #3゜..., #N each have a node address of 1゜'2, 3. ...
, N are set.

親局Aはデータフォーマット中のU/Dビットの内容を
M−1,E/Cビットの内容をZ−0にイニシャライズ
して伝送路Iを介して子局へデータを送信する。親局か
らのデータを正常受信した子局#1では受信したU/D
ビットの内容M−1と自局ノードアドレスL1−1を照
合した後U/Dビットの内容をM+ −L+ +1=1
+1=2に置き換えて下位子局#2ヘデータを送信する
The master station A initializes the contents of the U/D bit in the data format to M-1 and the contents of the E/C bit to Z-0, and transmits the data to the slave station via the transmission path I. Slave station #1, which successfully received data from the master station, received the U/D
After comparing the bit content M-1 with the local node address L1-1, the content of the U/D bit is M+ -L+ +1=1
+1=2 and transmits data to lower slave station #2.

ここで子局#2において通信異常が発生した2とすると
、子局#3で受信する送信データ中のU/Dビットの内
容は、M+−2,E/Cビットの内容はZl−0となる
。子局#3では自局のノード □アドレスト1−3と受
信したU/Dビットの内容M、とを照合する。その結果
、不一致であるので。
Assuming that a communication error has occurred in slave station #2, the content of the U/D bit in the transmission data received by slave station #3 is M+-2, and the content of the E/C bit is Zl-0. Become. Slave station #3 compares its own node □address 1-3 with the content M of the received U/D bit. Because the result is a mismatch.

M1≦X≦L3−1のすべての正数x−2を記憶する。All positive numbers x-2 with M1≦X≦L3-1 are stored.

さらに、受信したE/Cビットの内容ZI= OJ、:
Y −L s  M r −3−2−1を加算してZ、
−1とし、U/Dビットの内容を自局ノー、ドアドレス
+1.つまりM3−Ls +1−3+1−4に置き換え
て下位子局#4ヘデータを送信する。
Furthermore, the content of the received E/C bit ZI=OJ,:
Add Y −L s M r −3-2-1 to Z,
-1, and set the contents of the U/D bit to own node, door address +1. That is, it replaces M3-Ls +1-3+1-4 and transmits data to lower slave station #4.

さらに子局#4.#5において通信異常が発生したとす
ると、子局#6で受信するデータ中のU/Dビットの内
容はM、−4,E/Cビットの内容はZ、−1である。
Furthermore, slave station #4. If a communication abnormality occurs in #5, the content of the U/D bit in the data received by slave station #6 is M, -4, and the content of the E/C bit is Z, -1.

子局#6では自局のノードアドレスL6−6と受信した
U/Dビットの内容M、とを照合する。この場合、不一
致であるのでM3≦X≦L6−1のすべての正数X−4
,5を記憶する。さらに、受信したE/Cビットの内容
Z3に、Y=Lb  Ml −64−2を加算してZ6
−1+Y−1+2−3とし、U/Dビットの内容をM−
7−Nに置換して、下位子局#Nヘデータを送信する。
Slave station #6 compares its own node address L6-6 with the content M of the received U/D bit. In this case, since there is a mismatch, all positive numbers X-4 with M3≦X≦L6-1
, 5 are stored. Furthermore, Y=Lb Ml -64-2 is added to the received E/C bit content Z3 and Z6
-1+Y-1+2-3, and the contents of the U/D bit are M-
7-N and transmits data to lower slave station #N.

子局#Nにおいて正常通信が行えたとすると。Assume that normal communication can be performed at slave station #N.

親局Aで受信するデータ中のU/Dビットの内容はMN
−N+1.E/Cビットの内容は2.■3であるX、親
局Aでは、自局のノードアドレスLN÷、−N+lと受
信したU/Dビットの内容MNを照合する。そして、不
一致である場合には、子局#3.#6と同じように、X
の値を記憶し、受信したU/Dビットの内容に前述のよ
うにしてYを加算する。
The content of the U/D bit in the data received by master station A is MN
-N+1. The contents of the E/C bit are 2. (3) At X, the master station A checks its own node address LN÷, -N+l and the content MN of the received U/D bit. If there is a mismatch, slave station #3. Same as #6, X
, and adds Y to the contents of the received U/D bit as described above.

E/Cビットの内容をチェックし、Z、+、 +w Q
であれば全ノードが正常通信であるとみなし、Z□、−
1〜Nであれば、子局#1〜#NのN個の子局のうち、
z−1〜N個の子局が通信異常であるとして警報(異常
警報)を発生する。
Check the contents of the E/C bit, Z, +, +w Q
If so, it is assumed that all nodes are communicating normally, and Z□, −
1 to N, among N slave stations #1 to #N,
Z-1 to N slave stations generate an alarm (abnormality alarm) because of communication abnormality.

この際、子局#3及び#6(又は親局)に記憶されてい
るXの値(2,4,5)は、親局Aからの指令により親
局Aに集められ、これによって異常通信であった全子局
のノードアドレスを知ることができる。
At this time, the values of It is possible to know the node addresses of all slave stations.

次に、第2図を参照して、各局の構成について説明する
Next, the configuration of each station will be explained with reference to FIG.

光伝送制御部1は電気光(Elo)、光電気O/E変換
を行い、光伝送路gからデータの送受信を行う。ループ
同期制御部2は親局Aが有する回路で、ループ状データ
伝送網で生じる遅延の補正及びシステム全体の監視を集
中的に行う。U/Dビットチェック部5は親局及び子局
に備えられており、自局のノードアドレスと受信した送
信データ中のU/Dビットの内容とを照合して、不一致
の際には前述のようにXの値をエラーノードアドレス記
憶部6に記憶し、エラーカウントビット挿入部7におい
て、自局からの送信データのE/Cビットに上記のYの
値を加算する。
The optical transmission control unit 1 performs electro-optical (Elo) and opto-electric O/E conversion, and transmits and receives data from the optical transmission path g. The loop synchronization control unit 2 is a circuit included in the master station A, and performs intensive correction of delays occurring in the loop data transmission network and monitoring of the entire system. The U/D bit check unit 5 is provided in the master station and the slave station, and checks the node address of the own station and the content of the U/D bit in the received transmission data, and if there is a discrepancy, the above-mentioned The value of X is stored in the error node address storage unit 6, and the error count bit insertion unit 7 adds the value of Y to the E/C bit of the data transmitted from the local station.

データ制御部3は、データ受信部とデータ送信部を輸え
ており(ともに図示せず)、データ受信部はフレーム同
期の有無を判定してフレーム同期を確立したり、データ
フレーム中のフレームチェックシーケンス部をチェック
してその良否を検出し、全てのチj−ツクが正常の時の
み受信データを取り込む。一方、データ送信部はフレー
ム同期の作成、フレームチェックシーケンス部の作成、
端末(図示せず)からのデータの挿入、データフレーム
中の制御信号部への制御データの挿入等を行い送信デー
タを送出する。端末装置インタフェース部4は端末装置
(図示せず)とデータ制御部3のインタフェース部であ
る。
The data control unit 3 includes a data receiving unit and a data transmitting unit (both not shown), and the data receiving unit determines the presence or absence of frame synchronization and establishes frame synchronization, and performs a frame check sequence in the data frame. The received data is taken in only when all the checks are normal. On the other hand, the data transmitter creates frame synchronization, creates frame check sequence part,
It inserts data from a terminal (not shown), inserts control data into a control signal section in a data frame, and sends out transmission data. The terminal device interface section 4 is an interface section between a terminal device (not shown) and the data control section 3.

デー多制御部3において受信データが正常に取り込まれ
た場合に、エラーカウントビット挿入部7において、E
/Cビットの内容に上述のYの値を加算し、U/Dビッ
ト置換部8において、U/Dビットの内容を自局のノー
ドアドレス+1の値に置換する。
When the received data is normally captured in the data control unit 3, the error count bit insertion unit 7 inputs E.
The value of Y mentioned above is added to the contents of the /C bit, and the U/D bit replacement section 8 replaces the contents of the U/D bit with the value of the node address of the local station +1.

親局Aにおいては、エラーカウントビット挿入部7及び
U/Dビット置換部8を経由した送信データ中のE/C
ビットの内容をE/Cビット警報検出部9においてチェ
ックし、E/Cビットの値Zが0のとき、正常通信であ
るとみなしZが1〜Nのいずれかの値であるときは、N
個の子局のうち2個の子局が異常通信であると判定し警
報を検出する。次に親局AではU/DビットE/Cビッ
トイニシャライズ部10においてU/Dビットの内容を
1.E/Cビットの内容を0にしてデータを光伝送制御
部1へ送信する。
In the master station A, the E/C in the transmission data via the error count bit insertion section 7 and the U/D bit replacement section 8 is
The contents of the bit are checked in the E/C bit alarm detection unit 9, and when the value Z of the E/C bit is 0, it is considered normal communication.When Z is any value from 1 to N, N
It is determined that two of the slave stations are in abnormal communication and an alarm is detected. Next, in the master station A, the U/D bit E/C bit initializing section 10 changes the contents of the U/D bit to 1. The contents of the E/C bit are set to 0 and the data is transmitted to the optical transmission control section 1.

[発明の効果] 以上説明したように本発明では、ループ型伝送路におけ
る1:N通信の場合、N個の子局のうち1個でも正常通
信ができなければ、親局において警報検出ができ、さら
に、異常通信であった子局のノードアドレスが親局に収
集でき、異常通信子局の探索が直ちに行えるという効果
がある。
[Effects of the Invention] As explained above, in the case of 1:N communication on a loop type transmission line, if even one of N slave stations is unable to communicate normally, the master station cannot detect an alarm. Furthermore, the node address of the slave station with abnormal communication can be collected in the master station, and the search for the slave station with abnormal communication can be performed immediately.

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

第1図は本発明におけるループ状伝送路における警報検
出方式の一実施例を説明するための概略〜) 図、第2図はループ状伝送路に用tられる局の構成の一
実施例を示すブロック図である。 1・・・光伝送制御部、2・・・ループ同期制御部、3
・・・データ制御部、4・・・端末装置インタフェース
部。 5・・・U/Dビット、チェック部、6・・・エラーノ
ードアドレス記憶部、7・・・エラーカウントビット挿
入部、8・・・U/Dビット置換部、9・・・E/Cビ
ット警報検出部、10・・・U/DビットE/Cビット
イニシャライズ部。
Fig. 1 is a schematic diagram for explaining an embodiment of an alarm detection method in a loop-shaped transmission line according to the present invention. Fig. 2 shows an embodiment of the configuration of a station used in a loop-shaped transmission line. It is a block diagram. 1... Optical transmission control section, 2... Loop synchronization control section, 3
...Data control section, 4...Terminal device interface section. 5... U/D bit, check section, 6... Error node address storage section, 7... Error count bit insertion section, 8... U/D bit replacement section, 9... E/C Bit alarm detection section, 10...U/D bit E/C bit initialization section.

Claims (1)

【特許請求の範囲】[Claims] 1、一つの親局とN(Nは正整数)個の子局とが伝送路
によってループ状に接続され、識別ビット及びエラーカ
ウントビットを有するデータを送受する通信システムに
おいて、前記子局にはノードアドレスとして順次1から
Nが設定され、前記親局にはノードアドレスとしてN+
1が設定されており、前記各子局には前記識別ビットの
内容を前記子局ごとのノードアドレス+1に置換する置
換手段が備えられ、前記各子局及び前記親局には前記デ
ータの識別ビットの内容と前記ノードアドレスとを照合
する照合手段と、該照合の結果、不一致であると前記識
別ビットの内容と前記ノードアドレスから−1した値と
で定まる正数値を記憶する記憶手段と、前記不一致の際
前記ノードアドレスから前記識別ビットの内容を減算し
た値を前記エラーカウントビットに加算する加算手段と
が備えられ、さらに、前記親局には前記エラーカウント
ビットの内容が所定の値であるかどうかをチェックして
警報検出を行う検出手段と、前記記憶手段に格納された
正数値を収集する収集手段とが備えられ、前記親局は前
記識別ビットに1を設定するとともに前記エラーカウン
トビットに0を設定して前記データを送出するようにし
たことを特徴とするループ状伝送路における警報検出方
式。
1. In a communication system in which one master station and N (N is a positive integer) slave stations are connected in a loop through a transmission path and transmit and receive data having identification bits and error count bits, the slave stations include 1 to N are sequentially set as the node address, and the master station is set with N+ as the node address.
1 is set, and each of the slave stations is provided with replacement means for replacing the contents of the identification bit with the node address of each slave station + 1, and each of the slave stations and the master station is provided with an identification bit of the data. collation means for collating the contents of the bits and the node address; and storage means for storing a positive value determined by the contents of the identification bits and a value subtracted by one from the node address if there is a mismatch as a result of the collation; addition means for adding a value obtained by subtracting the content of the identification bit from the node address to the error count bit in the case of the mismatch; A detecting means for detecting an alarm by checking whether there is an alarm, and a collecting means for collecting a positive value stored in the storage means, and the master station sets the identification bit to 1 and records the error count. 1. An alarm detection method in a loop-shaped transmission line, characterized in that the data is transmitted by setting a bit to 0.
JP1120320A 1989-05-16 1989-05-16 Alarm detection system in loop transmission line Pending JPH02301344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1120320A JPH02301344A (en) 1989-05-16 1989-05-16 Alarm detection system in loop transmission line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1120320A JPH02301344A (en) 1989-05-16 1989-05-16 Alarm detection system in loop transmission line

Publications (1)

Publication Number Publication Date
JPH02301344A true JPH02301344A (en) 1990-12-13

Family

ID=14783334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1120320A Pending JPH02301344A (en) 1989-05-16 1989-05-16 Alarm detection system in loop transmission line

Country Status (1)

Country Link
JP (1) JPH02301344A (en)

Similar Documents

Publication Publication Date Title
JP3307508B2 (en) Communication network configuration detection method
US5097469A (en) Passive monitor for broadcast communication network
CA1204834A (en) Protocol for determining physical order of active stations on a token ring
EP0469812A1 (en) Detection of duplicate alias addresses
US5293571A (en) Receipt acknowledgement method in multiplex transmission
US6463037B1 (en) Looping detection apparatus
JPH0795223A (en) Execution of route identification inside communication system
JPH02301344A (en) Alarm detection system in loop transmission line
JPS61224750A (en) System for informing detection of transmission line fault section
EP0425655B2 (en) Passive network monitor and corresponding method of monitoring
JP2996501B2 (en) Equipment control method and device
Phinney et al. Error handling in the IEEE 802 token-passing bus LAN
EP1488576B1 (en) Self-routing, star-coupler-based communication network
JPH02301345A (en) Alarm detection system in loop transmission line
CA2088210A1 (en) Procedure for synchronizing circuit elements of a telecommunications system
JP3064448B2 (en) Line setting method
Emori et al. Communication Bus V-net for the CENTUM CS
JPH06350492A (en) Abnormality detecting system for distribution line carrier communications system
CA1246173A (en) Method of operating a two-wire local area network such that marginal components in the secondary loop are located
JP2000165424A (en) Loop type data transmitting device
JP2789634B2 (en) Alarm detection method for loop type data transmission equipment
JPH0251923A (en) Error detection system
JPS58172044A (en) Data highway system
JPH0583212A (en) Line monitoring system
JPH04311124A (en) Ring-like communication network