JPH08307324A - Method for detecting failure position in communication system and method for reestablishing transmission line - Google Patents

Method for detecting failure position in communication system and method for reestablishing transmission line

Info

Publication number
JPH08307324A
JPH08307324A JP11456795A JP11456795A JPH08307324A JP H08307324 A JPH08307324 A JP H08307324A JP 11456795 A JP11456795 A JP 11456795A JP 11456795 A JP11456795 A JP 11456795A JP H08307324 A JPH08307324 A JP H08307324A
Authority
JP
Japan
Prior art keywords
slave station
station
wired
transmission line
transmission
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
JP11456795A
Other languages
Japanese (ja)
Inventor
Akitomo Oogoshi
章智 大越
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.)
Japan Radio Co Ltd
Original Assignee
Japan Radio Co 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 Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP11456795A priority Critical patent/JPH08307324A/en
Publication of JPH08307324A publication Critical patent/JPH08307324A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Monitoring And Testing Of Transmission In General (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: To attain a counter plan for a fault without preparing a stand-by transmission line. CONSTITUTION: Signal transmission is executed among a master station 1 and slave stations 2-1 to 2-n by using a single direction wired circulation transmission line tar executing time-division transmission. When a fault such as disconnection is generated on a certain portion in the transmission line and asynchronization is detected by a CPU 1d in the master station 1, a return command for switching a selector 2e to a B side is applied from the CPU 1d to any one off the slave stations through the transmission line. When the portion related to the fault generation is on the upstream side of the slave station, asynchronization is continuously generated. In this case, the CPU 1d applies a return command to the upstream side slave stations. When the operation 15 successively repeated, synchronization can be established on any position and then normal communication can be recovered among partial slave stations and the master station 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、有線巡回伝送路を使用
した通信システムにおける故障箇所検出方法及び伝送路
再確立方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure location detecting method and a transmission path reestablishing method in a communication system using a wired cyclic transmission path.

【0002】[0002]

【従来の技術】工場等の小規模なエリアにおいては、図
5に示されるように片方向通信制御による時分割多重通
信システムが使用されている。このシステムにおいて
は、親局1の送信回路1aから送信された信号が、まず
子局2−1,2−2,2−3,…2−nの順で子局間を
巡る。最後の子局2−nに至った信号は、それまでとは
逆の順序、すなわち子局2−n、…2−3,2−2,2
−1の順で各子局を巡り、親局1の受信回路1bに戻
る。この伝送の経過で、各子局2−1,2−2,2−
3,…2−nの受信回路2aは、親局1から送信された
信号のうち自局宛ての信号を取り出し、また、送信回路
2bは親局1に宛てた信号をORゲート2cを介し伝送
路に送出する。
2. Description of the Related Art In a small area such as a factory, a time division multiplex communication system by one-way communication control is used as shown in FIG. In this system, the signal transmitted from the transmission circuit 1a of the master station 1 first circulates among the slave stations in the order of the slave stations 2-1, 2-2, 2-3, ... 2-n. The signals reaching the last slave station 2-n are in the reverse order, that is, the slave stations 2-n, ... 2-3, 2-2, 2
It goes around each slave station in the order of -1, and returns to the receiving circuit 1b of the master station 1. In the course of this transmission, each slave station 2-1, 2-2, 2-
The receiving circuits 2a of 3, ... 2-n take out the signal addressed to the own station from the signals transmitted from the master station 1, and the transmission circuit 2b transmits the signal addressed to the master station 1 through the OR gate 2c. Send to the road.

【0003】このような構成を有するシステムにおいて
子局2−1,2−2,2−3,…2−nのいずれかやこ
れらを接続する有線巡回伝送路に障害が発生した場合、
伝送路上、障害発生部から先には信号が伝送されなくな
る。従って、このようなシステムを利用する場合には、
通信障害への対策として、親局1と子局2−1,2−
2,2−3,…2−nを接続する伝送路を複数本並列に
設けておく。通常は複数本の伝送路のうち1本を使用
し、現用伝送路に障害が発生した場合に予備伝送路(の
うち1本)を使用する、といった方法を採ることとすれ
ば、伝送路における障害発生に対して好適に対処するこ
とができる。
In the system having such a configuration, when a failure occurs in any of the slave stations 2-1, 2-2, 2-3, ... 2-n and a wired cyclic transmission line connecting them,
On the transmission path, the signal is no longer transmitted from the fault occurrence part. Therefore, when using such a system,
As a measure against communication failure, the master station 1 and the slave stations 2-1 and 2-
A plurality of transmission lines connecting 2, 2-3, ... 2-n are provided in parallel. Normally, one of a plurality of transmission lines is used, and when a failure occurs in the working transmission line, the backup transmission line (one of them) is used. It is possible to appropriately deal with the occurrence of a failure.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな方法によって障害に対策しようとすると、現用伝送
路のほか予備伝送路が必要になるためケーブル本数の増
加と設備面でのコスト増大が生じてしまう。また、現用
伝送路のみならず予備伝送路も障害の影響を受けている
場合や、例えばいずれかの子局自体に異常が発生してい
る場合には、上述の方法によっても、通信不能状態を免
れない。
However, if a failure is to be dealt with by such a method, an additional transmission line is required in addition to the current transmission line, which results in an increase in the number of cables and an increase in equipment costs. I will end up. In addition, if not only the working transmission path but also the protection transmission path is affected by the failure, or if any of the slave stations is abnormal, for example, the communication failure state cannot be avoided even by the above method. .

【0005】本発明は、このような問題点を解決するこ
とを課題としてなされたものであり、有線巡回伝送路を
使用して親局と複数の子局の間で通信を実行する通信シ
ステムに関し、伝送路構成を切り換える手段を設けるこ
とにより、少なくとも一部の子局に関しては通信を引き
続き実行できるようにすると共に、異常が発生した箇所
を特定可能にすることを目的とする。
The present invention has been made to solve the above problems, and relates to a communication system for executing communication between a master station and a plurality of slave stations using a wired cyclic transmission line. By providing a means for switching the transmission path configuration, it is possible to continue the communication for at least some of the slave stations and to identify the location where the abnormality has occurred.

【0006】[0006]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、親局から送信された信号が第1の
子局、第2の子局、…第nの子局(n:自然数、n≧
2)の順で巡りその後第nの子局、第n−1の子局、…
第1の子局の順で巡って親局に戻るよう、有線巡回伝送
路が配設された通信システムにおいて、送信後所定時間
が経過したにもかかわらず送信した信号が有線巡回伝送
路を介して巡り戻ってこない障害状態を検出した場合
に、親局が、第iの子局(i:自然数、1≦i≦n−
1)に対し有線巡回伝送路を介して折返し伝送を指令す
る第1のステップと、親局から有線巡回伝送路を介して
折返し伝送の指令を受信した第iの子局が、有線巡回伝
送路から第i+1の子局以遠が切り離されるよう、有線
巡回伝送路と第iの子局及び第i+1及び第i+1の子
局の接続関係を変更する第2のステップと、を有するこ
とを特徴とする。
In order to achieve such an object, according to the present invention, a signal transmitted from a master station is a first slave station, a second slave station, ... An nth slave station ( n: natural number, n ≧
2) and then the nth slave station, the n-1th slave station, ...
In a communication system in which a wired cyclic transmission path is provided so as to return to the master station in the order of the first slave station, the signal transmitted is transmitted through the wired cyclic transmission path despite the elapse of a predetermined time after transmission. When a failure condition in which the master station does not loop back is detected, the master station determines that the master station is the i-th slave station (i: natural number, 1 ≦ i ≦ n−
1) the first step for instructing loopback transmission via the wired cyclic transmission path, and the i-th slave station receiving the loopback transmission command from the master station via the wired cyclic transmission path From the i + 1th slave station, the second step of changing the connection relationship between the wired cyclic transmission line, the ith slave station, and the i + 1th and i + 1th slave stations. .

【0007】また、本発明は、第iの子局に対し有線巡
回伝送路を介して折返し伝送を指令したにもかかわらず
障害状態が引き続く場合に、iの値を徐々に小さな値に
変更しながらかつ障害状態が解消されるまで、上述の第
1及び第2のステップを繰り返す第3のステップを有す
ることを特徴とする。
Further, the present invention gradually changes the value of i to a smaller value when the fault condition continues even though the i-th slave station is instructed to perform the return transmission via the wired cyclic transmission path. While having the third step of repeating the first and second steps described above until the fault condition is resolved.

【0008】[0008]

【作用】本発明においては、障害状態が検出された場合
に、親局によって第iの子局に対し折返し伝送指令が有
線巡回伝送路を介し送信される。上述の障害が第iの子
局よりも下流側(第i+1、第i+2、…第nの子局
や、これらの子局周辺の伝送路)に起因している場合に
は、この指令は第iの子局によって受信され得る。折返
し伝送指令を受信した第iの子局は、それまで第1+1
の子局側へも接続されていた有線巡回伝送路を、第i−
1の子局から第iの子局をへて第iの子局に至るよう切
り換える。すなわち、第i+1の子局以遠の子局に関し
ては、親局側有線巡回伝送路への接続から切り離す。こ
れによって、正常な通信状態、すなわち親局から送信さ
れた信号が有線巡回伝送路を介し親局に巡り戻ってくる
状態が再度形成される。
In the present invention, when a failure condition is detected, the master station sends a loopback transmission command to the i-th slave station via the wired cyclic transmission path. When the above-mentioned failure is caused on the downstream side of the i-th slave station (i + 1th, i + 2, ... Nth slave station or the transmission path around these slave stations), this command is issued. i child station. The i-th slave station that has received the loopback transmission command is the first + 1 + 1 until then.
The wired cyclic transmission line that was also connected to the slave station side of
Switching from the first slave station to the i-th slave station through the i-th slave station. That is, the slave stations farther than the (i + 1) th slave station are disconnected from the connection to the master station-side wired cyclic transmission path. As a result, a normal communication state, that is, a state in which the signal transmitted from the master station loops back to the master station via the wired cyclic transmission path is formed again.

【0009】逆に、上述の障害状態が第iの子局又はこ
れよりも上流に起因している場合には、第iの子局は、
親局から送信された折返し伝送指令を受信することがで
きない。従って、この場合には有線巡回伝送路の接続変
更は行われないから、あいかわらず正常な通信状態が形
成されない。
On the contrary, when the above-mentioned fault condition is caused by the i-th slave station or the upstream thereof, the i-th slave station:
I cannot receive the return transmission command sent from the master station. Therefore, in this case, since the connection of the wired cyclic transmission line is not changed, the normal communication state is not always formed.

【0010】このように、本発明においては、障害状態
検出時に親局が第iの子局に対し有線巡回伝送路を介し
て折返し伝送指令を送信しているようにしているため、
これに応じて正常な通信状態が再度形成されるか否かに
よって、障害が第iの子局の上流か下流かを親局が検出
することができ、また障害が第iの子局により下流にあ
る場合には部分的ながら通信を再開できる。
As described above, according to the present invention, since the master station transmits the loopback transmission command to the i-th slave station via the wired cyclic transmission path when the failure state is detected,
Depending on whether or not the normal communication state is formed again, the master station can detect whether the failure is upstream or downstream of the i-th slave station, and the failure is downstream by the i-th slave station. If there is, communication can be restarted partially.

【0011】また、本発明においては、親局から第iの
子局に対し有線巡回伝送路を介して折返し伝送指令が送
信されたにもかかわらず障害状態が引き続く場合に、i
の値が1ずつ小さな値に変更されながら、上述の動作が
繰り返される。このようにiの値を徐々に小さな値に変
更することにより、折返し伝送指令の宛先たる子局はよ
り上流の子局、すなわち有線巡回伝送路上で親局により
近い子局に変化していく。従って、折返し伝送指令の宛
先たる子局が、障害状態の原因となっている部分よりも
上流側に至った時点で、上述の障害状態は解消され正常
な通信が可能な状態に至る。従って、本発明において
は、システムにおいて発生した障害状態を一応解消し、
少なくとも障害状態の原因となっていた部分よりも上流
側の子局と親局との間では正常な通信が可能な状態を再
確立することができる。その際、現用伝送路のほかに予
備伝送路を設ける必要がなく、設備コストの増加も生じ
ない。
Further, according to the present invention, if the failure state continues even though the loopback transmission command is transmitted from the master station to the i-th slave station via the wired cyclic transmission path, i
The above-described operation is repeated while the value of is changed to a smaller value by one. By gradually changing the value of i in this way, the destination slave station of the loopback transmission command changes to a further upstream slave station, that is, a slave station closer to the master station on the wired cyclic transmission path. Therefore, when the slave station, which is the destination of the loopback transmission command, reaches the upstream side of the part that is the cause of the fault condition, the fault condition described above is resolved and normal communication is possible. Therefore, in the present invention, the fault condition that has occurred in the system is temporarily eliminated,
It is possible to reestablish a state in which normal communication is possible at least between the slave station and the master station on the upstream side of the portion that has caused the failure state. At that time, it is not necessary to provide a spare transmission line in addition to the working transmission line, and the facility cost does not increase.

【0012】[0012]

【実施例】以下、本発明の好適な実施例について図面に
基づき説明する。なお、図5に示される従来例と同様の
又は対応する構成には同一の符号を付し、説明を省略す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. The same or corresponding components as those of the conventional example shown in FIG. 5 are designated by the same reference numerals, and the description thereof will be omitted.

【0013】図1には、本発明の一実施例に係る通信シ
ステムの構成が示されている。この実施例においては、
親局1にCPU1d及びカウンタ1eが設けられてお
り、また各子局2−1,2−2,2−3,…2−nにC
PU2d及びセレクタ2eが設けられている。CPU1
dは、各8ビットの信号を時分割にて送信回路1aに供
給し、伝送路上に送出させる。また、CPU1dは、受
信回路1bによって受信される各8ビットの信号を入力
する。カウンタ1eは、後述する同期確立検出のために
使用される。
FIG. 1 shows the configuration of a communication system according to an embodiment of the present invention. In this example,
The master station 1 is provided with a CPU 1d and a counter 1e, and each slave station 2-1, 2-2, 2-3, ... 2-n has a C.
The PU 2d and the selector 2e are provided. CPU1
In the d, each 8-bit signal is time-divisionally supplied to the transmission circuit 1a and sent out on the transmission path. Further, the CPU 1d inputs each 8-bit signal received by the receiving circuit 1b. The counter 1e is used for detecting synchronization establishment which will be described later.

【0014】また、各子局2−1,2−2,2−3,…
2−nのCPU2dは、伝送路を介し受信回路2aによ
り受信した各8ビットの信号を入力し、また送信すべき
各8ビットの信号を送信回路2b及びORゲートに2c
を介し伝送路上に送出する。CPU2dは、受信回路2
aを介した信号のうち特に制御チャネルの内容に応じて
対応するセレクタ2eを制御する。セレクタ2eは、通
常時はA入力をY出力に供給するよう制御され、後述す
る折返し指令受信時にはB入力をY出力とするよう制御
される。各セレクタ2eのA入力は、原則として図中右
隣にある局からの信号入力であり、B入力は図中左隣の
局からの信号入力である。図中右端にある子局2−nに
関しては、左隣の局からの信号がA入力にもB入力にも
供給されているからセレクタ2eでA入力を選んでもB
入力を選んでもかまわないが、この実施例においては、
常にB入力側に設定している。
Further, each slave station 2-1, 2-2, 2-3, ...
The 2-n CPU 2d inputs each 8-bit signal received by the receiving circuit 2a via the transmission path, and outputs each 8-bit signal to be transmitted to the transmitting circuit 2b and the OR gate 2c.
Via the transmission line. The CPU 2d is the receiving circuit 2
The corresponding selector 2e is controlled according to the content of the control channel among the signals transmitted via a. The selector 2e is normally controlled to supply the A input to the Y output, and is controlled to output the B input to the Y output when receiving a loopback command described later. In principle, the A input of each selector 2e is a signal input from the station on the right side in the figure, and the B input is a signal input from the station on the left side in the figure. Regarding the slave station 2-n at the right end in the figure, since the signal from the station on the left is supplied to both the A input and the B input, even if the A input is selected by the selector 2e,
You can choose the input, but in this example,
Always set to the B input side.

【0015】図2及び図3には、この実施例における親
局1及び各子局2−1,2−2,2−3,…2−nの動
作のうち、障害の検出及び伝送路の再確立に関する動作
の流れが示されている。
FIG. 2 and FIG. 3 show the fault detection and the transmission line in the operation of the master station 1 and the slave stations 2-1, 2-2, 2-3, ... 2-n in this embodiment. A flow of operations relating to re-establishment is shown.

【0016】まず、図3に示されるように、各子局2−
1,2−2,2−3,…2−nにおいては、セレクタ2
eが初期的にA入力側に制御される(200)。これに
より、図1に示される通信システムにおける伝送路の接
続状態は、図5に示される従来例のそれと同様の接続状
態となる。
First, as shown in FIG. 3, each slave station 2-
1, 2-2, 2-3, ... 2-n, selector 2
e is initially controlled to the A input side (200). As a result, the connection state of the transmission line in the communication system shown in FIG. 1 becomes the same as that of the conventional example shown in FIG.

【0017】この状態で、親局1のCPU1dは、各8
ビットの信号を時分割的に送信回路1aに供給し、伝送
路上に送出させる(100)。伝送路上に送出される信
号は、例えば図4に示されるようなフレームフォーマッ
トを有している。このフレームフォーマットにおいて
は、合計125μsのフレームの先頭8ビットが同期チ
ャネル、続く8ビットが制御チャネルとして使用されて
おり、フレームの残りの部分が各子局2−1,2−2,
2−3,…2−nと親局1との通話に係る通話チャネル
各8ビットとして使用されている。
In this state, the CPU 1d of the master station 1 has 8
The bit signal is time-divisionally supplied to the transmission circuit 1a and sent out on the transmission path (100). The signal transmitted on the transmission line has a frame format as shown in FIG. 4, for example. In this frame format, the first 8 bits of a frame of 125 μs in total are used as a synchronization channel and the subsequent 8 bits are used as a control channel, and the remaining part of the frame is used for each slave station 2-1, 2-2 ,.
Used as 8 bits for each of the call channels related to the call between 2-3, ... 2-n and the master station 1.

【0018】各子局2−1,2−2,2−3,…2−n
のCPU2dは、親局1によって伝送路上に送出された
信号のうち同期チャネルにより親局1との同期を確保し
ながら、制御チャネル及び自局宛の通話チャネルを受信
回路2aによって抜き出す(202)。抜き出された制
御チャネルの内容が折返し伝送指令でないかぎり(20
6)、CPU2dは、セレクタ2eをA入力側に維持し
ながら、必要に応じ通常の送信動作を実行する(20
4)。すなわち、対応する送信回路2bに対し各8ビッ
トの制御チャネル及び通話チャネルに係る信号を供給
し、伝送路上のフレームに制御チャネル及び通話チャネ
ルを挿入させる。
Each slave station 2-1, 2-2, 2-3, ... 2-n
The CPU 2d extracts the control channel and the communication channel addressed to itself from the receiving circuit 2a while securing the synchronization with the master station 1 by the synchronization channel among the signals transmitted on the transmission path by the master station 1 (202). Unless the extracted control channel content is a loopback transmission command (20
6), the CPU 2d executes a normal transmission operation as needed while maintaining the selector 2e on the A input side (20).
4). That is, signals of the control channel and the speech channel of 8 bits are supplied to the corresponding transmission circuit 2b, and the control channel and the speech channel are inserted into the frame on the transmission path.

