JP6539627B2 - Intra-office optical termination device and time synchronization method - Google Patents

Intra-office optical termination device and time synchronization method Download PDF

Info

Publication number
JP6539627B2
JP6539627B2 JP2016183279A JP2016183279A JP6539627B2 JP 6539627 B2 JP6539627 B2 JP 6539627B2 JP 2016183279 A JP2016183279 A JP 2016183279A JP 2016183279 A JP2016183279 A JP 2016183279A JP 6539627 B2 JP6539627 B2 JP 6539627B2
Authority
JP
Japan
Prior art keywords
time
transmission
optical termination
time stamp
intra
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.)
Active
Application number
JP2016183279A
Other languages
Japanese (ja)
Other versions
JP2018050124A (en
Inventor
恵太 西本
恵太 西本
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
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016183279A priority Critical patent/JP6539627B2/en
Publication of JP2018050124A publication Critical patent/JP2018050124A/en
Application granted granted Critical
Publication of JP6539627B2 publication Critical patent/JP6539627B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、受動光ネットワークにおける局内光終端装置の時刻同期に関する。   The present invention relates to time synchronization of an intra-office optical termination device in a passive optical network.

経済的な光アクセスシステムの形態として、図7に示すような受動光ネットワーク(PON:Passive Optical Network)10がある。PON10は、1つの局内光終端装置(OLT:Optical Line Terminal)と2つ以上の宅内光終端装置(ONU:Optical Network Unit)12−1,・・・,12−k(ここで、kは自然数)とが、光ファイバ伝送路および1対kの光スプリッタ13を介して、ポイントツーマルチポイントの通信を行うネットワークである。以降では、ONU12−1,・・・,12−kを総称して「ONU12」とも称する。   As an economical optical access system, there is a passive optical network (PON: Passive Optical Network) 10 as shown in FIG. In the PON 10, one in-station optical termination unit (OLT: Optical Line Terminal) and two or more in-home optical termination units (ONU: Optical Network Unit) 12-1, ..., 12-k (where k is a natural number) Is a network that performs point-to-multipoint communication via an optical fiber transmission line and a 1-to-k optical splitter 13. Hereinafter, the ONUs 12-1, ..., 12-k are collectively referred to as "ONU 12".

PON10の代表的な規格として、IEEE802.3ahによって標準化された、ギガビットクラスの1G−EPON(Ethernet(登録商標)PON)および10ギガビットクラスの10G−EPONがある。これらを総称してEPONと呼称する。   As a representative standard of PON 10, there are Gigabit class 1G-EPON (Ethernet (registered trademark) PON) and 10 Gigabit class 10G-EPON standardized by IEEE 802.3ah. These are collectively called EPON.

PON10においては、一般にOLT11からONU12への通信方向を下り方向と呼び、反対側を上り方向と呼ぶ。PON10では、ONU12−1,・・・,12−kが1つの光ファイバ伝送路を共有しているため、上り方向の通信における信号が衝突する可能性がある。係る信号の衝突を防ぐために、上り方向の通信は例えば時分割多元接続によって行われる。すなわち、OLT11は、あるONU12−x(ここで、x=1,・・・,k)が送信する信号と、ONU12−x以外の他のONU12−y(ここで、y=1,・・・,k、y≠x)が送信する信号とが重複しないように、ONU12の送信タイミングを制御することで、信号の衝突を防ぐようにしている。   In the PON 10, the communication direction from the OLT 11 to the ONU 12 is generally called the downstream direction, and the opposite side is called the upstream direction. In the PON 10, since the ONUs 12-1, ..., 12-k share one optical fiber transmission line, there is a possibility that signals in uplink communication may collide. In order to prevent such signal collision, uplink communication is performed by, for example, time division multiple access. That is, the OLT 11 transmits a signal transmitted by a certain ONU 12-x (here, x = 1,..., K) and an ONU 12-y other than the ONU 12-x (here, y = 1,. , K, y ≠ x) prevents the collision of the signals by controlling the transmission timing of the ONU 12 so that the signals do not overlap.

PON10において、OLT11がONU12の送信タイミングを制御する仕組みについて、IEEE802.3ah(例えば、非特許文献1参照)に規定されたMPCP(Multi−Point Control Protocol)と呼称される通信プロトコルを説明する。   A communication protocol called MPCP (Multi-Point Control Protocol) defined in IEEE 802.3ah (see, for example, Non-Patent Document 1) will be described for a mechanism in which the OLT 11 controls the transmission timing of the ONU 12 in the PON 10.

図8は、このMPCPの概要を示すシーケンス図である。ONU12−1,12−2は、バッファ内の送信待ちの上りユーザデータ量を送信要求信号(以降、「REPORTメッセージ」と称する)に記載してOLT11に送信する。OLT11は、受信したREPORTメッセージ中から取得する送信要求量を参照し、ONU12−1,12−2毎に送信開始時刻、送信時間を算出する。OLT11は、これらの送信情報、および現在時刻(以降、「タイムスタンプ値」と称する)を打刻した送信許可信号(以降、「GATEメッセージ」と称する)を生成してONU12−1,12−2に向けて送信する(工程S01,S02)。   FIG. 8 is a sequence diagram showing an outline of this MPCP. The ONUs 12-1 and 12-2 describe the amount of upstream user data waiting for transmission in the buffer in a transmission request signal (hereinafter, referred to as "REPORT message") and transmit it to the OLT 11. The OLT 11 calculates the transmission start time and the transmission time for each of the ONUs 12-1 and 12-2 with reference to the transmission request amount acquired from the received REPORT message. The OLT 11 generates transmission permission signals (hereinafter referred to as “GATE messages”) in which the transmission information and the current time (hereinafter referred to as “time stamp values”) are imprinted, and the ONUs 12-1 and 12-2 generate the transmission information. Toward the terminal (steps S01 and S02).

ONU12−1,12−2は、GATEメッセージを受信すると、まず自身のクロックをGATEメッセージ中に記載されているOLT11のタイムスタンプ値に基づいて合わせることで、OLT11との間での時刻同期を行う(工程S03,S04)。   When receiving the GATE message, the ONUs 12-1 and 12-2 synchronize their time with the OLT 11 by first matching their clocks based on the time stamp value of the OLT 11 described in the GATE message. (Steps S03 and S04).

その後、ONU12−1,12−2は、指定された送信開始時刻まで待ってから(工程S05,S06)、上りバッファに蓄積していたユーザデータメッセージをREPORTメッセージと共に送信する(工程S07,S08)。尚、この際、ONU12−1,12−2は、ユーザデータメッセージだけを送信し、REPORTメッセージは別のタイミングで送信してもよい。   After that, the ONUs 12-1 and 12-2 wait until the designated transmission start time (steps S05 and S06), and transmit the user data message stored in the upstream buffer together with the REPORT message (steps S07 and S08). . At this time, the ONUs 12-1 and 12-2 may transmit only the user data message, and the REPORT message may be transmitted at another timing.

これら全ONU12−1,…,12−kに対してGATEメッセージを送信してからREPORTメッセージを受け取るまでの期間をDBA(Dynamic Bandwidth Allocation)周期と定義する。   A period from the transmission of the GATE message to all the ONUs 12-1, ..., 12-k to the reception of the REPORT message is defined as a DBA (Dynamic Bandwidth Allocation) cycle.

従来、OLTは通信品質を保証するためにほとんどの機能がハードウェアによって実装されてきた。しかしながら、ハードウェアによる実装は、機能の変更や追加が困難であり、高速で多様なネットワークサービスの展開を試みる際に、ボトルネックになると考えられる。   Conventionally, most functions of the OLT have been implemented by hardware in order to guarantee communication quality. However, hardware implementation is difficult to change or add to functions, and is considered to be a bottleneck when attempting to deploy various network services at high speed.

そこで、OLTの機能をOS(Operating System)上で動作するソフトウェアとして実装することが有効であると考えられている(例えば、非特許文献2参照)。しかしながら、機能をソフトウェア化することによってハードウェアによる実装に比べ、通信に関する処理遅延やゆらぎが増大することが考えられる。   Therefore, it is considered effective to implement the functions of the OLT as software operating on an OS (Operating System) (see, for example, Non-Patent Document 2). However, it is conceivable that the processing delay and fluctuation related to communication may be increased by making the function into software as compared with the hardware implementation.

前述したように、ONUは、OLTから受信したGATEメッセージに記載されたタイムスタンプ値に基づき、OLTとの間で時刻同期を行う。この時、OLTは、割り込みの発生などにより、タイムスタンプ値を記載してから送信ポートから送出完了するまでの時間にゆらぎが生じることがある。係るゆらぎの影響によって、それぞれのONUの同期する時刻にズレが生じる。   As described above, the ONU performs time synchronization with the OLT based on the timestamp value described in the GATE message received from the OLT. At this time, the OLT may cause fluctuation in the time from the time when the time stamp value is described to the time when transmission from the transmission port is completed due to the occurrence of an interrupt or the like. Due to the influence of the fluctuation, a shift occurs in the synchronization time of each ONU.

また、OLTは、REPORTメッセージの受信時刻から、REPORTメッセージに記載されたONUの送信時刻を引くことによって、OLTとONUとの間のRTT(Round−Trip Time)を測定し、係るRTTを参照してONUの上り信号の送信開始時刻を算出する。しかしながら、ソフトウェアで実装したOLTは、REPORTメッセージを受信ポートで受け取ってから、受信時刻をソフトウェア内で取得するまでの時間にゆらぎが生じるため、正確なRTTを計測することが難しい。これらの要因により、OLTはそれぞれのONUに対して正確な上り信号送信タイミングを指示することができないため、上り信号の衝突が発生し、上り方向のスループットが大幅に低下することがある。尚、以降では、GATEメッセージの送信時刻の記載処理、およびREPORTメッセージの受信時刻の取得処理を「タイムスタンプ処理」と称する。   Also, the OLT measures the RTT (Round-Trip Time) between the OLT and the ONU by subtracting the transmission time of the ONU described in the REPORT message from the reception time of the REPORT message, and refers to the RTT. Then, the transmission start time of the upstream signal of the ONU is calculated. However, since the OLT implemented by software fluctuates in time from reception of the REPORT message at the reception port to acquisition of the reception time in the software, it is difficult to measure an accurate RTT. Due to these factors, the OLT can not instruct the respective ONUs on accurate upstream signal transmission timing, which may cause collisions of upstream signals and significantly reduce the throughput in the upstream direction. Hereinafter, the process of describing the transmission time of the GATE message and the process of acquiring the reception time of the REPORT message will be referred to as “time stamp process”.

このような課題に対する従来技術としては、図9に示すように、例えばNIC(Network Interface Card)などの送受信物理ポート近くにハードウェア実装されたタイムスタンプ補助装置においてタイムスタンプ処理を行うというものがある。タイムスタンプ補助装置は、GATEメッセージのタイムスタンプに送信時刻の記載を行う。タイムスタンプ補助装置は、REPORTメッセージのパディング部に受信時刻の記載を行う。これにより、タイムスタンプ処理として送信時刻の記載処理を行った後に送信ポートから送出されるまでの時間、および受信ポートから受信してタイムスタンプ処理として受信時刻の取得処理を行うまでの時間に関するゆらぎの影響を小さくすることができる(例えば、非特許文献3参照)。尚、上記ではハードウェア実装によるタイムスタンプ処理を説明したが、実装の方法としてはハードウェア実装に限らない。例えば、OLTの機能を果たすソフトウェアとは別に、リアルタイム性を確保したタイムスタンプ専用のソフトウェアを用意し、REPORTメッセージの受信直後およびGATEメッセージの送信直前で、パケットに対してタイムスタンプ処理を行うことで同様の効果が期待できる。以降では、タイムスタンプ処理を行うハードウェア補助装置、およびソフトウェア補助機構をまとめて「タイムスタンプ補助装置」と称する。   As a prior art for such a subject, as shown in FIG. 9, there exists a thing which performs a time stamp process in the time stamp auxiliary | assistant apparatus hardware-implemented near transmission / reception physical ports, such as NIC (Network Interface Card). . The timestamp assistant describes the transmission time in the timestamp of the GATE message. The timestamp assistant describes the reception time in the padding portion of the REPORT message. As a result, the time from when the transmission time is described as time stamp processing to when it is sent from the transmission port, and the time from when it is received from the reception port to when the reception time acquisition processing is performed as time stamp processing The influence can be reduced (see, for example, Non-Patent Document 3). In the above, time stamp processing by hardware implementation has been described, but the implementation method is not limited to hardware implementation. For example, by preparing software dedicated to time stamps that secures real-time property separately from software that fulfills OLT functions, time stamp processing is performed on packets immediately after receiving a REPORT message and immediately before transmitting a GATE message. Similar effects can be expected. Hereinafter, hardware auxiliary devices that perform time stamp processing and software auxiliary mechanisms are collectively referred to as “time stamp auxiliary devices”.

IEEE 802.3ah - 2012IEEE 802.3ah-2012 田所、他3名、「仮想化技術の光アクセスNWへの適用検討」、信学技報115(123)、85〜89ページ、2015年Tadokoro, 3 others, "Examination of application of virtualization technology to optical access NW", Technical Report 115 (123), pp. 85-89, 2015 Ohly et. al., "Hardware Assisted Precision Time Protocol Design and case study", Proc. of the 9th LCI International Conference on High-Performance Clustered Computing, pp.121-131, 2008Ohly et. Al., "Hardware Assisted Precision Time Protocol Design and Case Study", Proc. Of the 9th LCI International Conference on High-Performance Clustered Computing, pp. 121-131, 2008 Assi et. al., "Dynamic Bandwidth Allocation for Quality-of-Service Over Ethernet PONs", IEEE Journal on selected areas in communications, vol. 21 (9), pp. 1467-14, 2003Assi et. Al., "Dynamic Bandwidth Allocation for Quality-of-Service Over Ethernet PONs", IEEE Journal on selected areas in communications, vol. 21 (9), pp. 1467-14, 2003

しかしながら、前述の従来技術には、以下のような課題がある。従来技術をOLTのソフトウェア実装に適用するには、OLT機能の処理を行うソフトウェアプロセス(以下、「OLT」プロセスと称する)と、タイムスタンプ補助装置との間で時刻同期をとる必要がある。一般的な同期方法としては、NTP(Network Time Protocol)やPTP(Precision Time Protocol)等のプロトコルの利用が考えられる。   However, the above-mentioned prior art has the following problems. In order to apply the prior art to the software implementation of the OLT, it is necessary to synchronize the time between a software process (hereinafter referred to as "OLT" process) that performs processing of the OLT function and the time stamp auxiliary device. As a general synchronization method, use of protocols such as NTP (Network Time Protocol) and PTP (Precision Time Protocol) can be considered.

OLTプロセスとタイムスタンプ補助装置との間で時刻同期を行った場合であっても、OLTプロセスとタイムスタンプ補助装置との間では、送信遅延が発生する。図10は、OLTプロセスとタイムスタンプ補助装置との間で発生する送信遅延を例示するシーケンス図である。OLTプロセスは、送信開始時刻として10:05を記載し、タイムスタンプ値を空白としたGATEメッセージを送る。OLTプロセスとタイムスタンプ補助装置との間では送信遅延が発生する。タイムスタンプ補助装置は、タイムスタンプ値としてGATEメッセージの送信時刻である10:10をGATEメッセージに記載する。このようなケースでは、OLTプロセスでGATEメッセージに記載される送信開始時刻が、タイムスタンプ補助装置でGATEメッセージに記載されるタイムスタンプ値よりも小さくなる可能性がある。つまり、OLTプロセスとタイムスタンプ補助装置との間で発生した送信遅延により、送信開始時刻とタイムスタンプ値の大小が逆転する。ONUは、タイムスタンプ値に基づいてLocal clockを10:10に設定する。GATEメッセージに記載されている送信開始時刻は、タイムスタンプ値である10:10よりも小さい(前の)時刻である10:05である。そのため、送信開始時刻がタイムスタンプ値よりも小さい場合、ONUは、ユーザデータメッセージを送信開始することができず、最悪リンクダウン状態となる。   Even when time synchronization is performed between the OLT process and the time stamp auxiliary device, a transmission delay occurs between the OLT process and the time stamp auxiliary device. FIG. 10 is a sequence diagram illustrating a transmission delay occurring between the OLT process and the time stamp auxiliary apparatus. The OLT process writes 10:05 as the transmission start time, and sends a GATE message with a blank time stamp value. A transmission delay occurs between the OLT process and the time stamp auxiliary device. The time stamp auxiliary device describes 10:10, which is the transmission time of the GATE message, as a time stamp value in the GATE message. In such a case, the transmission start time described in the GATE message in the OLT process may be smaller than the time stamp value described in the GATE message by the time stamp auxiliary device. That is, due to the transmission delay generated between the OLT process and the time stamp auxiliary device, the magnitude of the transmission start time and the time stamp value is reversed. The ONU sets the Local clock to 10:10 based on the timestamp value. The transmission start time described in the GATE message is 10:05, which is a time (preceding time) smaller than 10:10, which is a timestamp value. Therefore, when the transmission start time is smaller than the time stamp value, the ONU can not start transmission of the user data message, and is in the worst link down state.

この発明は上記事情に着目してなされたもので、その目的とするところは、OLTプロセスとタイムスタンプ補助装置との間で発生する送信遅延により、OLTプロセスでGATEメッセージに記載される送信開始時刻がタイムスタンプ補助装置でGATEメッセージに記載されるタイムスタンプ値よりも小さくなる可能性を低減することのできる局内光終端装置および時刻同期方法を提供することにある。   The present invention has been made in view of the above circumstances, and the purpose thereof is the transmission start time described in the GATE message in the OLT process due to the transmission delay occurring between the OLT process and the time stamp auxiliary device. It is an object of the present invention to provide an intra-office optical termination device and a time synchronization method capable of reducing the possibility that R.sub.2 becomes smaller than the time stamp value described in the GATE message in the time stamp auxiliary device.

上記目的を達成するために、この発明の第1の態様は、受動光ネットワークで2つ以上の宅内光終端装置と接続される局内光終端装置の機能の少なくとも一部をソフトウェア化したプロセスと、前記プロセスのためのクロックと、前記局内光終端装置から前記宅内光終端装置へと送る送信許可信号および前記宅内光終端装置から受け取った送信要求信号に対して、時刻に関する情報を追加するタイムスタンプ補助装置とを具備する局内光終端装置であって、前記タイムスタンプ補助装置は、前記送信許可信号に対して、前記タイムスタンプ補助装置が前記送信許可信号を前記宅内光終端装置へと送る時刻を送信時刻の情報として追加する手段と、前記送信要求信号に対して、前記タイムスタンプ補助装置が前記送信要求信号を前記宅内光終端装置から受け取った時刻を受信時刻の情報として追加する手段とを備え、前記プロセスは、前記プロセスと前記タイムスタンプ補助装置との間の送信遅延時間を算出する手段と、前記クロックの時刻を、前記受信時刻に前記送信遅延時間を加えた時刻に補正する手段とを備えるようにしたものである。   In order to achieve the above object, according to a first aspect of the present invention, there is provided a process of softwareizing at least a part of functions of an intra-office optical termination device connected with two or more in-home optical termination devices in a passive optical network; Time stamp assistance for adding information about time to a clock for the process, a transmission permission signal to be sent from the intra-office optical termination unit to the intra-office optical termination unit, and a transmission request signal received from the intra-office optical termination unit An intra-office optical termination device comprising an apparatus, wherein the time stamp auxiliary device transmits the time at which the time stamp auxiliary device sends the transmission permission signal to the home optical termination device in response to the transmission permission signal Means for adding as information on time, and in response to the transmission request signal, the time stamp auxiliary device performs the transmission request signal to the home optical termination Means for adding the time received from the device as information on the reception time, the process comprising: means for calculating a transmission delay time between the process and the time stamp auxiliary device; And a means for correcting the reception time to the time obtained by adding the transmission delay time.

この発明の第2の態様は、上記第1の態様において、前記送信遅延時間を算出する手段が、前記受信時刻と、前記宅内光終端装置が前記送信要求信号を前記局内光終端装置へと送った時刻と、前記プロセスが前記送信許可信号を送った時刻と、前記プロセスが前記送信要求信号を受け取った時刻と、を用いて、前記送信遅延時間を算出するようにしたものである。   According to a second aspect of the present invention, in the first aspect, the means for calculating the transmission delay time sends the reception request time to the in-station optical termination device, and the reception time and the in-home optical termination device The transmission delay time is calculated using the time when the process sent the transmission permission signal, and the time when the process received the transmission request signal.

この発明の第3の態様は、上記第1の態様において、前記タイムスタンプ補助装置が、前記プロセスから受け取った前記送信許可信号をコピーし、コピーされた前記送信許可信号を前記プロセスへと出力する手段をさらに備え、前記送信遅延時間を算出する手段が、前記プロセスが前記送信許可信号を送った時刻と、前記プロセスがコピーされた前記送信許可信号を受け取った時刻と、を用いて、前記送信遅延時間を算出するようにしたものである。   According to a third aspect of the present invention, in the first aspect, the time stamp auxiliary device copies the transmission permission signal received from the process and outputs the copied transmission permission signal to the process. Means for calculating the transmission delay time using the time at which the process sent the transmission grant signal and the time at which the process received the transmission grant signal copied from the process The delay time is calculated.

この発明の第4の態様は、上記第1の態様において、前記送信遅延時間を算出する手段が、前記送信時刻と、前記受信時刻と、前記プロセスが前記送信許可信号を送った時刻と、前記プロセスが前記送信要求信号を受け取った時刻と、を用いて、前記送信遅延時間を算出するようにしたものである。   According to a fourth aspect of the present invention, in the first aspect, the means for calculating the transmission delay time includes the transmission time, the reception time, and a time when the process transmits the transmission permission signal. The transmission delay time is calculated using the time when the process receives the transmission request signal.

この発明の第5の態様は、受動光ネットワークで2つ以上の宅内光終端装置と接続される局内光終端装置の機能の少なくとも一部をソフトウェア化したプロセスと、前記プロセスのためのクロックと、前記局内光終端装置から前記宅内光終端装置へと送る送信許可信号および前記宅内光終端装置から受け取った送信要求信号に対して、時刻に関する情報を追加するタイムスタンプ補助装置とを具備する局内光終端装置により実行される時刻同期方法であって、前記タイムスタンプ補助装置が、前記送信許可信号に対して、前記タイムスタンプ補助装置が前記送信許可信号を前記宅内光終端装置へと送る時刻を送信時刻の情報として追加することと、前記タイムスタンプ補助装置が、前記送信要求信号に対して、前記タイムスタンプ補助装置が前記送信要求信号を前記宅内光終端装置から受け取った時刻を受信時刻の情報として追加することと、前記プロセスが、前記プロセスと前記タイムスタンプ補助装置との間の送信遅延時間を算出することと、前記プロセスが、前記クロックの時刻を、前記受信時刻に前記送信遅延時間を加えた時刻に補正することと、を備えるようにしたものである。   According to a fifth aspect of the present invention, there is provided a fifth aspect of the present invention, there is provided a process of softwareizing at least a part of functions of an intra-office optical termination apparatus connected with two or more home optical termination apparatuses in a passive optical network; An intra-office optical termination comprising: a transmission permission signal transmitted from the intra-office optical termination device to the intra-home optical termination device and a time stamp auxiliary device for adding information on time to the transmission request signal received from the intra-home optical termination device. A time synchronization method performed by a device, wherein the time stamp auxiliary device transmits the time when the time stamp auxiliary device transmits the transmission permission signal to the home optical termination device in response to the transmission permission signal. Adding the information as the information on the time stamp auxiliary device, the time stamp Adding the time when the transmission request signal is received from the in-home optical termination unit as reception time information, and the process calculating a transmission delay time between the process and the time stamp auxiliary apparatus. Correcting the time of the clock to a time obtained by adding the transmission delay time to the reception time.

本発明によれば、OLTプロセスとタイムスタンプ補助装置との間で発生する送信遅延により、OLTプロセスでGATEメッセージに記載される送信開始時刻がタイムスタンプ補助装置でGATEメッセージに記載されるタイムスタンプ値よりも小さくなる可能性を低減することのできる局内光終端装置および時刻同期方法を提供することができる。   According to the present invention, the transmission delay occurring between the OLT process and the time stamp auxiliary device causes the transmission start time described in the GATE message in the OLT process to be a time stamp value described in the GATE message in the time stamp auxiliary device. It is possible to provide an intra-office optical termination device and a time synchronization method capable of reducing the possibility of becoming smaller.

第1の実施形態に係るタイムスタンプ補助装置を含むシステムを例示するブロック図。FIG. 1 is a block diagram illustrating a system including a time stamp assisting apparatus according to a first embodiment. 図1のシステムによる動作を例示するシーケンス図。FIG. 2 is a sequence diagram illustrating the operation of the system of FIG. 1; 第2の実施形態に係るタイムスタンプ補助装置を含むシステムを例示するブロック図。FIG. 5 is a block diagram illustrating a system including a time stamp assisting apparatus according to a second embodiment. 図3のシステムによる動作を例示するシーケンス図。FIG. 5 is a sequence diagram illustrating the operation of the system of FIG. 3; 第3の実施形態に係るタイムスタンプ補助装置を含むシステムを例示するブロック図。FIG. 7 is a block diagram illustrating a system including a time stamp assisting apparatus according to a third embodiment. 図5のシステムによる動作を例示するシーケンス図。FIG. 6 is a sequence diagram illustrating the operation of the system of FIG. 5; 一般的なPONの概要構成を示すブロック図。FIG. 2 is a block diagram showing a schematic configuration of a general PON. 一般的なMPCPの概要を示すシーケンス図。The sequence diagram which shows the outline | summary of general MPCP. タイムスタンプ補助装置を用いたMPCPの概要を示すシーケンス図。The sequence diagram which shows the outline | summary of MPCP using a time stamp auxiliary | assistance apparatus. OLTプロセスとタイムスタンプ補助装置との間で発生する送信遅延を例示するシーケンス図。FIG. 7 is a sequence diagram illustrating transmission delay occurring between an OLT process and a time stamp auxiliary device.

以下、図面を参照してこの発明に関わる実施形態を説明する。
以降では、図7に例示されるような受動光ネットワーク(PON)においての利用を想定する。また、送信許可信号(GATEメッセージ)および送信要求信号(REPORTメッセージ)は、前述したMPCPにおいて規定されているものである。
Hereinafter, embodiments according to the present invention will be described with reference to the drawings.
In the following, the use in a passive optical network (PON) as illustrated in FIG. 7 is assumed. Further, the transmission permission signal (GATE message) and the transmission request signal (REPORT message) are those defined in the above-mentioned MPCP.

また、以下では、「メッセージに時刻を記載する」ことと「信号に時刻の情報を追加する」こととは同様の意味として用いられ、両者は相互に読み替えられてよい。   Also, in the following, “describe time in message” and “add time information to signal” have the same meaning, and both may be read mutually.

[第1の実施形態]
(構成)
図1において、第1の実施形態に係るタイムスタンプ補助装置100を含むシステムのブロック図が例示される。係るシステムは、タイムスタンプ補助装置100とサーバ200とを備える局内光終端装置である。サーバ200は、OLTプロセス210と、OLTプロセス210のためのクロック220とを備える。尚、サーバ200は、タイムスタンプ補助装置100と一体となって光終端装置を構成してもよい。また、タイムスタンプ補助装置100とOLTプロセス210とを一体とした構成を光終端装置としてもよい。尚、図1における実線矢印は、特にMPCPメッセージ(GATEメッセージ/REPORTメッセージ)の流れを表す。点線は、タイムスタンプ補助装置100およびサーバ200内の制御用信号の流れを表す。
First Embodiment
(Constitution)
In FIG. 1, a block diagram of a system including a time stamp assisting apparatus 100 according to the first embodiment is illustrated. The system is an intra-office optical termination device comprising the time stamp assisting device 100 and the server 200. The server 200 comprises an OLT process 210 and a clock 220 for the OLT process 210. The server 200 may configure the optical termination device integrally with the time stamp assisting device 100. In addition, a configuration in which the time stamp auxiliary device 100 and the OLT process 210 are integrated may be used as the optical termination device. The solid arrows in FIG. 1 particularly indicate the flow of the MPCP message (GATE message / REPORT message). The dotted lines represent the flow of control signals in the time stamp auxiliary apparatus 100 and the server 200.

タイムスタンプ補助装置100は、PONで2つ以上のONUと接続されるOLTの機能の少なくとも一部をソフトウェア化したOLTプロセス210と連携しながらタイムスタンプ処理を行う。一例として、タイムスタンプ補助装置100は、OLTプロセス210との時刻同期を行うために用いられる処理として、OLTプロセス210が生成して局内光終端装置からONUへと送るGATEメッセージおよびONUから受け取ったREPORTメッセージに対して、時刻を記載する。尚、REPORTメッセージは、ONUが生成し、GATEメッセージに対する応答である。尚、タイムスタンプ補助装置100は、例えばサーバ200の送受信ポート(図示せず)に挿入可能な構造である。   The time stamp auxiliary apparatus 100 performs time stamp processing in cooperation with an OLT process 210 in which at least a part of the functions of the OLT connected to two or more ONUs in the PON is software-implemented. As an example, as a process used to perform time synchronization with the OLT process 210, the time stamp auxiliary apparatus 100 generates a GATE message generated by the OLT process 210 and sent from the intra-office optical termination apparatus to the ONU, and a REPORT received from the ONU Write the time for the message. The REPORT message is generated by the ONU and is a response to the GATE message. The time stamp auxiliary apparatus 100 has a structure that can be inserted into, for example, a transmission / reception port (not shown) of the server 200.

タイムスタンプ補助装置100は、PON側ポート部110と、REPORTメッセージ処理部120と、サーバ側ポート部130と、GATEメッセージ処理部140とを備える。また、REPORTメッセージ処理部120は、受信時刻打刻部121を備える。さらに、GATEメッセージ処理部140は、送信時刻打刻部141と、送信開始時刻補正部142とを備え、送信開始時刻補正部142は、送信遅延計算用GATE判別部143と、補正処理部144とを備える。タイムスタンプ補助装置100は、図示しない高精度なクロックを有し、このクロックを利用して高精度な送受信時刻の取得およびGATEメッセージおよびREPORTメッセージへの送受信時刻の記載をする。尚、GATEメッセージ処理部140は、ハードウェアによって実装し、且つキューイングなどの処理は行わないものとする。これにより、各ONU間の時刻同期ずれを抑え、上り信号の衝突を防止することができる。   The time stamp auxiliary apparatus 100 includes a PON side port unit 110, a REPORT message processing unit 120, a server side port unit 130, and a GATE message processing unit 140. Further, the REPORT message processing unit 120 includes a reception time clocking unit 121. The GATE message processing unit 140 further includes a transmission time clocking unit 141 and a transmission start time correction unit 142. The transmission start time correction unit 142 includes a transmission delay calculation GATE determination unit 143 and a correction processing unit 144. Equipped with The time stamp auxiliary apparatus 100 has a high-precision clock (not shown), and uses this clock to obtain high-precision transmission and reception times and to describe transmission and reception times in GATE messages and REPORT messages. The GATE message processing unit 140 is implemented by hardware and does not perform processing such as queuing. Thereby, it is possible to suppress the time synchronization deviation between each ONU and to prevent the collision of the upstream signals.

PON側ポート部110は、PON回線を介してONU(図示せず)からREPORTメッセージ、上りユーザデータ、他の制御信号を受け取り、REPORTメッセージのみを受信時刻打刻部121へと出力する。ユーザデータや他の制御信号は別経路(図示せず)を通ってサーバ側ポート部130へ転送される。また、PON側ポート部110は、補正処理部144からGATEメッセージを受け取り、PON回線を介してONUへ出力する。さらに、PON側ポート部110は、サーバ側ポート部から130から別経路(図示せず)を通って下りユーザデータやその他の制御信号を受け取り、PON回線を介してONUへと出力する。   The PON port unit 110 receives a REPORT message, upstream user data, and other control signals from an ONU (not shown) via the PON line, and outputs only the REPORT message to the reception time clocking unit 121. User data and other control signals are transferred to the server-side port unit 130 through another path (not shown). Also, the PON port unit 110 receives the GATE message from the correction processing unit 144, and outputs the GATE message to the ONU through the PON line. Furthermore, the PON side port unit 110 receives user data and other control signals from the server side port unit 130 via a separate path (not shown) from the server side port unit 130 and outputs the user data and other control signals to the ONU via the PON line.

受信時刻打刻部121は、PON側ポート部110からREPORTメッセージを受け取る。受信時刻打刻部121は、REPORTメッセージに対して、タイムスタンプ補助装置100がREPORTメッセージをONUから受け取った時刻を受信時刻として記載する。受信時刻打刻部121は、REPORTメッセージの指定された位置に、ONUがREPORTメッセージを送信した時刻(以降、「ONU送信時刻」と称する)が記載されている場合は、ONU送信時刻が記載されている位置とは異なる位置に受信時刻を記載する。受信時刻打刻部121は、受信時刻が記載されたREPORTメッセージをサーバ側ポート部130へと出力する。   The reception time stamping unit 121 receives the REPORT message from the PON port unit 110. The reception time stamping unit 121 describes the time when the time stamp auxiliary apparatus 100 receives the REPORT message from the ONU as the reception time in the REPORT message. When the time at which the ONU has transmitted the REPORT message (hereinafter referred to as “ONU transmission time”) is described at the designated position of the REPORT message, the reception time memory unit 121 describes the ONU transmission time. The reception time is described at a position different from the one at The reception time clocking unit 121 outputs the REPORT message in which the reception time is described to the server side port unit 130.

サーバ側ポート部130は、受信時刻打刻部121から受信時刻が記載されたREPORTメッセージを受け取り、OLTプロセス210へと出力する。また、サーバ側ポート部130は、OLTプロセス210からGATEメッセージを受け取り、送信時刻打刻部141へと出力する。さらにサーバ側ポート部130は、その他の制御信号および上りユーザデータをPON側ポート部110から受け取り、OLTプロセス210へと出力する。加えて、サーバ側ポート部130は、OLTプロセス210から受け取ったその他の制御信号および下りのユーザデータをPON側ポート部110へと出力する。   The server side port unit 130 receives the REPORT message in which the reception time is described from the reception time clocking unit 121, and outputs the REPORT message to the OLT process 210. Also, the server-side port unit 130 receives the GATE message from the OLT process 210 and outputs the GATE message to the transmission time stamping unit 141. Furthermore, the server-side port unit 130 receives other control signals and upstream user data from the PON-side port unit 110 and outputs them to the OLT process 210. In addition, the server-side port unit 130 outputs the other control signals and downstream user data received from the OLT process 210 to the PON-side port unit 110.

送信時刻打刻部141は、サーバ側ポート部130からGATEメッセージを受け取る。送信時刻打刻部141は、GATEメッセージに対して、タイムスタンプ補助装置100がGATEメッセージをONUへと送る時刻を送信時刻として記載する。送信時刻打刻部141は、送信時刻として現在時刻(タイムスタンプ値)をGATEメッセージの指定された位置に記載する。送信時刻打刻部141は、タイムスタンプ値を記載したGATEメッセージを送信開始時刻補正部142へと出力する。   The transmission time stamping unit 141 receives the GATE message from the server side port unit 130. The transmission time stamping unit 141 describes the time at which the time stamp auxiliary apparatus 100 sends the GATE message to the ONU as the transmission time in the GATE message. The transmission time stamping unit 141 describes the current time (time stamp value) as the transmission time at a designated position of the GATE message. The transmission time clocking unit 141 outputs a GATE message describing the time stamp value to the transmission start time correction unit 142.

送信遅延計算用GATE判別部143は、OLTプロセス210とタイムスタンプ補助装置100との間の時刻同期を補助する役割を担う。送信遅延計算用GATE判別部143は、送信時刻打刻部141でタイムスタンプ値が記載されたGATEメッセージにおいて、ONUが当該GATEメッセージに対応するREPORTメッセージの送信を開始する時刻である送信開始時刻が記載されているか否かを判別する。タイムスタンプ補助装置100がOLTプロセス210から受信した際に送信開始時刻が記載されていないGATEメッセージを送信遅延計算用GATEメッセージと称することがある。送信開始時刻がGATEメッセージに記載されている場合は、送信遅延計算用GATE判別部143は、タイムスタンプ値が記載されたGATEメッセージをPON側ポート部110へと出力するように補正処理部144へと指示を出す。送信開始時刻がGATEメッセージに記載されていない場合は、送信遅延計算用GATE判別部143は、GATEメッセージを送信遅延計算用GATEメッセージと認識する。送信遅延計算用GATE判別部143は、送信開始時刻を送信遅延計算用GATEメッセージに記載するように補正処理部144へと指示を出す。尚、送信遅延計算用GATE判別部143は、必ずしもタイムスタンプ値が記載されたGATEメッセージに対して判別する必要はなく、例えばタイムスタンプ値が記載されていないGATEメッセージに対して判別してもよい。   The transmission delay calculation GATE determination unit 143 plays a role of assisting time synchronization between the OLT process 210 and the time stamp auxiliary apparatus 100. In the GATE message in which the transmission time counting unit 141 describes the time stamp value, the transmission delay calculation GATE determining unit 143 determines that the transmission start time, which is the time when the ONU starts transmitting the REPORT message corresponding to the GATE message, is Determine if it is described. A GATE message in which the transmission start time is not described when the time stamp auxiliary apparatus 100 receives from the OLT process 210 may be referred to as a transmission delay calculation GATE message. When the transmission start time is described in the GATE message, the transmission delay calculation GATE determination unit 143 sends the GATE message in which the time stamp value is described to the PON side port unit 110 to the correction processing unit 144. And give instructions. When the transmission start time is not described in the GATE message, the transmission delay calculation GATE determination unit 143 recognizes the GATE message as a transmission delay calculation GATE message. The transmission delay calculation GATE determination unit 143 instructs the correction processing unit 144 to describe the transmission start time in the transmission delay calculation GATE message. The transmission delay calculation GATE determining unit 143 does not necessarily have to determine the GATE message in which the time stamp value is described, and may determine, for example, the GATE message in which the time stamp value is not described. .

補正処理部144は、送信時刻打刻部141から、タイムスタンプ値が記載されたGATEメッセージを受け取る。REPORTメッセージの送信開始時刻がGATEメッセージに記載されている場合は、補正処理部144は、タイムスタンプ値および送信開始時刻が記載されたGATEメッセージをPON側ポート部110へと出力する。REPORTメッセージの送信開始時刻がGATEメッセージに記載されていない場合は、補正処理部144は、タイムスタンプ値が記載された送信遅延計算用GATEメッセージに送信開始時刻を記載する。補正処理部144が送信遅延計算用GATEメッセージに記載する具体的な送信開始時刻は後述される。補正処理部144は、タイムスタンプ値およびREPORTメッセージの送信開始時刻が記載された送信遅延計算用GATEメッセージをPON側ポート部110へと出力する。   The correction processing unit 144 receives from the transmission time stamping unit 141 the GATE message in which the time stamp value is described. When the transmission start time of the REPORT message is described in the GATE message, the correction processing unit 144 outputs the GATE message in which the time stamp value and the transmission start time are described to the PON-side port unit 110. When the transmission start time of the REPORT message is not described in the GATE message, the correction processing unit 144 describes the transmission start time in the transmission delay calculation GATE message in which the time stamp value is described. The specific transmission start time described in the transmission delay calculation GATE message by the correction processing unit 144 will be described later. The correction processing unit 144 outputs the transmission delay calculation GATE message in which the time stamp value and the transmission start time of the REPORT message are described to the PON side port unit 110.

OLTプロセス210は、OLT機能部211と、時刻同期制御部212と、クロック補正部213とを備える。OLTプロセス210は、サーバ側ポート部130を介してタイムスタンプ補助装置100とGATEメッセージおよびREPORTメッセージを相互にやりとりすることができる。尚、OLTプロセス210は、例えば、1つまたは複数のCPU(Central Processing Unit)により構成することができ、OLTプロセス210の各部は、相互に通信可能に構成されている。   The OLT process 210 includes an OLT function unit 211, a time synchronization control unit 212, and a clock correction unit 213. The OLT process 210 can exchange the GATE message and the REPORT message with the time stamp auxiliary apparatus 100 through the server side port unit 130. The OLT process 210 can be configured by, for example, one or more CPUs (Central Processing Units), and the respective units of the OLT process 210 are configured to be mutually communicable.

OLT機能部211は、例えば一般的なOLTの機能(DBA機能やMPCP機能など)を有する。OLT機能部211は、サーバ側ポート部130から受信時刻が記載されたREPORTメッセージを、時刻同期制御部212を介して受け取る。また、OLT機能部211は、REPORTメッセージに記載のONU送信時刻およびタイムスタンプ補助装置100における受信時刻を用いて計算したOLTプロセス210とONU間の伝搬遅延時間、上りユーザデータ量およびクロック220から受け取った時刻情報に基づいて帯域割り当て計算を行い、それぞれのONUについて送信許可量および送信開始時刻を記載したGATEメッセージを作成する。尚、OLT機能部211は、タイムスタンプ補助装置100における受信時刻からREPORTメッセージに記載のONU送信時刻を引くことで、ゆらぎの少ない正確なRTTを計算することができる。OLT機能部211は、作成したGATEメッセージを時刻同期制御部212へと出力する。尚、OLT機能部211は、送信開始時刻を記載しない送信遅延計算用GATEメッセージを作成してもよい。   The OLT function unit 211 has, for example, a general OLT function (such as a DBA function or an MPCP function). The OLT function unit 211 receives the REPORT message in which the reception time is described from the server side port unit 130 via the time synchronization control unit 212. Also, the OLT function unit 211 receives from the propagation delay time between the OLT process 210 and the ONU, the upstream user data amount, and the clock 220 calculated using the ONU transmission time described in the REPORT message and the reception time in the time stamp auxiliary apparatus 100. The bandwidth allocation calculation is performed based on the received time information, and a GATE message in which the transmission permission amount and the transmission start time are described for each ONU is created. The OLT function unit 211 can calculate an accurate RTT with less fluctuation by subtracting the ONU transmission time described in the REPORT message from the reception time of the time stamp auxiliary apparatus 100. The OLT function unit 211 outputs the created GATE message to the time synchronization control unit 212. The OLT function unit 211 may create a transmission delay calculation GATE message not describing the transmission start time.

時刻同期制御部212は、サーバ側ポート部130から受信時刻が記載されたREPORTメッセージを受け取り、OLT機能部211へと出力する。また、時刻同期制御部212は、OLTプロセス210からタイムスタンプ補助装置100へGATEメッセージを出力する時刻を取得して記録する。また、時刻同期制御部212は、当該GATEメッセージに対応するREPORTメッセージをタイムスタンプ補助装置100から受け取った時刻を計測する。時刻同期制御部212は、OLTプロセス210とタイムスタンプ補助装置100との間のパケット伝搬遅延時間(以降、送信遅延時間と称する)を算出する。時刻同期制御部212は、少なくともOLTプロセス210からGATEメッセージが出力された時刻およびOLTプロセス210でREPORTメッセージを受け取った時刻を用いる。送信遅延時間Dの具体的な算出方法は後述される。時刻同期制御部212は、送信遅延時間Dをクロック補正部213へと出力する。   The time synchronization control unit 212 receives the REPORT message in which the reception time is described from the server side port unit 130, and outputs the REPORT message to the OLT function unit 211. Further, the time synchronization control unit 212 acquires and records the time when the GATE message is output from the OLT process 210 to the time stamp auxiliary apparatus 100. Further, the time synchronization control unit 212 measures the time when the REPORT message corresponding to the GATE message is received from the time stamp auxiliary apparatus 100. The time synchronization control unit 212 calculates a packet propagation delay time (hereinafter referred to as a transmission delay time) between the OLT process 210 and the time stamp auxiliary apparatus 100. The time synchronization control unit 212 uses at least the time when the GATE message is output from the OLT process 210 and the time when the REPORT message is received by the OLT process 210. A specific method of calculating the transmission delay time D will be described later. The time synchronization control unit 212 outputs the transmission delay time D to the clock correction unit 213.

クロック補正部213は、時刻同期制御部212から送信遅延時間Dを受け取る。クロック補正部213は、送信遅延時間Dに基づいてクロック220を補正する。具体的な補正方法は後述される。   The clock correction unit 213 receives the transmission delay time D from the time synchronization control unit 212. The clock correction unit 213 corrects the clock 220 based on the transmission delay time D. The specific correction method will be described later.

(動作)
図2において、タイムスタンプ補助装置100を含むシステムによる、OLTプロセス210とタイムスタンプ補助装置100との時刻同期に関する動作が例示される。この動作は、送信遅延計算用GATEメッセージを用いた時刻同期である。この動作は、例えば、OLTプロセス210が、数DBA周期に一度、OLTプロセス210とタイムスタンプ補助装置100との間の送信遅延を計算するために、帯域要求がゼロであったONUに対して送信開始時刻を空白にした送信遅延計算用GATEメッセージを送信する。以下では、時系列に沿って各部の動作を説明する。
(Operation)
In FIG. 2, an operation relating to time synchronization between the OLT process 210 and the time stamp auxiliary apparatus 100 by a system including the time stamp auxiliary apparatus 100 is illustrated. This operation is time synchronization using a transmission delay calculation GATE message. This operation transmits, for example, to the ONU for which the bandwidth request was zero, in order for the OLT process 210 to calculate the transmission delay between the OLT process 210 and the time stamp auxiliary apparatus 100 every few DBA cycles. Send a GATE message for transmission delay calculation with a blank start time. In the following, the operation of each unit will be described in chronological order.

OLTプロセス210は、送信遅延計算用GATEメッセージをタイムスタンプ補助装置100へと出力する(時刻t1)。このとき、OLTプロセス210は、送信開始時刻を記載せずに送信遅延計算用GATEメッセージを生成する。また、時刻同期制御部212は、OLTプロセス210が送信遅延計算用GATEメッセージをタイムスタンプ補助装置100へと送った時刻t1を保持している。   The OLT process 210 outputs a transmission delay calculation GATE message to the time stamp auxiliary apparatus 100 (time t1). At this time, the OLT process 210 generates a GATE message for transmission delay calculation without describing the transmission start time. Further, the time synchronization control unit 212 holds time t1 when the OLT process 210 sends the transmission delay calculation GATE message to the time stamp auxiliary apparatus 100.

タイムスタンプ補助装置100は、送信遅延計算用GATEメッセージに対して、タイムスタンプ補助装置100からの送信時刻に相当するタイムスタンプ値(時刻T1)と、送信開始時刻としてタイムスタンプ値T1に所定の時間長ΔTを加えた時刻(T1+ΔT)とを記載し、ONUへと送信する。所定の時間長は、例えば、ONUが送信遅延計算用GATEメッセージを受け取って、上り送信が可能な状態になるまでの最小時間である。   For the transmission delay calculation GATE message, the time stamp assistance device 100 determines a time stamp value (time T1) corresponding to the transmission time from the time stamp assistance device 100 and a predetermined time as the transmission start time to the time stamp value T1. The time (T1 + ΔT) to which the length ΔT is added is described, and is transmitted to the ONU. The predetermined time length is, for example, the minimum time until the ONU receives the GATE message for calculation of the transmission delay and the uplink transmission becomes possible.

ONUは、送信遅延計算用GATEメッセージに記載された送信開始時刻(T1+ΔT)に対応するONU送信時刻(T1+ΔT)を、返送するためのREPORTメッセージに記載し、当該REPORTメッセージをOLTプロセス210へと送信する。タイムスタンプ補助装置100は、ONU送信時刻(T1+ΔT)が記載されたREPORTメッセージを受け取る(時刻T2)。このとき、受信時刻打刻部121は、REPORTメッセージに、タイムスタンプ補助装置100における受信時刻T2を記載する。   The ONU describes the ONU transmission time (T1 + ΔT) corresponding to the transmission start time (T1 + ΔT) described in the transmission delay calculation GATE message in the REPORT message for returning, and transmits the REPORT message to the OLT process 210. Do. The time stamp auxiliary apparatus 100 receives a REPORT message in which the ONU transmission time (T1 + ΔT) is described (time T2). At this time, the reception time stamping unit 121 describes the reception time T2 of the time stamp auxiliary apparatus 100 in the REPORT message.

タイムスタンプ補助装置100は、ONU送信時刻(T1+ΔT)および受信時刻T2が記載されたREPORTメッセージをOLTプロセス210へと出力する。時刻同期制御部212は、タイムスタンプ補助装置100からONU送信時刻(T1+ΔT)および受信時刻T2が記載されたREPORTメッセージを受け取る(時刻t2)。時刻同期制御部212は、REPORTメッセージをタイムスタンプ補助装置100から受け取った時刻t2を計測する。   The time stamp auxiliary apparatus 100 outputs, to the OLT process 210, a REPORT message in which the ONU transmission time (T1 + ΔT) and the reception time T2 are described. The time synchronization control unit 212 receives, from the time stamp auxiliary apparatus 100, a REPORT message in which the ONU transmission time (T1 + ΔT) and the reception time T2 are described (time t2). The time synchronization control unit 212 measures time t2 when the REPORT message is received from the time stamp auxiliary apparatus 100.

GATEメッセージおよびREPORTメッセージのやりとりの後に、時刻同期制御部212は、タイムスタンプ補助装置100がREPORTメッセージをONUから受け取った受信時刻T2と、送信開始時刻(T1+ΔT)に対応し、ONUがREPORTメッセージを局内光終端装置へと送ったONU送信時刻(T1+ΔT)と、OLTプロセス210が送信遅延計算用GATEメッセージをタイムスタンプ補助装置100へと送った時刻t1と、OLTプロセス210がREPORTメッセージをタイムスタンプ補助装置100から受け取った時刻t2と、を用いてOLTプロセス210とタイムスタンプ補助装置100との間の送信遅延時間Dを算出する。具体的な一例として、時刻同期制御部212は、送信遅延時間D(={(t2−t1)−(T2−T1−ΔT)}/2)を算出する。時刻同期制御部212は、送信遅延時間Dをクロック補正部213へと出力する。   After exchanging the GATE message and the REPORT message, the time synchronization control unit 212 corresponds to the reception time T2 at which the time stamp auxiliary apparatus 100 receives the REPORT message from the ONU and the transmission start time (T1 + ΔT), and the ONU carries the REPORT message. ONU transmission time (T1 + ΔT) sent to the intra-office optical termination unit, time t1 when the OLT process 210 sent a GATE message for transmission delay calculation to the time stamp auxiliary apparatus 100, and the OLT process 210 time stamped the REPORT message The transmission delay time D between the OLT process 210 and the time stamp auxiliary apparatus 100 is calculated using the time t2 received from the apparatus 100. As a specific example, the time synchronization control unit 212 calculates a transmission delay time D (= {(t2-t1)-(T2-T1-ΔT)} / 2). The time synchronization control unit 212 outputs the transmission delay time D to the clock correction unit 213.

クロック補正部213はクロック220の時刻を、受信時刻T2に送信遅延時間Dを加えた時刻(T2+D)に補正する。尚、送信遅延時間Dは、1回の測定により算出された値でもよいし、2回以上の測定により算出された値の平均値または最大値を用いてもよい。   The clock correction unit 213 corrects the time of the clock 220 to a time (T2 + D) obtained by adding the transmission delay time D to the reception time T2. The transmission delay time D may be a value calculated by one measurement, or an average value or a maximum value of values calculated by two or more measurements.

(効果)
以上詳述したように第1の実施形態では、局内光終端装置は、送信遅延計算用GATEメッセージを用いてOLTプロセス210とタイムスタンプ補助装置100との間の送信遅延時間Dを測定し、送信遅延時間Dに基づいてクロック220の時刻を早めた(進めた)時刻に設定することができる。これにより、局内光終端装置は、OLTプロセス210でGATEメッセージに記載される送信開始時刻がタイムスタンプ補助装置100でGATEメッセージに記載されるタイムスタンプ値よりも小さくなる可能性を低減することができる。
(effect)
As described in detail above, in the first embodiment, the intra-office optical termination apparatus measures the transmission delay time D between the OLT process 210 and the time stamp auxiliary apparatus 100 using the transmission delay calculation GATE message, and transmits The clock 220 can be set to an advanced (advanced) time based on the delay time D. Thereby, the intra-office optical termination apparatus can reduce the possibility that the transmission start time described in the GATE message in the OLT process 210 becomes smaller than the time stamp value described in the GATE message in the time stamp auxiliary apparatus 100. .

さらに、OLTプロセス210とタイムスタンプ補助装置100との間の送信遅延時間の測定は、全てGATEメッセージとREPORTメッセージとによって行われる。そのため、OLTプロセス210およびタイムスタンプ補助装置100を、新たに時刻同期用プロトコルに対応させる必要がない。また、OLTプロセス210とタイムスタンプ補助装置100との間において、上記時刻同期用プロトコルに関するメッセージをやりとりする必要もないため、帯域利用効率を維持したまま送信遅延測定を行うことができる。   Furthermore, the measurement of the transmission delay time between the OLT process 210 and the time stamp auxiliary apparatus 100 is all performed by the GATE message and the REPORT message. Therefore, the OLT process 210 and the time stamp auxiliary apparatus 100 do not need to newly correspond to the time synchronization protocol. Further, since it is not necessary to exchange messages regarding the time synchronization protocol between the OLT process 210 and the time stamp auxiliary apparatus 100, it is possible to perform transmission delay measurement while maintaining the bandwidth utilization efficiency.

[第2の実施形態]
(構成)
図3において、第2の実施形態に係るタイムスタンプ補助装置300を含むシステムのブロック図が例示される。図3のタイムスタンプ補助装置300は、第1の実施形態に係るタイムスタンプ補助装置100をベースに構成されており、共通部分の説明は省略する。第2の実施形態は、送信遅延計算用GATEメッセージを用いずOLTプロセス210とタイムスタンプ補助装置300との間の送信遅延時間Dを測定する点で第1の実施形態と異なる。
Second Embodiment
(Constitution)
In FIG. 3, a block diagram of a system including a time stamp assisting apparatus 300 according to the second embodiment is illustrated. The time stamp auxiliary device 300 of FIG. 3 is configured based on the time stamp auxiliary device 100 according to the first embodiment, and the description of the common parts is omitted. The second embodiment differs from the first embodiment in that the transmission delay time D between the OLT process 210 and the time stamp auxiliary apparatus 300 is measured without using a transmission delay calculation GATE message.

タイムスタンプ補助装置300は、PON側ポート部110と、REPORTメッセージ処理部120と、サーバ側ポート部150と、GATEメッセージ処理部160とを備える。また、REPORTメッセージ処理部120は受信時刻打刻部121を備え、サーバ側ポート部150はパケットコピー部151を備え、GATEメッセージ処理部160は送信時刻打刻部161を備える。   The time stamp auxiliary apparatus 300 includes a PON side port unit 110, a REPORT message processing unit 120, a server side port unit 150, and a GATE message processing unit 160. Further, the REPORT message processing unit 120 includes a reception time clocking unit 121, the server side port unit 150 includes a packet copying unit 151, and the GATE message processing unit 160 includes a transmission time clocking unit 161.

サーバ側ポート部150は、受信時刻打刻部121から受信時刻が記載されたREPORTメッセージを受け取り、OLTプロセス210へと出力する。また、サーバ側ポート部150は、OLTプロセス210からGATEメッセージを受け取り、送信時刻打刻部161へと出力する。   The server side port unit 150 receives the REPORT message in which the reception time is described from the reception time clocking unit 121, and outputs the REPORT message to the OLT process 210. The server-side port unit 150 also receives the GATE message from the OLT process 210 and outputs the GATE message to the transmission time clocking unit 161.

パケットコピー部151は、サーバ側ポート部150でOLTプロセス210からGATEメッセージを受け取る度に、受け取ったGATEメッセージをコピーする。パケットコピー部151は、コピーされたGATEメッセージをOLTプロセス210へ折り返す形で出力する。   Every time the server side port unit 150 receives a GATE message from the OLT process 210, the packet copying unit 151 copies the received GATE message. The packet copying unit 151 outputs the copied GATE message to the OLT process 210 in a form of looping back.

GATEメッセージ処理部160は、第1の実施形態で説明した送信開始時刻補正部142を備えていない。そのため、送信時刻打刻部161は、タイムスタンプ値を記載したGATEメッセージをPON側ポート部110へと出力する点において、第1の実施形態で説明した送信時刻打刻部141と異なる。   The GATE message processing unit 160 does not include the transmission start time correction unit 142 described in the first embodiment. Therefore, the transmission time imprinting unit 161 is different from the transmission time imprinting unit 141 described in the first embodiment in that the GATE message in which the time stamp value is described is output to the PON side port unit 110.

時刻同期制御部212は、OLTプロセス210がGATEメッセージをタイムスタンプ補助装置100へ送った時刻と、OLTプロセス210がパケットコピー部151でコピーされたGATEメッセージをタイムスタンプ補助装置300から受け取った時刻とを用いて、OLTプロセス210とタイムスタンプ補助装置300との間の送信遅延時間Dを算出する。一例として、時刻同期制御部212は、OLTプロセス210がGATEメッセージをタイムスタンプ補助装置100へ送った時刻と、OLTプロセス210がパケットコピー部151でコピーされたGATEメッセージをタイムスタンプ補助装置300から受け取った時刻との差に基づいて、送信遅延時間Dを算出する。尚、OLTプロセス210は、コピーされたGATEメッセージをパケットコピー部151から受け取った時刻を取得した後に、コピーされたGATEメッセージを破棄する。   The time synchronization control unit 212 receives the time when the OLT process 210 sends the GATE message to the time stamp auxiliary apparatus 100 and the time when the OLT process 210 receives the GATE message copied by the packet copying unit 151 from the time stamp auxiliary apparatus 300 The transmission delay time D between the OLT process 210 and the time stamp auxiliary apparatus 300 is calculated using As an example, the time synchronization control unit 212 receives from the time stamp auxiliary device 300 the time when the OLT process 210 sent the GATE message to the time stamp auxiliary device 100 and the GATE message copied by the OLT process 210 by the packet copying unit 151. The transmission delay time D is calculated based on the difference from the time of day. The OLT process 210 discards the copied GATE message after acquiring the time when the copied GATE message is received from the packet copying unit 151.

(動作)
図4において、タイムスタンプ補助装置300を含むシステムによる動作が例示される。以下では、時系列に沿って各部の動作を説明する。
(Operation)
In FIG. 4, the operation of the system including the time stamp assistant 300 is illustrated. In the following, the operation of each unit will be described in chronological order.

OLTプロセス210は、GATEメッセージをタイムスタンプ補助装置300へと出力する(時刻t1)。時刻同期制御部212は、OLTプロセス210がGATEメッセージをタイムスタンプ補助装置300へと送った時刻t1を保持している。パケットコピー部151は、タイムスタンプ補助装置300がOLTプロセス210から受け取ったGATEメッセージをコピーし、コピーされたGATEメッセージをOLTプロセス210へと出力する。OLTプロセス210は、タイムスタンプ補助装置300からコピーされたGATEメッセージを受け取る(時刻t2)。時刻同期制御部212は、OLTプロセス210がパケットコピー部151でコピーされたGATEメッセージをタイムスタンプ補助装置300から受け取った時刻t2を計測する。時刻同期制御部212は、時刻t1と時刻t2との差に基づいて、OLTプロセス210とタイムスタンプ補助装置300との間の送信遅延時間Dを算出する。具体的には、時刻同期制御部212は、送信遅延時間D(=(t2−t1)/2)を算出する。時刻同期制御部212は、送信遅延時間Dをクロック補正部213へと出力する。   The OLT process 210 outputs the GATE message to the time stamp auxiliary apparatus 300 (time t1). The time synchronization control unit 212 holds time t1 at which the OLT process 210 sends the GATE message to the time stamp auxiliary apparatus 300. The packet copying unit 151 copies the GATE message received by the time stamp auxiliary apparatus 300 from the OLT process 210, and outputs the copied GATE message to the OLT process 210. The OLT process 210 receives the copied GATE message from the time stamp auxiliary device 300 (time t2). The time synchronization control unit 212 measures time t2 when the OLT process 210 receives the GATE message copied by the packet copying unit 151 from the time stamp auxiliary apparatus 300. The time synchronization control unit 212 calculates the transmission delay time D between the OLT process 210 and the time stamp auxiliary apparatus 300 based on the difference between the time t1 and the time t2. Specifically, the time synchronization control unit 212 calculates the transmission delay time D (= (t2-t1) / 2). The time synchronization control unit 212 outputs the transmission delay time D to the clock correction unit 213.

クロック補正部213はクロック220の時刻を、受信時刻T2に送信遅延時間Dを加えた時刻(T2+D)に補正する。尚、送信遅延時間Dは、1回の測定により算出された値でもよいし、2回以上の測定により算出された値の平均値または最大値を用いてもよい。   The clock correction unit 213 corrects the time of the clock 220 to a time (T2 + D) obtained by adding the transmission delay time D to the reception time T2. The transmission delay time D may be a value calculated by one measurement, or an average value or a maximum value of values calculated by two or more measurements.

上記の動作において、GATEメッセージが折り返されるときに、ONU(或いはタイムスタンプ補助装置300)からOLTプロセス210への方向である上り方向の帯域を圧迫することが考えられる。しかしながら、基本的なDBAアルゴリズムにおいては、OLTプロセス210がGATEメッセージを送信している期間は、ONUが上りユーザデータを送信できない帯域(上り送信不可能帯域)としている(例えば、非特許文献4参照)。即ち、パケットコピー部151におけるGATEメッセージを返送する動作は、上り方向の帯域への影響が少ないと考えられる。   In the above operation, when the GATE message is looped back, it is conceivable to compress the upstream band which is the direction from the ONU (or the timestamp auxiliary device 300) to the OLT process 210. However, in the basic DBA algorithm, the period during which the OLT process 210 is transmitting a GATE message is a band in which the ONU can not transmit upstream user data (uplink non-transmittable bandwidth) (for example, see Non-Patent Document 4) ). That is, the operation of returning the GATE message in the packet copying unit 151 is considered to have little influence on the upstream band.

