JPH0595345A - Changeover circuit - Google Patents

Changeover circuit

Info

Publication number
JPH0595345A
JPH0595345A JP27890991A JP27890991A JPH0595345A JP H0595345 A JPH0595345 A JP H0595345A JP 27890991 A JP27890991 A JP 27890991A JP 27890991 A JP27890991 A JP 27890991A JP H0595345 A JPH0595345 A JP H0595345A
Authority
JP
Japan
Prior art keywords
circuit
data
route
switching
signal
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
JP27890991A
Other languages
Japanese (ja)
Inventor
Shigeru Usuki
繁 臼杵
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 JP27890991A priority Critical patent/JPH0595345A/en
Publication of JPH0595345A publication Critical patent/JPH0595345A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

PURPOSE:To improve the reliability of a system by delaying changeover control in order to inform a frame with a defect flag set to a receiver side with a signal from a route changeover switch so as to inform the changeover of data to an opposite device. CONSTITUTION:A route changeover switch 6 takes precedence over the condition of propriety of the result of data check in the state of A route selection and B route selection set by the route changeover switch 6. Then a time width setting circuit 3 outputs a '1' pulse by 4 frames when the route changeover switch 6 selects the A route or the B route, and OR circuits 4a, 4b OR data check result (f) or (j) to set the state as if the data check result were defective and multiplexer circuits 1a, 1b superimpose it as a defective flag. The defect flag is a signal for state notice of the route changeover switch 6 to be connected to a changeover control circuit 8 so that the defect flag is surely delivered to the opposite device. A delay circuit 7 is provided to give a delay of nearly 4 frames to a switch state signal (q).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は2ルートから正常なルー
トを1つ選ぶ切替回路に係り、特にPCMキャリアリレ
ー情報伝送装置のルート切替えを実現するための切替回
路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching circuit for selecting one normal route from two routes, and more particularly to a switching circuit for realizing route switching of a PCM carrier relay information transmission device.

【0002】[0002]

【従来の技術】従来、この種の切替回路は各ルートのデ
ータ検定結果により、異常検出していないルートを選
び、またルート切替スイッチにより強制的にどちらか一
方のルートを選ぶ方式となっている。
2. Description of the Related Art Conventionally, a switching circuit of this type has a system in which a route in which no abnormality is detected is selected on the basis of a data verification result of each route, and one of the routes is forcibly selected by a route changeover switch. ..

【0003】従来の切替回路の一例を図2に示し説明す
る。この図2に示すように入力信号Aは必要なデータが
フレーム構成をとったタイムスロット上に並びサイクリ
ックに送られてくる。この入力信号Aは多重回路11a
に入力されると同時にデータ検定回路12aへも入力さ
れる。そして、データ検定回路12aではフレーム単位
にCRC(Cyclic Redundancy Ch
eck)検定を行い、その検定結果をフレーム単位に信
号fとして出力し、多重回路11aで不良フラグのビッ
ト位置にこの検定結果を重畳する。また、4フレーム連
続検定結果不良となると信号mが出力され切替制御の一
要素となる。
An example of a conventional switching circuit will be described with reference to FIG. As shown in FIG. 2, input signal A has necessary data arranged in time slots having a frame structure and cyclically sent. This input signal A is the multiplex circuit 11a.
Is input to the data verification circuit 12a at the same time. Then, in the data verification circuit 12a, CRC (Cyclic Redundancy Ch) is performed for each frame.
eck) test is performed, the test result is output as a signal f in frame units, and the test result is superimposed on the bit position of the defective flag in the multiplexing circuit 11a. Further, when the result of the continuous verification of four frames becomes defective, the signal m is output, which becomes one element of the switching control.

【0004】CRC付加回路13aにて多重化されたデ
ータに対してCRC符号を付加して切替器16へ接続す
る。切替制御回路15では入力信号Aのデータ検定結果
と入力信号Bのデータ検定結果から切替論理を演算し、
この結果を切替信号pとして切替器16へ出力し、入力
信号の切替えを行い出力信号cとして出力する。そし
て、ルート切替スイッチ14は切替制御回路15で行わ
れる切替論理に直接働きかけ強制的に切替信号pを決定
し切替器16を動作させる。
A CRC code is added to the data multiplexed by the CRC adding circuit 13a and the data is connected to the switch 16. The switching control circuit 15 calculates the switching logic from the data test result of the input signal A and the data test result of the input signal B,
The result is output to the switch 16 as the switching signal p, the input signal is switched, and the output signal c is output. Then, the route changeover switch 14 directly acts on the changeover logic performed by the changeover control circuit 15 to forcibly determine the changeover signal p and operate the changeover device 16.