【0019】親局1は、送信回路1aからフレームを送
信した後所定時間以内に、送信したフレームの同期チャ
ネルと同内容の同期チャネルを有するフレームを受信回
路1bにより受信した場合には、通信が正常に行われて
いる、すなわち同期が維持されていると見なす。逆に、
送信したフレームの同期チャネルと同内容の同期チャネ
ルを有するフレームを送信から所定時間以内に受信する
ことができなかった場合、CPU1dは、同期はずれが
発生したと見なす(102)。すなわち、図1に示され
るシステムのいずれかの部位において障害が発生し当該
部位から下流の子局に関しては親局1からの信号を受信
することができない状態に至ったと見なす。
If the receiving circuit 1b receives a frame having a synchronization channel having the same content as the synchronization channel of the transmitted frame within a predetermined time after transmitting the frame from the transmission circuit 1a, the master station 1 can communicate. It is assumed that the operation is performed normally, that is, the synchronization is maintained. vice versa,
When the frame having the synchronization channel having the same content as the synchronization channel of the transmitted frame cannot be received within the predetermined time from the transmission, the CPU 1d considers that the synchronization is lost (102). That is, it is considered that a failure has occurred in any part of the system shown in FIG. 1 and a slave station downstream from the part cannot receive the signal from the master station 1.

