JPH0879254A - Signal system selection and output device - Google Patents

Signal system selection and output device

Info

Publication number
JPH0879254A
JPH0879254A JP20663794A JP20663794A JPH0879254A JP H0879254 A JPH0879254 A JP H0879254A JP 20663794 A JP20663794 A JP 20663794A JP 20663794 A JP20663794 A JP 20663794A JP H0879254 A JPH0879254 A JP H0879254A
Authority
JP
Japan
Prior art keywords
cell
input
output
signal
selector
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.)
Granted
Application number
JP20663794A
Other languages
Japanese (ja)
Other versions
JP3380057B2 (en
Inventor
Hiroshi Imai
寛 今井
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP20663794A priority Critical patent/JP3380057B2/en
Publication of JPH0879254A publication Critical patent/JPH0879254A/en
Application granted granted Critical
Publication of JP3380057B2 publication Critical patent/JP3380057B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: To shorten delay at the normal time and to perform switching without interruption. CONSTITUTION: Detection parts 104 and 105 detect user cells and supply detection signals to a control part 109. A selector 106 selects the signals of a system whose phase is leading among '0' and '1' system signals by the system selection signals of the control part 109 and outputs them to a buffer 108 and the selector 107 selects the signals of the system of phase lag among the '0' and '1' system signals by the system selection signals of the control part 109 and outputs them to a comparison part 110. The buffer 108 records the signals of the system of phase leading selected in the selector 106 and read control is performed by the control part 109. The comparison part 110 compares output signals from the buffer 108 with the output signals from the selector 107 by a cell unit and supplies a result to the control part 109. A generation part 111 generates free cells and supplies them to the selector 112 and the selector 112 selects the signals to be outputted as an active system among input signals P1 to P4 by selection signals from the control part 109 and outputs them.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は信号系統選択出力装置
に関し、例えば、B(Broad band:広帯域)
−ISDNの要素技術であるATM(Asynchro
nous Transfer Mode:非同期転送モ
ード)伝送方式による伝送・交換装置などにおける、伝
送路又はパス(仮想パスVP)の切り替えを無瞬断で行
うことに適用し得るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal system selection output device, for example, B (Broad band).
-ATM (Asyncro), which is an elemental technology of ISDN
The present invention can be applied to the switching of a transmission path or a path (virtual path VP) without interruption in a transmission / switching device or the like according to the nose transfer mode (asynchronous transfer mode).

【0002】[0002]

【従来の技術】近年、B−ISDNにおけるATM通信
を実現するために種々の技術開発が行われている。例え
ば、信号系統の無瞬断切替えのための技術として、下記
文献などに示されている。
2. Description of the Related Art In recent years, various technical developments have been carried out in order to realize ATM communication in B-ISDN. For example, as a technique for switching the signal system without interruption, it is disclosed in the following documents.

【0003】文献1:電子情報通信学会技術研究報告、
1992年10月、VOL.92、NO.287、CS
92−48、『ATM網における無瞬断伝送路切替方
式』。
Reference 1: IEICE Technical Report,
In 1992, VOL. 92, NO. 287, CS
92-48, "Instantaneous Transmission Line Switching Method in ATM Network".

【0004】文献2:1992年電子情報通信学会秋季
大会、講演論文集分冊3、B−526、ページ3−19
2、『ATM伝送装置における無瞬断二重切替え方式の
一検討』。
Reference 2: Proceedings of the 1992 Autumn Conference of the Institute of Electronics, Information and Communication Engineers, Volume 3, B-526, page 3-19
2, "A study of the non-instantaneous double switching method in ATM transmission equipment".

【0005】『無瞬断切替概要』: 通信ネットワー
クにおいて、伝送装置は高い信頼性を要求されるため、
従来から主信号系は伝送路の二重化や装置内の主要部分
の二重化を行い、冗長構成をとることによって信頼性を
上げていた。
"Outline without interruption": In a communication network, a transmission device is required to have high reliability.
Conventionally, the main signal system has been duplicated in the transmission path and in the main part of the device to increase the reliability by taking a redundant configuration.

【0006】二重化された部分の後段では信号が2系統
あるため、どちらかの系を選択しなければならない。こ
のため後段の入力部分では伝送路選択切替回路が組み込
まれている。
Since there are two systems of signals in the latter stage of the duplexed portion, either system must be selected. For this reason, a transmission path selection switching circuit is incorporated in the input section at the latter stage.

【0007】通常はいずれかの系を選択していると、そ
のまま系をその系を選択し続ければ良いが、伝送路の配
線工事、或いは装置の保守などの理由によってもう一方
の系に切替えなければならないことがある。
Normally, when one of the systems is selected, it is sufficient to continue selecting the system as it is, but it is necessary to switch to the other system due to the wiring work of the transmission line or the maintenance of the device. There are things that must be done.

【0008】この場合、伝送路は運用中(ユーザが実際
に通信していること。)であるため、切替えは無瞬断で
行うことが望ましい。
In this case, since the transmission path is in operation (the user is actually communicating), it is desirable to switch without interruption.

【0009】ここで、『無瞬断』とは、信号の欠落がな
く、順序が保証され、且つ重複しないということであ
り、信号を固定長のセルと呼ばれるパケットにして伝送
するATM伝送方式においては、セル順序の損失・逆転
及びセルの2度送りなどが発生しないことを言うものと
する。
Here, "no interruption" means that there is no loss of signals, the order is guaranteed, and the signals do not overlap. In the ATM transmission system in which signals are transmitted in packets called fixed-length cells. Means that loss / reversal of cell order and double feeding of cells do not occur.

【0010】このような切り替え系の構成については、
上述の文献1のページ2の2.1項で説明されている。
また、伝送路切り替えの無瞬断化の目的については、上
述の文献1のページ2〜3の3項において説明されてい
る。
Regarding the configuration of such a switching system,
It is described in Section 2.1 of Page 2 of Document 1 mentioned above.
Further, the purpose of making the transmission path switching non-interruptive is described in the above-mentioned Document 1, pages 2 to 3, item 3.

【0011】『無瞬断切替方法』: ATM伝送方式
における無瞬断切替えの方法としては、上述の文献1の
ページ3〜4の4項に示されているように3つの方法が
提案されている。この内、方法3のセル系列同期化方法
(この方法を以下では常時同期法と呼ぶ。)について
は、同期確立のための遅延の挿入方法の違いによって、
上述の文献2で説明されているような一括挿入法と逐次
挿入法の二つの方法が提案されている。
"Instantaneous-interruption switching method": Three methods have been proposed as the method for instantaneous-interruption switching in the ATM transmission system, as shown in the above-mentioned document 1, pages 3 to 4, item 4. There is. Among them, the cell sequence synchronization method of Method 3 (this method will be referred to as a constant synchronization method in the following) depends on the difference in the delay insertion method for establishing synchronization.
Two methods, a batch insertion method and a sequential insertion method as described in the above-mentioned document 2, have been proposed.

【0012】逐次挿入法は一括挿入法に対して、空セル
の挿入によって現用系と予備系のセル流が異なった場合
にも同期状態を保つことできるという利点がある。ま
た、常時同期法では、両系の位相差が常時吸収されてい
るため、切替指示が出されてから実際に系が切り替わる
までの時間が短いという利点もあった。
The sequential insertion method has an advantage over the batch insertion method in that the synchronization state can be maintained even when the cell flow of the active system and the cell flow of the standby system differ due to the insertion of empty cells. Further, in the constant synchronization method, the phase difference between the two systems is always absorbed, so that there is an advantage that the time from when a switching instruction is issued to when the systems are actually switched is short.

【0013】[0013]

【この発明が解決しようとする課題】上述した逐次挿入
法では、空セルが入って現用系と予備系のセル流が異な
った場合でも、両系の同期を保ちながら系を無瞬断で切
替えることが可能であった。
In the above-described sequential insertion method, even when an empty cell is inserted and the cell flow of the active system and the cell flow of the standby system are different, the system is switched without interruption while maintaining the synchronization of both systems. It was possible.

【0014】(a)しかしながら、上述した常時同期法
であると、現用系の位相が進んでいる場合には同期が確
定した後は現用系に半固定的な遅延が挿入されることに
なる。つまり、現用系の伝送路の長さが予備系の伝送路
の長さより短く、本来ならば遅延を付加されることもな
く、その伝送路長分の遅延だけで通信が行えるにもかか
わらず、常時同期法を行い、遅延を付加してしまってい
るため、伝送路長の長い予備系を選択したものと同じだ
けの遅延が発生していた。
(A) However, in the above-described constant synchronization method, when the phase of the active system is advanced, a semi-fixed delay is inserted in the active system after the synchronization is established. In other words, although the length of the transmission path of the working system is shorter than the length of the transmission path of the standby system, no delay is added originally, and communication can be performed only with the delay of the transmission path length. Since the synchronization method is always used and the delay is added, the same delay as that in the case of selecting the backup system with a long transmission path length occurs.

【0015】ネットワーク全体から考えると、全ての伝
送路の二重化区間で、伝送路の長い系を選択したものと
同じ大きな遅延が発生していた。
From the viewpoint of the entire network, the same large delay as in the case where the long transmission line system is selected occurs in the duplicated section of all transmission lines.

【0016】(b)また、上述の文献2においては、切
替時にセル遅延揺らぎ(CDV:Cell Delay
Variation)が発生しないため常時同期法が
有効であると述べられているが、同期引き込みのときに
はセル遅延揺らぎが発生するため、同期を保ったまま現
用系と予備系との切替えを頻繁に行うような操作が必要
とされない場合には、ネットワーク全体の絶対遅延が大
きくなるという問題に比べて、特にメリットとはならな
かった。
(B) Further, in the above-mentioned document 2, cell delay fluctuation (CDV: Cell Delay) at the time of switching.
It is stated that the constant synchronization method is effective because no variation occurs. However, since cell delay fluctuations occur when synchronization is pulled in, frequent switching between the active system and the standby system is performed while maintaining synchronization. If such an operation is not required, it is not particularly advantageous compared to the problem that the absolute delay of the entire network becomes large.

【0017】従って、セル遅延揺らぎCDVをある程度
許容するというATMの特徴を活かし、切替時には位相
差調整のためのセル遅延揺らぎCDVが発生するが、通
常の運営時には現用系に対して遅延が挿入されることが
なく、純粋な現用系の伝送路長による伝送遅延だけが発
生することによってネットワーク全体の絶対遅延を削減
する。
Therefore, the cell delay fluctuation CDV for adjusting the phase difference is generated at the time of switching by utilizing the feature of ATM that allows the cell delay fluctuation CDV to some extent. And the absolute delay of the entire network is reduced by only causing the transmission delay due to the pure working transmission path length.

【0018】これと共に、常時同期方式の空セルの挿入
によって現用系と予備系のセル流が異なった場合にも同
期状態を保つことが可能で、切替指示があってから実際
に系が切り替わるまでの時間が短いという利点を損なう
ことがない、仮想的には常時同期(位相差の吸収)を行
い、切替要求時には即座に切り替えられるようにすると
共に、遅延の挿入は切替え時にだけ行い無瞬断切替を行
い得ることが望まれている。
At the same time, by inserting an empty cell of the always synchronous system, the synchronous state can be maintained even when the cell flows of the active system and the standby system are different from each other until the system is actually switched after the switching instruction is issued. Virtually always synchronizes (absorption of phase difference) so that the advantage of short time is not impaired, and it is possible to switch immediately when switching is requested. It is desired to be able to switch.

【0019】更に、空きセル以外で0系と1系のセル流
で異なった位置に挿入される可能性がある、OAM(O
peration Administration a
ndMaintenance:保守運用)セル・リソー
ス管理セル等がセル流に挿入されている場合でも通常運
用時には仮想常時同期部において同期状態を保つことが
できることが望まれている。
Furthermore, there is a possibility that cells other than the vacant cell may be inserted at different positions in the 0-system cell flow and the 1-system cell flow.
peration administration a
ndMaintenance (maintenance operation) Even if a cell / resource management cell or the like is inserted in the cell flow, it is desired that the virtual always-synchronizing unit can maintain the synchronization state during the normal operation.

【0020】以上のようなことから、簡単な構成で切替
時以外の通常動作時には現用系の選択出力の遅延時間を
短くし、しかも無瞬断で切替えを行うことができる信号
系統選択出力装置の提供が要請されている。
From the above, a signal system selection output device which has a simple structure and which can shorten the delay time of the selection output of the active system during normal operation other than switching and can perform switching without interruption. Offer is requested.

【0021】[0021]

【課題を解決するための手段】そこで、この発明は、少
なくとも2系統以上の信号系統が入力され、いずれかの
入力信号系統を現用系出力として選択出力する信号系統
選択出力装置において、以下の特徴的な構成で上述の課
題を解決するものである。
In view of the above, the present invention provides a signal system selecting and outputting apparatus which receives at least two or more signal systems and selectively outputs any one of the input signal systems as an output of the working system. The above-mentioned problems are solved by a typical configuration.

【0022】即ち、それぞれの入力信号系統からユーザ
パケットを検出するユーザパケット検出手段と、他の入
力信号系統よりも位相が進んでいる入力信号系統を遅延
させる遅延手段と、上記遅延されていない入力信号系統
のユーザパケットと上記遅延手段によって遅延された入
力信号系統のユーザパケットとの一致比較を行う一致比
較手段と、この一致比較手段の結果から位相が進んでい
る入力信号系統のパケットの位相を遅延させる遅延量を
制御する遅延量制御手段とを備える。
That is, a user packet detecting means for detecting a user packet from each input signal system, a delay means for delaying an input signal system whose phase is ahead of other input signal systems, and the undelayed input. The coincidence comparison means for performing coincidence comparison between the user packet of the signal system and the user packet of the input signal system delayed by the delay means, and the phase of the packet of the input signal system whose phase is advanced from the result of the coincidence comparison means. A delay amount control means for controlling a delay amount to be delayed.

【0023】更に、上記一致比較手段によって一致する
パケットを探索し、この探索後位相差を保って常時同期
を行う同期手段と、空パケットを生成出力する空パケッ
ト生成手段と、少なくとも2系統以上のそれぞれの入力
信号系統、遅延手段によって遅延された入力信号系統、
空パケット生成手段によって生成された空パケット信号
系統、のいずれかから現用系出力を選択出力する信号選
択手段とを備えたものである。
Further, at least two systems or more are provided, the matching means for searching the matching packet by the matching and comparing means, the synchronizing means for constantly synchronizing the phase difference after the search, and the empty packet generating means for generating and outputting the empty packet. Each input signal system, input signal system delayed by the delay means,
Signal selection means for selectively outputting the active system output from any one of the empty packet signal systems generated by the empty packet generation means.

【0024】[0024]

【作用】この発明によれば、切替えを行わない通常の運
用時には現用系に対して遅延が挿入されることがなく、
ネットワーク全体での遅延を削減することができる。ま
た、非ユーザパケットの挿入によって現用系と非現用系
とのパケット流が異なった場合にも同期状態を保つこと
が可能であり、切替え要求が与えられてから実際に切り
替わるまでの時間を短くすることができる。
According to the present invention, no delay is inserted in the active system during normal operation without switching,
It is possible to reduce the delay in the entire network. Further, even if the packet flow between the active system and the non-active system differs due to the insertion of the non-user packet, it is possible to maintain the synchronization state, and shorten the time from when the switching request is given until the actual switching. be able to.

【0025】また、遅延の挿入は切替え時だけに行うも
のである。つまり、通常の運用時には現用系に他の系統
との同期を保つための遅延は挿入されず、現用系の位相
が他の信号系統よりも進んでいる場合は、伝送路長分の
伝送遅延だけで信号選択手段を通過させることができ
る。
The delay is inserted only at the time of switching. In other words, during normal operation, no delay is inserted in the active system to maintain synchronization with other systems, and if the phase of the active system is ahead of other signal systems, only the transmission delay for the transmission path length Can be passed through the signal selection means.

【0026】従って、常時同期法のように、常時各信号
系統の位相差分の遅延が加算されることなく、ネットワ
ーク全体の遅延量を削減することができる。
Therefore, unlike the constant synchronization method, the delay amount of the phase difference of each signal system is not always added, and the delay amount of the entire network can be reduced.

【0027】更に、仮想的には常時同期法による位相差
吸収を行うことができるため、常時同期法の効果を得つ
つ、切替え時以外の期間に空パケット以外で異なった位
置に挿入されるパケットがあった場合でも同期を保ち、
無瞬断切替えも行うことができる。
Further, since it is possible to virtually absorb the phase difference by the constant synchronization method, a packet inserted at a different position other than the empty packet during the period other than the switching time while obtaining the effect of the constant synchronization method. Keep in sync even if there is
It is also possible to switch without interruption.

【0028】[0028]

【実施例】次にこの発明の好適な実施例を図面を用いて
説明する。そこで、この実施例では、B−ISDNの要
素技術であるATM伝送方式による伝送、交換装置など
において、伝送路又は仮想パス(VP)などの切替えを
無瞬断で行う、仮想同期型の無瞬断切替えを実現し得る
ように構成するものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described with reference to the drawings. Therefore, in this embodiment, in the transmission by the ATM transmission method, which is the elemental technology of B-ISDN, the switching device, etc., the switching of the transmission path or the virtual path (VP) is performed without interruption, and the virtual synchronization type is without interruption. The configuration is such that disconnection switching can be realized.

【0029】図1は無瞬断切替装置の機能構成図であ
る。この図1において、無瞬断切替装置は、0系入力端
子101と、1系入力端子102と、切替信号103
と、ユーザセル検出部104、105と、セレクタ10
6、107と、バッファ108と、制御部109と、一
致比較部110と、空セル生成部111と、セレクタ1
12と、現用系出力端子113とから構成されている。
FIG. 1 is a functional block diagram of the hitless switching device. In FIG. 1, the hitless switching device includes a 0-system input terminal 101, a 1-system input terminal 102, and a switching signal 103.
, User cell detection units 104 and 105, and selector 10
6, 107, buffer 108, control unit 109, match comparison unit 110, empty cell generation unit 111, and selector 1
12 and an active system output terminal 113.

【0030】この図1において、0系入力端子101か
ら入力される信号は、セレクタ112の入力ポートP1
に与えられると共に、ユーザセル検出部104、セレク
タ106及びセレクタ107の入力ポート0にそれぞれ
与えられる。
In FIG. 1, the signal input from the 0-system input terminal 101 is the input port P1 of the selector 112.
And to the input port 0 of the user cell detection unit 104, the selector 106, and the selector 107, respectively.

【0031】また、1系入力端子102から入力された
信号は、セレクタ112の入力ポートP4に与えられる
と共に、ユーザセル検出部105、セレクタ106及び
セレクタ107の入力ポート1にそれぞれ与えられる。
The signal inputted from the 1-system input terminal 102 is given to the input port P4 of the selector 112 and also to the input port 1 of the user cell detection section 105, the selector 106 and the selector 107, respectively.

【0032】ユーザセル検出部104、105は、それ
ぞれ0系、1系の入力信号をモニタし、ユーザセルだけ
を検出し、入力された信号がユーザセルであることを示
すユーザセル検出信号を制御部109へ与える。また、
セレクタ106は入力ポート0、1へ入力される0、1
系信号の内、位相が進んでいる(或いは進んでいると仮
定した)系の信号を制御部109からのS1ポートへの
系選択信号によって選択し、バッファ108へ出力する
ものである。
The user cell detection units 104 and 105 monitor the input signals of the 0th system and the 1st system, respectively, detect only the user cell, and control the user cell detection signal indicating that the input signal is the user cell. It is given to the section 109. Also,
Selector 106 inputs 0, 1 to input ports 0, 1
Among the system signals, a system signal whose phase is advanced (or is assumed to be advanced) is selected by a system selection signal from the control unit 109 to the S1 port and is output to the buffer 108.

【0033】更に、セレクタ107は入力ポート0、1
へ入力される0、1系信号の内、位相が遅れている(或
いは遅れていると仮定した)系の信号を制御部109か
らのS2ポートへの系選択信号(セレクタ106へ与え
る選択信号を反転している。)によって選択し、一致比
較部110へ出力する。従って、セレクタ106と10
7とは、同時に同じ系の信号を選択することはない。
Further, the selector 107 has input ports 0, 1
A system selection signal (a selection signal to be given to the selector 106) from the control unit 109 to the S2 port is selected from signals of the 0 and 1 system signals input to the system 1 whose phase is delayed (or is assumed to be delayed). It is inverted.) And outputs it to the match comparison unit 110. Therefore, selectors 106 and 10
Signals of 7 are not selected simultaneously in the same system.