【0005】この図2において、aは入力信号Aを示
し、bは多重後の信号、dは入力信号B,eは多重後の
信号、jはデータ検定結果、m,nは4フレーム連続不
良信号、qはスイッチ状態信号を示す。
In FIG. 2, a shows the input signal A, b is the signal after multiplexing, d is the input signals B and e, the signals after multiplexing, j is the data test result, and m and n are 4 frames consecutive failures. A signal, q indicates a switch state signal.

【0006】[0006]

【発明が解決しようとする課題】この従来の切替回路で
は、データ検定結果をデータフォーマット中に不良フラ
グを立てて対向装置へデータが無効であることを通知し
ているが、ルート切替スイッチによる手動切替ではデー
タフォーマット中にフラグを立てないで単に機械的な切
替えを行うため、対向装置ではいつ切替えが行われたの
か,また本当に切替えがあったのかも解らない状態に陥
るという課題があった。さらに、特殊な場合として入力
信号Aと入力信号Bとのフレーム同期が合っている状態
でのルート切替スイッチによる切替えでは、対向装置で
はフレーム同期が合っているにもかかわらずデータの中
身がまったく違うという場面もあり、誤動作を引き起こ
す危険が多分にあるという課題があった。
In this conventional switching circuit, a defective flag is set in the data format of the data verification result to notify the opposite device that the data is invalid. In the switching, the mechanical switching is simply performed without setting a flag in the data format, so that there is a problem in that it is impossible to know when the switching was performed in the opposite device or whether the switching actually occurred. Further, as a special case, when switching is performed by the route changeover switch in the state where the frame synchronization of the input signal A and the input signal B is matched, the content of the data is completely different although the frame synchronization is matched in the opposite device. Therefore, there is a problem that there is a risk of causing malfunction.

【0007】[0007]

【課題を解決するための手段】本発明の切替回路は、2
ルートから正常なルートを1つ選ぶ切替回路において、
データ,フラグなど各情報ビットを多重する多重回路
と、上記データ,フラグなどの各情報の入力信号のデー
タ検定を行うデータ検定回路と、所定のフレーム長だけ
フラグを付加する時間を設定する時間幅設定回路と、上
記データ検定回路によるデータ検定結果と上記時間幅設
定回路の出力との論理和演算を行う論理和回路と、上記
多重回路による多重後のデータにCRC符号を付加する
CRC付加回路と、手動スイッチのルート切替スイッチ
と、このルート切替スイッチの状態変化通知を遅延する
遅延回路と、この遅延回路からの遅延をかけたスイッチ
状態信号によって制御され上記データ検定回路の出力信
号の切替制御を行う切替制御回路と、この切替制御回路
からの信号により切り替えを行う切替器とを備えるもの
である。
The switching circuit according to the present invention comprises two switching circuits.
In the switching circuit that selects one normal route from the routes,
A multiplexing circuit that multiplexes each information bit such as data and flag, a data verification circuit that performs data verification of the input signal of each information such as the above data and flag, and a time width that sets the time to add the flag for a predetermined frame length A setting circuit, a logical sum circuit for performing a logical sum operation of the data verification result by the data verification circuit and the output of the time width setting circuit, and a CRC adding circuit for adding a CRC code to the data multiplexed by the multiplexing circuit. , The route changeover switch of the manual switch, the delay circuit for delaying the state change notification of this route changeover switch, and the switching control of the output signal of the above data verification circuit controlled by the delayed switch state signal from this delay circuit. A switching control circuit for performing the switching and a switching device for switching according to a signal from the switching control circuit are provided.

【0008】[0008]

【作用】本発明においては、ルート切替スイッチの状態
変化に対応してデータフォーマット中に不良フラグを立
てるように制御する。
In the present invention, the defective flag is controlled to be set in the data format in response to the state change of the route changeover switch.

