JP2004266524A - Frame synchronizing method - Google Patents

Frame synchronizing method Download PDF

Info

Publication number
JP2004266524A
JP2004266524A JP2003053966A JP2003053966A JP2004266524A JP 2004266524 A JP2004266524 A JP 2004266524A JP 2003053966 A JP2003053966 A JP 2003053966A JP 2003053966 A JP2003053966 A JP 2003053966A JP 2004266524 A JP2004266524 A JP 2004266524A
Authority
JP
Japan
Prior art keywords
frame
bit
start code
code
preamble
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003053966A
Other languages
Japanese (ja)
Inventor
Kenichi Suzuki
謙一 鈴木
Koichi Saito
幸一 斉藤
Hiromi Ueda
裕巳 上田
Masanobu Kobayashi
正伸 小林
Ryoji Sasaoka
良治 笹岡
Masahiro Ashi
賢浩 芦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Hitachi Communication Technologies Ltd
Original Assignee
Nippon Telegraph and Telephone Corp
Hitachi Communication Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, Hitachi Communication Technologies Ltd filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2003053966A priority Critical patent/JP2004266524A/en
Publication of JP2004266524A publication Critical patent/JP2004266524A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a frame synchronizing method with which a frame starting code detection capability is more improved and a frame discard rate is reduced. <P>SOLUTION: A bit pattern of a preamble is set to make the number of bits which is different between a bit stream of an arbitrary continuous (n)-bit length extracted from a bit stream composed of the preamble and a frame starting code continued thereto and a bit stream of the frame starting code, equal to or greater than a humming distance (h). A synchronizing clock is extracted from the preamble in a received frame, and bit synchronism is established and transits into a hunt state. In the hunt state, the bit stream composed of the preamble and the frame starting code is shifted bit by bit successively from the top, the bit stream of the continuous (n)-bit length and the bit stream of the frame starting code are successively compared and when the different numbers of bits are within [(h-1)/2] (meaning an integer part of (h-1)/2) bits, it is judged that the frame starting code is detected, thereby starting a synchronizing state. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する分野】
本発明は、光受動ネットワーク(PON)におけるフレーム同期方法、特にフレーム開始符号の検出能力が一層高められフレーム廃棄される確率を低減したフレーム同期方法に関するものである。
【0002】
【従来の技術】
光受動ネットワーク(PON:伝送路分岐多数ユーザ接続ネットワーク)は、加入者回線終端装置と加入者収容装置との間でATM(Asynchronous Transfer Mode)セルの伝送を行う技術であり、ITU−勧告G.983.1にその機能が規定されている。
PONのネットワーク構成を図1に示す。PONは加入者収容装置(OLT)1と複数の(図面上n個)の加入者回線終端装置(ONU)2−1〜2−nとを光線路及び光分岐回路3を介して光接続する。OLT1とONU2との間において、OLT1からONU2に向かう下り信号として波長が1.5μmの光信号を用い、ONU2からOLT1に向かう上り信号として1.3μm波長の光信号を用い、OLT1とONU2との間に伝送フレームの送受信が行われる。尚、単芯の光ファイバを用いる場合、波長多重(WDM)により信号伝送が行われる。
【0003】
OLT1から選出される下りフレームは光カップラ(光分岐回路)3により分岐されて全てのONU2−1〜2−nに到着する。各ONU2から送出される上りフレームは、光カップラ3で合波されOLT1に到着する。このとき、各ONUからの上りフレームが衝突しないように、OLT1は各ONU2からの上りフレームの送出タイミングを制御する。
【0004】
PONの上りフレームの構成を図2に示す。上りフレームは、先頭から順に衝突防止用のガードタイム10、ビット同期用のプリアンブル11、フレーム開始符号12、ヘッダ13およびベイロード14から構成され、必要に応じてフレーム終了符号15が付加される。尚、図2(b)に上りフレームの最終端にフレーム終了符号15が挿入された例を示す。OLT1において行われる上りフレームの同期は、プリアンブル11を使ったビット同期、フレーム開始符号12を使った符号区切りの同期によって確立されている(例えば、非特許文献1参照)。つまりフレーム開始符号の検出では、プリアンブル11とフレーム開始符号12とで構成されるビット列から、連続するフレーム開始符号のビット長に相当する長さのビット列を、ビット列の先頭からmビットずらして(m=0、1、2、...)抽出し、フレーム開始符号12との比較を行い、開始符号と一致した場合に、フレーム開始符号として検出されていた。この場合、開始符号長をnビット、伝送路誤り率をεとすると、開始符号を見逃す確率はnCεとなり、伝送路誤り率に比例している。
【0005】
非特許文献2であるIEEE802.3ahで定義される上りフレームを図3に示す。IEEE802.3ahでは、プリアンブルとして開始符号である8B/10B符号/S/(=/K27.7/)の前に8B/10B符号/I/(=/K28.5/D5.6/or/K28.5/D16.2/)を2×n(nは自然数)シンボル付加することを規定している。nは、ONU2の起動時にOLT1により指示される。各ONU2からの上りフレームの同期は、OLTとONUとの間で16nsの粒度のタイムスタンプをやりとりすることにより、OLTのカウンタと各ONUのカウンタを同期することにより実現されている。OLTによる上りフレームの送出タイミング制御は、OLTがカウンタ値を使って、開始位置とフレーム長をONUに指示することにより実現されている。
【0006】
8B/10B符号について、元の8ビットデータに対応する8B/10B符号は2つあり、ランニングディスパリティ(RD)則に基づいて、どちらかの値がとられている(例えば、非特許文献3参照)。8B/10B符号を前半6ビットと後半4ビットの2つのブロックに分けそれぞれのブロックで0と1の多寡を計算し1の数が多ければ正、少なければ負としている。送信器はRD値が交互に送信されるように符号を制御している。また送信器起動時のRD値を負と規定している。
【0007】
【非特許文献1】
ITU−TR Recommendation G983.1、1998年10月発行、Table 6,p27−28
【非特許文献2】
IEEE802.3ah/D1.0, 2002年 8月19日発行、57、2章GMII data strcam,pp.142−143
【非特許文献3】
IEEE802.3,2000 Edition(ISO/IEC8802−3, 2000 Edition) 36.2章Physical coding sublayer(PCS)、pp.965−993
【0008】
【発明が解決しようとする課題】
PONにおいて、伝送路の分散や損失等による信号劣化を防ぐ目的で誤り訂正符合の適用が検討されている。誤り訂正符合の適用にあたっては、フレーム開始符号やフレーム終了符号の検出見逃し率をビット誤り率より十分小さく(誤り訂正後のビット誤り率以下)する必要があり、検出見逃し率が比較的高い場合誤り訂正前にフレームが廃棄され、誤り訂正を効率良く行うことができない不具合が生じてしまう。この場合、従来のフレーム開始符号検出方法では、開始符号を見逃す確立が伝送路の誤り率に比例するため、従来の検出方法を用いたのでは、誤り訂正符号を有効に活用できない事態が生じてしまう。さらに、上りフレームについて、各ONUからの上りフレーム毎に、ビット同期及びフレーム同期を行わなければならず、転送効率を考慮すると、フレーム同期が一層速くかつフレーム廃棄率の低いフレーム同期方法が望まれる。
【0009】
従って、本発明の目的は、PONにおいてフレーム開始符号の検出能力が一層向上したフレーム同期方法を提供することにある。
また、本発明の別の目的は、PONにおいてフレーム同期を一層速やかに行うことができるフレーム同期方法を提供することにある。
さらに、本発明の別の目的は、フレーム廃棄率が大幅に低減したフレーム同期方法を提供することにある。
【0010】
【課題を解決するための手段および効果】
本発明によるフレーム同期方法は、複数の加入者回線終端装置と加入者収容装置とを光線路及び光分岐回路を介して接続し、加入者回線終端装置と加入者収容装置との間で伝送フレームを送受信する受動光ネットワークの上りフレームのフレーム同期方法であって、
前記上りフレームは、少なくとも先頭から順に、衝突防止用のガードタイムと、ビット同期用のプリアンブルと、フレームの開始位置を特定するフレーム開始符号とを含み、
ハミング距離hを規定し、
前記プリアンブルのビットパターンを、前記フレーム開始符号のビット長をnビットとした場合に、前記プリアンブルとこれに連続するフレーム開始符号とで構成されるビット列から抽出した任意の連続するnビット長のビット列とフレーム開始符号のビット列との間で相違するビット数がh以上となるように予め設定し、
前記加入者収容装置は、加入者回線終端装置から送出されてきた信号を受信した際、受信フレーム中のプリアンブルから同期クロックを抽出してビット同期を確立し、ビット同期を確立した後ハント状態に遷移し、
ハント状態において、受信フレームのプリアンブルとフレーム開始符号とにより構成されるビット列について、その先頭から順次1ビットづつシフトさせながら、連続するnビット長のビット列を順次抽出し、抽出されたビット列とフレーム開始符号のビット列とを順次比較し、相違するビット数がフレーム開始符号の[(h−1)/2](ここで、式[(h−1)/2]は、(h−1)/2の整数部をとることを意味する)ビット以内の場合フレーム開始符号が検出されたものと判断し、同期状態に遷移することを特徴とする。
【0011】
上記課題を解決するため、本発明では、PONの特性を利用してフレーム開始符号の検出能力を改善する。すなわち、PONでは、OLTがONUに対して上りフレームの送出範囲および、プリアンブルパターンを指示するので、上りフレームのフレーム開始符号の検出範囲およびプリアンブルパターンを限定することができる。これにより、フレーム開始符号と、プリアンブルと開始符号で構成するビット列について、当該ビット列の先頭から順次mビット(m=0、1、2、...)ずらして抽出した連続するフレーム開始符号長に相当するビット列との間のハミング距離を大きくすることができる。これらのハミング距離がh以上(最小距離がh)であるとすると、[h−1]/2]ビット誤りまで開始符号を検出することが可能となる。IEEE802.3ahのフレームを例にとると、 OLTと各ONUとの間のタイミングを同期させるために用いるタイムスタンプの粒度は16nsであり、OLTは、ONUから送信された上りフレームの位置を最大16nsの誤差で特定できる。よって開始符号の検出範囲は、開始符号の後方16ns(2符号分)必要となる。タイミングがずれることを考慮すると、数符号分程度後方までを検出範囲とすれば良い。検出範囲を限定しなくても、開始符号の後方で誤って検出した場合は、請求項2に記載されているように、OLTがフレーム開始符号とフレームの終了位置との位置関係を知っていることを利用すれば、容易に誤検出したことを把握することができる。
【0012】
プリアンブルパターンは8B/10B符号のアイドル符号/I/で、符号の終わりのRD値を負にする特性がある。アイドル符号の/I1/=/K28.5/D5.6/はRD値を反転させるために、/I2/=/K28.5/D16.2/はRD値を保持するのに使われる。プリアンブル長はアイドルシーケンス長としてOLTによって指示される。またRD値の初期値は負であることから、OLTに到着するプリアンブルパターンはRD則により限定され以下のパターンとなる。
/K28.5(−)/D16.2(+)/K28.5(−)/D16.2(+)/.../D28.5(−)/D16.2(+)/開始符号
ここで、/I/, /I1/, /I2/は、8B/10B符号のアイドルオーダセット、/K28.5/は8B/10B特殊符号でコンマ(0011111xxx又は1100000xxx,但しxは1又は0を含む。/D5.6/,/D16.2/は8ビットデータに対応する8B/10B符号である。/K28.5(−)/のかっこの中の符号は、8B/10B符号の先頭のRD値を示しており、+の場合正であり、−の場合負である。
【0013】
フレーム開始符号を20ビット長の/K27.7/D21.6/とし、受信したフレームのプリアンブルとフレーム開始符号とで構成されるビット列について、当該ビット列の先頭から1ビットづつシフトしながら抽出した連続するnビット長のビット列と、フレーム開始符号のビット列との間のハミング距離hをとると、全てh=5以上(最小距離が5)となる。これにより、2ビット誤りまでフレーム開始符号の検出が可能になる。この場合、フレーム開始符号を見逃す確率は約20εであり、伝送路誤り率ε<10 の範囲でεに比べて十分小さいことがわかる。また、プリアンブルの部分で誤同期する確率は3εに比例し、やはりεに比べて十分に小さい。フレーム開始符号の後方で誤同期する確立は、ほぼ(フレーム開始符号を見逃す確率)×(フレーム開始符号と1ビット違いの符号列が、1ビット誤りによりフレーム開始符号と誤検出される確立)であり、フレーム開始符号を見逃す確立より大きくなることはない。
【0014】
【発明の実施の形態】
【実施例1】
図4は本発明の実施例である。加入者回線終端装置から送出され加入者収容装置により受信される上りフレームは、先頭から順に衝突防止用のガードタイムと、ビット同期用のプリアンブルと、上りフレームの開始位置を特定するフレーム開始符号と、ヘッダ付ペイロードとから構成される。尚、必要に応じて、これにフレームの終了位置を特定するフレーム終了符号が付加される。
【0015】
初めに、フレーム開始符号の検出について説明する。フレーム開始符号のビット長はnビットとする。また、ハミング距離をhとして規定する。本例では、プリアンブルのビットパターンについては、プリアンブルとこれに連続するフレーム開始符号とで構成されるビット列から抽出した任意の連続するnビット長のビット列とフレーム開始符号のビット列との間で相違するビット数(ハミング距離)がh以上となるように、プリアンブルのビットパターンを予め設定する。尚、フレーム開始符号の検出範囲は、フレーム開始符号の後方Aシンボルまでとする。ここで、Aシンボルは、OLTとONUとの間のタイミング誤差にほぼ等しいシンボル数に設定する。
【0016】
前記加入者収容装置は、加入者回線終端装置から送出されてきた上りフレームの受信を開始する(20)。上りフレームを受信した際、受信フレーム中のプリアンブルから同期クロックを抽出してビット同期を確立する(21)。次に、ビット同期を確立した後ハント状態に遷移する。ハント状態において、受信フレームのプリアンブルとフレーム開始符号とにより構成されるビット列について、その先頭から順次1ビットづつシフトさせながら、連続するnビット長のビット列を順次抽出する。そして、抽出されたビット列とフレーム開始符号のビット列とを順次比較し、相違するビット数がフレーム開始符号の[(h−1)/2]ビット以内の場合フレーム開始符号が検出されたものと判断しフレーム同期状態に遷移する(23)。一方、検出範囲において、フレーム開始符号の[(h−1)/2]ビット以内のビット列が検出されない場合、同期失敗となる(24)。ここで、式[(h−1)/2]は、(h−1)/2の整数部をとることを意味する。
【0017】
【実施例2】
図5は本発明の別の実施例である。図4との違いはフレーム同期状態(23)からフレーム廃棄状態(25)への遷移を加えた点である。すなわち、フレーム同期状態では、フレームの終了検出後、OLTの想定するフレーム終了位置とフレーム開始位置の位置関係と、OLTの検出したフレーム開始符号とフレーム終了位置から計算した位置関係が不一致となる場合は、上りフレームを廃棄へ遷移する。本例によれば、フレーム開始符号の後方で誤同期しても、誤同期を判別できるためフレーム開始符号の検出範囲を上りフレーム送出範囲とすることができる。
【0018】
【実施例3】
図6は本発明の別の実施例である。図4に示す実施例との違いは、伝送フレームが8B/10B符号化されたMACプリアンブル付イーサネット(登録商標)フレームであり、上りフレームが先頭から順に、衝突防止用のガードタイムと、ビット同期および符号位置区切り検出用のプリアンブルと、上りフレームの開始位置を特定するフレーム開始符号と、MACプリアンブル付イーサネット(登録商標)フレームと、フレームの終了位置を特定するフレーム終了符号とを含む点である。このフレームがIEEE802.3ahで定義されるフレームの場合、開始符号を8B/10B符号の/S/D21.6=/K27.7/D21.6とすると、ハミング距離hの最小値(最小距離)は、h=5となる。また開始符号検出範囲は、1EEE802.3ahにおけるタイムスタンプが16ns(2シンボル長)であることから、開始符号の後方2シンボルまたは余裕をとって3シンボル程度で良い。但し、上りフレームの到着ゆらぎの許容値がある場合は、この値に許容値を加える。尚、ハント状態においては、上述した実施例1と同様な処理を実行する。
【0019】
【実施例4】
図7は本発明の別の実施例を示す。図5との相違点は、実施例3と同様に、伝送フレームが8B/10B符号化されたMACプリアンブル付イーサネット(登録商標)フレームであり、上りフレームが先頭から順に、衝突防止用のガードタイム、ビット同期および符号位置区切りの検出用のプリアンブル、上りフレームの開始位置を特定するフレーム開始符号、MACプリアンブル付イーサネット(登録商標)フレーム、及びフレームの終了位置を特定するフレーム終了符号を有する点である。
このフレームは、IEEE802.3ahで定義されるフレームであり、開始符号を8B/10B符号の/S/D21.6/=/K27.7/D21.6とすると、ハミング距離hはh=5である。また開始符号検出範囲は、lEEE802.3ahにおけるタイムスタンプが16ns(2シンボル長)であることから、開始符各の後方2シンボルまたは余裕をとって3シンボル程度で良い。但し上りフレームの到着ゆらぎの許容値がある場合には、この値に許容値を加える。上りフレームの終了位置は、8B/10B符号においてビット0が6個以上連続しないことから、ビット0が6個以上連続すると、上りフレームの終了したことが判る。フレーム開始符号と終了位置との関係と予め定めた位置関係とが不一致の場合は、フレームを廃棄する。尚、ハント状態での処理及び終了位置不一致の場合のフレーム廃棄処理については実施例2と同一である。
【0020】
【実施例5】
図8は本発明のさらに別の実施例を示す。本例では、実施例4と同様に、伝送フレームが8B/10B符号化されたMACプリアンブル付イーサネット(登録商標)フレームについてのフレーム同期を説明する。上りフレームは先頭から順に、衝突防止用のガードタイム、ビット同期および符号位置区切りの検出用のプリアンブル、上りフレームの開始位置を特定するフレーム開始符号、MACプリアンブル付イーサネット(登録商標)フレーム、及びフレームの終了位置を特定するフレーム終了符号を有する。当該上りフレームは、プリアンブル中に複数のコンマが含まれており、通常のイーサネット(登録商標)フレームでは、コンマの検出により符号の境界の同期を行うことができる。本実施例は、イーサネット(登録商標)フレームの通常の同期手順も同時に行う例である。
【0021】
同期が確立されハント状態に遷移する。ハント状態において、上述した実施例と同様に、受信フレームのプリアンブルとフレーム開始符号とにより構成されるビット列について、その先頭から順次1ビットづつシフトさせながら、連続するnビット長(フレーム開始符号のビット長)のビット列を順次抽出する。そして、抽出されたビット列とフレーム開始符号のビット列とを順次比較する。並行して、プレ同期1においてコンマ検出も実行する(26)。このコンマ検出は、受信フレームのプリアンブルとフレーム開始符号とにより構成されるビット列について、その先頭から1ビットづつ順次シフトさせながら、コンマのビット長(例えば、7ビットとする)に相当するビット長のビット列を順次抽出する。そして、抽出されたビット列とコンマのビット列とを順次比較する。このコンマ検出において、抽出されたビット列がコンマのビット列と一致した場合コンマが検出されたものと判定し、プレ同期1に遷移する。
【0022】
フレーム開始符号の検出に際し、フレーム開始符号のビット列と抽出されたビット列との間の比較処理において、相違するビット数がフレーム開始符号の[(h−1)/2]ビット以内の場合フレーム開始符号が検出されたものと判断しフレーム同期状態に遷移する(23)。この場合、並行して実行されるコンマ検出の結果に関わらず、フレーム同期に遷移する。一方、検出範囲において、フレーム開始符号の[(h−1)/2]ビット以内のビット列が検出されない場合、プレ同期1で実行されるコンマ検出の結果を参照する。この場合、直前に検出したコンマの後方2シンボルにコンマが検出される事象がN−1回連続して起きた場合(例えば、N=3とすることができる)、プレ同期2に遷移する。この時、コンマ検出しなかったらハント実行に遷移する。また、プレ同期1では、1シンボルづつシフトしてフレーム開始符号の検出工程を実行する。直前に検出したコンマの後2シンボルでコンマが検出されなくとも、フレーム開始符号が検出された場合ハント状態に遷移せず、フレーム同期状態に遷移する。プレ同期2では、1シンボルづつシフトしてビット列を抽出し、フレーム開始符号の検出のみを実行する。この再度のフレーム開始符号の検出は、例えば上述したフレーム検出と同一の処理とすることができる。
【0023】
プレ同期1において、直前に検出されたコンマの後方2シンボルの期間中にコンマがN−1回検出される前に検出範囲が終了した場合、同期失敗に遷移する(24)。また、プレ同期2にてフレーム開始符号の検出が行われても、検出範囲内においてフレーム開始符号が検出されない場合、同様に同期失敗となる。一方、プレ同期2にて、フレーム開始符号が検出された場合、フレーム同期に遷移する(23)。このように、フレーム開始符号の検出と並行してコンマの検出を実行し、コンマが検出されなくてもフレーム開始符号の検出をもってシンボル同期を確立することにより、シンボルの同期に必要なプリアンブルを大幅に低減することができ、転送効率を大幅に改善することが可能になる。
【0024】
本例で説明したフレームは、IEEE802.3ahで定義されるフレームであり、開始符号を8B/10B符号の/S/D21.6/=/K27.7/D21.6/とすると、h=5である。さらに、プリアンブルを/K28.5/D16.2/のみで構成すると、h=6となる。また、開始符号検出範囲は.IEEE802.3ahにおけるタイムスタンプが16ns(2シンボル長)であることから、開始符号の後方2シンボルまたは3シンボル程度で良い。但し上りフレームの到着ゆらぎの許容値がある場合は、この備に許容値を加える。
【0025】
【実施例6】
図9は本発明の別の実施例である。本例では、図8に示す実施例にさらにフレーム廃棄工程を付加する。8B/10B符号では、ビット0が6個以上連続しないので、ビット0が6個以上連続したことから上りフレームの終了位置を判断することができる。そこで、本例では、フレーム同期状態において、フレーム終了後、OLTの想定するフレーム終了位置とフレーム開始符号の位置関係と、OLTの検出したフレーム開始符号と上りフレームの終了位置とから計算した位置関係が不一致となる場合は、上りフレームを廃棄へ遷移し、上りフレームを廃棄する。本例では、フレーム開始符号の後方で誤同期しても、誤同期を判別できるためフレーム開始符号の検出範囲を上りフレームの送出範囲とすることができる。
【0026】
【発明の効果】
以上説明したように、本発明によれば、PONにおける上りフレームの開始符号の検出能力を向上でき、ビット誤りによるフレーム廃棄を防止することができる。
【図面の簡単な説明】
【図1】PONの一例の構成を示す図である。
【図2】上りフレームの一例の構成を示す図である。
【図3】8B/10B符号化されたMACプリアンブル付きイーサネット(登録商標)(登録商標)(登録商標)フレームを示す図である。
【図4】本発明の第1実施例によるフレーム同期処理工程を示す図である。
【図5】本発明の第2の実施例によるフレーム同期処理工程を示す図である。
【図6】本発明の第3実施例によるフレーム同期処理工程を示す図である。
【図7】本発明の第4実施例によるフレーム同期処理工程を示す図である。
【図8】本発明の第5実施例によるフレーム同期処理工程を示す図である。
【図9】本発明の第6の実施例によるフレーム同期処理工程を示す図である。
【符号の説明】
1 加入者収容装置
2 加入者回線終端装置
3 カップラ
10 ガードタイム
11 プリアンブル
12 フレーム開始符号
13 ヘッダ
14 ペイロード
15 フレーム終了符号
[0001]
[Field of the Invention]
The present invention relates to a frame synchronization method in an optical passive network (PON), and more particularly to a frame synchronization method in which the ability to detect a frame start code is further enhanced and the probability of frame discard is reduced.
[0002]
[Prior art]
An optical passive network (PON: transmission line branching multi-user connection network) is a technology for transmitting an ATM (Asynchronous Transfer Mode) cell between a subscriber line termination device and a subscriber accommodation device. 983.1 defines its function.
FIG. 1 shows a PON network configuration. The PON optically connects the subscriber accommodation device (OLT) 1 to a plurality of (n in the drawing) subscriber line terminating devices (ONUs) 2-1 to 2-n via an optical line and an optical branching circuit 3. . Between the OLT 1 and the ONU 2, an optical signal having a wavelength of 1.5 μm is used as a downstream signal from the OLT 1 to the ONU 2, and a 1.3 μm wavelength optical signal is used as an upstream signal from the ONU 2 to the OLT 1. In the meantime, transmission and reception of transmission frames are performed. When a single-core optical fiber is used, signal transmission is performed by wavelength multiplexing (WDM).
[0003]
The downstream frame selected from the OLT 1 is branched by the optical coupler (optical branching circuit) 3 and arrives at all the ONUs 2-1 to 2-n. The upstream frame transmitted from each ONU 2 is multiplexed by the optical coupler 3 and arrives at the OLT 1. At this time, the OLT 1 controls the transmission timing of the upstream frame from each ONU 2 so that the upstream frame from each ONU does not collide.
[0004]
FIG. 2 shows the configuration of the upstream frame of the PON. The upstream frame is composed of a guard time 10 for preventing collision, a preamble 11 for bit synchronization, a frame start code 12, a header 13 and a bay load 14 in order from the top, and a frame end code 15 is added as necessary. FIG. 2B shows an example in which the frame end code 15 is inserted at the last end of the upstream frame. Uplink synchronization performed in the OLT 1 is established by bit synchronization using a preamble 11 and synchronization of a code segment using a frame start code 12 (for example, see Non-Patent Document 1). That is, in the detection of the frame start code, a bit string having a length corresponding to the bit length of the continuous frame start code is shifted by m bits from the head of the bit string from the bit string composed of the preamble 11 and the frame start code 12 (m = 0, 1, 2,...) Are extracted, compared with the frame start code 12, and when they match with the start code, they are detected as frame start codes. In this case, assuming that the start code length is n bits and the transmission path error rate is ε, the probability of missing the start code is nC 1 ε, which is proportional to the transmission path error rate.
[0005]
FIG. 3 shows an upstream frame defined by IEEE802.3ah, which is Non-Patent Document 2. In IEEE802.3ah, the 8B / 10B code / I / (= / K28.5 / D5.6 / or / K28 is preceded by the 8B / 10B code / S / (= / K27.7 /) which is the start code as the preamble. .5 / D16.2 /) is added as 2 × n (n is a natural number) symbols. n is indicated by the OLT 1 when the ONU 2 is started. The synchronization of the upstream frame from each ONU 2 is realized by exchanging a time stamp with a granularity of 16 ns between the OLT and the ONU, thereby synchronizing the counter of the OLT and the counter of each ONU. The transmission timing control of the upstream frame by the OLT is realized by the OLT using the counter value to instruct the ONU of the start position and the frame length.
[0006]
Regarding the 8B / 10B code, there are two 8B / 10B codes corresponding to the original 8-bit data, and either value is taken based on the running disparity (RD) rule (for example, Non-Patent Document 3). reference). The 8B / 10B code is divided into two blocks of 6 bits in the first half and 4 bits in the second half, and the number of 0s and 1s is calculated in each block. If the number of 1s is large, it is positive, and if it is small, it is negative. The transmitter controls the code so that the RD values are transmitted alternately. Also, the RD value at the time of starting the transmitter is defined as negative.
[0007]
[Non-patent document 1]
ITU-TR Recommendation G983.1, published October 1998, Table 6, p27-28
[Non-patent document 2]
IEEE 802.3ah / D1.0, issued August 19, 2002, 57, Chapter 2, GMII data strcam, pp. 142-143
[Non-Patent Document 3]
IEEE 802.3, 2000 Edition (ISO / IEC8802-3, 2000 Edition), Chapter 36.2, Physical coding sublayer (PCS), pp. 279-280; 965-993
[0008]
[Problems to be solved by the invention]
In a PON, application of an error correction code is being studied for the purpose of preventing signal deterioration due to dispersion or loss of a transmission line. In applying the error correction code, it is necessary to make the detection miss rate of the frame start code and the frame end code sufficiently smaller than the bit error rate (less than or equal to the bit error rate after error correction). The frame is discarded before the correction, and a problem occurs that the error correction cannot be performed efficiently. In this case, in the conventional frame start code detection method, since the probability of missing the start code is proportional to the error rate of the transmission path, a situation occurs in which the error detection code cannot be used effectively using the conventional detection method. I will. Further, for an upstream frame, bit synchronization and frame synchronization must be performed for each upstream frame from each ONU. In consideration of transfer efficiency, a frame synchronization method that achieves faster frame synchronization and a lower frame discard rate is desired. .
[0009]
Accordingly, it is an object of the present invention to provide a frame synchronization method in a PON in which the detection capability of a frame start code is further improved.
Another object of the present invention is to provide a frame synchronization method capable of more quickly performing frame synchronization in a PON.
Another object of the present invention is to provide a frame synchronization method in which the frame discard rate is greatly reduced.
[0010]
Means and effects for solving the problem
A frame synchronization method according to the present invention comprises connecting a plurality of subscriber line terminating devices and a subscriber accommodation device via an optical line and an optical branching circuit, and transmitting a transmission frame between the subscriber line termination device and the subscriber accommodation device. A frame synchronization method for an upstream frame of a passive optical network for transmitting and receiving
The uplink frame includes, at least in order from the beginning, a guard time for collision prevention, a preamble for bit synchronization, and a frame start code for specifying a start position of the frame,
Defines the Hamming distance h,
When the bit pattern of the preamble is n bits in the frame start code, an arbitrary continuous n-bit bit string extracted from a bit string composed of the preamble and a continuous frame start code And the number of bits that differ between the bit string of the frame start code and the
Upon receiving the signal transmitted from the subscriber line terminating device, the subscriber accommodating device extracts a synchronization clock from a preamble in a received frame, establishes bit synchronization, and enters a hunt state after establishing bit synchronization. Transition,
In the hunt state, a bit string having a preamble and a frame start code of a received frame is sequentially shifted by one bit at a time from the head thereof, and a bit string having a continuous n-bit length is sequentially extracted. The bit sequence of the code is sequentially compared, and the number of different bits is [(h-1) / 2] (where the expression [(h-1) / 2] is (h-1) / 2 If the number of bits is less than or equal to the integer part, it is determined that the frame start code has been detected, and the state shifts to the synchronous state.
[0011]
In order to solve the above problems, the present invention improves the ability to detect a frame start code by using the characteristics of a PON. That is, in the PON, since the OLT instructs the ONU on the transmission range of the upstream frame and the preamble pattern, the detection range of the frame start code of the upstream frame and the preamble pattern can be limited. As a result, the length of the continuous frame start code extracted from the bit string composed of the frame start code and the preamble and the start code by sequentially shifting m bits (m = 0, 1, 2,...) From the head of the bit string It is possible to increase the hamming distance with the corresponding bit string. Assuming that these Hamming distances are equal to or longer than h (the minimum distance is h), it is possible to detect a start code up to [h-1] / 2] bit errors. Taking an IEEE802.3ah frame as an example, the granularity of the time stamp used to synchronize the timing between the OLT and each ONU is 16 ns, and the OLT determines the position of the upstream frame transmitted from the ONU by a maximum of 16 ns. It can be specified by the error of Therefore, the detection range of the start code requires 16 ns (two codes) after the start code. Considering that the timing is shifted, the detection range may be up to several codes behind. Even if the detection range is not limited, if an error is detected behind the start code, the OLT knows the positional relationship between the frame start code and the end position of the frame, as described in claim 2. By using this, it is possible to easily grasp that an erroneous detection has been made.
[0012]
The preamble pattern is an idle code / I / of an 8B / 10B code, and has the property of making the RD value at the end of the code negative. The idle code /I1/=/K28.5/D5.6/ is used to invert the RD value, and /I2/=/K28.5/D16.2/ is used to hold the RD value. The preamble length is indicated by the OLT as the idle sequence length. Also, since the initial value of the RD value is negative, the preamble pattern arriving at the OLT is limited by the RD rule and is the following pattern.
/K28.5(-)/D16.2(+)/K28.5(-)/D16.2(+)/. . . /D28.5(-)/D16.2(+)/start code Here, / I /, / I1 /, / I2 // is an idle order set of 8B / 10B code, and /K28.5/ is 8B / 10B special code, comma (0011111xxx or 11000000xxx, where x includes 1 or 0. /D5.6/, /D16.2/ are 8B / 10B codes corresponding to 8-bit data. /K28.5(- ) / The code in parentheses indicates the leading RD value of the 8B / 10B code, which is positive for + and negative for-.
[0013]
The frame start code is /K27.7/D21.6/ having a length of 20 bits, and a bit string composed of the preamble of the received frame and the frame start code is extracted while shifting one bit at a time from the head of the bit string. If the Hamming distance h between the n-bit long bit string and the bit string of the frame start code is all h = 5 or more (the minimum distance is 5). This enables detection of the frame start code up to a two-bit error. In this case, the probability of missing the frame start code is about 20 C 3 epsilon 3, transmission path error rate epsilon <10 - it can be seen that sufficiently smaller than the epsilon in the range of 3. Also, the probability of erroneous synchronization part of the preamble is proportional to 3Ipushiron 3, sufficiently smaller than the still epsilon. The probability of erroneous synchronization after the frame start code is approximately (probability of overlooking the frame start code) × (probability that a code string that is one bit different from the frame start code is erroneously detected as the frame start code due to a one-bit error). Yes, and will not be greater than the probability of missing a frame start code.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiment 1
FIG. 4 shows an embodiment of the present invention. The upstream frame transmitted from the subscriber line terminating device and received by the subscriber accommodating device includes a guard time for preventing collision, a preamble for bit synchronization, and a frame start code for specifying a start position of the upstream frame in order from the beginning. , And a payload with a header. If necessary, a frame end code for specifying the end position of the frame is added to this.
[0015]
First, detection of a frame start code will be described. The bit length of the frame start code is n bits. Further, the Hamming distance is defined as h. In this example, the bit pattern of the preamble differs between an arbitrary continuous n-bit-length bit sequence extracted from a bit sequence composed of a preamble and a continuous frame start code and a bit sequence of a frame start code. The bit pattern of the preamble is set in advance so that the number of bits (Hamming distance) is h or more. Note that the detection range of the frame start code is up to A symbols after the frame start code. Here, the number of the A symbols is set to be approximately equal to the timing error between the OLT and the ONU.
[0016]
The subscriber accommodating apparatus starts receiving an upstream frame transmitted from the subscriber line terminal (20). When an uplink frame is received, a synchronization clock is extracted from the preamble in the received frame to establish bit synchronization (21). Next, after establishing bit synchronization, the state transits to the hunt state. In the hunt state, successive n-bit length bit strings are sequentially extracted from the bit string formed by the preamble of the received frame and the frame start code while shifting one bit at a time from the beginning. Then, the extracted bit string and the bit string of the frame start code are sequentially compared, and if the number of different bits is within [(h-1) / 2] bits of the frame start code, it is determined that the frame start code has been detected. Then, the state transits to the frame synchronization state (23). On the other hand, if a bit string within [(h-1) / 2] bits of the frame start code is not detected in the detection range, synchronization fails (24). Here, the expression [(h-1) / 2] means taking an integer part of (h-1) / 2.
[0017]
Embodiment 2
FIG. 5 shows another embodiment of the present invention. The difference from FIG. 4 is that a transition from the frame synchronization state (23) to the frame discard state (25) is added. That is, in the frame synchronization state, after the end of the frame is detected, the positional relationship between the frame end position assumed by the OLT and the frame start position does not match the positional relationship calculated from the frame start code detected by the OLT and the frame end position. Transitions the upstream frame to discard. According to this example, even if erroneous synchronization occurs after the frame start code, the erroneous synchronization can be determined, so that the detection range of the frame start code can be set as the upstream frame transmission range.
[0018]
Embodiment 3
FIG. 6 shows another embodiment of the present invention. The difference from the embodiment shown in FIG. 4 is that the transmission frame is an Ethernet (registered trademark) frame with a MAC preamble in which the 8B / 10B encoding is performed, and the upstream frames are arranged in order from the top, a guard time for collision prevention and a bit synchronization. And a preamble for detecting a code position delimiter, a frame start code for specifying a start position of an upstream frame, an Ethernet (registered trademark) frame with a MAC preamble, and a frame end code for specifying an end position of the frame. . If this frame is a frame defined by IEEE802.3ah, and the start code is /S/D21.6=/K27.7/D21.6 of the 8B / 10B code, the minimum value (minimum distance) of the Hamming distance h Is h = 5. Also, since the time stamp in 1EE802.3ah is 16 ns (2 symbol length), the start code detection range may be about 2 symbols after the start code or about 3 symbols with a margin. However, if there is an allowable value of the fluctuation of the arrival of the upstream frame, the allowable value is added to this value. In the hunt state, the same processing as in the first embodiment is performed.
[0019]
Embodiment 4
FIG. 7 shows another embodiment of the present invention. The difference from FIG. 5 is that, similar to the third embodiment, the transmission frame is an Ethernet (registered trademark) frame with a MAC preamble in which 8B / 10B encoding is performed, and the upstream frames are sequentially arranged from the top in order to prevent guard time for collision prevention. , A preamble for detecting bit synchronization and code position delimitation, a frame start code for specifying the start position of an upstream frame, an Ethernet (registered trademark) frame with a MAC preamble, and a frame end code for specifying the end position of the frame. is there.
This frame is a frame defined by IEEE802.3ah. Assuming that the start code is /S/D21.6/=/K27.7/D21.6 of the 8B / 10B code, the hamming distance h is h = 5. is there. The start code detection range may be about two symbols after the start symbol or three symbols with a margin since the time stamp in IEEE802.3ah is 16 ns (two symbol length). However, if there is an allowable value of the fluctuation of the arrival of the upstream frame, the allowable value is added to this value. Since the end position of the upstream frame does not have six or more consecutive bits 0 in the 8B / 10B code, it can be determined that the upstream frame has ended when six or more bits 0 continue. If the relationship between the frame start code and the end position does not match the predetermined positional relationship, the frame is discarded. Note that the processing in the hunt state and the frame discard processing in the case where the end positions do not match are the same as in the second embodiment.
[0020]
Embodiment 5
FIG. 8 shows still another embodiment of the present invention. In this example, similarly to the fourth embodiment, frame synchronization of an Ethernet (registered trademark) frame with a MAC preamble in which a transmission frame is 8B / 10B encoded will be described. The upstream frame includes, in order from the beginning, a guard time for collision prevention, a preamble for detecting bit synchronization and code position delimiter, a frame start code for specifying the start position of the upstream frame, an Ethernet frame with a MAC preamble, and a frame. Has a frame end code that specifies the end position of. The upstream frame includes a plurality of commas in the preamble. In a normal Ethernet (registered trademark) frame, code boundaries can be synchronized by detecting a comma. This embodiment is an example in which a normal synchronization procedure of an Ethernet (registered trademark) frame is also performed at the same time.
[0021]
Synchronization is established and the state transits to the hunt state. In the hunt state, as in the above-described embodiment, a bit string composed of the preamble of the received frame and the frame start code is shifted by one bit from the beginning, and has a continuous n-bit length (bit of the frame start code). ) Is sequentially extracted. Then, the extracted bit sequence and the bit sequence of the frame start code are sequentially compared. In parallel, a comma detection is also performed in pre-synchronization 1 (26). This comma detection is performed by sequentially shifting the bit sequence composed of the preamble of the received frame and the frame start code one bit at a time from the beginning, and setting the bit length corresponding to the bit length of the comma (for example, 7 bits). Bit strings are sequentially extracted. Then, the extracted bit string and the comma bit string are sequentially compared. In this comma detection, if the extracted bit string matches the comma bit string, it is determined that a comma has been detected, and a transition is made to pre-synchronization 1.
[0022]
When detecting the frame start code, if the number of different bits is less than [(h-1) / 2] bits of the frame start code in the comparison process between the bit sequence of the frame start code and the extracted bit sequence Is determined to have been detected, and a transition is made to the frame synchronization state (23). In this case, the state transits to the frame synchronization regardless of the result of the comma detection executed in parallel. On the other hand, if no bit string within [(h-1) / 2] bits of the frame start code is detected in the detection range, the result of the comma detection performed in pre-synchronization 1 is referred to. In this case, if an event in which a comma is detected in the last two symbols of the comma detected immediately before occurs consecutively N-1 times (for example, N = 3), a transition is made to pre-synchronization 2. At this time, if a comma is not detected, the process shifts to hunt execution. In the pre-synchronization 1, a frame start code is detected by shifting one symbol at a time. Even if a comma is not detected in two symbols after the comma detected immediately before, if a frame start code is detected, the state transitions to the frame synchronization state without transition to the hunt state. In pre-synchronization 2, a bit string is extracted by shifting one symbol at a time, and only detection of a frame start code is executed. This detection of the frame start code again can be, for example, the same processing as the above-described frame detection.
[0023]
In pre-synchronization 1, if the detection range ends before the comma is detected N-1 times during the period of two symbols after the comma detected immediately before, a transition to synchronization failure occurs (24). Further, even if the frame start code is detected in the pre-synchronization 2, if the frame start code is not detected within the detection range, the synchronization similarly fails. On the other hand, when the frame start code is detected in pre-synchronization 2, the state transits to frame synchronization (23). In this way, by detecting the comma in parallel with the detection of the frame start code and establishing the symbol synchronization by detecting the frame start code even if no comma is detected, the preamble required for symbol synchronization can be greatly reduced. And the transfer efficiency can be greatly improved.
[0024]
The frame described in this example is a frame defined by IEEE802.3ah. If the start code is /S/D21.6/=/K27.7/D21.6/ of an 8B / 10B code, h = 5. It is. Further, if the preamble is composed only of /K28.5/D16.2/, h = 6. The start code detection range is. Since the time stamp in IEEE802.3ah is 16 ns (2 symbol length), it may be about 2 symbols or 3 symbols after the start code. However, if there is an allowable value for the fluctuation of the arrival of the upstream frame, the allowable value is added to this provision.
[0025]
Embodiment 6
FIG. 9 shows another embodiment of the present invention. In this embodiment, a frame discarding step is added to the embodiment shown in FIG. In the 8B / 10B code, since six or more bits 0 are not consecutive, it is possible to determine the end position of the upstream frame from the fact that six or more bits 0 are consecutive. Therefore, in this example, in the frame synchronization state, after the end of the frame, the positional relationship between the assumed frame end position of the OLT and the frame start code, and the positional relationship calculated from the frame start code detected by the OLT and the end position of the upstream frame. Do not match, the upstream frame is shifted to discard, and the upstream frame is discarded. In this example, even if erroneous synchronization occurs after the frame start code, the erroneous synchronization can be determined, so that the detection range of the frame start code can be set as the transmission range of the upstream frame.
[0026]
【The invention's effect】
As described above, according to the present invention, the ability to detect the start code of an upstream frame in a PON can be improved, and frame discarding due to a bit error can be prevented.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration of an example of a PON.
FIG. 2 is a diagram illustrating a configuration of an example of an upstream frame.
FIG. 3 is a diagram showing an Ethernet (registered trademark) (registered trademark) frame with a MAC preamble that has been 8B / 10B encoded.
FIG. 4 is a diagram showing a frame synchronization processing step according to the first embodiment of the present invention.
FIG. 5 is a diagram showing a frame synchronization processing step according to a second embodiment of the present invention.
FIG. 6 is a diagram showing a frame synchronization processing step according to a third embodiment of the present invention.
FIG. 7 is a diagram showing a frame synchronization processing step according to a fourth embodiment of the present invention.
FIG. 8 is a diagram showing a frame synchronization processing step according to a fifth embodiment of the present invention.
FIG. 9 is a diagram showing a frame synchronization processing step according to a sixth embodiment of the present invention.
[Explanation of symbols]
REFERENCE SIGNS LIST 1 subscriber accommodation device 2 subscriber line termination device 3 coupler 10 guard time 11 preamble 12 frame start code 13 header 14 payload 15 frame end code