【0020】このようにして同期はずれが検出される
と、親局1のCPU1dは、宛先iにn−1を設定した
上で(104)、内部カウンタ1eによるカウントを開
始させる(106)。親局1のCPU1dは、送信すべ
きフレームの制御チャネルに第i番目の子局2−iに対
する折返し指令を設定し、このフレームを送信回路1a
によって伝送路上に送出させる。この時点では、宛先i
にn−1が設定されているから、当該折返し指令を受信
する資格のあるのは第n−1番目の子局2−(n−1)
のみである。
When the loss of synchronization is detected in this way, the CPU 1d of the master station 1 sets the destination i to n-1 (104), and then starts counting by the internal counter 1e (106). The CPU 1d of the master station 1 sets a loopback command for the i-th slave station 2-i in the control channel of the frame to be transmitted, and transmits this frame to the transmission circuit 1a.
To send it out on the transmission path. At this point, the destination i
Since n-1 is set to, the n-1th slave station 2- (n-1) is qualified to receive the loopback command.
Only.

【0021】仮に、障害が子局2−(n−1)よりも下
流にあったとすると、この子局2−(n−1)は、伝送
路を介しその受信回路2aにより折返し指令を受信でき
る。その場合(206)、そのCPU2dは、対応する
セレクタ2eをB入力側に切り換える(208)。これ
によって、障害の原因となっている部分、すなわち第n
番目の子局2−nやその周辺の伝送路は、親局1から子
局2−(n−1)に至る伝送路から切り離された状態に
なる。すなわち、伝送路が第n−1番目の子局に−(n
−1)にて折返されるため、第n番目の子局2−nの異
常やこの子局に係るケーブルの断線等による同期はずれ
が一応解除される。逆に、障害が子局2−(n−1)又
はその上流にあったとすると、この子局2−(n−1)
は折返し指令を受信できないから、相変わらず同期はず
れのままとなる。
If the fault is located downstream of the slave station 2- (n-1), the slave station 2- (n-1) can receive a loopback command by its receiving circuit 2a via a transmission path. . In that case (206), the CPU 2d switches the corresponding selector 2e to the B input side (208). As a result, the part causing the failure, that is, the nth
The second slave station 2-n and the transmission path around it are in a state of being separated from the transmission path from the master station 1 to the slave station 2- (n-1). That is, the transmission path is connected to the (n-1) th slave station by-(n
Since it is returned at -1), the loss of synchronization due to an abnormality of the n-th slave station 2-n or a cable breakage related to this slave station is canceled. On the contrary, if there is a fault at the slave station 2- (n-1) or its upstream, this slave station 2- (n-1)
Cannot receive a loopback command, it remains out of sync as usual.