(効果)
以上詳述したように第2の実施形態では、局内光終端装置は、OLTプロセス210におけるGATEメッセージの送受信時刻の差に基づいて送信遅延時間Dを測定し、送信遅延時間Dに基づいてクロック220の時刻を早めた(進めた)時刻に設定することができる。これにより、局内光終端装置は、OLTプロセス210でGATEメッセージに記載される送信開始時刻がタイムスタンプ補助装置300でGATEメッセージに記載されるタイムスタンプ値よりも小さくなる可能性を低減することができる。また、GATEメッセージを返送している帯域は、上りユーザデータが使用しない帯域であるため、局内光終端装置は、帯域利用効率を維持したまま時刻同期に用いる送信遅延時間Dを求めることができる。
(effect)
As described above in detail, in the second embodiment, the intra-office optical termination apparatus measures the transmission delay time D based on the difference between the transmission and reception times of GATE messages in the OLT process 210, and the clock 220 based on the transmission delay time D. Can be set to the time advanced (advanced). As a result, the intra-office optical termination apparatus can reduce the possibility that the transmission start time described in the GATE message in the OLT process 210 becomes smaller than the time stamp value described in the GATE message in the time stamp auxiliary apparatus 300. . Further, since the band in which the GATE message is returned is a band in which the uplink user data is not used, the intra-office optical termination apparatus can obtain the transmission delay time D used for time synchronization while maintaining the band use efficiency.

[第3の実施形態]
(構成)
図5において、第3の実施形態に係るタイムスタンプ補助装置500を含むシステムのブロック図が例示される。図5のタイムスタンプ補助装置500は、第1の実施形態に係るタイムスタンプ補助装置100をベースに構成されており、共通部分の説明は省略する。第3の実施形態は、送信遅延計算用GATEメッセージを用いずOLTプロセス210とタイムスタンプ補助装置500との間の送信遅延時間Dを測定する点で第1の実施形態と異なる。
Third Embodiment
(Constitution)
In FIG. 5, a block diagram of a system including a timestamp assistance device 500 according to the third embodiment is illustrated. The time stamp auxiliary device 500 of FIG. 5 is configured based on the time stamp auxiliary device 100 according to the first embodiment, and the description of the common parts is omitted. The third embodiment differs from the first embodiment in that the transmission delay time D between the OLT process 210 and the time stamp auxiliary apparatus 500 is measured without using a transmission delay calculation GATE message.

タイムスタンプ補助装置500は、PON側ポート部110と、サーバ側ポート部130と、REPORTメッセージ処理部170と、GATEメッセージ処理部180とを備える。また、REPORTメッセージ処理部170は、受信時刻打刻部171と、送受信間隔打刻部172とを備え、GATEメッセージ処理部180は送信時刻打刻部181を備える。   The time stamp auxiliary apparatus 500 includes a PON side port unit 110, a server side port unit 130, a REPORT message processing unit 170, and a GATE message processing unit 180. In addition, the REPORT message processing unit 170 includes a reception time stamping unit 171 and a transmission / reception interval imprinting unit 172, and the GATE message processing unit 180 includes a transmission time stamping unit 181.

受信時刻打刻部171は、受信時刻が記載されたREPORTメッセージを送受信間隔打刻部172へと出力する点において、図1および図3の受信時刻打刻部121と異なる。   The reception time stamping unit 171 differs from the reception time stamping unit 121 in FIG. 1 and FIG. 3 in that it outputs a REPORT message in which the reception time is described to the transmission / reception interval stamping unit 172.

GATEメッセージ処理部180は、第1の実施形態で説明した送信開始時刻補正部142を備えていない。そのため、送信時刻打刻部181は、タイムスタンプ値を記載したGATEメッセージをPON側ポート部110へと出力し、さらにタイムスタンプ値を送受信間隔打刻部172へと出力する点において、第1の実施形態で説明した送信時刻打刻部141と異なる。尚、第3の実施形態では、タイムスタンプ補助装置500がGATEメッセージを送る送信時刻に相当するタイムスタンプ値をモジュール送信時刻と称する。また、タイムスタンプ補助装置500がREPORTメッセージを受け取った受信時刻をモジュール受信時刻と称する。   The GATE message processing unit 180 does not include the transmission start time correction unit 142 described in the first embodiment. Therefore, the first point in time is that the transmission time imprinting section 181 outputs the GATE message describing the time stamp value to the PON side port section 110, and further outputs the time stamp value to the transmission / reception interval imprinting section 172. It differs from the transmission time imprinting unit 141 described in the embodiment. In the third embodiment, a time stamp value corresponding to a transmission time at which the time stamp auxiliary apparatus 500 sends a GATE message is referred to as a module transmission time. Also, the reception time at which the timestamp auxiliary device 500 receives the REPORT message is referred to as a module reception time.