【0009】[0009]

【実施例】図1は本発明による切替回路の一実施例を示
すブロック図である。この図1において、1a,1bは
データ,フラグなど各情報ビットを多重する多重回路、
2a,2bはこのデータ,フラグなどの各情報の入力信
号のデータ検定を行うデータ検定回路、3は所定のフレ
ーム長だけフラグを付加する時間を設定する時間幅設定
回路、4a、4bはデータ検定回路2a,2bによるデ
ータ検定結果と時間幅設定回路3の出力との論理和演算
を行う論理和回路、5a、5bは多重回路1a,1bに
よる多重後のデータにCRC符号を付加するCRC付加
回路、6は手動スイッチのルート切替スイッチ、7はこ
のルート切替スイッチ6の状態変化通知を遅延する遅延
回路、8はこの遅延回路7からの遅延をかけたスイッチ
状態信号によって制御されデータ検定回路2a,2bの
出力信号の切替制御を行う切替制御回路、9はこの切替
制御回路8からの信号により切り替えを行う切替器であ
る。
1 is a block diagram showing an embodiment of a switching circuit according to the present invention. In FIG. 1, 1a and 1b are multiplex circuits for multiplexing information bits such as data and flags,
Reference numerals 2a and 2b are data verification circuits that perform data verification of input signals of each information such as this data and flags. Reference numeral 3 is a time width setting circuit that sets a time for adding a flag for a predetermined frame length. 4a and 4b are data verification. A logical sum circuit for performing a logical sum operation of the data test result by the circuits 2a, 2b and the output of the time width setting circuit 3 is a CRC addition circuit for adding a CRC code to the data after multiplexing by the multiplexing circuits 1a, 1b. , 6 is a route changeover switch of a manual switch, 7 is a delay circuit for delaying the state change notification of the route changeover switch 6, 8 is a data verification circuit 2a controlled by a delayed switch state signal from the delay circuit 7, A switching control circuit that controls switching of the output signal of 2b, and a switch 9 that performs switching by a signal from the switching control circuit 8.

【0010】そして、aは入力信号Aを示し、bは多重
後の信号、cは出力信号、dは入力信号B、eは多重後
の信号、fはデータ検定結果、gは不良フラグ、hはC
RC符号、jはデータ検定結果、kは不良フラグ、lは
CRC符号、m,nは4フレーム連続不良信号、pは切
替信号、qはスイッチ状態信号、rは遅延をかけたスイ
ッチ状態信号、sはスイッチ状態信号、tは4フレーム
分の「1」パルスを示す。
Then, a indicates an input signal A, b is a signal after multiplexing, c is an output signal, d is an input signal B, e is a signal after multiplexing, f is a data test result, g is a defective flag, and h is h. Is C
RC code, j is a data test result, k is a defective flag, l is a CRC code, m and n are four consecutive frame defective signals, p is a switching signal, q is a switch state signal, r is a delayed switch state signal, s indicates a switch state signal, and t indicates a "1" pulse for 4 frames.