Claims (5)

複数の加入者回線終端装置と加入者収容装置とを光線路及び光分岐回路を介して接続し、加入者回線終端装置と加入者収容装置との間で伝送フレームを送受信する受動光ネットワークの上りフレームのフレーム同期方法であって、
前記上りフレームは、少なくとも先頭から順に、衝突防止用のガードタイムと、ビット同期用のプリアンブルと、フレームの開始位置を特定するフレーム開始符号とを含み、
ハミング距離hを規定し、
前記プリアンブルのビットパターンを、前記フレーム開始符号のビット長をnビットとした場合に、前記プリアンブルとこれに連続するフレーム開始符号とで構成されるビット列から抽出した任意の連続するnビット長のビット列とフレーム開始符号のビット列との間で相違するビット数が前記ハミング距離h以上となるように予め設定し、
前記加入者収容装置は、加入者回線終端装置から送出されてきた信号を受信した際、受信フレーム中のプリアンブルから同期クロックを抽出してビット同期を確立し、ビット同期を確立した後ハント状態に遷移し、
ハント状態において、受信フレームのプリアンブルとフレーム開始符号とにより構成されるビット列について、その先頭から順次1ビットづつシフトさせながら、連続するnビット長のビット列を順次抽出し、抽出されたビット列とフレーム開始符号のビット列とを順次比較し、相違するビット数がフレーム開始符号の[(h−1)/2]ビット以内(ここで、式[(h−1)/2]は、(h−1)/2の整数部をとることを意味する)の場合フレーム開始符号が検出されたものと判断し、同期状態に遷移することを特徴とするフレーム同期方法。
Upstream of a passive optical network that connects a plurality of subscriber line terminating devices and a subscriber accommodation device via an optical line and an optical branching circuit, and transmits and receives a transmission frame between the subscriber line termination device and the subscriber accommodation device. A frame synchronization method for frames,
The uplink frame includes, at least in order from the beginning, a guard time for collision prevention, a preamble for bit synchronization, and a frame start code for specifying a start position of the frame,
Defines the Hamming distance h,
When the bit pattern of the preamble is n bits in the frame start code, an arbitrary continuous n-bit bit string extracted from a bit string composed of the preamble and a continuous frame start code And the number of bits that are different between the bit string of the frame start code and the bit string of the frame start code are set in advance so as to be equal to or longer than the Hamming distance h,
Upon receiving the signal transmitted from the subscriber line terminating device, the subscriber accommodating device extracts a synchronization clock from a preamble in a received frame, establishes bit synchronization, and enters a hunt state after establishing bit synchronization. Transition,
In the hunt state, a bit string having a preamble and a frame start code of a received frame is sequentially shifted by one bit at a time from the head thereof, and a bit string having a continuous n-bit length is sequentially extracted. The bit sequence of the code is sequentially compared, and the number of different bits is within [(h-1) / 2] bits of the frame start code (where the expression [(h-1) / 2] is (h-1) / 2 means an integer part), it is determined that a frame start code has been detected, and a transition is made to a synchronous state.
前記上りフレームが、フレーム開始符号の後段に連続して伝送すべきデータを含むペイロード及びフレーム終了符号を有する請求項1に記載のフレーム同期方法において、前記加入者収容装置は、同期状態でフレーム終了符号を検出した際、検出したフレーム開始符号とフレーム終了符号との間の位置関係と、予め定めたフレーム開始符号とフレーム終了符号との間の位置関係とを比較し、これらが一致しない場合当該上りフレームを廃棄することを特徴とするフレーム同期方法。2. The frame synchronization method according to claim 1, wherein the upstream frame has a payload including data to be transmitted continuously after a frame start code and a frame end code. 3. When the code is detected, the positional relationship between the detected frame start code and the frame end code is compared with the positional relationship between the predetermined frame start code and the frame end code. A frame synchronization method comprising discarding an upstream frame. 請求項1又は2に記載のフレーム同期方法において、前記伝送フレームを、8B/10B符号化されたMACプリアンブル付きイーサネット(登録商標)フレームとし、上りフレームが、先頭から順に、衝突防止用のガードタイムと、8B/10Bのアイドル符号で構成されるビット同期用のプリアンブルと、上りフレームの開始位置を特定するフレーム開始信号と、MACプリアンブル付きイーサネット(登録商標)フレームと、フレームの終了位置を特定するフレーム終了信号とを有することを特徴とするフレーム同期方法。3. The frame synchronization method according to claim 1, wherein the transmission frame is an Ethernet (registered trademark) frame with a MAC preamble encoded by 8B / 10B, and an upstream frame includes a guard time for preventing collision in order from the top. , A preamble for bit synchronization composed of an 8B / 10B idle code, a frame start signal for specifying a start position of an upstream frame, an Ethernet (registered trademark) frame with a MAC preamble, and a frame end position. A frame end signal. 請求項3に記載のフレーム同期方法において、前記ビット同期が確立された後、ハント状態に遷移し、このハント状態において、
受信フレームのプリアンブルとフレーム開始符号とにより構成されるビット列について、その先頭から順次1ビットづつシフトさせながら、連続するnビット長のビット列を順次抽出し、抽出されたビット列とフレーム開始符号のビット列とを順次比較するフレーム開始符号の検出工程を実行し、さらに、並行して前記受信フレームのプリアンブルとフレーム開始符号とにより構成されるビット列について、その先頭から順次1ビットづつシフトさせながら、プリアンブル中のアイドル符号に含まれるコンマのビット長に等しいビット長の連続するビット列を順次抽出し、抽出されたビット列とコンマのビット列とを順次比較するコンマ検出工程を実行し、
フレーム開始符号検出工程において、ビット相違数がフレーム開始符号の[(h−1)/2]以内のビット列が検出された場合フレーム開始符号が検出されたものと判断して同期状態に遷移し、
前記フレーム開始符号検出工程においてフレーム開始符号が検出されなかったものと判断した場合、コンマ検出工程において、ビット列がコンマのビット列と一致した場合、次の検出工程において8B/10B符号の境界に抽出されるビット列の先頭が一致した時にフレーム開始符号の検出工程を行い、直前に検出したコンマの先頭から8B/10B符号で2符号後のビット列に対してコンマ検出工程を実行し、これら検出工程においてコンマ及びフレーム開始符号が共に検出されない場合、再び抽出するビット列の先頭を1ビットづつシフトして検出工程を実行し、
2符号毎に行われるコンマの検出工程において、ビット列が予め定めたN回連続してコンマのビット連続と一致したか否か判断し、N回連続して一致した場合、以後8B/10B符号の境界に抽出するビット列の先頭を合わせてフレーム開始符号検出工程を実行することを特徴とするフレーム同期方法。
4. The frame synchronization method according to claim 3, wherein after the bit synchronization is established, a transition is made to a hunt state.
With respect to the bit sequence composed of the preamble of the received frame and the frame start code, successive n-bit length bit sequences are sequentially extracted while sequentially shifting one bit at a time from the head thereof, and the extracted bit sequence and the bit sequence of the frame start code are extracted. Are sequentially compared with each other, and a bit string composed of the preamble and the frame start code of the received frame is shifted in parallel one bit at a time from the beginning of the bit sequence formed in parallel with the received frame. A comma detection step of sequentially extracting a continuous bit string having a bit length equal to the bit length of the comma included in the idle code and sequentially comparing the extracted bit string with the comma bit string,
In the frame start code detecting step, when a bit string whose bit difference number is within [(h-1) / 2] of the frame start code is detected, it is determined that the frame start code has been detected, and a transition is made to a synchronous state.
If it is determined that the frame start code has not been detected in the frame start code detection step, and if the bit string matches the comma bit string in the comma detection step, it is extracted at the boundary of the 8B / 10B code in the next detection step. When the beginning of the bit string matches, a frame start code detecting step is performed, and a comma detecting step is performed on the bit string two codes after the leading 8B / 10B code from the head of the comma detected immediately before. And if neither the frame start code is detected, the head of the bit string to be extracted is again shifted one bit at a time, and the detection step is executed.
In the comma detection step performed every two codes, it is determined whether or not the bit string matches the comma's bit continuation consecutively N times in a predetermined manner. A frame synchronization method comprising: performing a frame start code detection step by aligning a head of a bit string to be extracted with a boundary.
請求項4に記載のフレーム同期方法において、前記加入者収容装置は、同期状態でフレーム終了符号を検出した際、検出したフレーム開始符号とフレーム終了位置との間の位置関係と、予め定めたフレーム開始符号とフレーム終了位置との間の位置関係とを比較し、これらが一致しない場合当該上りフレームを廃棄することを特徴とするフレーム同期方法。5. The frame synchronization method according to claim 4, wherein when the subscriber accommodation device detects a frame end code in a synchronized state, the positional relationship between the detected frame start code and the detected frame end position and a predetermined frame. A frame synchronization method comprising comparing a positional relationship between a start code and a frame end position, and discarding the upstream frame if they do not match.
JP2003053966A 2003-02-28 2003-02-28 Frame synchronizing method Pending JP2004266524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003053966A JP2004266524A (en) 2003-02-28 2003-02-28 Frame synchronizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003053966A JP2004266524A (en) 2003-02-28 2003-02-28 Frame synchronizing method