送受信間隔打刻部172は、送信時刻打刻部181から受け取ったモジュール送信時刻をONU毎に保持する。送受信間隔打刻部172は、受信時刻打刻部171からモジュール受信時刻が記載されたREPORTメッセージを受け取り、REPORTメッセージから受信時刻を取得する。送受信間隔打刻部172は、タイムスタンプ補助装置500におけるモジュール送信時刻とモジュール受信時刻との差を計算する。送受信間隔打刻部172は、タイムスタンプ補助装置500におけるモジュール送信時刻とモジュール受信時刻との送受信差分を、モジュール受信時刻が記載されたREPORTメッセージの空き領域に記載してサーバ側ポート部130へと出力する。   The transmission / reception interval imprinting unit 172 holds the module transmission time received from the transmission time imprinting unit 181 for each ONU. The transmission / reception interval imprinting unit 172 receives the REPORT message in which the module reception time is described from the reception time imprinting unit 171, and acquires the reception time from the REPORT message. The transmission / reception interval imprinting unit 172 calculates the difference between the module transmission time and the module reception time in the time stamp auxiliary apparatus 500. The transmission / reception interval transcribing unit 172 describes the transmission / reception difference between the module transmission time and the module reception time in the time stamp auxiliary device 500 in the empty area of the REPORT message in which the module reception time is described and sends it to the server side port unit 130. Output.

