JP2018125768A - Data transmission device and program - Google Patents

Data transmission device and program Download PDF

Info

Publication number
JP2018125768A
JP2018125768A JP2017017767A JP2017017767A JP2018125768A JP 2018125768 A JP2018125768 A JP 2018125768A JP 2017017767 A JP2017017767 A JP 2017017767A JP 2017017767 A JP2017017767 A JP 2017017767A JP 2018125768 A JP2018125768 A JP 2018125768A
Authority
JP
Japan
Prior art keywords
packet
time
measurement information
phase measurement
data transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017017767A
Other languages
Japanese (ja)
Other versions
JP6879750B2 (en
Inventor
青木 勝典
Katsunori Aoki
勝典 青木
智史 小山
Satoshi Koyama
智史 小山
浩一郎 今村
Koichiro Imamura
浩一郎 今村
啓之 濱住
Hiroyuki Hamazumi
啓之 濱住
澁谷 一彦
Kazuhiko Shibuya
一彦 澁谷
亜紀子 山里
Akiko Yamasato
亜紀子 山里
敬文 松▲崎▼
Yoshifumi Matsusaki
敬文 松▲崎▼
純 津持
Jun Tsumochi
純 津持
和彦 光山
Kazuhiko Mitsuyama
和彦 光山
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.)
Japan Broadcasting Corp
NHK Engineering System Inc
Original Assignee
Nippon Hoso Kyokai NHK
Japan Broadcasting Corp
NHK Engineering System Inc
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 Hoso Kyokai NHK, Japan Broadcasting Corp, NHK Engineering System Inc filed Critical Nippon Hoso Kyokai NHK
Priority to JP2017017767A priority Critical patent/JP6879750B2/en
Publication of JP2018125768A publication Critical patent/JP2018125768A/en
Application granted granted Critical
Publication of JP6879750B2 publication Critical patent/JP6879750B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To suppress an increase in a PDV to enhance measurement accuracy by achieving measurement of a phase offset (clock phase difference) of a clock with a small-scale circuit.SOLUTION: A phase measurement information extraction part 16 of a data transmission device 1 records a response packet reception time at a time point of receiving a signal from an opposite data transmission device 2, extracts phase measurement information from an RTP packet, and extracts a response time from the phase measurement information. A phase measurement information insertion part 12 records a response time at a time point when the RTP packet can be transmitted, and generates phase measurement information comprising a reference time, a reference packet reception time and the response time recorded by the phase measurement information insertion part 12 with the response time extracted by the phase measurement information extraction part 16 as the reference time and with the response packet reception time as the reference packet reception time. The phase measurement information insertion part 12 inserts the phase measurement information into the RTP packet. The RTP packet including real time data and the phase measurement information is transmitted to the opposite data transmission device 2.SELECTED DRAWING: Figure 2

Description

本発明は、クロックに対応付けられた映像、音声、波形情報等のデータを、ネットワークを介して伝送する技術に関し、特に、データ及びクロック情報を伝送するデータ伝送装置及びプログラムに関する。   The present invention relates to a technique for transmitting data such as video, audio and waveform information associated with a clock via a network, and more particularly to a data transmission apparatus and program for transmitting data and clock information.

従来、クロックに対応付けられた映像、音声、波形情報等のデータ(以下、リアルタイムデータという。)を、IPネットワーク等を介して伝送するシステムにおいて、複数のデータ伝送装置間でクロックを同期させる手法が知られている。このクロック同期手法には、例えば、アダプティブ・クロック・リカバリ、ディファレンシャル・クロック・リカバリ、及びNTP(Network Time Protocol:ネットワークタイムプロトコル)の時刻同期がある。   2. Description of the Related Art Conventionally, a method of synchronizing clocks among a plurality of data transmission apparatuses in a system that transmits data such as video, audio, and waveform information (hereinafter referred to as real time data) associated with a clock via an IP network or the like. It has been known. Examples of the clock synchronization method include adaptive clock recovery, differential clock recovery, and time synchronization of NTP (Network Time Protocol).

〔アダプティブ・クロック・リカバリ〕
まず、アダプティブ・クロック・リカバリの同期手法について説明する。アダプティブ・クロック・リカバリは、大きさが一定のデータを一定のクロック間隔(以下、データ間隔という。)で伝送するシステムを対象とするものである(例えば、特許文献1を参照)。
[Adaptive clock recovery]
First, an adaptive clock recovery synchronization method will be described. Adaptive clock recovery is intended for a system that transmits data having a constant size at a constant clock interval (hereinafter referred to as a data interval) (see, for example, Patent Document 1).

図11は、アダプティブ・クロック・リカバリによりクロック同期を実現する従来のデータ伝送装置の構成例を示すブロック図である。このデータ伝送装置100は、パケット受信部102、バッファ部103、ローカルクロック制御部104及びリアルタイムデータ抽出部105を備えている。   FIG. 11 is a block diagram showing a configuration example of a conventional data transmission apparatus that realizes clock synchronization by adaptive clock recovery. The data transmission apparatus 100 includes a packet receiving unit 102, a buffer unit 103, a local clock control unit 104, and a real time data extraction unit 105.

アダプティブ・クロック・リカバリでは、データ伝送装置100は、リアルタイムデータをバッファ部103に一旦蓄積し、ローカルクロックで計測したデータ間隔で、バッファ部103からリアルタイムデータを読み出す。   In adaptive clock recovery, the data transmission apparatus 100 temporarily accumulates real-time data in the buffer unit 103 and reads out the real-time data from the buffer unit 103 at a data interval measured with a local clock.

パケット受信部102は、図示しない送信側のデータ伝送装置からIPネットワーク101を介してIPパケットを受信する。そして、パケット受信部102は、IPパケットからRTP(Real-time Transport Protocol:リアルタイムトランスポートプロトコル)パケットを抽出し、RTPパケットをバッファ部103に格納する。この場合、送信側のデータ伝送装置は、大きさが一定のリアルタイムデータを格納したIPパケットを、ローカルクロックに基づいて、一定のデータ間隔にて送信する。   The packet receiving unit 102 receives an IP packet via the IP network 101 from a transmission-side data transmission device (not shown). Then, the packet receiving unit 102 extracts an RTP (Real-time Transport Protocol) packet from the IP packet, and stores the RTP packet in the buffer unit 103. In this case, the data transmission device on the transmission side transmits IP packets storing real-time data having a constant size at a constant data interval based on the local clock.

ローカルクロック制御部104は、バッファ部103に格納されたRTPパケットの蓄積量(リアルタイムデータの量)を監視し、その蓄積量が常に一定の範囲内に収まるように、ローカルクロックの周波数を制御する。具体的には、ローカルクロック制御部104は、バッファ部103内の蓄積量が増加する傾向にある場合、ローカルクロックの周波数を増加させ、逆に減少する傾向にある場合、これを減少させる制御を行う。これにより、受信側のローカルクロックを、送信側のローカルクロックに同期させることができる。   The local clock control unit 104 monitors the accumulation amount (real-time data amount) of the RTP packet stored in the buffer unit 103, and controls the frequency of the local clock so that the accumulation amount is always within a certain range. . Specifically, the local clock control unit 104 increases the frequency of the local clock when the accumulation amount in the buffer unit 103 tends to increase, and conversely controls the decrease when it tends to decrease. Do. Thereby, the local clock on the receiving side can be synchronized with the local clock on the transmitting side.

リアルタイムデータ抽出部105は、ローカルクロック制御部104にて制御されたローカルクロックに基づいたデータ間隔で、バッファ部103からRTPパケットを読み出す。そして、リアルタイムデータ抽出部105は、RTPパケットからリアルタイムデータを抽出し、リアルタイムデータを出力する。   The real-time data extraction unit 105 reads RTP packets from the buffer unit 103 at a data interval based on the local clock controlled by the local clock control unit 104. Then, the real time data extraction unit 105 extracts real time data from the RTP packet and outputs the real time data.

尚、図11では、パケット受信部102は、リアルタイムデータをRTPパケットに格納したままバッファ部103に蓄積し、リアルタイムデータ抽出部105は、バッファ部103からRTPパケットの状態で読み出す例を示している。これに対し、パケット受信部102は、RTPパケットからリアルタイムデータを抽出し、リアルタイムデータをバッファ部103に蓄積する場合もある。   FIG. 11 shows an example in which the packet receiving unit 102 stores real-time data in the buffer unit 103 while being stored in the RTP packet, and the real-time data extracting unit 105 reads the state from the buffer unit 103 in the state of the RTP packet. . On the other hand, the packet receiving unit 102 may extract real time data from the RTP packet and store the real time data in the buffer unit 103.

一般に、IPネットワーク101にはパケット遅延分散(PDV:Packet Delay Variation)があるため、送信側のデータ伝送装置が一定間隔でIPパケットを送信したとしても、受信側のデータ伝送装置100に到着する間隔は一定とならない。このため、受信側のデータ伝送装置100のローカルクロック制御部104が出力するローカルクロックは、PDVの影響を受けてしまい、その位相ノイズが大きくなる。   In general, since the IP network 101 has packet delay variation (PDV), even if the data transmission device on the transmission side transmits IP packets at regular intervals, the interval at which the data transmission device 100 on the reception side arrives. Is not constant. For this reason, the local clock output from the local clock control unit 104 of the data transmission apparatus 100 on the receiving side is affected by the PDV, and the phase noise increases.

そこで、ローカルクロック制御部104は、PDVの影響を減じるため、バッファ部103内の蓄積量に対し、平滑化処理またはローパスフィルタ処理を加える。   Therefore, the local clock control unit 104 adds a smoothing process or a low-pass filter process to the accumulation amount in the buffer unit 103 in order to reduce the influence of the PDV.

アダプティブ・クロック・リカバリは、リアルタイムデータの到着間隔が一定となることを利用して、クロックを同期させる手法である。このため、この手法は、PDVの影響またはパケットロスの影響を受け易いが、クロック同期のために特別なデータを送受信する必要がないという利点がある。   Adaptive clock recovery is a technique for synchronizing clocks by utilizing the fact that the arrival interval of real-time data is constant. For this reason, although this method is easily affected by PDV or packet loss, there is an advantage that it is not necessary to transmit / receive special data for clock synchronization.

〔ディファレンシャル・クロック・リカバリ〕
次に、ディファレンシャル・クロック・リカバリの同期手法について説明する。ディファレンシャル・クロック・リカバリは、PDVの影響及びパケットロスを減らすために、送信側と受信側との間で共通に参照可能な基準クロック(共通クロック)を利用して、クロックを同期させるものである(例えば、特許文献2,3を参照)。
[Differential clock recovery]
Next, a differential clock recovery synchronization method will be described. In the differential clock recovery, in order to reduce the influence of PDV and packet loss, the clock is synchronized by using a reference clock (common clock) that can be commonly referred to between the transmission side and the reception side. (For example, see Patent Documents 2 and 3).

送信側のデータ伝送装置は、共通クロックを用いて、当該データ伝送装置にて利用しているクロックを計測し、計測したクロックの周波数偏差、位相偏差等のクロック情報を受信側のデータ伝送装置へ送信する。   The data transmission device on the transmission side uses the common clock to measure the clock used in the data transmission device, and sends the clock information such as the frequency deviation and phase deviation of the measured clock to the data transmission device on the reception side. Send.

受信側のデータ伝送装置は、送信側のデータ伝送装置からクロック情報を受信し、受信したクロック情報と共通クロックとに基づいて、当該データ伝送装置のクロックを再生する。共通クロックとしては、例えばGPS(Global Positioning System:全地球測位システム)のクロック、IPネットワークにおける物理層のクロック等が用いられる。   The data transmission device on the reception side receives the clock information from the data transmission device on the transmission side, and regenerates the clock of the data transmission device based on the received clock information and the common clock. As the common clock, for example, a GPS (Global Positioning System) clock, a physical layer clock in the IP network, or the like is used.

〔NTPの時刻同期〕
共通クロックを利用することなく、PDVの影響を減らすためのクロック同期手法として、送信側と受信側との間のクロックの時刻誤差を直接計測してクロックを補正する手法が知られている。この手法は、NTPに広く利用されている(例えば、非特許文献1を参照)。
[NTP time synchronization]
As a clock synchronization method for reducing the influence of PDV without using a common clock, a method of directly measuring a clock time error between a transmission side and a reception side and correcting the clock is known. This technique is widely used for NTP (see, for example, Non-Patent Document 1).

NTPにおけるクロックの時刻誤差を計測する手法は、IEEE1688PTP(例えば、特許文献4を参照)にも使われている。また、この手法は、IPネットワークを介して接続されたデータ伝送装置間で、それぞれの時刻情報を同期させる仕組みとして使われている(例えば、特許文献5を参照)。   A method of measuring a clock time error in NTP is also used in IEEE 1688 PTP (see, for example, Patent Document 4). This method is used as a mechanism for synchronizing time information between data transmission apparatuses connected via an IP network (see, for example, Patent Document 5).

NTPは、時計を同期させることを目的としたプロトコルであり、クロックの位相は、時計で計測した時刻に対応付けられる。このため、NTPにおけるクロックの時刻誤差を計測する手法は、クロックの位相差(位相オフセット)を計測する処理に用いることができる。   NTP is a protocol for synchronizing a clock, and the phase of the clock is associated with the time measured by the clock. For this reason, the method of measuring the clock time error in the NTP can be used for the process of measuring the phase difference (phase offset) of the clock.