【0034】更にまた、バッファ108は、セレクタ1
06で選択された位相が進んでいる(或いは進んでいる
と仮定した)系の信号を記録し、制御部109によって
読出し制御が行われる。このバッファ108によって読
み出された信号は、セレクタ112へ与えられると共
に、一致比較部110へも同様に与えられる。
Furthermore, the buffer 108 is the selector 1
The signal of the system in which the selected phase is advanced (or is assumed to be advanced) is recorded in 06, and the read control is performed by the control unit 109. The signal read by the buffer 108 is given to the selector 112 and the match comparing section 110 in the same manner.

【0035】また、一致比較部110では、バッファ1
08から出力された信号と、セレクタ107から出力さ
れた信号をセル単位で比較し、一致/不一致の結果を制
御部109へ与えるものである。更に、空セル生成部1
11では、空セルを生成し、セレクタ112の入力ポー
トP3へ与える。
Further, in the match comparison unit 110, the buffer 1
The signal output from 08 and the signal output from the selector 107 are compared on a cell-by-cell basis, and a match / mismatch result is given to the control unit 109. Furthermore, the empty cell generation unit 1
At 11, an empty cell is generated and given to the input port P3 of the selector 112.

【0036】更にまた、セレクタ112では制御部10
9からのS3ポートへの選択信号によって、P1からP
4までの入力信号の内、現用系として出力する信号を選
択し、現用系出力端子113へ出力するものである。ま
た、制御部109では、ユーザセル検出部104、10
5及び一致比較部110からの入力信号によってセレク
タ106、107の系選択、バッファの読み出し制御を
行い、切替信号端子103からの切替要求に従ってセレ
クタ112を制御するものである。
Furthermore, in the selector 112, the control unit 10
P1 to P depending on the selection signal from S9 to S3 port
Among the input signals up to 4, the signal output as the active system is selected and output to the active system output terminal 113. Further, the control unit 109 includes the user cell detection units 104 and 10
5 and input signals from the coincidence comparison unit 110, system selection of the selectors 106 and 107 and buffer read control are performed, and the selector 112 is controlled according to a switching request from the switching signal terminal 103.

