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

Alarm detection system in loop transmission line

Info

Publication number
JPH02301345A
JPH02301345A JP1120322A JP12032289A JPH02301345A JP H02301345 A JPH02301345 A JP H02301345A JP 1120322 A JP1120322 A JP 1120322A JP 12032289 A JP12032289 A JP 12032289A JP H02301345 A JPH02301345 A JP H02301345A
Authority
JP
Japan
Prior art keywords
bit
address
station
master station
slave
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
JP1120322A
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 JP1120322A priority Critical patent/JPH02301345A/en
Publication of JPH02301345A publication Critical patent/JPH02301345A/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 an address bit with a node address and replacing the identification bit to 1 in the case of dissidence and checking whether or not the content of the identification bit 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. Suppose that a communication fault takes place in the slave station #N, the content of the U/D bit is replaced into '1'. The master station A checks the content of the U/D bit and when the content is '0', all modes are regarded as normal communication, while the U/D bit is '1', it is regarded that one slave station or over among N sets of slave stations #1-#N is in communication fault to raise an alarm. In this case, the values (x) stored in the slave station is collected to the master station A with simultaneous polling to the N sets of the slave stations from the 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.

〔従来の技術〕[Conventional technology]

一般に一つの親局(主データ通信装置)とN個(Nは正
整数)の子局(従データ通信装置)とをループ状に接続
したデータ通信システムでは、所謂l:N通信が行われ
る。この際、親局はN個の子局への送信データ中のU/
Dビットを0と設定して送信し、子局では送信したU/
Dビットを1として下位の子局へ送信して層る。
Generally, in a data communication system in which one master station (main data communication device) and N (N is a positive integer) slave stations (slave data communication devices) are connected in a loop, so-called 1:N communication is performed. At this time, the master station sends U/
The D bit is set to 0, 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であれば正常過言
とみなし、Oであれば異常通信とみなして警報検出を行
なってhる。
At the master station, if the U/D bit in the transmitted data from the own station that has returned after one round of loop-shaped transmission is 1, it is considered normal and excessive, and if it is O, it is regarded as abnormal communication and an alarm is detected. Go and have fun.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、従来の警報検出では、N個の子局が受
信したU/Dビットを1にして下位子局へ送信し、R局
では、ループ伝送路を1周して戻ってきた送信データ中
のU/Dビットが1であれば正常通信とみなしてhる。
As mentioned above, in conventional alarm detection, the N slave stations set the received U/D bit to 1 and transmit it to the lower slave station, and the R station receives the transmission that has gone around the loop transmission path and returned. If the U/D bit in the data is 1, it is assumed that communication is normal.

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

常に親局では正常通信とみなして異常を検出できな−。The master station always considers the communication to be normal and cannot detect any abnormalities.

さらにどの子局が異常である一lJ島を直ちに判別する
ことができなhと論う問題点がある。
Furthermore, there is the problem 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 a slave station.

〔課題を解決するための手段〕[Means to solve the problem]

本発明によれば、一つの親局とN(Nは正整数)個の子
局とが伝送路によってループ状に接続され。
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.

異常通信ノードを検出するための識別ビット及びアドレ
スビットを有するデータを送受するデータ通信システム
におりて、前記子局にはノードアドレスとして順次lか
らNが設定され、前記親局にはノードアドレスとしてN
+1が設定されておシ。
In a data communication system that transmits and receives data having an identification bit and an address bit for detecting an abnormal communication node, the slave station is sequentially set with 1 to N as a node address, and the master station is set with a node address as a node address. N
+1 is set.

前記各子局には前記アドレスビットの内容を前記子局ご
とのノードアドレス+1に置換する第1の置換手段が備
えられ、前記各子局及び前記親局には前記データのアド
レスビットの内容と前記ノードアドレスとを照合する照
合手段と、該照合の結果、前記アドレスビットが前記ノ
ードアドレスよシ小さいと前記アドレスビットの内容と
前記ノードアドレスから−1した値とで定まる正数喧を
記憶する記憶手段と、前記不一致の際前記識別ビットを
IK置換する第2の置換手段とが備え・られ。
Each of the slave stations is provided with first replacement means for replacing the contents of the address bits with the node address of each slave station +1, and each of the slave stations and the master station is provided with a collating means for collating the node address; and, as a result of the collation, if the address bit is smaller than the node address, storing a positive number determined by the contents of the address bit and a value subtracted by 1 from the node address; A storage means, and a second replacement means for performing IK replacement on the identification bit in the case of the mismatch.