【0022】親局1のCPU1dは、内部カウンタ1e
によるカウントを開始させた後、制御チャネルに折返し
指令が設定されたフレームの送信を(108)、内部カ
ウンタ1eによる所定時間のカウントが終了するか(1
10)又は同期確立が検出されるまで(112)、繰り
返す。この実施例の場合、CPU1dは、例えば、送信
したフレームの同期チャネルと同内容の同期チャネルを
有するフレームを受信回路1bによって検出し(10
8)、かつ少なくとも11回の連続した送信についてこ
の検出に成功した場合に(112)、同期が確立された
と判定する。同期が確立された場合には、第1番目の子
局2−1から第i番目の子局2−iまでの子局と親局1
との間で、通常の通信を実行する。
The CPU 1d of the master station 1 has an internal counter 1e.
After starting the counting by (1), the transmission of the frame in which the loopback command is set in the control channel is transmitted (108), and the counting of the predetermined time by the internal counter 1e is completed (
10) or repeat until a synchronization establishment is detected (112). In the case of this embodiment, the CPU 1d detects, for example, a frame having a synchronization channel having the same content as the synchronization channel of the transmitted frame by the receiving circuit 1b (10
8) and if this detection is successful for at least 11 consecutive transmissions (112), it is determined that synchronization has been established. When the synchronization is established, the slave stations from the first slave station 2-1 to the i-th slave station 2-i and the master station 1
Normal communication is executed between and.