【0037】(ユーザセル検出部104、105):
ユーザセル検出部104、105は、それぞれ0系、
1系の入力信号を常時モニタし、空セル・OAMセル・
リソース管理セル等の0系と1系のセル流で異なった位
置に挿入される可能性があるセルを除いた、セルだけを
検出し、入力信号がユーザセルであることを示すユーザ
セル検出信号を出力するものである。
(User cell detectors 104, 105):
The user cell detection units 104 and 105 are 0 system,
The input signal of 1 system is constantly monitored, and empty cells, OAM cells,
A user cell detection signal indicating that only the cell is detected and the input signal is a user cell, excluding cells that may be inserted at different positions in the 0-system and 1-system cell flows such as resource management cells. Is output.

【0038】(セレクタ106、107): セレク
タ106、107は2入力1出力のセレクタであり、入
力ポート0、1に入力される0系・1系それぞれの信号
の内、制御部109によって指示された系の信号を選択
して出力する。セレクタ106とセレクタ107とは常
に異なった系を選択し、同時に同じ系を選択出力するこ
とはない。
(Selectors 106, 107): The selectors 106, 107 are 2-input 1-output selectors, and are instructed by the control unit 109 from the signals of 0 system and 1 system input to the input ports 0, 1. Select and output the system signal. The selector 106 and the selector 107 always select different systems and do not simultaneously output the same system.

【0039】(バッファ108): バッファ108
では、セレクタ106によって選択された系のセルを空
セル・OAMセル・リソース管理セル等を含めて全て記
録し、制御部109からの制御に基づき、セルの読み出
し、読み出しの停止、読み飛ばしを行うものである。
(Buffer 108): Buffer 108
Then, all the cells of the system selected by the selector 106 are recorded including the empty cell, the OAM cell, the resource management cell, etc., and based on the control of the control unit 109, the cell reading, the reading stop, and the reading skip are performed. It is a thing.

【0040】(一致比較部110): 一致比較部1
10では、バッファ108から読み出されたセルとセレ
クタ107において選択された系のセルを比較し、その
比較結果として一致/不一致を示す信号を出力するもの
である。
(Match comparison unit 110): Match comparison unit 1
In 10, the cell read from the buffer 108 is compared with the cell of the system selected by the selector 107, and a signal indicating match / mismatch is output as the comparison result.

【0041】このとき、一致しているか否かの判断は、
(ア)全ビットを比較して、全てが一致しているとき、
(イ)全ビットを比較して、予め設定していた数以上一
致しているとき、(ウ)比較するビットを制限し、それ
が全て一致しているとき、などがあり、判断方法として
いずれの方法も適用することができる。
At this time, it is determined whether or not they match.
(A) Compare all bits, and if all match,
(A) All bits are compared, and when there is a match over a preset number, (c) The bits to be compared are limited and when all of them match, etc. The method of can also be applied.

【0042】(空セル生成部111): 空セル生成
部111では常時空セルを生成し、セレクタ112へ出
力している。
(Empty Cell Generation Unit 111): The empty cell generation unit 111 always generates an empty cell and outputs it to the selector 112.

【0043】(セレクタ112): セレクタ112
は、4入力1出力のセレクタであり、制御部109の指
示によってP1からP4までの入力ポートの内、いずれ
のポートを選択するかを決定し、選択したポートに入力
されてくる信号を出力する。
(Selector 112): Selector 112
Is a 4-input / 1-output selector, which determines which of the input ports P1 to P4 is selected according to an instruction from the control unit 109, and outputs a signal input to the selected port. .

【0044】(制御部110): 制御部110で
は、仮想的に(運用中の現用系に対しては何も処理を行
わないで)常時セル位相を同期させるための制御と切替
指示による現用系から予備系への系切替制御を行ってい
る。以下仮想常時セル位相同期方法及び切替フローを含
め、この実施例の無瞬断切替方法について詳細に説明す
る。
(Control unit 110): In the control unit 110, the control system for virtually synchronizing the cell phase at all times (without performing any processing on the active system in operation) and the active system by the switching instruction. System switching control from the standby system to the standby system. The non-instantaneous interruption switching method of this embodiment will be described in detail below, including the virtual constant cell phase synchronization method and switching flow.

【0045】『仮想常時セル位相同期方式及び切替えフ
ロー』: (概要)通常の網運営時には入力された現
用系の信号はそのままスルーで出力しつつ、同時に仮想
的には現用系と予備系の常時同期状態を維持しておき、
両系の位相差を吸収しておく。仮想的には常時同期状態
が保たれている時には、無瞬断で系を切り替えることが
できる。
"Virtual Always Cell Phase Synchronization Method and Switching Flow": (Outline) During normal network operation, the input signal of the active system is directly output as it is, while at the same time virtually the active system and the standby system are constantly operated. Keep it in sync,
Absorb the phase difference between both systems. Virtually, when the synchronous state is always maintained, the system can be switched without interruption.

【0046】仮想的な常時同期状態を作るためには、両
系の位相差の探索から開始し、位相差探索・同期確認・
同期監視などの3つのモードの遷移によって同期を維持
することができる。常時同期状態とは、上述の3つのモ
ードの内、同期監視のモードにあるときを示すものであ
る。
In order to create a virtual constant synchronization state, start from the search for the phase difference between both systems, and perform the phase difference search / synchronization confirmation /
Synchronization can be maintained by transitioning between three modes such as synchronization monitoring. The constant synchronization state refers to the time of being in the synchronization monitoring mode among the above three modes.

【0047】(位相同期確立方法): 図2は上述の
3つのモードの状態遷移を表す説明図である。初期状態
は位相差探索モードS1であり、両系のセルを比較しな
がら位相差を探索し、1つでも一致するセルが見つけら
れると同期確認モードS2に移行するものである。
(Phase synchronization establishment method): FIG. 2 is an explanatory diagram showing state transitions of the above-mentioned three modes. The initial state is the phase difference search mode S1, and the phase difference is searched while comparing cells of both systems, and if even one cell is found, the mode shifts to the synchronization confirmation mode S2.

【0048】更に、同期確認モードS2では、位相差探
索モードS1で一致したセル以降、本当に同期が確立し
ているか否かを確認し、Mセル連続不一致で位相差探索
モードに戻り、Lセル連続一致で同期監視モードS3に
移行するものである。
Further, in the synchronization confirmation mode S2, it is confirmed whether or not the synchronization is really established after the cell matched in the phase difference search mode S1, and the mode is returned to the phase difference search mode when M cells do not continuously match, and L cells are continuously connected. Upon coincidence, the synchronous monitoring mode S3 is entered.

【0049】更にまた、同期監視モードS3では、同期
確認モードS2によって同期確立が確認された後、同期
はずれが起こっていないかどうかを監視する。ここで、
Nセル連続不一致で同期はずれとみなし、最初の位相差
探索モードS1に戻るものである。
Furthermore, in the synchronization monitoring mode S3, after the establishment of the synchronization is confirmed by the synchronization confirmation mode S2, it is monitored whether or not the synchronization is lost. here,
When the N cells do not continuously match, the synchronization is considered to be lost, and the initial phase difference search mode S1 is returned to.

【0050】ここで、L、M、Nの各値は、1以上の整
数値であり、上述の動作説明における一致比較の一致と
する判断方法の違いや、通信路の特性、装置に求められ
る信頼度などによって適切な値が設定されることが好ま
しい。
Here, each value of L, M, and N is an integer value of 1 or more, and is required for the difference in the judgment method of the coincidence comparison in the above description of operation, the characteristics of the communication path, and the device. It is preferable to set an appropriate value depending on the reliability and the like.

【0051】以下、各モードにおける詳細な動作フロー
を図1に基づき説明する。
The detailed operation flow in each mode will be described below with reference to FIG.

【0052】((位相差探索モード)): 図3は位
相差探索モードの動作フローである。この図3におい
て、先ず位相差探索モード(S100)では、バッファ
108の内容がクリアされる(S101)。初期設定段
階ではどちらの系の位相が進んでいるか判断できないた
め、先ず0系の位相が進んでいると仮定し、探索を開始
する。
((Phase difference search mode)): FIG. 3 is an operation flow of the phase difference search mode. In FIG. 3, first, in the phase difference search mode (S100), the contents of the buffer 108 are cleared (S101). At the initial setting stage, it is not possible to determine which phase of the system is advanced. Therefore, it is assumed that the phase of the 0 system is advanced and the search is started.

【0053】バッファ108には、セレクタ106で選
択された0系のセルの内、初めに通過したユーザセルを
先頭に書き込みを開始すると共に、先頭のユーザセルを
読み出す(S102)。位相差探索モードでのバッファ
108の動作は、入力されるセルは順次書き込みと共
に、読み出しは最初に記録(記憶)された(先頭の)セ
ルだけとなる。以降これを『バッファ連続読出』と呼
ぶ。
In the buffer 108, of the 0-system cells selected by the selector 106, the writing of the user cell that has passed first is started at the beginning, and the leading user cell is read out (S102). In the operation of the buffer 108 in the phase difference search mode, input cells are sequentially written, and reading is performed only for the first recorded (stored) (leading) cell. Hereinafter, this is called "buffer continuous reading".

【0054】次にバッファ連続読出によって読み出され
た0系のユーザセルと、セレクタ107によって選択さ
れた1系のセルをセル単位で比較する(S103)。こ
のS103のセル一致比較で一致が検出されたときは、
同期確認モード(S109)へ移行する。また、このS
103のセル一致比較で不一致が検出されたときは、バ
ッファ108がフル(FULL)であるか否かを確認し
(S104)、フルでないときは0系が進んでいるとい
う仮定のままS102の連続読出しへ戻る。
Next, the 0-system user cell read by the buffer continuous read and the 1-system cell selected by the selector 107 are compared in cell units (S103). If a match is detected in the cell match comparison in S103,
The process shifts to the synchronization confirmation mode (S109). Also, this S
When a mismatch is detected in the cell match comparison of 103, it is confirmed whether or not the buffer 108 is full (FULL) (S104), and when it is not full, S102 continues with the assumption that the 0 system is advanced. Return to read.

