JP3555760B2 - Frame synchronization method - Google Patents
Frame synchronization method Download PDFInfo
- Publication number
- JP3555760B2 JP3555760B2 JP2001214455A JP2001214455A JP3555760B2 JP 3555760 B2 JP3555760 B2 JP 3555760B2 JP 2001214455 A JP2001214455 A JP 2001214455A JP 2001214455 A JP2001214455 A JP 2001214455A JP 3555760 B2 JP3555760 B2 JP 3555760B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- circuit
- gfp
- information
- sonet
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Time-Division Multiplex Systems (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、現在T1X1.5にて標準化を目指してのフレームフォーマットであるGeneric Framing Procedure(GFP)に関し、特にフレーム同期方式に関する。
【0002】
【従来の技術】
GFPは、SDL(Simple Data Link)、UDL(Universal Data Link)、HDT(Hybrid Data Transport)等と同じくLayer2カプセル化技術の1つであり、様々なLayer2ペイロードを効率的に割り付けるための共通フレームフォーマットを提供している。
【0003】
GFPのフレームは、図8(a)に示すように、コア・ヘッダと、ペイロードと、オプションとしてFCS(Frame Check Sequence)とで構成されている。フレームの同期は、コア・ヘッダに収容されているHEC(Header Error Control)によって確立され、ペイロードに収容されている情報(パケット)の転送を行う。ペイロードはセキュリティを確保するため、スクランブルがかけられて転送される。
【0004】
GFPのフレーム検出としては、図7のGFPのフレーム検出の状態遷移図に示されるように、同期が外れるとHunt状態になりBit−by−BitでHEC位置を探し出す。HEC位置が一致するとPre−Sync状態に遷移しFrame−by−Frameでのチェックが行われる。そこで、N回連続してHECが検出されるとSync状態になる。GFPによるフレーム同期方式では、同期が外れると図7の状態遷移図に示されているようにGFPの(コア・ヘッダに収容されている)HECを利用して同期を取る。GFPによるフレーム同期方式では、同期状態になった後は、フレーム毎の切れ目を判断し、ペイロードとFCSが定義されている場合は、FCSも含めて抜き出し、デスクランブルをかける。
【0005】
しかしながら、従来のGFPによるフレーム同期方式では、伝送中に回線の断が発生し、後に復旧した場合、図8(a)に示すように、GFPのスクランブルは、フレーム毎に閉じておらず、前のフレームからの継続でスクランブルをかけて伝送する方式であるため、最初に到着して有効な情報が乗せられたGFPフレームを、正常にデスクランブルできず、必ずエラーとなってしまう問題がある。
【0006】
この問題の主な要因として、図8(b)に示されるように、情報を転送していない時に流れているフレーム(アイドルフレームという)でコア・ヘッダしか存在しないため、ペイロード領域のデスクランブルの同期を取ることができないことによるものである。
【0007】
このような問題となる現象は、回線の断状態から復旧した時に発生する。ここで、図8(c)に示されるように、ポイントP0−P3間には外部から情報転送1が送信側に送られ、ポイントP7−P10間には外部から情報転送2が送信側に送られ、ポイントP16−P19間には外部から情報転送3が送信側に送られるものとする。情報転送1、情報転送2、情報転送3は、送信情報(パケット)に対応する。図8(d)は、受信側の情報伝送を示すタイミングチャートである。図8(e)は、GFPフレームの同期状態を示すタイミングチャートである。また、ポイントP4’にて、受信側が外部に情報転送1を転送した後に、回線障害が発生し、ポイントP12’にて、外部から情報転送3が送信側に送られる前に、回線障害から復旧するものとする。
【0008】
まず、ポイントP4’にて回線が断状態になり、送信側から受信側に(情報が乗せられた)GFPフレームを伝送できなくなるとその間(ポイントP4’−ポイントP12’)の情報(情報転送2)は廃棄される。その後、回線が復旧した時(ポイントP12’)、送信側から受信側に正常な情報(情報転送3)が伝送されてくるが、受信側でデスクランブルの条件が満たされていない為、1つ前に受信した情報(情報転送1)を基にデスクランブルしようとするため、必ず最初のフレームの情報(情報転送3)を再生できない。回線断から復旧した後、暫く情報(情報転送3)の伝送がされずアイドルフレームしか流れていない状態が続いて(ポイントP13からポイントP16)、ポイントP16にて送信側に有効な情報が送られてきても、受信側で必ず最初のフレームの情報(情報転送3)を再生できない。復旧時間と伝送時間にタイムラグがあっても問題の現象は発生する。あたかも回線が正常のように見えても、情報がまともに送れない現象が起きてしまう。このため、回線障害が復旧したときに正常な情報を再生することができるフレーム同期方式が望まれる。
【0009】
また、特開昭63−226145号公報では、フレーム同期信号にデータ信号列を付加した信号をスクランブリングして伝送するスクランブルドバイナリ型伝送システムが開示されている。このスクランブルドバイナリ型伝送システムは、送信側の装置では、フレーム同期信号にデータ信号列を付加して信号を送信する毎に、スクランブリング回路をリセットする手段を設け、受信側の装置では、伝送されてくるスクランブルド同期信号と同一のフレーム同期検出パターンを出力する同期検出用パターン出力回路と受信した信号とを一時的に格納するレジスタを設け、これらの出力が一致するか否かを判断し、一致したときに、レジスタから出力する信号を復元するデスクランブリング回路を、リセットする手段を設けたことを特徴としている。
【0010】
また、特開昭62−136937号公報では、PCM通信システムの復調器におけるディスクランブル回路が開示されている。このディスクランブル回路は、外部より入力されるスクランブル信号のスクランブル時に排他的論理和演算を行う時に用いるPN系列信号と同一のPN系列信号を発生するPN系列発生器と、PN系列発生器を構成するシフトレジスタ列の特定状態を検出し正論理のフレーム検出信号を出力するゲート回路と、外部より入力される正論理のフレーム同期信号とゲート回路の出力との論理和演算を行いPN系列発生器をプリセットするORゲートと、外部より入力されるスクランブル信号とPN系列発生器から出力されるPN系列信号との排他的論理和演算を行う排他的論理和ゲートとを備えたことを特徴としている。
【0011】
また、特開平2−13146号公報では、中間中継方式を用い、中間中継局には、フレーム構成された後続局への中間中継局向補助信号又は受信端局向補助信号を自己同期型スクランブル回路を通して得られる出力と、フレーム構成された後続局への中間中継局向補助信号又は受信端局向補助信号を多重化した送信端局より受信端局に伝送する主信号とを主信号のフレーム同期回路の制御により選択し出力する手段を設け、受信端局には、受信される主信号のフレーム同期回路の制御により受信される主信号から分離される補助信号と、受信される主信号を自己同期型デスクランブル回路を通して得られる出力とを受信された主信号のフレーム同期回路の制御により選択した後、受信端局向補助信号を再生する手段を設けているディジタル信号伝送方式が開示されている。
【0012】
このディジタル信号伝送方式は、ある局間の信号伝送が不通になったときに、この局間以降にある中間中継局において、フレーム構成された後続局への中間中継局向補助信号又は受信端局向補助信号を主信号の伝送速度でスクランブルした後、フレーム同期回路の制御により主信号のルートに出力し、受信端局において受信された主信号を主信号の伝送速度でデスクランブルした信号に変換し、フレーム同期回路の制御によりデスクランブルした信号を選択して補助信号再生回路に入力することを特徴としている。
【0013】
【発明が解決しようとする課題】
本発明の目的は、回線障害が復旧したときに正常な情報を再生することができるフレーム同期方式を提供することにある。
【0014】
本発明の他の目的は、回線障害が発生しているときに、受信側のデスクランブル演算回路を初期化し、送信側のスクランブル演算回路を初期化することができるフレーム同期方式を提供することにある。
【0015】
本発明の更に他の目的は、回線障害が復旧したときに、受信側のデスクランブル演算回路の初期化を解除し、送信側のスクランブル演算回路の初期化を解除することができるフレーム同期方式を提供することにある。
【0016】
【課題を解決するための手段】
以下に、[発明の実施の形態]で使用する番号・符号を用いて、課題を解決するための手段を説明する。これらの番号・符号は、[特許請求の範囲]の記載と[発明の実施の形態]の記載との対応関係を明らかにするために付加されたものであるが、[特許請求の範囲]に記載されている発明の技術的範囲の解釈に用いてはならない。
【0017】
本発明のフレーム同期方式は、第1装置(31)と第2装置(32)とを含む。第1装置(31)は、外部から送信された基準情報(a1)をスクランブルするスクランブル回路(3114)を備え、スクランブルされた基準情報(a1)を送信する。第2装置(32)は、第1装置(31)からのスクランブルされた基準情報(a1)をデスクランブルするデスクランブル回路(3215)を備え、デスクランブル回路(3215)によりデスクランブルされた基準情報(a1)を送信する。第1装置(31)は、スクランブルされた基準情報(a1)をフレームに構築して送信する。第2装置(32)は、送信されたフレームの同期の状態に基づいて回線異常を検出し、回線異常の復旧のあとに外部から送信された基準情報(a1)を送信するように第1装置(31)を制御する。このように、本発明のフレーム同期方式は、回線障害(回線異常)が復旧したときに外部から送信された基準情報(a1)を再生することができる。
【0018】
第2装置(32)は、回線異常のとき、デスクランブル回路(3215)の初期化を行い、第1装置(31)に回線異常を通知する。第1装置(31)は、第2装置(32)からの回線異常の通知に基づいてスクランブル回路(3114)の初期化を行う。
【0019】
第2装置(32)は、復旧のとき、デスクランブル回路(3215)の初期化の解除を行い、第1装置(31)に復旧を通知する。第1装置(31)は、第2装置(32)からの復旧の通知に基づいてスクランブル回路(3114)の初期化の解除を行う。
【0020】
フレームは、GFPフレームである。第2装置(32)は、回線異常のとき、デスクランブル回路(3215)の初期化を行い、異常を示すOAMメッセージを含むGFPフレームを生成して、第1装置(31)に回線異常を通知する。第1装置(31)は、第2装置(32)からのOAMメッセージの内容を解析し、解析の結果、OAMメッセージの内容が異常である場合、スクランブル回路(3114)の初期化を行う。また、第2装置(32)は、復旧のとき、デスクランブル回路(3215)の初期化の解除を行い、復旧を示すOAMメッセージを含むGFPフレームを生成して、第1装置(31)に復旧を通知する。第1装置(31)は、第2装置(32)からのOAMメッセージの内容を解析し、解析の結果、OAMメッセージの内容が復旧である場合、スクランブル回路(3114)の初期化の解除を行う。
【0021】
フレームは、SONETフレームである。第2装置(32)は、回線異常のとき、デスクランブル回路(3215)の初期化を行い、異常を示すアラーム転送をSONETフレーム内に収容して、第1装置(31)に回線異常を通知する。第1装置(31)は、第2装置(32)からの異常を示すアラーム転送に基づいてスクランブル回路(3114)の初期化を行う。第2装置(32)は、復旧のとき、デスクランブル回路(3215)の初期化の解除を行い、復旧を示すアラーム転送をSONETフレーム内に収容して、第1装置(31)に復旧を通知する。第1装置(31)は、第2装置(32)からの復旧を示すアラーム転送に基づいてスクランブル回路(3114)の初期化の解除を行う。
【0022】
【発明の実施の形態】
以下、本発明のフレーム同期方式の実施の形態としてGFPによるフレーム同期方式を、図面を参照しながら説明する。
【0023】
図1に示されたGFPのフレームは、コア・ヘッダと、ペイロードと、オプションとしてFCS(Frame Check Sequence)とで構成されている。フレームの同期は、コア・ヘッダに収容されているHEC(Header Error Control)によって確立され、ペイロードに収容されている情報(パケット)の転送を行う。ペイロードはセキュリティを確保するため、スクランブルがかけられて転送される。スクランブルに関しては、1つ前の情報を基に算出するため、連続性が保たれ転送される。
【0024】
また、ペイロードは、情報を入れるだけでなく、フレームを階層化することができ、図1に示すように、ペイロード・ヘッダを収容し、さらに細かな管理ができる仕組みがあるが、説明を簡単にするため、GFPのフレームフォーマットは、コア・ヘッダ、ペイロード(情報のみ)、FCSの構成で転送されるものとして説明する。ここで、コア・ヘッダは、フレーム長を示すPLI(PDU Length Indicator)とcHEC(Core Header Error Check)とから構成され、FCSには、CRCが収容されているものとして説明する。
【0025】
従来のGFPによるフレーム同期方式では、一度、回線で断が発生し、再同期がかかると連続性を保ちスクランブルをかけているため最初のフレームを再生できない方式であり、情報を送信していない時は、図2に示すようなコア・ヘッダしか存在しないフレームが流れているため、アイドル状態で、スクランブルの再同期がかけられない。
【0026】
そこで、本発明のGFPによるフレーム同期方式では、受信側が回線断(回線異常)になったことを判断し、受信側がデスクランブル演算回路の初期化と、送信側に警報転送とを行い、送信側が警報転送によりスクランブル演算回路の初期化を行う。この本発明のGFPによるフレーム同期方式では、回線異常が復旧してから受信側により警報解除をし、受信側のデスクランブル演算回路、送信側のスクランブル演算回路の順に初期化解除を行い、回線の障害から復活した状態から、スクランブルをスタートさせることにより、最初に送信される有効な情報が収容されているフレームから正常な情報を転送できる方式である。
【0027】
(実施の形態1)
図3は、実施の形態1に係るGFPによるフレーム同期方式の構成を示すブロック図である。
【0028】
図3に示されるように、実施の形態1に係るGFPによるフレーム同期方式は、第1装置31と第2装置32と伝送路33、34とを備えている。第1装置31は、送信回路311と受信回路312から構成される。第2装置32は、送信回路322と受信回路321から構成される。第1装置31の送信回路311と第2装置32の受信回路321とは伝送路33を介して接続されている。第2装置32の送信回路322と第1装置31の受信回路312とは伝送路34を介して接続されている。第1装置31と第2装置32は、同じ構成である。送信回路311、322は、情報をGFPにフレーム化し、SONET/SDHのフレームに搭載し伝送する処理を行う。本発明のGFPによるフレーム同期方式は、双方向通信で2系統の回線が設けられているシステムで適用される。
【0029】
第1装置31の送信回路311は、フレーム長計測回路3111と、CRC演算回路3112と、HEC演算回路3113と、スクランブル演算回路3114と、アイドルフレーム生成回路3115と、制御メッセージ用フレーム生成回路3116と、GFPフレーム化回路3117と、SONETフレーム化回路3118と、SONETフレームALM転送回路3119とを備えている。
【0030】
第1装置31の受信回路312は、SONETフレーム同期回路3121と、SONETフレームALM検出回路3122と、GFPフレーム同期回路3123と、GFPフレームALM検出回路3124と、デスクランブル演算回路3125と、FCSによる誤り訂正回路3126と、選択回路3127と、制御メッセージ判定回路3128とを備えている。
【0031】
第2装置32の送信回路322は、フレーム長計測回路3221と、CRC演算回路3222と、HEC演算回路3223と、スクランブル演算回路3224と、アイドルフレーム生成回路3225と、制御メッセージ用フレーム生成回路3226と、GFPフレーム化回路3227と、SONETフレーム化回路3228と、SONETフレームALM転送回路3229とを備えている。
【0032】
第2装置32の受信回路321は、SONETフレーム同期回路3211と、SONETフレームALM検出回路3212と、GFPフレーム同期回路3213と、GFPフレームALM検出回路3214と、デスクランブル演算回路3215と、FCSによる誤り訂正回路3216と、選択回路3217と、制御メッセージ判定回路3218とを備えている。
【0033】
まず、第1装置31、第2装置32の送信側に対応する送信回路311、送信回路322について説明する。送信回路311、送信回路322は、入力情報として情報a1、a3を外部から受信する。また、第1装置31の送信回路311は、FCSが有効である場合、情報a1と同時にFCS有効設定b1とを外部から受信する。第2装置32の送信回路322は、FCSが有効である場合、情報a3と同時にFCS有効設定b2とを外部から受信する。
【0034】
受信した情報a1、a3は、フレーム長計測回路3111、3221とCRC演算回路3112、3222とスクランブル演算回路3114、3224とに入力される。また、フレーム長計測回路3111、3221とCRC演算回路3112、3222と選択回路3127、3217にはFCS有効設定b1、b3が入力される。
【0035】
フレーム長計測回路3111、3221は、外部から情報a1、a3を入力し、FCSが有効である場合、FCS有効設定b1、b2の入力に基づいて、情報a1、a3のフレーム長を算出する。フレーム長は、コアヘッダとFCSに挟まれた部分の全ての長さになりオクテット単位で表示される。この値は、0〜65535の範囲で、0〜3は特殊フレームを意味する為に予約されている。フレーム長の算出は、GFPにおけるPLI(PDU Length Indicator)が求まった(算出された)ことを意味する。フレーム長計測回路3111、3221は、算出された情報a1、a3のフレーム長(PLIを含む)をHEC演算回路3113、3223に出力する。
【0036】
HEC演算回路3113、3223は、フレーム長計測回路3111、3221によって算出されたフレーム長に含まれるPLIからcHECの値を演算し(HEC演算を行い)、図1に示されたGFPのフレームフォーマットにおけるコア・ヘッダを構築する。HEC演算回路3113、3223にて行われるHEC演算の生成多項式はX16+X12+X5+1であり、コア・ヘッダにPLI、cHECを収容し、PLIに対するCRC16の値を収容する。HEC演算回路3113、3223は、構築されたコア・ヘッダをGFPフレーム化回路3117、3227に出力する。
【0037】
CRC演算回路3112、3222は、外部から情報a1、a3を入力し、FCSが有効である場合、FCS有効設定b1、b2の入力に基づいて、情報a1、a3のCRC演算を行う。このCRC演算回路3112、3222は、図1に示されたGFPのフレームフォーマットにおけるFCSに収容するCRC−32の演算を行う。ここで、FCS領域の付加はオプションである為、CRC演算回路3112、3222は、FCS有効設定b1、b2によって、有効/無効の選択が行える。CRC演算回路3112、3222は、CRC−32(CRC32)の演算結果をスクランブル演算回路3114、3224に出力する。
【0038】
スクランブル演算回路3114、3224は、外部から情報a1、a3と、CRC演算回路3112、3222からCRC−32(CRC32)の演算結果とを入力し、セキュリティの確保の為、スクランブルをかけ(スクランブル演算を行い)、図1に示されたGFPのフレームフォーマットにおけるペイロードとFCSとを構築する。スクランブル演算回路3114、3224にて行われるスクランブル演算の生成多項式はX43+1であり、ペイロードに情報a1、a3を収容し、FCSにCRC演算回路3112、3222の演算結果を収容する。スクランブル演算回路3114、3224は、構築されたペイロードとFCSとをGFPフレーム化回路3117、3227に出力する。
【0039】
GFPフレーム化回路3117、3227は、伝送するための有効な情報(情報a1、a3)がある場合、有効な情報を伝送するための処理として、HEC演算回路3113、3223にて構築されたコア・ヘッダと、スクランブル演算回路3114、3224にて構築されたペイロード、FCSとに基づいて、情報a1、a3の転送用のGFPとしてフレームを構築し(GFPのフレーム化を行い)、構築されたGFPをSONETフレーム化回路3118、3228に出力する。
【0040】
アイドルフレーム生成回路3115、3225は、伝送するための有効な情報(情報a1、a3)がないときに、GFPフレーム化回路3117、3227から呼び出され、図2に示されたGFPのアイドルフレームを生成してGFPフレーム化回路3117、3227に出力する。アイドルフレーム生成回路3115、3225から送出されるアイドルフレームは、前述したように、PLIとcHECのみで構成されるコア・ヘッダのみのフレームである。GFPフレーム化回路3117、3227は、伝送するための有効な情報(情報a1、a3)がないときの空き領域にアイドル情報を詰め込む/挿入する処理として、アイドルフレーム生成回路3115、3225からのアイドルフレームに基づいて、アイドル用のGFPとしてフレームを構築し(GFPのフレーム化を行い)、構築されたGFPをSONETフレーム化回路3118、3228に出力する。
【0041】
制御メッセージ用フレーム生成回路3116、3226は、対向先からの伝送路異常のような回線異常(第1装置31、第2装置32の受信側に対応する受信回路312、321のGFPフレーム同期の異常)の通知を受信回路312、321から得て、対向先(第2装置32、第1装置31の受信側に対応する受信回路321、312)へ受信回路312、321の異常を通知するための制御メッセージ用フレームを生成してGFPフレーム化回路3117、3227に出力する。制御メッセージ用フレーム生成回路3116、3226により生成される制御メッセージ用フレームは、コア・ヘッダのPLIが1の場合ではPLIとcHECと未定義(予約)とで構成されるコア・ヘッダのみのフレームであり(図4(a))、PLIが2及び3の場合ではPLIとcHECとメッセージ(OAM(Operation Administration and Maintencance)メッセージ)とCRC16とで構成されるコア・ヘッダのみのフレームである(図4(b)、(c))。GFPフレーム化回路3117、3227は、回線異常時にアラーム情報を挿入する処理として、制御メッセージ用フレーム生成回路3116、3226からの制御メッセージ用フレームに基づいて、OAM用のGFPとしてフレームを構築し(GFPのフレーム化を行い)、構築されたGFPをSONETフレーム化回路3118、3228に出力する。ここで、メッセージ(OAMメッセージ)は、対向先(第2装置32、第1装置31の受信側に対応する受信回路321、312)へ受信回路321、312の異常を通知するために用いられる。
【0042】
このように、GFPフレーム化回路3117、3227は、HEC演算回路3113、3223、スクランブル演算回路3114、3224、アイドルフレーム生成回路3115、3225、制御メッセージ用フレーム生成回路3116、3226からの出力により、情報a1、a3の転送用のGFP、アイドル用のGFP、OAM用のGFPを判断して、どのタイミングで伝送するかを決める。
【0043】
GFPフレーム化回路3117、3227により構築されたGFP(GFPフレーム)は、伝送路33、34を通して伝送される際、SONETのフレーム(SONETフレーム)に搭載され伝送される。SONETフレーム化回路3118、3228は、GFPフレーム化回路3117、3227からのGFPフレームを入力し、GFPフレームをSONETフレームのペイロードに収容し転送/伝送するために、SONETのフレーム化(SONETフレームにカプセル化する)を行う。SONETフレーム化回路3118、3228は、SONETフレームを伝送路33、34に転送/伝送する。
【0044】
SONETフレームALM転送回路3119、3229は、SONETフレームにおける回線断のアラーム転送を利用して、SONETフレーム化回路3118、3228に出力する。このSONETフレームALM転送回路3119、3229は、対向先からの伝送路異常のような回線異常(第2装置32、第1装置31の送信側に対応する送信回路322、311におけるSONETフレーム同期の異常)の通知を受信回路312、321から得て、対向先(第2装置32、第1装置31の受信側に対応する受信回路321、312)へ受信回路312、321の異常を通知するための異常を示すアラーム転送を生成してSONETフレーム化回路3118、3228に出力する。また、SONETフレームALM転送回路3119、3229は、対向先からの回線異常の復旧(第2装置32、第1装置31の送信側に対応する送信回路322、311におけるSONETフレーム同期の再開)の通知を受信回路312、321から得て、対向先(第2装置32、第1装置31の受信側に対応する受信回路321、312)へ送信側復旧を通知するための復旧を示すアラーム転送を生成してSONETフレーム化回路3118、3228に出力する。SONETフレーム化回路3118、3228は、SONETフレームALM転送回路3119、3229からアラーム転送を入力した場合、アラーム転送をSONETフレーム内に収容し、対向先(第2装置32、第1装置31の送信側に対応する送信回路322、311)に通知するために伝送路33、34に転送/伝送する。
【0045】
次に、第2装置32、第1装置31の受信側に対応する受信回路321、受信回路312について説明する。受信回路321、受信回路312は、出力情報として情報a2、a4を外部に送信する。
【0046】
SONETフレーム化回路3118、3228から出力されたSONETフレームは、伝送路33を介して、対向先(第2装置32、第1装置31の受信側に対応する受信回路321、312)に転送/伝送され、SONETフレーム同期回路3211、3121に入力される。このSONETフレーム同期回路3211、3121は、SONETフレームの同期をとり、GFPフレーム同期回路3213、3123に出力する。
【0047】
SONETフレームALM検出回路3212、3122は、SONETフレームを終端する。SONETフレーム同期回路3211、3121がSONETフレームの同期をとると同時に、SONETフレームALM検出回路3212、3122は、SONETフレーム同期回路3211、3121が行うSONETフレームの同期の状態を監視し、SONETフレーム同期の異常を検出した場合(SONETフレームの同期がとれない場合)、回線異常であることをSONETフレームALM転送回路3229、3119に通知する。また、SONETフレームALM検出回路3212、3122は、SONETフレーム同期の異常を検出した場合(SONETフレームの同期がとれない場合)、デスクランブル演算回路3215、3125の初期化を行う。
【0048】
SONETフレームALM転送回路3229、3119に転送された通知が、回線異常の通知であるとき、上述のように、SONETフレームALM転送回路3229、3119は、異常を示すアラーム転送を生成してSONETフレーム化回路3228、3118に出力し、SONETフレーム化回路3228、3118は、SONETフレームALM転送回路3229、3119からの異常を示すアラーム転送をSONETフレーム内に収容して伝送路34、33を介してSONETフレーム同期回路3121、3211に転送/伝送する。SONETフレームALM検出回路3122、3212は、SONETフレーム同期回路3121、3211からSONETフレーム内に収容された異常を示すアラーム転送を検出した場合、スクランブル演算回路3114、3224の初期化を行う。
【0049】
回線異常が復旧すると、SONETフレーム同期回路3211、3121が再度SONETフレームの同期をとると同時に、SONETフレームALM検出回路3212、3122は、SONETフレーム同期回路3211、3121が行うSONETフレームの同期の状態を監視し、SONETフレーム同期の異常から復旧を検出した場合(SONETフレームの同期がとれる場合)、回線復旧であることをSONETフレームALM転送回路3229、3119に通知する。また、SONETフレームALM検出回路3212、3122は、SONETフレーム同期の異常から復旧を検出した場合(SONETフレームの同期がとれる場合)、デスクランブル演算回路3215、3125の初期化を解除する。
【0050】
SONETフレームALM転送回路3229、3119に転送された通知が、回線異常の復旧の通知であるとき、上述のように、SONETフレームALM転送回路3229、3119は、復旧を示すアラーム転送を生成してSONETフレーム化回路3228、3118に出力し、SONETフレーム化回路3228、3118は、SONETフレームALM転送回路3229、3119からの復旧を示すアラーム転送をSONETフレーム内に収容して伝送路34、33を介してSONETフレーム同期回路3121、3211に転送/伝送する。SONETフレームALM検出回路3122、3212は、SONETフレーム同期回路3121、3211からSONETフレーム内に収容された復旧を示すアラーム転送を検出した場合、スクランブル演算回路3114、3224の初期化を解除する。
【0051】
SONETフレーム同期回路3211、3121にてSONETフレームの正常な同期がとれている場合、GFPフレーム同期回路3213、3123は、SONETフレーム同期回路3211、3121からのSONETフレームをデカプセル化してGFPフレームを検出し、フレームの境界点を見つけるために、コア・ヘッダのcHECから、フレーム位置を算出しGFPフレームの同期をとる。
【0052】
GFPフレーム同期回路3213、3123がGFPフレームの同期をとると同時に、GFPフレームALM検出回路3214、3124は、GFPフレーム同期回路3213、3123が行うGFPフレームの同期の状態を監視し、GFPフレーム同期の異常を検出した場合(GFPフレームの同期がとれない場合)、回線異常であることを制御メッセージ用フレーム生成回路3226、3116に通知する。ここで、制御メッセージ用フレーム生成回路3226、3116は、GFPフレームALM検出回路3214、3124からの通知により、上述のように、対向先(第1装置31、第2装置32の受信側に対応する受信回路312、321)へ受信回路321、312の異常を通知するための図4に示された制御メッセージ用フレームを生成してGFPフレーム化回路3227、3117に出力する。GFPフレーム化回路3227、3117は、制御メッセージ用フレーム生成回路3226、3116からの制御メッセージ用フレームに基づいて、OAM用のGFPとしてフレームを構築し(GFPのフレーム化を行い)、構築されたGFPをSONETフレーム化回路3228、3118に出力する。また、GFPフレームALM検出回路3214、3124は、GFPフレーム同期の異常を検出した場合(GFPフレームの同期がとれない場合)、デスクランブル演算回路3215、3125の初期化を行う。
【0053】
GFPフレーム同期回路3213、3123にてGFPフレームの正常な同期がとれている場合、デスクランブル演算回路3215、3125は、伝送された情報a1、a3、FCS、OAMメッセージを含む情報のスクランブルを解除する(デスクランブル演算を行う)。このデスクランブル演算回路3215、3125は、FCSが付加されている場合(FCSに収容されていたCRC演算回路3112、3222の演算結果)、ペイロードに収容されていた情報a1、a3と、FCSに収容されていたCRC演算回路3112、3222の演算結果と、OAMメッセージ(制御メッセージ用フレーム生成回路3116、3226で生成されたメッセージ)とをFCSによる誤り訂正回路3216、3126に出力する。FCSによる誤り訂正回路3216、3126は、デスクランブル演算回路3215、3125からの情報を入力し、FCSに収容されていたCRC演算回路3112、3222の演算結果を基に、誤り検出及び訂正(FCSエラー時の誤りを訂正)を行い、ペイロードに収容されていた情報a1、a3と、OAMメッセージとを選択回路3217、3127に出力する。FCSに収容されていたCRC演算回路3112、3222の演算結果は、FCSによる誤り訂正回路3216、3126により、FCSエラー時の誤りを訂正した後、廃棄される。
【0054】
また、デスクランブル演算回路3215、3125は、FCSが付加されていない場合(FCSにCRC演算回路3112、3222の演算結果が収容されていない)、直接、ペイロードに収容されていた情報a1、a3と、OAMメッセージとを選択回路3217、3127に出力する。
【0055】
選択回路3217、3127は、FCSの有無に従って選択するものであり、FCSが有効である場合、FCS有効設定b2、b1の入力に基づいて、出力情報として情報a2、a4を外部に送信し、OAMメッセージを制御メッセージ判定回路3218、3128に出力する。
【0056】
制御メッセージ判定回路3218、3128は、選択回路3217、3127からのOAMメッセージ(制御メッセージ用フレーム生成回路3116、3226で生成されたメッセージ)の入力により、OAMメッセージを解読してGFPの受信異常(受信回路321、312の異常)を判定する。判定の結果、OAMメッセージを入力した場合(GFPの受信異常)、制御メッセージ判定回路3218、3128は、スクランブル演算回路3224、3114の初期化を行う。一方、判定の結果、OAMメッセージの入力がない場合(GFPの同期が正常)、制御メッセージ判定回路3218、3128は、スクランブル演算回路3224、3114の初期化を解除する。
【0057】
実施の形態1に係るGFPによるフレーム同期方式は、以上のような構成により、回線障害が発生しているときに、受信側(受信回路321、312)のデスクランブル演算回路3215、3125を初期化し、送信側(送信回路311、322)のスクランブル演算回路3114、3224を初期化し、回線障害が復旧したときに、受信側(受信回路321、312)のデスクランブル演算回路3215、3125の初期化を解除し、送信側(送信回路311、322)のスクランブル演算回路3114、3224の初期化を解除することにより、回線障害が復旧したときに正常な情報a1、a3を再生することができる。
【0058】
次に、実施の形態1に係るGFPによるフレーム同期方式の動作を説明する。実施の形態1に係るGFPによるフレーム同期方式の動作については、(A)通常動作と、(B)回線障害(回線異常)の動作とに分けられる。
【0059】
まず、(A)通常動作について、図3、図5を参照しながら説明する。
【0060】
ここで、図5(a)は、外部から送信側(第1装置31)に送られる送信情報を示すタイミングチャートである。図5(a)に示されるように、送信情報(パケット)として、ポイントP0−P3間には外部から情報転送1が第1装置31に送られ、ポイントP7−P10間には外部から情報転送2が第1装置31に送られ、ポイントP16−P19間には外部から情報転送3が第1装置31に送られるものとする。情報転送1、情報転送2、情報転送3は、前述の情報a1に対応する。
【0061】
図3に示されるように、第1装置31において、フレーム長計測回路3111は、外部から情報a1を入力し、FCSが有効である場合、FCS有効設定b1の入力に基づいて、情報a1のフレーム長を算出し、算出された情報a1のフレーム長(PLIを含む)をHEC演算回路3113に出力する。HEC演算回路3113は、フレーム長計測回路3111によって算出されたフレーム長に含まれるPLIからcHECの値を演算してコア・ヘッダを構築し、GFPフレーム化回路3117に出力する。
【0062】
CRC演算回路3112は、外部から情報a1を入力し、FCSが有効である場合、FCS有効設定b1の入力に基づいて、情報a1のCRC演算(FCSに収容するCRC32の演算)を行い、CRC32の演算結果をスクランブル演算回路3114に出力する。スクランブル演算回路3114は、外部から情報a1と、CRC演算回路3112からCRC32の演算結果とを入力し、ペイロードに情報a1を収容し、FCSにCRC演算回路3112の演算結果を収容して、スクランブルをかけてペイロードとFCSとを構築し、GFPフレーム化回路3117に出力する。
【0063】
伝送するための有効な情報(情報a1)がある場合、GFPフレーム化回路3117は、有効な情報を伝送するための処理として、HEC演算回路3113にて構築されたコア・ヘッダと、スクランブル演算回路3114にて構築されたペイロード、FCSとに基づいて、情報a1の転送用のGFPとしてフレームを構築し、構築されたGFPをSONETフレーム化回路3118に出力する。SONETフレーム化回路3118は、GFPフレーム化回路3117からのGFPフレームを入力し、SONETのフレーム化(SONETフレームにカプセル化する)を行い、SONETフレームを伝送路33に転送/伝送する(図5(a)のポイントP0−P3に示された情報転送1用のGFPフレーム、ポイントP7−P10に示された情報転送2用のGFPフレーム、ポイントP16−P19に示された情報転送3用のGFPフレーム)。
【0064】
一方、伝送するための有効な情報(情報a1)がないときに(図5(a)のポイントP3−P7、ポイントP10−P16)、GFPフレーム化回路3117は、アイドルフレーム生成回路3115、3225を呼び出し、アイドルフレーム生成回路3115、3225からのアイドルフレームに基づいて、アイドル用のGFPとしてフレームを構築し、構築されたGFPをSONETフレーム化回路3118に出力する。SONETフレーム化回路3118は、GFPフレーム化回路3117からのGFPフレームを入力し、SONETのフレーム化(SONETフレームにカプセル化する)を行い、SONETフレームを伝送路33に転送/伝送する(図5(a)のポイントP3−P7に示されたアイドル用のGFPフレーム、ポイントP10−P16に示されたアイドル用のGFPフレーム)。
【0065】
このように、第1装置31から転送/伝送された情報a1は、伝送路33を介して第2装置32に転送される。
【0066】
第2装置32において、SONETフレーム同期回路3211は、第1装置31からのSONETフレームの同期をとり、GFPフレーム同期回路3213に出力する。SONETフレーム同期回路3211にてSONETフレームの正常な同期がとれている場合、GFPフレーム同期回路3213は、SONETフレーム同期回路3211からのSONETフレームをデカプセル化してGFPフレームを検出し、コア・ヘッダのcHECから、フレーム位置を算出しGFPフレームの同期をとる(図5(a)のポイントP0−P19:ポイントP0−P3に示された情報転送1用のGFPフレーム、ポイントP3−P7に示されたアイドル用のGFPフレーム、ポイントP7−P10に示された情報転送2用のGFPフレーム、ポイントP10−P16に示されたアイドル用のGFPフレーム、ポイントP16−P19に示された情報転送3用のGFPフレーム)。
【0067】
GFPフレーム同期回路3213にてGFPフレームの正常な同期がとれている場合、デスクランブル演算回路3215は、伝送された情報a1、FCSを含む情報のスクランブルを解除する。このデスクランブル演算回路3215は、FCSが付加されている場合(FCSに収容されていたCRC演算回路3112の演算結果)、ペイロードに収容されていた情報a1と、FCSに収容されていたCRC演算回路3112の演算結果とをFCSによる誤り訂正回路3216に出力する。FCSによる誤り訂正回路3216は、デスクランブル演算回路3215からの情報を入力し、FCSに収容されていたCRC演算回路3112の演算結果を基に、誤り検出及び訂正(FCSエラー時の誤りを訂正)を行い、ペイロードに収容されていた情報a1とを選択回路3217に出力する。FCSに収容されていたCRC演算回路3112の演算結果は、FCSによる誤り訂正回路3216により、FCSエラー時の誤りを訂正した後、廃棄される。
【0068】
また、デスクランブル演算回路3215は、FCSが付加されていない場合(FCSにCRC演算回路3112の演算結果が収容されていない)、直接、ペイロードに収容されていた情報a1を選択回路3217に出力する。選択回路3217は、FCSが有効である場合、出力情報として情報a2を外部に送信する(図5(a)のポイントP0−P3に示された情報転送1用のGFPフレーム、ポイントP7−P10に示された情報転送2用のGFPフレーム、ポイントP16−P19に示された情報転送3用のGFPフレーム)。
【0069】
このように、外部から情報a1に対応する情報転送1、情報転送2、情報転送3が第1装置31に送られ、第1装置31は、情報a1(情報転送1、情報転送2、情報転送3)の転送用のGFPとしてフレームを構築(GFPフレーム)し、GFPフレームに基づいてSONETのフレーム化(SONETフレーム)を行い、第2装置32は、第1装置31から転送/伝送された情報a1(SONETフレーム、GFPフレーム)と同期して受信し、外部に転送する。
【0070】
次に、(B)回線障害(回線異常)の動作について、図3、図5を参照しながら説明する。本発明での特徴点は、回線障害から復旧した時に、最初に到着するGFPの情報から正常に転送できることである。(B)回線障害(回線異常)の動作については、(B1)SONETフレーム同期の異常動作と、(B2)GFPフレーム同期の異常動作とに分けられる。また、(B)回線障害(回線異常)の動作では、回線障害のときのみ説明し、(A)通常動作と同じ説明については省略する。
【0071】
ここで、上述と同様に図5(a)に示されるように、ポイントP0−P3間には外部から情報転送1が第1装置31に送られ、ポイントP7−P10間には外部から情報転送2が第1装置31に送られ、ポイントP16−P19間には外部から情報転送3が第1装置31に送られるものとする。情報転送1、情報転送2、情報転送3は、送信情報(パケット)として前述の情報a1に対応する。図5(b)は、送信側(第1装置31)の情報伝送を示すタイミングチャートである。図5(c)は、受信側(第2装置32)の情報伝送を示すタイミングチャートである。図5(d)は、GFPフレームの同期状態を示すタイミングチャートである。
【0072】
また、ポイントP4’にて、第2装置32が外部に情報転送1を転送した後に、回線障害が発生し、ポイントP12’にて、外部から情報転送3が第1装置31に送られる前に、回線障害から復旧するものとする。
【0073】
まず、(B1)SONETフレーム同期の異常動作について説明する。
【0074】
図3に示されるように、外部から情報a1に対応する情報転送1が第1装置31に送られ(図5(a)のポイントP0−P3に示された情報転送1)、第1装置31は、情報a1(情報転送1)に基づいて情報a1(情報転送1)の転送用のGFPとしてフレームを構築(GFPフレーム)し、GFPフレームに基づいてSONETのフレーム化(SONETフレーム)を行い、第2装置32に転送する(図5(b)のポイントP0−P3に示された情報転送1用のGFPフレーム)。第2装置32は、第1装置31から転送/伝送された情報a1(SONETフレーム、GFPフレーム)と同期して受信し、外部に転送する(図5(c)のポイントP0−P3に示された情報転送1用のGFPフレーム、図5(d)のポイントP0−P3)。
【0075】
伝送するための有効な情報(情報a1)がないとき(図5(a)のポイントP3−P4)、第1装置31は、アイドルフレームを第2装置32に転送する。第1装置31によるアイドルフレームの転送は、アイドル用のGFPとしてフレームを構築(GFPフレーム)し、GFPフレームに基づいてSONETのフレーム化(SONETフレーム)を行い、第2装置32に転送する(図5(b)のポイントP3−P4に示されたアイドル用のGFPフレーム)。第2装置32は、第1装置31から転送/伝送されたアイドルフレーム(SONETフレーム、GFPフレーム)と同期して受信する(図5(c)のポイントP3−P4に示されたアイドル用のGFPフレーム、図5(d)のポイントP3−P4)。同じように、伝送するための有効な情報(情報a1)がないとき(図5(a)のポイントP4−P5)、第1装置31は、アイドルフレームを第2装置32に転送する(図5(b)のポイントP4−P5に示されたアイドル用のGFPフレーム)。
【0076】
いま、伝送路33で障害が発生すると、第2装置32のSONETフレーム同期回路3211は、第1装置31から転送/伝送されたSONETフレームの同期がとれなくなる。ここで、GFPフレーム同期回路3213は、SONETフレーム同期回路3211によって、GFPフレームの同期がとれない(図5(d)のポイントP4’)。SONETフレームALM検出回路3212は、SONETフレーム同期回路3211がSONETフレームの同期がとれないことにより回線障害(回線異常)を検出し、回線異常であることをSONETフレームALM転送回路3229に通知する。SONETフレームALM転送回路3229は、異常を示すアラーム転送を生成してSONETフレーム化回路3228に出力し、SONETフレーム化回路3228は、SONETフレームALM転送回路3229からの異常を示すアラーム転送をSONETフレーム内に収容して伝送路34を介して第1装置31のSONETフレーム同期回路3121に転送/伝送する。第1装置31において、SONETフレームALM検出回路3122は、SONETフレーム同期回路3121からSONETフレーム内に収容された異常を示すアラーム転送を検出したとき、障害発生を判定し、障害発生の判定を基にスクランブル演算回路3114の初期化を行う(図5(b)のポイントP4’)。また、第2装置32において、SONETフレームALM検出回路3212は、SONETフレーム同期の異常を検出したとき、デスクランブル演算回路3215の初期化を行う(図5(c)のポイントP4’)。
【0077】
伝送路33で障害が発生したままの状態(回線断状態)において(図5(c)のポイントP4’−P12’)、第1装置31では、外部から情報a1に対応する情報転送2が送信されるが(図5(a)のポイントP7−P10に示された情報転送2)、回線断状態であり回線異常が復旧されていないため、スクランブル演算回路3114の初期化を行っている間は、アイドルフレームを第2装置32に転送し続ける(図5(b)のポイントP5−P13に示されたアイドル用のGFPフレーム)。
【0078】
外部から情報転送3が第1装置31に送られる前に、図3に示された伝送路33の障害が復旧すると、第2装置32のSONETフレーム同期回路3211は、第1装置31から転送/伝送されたSONETフレームの同期がとれるようになる。SONETフレームALM検出回路3212は、SONETフレーム同期回路3211がSONETフレームの同期がとれることにより回線障害(回線異常)の復旧を検出し、回線異常の復旧(回線復旧)であることをSONETフレームALM転送回路3229に通知する。SONETフレームALM転送回路3229は、復旧を示すアラーム転送を生成してSONETフレーム化回路3228に出力し、SONETフレーム化回路3228は、SONETフレームALM転送回路3229からの復旧を示すアラーム転送をSONETフレーム内に収容して伝送路34を介して第1装置31のSONETフレーム同期回路3121に転送/伝送する。第1装置31において、SONETフレームALM検出回路3122は、SONETフレーム同期回路3121からSONETフレーム内に収容された復旧を示すアラーム転送を検出したとき、障害復旧を判定し、障害復旧の判定を基にスクランブル演算回路3114の初期化を解除する(図5(b)のポイントP12’)。また、第2装置32において、SONETフレームALM検出回路3212は、SONETフレーム同期の復旧を検出したとき、デスクランブル演算回路3215の初期化を解除する(図5(c)のポイントP12’)。
【0079】
GFPのフレーム検出としては、図7のGFPのフレーム検出の状態遷移図に示されるように、同期が外れるとHunt状態になりBit−by−BitでHEC位置を探し出す。HEC位置が一致するとPre−Sync状態に遷移しFrame−by−Frameでのチェックが行われる。そこで、N回連続してHECが検出されるとSync状態になる。本発明のGFPによるフレーム同期方式では、N=3としている。この間、第1装置31は、アイドルフレームを第2装置32に転送し(図5(b)のポイントP13−P17に示されたアイドル用のGFPフレーム)、第2装置32は、回線異常から復旧した際、アイドルフレームを3つ検出する同期状態になり、復旧して4つめのアイドルフレームから同期が取れる(図5(c)のポイントP13−P17に示されたアイドル用のGFPフレーム、図5(d)のポイントP16以降)。
【0080】
即ち、回線断状態のような回線障害(回線異常)から復旧した後に、外部から情報転送3が第1装置31に送られ(図5(a)のポイントP16−P19に示された情報転送3)、第1装置31は、情報a1(情報転送3)に基づいて情報a1(情報転送3)の転送用のGFPとしてフレームを構築(GFPフレーム)し、GFPフレームに基づいてSONETのフレーム化(SONETフレーム)を行い、第2装置32に転送する(図5(b)のポイントP16−P19に示された情報転送3用のGFPフレーム)。第2装置32は、第1装置31から転送/伝送された情報a1(SONETフレーム、GFPフレーム)を受信するとき、復旧して4つめのアイドルフレームから同期をとり、外部に転送する(図5(c)のポイントP17−P20に示された情報転送3用のGFPフレーム、図5(d)のポイントP17−P20)。
【0081】
ここで、回線異常の復旧後に第1装置31に送信された情報転送3は、スクランブル演算回路3114を初期化/初期化の解除をして初めて送られる情報であるため、スクランブル演算回路3114は、初期化後に始めて行うスクランブル演算となる。一方、第1装置31から第2装置32に送信された情報転送3は、回線異常の復旧後に、デスクランブル演算回路3215を初期化/初期化の解除をして初めて送られる情報であるため、デスクランブル演算回路3215は、初期化後に始めて行うデスクランブル演算となる。このように、本発明のGFPによるフレーム同期方式では、正しい演算を行うことができ、回線障害の情報をやりとりし、制御することで、回線障害復旧後の最初に受信したGFPフレームから正しい再生ができる。
【0082】
次に、(B2)GFPフレーム同期の異常動作について説明する。この異常としては、SONETフレームは正常だが、SONETフレームに搭載されているGFPのフレーム同期だけが取れなくなるという障害が考えられる。この場合も同様の処理で対応できる。
【0083】
図3において第2装置32のGFPフレーム同期回路3213でGFPの同期が取れなくなると、GFPフレームALM検出回路3214は、GFPフレーム同期外れ(GFPフレーム同期の異常)を検出すると同時にデスクランブル演算回路3215を初期化する。GFPフレームALM検出回路3214は、この結果(異常であること)を、制御メッセージ用フレーム生成回路3226に通知する。第2装置32では、制御メッセージ用フレーム生成回路3226によって、図4に示されるGFPの制御メッセージ用フレームであるOAMメッセージ用GFPフレーム(OAMメッセージを含む上述のOAM用のGFPフレーム)を使って、GFPフレーム同期外れを対向先(第1装置31)に通知する。本例の場合は、PLI=2のGFPフレームを使用している。送信された(異常であることを示す)OAMメッセージ用GFPフレームは、第1装置31の制御メッセージ判定回路3128で検出され、制御メッセージ判定回路3128は、OAMメッセージの内容を解析し、解析の結果、OAMメッセージの内容が異常である場合、スクランブル演算回路3114を初期化する。
【0084】
GFPフレーム同期外れの復旧時では、第2装置32のGFPフレーム同期回路3213でGFPの同期が取れるようになると、GFPフレームALM検出回路3214は、GFPフレーム同期外れからの復旧を検出すると同時にデスクランブル演算回路3215の初期化を解除する。GFPフレームALM検出回路3214は、この結果(復旧であること)を、制御メッセージ用フレーム生成回路3226に通知する。第2装置32では、制御メッセージ用フレーム生成回路3226によって、OAMメッセージ用GFPフレームを使って、GFPフレーム同期外れの復旧を対向先(第1装置31)に通知する。これもOAMメッセージ用GFPフレームを使って通知される。送信された(復旧であることを示す)OAMメッセージ用GFPフレームは、第1装置31の制御メッセージ判定回路3128で検出され、制御メッセージ判定回路3128は、OAMメッセージの内容を解析し、解析の結果、OAMメッセージの内容が復旧である場合、スクランブル演算回路3114の初期化を解除する。このようにして、本発明のGFPによるフレーム同期方式では、GFPのフレーム異常時もSONETフレームの異常時と同様に対応できる。
【0085】
これにより、実施の形態1に係るGFPによるフレーム同期方式によれば、回線障害が復旧したときに正常な情報を再生することができる。
【0086】
(実施の形態2)
図6は、実施の形態2に係るGFPによるフレーム同期方式の構成を示すブロック図である。
【0087】
図6に示されるように、実施の形態2に係るGFPによるフレーム同期方式は、第1装置31の送信回路311では、SONETフレーム化回路3118とSONETフレームALM転送回路3119とが除かれ、GFPフレーム化回路3117が伝送路33に接続されている。また、第1装置31の受信回路312では、SONETフレーム同期回路3121とSONETフレームALM検出回路3122とが除かれ、GFPフレーム同期回路3123が伝送路34に接続されている。また、第2装置32の送信回路322では、SONETフレーム化回路3228とSONETフレームALM転送回路3229とが除かれ、GFPフレーム化回路3227が伝送路34に接続されている。また、第2装置32の受信回路321では、SONETフレーム同期回路3211とSONETフレームALM検出回路3212とが除かれ、GFPフレーム同期回路3213が伝送路33に接続されている。
【0088】
尚、実施の形態2に係るGFPによるフレーム同期方式の動作と効果は、実施の形態1と同様である。この場合、GFPフレーム化回路3117、3227は、構築されたGFPを別のフレームでカプセル化せず、伝送路33を介してGFPフレーム同期回路3213、3123に出力/送信し、GFPフレーム同期回路3213、3123は、GFPフレーム化回路3117、3227からのGFPの同期をとる。
【0089】
このように、本発明のGFPによるフレーム同期方式は、SONETの警報転送、GFPのフレーム同期外れの情報を転送することで、スクランブル演算回路、デスクランブル演算回路に制御を加えることによって、GFPを使った情報伝送での回線障害時からの復旧時に、最初に到着したGFPフレームの情報から正常に再生することができる。
【0090】
本発明のGFPによるフレーム同期方式によれば、GFPを使って伝送する場合、大きく分けて2通りの方法が考えられる。1つは、実施の形態1で説明されたように、GFPをさらに別のフレームでカプセル化する場合で、実施の形態1ではSONETフレームにカプセル化し転送する場合である。これは、中継装置がSONETフレームを使って転送している場合で、特に親和性があり、システムに組み込みやすいという利点がある。
【0091】
2つ目の方法は、実施の形態2で説明されたように、GFPを別のフレームでカプセル化せず、そのまま送る場合である。この場合も実施の形態1と同様に、システムに組み込みやすいという利点がある。
【0092】
例えば、回線障害が発生した場合に、まず、伝送路での通信が不能になる。この時、スクランブルをかけて伝送しているシステムでかつ、フレーム毎に、スクランブルが閉じず、フレーム間に跨ったスクランブルがされる場合、1度、回線障害等が発生し、断状態になると、スクランブルの再生ができず、回線障害復旧後でも情報a1、a3(が乗せられたGFPフレーム)を伝送することができない。また、アイドルフレームでもスクランブルをかけて伝送しているシステムでは、アイドルフレームを使って再同期をかけることができるが、GFPのように有効な情報a1、a3が伝送されるフレームのみにスクランブルがかけられている場合、有効な情報a1、a3を(受信回路321、312が)受信しない限り、デスクランブル処理を実行しないので、回線障害復旧後に送られる有効な情報a1、a3が乗せられたGFPフレームを、正常にデスクランブルできず、必ずエラーとなってしまう。
【0093】
本発明のGFPによるフレーム同期方式によれば、回線障害(回線異常)が発生した場合、受信側(受信回路321、312)が同期外れを検出する。この時、受信側(受信回路321、312)のデスクランブル演算回路3215、3125を初期化する。双方向通信で送信可能な回線(伝送路33、34)を使って、警報転送(回線異常を示すアラーム転送、OAMメッセージ)を行い、対向局側の受信エラーを認識する。警報がアクティブ状態の間(回線異常を示すアラーム転送、OAMメッセージの転送中)は、送信側(送信回路311、322)のスクランブル演算回路3114、3224を初期化する。回線異常が復旧してから受信側(受信回路321、312)により警報解除(回線異常の復旧を示すアラーム転送、OAMメッセージ)を行い、受信側(受信回路321、312)のデスクランブル演算回路3215、3125、送信側(送信回路311、322)のスクランブル演算回路3114、3224の順に初期化解除が行われる。このため、回線障害復旧後に送信側(送信回路311、322)では、初期化後、初めてスクランブルした情報a1、a3が乗せられたGFPフレームを伝送し、受信側(受信回路321、312)でも初期化後のスクランブルしたGFPフレームをデスクランブルするので、初期値からデスクランブルをかけることができ、正常な情報a1、a3の再生が可能となる。
【0094】
また、本発明のGFPによるフレーム同期方式によれば、複数のフレームによりカプセル化されている場合でも、それぞれのフレームに対応した警報転送(回線異常を示すアラーム転送、OAMメッセージ)にて受信側(受信回路321、312)のデスクランブル演算回路3215、3125、送信側(送信回路311、322)のスクランブル演算回路3114、3224を初期化することで実現可能である。本発明のGFPによるフレーム同期方式を適用することで、回線障害復旧後の最初のスクランブルされた情報a1、a3を受信した時からデスクランブルが正常に行える。
【0095】
以上の説明により、本発明のGFPによるフレーム同期方式によれば、第2装置32(又は第1装置31)が、第1装置31(又は第2装置32)から送信されたフレーム(GFPフレーム、SONETフレーム)の同期の状態に基づいて回線障害を検出し、回線障害の復旧のあとに外部から送信された情報a1(又はa3)を第2装置32(又は第1装置31)に送信するように第1装置31(又は第2装置32)を制御するため、回線障害が復旧したときに正常な情報を再生することができる。
【0096】
また、本発明のGFPによるフレーム同期方式によれば、回線障害が発生しているときに、受信側のデスクランブル演算回路を初期化し、送信側のスクランブル演算回路を初期化することができる。
【0097】
また、本発明のGFPによるフレーム同期方式によれば、回線障害が復旧したときに、受信側のデスクランブル演算回路の初期化を解除し、送信側のスクランブル演算回路の初期化を解除することができる。
【0098】
【発明の効果】
本発明のGFPによるフレーム同期方式は、回線障害が復旧したときに正常な情報を再生することができる。
【図面の簡単な説明】
【図1】図1は、GFPのフレームフォーマットを示す図である。
【図2】図2は、GFPのアイドルフレームを示す図である。
【図3】図3は、実施の形態1に係るGFPによるフレーム同期方式の構成を示すブロック図である。
【図4】図4は、GFPの制御メッセージ用フレームを示す図である。
【図5】図5(a)は、外部から送信側に送られる送信情報を示すタイミングチャート、図5(b)は、送信側の情報伝送を示すタイミングチャート、図5(c)は、受信側の情報伝送を示すタイミングチャート、図5(d)は、GFPフレームの同期状態を示すタイミングチャートである。
【図6】図6は、実施の形態2に係るGFPによるフレーム同期方式の構成を示すブロック図である。
【図7】図7は、GFPのフレーム検出を示す状態遷移図である。
【図8】図8(a)は、GFPのフレームフォーマットを示す図、図8(b)は、GFPのアイドルフレームを示す図、図8(c)は、外部から送信側に送られる送信情報を示すタイミングチャート、図8(d)は、受信側の情報伝送を示すタイミングチャート、図8(e)は、GFPフレームの同期状態を示すタイミングチャートである。
【符号の説明】
31 第1装置
32 第2装置
311、322 送信回路
3111、3221 フレーム長計測回路
3112、3222 CRC演算回路
3113、3223 HEC演算回路
3114、3224 スクランブル演算回路
3115、3225 アイドルフレーム生成回路
3116、3226 制御メッセージ用フレーム生成回路
3117、3227 GFPフレーム化回路
3118、3228 SONETフレーム化回路
3119、3229 SONETフレームALM転送回路
312、321 受信回路
3121、3211 SONETフレーム同期回路
3122、3212 SONETフレームALM検出回路
3123、3213 GFPフレーム同期回路
3124、3214 GFPフレームALM検出回路
3125、3215 デスクランブル演算回路
3126、3216 FCSによる誤り訂正回路
3127、3217 選択回路
3128、3218 制御メッセージ判定回路
33、34 伝送路
a1、a3 情報
a2、a4 情報
b1、b2 FCS有効設定[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a Generic Framing Procedure (GFP), which is a frame format currently aimed at standardization in T1X1.5, and particularly to a frame synchronization method.
[0002]
[Prior art]
GFP is one of Layer2 encapsulation technologies like SDL (Simple Data Link), UDL (Universal Data Link), HDT (Hybrid Data Transport), etc., and is a common frame format for efficiently allocating various Layer2 payloads. Is provided.
[0003]
As shown in FIG. 8A, the GFP frame includes a core header, a payload, and, optionally, an FCS (Frame Check Sequence). Frame synchronization is established by HEC (Header Error Control) contained in the core header, and transfers information (packets) contained in the payload. The payload is scrambled and transferred to ensure security.
[0004]
As shown in the GFP frame detection state transition diagram of FIG. 7, the GFP frame is detected. When the synchronization is lost, the Hunt state is established, and the HEC position is searched for by Bit-by-Bit. When the HEC positions match, the state transits to the Pre-Sync state, and a frame-by-frame check is performed. Therefore, when the HEC is detected N times consecutively, the state becomes the Sync state. In the frame synchronization method based on GFP, when synchronization is lost, synchronization is established using HEC (accommodated in the core header) of GFP as shown in the state transition diagram of FIG. In the frame synchronization method based on the GFP, after a synchronization state is established, a break between frames is determined, and when a payload and FCS are defined, the frame and the FCS are extracted and descrambled.
[0005]
However, in the conventional frame synchronization method based on GFP, when a line disconnection occurs during transmission and is restored later, as shown in FIG. 8A, the GFP scramble is not closed for each frame, and In this method, scrambled data is transmitted with continuation from the frame, and the GFP frame that arrives first and carries valid information cannot be normally descrambled, and an error always occurs.
[0006]
The main cause of this problem is that, as shown in FIG. 8B, only a core header exists in a frame (idle frame) flowing when information is not transferred, so that the descrambling of the payload area is performed. This is due to the inability to synchronize.
[0007]
Such a problem occurs when the line is restored from the disconnected state. Here, as shown in FIG. 8C, an
[0008]
First, when the line is disconnected at the point P4 'and the transmission side cannot transmit the GFP frame (containing information) from the transmission side to the reception side, information (information transfer 2) during that time (point P4'-point P12') is lost. ) Is discarded. Thereafter, when the line is restored (point P12 '), normal information (information transfer 3) is transmitted from the transmitting side to the receiving side, but since the descrambling condition is not satisfied on the receiving side, one Since an attempt is made to descramble based on previously received information (information transfer 1), the information (information transfer 3) of the first frame cannot always be reproduced. After recovery from the line disconnection, the state where information (information transfer 3) is not transmitted for a while and only idle frames are flowing (from point P13 to point P16), and valid information is sent to the transmitting side at point P16. However, the receiving side cannot always reproduce the information of the first frame (information transfer 3). Even if there is a time lag between the recovery time and the transmission time, the problem phenomenon occurs. Even if the line looks normal, the phenomenon that information cannot be sent properly occurs. For this reason, a frame synchronization system that can reproduce normal information when the line failure is recovered is desired.
[0009]
Japanese Patent Application Laid-Open No. 63-226145 discloses a scrambled binary transmission system in which a signal obtained by adding a data signal sequence to a frame synchronization signal is scrambled and transmitted. In this scrambled binary transmission system, the transmitting device includes means for resetting a scrambling circuit every time a signal is transmitted by adding a data signal sequence to a frame synchronization signal. A synchronous detection pattern output circuit for outputting the same frame synchronization detection pattern as the received scrambled synchronization signal and a register for temporarily storing the received signal are provided, and it is determined whether or not these outputs match. And a means for resetting a descrambling circuit for restoring a signal output from the register when they match.
[0010]
Japanese Patent Application Laid-Open No. 62-136937 discloses a descrambling circuit in a demodulator of a PCM communication system. This descramble circuit constitutes a PN sequence generator that generates the same PN sequence signal as a PN sequence signal used when performing an exclusive OR operation when scrambling an externally input scramble signal, and a PN sequence generator. A gate circuit that detects a specific state of the shift register row and outputs a positive logic frame detection signal, and performs a logical sum operation of a positive logic frame synchronization signal input from the outside and the output of the gate circuit to generate a PN sequence generator It is characterized by comprising an OR gate for presetting, and an exclusive OR gate for performing an exclusive OR operation of a scramble signal input from the outside and a PN sequence signal output from the PN sequence generator.
[0011]
In Japanese Patent Application Laid-Open No. 2-1146, an intermediate relay system is used, and an intermediate relay station supplies an auxiliary signal for an intermediate relay station or an auxiliary signal for a receiving terminal to a subsequent station in a self-synchronous scrambling circuit. And the main signal transmitted from the transmitting end station to the receiving end station by multiplexing the auxiliary signal directed to the intermediate relay station or the auxiliary end signal directed to the receiving end to the succeeding station in a frame structure of the main signal. A means for selecting and outputting under control of the circuit is provided, and the receiving terminal is provided with an auxiliary signal separated from the main signal received by the control of the frame synchronization circuit of the received main signal, and a received main signal. A digital signal provided with a means for reproducing an auxiliary signal directed to a receiving terminal after selecting an output obtained through a synchronous descramble circuit under control of a frame synchronizing circuit of a received main signal. Transmission system is disclosed.
[0012]
This digital signal transmission system is designed such that when signal transmission between certain stations is interrupted, an intermediate relay station located between the stations and thereafter transmits an auxiliary signal directed to an intermediate relay station to a subsequent station in a frame configuration or a receiving terminal station. After scrambling the auxiliary signal at the transmission speed of the main signal, it is output to the main signal route under the control of the frame synchronization circuit, and the main signal received at the receiving terminal is converted into a signal descrambled at the transmission speed of the main signal. Then, a signal descrambled under the control of the frame synchronization circuit is selected and input to the auxiliary signal reproduction circuit.
[0013]
[Problems to be solved by the invention]
It is an object of the present invention to provide a frame synchronization system capable of reproducing normal information when a line failure is recovered.
[0014]
Another object of the present invention is to provide a frame synchronization method that can initialize a descrambling operation circuit on a receiving side and a scrambling operation circuit on a transmitting side when a line failure has occurred. is there.
[0015]
Still another object of the present invention is to provide a frame synchronization method capable of canceling the initialization of the descrambling arithmetic circuit on the receiving side and canceling the initialization of the scrambling arithmetic circuit on the transmitting side when the line failure is restored. To provide.
[0016]
[Means for Solving the Problems]
The means for solving the problem will be described below using the numbers and symbols used in [Embodiments of the Invention]. These numbers and symbols are added to clarify the correspondence between the description of [Claims] and the description of [Embodiments of the Invention]. It should not be used to interpret the technical scope of the described invention.
[0017]
The frame synchronization system according to the present invention includes a first device (31) and a second device (32). The first device (31) includes a scramble circuit (31) for scrambling the reference information (a1) transmitted from the outside. 14 ), And transmits the scrambled reference information (a1). The second device (32) descrambles the scrambled reference information (a1) from the first device (31). Fifteen ) And a descramble circuit (32 Fifteen ), The reference information (a1) descrambled is transmitted. The first device (31) constructs the scrambled reference information (a1) into a frame and transmits the frame. The second device (32) detects a line abnormality based on the synchronization state of the transmitted frame, and transmits the reference information (a1) transmitted from the outside after the recovery from the line abnormality to the first device. (31) is controlled. As described above, the frame synchronization method of the present invention can reproduce the reference information (a1) transmitted from the outside when the line failure (line abnormality) is recovered.
[0018]
When the line is abnormal, the second device (32) operates the descrambling circuit (32). Fifteen ), And notifies the first device (31) of the line abnormality. The first device (31), based on the notification of the line abnormality from the second device (32), based on the scramble circuit (31). 14 ) Is initialized.
[0019]
The second device (32) restores the descrambling circuit (32 Fifteen ) Is released, and the first device (31) is notified of the restoration. The first device (31), based on the notification of the recovery from the second device (32), the scramble circuit (31) 14 ) Is released.
[0020]
The frame is a GFP frame. When the line is abnormal, the second device (32) operates the descrambling circuit (32). Fifteen ), Generates a GFP frame including an OAM message indicating the abnormality, and notifies the first device (31) of the line abnormality. The first device (31) analyzes the content of the OAM message from the second device (32). If the result of the analysis indicates that the content of the OAM message is abnormal, the scrambling circuit (31) 14 ) Is initialized. Further, the second device (32) restores the descrambling circuit (32 Fifteen ) Is released, a GFP frame including an OAM message indicating restoration is generated, and the first device (31) is notified of the restoration. The first device (31) analyzes the content of the OAM message from the second device (32), and if the result of the analysis indicates that the content of the OAM message is restored, the scrambling circuit (31) 14 ) Is released.
[0021]
The frame is a SONET frame. When the line is abnormal, the second device (32) operates the descrambling circuit (32). Fifteen ) Is initialized, the alarm transfer indicating the abnormality is accommodated in the SONET frame, and the first device (31) is notified of the line abnormality. The first device (31) performs a scramble circuit (31) based on an alarm transfer indicating an abnormality from the second device (32). 14 ) Is initialized. The second device (32) restores the descrambling circuit (32 Fifteen ) Is released, the alarm transfer indicating the recovery is accommodated in the SONET frame, and the first device (31) is notified of the recovery. The first device (31) receives the scramble circuit (31) based on the alarm transfer indicating the recovery from the second device (32). 14 ) Is released.
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a frame synchronization method using GFP will be described as an embodiment of the frame synchronization method of the present invention with reference to the drawings.
[0023]
The GFP frame shown in FIG. 1 includes a core header, a payload, and optionally, an FCS (Frame Check Sequence). Frame synchronization is established by HEC (Header Error Control) contained in the core header, and transfers information (packets) contained in the payload. The payload is scrambled and transferred to ensure security. Concerning the scramble, since the scramble is calculated based on the immediately preceding information, the continuity is transferred.
[0024]
In addition, the payload can not only store information but also hierarchize the frames. As shown in FIG. 1, there is a mechanism that accommodates a payload header and allows more detailed management. Therefore, the description will be made assuming that the GFP frame format is transferred in the configuration of the core header, the payload (information only), and the FCS. Here, the core header is composed of a PLI (PDU Length Indicator) indicating a frame length and a cHEC (Core Header Error Check), and a description will be given assuming that the FCS contains a CRC.
[0025]
In the conventional GFP frame synchronization method, once the line is disconnected and resynchronization is applied, continuity is maintained and scrambling is applied, so the first frame cannot be reproduced, and when information is not transmitted. Since a frame having only a core header as shown in FIG. 2 flows, resynchronization of scramble cannot be performed in an idle state.
[0026]
Therefore, in the frame synchronization method based on GFP of the present invention, the receiving side determines that the line has been disconnected (line abnormality), the receiving side initializes the descrambling operation circuit, performs an alarm transfer to the transmitting side, and the transmitting side performs The scrambling operation circuit is initialized by the alarm transfer. In the frame synchronization method based on GFP of the present invention, after the line abnormality is recovered, the alarm is released by the receiving side, the descrambling operation circuit on the receiving side, and the scrambling operation circuit on the transmitting side are de-initialized in this order, and In this method, normal information can be transferred from a frame in which valid information to be transmitted first is accommodated by starting scrambling from a state recovered from a failure.
[0027]
(Embodiment 1)
FIG. 3 is a block diagram showing a configuration of a frame synchronization system using GFP according to the first embodiment.
[0028]
As shown in FIG. 3, the frame synchronization system based on GFP according to the first embodiment includes a
[0029]
[0030]
Receiving
[0031]
[0032]
Receiving
[0033]
First, the transmitting
[0034]
The received information a1 and a3 are transmitted to the frame
[0035]
Frame
[0036]
[0037]
[0038]
[0039]
[0040]
Idle
[0041]
Control message
[0042]
Thus, the
[0043]
[0044]
SONET frame
[0045]
Next, the
[0046]
[0047]
SONET frame
[0048]
SONET frame
[0049]
When the line abnormality is recovered, the SONET
[0050]
SONET frame
[0051]
SONET
[0052]
GFP
[0053]
GFP
[0054]
Also, the
[0055]
[0056]
Control
[0057]
The GFP frame synchronization system according to the first embodiment has the above-described configuration, and when a line failure occurs, the receiving side (receiving
[0058]
Next, the operation of the GFP-based frame synchronization system according to the first embodiment will be described. The operation of the GFP frame synchronization system according to the first embodiment can be divided into (A) normal operation and (B) operation of a line failure (line abnormality).
[0059]
First, (A) normal operation will be described with reference to FIGS.
[0060]
Here, FIG. 5A is a timing chart showing transmission information sent from the outside to the transmitting side (first device 31). As shown in FIG. 5A, an
[0061]
As shown in FIG. 3, in the
[0062]
[0063]
If there is valid information (information a1) for transmission, the
[0064]
On the other hand, when there is no valid information (information a1) for transmission (points P3-P7, points P10-P16 in FIG. 5A), the
[0065]
Thus, the information a1 transferred / transmitted from the
[0066]
In the
[0067]
GFP
[0068]
Also, the
[0069]
As described above, the
[0070]
Next, the operation of (B) a line failure (line abnormality) will be described with reference to FIGS. A feature of the present invention is that, when recovery from a line failure occurs, information can be transferred normally from information on the first arriving GFP. The operation of (B) line failure (line abnormality) is classified into (B1) abnormal operation of SONET frame synchronization and (B2) abnormal operation of GFP frame synchronization. Also, in the operation of (B) line failure (line abnormality), description will be made only when there is a line failure, and the same description as (A) normal operation will be omitted.
[0071]
Here, similarly to the above, as shown in FIG. 5A, an
[0072]
Further, after the
[0073]
First, (B1) abnormal operation of SONET frame synchronization will be described.
[0074]
As shown in FIG. 3, the
[0075]
When there is no valid information (information a1) for transmission (points P3-P4 in FIG. 5A), the
[0076]
Now, when a failure occurs in the
[0077]
In a state in which a failure has occurred in the transmission path 33 (line disconnection state) (points P4 ′ to P12 ′ in FIG. 5C), the
[0078]
If the failure of the
[0079]
As shown in the GFP frame detection state transition diagram of FIG. 7, the GFP frame is detected. When the synchronization is lost, the Hunt state is established, and the HEC position is searched for by Bit-by-Bit. When the HEC positions match, the state transits to the Pre-Sync state, and a frame-by-frame check is performed. Therefore, when the HEC is detected N times consecutively, the state becomes the Sync state. In the frame synchronization method using GFP of the present invention, N = 3. During this time, the
[0080]
That is, after recovery from a line failure (line abnormality) such as a line disconnection state, the
[0081]
Here, the
[0082]
Next, (B2) abnormal operation of GFP frame synchronization will be described. This abnormality may be a failure in which the SONET frame is normal but only the frame synchronization of the GFP mounted on the SONET frame is lost. This case can be dealt with by similar processing.
[0083]
In FIG. 3, the GFP
[0084]
At the time of recovery from the loss of GFP frame synchronization, the GFP
[0085]
Thus, according to the frame synchronization method based on GFP according to the first embodiment, normal information can be reproduced when the line failure is recovered.
[0086]
(Embodiment 2)
FIG. 6 is a block diagram showing a configuration of a frame synchronization system using GFP according to the second embodiment.
[0087]
As shown in FIG. 6, the frame synchronization method based on the GFP according to the second embodiment uses the
[0088]
The operation and effect of the GFP frame synchronization system according to the second embodiment are the same as those of the first embodiment. In this case, the
[0089]
As described above, the GFP frame synchronization method of the present invention uses the GFP by adding control to the scramble arithmetic circuit and descrambling arithmetic circuit by transferring the SONET alarm transfer and the GFP out-of-frame information. At the time of recovery from a line failure in information transmission, it is possible to normally reproduce from the information of the GFP frame that has arrived first.
[0090]
According to the GFP frame synchronization system of the present invention, when transmitting using GFP, there are roughly two methods. One is a case where the GFP is encapsulated in another frame as described in the first embodiment, and the first embodiment is a case where the GFP is encapsulated in a SONET frame and transferred. This is the case where the relay apparatus transfers data using a SONET frame, and has an advantage that it is particularly compatible and easy to incorporate into a system.
[0091]
The second method is a case where the GFP is transmitted without being encapsulated in another frame as described in the second embodiment. In this case, as in the first embodiment, there is an advantage that it can be easily incorporated into the system.
[0092]
For example, when a line failure occurs, first, communication on the transmission path is disabled. At this time, if the system is scrambled and transmitted, and the scramble is not closed for each frame and scrambled across frames is performed, once a line failure or the like occurs and the system is disconnected, The scramble cannot be reproduced and the information a1 and a3 (the GFP frame carrying the information) cannot be transmitted even after the recovery from the line failure. In a system in which idle frames are scrambled and transmitted, resynchronization can be performed using idle frames. However, only frames in which valid information a1 and a3 are transmitted, such as GFP, are scrambled. If the information is valid, the valid information a1 and a3 are 1 , 31 2 ), The descrambling process is not executed unless it is received, so that the GFP frame carrying valid information a1 and a3 sent after the recovery from the line failure cannot be normally descrambled, and an error always occurs.
[0093]
According to the GFP frame synchronization system of the present invention, when a line failure (line abnormality) occurs, the receiving side (receiving
[0094]
Further, according to the frame synchronization method based on the GFP of the present invention, even if the frame is encapsulated by a plurality of frames, the receiving side (alarm transfer indicating a line abnormality, OAM message) corresponding to each frame is used for the receiving side ( Receiving
[0095]
As described above, according to the GFP frame synchronization scheme of the present invention, the second device 32 (or the first device 31) transmits the frame (the GFP frame, the frame transmitted from the first device 31 (or the second device 32)). A line failure is detected based on the synchronization state of the SONET frame, and information a1 (or a3) transmitted from outside after the restoration of the line failure is transmitted to the second device 32 (or the first device 31). Since the first device 31 (or the second device 32) is controlled at the same time, normal information can be reproduced when the line failure is recovered.
[0096]
Further, according to the frame synchronization system based on GFP of the present invention, when a line failure has occurred, the descrambling operation circuit on the receiving side can be initialized, and the scrambling operation circuit on the transmitting side can be initialized.
[0097]
Further, according to the frame synchronization system based on GFP of the present invention, when the line failure is recovered, the initialization of the descrambling arithmetic circuit on the receiving side and the initialization of the scrambling arithmetic circuit on the transmitting side can be canceled. it can.
[0098]
【The invention's effect】
The GFP frame synchronization system of the present invention can reproduce normal information when a line failure is recovered.
[Brief description of the drawings]
FIG. 1 is a diagram showing a GFP frame format.
FIG. 2 is a diagram illustrating an idle frame of GFP.
FIG. 3 is a block diagram showing a configuration of a frame synchronization system using GFP according to the first embodiment.
FIG. 4 is a diagram illustrating a GFP control message frame;
5A is a timing chart showing transmission information sent from the outside to the transmission side, FIG. 5B is a timing chart showing information transmission on the transmission side, and FIG. FIG. 5D is a timing chart showing the information transmission on the side, and FIG. 5D is a timing chart showing the synchronization state of the GFP frame.
FIG. 6 is a block diagram showing a configuration of a frame synchronization system using GFP according to the second embodiment.
FIG. 7 is a state transition diagram showing GFP frame detection.
8 (a) is a diagram showing a GFP frame format, FIG. 8 (b) is a diagram showing a GFP idle frame, and FIG. 8 (c) is transmission information sent from the outside to the transmission side. 8D is a timing chart illustrating information transmission on the receiving side, and FIG. 8E is a timing chart illustrating a synchronization state of the GFP frame.
[Explanation of symbols]
31 First device
32 Second device
31 1 , 32 2 Transmission circuit
31 11 , 32 21 Frame length measurement circuit
31 12 , 32 22 CRC operation circuit
31 Thirteen , 32 23 HEC operation circuit
31 14 , 32 24 Scramble arithmetic circuit
31 Fifteen , 32 25 Idle frame generation circuit
31 16 , 32 26 Control message frame generation circuit
31 17 , 32 27 GFP framing circuit
31 18 , 32 28 SONET framing circuit
31 19 , 32 29 SONET frame ALM transfer circuit
31 2 , 32 1 Receiver circuit
31 21 , 32 11 SONET frame synchronization circuit
31 22 , 32 12 SONET frame ALM detection circuit
31 23 , 32 Thirteen GFP frame synchronization circuit
31 24 , 32 14 GFP frame ALM detection circuit
31 25 , 32 Fifteen Descramble arithmetic circuit
31 26 , 32 16 Error correction circuit by FCS
31 27 , 32 17 Selection circuit
31 28 , 32 18 Control message judgment circuit
33, 34 transmission line
a1, a3 information
a2, a4 information
b1, b2 FCS enable setting
Claims (4)
前記第1装置からの前記スクランブルされた基準情報をデスクランブルするデスクランブル回路を備え、前記デスクランブル回路によりデスクランブルされた前記基準情報を送信する第2装置とを含み、
前記第1装置は、前記スクランブルされた基準情報をフレームに構築して送信し、
前記第2装置は、前記送信されたフレームの同期の状態に基づいて回線異常を検出し、前記デスクランブル回路の初期化を行い、前記第1装置に前記回線異常を通知し、前記回線異常の復旧のあとに外部から送信された基準情報をスクランブルして送信するように前記第1装置を制御し、
前記第1装置は、前記第2装置からの前記回線異常の通知に基づいて前記スクランブル回路の初期化を行う
フレーム同期方式。A first device that includes a scramble circuit that scrambles reference information transmitted from the outside, and that transmits the scrambled reference information;
A descramble circuit that descrambles the scrambled reference information from the first device, and a second device that transmits the reference information descrambled by the descramble circuit,
The first device constructs the scrambled reference information into a frame and transmits the frame.
The second device detects a line error based on the synchronization state of the transmitted frame , initializes the descrambling circuit, notifies the first device of the line error, and notifies the first device of the line error. controlling the first device to transmit scrambled reference information transmitted from the outside after the recovery,
The frame synchronization method , wherein the first device initializes the scramble circuit based on the notification of the line abnormality from the second device .
前記第2装置は、前記復旧のとき、前記デスクランブル回路の初期化の解除を行い、前記第1装置に前記復旧を通知し、
前記第1装置は、前記第2装置からの前記復旧の通知に基づいて前記スクランブル回路の初期化の解除を行う
フレーム同期方式。The frame synchronization method according to claim 1 ,
The second device, at the time of the recovery, cancels the initialization of the descrambling circuit, notifies the first device of the recovery,
A frame synchronization method in which the first device cancels initialization of the scramble circuit based on the notification of the restoration from the second device.
前記フレームは、GFPフレームである
フレーム同期方式。The frame synchronization method according to claim 1 or 2 ,
The frame is a frame synchronization system in which the frame is a GFP frame.
前記フレームは、SONETフレームである
フレーム同期方式。The frame synchronization method according to claim 1 or 2 ,
The frame is a frame synchronization system, which is a SONET frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001214455A JP3555760B2 (en) | 2001-07-13 | 2001-07-13 | Frame synchronization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001214455A JP3555760B2 (en) | 2001-07-13 | 2001-07-13 | Frame synchronization method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003032234A JP2003032234A (en) | 2003-01-31 |
JP3555760B2 true JP3555760B2 (en) | 2004-08-18 |
Family
ID=19049271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001214455A Expired - Fee Related JP3555760B2 (en) | 2001-07-13 | 2001-07-13 | Frame synchronization method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3555760B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1742494A1 (en) * | 2004-04-09 | 2007-01-10 | Utstarcom Telecom Co., Ltd | A method and system of signal transmission based on radio frequency stretch base station |
US8347160B2 (en) | 2007-07-13 | 2013-01-01 | Rohm Co., Ltd. | Information communication terminal, radio communication apparatus and radio communication network system capable of performing communication corresponding to purpose |
JP2009021941A (en) * | 2007-07-13 | 2009-01-29 | Rohm Co Ltd | Information communication terminal, radio communication device, and radio communication network |
JP6493970B2 (en) * | 2015-03-31 | 2019-04-03 | Necプラットフォームズ株式会社 | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION CONTROL METHOD |
-
2001
- 2001-07-13 JP JP2001214455A patent/JP3555760B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003032234A (en) | 2003-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0411538B1 (en) | Satellite communications system operating in asynchronous mode for central-to-terminal station transmission | |
US5241534A (en) | Rerouting and change-back systems for asynchronous transfer mode network | |
US6756898B2 (en) | Network termination device, alarm transfer system and alarm transferring method | |
US20030123389A1 (en) | Apparatus and method for controlling data transmission | |
EP0942569A2 (en) | Simple data link (SDL) protocol | |
US6609226B1 (en) | Networking device and method for making cyclic redundancy check (CRC) immune to scrambler error duplication | |
JPH0795225A (en) | Bidirectional ring network control system | |
US7986717B2 (en) | System, apparatus, and method for increasing resiliency in communications | |
JP3522247B2 (en) | Multiple transfer system and apparatus | |
JPH10262017A (en) | Sdh multiplex transmission system and device therefor | |
US7742503B2 (en) | Method and apparatus for transmitting data from asynchronous network via synchronous network | |
JP3555760B2 (en) | Frame synchronization method | |
JP3569003B2 (en) | Method for transmitting information for a given application in the form of a series of different entities by means of ATM cells and an apparatus for implementing this method | |
JP3539551B2 (en) | Frame and transmission device for accommodating heterogeneous data traffic on common carrier | |
JPH0683262B2 (en) | Packet switching system and method | |
US20060077991A1 (en) | Transmission apparatus and transmission system | |
JPH1188355A (en) | Passing control method and device for transmission cell | |
WO2011125285A1 (en) | Transmission system | |
JP3556323B2 (en) | Relay device | |
JP3282707B2 (en) | Cross-connect circuit and terminal device using the same | |
JP4377180B2 (en) | Information transmission system | |
JP2770790B2 (en) | SOH termination circuit | |
US20040027261A1 (en) | Centrally synchronized distributed switch | |
JP3990064B2 (en) | Path monitoring method and path monitoring circuit | |
US6912667B1 (en) | System and method for communicating fault type and fault location messages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040202 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040402 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040423 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040506 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090521 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100521 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110521 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110521 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120521 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120521 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130521 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140521 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |