JP2008118270A - Delay measurement system and method - Google Patents

Delay measurement system and method Download PDF

Info

Publication number
JP2008118270A
JP2008118270A JP2006297731A JP2006297731A JP2008118270A JP 2008118270 A JP2008118270 A JP 2008118270A JP 2006297731 A JP2006297731 A JP 2006297731A JP 2006297731 A JP2006297731 A JP 2006297731A JP 2008118270 A JP2008118270 A JP 2008118270A
Authority
JP
Japan
Prior art keywords
time
external
calculated
internal
elapsed time
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
JP2006297731A
Other languages
Japanese (ja)
Other versions
JP4668158B2 (en
Inventor
Kazunari Ushiki
一成 牛木
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.)
NTT Comware Corp
Original Assignee
NTT Comware Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Comware Corp filed Critical NTT Comware Corp
Priority to JP2006297731A priority Critical patent/JP4668158B2/en
Publication of JP2008118270A publication Critical patent/JP2008118270A/en
Application granted granted Critical
Publication of JP4668158B2 publication Critical patent/JP4668158B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a delay measurement system capable of measuring a delay time at a communication speed on a network by reducing the effect of an error in time that a terminal acquires and an error in timing when the terminal captures a packet. <P>SOLUTION: Transmission-side and reception-side terminals each acquire the time of an external timer at intervals of constant time by an internal timer, relate a constant internal elapsed time as an elapsed time that the internal timer indicates to the acquired time of the external timer, take a packet sent from a sending-out device to a receiving device and having a transmission number out of the network, and relate the transmission number extracted from the packet to a reception-time internal elapsed time as an elapsed time that the internal timer indicates when the packet is extracted. An analyzing device removes a high-frequency component during error variation between the constant internal elapsed time and external time, calculates external time based upon the external time having the high-frequency component removed, and calculates a difference between external times calculated on the transmission side and reception side as a delay time. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ネットワーク上の通信における遅延時間を計測する技術に関する。   The present invention relates to a technique for measuring a delay time in communication on a network.

パケットネットワークの性能指標の一つに、パケットがパケットネットワークを通過する間に要する時間である遅延時間がある。このようなネットワークの遅延時間の測定は、各々独立した時計を内蔵する2台の測定用の端末をパケットネットワークに接続し、一方の端末でパケットをパケットネットワークに送信した時刻Tsを記録し、他方の端末でパケットネットワークから前記パケットを受信した時刻Teを記録し、Te−Tsを計算することで実現できる。   One of the performance indexes of a packet network is a delay time that is a time required for a packet to pass through the packet network. Such network delay time is measured by connecting two measuring terminals each having an independent clock to the packet network, recording the time Ts at which one terminal transmits the packet to the packet network, This is realized by recording the time Te at which the packet is received from the packet network at the terminal and calculating Te-Ts.

この測定方法では、端末間で事前に時刻合わせを行う必要がある。そこで、ネットワーク上の通信速度における遅延測定を測定する装置では、測定対象となるネットワークに対向して設置された拠点間で、事前の時刻同期を行うことなく、端末の外部の時計を用いて、拠点間の通信の遅延を統計的に計算する方法が知られている(例えば、特許文献1参照)。   In this measurement method, it is necessary to perform time adjustment between terminals in advance. Therefore, in a device that measures delay measurement at the communication speed on the network, using a clock external to the terminal without performing prior time synchronization between the bases installed facing the network to be measured, A method of statistically calculating a communication delay between bases is known (for example, see Patent Document 1).

一方、端末間で事前に時刻合わせを行う方法としては、測定装置が、測定前に、ネットワーク上の時間を管理するサーバとNTP(Network Time Protocol)を用いて通信することにより、測定装置の内蔵時計の時刻合わせし、時刻合わせした内蔵時計を用いて、測定装置が測定する拠点間の時刻を同期する方式が知られている。
また、測定装置を、内蔵時計を有するパーソナルコンピュータ(以下、PC)を用いて、安価に構成し、上記のような時刻を同期する方法で、測定装置の内蔵時計の時刻を同期させておき、この測定装置により、拠点での通信の時刻を測定する。このように安価に構成された測定装置を多数用いて、多数の拠点での遅延測定をする方法が知られている(例えば、特許文献2参照)。
特許3480701号公報 特願2003−5190号公報
On the other hand, as a method of performing time adjustment between terminals in advance, the measurement device communicates with a server that manages time on the network using NTP (Network Time Protocol) before measurement, so that the built-in measurement device can be used. A method is known in which the time of a clock is set and the time between bases measured by the measuring device is synchronized using a time-set internal clock.
In addition, the measuring device is configured at a low cost using a personal computer (hereinafter referred to as a PC) having a built-in clock, and the time of the built-in clock of the measuring device is synchronized with the method described above, With this measuring device, the time of communication at the base is measured. There is known a method for measuring delays at a large number of bases by using a large number of measuring apparatuses configured in this manner at low cost (for example, see Patent Document 2).
Japanese Patent No. 3480701 Japanese Patent Application No. 2003-5190

しかしながら、外部時計や、PCの内部時計を用いて、パケットをキャプチャした時刻を確定する仕組みにおいては、以下のような問題が存在し、時刻を測定する時において、その精度低下の要因となっている。そのために、測定された時刻に基づいて算出される遅延時間が、正確に測定できないという問題がある。
(1)内部時計の非線形な揺らぎ
PCの内部時計は、発振周波数の偏差による、PCの個体固有の時間の進みや遅れの誤差や、温度変化などを原因とする時間の進みや遅れの揺らぎの誤差がある。特に、揺らぎの誤差は線形ではないため、数式で簡単に解けるものではないことが知られている(参照:特開2001−053792、特願2003−5190)。
(2)外部時計から得る時刻のバラツキ
PCが外部時計から時刻を得る際には、PCと外部時計とを接続するために使用するインタフェースにもよるが、そのインタフェースにおける種々の処理オーバーヘッドが存在し、得た時刻にはオーバーヘッドに起因するランダムな誤差が含まれている。
上記(1)および(2)の理由により、PCの内部時計時刻、また、外部時計から時刻を得る場合の時刻には、それぞれ、誤差が生じる。
However, in the mechanism for determining the time when a packet is captured using an external clock or the internal clock of a PC, there are the following problems, which cause a decrease in accuracy when measuring the time. Yes. Therefore, there is a problem that the delay time calculated based on the measured time cannot be measured accurately.
(1) Non-linear fluctuation of the internal clock The internal clock of the PC is not subject to fluctuations in the time or delay caused by deviations in the oscillation frequency due to the PC's individual time advance or delay error, temperature change, etc. There is an error. In particular, it is known that fluctuation errors are not linear and cannot be easily solved by mathematical formulas (see: Japanese Patent Application Laid-Open No. 2001-053792, Japanese Patent Application No. 2003-5190).
(2) Variation in time obtained from an external clock When a PC obtains time from an external clock, depending on the interface used to connect the PC and the external clock, there are various processing overheads in that interface. The obtained time includes a random error due to overhead.
Due to the reasons (1) and (2) above, errors occur in the internal clock time of the PC and in the time when the time is obtained from the external clock.

また、ネットワークからパケットを取り込む仕組みにおいては次の問題が存在し、正確な時刻を検出する精度低下の要因となっている。
(3)パケットキャプチャタイミングの誤差
一般に、OS(オペレーティング・スシテム)はマルチタスクで動作しており、特定プロセスがCPU(セントラル・プロセッシング・ユニット)を独占できない。このためパケットをキャプチャするプロセス(またはアプリケーション)が、他プロセスによる割り込み等で実行を阻害され、キャプチャタイミングに遅れが生じることがある。
In addition, the following problem exists in the mechanism for capturing packets from the network, which causes a decrease in accuracy for detecting an accurate time.
(3) Error in packet capture timing Generally, an OS (operating system) operates in a multitasking manner, and a specific process cannot monopolize a CPU (central processing unit). For this reason, a process (or application) that captures a packet may be interrupted by an interruption or the like by another process, and a capture timing may be delayed.

本発明は、このような事情に鑑みてなされたもので、その目的は、端末が取得する時刻の誤差と、端末がパケットをキャプチャするタイミングの誤差の影響を減じて、ネットワーク上の通信速度における遅延時間を計測することが出来る遅延測定システムおよび方法を提供することにある。   The present invention has been made in view of such circumstances, and the object of the present invention is to reduce the influence of the error of the time acquired by the terminal and the error of the timing of capturing the packet by the terminal, thereby reducing the communication speed on the network. It is an object to provide a delay measurement system and method capable of measuring a delay time.

この発明は上述した課題を解決するためになされたもので、請求項1に記載の発明は、ネットワークを通過するパケットの遅延時間を測定し算出する遅延測定システムであり、起動からの経過時間を計時する第1の内部時計を有し、前記第1の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第1の内部時計の示す経過時間である第1の一定内部経過時間と前記取得した外部時計の時刻である第1の外部時刻とを関連付けて第1の外部時刻記憶手段へ記憶し、送出装置から受信装置へ送出された送信番号を含むパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第1の内部時計の示す経過時間である第1の受信時内部経過時間とを関連付けて第1の送信情報登録手段に登録する第1の端末と、起動からの経過時間を計時する第2の内部時計を有し、前記第2の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第2の内部時計の示す経過時間である第2の一定内部経過時間と前記取得した外部時計の時刻である第2の外部時刻とを関連付けて第2の外部時刻記憶手段へ記憶し、前記受信装置が受信するパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第2の内部時計の示す経過時間である第2の受信時内部経過時間とを関連付けて第2の送信情報登録手段に登録する第2の端末と、前記第1の外部時刻と前記第1の一定内部経過時間とを前記第1の外部時刻記憶手段から読み出し、前記第1の一定内部経過時間と前記第1の外部時刻とにおける第1の誤差変動(外部時刻ゆらぎ値FOT)における高周波成分を除去し、前記第1の受信時内部経過時間の前後にある該第1の一定内部経過時間と該高周波成分を除去した第1の外部時刻とから第1の線形関数を算出し、該第1の線形関数に前記第1の受信時内部経過時間を代入することにより外部時刻を第1の算出外部時間として算出する第1の時刻計算手段(時刻補正部と時刻計算部)と、前記第2の外部時刻と前記第2の一定内部経過時間とを前記第2の外部時刻記憶手段から読み出し、前記第2の一定内部経過時間と前記第2の外部時刻とにおける第2の誤差変動における高周波成分を除去し、前記第2の受信時内部経過時間の前後にある該第2の一定内部経過時間と該高周波成分を除去した第2の外部時刻とから第2の線形関数を算出し、該第2の線形関数に前記第2の受信時内部経過時間を代入することにより外部時刻を第2の算出外部時間として算出する第2の時刻計算手段と、前記送信番号が一致する前記第1の算出外部時間と前記第2の算出外部時間との差を遅延時間として算出する遅延計算手段とを有する解析装置と、を有することを特徴とする遅延測定システムである。   The present invention has been made to solve the above-described problems, and the invention according to claim 1 is a delay measurement system for measuring and calculating a delay time of a packet passing through a network, and calculating an elapsed time from activation. A first internal clock that counts time, obtains the time of the external clock at every elapse of a predetermined time by the first internal clock, and is a first constant internal elapsed time that is an elapsed time indicated by the first internal clock And the first external time, which is the time of the acquired external clock, is stored in the first external time storage means, and the packet including the transmission number transmitted from the transmission device to the reception device is extracted from the network, First transmission information registration by associating a transmission number extracted from the packet with a first reception internal elapsed time which is an elapsed time indicated by the first internal clock when the packet is extracted A first terminal registered in the stage, and a second internal clock that counts an elapsed time from startup, obtains the time of the external clock at every elapse of a predetermined time by the second internal clock, and The second constant internal elapsed time, which is the elapsed time indicated by the internal clock, and the second external time, which is the time of the acquired external clock, are associated and stored in the second external time storage means, and the receiving device A packet to be received is extracted from the network, and a transmission number extracted from the packet is associated with a second reception internal elapsed time which is an elapsed time indicated by the second internal clock when the packet is extracted. The second terminal registered in the transmission information registration means, the first external time and the first constant internal elapsed time are read from the first external time storage means, and the first constant internal elapsed time is read. Time and first The high frequency component in the first error fluctuation (external time fluctuation value FOT) at the external time is removed, and the first constant internal elapsed time and the high frequency component that are before and after the first reception internal elapsed time are removed. A first linear function is calculated from the first external time and the first reception internal elapsed time is substituted into the first linear function to calculate the external time as the first calculated external time. First time calculation means (time correction unit and time calculation unit), the second external time, and the second constant internal elapsed time are read from the second external time storage means, and the second constant time is calculated. The high frequency component in the second error variation between the internal elapsed time and the second external time is removed, and the second constant internal elapsed time and the high frequency component before and after the second reception internal elapsed time are Removed second external time, etc. A second time calculation means for calculating a second linear function and substituting the second internal time for reception in the second linear function to calculate an external time as a second calculated external time; A delay measuring system comprising: a delay calculating unit that calculates a difference between the first calculated external time and the second calculated external time with the same transmission number as a delay time; It is.