さらに、前記親局には前記アドレスビットの内容を1に
置換する第3の置換手段と、前記識別ビットの内容が所
定の値であるかどうかをチェックして警報検出を行う検
出手段と、前記記憶手段に格納された正数値を一斉ポー
リングによって収集することで異常のノードアドレスを
収集する収集手段とが備えられ、前記親局は前記識別ビ
ットに0を設定して前記データを送出するようにしたこ
とを特徴とするループ状伝送路における警報検出方式が
得られる。
Furthermore, the master station includes a third replacement means for replacing the content of the address bit with 1, a detection means for detecting an alarm by checking whether the content of the identification bit is a predetermined value, and the and collecting means for collecting abnormal node addresses by collecting positive values stored in the storage means by simultaneous polling, and the master station sets the identification bit to 0 and transmits the data. An alarm detection method for a loop-shaped transmission path is obtained.

〔実施例〕〔Example〕

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

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

親局AにはノードアドレスとしてN+1が予め設定され
ておシ、N個の子局φl、す2.+3゜・・・、ΦNに
はそれぞれノードアドレスとしてl。
N+1 is preset as a node address in the master station A, and N slave stations φl, 2. +3°..., ΦN respectively have l as a node address.

2.3.・・・、Nが設定されて層る。2.3. ..., N is set and layered.

親局Aはデータフォーマット中の識別ビット(U/Dビ
ット)の内容を0.アドレスビット(AD−ビツトの内
容を1にイニシャライズして伝送路lを介して子局へデ
ータを送信する。親局からのデータを正常受信した子局
すlでは受信したADビットの内容M=1と自局ノード
アドレスNA1= 1を照合した後ADビットの内容を
M、 =NA、+ 1 = 1 + 1 = 2に置き
換え、U/Dビットは操作せず、下位子局+2へデータ
を送信する。
The master station A sets the contents of the identification bit (U/D bit) in the data format to 0. Initializes the contents of the address bit (AD-bit to 1) and transmits the data to the slave station via the transmission path l.The slave station that has successfully received data from the master station receives the AD bit contents M= 1 and own station node address NA1 = 1, replace the contents of the AD bit with M, = NA, + 1 = 1 + 1 = 2, do not manipulate the U/D bit, and send the data to the lower slave station +2. Send.

ここで子局◆2.÷3にお層て通信異常が発生したとす
ると、子局+4で受信する送信データ中のAD−ビツト
内容けy M、== 2 # U / nビットの内容
はOとなる。子局す4では自局のノードアドレスNA4
:= 4と受信したAD−ビツト内容M、=2とを照合
する。その結果、不一致であるので。
Here, the slave station ◆2. Assuming that a communication abnormality occurs in the ÷3 layer, the content of the AD-bit in the transmission data received by the slave station +4 becomes O. For slave station 4, its own node address NA4
:=4 is compared with the received AD-bit content M,=2. Because the result is a mismatch.

M、≦X≦NA4のすべての正数x=2.3を記憶する
。さらに、受信したU/Dビットの内容を1に置き換え
、ADビットの内容をM4= NA4 + 1 =4+
1=5=Nに置換して下位子局+Nヘデータを送信する
M, store all positive numbers x=2.3 where ≦X≦NA4. Furthermore, the contents of the received U/D bit are replaced with 1, and the contents of the AD bit are changed to M4= NA4 + 1 = 4+
1=5=N and transmits data to lower slave station +N.

子局+Nにおいて通信異常が発生したとすると。Suppose that a communication error occurs in slave station +N.

親局で受信するデータ中のADビットの内容はM4=N
、U/Dビットの内容は1である。親局では自局のノー
ドアドレスNAN、 = N + 1と受信したADビ
ットの内容M4=Nとを照合する。この場合、不一致で
あるのでM4≦X≦NAN+、−1のすべての正数x 
= Nを記憶する。さらに、受信したU/Dビットの内
容を1に置き換える。
The content of the AD bit in the data received by the master station is M4=N
, the content of the U/D bit is 1. The master station checks its own node address NAN, = N + 1, and the content of the received AD bit M4=N. In this case, since there is a mismatch, all positive numbers x of M4≦X≦NAN+, -1
= Remember N. Furthermore, the content of the received U/D bit is replaced with 1.

次に、親局Aでは、U/Dビットの内容をチェックし、
0であれば全ノードが正常通信であるとみなし、一方U
/Dビットが1であれば、子局す1〜φNのN個の子局
のうち、1個以上の子局が通信異常であるとして警報(
異常警報)を発生する。
Next, master station A checks the contents of the U/D bit,
If it is 0, all nodes are considered to be communicating normally, while U
If the /D bit is 1, an alarm (
(abnormal alarm) is generated.

この際、子局(又は親局)に記憶されているXの値(2
,3,N)は、親局AからN個の子局への一斉ポーリン
グによシ親局Aに集められ、これによって異常通信であ
った全子局のノードアドレスを知ることができる。
At this time, the value of X (2
, 3, N) are collected at the master station A by simultaneous polling from the master station A to N slave stations, and thereby the node addresses of all the slave stations with abnormal communication can be known.

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

光伝送制御部lは電気光(E/I)) 、光電気(0/
E)変換を行い、光伝送路lからデータの送受信を行う
。ループ同期制御部2は親局Aが有する回路で。
The optical transmission control unit l is electro-optical (E/I)), photoelectric (0/I)
E) Performs conversion and transmits and receives data from optical transmission line l. The loop synchronization control unit 2 is a circuit included in the master station A.

