JP2007067887A - Communications system, communication device, and line control method - Google Patents
Communications system, communication device, and line control method Download PDFInfo
- Publication number
- JP2007067887A JP2007067887A JP2005252016A JP2005252016A JP2007067887A JP 2007067887 A JP2007067887 A JP 2007067887A JP 2005252016 A JP2005252016 A JP 2005252016A JP 2005252016 A JP2005252016 A JP 2005252016A JP 2007067887 A JP2007067887 A JP 2007067887A
- Authority
- JP
- Japan
- Prior art keywords
- line
- data
- switching
- control information
- working
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、冗長を構成する複数の回線で装置間を接続する通信システムに関する。 The present invention relates to a communication system in which apparatuses are connected by a plurality of lines constituting redundancy.
従来、冗長を有する複数の回線で装置間を接続した通信システムが用いられている(例えば、特許文献1参照)。冗長構成には1:1冗長、N:1冗長などがある。 Conventionally, a communication system in which devices are connected by a plurality of redundant lines has been used (see, for example, Patent Document 1). Redundant configurations include 1: 1 redundancy and N: 1 redundancy.
N:1冗長は、N本の現用回線に対して1本の予備回線を備える構成である。障害の発生した現用回線で伝送されていたデータを予備回線に切り替えて伝送することにより、障害時にもデータ伝送を継続することができる。以下、この切り替えを「予備切り替え」という。 N: 1 redundancy is a configuration in which one protection line is provided for N working lines. By switching the data transmitted on the working line where the failure has occurred to the protection line and transmitting the data, data transmission can be continued even in the event of a failure. Hereinafter, this switching is referred to as “preliminary switching”.
N:1冗長では複数の現用回線が1つの予備回線を共有するので、他の現用回線で更に重大な障害が発生したときや、切り替えの原因となった現用回線の障害が復旧したときには、予備回線に切り替えていたデータを元の現用回線へ戻すことも考えられる。以下、この切り替えを「復旧切り替え」という。 In N: 1 redundancy, a plurality of working lines share one protection line. Therefore, when a more serious failure occurs in another working line or when the failure of the working line that caused the switching is recovered, It is also conceivable to return the data switched to the line to the original working line. Hereinafter, this switching is referred to as “recovery switching”.
また、一般に回線の切り替えでは、データを欠落させることなく無瞬断で切り替えを完了させることが望ましい。 Also, in general, in line switching, it is desirable to complete the switching without interruption without losing data.
図21は、N:1冗長回線を備えた従来の通信システムに用いられる中継装置の構成を示すブロック図である。この中継装置は前後両方の回線にN:1冗長を備える構成である。 FIG. 21 is a block diagram showing a configuration of a relay apparatus used in a conventional communication system having an N: 1 redundant line. This relay apparatus is configured to have N: 1 redundancy on both the front and rear lines.
図21を参照すると、中継装置は、切替部905、選択回路911〜91N、遅延回路921〜92N、主信号インタフェース931〜93N、バッファメモリ部941〜94N、位相調整部91S、遅延回路部92Y、主信号インタフェース部93Y、バッファメモリ部94Yを有している。
Referring to FIG. 21, the relay device includes a
現用系回線#1のデータは主信号として、遅延回路部921を経由して、また直接に選択回路部911に入力される。選択回路部911は、遅延回路部921を経由して入力したデータと、直接に入力したデータのいずれかを選択して出力する。通常、直接に入力したデータが選択される。選択回路部911からの主信号は主信号インタフェース931およびバッファメモリ部941を経由して切替部905に入力される。
The data of the
バッファメモリ部941へのデータの書き込みは主信号インタフェース931からの書き込み制御信号で制御される。また、バッファメモリ部941からのデータの読み出しは主信号インタフェース931からの読み出し制御信号で制御される。主信号インタフェース931は、主信号の基準フレームから書き込み制御信号および読み出し制御信号を生成する。
Data writing to the
同様に、現用系回線#Nのデータは主信号として、遅延回路部92Nを経由して、あるいは直接に選択回路部91Nに入力される。その主信号は、選択回路部91Nから主信号インタフェース93Nおよびバッファメモリ部94Nを経由して切替部905に入力される。
Similarly, the data on the working line #N is input as a main signal to the
また、予備系回線のデータは主信号として遅延回路部92Yに入力される。その主信号は、遅延回路部92Yから主信号インタフェース93Yおよびバッファメモリ部94Yを経由して切替部905に入力される。
In addition, the data on the standby system line is input to the
遅延回路部92Yは、本中継装置の前段(上位側)のいずれかの現用系回線を予備系回線に切り替える際に、位相調整部91Sからの指示に従って主信号のデータを遅延させる。
The
位相調整部91Sは、予備系回線に切り替えようとする現用系回線の主信号に合わせて予備系の主信号を遅延させることにより、予備系のバッファメモリ部94Yにおいて現用系と同一タイミングでの読み出しができるようにする。
The
バッファメモリ部94Yは、予備系回線に切り替えようとする現用系回線に対応する主信号インタフェースからの読み出し制御信号を用いることにより読み出しタイミングをその現用系のバッファメモリ部と一致させる。 The buffer memory unit 94Y uses the read control signal from the main signal interface corresponding to the active line to be switched to the protection line to match the read timing with that of the active buffer memory part.
切替部905は、本中継装置の上位側の各回線からの主信号のデータを所望の後段(下位側)の回線に出力する。
The
次に、一例として、上位側の現用系回線#1のデータを予備系回線に切り替えるときの動作について説明する。
Next, as an example, the operation when the data on the higher-side
通常の状態として、上位側の現用系回線#1からの主信号は選択回路部911および遅延回路921に入力される。選択回路部911は現用系主信号を遅延させるか否か選択するが、ここでは遅延させないものとする。そのため、現用系主信号は主信号インタフェース部931に直接入力される。主信号インタフェース部931に入力された現用系主信号は主信号インタフェース部931からの書き込み制御信号によってバッファメモリ部941に一時的に記憶される。
As a normal state, the main signal from the upper working
一方、予備系回線からの主信号は遅延回路部92Yに入力される。遅延回路部92Yは、切り替え対象となる現用系#1と同一タイミングで正常にバッファメモリ部94Yのデータを読み出すことができるように、位相調整部91Sからの制御により予備系回線からの主信号を遅延させる。
On the other hand, the main signal from the protection line is input to the
遅延回路92Yにより遅延された予備系主信号は主信号インタフェース部93Yに入力される。主信号インタフェース部93Yは、入力された予備系主信号と共に書き込み制御信号をバッファメモリ部94Yに送り、予備系主信号のデータをバッファメモリ部94Yに一時的に記録する。
The standby main signal delayed by the
バッファメモリ部941、94Yの各々に記憶された現用系主信号と予備系主信号とは、現用系#1の主信号インタフェース部931にて基準フレームから生成された読み出し制御信号によって同一タイミングで読み出される。同一のタイミングでバッファメモリ部941、94Yから読み出された現用系主信号と予備系主信号との間に時間差は無くなる。そのため、切り替え部905は、現用系#1の主信号と予備系主信号との間の無瞬断での切り替えを行うことができる。
The active main signal and the standby main signal stored in each of the
このような構成により、上位側の装置により現用系回線から予備系回線に切り替えて送信されたデータを下位側の装置にて無瞬断で切り替えて受信することを可能としている。
しかし、従来の中継装置は、基準フレームから生成された読み出し制御信号で2つのバッファメモリ部の読み出しタイミングを一致させている。そのため、フレーム同期した連続信号を伝送する回線では有効であるが、遅延の変動する非同期のデータがフレーム内に伝送される回線では、データの重複または抜けのない無瞬断の切り替えを保証することができない。 However, the conventional relay apparatus matches the read timings of the two buffer memory units with the read control signal generated from the reference frame. Therefore, it is effective for lines that transmit frame-synchronized continuous signals, but for lines where asynchronous data with varying delays is transmitted within a frame, it is ensured that there is no data duplication or lossless switching. I can't.
本発明の目的は、非同期データを伝送する場合でもデータの重複または抜けを生じさせることなく回線の切り替えが可能な通信システム、通信装置、および回線制御方法を提供することである。 An object of the present invention is to provide a communication system, a communication apparatus, and a line control method capable of switching lines without causing duplication or omission of data even when asynchronous data is transmitted.
上記目的を達成するために、本発明の通信システムは、現用回線と予備回線からなる冗長構成を装置間の接続に用いた通信システムであって、
現用回線でデータを伝送している状態から予備回線へ切り替えるとき、切り替えタイミングを示す制御情報を切り替え元の現用回線と切り替え先の予備回線の双方のデータに挿入して送信する上位装置と、
上位装置から現用回線で送信されたデータと予備回線で送信されたデータのいずれも受信可能であり、上位装置により挿入された現用回線の制御情報の位置と上位装置により挿入された予備回線の制御情報の位置を元にデータの順序を維持するようにタイミングを調整して現用回線から予備回線へ切り替える下位装置とを有している。
In order to achieve the above object, a communication system of the present invention is a communication system using a redundant configuration consisting of a working line and a protection line for connection between devices,
When switching from a state in which data is transmitted on the working line to the protection line, a host device that inserts control information indicating switching timing into data of both the switching source working line and the switching destination protection line and transmits the control information;
It is possible to receive both data transmitted from the host device on the working line and data transmitted on the protection line, and the position of the control information of the working line inserted by the host device and the control of the protection line inserted by the host device. A subordinate device that adjusts the timing so as to maintain the data order based on the position of the information and switches from the working line to the protection line.
本発明によれば、回線切り替えを行う際、上位装置が切り替えのタイミングを示す制御情報を切り替え元と切り替え先の双方の回線のデータに挿入し、下位装置が切り替え元の回線からの制御情報と切り替え先の回線からの制御情報の挿入された位置を元に、切り替え元の回線のデータと切り替え先の回線のデータとのタイミングを調整して順序を復元するので、非同期データが伝送されていてもデータの重複または抜けを生じさせることなく回線の切り替えを行うことができる。また、本発明によれば、上位装置と下位装置は、制御情報の送受信に予備回線をも用いるので、現用回線が障害でデータを疎通できない状態となっても互いに制御のための情報を共有することができ、信頼性の高い回線切り替えを行うことができる。 According to the present invention, when line switching is performed, the upper apparatus inserts control information indicating the switching timing into the data of both the switching source and switching destination lines, and the lower apparatus transmits control information from the switching source line. As the order is restored by adjusting the timing of the data of the switching source line and the data of the switching destination line based on the position where the control information from the switching destination line is inserted, asynchronous data is transmitted. Also, line switching can be performed without causing duplication or omission of data. In addition, according to the present invention, since the higher-level device and the lower-level device also use the protection line for transmission and reception of control information, even if the working line becomes incapable of communicating data due to a failure, it shares information for control with each other. Therefore, highly reliable line switching can be performed.
また、上位装置は、現用回線の制御情報の前までのデータと、予備回線の制御情報の後のデータとが連続するように、現用回線のデータと予備回線のデータの対応する切り替え位置に制御情報をそれぞれ挿入し、
下位装置は、
現用回線からの制御情報が予備回線からの制御情報よりも先に届いた場合には、現用回線からの制御情報の前までで現用回線からのデータの取得を停止しておき、予備回線からの制御情報が届いたら予備回線からのデータの取得を開始し、
予備回線からの制御情報が現用回線からの制御情報よりも先に届いた場合には、予備回線の制御情報の後のデータを一時的に保持しておき、現用回線からの制御情報が届いたら、その制御情報の前までの現用回線からのデータの後に、保持しておいた予備回線のデータを接続することとしてもよい。
In addition, the host device controls the switching position corresponding to the data of the working line and the data of the protection line so that the data before the control information of the working line and the data after the control information of the protection line are continuous. Insert each information,
Subordinate device is
If the control information from the working line arrives before the control information from the protection line, the acquisition of data from the working line is stopped before the control information from the working line. When control information arrives, start acquiring data from the protection line,
If the control information from the protection line arrives before the control information from the working line, temporarily store the data after the protection information of the protection line and receive the control information from the working line. The data of the reserved line that has been held may be connected after the data from the working line before the control information.
また、前記上位装置は、前記現用回線の前記切り替え位置以降に前記制御情報を所定数連続して挿入し、
前記下位装置は、前記予備回線から前記制御情報を受信してから所定時間が経過しても前記現用回線から前記制御情報を受信できないとき、前記保持しておいたデータから始まる前記予備回線のデータに切り替えることとしてもよい。
In addition, the higher-order device inserts a predetermined number of the control information continuously after the switching position of the working line,
When the subordinate apparatus cannot receive the control information from the working line even after a predetermined time has elapsed since receiving the control information from the protection line, the data of the protection line starting from the stored data It is good also as switching to.
これによれば、制御情報の伝送が阻害される程に現用回線の品質が低下しても、制御情報の再送およびタイムアウトによる切り替えにより確実に切り替えを完了させることができる。 According to this, even if the quality of the working line is lowered to such an extent that the transmission of control information is hindered, the switching can be reliably completed by the retransmission of the control information and the switching due to timeout.
また、前記予備回線への切り替えが行われている状態から元の前記現用回線に戻すための切り替えにおいて、
前記上位装置は、切り替えタイミングを示す制御情報を切り替え元の前記予備回線と切り替え先の前記現用回線の双方のデータに挿入して送信し、
前記下位装置は、前記上位装置により挿入された前記現用回線の前記制御情報の位置と前記上位装置により挿入された前記予備回線の前記制御情報の位置を元にデータの順序を維持するようにタイミングを調整して前記予備回線から前記現用回線へ切り替えることとしてもよい。
In addition, in switching to return to the original working line from the state where switching to the protection line is performed,
The host device inserts control information indicating switching timing into data of both the protection line of the switching source and the working line of the switching destination, and transmits the data.
The subordinate apparatus performs timing so as to maintain the order of data based on the position of the control information of the working line inserted by the upper apparatus and the position of the control information of the protection line inserted by the upper apparatus. May be switched to switch from the protection line to the working line.
また、前記下位装置は、前記現用回線のエラーチェックを行っており、検出したエラーレベルに基づいて生成した、前記現用回線の切り替えを指示する制御情報を、前記予備回線を介して前記上位装置に送信し、
前記上位装置は、前記下位装置から前記制御情報を受信すると、該制御情報にて指示された現用回線の切り替えを開始することとしてもよい。
In addition, the lower-level device performs an error check on the working line, and sends control information for instructing switching of the working line, generated based on the detected error level, to the higher-level device via the protection line. Send
When the upper apparatus receives the control information from the lower apparatus, the upper apparatus may start switching of the working line instructed by the control information.
また、前記現用回線が複数で前記予備回線が1本であり、複数の前記現用回線と1本の前記予備回線でN:1冗長を構成しており、
前記下位装置は、複数の前記現用回線の各々のエラーチェックをしており、エラーレベルの最も高い現用回線を切り替え対象に選択することとしてもよい。
In addition, there are a plurality of working lines and one protection line, and the plurality of working lines and one protection line constitute N: 1 redundancy,
The lower-level device may check each of the plurality of working lines and select a working line having the highest error level as a switching target.
これによれば、下位装置は、複数の現用回線の障害を検出すると、最もエラーレベルの高い回線を選択し、その回線の切り替えを上位装置に指示するので、最もエラーレベルの高い現用回線を予備回線に切り替えることができ、現用回線の運用を可能な限りの維持をすることができる。 According to this, when detecting a failure in a plurality of working lines, the lower level apparatus selects the line with the highest error level and instructs the higher order apparatus to switch the line, so that the working line with the highest error level is reserved. It is possible to switch to the line and maintain the operation of the working line as much as possible.
また、前記下位装置は、いずれかの現用回線を前記予備回線に切り替えている状態で、該現用回線のエラーレベルよりレベルの高いエラーが他の現用回線に発生すると、前記予備回線に切り替えている前記現用回線を元に戻した後に、レベルの高いエラーの発生した前記現用回線を前記予備回線に切り替えることとしてもよい。 In addition, the lower-level device switches to the protection line when an error having a higher level than the error level of the working line occurs in a state where any of the working lines is switched to the protection line. After the working line is restored, the working line in which a high level error has occurred may be switched to the protection line.
これによれば、下位装置は、ある現用回線が予備切り替えしている状態で、エラーレベルのより高い障害が他の現用回線に発生すると、エラーレベルの高い障害が起きている現用回線を予備切り替えの対象とするので、最もエラーレベルの高い現用回線を予備切り替えすることができ、現用回線の運用を可能な限りの維持をすることができる。 According to this, when a failure with a higher error level occurs in another working line while a certain working line is in standby switching, the lower-level device performs standby switching for the working line in which a failure with a higher error level occurs. Therefore, the working line with the highest error level can be switched over, and the working line operation can be maintained as much as possible.
また、前記上位装置は、前記現用回線のエラーレベルを示す制御情報を疑似的に生成して該現用回線を介して前記下位装置に送信し、
前記下位装置は、前記エラーレベルを示す制御情報を前記現用回線から受信すると、該現用回線の切り替えを指示する制御情報を前記予備回線を介して前記上位装置に送信することとしてもよい。
In addition, the higher-level device pseudo-generates control information indicating the error level of the working line and transmits the control information to the lower-level device via the working line,
When the lower level device receives control information indicating the error level from the working line, the lower level device may transmit control information instructing switching of the working line to the higher level device via the protection line.
これによれば、下位装置は、自身の検出したエラー状態に基づく切り替えに加え、上位装置からの制御情報の入力による切り替えも起動することができるので、各装置に大掛かりな特別装備を追加することなく遠隔での切り替え制御の実行が可能である。 According to this, in addition to the switching based on the error state detected by the lower level device, the lower level device can also start switching based on the input of control information from the higher level device, so it is necessary to add large special equipment to each device. Remote switching control can be executed.
本発明によれば、回線切り替えを行う際、上位装置が切り替えのタイミングを示す制御情報を切り替え元と切り替え先の双方の回線のデータに挿入し、下位装置が切り替え元の回線からの制御情報と切り替え先の回線からの制御情報の挿入された位置を元に、切り替え元の回線のデータと切り替え先の回線のデータとのタイミングを調整して順序を復元するので、非同期データが伝送されていてもデータの重複または抜けを生じさせることなく回線の切り替えを行うことができる。 According to the present invention, when line switching is performed, the upper apparatus inserts control information indicating the switching timing into the data of both the switching source and switching destination lines, and the lower apparatus transmits control information from the switching source line. As the order is restored by adjusting the timing of the data of the switching source line and the data of the switching destination line based on the position where the control information from the switching destination line is inserted, asynchronous data is transmitted. Also, line switching can be performed without causing duplication or omission of data.
本発明を実施するための形態について図面を参照して詳細に説明する。 Embodiments for carrying out the present invention will be described in detail with reference to the drawings.
図1は、本実施形態による通信システムの概略構成を示すブロック図である。図1を参照すると、本通信システムは上位中継装置1と下位中継装置2を有している。上位中継装置1と下位中継装置2の間はN本の現用系の回線#1〜#Nと1本の予備回線で接続されている。これらの回線はN:1冗長を構成しており、現用系のいずれかの回線に障害が発生すると、その回線で伝送されていたデータは予備回線に切り替わる。現用回線と予備回線のデータはフレームに非同期に伝送されており、本実施形態ではパケットにより伝送されるものとする。
FIG. 1 is a block diagram showing a schematic configuration of a communication system according to the present embodiment. Referring to FIG. 1, the communication system includes an
図2は、図1に示した上位中継装置および下位中継装置の構成を示すブロック図である。ここでは、上位中継装置1から下位中継装置2へ向かう方向のデータに関する構成が示されている。また、ここでは一例として現用系の回線は3本としてある。
FIG. 2 is a block diagram illustrating a configuration of the upper relay apparatus and the lower relay apparatus illustrated in FIG. Here, a configuration related to data in a direction from the higher-
図2を参照すると、上位中継装置1は、出力切替部10〜12、選択機能部13、送信機能部14〜16、受信機能部17、および送信機能部18を有している。また、下位中継装置2は、受信機能部20〜23および送信機能部24を有している。
Referring to FIG. 2, the
上位中継装置1の出力切替部10は、通常時には、上位側(図中の左側)の回線#0のデータを受信し、送信機能部14へ受信データを送る。通常時とは予備回線への切り替えが行われていない状態を指す。
The
また、出力切替部10は、受信機能部17から回線#0の「予備切り替え」を示す制御パケットを受けると、受信データの出力先を選択機能部13に切り替え、その制御パケットを先頭として受信データを選択切替部13に送る。また、それと同時に出力切替部10は送信機能部14へ受信データではなく、回線#0の「予備切り替え」を示す制御パケットを連続して送る。
When the
送信機能部14は、出力切替部10からのデータあるいは制御パケットを回線#0を介して下位中継装置2に送信する。
The
出力切替部11、12は、それぞれ回線#1、#2に対応し、上述した出力切替部10と同様に動作する。送信機能部15、16はそれぞれ回線#1、#2に対応し、上述した送信機能部14と同様に動作する。
The
受信機能部17は、下位中継装置2から予備回線を介してデータを受信する。受信データに制御パケットがあれば、受信機能部17は、その制御パケットを出力切替部10〜12へ送信する。
The
選択機能部13は、出力切替部10〜12のいずれかからのデータを選択して送信機能部18に送る。出力切替部10〜12からのデータの先頭には「予備切り替え」を示す制御パケットがあるので、選択機能部13は、その制御パケットを検出したときその回線を選択し、それ以降その回線のデータを送信機能部18に送ればよい。なお、他の制御パケットを検出しても、選択機能部13は切り替えを行わない。
The
送信機能部18は、選択機能部13からのデータを予備回線を介して下位中継装置2に送信する。
The
下位中継装置2の受信機能部20は、上位中継装置1から上位側の回線#0を経由して受信したデータ、または予備回線を経由して受信機能部23で受信され、受信機能部23から送られてきたデータのいずれかを選択して下位側の回線#0へ出力する。通常時には、受信機能部20は、上位側の回線#0を経由して受信したデータを下位側の回線#0へ出力する。
The
また、受信機能部20は、回線#0から受信したパケットに含まれているCRC符号(巡回冗長検査符号)によりデータエラーの有無を検査する。エラーを検出すると、「エラー状態」を示す制御パケットを生成し、送信機能部24に送る。
The
また、受信機能部20は、予備回線の受信機能部23から回線#0の「予備切り替え」を示す制御パケットまたは「復旧切り替え」を示す制御パケットを受けると、その制御パケットの指示に応じて回線選択状態を切り替える。例えば、受信機能部23から回線#0の「予備切り替え」を示す制御パケットを受けると、受信機能部20は、予備回線の受信機能部23からのデータを下位側の回線#0に出力する。また、受信機能部23から回線#0の「復旧切り替え」を示す制御パケットを受けると、受信機能部20は、上位側の回線#0からのデータを下位側の回線#0に出力する。
When receiving the control packet indicating “standby switching” or the control packet indicating “recovery switching” of the
受信機能部21、22はそれぞれ回線#1、#2に対応し、上述した受信機能部20と同様に動作する。
The
受信機能部23は、上位中継装置1から予備回線を介してデータを受信し、受信機能部20〜22に送る。なお、その際、受信機能部23は、制御パケットだけでなく、受信した全てのデータを受信機能部20〜22に送る。
The
送信機能部24は、受信機能部20〜22からの、「エラー状態」を示す制御パケットに基づき回線#0〜#2の各々の回線品質を求め、それら回線品質から予備回線に切り替えるべき回線を判断する。例えば、最もエラーレベルの高い(回線品質の低い)回線を切り替えることとすればよい。いずれかの回線を予備回線に切り替えるべきであると判断すれば、送信機能部24は、その回線の「予備切り替え」を示す制御パケットを生成し、予備回線を介して上位中継装置1に送信する。
The
また、送信機能部24は、予備切り替え中の回線以外の回線の回線品質が予備切り替え中の回線よりも劣化したことを検出すると、上位中継装置1に対して、予備切り替え中の回線の「復旧切り替え」を示す制御パケットを送信した後に、品質の劣化した回線の「予備切り替え」を示す制御パケットを送信する。
Further, when the
図3は、図2に示した上位中継装置1の出力切替部10と下位中継装置2の受信機能部20の構成を示すブロック図である。図3を参照すると、上位中継装置1の出力切替部10は出力制御部101およびフレーム検出部102を有している。下位中継装置2の受信機能部20はERR(エラー)検出部201、選択部202、およびフレーム生成部203を有している。
FIG. 3 is a block diagram illustrating the configuration of the
フレーム検出部102は、受信機能部17から回線#0に関する制御パケットを受信すると、その制御パケットを出力制御部101に送る。
When the
出力制御部101は、通常時には、上位側の回線#0からのデータを送信機能部14へ送っている。しかし、フレーム検出部102から「予備切り替え」を示す制御パケットを受けると、出力制御部101は、上位側の回線#0からのデータに含まれるパケットの間に「予備切り替え」を示す制御パケットを挿入し、その制御パケット以降のデータを選択機能部13に送る。また、それと同時に、出力制御部101は、送信機能部14には、制御パケット以降のデータを送らず、「予備切り替え」を示す制御パケットを連続して送る。
The
また、回線#0の予備切り替え中に、回線#0の「復旧切り替え」を示す制御パケットを受けると、出力制御部101は、上位側の回線#0からのデータに含まれるパケットの間に「復旧切り替え」を示す制御パケットを挿入し、その制御パケット以降のデータを送信機能部14へ送る。また、それと同時に、出力制御部101は、選択機能部13には、制御パケット以降のデータを送らず、「復旧切り替え」を示す制御パケットを1つだけ送る。
Further, when a control packet indicating “recovery switching” of the
下位中継装置2のERR検出部201は、上位中継装置1から回線#0を介して受信したデータのエラーをCRCにより検査する。そして、エラーを検出すると、ERR検出部201は、その旨をフレーム生成部203に通知する。また、ERR検出部203はCRCにより訂正可能なビット誤りを修復し、データを選択部202に転送する。
The
フレーム生成部203は、ERR検出部201からの通知に基づきエラーレベルを求め、そのエラーレベルに応じて「エラー状態」を示す制御パケットを生成し、送信機能部24に送る。レラーレベルは、例えば、エラー検出回数の平均値を定期的に算出することにより求めることができる。
The
選択部202は、上位中継装置1から回線#0およびERR検出部201を経由して受信したデータ、または予備回線および受信機能部23を経由して受信したデータのいずれかを選択して出力する。その際、選択部202は、受信機能部23から回線#0の制御パケットを受けると、その制御パケットの内容に従って選択を行う。例えば、「予備切り替え」を示す制御パケットを受けると、選択部202は、予備回線および受信機能部23を経由したデータを選択する。また、「復旧切り替え」を示す制御パケットを受けると、選択部202は、回線#0およびERR検出部201を経由したデータを選択する。
The
「予備切り替え」時の選択部202の詳細な動作について説明する。
A detailed operation of the
「予備切り替え」を示す制御パケットは、現用の回線#0と予備回線の双方から送られてくる。
A control packet indicating “standby switching” is sent from both the working
回線#0およびERR検出部201を経由した「予備切り替え」を示す制御パケットが、予備回線および受信機能部23を経由した制御パケットよりも先に選択部202に到着したとき、選択部202は、ERR検出部201からの制御パケットを全て破棄し、受信機能部23から制御パケットを受けた後、その制御パケットを除いたデータを下位側の回線#0へ出力する。
When the control packet indicating “standby switching” via the
一方、予備回線および受信機能部23を経由した「予備切り替え」を示す制御パケットが、回線#0およびERR検出部201を経由した制御パケットよりも先に選択部202に到着したとき、選択部202は、受信機能部23からの制御パケットを除くそれ以降のデータを一時的に保持しておき、ERR検出部201からの制御パケットが到着した後に、保持しておいたデータを下位側の回線#0に出力する。
On the other hand, when the control packet indicating “standby switching” via the protection line and the
なお、選択部202は、受信機能部23から制御パケットを受信すると、そのパケットに記録されたタイムアウト時間のタイマーのカウントを開始する。ERR検出部201からの制御パケットが到着しない状態でタイマーがタイムアウトすると、選択部202は、一時的に保持しておいたデータを下位側の回線#0に出力し始める。
When the
「復旧切り替え」時の選択部202の詳細な動作について説明する。
A detailed operation of the
「復旧切り替え」を示す制御パケットも、現用の回線#0と予備回線の双方から送られてくる。
A control packet indicating “recovery switching” is also sent from both the working
回線#0およびERR検出部201を経由した「復旧切り替え」を示す制御パケットが、予備回線および受信機能部23を経由した制御パケットよりも先に選択部202に到着したとき、選択部202は、その制御パケットを除いたデータを一時的に保持することで滞留させる。そして、受信機能部23からの制御パケットを受けた後、選択部202は、保持しておいたデータを下位側の回線#0に出力し始める。
When the control packet indicating “recovery switching” via the
一方、予備回線および受信機能部23を経由した「復旧切り替え」を示す制御パケットが、回線#0およびERR検出部201を経由した制御パケットよりも先に選択部202に到着したとき、選択部202は、ERR検出部201からの制御パケットを受けた後、その制御パケットを除くそれ以降のデータを下位側の回線#0に出力する。
On the other hand, when the control packet indicating “recovery switching” via the protection line and the
次に、本実施形態の通信システムにおいて、現用の回線#0で伝送するデータを予備回線へ切り替える際の動作について説明する。
Next, in the communication system according to the present embodiment, an operation for switching data transmitted on the working
図4は、本実施形態による通信システムにおける予備切り替え時の動作を示すフローチャートである。図4を参照すると、上位中継装置1と下位中継装置2の回線#0に障害が発生し、通信データにエラーが生じると(ステップA1)、下位中継装置2の受信機能部20内にあるERR検出部201がCRCによりエラーを検出する(ステップA2)。エラーを検出したERR検出部201はその旨をフレーム生成部203へ通知する。
FIG. 4 is a flowchart showing an operation at the time of preliminary switching in the communication system according to the present embodiment. Referring to FIG. 4, when a failure occurs in the
通知を受けたフレーム生成部203は、「エラー状態」を示す制御パケットを生成し(ステップA3)、送信機能部24へ送る。
Receiving the notification, the
図5は、本実施形態における制御パケットの実装例を示す図である。図5を参照すると、制御パケットには、宛先情報を含むヘッダ情報部301、有意情報を含むペイロード情報部302、およびエラー検出/訂正のためのCRC情報部303がある。 FIG. 5 is a diagram illustrating an implementation example of the control packet in the present embodiment. Referring to FIG. 5, the control packet includes a header information part 301 including destination information, a payload information part 302 including significant information, and a CRC information part 303 for error detection / correction.
ヘッダ情報部301にはパケットの種別を示す識別ビットがある。識別ビットは、“0”で転送パケットを示し、“1”で制御パケットを示す。 The header information portion 301 has an identification bit indicating the type of packet. In the identification bit, “0” indicates a transfer packet, and “1” indicates a control packet.
また、ペイロード情報部302には、回線番号を示す回線番号ビットや制御パケットの種別を示す種別ビットの他に情報ビット304がある。回線番号ビットは、“00”で回線#0を示し、“01”で回線#1を示し、“10”で回線#2を示す。種別ビットは、“01”で予備切り替えを示し、“10”で復旧切り替えを示し、“00”でエラー状態等の通知を示す。フレーム生成部203が生成する、回線#0の「エラー状態」を示す制御パケットは、識別ビットが“1”、回線番号が“00”、種別ビットが“00”となる。また、情報ビット304には、図6のように「エラーレベル」を示す情報が格納される。エラーレベルはエラー検出数の平均値を示し、例えば、1秒間当たりのCRCエラー検出数である。
The payload information section 302 includes an information bit 304 in addition to a line number bit indicating a line number and a type bit indicating the type of a control packet. In the line number bit, “00” indicates the
図4の説明に戻り、送信機能部24は、他の回線#1〜#2とエラーレベルを比較し、回線#0の予備切り替えが必要か否か判定する(ステップA4)。予備切り替えが不要であれば、ステップA2の処理に戻る。
Returning to the description of FIG. 4, the
予備切り替えが必要と判断すると、送信機能部24は、回線#0の「予備切り替え」を示す制御パケットを生成し(ステップA5)、予備回線を介して上位中継装置1に送信する。回線#0の「予備切り替え」を示す制御パケットは、図5において、識別ビット“1”、回線番号ビットが“00”、種別ビットが“01”となる。また、情報ビット304には、図7のように「タイムアウト時間」を示す情報が格納される。タイムアウト時間は、後述する選択部202の切り替え動作において待ち時間の最大値となる。
If it is determined that the standby switching is necessary, the
上位中継装置1の受信機能部17は制御パケットを受信すると、その制御パケットを出力切替部10〜12へ転送する(ステップA6)。回線#1の出力切替部11と回線#2の出力切替部12は、回線番号ビットが自身の回線番号と一致しないため、この制御パケットを無視する。
When receiving the control packet, the
出力切替部10内のフレーム検出部102は、回線#0の「予備切り替え」を示す制御パケットを検出すると(ステップA7)、その制御パケットを出力制御部101へ送る。回線#0の「予備切り替え」を示す制御パケットを受けた出力制御部101は、所定の予備切り替え動作を行う。
When the
図8は、予備切り替え動作について説明するための図である。図8を参照すると、上から、出力制御部101へ入力される回線#0のデータ、出力制御部101から選択機能部13に送られるデータ、出力制御部101から送信機能部14に送られるデータが示されている。
FIG. 8 is a diagram for explaining the preliminary switching operation. Referring to FIG. 8, from the top, data of
出力制御部101は、上位側の回線#0からのデータを送信機能部14へ出力していたが、回線#0の「予備切り替え」を示す制御パケットを受けると、それ以降のデータを選択機能部13に送るようになる。図8では、データ401までは送信機能部14に送られ、データ402以降は選択機能部13に送られている。その際、出力制御部101は、選択機能部13に対しては、データ402の前に、回線#0の「予備切り替え」を示す制御パケット405を挿入し、送信機能部14に対しては、データ401の後に、回線#0の「予備切り替え」を示す制御パケットを連続送信する。
The
図4の説明に戻り、選択機能部13は、出力制御部101から回線#0の「予備切り替え」を示す制御パケット(図8の制御パケット405)を受けると、回線#0の出力制御部101からの制御パケット405およびそれ以降のデータを選択して送信機能部18に送る(ステップA9)。送信機能部18は、選択機能部13からのデータを予備回線へ出力する。
Returning to the description of FIG. 4, when the
以上のようにして上位中継装置1の切り替えが行われる。以下、下位中継装置2の切り替え動作について説明する。
As described above, switching of the
図8の送信機能部14に送られたデータは回線#0を経由して下位中継装置2に送られ、下位中継装置2においてERR検出部201を経由して選択部202に到達する。また、図8の選択信機能部13に送られたデータは送信機能部18から予備回線を経由して下位中継装置2に送られ、下位中継装置2において受信機能部23を経由して選択部202に到達する。どちらの制御パケットが先に到達するかにより下位中継装置2の切り替え動作が異なる。
The data sent to the
図9は、回線#0の制御パケットが先に到達した場合の下位中継装置の予備切り替え動作を示すフローチャートである。図10は、回線#0の制御パケットが先に到達した場合の下位中継装置の復旧切り替え動作を説明するための図である。
FIG. 9 is a flowchart showing the preliminary switching operation of the lower level relay apparatus when the control packet on
図9を参照すると、選択部202は回線#0から制御パケット406を受信すると、データ401を境に回線#0からのデータの転送を停止する(ステップB1)。それ以降も回線#0からは制御パケットが入力されるが、選択部202は、それらを下位側に転送しない。図10を参照すると、上から、選択部202が回線#0を経由して受信したデータ、選択部202が予備回線を経由して受信したデータ、選択部202が下位側に転送するデータが示されている。回線#0からのデータ401は下位側に転送されるが、制御パケット406以降は転送されない。
Referring to FIG. 9, upon receiving
図9に戻り、次に、選択部202は、予備回線から制御パケット405を受信すると、それ以降、データ402を先頭に予備回線からのデータを下位側に転送し始める(ステップB2)。図10を参照すると、予備回線を経由して受信された制御パケット405に続くデータ402、403は下位側に転送される。これにより下位中継装置2の予備切り替え動作が完了する(ステップB3)。
Returning to FIG. 9, next, when receiving the
図11は、予備回線の制御パケットが先に到達した場合の下位中継装置の予備切り替え動作を示すフローチャートである。図12は、予備回線の制御パケットが先に到達した場合の下位中継装置の予備切り替え動作を説明するための図である。 FIG. 11 is a flowchart showing the standby switching operation of the lower level relay apparatus when the control packet of the backup line arrives first. FIG. 12 is a diagram for explaining the standby switching operation of the lower level relay apparatus when the control packet for the backup line arrives first.
図11を参照すると、選択部202は、予備回線から制御パケット405を受信すると、それ以降のデータ402〜404を一時的に保持しつつ、タイマーのカウントを開始する(ステップC1)。図12を参照すると、上から、選択部202が回線#0を経由して受信したデータ、選択部202が予備回線を経由して受信したデータ、選択部202が下位側に転送するデータが示されている。制御パケット405が制御パケット406よりも先に到達しているので、選択部202は、データ402〜404を一時的に保持しておく。
Referring to FIG. 11, when receiving the
次に、選択部202は、回線#0から制御パケットが受信されたか否か判定する(ステップC2)。回線#0から制御パケット406が受信されれば、選択部202は、回線#0からのデータの転送を停止し、保持しておいた予備回線からのデータ402〜404を下位側に転送し始め(ステップC3)、予備切り替えを完了する(ステップC4)。
Next, the
ステップC2において、回線#0からの制御パケット406が受信されなければ、選択部202は、次に、タイマーがタイムアウトしているか否か判定する(ステップC5)。回線#0のエラーが増大した場合、制御パケット406が正常に伝送されず欠落することが考えられる。それでも確実に切り替えを完了させるために、上位中継装置1の出力制御部101は同じ制御パケットを連続送信し、また下位中継装置2はタイマーによる判定を行っている。
If the
タイマーがタイムアウトしていれば、選択部202は、回線#0からのデータの転送を停止し、保持しておいた予備回線からのデータ402〜404を下位側に転送し始め(ステップC6)、予備切り替えを完了する(ステップC4)。ステップC5においてタイマーがタイムアウトしていなければ、選択部202はステップC2の処理に戻る。なお、回線#1の受信機能部21と回線#2の受信機能部22も制御パケット405を受信するが、回線番号ビットが自身の回線番号と一致しないため無視する。
If the timer has timed out, the
次に、本実施形態の通信システムにおいて、回線#0が予備回線に切り替えられている状態で、回線#1のエラーレベルが回線#0よりも高くなったときの動作について説明する。その場合、本実施形態の通信システムは、回線#0の復旧切り替えを行った後に、回線#1の予備切り替えを行う。
Next, in the communication system of this embodiment, an operation when the error level of the
図13は、本実施形態による通信システムにおける予備切り替え対象の回線を変更する時の動作を示すフローチャートである。初期の状態として、回線#0を予備回線へ切り替えて運用中であるとする(ステップD1)。その状態で、上位中継装置1と下位中継装置2の間の回線#1に障害が発生してデータがエラーすると、下位中継装置2の受信機能部21はCRCによりそのエラーを検出する(ステップD2)。
FIG. 13 is a flowchart showing an operation when changing a line to be switched for standby in the communication system according to the present embodiment. As an initial state, it is assumed that
受信機能部21は、回線#1の「エラー状態」を示す制御パケットを生成し、それによりエラーレベルを送信機能部24へ通知する(ステップD3)。
The
制御パケットを受けた送信機能部24は、回線#0のエラーレベルと回線#1のエラーレベルを比較し、予備回線への切り替え対象を回線#1に変更するか否か判定する(ステップD4)。回線#0を予備切り替えしたままでよければステップD2の処理に戻る。
Upon receiving the control packet, the
回線#1のエラーレベルが回線#0よりも高ければ、送信機能部24は、切り替え対象を変更すると判断し、回線#0の「復旧切り替え」を示す制御パケットを送出し、その後回線#1の「予備切り替え」を示す制御パケットを送出する(ステップD5)。
If the error level of the
上位中継装置1の受信機能部17は、予備回線を経由して受信した制御パケットを出力切替部10のフレーム検出部102に転送する(ステップD6)。
The
予備回線を経由して、回線#0の「復旧切り替え」を示す制御パケットを受けた出力切替部10は、回線#0の復旧切り替えの動作を行う(ステップD7)。また、予備回線を経由して、回線#1の「予備切り替え」を示す制御パケットを受けた出力切替部11は、回線#1の予備切り替えの動作を行う(ステップD8)。
Upon receiving the control packet indicating the “recovery switching” of the
図14は、図13の動作において制御パケットを受信した回線#0の出力切替部と回線#1の出力切替部の動作を説明するための図である。図14を参照すると、上から、回線#0から出力切替部10に入力されるデータ、出力切替部10から選択機能部13に送られるデータ、出力切替部10から送信機能部14に送られるデータ、回線#1から出力切替部11に入力されるデータ、出力切替部11から選択機能部13に送られるデータ、出力切替部11から送信機能部15に送られるデータ、選択機能部13から送信機能部18に送られるデータが示されている。
FIG. 14 is a diagram for explaining the operations of the output switching unit of
出力切替部10は、回線#0の「復旧切り替え」を示す制御パケットを受信機能部17から受けると、選択機能部13に対して、データ501の後に「復旧切り替え」を示す制御パケット505を送出してデータの送出を停止する。また、出力切替部10は、送信機能部14に対して、「復旧切り替え」を示す制御パケット506を送出し、その後から回線#0のデータ502〜504を転送し始める。
When the
出力切替部11は、回線#1の「予備切り替え」を示す制御パケットを受信機能部17から受けると、選択機能部13に対して、「予備切り替え」を示す制御パケット605を送出し、その後から回線#1のデータ603〜604を転送し始める。また、出力切替部11は、送信機能部15に対して、データ602の後に「予備切り替え」を示す制御パケット606を1つ送出する。
When the
これらの動作の結果、選択機能部13は、回線#0からのデータについてはデータ501で転送を停止し、回線#1のデータについてデータ603から転送を開始することとなる(ステップD9)。
As a result of these operations, the
下位中継装置2の回線#1における受信機能部21の予備切り替え動作は、図9および図11に示したフローチャートと同じである。
The standby switching operation of the
一方、図14の送信機能部14に送られたデータは回線#0を経由して下位中継装置2に送られ、下位中継装置2において選択部202に到達する。また、図14の選択信機能部13に送られたデータは送信機能部18から予備回線を経由して下位中継装置2に送られ、下位中継装置2において受信機能部23を経由して選択部202に到達する。どちらの制御パケットが先に到達するかにより下位中継装置2の復旧切り替え動作が異なる。
On the other hand, the data sent to the
図15は、回線#0の制御パケットが先に到達した場合の下位中継装置の復旧切り替え動作を示すフローチャートである。図16は、回線#0の制御パケットが先に到達した場合の下位中継装置の復旧切り替え動作を説明するための図である。
FIG. 15 is a flowchart showing the recovery switching operation of the lower level relay apparatus when the control packet on
図15を参照すると、選択部202は回線#0から制御パケット506を受信すると、データ502以降のデータを一時的に保持することで滞留させる(ステップE1)。図16を参照すると、上から、選択部202が予備回線を経由して受信したデータ、選択部202が回線#0を経由して受信したデータ、選択部202が下位側に転送するデータが示されている。制御パケット506を受信した以降のデータ502〜504はすぐには下流側に転送されていない。
Referring to FIG. 15, upon receiving
図15に戻り、次に、選択部202は、予備回線から制御パケット505を受信すると、それ以降の予備回線からのデータの転送を停止し、保持しておいたデータ502〜504から回線#0のデータを下位側に転送し始める(ステップE2)。図16を参照すると、制御パケット505の受信により予備回線のデータの転送がデータ501で停止し、その後は回線#1からのデータ502〜504が転送されている。これにより下位中継装置2の復旧切り替え動作が完了する(ステップE3)。
Returning to FIG. 15, next, when the
図17は、予備回線の制御パケットが先に到達した場合の下位中継装置の復旧切り替え動作を示すフローチャートである。図18は、予備回線の制御パケットが先に到達した場合の下位中継装置の復旧切り替え動作を説明するための図である。 FIG. 17 is a flowchart showing the recovery switching operation of the lower relay apparatus when the control packet for the protection line arrives first. FIG. 18 is a diagram for explaining the recovery switching operation of the lower relay apparatus when the protection packet for the protection line arrives first.
図17を参照すると、選択部202は、予備回線から制御パケット505を受信すると、それ以降のデータの転送を停止し、タイマーのカウントを開始する(ステップF1)。図18を参照すると、上から、選択部202が予備回線を経由して受信したデータ、選択部202が回線#1を経由して受信したデータ、選択部202が下位側に転送するデータが示されている。制御パケット505が制御パケット506よりも先に到達しているので、選択部202は、予備回線からのデータの転送を停止している。
Referring to FIG. 17, when receiving the
次に、選択部202は、回線#0から制御パケットが受信されたか否か判定する(ステップF2)。回線#0から制御パケット506が受信されれば、選択部202は、回線か#1らのデータ502〜503を下位側に転送し始め(ステップF3)、予備切り替えを完了する(ステップF4)。
Next, the
ステップF2において、回線#0からの制御パケット506が受信されなければ、選択部202は、次に、タイマーがタイムアウトしているか否か判定する(ステップF5)。
If the
タイマーがタイムアウトしていれば、選択部202は、回線#0からのデータの転送を開始し(ステップF6)、復旧切り替えを完了する(ステップF4)。ステップF5においてタイマーがタイムアウトしていなければ、選択部202はステップF2の処理に戻る。なお、回線#1の受信機能部21と回線#2の受信機能部22も制御パケット405を受信するが、回線番号ビットが自身の回線番号と一致しないため無視する。
If the timer has timed out, the
以上説明したように、本実施形態によれば、回線切り替えを行う際、上位中継装置1が切り替えのタイミングを示す制御パケットを切り替え元と切り替え先の双方の回線のデータに挿入する。そして、下位中継装置2が切り替え元の回線からの制御パケットと切り替え先の回線からの制御パケットの挿入された位置を元に、切り替え元の回線のデータと切り替え先の回線のデータとのタイミングを調整して順序を復元する。そのため、非同期データが伝送されていてもデータの重複または抜けを生じさせることなく回線の切り替えを行うことができる。
As described above, according to the present embodiment, when line switching is performed, the
また、本実施形態によれば、上位中継装置1と下位中継装置2は、予備回線をも用いて制御パケットを送受信する。そのため、現用回線が障害でデータを疎通できない状態となっても互いに制御のための情報を共有することができ、信頼性の高い回線切り替えを行うことができる。
Further, according to this embodiment, the
また、本実施形態によれば、下位中継装置2は、複数の現用回線の障害を検出すると、最もエラーレベルの高い回線を選択し、その回線の予備切り替えを上位中継装置1に指示する。そのため、最もエラーレベルの高い現用回線を予備回線に切り替えることができ、現用回線の運用を可能な限りの維持をすることができる。
Further, according to the present embodiment, when detecting a failure in a plurality of working lines, the
また、本実施形態によれば、下位中継装置2は、ある現用回線が予備切り替えしている状態で、エラーレベルのより高い障害が他の現用回線に発生すると、エラーレベルの高い障害が起きている現用回線を予備切り替えの対象とする。そのため、最もエラーレベルの高い現用回線を予備切り替えすることができ、現用回線の運用を可能な限りの維持をすることができる。
Further, according to the present embodiment, when a failure with a higher error level occurs in another active line in a state where a certain active line is switched to standby, the lower-
本発明の他の実施形態について説明する。他の実施形態の通信システムは図1および図2に示したものと同様の構成である。 Another embodiment of the present invention will be described. The communication system according to another embodiment has the same configuration as that shown in FIGS.
図19は、他の実施形態の上位中継装置1の出力切替部10と下位中継装置2の受信機能部20の構成を示すブロック図である。図19によれば、図3に示した構成と同様に、上位中継装置1の出力切替部10は出力制御部101およびフレーム検出部102を有している。また、下位中継装置2の受信機能部20はERR検出部201、選択部202、およびフレーム生成部203を有している。
FIG. 19 is a block diagram illustrating configurations of the
ただし、図19では、現用の回線#0からのデータをERR検出部201を経由せず直接にフレーム生成部203に入力する接続路204がある点で図3と異なる。
However, FIG. 19 differs from FIG. 3 in that there is a
図20は、他の実施形態のフレーム生成部203の構成を示すブロック図である。図20を参照すると、フレーム生成部203は、通知パケット生成部211および通知パケット検出部212を有している。
FIG. 20 is a block diagram illustrating a configuration of the
通知パケット生成部211は、ERR検出部201からの通知に基づきエラーレベルを求め、そのエラーレベルに応じた「エラー状態」を示す制御パケットを生成し、通知パケット検出回路212に送る。
The notification
通知パケット検出回路212は、通知パケット生成回路211で生成された制御パケットを送信機能部24に送ることに加え、接続路204からのデータより制御パケットを検出し、検出した制御パケットも送信機能部24に送る。
The notification
これにより、下位中継装置2は、自身の検出したエラー状態に基づく切り替えに加え、上位中継装置1からの「エラー状態」を示す制御パケットの入力による切り替えも起動することができる。これを利用して遠隔からの切り替え制御の実行が可能となる。
Thereby, the
なお、上位中継装置1は、例えば、「エラー状態」を示す制御パケットを疑似的に生成し送出する機能を送信機能部14に備えることとしてもよい。
For example, the higher-
また、上位中継装置1からの制御より下位中継装置2にて発生した障害による切り替えを優先させたい場合には、上位中継装置1からの「エラー状態」を示す制御パケットのエラーレベルを切り替えの発生する最低レベルとしておけばよい。そうすれば、他の現用回線の障害による予備切り替えが行われていれば、上位中継装置1からの制御で障害の起きている回線の復旧切り替えが行われることはない。また、上位中継装置1からの制御で予備切り替えが行われていても、他のいずれかの回線に障害が発生すれば、障害回線を優先的に予備切り替えすることができる。
In addition, when priority is given to switching due to a failure that has occurred in the
また、予備切り替えの起きた現用回線の障害を修復した後に、上位中継装置1から「復旧切り替え」を示す制御パケットを挿入することで、遠隔から復旧切り替えを起動することができる。
Further, after repairing the failure of the working line in which the standby switching has occurred, the recovery switching can be remotely activated by inserting a control packet indicating “recovery switching” from the higher-
本実施形態によれば、上位中継装置1からデータに挿入された制御パケットに反応して下位中継装置2が動作する構成なので、各装置に大掛かりな特別装備を追加することなく遠隔での切り替え制御の実行が可能である。
According to the present embodiment, since the lower
1 上位中継装置
2 下位中継装置
10〜12 出力切替部
13 選択機能部
14〜16 送信機能部
17 受信機能部
18 送信機能部
20〜23 受信機能部
24 送信機能部
101 出力制御部
102 フレーム検出部
201 ERR(エラー)検出部
202 選択部
203 フレーム生成部
204 接続路
211 通知パケット生成部
212 通知パケット検出部
301 ヘッダ情報部
302 ペイロード情報部
303 CRC情報部
304 情報ビット
401〜404、501〜504、601〜604 データ
405、406、505、506、605、606 制御パケット
A1〜A9、B1〜B3、C1〜C6、D1〜D9、E1〜E3、F1〜F4 ステップ
DESCRIPTION OF
Claims (11)
前記現用回線でデータを伝送している状態から前記予備回線へ切り替えるとき、切り替えタイミングを示す制御情報を切り替え元の前記現用回線と切り替え先の前記予備回線の双方のデータに挿入して送信する上位装置と、
前記上位装置から前記現用回線で送信されたデータと前記予備回線で送信されたデータのいずれも受信可能であり、前記上位装置により挿入された前記現用回線の前記制御情報の位置と前記上位装置により挿入された前記予備回線の前記制御情報の位置を元にデータの順序を維持するようにタイミングを調整して前記現用回線から前記予備回線へ切り替える下位装置とを有する通信システム。 A communication system using a redundant configuration consisting of a working line and a protection line for connection between devices,
When switching from the state in which data is transmitted on the working line to the protection line, the control information indicating the switching timing is inserted into the data of both the switching source working line and the switching destination protection line and transmitted. Equipment,
Both the data transmitted on the working line and the data transmitted on the protection line can be received from the upper apparatus, and the position of the control information on the working line inserted by the upper apparatus and the upper apparatus A communication system comprising: a subordinate device that adjusts timing so as to maintain the data order based on the position of the control information of the inserted protection line and switches from the working line to the protection line.
前記下位装置は、
前記現用回線からの前記制御情報が前記予備回線からの前記制御情報よりも先に届いた場合には、前記現用回線からの前記制御情報の前までで前記現用回線からのデータの取得を停止しておき、前記予備回線からの前記制御情報が届いたら該予備回線からのデータの取得を開始し、
前記予備回線からの前記制御情報が前記現用回線からの前記制御情報よりも先に届いた場合には、前記予備回線の前記制御情報の後のデータを一時的に保持しておき、前記現用回線からの前記制御情報が届いたら該制御情報の前までの前記現用回線からのデータの後に、保持しておいた前記予備回線のデータを接続する、
請求項1に記載の通信システム。 The higher-level device is configured to correspond the data on the working line and the data on the protection line so that the data before the control information on the working line and the data after the control information on the protection line are continuous. Insert the control information at the switching position to be
The subordinate device is:
When the control information from the working line arrives before the control information from the protection line, the acquisition of data from the working line is stopped before the control information from the working line. In addition, when the control information from the protection line arrives, acquisition of data from the protection line is started,
When the control information from the protection line arrives before the control information from the working line, the data after the control information of the protection line is temporarily stored, and the working line When the control information from is received, after the data from the working line before the control information, the data of the retained protection line is connected,
The communication system according to claim 1.
前記下位装置は、前記予備回線から前記制御情報を受信してから所定時間が経過しても前記現用回線から前記制御情報を受信できないとき、前記保持しておいたデータから始まる前記予備回線のデータに切り替える、
請求項2に記載の通信システム。 The host device continuously inserts the control information after the switching position of the working line a predetermined number of times,
When the lower-level device cannot receive the control information from the active line even after a predetermined time has elapsed after receiving the control information from the protection line, data on the protection line starting from the stored data Switch to
The communication system according to claim 2.
前記上位装置は、切り替えタイミングを示す制御情報を切り替え元の前記予備回線と切り替え先の前記現用回線の双方のデータに挿入して送信し、
前記下位装置は、前記上位装置により挿入された前記現用回線の前記制御情報の位置と前記上位装置により挿入された前記予備回線の前記制御情報の位置を元にデータの順序を維持するようにタイミングを調整して前記予備回線から前記現用回線へ切り替える、請求項1〜3のいずれか1項に記載の通信システム。 In switching to return to the original working line from the state where switching to the protection line is performed,
The host device inserts control information indicating switching timing into data of both the protection line of the switching source and the working line of the switching destination, and transmits the data.
The subordinate apparatus performs timing so as to maintain the order of data based on the position of the control information of the working line inserted by the upper apparatus and the position of the control information of the protection line inserted by the upper apparatus. The communication system according to claim 1, wherein the communication line is switched from the protection line to the working line.
前記上位装置は、前記下位装置から前記制御情報を受信すると、該制御情報にて指示された現用回線の切り替えを開始する、
請求項1〜4のいずれか1項に記載の通信システム。 The lower-level device performs an error check on the working line, and transmits control information that is generated based on the detected error level to instruct switching of the working line to the higher-level device via the protection line. ,
When the higher order device receives the control information from the lower order device, it starts switching the working line instructed by the control information.
The communication system according to any one of claims 1 to 4.
前記下位装置は、複数の前記現用回線の各々のエラーチェックをしており、エラーレベルの最も高い現用回線を切り替え対象に選択する、
請求項5に記載の通信システム。 A plurality of the working lines and one protection line, and a plurality of the working lines and one protection line constitute N: 1 redundancy;
The lower device is performing an error check of each of the plurality of working lines, and selects the working line with the highest error level as a switching target.
The communication system according to claim 5.
前記下位装置は、前記エラーレベルを示す制御情報を前記現用回線から受信すると、該現用回線の切り替えを指示する制御情報を前記予備回線を介して前記上位装置に送信する、
請求項5〜7のいずれか1項に記載の通信システム。 The higher-level device artificially generates control information indicating an error level of the working line and transmits the control information to the lower-level device via the working line,
When the lower device receives control information indicating the error level from the working line, the lower device transmits control information instructing switching of the working line to the upper device via the protection line.
The communication system according to any one of claims 5 to 7.
前記現用回線でデータを伝送している状態から前記予備回線へ切り替えるとき、切り替えタイミング前には前記現用回線向けに、前記切り替えタイミング後には前記予備回線向けにデータを切り替え、前記切り替えタイミングを示す制御情報を切り替え元の前記現用回線と切り替え先の前記予備回線の双方のデータに挿入する出力切替部と、
前記出力切替部からの前記現用回線向けのデータを前記現用回線を介して前記下位装置に送信する第1の送信機能部と、
前記出力切替部からの前記予備回線向けのデータを前記予備回線を介して前記下位装置に送信する第2の送信機能部と、
を有する通信装置。 A communication device used as a host device in a communication system using a redundant configuration composed of a working line and a protection line for connection between a host device and a host device,
When switching from the state in which data is transmitted on the working line to the protection line, control is performed to switch data to the working line before the switching timing and to the protection line after the switching timing, and to indicate the switching timing An output switching unit that inserts information into the data of both the working line of the switching source and the protection line of the switching destination;
A first transmission function unit that transmits data for the working line from the output switching unit to the lower-level device via the working line;
A second transmission function unit that transmits data for the protection line from the output switching unit to the lower-level device via the protection line;
A communication device.
前記上位装置から前記予備回線で送信されたデータを受信する第1の受信機能部と、
前記上位装置から前記現用回線で送信されたデータを受信し、前記第1の受信機能部で受信されたデータを受け、前記上位装置により切り替え元の前記現用回線と切り替え先の前記予備回線の双方のデータに挿入された切り替えタイミングを示す制御情報の双方の位置を元にデータの順序を維持するようにタイミングを調整して前記現用回線から前記予備回線へ切り替える第2の受信機能部と、
を有する通信装置。 A communication device used as a lower-level device in a communication system using a redundant configuration consisting of a working line and a protection line for connection between a higher-level device and a lower-level device,
A first reception function unit for receiving data transmitted from the host device via the protection line;
Receives data transmitted from the higher-level device through the working line, receives data received by the first reception function unit, and both the working line as a switching source and the protection line as a switching destination are received by the higher-level device. A second reception function unit for adjusting the timing so as to maintain the order of the data based on both positions of the control information indicating the switching timing inserted in the data, and switching from the working line to the protection line;
A communication device.
前記現用回線でデータを伝送している状態から前記予備回線へ切り替えるとき、前記上位装置が、切り替えタイミングを示す制御情報を切り替え元の前記現用回線と切り替え先の前記予備回線の双方のデータに挿入して前記下位装置に送信するステップと、
前記下位装置が、前記上位装置により挿入された前記現用回線の前記制御情報の位置と前記上位装置により挿入された前記予備回線の前記制御情報の位置を元にデータの順序を維持するようにタイミングを調整して前記現用回線から前記予備回線へ切り替えるステップとを有する方法。 A line control method in a communication system using redundancy consisting of a working line and a protection line for connection between a higher-level device and a lower-level device,
When switching from the state in which data is transmitted on the working line to the protection line, the higher-level device inserts control information indicating switching timing into data on both the switching source working line and the switching destination protection line. And transmitting to the lower device,
Timing is set so that the lower order apparatus maintains the data order based on the position of the control information of the working line inserted by the higher order apparatus and the position of the control information of the protection line inserted by the higher order apparatus. And switching from the working line to the protection line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005252016A JP2007067887A (en) | 2005-08-31 | 2005-08-31 | Communications system, communication device, and line control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005252016A JP2007067887A (en) | 2005-08-31 | 2005-08-31 | Communications system, communication device, and line control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007067887A true JP2007067887A (en) | 2007-03-15 |
Family
ID=37929543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005252016A Withdrawn JP2007067887A (en) | 2005-08-31 | 2005-08-31 | Communications system, communication device, and line control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007067887A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010187297A (en) * | 2009-02-13 | 2010-08-26 | Fujitsu Ltd | Data transfer system, data transfer apparatus, and data transfer method |
JP2020013446A (en) * | 2018-07-20 | 2020-01-23 | 富士通株式会社 | Processor and information processing device |
-
2005
- 2005-08-31 JP JP2005252016A patent/JP2007067887A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010187297A (en) * | 2009-02-13 | 2010-08-26 | Fujitsu Ltd | Data transfer system, data transfer apparatus, and data transfer method |
JP2020013446A (en) * | 2018-07-20 | 2020-01-23 | 富士通株式会社 | Processor and information processing device |
JP7044974B2 (en) | 2018-07-20 | 2022-03-31 | 富士通株式会社 | Processor and information processing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4308287B2 (en) | Redundant gateway system | |
JP5233165B2 (en) | Data transmission device | |
RU2635263C2 (en) | Method of reservation for communication networks | |
JPS58172050A (en) | Station operating method | |
US8155156B2 (en) | Synchronization recovery for multiple-link communications | |
US7715374B2 (en) | Redundancy gateway system | |
WO2013145240A1 (en) | Information processing device and information processing device control method | |
JP2007067887A (en) | Communications system, communication device, and line control method | |
JP5019984B2 (en) | Communication device and source clock recovery method | |
JP5176623B2 (en) | Ethernet transmission method, transmission apparatus and system | |
US8788914B2 (en) | Transmission system | |
JP6394727B1 (en) | Control device, control method, and fault tolerant device | |
JP4673697B2 (en) | Digital delay buffer and related method | |
EP1838054B1 (en) | Method of hitless radio protection switching over ethernet and a system for carrying out the method | |
US7418036B2 (en) | Method and circuit for timing pulse generation | |
JPH08223130A (en) | Switching system without short break | |
JP4679090B2 (en) | Transmission end switching method and set spare terminal equipment | |
JP3577008B2 (en) | Data guarantee circuit and data guarantee method for hot standby wireless device | |
JPH10322379A (en) | Clock path changeover method | |
JP3950741B2 (en) | Non-instantaneous switching method | |
JPH05244127A (en) | Circuit switching system | |
JP5925662B2 (en) | Packet transmission apparatus and packet transmission control method | |
JP2009246678A (en) | Hit-less switching method and hit-less switching system in optical network | |
JP3852599B2 (en) | Relay device and remote replication system | |
JPH10154972A (en) | Uninterruptible switching system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080715 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20100223 |