以下、クライアントのデータ伝送装置(クライアント装置)におけるローカルクロックと、サーバのデータ伝送装置(サーバ装置)におけるローカルクロックとの間の位相オフセットを計測する例について説明する。   Hereinafter, an example of measuring the phase offset between the local clock in the client data transmission apparatus (client apparatus) and the local clock in the server data transmission apparatus (server apparatus) will be described.

図12は、NTPのメッセージシーケンスチャートを示す図である。まず、クライアント装置は、照会パケットを作成してサーバ装置へ送信する。照会パケットには、クライアント装置によりローカルクロックを用いて計測された照会パケット送信時の時刻(照会時刻(Tco))が含まれる。照会時刻(Tco)は、例えばローカルクロックのパルスで駆動したバイナリーカウンタの値が用いられる。   FIG. 12 shows an NTP message sequence chart. First, the client device creates an inquiry packet and transmits it to the server device. The inquiry packet includes the inquiry packet transmission time (inquiry time (Tco)) measured by the client device using the local clock. As the inquiry time (Tco), for example, the value of a binary counter driven by a pulse of a local clock is used.

サーバ装置は、クライアント装置から照会パケットを受信すると、応答パケットを作成してクライアント装置へ送信する。応答パケットには、照会パケットに含まれる照会時刻(Tco)、並びに、サーバ装置によりローカルクロックを用いて計測された照会パケット受信時の時刻(照会パケット受信時刻(Tsr))及び応答パケット送信時の時刻(応答時刻(Tst))が含まれる。   When the server device receives the inquiry packet from the client device, the server device creates a response packet and transmits it to the client device. The response packet includes the inquiry time (Tco) included in the inquiry packet, the inquiry packet reception time (inquiry packet reception time (Tsr)) measured by the server device using the local clock, and the response packet transmission time. Time (response time (Tst)) is included.

クライアント装置は、サーバ装置から応答パケットを受信すると、当該クライアント装置のローカルクロックを用いて応答パケット受信時の時刻を応答パケット受信時刻(Tcr)として記録する。   When the client device receives the response packet from the server device, the time when the response packet is received is recorded as a response packet reception time (Tcr) using the local clock of the client device.

そして、クライアント装置は、これら4つの時刻情報(照会時刻(Tco)、照会パケット受信時刻(Tsr)、応答時刻(Tst)及び応答パケット受信時刻(Tcr))に基づいて、往復遅延時間(RTT)を以下の数式で近似する。
〔数式1〕
RTT≒(Tcr−Tco)−(Tst−Tsr) ・・・(1)
Based on these four pieces of time information (inquiry time (Tco), inquiry packet reception time (Tsr), response time (Tst), and response packet reception time (Tcr)), the client device makes a round trip delay time (RTT). Is approximated by the following equation.
[Formula 1]
RTT≈ (Tcr−Tco) − (Tst−Tsr) (1)

さらに、クライアント装置は、受信した応答パケットの伝送遅延を往復遅延時間の半分と仮定し、サーバ装置が応答パケットを送信したときのクライアント装置の時刻(Tst’)を、以下の数式にて推定する。
〔数式2〕
Tst’=Tcr−RTT/2 ・・・(2)
Further, the client device assumes that the transmission delay of the received response packet is half of the round-trip delay time, and estimates the time (Tst ′) of the client device when the server device transmits the response packet using the following formula. .
[Formula 2]
Tst ′ = Tcr−RTT / 2 (2)

クライアント装置は、サーバ装置が応答パケットを送信したときのクライアント装置の時刻(Tst’)から、サーバ装置が応答パケットを送信したときの応答時刻(Tst)を減算した値を求め、これを位相オフセットToffと推定する。これにより、位相オフセット(Toff)は、以下の数式で表される。
〔数式3〕
Toff=Tcr−RTT/2−Tst ・・・(3)
The client device obtains a value obtained by subtracting the response time (Tst) when the server device transmits the response packet from the time (Tst ′) of the client device when the server device transmits the response packet, and obtains this value as a phase offset Estimated as Toff. Thereby, the phase offset (Toff) is expressed by the following mathematical formula.
[Formula 3]
Toff = Tcr−RTT / 2−Tst (3)

このように、位相オフセットは、4つの時刻情報(照会時刻(Tco)、照会パケット受信時刻(Tsr)、応答時刻(Tst)及び応答パケット受信時刻(Tcr))に基づいて推定される。このようなNTPにおける位相オフセットを計測する手法では、パケット遅延時間が変動した場合であっても、照会パケット及び応答パケットの伝送遅延が同程度であれば、位相オフセットを精度高く計測することができる。   Thus, the phase offset is estimated based on the four pieces of time information (inquiry time (Tco), inquiry packet reception time (Tsr), response time (Tst), and response packet reception time (Tcr)). In such a method for measuring the phase offset in NTP, even when the packet delay time fluctuates, the phase offset can be accurately measured as long as the transmission delay of the inquiry packet and the response packet is approximately the same. .

特開2002−368726号公報JP 2002-368726 A 米国特許第7492732号明細書US Pat. No. 7,492,732 特開2012−80365号公報JP 2012-80365 A 特開2010−19635号公報JP 2010-19635 A 特開2013−83451号公報JP2013-83451A

Mills, D.,“Network Time Protocol Version 4: Protocol and Algorithms Specification”, RFC 5905, June 2010Mills, D., “Network Time Protocol Version 4: Protocol and Algorithms Specification”, RFC 5905, June 2010

前述のとおり、アダプティブ・クロック・リカバリは、クロック同期のために特別なデータを送受信する必要はないが、PDVの影響を受け易い。また、ディファレンシャル・クロック・リカバリは、PDVの影響を受けないが、共通クロックを伝送する手段を別途構築する必要がある。   As described above, adaptive clock recovery does not require transmission / reception of special data for clock synchronization, but is susceptible to PDV. Differential clock recovery is not affected by PDV, but it is necessary to separately construct a means for transmitting a common clock.

また、NTPにおける位相オフセットを計測する手法は、PDVの影響を緩和することができ、共通クロックを伝送する必要はないが、時刻情報を照会するための通信を行う必要がある。このため、各データ伝送装置には、リアルタイムデータを伝送するパケットの送受信を行う通信機能に加えて、位相オフセットを計測するための時刻情報を伝送するパケットの送受信を行う通信機能を備える必要がある。   Further, the method of measuring the phase offset in NTP can alleviate the influence of PDV and does not need to transmit a common clock, but it is necessary to perform communication for inquiring time information. For this reason, each data transmission apparatus needs to have a communication function for transmitting / receiving a packet for transmitting time information for measuring a phase offset in addition to a communication function for transmitting / receiving a packet for transmitting real-time data. .

リアルタイムデータの伝送処理及び位相オフセットを計測するための時刻情報の伝送処理は、それぞれ専用のパケットとプロトコルを用いて行われる。例えば、リアルタイムデータの伝送処理にはRTP(RFC3550)が用いられ、時刻情報の伝送処理にはNTP(RFC5905)またはIEEE1588PTPが用いられる。RTP(RFC3550)については、以下の非特許文献を参照されたい。
Schulzrinne, H.,“RTP: A Transport Protocol for Real-Time Applications”, RFC 3550, July 2003
Real-time data transmission processing and time information transmission processing for measuring phase offset are performed using dedicated packets and protocols, respectively. For example, RTP (RFC3550) is used for real-time data transmission processing, and NTP (RFC5905) or IEEE1588 PTP is used for time information transmission processing. For RTP (RFC3550), refer to the following non-patent literature.
Schulzrinne, H., “RTP: A Transport Protocol for Real-Time Applications”, RFC 3550, July 2003

このように、NTPにおける位相オフセットを計測する手法では、2種類のプロトコルの処理機能を実装する必要があるため、データ伝送装置をハードウェア化する際に、回路規模が増加するという問題があった。   As described above, in the method of measuring the phase offset in NTP, since it is necessary to implement processing functions of two types of protocols, there is a problem that the circuit scale increases when the data transmission apparatus is implemented as hardware. .

また、位相オフセットを計測するためのパケットが間欠的に伝送されることにより、リアルタイムデータを伝送するパケットと位相オフセットを計測するためのパケットの送信タイミングが重なることがある。このため、伝送遅延が一時的に増加し、PDVが増加するという問題があった。   In addition, when packets for measuring the phase offset are intermittently transmitted, the transmission timing of the packets for transmitting the real time data and the packets for measuring the phase offset may overlap. For this reason, there is a problem that transmission delay temporarily increases and PDV increases.

また、ローカルクロックを精度高く同期させるには、位相オフセットを計測する間隔を短くすることが有効であるが、計測間隔を短くするには、計測のためのパケットの送信頻度を増やす必要がある。このため、ネットワークの帯域が圧迫され、PDVの増加を招くという問題があった。   In order to synchronize the local clock with high accuracy, it is effective to shorten the interval for measuring the phase offset. However, in order to shorten the measurement interval, it is necessary to increase the frequency of transmission of packets for measurement. For this reason, there is a problem that the network bandwidth is compressed and the PDV increases.

そこで、本発明は前記課題を解決するためになされたものであり、その目的は、クロックの位相オフセット(クロック位相差)の計測を小規模の回路にて実現し、PDVの増加を緩和して計測精度を高めることが可能なデータ伝送装置及びプログラムを提供することにある。   Accordingly, the present invention has been made to solve the above-mentioned problems, and the object thereof is to realize measurement of a clock phase offset (clock phase difference) with a small-scale circuit and reduce an increase in PDV. An object of the present invention is to provide a data transmission device and a program capable of improving measurement accuracy.

前記課題を解決するために、請求項1のデータ伝送装置は、クロックに対応付けられたデータを含むパケットを、ネットワークを介して伝送するデータ伝送装置において、前記クロックに基づいて、前記パケットの送受信時点に関する時刻情報を、当該データ伝送装置と前記ネットワークに接続された他のデータ伝送装置との間のクロック位相差を計測するための位相計測情報として生成し、前記位相計測情報をパケットに格納し、前記データ及び前記位相計測情報を含むパケットを生成する位相計測情報格納部と、前記位相計測情報格納部により生成された前記パケットを、前記他のデータ伝送装置へ送信するパケット送信部と、前記他のデータ伝送装置から送信されたパケットを受信するパケット受信部と、前記パケット受信部により受信された前記パケットから他の位相計測情報を抽出する位相計測情報抽出部と、前記位相計測情報抽出部により抽出された前記他の位相計測情報に含まれる、前記他のデータ伝送装置における送受信時点に関する時刻情報、及び当該データ伝送装置における送受信時点に関する時刻情報に基づいて、前記クロック位相差を計測するクロック位相計測部と、前記クロック位相計測部により計測された前記クロック位相差に基づいて、前記クロックを制御するクロック制御部と、を備えたことを特徴とする。   In order to solve the above-mentioned problem, the data transmission device according to claim 1 is a data transmission device that transmits a packet including data associated with a clock via a network, and transmits and receives the packet based on the clock. Time information about the time is generated as phase measurement information for measuring a clock phase difference between the data transmission apparatus and another data transmission apparatus connected to the network, and the phase measurement information is stored in a packet. A phase measurement information storage unit for generating a packet including the data and the phase measurement information; a packet transmission unit for transmitting the packet generated by the phase measurement information storage unit to the other data transmission device; A packet receiving unit that receives packets transmitted from other data transmission apparatuses, and the packet receiving unit A phase measurement information extraction unit that extracts other phase measurement information from the packet that has been transmitted, and a transmission / reception time point in the other data transmission device that is included in the other phase measurement information extracted by the phase measurement information extraction unit Based on the time information and the time information regarding the transmission / reception time in the data transmission device, the clock phase measurement unit that measures the clock phase difference, and the clock phase difference based on the clock phase difference measured by the clock phase measurement unit And a clock control unit for controlling.

また、請求項2のデータ伝送装置は、請求項1に記載のデータ伝送装置において、前記位相計測情報格納部により生成される前記位相計測情報が、前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す照会時刻、前記パケット受信部により前記パケットが受信された時点を示す照会パケット受信時刻、及び、前記パケット送信部により前記パケットが送信可能となった時点を示す応答時刻により構成される、ことを特徴とする。   The data transmission device according to claim 2 is the data transmission device according to claim 1, wherein the phase measurement information generated by the phase measurement information storage unit is transmitted by the other data transmission device. The inquiry time indicating the time when the packet is received, the inquiry packet reception time indicating the time when the packet is received by the packet receiver, and the response time indicating the time when the packet can be transmitted by the packet transmitter It is characterized by comprising.

また、請求項3のデータ伝送装置は、請求項2に記載のデータ伝送装置において、前記パケット受信部が、前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す他の応答時刻を含む前記他の位相計測情報が格納された前記パケットを受信し、前記位相計測情報抽出部が、前記クロックに基づいて、前記パケット受信部により前記パケットが受信された時点を、応答パケット受信時刻として設定し、前記パケット受信部により受信された前記パケットから前記他の位相計測情報を抽出し、前記他の位相計測情報から前記他の応答時刻を抽出し、前記位相計測情報格納部が、前記クロックに基づいて、前記パケット送信部により前記パケットが送信可能となった時点を前記応答時刻として設定し、前記位相計測情報抽出部により抽出された前記他の応答時刻を前記照会時刻として設定し、前記位相計測情報抽出部により設定された前記応答パケット受信時刻を前記照会パケット受信時刻として設定し、前記照会時刻、前記照会パケット受信時刻及び前記応答時刻からなる前記位相計測情報を生成し、前記位相計測情報をパケットに格納し、前記データ及び前記位相計測情報を含むパケットを生成する、ことを特徴とする。   According to a third aspect of the present invention, there is provided the data transmission device according to the second aspect, wherein the packet receiver receives another response indicating when the packet can be transmitted by the other data transmission device. Receiving the packet storing the other phase measurement information including time, and receiving the response packet when the phase measurement information extraction unit receives the packet by the packet reception unit based on the clock Set as time, extract the other phase measurement information from the packet received by the packet receiver, extract the other response time from the other phase measurement information, the phase measurement information storage unit, Based on the clock, the response time is set as the response time when the packet transmission unit can transmit the packet, and the phase measurement information extraction unit The extracted other response time is set as the inquiry time, the response packet reception time set by the phase measurement information extraction unit is set as the inquiry packet reception time, the inquiry time, the inquiry packet reception time And generating the phase measurement information including the response time, storing the phase measurement information in a packet, and generating a packet including the data and the phase measurement information.

また、請求項4のデータ伝送装置は、請求項1に記載のデータ伝送装置において、前記位相計測情報格納部により生成される前記位相計測情報が、前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す照会時刻、前記パケット送信部により前記パケットが送信可能となった時点を示す応答時刻から前記パケット受信部により前記パケットが受信された時点を示す応答パケット受信時刻を減算して得られた応答待機時間、及び、前記応答時刻により構成される、ことを特徴とする。   The data transmission device according to claim 4 is the data transmission device according to claim 1, wherein the phase measurement information generated by the phase measurement information storage unit is transmitted by the other data transmission device. Subtracting a response packet reception time indicating the time when the packet was received by the packet receiver from a reference time indicating the time when the packet was received and a response time indicating the time when the packet was transmitted by the packet transmitter It is comprised by the response waiting time obtained in this way, and the said response time.

また、請求項5のデータ伝送装置は、請求項4に記載のデータ伝送装置において、前記パケット受信部が、前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す他の応答時刻を含む前記他の位相計測情報が格納された前記パケットを受信し、前記位相計測情報抽出部が、前記クロックに基づいて、前記パケット受信部により前記パケットが受信された時点を、応答パケット受信時刻として設定し、前記パケット受信部により受信された前記パケットから前記他の位相計測情報を抽出し、前記他の位相計測情報から前記他の応答時刻を抽出し、前記位相計測情報格納部が、前記クロックに基づいて、前記パケット送信部により前記パケットが送信可能となった時点を前記応答時刻として設定し、前記応答時刻から前記位相計測情報抽出部により設定された前記応答パケット受信時刻を減算し、その結果を前記応答待機時間として設定し、前記位相計測情報抽出部により抽出された前記他の応答時刻を前記照会時刻として設定し、前記照会時刻、前記応答待機時間及び前記応答時刻からなる前記位相計測情報を生成し、前記位相計測情報をパケットに格納し、前記データ及び前記位相計測情報を含むパケットを生成する、ことを特徴とする。   The data transmission device according to claim 5 is the data transmission device according to claim 4, wherein the packet receiver receives another response indicating when the packet can be transmitted by the other data transmission device. Receiving the packet storing the other phase measurement information including time, and receiving the response packet when the phase measurement information extraction unit receives the packet by the packet reception unit based on the clock Set as time, extract the other phase measurement information from the packet received by the packet receiver, extract the other response time from the other phase measurement information, the phase measurement information storage unit, Based on the clock, the time at which the packet can be transmitted by the packet transmission unit is set as the response time, and the phase meter is calculated from the response time. Subtracting the response packet reception time set by the information extraction unit, setting the result as the response waiting time, setting the other response time extracted by the phase measurement information extraction unit as the inquiry time, Generating the phase measurement information including the inquiry time, the response waiting time, and the response time, storing the phase measurement information in a packet, and generating a packet including the data and the phase measurement information. To do.

また、請求項6のデータ伝送装置は、請求項1から5までのいずれか一項に記載のデータ伝送装置において、前記位相計測情報格納部が、前記位相計測情報をRTPパケットのRTP拡張ヘッダに格納し、前記データ及び前記位相計測情報を含むRTPパケットを生成する、ことを特徴とする。   The data transmission device according to claim 6 is the data transmission device according to any one of claims 1 to 5, wherein the phase measurement information storage unit stores the phase measurement information in an RTP extension header of an RTP packet. And storing and generating an RTP packet including the data and the phase measurement information.

さらに、請求項7のプログラムは、コンピュータを、請求項1から6までのいずれか一項に記載のデータ伝送装置として機能させることを特徴とする。   Furthermore, a program according to a seventh aspect causes a computer to function as the data transmission apparatus according to any one of the first to sixth aspects.

以上のように、本発明によれば、クロック位相差の計測を小規模の回路にて実現することができ、PDVの増加を緩和して計測精度を高めることが可能となる。   As described above, according to the present invention, the measurement of the clock phase difference can be realized with a small circuit, and the increase in PDV can be mitigated and the measurement accuracy can be improved.

本発明の実施形態によるデータ伝送装置を含む伝送システムの全体構成例を示す概略図である。It is the schematic which shows the example of whole structure of the transmission system containing the data transmission apparatus by embodiment of this invention. 本発明の実施形態によるデータ伝送装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the data transmission apparatus by embodiment of this invention. RTPパケットの構成例及び位相計測情報の構成例を説明する図である。It is a figure explaining the structural example of a RTP packet, and the structural example of phase measurement information. 位相計測情報挿入部及び位相計測情報抽出部を説明するためのメッセージシーケンスチャートを示す図である。It is a figure which shows the message sequence chart for demonstrating a phase measurement information insertion part and a phase measurement information extraction part. 受信パケットα1及び送信パケットβ1の位相計測情報の構成例を説明する図である。It is a figure explaining the structural example of the phase measurement information of reception packet (alpha) 1 and transmission packet (beta) 1. 位相計測情報抽出部の処理例を示すフローチャートである。It is a flowchart which shows the process example of a phase measurement information extraction part. 位相計測情報挿入部の処理例を示すフローチャートである。It is a flowchart which shows the process example of a phase measurement information insertion part. 応答待機時間を用いた場合のメッセージシーケンスチャートを示す図である。It is a figure which shows the message sequence chart at the time of using response waiting time. 受信パケットα2及び送信パケットβ2の位相計測情報の構成例を説明する図である。It is a figure explaining the structural example of the phase measurement information of reception packet (alpha) 2 and transmission packet (beta) 2. 応答待機時間を用いた場合の位相計測情報挿入部の処理例を示すフローチャートである。It is a flowchart which shows the process example of the phase measurement information insertion part at the time of using response waiting time. アダプティブ・クロック・リカバリによりクロック同期を実現する従来のデータ伝送装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional data transmission apparatus which implement | achieves clock synchronization by adaptive clock recovery. NTPのメッセージシーケンスチャートを示す図である。It is a figure which shows the message sequence chart of NTP.

以下、本発明を実施するための形態について図面を用いて詳細に説明する。本発明は、データ伝送装置において、データを伝送するパケットに、クロック位相差を計測するための時刻情報を多重することを特徴とする。   Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. The present invention is characterized in that, in a data transmission apparatus, time information for measuring a clock phase difference is multiplexed in a packet for transmitting data.

これにより、データの伝送処理及び時刻情報の伝送処理を実現する2種類のプロトコルの処理機能を実装する必要がないから、回路規模を小さくすることができる。つまり、クロック位相差の計測を小規模の回路にて実現することができる。また、これらのパケットの送信タイミングが重なることがないから、これに伴うPDVの増加がなく、クロック位相差の計測精度を高めることができる。   As a result, it is not necessary to implement processing functions of two types of protocols for realizing data transmission processing and time information transmission processing, so that the circuit scale can be reduced. That is, the measurement of the clock phase difference can be realized with a small circuit. In addition, since the transmission timings of these packets do not overlap, there is no increase in PDV accompanying this, and the measurement accuracy of the clock phase difference can be improved.

以下、2台のデータ伝送装置がIPネットワークを介して接続される伝送システムを例として、本発明の実施形態によるデータ伝送装置について説明する。この伝送システムは、第1のデータ伝送装置から第2のデータ伝送装置へリアルタイムデータを伝送し、これとは逆の向きに、第2のデータ伝送装置から第1のデータ伝送装置へリアルタイムデータを伝送する。   Hereinafter, a data transmission apparatus according to an embodiment of the present invention will be described using a transmission system in which two data transmission apparatuses are connected via an IP network as an example. The transmission system transmits real-time data from the first data transmission apparatus to the second data transmission apparatus, and transmits real-time data from the second data transmission apparatus to the first data transmission apparatus in the opposite direction. To transmit.

〔システム構成〕
まず、本発明の実施形態によるデータ伝送装置を含む伝送システムについて説明する。図1は、伝送システムの全体構成例を示す概略図である。この伝送システムは、2台のデータ伝送装置1,2を備えて構成され、データ伝送装置1,2は、IPネットワーク3を介して接続される。
〔System configuration〕
First, a transmission system including a data transmission apparatus according to an embodiment of the present invention will be described. FIG. 1 is a schematic diagram illustrating an example of the overall configuration of a transmission system. The transmission system includes two data transmission apparatuses 1 and 2, and the data transmission apparatuses 1 and 2 are connected via an IP network 3.

データ伝送装置1,2は、マスターモードまたはスレーブモードで動作する。図1の例では、データ伝送装置1がマスターモードで動作し、データ伝送装置2がスレーブモードで動作する。スレーブモードで動作するデータ伝送装置2は、マスターモードで動作するデータ伝送装置1に入力されたクロック、またはデータ伝送装置1の内部で生成されたクロックに同期したクロックを生成して出力する。   The data transmission apparatuses 1 and 2 operate in a master mode or a slave mode. In the example of FIG. 1, the data transmission device 1 operates in the master mode, and the data transmission device 2 operates in the slave mode. The data transmission device 2 that operates in the slave mode generates and outputs a clock that is synchronized with a clock that is input to the data transmission device 1 that operates in the master mode or a clock that is generated inside the data transmission device 1.

データ伝送装置1は、クロックに対応付けられたリアルタイムデータaを入力すると共に、クロックを入力する。そして、データ伝送装置1は、リアルタイムデータa及びクロック情報を格納したIPパケットを作成し、IPパケットを、IPネットワーク3を介してデータ伝送装置2へ送信する。   The data transmission apparatus 1 inputs real-time data a associated with a clock and inputs a clock. Then, the data transmission device 1 creates an IP packet storing the real-time data a and clock information, and transmits the IP packet to the data transmission device 2 via the IP network 3.

データ伝送装置2は、データ伝送装置1から送信されたIPパケットを、IPネットワーク3を介して受信し、IPパケットからリアルタイムデータa及びクロック情報を抽出する。そして、データ伝送装置2は、クロック情報に基づいてクロックを生成し、リアルタイムデータa及びクロックを出力する。   The data transmission device 2 receives the IP packet transmitted from the data transmission device 1 via the IP network 3, and extracts real-time data a and clock information from the IP packet. Then, the data transmission device 2 generates a clock based on the clock information, and outputs the real time data a and the clock.

また、データ伝送装置2は、当該データ伝送装置2が出力したクロックに対応付けられたリアルタイムデータbを入力し、リアルタイムデータbを格納したIPパケットを作成し、IPパケットを、IPネットワーク3を介してデータ伝送装置1へ送信する。   Further, the data transmission device 2 receives the real-time data b associated with the clock output from the data transmission device 2, creates an IP packet storing the real-time data b, and transmits the IP packet via the IP network 3. To the data transmission device 1.

データ伝送装置1は、データ伝送装置2から送信されたIPパケットを、IPネットワーク3を介して受信し、IPパケットからリアルタイムデータbを抽出する。そして、データ伝送装置1は、リアルタイムデータbを出力する。   The data transmission apparatus 1 receives the IP packet transmitted from the data transmission apparatus 2 via the IP network 3, and extracts real-time data b from the IP packet. Then, the data transmission device 1 outputs real time data b.

これにより、データ伝送装置1に入力されたクロックに関する時刻情報であるクロック情報がデータ伝送装置2へ伝送され、データ伝送装置2において、データ伝送装置1のクロックに同期したクロックが生成される。そして、リアルタイムデータa,bは、同期したデータとして送受信される。   As a result, clock information, which is time information related to the clock input to the data transmission device 1, is transmitted to the data transmission device 2, and a clock synchronized with the clock of the data transmission device 1 is generated in the data transmission device 2. The real-time data a and b are transmitted and received as synchronized data.

〔データ伝送装置〕
次に、図1に示したデータ伝送装置1,2について詳細に説明する。図2は、データ伝送装置1,2の構成例を示すブロック図である。このデータ伝送装置1,2は、RTPパケット作成部10、バッファ部11、位相計測情報挿入(格納)部12、パケット送信部13、ネットワークインターフェース14、パケット受信部15、位相計測情報抽出部16、バッファ部17、リアルタイムデータ抽出部18、クロック位相計測部19及びローカルクロック制御部20を備えている。
[Data transmission equipment]
Next, the data transmission apparatuses 1 and 2 shown in FIG. 1 will be described in detail. FIG. 2 is a block diagram illustrating a configuration example of the data transmission apparatuses 1 and 2. The data transmission apparatuses 1 and 2 include an RTP packet creation unit 10, a buffer unit 11, a phase measurement information insertion (storage) unit 12, a packet transmission unit 13, a network interface 14, a packet reception unit 15, a phase measurement information extraction unit 16, A buffer unit 17, a real-time data extraction unit 18, a clock phase measurement unit 19, and a local clock control unit 20 are provided.

前述したとおり、データ伝送装置1はマスターモードとして動作し、データ伝送装置2はスレーブモードとして動作する。前述のとおり、マスターモードとスレーブモードとの違いは、マスターモードのクロックを基準として、当該クロックに、スレーブモードのクロックを同期させる点にある。つまり、スレーブモードで動作するデータ伝送装置2は、マスターモードで動作するデータ伝送装置1が使用するクロックと同期したクロックを生成し、当該クロックを使用する。   As described above, the data transmission device 1 operates in the master mode, and the data transmission device 2 operates in the slave mode. As described above, the difference between the master mode and the slave mode is that the clock of the slave mode is synchronized with the clock on the basis of the clock of the master mode. That is, the data transmission device 2 operating in the slave mode generates a clock that is synchronized with the clock used by the data transmission device 1 operating in the master mode, and uses the clock.

図2において、データ伝送装置1,2の違いは、ローカルクロック制御部20の処理にある。データ伝送装置1に備えたローカルクロック制御部20は、入力したクロックまたは内部で生成したクロックをローカルクロックとして使用する。これに対し、データ伝送装置2に備えたローカルクロック制御部20は、データ伝送装置1,2間のクロック位相差に基づいて、データ伝送装置1のローカルクロックに同期したクロックを生成し、これをローカルクロックとして使用する。ローカルクロック制御部20以外の構成部は、データ伝送装置1,2間で同じ処理を行う。   In FIG. 2, the difference between the data transmission apparatuses 1 and 2 is in the processing of the local clock control unit 20. The local clock control unit 20 provided in the data transmission apparatus 1 uses an input clock or an internally generated clock as a local clock. On the other hand, the local clock control unit 20 provided in the data transmission device 2 generates a clock synchronized with the local clock of the data transmission device 1 based on the clock phase difference between the data transmission devices 1 and 2, Used as a local clock. The components other than the local clock controller 20 perform the same processing between the data transmission apparatuses 1 and 2.

RTPパケット作成部10は、ローカルクロック制御部20が入力するクロックに対応付けられた送信対象のリアルタイムデータを入力し、リアルタイムデータを格納したRTPパケットを作成し、RTPパケットをバッファ部11に格納する。   The RTP packet creation unit 10 inputs real-time data to be transmitted associated with the clock input by the local clock control unit 20, creates an RTP packet storing the real-time data, and stores the RTP packet in the buffer unit 11. .

バッファ部11は、先入れ先出し(FIFO(First In First Out))バッファであり、RTPパケットがIPネットワーク3へ送信可能となるまでの間、RTPパケットを保持する。   The buffer unit 11 is a first-in first-out (FIFO) buffer, and holds the RTP packet until the RTP packet can be transmitted to the IP network 3.

位相計測情報挿入部12は、位相計測情報抽出部16から応答時刻及び応答パケット受信時刻を入力する。応答時刻は、対向するデータ伝送装置1,2から受信した位相計測情報に含まれていた応答時刻、すなわち、対向するデータ伝送装置1,2が位相計測情報を含むRTPパケットを送信する際の送信時点に関する時刻である。また、応答パケット受信時刻は、RTPパケットがパケット受信部15または位相計測情報抽出部16に到着した時刻、すなわち、対向するデータ伝送装置1,2から位相計測情報を含むRTPパケットを受信する際の受信時点に関する時刻である。   The phase measurement information insertion unit 12 inputs the response time and the response packet reception time from the phase measurement information extraction unit 16. The response time is the response time included in the phase measurement information received from the opposing data transmission devices 1 and 2, that is, transmission when the opposing data transmission devices 1 and 2 transmit the RTP packet including the phase measurement information. It is the time related to the time. The response packet reception time is the time when the RTP packet arrives at the packet receiver 15 or the phase measurement information extraction unit 16, that is, when the RTP packet including the phase measurement information is received from the opposing data transmission devices 1 and 2. This is the time related to the reception time.

位相計測情報挿入部12は、RTPパケットがIPネットワーク3へ送信可能となるまでの間待機し、送信可能であることを示す送信可能通知をパケット送信部13から入力する。位相計測情報挿入部12は、送信可能通知を入力すると、当該時点(送信可能となった時点)のクロック(ローカルクロック制御部20により出力されたローカルクロック)の位相が計測された応答時刻を記録(設定)する。この応答時刻は、当該データ伝送装置1,2が位相計測情報を含むRTPパケットを送信する際の送信時点に関する時刻である。クロックの位相は、クロック位相計測部19にて、バイナリーカウンタをローカルクロックにてカウントアップすることで計測される。   The phase measurement information insertion unit 12 waits until the RTP packet can be transmitted to the IP network 3, and inputs a transmission enable notification indicating that transmission is possible from the packet transmission unit 13. When the phase measurement information insertion unit 12 receives a transmission enable notification, the phase measurement information insertion unit 12 records the response time when the phase of the clock (local clock output by the local clock control unit 20) at that time (when transmission is possible) is measured. (Set). This response time is a time relating to a transmission time when the data transmission apparatuses 1 and 2 transmit an RTP packet including phase measurement information. The clock phase is measured by the clock phase measuring unit 19 by counting up the binary counter with the local clock.

位相計測情報挿入部12は、位相計測情報抽出部16から入力した応答時刻及び応答パケット受信時刻をそれぞれ照会時刻及び照会パケット受信時刻とする。そして、位相計測情報挿入部12は、照会時刻、照会パケット受信時刻、及び当該位相計測情報挿入部12にて記録した応答時刻からなる位相計測情報を生成する。   The phase measurement information insertion unit 12 sets the response time and response packet reception time input from the phase measurement information extraction unit 16 as an inquiry time and an inquiry packet reception time, respectively. Then, the phase measurement information insertion unit 12 generates phase measurement information including the inquiry time, the inquiry packet reception time, and the response time recorded by the phase measurement information insertion unit 12.

さらに、位相計測情報挿入部12は、バッファ部11からRTPパケットを読み出し、位相計測情報をRTPパケットに挿入し、RTPパケットをパケット送信部13に出力する。位相計測情報挿入部12の詳細については後述する。   Further, the phase measurement information insertion unit 12 reads the RTP packet from the buffer unit 11, inserts the phase measurement information into the RTP packet, and outputs the RTP packet to the packet transmission unit 13. Details of the phase measurement information insertion unit 12 will be described later.

(RTPパケット及び位相計測情報)
図3は、RTPパケットの構成例及び位相計測情報の構成例を説明する図である。RTPパケットは、UDPヘッダ、RTPヘッダ、RTP拡張ヘッダ及びRTPペイロードにより構成される。図3の例は、位相計測情報がRTPパケットのRTP拡張ヘッダに格納される例を示している。
(RTP packet and phase measurement information)
FIG. 3 is a diagram illustrating a configuration example of an RTP packet and a configuration example of phase measurement information. The RTP packet includes a UDP header, an RTP header, an RTP extension header, and an RTP payload. The example of FIG. 3 shows an example in which the phase measurement information is stored in the RTP extension header of the RTP packet.

位相計測情報は、照会時刻、照会パケット受信時刻及び応答時刻により構成される。NTPにおけるoriginal timestamp、receive timestamp及びtransmit timestampの3つの情報が、照会時刻、照会パケット受信時刻及び応答時刻として用いられる。   The phase measurement information includes an inquiry time, an inquiry packet reception time, and a response time. Three pieces of information of original timestamp, receive timestamp, and transmit timestamp in NTP are used as inquiry time, inquiry packet reception time, and response time.

このように、位相計測情報挿入部12は、照会時刻、照会パケット受信時刻及び応答時刻からなる位相計測情報を生成し、位相計測情報を、RTPパケットのRTP拡張ヘッダの領域に格納する。   As described above, the phase measurement information insertion unit 12 generates phase measurement information including the inquiry time, the inquiry packet reception time, and the response time, and stores the phase measurement information in the RTP extension header area of the RTP packet.

尚、位相計測情報挿入部12は、位相計測情報を、RTPパケットにおけるRTPペイロードの先頭の領域に格納するようにしてもよいし、他の領域に格納するようにしてもよい。   Note that the phase measurement information insertion unit 12 may store the phase measurement information in the first area of the RTP payload in the RTP packet or in another area.

ここで、位相計測情報は、RTP拡張ヘッダの領域に格納されるのが好適である。なぜならば、当該データ伝送装置1,2をアダプティブ・クロック・リカバリに基づく従来のデータ伝送装置と接続し、アダプティブ・クロック・リカバリに基づくデータ伝送システムを構成することができるからである。データ伝送装置1,2の送信するRTPパケットには位相計測情報が格納されるが、従来のデータ伝送装置はこの位相計測情報を必要としない。RTPでは、RTP拡張ヘッダを用いた追加機能に対応しない装置は、RTP拡張ヘッダの情報を無視するように規定されている。このため、データ伝送装置1,2をマスター、従来のデータ伝送装置をスレーブとして接続した場合も、従来のデータ伝送装置はRTPパケットに含まれている位相計測情報以外のデータを正常に読み出すことができ、アダプティブ・クロック・リカバリに基づくクロック同期を行うことができる。   Here, the phase measurement information is preferably stored in the area of the RTP extension header. This is because the data transmission devices 1 and 2 can be connected to a conventional data transmission device based on adaptive clock recovery to form a data transmission system based on adaptive clock recovery. The phase measurement information is stored in the RTP packets transmitted by the data transmission apparatuses 1 and 2, but the conventional data transmission apparatus does not need this phase measurement information. In RTP, it is defined that a device that does not support an additional function using an RTP extension header ignores information of the RTP extension header. Therefore, even when the data transmission apparatuses 1 and 2 are connected as a master and the conventional data transmission apparatus is a slave, the conventional data transmission apparatus can normally read data other than the phase measurement information included in the RTP packet. And clock synchronization based on adaptive clock recovery.

さらに、データ伝送装置1,2におけるRTPパケットの拡張ヘッダの領域に位相計測情報が含まれていない場合には、データ伝送装置1,2に、アダプティブ・クロック・リカバリに基づくクロック同期を行う機能を追加する。これにより、従来のデータ伝送装置をマスター、前記アダプティブ・クロック・リカバリに基づくクロック同期機能を追加したデータ伝送装置1,2をスレーブとして接続した場合も、アダプティブ・クロック・リカバリに基づくクロック同期を行うことができる。   Furthermore, when the phase measurement information is not included in the extension header area of the RTP packet in the data transmission apparatuses 1 and 2, the data transmission apparatuses 1 and 2 have a function of performing clock synchronization based on adaptive clock recovery. to add. As a result, even when the conventional data transmission apparatus is connected as a master and the data transmission apparatuses 1 and 2 added with the clock synchronization function based on the adaptive clock recovery are connected as slaves, the clock synchronization based on the adaptive clock recovery is performed. be able to.

図2に戻って、パケット送信部13は、RTPパケットをIPネットワーク3へ送信することが可能であるか否かを監視し、送信可能であると判定すると、送信可能通知を位相計測情報挿入部12に出力する。   Returning to FIG. 2, the packet transmission unit 13 monitors whether or not it is possible to transmit the RTP packet to the IP network 3. 12 is output.

パケット送信部13は、位相計測情報挿入部12からRTPパケットを入力し、RTPパケットにIPヘッダ及びMACヘッダ等を付加し、対向するデータ伝送装置1,2宛のIPパケットを作成する。そして、パケット送信部13は、作成したIPパケットの送信信号をネットワークインターフェース14に出力する。   The packet transmission unit 13 receives the RTP packet from the phase measurement information insertion unit 12, adds an IP header and a MAC header to the RTP packet, and creates an IP packet addressed to the opposing data transmission apparatuses 1 and 2. Then, the packet transmitter 13 outputs the created IP packet transmission signal to the network interface 14.

ネットワークインターフェース14は、パケット送信部13から送信信号を入力し、送信信号を、IPネットワーク3を介して対向するデータ伝送装置1,2へ送信する。また、ネットワークインターフェース14は、対向するデータ伝送装置1,2から送信された信号を、IPネットワーク3を介して受信し、受信信号をパケット受信部15に出力する。   The network interface 14 receives a transmission signal from the packet transmission unit 13 and transmits the transmission signal to the opposing data transmission apparatuses 1 and 2 via the IP network 3. The network interface 14 receives signals transmitted from the opposing data transmission apparatuses 1 and 2 via the IP network 3 and outputs the received signals to the packet receiving unit 15.