請求項2に記載の発明は、前記第1の時刻計算手段が、横軸を前記第1の一定内部経過時間とし、縦軸を前記第1の外部時刻として、一定期間における測定開始と測定終了とにおける前記第1の内部経過時間と前記第1の外部時刻との2点を通る第3の線形関数を求め、該第3の線形関数に前記第1の内部経過時間の値を代入し第1の算出外部時刻を算出し、前記第1の外部時刻から該第1の算出外部時刻を減算することにより前記第1の誤差変動を算出し、前記第2の時刻計算手段が、横軸を前記第2の一定内部経過時間とし、縦軸を前記第2の外部時刻として、一定期間における測定開始と測定終了とにおける前記第2の内部経過時間と前記第2の外部時刻との2点を通る第4の線形関数を求め、該第4の線形関数に前記第2の内部経過時間の値を代入し第2の算出外部時刻を算出し、前記第2の外部時刻から該第2の算出外部時刻を減算することにより前記第2の誤差変動を算出する、ことを特徴とする請求項1に記載の遅延測定システムである。   According to a second aspect of the present invention, the first time calculation means is configured to start measurement and end measurement in a certain period with the horizontal axis as the first constant internal elapsed time and the vertical axis as the first external time. And obtaining a third linear function passing through two points of the first internal elapsed time and the first external time, and substituting the value of the first internal elapsed time for the third linear function. 1 calculated external time, and subtracting the first calculated external time from the first external time to calculate the first error fluctuation, and the second time calculating means The second constant internal elapsed time, the vertical axis as the second external time, and the two points of the second internal elapsed time and the second external time at the measurement start and measurement end in a certain period A fourth linear function passing through is obtained, and the fourth linear function is A second calculated external time is calculated by substituting a value between, and the second error fluctuation is calculated by subtracting the second calculated external time from the second external time. The delay measurement system according to claim 1.

請求項3に記載の発明は、前記第1の時刻計算手段が、前記第1の誤差変動における高周波成分を除去する前に、前記第1の誤差変動からスパイク状のノイズを除去し、前記第2の時刻計算手段が、前記第2の誤差変動における高周波成分を除去する前に、前記第2の誤差変動からスパイク状のノイズを除去する、ことを特徴とする請求項1または請求項2に記載の遅延測定システムである。   According to a third aspect of the present invention, the first time calculation means removes spike-like noise from the first error fluctuation before removing a high-frequency component in the first error fluctuation, and The time calculation means of 2 removes spike-shaped noise from the second error fluctuation before removing the high frequency component in the second error fluctuation. The delay measurement system described.

請求項4に記載の発明は、前記解析装置が、複数の前記第1の端末に対応した第1の算出外部時間を算出する複数の第1の時刻計算部を有し、複数の前記算出外部時間が算出した第1の算出外部時間の互いの差が予め定められた値以下である頻度が最も高い前記第1の算出外部時間を選択する第1のパケット時刻選択手段と、複数の前記第2の端末に対応した第2の算出外部時間を算出する複数の第2の時刻計算部を有し、複数の前記算出外部時間が算出した第2の算出外部時間の互いの差が予め定められた値以下である頻度が最も高い前記第2の算出外部時間を選択する第2のパケット時刻選択手段と、を有し、前記遅延計算手段が、前記第1のパケット時刻選択手段が選択した第1の算出外部時間から、前記第2のパケット時刻選択手段が選択した第2の算出外部時間を減算することにより前記遅延時間を算出することを特徴とする請求項1から3のいずれかに記載の遅延測定システムである。   According to a fourth aspect of the present invention, the analysis device includes a plurality of first time calculation units that calculate first calculation external times corresponding to the plurality of first terminals, and a plurality of the calculation externals. A first packet time selecting means for selecting the first calculated external time having the highest frequency in which the difference between the first calculated external times calculated for the time is equal to or less than a predetermined value; A plurality of second time calculation units for calculating the second calculated external time corresponding to the two terminals, and a difference between the second calculated external times calculated for the plurality of calculated external times is predetermined. Second packet time selection means for selecting the second calculated external time with the highest frequency that is less than or equal to the first value, wherein the delay calculation means is selected by the first packet time selection means. From the calculated external time of 1, the second packet time selection means A delay measurement system according to any one of claims 1 to 3, and calculates the delay time by subtracting the second calculation external time selected.

請求項5に記載の発明は、ネットワークを通過するパケットの遅延時間を測定し算出する遅延測定システムに用いられる遅延測定方法であり、起動からの経過時間を計時する第1の内部時計を有し、前記第1の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第1の内部時計の示す時刻である第1の一定内部経過時間と前記取得した外部時計の時刻である第1の外部時刻とを関連付けて第1の外部時刻記憶手段へ記憶し、送出装置から受信装置へ送出された送信番号を含むパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第1の内部時計の示す時間である第1の受信時内部経過時間とを関連付けて第1の送信情報登録手段に登録し、起動からの経過時間を計時する第2の内部時計を有し、前記第2の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第2の内部時計の示す時刻である第2の一定内部経過時間と前記取得した外部時計の時刻である第2の外部時刻とを関連付けて第2の外部時刻記憶手段へ記憶し、前記受信装置が受信するパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第2の内部時計の示す時間である第2の受信時内部経過時間とを関連付けて第2の送信情報登録手段に登録し、前記第1の外部時刻と前記第1の一定内部経過時間とを前記第1の外部時刻記憶手段から読み出し、前記第1の一定内部経過時間と前記第1の外部時刻とにおける第1の誤差変動における高周波成分を除去し、前記第1の受信時内部経過時間の前後にある該第1の一定内部経過時間と該高周波成分を除去した第1の外部時刻とから第1の線形関数を算出し、該第1の線形関数に前記第1の受信時内部経過時間を代入することにより外部時刻を第1の算出外部時間として算出し、前記第2の外部時刻と前記第2の一定内部経過時間とを前記第2の外部時刻記憶手段から読み出し、前記第2の一定内部経過時間と前記第2の外部時刻とにおける第2の誤差変動における高周波成分を除去し、前記第2の受信時内部経過時間の前後にある該第2の一定内部経過時間と該高周波成分を除去した第2の外部時刻とから第2の線形関数を算出し、該第2の線形関数に前記第2の受信時内部経過時間を代入することにより外部時刻を第2の算出外部時間として算出し、前記送信番号が一致する前記第1の算出外部時間と前記第2の算出外部時間との差を遅延時間として算出する、ことを特徴とする遅延測定方法である。   The invention according to claim 5 is a delay measurement method used in a delay measurement system for measuring and calculating a delay time of a packet passing through a network, and has a first internal clock for measuring an elapsed time from activation. The time of the external clock is acquired at every elapse of a predetermined time by the first internal clock, and the first predetermined internal elapsed time that is the time indicated by the first internal clock and the time of the acquired external clock are 1 is associated with the external time and stored in the first external time storage means, the packet including the transmission number transmitted from the transmission device to the reception device is extracted from the network, the transmission number extracted from the packet, and the packet Is associated with the first reception internal elapsed time, which is the time indicated by the first internal clock at the time of taking out, and is registered in the first transmission information registration means, and the elapsed time from the start is counted. A second internal clock that acquires the time of the external clock every time a predetermined time elapses from the second internal clock, and the second constant internal elapsed time that is the time indicated by the second internal clock and the The second external time which is the time of the acquired external clock is associated and stored in the second external time storage means, the packet received by the receiving device is taken out from the network, the transmission number extracted from the packet, The second internal time at the time of reception, which is the time indicated by the second internal clock when the packet was taken out, is associated with the second transmission information registration means, and the first external time and the first 1 constant internal elapsed time is read out from the first external time storage means, a high frequency component in a first error variation between the first constant internal elapsed time and the first external time is removed, and the first Receive 1 A first linear function is calculated from the first constant internal elapsed time before and after the hour internal elapsed time and the first external time from which the high-frequency component has been removed, and the first linear function is converted into the first linear function. The external time is calculated as the first calculated external time by substituting the reception internal elapsed time, and the second external time and the second constant internal elapsed time are read from the second external time storage means. The high-frequency component in the second error variation between the second constant internal elapsed time and the second external time is removed, and the second constant internal elapsed time before and after the second reception internal elapsed time. A second linear function is calculated from the time and the second external time from which the high frequency component has been removed, and the second external time is determined by substituting the second reception internal elapsed time for the second linear function. Calculated as the external time of the transmission number The delay measurement method is characterized in that a difference between the first calculated external time and the second calculated external time that coincide with each other is calculated as a delay time.

この発明によれば、外部時計から得た誤差を含む時刻と内部時計の揺らぎのある時間を用い統計的手法を用いることにより精度を高めたことにより、端末が取得する時刻の誤差の影響を減じて、ネットワーク上の通信速度における遅延時間を計測することが出来るという効果を奏する。   According to the present invention, by using a statistical method using a time including an error obtained from an external clock and a time when the internal clock fluctuates, the influence of the time error acquired by the terminal is reduced. Thus, the delay time at the communication speed on the network can be measured.

また、この発明によれば、測定したデータに対してトレンド除去した後に、スパイクノイズの除去処理、帯域通過フィルタ処理を実行することにより、スパイクノイズが検出しやすくなり、また、確実に帯域通過フィルタ処理を実行出来るという効果を奏する。   Further, according to the present invention, spike noise can be easily detected by performing spike noise removal processing and band-pass filter processing after removing trend from the measured data. There is an effect that processing can be executed.

また、この発明によれば、測定したデータに対してスパイクノイズ除去処理をした後、帯域通過フィルタ処理を実行することにより、測定における突発的なノイズに影響されずに測定したデータを解析することが出来るという効果を奏する。   In addition, according to the present invention, after the spike noise removal processing is performed on the measured data, the measured data is analyzed without being affected by the sudden noise in the measurement by executing the band pass filter processing. There is an effect that can be done.

また、この発明によれば、複数台並列した端末でキャプチャしたデータから、多数決方式でキャプチャタイミングした遅れの小さなデータを選択することにより、端末がパケットをキャプチャするタイミングの誤差の影響を減じて、ネットワーク上の通信速度における遅延を計測することが出来る。   In addition, according to the present invention, from data captured by a plurality of parallel terminals, by selecting small delay data captured by the majority method, the influence of timing errors at which the terminal captures packets is reduced. It is possible to measure the delay in the communication speed on the network.

以下、図面を参照して、本発明の実施の形態について説明する。図1は、この発明の一実施形態による遅延測定システムの計測時の構成を示す概略ブロック図である。
送出装置Aと受信装置Bとが、タップTAPA、測定対象となるネットワークNWおよびタップTAPBを介して、接続されている。なお、送出装置A、タップTAPA、ネットワークNW、タップTAPB、受信装置Bの順に接続されており、隣接する構成の間は、それぞれネットワークを介して接続されている。
ここで、タップTAPAとタップTAPBとの間のネットワークNWが、本遅延測定システムで遅延時間を計測する対象となるネットワークである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram showing a configuration during measurement of the delay measurement system according to the embodiment of the present invention.
The sending device A and the receiving device B are connected via a tap TAPA, a network NW to be measured, and a tap TAPB. Note that the sending device A, the tap TAPA, the network NW, the tap TAPB, and the receiving device B are connected in this order, and adjacent components are connected via the network.
Here, the network NW between the tap TAPA and the tap TAPB is a network for which the delay time is measured by the delay measurement system.

更に、タップTAPAには、リピータHUBAが接続されている。このリピータHUBAには、更に、端末PCA1、端末PCA2および端末PCA3が、接続されている。また、端末PCA1、端末PCA2および端末PCA3は、それぞれ外部時計TAに接続されている。
ここで、タップTAPAとリピータHUBAとの間、および、リピータHUBAと端末PCA1、端末PCA2および端末PCA3との間は、それぞれネットワークにより接続されている。
また、端末PCA1、端末PCA2および端末PCA3と、外部時計TAとの間は、ネットワークまたはUSB(Universal Serial Bus)等で接続されている。
Further, a repeater HUBA is connected to the tap TAPA. A terminal PCA1, a terminal PCA2, and a terminal PCA3 are further connected to the repeater HUBA. Terminal PCA1, terminal PCA2 and terminal PCA3 are each connected to an external clock TA.
Here, the tap TAPA and the repeater HUBA, and the repeater HUBA and the terminal PCA1, the terminal PCA2, and the terminal PCA3 are connected by a network, respectively.
Further, the terminal PCA1, the terminal PCA2, the terminal PCA3 and the external clock TA are connected by a network or USB (Universal Serial Bus).

更に、タップTAPBには、リピータHUBBが接続されている。このリピータHUBBには、更に、端末PCB1、端末PCB2および端末PCB3が、接続されている。また、端末PCB1、端末PCB2および端末PCB3は、それぞれ外部時計TBに接続されている。
タップTAPBに接続されるそれぞれの構成の間の接続は、タップTAPAに接続されるそれぞれの構成の間の接続と同様である。
Further, a repeater HUBB is connected to the tap TAPB. A terminal PCB1, a terminal PCB2, and a terminal PCB3 are further connected to the repeater HUBB. Terminal PCB1, terminal PCB2, and terminal PCB3 are each connected to an external clock TB.
The connection between the respective components connected to the tap TAPB is the same as the connection between the respective components connected to the tap TAPA.

なお、計測する対象となるネットワークについて、送出装置Aに近い方に設置されている構成を送信側の構成とし、受信装置Bに近い方に設置されている構成を受信側の構成として説明する。
つまり、タップTAPAには、送信側の構成が接続されており、タップTAPBには、受信側の構成が接続されている。なお、上記に説明したように、送信側の構成と受信側の構成は同様であるため、以降は、送信側の構成のみについて説明する。
In addition, about the network used as the measuring object, the structure installed in the side close | similar to the transmission apparatus A is made into the structure of a transmission side, and the structure installed in the side close | similar to the receiving apparatus B is demonstrated as a structure of the receiving side.
That is, the configuration on the transmission side is connected to the tap TAPA, and the configuration on the reception side is connected to the tap TAPB. As described above, since the configuration on the transmission side and the configuration on the reception side are the same, only the configuration on the transmission side will be described below.

次に、同図1を用いて、遅延測定システムの計測時に用いられる各構成について説明する。
送出装置Aは、パケットごとの送信番号を含んでいるパケットを、測定対象となるネットワークNWを介して、受信装置Bへ向けて、送信する装置である。送出装置Aが送信するパケットとは、例えば、RTPプロトコル(Real time Transport Protocol)で送出されるパケットであり、送信番号とは、RTPプロトコルにおけるパケットのシーケンス番号である。
なお、シーケンス番号は、送出されるパケットにおいて、ヘッダ情報として付加されており、パケットの、データ部分に含まれる情報は、任意である。
受信装置Bは、送出装置Aから送出されたパケットを受信する装置である。
Next, each configuration used at the time of measurement of the delay measurement system will be described with reference to FIG.
The sending device A is a device that sends a packet including a transmission number for each packet to the receiving device B via the network NW to be measured. The packet transmitted by the transmitting apparatus A is, for example, a packet transmitted by the RTP protocol (Real time Transport Protocol), and the transmission number is a sequence number of the packet in the RTP protocol.
The sequence number is added as header information in the transmitted packet, and the information included in the data portion of the packet is arbitrary.
The receiving device B is a device that receives the packet sent from the sending device A.

タップTAPAは、送出装置AとネットワークNWとの間のネットワークからパケットを取り出し、取り出したパケットを、接続されているハブHUBAに分配する。ここで、タップTAPAは、通信層のレイヤー1で、パケットを取り出している。タップTAPAは、例えば、タップであり、ネットワークからパケットを取り出す装置である。
ハブHUBAは、タップTAPAからパケットを受信し、接続されている端末に、受信したパケットを分配する。ここで、ハブHUBAは、通信層のレイヤー1で、パケットを接続される端末に分配している。ハブHUBAは、例えば、リピータHUBであり、パケットを分配する装置である。
The tap TAPA takes out a packet from the network between the transmission apparatus A and the network NW, and distributes the taken-out packet to the connected hub HUBA. Here, the tap TAPA takes out the packet in layer 1 of the communication layer. The tap TAPA is, for example, a tap and is a device that extracts a packet from the network.
The hub HUBA receives the packet from the tap TAPA and distributes the received packet to the connected terminals. Here, the hub HUBA distributes packets to connected terminals in the layer 1 of the communication layer. The hub HUBA is, for example, a repeater HUB and is a device that distributes packets.

外部時計TAは、外部時計TAの内部で時刻を計測しており、接続される端末からの問い合わせに応じて、外部時計TAが内部で計測している時刻を、接続される端末へ返信する。
ここで、外部時計TAと外部時計TBとは、時刻の同期が取られている。
例えば、外部時計TAおよび外部時計TBは、それぞれ、NTPサーバにネットワーク経由でアクセスし、NTPサーバからネットワーク経由で時刻情報を取得する。外部時計TAおよび外部時計TBは、NTPサーバにアクセスすることにより、±数百マイクロ秒の精度で現在の時刻情報を取得可能である。
The external clock TA measures the time inside the external clock TA and returns the time measured internally by the external clock TA to the connected terminal in response to an inquiry from the connected terminal.
Here, the external clock TA and the external clock TB are synchronized in time.
For example, the external clock TA and the external clock TB each access the NTP server via the network and acquire time information from the NTP server via the network. The external clock TA and the external clock TB can acquire current time information with an accuracy of ± hundreds of microseconds by accessing an NTP server.

または、例えば、外部時計TAおよび外部時計TBは、それぞれ、GPS(Global Positioning System)またはCDMA(Code Division Multiple Access)により、送信されている時刻情報を受信することにより時刻情報を取得する。これにより、取得する時刻情報の精度は±10マイクロ秒の精度である。
外部時計TAと外部時計TBは、取得した時刻情報の時刻にそれぞれの内部の時刻を合わせることにより、外部時計TAと外部時計TBとの内部の時計の時刻は一致している。
なお、一例としての外部時計TAおよび外部時計TBは、時刻を、時、分、秒、ミリ秒およびマイクロ秒の単位で計測し、その精度は±10マイクロ秒である。
Alternatively, for example, the external clock TA and the external clock TB acquire the time information by receiving the transmitted time information by GPS (Global Positioning System) or CDMA (Code Division Multiple Access), respectively. Thereby, the accuracy of the time information to be acquired is ± 10 microseconds.
The external clock TA and the external clock TB are synchronized with the time of the acquired time information, so that the internal clocks of the external clock TA and the external clock TB match.
As an example, the external clock TA and the external clock TB measure the time in units of hours, minutes, seconds, milliseconds, and microseconds, and the accuracy is ± 10 microseconds.

端末PCA1、端末PCA2および端末PCA3は、それぞれ同一の構成を有している。ここでは、端末PCA1についてのみ、説明する。なお、ここでは、送信側および受信側で、3台ずつの端末がある場合について説明するが、それぞれの端末の台数は任意である。しかし、後述するパケット時刻選択部306の処理のために、好ましくは、送信側および受信側ともに、端末は3台以上であることが望ましい。   Terminal PCA1, terminal PCA2, and terminal PCA3 each have the same configuration. Only the terminal PCA1 will be described here. Here, a case where there are three terminals each on the transmission side and the reception side will be described, but the number of each terminal is arbitrary. However, for the processing of the packet time selection unit 306, which will be described later, it is preferable that there are three or more terminals on both the transmission side and the reception side.

端末PCA1は、内部時計部PCTA1と、送信情報登録部312と、外部時刻登録部313、送信側パケットデータ記憶部112、送信側外部時計データ記憶部113とを有する。なお、図1において、送信情報登録部312と外部時刻登録部313とは、図示を省略している。
内部時計部PCTA1は、端末PCA1が起動してからの経過時間である内部経過時間を計測し、送信情報登録部312からの問い合わせに応じて、計測している現在の内部経過時間を送信情報登録部312へ応答する。なお、内部時計部PCTA1は、端末PCA1の内部に内蔵されている。
The terminal PCA1 includes an internal clock unit PCTA1, a transmission information registration unit 312, an external time registration unit 313, a transmission side packet data storage unit 112, and a transmission side external clock data storage unit 113. In FIG. 1, the transmission information registration unit 312 and the external time registration unit 313 are not shown.
The internal clock unit PCTA1 measures an internal elapsed time that is an elapsed time since the terminal PCA1 is activated, and registers the current internal elapsed time being measured in response to an inquiry from the transmission information registration unit 312. Respond to unit 312. The internal clock unit PCTA1 is built in the terminal PCA1.

内部時計部PCTA1は、具体的には、端末PCA1の内部に用いられている水晶発信器が出力するクロック数を計数することにより、内部経過時間を計測している。水晶発信器が出力するクロックの時間間隔は一定であるため、内部時計部は、クロックの時間間隔(つまり、1÷クロック周波数)と、計数したクロック数とを乗算することにより、端末PCA1が起動してからの内部経過時間を算出することが出来る。
例えば、内部時計部は、起動してからの経過クロック数と、またクロック周波数とから、経過クロック数÷クロック周波数と算出することで経過時間を計算する。ただしクロック周波数は、上述の「(3)パケットキャプチャタイミングの誤差」に説明したように、偏差と揺らぎを持っているため、この経過時間は必ずしも正確であるとは限らない。
Specifically, the internal clock unit PCTA1 measures the internal elapsed time by counting the number of clocks output from the crystal oscillator used in the terminal PCA1. Since the time interval of the clock output from the crystal oscillator is constant, the internal clock unit starts up the terminal PCA1 by multiplying the clock time interval (that is, 1 / clock frequency) by the counted number of clocks. The internal elapsed time can be calculated.
For example, the internal clock unit calculates the elapsed time by calculating the number of elapsed clocks divided by the clock frequency from the number of elapsed clocks since activation and the clock frequency. However, since the clock frequency has deviation and fluctuation as described in “(3) Error of packet capture timing” above, this elapsed time is not necessarily accurate.

送信情報登録部312は、送出装置Aから出力された送信情報を、タップTAPAとハブHUBAとを介して受信したことに応じて、内部時計部PCTA1から内部経過時間を受信時内部経過時間として取得し、受信した送信情報から送信番号を抽出し、抽出した送信番号と取得した受信時内部経過時間とを関連付けて送信側パケットデータ記憶部112に登録する。   The transmission information registration unit 312 acquires the internal elapsed time from the internal clock unit PCTA1 as the reception internal elapsed time in response to receiving the transmission information output from the sending device A via the tap TAPA and the hub HUBA. Then, the transmission number is extracted from the received transmission information, and the extracted transmission number and the acquired internal elapsed time at reception are associated with each other and registered in the transmission side packet data storage unit 112.

外部時刻登録部313は、内部時計部PCTA1の計測する内部経過時間が一定時間毎に、外部時計TAから外部時刻を取得し、取得した外部時刻と、内部経過時間である一定内部経過時間と、を関連付けて送信側外部時計データ記憶部113に登録する。
ここで、送信側外部時計データ記憶部113には、内部経過時間が一定時間毎での、取得された外部時刻が記録されていることにより、後に説明するように、時間軸を一定時間毎の内部経過時間とした場合に、取得した外部時刻に対して、周波数による解析や、周波数による帯域通過や帯域除去の処理を容易に実行することが可能となる。
The external time registration unit 313 acquires the external time from the external clock TA for every fixed time measured by the internal clock unit PCTA1, and acquires the acquired external time and the fixed internal elapsed time that is the internal elapsed time. Are registered in the transmission-side external clock data storage unit 113.
Here, the transmission-side external clock data storage unit 113 records the acquired external time with the internal elapsed time every fixed time, so that the time axis is set every fixed time, as will be described later. In the case of the internal elapsed time, it is possible to easily execute frequency analysis, frequency band pass / band removal processing, and the like for the acquired external time.

なお、端末PCA1において、送信側パケットデータ記憶部112と送信側外部時刻データ記憶部113とは、端末PCA1から脱着可能となっている。例えば、送信側パケットデータ記憶部112と送信側外部時刻データ記憶部113とは、計測時においては、端末PCA1に接続されており、計測が完了した後、遅延時間を解析する時においては、端末PCA1との接続が解除され、後述の解析装置に接続される。   In terminal PCA1, transmission side packet data storage unit 112 and transmission side external time data storage unit 113 are detachable from terminal PCA1. For example, the transmission side packet data storage unit 112 and the transmission side external time data storage unit 113 are connected to the terminal PCA1 at the time of measurement, and when the delay time is analyzed after the measurement is completed, The connection with the PCA 1 is released, and the PCA 1 is connected to an analysis device described later.

なお、以降において、送信側パケットデータ記憶部112、送信側パケットデータ記憶部122、送信側パケットデータ記憶部132、受信側パケットデータ記憶部212、受信側パケットデータ記憶部222および受信側パケットデータ記憶部232をまとめてパケットデータ記憶部として説明する。
また、以降において、送信側外部時刻データ記憶部113、送信側外部時刻データ記憶部123、送信側外部時刻データ記憶部133、受信側外部時刻データ記憶部213、受信側外部時刻データ記憶部223および受信側外部時刻データ記憶部233を外部時刻データ記憶部として説明する。
In the following description, the transmission side packet data storage unit 112, the transmission side packet data storage unit 122, the transmission side packet data storage unit 132, the reception side packet data storage unit 212, the reception side packet data storage unit 222, and the reception side packet data storage will be described. The unit 232 will be collectively described as a packet data storage unit.
Further, hereinafter, the transmission side external time data storage unit 113, the transmission side external time data storage unit 123, the transmission side external time data storage unit 133, the reception side external time data storage unit 213, the reception side external time data storage unit 223, and The reception-side external time data storage unit 233 will be described as an external time data storage unit.