【0011】つぎにこの図1に示す実施例の動作を説明
する。まず、全体の信号の流れは、入力信号A,入力信
号Bを切替器9で出力信号cとして一方を選んで出力す
る。そして、データ検定回路2a,2bは入力信号Aお
よび入力信号Bに対してサイクリックに送られてくるフ
レーム単位にCRC検定を行い、フレーム単位での良否
結果をデータ検定結果fまたはデータ検定結果jとして
出力し、多重回路1a,1bにおいて所定のタイムスロ
ットのビット位置に不良フラグとして重畳する。また、
4フレーム連続検定結果が不良の場合には4フレーム連
続不良信号mまたはnが出力され、切替制御の一要素と
して切替制御回路8にて論理演算に用いられる。CRC
付加回路5a,5bでは多重されたデータに対してCR
C符号をつけ加えてフレームとして切替器9へ出力す
る。そして、切替制御回路8ではデータ検定結果である
4フレーム連続不良信号m,nを監視していて連続4フ
レーム検定不良を検出したら正常なルートへ切替えを行
う。その時切替え先が検定不良となっていた場合には切
替えは行わない。さらに、この状態で切替え先が異常復
旧した場合には切替えを行う。ここで、異常復旧の条件
は異常検出の状態から連続4フレーム検定良となった場
合である。切替器9は切替制御回路8からの切替信号p
により切替えを行う。
Next, the operation of the embodiment shown in FIG. 1 will be described. First, in the overall signal flow, one of the input signal A and the input signal B is selected as the output signal c by the switch 9 and output. Then, the data verification circuits 2a and 2b perform a CRC test on the input signal A and the input signal B on a frame-by-frame basis sent cyclically, and the pass / fail result on a frame-by-frame basis is used as a data test result f or a data test result j. Is output as a defect flag and superimposed on the bit position of a predetermined time slot in the multiplexing circuits 1a and 1b. Also,
When the 4-frame consecutive verification result is defective, the 4-frame consecutive defective signal m or n is output and used in the logical operation in the switching control circuit 8 as one element of the switching control. CRC
CR is applied to the multiplexed data in the additional circuits 5a and 5b.
The C code is added and the frame is output to the switch 9. Then, the switching control circuit 8 monitors the 4-frame continuous failure signal m, n which is the data verification result, and switches to the normal route when the continuous 4-frame verification failure is detected. At that time, if the switching destination is defective in verification, the switching is not performed. Furthermore, if the switching destination recovers abnormally in this state, switching is performed. Here, the condition for the abnormality recovery is the case where the continuous 4-frame verification is good from the state of the abnormality detection. The switch 9 is a switching signal p from the switching control circuit 8.
To switch.

【0012】つぎに、ルート切替スイッチ6はAルート
選択,Bルート選択,自動の3つの状態を設定できる。
Aルート選択,Bルート選択の状態ではデータ検定結果
の良否の条件よりもルート切替スイッチ6のほうが優先
される構成となっている。そして、時間幅設定回路3は
ルート切替スイッチ6がAルート選択またはBルート選
択の状態となったときに4フレーム分の「1」パルスを
出力し、論理和回路4a,4bでデータ検定結果fまた
はjと論理和を取り、あたかもデータ検定結果不良とい
う状態にして多重回路1a,1bにて不良フラグとして
重畳する。この重畳した不良フラグが確実に対向装置へ
伝わるように切替制御回路8へ接続するルート切替スイ
ッチ6の状態通知の信号であるスイッチ状態信号qに約
4フレーム分の遅延を入れるように遅延回路7を設けて
ある。
Next, the route changeover switch 6 can set three states of A route selection, B route selection, and automatic.
In the state where the A route is selected and the B route is selected, the route changeover switch 6 is prioritized over the condition of the quality of the data verification result. Then, the time width setting circuit 3 outputs a "1" pulse for four frames when the route changeover switch 6 is in the state of selecting the A route or the B route, and the data verification result f is obtained by the OR circuits 4a and 4b. Alternatively, the logical sum of j and j is taken to make it as if the data verification result is defective and superposed as a defective flag in the multiplex circuits 1a and 1b. The delay circuit 7 adds a delay of about 4 frames to the switch status signal q which is a status notification signal of the route changeover switch 6 connected to the switching control circuit 8 so that the superimposed defect flag is surely transmitted to the opposite device. Is provided.

【0013】[0013]

【発明の効果】以上説明したように本発明は、ルート切
替スイッチの状態変化に対応してデータフォーマット中
に不良フラグを立てるように制御するようにしたので、
データの切替わりを対向装置に確実に通知することがで
きる効果がある。また、対向装置ではある時点から不良
フラグが立っているデータが入力してきて、このデータ
は無効であると判断しその後ルート切替が起こり、正常
なデータが入力してくるという動作となり、システム全
体の信頼性も向上するという効果を有する。
As described above, according to the present invention, the defective flag is set in the data format in response to the change of the state of the route changeover switch.
This has the effect of reliably notifying the opposite device of data switching. In the opposite device, data with a defective flag is input from a certain point, it is determined that this data is invalid, route switching occurs after that, and normal data is input. It also has the effect of improving reliability.

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

【図1】本発明による切替回路の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a switching circuit according to the present invention.

【図2】従来の切替回路の一例を示すブロック図であ
る。
FIG. 2 is a block diagram showing an example of a conventional switching circuit.

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