パケット受信部15は、ネットワークインターフェース14から受信信号を入力し、受信信号のIPパケットからRTPパケットを抽出し、RTPパケットを位相計測情報抽出部16に出力する。RTPパケットには、対向するデータ伝送装置1,2により生成された位相計測情報、及びリアルタイムデータが含まれている。   The packet receiver 15 receives a received signal from the network interface 14, extracts an RTP packet from the IP packet of the received signal, and outputs the RTP packet to the phase measurement information extractor 16. The RTP packet includes phase measurement information generated by the opposing data transmission apparatuses 1 and 2 and real-time data.

位相計測情報抽出部16は、パケット受信部15からRTPパケットを入力すると、当該時点のクロック(ローカルクロック制御部20により出力されたローカルクロック)の位相が計測された応答パケット受信時刻を記録する。尚、位相計測情報抽出部16は、パケット受信部15が受信信号を入力した時点について、当該時点のクロックの位相が計測された応答パケット受信時刻を記録するようにしてもよい。応答パケット受信時刻は、対向するデータ伝送装置1,2から位相計測情報を受信した時刻を示す。クロックの位相は、クロック位相計測部19にて、バイナリーカウンタをローカルクロックにてカウントアップすることで計測される。   When the RTP packet is input from the packet receiver 15, the phase measurement information extraction unit 16 records the response packet reception time when the phase of the clock at that time (the local clock output by the local clock controller 20) is measured. Note that the phase measurement information extraction unit 16 may record the response packet reception time when the phase of the clock at the time is measured at the time when the packet reception unit 15 inputs the reception signal. The response packet reception time indicates the time when the phase measurement information is received from the opposing data transmission apparatuses 1 and 2. The clock phase is measured by the clock phase measuring unit 19 by counting up the binary counter with the local clock.

位相計測情報抽出部16は、RTPパケットから位相計測情報を抽出し、位相計測情報から応答時刻を抽出する。そして、位相計測情報抽出部16は、抽出した応答時刻及び記録した応答パケット受信時刻を位相計測情報挿入部12に出力すると共に、抽出した位相計測情報及び記録した応答パケット受信時刻をクロック位相計測部19に出力する。また、位相計測情報抽出部16は、RTPパケットをバッファ部17に格納する。位相計測情報抽出部16の詳細については後述する。   The phase measurement information extraction unit 16 extracts phase measurement information from the RTP packet and extracts a response time from the phase measurement information. Then, the phase measurement information extraction unit 16 outputs the extracted response time and the recorded response packet reception time to the phase measurement information insertion unit 12, and outputs the extracted phase measurement information and the recorded response packet reception time to the clock phase measurement unit. 19 output. Further, the phase measurement information extraction unit 16 stores the RTP packet in the buffer unit 17. Details of the phase measurement information extraction unit 16 will be described later.

尚、RTPパケットには、リアルタイムデータを抽出するために必要な情報に加え、リアルタイムデータを抽出するために必要でない情報も含まれている。位相計測情報抽出部16は、リアルタイムデータを抽出するために必要でない位相計測情報等の各種情報を削除した後のRTPパケットを、バッファ部17に格納するようにしてもよい。   The RTP packet includes information that is not necessary for extracting real-time data in addition to information necessary for extracting real-time data. The phase measurement information extraction unit 16 may store the RTP packet after deleting various information such as phase measurement information that is not necessary for extracting real-time data in the buffer unit 17.

バッファ部17は、バッファ部11と同様に、先入れ先出しバッファであり、リアルタイムデータ抽出部18によりRTPパケットからリアルタイムデータの抽出が必要となるまでの間、RTPパケットを保持する。   Like the buffer unit 11, the buffer unit 17 is a first-in first-out buffer, and holds the RTP packet until the real-time data extraction unit 18 needs to extract real-time data from the RTP packet.

リアルタイムデータ抽出部18は、バッファ部17からRTPパケットを読み出し、ローカルクロック制御部20により出力されたローカルクロックのタイミングにて、RTPパケットからリアルタイムデータを抽出し、リアルタイムデータを出力する。   The real-time data extraction unit 18 reads the RTP packet from the buffer unit 17, extracts real-time data from the RTP packet at the local clock timing output by the local clock control unit 20, and outputs the real-time data.

クロック位相計測部19は、位相計測情報抽出部16から位相計測情報及び応答パケット受信時刻を入力し、位相計測情報から照会時刻、照会パケット受信時刻及び応答時刻を抽出する。そして、クロック位相計測部19は、照会時刻、照会パケット受信時刻、応答時刻及び応答パケット受信時刻に基づいて、当該データ伝送装置1,2のクロックと対向するデータ伝送装置1,2のクロックとの間のクロック位相差を計測する。クロック位相差は、図12にて説明した処理と同様に、これら4つの時刻情報に基づいて計測することができる。クロック位相計測部19は、クロック位相差をローカルクロック制御部20に出力する。   The clock phase measurement unit 19 inputs the phase measurement information and the response packet reception time from the phase measurement information extraction unit 16, and extracts the inquiry time, the inquiry packet reception time, and the response time from the phase measurement information. Then, the clock phase measuring unit 19 calculates the clock of the data transmission apparatuses 1 and 2 opposite to the clock of the data transmission apparatuses 1 and 2 based on the inquiry time, the inquiry packet reception time, the response time, and the response packet reception time. Measure the clock phase difference between them. The clock phase difference can be measured based on these four pieces of time information, similarly to the processing described with reference to FIG. The clock phase measurement unit 19 outputs the clock phase difference to the local clock control unit 20.

クロック位相計測部19は、ローカルクロック制御部20からローカルクロックを入力し、バイナリーカウンタをローカルクロックにてカウントアップすることで、クロックの位相を計測する。これにより、位相計測情報挿入部12にて、送信可能通知が入力された時点のクロックの位相が応答時刻として記録され、位相計測情報に設定される。また、位相計測情報抽出部16にて、RTPパケットが入力された時点のクロックの位相が応答パケット受信時刻として記録される。   The clock phase measuring unit 19 inputs the local clock from the local clock control unit 20 and counts up the binary counter with the local clock, thereby measuring the clock phase. As a result, the phase measurement information insertion unit 12 records the phase of the clock at the time when the transmission enable notification is input as the response time and sets it as the phase measurement information. In addition, the phase measurement information extraction unit 16 records the phase of the clock when the RTP packet is input as the response packet reception time.

ローカルクロック制御部20は、クロックを入力すると共に、クロック位相計測部19からクロック位相差を入力し、ローカルクロックを生成し、ローカルクロックをクロック位相計測部19に出力する。また、ローカルクロック制御部20は、ローカルクロックをクロックとして外部に出力する。   The local clock control unit 20 inputs a clock, inputs a clock phase difference from the clock phase measurement unit 19, generates a local clock, and outputs the local clock to the clock phase measurement unit 19. The local clock control unit 20 outputs the local clock as a clock.

具体的には、マスターモードで動作するデータ伝送装置1に備えたローカルクロック制御部20は、入力したクロックまたは内部で生成したクロックを、ローカルクロックとして使用する。   Specifically, the local clock control unit 20 provided in the data transmission apparatus 1 operating in the master mode uses an input clock or an internally generated clock as a local clock.

一方、スレーブモードで動作するデータ伝送装置2に備えたローカルクロック制御部20は、クロック位相計測部19から入力したクロック位相差に基づいて、PLL(Phase Locked Loop:位相同期回路)を制御し、ローカルクロックを生成する。生成したローカルクロックは、マスターモードで動作するデータ伝送装置1のクロックに同期したクロックとなる。   On the other hand, the local clock control unit 20 provided in the data transmission device 2 operating in the slave mode controls a PLL (Phase Locked Loop) based on the clock phase difference input from the clock phase measurement unit 19, Generate a local clock. The generated local clock is a clock synchronized with the clock of the data transmission device 1 operating in the master mode.

尚、スレーブモードで動作するデータ伝送装置2に備えたローカルクロック制御部20は、入力したクロックに、クロック位相計測部19から入力したクロック位相差に相当する位相を加算することで、ローカルクロックを生成するようにしてもよい。   Note that the local clock control unit 20 included in the data transmission device 2 operating in the slave mode adds the phase corresponding to the clock phase difference input from the clock phase measurement unit 19 to the input clock, thereby generating the local clock. You may make it produce | generate.

〔位相計測情報抽出部16〕
次に、図2に示した位相計測情報抽出部16について詳細に説明する。図4は、位相計測情報挿入部12及び位相計測情報抽出部16を説明するためのメッセージシーケンスチャートを示す図であり、図5は、受信パケットα1及び送信パケットβ1の位相計測情報の構成例を説明する図である。図6は、位相計測情報抽出部16の処理例を示すフローチャートである。これは、図3に示したとおり、位相計測情報が照会時刻、照会パケット受信時刻及び応答時刻により構成される場合の例である。
[Phase measurement information extraction unit 16]
Next, the phase measurement information extraction unit 16 shown in FIG. 2 will be described in detail. 4 is a diagram showing a message sequence chart for explaining the phase measurement information insertion unit 12 and the phase measurement information extraction unit 16, and FIG. 5 shows a configuration example of the phase measurement information of the reception packet α1 and the transmission packet β1. It is a figure explaining. FIG. 6 is a flowchart illustrating a processing example of the phase measurement information extraction unit 16. This is an example of the case where the phase measurement information is composed of the inquiry time, the inquiry packet reception time, and the response time, as shown in FIG.

データ伝送装置1は、対向するデータ伝送装置2から、照会時刻、照会パケット受信時刻及び応答時刻c1からなる位相計測情報を含むパケット(図5(1)受信パケットα1を参照)を受信する。受信パケットα1には、リアルタイムデータ及び位相計測情報が格納されている。   The data transmission device 1 receives a packet (see the received packet α1 in FIG. 5 (1)) including phase measurement information including the inquiry time, the inquiry packet reception time, and the response time c1 from the opposing data transmission device 2. Real-time data and phase measurement information are stored in the received packet α1.

データ伝送装置1の位相計測情報抽出部16は、パケット受信部15または当該位相計測情報抽出部16にRTPパケット(受信パケットα1)が到着するまで待機する(ステップS601)。位相計測情報抽出部16は、RTPパケットの到着を検知すると(パケット受信部15からRTPパケットを入力すると)、この時点のクロックの位相を、応答パケット受信時刻として記録する(ステップS602)。   The phase measurement information extraction unit 16 of the data transmission apparatus 1 waits until the RTP packet (reception packet α1) arrives at the packet reception unit 15 or the phase measurement information extraction unit 16 (step S601). When the arrival of the RTP packet is detected (when the RTP packet is input from the packet reception unit 15), the phase measurement information extraction unit 16 records the clock phase at this time as the response packet reception time (step S602).

位相計測情報抽出部16は、受信したRTPパケットから位相計測情報を抽出し、位相計測情報及び応答パケット受信時刻をクロック位相計測部19に出力する(ステップS603)。また、位相計測情報抽出部16は、位相計測情報から応答時刻c1を抽出し、応答時刻c1及び応答パケット受信時刻を位相計測情報挿入部12に出力する(ステップS604)。   The phase measurement information extraction unit 16 extracts the phase measurement information from the received RTP packet, and outputs the phase measurement information and the response packet reception time to the clock phase measurement unit 19 (step S603). Further, the phase measurement information extraction unit 16 extracts the response time c1 from the phase measurement information, and outputs the response time c1 and the response packet reception time to the phase measurement information insertion unit 12 (step S604).

位相計測情報抽出部16は、受信したRTPパケットをバッファ部17に格納する(ステップS605)。   The phase measurement information extraction unit 16 stores the received RTP packet in the buffer unit 17 (step S605).

このように、位相計測情報抽出部16により、受信した位相計測情報に含まれる応答時刻c1、及び受信パケットα1を受信した時刻である応答パケット受信時刻が位相計測情報挿入部12へ出力される。   In this way, the phase measurement information extraction unit 16 outputs the response time c1 included in the received phase measurement information and the response packet reception time that is the time when the received packet α1 is received to the phase measurement information insertion unit 12.

〔位相計測情報挿入部12〕
次に、図2に示した位相計測情報挿入部12について詳細に説明する。図7は、位相計測情報挿入部12の処理例を示すフローチャートである。これは、図3に示したとおり、位相計測情報が照会時刻、照会パケット受信時刻及び応答時刻により構成される場合の例である。
[Phase measurement information insertion unit 12]
Next, the phase measurement information insertion unit 12 shown in FIG. 2 will be described in detail. FIG. 7 is a flowchart illustrating a processing example of the phase measurement information insertion unit 12. This is an example of the case where the phase measurement information is composed of the inquiry time, the inquiry packet reception time, and the response time, as shown in FIG.

位相計測情報挿入部12は、RTPパケットがIPネットワーク3へ送信可能となるまでの間待機する(ステップS701)。位相計測情報挿入部12は、パケット送信部13から送信可能通知を入力し、送信可能であることを検知すると、この時点のクロックの位相を、応答時刻c2として記録する(ステップS702)。   The phase measurement information insertion unit 12 waits until the RTP packet can be transmitted to the IP network 3 (step S701). When the phase measurement information insertion unit 12 receives a transmission ready notification from the packet transmission unit 13 and detects that transmission is possible, the phase measurement information insertion unit 12 records the phase of the clock at this time as the response time c2 (step S702).