次に、図2、3を用いて、遅延測定システムの遅延時間の解析時における各構成について説明する。同図において図1の各部に対応する部分には同一の符号を付け、その説明を省略する。
図2に示すように、解析用の端末である解析装置PC7には、図1の端末PCA1との接続が解除された送信側パケットデータ記憶部112と送信側外部時刻データ記憶部113とが接続される。また、解析装置PC7には、同様に、図1の他のパケットデータ記憶部と外部時刻データ記憶部が接続されている。
なお、解析装置PC7は、以降においては、解析端末PC7として説明する。
Next, each configuration at the time of analyzing the delay time of the delay measurement system will be described with reference to FIGS. In the figure, parts corresponding to those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted.
As shown in FIG. 2, the analysis apparatus PC7, which is an analysis terminal, is connected to the transmission side packet data storage unit 112 and the transmission side external time data storage unit 113 that are disconnected from the terminal PCA1 of FIG. Is done. Similarly, the analysis apparatus PC7 is connected to the other packet data storage unit in FIG. 1 and the external time data storage unit.
In the following, the analysis apparatus PC7 will be described as an analysis terminal PC7.

また、解析端末PC7に接続される、送信側外部時計補正データ記憶部114および送信側パケット時刻データ記憶部115は、解析端末PC7で、端末PCA1に関しての遅延時間を算出するために用いられる記憶部である。
また、送信側外部時計補正データ記憶部114および送信側パケット時刻データ記憶部115に相当する記憶部が、送信側および受信側の端末毎に、解析端末PC7に接続されている。
The transmission-side external clock correction data storage unit 114 and the transmission-side packet time data storage unit 115 connected to the analysis terminal PC7 are storage units used to calculate the delay time for the terminal PCA1 in the analysis terminal PC7. It is.
A storage unit corresponding to the transmission-side external clock correction data storage unit 114 and the transmission-side packet time data storage unit 115 is connected to the analysis terminal PC7 for each terminal on the transmission side and reception side.

また、送信側における送信側パケット時刻選択データ記憶部106と、受信側における受信側パケット時刻選択データ記憶部206とが、解析端末PC7に接続されている。また、遅延結果レポート記憶部301が、解析端末PC7に接続されている。   In addition, the transmission side packet time selection data storage unit 106 on the transmission side and the reception side packet time selection data storage unit 206 on the reception side are connected to the analysis terminal PC7. A delay result report storage unit 301 is connected to the analysis terminal PC7.

図2の概略を説明すると、解析端末PC7は、接続されるパケットデータ記憶部と外部時刻データ記憶部とに基づいて、遅延時間を算出し、算出した遅延時間を出力として、遅延結果レポート記憶部301に登録する。解析端末PC7の構成と、各記憶部については、図3を用いて説明する。
なお、図2においては、各記憶部は、解析端末PC7の外部にあるように図示されているが、各記憶部は解析端末PC7の内部にあってもよく、解析端末PC7と各記憶部とが接続され、解析端末PC7から各記憶部がアクセスできるようになっていればよい。
Referring to FIG. 2, the analysis terminal PC7 calculates a delay time based on the connected packet data storage unit and the external time data storage unit, and outputs the calculated delay time as a delay result report storage unit. 301 is registered. The configuration of the analysis terminal PC7 and each storage unit will be described with reference to FIG.
In FIG. 2, each storage unit is illustrated as being outside the analysis terminal PC7. However, each storage unit may be inside the analysis terminal PC7, and the analysis terminal PC7, each storage unit, Are connected, and each storage unit can be accessed from the analysis terminal PC7.

次に、図3を用いて、解析端末PC7の構成と各記憶部について説明する。
解析端末PC7は、計測に用いた端末毎に、時刻補正部、時刻計算部、外部時計補正データ記憶部、パケット時刻データ記憶部を有する。
例えば、端末PCA1に対応する構成は、送信側外部時計データ記憶部113、送信側パケットデータ記憶部112、時刻補正部314、送信側外部時計補正データ記憶部114、時刻計算部315と、送信側パケットデータ記憶部115である。
解析端末PC7は、他の端末についても、同様な構成を有する。
Next, the configuration of the analysis terminal PC7 and each storage unit will be described with reference to FIG.
The analysis terminal PC7 has a time correction unit, a time calculation unit, an external clock correction data storage unit, and a packet time data storage unit for each terminal used for measurement.
For example, the configuration corresponding to the terminal PCA1 includes a transmission side external clock data storage unit 113, a transmission side packet data storage unit 112, a time correction unit 314, a transmission side external clock correction data storage unit 114, a time calculation unit 315, and a transmission side. This is a packet data storage unit 115.
The analysis terminal PC7 has the same configuration for other terminals.

また、解析端末PC7は、送信側のパケット時刻データ記憶部がある場合には、送信側のパケット時刻データ記憶部に登録された情報から、統計処理により1つの情報を選択するパケット時刻選択部306を有している。
送信側のパケット時刻選択部306の出力は、送信側パケット時刻選択データ記憶部106に出力され、登録される。
以上の解析端末PC7の構成は、送信側と受信側で同様である。
Further, when there is a packet time data storage unit on the transmission side, the analysis terminal PC 7 selects a piece of information by statistical processing from information registered in the packet time data storage unit on the transmission side. have.
The output of the packet time selection unit 306 on the transmission side is output to the transmission side packet time selection data storage unit 106 and registered.
The configuration of the analysis terminal PC7 described above is the same on the transmission side and the reception side.

また、解析端末PC7は、送信側パケット時刻選択データ記憶部106と受信側パケット時刻選択データ記憶部206とに接続される遅延計算部507を有し、遅延計算部507の出力は、遅延結果レポート記憶部301に接続される。なお、解析端末PC7においては、遅延計算部507と遅延結果レポート記憶部301とは、それぞれ1つずつある。   The analysis terminal PC7 has a delay calculation unit 507 connected to the transmission side packet time selection data storage unit 106 and the reception side packet time selection data storage unit 206. The output of the delay calculation unit 507 is a delay result report. Connected to the storage unit 301. In the analysis terminal PC7, one delay calculation unit 507 and one delay result report storage unit 301 are provided.

次に、端末PCA1に対応する時刻補正部314、時刻計算部315、送信側外部時計データ補正記憶部113、送信側パケット時刻データ記憶部112、送信側外部時刻補正データ記憶部114、送信側パケット時刻データ記憶部115の構成について説明する。端末PCA2、端末PCA3、端末PCB1、端末PCB2、端末PCB3に対応する上記構成も、端末PCA1に対応する上記構成と同様な構成を有する。   Next, a time correction unit 314, a time calculation unit 315, a transmission side external clock data correction storage unit 113, a transmission side packet time data storage unit 112, a transmission side external time correction data storage unit 114, a transmission side packet corresponding to the terminal PCA1 A configuration of the time data storage unit 115 will be described. The configuration corresponding to the terminal PCA2, the terminal PCA3, the terminal PCB1, the terminal PCB2, and the terminal PCB3 has the same configuration as the configuration corresponding to the terminal PCA1.

時刻補正部314は、外部時刻と一定内部経過時間とを送信側外部時計データ補正記憶部113から読み出し、横軸を読み出した一定内部経過時間とし、縦軸を読み出した外部時刻として、外部時刻から所定の高周波成分を除去することにより補正後外部時刻を算出し、読み出した一定内部経過時間と補正後外部時刻とを関連付けて、送信側外部時刻補正データ記憶部114に登録する。
時刻補正部314で実行される処理の詳細については、後述する。
The time correction unit 314 reads the external time and the fixed internal elapsed time from the transmission-side external clock data correction storage unit 113, sets the horizontal axis as the read fixed internal elapsed time, and sets the vertical axis as the read external time from the external time. The corrected external time is calculated by removing a predetermined high-frequency component, and the read fixed internal elapsed time and the corrected external time are associated with each other and registered in the transmission-side external time correction data storage unit 114.
Details of processing executed by the time correction unit 314 will be described later.

時刻計算部315は、抽出した送信番号と受信時内部経過時間とを送信側パケット時刻データ記憶部112から読み出し、関連付けられた一定内部経過時間と補正後外部時刻とを時刻補正部314から送信側外部時刻補正データ記憶部114を介して入力され、入力された一定内部経過時間と補正後外部時刻とから算出される線形関数(一次関数)に、読み出した受信時内部経過時間を代入することにより算出される外部時間である算出外部時間を算出し、送信番号と算出した算出外部時間とを関連付けて送信側パケット時刻データ記憶部115に登録する。
時刻計算部315で実行される処理の詳細については、後述する。
The time calculation unit 315 reads the extracted transmission number and the received internal elapsed time from the transmission-side packet time data storage unit 112, and the associated constant internal elapsed time and the corrected external time from the time correction unit 314 to the transmission side. By substituting the read internal elapsed time at the time of reception into a linear function (linear function) that is input via the external time correction data storage unit 114 and calculated from the input fixed internal elapsed time and the corrected external time A calculated external time that is a calculated external time is calculated, and the transmission number and the calculated calculated external time are associated with each other and registered in the transmission side packet time data storage unit 115.
Details of the processing executed by the time calculation unit 315 will be described later.

パケット時刻選択部306は、送信番号と算出外部時間とを複数の端末ごとに時刻計算部(315、325、335)から送信側パケット時刻データ記憶部(115、125、135)を介して入力され、入力された送信番号が同一である複数の端末ごとの算出外部時間を抽出し、抽出した複数の端末ごとの算出外部時間の互いの差を算出し、算出された互いの差が予め定められた値以下である頻度が最も高い算出外部時間と、送信番号とを関連付けて送信側パケット時刻選択データ記憶部106に登録する。
パケット時刻選択部306で実行される処理の詳細については、後述する。
The packet time selection unit 306 receives the transmission number and the calculated external time from the time calculation unit (315, 325, 335) via the transmission side packet time data storage unit (115, 125, 135) for each of a plurality of terminals. The calculated external time for each of the plurality of terminals having the same input transmission number is extracted, the difference of the calculated external time for each of the extracted terminals is calculated, and the calculated mutual difference is determined in advance. The calculated external time having the highest frequency that is less than or equal to the value and the transmission number are associated with each other and registered in the transmission side packet time selection data storage unit 106.
Details of processing executed by the packet time selection unit 306 will be described later.

遅延計算部507は、送信側において、関連付けられた送信番号と算出外部時間とをパケット時刻選択部306から送信側パケット時刻選択データ記憶部106を介して入力され、また、受信側において、関連付けられた送信番号と算出外部時間とを送信側パケット時刻選択データ記憶部(図示なし)から受信側パケット時刻選択データ記憶部206を介して入力され、送信番号が一致する送信側の算出外部時間と受信側の算出外部時間との差を遅延時間として算出し、算出した遅延時間を、遅延結果レポート記憶部301に登録する。   The delay calculation unit 507 receives, on the transmission side, the associated transmission number and the calculated external time from the packet time selection unit 306 via the transmission side packet time selection data storage unit 106 and is associated on the reception side. The transmission number and the calculated external time are input from the transmission side packet time selection data storage unit (not shown) via the reception side packet time selection data storage unit 206, and the transmission side calculated external time and reception with the same transmission number are received. The difference from the calculated external time on the side is calculated as a delay time, and the calculated delay time is registered in the delay result report storage unit 301.

なお、遅延計算部507は、送信側および受信側に端末が1台ずつしかない場合には、送信側において、関連付けられた送信番号と算出外部時間とを時刻計算部315から送信側パケット時刻データ記憶部115を介して入力され、また、受信側において、関連付けられた送信番号と算出外部時間とを時刻計算部(図示なし)から受信側パケット時刻データ記憶部1(図示なし)を介して入力され、送信番号が一致する送信側の算出外部時間と受信側の算出外部時間との差を遅延時間として算出してもよい。   When there is only one terminal on each of the transmission side and the reception side, the delay calculation unit 507 transmits the associated transmission number and the calculated external time from the time calculation unit 315 to the transmission side packet time data on the transmission side. Input via the storage unit 115, and on the receiving side, the associated transmission number and calculated external time are input from the time calculation unit (not shown) via the reception side packet time data storage unit 1 (not shown). Then, the difference between the calculated external time on the transmitting side and the calculated external time on the receiving side with the same transmission number may be calculated as the delay time.