【0055】フルであった場合は、位相が進んでいると
仮定している系を1系に変更し、位相差探索を続ける。
この位相差探索方法は、0系の位相が進んでいると仮定
して実行した内容と全く同じである。即ち、先ずバッフ
ァ108の内容をクリアし(S105)、セレクタ10
6で選択された1系のセルの内、初めに通過したユーザ
セルを先頭に書き込みを開始すると共に、先頭のユーザ
セルを読み出す(S106)。
If it is full, the system which is assumed to have the advanced phase is changed to the one system and the phase difference search is continued.
This phase difference search method is exactly the same as that executed on the assumption that the 0-system phase is advanced. That is, first, the contents of the buffer 108 are cleared (S105), and the selector 10
Of the 1-system cells selected in 6, writing is started with the first passed user cell at the beginning, and the first user cell is read out (S106).

【0056】次にバッファ連続読出によって読み出され
た1系のユーザセルと、セレクタ107によって選択さ
れた0系のセルをセル単位で比較する(S107)。こ
のS107で一致が検出されたときは、同期確認モード
(S109)へ移行する。また、このS107で不一致
が検出されたときは、バッファ108がフルであるか否
かを確認し(S108)、フルでないときは1系が進ん
でいるという仮定のままで、S106へ戻る。一方、フ
ルであった場合は、位相が進んでいると仮定している系
を再び0系に変更し、S101のバッファクリアに戻
る。
Next, the 1-system user cells read by the buffer continuous reading and the 0-system cells selected by the selector 107 are compared in cell units (S107). When a match is detected in S107, the process shifts to the synchronization confirmation mode (S109). If a mismatch is detected in S107, it is confirmed whether or not the buffer 108 is full (S108). If not, the process returns to S106 with the assumption that the 1st system is advanced. On the other hand, if it is full, the system that is assumed to have advanced phase is changed to the 0 system again, and the process returns to the buffer clear in S101.

【0057】これ以降一致するセルが表れるまで上述の
動作を繰り返すものである。
After that, the above operation is repeated until a matching cell appears.

【0058】((同期確認モード)): 図4は一実
施例の同期確認の動作フローチャートである。この図4
において、同期確認モード(S109)では、先ずユー
ザセル検出部104又は105からの情報によって、セ
レクタ107において次に選択・出力されるセルがユー
ザセルであるか否かを判断する(S110)。
((Synchronization Confirmation Mode)): FIG. 4 is an operation flowchart of synchronization confirmation in one embodiment. This Figure 4
In the synchronization confirmation mode (S109), first, it is determined whether or not the cell to be next selected / output in the selector 107 is the user cell, based on the information from the user cell detection unit 104 or 105 (S110).

【0059】このS110の判断において、ユーザセル
ではなかった場合、バッファ108の読み出しを停止す
る(S111)。これによって、位相が遅れている系に
空セルなどによる揺らぎが発生した場合にも比較対象と
なるユーザセルを見失わないようにしているのである。
When it is determined in S110 that the cell is not the user cell, the reading of the buffer 108 is stopped (S111). As a result, even if fluctuation occurs due to an empty cell or the like in the system in which the phase is delayed, the user cell to be compared is not lost.

【0060】次にバッファ読出し停止後、今度はバッフ
ァ108から次に読み出されるセルがユーザセルである
か否かを判断する(S112)。ここで、ユーザセルで
あると判断される場合には、そのままS110の判断へ
処理を戻す。また、ユーザセルでなかった場合は、その
セルは読み飛ばす(S113)。更に、その次のセルが
ユーザセルであるか否かを判断するためにS112の判
断へ戻る。これによって、先程とは逆に位相が進んでい
る系に空セルなどによる揺らぎが発生した場合にも比較
対象となるユーザセルを見失わないようにしているので
ある。
Next, after stopping the reading of the buffer, it is judged whether or not the next cell to be read from the buffer 108 is the user cell (S112). If it is determined that the cell is a user cell, the process directly returns to the determination in S110. If the cell is not the user cell, the cell is skipped (S113). Further, the process returns to the determination of S112 to determine whether or not the next cell is the user cell. As a result, the user cell to be compared is not lost even when fluctuation occurs due to an empty cell or the like in the system in which the phase is opposite to the preceding one.

【0061】また、S110の判断において、次に選択
・出力されるセルがユーザセルであった場合も、位相が
進んでいる系に空セルなどによる揺らぎ発生した場合に
も比較対象となるユーザセルを見失わないように、バッ
ファ108から次に読み出されるセルがユーザセルであ
るか否かを判断する(S114)。そして、ユーザセル
でない場合は、そのセルは読み飛ばす(S115)。ま
た、ユーザセルであった場合は、順次セルを読み出す
(S116)。これを、バッファ連続読出に対して『バ
ッファ順次読出』と呼ぶことにする。
In addition, in the determination of S110, even if the next cell to be selected / output is a user cell, or if fluctuation occurs due to an empty cell or the like in the system with advanced phase, the user cell to be compared. In order not to lose sight of it, it is determined whether or not the next cell read from the buffer 108 is a user cell (S114). If it is not the user cell, the cell is skipped (S115). If it is a user cell, the cells are sequentially read (S116). This will be referred to as "buffer sequential read" as opposed to buffer continuous read.

【0062】この『バッファ順次読出』によって読み出
されたユーザセルと、セレクタ107から選択出力され
るユーザセルをセル単位で比較する(S117)。この
結果、不一致であった場合、その不一致が連続してMセ
ル連続して生じたものであるか否かを判断する(S11
8)。ここで、Mセル未満のときには次のユーザセルを
比較するためにS110の判断まで戻り、Mセルであっ
た場合は位相の同期が引き込めなかったとして、位相差
探索モード(S100)まで戻り、位相差探索から再び
繰り返すものである。
The user cells read by the "buffer sequential read" are compared with the user cells selectively output from the selector 107 in cell units (S117). As a result, if there is a mismatch, it is determined whether or not the mismatch has occurred consecutively in M cells (S11).
8). Here, when it is less than M cells, the process returns to the determination of S110 to compare the next user cell, and when it is M cells, it is determined that the phase synchronization cannot be drawn, and the process returns to the phase difference search mode (S100). This is repeated from the phase difference search.

【0063】また、S117のセル一致比較で一致が検
出された場合は、その一致が連続してLセル連続して生
じたものか判断する(S119)。ここで、Lセル未満
のときには次のユーザセルを比較するためにS110の
判断まで戻り、Lセルであった場合は位相を同期状態に
引き込むことができたものとし、同期監視モード(S1
20)へ処理を移行するものである。
If a match is detected in the cell match comparison in S117, it is determined whether the match has occurred continuously in L cells (S119). Here, when the number of cells is less than L cells, the process returns to the determination of S110 to compare the next user cell, and when the number of cells is L, it is assumed that the phase can be pulled into the synchronization state, and the synchronization monitoring mode (S1
The process is transferred to 20).

【0064】((同期監視モード)): 図5は一実
施例の同期監視モードの動作フローチャートである。こ
の図5において、同期監視モード(S120)では、フ
ローとしては同期確認モードとほぼ同様であり、同期監
視フローのS121〜S129は、それぞれ同期確認フ
ローのS110〜S118に対応し、全く同じ処理を行
うものである。両モードの違いは、同期確認フローにお
けるS119の同期確立判定のためのLセル連続一致検
出部が同期監視モードにはなく、セル一致比較部S12
8において一致していた場合は、同期は保たれていると
考え、直ちに次のユーザセルの比較動作に移行するとこ
ろが特徴的に異なるものである。
((Synchronous monitoring mode)): FIG. 5 is an operation flowchart of the synchronous monitoring mode of one embodiment. In FIG. 5, in the synchronous monitoring mode (S120), the flow is almost the same as in the synchronous confirmation mode, and S121 to S129 of the synchronous monitoring flow correspond to S110 to S118 of the synchronous confirmation flow, respectively, and perform exactly the same processing. It is something to do. The difference between the two modes is that the L-cell consecutive match detection unit for determining the synchronization establishment in S119 in the synchronization confirmation flow is not in the synchronization monitoring mode, and the cell match comparison unit S12
If they coincide with each other in 8, it is considered that the synchronization is maintained, and the characteristic is that the operation immediately shifts to the comparison operation of the next user cell.

【0065】(位相同期確立の例): 図7は、以上
で説明した位相同期確立方法を使用し、実際に0系と1
系とに入力される信号を想定して動作させた場合の例を
表すものである。
(Example of establishing phase synchronization): FIG. 7 uses the phase synchronization establishing method described above, and actually uses 0 system and 1 system.
It shows an example in the case of operating assuming a signal input to the system.

【0066】この図7において、縦方向は時刻tを表
し、横方向はその時刻tにおける状態を表している。そ
こで、各要素の意味は次のようになっている。 0系入力……0系入力端子101からの時刻tでの入力
セル 1系入力……1系入力端子102からの時刻tでの入力
セル バッファメモリ内容……バッファ108に格納されてい
るセルの内容 P1……セレクタ112の入力ポートP1への入力セル P2……セレクタ112の入力ポートP2への入力セル P3……セレクタ112の入力ポートP3への入力セル P4……セレクタ112の入力ポートP4への入力セル 現用系出力……セレクタ112の出力セル。
In FIG. 7, the vertical direction represents time t, and the horizontal direction represents the state at that time t. Therefore, the meaning of each element is as follows. 0-system input: input cell from 0-system input terminal 101 at time t 1-system input: input cell from 1-system input terminal 102 at time t Buffer memory content: of cell stored in buffer 108 Content P1 ... Input cell to input port P1 of selector 112 P2 ... Input cell to input port P2 of selector 112 P3 ... Input cell to input port P3 of selector 112 P4 ... To input port P4 of selector 112 Input cell Working output ... Output cell of selector 112.

【0067】また、図7の例では、1系の入力セルの位
相が進んでおり、現用系は0系である場合を示してい
る。更に、0系のセルと1系のセルを区別するため、同
じ内容のセルを、0系のセルは大文字、1系のセルは小
文字で表している。
In the example of FIG. 7, the phase of the input cell of the 1-system is advanced and the active system is the 0-system. Furthermore, in order to distinguish 0-system cells and 1-system cells, cells having the same content are represented by capital letters for 0-system cells and lowercase letters for 1-system cells.

【0068】初めは位相差探索モードから開始する。こ
の位相差探索モードでは、初めに0系が進んでいると仮
定して探索を開始するが、バッファがフル(FULL)
になるまで一致比較を行っても同一セルは検出できない
ため、1系が進んでいると仮定し直して探索を始めるも
のである(S105以降)。
First, the phase difference search mode is started. In this phase difference search mode, the search is started on the assumption that the 0-system is advanced, but the buffer is full (FULL).
Since the same cell cannot be detected even if the coincidence comparison is performed until, the search is started again by assuming that the 1st system is advanced (S105 and later).