【0023】内部カウンタ1eによるカウントが終了し
た時点でもなお同期が確立していなかった場合、CPU
1dは宛先iから1を減じた上で(114)、ステップ
106以降の動作を繰り返す。これによって、折返し指
令の宛先たる子局は、順次、図1中左側の子局へと変化
していく。iが0になった時点でもなお同期が確立され
ていない場合(116)、通信状態を回復することがで
きないと見なしシステムの動作を終了する(118)。
If synchronization is not yet established at the time when the counting by the internal counter 1e is completed, the CPU
1d subtracts 1 from the destination i (114), and repeats the operations from step 106 onward. As a result, the slave station which is the destination of the loopback command sequentially changes to the slave station on the left side in FIG. If the synchronization is still not established even when i becomes 0 (116), it is considered that the communication state cannot be restored, and the operation of the system is ended (118).

【0024】このように、本実施例によれば、予備伝送
路を設けることなく障害対策を実現することができるか
ら、障害対策のための設備負担は従来よりも軽減され
る。また、システムのいずれかの部位において障害が発
生した場合であっても、この部位から見て上流、すなわ
ち図1中左側にある子局と親局1との間では伝送路を再
確立し通常の通信を再開することができる。
As described above, according to the present embodiment, since the failure countermeasure can be realized without providing the backup transmission line, the equipment load for the failure countermeasure can be reduced as compared with the conventional case. Further, even if a failure occurs in any part of the system, the transmission path is normally reestablished upstream from this part, that is, between the slave station and the master station 1 on the left side in FIG. Communication can be resumed.