位相計測情報挿入部12は、位相計測情報抽出部16から入力した応答時刻c1(受信した位相計測情報に含まれる応答時刻c1)を照会時刻a2に転記(設定)する(ステップS703)。また、位相計測情報挿入部12は、位相計測情報抽出部16から入力した応答パケット受信時刻を照会パケット受信時刻b2に転記する(ステップS704)。   The phase measurement information insertion unit 12 transfers (sets) the response time c1 (response time c1 included in the received phase measurement information) input from the phase measurement information extraction unit 16 to the inquiry time a2 (step S703). Further, the phase measurement information insertion unit 12 transcribes the response packet reception time input from the phase measurement information extraction unit 16 into the inquiry packet reception time b2 (step S704).

位相計測情報挿入部12は、ステップS703にて転記した照会時刻a2、ステップS704にて転記した照会パケット受信時刻b2、及びステップS702にて記録した応答時刻c2からなる位相計測情報を生成する(ステップS705)。   The phase measurement information insertion unit 12 generates phase measurement information including the inquiry time a2 transcribed in step S703, the inquiry packet reception time b2 transcribed in step S704, and the response time c2 recorded in step S702 (step 702). S705).

位相計測情報挿入部12は、バッファ部11から読み出したRTPパケットに位相計測情報を挿入し(ステップS706)、RTPパケットをパケット送信部13に出力する(ステップS707)。   The phase measurement information insertion unit 12 inserts phase measurement information into the RTP packet read from the buffer unit 11 (step S706), and outputs the RTP packet to the packet transmission unit 13 (step S707).

尚、バッファ部11から読み出されたRTPパケットに、ダミーの位相計測情報が格納されている場合には、位相計測情報挿入部12は、ステップS705にて生成した位相計測情報を上書きするようにしてもよい。この場合、RTPパケット作成部10は、ダミーの位相計測情報を生成し、リアルタイムデータ及びダミーの位相計測情報を格納したRTPパケットを生成し、RTPパケットをバッファ部11に格納する。位相計測情報挿入部12は、バッファ部11から読み出したRTPパケットにおけるダミーの位相計測情報に、ステップS705にて生成した位相計測情報を上書きする。   When dummy phase measurement information is stored in the RTP packet read from the buffer unit 11, the phase measurement information insertion unit 12 overwrites the phase measurement information generated in step S705. May be. In this case, the RTP packet creation unit 10 generates dummy phase measurement information, generates an RTP packet storing real-time data and dummy phase measurement information, and stores the RTP packet in the buffer unit 11. The phase measurement information insertion unit 12 overwrites the dummy phase measurement information in the RTP packet read from the buffer unit 11 with the phase measurement information generated in step S705.

データ伝送装置1は、照会時刻a2、照会パケット受信時刻b2及び応答時刻c2からなる位相計測情報を含むパケット(図5(2)送信パケットβ1を参照)を、対向するデータ伝送装置2へ送信する。送信パケットβ1には、リアルタイムデータ及び位相計測情報が格納されている。   The data transmission device 1 transmits a packet including phase measurement information including the inquiry time a2, the inquiry packet reception time b2, and the response time c2 (see the transmission packet β1 in FIG. 5 (2)) to the opposing data transmission device 2. . Real-time data and phase measurement information are stored in the transmission packet β1.

このように、位相計測情報挿入部12により、受信した位相計測情報に含まれる応答時刻c1が照会時刻a2として、パケット(受信パケットα1)を受信した時刻である応答パケット受信時刻が照会パケット受信時刻b2として、また、パケット(送信パケットβ1)が送信可能となった時刻が応答時刻c2として設定される。そして、照会時刻a2、照会パケット受信時刻b2及び応答時刻c2からなる位相計測情報が生成され、リアルタイムデータ及び位相計測情報を含むRTPパケットが生成される。   As described above, the response time c1 included in the received phase measurement information by the phase measurement information insertion unit 12 is the inquiry time a2, and the response packet reception time that is the time when the packet (received packet α1) is received is the inquiry packet reception time. As b2, the time when the packet (transmission packet β1) can be transmitted is set as the response time c2. Then, phase measurement information including inquiry time a2, inquiry packet reception time b2, and response time c2 is generated, and an RTP packet including real-time data and phase measurement information is generated.

以上のように、本発明の実施形態のデータ伝送装置1,2によれば、位相計測情報抽出部16は、対向するデータ伝送装置1,2から信号を受信した時点の応答パケット受信時刻を記録し、RTPパケットから位相計測情報を抽出し、位相計測情報から応答時刻を抽出する。   As described above, according to the data transmission apparatuses 1 and 2 according to the embodiment of the present invention, the phase measurement information extraction unit 16 records the response packet reception time when the signal is received from the opposing data transmission apparatuses 1 and 2. The phase measurement information is extracted from the RTP packet, and the response time is extracted from the phase measurement information.

位相計測情報挿入部12は、RTPパケットが送信可能となった時点の応答時刻を記録し、位相計測情報抽出部16により抽出された応答時刻を照会時刻とし、位相計測情報抽出部16により記録した応答パケット受信時刻を照会パケット受信時刻とする。そして、位相計測情報挿入部12は、照会時刻、照会パケット受信時刻、及び当該位相計測情報挿入部12にて記録した応答時刻からなる位相計測情報を生成し、位相計測情報をRTPパケットに挿入する。   The phase measurement information insertion unit 12 records the response time when the RTP packet can be transmitted, sets the response time extracted by the phase measurement information extraction unit 16 as a reference time, and records it by the phase measurement information extraction unit 16 The response packet reception time is set as the inquiry packet reception time. Then, the phase measurement information insertion unit 12 generates phase measurement information including the inquiry time, the inquiry packet reception time, and the response time recorded by the phase measurement information insertion unit 12, and inserts the phase measurement information into the RTP packet. .

これにより、リアルタイムデータ及び位相計測情報を含むRTPパケットが、対向するデータ伝送装置1,2へ送信される。   Thereby, the RTP packet including real-time data and phase measurement information is transmitted to the opposing data transmission apparatuses 1 and 2.

クロック位相計測部19は、位相計測情報抽出部16により抽出された位相計測情報に含まれる照会時刻、照会パケット受信時刻及び応答時刻、並びに、位相計測情報抽出部16により記録された応答パケット受信時刻に基づいて、クロック位相差を計測する。   The clock phase measurement unit 19 includes an inquiry time, an inquiry packet reception time and a response time included in the phase measurement information extracted by the phase measurement information extraction unit 16, and a response packet reception time recorded by the phase measurement information extraction unit 16. Based on the above, the clock phase difference is measured.

マスターモードで動作するデータ伝送装置1のローカルクロック制御部20は、入力したクロックまたは内部で生成したクロックをローカルクロックとして生成する。一方、スレーブモードで動作するデータ伝送装置2のローカルクロック制御部20は、クロック位相計測部19により計測されたクロック位相差に基づいてPLLを制御し、ローカルクロックを生成する。   The local clock control unit 20 of the data transmission apparatus 1 operating in the master mode generates an input clock or an internally generated clock as a local clock. On the other hand, the local clock control unit 20 of the data transmission apparatus 2 operating in the slave mode controls the PLL based on the clock phase difference measured by the clock phase measurement unit 19 to generate a local clock.

これにより、スレーブモードのローカルクロックは、マスターモードのローカルクロックに同期することとなる。   As a result, the slave mode local clock is synchronized with the master mode local clock.

したがって、リアルタイムデータの伝送処理と、クロック位相差を計測するための時刻情報の伝送処理とを、1種類のプロトコルにて同時に実現することができるから、回路規模を小さくすることができる。つまり、クロック位相差の計測を小規模の回路にて実現することができる。   Therefore, the real-time data transmission process and the time information transmission process for measuring the clock phase difference can be realized simultaneously by one type of protocol, and the circuit scale can be reduced. That is, the measurement of the clock phase difference can be realized with a small circuit.

また、クロック位相差を計測するための時刻情報を伝送するパケットが不要となるから、リアルタイムデータを伝送するパケットと位相オフセットを計測するためのパケットの送信タイミングが重なることがなく、PDVの増加を緩和し、クロック位相差の計測精度を高めることができる。   In addition, since a packet for transmitting time information for measuring the clock phase difference is not necessary, the transmission timing of the packet for measuring the real time data and the packet for measuring the phase offset does not overlap, and the PDV can be increased. The measurement accuracy of the clock phase difference can be improved.

〔応答待機時間を用いる場合の例〕
尚、図3に示した位相計測情報において、照会パケット受信時刻の代わりに、応答待機時間を用いるようにしてもよい。この場合の位相計測情報は、照会時刻、応答待機時間及び応答時刻により構成される。また、この場合のデータ伝送装置1,2は、図2において、位相計測情報挿入部12及びクロック位相計測部19の処理が異なり、その他の構成部の処理は同じである。
[Example of using response waiting time]
In the phase measurement information shown in FIG. 3, a response waiting time may be used instead of the inquiry packet reception time. The phase measurement information in this case is composed of an inquiry time, a response waiting time, and a response time. Further, the data transmission apparatuses 1 and 2 in this case are different in the processing of the phase measurement information insertion unit 12 and the clock phase measurement unit 19 in FIG. 2, and the processing of the other components is the same.

位相計測情報挿入部12は、記録した応答時刻から、位相計測情報抽出部16から入力した応答パケット受信時刻を減算し、応答待機時間を求め、照会時刻、応答待機時間及び応答時刻からなる位相計測情報を生成する。   The phase measurement information insertion unit 12 subtracts the response packet reception time input from the phase measurement information extraction unit 16 from the recorded response time to obtain a response standby time, and a phase measurement consisting of a reference time, a response standby time, and a response time Generate information.

クロック位相計測部19は、位相計測情報抽出部16から入力した位相計測情報に含まれる応答待機時間及び応答時刻を抽出し、応答時刻から応答待機時間を減算し、照会パケット受信時刻を求める。そして、クロック位相計測部19は、位相計測情報に含まれる照会時刻及び応答時刻、当該クロック位相計測部19が求めた照会パケット受信時刻、並びに、位相計測情報抽出部16から入力した応答パケット受信時刻に基づいて、クロック位相差を計測し、クロック位相差をローカルクロック制御部20に出力する。クロック位相計測部19は、バイナリーカウンタをローカルクロックにてカウントアップすることで、クロックの位相を計測する。   The clock phase measuring unit 19 extracts the response waiting time and the response time included in the phase measurement information input from the phase measurement information extracting unit 16, and subtracts the response waiting time from the response time to obtain the inquiry packet reception time. Then, the clock phase measurement unit 19 includes the inquiry time and response time included in the phase measurement information, the inquiry packet reception time obtained by the clock phase measurement unit 19, and the response packet reception time input from the phase measurement information extraction unit 16. , The clock phase difference is measured, and the clock phase difference is output to the local clock control unit 20. The clock phase measurement unit 19 measures the clock phase by counting up the binary counter with the local clock.

以下、位相計測情報が、照会時刻、応答待機時間及び応答時刻により構成される場合において、位相計測情報挿入部12の処理例を詳細に説明する。   Hereinafter, in the case where the phase measurement information is configured by the inquiry time, the response waiting time, and the response time, a processing example of the phase measurement information insertion unit 12 will be described in detail.

図8は、応答待機時間を用いた場合のメッセージシーケンスチャートを示す図であり、図9は、受信パケットα2及び送信パケットβ2の位相計測情報の構成例を説明する図である。図10は、応答待機時間を用いた場合の位相計測情報挿入部12の処理例を示すフローチャートである。   FIG. 8 is a diagram illustrating a message sequence chart when the response waiting time is used, and FIG. 9 is a diagram illustrating a configuration example of the phase measurement information of the reception packet α2 and the transmission packet β2. FIG. 10 is a flowchart illustrating a processing example of the phase measurement information insertion unit 12 when the response waiting time is used.

データ伝送装置1は、対向するデータ伝送装置2から、照会時刻、応答待機時間及び応答時刻c1からなる位相計測情報を含むパケット(図9(1)受信パケットα2を参照)を受信する。受信パケットα2には、リアルタイムデータ及び位相計測情報が格納されている。   The data transmission device 1 receives a packet (see the received packet α2 in FIG. 9 (1)) including phase measurement information including the inquiry time, the response waiting time, and the response time c1 from the opposing data transmission device 2. Real-time data and phase measurement information are stored in the received packet α2.

データ伝送装置1の位相計測情報抽出部16は、パケット受信部15または当該位相計測情報抽出部16にRTPパケットが到着するまで待機する等、図6に示した処理と同じ処理を行う。位相計測情報抽出部16により、受信した位相計測情報に含まれる応答時刻c1、及びパケット(受信パケットα2)を受信した時刻である応答パケット受信時刻が位相計測情報挿入部12へ出力される。   The phase measurement information extraction unit 16 of the data transmission apparatus 1 performs the same processing as the processing illustrated in FIG. 6, such as waiting until an RTP packet arrives at the packet reception unit 15 or the phase measurement information extraction unit 16. The phase measurement information extraction unit 16 outputs to the phase measurement information insertion unit 12 the response time c1 included in the received phase measurement information and the response packet reception time that is the time when the packet (reception packet α2) is received.