ループ状データ伝送網で生じる遅延の補正及びシステム
全体の監視を集中的に行う。AD−ビットチェック5は
親局及び子局に備えられており、自局のノードアドレス
と受信した送信データ中のADビットの内容とを照合し
て、不一致の際には前述のようにXの値をエラーノード
アドレス記憶部6に記憶し、U/Dビット置換部8にお
いて。
Intensive correction of delays occurring in the loop data transmission network and monitoring of the entire system. AD-bit check 5 is provided in the master station and slave stations, and checks the node address of the own station and the content of the AD bit in the received transmission data, and if there is a discrepancy, the The value is stored in the error node address storage section 6 and in the U/D bit replacement section 8.

送信データのU/Dビットの内容を1に置き換える。Replace the contents of the U/D bit of the transmission data with 1.

データ制御部3は、データ受信部とデータ送信部を備え
ておシ(ともに図示せず)、データ受信部はフレーム同
期の有無を判定してフレーム同期ヲ確立シたシワデータ
フレーム中の7レ一ムチエツクシーケンス部をチェック
してその良否を検出し、全てのチェックが正常の時のみ
受信データを取り込む。一方、データ送信部はフレーム
同期の作成、フレームチェックシーケンス部の作成、端
末装置(図示せず)から送られたデータの挿入制御信号
部への制御データの挿入等を行り送信データを送出子る
。端末装置インタフェース部4は端末装置とデータ制御
部3のインタフェース部である。
The data control unit 3 includes a data reception unit and a data transmission unit (both not shown), and the data reception unit determines the presence or absence of frame synchronization and detects the seven levels in the wrinkled data frame to establish frame synchronization. One check sequence part is checked to detect whether it is good or bad, and the received data is taken in only when all checks are normal. On the other hand, the data transmitter creates frame synchronization, creates a frame check sequence part, inserts control data into the insertion control signal part of data sent from a terminal device (not shown), etc., and sends the transmission data to the sender. Ru. The terminal device interface section 4 is an interface section between the terminal device and the data control section 3.

データ制御部3におhて受信データが正常に取シ込まれ
た場合に、ADビット挿入部7において。
In the AD bit insertion unit 7 when the data control unit 3 receives the received data normally.

ADビットの内容を自局のノードアドレス+1の値に置
換する。
Replace the contents of the AD bit with the value of the own node address + 1.

親局Aにおhては、U/Dビット置換部8を経由した送
信データ中のTJ/Dビットの内容をU/Dビット警報
検出部9においてチェックし、 U/Dビットの値が0
のとき、正常通信であるとみなし。
At master station A, the contents of the TJ/D bit in the transmission data via the U/D bit replacement section 8 are checked by the U/D bit alarm detection section 9, and the value of the U/D bit is 0.
When , it is considered normal communication.

U/Dビットが1であるときは、N個の子局のうち1個
以上の子局が異常通信であることを検出し警報を発生す
る。次に親局AではU/Dビットイニシャライズ部10
においてU/Dビットの内容を0にしてデータを光伝送
制御部lへ送信する。
When the U/D bit is 1, it is detected that one or more of the N slave stations is in abnormal communication, and an alarm is generated. Next, in the master station A, the U/D bit initializer 10
Then, the content of the U/D bit is set to 0 and the data is transmitted to the optical transmission control unit l.