次に、図4から図7を用いて、時刻補正部314が実行する処理について説明する。
まず、送信側外部時計データ補正記憶部113から、関連付けられている内部経過時間ITと、外部時刻OTとを読み出す(ステップS401)。
次に、横軸を内部経過時間ITとし、縦軸を外部時刻OTとし(図5(a)の波形P1参照)、測定開始(図5(a)のS1)と測定終了(図5(a)のS2)との2点を通る一時関数(図5(a)の直線P2)を算出する(ステップS402)。
Next, processing executed by the time correction unit 314 will be described with reference to FIGS.
First, the associated internal elapsed time IT and external time OT are read from the transmission-side external clock data correction storage unit 113 (step S401).
Next, the horizontal axis is the internal elapsed time IT, the vertical axis is the external time OT (see the waveform P1 in FIG. 5A), the measurement starts (S1 in FIG. 5A), and the measurement ends (FIG. 5A ) Is calculated as a temporary function (straight line P2 in FIG. 5A) passing through two points with S2) (step S402).

次に、算出した線形関数に内部経過時間ITのそれぞれの値を代入した値である算出外部時刻COTを算出する(ステップS403)。
次に、外部時刻OTから、外部時刻OTに関連付けられている内部経過時間ITを求めた線形関数に代入して算出した算出外部時刻COTを減算し、外部時刻ゆらぎ値FOT(図5(a)では、FOT1,2,3の3点のみ例示している)(つまり誤差変動)を算出する(ステップS404)。
Next, a calculated external time COT that is a value obtained by substituting each value of the internal elapsed time IT into the calculated linear function is calculated (step S403).
Next, the external time fluctuation value FOT (FIG. 5A) is subtracted from the external time OT by subtracting the calculated external time COT calculated by substituting the internal elapsed time IT associated with the external time OT into the obtained linear function. Here, only three points of FOT 1, 2, and 3 are illustrated) (that is, error fluctuation) is calculated (step S404).

このようにして算出された外部時刻ゆらぎ値FOTは、横軸を内部経過時間IT、縦軸を外部時刻ゆらぎ値FOTとすると、例えば、図5(b)に示す図となる。
図5(b)に示されるように、算出された外部時刻ゆらぎ値FOTには、偶発的に大きな誤差を持つデータが発生していることがあり、近傍の平均的な値より値が大きく離れており、グラフで見た場合スパイク状になる所がある。このようなスパイク状のノイズを、以降スパイクノイズということにする。
The external time fluctuation value FOT calculated in this way is as shown in FIG. 5B, for example, where the horizontal axis is the internal elapsed time IT and the vertical axis is the external time fluctuation value FOT.
As shown in FIG. 5B, in the calculated external time fluctuation value FOT, data having an accidentally large error may occur, and the value is far from the average value in the vicinity. There are places that become spikes when viewed on the graph. Such spike noise is hereinafter referred to as spike noise.

次に、図4の説明に戻り、外部時刻ゆらぎ値FOTからスパイクノイズを除去し、スパイクノイズ除去外部時刻ゆらぎ値SFOTを算出する(ステップS405)。
具体的には、外部時刻ゆらぎ値FOTに対し、中央値または平均値フィルタをかける。これにより、外部時刻ゆらぎ値FOT中で、近傍の平均的な値より値が大きく離れているデータを除去することが可能となる。なお、中央値または平均値フィルタは、予め定められたフィルタである。
なお、ここでいうスパイクノイズの除去とは、外部時刻ゆらぎ値FOTからスパイクノイズとして検出されたデータを削除することではなく、スパイクノイズとして検出されたデータを中央値または平均値フィルタの値に置き換えることである。
Next, returning to the description of FIG. 4, spike noise is removed from the external time fluctuation value FOT, and a spike noise elimination external time fluctuation value SFOT is calculated (step S405).
Specifically, a median or average value filter is applied to the external time fluctuation value FOT. As a result, it is possible to remove data whose value is far from the average value in the vicinity in the external time fluctuation value FOT. The median value or average value filter is a predetermined filter.
Note that the removal of spike noise here does not delete the data detected as spike noise from the external time fluctuation value FOT, but replaces the data detected as spike noise with the median or average filter value. That is.

また、スパイクノイズの除去として、まず外部時刻ゆらぎ値FOTからスパイクノイズを検出し、検出した外部時刻ゆらぎ値FOTのスパイクノイズに対してのみ、予め定められた中央値または平均値フィルタをかけるようにしてもよい。
ここで、外部時刻ゆらぎ値FOTからのスパイクノイズの検出は、外部時刻ゆらぎ値FOTの値が、予め定められた値以上のものを、スパイクノイズとして検出するようにしてもよい。
または、外部時刻ゆらぎ値FOTからのスパイクノイズの検出は、外部時刻ゆらぎ値FOTの値が、予め定められた近傍の外部時刻ゆらぎ値FOTの値の平均よりも、予め定められた値以上に大きい場合に、スパイクノイズとして検出するようにしてもよい。
In order to eliminate spike noise, spike noise is first detected from the external time fluctuation value FOT, and a predetermined median or average value filter is applied only to the detected spike noise of the external time fluctuation value FOT. May be.
Here, the spike noise from the external time fluctuation value FOT may be detected as spike noise when the external time fluctuation value FOT is equal to or greater than a predetermined value.
Alternatively, in the detection of spike noise from the external time fluctuation value FOT, the value of the external time fluctuation value FOT is larger than the predetermined average value of the external time fluctuation value FOT in the vicinity. In such a case, it may be detected as spike noise.

一例としての、スパイクノイズを除去する前のデータは図6(a)に示す波形であり、スパイクノイズを除去した後のデータは図6(b)に示す波形である。
ここで用いた具体的な処理としては、フィルタ処理として、まず、データについて、そのデータを含んだ前後5個のデータで中央値を算出するフィルタを用いている。次に、データと、算出した中央値との差が15μsec未満のデータをスパイクノイズとして抽出し、除去している。
ノイズ除去の前後で比較すると、除去前より除去後が、その波形がより安定していることがわかる。除去前は突発的なノイズ状のデータは±80μsecであり、一方、除去後はノイズ状のデータは±20μsecに収まっている
なお、平均値フィルタを用いた場合でも、同様の結果を得ることが出来る。
As an example, the data before removing spike noise is the waveform shown in FIG. 6A, and the data after removing spike noise is the waveform shown in FIG. 6B.
As a specific process used here, as a filter process, first, a filter that calculates a median value of five data before and after the data is used. Next, data whose difference between the data and the calculated median is less than 15 μsec is extracted as spike noise and removed.
Comparing before and after noise removal, it can be seen that the waveform is more stable after removal than before removal. Before removal, sudden noise-like data is ± 80 μsec.On the other hand, after removal noise-like data is within ± 20 μsec. Even when using an average filter, the same result can be obtained. I can do it.

図4の説明に戻り、次に、スパイクノイズ除去外部時刻ゆらぎ値SFOTを補正処理し、補正後外部時刻ゆらぎ値MSFOTを算出する(ステップS406)。
ここでいう補正処理とは、スパイクノイズ除去外部時刻ゆらぎ値SFOTに、低域通過フィルタを適応する、直線近似処理をする、折れ線近似の処理をする、等の処理である。
Returning to the description of FIG. 4, the spike noise elimination external time fluctuation value SFOT is corrected, and the corrected external time fluctuation value MSFOT is calculated (step S406).
The correction processing here refers to processing such as applying a low-pass filter to the spike noise removal external time fluctuation value SFOT, performing linear approximation processing, or performing polygonal line approximation processing.

図7に、補正処理として低域通過フィルタを用いた処理を実行した場合の、補正後外部時刻ゆらぎ値MSFOTに示す。
図7(a)および(b)には、低域通過フィルタについての情報を示しており、それぞれ、インパルス応答と振幅特性を示している。
この低域通過フィルタは、カットオフ周波数が0.01Hzであり、0.02Hz以上を除去するものである。その低域通過フィルタの仕様は、次にようになる。FIR型の加重平均である。また、正規化カットオフ周波数は0.001Hz、つまり、カットオフ周波数は0.01Hzであり、サンプリング周期は0.1秒(10Hz)である。また、タップ数は1001である。また、振幅特性の補正として、ハミング窓関数を用いている。
FIG. 7 shows a corrected external time fluctuation value MSFOT when processing using a low-pass filter is executed as correction processing.
FIGS. 7A and 7B show information about the low-pass filter, and show the impulse response and the amplitude characteristic, respectively.
This low-pass filter has a cutoff frequency of 0.01 Hz and removes 0.02 Hz or more. The specifications of the low-pass filter are as follows. It is a weighted average of FIR type. The normalized cutoff frequency is 0.001 Hz, that is, the cutoff frequency is 0.01 Hz, and the sampling period is 0.1 second (10 Hz). The number of taps is 1001. Further, a Hamming window function is used for correcting the amplitude characteristic.

図7(c)は、横軸を内部経過時間ITとし、縦軸を補正後外部時刻ゆらぎ値MSFOTとしたグラフである。なお、図7(c)には、参考のために、横軸を内部経過時間ITとし、縦軸を元のデータである外部時刻OTとしたグラフも、示してある。
これから、補正後外部時刻ゆらぎ値MSFOTは、元のデータである外部時刻OTと比較して、滑らかな概形を得ていることがわかる。また、補正後外部時刻ゆらぎ値MSFOTにはノイズ成分が存在せず、補正後外部時刻ゆらぎ値MSFOTは外部時刻OTの中央付近を貫通していることがわかる。
FIG. 7C is a graph in which the horizontal axis is the internal elapsed time IT and the vertical axis is the corrected external time fluctuation value MSFOT. For reference, FIG. 7C also shows a graph in which the horizontal axis is the internal elapsed time IT and the vertical axis is the external time OT that is the original data.
From this, it can be seen that the corrected external time fluctuation value MSFOT has a smooth outline as compared with the external time OT which is the original data. Further, it can be seen that there is no noise component in the corrected external time fluctuation value MSFOT, and the corrected external time fluctuation value MSFOT penetrates around the center of the external time OT.

次に、補正後外部時刻ゆらぎ値MSFOTに、算出外部時刻COTを加算し、補正後外部時刻MOTを算出する(ステップS407)。
次に、補正後外部時刻MOTと、補正後外部時刻MOTと関連付けられている内部経過時間ITと、を関連付けて送信側外部時計補正データ記憶部に登録する(ステップS408)。
Next, the calculated external time COT is added to the corrected external time fluctuation value MSFOT to calculate the corrected external time MOT (step S407).
Next, the corrected external time MOT and the internal elapsed time IT associated with the corrected external time MOT are associated and registered in the transmission-side external clock correction data storage unit (step S408).

時刻補正部314は、上記の処理により、図5(a)に示してあるように、横軸を内部経過時間ITとし、縦軸を外部時刻OTとして、外部時刻OTに対して、傾きをゼロにした後、切片をゼロにした後に、スパイクノイズの除去処理、低域通過フィルタ処理を実行している。
なお、時刻補正部314は、以上のように、傾きをゼロにした後、切片をゼロにした(いわゆる、トレンド除去処理をした)後に、低域通過フィルタ処理を実行することにより、低域通過フィルタ処理の結果が適正となる。
また、時刻補正部314は、スパイクノイズを除去した後に、低域通過フィルタ処理を実行するため、低域通過フィルタ処理の結果が適正となる。
As shown in FIG. 5 (a), the time correction unit 314 uses the internal elapsed time IT as the horizontal axis and the external time OT as the vertical axis, as shown in FIG. Then, after the intercept is made zero, spike noise removal processing and low-pass filter processing are executed.
As described above, the time correction unit 314 performs the low-pass filter processing by executing the low-pass filter processing after setting the slope to zero and then setting the intercept to zero (so-called trend removal processing). The result of the filtering process is appropriate.
In addition, since the time correction unit 314 executes the low-pass filter process after removing the spike noise, the result of the low-pass filter process becomes appropriate.

なお、データのトレンド除去処理とは、以下のような処理である。フーリエ変換は、データ・関数を正弦・余弦関数の集合に分解するので、定常を仮定している。よって、元のデータにトレンドが含まれる場合は、これを除去することが必要となる。
実施の形態においては、データとは外部時刻OTであり、トレンドの除去方法として、線形回帰による線形トレンドの除去を実行している。実施の形態においては、データである外部時刻OTに対して、フーリエ変換を直接に実行するものではないが、低域通過フィルタ処理において、データを正弦・余弦関数の集合として、一定の帯域を除去している。そのため、外部時刻OTに対してトレンド除去をすることにより、低域通過フィルタ処理における、精度が向上する。
The data trend removal processing is the following processing. Since the Fourier transform decomposes data / functions into a set of sine / cosine functions, it is assumed to be stationary. Therefore, when the trend is included in the original data, it is necessary to remove it.
In the embodiment, the data is the external time OT, and linear trend removal by linear regression is executed as a trend removal method. In the embodiment, the Fourier transform is not directly performed on the external time OT which is data, but in the low-pass filter processing, the data is set as a set of sine / cosine functions and a certain band is removed. is doing. Therefore, the accuracy in the low-pass filter process is improved by removing the trend from the external time OT.