Publications (1)

Publication Number Publication Date
JP2004266524A true JP2004266524A (en) 2004-09-24

Family

ID=33118436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003053966A Pending JP2004266524A (en) 2003-02-28 2003-02-28 Frame synchronizing method

Country Status (1)

Country Link
JP (1) JP2004266524A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009062363A1 (en) * 2007-11-13 2009-05-22 Huawei Technologies Co., Ltd. System and method for data synchronization in passive optical networks
WO2010096984A1 (en) * 2009-02-27 2010-09-02 华为技术有限公司 Method and device for transmitting an upstream transmission frame in a passive optical network
CN101572833B (en) * 2008-04-28 2010-11-10 华为技术有限公司 Method, device and system for transmitting uplink burst data in passive optical network system
US7953324B2 (en) 2007-11-13 2011-05-31 Huawei Technologies Co., Ltd. System and method for data synchronization in passive optical networks
JP2011519233A (en) * 2008-04-30 2011-06-30 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Improved codeword lock state machine
CN102318239A (en) * 2009-02-27 2012-01-11 华为技术有限公司 Method and device for transmitting an upstream transmission frame in a passive optical network
JP2012504879A (en) * 2008-10-01 2012-02-23 ノーテル ネットワークス リミテッド A method for time transfer via signal encoding (cross-reference of related applications) This patent application was filed on October 1, 2008, and hereby incorporated by reference in its entirety No. 61 / 101,802 and U.S. patent application no. Claim priority to 12 / 347,314.
JP2014120921A (en) * 2012-12-17 2014-06-30 Nippon Telegr & Teleph Corp <Ntt> Frame processing circuit and method
JP2014225296A (en) * 2014-08-13 2014-12-04 株式会社東芝 Host apparatus

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101133200B1 (en) 2007-11-13 2012-04-09 후아웨이 테크놀러지 컴퍼니 리미티드 Method and system for data synchronization in passive optical networks
CN101542960B (en) * 2007-11-13 2011-09-21 华为技术有限公司 Method and system for data synchronization in passive optical networks
WO2009062357A1 (en) * 2007-11-13 2009-05-22 Huawei Technologies Co., Ltd. System and method for data synchronization in passive optical networks
US20120294609A1 (en) * 2007-11-13 2012-11-22 Huawei Technologies Co., Ltd. Method and system for data synchronization in passive optical networks
US8208809B2 (en) 2007-11-13 2012-06-26 Huawei Technologies Co., Ltd. Method and system for data synchronization in passive optical networks
US7953324B2 (en) 2007-11-13 2011-05-31 Huawei Technologies Co., Ltd. System and method for data synchronization in passive optical networks
US8705964B2 (en) * 2007-11-13 2014-04-22 Huawei Technologies Co., Ltd. Method and system for data synchronization in passive optical networks
WO2009062363A1 (en) * 2007-11-13 2009-05-22 Huawei Technologies Co., Ltd. System and method for data synchronization in passive optical networks
WO2009062409A1 (en) * 2007-11-13 2009-05-22 Huawei Technologies Co., Ltd. Method and system for data synchronization in passive optical networks
US9686036B2 (en) 2008-04-28 2017-06-20 Huawei Technologies Co., Ltd. Method, apparatus and system for transmitting upstream burst data in PON system
CN101572833B (en) * 2008-04-28 2010-11-10 华为技术有限公司 Method, device and system for transmitting uplink burst data in passive optical network system
JP2011519233A (en) * 2008-04-30 2011-06-30 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Improved codeword lock state machine
US9344207B2 (en) 2008-10-01 2016-05-17 Rpx Clearinghouse Llc Techniques for time transfer via signal encoding
JP2012504879A (en) * 2008-10-01 2012-02-23 ノーテル ネットワークス リミテッド A method for time transfer via signal encoding (cross-reference of related applications) This patent application was filed on October 1, 2008, and hereby incorporated by reference in its entirety No. 61 / 101,802 and U.S. patent application no. Claim priority to 12 / 347,314.
US9054811B2 (en) 2009-02-27 2015-06-09 Huawei Technologies Co., Ltd. Method and device for sending upstream transfer frame in passive optical network
CN102318239B (en) * 2009-02-27 2014-03-12 华为技术有限公司 Method and device for transmitting upstream transmission frame in passive optical network
WO2010096984A1 (en) * 2009-02-27 2010-09-02 华为技术有限公司 Method and device for transmitting an upstream transmission frame in a passive optical network
CN102318239A (en) * 2009-02-27 2012-01-11 华为技术有限公司 Method and device for transmitting an upstream transmission frame in a passive optical network
JP2014120921A (en) * 2012-12-17 2014-06-30 Nippon Telegr & Teleph Corp <Ntt> Frame processing circuit and method
JP2014225296A (en) * 2014-08-13 2014-12-04 株式会社東芝 Host apparatus