(動作)
図6において、タイムスタンプ補助装置500を含むシステムによる動作が例示される。以下では、時系列に沿って各部の動作を説明する。
(Operation)
In FIG. 6, the operation by the system including the time stamp assistant 500 is illustrated. In the following, the operation of each unit will be described in chronological order.

OLTプロセス210は、GATEメッセージをタイムスタンプ補助装置500へと出力する(時刻t1)。このとき、時刻同期制御部212は、OLTプロセス210がGATEメッセージを各ONUへと送った時刻t1を保持している。   The OLT process 210 outputs the GATE message to the time stamp auxiliary apparatus 500 (time t1). At this time, the time synchronization control unit 212 holds time t1 at which the OLT process 210 sends the GATE message to each ONU.

タイムスタンプ補助装置500は、GATEメッセージに対して、タイムスタンプ値としてモジュール送信時刻T1を記載し、モジュール送信時刻T1が記載されたGATEメッセージをONUへと送信する。このとき、送受信間隔打刻部172は、各ONUへ送られたGATEメッセージに記載されたそれぞれのモジュール送信時刻T1を保持している。   The time stamp auxiliary apparatus 500 describes the module transmission time T1 as a time stamp value in the GATE message, and transmits the GATE message in which the module transmission time T1 is described to the ONU. At this time, the transmission / reception interval imprinting unit 172 holds each module transmission time T1 described in the GATE message sent to each ONU.