次に、図8を用いて、時刻計算部315が実行する処理について説明する。
まず、時刻計算部315は、抽出した送信番号と受信時内部経過時間とを送信側パケット時刻データ記憶部112から読み出し、関連付けられた一定内部経過時間と補正後外部時刻とを時刻補正部314から送信側外部時刻補正データ記憶部114を介して入力される。
次に、時刻計算部315は、入力された受信時内部経過時間の前後となる一定内部経過時間を、入力された一定内部経過時間から検索する。次に、検索した前後となる一定内部経過時間を検索キーとして、補正後外部時刻を、入力された関連付けられた一定内部経過時間と補正後外部時刻から、検索する。
Next, processing executed by the time calculation unit 315 will be described with reference to FIG.
First, the time calculation unit 315 reads the extracted transmission number and reception internal elapsed time from the transmission-side packet time data storage unit 112, and the associated constant internal elapsed time and corrected external time from the time correction unit 314. Input via the transmission-side external time correction data storage unit 114.
Next, the time calculation unit 315 searches for the fixed internal elapsed time before and after the input internal elapsed time at the reception from the input constant internal elapsed time. Next, using the fixed internal elapsed time before and after the search as a search key, the corrected external time is searched from the input fixed internal elapsed time and the corrected external time.

図8では、受信時内部経過時間をCa、前後となる一定内部経過時間をCREF1とCREF2、前後となる補正後外部時刻をtREF1とtREF2として説明する。
図8(b)に示すように、内部経過時間を横軸にすると、一定内部経過時間CREF1、受信時内部経過時間Ca、一定内部経過時間CREF2の順に経過している。
時刻計算部315は、以上の検出した結果を元に、パケット到着である受信時内部経過時間Caに対応する補正後外部時刻taを、図8(a)に示すようにして、算出する。
時刻計算部315が、補正後外部時刻taを算出する処理を、以下に説明する。
In FIG. 8, the internal elapsed time at the time of reception will be described as Ca, the constant internal elapsed time before and after CREF1 and CREF2, and the corrected external time before and after will be described as tREF1 and tREF2.
As shown in FIG. 8B, when the internal elapsed time is plotted on the horizontal axis, the constant internal elapsed time CREF1, the reception internal elapsed time Ca, and the constant internal elapsed time CREF2 elapse in this order.
Based on the detected result, the time calculation unit 315 calculates the corrected external time ta corresponding to the reception internal elapsed time Ca that is the packet arrival as shown in FIG.
A process in which the time calculation unit 315 calculates the corrected external time ta will be described below.

まず、横軸と縦軸の2点の値を、一定内部経過時間CREF1と補正後外部時刻tREF1、一定内部経過時間CREF2と補正後外部時刻tREF2とした1次関数を算出する。
次に、算出した線形関数に、受信時内部経過時間Caを代入した値を、補正後外部時刻taとして算出する。
First, a linear function is calculated with the values at two points on the horizontal axis and the vertical axis as a constant internal elapsed time CREF1 and a corrected external time tREF1, and a constant internal elapsed time CREF2 and a corrected external time tREF2.
Next, a value obtained by assigning the reception internal elapsed time Ca to the calculated linear function is calculated as the corrected external time ta.

時刻計算部315は、以上のようにして、入力された一定内部経過時間と補正後外部時刻とから算出される線形関数に、読み出した受信時内部経過時間を代入することにより算出される外部時間である算出外部時間を算出し、送信番号と算出した算出外部時間とを関連付けて送信側パケット時刻データ記憶部115に登録する。   The time calculation unit 315 performs the external time calculated by substituting the read internal elapsed time for reception into the linear function calculated from the input constant internal elapsed time and the corrected external time as described above. The calculated external time is calculated, and the transmission number and the calculated calculated external time are associated with each other and registered in the transmission side packet time data storage unit 115.

次に、パケット時刻選択部306で実行される処理について説明する。
まず説明のために、最小構成である端末PCが3台である場合の、判定ロジックを具体的に説明する。なお、端末PCがn台(ただし、nは3より大きい自然数)の場合においても、ロジックとしては同じである。
Next, processing executed by the packet time selection unit 306 will be described.
First, for the sake of explanation, the determination logic when there are three terminal PCs having the minimum configuration will be specifically described. Even when the number of terminal PCs is n (where n is a natural number greater than 3), the logic is the same.

測定は、端末PCが3台で実行する。
端末PC1, 端末PC2, 端末PC3の3台から得たデータを扱う
送信側パケット時刻データ1,2,3
受信側パケット時刻データ1,2,3
<端末PCが3台の場合のロジック説明>
差分計算:PC1,2,3相互のパケットの通過時刻差を計算する
dif[1,2]=|PC1-PC2|, dif[1,3]=|PC1-PC3|
dif[2,1]=|PC2-PC1|, dif[2,3]=|PC2-PC3|
dif[3,1]=|PC3-PC1|, dif[3,2]=|PC3-PC2|
差分比較:差分計算結果のいずれかが一定範囲に収まっていれば、その2台は似通っている。
dif[x,y]で一定範囲に収まっている個数を該当頻度(pct[x])とする。ここで、pctはpair-countの略である。
差分判定:該当頻度(pct[x])の値を判定し、該当頻度の値が最大であるデータを選択する
値が最大である端末(PC)のデータを選択する
Measurement is performed by three terminal PCs.
Handles the data obtained from the three terminals PC1, PC2 and PC3 Transmitter side packet time data 1, 2, 3
Receiver side packet time data 1, 2, 3
<Description of logic when there are three terminal PCs>
Difference calculation: Calculate the difference in packet transit time between PC1,2,3
dif [1,2] = | PC1-PC2 |, dif [1,3] = | PC1-PC3 |
dif [2,1] = | PC2-PC1 |, dif [2,3] = | PC2-PC3 |
dif [3,1] = | PC3-PC1 |, dif [3,2] = | PC3-PC2 |
Difference comparison: If one of the difference calculation results is within a certain range, the two units are similar.
The number that falls within a certain range with dif [x, y] is the corresponding frequency (pct [x]). Here, pct is an abbreviation for pair-count.
Difference determination: Judge the value of the corresponding frequency (pct [x]) and select the data with the maximum value of the corresponding frequency Select the data of the terminal (PC) with the maximum value

なお、差分判定における例外処理として、該当頻度の値で、優劣が無い場合は、若い番号のPCを選択する。また、該当頻度の値が、すべてゼロの場合は、不正確なデータであるため、不採用とする。   As exception processing in the difference determination, if there is no superiority or inferiority in the value of the corresponding frequency, a PC with a lower number is selected. Also, if the values of the corresponding frequencies are all zero, it is not adopted because it is inaccurate data.

なお、通過時刻差dif計算においては、説明の簡単のため、dif[x,y]とdif[y,x]とを、別々に計算を実行しているが、この2つは同じ値であるため、dif[x,y]またはdif[y,x]の1回の計算で、dif[x,y]とdif[y,x]との計算とすることも可能である。   In the passage time difference dif calculation, for simplification of explanation, dif [x, y] and dif [y, x] are separately calculated, but these two are the same value. Therefore, it is possible to calculate dif [x, y] and dif [y, x] by one calculation of dif [x, y] or dif [y, x].

次に、パケット時刻選択部306で選択される実例を示す。
時刻取得装置:端末数は3台,許容時間:10μsec
ここで、許容時間とは、予め定められた所定の値である。
取得した時刻情報(つまり、算出外部時間)が以下であるとする。
装置1 9:00.000000
装置2 9:00.000020
装置3 9:00.000005
Next, an actual example selected by the packet time selection unit 306 is shown.
Time acquisition device: 3 terminals, allowable time: 10μsec
Here, the allowable time is a predetermined value determined in advance.
It is assumed that the acquired time information (that is, calculated external time) is as follows.
Equipment 1 9: 00.000000
Device 2 9: 00.000020
Device 3 9: 00.000005

<比較結果> 該当頻度
dif[1,2]=|PC1-PC2|=20, dif[1,3]=|PC1-PC3|= 5 1
dif[2,1]=|PC2-PC1|=20, dif[2,3]=|PC2-PC3|=15 0
dif[3,1]=|PC3-PC1|= 5, dif[3,2]=|PC3-PC2|=15 1
従って、パケット時刻選択部306は、該当頻度が最も多い装置1の時刻(つまり、算出外部時間)である「9:00.000000」を選択する。なお、この場合、装置1と装置3とが該当頻度が最も多く、その該当頻度の値が同じであるが、例外処理により、若い番号のPCを選択したため、装置1の時刻が選択されている。
<Comparison result> Applicable frequency
dif [1,2] = | PC1-PC2 | = 20, dif [1,3] = | PC1-PC3 | = 5 1
dif [2,1] = | PC2-PC1 | = 20, dif [2,3] = | PC2-PC3 | = 15 0
dif [3,1] = | PC3-PC1 | = 5, dif [3,2] = | PC3-PC2 | = 15 1
Therefore, the packet time selection unit 306 selects “9: 00.000000”, which is the time (that is, the calculated external time) of the device 1 having the highest frequency of matching. In this case, apparatus 1 and apparatus 3 have the highest corresponding frequency, and the value of the corresponding frequency is the same, but the time of apparatus 1 is selected because a lower number PC was selected by exception processing. .

次に、パケット時刻選択部306で処理する端末PCの台数を、n台に拡張した判定ロジックについて説明する。
測定はn台で行うため、条件としては以下のようになる。
つまり、端末PC1, 端末PC2, 端末PC3,…, 端末PCnのn台から得たデータを扱う
送信側パケット時刻データ1,2,3,…,n
受信側パケット時刻データ1,2,3,…,n
Next, determination logic in which the number of terminal PCs processed by the packet time selection unit 306 is expanded to n will be described.
Since the measurement is performed with n units, the conditions are as follows.
That is, transmitting side packet time data 1,2,3, ..., n handling data obtained from terminal PC1, terminal PC2, terminal PC3, ..., terminal PCn
Receiver side packet time data 1,2,3, ..., n

<端末PCがn台の場合のロジック説明>
差分計算:PC1,2,3相互のパケットの通過時刻差を計算する
dif[1,2]=|PC1-PC2|, dif[1,3]=|PC1-PC3|…,dif[1,m]=|PC1-PCm|,dif[1,n]=|PC1-PCn|
dif[2,1]=|PC2-PC1|, dif[2,3]=|PC2-PC3|…,dif[2,m]=|PC2-PCm|,dif[2,n]=|PC2-PCn|
dif[3,1]=|PC3-PC1|, dif[3,2]=|PC3-PC2|…,dif[2,m]=|PC3-PCm|,dif[2,n]=|PC3-PCn|

dif[m,1]=|PCm-PC1|, dif[m,2]=|PCm-PC2|, dif[m,3]=|PCm-PC3|…,dif[m,n]=|PCm-PCn|
差分比較:差分計算結果のいずれかが一定範囲に収まっているかを比較する。
dif[x,y]で一定範囲に収まっている個数を該当頻度(pct[x])とする。
差分判定:該当頻度(pct[x])の値を判定し、データを選択する。
値が最大であるPCのデータを選択する。
例外処理として、優劣が無い場合は、若い番号のPCを選択する。
また例外処理として、すべてゼロの場合は、不正確なデータであるため、不採用とする。
<Description of logic when there are n terminal PCs>
Difference calculation: Calculate the difference in packet transit time between PC1,2,3
dif [1,2] = | PC1-PC2 |, dif [1,3] = | PC1-PC3 |…, dif [1, m] = | PC1-PCm |, dif [1, n] = | PC1- PCn |
dif [2,1] = | PC2-PC1 |, dif [2,3] = | PC2-PC3 |…, dif [2, m] = | PC2-PCm |, dif [2, n] = | PC2- PCn |
dif [3,1] = | PC3-PC1 |, dif [3,2] = | PC3-PC2 |…, dif [2, m] = | PC3-PCm |, dif [2, n] = | PC3- PCn |
:
dif [m, 1] = | PCm-PC1 |, dif [m, 2] = | PCm-PC2 |, dif [m, 3] = | PCm-PC3 |…, dif [m, n] = | PCm- PCn |
Difference comparison: Compares whether any of the difference calculation results are within a certain range.
The number that falls within a certain range with dif [x, y] is the corresponding frequency (pct [x]).
Difference determination: The value of the corresponding frequency (pct [x]) is determined, and data is selected.
Select the PC data with the maximum value.
If there is no superiority or inferiority as exception processing, select a PC with a lower number.
As exception processing, if all zeros, the data is inaccurate and is not adopted.