位相計測情報挿入部12は、RTPパケットがIPネットワーク3へ送信可能となるまでの間待機する(ステップS1001)。位相計測情報挿入部12は、パケット送信部13から送信可能通知を入力し、送信可能であることを検知すると、この時点のクロックの位相を、応答時刻c2として記録する(ステップS1002)。   The phase measurement information insertion unit 12 waits until the RTP packet can be transmitted to the IP network 3 (step S1001). When the phase measurement information insertion unit 12 receives a transmission enable notification from the packet transmission unit 13 and detects that transmission is possible, the phase measurement information insertion unit 12 records the phase of the clock at this time as the response time c2 (step S1002).

位相計測情報挿入部12は、応答時刻c2から応答パケット受信時刻を減算した結果である応答待機時間d2を記録する(ステップS1003)。すなわち、応答待機時間d2は、応答パケット受信時刻におけるクロックの位相から、応答時刻c2におけるクロックの位相までの位相増加分として記録される。   The phase measurement information insertion unit 12 records the response waiting time d2 that is the result of subtracting the response packet reception time from the response time c2 (step S1003). That is, the response waiting time d2 is recorded as a phase increase from the phase of the clock at the response packet reception time to the phase of the clock at the response time c2.

位相計測情報挿入部12は、位相計測情報抽出部16から入力した応答時刻c1(受信した位相計測情報に含まれる応答時刻c1)を照会時刻a2に転記する(ステップS1004)。   The phase measurement information insertion unit 12 transcribes the response time c1 (response time c1 included in the received phase measurement information) input from the phase measurement information extraction unit 16 to the inquiry time a2 (step S1004).

位相計測情報挿入部12は、ステップS1004にて転記した照会時刻a2、ステップS1003にて記録した応答待機時間d2、及びステップS1002にて記録した応答時刻c2からなる位相計測情報を生成する(ステップS1005)。   The phase measurement information insertion unit 12 generates phase measurement information including the inquiry time a2 transcribed in step S1004, the response waiting time d2 recorded in step S1003, and the response time c2 recorded in step S1002 (step S1005). ).

位相計測情報挿入部12は、バッファ部11から読み出したRTPパケットに位相計測情報を挿入し(ステップS1006)、RTPパケットをパケット送信部13に出力する(ステップS1007)。   The phase measurement information insertion unit 12 inserts phase measurement information into the RTP packet read from the buffer unit 11 (step S1006), and outputs the RTP packet to the packet transmission unit 13 (step S1007).

データ伝送装置1は、照会時刻a2、応答待機時間d2及び応答時刻c2からなる位相計測情報を含むパケット(図9(2)送信パケットβ2を参照)を、対向するデータ伝送装置2へ送信する。送信パケットβ2には、リアルタイムデータ及び位相計測情報が格納されている。   The data transmission device 1 transmits a packet including phase measurement information including the inquiry time a2, the response waiting time d2 and the response time c2 (see (2) transmission packet β2 in FIG. 9) to the opposing data transmission device 2. Real-time data and phase measurement information are stored in the transmission packet β2.

このように、位相計測情報挿入部12により、受信した位相計測情報に含まれる応答時刻c1が照会時刻a2として、パケット(送信パケットβ2)が送信可能となった時刻が応答時刻c2として、また、応答時刻c2から、パケット(受信パケットα2)を受信した時刻である応答パケット受信時刻を減算した結果が応答待機時間d2として設定される。そして、照会時刻a2、応答待機時間d2及び応答時刻c2からなる位相計測情報が生成され、リアルタイムデータ及び位相計測情報を含むRTPパケットが生成される。   As described above, the response time c1 included in the received phase measurement information is set as the inquiry time a2, the time when the packet (transmission packet β2) can be transmitted is set as the response time c2 by the phase measurement information insertion unit 12, and A result obtained by subtracting the response packet reception time, which is the time when the packet (reception packet α2) is received, from the response time c2 is set as the response waiting time d2. And the phase measurement information which consists of inquiry time a2, response waiting time d2, and response time c2 is produced | generated, and the RTP packet containing real-time data and phase measurement information is produced | generated.

以上のように、本発明の実施形態のデータ伝送装置1,2によれば、応答待機時間を用いる場合、位相計測情報挿入部12は、RTPパケットが送信可能となった時点の応答時刻を記録し、この応答時刻から位相計測情報抽出部16により記録された応答パケット受信時刻を減算し、応答待機時間を求める。位相計測情報挿入部12は、位相計測情報抽出部16により抽出された応答時刻を照会時刻とし、当該照会時刻、当該位相計測情報挿入部12にて求めた応答待機時間、及び当該位相計測情報挿入部12にて記録した応答時刻からなる位相計測情報を生成する。そして、位相計測情報挿入部12は、位相計測情報をRTPパケットに挿入する。   As described above, according to the data transmission apparatuses 1 and 2 of the embodiment of the present invention, when using the response waiting time, the phase measurement information insertion unit 12 records the response time when the RTP packet can be transmitted. Then, the response packet reception time recorded by the phase measurement information extraction unit 16 is subtracted from the response time to obtain the response waiting time. The phase measurement information insertion unit 12 uses the response time extracted by the phase measurement information extraction unit 16 as a reference time, the reference time, the response waiting time obtained by the phase measurement information insertion unit 12, and the phase measurement information insertion Phase measurement information including the response time recorded by the unit 12 is generated. Then, the phase measurement information insertion unit 12 inserts the phase measurement information into the RTP packet.

これにより、リアルタイムデータ及び位相計測情報を含むRTPパケットが、対向するデータ伝送装置1,2へ送信される。   Thereby, the RTP packet including real-time data and phase measurement information is transmitted to the opposing data transmission apparatuses 1 and 2.

クロック位相計測部19は、位相計測情報抽出部16により抽出された位相計測情報に含まれる応答時刻から応答待機時間を減算し、照会パケット受信時刻を求める。そして、クロック位相計測部19は、位相計測情報に含まれる照会時刻及び応答時刻、当該クロック位相計測部19にて求めた照会パケット受信時刻、並びに位相計測情報抽出部16により記録された応答パケット受信時刻に基づいて、クロック位相差を計測する。ローカルクロック制御部20は、図2に示した同じ処理にて、ローカルクロックを生成する。   The clock phase measurement unit 19 subtracts the response waiting time from the response time included in the phase measurement information extracted by the phase measurement information extraction unit 16 to obtain the inquiry packet reception time. The clock phase measurement unit 19 receives the inquiry time and response time included in the phase measurement information, the inquiry packet reception time obtained by the clock phase measurement unit 19, and the reception of the response packet recorded by the phase measurement information extraction unit 16. The clock phase difference is measured based on the time. The local clock control unit 20 generates a local clock by the same processing shown in FIG.

これにより、スレーブモードのローカルクロックは、マスターモードのローカルクロックに同期することとなる。   As a result, the slave mode local clock is synchronized with the master mode local clock.

したがって、照会パケット受信時刻を用いる場合と同様に、クロック位相差の計測を小規模の回路にて実現することができ、PDVの増加を緩和して計測精度を高めることが可能となる。また、位相計測情報において、照会パケット受信時刻と応答時刻とが極めて近い時刻であるから、応答待機時間は小さい値となり、位相計測情報を、全体として少ないビット数で伝送することができる。   Therefore, as in the case of using the inquiry packet reception time, measurement of the clock phase difference can be realized with a small circuit, and the measurement accuracy can be improved by reducing the increase in PDV. In the phase measurement information, since the inquiry packet reception time and the response time are very close, the response waiting time becomes a small value, and the phase measurement information can be transmitted with a small number of bits as a whole.

以上、実施形態を挙げて本発明を説明したが、本発明は前記実施形態に限定されるものではなく、その技術思想を逸脱しない範囲で種々変形可能である。例えば前記実施形態では、データ伝送装置1,2は、リアルタイムデータ及び位相計測情報を格納したRTPパケットを伝送するようにしたが、本発明は、RTPパケットに限定するものではなく、他の種類のパケットを伝送するようにしてもよい。   The present invention has been described with reference to the embodiment. However, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the technical idea thereof. For example, in the above embodiment, the data transmission apparatuses 1 and 2 transmit RTP packets storing real-time data and phase measurement information. However, the present invention is not limited to RTP packets, and other types of RTP packets are stored. A packet may be transmitted.

また、図4にて説明したとおり、データ伝送装置2がクロック位相差を計測するために必要な4つの情報は、受信した位相計測情報に含まれる3つの情報(応答時刻c1が転記された照会時刻a2、データ伝送装置1における応答パケット受信時刻が転記された照会パケット受信時刻b2、及び応答時刻c2)、及び、当該データ伝送装置2における応答パケット受信時刻である。   In addition, as described with reference to FIG. 4, the four pieces of information necessary for the data transmission device 2 to measure the clock phase difference are the three pieces of information included in the received phase measurement information (the inquiry to which the response time c1 is transcribed). The time a2, the inquiry packet reception time b2 in which the response packet reception time in the data transmission device 1 is transcribed, and the response time c2), and the response packet reception time in the data transmission device 2.

本発明の実施形態では、データ伝送装置2は、応答時刻c1を含む位相計測情報を送信し、当該応答時刻c1が転記された照会時刻a2を含む位相計測情報を受信する。そして、データ伝送装置2は、受信した位相計測情報から応答時刻c1である照会時刻a2を抽出し、クロック位相差を計測する。これに対し、データ伝送装置2は、応答時刻c1の代わりにRTPパケットのヘッダに含まれるシーケンス番号を用い、シーケンス番号を含む位相計測情報を送信するようにしてもよい。   In the embodiment of the present invention, the data transmission device 2 transmits the phase measurement information including the response time c1 and receives the phase measurement information including the inquiry time a2 to which the response time c1 is transcribed. Then, the data transmission device 2 extracts the inquiry time a2 that is the response time c1 from the received phase measurement information, and measures the clock phase difference. On the other hand, the data transmission device 2 may use the sequence number included in the header of the RTP packet instead of the response time c1 and transmit phase measurement information including the sequence number.

この場合、データ伝送装置2の位相計測情報挿入部12は、RTPパケットに位相計測情報を挿入する際に、RTPパケットからシーケンス番号を抽出し、シーケンス番号を含む位相計測情報を生成する。また、位相計測情報挿入部12は、シーケンス番号と応答時刻c1とを対応付けて、インデックステーブルに格納する。そして、データ伝送装置2は、位相計測情報を送信する。   In this case, when inserting the phase measurement information into the RTP packet, the phase measurement information insertion unit 12 of the data transmission device 2 extracts the sequence number from the RTP packet and generates phase measurement information including the sequence number. In addition, the phase measurement information insertion unit 12 associates the sequence number with the response time c1 and stores them in the index table. Then, the data transmission device 2 transmits phase measurement information.

データ伝送装置1がデータ伝送装置2から位相計測情報を受信すると、データ伝送装置1の位相計測情報抽出部16は、位相計測情報からシーケンス番号を抽出し、位相計測情報挿入部12は、シーケンス番号を照会時刻a2に転記して位相計測情報を生成する。そして、データ伝送装置1は、位相計測情報を送信する。   When the data transmission device 1 receives the phase measurement information from the data transmission device 2, the phase measurement information extraction unit 16 of the data transmission device 1 extracts the sequence number from the phase measurement information, and the phase measurement information insertion unit 12 receives the sequence number. Is transferred at inquiry time a2 to generate phase measurement information. Then, the data transmission device 1 transmits phase measurement information.

データ伝送装置2がデータ伝送装置1から位相計測情報を受信すると、データ伝送装置2の位相計測情報抽出部16は、位相計測情報からシーケンス番号を抽出し、シーケンス番号に対応する応答時刻c1をインデックステーブルから読み出す。これにより、クロック位相計測部19は、前記4つの情報に基づいて、クロック位相差を計測することができる。   When the data transmission device 2 receives the phase measurement information from the data transmission device 1, the phase measurement information extraction unit 16 of the data transmission device 2 extracts the sequence number from the phase measurement information and indexes the response time c1 corresponding to the sequence number. Read from the table. Thereby, the clock phase measuring unit 19 can measure the clock phase difference based on the four pieces of information.

尚、本発明の実施形態によるデータ伝送装置1,2のハードウェア構成としては、通常のコンピュータを使用することができる。データ伝送装置1,2は、CPU、RAM等の揮発性の記憶媒体、ROM等の不揮発性の記憶媒体、及びインターフェース等を備えたコンピュータによって構成される。   Note that a normal computer can be used as the hardware configuration of the data transmission apparatuses 1 and 2 according to the embodiment of the present invention. The data transmission devices 1 and 2 are configured by a computer having a volatile storage medium such as a CPU and a RAM, a nonvolatile storage medium such as a ROM, an interface, and the like.

データ伝送装置1,2に備えたRTPパケット作成部10、バッファ部11、位相計測情報挿入部12、パケット送信部13、ネットワークインターフェース14、パケット受信部15、位相計測情報抽出部16、バッファ部17、リアルタイムデータ抽出部18、クロック位相計測部19及びローカルクロック制御部20の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。   RTP packet creation unit 10, buffer unit 11, phase measurement information insertion unit 12, packet transmission unit 13, network interface 14, packet reception unit 15, phase measurement information extraction unit 16, buffer unit 17 provided in data transmission apparatuses 1 and 2 The functions of the real-time data extraction unit 18, the clock phase measurement unit 19 and the local clock control unit 20 are realized by causing the CPU to execute a program describing these functions.