【0025】なお、同期確立検出に係る内部カウンタ1
eのカウント値は、同期確立に要する時間よりも十分長
い時間に設定すればよい。例えば、図4において伝送路
における通信速度を2.048Mbps、同期チャネル
長を8ビット=3.9μs、“同期が確立された”と判
定される同期検出回数を11回とした場合には、同期確
立の検出に要する最小の時間は1フレーム長×(同期検
出回数−1)+同期チャネル長+伝送遅延=1253.
9μs+伝送遅延となるから、同期チャネルを数回検出
できなかった場合や伝送遅延=装置内遅延×装置台数+
ケーブル本数を考慮したとしても、内部カウンタ1eの
カウンタ値は3ms程度あれば十分である。
The internal counter 1 for detecting synchronization establishment
The count value of e may be set to a time sufficiently longer than the time required to establish synchronization. For example, in FIG. 4, when the communication speed in the transmission path is 2.048 Mbps, the synchronization channel length is 8 bits = 3.9 μs, and the number of times of synchronization detection for determining that “synchronization is established” is 11, The minimum time required to detect establishment is 1 frame length × (number of synchronization detections−1) + synchronization channel length + transmission delay = 1253.
9 μs + transmission delay, so if the synchronization channel could not be detected several times or transmission delay = delay in device × number of devices +
Even if the number of cables is taken into consideration, it is sufficient that the counter value of the internal counter 1e is about 3 ms.