次に、パケット時刻選択部306での処理が、端末PCが5台である場合の実例を用いて、ロジックを説明する。
時刻取得装置:5台,許容時間:10μsec
ここで、許容時間とは、予め定められた所定の値である。
取得した時刻情報(つまり、算出外部時間)
装置1 9:00.000000
装置2 9:00.000020
装置3 9:00.000005
装置4 9:00.000010
装置5 9:00.000009
<比較結果> 該当頻度
dif[1,2]=20 dif[1,3]= 5 dif[1,4]=10 dif[1,5]= 9 3
dif[2,1]=20 dif[2,3]=15 dif[2,4]=10 dif[2,5]=11 1
dif[3,1]= 5 dif[3,2]=15 dif[3,4]= 5 dif[3,5]= 4 3
dif[4,1]=10 dif[4,2]=10 dif[4,3]= 5 dif[4,5]= 1 4
従って、パケット時刻選択部306は、該当頻度が最も多い装置4の時刻(つまり、算出外部時間)である「9:00.000010」を選択する。
Next, the logic of the process in the packet time selection unit 306 will be described using an example in which there are five terminal PCs.
Time acquisition device: 5 units, allowable time: 10μsec
Here, the allowable time is a predetermined value determined in advance.
Acquired time information (that is, calculated external time)
Equipment 1 9: 00.000000
Device 2 9: 00.000020
Device 3 9: 00.000005
Equipment 4 9: 00.000010
Device 5 9: 00.000009
<Comparison result> Applicable frequency
dif [1,2] = 20 dif [1,3] = 5 dif [1,4] = 10 dif [1,5] = 9 3
dif [2,1] = 20 dif [2,3] = 15 dif [2,4] = 10 dif [2,5] = 11 1
dif [3,1] = 5 dif [3,2] = 15 dif [3,4] = 5 dif [3,5] = 4 3
dif [4,1] = 10 dif [4,2] = 10 dif [4,3] = 5 dif [4,5] = 1 4
Therefore, the packet time selection unit 306 selects “9: 00.000010”, which is the time (that is, the calculated external time) of the device 4 having the highest corresponding frequency.

パケット時刻選択部306は、以上のようにして選択した算出外部時間と、送信番号とを関連付けて送信側パケット時刻選択データ記憶部106に登録する。   The packet time selection unit 306 registers the calculated external time selected as described above and the transmission number in the transmission side packet time selection data storage unit 106 in association with each other.

本発明で用いる統計処理方法である「多数決によるデータの選択」は、複数のデータからの「多数決によるデータの選択」は最頻値を拡張した手法であり、下記の他の手法の問題点と比較して、それぞれ優位性を有している。
(手法1)平均値または中央値では、特に台数が少ない場合に差異があり、大きな外れ値があった場合にはその値による影響で誤差が大きくなるという問題がある。
(手法2)最頻値では、複数台のデータが近接した値であった場合は問題ないが、全てが離散した値であった場合には、データを捨てる必要があるという問題がある。
手法1、手法2に対して、本発明による統計処理方法である「多数決によるデータの選択」では、台数が少ない場合であり、大きな外れ値があった場合にはその値による影響で誤差が大きくならないという効果がある。また、複数台のデータで、全てが離散した値であった場合でも、データを捨てる必要無しに、多数決によるデータの選択が出来るという効果がある。
The statistical processing method used in the present invention is “selection of data by majority vote”, “selection of data by majority vote” from a plurality of data is a method in which the mode value is expanded, and the problems of the following other methods Each has an advantage.
(Method 1) The average value or the median value is different when the number is small, and there is a problem that when there is a large outlier, the error is increased due to the influence of the value.
(Method 2) With the mode value, there is no problem when a plurality of data are close to each other, but when all are discrete values, there is a problem that it is necessary to discard the data.
In contrast to Method 1 and Method 2, the statistical processing method according to the present invention, “selection of data by majority vote” is a case where the number is small, and if there is a large outlier, the error is large due to the effect of that value. There is an effect of not becoming. In addition, even when a plurality of pieces of data are all discrete values, there is an effect that data can be selected by majority without having to discard the data.

なお、パケット時刻選択部306は、上記に説明した「多数決によるデータの選択」により、1つの端末からの算出外部時間を選択するが、これに限られるものではなく、上記に説明した、平均値または中央値により、複数の算出外部時間から1つの算出外部時間を算出するようにしてもよいし、最頻値により複数の算出外部時間から1つの算出外部時間を選択するようにしてもよい。   The packet time selection unit 306 selects the calculated external time from one terminal by “selection of data by majority vote” described above, but is not limited to this, and the average value described above Alternatively, one calculated external time may be calculated from a plurality of calculated external times by the median value, or one calculated external time may be selected from the plurality of calculated external times by the mode value.

なお、送信側外部時計データ補正記憶部113、送信側パケット時刻データ記憶部112、送信側外部時刻補正データ記憶部114、送信側パケット時刻データ記憶部115などの記憶部は、ハードディスク装置や光磁気ディスク装置、フラッシュメモリ等の不揮発性のメモリや、CR−ROM等の読み出しのみが可能な記憶媒体、RAM(Random Access Memory)のような揮発性のメモリ、あるいはこれらの組み合わせにより構成されるものとする。   Note that storage units such as the transmission-side external clock data correction storage unit 113, the transmission-side packet time data storage unit 112, the transmission-side external time correction data storage unit 114, and the transmission-side packet time data storage unit 115 are hard disk devices and magneto-optical devices. A non-volatile memory such as a disk device or flash memory, a storage medium such as a CR-ROM that can only be read, a volatile memory such as a RAM (Random Access Memory), or a combination thereof To do.

なお、図1における送信情報登録部312、外部時刻登録部313、および、図3における時刻補正部314、時刻計算部315、パケット時刻選択部306、遅延計算部507の処理部は専用のハードウェアにより実現されるものであってもよく、また、メモリおよびマイクロプロセッサにより実現させるものであってもよい。   Note that the transmission information registration unit 312 and the external time registration unit 313 in FIG. 1 and the processing units of the time correction unit 314, the time calculation unit 315, the packet time selection unit 306, and the delay calculation unit 507 in FIG. Or may be realized by a memory and a microprocessor.

なお、この処理部は専用のハードウェアにより実現されるものであってもよく、また、この処理部はメモリおよびCPU(中央演算装置)により構成され、処理部の機能を実現するためのプログラムをメモリにロードして実行することによりその機能を実現させるものであってもよい。   The processing unit may be realized by dedicated hardware. The processing unit includes a memory and a CPU (central processing unit), and a program for realizing the functions of the processing unit is provided. The function may be realized by loading it into a memory and executing it.

以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design and the like within a scope not departing from the gist of the present invention.

本発明は、パケットネットワークの遅延測定システムに用いて好適である。   The present invention is suitable for use in a packet network delay measurement system.

この発明の一実施形態による遅延測定システムの測定時の構成を示すブロック図である。It is a block diagram which shows the structure at the time of the measurement of the delay measuring system by one Embodiment of this invention. この発明の一実施形態による遅延測定システムの解析時の記憶部の構成を示すブロック図である。It is a block diagram which shows the structure of the memory | storage part at the time of the analysis of the delay measurement system by one Embodiment of this invention. この発明の一実施形態による遅延測定システムの解析時の構成を示すブロック図である。It is a block diagram which shows the structure at the time of the analysis of the delay measurement system by one Embodiment of this invention. 時刻補正部での処理を説明するフローチャート図である。It is a flowchart figure explaining the process in a time correction part. 時刻補正部での処理を説明する第1の説明図である。It is the 1st explanatory view explaining processing in a time amendment part. 時刻補正部での処理を説明する第2の説明図である。It is the 2nd explanatory view explaining processing in a time amendment part. 時刻補正部での処理を説明する第3の説明図である。It is the 3rd explanatory view explaining processing in a time amendment part. 時刻計算部での処理を説明する説明図である。It is explanatory drawing explaining the process in a time calculation part.

符号の説明Explanation of symbols

A 送出装置
B 受信装置
TAPA タップ
TAPB タップ
HUBA リピータ
HUBB リピータ
TA 外部時計
TB 外部時計
PCA1 端末
PCA2 端末
PCA3 端末
PCB1 端末
PCB2 端末
PCB3 端末
112,122,132 送信側パケットデータ記憶部
113,123,133 送信側外部時計データ記憶部
PC7 解析端末
314 時刻補正部
315 時刻計算部
306 パケット時刻選択部
507 遅延計算部
114、123、134 送信側外部時刻補正データ記憶部
115、125、135 送信側パケット時刻データ記憶部
106 送信側パケット時刻選択データ記憶部
206 受信側パケット時刻選択データ記憶部
301 遅延結果レポート記憶部
A Sending device B Receiving device TAPA Tap TAPB Tap HUBA Repeater HUBB Repeater TA External clock TB External clock PCA1 Terminal PCA2 Terminal PCA3 Terminal PCB1 Terminal PCB2 Terminal PCB3 Terminal 112, 122, 132 Transmission side packet data storage 113, 123, 133 Transmission side External clock data storage unit PC7 Analysis terminal 314 Time correction unit 315 Time calculation unit 306 Packet time selection unit 507 Delay calculation unit 114, 123, 134 Transmission side external time correction data storage unit 115, 125, 135 Transmission side packet time data storage unit 106 transmission side packet time selection data storage unit 206 reception side packet time selection data storage unit 301 delay result report storage unit

Claims (5)