これらのプログラムは、前記記憶媒体に格納されており、CPUに読み出されて実行される。また、これらのプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記憶媒体に格納して頒布することもでき、ネットワークを介して送受信することもできる。   These programs are stored in the storage medium and read out and executed by the CPU. These programs can also be stored and distributed in a storage medium such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), optical disk (CD-ROM, DVD, etc.), semiconductor memory, etc. You can also send and receive.

1,2,100 データ伝送装置
3,101 IPネットワーク
10 RTPパケット作成部
11,17,103 バッファ部
12 位相計測情報挿入(格納)部
13 パケット送信部
14 ネットワークインターフェース
15,102 パケット受信部
16 位相計測情報抽出部
18,105 リアルタイムデータ抽出部
19 クロック位相計測部
20,104 ローカルクロック制御部
1, 2, 100 Data transmission device 3, 101 IP network 10 RTP packet creation unit 11, 17, 103 Buffer unit 12 Phase measurement information insertion (storage) unit 13 Packet transmission unit 14 Network interface 15, 102 Packet reception unit 16 Phase measurement Information extraction unit 18, 105 Real-time data extraction unit 19 Clock phase measurement unit 20, 104 Local clock control unit

Claims (7)

クロックに対応付けられたデータを含むパケットを、ネットワークを介して伝送するデータ伝送装置において、
前記クロックに基づいて、前記パケットの送受信時点に関する時刻情報を、当該データ伝送装置と前記ネットワークに接続された他のデータ伝送装置との間のクロック位相差を計測するための位相計測情報として生成し、前記位相計測情報をパケットに格納し、前記データ及び前記位相計測情報を含むパケットを生成する位相計測情報格納部と、
前記位相計測情報格納部により生成された前記パケットを、前記他のデータ伝送装置へ送信するパケット送信部と、
前記他のデータ伝送装置から送信されたパケットを受信するパケット受信部と、
前記パケット受信部により受信された前記パケットから他の位相計測情報を抽出する位相計測情報抽出部と、
前記位相計測情報抽出部により抽出された前記他の位相計測情報に含まれる、前記他のデータ伝送装置における送受信時点に関する時刻情報、及び当該データ伝送装置における送受信時点に関する時刻情報に基づいて、前記クロック位相差を計測するクロック位相計測部と、
前記クロック位相計測部により計測された前記クロック位相差に基づいて、前記クロックを制御するクロック制御部と、
を備えたことを特徴とするデータ伝送装置。
In a data transmission device that transmits a packet including data associated with a clock via a network,
Based on the clock, time information related to the transmission / reception time of the packet is generated as phase measurement information for measuring a clock phase difference between the data transmission apparatus and another data transmission apparatus connected to the network. A phase measurement information storage unit for storing the phase measurement information in a packet and generating a packet including the data and the phase measurement information;
A packet transmission unit that transmits the packet generated by the phase measurement information storage unit to the other data transmission device;
A packet receiver for receiving a packet transmitted from the other data transmission device;
A phase measurement information extraction unit that extracts other phase measurement information from the packet received by the packet reception unit;
Based on the time information related to the transmission / reception time in the other data transmission device and the time information related to the transmission / reception time in the data transmission device included in the other phase measurement information extracted by the phase measurement information extraction unit A clock phase measurement unit for measuring the phase difference;
A clock control unit for controlling the clock based on the clock phase difference measured by the clock phase measurement unit;
A data transmission device comprising:
請求項1に記載のデータ伝送装置において、
前記位相計測情報格納部により生成される前記位相計測情報は、
前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す照会時刻、前記パケット受信部により前記パケットが受信された時点を示す照会パケット受信時刻、及び、前記パケット送信部により前記パケットが送信可能となった時点を示す応答時刻により構成される、ことを特徴とするデータ伝送装置。
The data transmission device according to claim 1,
The phase measurement information generated by the phase measurement information storage unit is
An inquiry time indicating when the packet can be transmitted by the other data transmission device, an inquiry packet reception time indicating a time when the packet is received by the packet receiver, and the packet by the packet transmitter A data transmission device comprising a response time indicating a point in time at which transmission becomes possible.
請求項2に記載のデータ伝送装置において、
前記パケット受信部は、
前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す他の応答時刻を含む前記他の位相計測情報が格納された前記パケットを受信し、
前記位相計測情報抽出部は、
前記クロックに基づいて、前記パケット受信部により前記パケットが受信された時点を、応答パケット受信時刻として設定し、前記パケット受信部により受信された前記パケットから前記他の位相計測情報を抽出し、前記他の位相計測情報から前記他の応答時刻を抽出し、
前記位相計測情報格納部は、
前記クロックに基づいて、前記パケット送信部により前記パケットが送信可能となった時点を前記応答時刻として設定し、前記位相計測情報抽出部により抽出された前記他の応答時刻を前記照会時刻として設定し、前記位相計測情報抽出部により設定された前記応答パケット受信時刻を前記照会パケット受信時刻として設定し、前記照会時刻、前記照会パケット受信時刻及び前記応答時刻からなる前記位相計測情報を生成し、前記位相計測情報をパケットに格納し、前記データ及び前記位相計測情報を含むパケットを生成する、ことを特徴とするデータ伝送装置。
The data transmission device according to claim 2,
The packet receiver
Receiving the packet storing the other phase measurement information including another response time indicating the time when the packet can be transmitted by the other data transmission device;
The phase measurement information extraction unit
Based on the clock, the time when the packet is received by the packet receiver is set as a response packet reception time, and the other phase measurement information is extracted from the packet received by the packet receiver, The other response time is extracted from other phase measurement information,
The phase measurement information storage unit
Based on the clock, the time when the packet can be transmitted by the packet transmission unit is set as the response time, and the other response time extracted by the phase measurement information extraction unit is set as the inquiry time. The response packet reception time set by the phase measurement information extraction unit is set as the inquiry packet reception time, and the phase measurement information including the inquiry time, the inquiry packet reception time, and the response time is generated, A data transmission apparatus characterized by storing phase measurement information in a packet and generating a packet including the data and the phase measurement information.
請求項1に記載のデータ伝送装置において、
前記位相計測情報格納部により生成される前記位相計測情報は、
前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す照会時刻、前記パケット送信部により前記パケットが送信可能となった時点を示す応答時刻から前記パケット受信部により前記パケットが受信された時点を示す応答パケット受信時刻を減算して得られた応答待機時間、及び、前記応答時刻により構成される、ことを特徴とするデータ伝送装置。
The data transmission device according to claim 1,
The phase measurement information generated by the phase measurement information storage unit is
The packet receiving unit receives the packet from the inquiry time indicating when the other data transmission device can transmit the packet, and the response time indicating when the packet transmitting unit can transmit the packet. A data transmission apparatus comprising: a response waiting time obtained by subtracting a response packet reception time indicating the received time, and the response time.
請求項4に記載のデータ伝送装置において、
前記パケット受信部は、
前記他のデータ伝送装置にて前記パケットが送信可能となった時点を示す他の応答時刻を含む前記他の位相計測情報が格納された前記パケットを受信し、
前記位相計測情報抽出部は、
前記クロックに基づいて、前記パケット受信部により前記パケットが受信された時点を、応答パケット受信時刻として設定し、前記パケット受信部により受信された前記パケットから前記他の位相計測情報を抽出し、前記他の位相計測情報から前記他の応答時刻を抽出し、
前記位相計測情報格納部は、
前記クロックに基づいて、前記パケット送信部により前記パケットが送信可能となった時点を前記応答時刻として設定し、前記応答時刻から前記位相計測情報抽出部により設定された前記応答パケット受信時刻を減算し、その結果を前記応答待機時間として設定し、前記位相計測情報抽出部により抽出された前記他の応答時刻を前記照会時刻として設定し、前記照会時刻、前記応答待機時間及び前記応答時刻からなる前記位相計測情報を生成し、前記位相計測情報をパケットに格納し、前記データ及び前記位相計測情報を含むパケットを生成する、ことを特徴とするデータ伝送装置。
The data transmission apparatus according to claim 4, wherein
The packet receiver
Receiving the packet storing the other phase measurement information including another response time indicating the time when the packet can be transmitted by the other data transmission device;
The phase measurement information extraction unit
Based on the clock, the time when the packet is received by the packet receiver is set as a response packet reception time, and the other phase measurement information is extracted from the packet received by the packet receiver, The other response time is extracted from other phase measurement information,
The phase measurement information storage unit
Based on the clock, the time when the packet can be transmitted by the packet transmission unit is set as the response time, and the response packet reception time set by the phase measurement information extraction unit is subtracted from the response time. The result is set as the response waiting time, the other response time extracted by the phase measurement information extraction unit is set as the inquiry time, and the inquiry time, the response waiting time, and the response time are included. A data transmission device that generates phase measurement information, stores the phase measurement information in a packet, and generates a packet including the data and the phase measurement information.
請求項1から5までのいずれか一項に記載のデータ伝送装置において、
前記位相計測情報格納部は、
前記位相計測情報をRTPパケットのRTP拡張ヘッダに格納し、前記データ及び前記位相計測情報を含むRTPパケットを生成する、ことを特徴とするデータ伝送装置。
In the data transmission device according to any one of claims 1 to 5,
The phase measurement information storage unit
A data transmission apparatus, wherein the phase measurement information is stored in an RTP extension header of an RTP packet, and an RTP packet including the data and the phase measurement information is generated.
コンピュータを、請求項1から6までのいずれか一項に記載のデータ伝送装置として機能させるためのプログラム。   The program for functioning a computer as a data transmission apparatus as described in any one of Claim 1-6.
JP2017017767A 2017-02-02 2017-02-02 Data transmission equipment and programs Active JP6879750B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017017767A JP6879750B2 (en) 2017-02-02 2017-02-02 Data transmission equipment and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017017767A JP6879750B2 (en) 2017-02-02 2017-02-02 Data transmission equipment and programs

Publications (2)

Publication Number Publication Date
JP2018125768A true JP2018125768A (en) 2018-08-09
JP6879750B2 JP6879750B2 (en) 2021-06-02

Family

ID=63110473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017017767A Active JP6879750B2 (en) 2017-02-02 2017-02-02 Data transmission equipment and programs

Country Status (1)

Country Link
JP (1) JP6879750B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020075235A1 (en) * 2018-10-10 2020-04-16 株式会社メディアリンクス エルエスアイラボ Clock generation device and clock generation method
JPWO2021009923A1 (en) * 2019-07-18 2021-01-21

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020075235A1 (en) * 2018-10-10 2020-04-16 株式会社メディアリンクス エルエスアイラボ Clock generation device and clock generation method
JPWO2021009923A1 (en) * 2019-07-18 2021-01-21
WO2021009923A1 (en) * 2019-07-18 2021-01-21 日本電信電話株式会社 Time synchronization device, time synchronization method, and program
JP7207545B2 (en) 2019-07-18 2023-01-18 日本電信電話株式会社 TIME SYNCHRONIZATION DEVICE, TIME SYNCHRONIZATION METHOD, AND PROGRAM
US11876609B2 (en) 2019-07-18 2024-01-16 Nippon Telegraph And Telephone Corporation Time sync device, time sync method, and program

Also Published As

Publication number Publication date
JP6879750B2 (en) 2021-06-02

Similar Documents

Publication Publication Date Title
KR102031268B1 (en) Method and apparatus for communicating time information between time-aware devices
US10979164B2 (en) Peer-to-peer transparent clocks and methods of estimating skew in peer-to-peer transparent clocks
US8879586B2 (en) Inband timestamping
US9203725B2 (en) Update of a cumulative residence time of a packet in a packet-switched communication network
US8934506B2 (en) Apparatus and method for estimating time stamp
US20160170440A1 (en) Method and devices for time transfer using end-to-end transparent clocks
TW201530155A (en) Communications systems and methods for distributed power system measurement
WO2014173267A1 (en) Timestamp generating method, device and system
EP2641348A1 (en) Method for synchronizing master and slave clocks of packet-switched network with aggregated connections between nodes, and associated synchronization devices
WO2010037347A1 (en) Time synchronizing method, device and system of master clock side and slave clock side in synchronous network
US11018789B2 (en) End-to-end transparent clocks and methods of estimating skew in end-to-end transparent clocks
JP2012222833A (en) System and method to overcome wander accumulation to achieve precision clock distribution over large networks
US9806876B2 (en) Method and apparatus for compensating synchronization timing in a distributed timing network
US9065748B2 (en) Symmetrical latency with TDM circuit emulated service
EP3231110A1 (en) Method and devices for time transfer using end to end transparent clocks
JP6879750B2 (en) Data transmission equipment and programs
EP3868043B1 (en) Wireless audio synchronization
WO2016002367A1 (en) Communication system, communication method, and communication program
KR20100048124A (en) Time synchronization method in bridged local area network
WO2020015813A1 (en) Peer-to-peer transparent clocks and methods of estimating skew in peer-to-peer transparent clocks
US20230179314A1 (en) In-band signaling for ingress ptp packets at a master entity
JP2020039021A (en) Communication device, communication method and program
JP2013165326A (en) Information processing device, method and program and information processing system
JP6607591B2 (en) Phase information transfer system, phase information transmitter, phase information receiver, phase information transfer method, and program
EP3080951A1 (en) Method and devices for packet selection

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201105

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20201221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210430

R150 Certificate of patent or registration of utility model

Ref document number: 6879750

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150