〔発明の効果〕〔Effect of the invention〕

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

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

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

Claims (1)

【特許請求の範囲】[Claims] 1、一つの親局とN(Nは正整数)個の子局とが伝送路
によってループ状に接続され、異常通信ノードを検出す
るための識別ビット及びアドレスビットを有するデータ
を送受するデータ通信システムにおいて、前記子局には
ノードアドレスとして順次1からNが設定され、前記親
局にはノードアドレスとしてN+1が設定されており、
前記各子局には前記アドレスビットの内容を前記子局ご
とのノードアドレス+1に置換する第1の置換手段が備
えられ、前記各子局及び前記親局には前記データのアド
レスビットの内容と前記ノードアドレスとを照合する照
合手段と、該照合の結果、前記アドレスビットが前記ノ
ードアドレスより小さいと前記アドレスビットの内容と
前記ノードアドレスから−1した値とで定まる正数値を
記録する記憶手段と、前記不一致の際前記識別ビットを
1に置換する第2の置換手段とが備えられ、さらに、前
記親局には前記アドレスビットの内容を1に置換する第
3の置換手段と、前記識別ビットの内容が所定の値であ
るかどうかをチェックして警報検出を行う検出手段と、
前記記憶手段に格納された正数値を一斉ポーリングによ
って収集することで異常のノードアドレスを収集する収
集手段とが備えられ、前記親局は前記識別ビットに0を
設定して前記データを送出するようにしたことを特徴と
するループ状伝送路における警報検出方式。
1. Data communication in which one master station and N (N is a positive integer) slave stations are connected in a loop through a transmission path and send and receive data having identification bits and address bits for detecting abnormal communication nodes. In the system, the slave station is sequentially set with node addresses from 1 to N, and the master station is set with a node address of N+1,
Each of the slave stations is provided with first replacement means for replacing the contents of the address bits with the node address of each slave station +1, and each of the slave stations and the master station is provided with collation means for collating the node address; and storage means for recording a positive value determined by the contents of the address bits and a value subtracted by one from the node address if the address bit is smaller than the node address as a result of the collation. and a second replacement means for replacing the identification bit with 1 in the case of the mismatch, and the master station further includes a third replacement means for replacing the content of the address bit with 1, and a third replacement means for replacing the content of the address bit with 1, and detection means for detecting an alarm by checking whether the contents of the bit are a predetermined value;
collecting means for collecting an abnormal node address by collecting the positive values stored in the storage means by simultaneous polling, and the master station sets the identification bit to 0 and transmits the data. An alarm detection method in a loop-shaped transmission line, characterized by the following.
JP1120322A 1989-05-16 1989-05-16 Alarm detection system in loop transmission line Pending JPH02301345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1120322A JPH02301345A (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
JP1120322A JPH02301345A (en) 1989-05-16 1989-05-16 Alarm detection system in loop transmission line

Publications (1)

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

Family

ID=14783385

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH02301345A (en)

Similar Documents

Publication Publication Date Title
CA2095054C (en) Error recovery in an information communication system
EP0094179B1 (en) Computer interconnection part
JPH08213965A (en) Radio channel relieving method and radio equipment in sdh network
US6463037B1 (en) Looping detection apparatus
JPS60191536A (en) Data processing unit fault informing system
JPH09130408A (en) Network interface device
JPH02301345A (en) Alarm detection system in loop transmission line
JP2996501B2 (en) Equipment control method and device
JP3784199B2 (en) Transmission path redundancy method and system using the method
EP1488576B1 (en) Self-routing, star-coupler-based communication network
JPH05225161A (en) Network monitoring system
JPH02301344A (en) Alarm detection system in loop transmission line
KR960011136B1 (en) Network dualization and its method
JPS63304744A (en) Fault diagnostic system
JP2947311B2 (en) Slave monitoring system in ring communication system
JPH0251923A (en) Error detection system
JPH05219084A (en) Monitoring method for ring network
JPH04150238A (en) Data transmitter
JPH0435251A (en) Fault monitor system for ring network
JP2000165424A (en) Loop type data transmitting device
JPH066942A (en) Method and apparatus for inputting power system information
JPH06205470A (en) Data communication system
JPH09247185A (en) Communication system
JPH07123106A (en) Detection of abnormal point in communication system
JPH06177892A (en) Local area network