ネットワークを通過するパケットの遅延時間を測定し算出する遅延測定システムであり、
起動からの経過時間を計時する第1の内部時計を有し、前記第1の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第1の内部時計の示す経過時間である第1の一定内部経過時間と前記取得した外部時計の時刻である第1の外部時刻とを関連付けて第1の外部時刻記憶手段へ記憶し、送出装置から受信装置へ送出された送信番号を含むパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第1の内部時計の示す経過時間である第1の受信時内部経過時間とを関連付けて第1の送信情報登録手段に登録する第1の端末と、
起動からの経過時間を計時する第2の内部時計を有し、前記第2の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第2の内部時計の示す経過時間である第2の一定内部経過時間と前記取得した外部時計の時刻である第2の外部時刻とを関連付けて第2の外部時刻記憶手段へ記憶し、前記受信装置が受信するパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第2の内部時計の示す経過時間である第2の受信時内部経過時間とを関連付けて第2の送信情報登録手段に登録する第2の端末と、
前記第1の外部時刻と前記第1の一定内部経過時間とを前記第1の外部時刻記憶手段から読み出し、前記第1の一定内部経過時間と前記第1の外部時刻とにおける第1の誤差変動における高周波成分を除去し、前記第1の受信時内部経過時間の前後にある該第1の一定内部経過時間と該高周波成分を除去した第1の外部時刻とから第1の線形関数を算出し、該第1の線形関数に前記第1の受信時内部経過時間を代入することにより外部時刻を第1の算出外部時間として算出する第1の時刻計算手段と、前記第2の外部時刻と前記第2の一定内部経過時間とを前記第2の外部時刻記憶手段から読み出し、前記第2の一定内部経過時間と前記第2の外部時刻とにおける第2の誤差変動における高周波成分を除去し、前記第2の受信時内部経過時間の前後にある該第2の一定内部経過時間と該高周波成分を除去した第2の外部時刻とから第2の線形関数を算出し、該第2の線形関数に前記第2の受信時内部経過時間を代入することにより外部時刻を第2の算出外部時間として算出する第2の時刻計算手段と、前記送信番号が一致する前記第1の算出外部時間と前記第2の算出外部時間との差を遅延時間として算出する遅延計算手段とを有する解析装置と、
を有することを特徴とする遅延測定システム。
It is a delay measurement system that measures and calculates the delay time of packets passing through the network,
A first internal clock that counts the elapsed time since startup, obtains the time of the external clock at every elapse of a predetermined time by the first internal clock, and is the elapsed time indicated by the first internal clock A packet including a transmission number sent from the sending device to the receiving device, associating the fixed internal elapsed time of 1 with the first external time, which is the time of the acquired external clock, in the first external time storage means First transmission by associating the transmission number extracted from the network and the first internal elapsed time during reception, which is the elapsed time indicated by the first internal clock when the packet was extracted A first terminal registered in the information registration means;
A second internal clock that counts the elapsed time from startup, obtains the time of the external clock at every elapse of a fixed time by the second internal clock, and is the elapsed time indicated by the second internal clock 2 is stored in the second external time storage means in association with the second external time that is the time of the acquired external clock, the packet received by the receiving device is extracted from the network, The transmission number extracted from the packet is associated with the second reception internal elapsed time, which is the elapsed time indicated by the second internal clock when the packet is extracted, and registered in the second transmission information registration means. Two terminals,
The first external time and the first constant internal elapsed time are read from the first external time storage means, and a first error variation between the first constant internal elapsed time and the first external time The first linear function is calculated from the first constant internal elapsed time before and after the first reception internal elapsed time and the first external time from which the high frequency component is removed. A first time calculating means for calculating an external time as a first calculated external time by substituting the first reception internal elapsed time for the first linear function, the second external time, and the A second constant internal elapsed time is read out from the second external time storage means, a high frequency component in a second error variation between the second constant internal elapsed time and the second external time is removed, and Second received internal elapsed time A second linear function is calculated from the second constant internal elapsed time before and after and the second external time from which the high frequency component is removed, and the second internal internal elapsed time at reception is calculated as the second linear function. Substituting for the second time calculation means for calculating the external time as the second calculated external time, and the difference between the first calculated external time and the second calculated external time with the same transmission number An analysis device having a delay calculation means for calculating the delay time;
A delay measurement system comprising:
前記第1の時刻計算手段が、
横軸を前記第1の一定内部経過時間とし、縦軸を前記第1の外部時刻として、一定期間における測定開始と測定終了とにおける前記第1の内部経過時間と前記第1の外部時刻との2点を通る第3の線形関数を求め、該第3の線形関数に前記第1の内部経過時間の値を代入し第1の算出外部時刻を算出し、前記第1の外部時刻から該第1の算出外部時刻を減算することにより前記第1の誤差変動を算出し、
前記第2の時刻計算手段が、
横軸を前記第2の一定内部経過時間とし、縦軸を前記第2の外部時刻として、一定期間における測定開始と測定終了とにおける前記第2の内部経過時間と前記第2の外部時刻との2点を通る第4の線形関数を求め、該第4の線形関数に前記第2の内部経過時間の値を代入し第2の算出外部時刻を算出し、前記第2の外部時刻から該第2の算出外部時刻を減算することにより前記第2の誤差変動を算出する、
ことを特徴とする請求項1に記載の遅延測定システム。
The first time calculation means includes:
With the horizontal axis as the first constant internal elapsed time and the vertical axis as the first external time, the first internal elapsed time and the first external time at the measurement start and measurement end in a fixed period A third linear function passing through two points is obtained, a value of the first internal elapsed time is substituted into the third linear function, a first calculated external time is calculated, and the first external time is calculated from the first external time. Calculating the first error variation by subtracting the calculated external time of 1;
The second time calculating means is
With the horizontal axis as the second constant internal elapsed time and the vertical axis as the second external time, the second internal elapsed time and the second external time at the measurement start and measurement end in a fixed period A fourth linear function passing through two points is obtained, a value of the second internal elapsed time is substituted into the fourth linear function, a second calculated external time is calculated, and the second external time is calculated from the second external time. Calculating the second error variation by subtracting the calculated external time of 2;
The delay measurement system according to claim 1.
前記第1の時刻計算手段が、
前記第1の誤差変動における高周波成分を除去する前に、前記第1の誤差変動からスパイク状のノイズを除去し、
前記第2の時刻計算手段が、
前記第2の誤差変動における高周波成分を除去する前に、前記第2の誤差変動からスパイク状のノイズを除去する、
ことを特徴とする請求項1または請求項2に記載の遅延測定システム。
The first time calculation means includes:
Before removing the high frequency component in the first error fluctuation, spike noise is removed from the first error fluctuation;
The second time calculating means is
Removing spike-like noise from the second error fluctuation before removing a high-frequency component in the second error fluctuation;
The delay measurement system according to claim 1 or 2, wherein
前記解析装置が、
複数の前記第1の端末に対応した第1の算出外部時間を算出する複数の第1の時刻計算部を有し、
複数の前記算出外部時間が算出した第1の算出外部時間の互いの差が予め定められた値以下である頻度が最も高い前記第1の算出外部時間を選択する第1のパケット時刻選択手段と、
複数の前記第2の端末に対応した第2の算出外部時間を算出する複数の第2の時刻計算部を有し、
複数の前記算出外部時間が算出した第2の算出外部時間の互いの差が予め定められた値以下である頻度が最も高い前記第2の算出外部時間を選択する第2のパケット時刻選択手段と、
を有し、
前記遅延計算手段が、前記第1のパケット時刻選択手段が選択した第1の算出外部時間から、前記第2のパケット時刻選択手段が選択した第2の算出外部時間を減算することにより前記遅延時間を算出することを特徴とする請求項1から3のいずれかに記載の遅延測定システム。
The analysis device is
A plurality of first time calculation units for calculating a first calculated external time corresponding to the plurality of first terminals;
First packet time selection means for selecting the first calculated external time having the highest frequency in which the difference between the calculated first calculated external times is equal to or less than a predetermined value; ,
A plurality of second time calculation units for calculating a second calculated external time corresponding to the plurality of second terminals;
Second packet time selecting means for selecting the second calculated external time having the highest frequency in which the difference between the second calculated external times calculated by the plurality of calculated external times is equal to or less than a predetermined value; ,
Have
The delay calculating means subtracts the second calculated external time selected by the second packet time selecting means from the first calculated external time selected by the first packet time selecting means. The delay measurement system according to claim 1, wherein the delay measurement system is calculated.
ネットワークを通過するパケットの遅延時間を測定し算出する遅延測定システムに用いられる遅延測定方法であり、
起動からの経過時間を計時する第1の内部時計を有し、前記第1の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第1の内部時計の示す時刻である第1の一定内部経過時間と前記取得した外部時計の時刻である第1の外部時刻とを関連付けて第1の外部時刻記憶手段へ記憶し、送出装置から受信装置へ送出された送信番号を含むパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第1の内部時計の示す時間である第1の受信時内部経過時間とを関連付けて第1の送信情報登録手段に登録し、
起動からの経過時間を計時する第2の内部時計を有し、前記第2の内部時計による一定時間経過毎に外部時計の時刻を取得し、前記第2の内部時計の示す時刻である第2の一定内部経過時間と前記取得した外部時計の時刻である第2の外部時刻とを関連付けて第2の外部時刻記憶手段へ記憶し、前記受信装置が受信するパケットを前記ネットワークから取り出し、該パケットから抽出した送信番号と、該パケットを取り出した時の前記第2の内部時計の示す時間である第2の受信時内部経過時間とを関連付けて第2の送信情報登録手段に登録し、
前記第1の外部時刻と前記第1の一定内部経過時間とを前記第1の外部時刻記憶手段から読み出し、前記第1の一定内部経過時間と前記第1の外部時刻とにおける第1の誤差変動における高周波成分を除去し、前記第1の受信時内部経過時間の前後にある該第1の一定内部経過時間と該高周波成分を除去した第1の外部時刻とから第1の線形関数を算出し、該第1の線形関数に前記第1の受信時内部経過時間を代入することにより外部時刻を第1の算出外部時間として算出し、前記第2の外部時刻と前記第2の一定内部経過時間とを前記第2の外部時刻記憶手段から読み出し、前記第2の一定内部経過時間と前記第2の外部時刻とにおける第2の誤差変動における高周波成分を除去し、前記第2の受信時内部経過時間の前後にある該第2の一定内部経過時間と該高周波成分を除去した第2の外部時刻とから第2の線形関数を算出し、該第2の線形関数に前記第2の受信時内部経過時間を代入することにより外部時刻を第2の算出外部時間として算出し、前記送信番号が一致する前記第1の算出外部時間と前記第2の算出外部時間との差を遅延時間として算出する、
ことを特徴とする遅延測定方法。
A delay measurement method used in a delay measurement system that measures and calculates a delay time of a packet passing through a network,
A first internal clock that counts the elapsed time from the start, obtains the time of the external clock at every elapse of a fixed time by the first internal clock, and is the first time indicated by the first internal clock A packet including the transmission number sent from the sending device to the receiving device, in association with the first external time that is the time of the acquired external clock in association with the first external time stored in the first external time storage means First transmission information registration by associating a transmission number extracted from the network and extracted from the packet with a first reception internal elapsed time which is a time indicated by the first internal clock when the packet is extracted Register with the means,
A second internal clock that counts the elapsed time since startup, obtains the time of the external clock at every elapse of a predetermined time by the second internal clock, and is a time indicated by the second internal clock. A predetermined internal elapsed time and a second external time which is the time of the acquired external clock are stored in the second external time storage means, and a packet received by the receiving device is extracted from the network, The transmission number extracted from the second transmission information registration means in association with the second reception internal elapsed time, which is the time indicated by the second internal clock when the packet is extracted,
The first external time and the first constant internal elapsed time are read from the first external time storage means, and a first error variation between the first constant internal elapsed time and the first external time The first linear function is calculated from the first constant internal elapsed time before and after the first reception internal elapsed time and the first external time from which the high frequency component is removed. The external time is calculated as the first calculated external time by substituting the first reception internal elapsed time for the first linear function, and the second external time and the second constant internal elapsed time are calculated. Are read from the second external time storage means, the high frequency component in the second error variation between the second constant internal elapsed time and the second external time is removed, and the second internal time elapsed during reception The second one before and after time A second linear function is calculated from the internal elapsed time and the second external time from which the high frequency component has been removed, and the external time is determined by substituting the second internal internal elapsed time for reception into the second linear function. Calculating as a second calculated external time, and calculating a difference between the first calculated external time and the second calculated external time with the same transmission number as a delay time;
A delay measuring method.
JP2006297731A 2006-11-01 2006-11-01 Delay measurement system and method Active JP4668158B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006297731A JP4668158B2 (en) 2006-11-01 2006-11-01 Delay measurement system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006297731A JP4668158B2 (en) 2006-11-01 2006-11-01 Delay measurement system and method

Publications (2)

Publication Number Publication Date
JP2008118270A true JP2008118270A (en) 2008-05-22
JP4668158B2 JP4668158B2 (en) 2011-04-13

Family

ID=39503872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006297731A Active JP4668158B2 (en) 2006-11-01 2006-11-01 Delay measurement system and method

Country Status (1)

Country Link
JP (1) JP4668158B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302643A (en) * 2008-06-10 2009-12-24 Kddi Corp Packet delay data processing device, packet delay data processing method, and program
JP2012160832A (en) * 2011-01-31 2012-08-23 Oki Electric Ind Co Ltd Voice packet communication system
JP2013104772A (en) * 2011-11-14 2013-05-30 Fujitsu Ltd Frame transmission device and synchronization method
CN114938705A (en) * 2020-01-14 2022-08-23 株式会社电装 Communication device, and program and method used by communication device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077160A (en) * 2000-09-01 2002-03-15 Yokogawa Electric Corp Network quality evaluating device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077160A (en) * 2000-09-01 2002-03-15 Yokogawa Electric Corp Network quality evaluating device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302643A (en) * 2008-06-10 2009-12-24 Kddi Corp Packet delay data processing device, packet delay data processing method, and program
JP2012160832A (en) * 2011-01-31 2012-08-23 Oki Electric Ind Co Ltd Voice packet communication system
JP2013104772A (en) * 2011-11-14 2013-05-30 Fujitsu Ltd Frame transmission device and synchronization method
CN114938705A (en) * 2020-01-14 2022-08-23 株式会社电装 Communication device, and program and method used by communication device

Also Published As

Publication number Publication date
JP4668158B2 (en) 2011-04-13

Similar Documents

Publication Publication Date Title
US9671761B2 (en) Method, time consumer system, and computer program product for maintaining accurate time on an ideal clock
US8427963B2 (en) Method and system for analyzing and qualifying routes in packet networks
US20190356466A1 (en) Methods for nanosecond-scale time synchronization over a network
JP2007174681A (en) Method and system for correcting inaccurate time synchronization caused by internal asymmetric delay in device
JP4347082B2 (en) Time correction device, time correction method, and time correction program for event trace data
Ferrari et al. Experimental characterization of uncertainty sources in a software-only synchronization system
JP4931108B2 (en) High-precision time synchronization processing device and program thereof, and network congestion level warning device and program thereof
US20160315860A1 (en) Estimation Of Network Path Segment Delays
JP2010281771A (en) Synchronous recording system and synchronous recording method
JP7107393B2 (en) Monitoring system and synchronization method
JP6465787B2 (en) Data processing apparatus, device, data processing method, and data processing program
JP4668158B2 (en) Delay measurement system and method
US9544128B2 (en) Method and apparatus for data aided timing recovery in 10GBASE-T system
CN108631897B (en) A kind of correcting time in network method and device
CN109791421B (en) Time arbitration circuit
US9588544B2 (en) Time synchronization across computers in a distributed system
Ferrari et al. Evaluation of timestamping uncertainty in a software-based IEEE1588 implementation
Funck et al. Comparison of approaches to time-synchronous sampling in wireless sensor networks
CN113055113A (en) Clock time synchronization method, device, equipment and storage medium
US20150195725A1 (en) Apparatus and Methods for Radio Frequency Ranging
US8843615B2 (en) Method and device for measuring the temporal drift of an item of electronic equipment connected to a network
CN107968704B (en) Phase difference estimating device and communication equipment with the phase difference estimating device
JP6694794B2 (en) Control device, time setting method, and program
WO2010018729A1 (en) Communication device
JP5053918B2 (en) Accuracy improvement method by post-processing time correction in packet measurement, correction system, and program thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101005

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101206

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110112

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140121

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4668158

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150121

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250