【0026】以上の説明では、具体的な数値を示した
が、本発明はこれらの数値に限定を要するものではな
い。
Although specific numerical values have been shown in the above description, the present invention is not limited to these numerical values.

【0027】[0027]

【発明の効果】以上説明したように、本発明によれば、
障害状態を検出した場合に親局が第iの子局に対し有線
巡回伝送路を介して折返し伝送を指令し、親局から有線
巡回伝送路を介して折返し伝送の指令を受信した第iの
子局がこれに応じて有線巡回伝送路の切り換えを行うよ
うにしたため、有線巡回伝送路の切り換えの後親局から
送信された信号が有線巡回伝送路を巡って子局に戻って
くるか否かによって、有線巡回伝送路を用いた通信シス
テムにおける故障箇所、すなわち障害状態の原因となっ
た箇所を検出することができ、かつ部分的ながら通信を
再開できる。
As described above, according to the present invention,
When the failure state is detected, the master station commands the i-th slave station to perform loopback transmission via the wired cyclic transmission path, and receives the loopback transmission command from the master station via the wired cyclic transmission path to the i-th slave station. Since the slave station switches the wired cyclic transmission path accordingly, whether the signal transmitted from the master station returns to the slave station through the wired cyclic transmission path after switching the wired cyclic transmission path. With this, it is possible to detect a failure point in the communication system using the wired cyclic transmission path, that is, a point that causes the failure state, and restart communication partially.

【0028】また、本発明によれば、第iの子局に対し
有線巡回伝送路を介して折返し伝送を指令したにもかか
わらず障害状態が引き続く場合にiを徐々に小さな値に
変更しながらかつ障害状態が解消されるまで、上述の動
作を繰り返すようにしたため、予備伝送路を設けること
なく、従って設備コストを増大させることなく、障害に
対処することができる。また、その際、一部分ではある
が可能な限り多数の子局と親局の間では正常な通信状態
を引き続き維持することができる。
Further, according to the present invention, i is gradually changed to a small value when the fault condition continues even though the i-th slave station is instructed to perform the return transmission via the wired cyclic transmission line. Moreover, since the above-described operation is repeated until the failure state is resolved, it is possible to deal with the failure without providing a backup transmission path and thus without increasing the facility cost. Further, at this time, a normal communication state can be continuously maintained between a large number of slave stations and a master station, although it is a part.

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

【図1】 本発明の一実施例に係る通信システムの構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a communication system according to an embodiment of the present invention.

【図2】 この実施例における親局の動作の流れを示す
フローチャートである。
FIG. 2 is a flowchart showing a flow of operation of a master station in this embodiment.

【図3】 この実施例における各子局の動作の流れを示
すフローチャートである。
FIG. 3 is a flowchart showing a flow of operation of each slave station in this embodiment.

【図4】 この実施例におけるフレームフォーマットの
一例を示す図である。
FIG. 4 is a diagram showing an example of a frame format in this embodiment.

【図5】 一従来例に係る通信システムの構成を示すブ
ロック図である。
FIG. 5 is a block diagram showing a configuration of a communication system according to a conventional example.

【符号の説明】[Explanation of symbols]