1a、1b 多重回路 2a,2b データ検定回路 3 時間幅設定回路 4a,4b 論理和回路 5a,5b CRC付加回路 6 ルート切替スイッチ 7 遅延回路 8 切替制御回路 9 切替器 1a, 1b Multiplexing circuit 2a, 2b Data verification circuit 3 Time width setting circuit 4a, 4b Logical sum circuit 5a, 5b CRC addition circuit 6 Route changeover switch 7 Delay circuit 8 Changeover control circuit 9 Changer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 2ルートから正常なルートを1つ選ぶ切
替回路において、データ,フラグなど各情報ビットを多
重する多重回路と、前記データ,フラグなどの各情報の
入力信号のデータ検定を行うデータ検定回路と、所定の
フレーム長だけフラグを付加する時間を設定する時間幅
設定回路と、前記データ検定回路によるデータ検定結果
と前記時間幅設定回路の出力との論理和演算を行う論理
和回路と、前記多重回路による多重後のデータにCRC
符号を付加するCRC付加回路と、手動スイッチのルー
ト切替スイッチと、このルート切替スイッチの状態変化
通知を遅延する遅延回路と、この遅延回路からの遅延を
かけたスイッチ状態信号によって制御され前記データ検
定回路の出力信号の切替制御を行う切替制御回路と、こ
の切替制御回路からの信号により切替を行う切替器とを
備えることを特徴とする切替回路。
1. A switching circuit that selects one normal route from two routes, a multiplexing circuit that multiplexes each information bit such as data and a flag, and data that performs a data test of an input signal of each information such as the data and a flag. A test circuit, a time width setting circuit that sets a time for adding a flag for a predetermined frame length, and a logical sum circuit that performs a logical sum operation of the data test result by the data test circuit and the output of the time width setting circuit. CRC is added to the data after being multiplexed by the multiplexing circuit.
A CRC adding circuit for adding a code, a route changeover switch of a manual switch, a delay circuit for delaying the state change notification of this route changeover switch, and the data verification controlled by a delayed switch state signal from this delay circuit. A switching circuit comprising: a switching control circuit that controls switching of an output signal of the circuit; and a switching device that performs switching by a signal from the switching control circuit.
JP27890991A 1991-10-01 1991-10-01 Changeover circuit Pending JPH0595345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27890991A JPH0595345A (en) 1991-10-01 1991-10-01 Changeover circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27890991A JPH0595345A (en) 1991-10-01 1991-10-01 Changeover circuit

Publications (1)

Publication Number Publication Date
JPH0595345A true JPH0595345A (en) 1993-04-16

Family

ID=17603787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27890991A Pending JPH0595345A (en) 1991-10-01 1991-10-01 Changeover circuit

Country Status (1)

Country Link
JP (1) JPH0595345A (en)

Similar Documents

Publication Publication Date Title
JP3910085B2 (en) Optical transmission equipment
JPH0595345A (en) Changeover circuit
JP2776117B2 (en) Switching circuit
JP3842379B2 (en) Transmission path data detour system
JPH05235914A (en) Signal changeover device
JPH08149114A (en) Data receiver
JP3160927B2 (en) Loop test circuit
JP3343904B2 (en) Transmission line switching system
JP2600576B2 (en) Clock loss detection device
JP2821338B2 (en) Secondary alarm output control method
JPS6294036A (en) Automatic network reconstitution control equipment
JP2564997B2 (en) Multi-level selective switching ring network
JP2000004275A (en) Transmission/reception system
JPH08251184A (en) Short-hit switching circuit and non-hit switching circuit
JPH04248717A (en) Multiplex changeover cirucit
JPH06197102A (en) Clock signal selecting device
JPH04183131A (en) Line changeover method
JPS6376553A (en) Digital leray line blocking and processing system
JPS60182832A (en) Supervisory system of multiplex separating device
JPH05235887A (en) Uninterruptible clock changeover device
JPH01296738A (en) Loopback control system for duplicate loop network
JPH09116515A (en) Synchronism detection circuit with self-diagnostic function
JPH04253432A (en) Dual system for switch board
JPH0370325A (en) Frame synchronization system
JPH10294752A (en) Path changeover device for synchronous digital hierarchy transmitter