ONUは、GATEメッセージに記載された送信開始時刻において、REPORTメッセージをOLTプロセス210へと送信する。ONUは、送信開始時刻に対応するONU送信時刻T3を、返送するためのREPORTメッセージに記載し、当該REPORTメッセージをOLTプロセス210へと送信する。タイムスタンプ補助装置500は、ONUからREPORTメッセージを受け取る(時刻T2)。このとき、受信時刻打刻部171は、REPORTメッセージに、タイムスタンプ補助装置500におけるモジュール受信時刻T2を記載する。送受信間隔打刻部172は、REPORTメッセージの空き領域に対して、タイムスタンプ補助装置500におけるモジュール送信時刻T1とモジュール受信時刻T2との送受信差分(T2−T1)を記載する。尚、送受信差分(T2−T1)は、ONUのRTTに相当する。   The ONU transmits a REPORT message to the OLT process 210 at the transmission start time described in the GATE message. The ONU describes ONU transmission time T3 corresponding to the transmission start time in a REPORT message for returning, and transmits the REPORT message to the OLT process 210. The time stamp auxiliary apparatus 500 receives the REPORT message from the ONU (time T2). At this time, the reception time stamping unit 171 describes the module reception time T2 in the time stamp auxiliary device 500 in the REPORT message. The transmission / reception interval imprinting part 172 describes the transmission / reception difference (T2-T1) between the module transmission time T1 and the module reception time T2 in the time stamp auxiliary device 500 in the empty area of the REPORT message. The transmission / reception difference (T2-T1) corresponds to the RTT of the ONU.

タイムスタンプ補助装置500は、送受信差分(T2−T1)が記載されたREPORTメッセージをOLTプロセス210へと出力する。OLTプロセス210は、タイムスタンプ補助装置500から送受信差分(T2−T1)が記載されたREPORTメッセージを受け取る(時刻t2)。時刻同期制御部212は、REPORTメッセージをタイムスタンプ補助装置500から受け取った時刻t2を計測する。   The time stamp auxiliary apparatus 500 outputs the REPORT message in which the transmission / reception difference (T2-T1) is described to the OLT process 210. The OLT process 210 receives from the time stamp auxiliary apparatus 500 a REPORT message in which the transmission / reception difference (T2-T1) is described (time t2). The time synchronization control unit 212 measures time t2 when the REPORT message is received from the time stamp auxiliary apparatus 500.

GATEメッセージおよびREPORTメッセージのやりとりの後に、時刻同期制御部212は、タイムスタンプ補助装置500がGATEメッセージをONUへと送るモジュール送信時刻T1と、タイムスタンプ補助装置500がREPORTメッセージをONUから受け取ったモジュール受信時刻T2と、OLTプロセス210がGATEメッセージをタイムスタンプ補助装置500へと送った時刻t1と、OLTプロセス210がREPORTメッセージをタイムスタンプ補助装置500から受け取った時刻t2と、を用いてOLTプロセス210とタイムスタンプ補助装置100との間の送信遅延時間Dを算出する。具体的な一例として、時刻同期制御部212は、送信遅延時間D(={(t2−t1)−(T2−T1)}/2)を算出する。時刻同期制御部212は、送信遅延時間Dをクロック補正部213へと出力する。   After exchanging the GATE message and the REPORT message, the time synchronization control unit 212 causes the module transmission time T1 in which the time stamp auxiliary device 500 sends the GATE message to the ONU, and the module in which the time stamp auxiliary device 500 receives the REPORT message from the ONU The OLT process 210 using the reception time T2, the time t1 when the OLT process 210 sends the GATE message to the time stamp auxiliary apparatus 500, and the time t2 when the OLT process 210 receives the REPORT message from the time stamp auxiliary apparatus 500. A transmission delay time D between the time stamp auxiliary device 100 and the time stamp auxiliary device 100 is calculated. As a specific example, the time synchronization control unit 212 calculates a transmission delay time D (= {(t2-t1)-(T2-T1)} / 2). The time synchronization control unit 212 outputs the transmission delay time D to the clock correction unit 213.

クロック補正部213はクロック220の時刻を、モジュール受信時刻T2に送信遅延時間Dを加えた時刻(T2+D)に補正する。尚、送信遅延時間Dは、1回の測定により算出された値でもよいし、2回以上の測定により算出された値の平均値または最大値を用いてもよい。   The clock correction unit 213 corrects the time of the clock 220 to a time (T2 + D) obtained by adding the transmission delay time D to the module reception time T2. The transmission delay time D may be a value calculated by one measurement, or an average value or a maximum value of values calculated by two or more measurements.

(効果)
以上詳述したように第3の実施形態では、局内光終端装置は、GATEメッセージのモジュール送信時刻をタイムスタンプ補助装置500が保持し、当該GATEメッセージに対応するREPORTメッセージのモジュール受信時刻を取得することによって、OLTプロセス210とタイムスタンプ補助装置500との間の送信遅延時間Dを測定し、送信遅延時間Dに基づいてクロック220の時刻を早めた(進めた)時刻に設定することができる。これにより、局内光終端装置は、OLTプロセス210でGATEメッセージに記載される送信開始時刻がタイムスタンプ補助装置500でGATEメッセージに記載されるタイムスタンプ値よりも小さくなる可能性を低減することができる。尚、局内光終端装置は、どのようなGATEメッセージであっても送信遅延時間の算出に用いることができる。
(effect)
As described above in detail, in the third embodiment, the intra-office optical termination apparatus holds the module transmission time of the GATE message by the time stamp auxiliary apparatus 500, and acquires the module reception time of the REPORT message corresponding to the GATE message. Thus, the transmission delay time D between the OLT process 210 and the time stamp auxiliary apparatus 500 can be measured, and the time of the clock 220 can be set to the advanced (advanced) time based on the transmission delay time D. As a result, the intra-office optical termination apparatus can reduce the possibility that the transmission start time described in the GATE message in the OLT process 210 becomes smaller than the time stamp value described in the GATE message in the time stamp auxiliary apparatus 500. . Note that the intra-office optical termination device can be used to calculate the transmission delay time for any GATE message.