1 親局、1a 送信回路、1b 受信回路、1d C
PU、1e カウンタ、2−1,2−2,2−3,…2
−n 子局、2a 受信回路、2b 送信回路、2c
ORゲート、2d CPU、2e セレクタ。
1 master station, 1a transmitting circuit, 1b receiving circuit, 1d C
PU, 1e counter, 2-1, 2-2, 2-3, ... 2
-N slave station, 2a receiving circuit, 2b transmitting circuit, 2c
OR gate, 2d CPU, 2e selector.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 親局から送信された信号が第1の子局、
第2の子局、…第nの子局(n:自然数、n≧2)の順
で巡りその後第nの子局、第n−1の子局、…第1の子
局の順で巡って親局に戻るよう、有線巡回伝送路が配設
された通信システムにおいて、 送信後所定時間が経過したにもかかわらず送信した信号
が有線巡回伝送路を介して巡り戻ってこない障害状態を
検出した場合に、親局が、第iの子局(i:自然数、1
≦i≦n−1)に対し有線巡回伝送路を介して折返し伝
送を指令する第1のステップと、 親局から有線巡回伝送路を介して折返し伝送の指令を受
信した第iの子局が、有線巡回伝送路から第i+1の子
局以遠が切り離されるよう、有線巡回伝送路と、第iの
子局及び第i+1の子局の接続関係を変更する第2のス
テップと、 を有することを特徴とする故障箇所検出方法。
1. The signal transmitted from the master station is the first slave station,
2nd slave station ... Circular order of nth slave station (n: natural number, n ≧ 2), then nth slave station, n-1th slave station, ... 1st slave station In a communication system in which a wired cyclic transmission path is installed so that the transmitted signal returns to the master station, a failure condition is detected in which the transmitted signal does not return via the wired cyclic transmission path even if a predetermined time has elapsed after transmission. In this case, the parent station determines that the i-th child station (i: natural number, 1
≦ i ≦ n−1), the first step of instructing loopback transmission via the wired cyclic transmission line, and the i-th slave station receiving the loopback transmission command from the parent station via the wired cyclic transmission line And a second step of changing the connection relationship between the wired cyclic transmission line and the i-th slave station and the (i + 1) th slave station so that the i + 1th slave station and beyond can be separated from the wired cyclic transmission line. Characteristic failure location detection method.
【請求項2】 第iの子局に対し有線巡回伝送路を介し
て折返し伝送を指令したにもかかわらず障害状態が引き
続く場合に、iの値を徐々に小さな値に変更しながらか
つ障害状態が解消されるまで、請求項1記載の第1及び
第2のステップを繰り返す第3のステップを有すること
を特徴とする伝送路再確立方法。
2. When the failure state continues even though the loopback transmission is instructed to the i-th slave station through the wired cyclic transmission line, the failure state is changed while gradually changing the value of i to a small value. The method for reestablishing a transmission path, comprising a third step of repeating the first and second steps according to claim 1, until
JP11456795A 1995-05-12 1995-05-12 Method for detecting failure position in communication system and method for reestablishing transmission line Pending JPH08307324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11456795A JPH08307324A (en) 1995-05-12 1995-05-12 Method for detecting failure position in communication system and method for reestablishing transmission line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11456795A JPH08307324A (en) 1995-05-12 1995-05-12 Method for detecting failure position in communication system and method for reestablishing transmission line

Publications (1)

Publication Number Publication Date
JPH08307324A true JPH08307324A (en) 1996-11-22

Family

ID=14641058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11456795A Pending JPH08307324A (en) 1995-05-12 1995-05-12 Method for detecting failure position in communication system and method for reestablishing transmission line

Country Status (1)

Country Link
JP (1) JPH08307324A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154353A (en) * 2008-12-25 2010-07-08 Fujitsu Ltd Inlet node, communication node and loopback test method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154353A (en) * 2008-12-25 2010-07-08 Fujitsu Ltd Inlet node, communication node and loopback test method

Similar Documents

Publication Publication Date Title
US4939752A (en) Distributed timing recovery for a distributed communication system
US5740157A (en) Distributed control methodology and mechanism for implementing automatic protection switching
US5333130A (en) Self-healing drop and insert communication network
EP0217490B1 (en) Communications system with protection switching using channel identities and individual selectors
US5734687A (en) Hierarchical synchronization method and a telecommunications system employing message-based synchronization
EP0935357B1 (en) Terminal apparatus, device for detecting the mismatching of work/protection line bridging function in a synchronous communication network and the method
US4446551A (en) Data highway system with dual transmitting loop lines
JP2541463B2 (en) Interlocking device
JPH08307324A (en) Method for detecting failure position in communication system and method for reestablishing transmission line
JPH09261210A (en) Synchronization clock distribution system for synchronization transmission system
JP3507709B2 (en) Control method of ring network system
JP2001326620A (en) Standby path access method and system
JP2827735B2 (en) Clock switching method
JP2697395B2 (en) Transmission line switching device
JPH11103268A (en) No hit change over system
JP2867865B2 (en) Protection line switching control method
US5473597A (en) Test circuit of multiplex equipment
JPH0430218B2 (en)
JP3971828B2 (en) Line failure countermeasure device
JP2964653B2 (en) Transmission equipment
JP2624887B2 (en) Optical input fault detection device
KR100428660B1 (en) A method of alternating handler for exchanger
JP2000312169A (en) Communication system, method therefor and communication station unit
JPH01236840A (en) Line switching system
JP2001358655A (en) Adm optical transmitter having trouble-avoiding function and optical network