Similar Documents

Publication Publication Date Title
US6771908B2 (en) Fast protection switching by snooping on downstream signals in an optical network
US6868232B2 (en) Fast protection switching by snooping on upstream signals in an optical network
US7089485B2 (en) Simple link protocol providing low overhead coding for LAN serial and WDM solutions
US6778781B2 (en) Health check algorithm for protection circuit in optical network
US8270832B2 (en) Method and apparatus for synchronization in a passive optical network
JP5312467B2 (en) Method and system for data synchronization in a passive optical network
US9686036B2 (en) Method, apparatus and system for transmitting upstream burst data in PON system
US8755695B2 (en) Burst transmission method, and receiver resetting method and apparatus in a passive optical network
JP4723940B2 (en) COMMUNICATION SYSTEM AND COMMUNICATION METHOD, AND BASE STATION DEVICE AND SUBSTATION DEVICE
JP2004266524A (en) Frame synchronizing method
JP5559888B2 (en) Station side device and PON system
US8259734B2 (en) Method and device for sending upstream transfer frame in passive optical network
WO2021179696A1 (en) Data processing method and device
CN114765528B (en) Frame synchronization method, device, equipment and readable storage medium
US8218701B2 (en) Communication system
JP6988936B2 (en) Control device and control program
WO2024055651A1 (en) Data synchronization method and apparatus for passive optical network, and data synchronization system