【0069】次に図7の『時刻t=0』において、0系
入力セルはY、1系入力セルはaであり、進んでいると
仮定している1系のセルaがバッファ108に書き込ま
れると共に、バッファ連続読出によって読み出される
(S106)。ここで、セル一致比較対象となるのは、
バッファ108から読み出されたセルa(=P2への入
力セル)と、セレクタ107の出力(遅れている系、つ
まり0系の入力=P1への入力)セルYであり、一致し
ないので次の入力を待つ。また、この場合、現用系出力
(セレクタ112の出力)としては0系のセルY(=P
1への入力セル)を出力する。
Next, at "time t = 0" in FIG. 7, the 0-system input cell is Y, the 1-system input cell is a, and the 1-system cell a, which is assumed to be advanced, is written in the buffer 108. At the same time, the data is read by the buffer continuous reading (S106). Here, the cell match comparison target is
The cell a (= input cell to P2) read from the buffer 108 and the output of the selector 107 (delayed system, that is, input of 0 system = input to P1) cell Y do not match, so the following Wait for input. In this case, the 0-system cell Y (= P) is used as the active system output (output of the selector 112).
(Input cell to 1) is output.

【0070】次に『時刻t=1』において、0系入力が
空セル、1系入力が空セルであり、1系の空セルがバッ
ファ108に書き込まれると共に、バッファ連続読出に
よってt=0において書き込まれたセルaが読み出され
る(S106)。ここで、セル一致比較対象となるの
は、このセルa(=P2への入力セル)と、セレクタ1
07の出力の空セルであり、一致しないので次の入力を
待つ。また、この現用系出力としては0系の空セル(=
P1への入力セル)を出力するものである。
Next, at "time t = 1", the 0-system input is an empty cell, the 1-system input is an empty cell, the 1-system empty cell is written in the buffer 108, and at the time of t = 0 by the buffer continuous read. The written cell a is read (S106). Here, the cell match comparison target is the cell a (= input cell to P2) and the selector 1
Since it is an empty cell of the output of 07 and does not match, it waits for the next input. In addition, as an output of this working system, an empty cell of system 0 (=
The input cell to P1) is output.

【0071】次に『時刻t=2』において、0系入力が
セルZ、1系入力がセルbであり、1系のセルbがバッ
ファ108に書き込まれると共に,バッファ連続読出に
よってt=0において書き込まれたセルaが読み出され
る(S106)。ここで、セル一致比較対象となるもの
は、このセルa(=P2への入力セル)と、セレクタ1
07の出力のセルZであり、一致しないので次の入力を
待つ。また、この場合に、現用系出力としては0系のセ
ルZ(=P1への入力セル)を出力するものである。
Next, at "time t = 2", the 0-system input is the cell Z, the 1-system input is the cell b, the 1-system cell b is written in the buffer 108, and the buffer continuous reading is performed at t = 0. The written cell a is read (S106). Here, the cell match comparison target is the cell a (= input cell to P2) and the selector 1
It is the cell Z of the output of 07, and since it does not match, it waits for the next input. In this case, the 0-system cell Z (= input cell to P1) is output as the active system output.

【0072】次に図7の『時刻t=3』において、0系
入力が空セル、1系入力が空セルであり、t=1のとき
と同様な処理を行う。従って、バッファ108に空セル
が書き込まれると共に、一致比較では一致しないため、
現用系出力として0系の空セルを出力し、次の入力を待
つものである。
Next, at "time t = 3" in FIG. 7, the 0-system input is an empty cell and the 1-system input is an empty cell, and the same processing as when t = 1 is performed. Therefore, since an empty cell is written in the buffer 108 and there is no match in the match comparison,
It outputs an empty cell of system 0 as an active system output and waits for the next input.

【0073】次に『時刻t=4』において、0系入力が
セルA、1系入力が空セルであり、1系の空セルがバッ
ファ108に書き込まれると共に、バッファ連続読出に
よってt=0において書き込まれたセルaが読み出され
る(S106)。ここで、セル一致比較対象となるの
は、このセルa(=P2への入力セル)と、セレクタ1
07の出力のセルAであり、一致するため、現用系出力
としては0系のセルA(=P1への入力セル)を出力す
ると共に、同期確認モードへ移行するものである。
Next, at "time t = 4", the 0-system input is the cell A, the 1-system input is an empty cell, the 1-system empty cell is written in the buffer 108, and the buffer continuous reading is performed at t = 0. The written cell a is read (S106). Here, the cell match comparison target is the cell a (= input cell to P2) and the selector 1
Since it is the cell A having the output of 07 and coincides, the cell A of the 0 system (= input cell to P1) is output as the current system output, and the mode is shifted to the synchronization confirmation mode.

【0074】次に『時刻t=5』において、現用系入力
が空セル、予備系入力がセルcであり、1系のセルcが
バッファ108に書き込まれると共に、セレクタ107
の出力(=0系入力)が空セルであるため(S10
7)、バッファの読出しを停止し、更に次はバッファか
ら読み出すセルが空セルであるため(S112)、この
空セルを読み飛ばし(S113)、次の入力を待つ。
Next, at "time t = 5", the active system input is an empty cell, the standby system input is a cell c, and the system 1 cell c is written in the buffer 108 and the selector 107
Output (= 0 system input) is an empty cell (S10
7) The reading of the buffer is stopped, and since the cell to be read from the buffer is an empty cell (S112), the empty cell is skipped (S113) and the next input is awaited.

【0075】この操作によって、結果的にセルbがバッ
ファの先頭になる。また、この場合も現用系出力として
は0系の空セル(=P1への入力セル)を出力するもの
である。
As a result of this operation, cell b becomes the head of the buffer. Also in this case, a 0-system empty cell (= input cell to P1) is output as the active system output.

【0076】次に『時刻t=6』において、0系入力が
セルB、1系入力が空セルであり、1系の空セルがバッ
ファ108に書き込まれると共に、セレクタの出力もバ
ッファの読出セルも共にユーザセルであるので(S11
0、S114)、バッファ順次読出によって1系のセル
bを読み出し、0系のセルBと一致比較する。ここで、
比較結果は一致であるが、連続L回一致した訳ではない
ので、次の入力を待つものである。
Next, at "time t = 6", the 0-system input is the cell B, the 1-system input is an empty cell, the 1-system empty cell is written in the buffer 108, and the output of the selector is also the read cell of the buffer. Since both are user cells (S11
0, S114), the 1-system cell b is read by the buffer sequential read, and the 0-system cell B is coincident with and compared. here,
Although the comparison result shows a match, it does not mean that the match has occurred L times consecutively, and therefore the system waits for the next input.

【0077】次に『時刻t=7以降』、t=5及びt=
6で行った処理を繰り返し、一致比較の結果がL回連続
して一致した場合には同期監視モードへ移行する。また
M回連続して不一致が検出された場合には、もう一度位
相差探索モードから処理を行うものである。
Next, "after time t = 7", t = 5 and t =
The processing performed in 6 is repeated, and if the result of the match comparison is L times consecutive matches, the mode shifts to the synchronous monitoring mode. Further, when the disagreement is detected M times consecutively, the process is performed again from the phase difference search mode.

【0078】(切り替えフロー): 図6は一実施例
の切替の動作フローチャートである。この図6におい
て、外部コントロールによって切り替え要求(S20
0)が与えられると、先ず無瞬断切替が可能な同期監視
モードであるか否かを確認する(S201)。
(Switching Flow): FIG. 6 is a flowchart of the switching operation of the embodiment. In FIG. 6, a switching request (S20
When 0) is given, it is first confirmed whether or not the mode is the synchronous monitoring mode capable of switching without interruption (S201).

【0079】同期監視モードでない場合は、予め規定し
た時間まで同期監視モードになる(位相同期が確立す
る)まで待つために、規定時間経過していない場合はS
201を繰り返す(S202)。規定時間待っても同期
監視モードにならない場合は、位相同期はとれない(と
ることのできない)状態であるとし、強制的に現用系か
ら予備系に系を切替える(S203)。このときにセレ
クタ112は、現用系が0系のときは、入力選択をポー
トP1からポートP4へ切替える。また、現用系が1系
のときは入力選択をポートP4からポートP1へ切替え
る。当然このときには無瞬断切替えとはならない。
If the synchronous monitoring mode is not set, the process waits until the synchronous monitoring mode is entered (phase synchronization is established) until a predetermined time.
201 is repeated (S202). If the synchronization monitoring mode is not entered even after waiting for the specified time, it is determined that phase synchronization cannot be achieved (cannot be achieved), and the system is forcibly switched from the active system to the standby system (S203). At this time, the selector 112 switches the input selection from the port P1 to the port P4 when the active system is the 0 system. When the active system is the 1 system, the input selection is switched from the port P4 to the port P1. Of course, at this time, there is no instantaneous interruption switching.

【0080】S201の同期監視モードの判断におい
て、同期監視モードであった場合、次は現用系の位相が
進んでいるのか、それとも予備系の位相が進んでいるの
かを確認する(S205)。ここで、現用系の位相が進
んでいた場合、バッファ108に格納されているセルは
現用系のセルであり、既に現用系出力端子113へ出力
が終了しているものであると同時に、予備系入力にはま
だ現れていないセルである。
If it is determined in the synchronous monitoring mode in S201 that it is in the synchronous monitoring mode, it is next confirmed whether the phase of the active system is advanced or the phase of the standby system is advanced (S205). Here, when the phase of the active system is advanced, the cell stored in the buffer 108 is the active system cell, and the output to the active system output terminal 113 has already been completed. A cell that has not yet appeared in the input.

【0081】このまま、予備系に切替えてしまうと、同
じ内容のセルが重複して出力されてしまうため、既に出
力してしまったセル、つまり、切替え要求時にバッファ
に格納されていたセルと同じ内容のセルが全て予備系入
力に現れてからでなければ切替えは行えない。
If the system is switched to the standby system as it is, the cells having the same contents are output in duplicate. Therefore, the already output cells, that is, the same contents as the cells stored in the buffer at the time of the switching request. The switching can be performed only after all the cells of have appeared in the input of the standby system.

【0082】そこで、バッファに格納されていたセルと
同じ内容のセルが全て予備系入力に現れるまでの間は、
空セルを挿入してタイミングの調整を行う(S20
6)。このときにセレクタ112は、現用系入力ポート
(0系のときはポートP1、1系のときはポートP4)
から空セル生成部111からの入力であるポートP3へ
切替える。
Therefore, until all the cells having the same contents as the cells stored in the buffer appear in the spare input,
Insert an empty cell to adjust the timing (S20
6). At this time, the selector 112 uses the active input port (port P1 for 0 system, port P4 for 1 system).
To port P3 which is an input from the empty cell generation unit 111.

【0083】その後、予備系の入力セルとバッファ出力
を比較するために同期監視(セル一致比較)を続行し
(S207)、切替え要求時にバッファに格納されてい
たセルが全て予備系入力に現れるのを待つものである
(S208)。全てが現れるまではS207に戻り、同
期監視を続ける。
Thereafter, the synchronous monitoring (cell coincidence comparison) is continued to compare the input cell of the spare system and the buffer output (S207), and all the cells stored in the buffer at the time of the switching request appear in the input of the spare system. To wait for (S208). Until all appear, the process returns to S207 and the synchronization monitoring is continued.

【0084】そこで、全てのセルが現れたときには、空
セルの挿入を停止し、予備系に切替える(S209)。
即ち、セレクタ112は、入力ポートP3から予備系入
力ポート(現用系が0系のときにはポートP4、1系の
ときにはポートP1)への切替えを行う。これによっ
て、無瞬断切替えを完了するものである(S214)。
Therefore, when all cells have appeared, the insertion of empty cells is stopped and the system is switched to the standby system (S209).
That is, the selector 112 switches from the input port P3 to the standby system input port (port P4 when the active system is the 0 system, and port P1 when the active system is the 1 system). This completes the non-instantaneous interruption switching (S214).

【0085】また、S205の判断において、現用系が
進んでいない、つまり、予備系の位相が進んでいた場
合、バッファ108に格納されているセルは予備系のセ
ルであり、同期監視モードであるということは、即ち、
現用系の入力とバッファ出力との同期が確立しているこ
とを示すものである。従って、この場合には切替え要求
があれば、現用系からバッファ出力へ直ちに切替えるこ
とができる(S210)。但し、切替えタイミングはバ
ッファ108の出力及びセレクタ107の出力が共にユ
ーザセルであった場合であり、それまでは同期監視モー
ドの動作を維持する。
If it is determined in S205 that the active system is not advanced, that is, the phase of the standby system is advanced, the cell stored in the buffer 108 is the standby cell and is in the synchronous monitoring mode. That means,
This indicates that the synchronization between the input of the active system and the buffer output is established. Therefore, in this case, if there is a switching request, it is possible to immediately switch from the active system to the buffer output (S210). However, the switching timing is when both the output of the buffer 108 and the output of the selector 107 are user cells, and the operation in the synchronous monitoring mode is maintained until then.

【0086】このときに、セレクタ112は、現用系入
力ポート(現用系が0系のときはポートP1、1系のと
きはポートP4)からバッファ108からの入力ポート
であるポートP2へ切替えるものである。
At this time, the selector 112 switches from the active system input port (port P1 when the active system is the 0 system, port P4 when the active system is the 1 system) to the port P2 which is the input port from the buffer 108. is there.

【0087】尚、ここでバッファ出力に切り替えただけ
では、バッファに格納されたセル数分の遅延が予備系に
加えられていることになるため、実際にはこの遅延を徐
々に削減し、最終的には遅延が付加されていない予備系
入力ポートP1又はP4に変更する必要がある。この遅
延の削減は空セルを廃棄することによって行うものであ
るが、無計画に空セルを廃棄すると、ユーザのセル間隔
が急激に縮む(ユーザセルの速度が上がる)ことが考え
られ、UPC(Usage Parameteer C
ontrol:ユーザからの申告値(平均速度・ピーク
速度など)によってユーザセルの速度を監視する機能)
によってネットワークでユーザセルが廃棄されてしまう
可能性がある。
It should be noted that if the buffer output is simply switched here, a delay corresponding to the number of cells stored in the buffer is added to the backup system. Therefore, this delay is actually gradually reduced to the final value. Specifically, it is necessary to change to the standby system input port P1 or P4 to which no delay is added. This reduction of delay is performed by discarding empty cells. However, if the empty cells are discarded unplanned, it is considered that the cell interval of the user is sharply shortened (the speed of the user cell is increased). Usage Parametermeter C
control: A function to monitor the speed of the user cell according to the value declared by the user (average speed, peak speed, etc.)
May cause user cells to be discarded in the network.

【0088】このため、空セルの廃棄はUPCへの影響
を考慮し、xセルに1回行うことにし、急激に間隔が縮
まらないように徐々に遅延を削減する(S211)。但
し、xセル毎に必ず空セルが有るとは限らないので、1
つ空セルを廃棄した後、xセル通過するのを待ち、その
後初めて現れた空セルを廃棄するようにする。ここでx
の値は、上述したようにUPCへの影響が少なくなるよ
うな値を設定することが好ましい。
Therefore, in consideration of the effect on UPC, empty cells are discarded once for x cells, and the delay is gradually reduced so that the interval is not sharply shortened (S211). However, there is not always an empty cell for each x cell, so 1
After discarding one empty cell, wait for x cells to pass, and then discard the empty cell that appears for the first time. Where x
The value of is preferably set to a value that reduces the influence on UPC as described above.

【0089】このようにして、徐々に遅延を削減してゆ
き、バッファが空になったか否か(遅延を削減し終わっ
たか否か)を確認し(S212)、まだである場合はS
211の空セル廃棄に戻り更に遅延を削減し、空になっ
たときには予備系を選択する(S213)。このときに
セレクタ112は、入力ポートP2から予備系入力ポー
ト(現用系が0系のときはポートP4、1系のときはポ
ートP1)への切り替えを行う。これによって、無瞬断
切替えを完了(S214)するものである。
In this way, the delay is gradually reduced, and it is confirmed whether or not the buffer has become empty (whether or not the delay has been reduced) (S212), and if not, S
Returning to the empty cell discard of 211, the delay is further reduced, and when it becomes empty, the backup system is selected (S213). At this time, the selector 112 switches from the input port P2 to the standby system input port (port P4 when the active system is the 0 system, and port P1 when the active system is the 1 system). This completes the non-instantaneous interruption switching (S214).

【0090】(切替え動作例): 図8は一実施例の
0系が現用系で1系の位相が進んでいるときの切替え動
作例の説明図である。この図8の見方は上述の位相同期
確立の例で説明した通りであるが、切替え要求という項
目が増えている。ここで1が示されている時刻が切替え
要求が発生した時刻である。
(Example of Switching Operation): FIG. 8 is an explanatory diagram of an example of the switching operation when the 0-system is the active system and the phase of the 1-system is advanced in one embodiment. The view of FIG. 8 is as described in the example of the phase synchronization establishment described above, but the item of switching request is increasing. The time indicated by 1 here is the time when the switching request is generated.

【0091】また、既に位相同期が取られている状態を
示しおり、更に切替えフローのS211の空セル廃棄の
xの値は、簡単のために2としたときの動作を示してい
る。
Further, it shows a state where the phase synchronization has already been taken, and further shows the operation when the value x of the empty cell discard in S211 of the switching flow is set to 2 for simplicity.

【0092】この図8において、『時刻t=0〜t=
3』までは、同期監視モードであるため、バッファ10
8の出力とセレクタ107の出力の同期とが取られてい
る状態にあり、位相同期確立例で示したような処理を行
っている。このときの現用系出力は、現用系である0系
の入力(P1への入力)がそのまま選択され、出力され
ている。但し、時刻t=3において切替え要求が発生し
たため、次の『時刻t=4』から切替え動作を行う。
In FIG. 8, "time t = 0 to t =
3 ”is in the synchronous monitoring mode, the buffer 10
8 is in synchronization with the output of the selector 107, and the processing shown in the phase synchronization establishment example is performed. As the output of the active system at this time, the input of the active system 0 system (input to P1) is directly selected and output. However, since the switching request is generated at time t = 3, the switching operation is performed from the next “time t = 4”.

【0093】この『時刻t=4』において同期監視モー
ドであり(S201)、現用系である0系は位相が遅れ
ているため(S205)、セレクタ112の入力ポート
を直ちにP1からP2のバッファ出力に変更することが
可能である。但し、時刻t=4においてセレクタ107
の出力は空セルであるため、セレクタ107の出力にユ
ーザセルが現れるまで切替えは行わない。
At this "time t = 4", the synchronous monitoring mode is set (S201), and the phase of the active system 0 is delayed (S205). Therefore, the input port of the selector 112 is immediately output from the buffers P1 to P2. Can be changed to. However, at time t = 4, the selector 107
Is an empty cell, switching is not performed until a user cell appears in the output of the selector 107.

【0094】また、セレクタ107の出力にユーザセル
が現れるまでは、同期確認モードを継続する。このとき
に、現用系出力は現用系である0系の空セルが出力され
る。
Further, the synchronization confirmation mode is continued until a user cell appears in the output of the selector 107. At this time, as an active system output, an empty cell of the active system 0 system is output.

【0095】次に『時刻t=5』において、セレクタ1
07の出力である0系入力セルはセルBであり、ユーザ
セルである。また、バッファメモリの先頭もユーザセル
であるセルbであるので、ここで同期監視モードの動作
を終了し、バッファの読み出しモードを空セル等を含め
た順次読出モードに変更した上で、系を切り替える。
Next, at "time t = 5", the selector 1
The 0-system input cell, which is the output of 07, is cell B, which is a user cell. Further, since the head of the buffer memory is also the cell b which is the user cell, the operation of the synchronous monitoring mode is ended here, the read mode of the buffer is changed to the sequential read mode including the empty cell, and the Switch.

【0096】実際にはセレクタ112の入力ポートの選
択をP1からP2へ変更する。これによって現用系出力
は、バッファに格納された1系のセルbが選択され、出
力される。これ以降バッファによって与えられた遅延を
削減するため、バッファに入力されてくる(1系の)空
セルを、x(=2)セルごとに廃棄するという処理を行
う。
Actually, the selection of the input port of the selector 112 is changed from P1 to P2. As a result, as the active system output, the 1-system cell b stored in the buffer is selected and output. After that, in order to reduce the delay given by the buffer, a process of discarding (1 system) empty cells input to the buffer for each x (= 2) cells is performed.

【0097】次に『時刻t=6』において、バッファ入
力の1系セルが空セルであるので、ここで空セルを廃棄
するためにバッファには書き込まれない。x=2である
ので、次の空セル廃棄タイミングは時刻t=8である。
また、このときの現用系出力は、バッファの読み出しモ
ードが空セル等を含めた順次読出モードとなっているた
め、セルbの次に格納されていた空セルが出力される。
Next, at "time t = 6", since the 1st system cell of the buffer input is an empty cell, it is not written in the buffer in order to discard the empty cell here. Since x = 2, the next empty cell discard timing is time t = 8.
Further, in the active system output at this time, since the read mode of the buffer is the sequential read mode including empty cells and the like, the empty cell stored next to the cell b is output.

【0098】次に『時刻t=7』において、バッファ入
力の1系セルがセルdであり、バッファに書き込まれる
と共に、順次読出によって空セルが読み出され、現用系
出力として出力される。
Next, at "time t = 7", the 1-system cell of the buffer input is the cell d, which is written in the buffer, and at the same time, the empty cells are read by sequential reading and output as the active system output.

【0099】次に『時刻t=8』において、バッファ入
力の1系セルがセルeであり、空セル廃棄タイミングで
はあるが廃棄は行えない。従って、セルeはバッファに
書き込まれると共に、順次読出によってセルcが読み出
され、現用系出力として出力されるものである。空セル
の廃棄は次にバッファに空セルが入力されるまで待つも
のである。
Next, at "time t = 8", the cell 1 of the buffer input is cell e, and although it is the empty cell discard timing, it cannot be discarded. Therefore, the cell e is written in the buffer, and the cell c is read by sequential reading and is output as the active system output. Discarding an empty cell is to wait until the next empty cell is input to the buffer.