尚、この発明は上記実施形態に限定されるものではない。要するにこの発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。   The present invention is not limited to the above embodiment. In short, the present invention is not limited to the above embodiment as it is, and at the implementation stage, the constituent elements can be modified and embodied without departing from the scope of the invention. In addition, various inventions can be formed by appropriate combinations of a plurality of components disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, components in different embodiments may be combined as appropriate.

10…受動光ネットワーク、11…局内光終端装置、12…宅内光終端装置、13…光スプリッタ、100,300,500…タイムスタンプ補助装置、110…PON側ポート部、120,170…REPORTメッセージ処理部、121,171…受信時刻打刻部、130,150…サーバ側ポート部、140,160,180…GATEメッセージ処理部、141,161,181…送信時刻打刻部、142…送信開始時刻補正部、143…送信遅延計算用GATE判別部、144…補正処理部、151…パケットコピー部、172…送受信間隔打刻部、200…サーバ、210…OLTプロセス、211…OLT機能部、212…時刻同期制御部、213…クロック補正部、220…クロック。   DESCRIPTION OF SYMBOLS 10 ... Passive optical network, 11 ... Office optical termination device, 12 ... Home optical termination device, 13 ... Optical splitter, 100, 300, 500 ... Time stamp auxiliary device, 110 ... PON side port part, 120, 170 ... REPORT message processing Parts, 121, 171 ... Reception time stamping part 130, 150 ... Server side port part, 140, 160, 180 ... GATE message processing part 141, 161, 181 ... Transmission time stamping part 142 ... Transmission start time correction Unit: 143: GATE determination unit for transmission delay calculation; 144: correction processing unit; 151: packet copy unit; 172: transmission / reception interval imprinting unit; 200: server; 210: OLT process; 211: OLT function unit; Synchronous control unit, 213: clock correction unit, 220: clock.

Claims (5)

受動光ネットワークで2つ以上の宅内光終端装置と接続される局内光終端装置の機能の少なくとも一部をソフトウェア化したプロセスと、
前記プロセスのためのクロックと、
前記局内光終端装置から前記宅内光終端装置へと送る送信許可信号および前記宅内光終端装置から受け取った送信要求信号に対して、時刻に関する情報を追加するタイムスタンプ補助装置と
を具備する局内光終端装置であって、
前記タイムスタンプ補助装置は、
前記送信許可信号に対して、前記タイムスタンプ補助装置が前記送信許可信号を前記宅内光終端装置へと送る時刻を送信時刻の情報として追加する手段と、
前記送信要求信号に対して、前記タイムスタンプ補助装置が前記送信要求信号を前記宅内光終端装置から受け取った時刻を受信時刻の情報として追加する手段と
を備え、
前記プロセスは、
前記プロセスと前記タイムスタンプ補助装置との間の送信遅延時間を算出する手段と、
前記クロックの時刻を、前記受信時刻に前記送信遅延時間を加えた時刻に補正する手段と
を備える、局内光終端装置。
A softwareized process of at least part of the functions of the in-station optical termination unit connected to two or more in-home optical termination units in the passive optical network;
A clock for the process;
An intra-office optical termination comprising: a transmission permission signal transmitted from the intra-office optical termination device to the intra-premises optical termination device; A device,
The time stamp auxiliary device
A means for adding, as transmission time information, a time at which the time stamp auxiliary device sends the transmission permission signal to the home optical termination device with respect to the transmission permission signal;
Means for adding the time at which the time stamp auxiliary apparatus received the transmission request signal from the in-home optical termination apparatus to the transmission request signal as reception time information;
The process is
Means for calculating a transmission delay between the process and the time stamp aiding device;
Means for correcting the clock time to a time obtained by adding the transmission delay time to the reception time.
前記送信遅延時間を算出する手段は、前記受信時刻と、前記宅内光終端装置が前記送信要求信号を前記局内光終端装置へと送った時刻と、前記プロセスが前記送信許可信号を送った時刻と、前記プロセスが前記送信要求信号を受け取った時刻と、を用いて、前記送信遅延時間を算出する、請求項1に記載の局内光終端装置。   The means for calculating the transmission delay time includes the reception time, the time when the in-house optical termination unit sends the transmission request signal to the in-station optical termination unit, and the time when the process sends the transmission permission signal. The intra-office optical termination system according to claim 1, wherein the transmission delay time is calculated using the time when the process receives the transmission request signal. 前記タイムスタンプ補助装置は、前記プロセスから受け取った前記送信許可信号をコピーし、コピーされた前記送信許可信号を前記プロセスへと出力する手段をさらに備え、
前記送信遅延時間を算出する手段は、前記プロセスが前記送信許可信号を送った時刻と、前記プロセスがコピーされた前記送信許可信号を受け取った時刻と、を用いて、前記送信遅延時間を算出する、請求項1に記載の局内光終端装置。
The time stamp assisting apparatus further comprises means for copying the transmission permission signal received from the process and outputting the copied transmission permission signal to the process.
The means for calculating the transmission delay time calculates the transmission delay time using the time when the process sent the transmission permission signal and the time when the transmission permission signal to which the process was copied is received. The intra-office optical termination device according to claim 1.
前記送信遅延時間を算出する手段は、前記送信時刻と、前記受信時刻と、前記プロセスが前記送信許可信号を送った時刻と、前記プロセスが前記送信要求信号を受け取った時刻と、を用いて、前記送信遅延時間を算出する、請求項1に記載の局内光終端装置。   The means for calculating the transmission delay time uses the transmission time, the reception time, the time when the process sent the transmission permission signal, and the time when the process receives the transmission request signal. The intra-office optical termination apparatus according to claim 1, wherein the transmission delay time is calculated. 受動光ネットワークで2つ以上の宅内光終端装置と接続される局内光終端装置の機能の少なくとも一部をソフトウェア化したプロセスと、
前記プロセスのためのクロックと、
前記局内光終端装置から前記宅内光終端装置へと送る送信許可信号および前記宅内光終端装置から受け取った送信要求信号に対して、時刻に関する情報を追加するタイムスタンプ補助装置と
を具備する局内光終端装置により実行される時刻同期方法であって、
前記タイムスタンプ補助装置が、前記送信許可信号に対して、前記タイムスタンプ補助装置が前記送信許可信号を前記宅内光終端装置へと送る時刻を送信時刻の情報として追加することと、
前記タイムスタンプ補助装置が、前記送信要求信号に対して、前記タイムスタンプ補助装置が前記送信要求信号を前記宅内光終端装置から受け取った時刻を受信時刻の情報として追加することと、
前記プロセスが、前記プロセスと前記タイムスタンプ補助装置との間の送信遅延時間を算出することと、
前記プロセスが、前記クロックの時刻を、前記受信時刻に前記送信遅延時間を加えた時刻に補正することと、
を備える、時刻同期方法。
A softwareized process of at least part of the functions of the in-station optical termination unit connected to two or more in-home optical termination units in the passive optical network;
A clock for the process;
An intra-office optical termination comprising: a transmission permission signal transmitted from the intra-office optical termination device to the intra-home optical termination device; and a time stamp auxiliary device for adding information about time to the transmission request signal received from the intra-home optical termination device. A time synchronization method performed by the device,
The time stamp auxiliary device adds, to the transmission permission signal, a time at which the time stamp auxiliary device sends the transmission permission signal to the home optical termination device as transmission time information;
The time stamp auxiliary apparatus adds, to the transmission request signal, the time when the time stamp auxiliary apparatus receives the transmission request signal from the home optical termination apparatus as reception time information;
Said process calculating a transmission delay time between said process and said time stamp aiding device;
Correcting the time of the clock to a time obtained by adding the transmission delay time to the reception time;
A time synchronization method comprising:
JP2016183279A 2016-09-20 2016-09-20 Intra-office optical termination device and time synchronization method Active JP6539627B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016183279A JP6539627B2 (en) 2016-09-20 2016-09-20 Intra-office optical termination device and time synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016183279A JP6539627B2 (en) 2016-09-20 2016-09-20 Intra-office optical termination device and time synchronization method

Publications (2)

Publication Number Publication Date
JP2018050124A JP2018050124A (en) 2018-03-29
JP6539627B2 true JP6539627B2 (en) 2019-07-03

Family

ID=61767831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016183279A Active JP6539627B2 (en) 2016-09-20 2016-09-20 Intra-office optical termination device and time synchronization method

Country Status (1)

Country Link
JP (1) JP6539627B2 (en)

Also Published As

Publication number Publication date
JP2018050124A (en) 2018-03-29

Similar Documents

Publication Publication Date Title
US9391768B2 (en) Transparent clock for precision timing distribution
US10931391B2 (en) One-step time stamping of synchronization packets for networked devices
CN103929293B (en) Asymmetrically-delayed time synchronization method and system
TWI485996B (en) Apparatus and method for enabling a passive optical network on supporting time synchronization
WO2018006686A1 (en) Method, apparatus and device for optimizing time synchronization between communication network devices
KR101290643B1 (en) Method and system for bearing time synchronization protocol in optical transport network
WO2018096548A1 (en) One-way packet delay measurement
WO2011120262A1 (en) Time synchronization processing method and device
US20150078405A1 (en) Monitoring clock accuracy in asynchronous traffic environments
EP3284217A1 (en) Methods, systems, and computer readable media for synchronizing timing among network interface cards (nics) in a network equipment test device
WO2010088830A1 (en) Time synchronization method and corresponding synchronization system for passive optical network system
WO2012071927A1 (en) Time synchronization information transmission method, system, and device
US9065748B2 (en) Symmetrical latency with TDM circuit emulated service
JP2009005070A (en) Communication system, communication method, and communication program
WO2018120549A1 (en) Method and device for processing time stamp in ethernet passive optical network, and storage medium
JP6578258B2 (en) Optical termination device and propagation delay time measuring method
US20070264026A1 (en) Method and apparatus for controlling phase of a clock signal
JP6539627B2 (en) Intra-office optical termination device and time synchronization method
CN111446776A (en) Wide area protection control system suitable for urban distribution network
JP4173044B2 (en) Method of using upstream bandwidth in optical burst transmission / reception network
CN109257243B (en) Method and device for determining round trip delay and computer readable storage medium
JP2011040870A (en) Optical transmission system, and synchronization method using time reference pulse
JP6469027B2 (en) Intra-station optical termination device, optical communication system, and optical communication method
CN112887046B (en) Digital time synchronization method and system for boundary clock and common clock
JP6674883B2 (en) Intra-office optical termination equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180828

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: 20190604

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190531

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190610

R150 Certificate of patent or registration of utility model

Ref document number: 6539627

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150