【0100】次に『時刻t=9』において、バッファ入
力の1系セルが空セルであるので、ここで空セルを廃棄
するためにバッファには書き込まない。ここで、廃棄が
行えたため、次の空セル廃棄タイミングは時刻t=11
である。また、このときの現用系出力は、バッファから
順次読出されたセルdが出力される。
Next, at "time t = 9", since the 1st cell of the buffer input is an empty cell, it is not written in the buffer in order to discard the empty cell here. Here, since discarding can be performed, the next empty cell discard timing is time t = 11.
Is. In addition, as the current system output at this time, the cells d sequentially read from the buffer are output.

【0101】次に『時刻t=10』において、バッファ
入力の1系セルがセルfであり、バッファに書き込まれ
ると共に、順次読出しによってセルeが読み出され、現
用系出力として出力される。
Next, at "time t = 10", the cell 1 of the buffer input is the cell f, which is written in the buffer, and the cell e is read by sequential reading and output as the active output.

【0102】次に『時刻t=11』において、バッファ
入力の1系セルが空セルであり、空セル廃棄タイミング
であるので、この空セルはバッファには書き込まずに廃
棄するのである。ここで廃棄が行えたことによって、バ
ッファ内に格納されているセルはセルfだけとなり、同
時に現用系出力として読み出されるため、バッファエン
プティ(Empty)という状態になる。
Next, at "time t = 11", the 1st cell of the buffer input is an empty cell, and it is the empty cell discard timing, so this empty cell is discarded without being written in the buffer. Since the cells are discarded here, only the cell f is stored in the buffer, and at the same time, the cells are read out as the current system output, so that the state becomes the buffer empty (Empty).

【0103】従って、『時刻t=12』においてセレク
タ112の入力ポートをP2からP4へ変更し(S21
3)、現用系出力に1系入力セルgを出力することによ
って無瞬断切替えは完了するのである(S214)。
Therefore, at "time t = 12", the input port of the selector 112 is changed from P2 to P4 (S21).
3) The non-instantaneous interruption switching is completed by outputting the 1-system input cell g to the active system output (S214).

【0104】図9は一実施例の1系が現用系で1系の位
相が進んでいるときの切替え動作例の説明図である。こ
の図9の見方は図8と同様に、切替え要求という項目が
増えている。ここで1が示されている時刻は切替え要求
が発生した時刻である。また、図8と同様に既に位相同
期が取られている状態を示しており、更にxの値は、簡
単のために2としたときの動作を示している。
FIG. 9 is an explanatory view of an example of the switching operation when the 1-system of the embodiment is the active system and the phase of the 1-system is advanced. As in the case of FIG. 8, the view of FIG. 9 has an increasing number of items called switching requests. The time indicated by 1 here is the time when the switching request is generated. Further, like FIG. 8, it shows a state in which phase synchronization has already been taken, and further shows the operation when the value of x is set to 2 for simplicity.

【0105】先ず『時刻t=0〜t=3』までは同期監
視モードであるため、バッファ108の出力とセレクタ
107の出力の同期が取られている状態にあり、位相同
期確立例で示したような処理を行っている。このときの
現用系出力は、現用系である1系の入力(P4への入
力)がそのまま選択され、出力されている。但し、時刻
t=3において切替え要求が発生したため、次の時刻t
=4から切替え動作を行うものである。
First, since "time t = 0 to t = 3" is in the synchronization monitoring mode, the output of the buffer 108 and the output of the selector 107 are in synchronization with each other. I am performing such processing. At this time, as the output of the active system, the input of the active system 1 (input to P4) is directly selected and output. However, since a switching request is generated at time t = 3, the next time t
The switching operation is performed from = 4.

【0106】次に『時刻t=4』において、同期監視モ
ードであり(S201)、現用系である1系は位相が進
んでいるため(S205)、セレクタ112の入力ポー
トを直ちにP4からP3の空セル生成部の出力に変更
し、現用系出力として空セルを挿入する。その後、比較
対象セルを有効セルまで拡張した同期監視モードを継続
する。
Then, at "time t = 4", the synchronous monitoring mode is set (S201), and the phase of the active system 1 is advanced (S205). Therefore, the input port of the selector 112 is immediately changed from P4 to P3. Change to the output of the empty cell generator and insert an empty cell as the active output. After that, the synchronization monitoring mode in which the comparison target cell is expanded to the valid cell is continued.

【0107】切替え要求があった時刻t=3において、
バッファに蓄えられているセルの内、一番最後に書き込
まれた有効セルは時刻t=3のときに入力されたセルb
であるので、このセルbと同じ内容のセルが、予備系で
ある0系入力(セレクタ107の出力)に現れるまで空
セルを挿入しつづける。そして、時刻t=4での0系入
力は空セルであるので、次の入力セルを待つものである
(S208)。
At time t = 3 when the switching request is issued,
Of the cells stored in the buffer, the last valid cell written is the cell b input at the time t = 3.
Therefore, empty cells are continuously inserted until a cell having the same contents as the cell b appears at the 0-system input (output of the selector 107) which is the backup system. Since the 0-system input at time t = 4 is an empty cell, it waits for the next input cell (S208).

【0108】次に『時刻t=5』において、0系入力
(セレクタ107の出力)がセルBであり、切替え要求
時にバッファに格納されていた最後の有効セルbと同じ
内容のセルであるのでこの時点で、既に現用系出力とし
て出力されてしまったセルが予備系入力(0系入力)に
現れたことになる(S208)。従って、時刻t=5で
は、セレクタ112はまだ空セル(ポートP3)を出力
するが、次のセル入力タイミング、つまり、時刻t=6
において切替えることができる。
Next, at "time t = 5", the 0-system input (output of the selector 107) is the cell B, which has the same content as the last valid cell b stored in the buffer at the time of the switching request. At this point, a cell that has already been output as the current system output has appeared in the standby system input (0 system input) (S208). Therefore, at time t = 5, the selector 112 still outputs an empty cell (port P3), but at the next cell input timing, that is, time t = 6.
Can be switched on.

【0109】次に『時刻t=6』では、上述のように切
替え動作を行う。そして、セレクタ112において、空
セル生成部からの入力(ポートP3)から、予備系(0
系)の入力(ポートP1)へ選択を変更し、現用系出力
には0系の空セルを出力する(S209)。これによっ
て、無瞬断切替えを終了し(S214)、以降は0系を
現用系として運用するものである。
Next, at "time t = 6", the switching operation is performed as described above. Then, in the selector 112, from the input (port P3) from the empty cell generation unit, the standby system (0
The selection is changed to the input (port P1) of the (system), and the empty cell of the system 0 is output to the active system output (S209). As a result, the non-instantaneous interruption switching is completed (S214), and thereafter, the 0 system is operated as the active system.

【0110】(一実施例の効果): 以上の一実施例
の無瞬断切替装置によれば、通常の網運用時には現用系
に両系の同期を保つための遅延は挿入されず、現用系の
伝送路の方が予備系の伝送路よりも短い場合、つまり、
現用系の位相が予備系の位相よりも進んでいる場合は、
伝送路長分の伝送遅延だけでセレクタを通過させること
ができる。
(Effect of One Embodiment): According to the hitless switching apparatus of the above one embodiment, during normal network operation, no delay is inserted in the active system to maintain the synchronization of both systems, and the active system is not inserted. If the transmission line of is shorter than the transmission line of the standby system, that is,
If the phase of the active system is ahead of the phase of the standby system,
The selector can be passed only by the transmission delay corresponding to the transmission path length.

【0111】また、セレクタは、切替時以外の期間に
は、少なくとも2系統以上のそれぞれの入力信号系統
と、遅延された入力信号系統と、空セル生成部111に
よって生成された空セル信号系統との内、いすれかの現
用系入力信号系統をそのまま現用系出力信号系統として
選択出力し、切替信号が与えられ切替え動作に移行する
ときには現用系出力信号系統の位相が進んでいるか、或
いは遅れているかによっていずれかの入力信号系統を選
択出力するので、仮想的に常時同期を行い、切替え要求
時には即座に現用系出力の切替えを行うことができる。
Further, the selector has at least two or more respective input signal systems, a delayed input signal system, and an empty cell signal system generated by the empty cell generation unit 111 during the period other than the switching time. Among them, any one of the active system input signal system is selected and output as it is as the active system output signal system, and when the switching signal is given and the switching operation is started, the phase of the active system output signal system is advanced or delayed. Since either input signal system is selected and output depending on whether or not there is a request, it is possible to virtually constantly synchronize and immediately switch the output of the active system when a switching request is made.

【0112】従って、常時同期法のように、常時両系の
位相差分の遅延が加算されることはなく、ネットワーク
全体としての遅延量を削減することができる。
Therefore, unlike the constant synchronization method, the delay of the phase difference between both systems is not always added, and the delay amount of the entire network can be reduced.

【0113】更に、仮想的には常時同期法による位相差
吸収を行っているため、常時同期法の利点が損なわれる
ことはない上に、両系のセル流で、切替え時以外の期間
に空セル以外で異なった位置に挿入されるセル(OAM
セル・リソース管理セル等)があった場合であっても同
期を保つことができる。
Further, virtually, the phase difference is absorbed by the constant synchronization method, so that the advantage of the constant synchronization method is not impaired, and the cell flow of both systems is not used during the period other than switching. Cells (OAM) inserted at different positions other than cells
Even if there is a cell / resource management cell, etc.), the synchronization can be maintained.

【0114】また、装置の構成が簡単であるため、LS
I化にも好適であり、これによって小形化も図ることが
できる。また、消費電力が大きくなるような要素もない
ので効果的であると考えられる。
Since the device has a simple structure, the LS
It is also suitable for I-type, and can be made compact. Moreover, it is considered to be effective because there is no element that increases power consumption.

【0115】従って、ATM通信システムにおける伝送
装置や交換装置などに適用した場合に非常に効果的であ
ると考えられる。
Therefore, it is considered to be very effective when applied to a transmission device or a switching device in an ATM communication system.

【0116】(他の実施例): (1)尚、上述の実
施例においては、入力を2系統としているが、入力を複
数系統備え、その内の1つを現用系とし、その他を予備
系とするような構成でも対応することができる。また、
無瞬断切替装置として説明したが、一般的には信号系統
選択出力装置として適用し得るものである。
(Other Embodiments) (1) In the above-mentioned embodiment, although the input has two systems, a plurality of inputs are provided, one of which is the working system, and the other is the standby system. It is possible to deal with such a configuration. Also,
Although it has been described as the non-instantaneous interruption switching device, it can be generally applied as a signal system selection output device.

【0117】(2)また、装置間の伝送路の切替えに
も、装置内の冗長構成部の切替えにも適用可能である。
また、物理的な伝送路の切替えだけでなく、論理的なパ
ス(VP)の切替えにも適用可能である。
(2) Further, the present invention can be applied to the switching of the transmission line between the devices and the switching of the redundant configuration part in the device.
Further, it is applicable not only to the physical switching of the transmission path but also to the logical path (VP) switching.

【0118】(3)更に、上述の実施例では0系が進ん
でいると仮定して位相差探索を始めているが、先に1系
が進んでいると仮定して始めてもよい。
(3) Further, in the above embodiment, the phase difference search is started on the assumption that the 0-system is advanced, but it may be started on the assumption that the 1-system is advanced.

【0119】(4)更にまた、ATM伝送方式のセルを
用いた方法として説明しているが、固定長のパケット、
可変長パケットを使用するパケット通信であれば同様に
適用可能である。
(4) Furthermore, although a method using cells of the ATM transmission system has been described, fixed length packets,
The same applies to packet communication using variable-length packets.

【0120】(5)また、セレクタ112、106、1
07などは、ゲート回路、フリップフロップ回路、シフ
トレジスタ回路、メモリ、これらの複合回路などで実現
することが小形化、低消費電力化の上で好ましいと考え
られる。
(5) Also, the selectors 112, 106, 1
It is considered that it is preferable to implement 07 and the like with a gate circuit, a flip-flop circuit, a shift register circuit, a memory, a composite circuit thereof, or the like in terms of downsizing and low power consumption.

【0121】[0121]

【発明の効果】以上述べた様にこの発明の信号系統選択
出力装置は、入力信号系統からユーザパケットを検出す
るユーザパケット検出手段と、他の入力信号系統よりも
位相が進んでいる入力信号系統を遅延させる遅延手段
と、遅延されていない入力信号系統のユーザパケット
と、遅延手段によって遅延された入力信号系統のユーザ
パケットとの一致比較を行う一致比較手段と、この一致
比較手段の結果から位相が進んでいる入力信号系統のパ
ケットの位相を遅延させる遅延量を制御する遅延量制御
手段と、一致比較手段によって一致するパケットを探索
し、この探索後位相差を保って常時同期を行う同期手段
と、空パケットを生成出力する空パケット生成手段と、
少なくとも2系統以上のそれぞれの入力信号系統、遅延
手段によって遅延された入力信号系統、空パケット生成
手段によって生成された空パケット信号系統、のいずれ
かから現用系出力を選択出力する信号選択手段とを備え
たものである。
As described above, the signal system selecting / outputting device of the present invention has the user packet detecting means for detecting a user packet from the input signal system and the input signal system having a phase advanced from other input signal systems. Delay means for delaying, the user packet of the input signal system which has not been delayed, the coincidence comparing means for performing coincidence comparison of the user packet of the input signal system delayed by the delay means, and the phase from the result of the coincidence comparing means. Delay amount control means for controlling the delay amount for delaying the phase of the packet of the input signal system that is advancing, and a synchronization means for always searching for a matching packet by the coincidence comparing means and maintaining a phase difference after the search. And an empty packet generating means for generating and outputting an empty packet,
At least two or more respective input signal systems, input signal systems delayed by the delay means, and empty packet signal systems generated by the empty packet generation means, and signal selection means for selectively outputting the active system output. Be prepared.

【0122】このような構成を採ることで、簡単な構成
で切替時以外の通常動作時には現用系の選択出力の遅延
時間を短くし、しかも無瞬断で切替えを行うことができ
るものである。
By adopting such a configuration, the delay time of the selection output of the active system can be shortened and switching can be performed without interruption during normal operation other than switching with a simple configuration.

【0123】従って、この発明をATM通信における伝
送装置や交換装置などに適用した場合に、非常に効果的
であると考えられる。
Therefore, when the present invention is applied to a transmission device or a switching device in ATM communication, it is considered to be very effective.

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

【図1】この発明の一実施例の無瞬断切替装置の機能構
成図である。
FIG. 1 is a functional configuration diagram of a hitless switching device according to an embodiment of the present invention.

【図2】一実施例の位相同期確立の状態遷移図である。FIG. 2 is a state transition diagram of phase synchronization establishment according to an embodiment.

【図3】一実施例の位相差探索フローチャートである。FIG. 3 is a phase difference search flowchart of one embodiment.

【図4】一実施例の同期確認動作フローチャートであ
る。
FIG. 4 is a synchronization confirmation operation flowchart of one embodiment.

【図5】一実施例の同期監視動作フローチャートであ
る。
FIG. 5 is a flowchart of a synchronization monitoring operation according to an embodiment.

【図6】一実施例の切替え動作フローチャートである。FIG. 6 is a flowchart of a switching operation according to an embodiment.

【図7】一実施例の位相同期確立例(1系が進んでいる
場合)の説明図である。
FIG. 7 is an explanatory diagram of an example of establishing phase synchronization (when one system is advanced) in one embodiment.

【図8】一実施例の0系が現用系の場合の切替え動作説
明図である。
FIG. 8 is an explanatory diagram of a switching operation when the 0-system is the active system according to the embodiment.

【図9】一実施例の1系が現用系の場合の切替え動作説
明図である。
FIG. 9 is an explanatory diagram of a switching operation when one system in one embodiment is a working system.

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

101…0系入力端子、102…1系入力端子、103
…切替信号入力端子、104、105…ユーザセル検出
部、106、107、112…セレクタ、108…バッ
ファ、109…制御部、110…一致比較部、111…
空セル生成部、113…現用系出力端子。
101 ... 0 system input terminal, 102 ... 1 system input terminal, 103
... switching signal input terminal, 104, 105 ... user cell detection unit, 106, 107, 112 ... selector, 108 ... buffer, 109 ... control unit, 110 ... coincidence comparison unit, 111 ...
Empty cell generation unit, 113 ... Active output terminal.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも2系統以上の信号系統が入力
され、いずれかの入力信号系統を現用系出力として選択
出力する信号系統選択出力装置において、 それぞれの入力信号系統からユーザパケットを検出する
ユーザパケット検出手段と、 他の入力信号系統よりも位相が進んでいる入力信号系統
を遅延させる遅延手段と、 遅延されていない入力信号系統のユーザパケットと、上
記遅延手段によって遅延された入力信号系統のユーザパ
ケットとの一致比較を行う一致比較手段と、 この一致比較手段の結果から位相が進んでいる入力信号
系統のパケットの位相を遅延させる遅延量を制御する遅
延量制御手段と、 上記一致比較手段によって一致するパケットを探索し、
この探索後位相差を保って常時同期を行う同期手段と、 空パケットを生成出力する空パケット生成手段と、 少なくとも2系統以上のそれぞれの入力信号系統、上記
遅延手段によって遅延された入力信号系統、上記空パケ
ット生成手段によって生成された空パケット信号系統、
のいずれかから現用系出力を選択出力する信号選択手段
とを備えたことを特徴とする信号系統選択出力装置。
1. A signal packet selecting / outputting device for inputting at least two signal signals and selectively outputting any one of the input signal signals as an active signal output, the user packet detecting a user packet from each input signal signal. Detecting means, delay means for delaying an input signal system whose phase is ahead of other input signal systems, user packets for an undelayed input signal system, and a user for an input signal system delayed by the delay means The coincidence comparison means for performing coincidence comparison with the packet, the delay amount control means for controlling the delay amount for delaying the phase of the packet of the input signal system whose phase is advanced from the result of the coincidence comparison means, and the coincidence comparison means Search for matching packets,
A synchronizing means for constantly synchronizing the phase difference after the search, an empty packet generating means for generating and outputting an empty packet, at least two or more input signal systems, an input signal system delayed by the delay means, An empty packet signal system generated by the empty packet generating means,
And a signal selecting means for selectively outputting an active system output from any one of the above.
【請求項2】 上記信号選択手段は、 切替時以外の期間には、少なくとも2系統以上のそれぞ
れの入力信号系統と、上記遅延手段によって遅延された
入力信号系統と、空パケット生成手段によって生成され
た空パケット信号系統との内、いずれかの現用系入力信
号系統をそのまま現用系出力信号系統として選択出力
し、 切替え要求信号が与えられ切替え動作に移行するときに
は現用系出力信号系統の位相が進んでいるか、或いは遅
れているかによっていずれかの入力信号系統を選択出力
することを特徴とした請求項1記載の信号系統選択出力
装置。
2. The signal selecting means is generated by at least two or more respective input signal systems, an input signal system delayed by the delay means, and an empty packet generating means during a period other than switching. Of the empty packet signal systems, the active system input signal system is selected and output as it is as the active system output signal system, and the phase of the active system output signal system advances when a switching request signal is given and the switching operation is started. 2. The signal system selection output device according to claim 1, wherein any one of the input signal systems is selectively output depending on whether it is delayed or delayed.
JP20663794A 1994-08-31 1994-08-31 Signal system selection output device Expired - Fee Related JP3380057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20663794A JP3380057B2 (en) 1994-08-31 1994-08-31 Signal system selection output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20663794A JP3380057B2 (en) 1994-08-31 1994-08-31 Signal system selection output device

Publications (2)

Publication Number Publication Date
JPH0879254A true JPH0879254A (en) 1996-03-22
JP3380057B2 JP3380057B2 (en) 2003-02-24

Family

ID=16526662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20663794A Expired - Fee Related JP3380057B2 (en) 1994-08-31 1994-08-31 Signal system selection output device

Country Status (1)

Country Link
JP (1) JP3380057B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013065477A1 (en) * 2011-11-01 2013-05-10 株式会社日立製作所 Communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013065477A1 (en) * 2011-11-01 2013-05-10 株式会社日立製作所 Communication system

Also Published As

Publication number Publication date
JP3380057B2 (en) 2003-02-24

Similar Documents

Publication Publication Date Title
US5283782A (en) System switching method and apparatus without loss of signal in cell switching system of asynchronous transfer mode
JPH05130134A (en) System changeover system in atm exchange
EP0607673A2 (en) Asynchronous transfer mode (ATM) switch fabric
JPH0498917A (en) Switching method without short break for atm transmission line and its circuit
US6633961B2 (en) Buffer apparatus with data insertion control function, insertion data controlling method, and data insertion apparatus with data insertion control function
JP2901578B2 (en) ATM link switching method
JPH0879254A (en) Signal system selection and output device
JP3681587B2 (en) Cell disassembling apparatus, cell disassembling method, and computer-readable recording medium recording a program for causing computer to execute the method
JP2671576B2 (en) ATM switch redundant switching method
JPH04286242A (en) Device and method for hit-free switching
US5751695A (en) ATM cell flow control apparatus
SE509186C2 (en) Device and method for processing redundancy signals and a telecommunication system comprising the same
JPH04337935A (en) Data switching system
JP3157107B2 (en) Communication data buffer switching circuit
JPH11261598A (en) Atm switch system
JPH0823334A (en) No-hit switching method in duplicate transmission system and no-hit switching device
JP3067369B2 (en) ATM communication device having cell array synchronization function
JPH088922A (en) System switching device and system switching method
JP2828140B2 (en) ATM switch switching method
JP2795598B2 (en) System switching method in multiplexed ATM switching system
JP2997643B2 (en) Dual processing equipment
JP3310495B2 (en) Instantaneous interruption virtual path switching system
JPH05227196A (en) Continuous duplex switching device
JP3024630B2 (en) Communication path switching device
JPH04252631A (en) Synchronizing method for system multiplexing data communication system and system multiplexing data communication system of this method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081213

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091213

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091213

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101213

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101213

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111213

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111213

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121213

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131213

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees